sm-click-library-ui 0.0.604-dev.18 → 0.0.604-dev.19
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-4aaNvL4-.js → index-Brs7Lca2.js} +19 -17
- package/dist/sm-click-library-ui.es.js +1 -1
- package/dist/sm-click-library-ui.umd.js +1 -1
- package/dist/{vue3-lottie.es-Cth615qK.js → vue3-lottie.es-KcXcHlVh.js} +1 -1
- package/dist/{web-BkWOgpHD.js → web-B29l5pM-.js} +2 -2
- package/dist/{web-DiSZg78U.js → web-CG8gasOQ.js} +2 -2
- package/package.json +1 -1
|
@@ -22249,7 +22249,7 @@ hc("CapacitorHttp", {
|
|
|
22249
22249
|
web: () => new kT()
|
|
22250
22250
|
});
|
|
22251
22251
|
const mo = hc("VoiceRecorder", {
|
|
22252
|
-
web: () => import("./web-
|
|
22252
|
+
web: () => import("./web-B29l5pM-.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
|
|
22253
22253
|
});
|
|
22254
22254
|
function v2(e, t) {
|
|
22255
22255
|
return u(), h("svg", {
|
|
@@ -62536,7 +62536,7 @@ const cJ = { class: "flex w-60 flex-col gap-0.5 p-1" }, uJ = ["href"], dJ = ["hr
|
|
|
62536
62536
|
() => !!(n.whatsappUrl || n.telegramUrl)
|
|
62537
62537
|
), (s, r) => (u(), ke(se(eo), {
|
|
62538
62538
|
placement: e.placement,
|
|
62539
|
-
arrow: !
|
|
62539
|
+
arrow: !0
|
|
62540
62540
|
}, {
|
|
62541
62541
|
content: Te(() => [
|
|
62542
62542
|
i("div", cJ, [
|
|
@@ -62558,14 +62558,15 @@ const cJ = { class: "flex w-60 flex-col gap-0.5 p-1" }, uJ = ["href"], dJ = ["hr
|
|
|
62558
62558
|
], -1)),
|
|
62559
62559
|
r[2] || (r[2] = i("svg", {
|
|
62560
62560
|
class: "size-3.5 shrink-0 text-base-content/30 transition-transform group-hover:translate-x-0.5 group-hover:text-base-content/60",
|
|
62561
|
-
|
|
62562
|
-
|
|
62561
|
+
"aria-hidden": "true",
|
|
62562
|
+
viewBox: "0 0 24 24",
|
|
62563
|
+
fill: "none",
|
|
62564
|
+
stroke: "currentColor",
|
|
62565
|
+
"stroke-width": "2",
|
|
62566
|
+
"stroke-linecap": "round",
|
|
62567
|
+
"stroke-linejoin": "round"
|
|
62563
62568
|
}, [
|
|
62564
|
-
i("path", {
|
|
62565
|
-
"fill-rule": "evenodd",
|
|
62566
|
-
d: "M7.21 14.77a.75.75 0 0 1 0-1.06L11.94 8 7.21 3.29a.75.75 0 1 1 1.06-1.06l5.25 5.25a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 0 1-1.06 0Z",
|
|
62567
|
-
"clip-rule": "evenodd"
|
|
62568
|
-
})
|
|
62569
|
+
i("path", { d: "M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" })
|
|
62569
62570
|
], -1))
|
|
62570
62571
|
], 8, uJ)) : z("", !0),
|
|
62571
62572
|
e.telegramUrl ? (u(), h("a", {
|
|
@@ -62585,14 +62586,15 @@ const cJ = { class: "flex w-60 flex-col gap-0.5 p-1" }, uJ = ["href"], dJ = ["hr
|
|
|
62585
62586
|
], -1)),
|
|
62586
62587
|
r[4] || (r[4] = i("svg", {
|
|
62587
62588
|
class: "size-3.5 shrink-0 text-base-content/30 transition-transform group-hover:translate-x-0.5 group-hover:text-base-content/60",
|
|
62588
|
-
|
|
62589
|
-
|
|
62589
|
+
"aria-hidden": "true",
|
|
62590
|
+
viewBox: "0 0 24 24",
|
|
62591
|
+
fill: "none",
|
|
62592
|
+
stroke: "currentColor",
|
|
62593
|
+
"stroke-width": "2",
|
|
62594
|
+
"stroke-linecap": "round",
|
|
62595
|
+
"stroke-linejoin": "round"
|
|
62590
62596
|
}, [
|
|
62591
|
-
i("path", {
|
|
62592
|
-
"fill-rule": "evenodd",
|
|
62593
|
-
d: "M7.21 14.77a.75.75 0 0 1 0-1.06L11.94 8 7.21 3.29a.75.75 0 1 1 1.06-1.06l5.25 5.25a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 0 1-1.06 0Z",
|
|
62594
|
-
"clip-rule": "evenodd"
|
|
62595
|
-
})
|
|
62597
|
+
i("path", { d: "M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" })
|
|
62596
62598
|
], -1))
|
|
62597
62599
|
], 8, dJ)) : z("", !0),
|
|
62598
62600
|
e.showQuickChat ? (u(), h("button", {
|
|
@@ -63700,7 +63702,7 @@ const MX = /* @__PURE__ */ je(xX, [["render", _X]]), CX = ["src"], SX = ["aria-l
|
|
|
63700
63702
|
},
|
|
63701
63703
|
setup(e) {
|
|
63702
63704
|
const t = q5(
|
|
63703
|
-
async () => (await import("./vue3-lottie.es-
|
|
63705
|
+
async () => (await import("./vue3-lottie.es-KcXcHlVh.js")).Vue3Lottie
|
|
63704
63706
|
), n = e, a = J(null), s = J(!1), r = $(() => n.variant === "thumbnail" ? 96 : n.variant === "composer" ? 180 : 220), l = $(
|
|
63705
63707
|
() => n.variant === "chat" ? "flex items-center justify-center p-1" : "flex size-full items-center justify-center"
|
|
63706
63708
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b7 as s, b8 as t, am as r, aZ as i, b4 as o, b3 as n, b5 as c, G as l, bU as d, aO as m, a3 as b, L as u, b9 as g, bo as S, bn as E, bq as C, bp as R, z as A, U as T, a6 as I, E as M, B as P, M as p, a0 as v, i as L, j as y, bj as _, bl as h, bk as f, O as D, bX as F, ch as N, cj as B, ci as k, ck as G, D as O, aN as V, ai as w, bW as H, aP as U, aQ as K, bV as Y, al as q, ao as x, bY as z, bF as W, bZ as Q, c1 as j, a8 as J, $ as X, af as Z, a7 as $, ab as aa, ad as ea, aa as sa, a4 as ta, ac as ra, a9 as ia, R as oa, ae as na, a5 as ca, F as la, k as da, b_ as ma, b$ as ba, P as ua, ba as ga, aS as Sa, aR as Ea, c0 as Ca, bs as Ra, bt as Aa, bI as Ta, bG as Ia, bH as Ma, cg as Pa, aj as pa, aU as va, aV as La, aW as ya, S as _a, N as ha, _ as fa, ak as Da, T as Fa, h as Na, Q as Ba, A as ka, m as Ga, aT as Oa, b6 as Va, an as wa, V as Ha, E as Ua, bJ as Ka, bb as Ya, l as qa, o as xa, n as za, q as Wa, w as Qa, b0 as ja, aJ as Ja, aI as Xa, b1 as Za, br as $a, c5 as ae, c8 as ee, a_ as se, aL as te, Y as re, b2 as ie, bc as oe, bd as ne, be as ce, cx as le, cu as de, cy as me, x as be, bf as ue, cq as ge, bg as Se, cb as Ee, cc as Ce, c6 as Re, cl as Ae, cz as Te, by as Ie, co as Me, ct as Pe, cp as pe, cm as ve, cN as Le, cB as ye, cA as _e, cF as he, cG as fe, cH as De, cE as Fe, cC as Ne, cD as Be, v as ke, bB as Ge, aq as Oe, aB as Ve, az as we, aC as He, au as Ue, aA as Ke, aG as Ye, Z as qe, c9 as xe, cn as ze, aw as We, ax as Qe, ay as je, bC as Je, bD as Xe, bv as Ze, bu as $e, bx as as, bw as es, bE as ss, cI as ts, cJ as rs, as as is, bh as os, X as ns, cr as cs, ap as ls, aX as ds, aM as ms, a$ as bs, H as us, I as gs, p as Ss, aF as Es, ca as Cs, ce as Rs, ar as As, cs as Ts, c2 as Is, at as Ms, aK as Ps, bL as ps, cf as vs, bz as Ls, J as ys, bK as _s, bT as hs, bS as fs, bM as Ds, bP as Fs, bR as Ns, bO as Bs, bN as ks, bQ as Gs, aY as Os, ah as Vs, ag as ws, cd as Hs, c7 as Us, s as Ks, t as Ys, cL as qs, av as xs, K as zs, bA as Ws, bm as Qs, cK as js, a as Js, a2 as Xs, u as Zs, cM as $s, d as at, aD as et, e as st, a1 as tt, y as rt, f as it, aE as ot, bi as nt, cv as ct, cw as lt, aH as dt, c4 as mt, c3 as bt } from "./index-
|
|
1
|
+
import { b7 as s, b8 as t, am as r, aZ as i, b4 as o, b3 as n, b5 as c, G as l, bU as d, aO as m, a3 as b, L as u, b9 as g, bo as S, bn as E, bq as C, bp as R, z as A, U as T, a6 as I, E as M, B as P, M as p, a0 as v, i as L, j as y, bj as _, bl as h, bk as f, O as D, bX as F, ch as N, cj as B, ci as k, ck as G, D as O, aN as V, ai as w, bW as H, aP as U, aQ as K, bV as Y, al as q, ao as x, bY as z, bF as W, bZ as Q, c1 as j, a8 as J, $ as X, af as Z, a7 as $, ab as aa, ad as ea, aa as sa, a4 as ta, ac as ra, a9 as ia, R as oa, ae as na, a5 as ca, F as la, k as da, b_ as ma, b$ as ba, P as ua, ba as ga, aS as Sa, aR as Ea, c0 as Ca, bs as Ra, bt as Aa, bI as Ta, bG as Ia, bH as Ma, cg as Pa, aj as pa, aU as va, aV as La, aW as ya, S as _a, N as ha, _ as fa, ak as Da, T as Fa, h as Na, Q as Ba, A as ka, m as Ga, aT as Oa, b6 as Va, an as wa, V as Ha, E as Ua, bJ as Ka, bb as Ya, l as qa, o as xa, n as za, q as Wa, w as Qa, b0 as ja, aJ as Ja, aI as Xa, b1 as Za, br as $a, c5 as ae, c8 as ee, a_ as se, aL as te, Y as re, b2 as ie, bc as oe, bd as ne, be as ce, cx as le, cu as de, cy as me, x as be, bf as ue, cq as ge, bg as Se, cb as Ee, cc as Ce, c6 as Re, cl as Ae, cz as Te, by as Ie, co as Me, ct as Pe, cp as pe, cm as ve, cN as Le, cB as ye, cA as _e, cF as he, cG as fe, cH as De, cE as Fe, cC as Ne, cD as Be, v as ke, bB as Ge, aq as Oe, aB as Ve, az as we, aC as He, au as Ue, aA as Ke, aG as Ye, Z as qe, c9 as xe, cn as ze, aw as We, ax as Qe, ay as je, bC as Je, bD as Xe, bv as Ze, bu as $e, bx as as, bw as es, bE as ss, cI as ts, cJ as rs, as as is, bh as os, X as ns, cr as cs, ap as ls, aX as ds, aM as ms, a$ as bs, H as us, I as gs, p as Ss, aF as Es, ca as Cs, ce as Rs, ar as As, cs as Ts, c2 as Is, at as Ms, aK as Ps, bL as ps, cf as vs, bz as Ls, J as ys, bK as _s, bT as hs, bS as fs, bM as Ds, bP as Fs, bR as Ns, bO as Bs, bN as ks, bQ as Gs, aY as Os, ah as Vs, ag as ws, cd as Hs, c7 as Us, s as Ks, t as Ys, cL as qs, av as xs, K as zs, bA as Ws, bm as Qs, cK as js, a as Js, a2 as Xs, u as Zs, cM as $s, d as at, aD as et, e as st, a1 as tt, y as rt, f as it, aE as ot, bi as nt, cv as ct, cw as lt, aH as dt, c4 as mt, c3 as bt } from "./index-Brs7Lca2.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ACHIEVEMENT_METRICS,
|
|
4
4
|
t as ACHIEVEMENT_SCOPES,
|
|
@@ -242,7 +242,7 @@ if (n > 0 && t < 1) {
|
|
|
242
242
|
$bm_rt = $bm_sum(value, $bm_div($bm_mul($bm_mul($bm_div(v, 100), amp), Math.sin($bm_mul($bm_mul($bm_mul(freq, t), 2), Math.PI))), Math.exp($bm_mul(decay, t))));
|
|
243
243
|
} else {
|
|
244
244
|
$bm_rt = value;
|
|
245
|
-
}`},p:{a:0,k:[250,250,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ip:30,op:150,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"02",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.5,-84],[.5,83]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.156862745098,.156862745098,.156862745098,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:30,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:45,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[1],y:[0]},t:69,s:[0]},{t:89,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:36,s:[0]},{t:56,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:36,op:156,st:6,ct:1,bm:0},{ddd:0,ind:3,ty:4,nm:"01",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.5,-84],[.5,83]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.156862745098,.156862745098,.156862745098,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:30,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:-45,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[1],y:[0]},t:65,s:[0]},{t:85,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:30,s:[0]},{t:50,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:30,op:150,st:0,ct:1,bm:0},{ddd:0,ind:4,ty:4,nm:"Loading",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[0],y:[.86]},o:{x:[.333],y:[.049]},t:0,s:[0]},{i:{x:[1],y:[1]},o:{x:[.001],y:[.001]},t:30,s:[344]},{t:40,s:[360]}],ix:10},p:{a:0,k:[250,250,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[300,300],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.155555395987,.155555395987,.155555395987,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.333],y:[0]},t:30,s:[50]},{t:40,s:[0]}],ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.392],y:[.84]},o:{x:[.615],y:[0]},t:0,s:[99.9]},{i:{x:[.057],y:[.422]},o:{x:[.031],y:[-.011]},t:9,s:[74.7]},{i:{x:[.6],y:[1]},o:{x:[.291],y:[.642]},t:14,s:[85]},{t:40,s:[99.9]}],ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:150,st:0,ct:1,bm:0},{ddd:0,ind:5,ty:4,nm:"Loading-Back",sr:1,ks:{o:{a:0,k:10,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[250,250,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[300,300],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.156862745098,.156862745098,.156862745098,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.333],y:[0]},t:30,s:[50]},{t:40,s:[0]}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:150,st:0,ct:1,bm:0}],markers=[],props={},error_animate={v:v$2,fr,ip,op,w:w$2,h:h$2,nm,ddd,assets,layers,markers,props},_hoisted_1$V={key:0},_hoisted_2$N={class:"waf-modal"},_hoisted_3$J={key:0,class:"waf-loading"},_hoisted_4$E={key:1,class:"text-sm text-red-500 text-center"},_sfc_main$_={__name:"WafCaptchaModal",props:{modelValue:{type:Boolean,default:!1},renderCaptcha:{type:Function,required:!0},isBlocked:{type:Boolean,default:!1},anchorEl:{type:Object,default:null}},emits:["update:modelValue","solved","error"],setup(ee,{emit:te}){const ne=ee,ae=te,re=e$b.computed(()=>{var pe;return((pe=getActiveProvider())==null?void 0:pe.name)==="google-recaptcha"}),oe=`waf-captcha-${Math.random().toString(36).slice(2,9)}`,ie=e$b.ref(null),se=e$b.ref(!0),ce=e$b.ref(!1),de=e$b.ref({});let ue=null;const ge=()=>{ne.isBlocked&&ae("update:modelValue",!1)};function he(){var Ee,Me;if(!ne.anchorEl)return;const pe=ne.anchorEl instanceof HTMLElement?ne.anchorEl:((Ee=ne.anchorEl)==null?void 0:Ee.$el)??((Me=ne.anchorEl)==null?void 0:Me.value);if(!pe||!pe.getBoundingClientRect)return;const ye=pe.getBoundingClientRect(),be=200;let ke=ye.left+ye.width/2-be/2;ke=Math.max(8,Math.min(ke,window.innerWidth-be-8));const $e=ye.top,_e=window.innerHeight-ye.bottom;$e>_e?de.value={position:"fixed",left:`${ke}px`,bottom:`${window.innerHeight-ye.top+8}px`,width:`${be}px`}:de.value={position:"fixed",left:`${ke}px`,top:`${ye.bottom+8}px`,width:`${be}px`}}async function ve(){se.value=!0,ce.value=!1,await e$b.nextTick();const pe=document.getElementById(oe);pe&&(pe.innerHTML="");try{await ne.renderCaptcha(oe),se.value=!1,ae("solved")}catch(ye){se.value=!1,ce.value=!0,ae("error",ye)}}function me(){ue&&ue.disconnect();const pe=document.getElementById(oe);pe&&(ue=new MutationObserver(()=>{pe.children.length>0&&se.value&&(se.value=!1)}),ue.observe(pe,{childList:!0,subtree:!0}))}return e$b.watch(()=>ne.modelValue,async pe=>{pe?(he(),await e$b.nextTick(),me(),await ve()):(se.value=!0,ce.value=!1,ue&&ue.disconnect())}),e$b.onBeforeUnmount(()=>{ue&&ue.disconnect()}),(pe,ye)=>{const be=e$b.resolveComponent("Vue3Lottie");return re.value&&ee.modelValue?(e$b.openBlock(),e$b.createElementBlock("div",_hoisted_1$V,[e$b.createElementVNode("div",{ref_key:"captchaContainerRef",ref:ie,id:oe,class:e$b.normalizeClass(["waf-captcha-body",{"waf-hidden":se.value}])},null,2)])):(e$b.openBlock(),e$b.createBlock(e$b.Teleport,{key:1,to:"body"},[e$b.createVNode(e$b.Transition,{name:"waf-fade"},{default:e$b.withCtx(()=>[ee.modelValue?(e$b.openBlock(),e$b.createElementBlock("div",{key:0,onClick:ge,class:"waf-overlay"},[e$b.createElementVNode("div",_hoisted_2$N,[se.value&&!ee.isBlocked?(e$b.openBlock(),e$b.createElementBlock("div",_hoisted_3$J,[...ye[0]||(ye[0]=[e$b.createElementVNode("svg",{class:"waf-spinner",viewBox:"0 0 24 24",fill:"none"},[e$b.createElementVNode("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"31.4 31.4"})],-1),e$b.createElementVNode("span",{class:"waf-loading-text"},"Carregando verificação…",-1)])])):e$b.createCommentVNode("",!0),ye[2]||(ye[2]=e$b.createElementVNode("span",{class:"flex flex-col items-center py-3 text-black"},[e$b.createElementVNode("p",{class:"text-lg font-semibold"}," Muitas tentativas de login simultâneas "),e$b.createElementVNode("p",{class:"text-sm"}," Por favor, complete a verificação para continuar ")],-1)),ee.isBlocked?(e$b.openBlock(),e$b.createElementBlock("p",_hoisted_4$E,[e$b.createVNode(be,{"animation-data":e$b.unref(error_animate),height:180,width:180,"auto-play":!0,loop:!0},null,8,["animation-data"]),ye[1]||(ye[1]=e$b.createTextVNode(" Sua conta está temporariamente bloqueada devido a muitas tentativas de login. ",-1))])):(e$b.openBlock(),e$b.createElementBlock("div",{key:2,ref_key:"captchaContainerRef",ref:ie,id:oe,class:e$b.normalizeClass(["waf-captcha-body",{"waf-hidden":se.value}])},null,2))])])):e$b.createCommentVNode("",!0)]),_:1})]))}}},WafCaptchaModal=_export_sfc$2(_sfc_main$_,[["__scopeId","data-v-ec6a0c2b"]]);var{min:a$1,max:u$2,abs:f$2,floor:d$1}=Math,p$1=(ee,te,ne)=>a$1(ne,u$2(te,ee)),m$1=ee=>[...ee].sort((te,ne)=>te-ne),h$1=typeof queueMicrotask=="function"?queueMicrotask:ee=>{Promise.resolve().then(ee)},_=()=>{let ee;return[new Promise(te=>{ee=te}),ee]},b$1=ee=>{let te;return()=>(ee&&(te=ee(),ee=void 0),te)},g$1=(ee,te,ne)=>{const ae=ne?"unshift":"push";for(let re=0;re<te;re++)ee[ae](-1);return ee},v$1=(ee,te)=>{const ne=ee.t[te];return ne===-1?ee.o:ne},y$1=(ee,te,ne)=>{const ae=ee.t[te]===-1;return ee.t[te]=ne,ee.i=a$1(te,ee.i),ae},S$1=(ee,te)=>{if(!ee.l)return 0;if(ee.i>=te)return ee.u[te];ee.i<0&&(ee.u[0]=0,ee.i=0);let ne=ee.i,ae=ee.u[ne];for(;ne<te;)ae+=v$1(ee,ne),ee.u[++ne]=ae;return ee.i=te,ae},z=(ee,te,ne=0,ae=ee.l-1)=>{let re=ne;for(;ne<=ae;){const oe=d$1((ne+ae)/2);S$1(ee,oe)<=te?(re=oe,ne=oe+1):ae=oe-1}return p$1(re,0,ee.l-1)},x$1=(ee,te,ne)=>{const ae=te-ee.l;return ee.i=ne?-1:a$1(te-1,ee.i),ee.l=te,ae>0?(g$1(ee.u,ae),g$1(ee.t,ae,ne),ee.o*ae):(ee.u.splice(ae),(ne?ee.t.splice(0,-ae):ee.t.splice(ae)).reduce((re,oe)=>re-(oe===-1?ee.o:oe),0))},$=ee=>ee.documentElement,w$1=ee=>ee.ownerDocument,I=ee=>ee.defaultView,O$1=b$1(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>0),k$1=b$1(()=>"scrollBehavior"in $(document).style),j$1=(ee,te=40,ne=0,ae,re=!1)=>{let oe=!!ne,ie=1,se=0,ce=0,de=0,ue=0,ge=0,he=0,ve=0,me=0,pe=null,ye=[0,oe?u$2(ne-1,0):-1],be=0,ke=!1;const $e=((Pe,Se,Le)=>({o:Se,t:Le?g$1(Le.slice(0,a$1(Pe,Le.length)),u$2(0,Pe-Le.length)):g$1([],Pe),l:Pe,i:-1,u:g$1([],Pe+1)}))(ee,ae?ae[1]:te,ae&&ae[0]),_e=new Set,Ee=()=>de-ce,Me=()=>Ee()+ge+ue,De=(Pe,Se)=>((Le,Ne,Ae,xe)=>{if(xe=a$1(xe,Le.l-1),S$1(Le,xe)<=Ne){const Ce=z(Le,Ae,xe);return[z(Le,Ne,xe,Ce),Ce]}{const Ce=z(Le,Ne,void 0,xe);return[Ce,z(Le,Ae,Ce)]}})($e,Pe,Se,ye[0]),Be=()=>S$1($e,$e.l),Ve=(Pe,Se)=>{const Le=S$1($e,Pe)-ge;return Se?Be()-Le-ze(Pe):Le},ze=Pe=>v$1($e,Pe),Fe=(Pe,Se=-1)=>$e.t[Pe]===Se,Re=Pe=>{Pe&&(O$1()&&ve!==0||pe&&me===1?ge+=Pe:ue+=Pe)};return{p:()=>{_e.clear()},m:()=>ie,h:()=>(Pe=>[Pe.t.slice(),Pe.o])($e),v:(Pe=200)=>{if(!ke||oe)return ye;let Se,Le;if(he)[Se,Le]=ye;else{let Ne=u$2(0,Me()),Ae=Ne+se;re||(Pe=u$2(0,Pe),ve!==1&&(Ne-=Pe),ve!==2&&(Ae+=Pe)),[Se,Le]=ye=De(u$2(0,Ne),u$2(0,Ae)),pe&&(Se=a$1(Se,pe[0]),Le=u$2(Le,pe[1]))}return[u$2(Se,0),a$1(Le,$e.l-1)]},S:Pe=>z($e,Pe-ce),I:Fe,O:Ve,k:ze,j:()=>$e.l,N:()=>de,B:()=>ve!==0,T:()=>se,q:()=>ce,M:Be,P:()=>(he=ue,ue=0,[he,me===2]),R:(Pe,Se)=>{const Le=[Pe,Se];return _e.add(Le),()=>{_e.delete(Le)}},A:(Pe,Se)=>{let Le,Ne,Ae=0;switch(Pe){case 1:{if(Se===de&&me===0)break;const xe=he;he=0;const Ce=Se-de,Ie=f$2(Ce);xe&&Ie<f$2(xe)+1||me!==0||(ve=Ce<0?2:1),oe&&(oe=!1),de=Se,Ae=4;const Oe=Ee();Oe>=-se&&Oe<=Be()&&(Ae+=1,Ne=Ie>se);break}case 2:Ae=8,ve!==0&&(Le=!0,Ae+=1),ve=0,me=0,pe=null;break;case 3:{const xe=Se.filter(([Ce,Ie])=>!Fe(Ce,Ie));if(!xe.length)break;Re(xe.reduce((Ce,[Ie,Oe])=>{let Ue;if(me===2)Ue=!0;else if(pe&&me===1)Ue=Ie<pe[0];else{const Ge=Ee(),He=Ve(Ie),Ze=ze(Ie);Ue=ve!==1&&me===0?He+Ze<=Ge:He<Ge&&He+Ze<Ge+se}return Ue&&(Ce+=Oe-ze(Ie)),Ce},0));for(const[Ce,Ie]of xe){const Oe=ze(Ce),Ue=y$1($e,Ce,Ie);re&&(be+=Ue?Ie:Ie-Oe)}re&&se&&be>se&&(Re(((Ce,Ie)=>{let Oe=0;const Ue=[];Ce.t.forEach((tt,Mt)=>{tt!==-1&&(Ue.push(tt),Mt<Ie&&Oe++)}),Ce.i=-1;const Ge=m$1(Ue),He=Ge.length,Ze=He/2|0,qe=He%2==0?(Ge[Ze-1]+Ge[Ze])/2:Ge[Ze],Xe=Ce.o;return((Ce.o=qe)-Xe)*u$2(Ie-Oe,0)})($e,z($e,Me()))),re=!1),Ae=3,Ne=!0;break}case 4:se!==Se&&(se||(ke=Ne=!0),se=Se,Ae=3);break;case 5:Se[1]?(Re(x$1($e,Se[0],!0)),me=2,Ae=1):(x$1($e,Se[0]),Ae=1);break;case 6:ce=Se;break;case 7:me=1;break;case 8:pe=De(Se,Se+se),Ae=1}Ae&&(ie=1+(2147483647&ie),Le&&ge&&(ue+=ge,ge=0),_e.forEach(([xe,Ce])=>{Ae&xe&&Ce(Ne)}))}}},N$1=setTimeout,B=(ee,te)=>te?-ee:ee,T=(ee,te,ne,ae,re,oe)=>{const ie=Date.now;let se=0,ce=!1,de=!1,ue=!1,ge=!1;const he=(()=>{let be;const ke=()=>{be!=null&&clearTimeout(be)},$e=()=>{ke(),be=N$1(()=>{be=null,(()=>{if(ce||de)return ce=!1,void he();ue=!1,ee.A(2)})()},150)};return $e.C=ke,$e})(),ve=()=>{se=ie(),ue&&(ge=!0),ee.A(1,ae()),he()},me=be=>{if(ce||!ee.B()||be.ctrlKey)return;const ke=ie()-se;150>ke&&50<ke&&(ne?be.deltaX:be.deltaY)&&(ce=!0)},pe=()=>{de=!0,ue=ge=!1},ye=()=>{de=!1,O$1()&&(ue=!0)};return te.addEventListener("scroll",ve),te.addEventListener("wheel",me,{passive:!0}),te.addEventListener("touchstart",pe,{passive:!0}),te.addEventListener("touchend",ye,{passive:!0}),{H:()=>{te.removeEventListener("scroll",ve),te.removeEventListener("wheel",me),te.removeEventListener("touchstart",pe),te.removeEventListener("touchend",ye),he.C()},V:()=>{const[be,ke]=ee.P();be&&(re(be,ke,ge),ge=!1,ke&&ee.T()>ee.M()&&ee.A(1,ae()))}}},q=(ee,te,ne)=>{let ae;return[async(re,oe)=>{if(!await te())return;ae&&ae();const ie=()=>{const[se,ce]=_();return ae=()=>{ce(!1)},ee.T()&&N$1(ae,150),[se,ee.R(2,()=>{ce(!0)})]};if(oe&&k$1())ee.A(8,re()),h$1(async()=>{for(;;){let se=!0;for(let[ue,ge]=ee.v();ue<=ge;ue++)if(ee.I(ue)){se=!1;break}if(se)break;const[ce,de]=ie();try{if(!await ce)return}finally{de()}}ee.A(7),ne(re(),oe)});else for(;;){const[se,ce]=ie();try{if(ee.A(7),ne(re()),!await se)return}finally{ce()}}},()=>{ae&&ae()}]},M=ee=>{let te;return{F(ne){(te||(te=new(I(w$1(ne))).ResizeObserver(ee))).observe(ne)},J(ne){te.unobserve(ne)},H(){te&&te.disconnect()}}},E=e$b.defineComponent({props:{L:{type:Object,required:!0},W:{type:Object,required:!0},X:{type:Object,required:!0},Y:{type:Function,required:!0},D:{type:Number,required:!0},U:{type:Boolean},G:{type:Boolean},K:{type:Boolean},Z:{type:String,required:!0},ee:Object},setup(ee){const te=e$b.ref(),ne=e$b.computed(()=>ee.L.value&&ee.W.O(ee.D,ee.K)),ae=e$b.computed(()=>ee.L.value&&ee.W.I(ee.D));return e$b.watch(()=>te.value&&ee.D,(re,oe,ie)=>{ie(ee.Y(te.value,ee.D))},{flush:"post"}),()=>{const{X:re,U:oe,G:ie,Z:se}=ee,ce=ae.value,{style:de,...ue}=ee.ee??{},ge={contain:"layout style",position:ce&&ie?void 0:"absolute",[oe?"height":"width"]:"100%",[oe?"top":"left"]:"0px",[oe?"left":"top"]:ne.value+"px",visibility:!ce||ie?void 0:"hidden",...de};return oe&&(ge.display="inline-flex"),e$b.createVNode(se,e$b.mergeProps({ref:te,style:ge},ue),typeof(he=re)=="function"||Object.prototype.toString.call(he)==="[object Object]"&&!e$b.isVNode(he)?re:{default:()=>[re],_:2},16,["style"]);var he}}}),P$1=(ee,te)=>{if(ee.length===1){const ne=ee[0].key;if(ne!=null)return ne}return"_"+te},R=(ee,te)=>ee[0]===te[0]&&ee[1]===te[1],A=e$b.defineComponent({props:{data:{type:Array,required:!0},bufferSize:Number,itemSize:Number,shift:Boolean,horizontal:Boolean,startMargin:{type:Number,default:0},ssrCount:Number,scrollRef:Object,as:{type:String,default:"div"},item:{type:String,default:"div"},itemProps:Function,keepMounted:Array,cache:Object},emits:["scroll","scrollEnd"],setup(ee,{emit:te,expose:ne,slots:ae}){let re=!!ee.ssrCount;const oe=ee.horizontal,ie=e$b.ref(),se=j$1(ee.data.length,ee.itemSize,ee.ssrCount,ee.cache,!ee.itemSize),ce=((me,pe)=>{let ye;const be=pe?"width":"height",ke=new WeakMap,$e=M(_e=>{const Ee=[];for(const{target:Me,contentRect:De}of _e)if(Me.offsetParent)if(Me===ye)me.A(4,De[be]);else{const Be=ke.get(Me);Be!=null&&Ee.push([Be,De[be]])}Ee.length&&me.A(3,Ee)});return{te(_e){$e.F(ye=_e)},re:(_e,Ee)=>(ke.set(_e,Ee),$e.F(_e),()=>{ke.delete(_e),$e.J(_e)}),p:$e.H}})(se,oe),de=((me,pe)=>{let ye,be,ke=_(),$e=!1;const _e=pe?"scrollLeft":"scrollTop",Ee=pe?"overflowX":"overflowY",[Me,De]=q(me,()=>ke[0],(Be,Ve)=>{Be=B(Be,$e),Ve?ye.scrollTo({[pe?"left":"top"]:Be,behavior:"smooth"}):ye[_e]=Be});return{oe(Be,Ve){ye=Ve,pe&&($e=getComputedStyle(Ve).direction==="rtl"),be=T(me,Ve,pe,()=>B(Ve[_e],$e),(ze,Fe,Re)=>{if(Re){const Pe=Ve.style,Se=Pe[Ee];Pe[Ee]="hidden",N$1(()=>{Pe[Ee]=Se})}Ve[_e]=B(me.N()+ze,$e),Fe&&De()}),ke[1](!0)},p(){be&&be.H(),ke[1](!1),ke=_()},ne:()=>$e,se(Be){Me(()=>Be)},ie(Be){Be+=me.N(),Me(()=>Be)},le(Be,{align:Ve,smooth:ze,offset:Fe=0}={}){if(Be=p$1(Be,0,me.j()-1),Ve==="nearest"){const Re=me.O(Be),Pe=me.N();if(Re<Pe)Ve="start";else{if(!(Re+me.k(Be)>Pe+me.T()))return;Ve="end"}}Me(()=>Fe+me.q()+me.O(Be)+(Ve==="end"?me.k(Be)-me.T():Ve==="center"?(me.k(Be)-me.T())/2:0),ze)},ce:()=>{be&&be.V()}}})(se,oe),ue=e$b.ref(se.m());se.R(1,()=>{ue.value=se.m()}),se.R(4,()=>{te("scroll",se.N())}),se.R(8,()=>{te("scrollEnd")});const ge=e$b.computed(me=>{ue.value;const pe=se.v(ee.bufferSize);return me&&R(me,pe)?me:pe}),he=e$b.computed(()=>ue.value&&se.B()),ve=e$b.computed(()=>ue.value&&se.M());return e$b.onMounted(()=>{re=!1;const me=ie.value,pe=requestAnimationFrame(()=>{const ye=be=>{ce.te(be),de.oe(me,be)};ee.scrollRef?ye(ee.scrollRef):ye(me.parentElement)});e$b.onUnmounted(()=>{cancelAnimationFrame(pe)})}),e$b.onUnmounted(()=>{se.p(),ce.p(),de.p()}),e$b.watch(()=>ee.data.length,me=>{se.A(5,[me,ee.shift])}),e$b.watch(()=>ee.startMargin,me=>{se.A(6,me)},{immediate:!0}),e$b.watch([ue],()=>{de.ce()},{flush:"post"}),ne({get cache(){return se.h()},get scrollOffset(){return se.N()},get scrollSize(){return(me=>u$2(me.M(),me.T()))(se)},get viewportSize(){return se.T()},findItemIndex:se.S,getItemOffset:se.O,getItemSize:se.k,scrollToIndex:de.le,scrollTo:de.se,scrollBy:de.ie}),()=>{const me=ee.as,pe=ee.item,ye=ve.value,be=de.ne(),ke=[],$e=Ee=>{var De;const Me=ae.default({item:ee.data[Ee],index:Ee});return e$b.createVNode(E,{key:P$1(Me,Ee),L:ue,W:se,Y:ce.re,D:Ee,X:Me,U:oe,K:be,G:re,Z:pe,ee:(De=ee.itemProps)==null?void 0:De.call(ee,{item:ee.data[Ee],index:Ee})},null,8,["L","W","Y","D","X","U","K","G","Z","ee"])};if(ee.keepMounted){const Ee=new Set(ee.keepMounted);for(let[Me,De]=ge.value;Me<=De;Me++)Ee.add(Me);m$1([...Ee]).forEach(Me=>{ke.push($e(Me))})}else for(let[Ee,Me]=ge.value;Ee<=Me;Ee++)ke.push($e(Ee));return e$b.createVNode(me,{ref:ie,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:oe?ye+"px":"100%",height:oe?"100%":ye+"px",pointerEvents:he.value?"none":void 0}},typeof(_e=ke)=="function"||Object.prototype.toString.call(_e)==="[object Object]"&&!e$b.isVNode(_e)?ke:{default:()=>[ke],_:2},8,["style"]);var _e}}}),C$1=e$b.defineComponent({props:{data:{type:Array,required:!0},bufferSize:Number,itemSize:Number,shift:Boolean,horizontal:Boolean,ssrCount:Number,itemProps:Function,keepMounted:Array,cache:Object},emits:["scroll","scrollEnd"],setup(ee,{emit:te,expose:ne,slots:ae}){const re=ee.horizontal,oe=ce=>{te("scroll",ce)},ie=()=>{te("scrollEnd")},se=e$b.ref();return ne({get cache(){return se.value.cache},get scrollOffset(){return se.value.scrollOffset},get scrollSize(){return se.value.scrollSize},get viewportSize(){return se.value.viewportSize},findItemIndex:(...ce)=>se.value.findItemIndex(...ce),getItemOffset:(...ce)=>se.value.getItemOffset(...ce),getItemSize:(...ce)=>se.value.getItemSize(...ce),scrollToIndex:(...ce)=>se.value.scrollToIndex(...ce),scrollTo:(...ce)=>se.value.scrollTo(...ce),scrollBy:(...ce)=>se.value.scrollBy(...ce)}),()=>{return e$b.createVNode("div",{style:{display:re?"inline-block":"block",[re?"overflowX":"overflowY"]:"auto",contain:"strict",width:"100%",height:"100%"}},[e$b.createVNode(A,{ref:se,data:ee.data,bufferSize:ee.bufferSize,itemSize:ee.itemSize,itemProps:ee.itemProps,shift:ee.shift,ssrCount:ee.ssrCount,horizontal:re,keepMounted:ee.keepMounted,cache:ee.cache,onScroll:oe,onScrollEnd:ie},(ce=ae,typeof ce=="function"||Object.prototype.toString.call(ce)==="[object Object]"&&!e$b.isVNode(ce)?ae:{default:()=>[ae],_:2}),8,["data","bufferSize","itemSize","itemProps","shift","ssrCount","horizontal","keepMounted","cache","onScroll","onScrollEnd"])],4);var ce}}});const _sfc_main$Z={__name:"VirtualList",props:{items:{type:Array,default:()=>[]},itemKey:{type:[String,Function],default:"id"},itemSize:{type:Number,default:void 0},bufferSize:{type:Number,default:200},shift:{type:Boolean,default:!1},endThreshold:{type:Number,default:400},animatePromote:{type:Boolean,default:!1},promoteDuration:{type:Number,default:320}},emits:["reach-end"],setup(ee,{expose:te,emit:ne}){const ae=ee,re=ne,oe=e$b.ref(null);function ie(ye,be){if(typeof ae.itemKey=="function")return ae.itemKey(ye,be);const ke=ye==null?void 0:ye[ae.itemKey];return ke??be}const se=e$b.computed(()=>ae.items.map((ye,be)=>ie(ye,be))),ce=typeof window<"u"&&window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null,de=e$b.ref(new Set),ue=new Map,ge=e$b.computed(()=>({"--vl-promote-duration":`${ae.promoteDuration}ms`}));function he(ye){de.value.add(ye),ue.has(ye)&&clearTimeout(ue.get(ye)),ue.set(ye,setTimeout(()=>{de.value.delete(ye),ue.delete(ye)},ae.promoteDuration))}e$b.watch(se,(ye,be)=>{if(!ae.animatePromote||ce!=null&&ce.matches)return;const ke=new Set(ye),$e=[];let _e=0;be.forEach(De=>{$e.push(_e),ke.has(De)||(_e+=1)});const Ee=be.length-_e,Me=new Map;be.forEach((De,Be)=>Me.set(De,Be)),ye.forEach((De,Be)=>{const Ve=Me.get(De);if(Ve===void 0){Be<Ee&&he(De);return}Be<Ve-$e[Ve]&&he(De)})});let ve=!1;function me(){const ye=oe.value;if(!ye)return;const ke=ye.scrollSize-ye.viewportSize-ye.scrollOffset<=ae.endThreshold;ke&&!ve&&re("reach-end"),ve=ke}function pe(){me()}return e$b.onMounted(async()=>{await e$b.nextTick(),me()}),e$b.watch(()=>ae.items.length,async()=>{await e$b.nextTick(),ve=!1,me()}),e$b.onUnmounted(()=>{ue.forEach(ye=>clearTimeout(ye)),ue.clear()}),te({scrollToIndex:(...ye)=>{var be;return(be=oe.value)==null?void 0:be.scrollToIndex(...ye)},scrollTo:(...ye)=>{var be;return(be=oe.value)==null?void 0:be.scrollTo(...ye)}}),(ye,be)=>(e$b.openBlock(),e$b.createBlock(e$b.unref(C$1),{ref_key:"listRef",ref:oe,data:ee.items,"item-size":ee.itemSize,"buffer-size":ee.bufferSize,shift:ee.shift,onScroll:pe},{default:e$b.withCtx(({item:ke,index:$e})=>[(e$b.openBlock(),e$b.createElementBlock("div",{key:se.value[$e],class:e$b.normalizeClass({"vl-row-promoted":de.value.has(se.value[$e])}),style:e$b.normalizeStyle(ge.value)},[e$b.renderSlot(ye.$slots,"default",{item:ke,index:$e,promoted:de.value.has(se.value[$e])},void 0,!0)],6))]),_:3},8,["data","item-size","buffer-size","shift"]))}},VirtualList=_export_sfc$2(_sfc_main$Z,[["__scopeId","data-v-f5e32e4f"]]);function sameList(ee,te){if(ee===te)return!0;if(!ee||!te||ee.length!==te.length)return!1;for(let ne=0;ne<ee.length;ne++)if(ee[ne]!==te[ne])return!1;return!0}function stableList(ee){let te=null;return e$b.computed(()=>{const ne=ee();return te&&sameList(te,ne)?te:(te=ne,ne)})}const _hoisted_1$U={class:"flex w-60 flex-col gap-0.5 p-1"},_hoisted_2$M=["href"],_hoisted_3$I=["href"],itemClass="group flex items-center gap-2.5 rounded-xl px-2.5 py-2 text-inherit no-underline border-0 bg-transparent cursor-pointer transition-colors hover:bg-base-100 active:bg-primary/15",_sfc_main$Y={__name:"SupportMenu",props:{whatsappUrl:{type:String,default:""},telegramUrl:{type:String,default:""},showQuickChat:{type:Boolean,default:!1},placement:{type:String,default:"right"}},emits:["quick-chat"],setup(ee,{emit:te}){const ne=ee,ae=te;return e$b.computed(()=>!!(ne.whatsappUrl||ne.telegramUrl)),(re,oe)=>(e$b.openBlock(),e$b.createBlock(e$b.unref(entry_esm),{placement:ee.placement,arrow:!1},{content:e$b.withCtx(()=>[e$b.createElementVNode("div",_hoisted_1$U,[oe[6]||(oe[6]=e$b.createElementVNode("p",{class:"px-2.5 pb-1 pt-0.5 text-[11px] font-semibold uppercase tracking-wide text-base-content/45"}," Fale com o suporte ",-1)),ee.whatsappUrl?(e$b.openBlock(),e$b.createElementBlock("a",{key:0,href:ee.whatsappUrl,target:"_blank",rel:"noopener noreferrer",class:e$b.normalizeClass(itemClass)},[e$b.createVNode(_sfc_main$2v,{type:"whatsapp-qrcode",size:"md"}),oe[1]||(oe[1]=e$b.createElementVNode("span",{class:"flex min-w-0 flex-1 flex-col"},[e$b.createElementVNode("span",{class:"text-sm font-medium"},"WhatsApp"),e$b.createElementVNode("span",{class:"truncate text-xs text-base-content/55"},"Iremos te redirecionar")],-1)),oe[2]||(oe[2]=e$b.createElementVNode("svg",{class:"size-3.5 shrink-0 text-base-content/30 transition-transform group-hover:translate-x-0.5 group-hover:text-base-content/60",viewBox:"0 0 20 20",fill:"currentColor"},[e$b.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.21 14.77a.75.75 0 0 1 0-1.06L11.94 8 7.21 3.29a.75.75 0 1 1 1.06-1.06l5.25 5.25a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 0 1-1.06 0Z","clip-rule":"evenodd"})],-1))],8,_hoisted_2$M)):e$b.createCommentVNode("",!0),ee.telegramUrl?(e$b.openBlock(),e$b.createElementBlock("a",{key:1,href:ee.telegramUrl,target:"_blank",rel:"noopener noreferrer",class:e$b.normalizeClass(itemClass)},[e$b.createVNode(_sfc_main$2v,{type:"telegram",size:"md"}),oe[3]||(oe[3]=e$b.createElementVNode("span",{class:"flex min-w-0 flex-1 flex-col"},[e$b.createElementVNode("span",{class:"text-sm font-medium"},"Telegram"),e$b.createElementVNode("span",{class:"truncate text-xs text-base-content/55"},"Iremos te redirecionar")],-1)),oe[4]||(oe[4]=e$b.createElementVNode("svg",{class:"size-3.5 shrink-0 text-base-content/30 transition-transform group-hover:translate-x-0.5 group-hover:text-base-content/60",viewBox:"0 0 20 20",fill:"currentColor"},[e$b.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.21 14.77a.75.75 0 0 1 0-1.06L11.94 8 7.21 3.29a.75.75 0 1 1 1.06-1.06l5.25 5.25a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 0 1-1.06 0Z","clip-rule":"evenodd"})],-1))],8,_hoisted_3$I)):e$b.createCommentVNode("",!0),ee.showQuickChat?(e$b.openBlock(),e$b.createElementBlock("button",{key:2,type:"button",class:e$b.normalizeClass(itemClass),onClick:oe[0]||(oe[0]=ie=>ae("quick-chat"))},[e$b.createVNode(_sfc_main$2v,{type:"webchat",size:"md"}),oe[5]||(oe[5]=e$b.createElementVNode("span",{class:"flex min-w-0 flex-1 flex-col text-left"},[e$b.createElementVNode("span",{class:"text-sm font-medium"},"Chat Rápido"),e$b.createElementVNode("span",{class:"truncate text-xs text-base-content/55"},"Converse sem sair da tela")],-1))])):e$b.createCommentVNode("",!0),e$b.renderSlot(re.$slots,"extra-actions",{itemClass})])]),default:e$b.withCtx(()=>[e$b.renderSlot(re.$slots,"default")]),_:3},8,["placement"]))}},_hoisted_1$T={height:"7",viewBox:"0 0 12 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$L=["fill"],_hoisted_3$H=["fill"],_sfc_main$X={__name:"TagRibbonIcon",props:{color:{type:String,default:""}},setup(ee){return(te,ne)=>(e$b.openBlock(),e$b.createElementBlock("svg",_hoisted_1$T,[ne[0]||(ne[0]=e$b.createElementVNode("path",{d:"M10.5742 0H10.6632C11.4007 0 11.9984 0.549906 11.9984 1.22825V2.34391C11.9984 3.02225 11.4007 3.57216 10.6632 3.57216H10.5742V0Z",fill:"#2A2D2F"},null,-1)),e$b.createElementVNode("path",{d:"M1.81211 1.44496C1.82454 1.43397 1.84111 1.42784 1.85835 1.42784H11.9957V3.21392C11.9957 4.20034 11.1264 5 10.0541 5H1.86094C1.84218 5 1.82428 4.99274 1.81163 4.97999L0.0378057 3.19203C-0.0150824 3.13873 -0.0121294 3.05635 0.0444617 3.00636L1.81211 1.44496Z",fill:ee.color},null,8,_hoisted_2$L),e$b.createElementVNode("path",{d:"M11.0336 1.4304C10.7818 1.4575 10.5714 1.4304 10.5714 1.4304H11.0336C11.4008 1.39088 11.8562 1.2361 11.876 0.71392C11.9511 0.841863 12.0179 1.06192 11.9957 1.4304H11.0336Z",fill:ee.color},null,8,_hoisted_3$H)]))}},_hoisted_1$S=["width","height"],_sfc_main$W=Object.assign({inheritAttrs:!1},{__name:"MessageStageIcon",props:{stage:{type:String,default:""},failedSize:{type:[Number,String],default:24}},setup(ee){return(te,ne)=>(e$b.openBlock(),e$b.createBlock(e$b.Transition,{name:"stage-swap",mode:"out-in"},{default:e$b.withCtx(()=>[ee.stage==="received"||ee.stage==="sent"?(e$b.openBlock(),e$b.createElementBlock("svg",e$b.mergeProps({key:"done"},te.$attrs,{class:"stage-mark",width:"15",height:"12",viewBox:"0 0 20 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),[...ne[0]||(ne[0]=[e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7368 1.08403C14.0083 1.2372 14.0817 1.54764 13.9007 1.7774L6.80982 10.7773C6.71162 10.902 6.55255 10.9828 6.37638 10.9976C6.20021 11.0123 6.0255 10.9595 5.90032 10.8536L1.17307 6.85357C0.942309 6.65831 0.942309 6.34173 1.17307 6.14647C1.40384 5.95121 1.77798 5.95121 2.00874 6.14647L6.22631 9.71519L12.9174 1.2227C13.0984 0.992939 13.4653 0.930852 13.7368 1.08403Z",fill:"currentColor"},null,-1),e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.7368 1.08403C19.0083 1.2372 19.0817 1.54764 18.9007 1.7774L11.8098 10.7773C11.7116 10.902 11.5526 10.9828 11.3764 10.9976C11.2002 11.0123 11.0255 10.9595 10.9003 10.8536L6.17307 6.85357C5.94231 6.65831 5.94231 6.34173 6.17307 6.14647C6.40384 5.95121 6.77798 5.95121 7.00874 6.14647L11.2263 9.71519L17.9174 1.2227C18.0984 0.992939 18.4653 0.930852 18.7368 1.08403Z",fill:"currentColor"},null,-1),e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7368 1.08403C14.0083 1.2372 14.0817 1.54764 13.9007 1.7774L6.80982 10.7773C6.71162 10.902 6.55255 10.9828 6.37638 10.9976C6.20021 11.0123 6.0255 10.9595 5.90032 10.8536L1.17307 6.85357C0.942309 6.65831 0.942309 6.34173 1.17307 6.14647C1.40384 5.95121 1.77798 5.95121 2.00874 6.14647L6.22631 9.71519L12.9174 1.2227C13.0984 0.992939 13.4653 0.930852 13.7368 1.08403Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.7368 1.08403C19.0083 1.2372 19.0817 1.54764 18.9007 1.7774L11.8098 10.7773C11.7116 10.902 11.5526 10.9828 11.3764 10.9976C11.2002 11.0123 11.0255 10.9595 10.9003 10.8536L6.17307 6.85357C5.94231 6.65831 5.94231 6.34173 6.17307 6.14647C6.40384 5.95121 6.77798 5.95121 7.00874 6.14647L11.2263 9.71519L17.9174 1.2227C18.0984 0.992939 18.4653 0.930852 18.7368 1.08403Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],16)):ee.stage==="processing"?(e$b.openBlock(),e$b.createElementBlock("svg",e$b.mergeProps({key:"processing"},te.$attrs,{class:"stage-mark",width:"12",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),[...ne[1]||(ne[1]=[e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7368 1.08403C14.0083 1.2372 14.0817 1.54764 13.9007 1.7774L6.80982 10.7773C6.71162 10.902 6.55255 10.9828 6.37638 10.9976C6.20021 11.0123 6.0255 10.9595 5.90032 10.8536L1.17307 6.85357C0.942309 6.65831 0.942309 6.34173 1.17307 6.14647C1.40384 5.95121 1.77798 5.95121 2.00874 6.14647L6.22631 9.71519L12.9174 1.2227C13.0984 0.992939 13.4653 0.930852 13.7368 1.08403Z",fill:"currentColor",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],16)):ee.stage==="failed"?(e$b.openBlock(),e$b.createElementBlock("svg",e$b.mergeProps({key:"failed"},te.$attrs,{class:"stage-mark stage-mark-failed","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:ee.failedSize,height:ee.failedSize,fill:"currentColor",viewBox:"0 0 24 24"}),[...ne[2]||(ne[2]=[e$b.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule":"evenodd"},null,-1)])],16,_hoisted_1$S)):e$b.createCommentVNode("",!0)]),_:1}))}}),MessageStageIcon=_export_sfc$2(_sfc_main$W,[["__scopeId","data-v-a21c2a32"]]),_sfc_main$V={props:{content:{type:String,default:""}},computed:{markdownContent(){let ee=this.content||"";return ee=(ne=>ne.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))(ee),ee=ee.replace(/(^|\s)_([^_\n]+?)_([)\].,!?;:"]|\s|$)/g,"$1<em>$2</em>$3"),ee=ee.replace(/\*([^*]+)\*/g,'<strong class="dark:font-semibold">$1</strong>'),ee=ee.replace(/~([^~]+)~/g,"<del>$1</del>"),ee=ee.replace(/```([^`]+)```/g,"<code>$1</code>"),ee=ee.replace(/(http[s]?:\/\/[^\s]+)/g,'<a href="$1" target="_blank" rel="noopener noreferrer" class="message-markdown-link">$1</a>'),ee}}},_hoisted_1$R=["innerHTML"];function _sfc_render$9(ee,te,ne,ae,re,oe){return e$b.openBlock(),e$b.createElementBlock("div",{class:"w-full message-markdown",innerHTML:oe.markdownContent},null,8,_hoisted_1$R)}const MessageMarkdown=_export_sfc$2(_sfc_main$V,[["render",_sfc_render$9],["__scopeId","data-v-290f70fc"]]),_hoisted_1$Q=["href"],_hoisted_2$K={class:"youtube-preview-image-wrap"},_hoisted_3$G=["src","alt"],_sfc_main$U={__name:"YouTubePreview",props:{content:{type:String,default:""}},setup(ee){const te=ee,ne=e$b.ref(!1),ae=e$b.computed(()=>{const re=te.content.match(/https?:\/\/[^\s<]+/gi)||[];for(const oe of re){let ie;try{ie=new URL(oe.replace(/[),.!?;:]+$/,""))}catch{continue}const se=ie.hostname.toLowerCase().replace(/^www\./,"");if(!["youtube.com","m.youtube.com","youtu.be"].includes(se))continue;let ce="";if(se==="youtu.be"?ce=ie.pathname.slice(1).split("/")[0]:ie.pathname==="/watch"?ce=ie.searchParams.get("v")||"":/^\/(shorts|embed|live)\//.test(ie.pathname)&&(ce=ie.pathname.split("/")[2]||""),/^[\w-]{11}$/.test(ce))return{id:ce,url:ie.toString(),thumbnail:`https://i.ytimg.com/vi/${ce}/hqdefault.jpg`}}return null});return(re,oe)=>ae.value?(e$b.openBlock(),e$b.createElementBlock("a",{key:0,class:"youtube-preview mb-1",href:ae.value.url,target:"_blank",rel:"noopener noreferrer",onClick:oe[1]||(oe[1]=e$b.withModifiers(()=>{},["stop"]))},[e$b.createElementVNode("div",_hoisted_2$K,[ne.value?e$b.createCommentVNode("",!0):(e$b.openBlock(),e$b.createElementBlock("img",{key:0,src:ae.value.thumbnail,alt:`Prévia do vídeo ${ae.value.id}`,class:"youtube-preview-image",loading:"lazy",onError:oe[0]||(oe[0]=ie=>ne.value=!0)},null,40,_hoisted_3$G)),oe[2]||(oe[2]=e$b.createElementVNode("span",{class:"youtube-preview-play","aria-hidden":"true"},null,-1))]),oe[3]||(oe[3]=e$b.createElementVNode("div",{class:"youtube-preview-details"},[e$b.createElementVNode("strong",null,"Vídeo do YouTube"),e$b.createElementVNode("span",null,"youtube.com")],-1))],8,_hoisted_1$Q)):e$b.createCommentVNode("",!0)}},YouTubePreview=_export_sfc$2(_sfc_main$U,[["__scopeId","data-v-2ce03dc4"]]),_sfc_main$T={},_hoisted_1$P={class:"-mb-3 flex max-w-[290px] items-center gap-3 p-1 pb-0 text-justify"};function _sfc_render$8(ee,te){return e$b.openBlock(),e$b.createElementBlock("div",_hoisted_1$P,[...te[0]||(te[0]=[e$b.createElementVNode("header",{class:"rounded-full bg-base-300 p-1.5 dark:bg-gray-200"},[e$b.createElementVNode("svg",{class:"size-6 text-primary","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[e$b.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])],-1),e$b.createElementVNode("footer",null,[e$b.createTextVNode(" Aguardando essa mensagem. Isso pode demorar um pouco. "),e$b.createElementVNode("a",{target:"_blank",rel:"noopener noreferrer",href:"https://faq.whatsapp.com/3398056720476987/?locale=pt_PT",class:"text-primary underline"},"Saiba mais.")],-1)])])}const MessageCiphertext=_export_sfc$2(_sfc_main$T,[["render",_sfc_render$8]]),_hoisted_1$O={class:"-mx-2"},_sfc_main$S={__name:"MessageListButton",props:{message:{type:Object,required:!0},from_me:Boolean},setup(ee){const te=useMessageUiStore();return(ne,ae)=>(e$b.openBlock(),e$b.createElementBlock("div",_hoisted_1$O,[e$b.createElementVNode("div",{class:"dark:sidebar header flex cursor-pointer items-center rounded-b-md p-2 px-3 text-white shadow-none dark:text-primary_alt dark:shadow-none dark:hover:bg-gray-100/80",onClick:ae[0]||(ae[0]=re=>e$b.unref(te).openList(ee.message))},[ae[1]||(ae[1]=e$b.createElementVNode("svg",{class:"mr-2 size-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[e$b.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-width":"2",d:"M5 7h14M5 12h14M5 17h10"})],-1)),e$b.createTextVNode(" "+e$b.toDisplayString(ee.message.buttonText),1)])]))}},_hoisted_1$N={key:0,class:"flex flex-col"},_hoisted_2$J={key:0},_hoisted_3$F=["innerHTML"],_hoisted_4$D=["href","title"],_hoisted_5$z={key:3,class:"w-full"},_sfc_main$R={__name:"MessageTemplateButtons",props:{items:{type:Array,required:!0},rowClass:{type:String,default:""},roundedClassLast:{type:String,default:"rounded-b-md"},iconMode:{type:String,default:"emoji"}},setup(ee){const te=ee,ne={REQUEST_CONTACT_INFO:"Compartilhar número"},ae=e$b.computed(()=>(te.items||[]).map(oe=>({type:(oe==null?void 0:oe.type)||"QUICK_REPLY",text:(oe==null?void 0:oe.text)||ne[oe==null?void 0:oe.type]||"",phone:(oe==null?void 0:oe.phone_number)??(oe==null?void 0:oe.phone)??null,url:(oe==null?void 0:oe.url)??null})));function re({type:oe}){return te.iconMode==="emoji"?oe==="PHONE_NUMBER"?"📞":oe==="URL"?"🔗":"⚡":oe==="PHONE_NUMBER"?`
|
|
245
|
+
}`},p:{a:0,k:[250,250,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ip:30,op:150,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"02",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.5,-84],[.5,83]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.156862745098,.156862745098,.156862745098,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:30,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:45,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[1],y:[0]},t:69,s:[0]},{t:89,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:36,s:[0]},{t:56,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:36,op:156,st:6,ct:1,bm:0},{ddd:0,ind:3,ty:4,nm:"01",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.5,-84],[.5,83]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.156862745098,.156862745098,.156862745098,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:30,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:-45,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[1],y:[0]},t:65,s:[0]},{t:85,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},t:30,s:[0]},{t:50,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:30,op:150,st:0,ct:1,bm:0},{ddd:0,ind:4,ty:4,nm:"Loading",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[0],y:[.86]},o:{x:[.333],y:[.049]},t:0,s:[0]},{i:{x:[1],y:[1]},o:{x:[.001],y:[.001]},t:30,s:[344]},{t:40,s:[360]}],ix:10},p:{a:0,k:[250,250,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[300,300],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.155555395987,.155555395987,.155555395987,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.333],y:[0]},t:30,s:[50]},{t:40,s:[0]}],ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.392],y:[.84]},o:{x:[.615],y:[0]},t:0,s:[99.9]},{i:{x:[.057],y:[.422]},o:{x:[.031],y:[-.011]},t:9,s:[74.7]},{i:{x:[.6],y:[1]},o:{x:[.291],y:[.642]},t:14,s:[85]},{t:40,s:[99.9]}],ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:150,st:0,ct:1,bm:0},{ddd:0,ind:5,ty:4,nm:"Loading-Back",sr:1,ks:{o:{a:0,k:10,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[250,250,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[300,300],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.156862745098,.156862745098,.156862745098,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.333],y:[0]},t:30,s:[50]},{t:40,s:[0]}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:150,st:0,ct:1,bm:0}],markers=[],props={},error_animate={v:v$2,fr,ip,op,w:w$2,h:h$2,nm,ddd,assets,layers,markers,props},_hoisted_1$V={key:0},_hoisted_2$N={class:"waf-modal"},_hoisted_3$J={key:0,class:"waf-loading"},_hoisted_4$E={key:1,class:"text-sm text-red-500 text-center"},_sfc_main$_={__name:"WafCaptchaModal",props:{modelValue:{type:Boolean,default:!1},renderCaptcha:{type:Function,required:!0},isBlocked:{type:Boolean,default:!1},anchorEl:{type:Object,default:null}},emits:["update:modelValue","solved","error"],setup(ee,{emit:te}){const ne=ee,ae=te,re=e$b.computed(()=>{var pe;return((pe=getActiveProvider())==null?void 0:pe.name)==="google-recaptcha"}),oe=`waf-captcha-${Math.random().toString(36).slice(2,9)}`,ie=e$b.ref(null),se=e$b.ref(!0),ce=e$b.ref(!1),de=e$b.ref({});let ue=null;const ge=()=>{ne.isBlocked&&ae("update:modelValue",!1)};function he(){var Ee,Me;if(!ne.anchorEl)return;const pe=ne.anchorEl instanceof HTMLElement?ne.anchorEl:((Ee=ne.anchorEl)==null?void 0:Ee.$el)??((Me=ne.anchorEl)==null?void 0:Me.value);if(!pe||!pe.getBoundingClientRect)return;const ye=pe.getBoundingClientRect(),be=200;let ke=ye.left+ye.width/2-be/2;ke=Math.max(8,Math.min(ke,window.innerWidth-be-8));const $e=ye.top,_e=window.innerHeight-ye.bottom;$e>_e?de.value={position:"fixed",left:`${ke}px`,bottom:`${window.innerHeight-ye.top+8}px`,width:`${be}px`}:de.value={position:"fixed",left:`${ke}px`,top:`${ye.bottom+8}px`,width:`${be}px`}}async function ve(){se.value=!0,ce.value=!1,await e$b.nextTick();const pe=document.getElementById(oe);pe&&(pe.innerHTML="");try{await ne.renderCaptcha(oe),se.value=!1,ae("solved")}catch(ye){se.value=!1,ce.value=!0,ae("error",ye)}}function me(){ue&&ue.disconnect();const pe=document.getElementById(oe);pe&&(ue=new MutationObserver(()=>{pe.children.length>0&&se.value&&(se.value=!1)}),ue.observe(pe,{childList:!0,subtree:!0}))}return e$b.watch(()=>ne.modelValue,async pe=>{pe?(he(),await e$b.nextTick(),me(),await ve()):(se.value=!0,ce.value=!1,ue&&ue.disconnect())}),e$b.onBeforeUnmount(()=>{ue&&ue.disconnect()}),(pe,ye)=>{const be=e$b.resolveComponent("Vue3Lottie");return re.value&&ee.modelValue?(e$b.openBlock(),e$b.createElementBlock("div",_hoisted_1$V,[e$b.createElementVNode("div",{ref_key:"captchaContainerRef",ref:ie,id:oe,class:e$b.normalizeClass(["waf-captcha-body",{"waf-hidden":se.value}])},null,2)])):(e$b.openBlock(),e$b.createBlock(e$b.Teleport,{key:1,to:"body"},[e$b.createVNode(e$b.Transition,{name:"waf-fade"},{default:e$b.withCtx(()=>[ee.modelValue?(e$b.openBlock(),e$b.createElementBlock("div",{key:0,onClick:ge,class:"waf-overlay"},[e$b.createElementVNode("div",_hoisted_2$N,[se.value&&!ee.isBlocked?(e$b.openBlock(),e$b.createElementBlock("div",_hoisted_3$J,[...ye[0]||(ye[0]=[e$b.createElementVNode("svg",{class:"waf-spinner",viewBox:"0 0 24 24",fill:"none"},[e$b.createElementVNode("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"31.4 31.4"})],-1),e$b.createElementVNode("span",{class:"waf-loading-text"},"Carregando verificação…",-1)])])):e$b.createCommentVNode("",!0),ye[2]||(ye[2]=e$b.createElementVNode("span",{class:"flex flex-col items-center py-3 text-black"},[e$b.createElementVNode("p",{class:"text-lg font-semibold"}," Muitas tentativas de login simultâneas "),e$b.createElementVNode("p",{class:"text-sm"}," Por favor, complete a verificação para continuar ")],-1)),ee.isBlocked?(e$b.openBlock(),e$b.createElementBlock("p",_hoisted_4$E,[e$b.createVNode(be,{"animation-data":e$b.unref(error_animate),height:180,width:180,"auto-play":!0,loop:!0},null,8,["animation-data"]),ye[1]||(ye[1]=e$b.createTextVNode(" Sua conta está temporariamente bloqueada devido a muitas tentativas de login. ",-1))])):(e$b.openBlock(),e$b.createElementBlock("div",{key:2,ref_key:"captchaContainerRef",ref:ie,id:oe,class:e$b.normalizeClass(["waf-captcha-body",{"waf-hidden":se.value}])},null,2))])])):e$b.createCommentVNode("",!0)]),_:1})]))}}},WafCaptchaModal=_export_sfc$2(_sfc_main$_,[["__scopeId","data-v-ec6a0c2b"]]);var{min:a$1,max:u$2,abs:f$2,floor:d$1}=Math,p$1=(ee,te,ne)=>a$1(ne,u$2(te,ee)),m$1=ee=>[...ee].sort((te,ne)=>te-ne),h$1=typeof queueMicrotask=="function"?queueMicrotask:ee=>{Promise.resolve().then(ee)},_=()=>{let ee;return[new Promise(te=>{ee=te}),ee]},b$1=ee=>{let te;return()=>(ee&&(te=ee(),ee=void 0),te)},g$1=(ee,te,ne)=>{const ae=ne?"unshift":"push";for(let re=0;re<te;re++)ee[ae](-1);return ee},v$1=(ee,te)=>{const ne=ee.t[te];return ne===-1?ee.o:ne},y$1=(ee,te,ne)=>{const ae=ee.t[te]===-1;return ee.t[te]=ne,ee.i=a$1(te,ee.i),ae},S$1=(ee,te)=>{if(!ee.l)return 0;if(ee.i>=te)return ee.u[te];ee.i<0&&(ee.u[0]=0,ee.i=0);let ne=ee.i,ae=ee.u[ne];for(;ne<te;)ae+=v$1(ee,ne),ee.u[++ne]=ae;return ee.i=te,ae},z=(ee,te,ne=0,ae=ee.l-1)=>{let re=ne;for(;ne<=ae;){const oe=d$1((ne+ae)/2);S$1(ee,oe)<=te?(re=oe,ne=oe+1):ae=oe-1}return p$1(re,0,ee.l-1)},x$1=(ee,te,ne)=>{const ae=te-ee.l;return ee.i=ne?-1:a$1(te-1,ee.i),ee.l=te,ae>0?(g$1(ee.u,ae),g$1(ee.t,ae,ne),ee.o*ae):(ee.u.splice(ae),(ne?ee.t.splice(0,-ae):ee.t.splice(ae)).reduce((re,oe)=>re-(oe===-1?ee.o:oe),0))},$=ee=>ee.documentElement,w$1=ee=>ee.ownerDocument,I=ee=>ee.defaultView,O$1=b$1(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>0),k$1=b$1(()=>"scrollBehavior"in $(document).style),j$1=(ee,te=40,ne=0,ae,re=!1)=>{let oe=!!ne,ie=1,se=0,ce=0,de=0,ue=0,ge=0,he=0,ve=0,me=0,pe=null,ye=[0,oe?u$2(ne-1,0):-1],be=0,ke=!1;const $e=((Pe,Se,Le)=>({o:Se,t:Le?g$1(Le.slice(0,a$1(Pe,Le.length)),u$2(0,Pe-Le.length)):g$1([],Pe),l:Pe,i:-1,u:g$1([],Pe+1)}))(ee,ae?ae[1]:te,ae&&ae[0]),_e=new Set,Ee=()=>de-ce,Me=()=>Ee()+ge+ue,De=(Pe,Se)=>((Le,Ne,Ae,xe)=>{if(xe=a$1(xe,Le.l-1),S$1(Le,xe)<=Ne){const Ce=z(Le,Ae,xe);return[z(Le,Ne,xe,Ce),Ce]}{const Ce=z(Le,Ne,void 0,xe);return[Ce,z(Le,Ae,Ce)]}})($e,Pe,Se,ye[0]),Be=()=>S$1($e,$e.l),Ve=(Pe,Se)=>{const Le=S$1($e,Pe)-ge;return Se?Be()-Le-ze(Pe):Le},ze=Pe=>v$1($e,Pe),Fe=(Pe,Se=-1)=>$e.t[Pe]===Se,Re=Pe=>{Pe&&(O$1()&&ve!==0||pe&&me===1?ge+=Pe:ue+=Pe)};return{p:()=>{_e.clear()},m:()=>ie,h:()=>(Pe=>[Pe.t.slice(),Pe.o])($e),v:(Pe=200)=>{if(!ke||oe)return ye;let Se,Le;if(he)[Se,Le]=ye;else{let Ne=u$2(0,Me()),Ae=Ne+se;re||(Pe=u$2(0,Pe),ve!==1&&(Ne-=Pe),ve!==2&&(Ae+=Pe)),[Se,Le]=ye=De(u$2(0,Ne),u$2(0,Ae)),pe&&(Se=a$1(Se,pe[0]),Le=u$2(Le,pe[1]))}return[u$2(Se,0),a$1(Le,$e.l-1)]},S:Pe=>z($e,Pe-ce),I:Fe,O:Ve,k:ze,j:()=>$e.l,N:()=>de,B:()=>ve!==0,T:()=>se,q:()=>ce,M:Be,P:()=>(he=ue,ue=0,[he,me===2]),R:(Pe,Se)=>{const Le=[Pe,Se];return _e.add(Le),()=>{_e.delete(Le)}},A:(Pe,Se)=>{let Le,Ne,Ae=0;switch(Pe){case 1:{if(Se===de&&me===0)break;const xe=he;he=0;const Ce=Se-de,Ie=f$2(Ce);xe&&Ie<f$2(xe)+1||me!==0||(ve=Ce<0?2:1),oe&&(oe=!1),de=Se,Ae=4;const Oe=Ee();Oe>=-se&&Oe<=Be()&&(Ae+=1,Ne=Ie>se);break}case 2:Ae=8,ve!==0&&(Le=!0,Ae+=1),ve=0,me=0,pe=null;break;case 3:{const xe=Se.filter(([Ce,Ie])=>!Fe(Ce,Ie));if(!xe.length)break;Re(xe.reduce((Ce,[Ie,Oe])=>{let Ue;if(me===2)Ue=!0;else if(pe&&me===1)Ue=Ie<pe[0];else{const Ge=Ee(),He=Ve(Ie),Ze=ze(Ie);Ue=ve!==1&&me===0?He+Ze<=Ge:He<Ge&&He+Ze<Ge+se}return Ue&&(Ce+=Oe-ze(Ie)),Ce},0));for(const[Ce,Ie]of xe){const Oe=ze(Ce),Ue=y$1($e,Ce,Ie);re&&(be+=Ue?Ie:Ie-Oe)}re&&se&&be>se&&(Re(((Ce,Ie)=>{let Oe=0;const Ue=[];Ce.t.forEach((tt,Mt)=>{tt!==-1&&(Ue.push(tt),Mt<Ie&&Oe++)}),Ce.i=-1;const Ge=m$1(Ue),He=Ge.length,Ze=He/2|0,qe=He%2==0?(Ge[Ze-1]+Ge[Ze])/2:Ge[Ze],Xe=Ce.o;return((Ce.o=qe)-Xe)*u$2(Ie-Oe,0)})($e,z($e,Me()))),re=!1),Ae=3,Ne=!0;break}case 4:se!==Se&&(se||(ke=Ne=!0),se=Se,Ae=3);break;case 5:Se[1]?(Re(x$1($e,Se[0],!0)),me=2,Ae=1):(x$1($e,Se[0]),Ae=1);break;case 6:ce=Se;break;case 7:me=1;break;case 8:pe=De(Se,Se+se),Ae=1}Ae&&(ie=1+(2147483647&ie),Le&&ge&&(ue+=ge,ge=0),_e.forEach(([xe,Ce])=>{Ae&xe&&Ce(Ne)}))}}},N$1=setTimeout,B=(ee,te)=>te?-ee:ee,T=(ee,te,ne,ae,re,oe)=>{const ie=Date.now;let se=0,ce=!1,de=!1,ue=!1,ge=!1;const he=(()=>{let be;const ke=()=>{be!=null&&clearTimeout(be)},$e=()=>{ke(),be=N$1(()=>{be=null,(()=>{if(ce||de)return ce=!1,void he();ue=!1,ee.A(2)})()},150)};return $e.C=ke,$e})(),ve=()=>{se=ie(),ue&&(ge=!0),ee.A(1,ae()),he()},me=be=>{if(ce||!ee.B()||be.ctrlKey)return;const ke=ie()-se;150>ke&&50<ke&&(ne?be.deltaX:be.deltaY)&&(ce=!0)},pe=()=>{de=!0,ue=ge=!1},ye=()=>{de=!1,O$1()&&(ue=!0)};return te.addEventListener("scroll",ve),te.addEventListener("wheel",me,{passive:!0}),te.addEventListener("touchstart",pe,{passive:!0}),te.addEventListener("touchend",ye,{passive:!0}),{H:()=>{te.removeEventListener("scroll",ve),te.removeEventListener("wheel",me),te.removeEventListener("touchstart",pe),te.removeEventListener("touchend",ye),he.C()},V:()=>{const[be,ke]=ee.P();be&&(re(be,ke,ge),ge=!1,ke&&ee.T()>ee.M()&&ee.A(1,ae()))}}},q=(ee,te,ne)=>{let ae;return[async(re,oe)=>{if(!await te())return;ae&&ae();const ie=()=>{const[se,ce]=_();return ae=()=>{ce(!1)},ee.T()&&N$1(ae,150),[se,ee.R(2,()=>{ce(!0)})]};if(oe&&k$1())ee.A(8,re()),h$1(async()=>{for(;;){let se=!0;for(let[ue,ge]=ee.v();ue<=ge;ue++)if(ee.I(ue)){se=!1;break}if(se)break;const[ce,de]=ie();try{if(!await ce)return}finally{de()}}ee.A(7),ne(re(),oe)});else for(;;){const[se,ce]=ie();try{if(ee.A(7),ne(re()),!await se)return}finally{ce()}}},()=>{ae&&ae()}]},M=ee=>{let te;return{F(ne){(te||(te=new(I(w$1(ne))).ResizeObserver(ee))).observe(ne)},J(ne){te.unobserve(ne)},H(){te&&te.disconnect()}}},E=e$b.defineComponent({props:{L:{type:Object,required:!0},W:{type:Object,required:!0},X:{type:Object,required:!0},Y:{type:Function,required:!0},D:{type:Number,required:!0},U:{type:Boolean},G:{type:Boolean},K:{type:Boolean},Z:{type:String,required:!0},ee:Object},setup(ee){const te=e$b.ref(),ne=e$b.computed(()=>ee.L.value&&ee.W.O(ee.D,ee.K)),ae=e$b.computed(()=>ee.L.value&&ee.W.I(ee.D));return e$b.watch(()=>te.value&&ee.D,(re,oe,ie)=>{ie(ee.Y(te.value,ee.D))},{flush:"post"}),()=>{const{X:re,U:oe,G:ie,Z:se}=ee,ce=ae.value,{style:de,...ue}=ee.ee??{},ge={contain:"layout style",position:ce&&ie?void 0:"absolute",[oe?"height":"width"]:"100%",[oe?"top":"left"]:"0px",[oe?"left":"top"]:ne.value+"px",visibility:!ce||ie?void 0:"hidden",...de};return oe&&(ge.display="inline-flex"),e$b.createVNode(se,e$b.mergeProps({ref:te,style:ge},ue),typeof(he=re)=="function"||Object.prototype.toString.call(he)==="[object Object]"&&!e$b.isVNode(he)?re:{default:()=>[re],_:2},16,["style"]);var he}}}),P$1=(ee,te)=>{if(ee.length===1){const ne=ee[0].key;if(ne!=null)return ne}return"_"+te},R=(ee,te)=>ee[0]===te[0]&&ee[1]===te[1],A=e$b.defineComponent({props:{data:{type:Array,required:!0},bufferSize:Number,itemSize:Number,shift:Boolean,horizontal:Boolean,startMargin:{type:Number,default:0},ssrCount:Number,scrollRef:Object,as:{type:String,default:"div"},item:{type:String,default:"div"},itemProps:Function,keepMounted:Array,cache:Object},emits:["scroll","scrollEnd"],setup(ee,{emit:te,expose:ne,slots:ae}){let re=!!ee.ssrCount;const oe=ee.horizontal,ie=e$b.ref(),se=j$1(ee.data.length,ee.itemSize,ee.ssrCount,ee.cache,!ee.itemSize),ce=((me,pe)=>{let ye;const be=pe?"width":"height",ke=new WeakMap,$e=M(_e=>{const Ee=[];for(const{target:Me,contentRect:De}of _e)if(Me.offsetParent)if(Me===ye)me.A(4,De[be]);else{const Be=ke.get(Me);Be!=null&&Ee.push([Be,De[be]])}Ee.length&&me.A(3,Ee)});return{te(_e){$e.F(ye=_e)},re:(_e,Ee)=>(ke.set(_e,Ee),$e.F(_e),()=>{ke.delete(_e),$e.J(_e)}),p:$e.H}})(se,oe),de=((me,pe)=>{let ye,be,ke=_(),$e=!1;const _e=pe?"scrollLeft":"scrollTop",Ee=pe?"overflowX":"overflowY",[Me,De]=q(me,()=>ke[0],(Be,Ve)=>{Be=B(Be,$e),Ve?ye.scrollTo({[pe?"left":"top"]:Be,behavior:"smooth"}):ye[_e]=Be});return{oe(Be,Ve){ye=Ve,pe&&($e=getComputedStyle(Ve).direction==="rtl"),be=T(me,Ve,pe,()=>B(Ve[_e],$e),(ze,Fe,Re)=>{if(Re){const Pe=Ve.style,Se=Pe[Ee];Pe[Ee]="hidden",N$1(()=>{Pe[Ee]=Se})}Ve[_e]=B(me.N()+ze,$e),Fe&&De()}),ke[1](!0)},p(){be&&be.H(),ke[1](!1),ke=_()},ne:()=>$e,se(Be){Me(()=>Be)},ie(Be){Be+=me.N(),Me(()=>Be)},le(Be,{align:Ve,smooth:ze,offset:Fe=0}={}){if(Be=p$1(Be,0,me.j()-1),Ve==="nearest"){const Re=me.O(Be),Pe=me.N();if(Re<Pe)Ve="start";else{if(!(Re+me.k(Be)>Pe+me.T()))return;Ve="end"}}Me(()=>Fe+me.q()+me.O(Be)+(Ve==="end"?me.k(Be)-me.T():Ve==="center"?(me.k(Be)-me.T())/2:0),ze)},ce:()=>{be&&be.V()}}})(se,oe),ue=e$b.ref(se.m());se.R(1,()=>{ue.value=se.m()}),se.R(4,()=>{te("scroll",se.N())}),se.R(8,()=>{te("scrollEnd")});const ge=e$b.computed(me=>{ue.value;const pe=se.v(ee.bufferSize);return me&&R(me,pe)?me:pe}),he=e$b.computed(()=>ue.value&&se.B()),ve=e$b.computed(()=>ue.value&&se.M());return e$b.onMounted(()=>{re=!1;const me=ie.value,pe=requestAnimationFrame(()=>{const ye=be=>{ce.te(be),de.oe(me,be)};ee.scrollRef?ye(ee.scrollRef):ye(me.parentElement)});e$b.onUnmounted(()=>{cancelAnimationFrame(pe)})}),e$b.onUnmounted(()=>{se.p(),ce.p(),de.p()}),e$b.watch(()=>ee.data.length,me=>{se.A(5,[me,ee.shift])}),e$b.watch(()=>ee.startMargin,me=>{se.A(6,me)},{immediate:!0}),e$b.watch([ue],()=>{de.ce()},{flush:"post"}),ne({get cache(){return se.h()},get scrollOffset(){return se.N()},get scrollSize(){return(me=>u$2(me.M(),me.T()))(se)},get viewportSize(){return se.T()},findItemIndex:se.S,getItemOffset:se.O,getItemSize:se.k,scrollToIndex:de.le,scrollTo:de.se,scrollBy:de.ie}),()=>{const me=ee.as,pe=ee.item,ye=ve.value,be=de.ne(),ke=[],$e=Ee=>{var De;const Me=ae.default({item:ee.data[Ee],index:Ee});return e$b.createVNode(E,{key:P$1(Me,Ee),L:ue,W:se,Y:ce.re,D:Ee,X:Me,U:oe,K:be,G:re,Z:pe,ee:(De=ee.itemProps)==null?void 0:De.call(ee,{item:ee.data[Ee],index:Ee})},null,8,["L","W","Y","D","X","U","K","G","Z","ee"])};if(ee.keepMounted){const Ee=new Set(ee.keepMounted);for(let[Me,De]=ge.value;Me<=De;Me++)Ee.add(Me);m$1([...Ee]).forEach(Me=>{ke.push($e(Me))})}else for(let[Ee,Me]=ge.value;Ee<=Me;Ee++)ke.push($e(Ee));return e$b.createVNode(me,{ref:ie,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:oe?ye+"px":"100%",height:oe?"100%":ye+"px",pointerEvents:he.value?"none":void 0}},typeof(_e=ke)=="function"||Object.prototype.toString.call(_e)==="[object Object]"&&!e$b.isVNode(_e)?ke:{default:()=>[ke],_:2},8,["style"]);var _e}}}),C$1=e$b.defineComponent({props:{data:{type:Array,required:!0},bufferSize:Number,itemSize:Number,shift:Boolean,horizontal:Boolean,ssrCount:Number,itemProps:Function,keepMounted:Array,cache:Object},emits:["scroll","scrollEnd"],setup(ee,{emit:te,expose:ne,slots:ae}){const re=ee.horizontal,oe=ce=>{te("scroll",ce)},ie=()=>{te("scrollEnd")},se=e$b.ref();return ne({get cache(){return se.value.cache},get scrollOffset(){return se.value.scrollOffset},get scrollSize(){return se.value.scrollSize},get viewportSize(){return se.value.viewportSize},findItemIndex:(...ce)=>se.value.findItemIndex(...ce),getItemOffset:(...ce)=>se.value.getItemOffset(...ce),getItemSize:(...ce)=>se.value.getItemSize(...ce),scrollToIndex:(...ce)=>se.value.scrollToIndex(...ce),scrollTo:(...ce)=>se.value.scrollTo(...ce),scrollBy:(...ce)=>se.value.scrollBy(...ce)}),()=>{return e$b.createVNode("div",{style:{display:re?"inline-block":"block",[re?"overflowX":"overflowY"]:"auto",contain:"strict",width:"100%",height:"100%"}},[e$b.createVNode(A,{ref:se,data:ee.data,bufferSize:ee.bufferSize,itemSize:ee.itemSize,itemProps:ee.itemProps,shift:ee.shift,ssrCount:ee.ssrCount,horizontal:re,keepMounted:ee.keepMounted,cache:ee.cache,onScroll:oe,onScrollEnd:ie},(ce=ae,typeof ce=="function"||Object.prototype.toString.call(ce)==="[object Object]"&&!e$b.isVNode(ce)?ae:{default:()=>[ae],_:2}),8,["data","bufferSize","itemSize","itemProps","shift","ssrCount","horizontal","keepMounted","cache","onScroll","onScrollEnd"])],4);var ce}}});const _sfc_main$Z={__name:"VirtualList",props:{items:{type:Array,default:()=>[]},itemKey:{type:[String,Function],default:"id"},itemSize:{type:Number,default:void 0},bufferSize:{type:Number,default:200},shift:{type:Boolean,default:!1},endThreshold:{type:Number,default:400},animatePromote:{type:Boolean,default:!1},promoteDuration:{type:Number,default:320}},emits:["reach-end"],setup(ee,{expose:te,emit:ne}){const ae=ee,re=ne,oe=e$b.ref(null);function ie(ye,be){if(typeof ae.itemKey=="function")return ae.itemKey(ye,be);const ke=ye==null?void 0:ye[ae.itemKey];return ke??be}const se=e$b.computed(()=>ae.items.map((ye,be)=>ie(ye,be))),ce=typeof window<"u"&&window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null,de=e$b.ref(new Set),ue=new Map,ge=e$b.computed(()=>({"--vl-promote-duration":`${ae.promoteDuration}ms`}));function he(ye){de.value.add(ye),ue.has(ye)&&clearTimeout(ue.get(ye)),ue.set(ye,setTimeout(()=>{de.value.delete(ye),ue.delete(ye)},ae.promoteDuration))}e$b.watch(se,(ye,be)=>{if(!ae.animatePromote||ce!=null&&ce.matches)return;const ke=new Set(ye),$e=[];let _e=0;be.forEach(De=>{$e.push(_e),ke.has(De)||(_e+=1)});const Ee=be.length-_e,Me=new Map;be.forEach((De,Be)=>Me.set(De,Be)),ye.forEach((De,Be)=>{const Ve=Me.get(De);if(Ve===void 0){Be<Ee&&he(De);return}Be<Ve-$e[Ve]&&he(De)})});let ve=!1;function me(){const ye=oe.value;if(!ye)return;const ke=ye.scrollSize-ye.viewportSize-ye.scrollOffset<=ae.endThreshold;ke&&!ve&&re("reach-end"),ve=ke}function pe(){me()}return e$b.onMounted(async()=>{await e$b.nextTick(),me()}),e$b.watch(()=>ae.items.length,async()=>{await e$b.nextTick(),ve=!1,me()}),e$b.onUnmounted(()=>{ue.forEach(ye=>clearTimeout(ye)),ue.clear()}),te({scrollToIndex:(...ye)=>{var be;return(be=oe.value)==null?void 0:be.scrollToIndex(...ye)},scrollTo:(...ye)=>{var be;return(be=oe.value)==null?void 0:be.scrollTo(...ye)}}),(ye,be)=>(e$b.openBlock(),e$b.createBlock(e$b.unref(C$1),{ref_key:"listRef",ref:oe,data:ee.items,"item-size":ee.itemSize,"buffer-size":ee.bufferSize,shift:ee.shift,onScroll:pe},{default:e$b.withCtx(({item:ke,index:$e})=>[(e$b.openBlock(),e$b.createElementBlock("div",{key:se.value[$e],class:e$b.normalizeClass({"vl-row-promoted":de.value.has(se.value[$e])}),style:e$b.normalizeStyle(ge.value)},[e$b.renderSlot(ye.$slots,"default",{item:ke,index:$e,promoted:de.value.has(se.value[$e])},void 0,!0)],6))]),_:3},8,["data","item-size","buffer-size","shift"]))}},VirtualList=_export_sfc$2(_sfc_main$Z,[["__scopeId","data-v-f5e32e4f"]]);function sameList(ee,te){if(ee===te)return!0;if(!ee||!te||ee.length!==te.length)return!1;for(let ne=0;ne<ee.length;ne++)if(ee[ne]!==te[ne])return!1;return!0}function stableList(ee){let te=null;return e$b.computed(()=>{const ne=ee();return te&&sameList(te,ne)?te:(te=ne,ne)})}const _hoisted_1$U={class:"flex w-60 flex-col gap-0.5 p-1"},_hoisted_2$M=["href"],_hoisted_3$I=["href"],itemClass="group flex items-center gap-2.5 rounded-xl px-2.5 py-2 text-inherit no-underline border-0 bg-transparent cursor-pointer transition-colors hover:bg-base-100 active:bg-primary/15",_sfc_main$Y={__name:"SupportMenu",props:{whatsappUrl:{type:String,default:""},telegramUrl:{type:String,default:""},showQuickChat:{type:Boolean,default:!1},placement:{type:String,default:"right"}},emits:["quick-chat"],setup(ee,{emit:te}){const ne=ee,ae=te;return e$b.computed(()=>!!(ne.whatsappUrl||ne.telegramUrl)),(re,oe)=>(e$b.openBlock(),e$b.createBlock(e$b.unref(entry_esm),{placement:ee.placement,arrow:!0},{content:e$b.withCtx(()=>[e$b.createElementVNode("div",_hoisted_1$U,[oe[6]||(oe[6]=e$b.createElementVNode("p",{class:"px-2.5 pb-1 pt-0.5 text-[11px] font-semibold uppercase tracking-wide text-base-content/45"}," Fale com o suporte ",-1)),ee.whatsappUrl?(e$b.openBlock(),e$b.createElementBlock("a",{key:0,href:ee.whatsappUrl,target:"_blank",rel:"noopener noreferrer",class:e$b.normalizeClass(itemClass)},[e$b.createVNode(_sfc_main$2v,{type:"whatsapp-qrcode",size:"md"}),oe[1]||(oe[1]=e$b.createElementVNode("span",{class:"flex min-w-0 flex-1 flex-col"},[e$b.createElementVNode("span",{class:"text-sm font-medium"},"WhatsApp"),e$b.createElementVNode("span",{class:"truncate text-xs text-base-content/55"},"Iremos te redirecionar")],-1)),oe[2]||(oe[2]=e$b.createElementVNode("svg",{class:"size-3.5 shrink-0 text-base-content/30 transition-transform group-hover:translate-x-0.5 group-hover:text-base-content/60","aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e$b.createElementVNode("path",{d:"M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778"})],-1))],8,_hoisted_2$M)):e$b.createCommentVNode("",!0),ee.telegramUrl?(e$b.openBlock(),e$b.createElementBlock("a",{key:1,href:ee.telegramUrl,target:"_blank",rel:"noopener noreferrer",class:e$b.normalizeClass(itemClass)},[e$b.createVNode(_sfc_main$2v,{type:"telegram",size:"md"}),oe[3]||(oe[3]=e$b.createElementVNode("span",{class:"flex min-w-0 flex-1 flex-col"},[e$b.createElementVNode("span",{class:"text-sm font-medium"},"Telegram"),e$b.createElementVNode("span",{class:"truncate text-xs text-base-content/55"},"Iremos te redirecionar")],-1)),oe[4]||(oe[4]=e$b.createElementVNode("svg",{class:"size-3.5 shrink-0 text-base-content/30 transition-transform group-hover:translate-x-0.5 group-hover:text-base-content/60","aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e$b.createElementVNode("path",{d:"M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778"})],-1))],8,_hoisted_3$I)):e$b.createCommentVNode("",!0),ee.showQuickChat?(e$b.openBlock(),e$b.createElementBlock("button",{key:2,type:"button",class:e$b.normalizeClass(itemClass),onClick:oe[0]||(oe[0]=ie=>ae("quick-chat"))},[e$b.createVNode(_sfc_main$2v,{type:"webchat",size:"md"}),oe[5]||(oe[5]=e$b.createElementVNode("span",{class:"flex min-w-0 flex-1 flex-col text-left"},[e$b.createElementVNode("span",{class:"text-sm font-medium"},"Chat Rápido"),e$b.createElementVNode("span",{class:"truncate text-xs text-base-content/55"},"Converse sem sair da tela")],-1))])):e$b.createCommentVNode("",!0),e$b.renderSlot(re.$slots,"extra-actions",{itemClass})])]),default:e$b.withCtx(()=>[e$b.renderSlot(re.$slots,"default")]),_:3},8,["placement"]))}},_hoisted_1$T={height:"7",viewBox:"0 0 12 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$L=["fill"],_hoisted_3$H=["fill"],_sfc_main$X={__name:"TagRibbonIcon",props:{color:{type:String,default:""}},setup(ee){return(te,ne)=>(e$b.openBlock(),e$b.createElementBlock("svg",_hoisted_1$T,[ne[0]||(ne[0]=e$b.createElementVNode("path",{d:"M10.5742 0H10.6632C11.4007 0 11.9984 0.549906 11.9984 1.22825V2.34391C11.9984 3.02225 11.4007 3.57216 10.6632 3.57216H10.5742V0Z",fill:"#2A2D2F"},null,-1)),e$b.createElementVNode("path",{d:"M1.81211 1.44496C1.82454 1.43397 1.84111 1.42784 1.85835 1.42784H11.9957V3.21392C11.9957 4.20034 11.1264 5 10.0541 5H1.86094C1.84218 5 1.82428 4.99274 1.81163 4.97999L0.0378057 3.19203C-0.0150824 3.13873 -0.0121294 3.05635 0.0444617 3.00636L1.81211 1.44496Z",fill:ee.color},null,8,_hoisted_2$L),e$b.createElementVNode("path",{d:"M11.0336 1.4304C10.7818 1.4575 10.5714 1.4304 10.5714 1.4304H11.0336C11.4008 1.39088 11.8562 1.2361 11.876 0.71392C11.9511 0.841863 12.0179 1.06192 11.9957 1.4304H11.0336Z",fill:ee.color},null,8,_hoisted_3$H)]))}},_hoisted_1$S=["width","height"],_sfc_main$W=Object.assign({inheritAttrs:!1},{__name:"MessageStageIcon",props:{stage:{type:String,default:""},failedSize:{type:[Number,String],default:24}},setup(ee){return(te,ne)=>(e$b.openBlock(),e$b.createBlock(e$b.Transition,{name:"stage-swap",mode:"out-in"},{default:e$b.withCtx(()=>[ee.stage==="received"||ee.stage==="sent"?(e$b.openBlock(),e$b.createElementBlock("svg",e$b.mergeProps({key:"done"},te.$attrs,{class:"stage-mark",width:"15",height:"12",viewBox:"0 0 20 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),[...ne[0]||(ne[0]=[e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7368 1.08403C14.0083 1.2372 14.0817 1.54764 13.9007 1.7774L6.80982 10.7773C6.71162 10.902 6.55255 10.9828 6.37638 10.9976C6.20021 11.0123 6.0255 10.9595 5.90032 10.8536L1.17307 6.85357C0.942309 6.65831 0.942309 6.34173 1.17307 6.14647C1.40384 5.95121 1.77798 5.95121 2.00874 6.14647L6.22631 9.71519L12.9174 1.2227C13.0984 0.992939 13.4653 0.930852 13.7368 1.08403Z",fill:"currentColor"},null,-1),e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.7368 1.08403C19.0083 1.2372 19.0817 1.54764 18.9007 1.7774L11.8098 10.7773C11.7116 10.902 11.5526 10.9828 11.3764 10.9976C11.2002 11.0123 11.0255 10.9595 10.9003 10.8536L6.17307 6.85357C5.94231 6.65831 5.94231 6.34173 6.17307 6.14647C6.40384 5.95121 6.77798 5.95121 7.00874 6.14647L11.2263 9.71519L17.9174 1.2227C18.0984 0.992939 18.4653 0.930852 18.7368 1.08403Z",fill:"currentColor"},null,-1),e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7368 1.08403C14.0083 1.2372 14.0817 1.54764 13.9007 1.7774L6.80982 10.7773C6.71162 10.902 6.55255 10.9828 6.37638 10.9976C6.20021 11.0123 6.0255 10.9595 5.90032 10.8536L1.17307 6.85357C0.942309 6.65831 0.942309 6.34173 1.17307 6.14647C1.40384 5.95121 1.77798 5.95121 2.00874 6.14647L6.22631 9.71519L12.9174 1.2227C13.0984 0.992939 13.4653 0.930852 13.7368 1.08403Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.7368 1.08403C19.0083 1.2372 19.0817 1.54764 18.9007 1.7774L11.8098 10.7773C11.7116 10.902 11.5526 10.9828 11.3764 10.9976C11.2002 11.0123 11.0255 10.9595 10.9003 10.8536L6.17307 6.85357C5.94231 6.65831 5.94231 6.34173 6.17307 6.14647C6.40384 5.95121 6.77798 5.95121 7.00874 6.14647L11.2263 9.71519L17.9174 1.2227C18.0984 0.992939 18.4653 0.930852 18.7368 1.08403Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],16)):ee.stage==="processing"?(e$b.openBlock(),e$b.createElementBlock("svg",e$b.mergeProps({key:"processing"},te.$attrs,{class:"stage-mark",width:"12",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),[...ne[1]||(ne[1]=[e$b.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7368 1.08403C14.0083 1.2372 14.0817 1.54764 13.9007 1.7774L6.80982 10.7773C6.71162 10.902 6.55255 10.9828 6.37638 10.9976C6.20021 11.0123 6.0255 10.9595 5.90032 10.8536L1.17307 6.85357C0.942309 6.65831 0.942309 6.34173 1.17307 6.14647C1.40384 5.95121 1.77798 5.95121 2.00874 6.14647L6.22631 9.71519L12.9174 1.2227C13.0984 0.992939 13.4653 0.930852 13.7368 1.08403Z",fill:"currentColor",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],16)):ee.stage==="failed"?(e$b.openBlock(),e$b.createElementBlock("svg",e$b.mergeProps({key:"failed"},te.$attrs,{class:"stage-mark stage-mark-failed","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:ee.failedSize,height:ee.failedSize,fill:"currentColor",viewBox:"0 0 24 24"}),[...ne[2]||(ne[2]=[e$b.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule":"evenodd"},null,-1)])],16,_hoisted_1$S)):e$b.createCommentVNode("",!0)]),_:1}))}}),MessageStageIcon=_export_sfc$2(_sfc_main$W,[["__scopeId","data-v-a21c2a32"]]),_sfc_main$V={props:{content:{type:String,default:""}},computed:{markdownContent(){let ee=this.content||"";return ee=(ne=>ne.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))(ee),ee=ee.replace(/(^|\s)_([^_\n]+?)_([)\].,!?;:"]|\s|$)/g,"$1<em>$2</em>$3"),ee=ee.replace(/\*([^*]+)\*/g,'<strong class="dark:font-semibold">$1</strong>'),ee=ee.replace(/~([^~]+)~/g,"<del>$1</del>"),ee=ee.replace(/```([^`]+)```/g,"<code>$1</code>"),ee=ee.replace(/(http[s]?:\/\/[^\s]+)/g,'<a href="$1" target="_blank" rel="noopener noreferrer" class="message-markdown-link">$1</a>'),ee}}},_hoisted_1$R=["innerHTML"];function _sfc_render$9(ee,te,ne,ae,re,oe){return e$b.openBlock(),e$b.createElementBlock("div",{class:"w-full message-markdown",innerHTML:oe.markdownContent},null,8,_hoisted_1$R)}const MessageMarkdown=_export_sfc$2(_sfc_main$V,[["render",_sfc_render$9],["__scopeId","data-v-290f70fc"]]),_hoisted_1$Q=["href"],_hoisted_2$K={class:"youtube-preview-image-wrap"},_hoisted_3$G=["src","alt"],_sfc_main$U={__name:"YouTubePreview",props:{content:{type:String,default:""}},setup(ee){const te=ee,ne=e$b.ref(!1),ae=e$b.computed(()=>{const re=te.content.match(/https?:\/\/[^\s<]+/gi)||[];for(const oe of re){let ie;try{ie=new URL(oe.replace(/[),.!?;:]+$/,""))}catch{continue}const se=ie.hostname.toLowerCase().replace(/^www\./,"");if(!["youtube.com","m.youtube.com","youtu.be"].includes(se))continue;let ce="";if(se==="youtu.be"?ce=ie.pathname.slice(1).split("/")[0]:ie.pathname==="/watch"?ce=ie.searchParams.get("v")||"":/^\/(shorts|embed|live)\//.test(ie.pathname)&&(ce=ie.pathname.split("/")[2]||""),/^[\w-]{11}$/.test(ce))return{id:ce,url:ie.toString(),thumbnail:`https://i.ytimg.com/vi/${ce}/hqdefault.jpg`}}return null});return(re,oe)=>ae.value?(e$b.openBlock(),e$b.createElementBlock("a",{key:0,class:"youtube-preview mb-1",href:ae.value.url,target:"_blank",rel:"noopener noreferrer",onClick:oe[1]||(oe[1]=e$b.withModifiers(()=>{},["stop"]))},[e$b.createElementVNode("div",_hoisted_2$K,[ne.value?e$b.createCommentVNode("",!0):(e$b.openBlock(),e$b.createElementBlock("img",{key:0,src:ae.value.thumbnail,alt:`Prévia do vídeo ${ae.value.id}`,class:"youtube-preview-image",loading:"lazy",onError:oe[0]||(oe[0]=ie=>ne.value=!0)},null,40,_hoisted_3$G)),oe[2]||(oe[2]=e$b.createElementVNode("span",{class:"youtube-preview-play","aria-hidden":"true"},null,-1))]),oe[3]||(oe[3]=e$b.createElementVNode("div",{class:"youtube-preview-details"},[e$b.createElementVNode("strong",null,"Vídeo do YouTube"),e$b.createElementVNode("span",null,"youtube.com")],-1))],8,_hoisted_1$Q)):e$b.createCommentVNode("",!0)}},YouTubePreview=_export_sfc$2(_sfc_main$U,[["__scopeId","data-v-2ce03dc4"]]),_sfc_main$T={},_hoisted_1$P={class:"-mb-3 flex max-w-[290px] items-center gap-3 p-1 pb-0 text-justify"};function _sfc_render$8(ee,te){return e$b.openBlock(),e$b.createElementBlock("div",_hoisted_1$P,[...te[0]||(te[0]=[e$b.createElementVNode("header",{class:"rounded-full bg-base-300 p-1.5 dark:bg-gray-200"},[e$b.createElementVNode("svg",{class:"size-6 text-primary","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[e$b.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])],-1),e$b.createElementVNode("footer",null,[e$b.createTextVNode(" Aguardando essa mensagem. Isso pode demorar um pouco. "),e$b.createElementVNode("a",{target:"_blank",rel:"noopener noreferrer",href:"https://faq.whatsapp.com/3398056720476987/?locale=pt_PT",class:"text-primary underline"},"Saiba mais.")],-1)])])}const MessageCiphertext=_export_sfc$2(_sfc_main$T,[["render",_sfc_render$8]]),_hoisted_1$O={class:"-mx-2"},_sfc_main$S={__name:"MessageListButton",props:{message:{type:Object,required:!0},from_me:Boolean},setup(ee){const te=useMessageUiStore();return(ne,ae)=>(e$b.openBlock(),e$b.createElementBlock("div",_hoisted_1$O,[e$b.createElementVNode("div",{class:"dark:sidebar header flex cursor-pointer items-center rounded-b-md p-2 px-3 text-white shadow-none dark:text-primary_alt dark:shadow-none dark:hover:bg-gray-100/80",onClick:ae[0]||(ae[0]=re=>e$b.unref(te).openList(ee.message))},[ae[1]||(ae[1]=e$b.createElementVNode("svg",{class:"mr-2 size-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[e$b.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-width":"2",d:"M5 7h14M5 12h14M5 17h10"})],-1)),e$b.createTextVNode(" "+e$b.toDisplayString(ee.message.buttonText),1)])]))}},_hoisted_1$N={key:0,class:"flex flex-col"},_hoisted_2$J={key:0},_hoisted_3$F=["innerHTML"],_hoisted_4$D=["href","title"],_hoisted_5$z={key:3,class:"w-full"},_sfc_main$R={__name:"MessageTemplateButtons",props:{items:{type:Array,required:!0},rowClass:{type:String,default:""},roundedClassLast:{type:String,default:"rounded-b-md"},iconMode:{type:String,default:"emoji"}},setup(ee){const te=ee,ne={REQUEST_CONTACT_INFO:"Compartilhar número"},ae=e$b.computed(()=>(te.items||[]).map(oe=>({type:(oe==null?void 0:oe.type)||"QUICK_REPLY",text:(oe==null?void 0:oe.text)||ne[oe==null?void 0:oe.type]||"",phone:(oe==null?void 0:oe.phone_number)??(oe==null?void 0:oe.phone)??null,url:(oe==null?void 0:oe.url)??null})));function re({type:oe}){return te.iconMode==="emoji"?oe==="PHONE_NUMBER"?"📞":oe==="URL"?"🔗":"⚡":oe==="PHONE_NUMBER"?`
|
|
246
246
|
<svg class="size-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor"
|
|
247
247
|
viewBox="0 0 24 24">
|
|
248
248
|
<path d="M7.978 4a2.553 2.553 0 0 0-1.926.877C4.233 6.7 3.699 8.751 4.153 10.814c.44 1.995 1.778 3.893 3.456 5.572 1.68 1.679 3.577 3.018 5.57 3.459 2.062.456 4.115-.073 5.94-1.885a2.556 2.556 0 0 0 .001-3.861l-1.21-1.21a2.689 2.689 0 0 0-3.802 0l-.617.618a.806.806 0 0 1-1.14 0l-1.854-1.855a.807.807 0 0 1 0-1.14l.618-.62a2.692 2.692 0 0 0 0-3.803l-1.21-1.211A2.555 2.555 0 0 0 7.978 4Z"/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle } from "vue";
|
|
2
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-
|
|
2
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-Brs7Lca2.js";
|
|
3
3
|
var lottie = { exports: {} };
|
|
4
4
|
(function(module, exports) {
|
|
5
5
|
typeof navigator < "u" && function(t, e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as le, C as ge, g as me, W as we } from "./index-
|
|
1
|
+
import { r as le, C as ge, g as me, W as we } from "./index-Brs7Lca2.js";
|
|
2
2
|
const F = {
|
|
3
3
|
RECORDING: "RECORDING",
|
|
4
4
|
PAUSED: "PAUSED",
|
|
@@ -58,7 +58,7 @@ var te;
|
|
|
58
58
|
n.UTF8 = "utf8", n.ASCII = "ascii", n.UTF16 = "utf16";
|
|
59
59
|
})(te || (te = {}));
|
|
60
60
|
const k = le("Filesystem", {
|
|
61
|
-
web: () => import("./web-
|
|
61
|
+
web: () => import("./web-CG8gasOQ.js").then((n) => new n.FilesystemWeb())
|
|
62
62
|
});
|
|
63
63
|
Ee();
|
|
64
64
|
const _e = le("BlobWriter");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as P, b as x } from "./index-
|
|
2
|
-
import { E } from "./web-
|
|
1
|
+
import { W as P, b as x } from "./index-Brs7Lca2.js";
|
|
2
|
+
import { E } from "./web-B29l5pM-.js";
|
|
3
3
|
function m(w) {
|
|
4
4
|
const e = w.split("/").filter((t) => t !== "."), r = [];
|
|
5
5
|
return e.forEach((t) => {
|