layers-design-system 3.0.13 → 3.0.14

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.
@@ -1,4 +1,4 @@
1
- import { c as o } from "./main-ce437744.js";
1
+ import { c as o } from "./main-b66a38e4.js";
2
2
  var a = { exports: {} };
3
3
  (function(t, _) {
4
4
  (function(r, e) {
@@ -1,4 +1,4 @@
1
- import { d as r, c as a } from "./main-ce437744.js";
1
+ import { d as r, c as a } from "./main-b66a38e4.js";
2
2
  var m = { exports: {} };
3
3
  (function(t, d) {
4
4
  (function(s, o) {
@@ -1,5 +1,5 @@
1
- import { b as wd, s as Sd, o as kd, i as Ed, a as as, e as Ko, f as Nd, g as si, h as ri, j as Td, k as $d, l as Md, m as Rd, n as ii, p as ci, q as ya, r as Od, t as Id, u as _d, v as Pd, w as xd, x as or, y as Ad, z as Ld, S as Dd, A as ui, B as Bd, C as ss, D as Hd, E as di, F as zd, G as Vd, H as Fd, I as Kd, J as la, K as fi, L as Wd, M as jd, N as vt, O as $e, P as pl, Q as Kn, R as Xt, T as He, U as Pl, V as ye, W as Cn, X as hi, Y as pi, Z as G, _ as In, $ as rs, a0 as vi, a1 as Be, a2 as Te, a3 as yt, a4 as St, a5 as ae, a6 as qd, a7 as ar, a8 as At, a9 as Lt, aa as mi, ab as ge, ac as vl, ad as Xl, ae as at, af as Ll, ag as bt, ah as Gd, ai as Wo, aj as $n, ak as wn, al as Ud, am as Zt, an as Yn, ao as Ue, ap as Wn, aq as _n, ar as Re, as as Zl, at as pt, au as Yd, av as Xd, aw as sr, ax as Zd, ay as rt, az as Jd, aA as Qd, aB as rr, aC as Ut, aD as ef, aE as tf, aF as nf, aG as lf, aH as of, aI as af, aJ as rl, aK as sf, aL as oa, aM as No, aN as wt, aO as gi, aP as Wt, aQ as yi, aR as To, aS as Pt, aT as jo, aU as is, aV as Pn, aW as It, aX as Dt, aY as Jt, aZ as bi, a_ as cs, a$ as tn, b0 as Xe, b1 as ir, b2 as un, b3 as rf, b4 as cr, b5 as Ci, b6 as wi, b7 as ho, b8 as Si, b9 as ur, ba as ki, bb as $o, bc as Jl, bd as Ei, be as Ni, bf as Xn, bg as cf, bh as Ti, bi as Ql, bj as Mo, bk as eo, bl as uf, bm as Nt, bn as us, bo as Vt, bp as ds, bq as fs, br as hs, bs as df, bt as ff, bu as hf, bv as $i, bw as pf, bx as ps, by as Mi, bz as vs, bA as po, bB as yn, bC as ln, bD as ll, bE as vf, bF as ms, bG as Dl, bH as mf, bI as gf, bJ as Bl, bK as Ro, bL as yf, bM as dr, bN as bf, bO as Cf, bP as fr, bQ as wf, bR as Sf, bS as kf, bT as Ef, bU as Nf, bV as Tf, bW as Ri, bX as Zn, bY as $f, bZ as Mf, b_ as xt, b$ as Rf, c0 as Of, c1 as Oi, c2 as If, c3 as En, c4 as hr, c5 as _f, c6 as Pf, c7 as ml, c8 as xf, c9 as Ii, ca as Af, cb as Lf, cc as _i, cd as Pi, ce as Df, cf as Bf, cg as Jn, ch as bn, ci as Hf, cj as xi, ck as Ai, cl as Li, cm as Di, cn as zf, co as Bi, cp as Vf, cq as Hi, cr as Ff, cs as pr, ct as ba, cu as Kf, cv as vr, cw as Wf, cx as zi, cy as jf, cz as qf, cA as Gf, cB as Uf, cC as Yf, cD as Xf, cE as Zf, cF as Jf, cG as Qf, cH as eh, cI as th, cJ as nh, cK as lh, cL as oh, cM as ah, cN as sh, cO as rh, cP as ih, cQ as ch, cR as uh, cS as dh, cT as fh, cU as hh, cV as ph, cW as vh, cX as mh, cY as gh, cZ as yh, c_ as bh, c$ as gs, d0 as gl, d1 as Vi, d2 as Fi, d3 as Ch, d4 as wh, d5 as Sh, d6 as kh, d7 as Eh } from "./main-ce437744.js";
2
- import { fP as iN, eU as cN, eV as uN, fQ as dN, dy as fN, dz as hN, dI as pN, d$ as vN, dA as mN, dB as gN, fe as yN, ff as bN, ef as CN, eh as wN, eg as SN, dC as kN, dD as EN, fD as NN, es as TN, fw as $N, dE as MN, ed as RN, ee as ON, dv as IN, fR as _N, fN as PN, f3 as xN, fJ as AN, d8 as LN, d9 as DN, da as BN, fT as HN, dc as zN, dd as VN, db as FN, fl as KN, eM as WN, fm as jN, de as qN, dh as GN, df as UN, dg as YN, dk as XN, dm as ZN, di as JN, dj as QN, dl as eT, ds as tT, dn as nT, dr as lT, dp as oT, fj as aT, dt as sT, fp as rT, eN as iT, fi as cT, dw as uT, fK as dT, fG as fT, dx as hT, dF as pT, dG as vT, dH as mT, dq as gT, fS as yT, eO as bT, eP as CT, dO as wT, dJ as ST, dM as kT, dN as ET, dK as NT, dL as TT, eQ as $T, f4 as MT, dR as RT, dS as OT, dT as IT, dU as _T, dV as PT, dW as xT, dX as AT, dY as LT, fn as DT, eR as BT, fH as HT, dZ as zT, d_ as VT, eS as FT, fg as KT, fh as WT, eb as jT, e5 as qT, e6 as GT, e7 as UT, e0 as YT, e3 as XT, ei as ZT, eo as JT, ej as QT, em as e$, ep as t$, en as n$, ek as l$, el as o$, eq as a$, er as s$, et as r$, e1 as i$, ex as c$, eu as u$, ev as d$, ey as f$, eB as h$, ez as p$, eA as v$, eC as m$, eD as g$, eG as y$, eH as b$, eI as C$, eJ as w$, eE as S$, eF as k$, eK as E$, eL as N$, ew as T$, eX as $$, eY as M$, eW as R$, eZ as O$, fo as I$, f5 as _$, f8 as P$, fd as x$, fb as A$, fc as L$, f9 as D$, fa as B$, f6 as H$, f7 as z$, fM as V$, fB as F$, fC as K$, dP as W$, fy as j$, fE as q$, fF as G$, fI as U$, du as Y$, fx as X$, fq as Z$, fr as J$, fs as Q$, fu as eM, ec as tM, fz as nM, fA as lM, e8 as oM, e9 as aM, ea as sM, e2 as rM, e4 as iM, ft as cM, dQ as uM, fO as dM, fv as fM, e_ as hM, e$ as pM, f0 as vM, f1 as mM, f2 as gM, fe as yM, fk as bM, eT as CM, fL as wM } from "./main-ce437744.js";
1
+ import { b as wd, s as Sd, o as kd, i as Ed, a as as, e as Ko, f as Nd, g as si, h as ri, j as Td, k as $d, l as Md, m as Rd, n as ii, p as ci, q as ya, r as Od, t as Id, u as _d, v as Pd, w as xd, x as or, y as Ad, z as Ld, S as Dd, A as ui, B as Bd, C as ss, D as Hd, E as di, F as zd, G as Vd, H as Fd, I as Kd, J as la, K as fi, L as Wd, M as jd, N as vt, O as $e, P as pl, Q as Kn, R as Xt, T as He, U as Pl, V as ye, W as Cn, X as hi, Y as pi, Z as G, _ as In, $ as rs, a0 as vi, a1 as Be, a2 as Te, a3 as yt, a4 as St, a5 as ae, a6 as qd, a7 as ar, a8 as At, a9 as Lt, aa as mi, ab as ge, ac as vl, ad as Xl, ae as at, af as Ll, ag as bt, ah as Gd, ai as Wo, aj as $n, ak as wn, al as Ud, am as Zt, an as Yn, ao as Ue, ap as Wn, aq as _n, ar as Re, as as Zl, at as pt, au as Yd, av as Xd, aw as sr, ax as Zd, ay as rt, az as Jd, aA as Qd, aB as rr, aC as Ut, aD as ef, aE as tf, aF as nf, aG as lf, aH as of, aI as af, aJ as rl, aK as sf, aL as oa, aM as No, aN as wt, aO as gi, aP as Wt, aQ as yi, aR as To, aS as Pt, aT as jo, aU as is, aV as Pn, aW as It, aX as Dt, aY as Jt, aZ as bi, a_ as cs, a$ as tn, b0 as Xe, b1 as ir, b2 as un, b3 as rf, b4 as cr, b5 as Ci, b6 as wi, b7 as ho, b8 as Si, b9 as ur, ba as ki, bb as $o, bc as Jl, bd as Ei, be as Ni, bf as Xn, bg as cf, bh as Ti, bi as Ql, bj as Mo, bk as eo, bl as uf, bm as Nt, bn as us, bo as Vt, bp as ds, bq as fs, br as hs, bs as df, bt as ff, bu as hf, bv as $i, bw as pf, bx as ps, by as Mi, bz as vs, bA as po, bB as yn, bC as ln, bD as ll, bE as vf, bF as ms, bG as Dl, bH as mf, bI as gf, bJ as Bl, bK as Ro, bL as yf, bM as dr, bN as bf, bO as Cf, bP as fr, bQ as wf, bR as Sf, bS as kf, bT as Ef, bU as Nf, bV as Tf, bW as Ri, bX as Zn, bY as $f, bZ as Mf, b_ as xt, b$ as Rf, c0 as Of, c1 as Oi, c2 as If, c3 as En, c4 as hr, c5 as _f, c6 as Pf, c7 as ml, c8 as xf, c9 as Ii, ca as Af, cb as Lf, cc as _i, cd as Pi, ce as Df, cf as Bf, cg as Jn, ch as bn, ci as Hf, cj as xi, ck as Ai, cl as Li, cm as Di, cn as zf, co as Bi, cp as Vf, cq as Hi, cr as Ff, cs as pr, ct as ba, cu as Kf, cv as vr, cw as Wf, cx as zi, cy as jf, cz as qf, cA as Gf, cB as Uf, cC as Yf, cD as Xf, cE as Zf, cF as Jf, cG as Qf, cH as eh, cI as th, cJ as nh, cK as lh, cL as oh, cM as ah, cN as sh, cO as rh, cP as ih, cQ as ch, cR as uh, cS as dh, cT as fh, cU as hh, cV as ph, cW as vh, cX as mh, cY as gh, cZ as yh, c_ as bh, c$ as gs, d0 as gl, d1 as Vi, d2 as Fi, d3 as Ch, d4 as wh, d5 as Sh, d6 as kh, d7 as Eh } from "./main-b66a38e4.js";
2
+ import { fP as iN, eU as cN, eV as uN, fQ as dN, dy as fN, dz as hN, dI as pN, d$ as vN, dA as mN, dB as gN, fe as yN, ff as bN, ef as CN, eh as wN, eg as SN, dC as kN, dD as EN, fD as NN, es as TN, fw as $N, dE as MN, ed as RN, ee as ON, dv as IN, fR as _N, fN as PN, f3 as xN, fJ as AN, d8 as LN, d9 as DN, da as BN, fT as HN, dc as zN, dd as VN, db as FN, fl as KN, eM as WN, fm as jN, de as qN, dh as GN, df as UN, dg as YN, dk as XN, dm as ZN, di as JN, dj as QN, dl as eT, ds as tT, dn as nT, dr as lT, dp as oT, fj as aT, dt as sT, fp as rT, eN as iT, fi as cT, dw as uT, fK as dT, fG as fT, dx as hT, dF as pT, dG as vT, dH as mT, dq as gT, fS as yT, eO as bT, eP as CT, dO as wT, dJ as ST, dM as kT, dN as ET, dK as NT, dL as TT, eQ as $T, f4 as MT, dR as RT, dS as OT, dT as IT, dU as _T, dV as PT, dW as xT, dX as AT, dY as LT, fn as DT, eR as BT, fH as HT, dZ as zT, d_ as VT, eS as FT, fg as KT, fh as WT, eb as jT, e5 as qT, e6 as GT, e7 as UT, e0 as YT, e3 as XT, ei as ZT, eo as JT, ej as QT, em as e$, ep as t$, en as n$, ek as l$, el as o$, eq as a$, er as s$, et as r$, e1 as i$, ex as c$, eu as u$, ev as d$, ey as f$, eB as h$, ez as p$, eA as v$, eC as m$, eD as g$, eG as y$, eH as b$, eI as C$, eJ as w$, eE as S$, eF as k$, eK as E$, eL as N$, ew as T$, eX as $$, eY as M$, eW as R$, eZ as O$, fo as I$, f5 as _$, f8 as P$, fd as x$, fb as A$, fc as L$, f9 as D$, fa as B$, f6 as H$, f7 as z$, fM as V$, fB as F$, fC as K$, dP as W$, fy as j$, fE as q$, fF as G$, fI as U$, du as Y$, fx as X$, fq as Z$, fr as J$, fs as Q$, fu as eM, ec as tM, fz as nM, fA as lM, e8 as oM, e9 as aM, ea as sM, e2 as rM, e4 as iM, ft as cM, dQ as uM, fO as dM, fv as fM, e_ as hM, e$ as pM, f0 as vM, f1 as mM, f2 as gM, fe as yM, fk as bM, eT as CM, fL as wM } from "./main-b66a38e4.js";
3
3
  import { watch as re, ref as _, onUnmounted as to, h as ue, Teleport as Nh, onMounted as Ze, getCurrentInstance as et, unref as r, nextTick as Ie, watchEffect as zt, isRef as il, defineComponent as F, renderSlot as Q, shallowRef as Ct, computed as k, openBlock as N, createElementBlock as L, normalizeClass as M, normalizeStyle as Ne, createElementVNode as V, useAttrs as Ki, onBeforeUnmount as $t, createBlock as le, withCtx as Z, createVNode as W, Fragment as De, renderList as nt, createTextVNode as tt, toDisplayString as pe, mergeProps as Ye, withKeys as kt, withModifiers as Fe, createSlots as jn, resolveDynamicComponent as st, Transition as fn, createCommentVNode as ee, withDirectives as Qe, vShow as ut, inject as Ke, provide as dt, normalizeProps as rn, guardReactiveProps as yl, useSlots as Sn, isVNode as Tt, reactive as ft, resolveComponent as qe, onBeforeUpdate as Th, vModelText as Wi, toRef as Kt, onUpdated as qo, onActivated as $h, toRaw as Mh, toRefs as Mn, resolveDirective as ys, render as Rn, onBeforeMount as ji, Comment as qi, shallowReactive as Rh, markRaw as mr } from "vue";
4
4
  function Oh() {
5
5
  }
@@ -1,4 +1,4 @@
1
- import { fV as t, fU as i, fW as e } from "./main-ce437744.js";
1
+ import { fV as t, fU as i, fW as e } from "./main-b66a38e4.js";
2
2
  import "vue";
3
3
  export {
4
4
  t as Language,
@@ -108,7 +108,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,curr
108
108
 
109
109
  `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
110
110
 
111
- `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:h1(n.placement),variation:TV(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:a,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,IV(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:i,roundOffsets:c})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,IV(Object.assign({},u,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}var A7e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:I7e,data:{}};function O7e(e){var n=e.state;Object.keys(n.elements).forEach(function(o){var r=n.styles[o]||{},a=n.attributes[o]||{},l=n.elements[o];!ol(l)||!wi(l)||(Object.assign(l.style,r),Object.keys(a).forEach(function(i){var s=a[i];s===!1?l.removeAttribute(i):l.setAttribute(i,s===!0?"":s)}))})}function z7e(e){var n=e.state,o={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,o.popper),n.styles=o,n.elements.arrow&&Object.assign(n.elements.arrow.style,o.arrow),function(){Object.keys(n.elements).forEach(function(r){var a=n.elements[r],l=n.attributes[r]||{},i=Object.keys(n.styles.hasOwnProperty(r)?n.styles[r]:o[r]),s=i.reduce(function(c,d){return c[d]="",c},{});!ol(a)||!wi(a)||(Object.assign(a.style,s),Object.keys(l).forEach(function(c){a.removeAttribute(c)}))})}}var B7e={name:"applyStyles",enabled:!0,phase:"write",fn:O7e,effect:z7e,requires:["computeStyles"]},L7e=[x7e,S7e,A7e,B7e],V7e=k7e({defaultModifiers:L7e});function $7e(e,n,o){var r=h1(e),a=[Pc,Ru].indexOf(r)>=0?-1:1,l=typeof o=="function"?o(Object.assign({},n,{placement:e})):o,i=l[0],s=l[1];return i=i||0,s=(s||0)*a,[Pc,rh].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function j7e(e){var n=e.state,o=e.options,r=e.name,a=o.offset,l=a===void 0?[0,0]:a,i=r7e.reduce(function(u,f){return u[f]=$7e(f,n.rects,l),u},{}),s=i[n.placement],c=s.x,d=s.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=c,n.modifiersData.popperOffsets.y+=d),n.modifiersData[r]=i}var P7e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:j7e};const[R7e,Fc]=Fe("popover"),F7e=["show","overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"],H7e={show:Boolean,theme:rt("light"),overlay:Boolean,actions:fo(),trigger:rt("click"),duration:We,showArrow:Le,placement:rt("bottom"),iconPrefix:String,overlayClass:Dn,overlayStyle:Object,closeOnClickAction:Le,closeOnClickOverlay:Le,closeOnClickOutside:Le,offset:{type:Array,default:()=>[0,8]},teleport:{type:[String,Object],default:"body"}};var U7e=t.defineComponent({name:R7e,props:H7e,emits:["select","touchstart","update:show"],setup(e,{emit:n,slots:o,attrs:r}){let a;const l=t.ref(),i=t.ref(),s=t.ref(),c=()=>({placement:e.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},bt({},P7e,{options:{offset:e.offset}})]}),d=()=>i.value&&s.value?V7e(i.value,s.value.popupRef.value,c()):null,u=()=>{t.nextTick(()=>{e.show&&(a?a.setOptions(c()):a=d())})},f=w=>n("update:show",w),p=()=>{e.trigger==="click"&&f(!e.show)},m=(w,N)=>{w.disabled||(n("select",w,N),e.closeOnClickAction&&f(!1))},g=()=>{e.show&&e.closeOnClickOutside&&(!e.overlay||e.closeOnClickOverlay)&&f(!1)},y=(w,N)=>o.action?o.action({action:w,index:N}):[w.icon&&t.createVNode(Ht,{name:w.icon,classPrefix:e.iconPrefix,class:Fc("action-icon")},null),t.createVNode("div",{class:[Fc("action-text"),PC]},[w.text])],b=(w,N)=>{const{icon:_,color:C,disabled:k,className:E}=w;return t.createVNode("div",{role:"menuitem",class:[Fc("action",{disabled:k,"with-icon":_}),E],style:{color:C},tabindex:k?void 0:0,"aria-disabled":k||void 0,onClick:()=>m(w,N)},[y(w,N)])};return t.onMounted(()=>{u(),t.watchEffect(()=>{var w;l.value=(w=s.value)==null?void 0:w.popupRef.value})}),t.onBeforeUnmount(()=>{a&&(a.destroy(),a=null)}),t.watch(()=>[e.show,e.offset,e.placement],u),vg([i,l],g,{eventName:"touchstart"}),()=>{var w;return t.createVNode(t.Fragment,null,[t.createVNode("span",{ref:i,class:Fc("wrapper"),onClick:p},[(w=o.reference)==null?void 0:w.call(o)]),t.createVNode(Xa,t.mergeProps({ref:s,class:Fc([e.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,"onUpdate:show":f},r,_n(e,F7e)),{default:()=>[e.showArrow&&t.createVNode("div",{class:Fc("arrow")},null),t.createVNode("div",{role:"menu",class:Fc("content")},[o.default?o.default():e.actions.map(b)])]})])}}});const Y7e=Xe(U7e),[W7e,I_]=Fe("progress"),Q7e={color:String,inactive:Boolean,pivotText:String,textColor:String,showPivot:Le,pivotColor:String,trackColor:String,strokeWidth:We,percentage:{type:We,default:0,validator:e=>e>=0&&e<=100}};var K7e=t.defineComponent({name:W7e,props:Q7e,setup(e){const n=t.computed(()=>e.inactive?void 0:e.color),o=()=>{const{textColor:r,pivotText:a,pivotColor:l,percentage:i}=e,s=a??`${i}%`;if(e.showPivot&&s){const c={color:r,left:`${+i}%`,transform:`translate(-${+i}%,-50%)`,background:l||n.value};return t.createVNode("span",{style:c,class:I_("pivot",{inactive:e.inactive})},[s])}};return()=>{const{trackColor:r,percentage:a,strokeWidth:l}=e,i={background:r,height:rn(l)},s={width:`${a}%`,background:n.value};return t.createVNode("div",{class:I_(),style:i},[t.createVNode("span",{class:I_("portion",{inactive:e.inactive}),style:s},null),o()])}}});const q7e=Xe(K7e),[G7e,ah,X7e]=Fe("pull-refresh"),AV=50,Z7e=["pulling","loosing","success"],J7e={disabled:Boolean,modelValue:Boolean,headHeight:ft(AV),successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:We,successDuration:ft(500),animationDuration:ft(300)};var ePe=t.defineComponent({name:G7e,props:J7e,emits:["change","refresh","update:modelValue"],setup(e,{emit:n,slots:o}){let r;const a=t.ref(),l=t.ref(),i=ku(a),s=t.reactive({status:"normal",distance:0,duration:0}),c=zl(),d=()=>{if(e.headHeight!==AV)return{height:`${e.headHeight}px`}},u=()=>s.status!=="loading"&&s.status!=="success"&&!e.disabled,f=C=>{const k=+(e.pullDistance||e.headHeight);return C>k&&(C<k*2?C=k+(C-k)/2:C=k*1.5+(C-k*2)/4),Math.round(C)},p=(C,k)=>{const E=+(e.pullDistance||e.headHeight);s.distance=C,k?s.status="loading":C===0?s.status="normal":C<E?s.status="pulling":s.status="loosing",n("change",{status:s.status,distance:C})},m=()=>{const{status:C}=s;return C==="normal"?"":e[`${C}Text`]||X7e(C)},g=()=>{const{status:C,distance:k}=s;if(o[C])return o[C]({distance:k});const E=[];return Z7e.includes(C)&&E.push(t.createVNode("div",{class:ah("text")},[m()])),C==="loading"&&E.push(t.createVNode(Ga,{class:ah("loading")},{default:m})),E},y=()=>{s.status="success",setTimeout(()=>{p(0)},+e.successDuration)},b=C=>{r=ps(i.value)===0,r&&(s.duration=0,c.start(C))},w=C=>{u()&&b(C)},N=C=>{if(u()){r||b(C);const{deltaY:k}=c;c.move(C),r&&k.value>=0&&c.isVertical()&&(Fn(C),p(f(k.value)))}},_=()=>{r&&c.deltaY.value&&u()&&(s.duration=+e.animationDuration,s.status==="loosing"?(p(+e.headHeight,!0),n("update:modelValue",!0),t.nextTick(()=>n("refresh"))):p(0))};return t.watch(()=>e.modelValue,C=>{s.duration=+e.animationDuration,C?p(+e.headHeight,!0):o.success||e.successText?y():p(0,!1)}),no("touchmove",N,{target:l}),()=>{var C;const k={transitionDuration:`${s.duration}ms`,transform:s.distance?`translate3d(0,${s.distance}px, 0)`:""};return t.createVNode("div",{ref:a,class:ah()},[t.createVNode("div",{ref:l,class:ah("track"),style:k,onTouchstartPassive:w,onTouchend:_,onTouchcancel:_},[t.createVNode("div",{class:ah("head"),style:d()},[g()]),(C=o.default)==null?void 0:C.call(o)])])}}});const tPe=Xe(ePe),[nPe,g1]=Fe("rate");function oPe(e,n,o,r){return e>=n?{status:"full",value:1}:e+.5>=n&&o&&!r?{status:"half",value:.5}:e+1>=n&&o&&r?{status:"half",value:Math.round((e-n+1)*1e10)/1e10}:{status:"void",value:0}}const rPe={size:We,icon:rt("star"),color:String,count:ft(5),gutter:We,readonly:Boolean,disabled:Boolean,voidIcon:rt("star-o"),allowHalf:Boolean,voidColor:String,touchable:Le,iconPrefix:String,modelValue:Ol(0),disabledColor:String};var aPe=t.defineComponent({name:nPe,props:rPe,emits:["change","update:modelValue"],setup(e,{emit:n}){const o=zl(),[r,a]=Gg(),l=t.ref(),i=()=>e.readonly||e.disabled||!e.touchable,s=t.computed(()=>Array(+e.count).fill("").map((N,_)=>oPe(e.modelValue,_+1,e.allowHalf,e.readonly)));let c,d,u=Number.MAX_SAFE_INTEGER,f=Number.MIN_SAFE_INTEGER;const p=()=>{d=Nn(l);const N=r.value.map(Nn);c=[],N.forEach((_,C)=>{u=Math.min(_.top,u),f=Math.max(_.top,f),e.allowHalf?c.push({score:C+.5,left:_.left,top:_.top,height:_.height},{score:C+1,left:_.left+_.width/2,top:_.top,height:_.height}):c.push({score:C+1,left:_.left,top:_.top,height:_.height})})},m=(N,_)=>{for(let C=c.length-1;C>0;C--)if(_>=d.top&&_<=d.bottom){if(N>c[C].left&&_>=c[C].top&&_<=c[C].top+c[C].height)return c[C].score}else{const k=_<d.top?u:f;if(N>c[C].left&&c[C].top===k)return c[C].score}return e.allowHalf?.5:1},g=N=>{!e.disabled&&!e.readonly&&N!==e.modelValue&&(n("update:modelValue",N),n("change",N))},y=N=>{i()||(o.start(N),p())},b=N=>{if(!i()&&(o.move(N),o.isHorizontal())){const{clientX:_,clientY:C}=N.touches[0];Fn(N),g(m(_,C))}},w=(N,_)=>{const{icon:C,size:k,color:E,count:T,gutter:S,voidIcon:D,disabled:v,voidColor:I,allowHalf:B,iconPrefix:$,disabledColor:F}=e,L=_+1,A=N.status==="full",P=N.status==="void",j=B&&N.value>0&&N.value<1;let O;S&&L!==+T&&(O={paddingRight:rn(S)});const z=R=>{p(),g(B?m(R.clientX,R.clientY):L)};return t.createVNode("div",{key:_,ref:a(_),role:"radio",style:O,class:g1("item"),tabindex:v?void 0:0,"aria-setsize":T,"aria-posinset":L,"aria-checked":!P,onClick:z},[t.createVNode(Ht,{size:k,name:A?C:D,class:g1("icon",{disabled:v,full:A}),color:v?F:A?E:I,classPrefix:$},null),j&&t.createVNode(Ht,{size:k,style:{width:N.value+"em"},name:P?D:C,class:g1("icon",["half",{disabled:v,full:!P}]),color:v?F:P?I:E,classPrefix:$},null)])};return fs(()=>e.modelValue),no("touchmove",b,{target:l}),()=>t.createVNode("div",{ref:l,role:"radiogroup",class:g1({readonly:e.readonly,disabled:e.disabled}),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,"aria-readonly":e.readonly,onTouchstartPassive:y},[s.value.map(w)])}});const lPe=Xe(aPe),iPe=Xe(NVe),[sPe,lh,cPe]=Fe("search"),dPe=bt({},ZC,{label:String,shape:rt("square"),leftIcon:rt("search"),clearable:Le,actionText:String,background:String,showAction:Boolean});var uPe=t.defineComponent({name:sPe,props:dPe,emits:["blur","focus","clear","search","cancel","click-input","click-left-icon","click-right-icon","update:modelValue"],setup(e,{emit:n,slots:o,attrs:r}){const a=vu(),l=t.ref(),i=()=>{o.action||(n("update:modelValue",""),n("cancel"))},s=k=>{k.keyCode===13&&(Fn(k),n("search",e.modelValue))},c=()=>e.id||`${a}-input`,d=()=>{if(o.label||e.label)return t.createVNode("label",{class:lh("label"),for:c()},[o.label?o.label():e.label])},u=()=>{if(e.showAction){const k=e.actionText||cPe("cancel");return t.createVNode("div",{class:lh("action"),role:"button",tabindex:0,onClick:i},[o.action?o.action():k])}},f=()=>{var k;return(k=l.value)==null?void 0:k.blur()},p=()=>{var k;return(k=l.value)==null?void 0:k.focus()},m=k=>n("blur",k),g=k=>n("focus",k),y=k=>n("clear",k),b=k=>n("click-input",k),w=k=>n("click-left-icon",k),N=k=>n("click-right-icon",k),_=Object.keys(ZC),C=()=>{const k=bt({},r,_n(e,_),{id:c()}),E=T=>n("update:modelValue",T);return t.createVNode(Bl,t.mergeProps({ref:l,type:"search",class:lh("field"),border:!1,onBlur:m,onFocus:g,onClear:y,onKeypress:s,"onClick-input":b,"onClick-left-icon":w,"onClick-right-icon":N,"onUpdate:modelValue":E},k),_n(o,["left-icon","right-icon"]))};return tn({focus:p,blur:f}),()=>{var k;return t.createVNode("div",{class:lh({"show-action":e.showAction}),style:{background:e.background}},[(k=o.left)==null?void 0:k.call(o),t.createVNode("div",{class:lh("content",e.shape)},[d(),C()]),u()])}}});const fPe=Xe(uPe),pPe=[...UC,"round","closeOnPopstate","safeAreaInsetBottom"],OV={qq:"qq",link:"link-o",weibo:"weibo",qrcode:"qr",poster:"photo-o",wechat:"wechat","weapp-qrcode":"miniprogram-o","wechat-moments":"wechat-moments"},[hPe,rl,mPe]=Fe("share-sheet"),gPe=bt({},Su,{title:String,round:Le,options:fo(),cancelText:String,description:String,closeOnPopstate:Le,safeAreaInsetBottom:Le});var yPe=t.defineComponent({name:hPe,props:gPe,emits:["cancel","select","update:show"],setup(e,{emit:n,slots:o}){const r=p=>n("update:show",p),a=()=>{r(!1),n("cancel")},l=(p,m)=>n("select",p,m),i=()=>{const p=o.title?o.title():e.title,m=o.description?o.description():e.description;if(p||m)return t.createVNode("div",{class:rl("header")},[p&&t.createVNode("h2",{class:rl("title")},[p]),m&&t.createVNode("span",{class:rl("description")},[m])])},s=p=>OV[p]?t.createVNode("div",{class:rl("icon",[p])},[t.createVNode(Ht,{name:OV[p]||p},null)]):t.createVNode("img",{src:p,class:rl("image-icon")},null),c=(p,m)=>{const{name:g,icon:y,className:b,description:w}=p;return t.createVNode("div",{role:"button",tabindex:0,class:[rl("option"),b,Nr],onClick:()=>l(p,m)},[s(y),g&&t.createVNode("span",{class:rl("name")},[g]),w&&t.createVNode("span",{class:rl("option-description")},[w])])},d=(p,m)=>t.createVNode("div",{class:rl("options",{border:m})},[p.map(c)]),u=()=>{const{options:p}=e;return Array.isArray(p[0])?p.map((m,g)=>d(m,g!==0)):d(p)},f=()=>{var p;const m=(p=e.cancelText)!=null?p:mPe("cancel");if(o.cancel||m)return t.createVNode("button",{type:"button",class:rl("cancel"),onClick:a},[o.cancel?o.cancel():m])};return()=>t.createVNode(Xa,t.mergeProps({class:rl(),position:"bottom","onUpdate:show":r},_n(e,pPe)),{default:()=>[i(),u(),f()]})}});const bPe=Xe(yPe),[zV,MPe]=Fe("sidebar"),BV=Symbol(zV),wPe={modelValue:ft(0)};var CPe=t.defineComponent({name:zV,props:wPe,emits:["change","update:modelValue"],setup(e,{emit:n,slots:o}){const{linkChildren:r}=tr(BV),a=()=>+e.modelValue;return r({getActive:a,setActive:i=>{i!==a()&&(n("update:modelValue",i),n("change",i))}}),()=>{var i;return t.createVNode("div",{role:"tablist",class:MPe()},[(i=o.default)==null?void 0:i.call(o)])}}});const LV=Xe(CPe),[_Pe,VV]=Fe("sidebar-item"),NPe=bt({},ys,{dot:Boolean,title:String,badge:We,disabled:Boolean,badgeProps:Object});var kPe=t.defineComponent({name:_Pe,props:NPe,emits:["click"],setup(e,{emit:n,slots:o}){const r=$c(),{parent:a,index:l}=Po(BV);if(!a){process.env.NODE_ENV!=="production"&&console.error("[Vant] <SidebarItem> must be a child component of <Sidebar>.");return}const i=()=>{e.disabled||(n("click",l.value),a.setActive(l.value),r())};return()=>{const{dot:s,badge:c,title:d,disabled:u}=e,f=l.value===a.getActive();return t.createVNode("div",{role:"tab",class:VV({select:f,disabled:u}),tabindex:u?void 0:0,"aria-selected":f,onClick:i},[t.createVNode(jc,t.mergeProps({dot:s,class:VV("text"),content:c},e.badgeProps),{default:()=>[o.title?o.title():d]})])}}});const $V=Xe(kPe),[EPe,ih]=Fe("skeleton"),jV="100%",xPe="60%",TPe={row:ft(0),title:Boolean,round:Boolean,avatar:Boolean,loading:Le,animate:Le,avatarSize:We,titleWidth:We,avatarShape:rt("round"),rowWidth:{type:[Number,String,Array],default:jV}};var SPe=t.defineComponent({name:EPe,inheritAttrs:!1,props:TPe,setup(e,{slots:n,attrs:o}){const r=()=>{if(e.avatar)return t.createVNode("div",{class:ih("avatar",e.avatarShape),style:hs(e.avatarSize)},null)},a=()=>{if(e.title)return t.createVNode("h3",{class:ih("title"),style:{width:rn(e.titleWidth)}},null)},l=s=>{const{rowWidth:c}=e;return c===jV&&s===+e.row-1?xPe:Array.isArray(c)?c[s]:c},i=()=>Array(+e.row).fill("").map((s,c)=>t.createVNode("div",{class:ih("row"),style:{width:rn(l(c))}},null));return()=>{var s;return e.loading?t.createVNode("div",t.mergeProps({class:ih({animate:e.animate,round:e.round})},o),[r(),t.createVNode("div",{class:ih("content")},[a(),i()])]):(s=n.default)==null?void 0:s.call(n)}}});const DPe=Xe(SPe),[vPe,sh]=Fe("slider"),IPe={min:ft(0),max:ft(100),step:ft(1),range:Boolean,reverse:Boolean,disabled:Boolean,readonly:Boolean,vertical:Boolean,barHeight:We,buttonSize:We,activeColor:String,inactiveColor:String,modelValue:{type:[Number,Array],default:0}};var APe=t.defineComponent({name:vPe,props:IPe,emits:["change","drag-end","drag-start","update:modelValue"],setup(e,{emit:n,slots:o}){let r,a,l;const i=t.ref(),s=t.ref(),c=t.ref(),d=zl(),u=t.computed(()=>Number(e.max)-Number(e.min)),f=t.computed(()=>{const I=e.vertical?"width":"height";return{background:e.inactiveColor,[I]:rn(e.barHeight)}}),p=I=>e.range&&Array.isArray(I),m=()=>{const{modelValue:I,min:B}=e;return p(I)?`${(I[1]-I[0])*100/u.value}%`:`${(I-Number(B))*100/u.value}%`},g=()=>{const{modelValue:I,min:B}=e;return p(I)?`${(I[0]-Number(B))*100/u.value}%`:"0%"},y=t.computed(()=>{const B={[e.vertical?"height":"width"]:m(),background:e.activeColor};c.value&&(B.transition="none");const $=()=>e.vertical?e.reverse?"bottom":"top":e.reverse?"right":"left";return B[$()]=g(),B}),b=I=>{const B=+e.min,$=+e.max,F=+e.step;I=To(I,B,$);const L=Math.round((I-B)/F)*F;return Y9(B,L)},w=(I,B)=>JSON.stringify(I)===JSON.stringify(B),N=I=>{var B,$;const F=(B=I[0])!=null?B:Number(e.min),L=($=I[1])!=null?$:Number(e.max);return F>L?[L,F]:[F,L]},_=(I,B)=>{p(I)?I=N(I).map(b):I=b(I),w(I,e.modelValue)||n("update:modelValue",I),B&&!w(I,l)&&n("change",I)},C=I=>{if(I.stopPropagation(),e.disabled||e.readonly)return;const{min:B,reverse:$,vertical:F,modelValue:L}=e,A=Nn(i),P=()=>F?$?A.bottom-I.clientY:I.clientY-A.top:$?A.right-I.clientX:I.clientX-A.left,j=F?A.height:A.width,O=Number(B)+P()/j*u.value;if(p(L)){const[z,R]=L,Y=(z+R)/2;O<=Y?_([O,R],!0):_([z,O],!0)}else _(O,!0)},k=I=>{e.disabled||e.readonly||(d.start(I),a=e.modelValue,p(a)?l=a.map(b):l=b(a),c.value="start")},E=I=>{if(e.disabled||e.readonly)return;c.value==="start"&&n("drag-start",I),Fn(I,!0),d.move(I),c.value="dragging";const B=Nn(i),$=e.vertical?d.deltaY.value:d.deltaX.value,F=e.vertical?B.height:B.width;let L=$/F*u.value;if(e.reverse&&(L=-L),p(l)){const A=e.reverse?1-r:r;a[A]=l[A]+L}else a=l+L;_(a)},T=I=>{e.disabled||e.readonly||(c.value==="dragging"&&(_(a,!0),n("drag-end",I)),c.value="")},S=I=>typeof I=="number"?sh("button-wrapper",["left","right"][I]):sh("button-wrapper",e.reverse?"left":"right"),D=(I,B)=>{if(typeof B=="number"){const $=o[B===0?"left-button":"right-button"];if($)return $({value:I})}return o.button?o.button({value:I}):t.createVNode("div",{class:sh("button"),style:hs(e.buttonSize)},null)},v=I=>{const B=typeof I=="number"?e.modelValue[I]:e.modelValue;return t.createVNode("div",{ref:s,role:"slider",class:S(I),tabindex:e.disabled?void 0:0,"aria-valuemin":e.min,"aria-valuenow":B,"aria-valuemax":e.max,"aria-disabled":e.disabled||void 0,"aria-readonly":e.readonly||void 0,"aria-orientation":e.vertical?"vertical":"horizontal",onTouchstartPassive:$=>{typeof I=="number"&&(r=I),k($)},onTouchend:T,onTouchcancel:T,onClick:BC},[D(B,I)])};return _(e.modelValue),fs(()=>e.modelValue),no("touchmove",E,{target:s}),()=>t.createVNode("div",{ref:i,style:f.value,class:sh({vertical:e.vertical,disabled:e.disabled}),onClick:C},[t.createVNode("div",{class:sh("bar"),style:y.value},[e.range?[v(0),v(1)]:v()])])}});const OPe=Xe(APe),[PV,zPe]=Fe("space"),BPe={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function RV(e=[]){const n=[];return e.forEach(o=>{Array.isArray(o)?n.push(...o):o.type===t.Fragment?n.push(...RV(o.children)):n.push(o)}),n.filter(o=>{var r;return!(o&&(typeof Comment<"u"&&o.type===Comment||o.type===t.Fragment&&((r=o.children)==null?void 0:r.length)===0||o.type===Text&&o.children.trim()===""))})}var LPe=t.defineComponent({name:PV,props:BPe,setup(e,{slots:n}){const o=t.computed(()=>{var l;return(l=e.align)!=null?l:e.direction==="horizontal"?"center":""}),r=l=>typeof l=="number"?l+"px":l,a=l=>{const i={},s=`${r(Array.isArray(e.size)?e.size[0]:e.size)}`,c=`${r(Array.isArray(e.size)?e.size[1]:e.size)}`;return l?e.wrap?{marginBottom:c}:{}:(e.direction==="horizontal"&&(i.marginRight=s),(e.direction==="vertical"||e.wrap)&&(i.marginBottom=c),i)};return()=>{var l;const i=RV((l=n.default)==null?void 0:l.call(n));return t.createVNode("div",{class:[zPe({[e.direction]:e.direction,[`align-${o.value}`]:o.value,wrap:e.wrap,fill:e.fill})]},[i.map((s,c)=>t.createVNode("div",{key:`item-${c}`,class:`${PV}-item`,style:a(c===i.length-1)},[s]))])}}});const VPe=Xe(LPe),[FV,HV]=Fe("steps"),$Pe={active:ft(0),direction:rt("horizontal"),activeIcon:rt("checked"),iconPrefix:String,finishIcon:String,activeColor:String,inactiveIcon:String,inactiveColor:String},UV=Symbol(FV);var jPe=t.defineComponent({name:FV,props:$Pe,emits:["click-step"],setup(e,{emit:n,slots:o}){const{linkChildren:r}=tr(UV);return r({props:e,onClickStep:l=>n("click-step",l)}),()=>{var l;return t.createVNode("div",{class:HV([e.direction])},[t.createVNode("div",{class:HV("items")},[(l=o.default)==null?void 0:l.call(o)])])}}});const[PPe,Cs]=Fe("step");var RPe=t.defineComponent({name:PPe,setup(e,{slots:n}){const{parent:o,index:r}=Po(UV);if(!o){process.env.NODE_ENV!=="production"&&console.error("[Vant] <Step> must be a child component of <Steps>.");return}const a=o.props,l=()=>{const f=+a.active;return r.value<f?"finish":r.value===f?"process":"waiting"},i=()=>l()==="process",s=t.computed(()=>({background:l()==="finish"?a.activeColor:a.inactiveColor})),c=t.computed(()=>{if(i())return{color:a.activeColor};if(l()==="waiting")return{color:a.inactiveColor}}),d=()=>o.onClickStep(r.value),u=()=>{const{iconPrefix:f,finishIcon:p,activeIcon:m,activeColor:g,inactiveIcon:y}=a;return i()?n["active-icon"]?n["active-icon"]():t.createVNode(Ht,{class:Cs("icon","active"),name:m,color:g,classPrefix:f},null):l()==="finish"&&(p||n["finish-icon"])?n["finish-icon"]?n["finish-icon"]():t.createVNode(Ht,{class:Cs("icon","finish"),name:p,color:g,classPrefix:f},null):n["inactive-icon"]?n["inactive-icon"]():y?t.createVNode(Ht,{class:Cs("icon"),name:y,classPrefix:f},null):t.createVNode("i",{class:Cs("circle"),style:s.value},null)};return()=>{var f;const p=l();return t.createVNode("div",{class:[ms,Cs([a.direction,{[p]:p}])]},[t.createVNode("div",{class:Cs("title",{active:i()}),style:c.value,onClick:d},[(f=n.default)==null?void 0:f.call(n)]),t.createVNode("div",{class:Cs("circle-container"),onClick:d},[u()]),t.createVNode("div",{class:Cs("line"),style:s.value},null)])}}});const FPe=Xe(RPe),[HPe,y1]=Fe("stepper"),UPe=200,YPe=600,b1=(e,n)=>String(e)===String(n),WPe={min:ft(1),max:ft(1/0),name:ft(""),step:ft(1),theme:String,integer:Boolean,disabled:Boolean,showPlus:Le,showMinus:Le,showInput:Le,longPress:Le,allowEmpty:Boolean,modelValue:We,inputWidth:We,buttonSize:We,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,beforeChange:Function,defaultValue:ft(1),decimalLength:We};var QPe=t.defineComponent({name:HPe,props:WPe,emits:["plus","blur","minus","focus","change","overlimit","update:modelValue"],setup(e,{emit:n}){const o=S=>{const{min:D,max:v,allowEmpty:I,decimalLength:B}=e;return I&&S===""||(S=$C(String(S),!e.integer),S=S===""?0:+S,S=Number.isNaN(S)?+D:S,S=Math.max(Math.min(+v,S),+D),Kt(B)&&(S=S.toFixed(+B))),S},r=()=>{var S;const D=(S=e.modelValue)!=null?S:e.defaultValue,v=o(D);return b1(v,e.modelValue)||n("update:modelValue",v),v};let a;const l=t.ref(),i=t.ref(r()),s=t.computed(()=>e.disabled||e.disableMinus||i.value<=+e.min),c=t.computed(()=>e.disabled||e.disablePlus||i.value>=+e.max),d=t.computed(()=>({width:rn(e.inputWidth),height:rn(e.buttonSize)})),u=t.computed(()=>hs(e.buttonSize)),f=()=>{const S=o(i.value);b1(S,i.value)||(i.value=S)},p=S=>{e.beforeChange?gs(e.beforeChange,{args:[S],done(){i.value=S}}):i.value=S},m=()=>{if(a==="plus"&&c.value||a==="minus"&&s.value){n("overlimit",a);return}const S=a==="minus"?-e.step:+e.step,D=o(Y9(+i.value,S));p(D),n(a)},g=S=>{const D=S.target,{value:v}=D,{decimalLength:I}=e;let B=$C(String(v),!e.integer);if(Kt(I)&&B.includes(".")){const F=B.split(".");B=`${F[0]}.${F[1].slice(0,+I)}`}e.beforeChange?D.value=String(i.value):b1(v,B)||(D.value=B);const $=B===String(+B);p($?+B:B)},y=S=>{var D;e.disableInput?(D=l.value)==null||D.blur():n("focus",S)},b=S=>{const D=S.target,v=o(D.value);D.value=String(v),i.value=v,t.nextTick(()=>{n("blur",S),F9()})};let w,N;const _=()=>{N=setTimeout(()=>{m(),_()},UPe)},C=()=>{e.longPress&&(w=!1,clearTimeout(N),N=setTimeout(()=>{w=!0,m(),_()},YPe))},k=S=>{e.longPress&&(clearTimeout(N),w&&Fn(S))},E=S=>{e.disableInput&&Fn(S)},T=S=>({onClick:D=>{Fn(D),a=S,m()},onTouchstartPassive:()=>{a=S,C()},onTouchend:k,onTouchcancel:k});return t.watch(()=>[e.max,e.min,e.integer,e.decimalLength],f),t.watch(()=>e.modelValue,S=>{b1(S,i.value)||(i.value=o(S))}),t.watch(i,S=>{n("update:modelValue",S),n("change",S,{name:e.name})}),fs(()=>e.modelValue),()=>t.createVNode("div",{role:"group",class:y1([e.theme])},[t.withDirectives(t.createVNode("button",t.mergeProps({type:"button",style:u.value,class:[y1("minus",{disabled:s.value}),{[Nr]:!s.value}],"aria-disabled":s.value||void 0},T("minus")),null),[[t.vShow,e.showMinus]]),t.withDirectives(t.createVNode("input",{ref:l,type:e.integer?"tel":"text",role:"spinbutton",class:y1("input"),value:i.value,style:d.value,disabled:e.disabled,readonly:e.disableInput,inputmode:e.integer?"numeric":"decimal",placeholder:e.placeholder,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":i.value,onBlur:b,onInput:g,onFocus:y,onMousedown:E},null),[[t.vShow,e.showInput]]),t.withDirectives(t.createVNode("button",t.mergeProps({type:"button",style:u.value,class:[y1("plus",{disabled:c.value}),{[Nr]:!c.value}],"aria-disabled":c.value||void 0},T("plus")),null),[[t.vShow,e.showPlus]])])}});const KPe=Xe(QPe),qPe=Xe(jPe),[GPe,al,XPe]=Fe("submit-bar"),ZPe={tip:String,label:String,price:Number,tipIcon:String,loading:Boolean,currency:rt("¥"),disabled:Boolean,textAlign:String,buttonText:String,buttonType:rt("danger"),buttonColor:String,suffixLabel:String,placeholder:Boolean,decimalLength:ft(2),safeAreaInsetBottom:Le};var JPe=t.defineComponent({name:GPe,props:ZPe,emits:["submit"],setup(e,{emit:n,slots:o}){const r=t.ref(),a=$g(r,al),l=()=>{const{price:u,label:f,currency:p,textAlign:m,suffixLabel:g,decimalLength:y}=e;if(typeof u=="number"){const b=(u/100).toFixed(+y).split("."),w=y?`.${b[1]}`:"";return t.createVNode("div",{class:al("text"),style:{textAlign:m}},[t.createVNode("span",null,[f||XPe("label")]),t.createVNode("span",{class:al("price")},[p,t.createVNode("span",{class:al("price-integer")},[b[0]]),w]),g&&t.createVNode("span",{class:al("suffix-label")},[g])])}},i=()=>{var u;const{tip:f,tipIcon:p}=e;if(o.tip||f)return t.createVNode("div",{class:al("tip")},[p&&t.createVNode(Ht,{class:al("tip-icon"),name:p},null),f&&t.createVNode("span",{class:al("tip-text")},[f]),(u=o.tip)==null?void 0:u.call(o)])},s=()=>n("submit"),c=()=>o.button?o.button():t.createVNode(kr,{round:!0,type:e.buttonType,text:e.buttonText,class:al("button",e.buttonType),color:e.buttonColor,loading:e.loading,disabled:e.disabled,onClick:s},null),d=()=>{var u,f;return t.createVNode("div",{ref:r,class:[al(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[(u=o.top)==null?void 0:u.call(o),i(),t.createVNode("div",{class:al("bar")},[(f=o.default)==null?void 0:f.call(o),l(),c()])])};return()=>e.placeholder?a(d):d()}});const eRe=Xe(JPe),[tRe,A_]=Fe("swipe-cell"),nRe={name:ft(""),disabled:Boolean,leftWidth:We,rightWidth:We,beforeClose:Function,stopPropagation:Boolean};var oRe=t.defineComponent({name:tRe,props:nRe,emits:["open","close","click"],setup(e,{emit:n,slots:o}){let r,a,l;const i=t.ref(),s=t.ref(),c=t.ref(),d=t.reactive({offset:0,dragging:!1}),u=zl(),f=T=>T.value?Nn(T).width:0,p=t.computed(()=>Kt(e.leftWidth)?+e.leftWidth:f(s)),m=t.computed(()=>Kt(e.rightWidth)?+e.rightWidth:f(c)),g=T=>{d.offset=T==="left"?p.value:-m.value,r||(r=!0,n("open",{name:e.name,position:T}))},y=T=>{d.offset=0,r&&(r=!1,n("close",{name:e.name,position:T}))},b=T=>{const S=Math.abs(d.offset),D=.15,v=r?1-D:D,I=T==="left"?p.value:m.value;I&&S>I*v?g(T):y(T)},w=T=>{e.disabled||(l=d.offset,u.start(T))},N=T=>{if(e.disabled)return;const{deltaX:S}=u;u.move(T),u.isHorizontal()&&(a=!0,d.dragging=!0,(!r||S.value*l<0)&&Fn(T,e.stopPropagation),d.offset=To(S.value+l,-m.value,p.value))},_=()=>{d.dragging&&(d.dragging=!1,b(d.offset>0?"left":"right"),setTimeout(()=>{a=!1},0))},C=(T="outside")=>{n("click",T),r&&!a&&gs(e.beforeClose,{args:[{name:e.name,position:T}],done:()=>y(T)})},k=(T,S)=>D=>{S&&D.stopPropagation(),C(T)},E=(T,S)=>{const D=o[T];if(D)return t.createVNode("div",{ref:S,class:A_(T),onClick:k(T,!0)},[D()])};return tn({open:g,close:y}),vg(i,()=>C("outside"),{eventName:"touchstart"}),no("touchmove",N,{target:i}),()=>{var T;const S={transform:`translate3d(${d.offset}px, 0, 0)`,transitionDuration:d.dragging?"0s":".6s"};return t.createVNode("div",{ref:i,class:A_(),onClick:k("cell",a),onTouchstartPassive:w,onTouchend:_,onTouchcancel:_},[t.createVNode("div",{class:A_("wrapper"),style:S},[E("left",s),(T=o.default)==null?void 0:T.call(o),E("right",c)])])}}});const rRe=Xe(oRe),[YV,WV]=Fe("tabbar"),aRe={route:Boolean,fixed:Le,border:Le,zIndex:We,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:ft(0),safeAreaInsetBottom:{type:Boolean,default:null}},QV=Symbol(YV);var lRe=t.defineComponent({name:YV,props:aRe,emits:["change","update:modelValue"],setup(e,{emit:n,slots:o}){const r=t.ref(),{linkChildren:a}=tr(QV),l=$g(r,WV),i=()=>{var d;return(d=e.safeAreaInsetBottom)!=null?d:e.fixed},s=()=>{var d;const{fixed:u,zIndex:f,border:p}=e;return t.createVNode("div",{ref:r,role:"tablist",style:Vc(f),class:[WV({fixed:u}),{[Lg]:p,"van-safe-area-bottom":i()}]},[(d=o.default)==null?void 0:d.call(o)])};return a({props:e,setActive:(d,u)=>{gs(e.beforeChange,{args:[d],done(){n("update:modelValue",d),n("change",d),u()}})}}),()=>e.fixed&&e.placeholder?l(s):s()}});const iRe=Xe(lRe),[sRe,O_]=Fe("tabbar-item"),cRe=bt({},ys,{dot:Boolean,icon:String,name:We,badge:We,badgeProps:Object,iconPrefix:String});var dRe=t.defineComponent({name:sRe,props:cRe,emits:["click"],setup(e,{emit:n,slots:o}){const r=$c(),a=t.getCurrentInstance().proxy,{parent:l,index:i}=Po(QV);if(!l){process.env.NODE_ENV!=="production"&&console.error("[Vant] <TabbarItem> must be a child component of <Tabbar>.");return}const s=t.computed(()=>{var u;const{route:f,modelValue:p}=l.props;if(f&&"$route"in a){const{$route:m}=a,{to:g}=e,y=Pr(g)?g:{path:g};return!!m.matched.find(b=>{const w="path"in y&&y.path===b.path,N="name"in y&&y.name===b.name;return w||N})}return((u=e.name)!=null?u:i.value)===p}),c=u=>{var f;s.value||l.setActive((f=e.name)!=null?f:i.value,r),n("click",u)},d=()=>{if(o.icon)return o.icon({active:s.value});if(e.icon)return t.createVNode(Ht,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var u;const{dot:f,badge:p}=e,{activeColor:m,inactiveColor:g}=l.props,y=s.value?m:g;return t.createVNode("div",{role:"tab",class:O_({active:s.value}),style:{color:y},tabindex:0,"aria-selected":s.value,onClick:c},[t.createVNode(jc,t.mergeProps({dot:f,class:O_("icon"),content:p},e.badgeProps),{default:d}),t.createVNode("div",{class:O_("text")},[(u=o.default)==null?void 0:u.call(o,{active:s.value})])])}}});const uRe=Xe(dRe),[fRe,Fu]=Fe("tree-select"),pRe={max:ft(1/0),items:fo(),height:ft(300),selectedIcon:rt("success"),mainActiveIndex:ft(0),activeId:{type:[Number,String,Array],default:0}};var hRe=t.defineComponent({name:fRe,props:pRe,emits:["click-nav","click-item","update:activeId","update:mainActiveIndex"],setup(e,{emit:n,slots:o}){const r=d=>Array.isArray(e.activeId)?e.activeId.includes(d):e.activeId===d,a=d=>{const u=()=>{if(d.disabled)return;let f;if(Array.isArray(e.activeId)){f=e.activeId.slice();const p=f.indexOf(d.id);p!==-1?f.splice(p,1):f.length<e.max&&f.push(d.id)}else f=d.id;n("update:activeId",f),n("click-item",d)};return t.createVNode("div",{key:d.id,class:["van-ellipsis",Fu("item",{active:r(d.id),disabled:d.disabled})],onClick:u},[d.text,r(d.id)&&t.createVNode(Ht,{name:e.selectedIcon,class:Fu("selected")},null)])},l=d=>{n("update:mainActiveIndex",d)},i=d=>n("click-nav",d),s=()=>{const d=e.items.map(u=>t.createVNode($V,{dot:u.dot,title:u.text,badge:u.badge,class:[Fu("nav-item"),u.className],disabled:u.disabled,onClick:i},null));return t.createVNode(LV,{class:Fu("nav"),modelValue:e.mainActiveIndex,onChange:l},{default:()=>[d]})},c=()=>{if(o.content)return o.content();const d=e.items[+e.mainActiveIndex]||{};if(d.children)return d.children.map(a)};return()=>t.createVNode("div",{class:Fu(),style:{height:rn(e.height)}},[s(),t.createVNode("div",{class:Fu("content")},[c()])])}});const mRe=Xe(hRe),[gRe,lo,yRe]=Fe("uploader");function KV(e,n){return new Promise(o=>{if(n==="file"){o();return}const r=new FileReader;r.onload=a=>{o(a.target.result)},n==="dataUrl"?r.readAsDataURL(e):n==="text"&&r.readAsText(e)})}function qV(e,n){return Dg(e).some(o=>o.file?Cu(n)?n(o.file):o.file.size>n:!1)}function bRe(e,n){const o=[],r=[];return e.forEach(a=>{qV(a,n)?r.push(a):o.push(a)}),{valid:o,invalid:r}}const MRe=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg|avif)/i,wRe=e=>MRe.test(e);function GV(e){return e.isImage?!0:e.file&&e.file.type?e.file.type.indexOf("image")===0:e.url?wRe(e.url):typeof e.content=="string"?e.content.indexOf("data:image")===0:!1}var CRe=t.defineComponent({props:{name:We,item:to(Object),index:Number,imageFit:String,lazyLoad:Boolean,deletable:Boolean,previewSize:[Number,String,Array],beforeDelete:Function},emits:["delete","preview"],setup(e,{emit:n,slots:o}){const r=()=>{const{status:d,message:u}=e.item;if(d==="uploading"||d==="failed"){const f=d==="failed"?t.createVNode(Ht,{name:"close",class:lo("mask-icon")},null):t.createVNode(Ga,{class:lo("loading")},null),p=Kt(u)&&u!=="";return t.createVNode("div",{class:lo("mask")},[f,p&&t.createVNode("div",{class:lo("mask-message")},[u])])}},a=d=>{const{name:u,item:f,index:p,beforeDelete:m}=e;d.stopPropagation(),gs(m,{args:[f,{name:u,index:p}],done:()=>n("delete")})},l=()=>n("preview"),i=()=>{if(e.deletable&&e.item.status!=="uploading"){const d=o["preview-delete"];return t.createVNode("div",{role:"button",class:lo("preview-delete",{shadow:!d}),tabindex:0,"aria-label":yRe("delete"),onClick:a},[d?d():t.createVNode(Ht,{name:"cross",class:lo("preview-delete-icon")},null)])}},s=()=>{if(o["preview-cover"]){const{index:d,item:u}=e;return t.createVNode("div",{class:lo("preview-cover")},[o["preview-cover"](bt({index:d},u))])}},c=()=>{const{item:d,lazyLoad:u,imageFit:f,previewSize:p}=e;return GV(d)?t.createVNode(Xg,{fit:f,src:d.objectUrl||d.content||d.url,class:lo("preview-image"),width:Array.isArray(p)?p[0]:p,height:Array.isArray(p)?p[1]:p,lazyLoad:u,onClick:l},{default:s}):t.createVNode("div",{class:lo("file"),style:hs(e.previewSize)},[t.createVNode(Ht,{class:lo("file-icon"),name:"description"},null),t.createVNode("div",{class:[lo("file-name"),"van-ellipsis"]},[d.file?d.file.name:d.url]),s()])};return()=>t.createVNode("div",{class:lo("preview")},[c(),r(),i()])}});const _Re={name:ft(""),accept:rt("image/*"),capture:String,multiple:Boolean,disabled:Boolean,readonly:Boolean,lazyLoad:Boolean,maxCount:ft(1/0),imageFit:rt("cover"),resultType:rt("dataUrl"),uploadIcon:rt("photograph"),uploadText:String,deletable:Le,afterRead:Function,showUpload:Le,modelValue:fo(),beforeRead:Function,beforeDelete:Function,previewSize:[Number,String,Array],previewImage:Le,previewOptions:Object,previewFullImage:Le,maxSize:{type:[Number,String,Function],default:1/0}};var NRe=t.defineComponent({name:gRe,props:_Re,emits:["delete","oversize","click-upload","close-preview","click-preview","update:modelValue"],setup(e,{emit:n,slots:o}){const r=t.ref(),a=[],l=(C=e.modelValue.length)=>({name:e.name,index:C}),i=()=>{r.value&&(r.value.value="")},s=C=>{if(i(),qV(C,e.maxSize))if(Array.isArray(C)){const k=bRe(C,e.maxSize);if(C=k.valid,n("oversize",k.invalid,l()),!C.length)return}else{n("oversize",C,l());return}C=t.reactive(C),n("update:modelValue",[...e.modelValue,...Dg(C)]),e.afterRead&&e.afterRead(C,l())},c=C=>{const{maxCount:k,modelValue:E,resultType:T}=e;if(Array.isArray(C)){const S=+k-E.length;C.length>S&&(C=C.slice(0,S)),Promise.all(C.map(D=>KV(D,T))).then(D=>{const v=C.map((I,B)=>{const $={file:I,status:"",message:"",objectUrl:URL.createObjectURL(I)};return D[B]&&($.content=D[B]),$});s(v)})}else KV(C,T).then(S=>{const D={file:C,status:"",message:"",objectUrl:URL.createObjectURL(C)};S&&(D.content=S),s(D)})},d=C=>{const{files:k}=C.target;if(e.disabled||!k||!k.length)return;const E=k.length===1?k[0]:[].slice.call(k);if(e.beforeRead){const T=e.beforeRead(E,l());if(!T){i();return}if(DC(T)){T.then(S=>{c(S||E)}).catch(i);return}}c(E)};let u;const f=()=>n("close-preview"),p=C=>{if(e.previewFullImage){const k=e.modelValue.filter(GV),E=k.map(T=>(T.objectUrl&&!T.url&&T.status!=="failed"&&(T.url=T.objectUrl,a.push(T.url)),T.url)).filter(Boolean);u=eh(bt({images:E,startPosition:k.indexOf(C),onClose:f},e.previewOptions))}},m=()=>{u&&u.close()},g=(C,k)=>{const E=e.modelValue.slice(0);E.splice(k,1),n("update:modelValue",E),n("delete",C,l(k))},y=(C,k)=>{const E=["imageFit","deletable","previewSize","beforeDelete"],T=bt(_n(e,E),_n(C,E,!0));return t.createVNode(CRe,t.mergeProps({item:C,index:k,onClick:()=>n("click-preview",C,l(k)),onDelete:()=>g(C,k),onPreview:()=>p(C)},_n(e,["name","lazyLoad"]),T),_n(o,["preview-cover","preview-delete"]))},b=()=>{if(e.previewImage)return e.modelValue.map(y)},w=C=>n("click-upload",C),N=()=>{if(e.modelValue.length>=e.maxCount||!e.showUpload)return;const C=e.readonly?null:t.createVNode("input",{ref:r,type:"file",class:lo("input"),accept:e.accept,capture:e.capture,multiple:e.multiple,disabled:e.disabled,onChange:d},null);return o.default?t.createVNode("div",{class:lo("input-wrapper"),onClick:w},[o.default(),C]):t.createVNode("div",{class:lo("upload",{readonly:e.readonly}),style:hs(e.previewSize),onClick:w},[t.createVNode(Ht,{name:e.uploadIcon,class:lo("upload-icon")},null),e.uploadText&&t.createVNode("span",{class:lo("upload-text")},[e.uploadText]),C])},_=()=>{r.value&&!e.disabled&&r.value.click()};return t.onBeforeUnmount(()=>{a.forEach(C=>URL.revokeObjectURL(C))}),tn({chooseFile:_,closeImagePreview:m}),fs(()=>e.modelValue),()=>t.createVNode("div",{class:lo()},[t.createVNode("div",{class:lo("wrapper",{disabled:e.disabled})},[b(),N()])])}});const kRe=Xe(NRe),ERe="3.6.12";function xRe(e){[oL,FC,RBe,WC,W9e,sLe,bL,jc,kr,_Le,DLe,nVe,Ja,lVe,KL,hVe,wVe,SVe,OVe,$Ve,jVe,HVe,QVe,ZVe,r$e,b_,f$e,M$e,S$e,ao,V$e,H$e,U$e,rV,Bl,GC,K$e,Z$e,Ht,Xg,eh,fje,pje,bje,Ga,q9,_je,xje,Fr,jje,uL,Hje,Qje,Pg,Y7e,Xa,q7e,tPe,a_,o_,lPe,iPe,fPe,bPe,LV,$V,DPe,OPe,VPe,FPe,KPe,qPe,VL,eRe,u_,rRe,f_,t_,e1,iRe,uRe,h_,Qg,Er,mRe,kRe].forEach(o=>{o.install?e.use(o):o.name&&e.component(o.name,o)})}var TRe={install:xRe,version:ERe},M1={},w1={};Object.defineProperty(w1,"__esModule",{value:!0}),w1.errorHandler=void 0;function SRe(e){if(!e)return;const n={message:"Um problema aconteceu e foi enviado para análise",type:"error",retryable:!0};return!window.navigator.onLine||e.message==="Network Error"?(n.message="Parece que você está offline.",n.type="info",n):typeof e=="string"?(n.message=e,n.retryable=!1,n):e.response&&e.response.status&&e.response.status>=400&&e.response.status<500?(n.message="Algumas informações não foram atualizadas.",n.retryable=!1,n):(e.response&&e.response.status>=500&&(n.message="Ops, encontramos um erro. Tente novamente mais tarde."),n)}w1.errorHandler=SRe,function(e){var n=yn&&yn.__createBinding||(Object.create?function(r,a,l,i){i===void 0&&(i=l),Object.defineProperty(r,i,{enumerable:!0,get:function(){return a[l]}})}:function(r,a,l,i){i===void 0&&(i=l),r[i]=a[l]}),o=yn&&yn.__exportStar||function(r,a){for(var l in r)l!=="default"&&!a.hasOwnProperty(l)&&n(a,r,l)};Object.defineProperty(e,"__esModule",{value:!0}),o(w1,e)}(M1);const Edt="",xdt="",DRe={name:"TopicItem",props:{multipleTargets:{type:Boolean},depth:{type:Number,default:0},propagate:{type:Function},propagateIncludes:{type:Function},parentsTopic:{type:Array,default:()=>[]},isCheckedFunction:{type:Function},populateTopic:{type:Function},hasChildChecked:{type:Function},parentIncludes:{type:Array,default:()=>[]},includesMap:{type:Object},parentChecked:{type:Boolean},topic:{type:Object},disabled:{type:Boolean},checked:{type:Boolean},selectedTopicKind:{type:String}},data:function(){return{showIncludes:!1,fetchingIncludes:!1,initialFetching:!0,fetched:!1,error:!1,includes:[],includesMapData:{},generator:null,buffer:[],hasMore:!1,limit:30}},created(){this.generator=this.combinedGenerator(),this.includesMapData=this.includesMap},watch:{async showIncludes(e){e===!0&&this.fetched===!1&&(this.fetched=!0,await this.fetch(),this.initialFetching=!1)}},computed:{includesNoData(){return{group:"Esta turma ainda não tem alunos",tag:"Esta tag ainda não tem turmas"}[this.topic.kind]},isSelectedEntityKind(){return this.topic.kind===this.selectedTopicKind},chanShowCheckbox(){return this.multipleTargets||this.isSelectedEntityKind&&!this.multipleTargets}},methods:{async*fetchToGenerator(e,n=null){const o={id:this.topic.id,kind:e,limit:this.limit+1,page:0};n&&(o.groupContext=n);let{hits:r,total:a}=await this.populateTopic(o);for(;a>0;){if(r.length>0){yield r.shift(),a--;continue}o.page+=1,r=(await this.populateTopic(o)).hits}},async*combinedGenerator(){this.topic.kind==="group"?(yield*this.fetchToGenerator("group","member"),yield*this.fetchToGenerator("group","user")):this.topic.kind==="member"?yield*this.fetchToGenerator("member","user"):yield*this.fetchToGenerator("tag")},async fetchPage(){const e=this.limit;for(;this.buffer.length<e+1;){let n=await this.generator.next();if(n.value){this.buffer.push(n.value);continue}break}return{results:this.buffer.splice(0,e),hasMore:this.buffer.length>0}},async fetch(){const e=Lc(this.includes);this.fetchingIncludes=!0;try{const{results:n,hasMore:o}=await this.fetchPage();this.includes=[...e,...n],this.includesMapData={...this.includesMapData,[this.topic.id]:this.includes},this.$emit("includes",{topic:this.topic,includes:this.includes}),this.hasMore=o}catch(n){this.error=n,this.$notify({...M1.errorHandler("Erro ao carregar mais."),duration:1e4,position:"bottom",showClose:!0})}finally{this.fetchingIncludes=!1}},color(e){return this.disabled?"gray-50":{member:"purple",group:"aqua",user:"link",tag:"warning"}[e]||"lead"},icon(e){return{member:"uil-graduation-cap",group:"uil-users-alt",user:"uil-user",tag:"uil-tag-alt"}[e]},isChildChecked(e){return this.isCheckedFunction(e)||this.isCheckedFunction(this.topic)},expandableKind(){return["group","tag","member"].includes(this.topic.kind)},toggleShowIncludes(){this.expandableKind&&(this.showIncludes=!this.showIncludes)},updateSelectedTopics(e,n){this.$emit("input",{topic:e,value:n})},topicIncludedChanged(e,n){this.parentsTopic.some(this.isCheckedFunction)&&!n&&this.parentsTopic.filter(this.isCheckedFunction).forEach(r=>{var a;this.updateSelectedTopics(r,!1),(a=this.includesMap[r.id])==null||a.forEach(l=>{this.hasChildChecked(l)||this.updateSelectedTopics(l,!0)})}),this.updateSelectedTopics(e,n)}}},vRe={class:"topic-item-group"},IRe={key:0,class:"topic-chevron mr-2"},ARe={class:"topic-icon"},ORe={key:0},zRe={class:"l-d-flex l-align-items-center my-2",style:{"justify-content":"center",width:"100%",height:"40px"}},BRe={key:1},LRe={class:"no-data-includes l-text-regular gray-60--text"},VRe={key:1},$Re={key:0,class:"mx-3 my-3"};function jRe(e,n,o,r,a,l){const i=t.resolveComponent("l-icon"),s=t.resolveComponent("l-checkbox"),c=t.resolveComponent("LCircularLoader"),d=t.resolveComponent("TopicItem",!0),u=t.resolveComponent("l-button"),f=t.resolveComponent("l-transition-expand");return t.openBlock(),t.createElementBlock("div",vRe,[t.createElementVNode("div",{class:t.normalizeClass("topic-item-group-header depth-"+o.depth+" l-d-flex l-align-items-center pl-3"+(l.isSelectedEntityKind&&o.depth>0?" user-topic-item-group-header":""))},[t.createElementVNode("div",{class:"l-flex l-d-flex l-align-items-center",onClick:n[0]||(n[0]=t.withModifiers(p=>l.isSelectedEntityKind?null:l.toggleShowIncludes(),["stop"]))},[l.isSelectedEntityKind?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",IRe,[t.createVNode(i,{class:"gray-60--text",size:"24"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.showIncludes?"uil-angle-down":"uil-angle-right"),1)]),_:1})])),t.createElementVNode("div",ARe,[t.createElementVNode("div",{class:t.normalizeClass(["bg-icon",l.color(o.topic.kind)])},null,2),t.createVNode(i,{class:t.normalizeClass(l.color(o.topic.kind)+"--text")},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(l.icon(o.topic.kind)),1)]),_:1},8,["class"])]),t.createElementVNode("div",{class:t.normalizeClass(["l-flex ml-2 mr-3 l-text-regular ellipsis-2",o.disabled?"gray-70--text":"lead-light--text"])},t.toDisplayString(o.topic.name),3)]),(t.openBlock(),t.createBlock(s,{disabled:o.disabled,checked:o.isCheckedFunction(o.topic),indeterminate:o.hasChildChecked(o.topic)&&!o.isCheckedFunction(o.topic),key:o.isCheckedFunction(o.topic),onChange:n[1]||(n[1]=p=>o.parentsTopic.length?l.topicIncludedChanged(o.topic,p):l.updateSelectedTopics(o.topic,p)),class:t.normalizeClass(["p-3",{"circular-checkbox":!o.multipleTargets}]),style:t.normalizeStyle({display:l.chanShowCheckbox?"block":"none"})},null,8,["disabled","checked","indeterminate","class","style"]))],2),n[8]||(n[8]=t.createElementVNode("hr",null,null,-1)),t.createVNode(f,null,{default:t.withCtx(()=>[e.showIncludes?(t.openBlock(),t.createElementBlock("div",ORe,[e.initialFetching?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",zRe,[t.createVNode(c,{width:40,height:40})]),n[5]||(n[5]=t.createElementVNode("hr",null,null,-1))],64)):(t.openBlock(),t.createElementBlock("div",BRe,[!e.includes.length&&!e.hasMore||e.error?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",LRe,t.toDisplayString(l.includesNoData),1),n[6]||(n[6]=t.createElementVNode("hr",null,null,-1))],64)):(t.openBlock(),t.createElementBlock("div",VRe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.includes,p=>(t.openBlock(),t.createBlock(d,{key:p.id,onInput:n[2]||(n[2]=m=>o.propagate(m)),onIncludes:n[3]||(n[3]=m=>o.propagateIncludes(m)),propagateIncludes:o.propagateIncludes,hasChildChecked:o.hasChildChecked,isCheckedFunction:l.isChildChecked,checked:l.isChildChecked(p),depth:o.depth+1,topic:p,selectedTopicKind:o.selectedTopicKind,parentsTopic:[...o.parentsTopic,o.topic],parentIncludes:e.includes,includesMap:e.includesMapData,parentChecked:o.checked,populateTopic:o.populateTopic,propagate:o.propagate,disabled:o.disabled,multipleTargets:o.multipleTargets},null,8,["propagateIncludes","hasChildChecked","isCheckedFunction","checked","depth","topic","selectedTopicKind","parentsTopic","parentIncludes","includesMap","parentChecked","populateTopic","propagate","disabled","multipleTargets"]))),128)),e.hasMore?(t.openBlock(),t.createElementBlock("div",$Re,[t.createVNode(u,{loading:e.fetchingIncludes,onClick:n[4]||(n[4]=p=>l.fetch()),plain:"",fill:""},{default:t.withCtx(()=>n[7]||(n[7]=[t.createTextVNode(" Carregar mais ")])),_:1},8,["loading"])])):t.createCommentVNode("",!0)]))]))])):t.createCommentVNode("",!0)]),_:1})])}const PRe=lt(DRe,[["render",jRe],["__scopeId","data-v-871ec2bc"]]),Tdt="",RRe={props:{term:{type:String}}},FRe={class:"l-d-flex l-align-items-center lead--text recent-topic"},HRe={class:"l-flex l-text-regular mx-2"};function URe(e,n,o,r,a,l){const i=t.resolveComponent("l-icon"),s=t.resolveComponent("l-button");return t.openBlock(),t.createElementBlock("div",FRe,[t.createVNode(i,{size:"16"},{default:t.withCtx(()=>n[1]||(n[1]=[t.createTextVNode("uil-history")])),_:1}),t.createElementVNode("div",HRe,t.toDisplayString(o.term),1),t.createVNode(s,{onClick:n[0]||(n[0]=t.withModifiers(c=>e.$emit("remove"),["stop"])),circle:"",icon:"uil-multiply",class:"border-none lead--text f-18 p-1"})])}const YRe=lt(RRe,[["render",URe],["__scopeId","data-v-a8c57ab5"]]),Sdt="",WRe={props:{query:{type:Object},typing:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasAnySelectedTopic:{type:Boolean,default:!1},kinds:{type:Array}},data:e=>{const n=wo.cloneDeep(e.query);return{localQuery:n,queryKind:n.kind}},computed:{filteredKinds(){return this.kinds.filter(e=>this.localQuery.q||!(e.value==="member"||e.value==="user"))}},watch:{queryKind:{handler(e){this.localQuery.kind=e},immediate:!0,deep:!0}},methods:{clearInput(){this.localQuery.q=null,this.updateQuery({target:{value:null}})},isSelected(e){return er(this.localQuery,"kind",null)===e},updateQuery(e){const n=er(e,"target.value",null);this.$emit("input",{q:n,kind:"*",page:0})},setInputClass(e){return"search-input-wrapper ml-2 l-flex"+" "+e},back(){this.$emit("close")},save(){this.$emit("save")}}},QRe={class:"app-navigation"},KRe={class:"search-topics-header l-d-flex l-align-items-center pl-2 pr-3"},qRe={key:0,class:"filter-kind l-d-flex px-3 pb-2"};function GRe(e,n,o,r,a,l){const i=t.resolveComponent("l-button"),s=t.resolveComponent("l-icon"),c=t.resolveComponent("l-radio-button"),d=t.resolveComponent("l-radio-group"),u=t.resolveComponent("l-linear-progress");return t.openBlock(),t.createElementBlock("div",QRe,[t.createElementVNode("div",KRe,[t.createVNode(i,{onClick:l.back,circle:"",icon:"uil-arrow-left",class:"border-none gray-70--text f-24 p-1"},null,8,["onClick"]),t.createElementVNode("div",{class:t.normalizeClass(l.setInputClass("blurred"))},[t.withDirectives(t.createElementVNode("input",{style:{width:"100%"},autocomplete:"off",placeholder:"Pesquisar","onUpdate:modelValue":n[0]||(n[0]=f=>e.localQuery.q=f),onFocus:n[1]||(n[1]=f=>l.setInputClass("focused")),onBlur:n[2]||(n[2]=f=>l.setInputClass("blurred")),onKeypress:n[3]||(n[3]=t.withKeys(f=>f.target.blur(),["enter"])),onInput:n[4]||(n[4]=(...f)=>l.updateQuery&&l.updateQuery(...f))},null,544),[[t.vModelText,e.localQuery.q]]),e.localQuery.q?(t.openBlock(),t.createBlock(s,{key:0,class:"lead-light--text cursor-pointer",onClick:l.clearInput,size:"16"},{default:t.withCtx(()=>n[6]||(n[6]=[t.createTextVNode(" uil-times ")])),_:1},8,["onClick"])):t.createCommentVNode("",!0)],2),t.createVNode(i,{disabled:!o.hasAnySelectedTopic,onClick:l.save,loading:o.loading||o.typing,type:"primary",class:"save-button bold l-d-flex l-align-items-center f-14 ml-2"},{default:t.withCtx(()=>n[7]||(n[7]=[t.createTextVNode(" Salvar ")])),_:1},8,["disabled","onClick","loading"])]),e.localQuery.q||o.query.kind!=="*"?(t.openBlock(),t.createElementBlock("div",qRe,[t.createVNode(d,{modelValue:e.queryKind,"onUpdate:modelValue":n[5]||(n[5]=f=>e.queryKind=f),class:"l-flex-nowrap",size:"small",separated:"",color:"lead-light"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.filteredKinds,f=>(t.openBlock(),t.createBlock(c,{key:f.value,label:f.value},{default:t.withCtx(()=>[f.icon?(t.openBlock(),t.createBlock(s,{key:0,color:l.isSelected(f.value)?"white":"lead-light",size:"13"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f.icon),1)]),_:2},1032,["color"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(f.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),o.loading||o.typing?(t.openBlock(),t.createBlock(u,{key:1})):t.createCommentVNode("",!0)])}const XRe=lt(WRe,[["render",GRe],["__scopeId","data-v-06b36f9f"]]),XV=Symbol.for("GlobalStack"),ZV=class{static createStackInstance(n){if(console.warn(`[VueModals] No ModalStack was found for name "${n}". Using Modals without a stack instance causes one to be created as default at the end of the document body.`),this.globalStackInstances.get(n))return console.warn(`[VueModals] A ModalStack instance with the name "${n}" already exists. Returning stack.`),this.globalStackInstances.get(n);const o=document.createElement("aside");document.body.insertAdjacentElement("beforeend",o);const r=t.createApp(B_,{name:n});return r.mount(o),this.globalStackInstances.set(n,r),r}static stack(n="default"){if(n==="default"&&!this.globalStackInstances.has("default"))return this.createStackInstance("default");if(this.globalStackInstances.has(n))return this.globalStackInstances.get(n);throw new Error(`[VueModals] No stack instance found for name "${n??"default"}". Create a ModalStack instance with this name to use it.`)}static open(n){return this.stack(n.stack).push(n)}static registerStack(n,o){console.warn("register",n,o),this.globalStackInstances.has(n)?console.warn(`[VueModals] Multiple instances of ModalStack must have unique names. Duplicate name found for ModalStack "${n}".`):this.globalStackInstances.set(n,o)}static unregisterStack(n,o){console.warn("unregister",n,o),this.globalStackInstances.get(n)===o?this.globalStackInstances.delete(n):console.warn(`[VueModals] Could not unregister ModalStack because a duplicate name was found "${n}".`)}};ZV.globalStackInstances=window[XV]||(window[XV]=new Map);let Hu=ZV;const ZRe=t.defineComponent({props:{stack:{type:Array},index:{type:Number},modal:{type:Object},position:{type:String,default:"right"}},computed:{ensuredPosition(){return this.position==="left"?"left":"right"},depth(){const e=this.stack.filter(o=>{const r=o.options.position??"right";return o.options.layout==="drawer"&&r===this.ensuredPosition}),n=e.findIndex(o=>o===this.modal);return e.length-n-1}}}),z_=(e,n)=>{const o=e.__vccOpts||e;for(const[r,a]of n)o[r]=a;return o},JRe=["position"];function eFe(e,n,o,r,a,l){return t.openBlock(),t.createElementBlock("section",{layout:"drawer",position:e.ensuredPosition,style:t.normalizeStyle({"--depth":e.depth})},[t.renderSlot(e.$slots,"default")],12,JRe)}const tFe=z_(ZRe,[["render",eFe]]),nFe=t.defineComponent({computed:{classes(){return{center:!0}}},props:{stack:{type:Array},index:{type:Number},modal:{type:Object},showClose:{type:Object}}}),oFe={key:0,class:"header"},rFe={class:"content"};function aFe(e,n,o,r,a,l){return t.openBlock(),t.createElementBlock("section",{layout:"dialog",class:t.normalizeClass(e.classes)},[e.showClose?(t.openBlock(),t.createElementBlock("div",oFe,[t.createElementVNode("button",{class:"close-button",onClick:n[0]||(n[0]=i=>e.$emit("close"))},"×")])):t.createCommentVNode("",!0),t.createElementVNode("div",rFe,[t.renderSlot(e.$slots,"default")]),n[1]||(n[1]=t.createElementVNode("div",{class:"footer"},null,-1))],2)}const lFe=z_(nFe,[["render",aFe]]);var iFe=1;const JV=Symbol("Reject"),e$=Symbol("Resolve"),ch=Symbol("Fulfilled"),sFe={drawer:tFe,dialog:lFe},cFe=t.defineComponent({name:"vue-modals-stack",data(){return{stack:[]}},created(){Hu.registerStack(this.name,this)},beforeUnmount(){Hu.unregisterStack(this.name,this)},methods:{getLayoutComponentFromModalLayout(e){return typeof e=="string"?sFe[e]??e:e},removeFromStack(e){const n=this.stack.findIndex(o=>o===e);n<0||this.stack.splice(n,1)},addToStack(e){this.stack.push(e)},push(e){const n=this.buildModal(e);return this.addToStack(n),n},close(e,n){return this.canClose(e)?(this.destroy(e,n),!0):!1},layoutForModal(e){const n=e.layout??e.options.layout??this.layout??"section",o=C1.app;if(typeof n=="string"){const r=o.component(n);if(r)return r}return n},canClose(e){var n;const o=new Event("beforeClose",{cancelable:!0});if(e.options.beforeClose&&(e.options.beforeClose(o),o.defaultPrevented))return!1;const r=(n=this.$refs[e.id])==null?void 0:n[0];return!(r&&typeof r.beforeClose=="function"&&(r.beforeClose(o),o.defaultPrevented)||!this.stack.filter(a=>a.options.parent===r).every(a=>this.canClose(a)))},destroy(e,n){e[ch]||(e[ch]=!0,e[JV](n??new Error("Modal closed"))),this.removeFromStack(e)},answer(e,n){e[ch]||(e[ch]=!0,e[e$](n)),this.removeFromStack(e)},pop(){if(this.stack.length){const e=this.stack[this.stack.length-1];if(this.close(e))return e}return null},popUntil(e){if(!(this.stack.findIndex(n=>e===n)<0))for(;this.stack.length>0;){const n=this.pop();if(n===e||n===null)return}},clear(){for(;this.stack.length;)this.destroy(this.stack[this.stack.length-1])},buildModal(e){var n;let o,r;const a=new Promise((l,i)=>{o=l,r=s=>"default"in e?l(e.default):i(s)});return!e.layout&&(n=e.component)!=null&&n.layout&&(e.layout=e.component.layout),e.parent&&t.onBeforeUnmount(()=>{this.destroy(a,new Error("Component was destroyed"))}),a.id=iFe++,a.stack=this,a.options=e,a.layout=this.layoutForModal(a),a.position=e.position,a[JV]=r,a[e$]=o,a[ch]=!1,a.close=l=>this.close(a,l),a.destroy=l=>this.destroy(a,l),a},onNameChanged(e,n){n&&Hu.unregisterStack(n,this),e&&Hu.registerStack(e,this)}},props:{name:{type:String,default:"default"},layout:{type:String,default:"drawer"}},watch:{name:[{handler:"onNameChanged"}]}}),dFe=["onClick"];function uFe(e,n,o,r,a,l){return t.openBlock(),t.createBlock(t.TransitionGroup,{tag:"div",stack:e.name,name:"modal"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.stack,(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i.id},[i.options.hideOverlay?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(`z-index: ${1e3+s}`),class:t.normalizeClass(["vue-modals-overlay",{below:s<e.stack.length-1,far:s<e.stack.length-4}]),onClick:c=>i.options.clickToClose!==!1&&e.close(i)},null,14,dFe)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.getLayoutComponentFromModalLayout(i.layout)),{"modal-id":i.id,modal:i,showClose:i.options.showClose,class:"vue-modals-layout",style:t.normalizeStyle(`z-index: ${1001+s}`),stack:e.stack,index:s,position:i.position,onClose:c=>e.close(i,c),onDestroy:c=>e.destroy(i,c),onAnswer:c=>e.answer(i,c)},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.options.component),t.mergeProps({ref_for:!0,ref:i.id},i.options.props,{onClose:c=>e.close(i,c),onDestroy:c=>e.destroy(i,c),onAnswer:c=>e.answer(i,c)}),null,16,["onClose","onDestroy","onAnswer"]))]),_:2},1064,["modal-id","modal","showClose","style","stack","index","position","onClose","onDestroy","onAnswer"]))],64))),128))]),_:1},8,["stack"])}const B_=z_(cFe,[["render",uFe]]),C1={app:void 0,install(e){e.component("vue-modals-stack",B_),e.config.globalProperties.$modals=Hu,C1.app=e},Modals:Hu,ModalStack:B_};async function fFe(e){const n=window.LayersPortal?window.LayersPortal.platform:"shell";if(n==="shell"||n==="iframe"){const r=C1.Modals.stack().push({layout:"dialog",showClose:!1,component:Zw,props:{title:e.title,content:e.content,buttonCloseLabel:e.buttonCloseLabel,buttonConfirmLabel:e.buttonConfirmLabel}});try{return await r}catch{return!1}}return window.confirm(e.content||e.title)}async function pFe(){const e=C1.Modals.stack();window.history.go(1);const n=e.push({layout:"dialog",showClose:!1,component:Zw,props:{buttonCloseLabel:"Permanecer aqui",buttonConfirmLabel:"Descartar alterações",title:"Alterações não salvas",content:"Você quer mesmo sair? Existem alterações que não foram salvas. Se você sair, suas alterações serão perdidas."}});try{const o=await n;if(o)return o}catch{}}const hFe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIwIiBoZWlnaHQ9IjE4MyIgdmlld0JveD0iMCAwIDIyMCAxODMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNODMuMjk5NCAxNjQuMjk4TDgzLjI5OSAxNjQuMjk4Qzc5LjA5NiAxNjYuMjIgNzUuMTk0NiAxNjguMDA1IDcxLjMxNDcgMTY5LjIxQzUxLjk2MDMgMTc1LjIyMyAzMS4wNjI2IDE3NS45MjIgMTAuMjk0OCAxNDguMjIxQy0xMC40NzI5IDEyMC41MTkgLTAuMzE2MjIyIDg0Ljk0NTQgNDUuMjkwOSA3MC4xOTEyQzU3LjIwOTMgNjYuMzM5IDYyLjgwOTQgNTcuNzI3NSA2OS41NjAzIDQ3LjM0NjFDNzYuNjg1MSAzNi4zODk5IDg1LjA5MTcgMjMuNDYyNSAxMDMuNTYgMTIuMDc4MkMxNTIuNTU1IC0xOC4xMTMzIDE5Ny4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jkzIDQ0LjA1MjUgMTM5LjAxNSA0MS43OTM4QzEzOC4zMzcgMzkuNTM1MSAxMzcuNTM0IDM3Ljg2MzggMTQxLjkzMSAzNy4wMDM2QzE0Ni4zNjYgMzYuMDYxOCAxNDkuNzg1IDM5Ljk2MTMgMTQxLjI5OCA0Ny4zOTVaIiBmaWxsPSIjMjYzMjM4Ii8+Cjwvc3ZnPgo=",Ddt="",mFe={tagName:"l-search-topics",name:"LSearchTopics",components:{TopicItemGroup:PRe,RecentTermSearched:YRe,SearchTopicsHeader:XRe,[WC.name]:WC},props:{multipleTargets:{type:Boolean,default:!0},canSendForAll:{type:Boolean,default:!1},searchTopics:{type:Function},populateTopic:{type:Function},alreadySelectedTopics:{type:Array},recentTopicsSearched:{type:Object},selectedTopicKind:{type:String,default:"user"}},data:function(){return{forAllTagChecked:!1,showSelected:!1,selectedTopics:[],includesMap:{},querySearchTopics:{q:null,kind:"*",page:0},searchedTopics:{tag:{hits:[],total:0},group:{hits:[],total:0},member:{hits:[],total:0},user:{hits:[],total:0}},total:0,kinds:["*","tag","group","member","user"],kindsIcons:{tag:"uil-tag-alt",group:"uil-users-alt",member:"uil-graduation-cap",user:"uil-user","*":""},typing:!1,loading:!1,loadingMore:!1}},watch:{selectedTopics(e){(!e||e.length===0)&&(this.showSelected=!1)},querySearchTopics(){!this.typing&&!this.loadingMore&&(this.typing=!0),this.searchDebounced()}},computed:{canShowSendForAll(){return this.canSendForAll&&!this.hasQuery&&this.multipleTargets},searchingSpan(){var e;return this.querySearchTopics.q?this.querySearchTopics.q:this.querySearchTopics.kind==="*"?"":(e=this.getKindNamePlural(this.querySearchTopics.kind))==null?void 0:e.toLowerCase()},hasQuery(){return this.querySearchTopics.q||this.querySearchTopics.kind!=="*"},showRecentSearchedTopics(){return this.recentTopicsSearched.data?this.recentTopicsSearched.data.length>0&&!this.hasQuery:!1},filteredSearchedTopics(){return{...this.searchedTopics,tag:{hits:this.searchedTopics.tag.hits.filter(e=>e.id!=="*"),total:this.searchedTopics.tag.total}}},forAllTag:{get(){return this.forAllTagChecked},set(e){const n=this.searchedTopics.tag.hits;if(this.selectedTopics&&this.selectedTopics.length&&this.selectedTopics.find(o=>o.id!=="*")&&e!=="confirm"){this.showForAllTagAlert().then(o=>{if(!o){this.forAllTagChecked=!1;return}const r=n.find(a=>a.id==="*");this.setSelectedTopics([r]),this.forAllTagChecked=!0});return}if(e=!!e,e&&this.searchedTopics&&n){const o=n.find(r=>r.id==="*");this.setSelectedTopics([o])}else this.setSelectedTopics([]);this.forAllTagChecked=e}},recentTopicsFiltered(){return Lc(this.recentTopicsSearched.data).reverse().slice(0,3)},topicsSummary(){if(!this.selectedTopics||!this.selectedTopics.length)return"";if(this.forAllTagChecked)return"Enviando para todos";const e=[];return this.kinds.filter(n=>n!=="*").forEach(n=>{var r,a;const o=JB(this.selectedTopics,{kind:n}).length;o===1?e.push(`1 ${(r=this.getKindName(n))==null?void 0:r.toLowerCase()}`):o>1&&e.push(`${o} ${(a=this.getKindNamePlural(n))==null?void 0:a.toLowerCase()}`)}),e.length?e.join(", "):null},hasAnySearchedTopic(){return this.total?this.total>0:null},headerKinds(){return this.kinds.filter(e=>e!=="tag"||this.canSendForAll).map(e=>({value:e,name:this.getKindNamePlural(e),icon:this.kindsIcons[e]}))},resultKinds(){return this.kinds.filter(n=>n!=="*").filter(n=>this.filteredSearchedTopics[n].total&&this.filteredSearchedTopics[n].hits.length)},totalLabel(){return this.total===1?"1 resultado encontrado":this.total+" resultados encontrados"},isAllEntities(){return this.querySearchTopics.kind==="*"}},async created(){this.loading=!0;try{const e=await this.searchTopics(this.querySearchTopics);this.searchedTopics=e.result,this.total=e.total}catch{this.$notify({...M1.errorHandler("Erro ao carregar o público alvo."),duration:1e4,position:"bottom",showClose:!0})}finally{this.loading=!1}this.selectedTopics=this.alreadySelectedTopics,this.selectedTopics&&this.selectedTopics.length&&this.selectedTopics.find(e=>e.id==="*"&&e.kind==="tag")&&this.multipleTargets&&(this.forAllTag=!0)},unmounted(){this.setSelectedTopics([])},methods:{searchDebounced:vOe(async function(){er(this.querySearchTopics,"q.length",null)>3&&this.recentTopicsSearched.push(this.querySearchTopics.q),await this.getSearchedTopics(this.querySearchTopics),this.typing=!1},500,{leading:!1,trailing:!0}),useRecentTermSearched(e){this.setQuerySearchTopics({q:e,kind:"*"})},updateIncludesMap({topic:e,includes:n}){this.includesMap[e.id]=n},hasChildChecked(e){const n=this.includesMap[e.id];return n?n.some(this.isChecked)||n.some(this.hasChildChecked):!1},getKindName(e,n="pt-br"){return{"pt-br":{"*":"Procurar em tudo",tag:"Marcador",group:"Turma",member:"Aluno",user:"Usuário"},"en-us":{"*":"Search all",tag:"Tag",group:"Group",member:"Member",user:"User"}}[n][e]},getKindNamePlural(e,n="pt-br"){return{"pt-br":{"*":"Procurar em tudo",tag:"Marcadores",group:"Turmas",member:"Alunos",user:"Usuários"},"en-us":{"*":"Search all",tag:"Tags",group:"Groups",member:"Members",user:"Users"}}[n][e]},async getSearchedTopics(e){this.loadingMore||(this.loading=!0);try{const n=await this.searchTopics(e);if(e.page>0){const o=Lc(this.searchedTopics);await Promise.all(o8e(n.result).map(r=>{o[r]||(o[r]={hits:[],total:null}),o[r].hits=[...o[r].hits,...n.result[r].hits]})),this.searchedTopics=o}else this.searchedTopics=n.result,this.total=n.total}catch{this.$notify({...M1.errorHandler("Erro ao buscar o público desejado."),duration:1e4,position:"bottom",showClose:!0})}finally{this.loading=!1,this.loadingMore=!1}},loadMore(){this.loadingMore=!0;const e=er(this.querySearchTopics,"page",0)+1,n=er(this.querySearchTopics,"q",null),o=er(this.querySearchTopics,"kind",null);this.setQuerySearchTopics({q:n,kind:o,page:e})},getTopicHits(e){return er(this.filteredSearchedTopics,`${e}.hits`,[])},getTopicTotal(e){return er(this.filteredSearchedTopics,`${e}.total`,[])},needShowMore(e){return this.getTopicTotal(e)>this.getTopicHits(e).length},isChecked(e){return this.forAllTagChecked?!0:this.selectedTopics.filter(n=>n.kind===e.kind&&n.id===e.id).length!==0},filterForKind(e){this.setQuerySearchTopics({q:this.querySearchTopics.q,kind:e,page:0})},setSelectedTopics(e){this.selectedTopics=e},removeFromRecentTopicsSearched(e){this.recentTopicsSearched.remove(e)},setQuerySearchTopics(e){this.querySearchTopics=e},async showForAllTagAlert(){const e=await fFe({title:"Você já selecionou alguns destinatários e eles serão substituídos pela tag todos.",buttonCloseLabel:"Cancelar",buttonConfirmLabel:"Continuar"});if(e)return e},addTopic(e){if(this.selectedTopics.filter(o=>o.id===e.id&&o.kind===e.kind).length===0){const o=Lc(this.selectedTopics);o.push(e),this.setSelectedTopics(o)}},removeTopic(e){const n=this.selectedTopics.findIndex(r=>r.id===e.id&&r.kind===e.kind);if(n==-1)return;const o=Lc(this.selectedTopics);o.splice(n,1),this.setSelectedTopics(o)},updateSelectedTopics({topic:e,value:n}){if(!this.multipleTargets)return n?this.setSelectedTopics([e]):this.setSelectedTopics([]);if(!n){this.removeTopic(e);return}this.addTopic(e)},onSave(){const e=this.selectedTopics.map(n=>({hash:n.hash,name:n.name,kind:n.kind,id:n.id}));this.$emit("answer",e)},async onClose(){const e=Lc(this.alreadySelectedTopics).map(a=>a.kind+a.id),n=Lc(this.selectedTopics).map(a=>a.kind+a.id);if($ze(n,e).length===0){this.$emit("close");return}await pFe()&&this.$emit("close")},onInput(e){this.querySearchTopics=e}}},gFe={class:"search-topics-page l-col l-d-flex column"},yFe={class:"px-0 py-2 l-container scroll-y l-flex-grow-1"},bFe={key:0,class:"gray-70--text searching-label mx-3"},MFe={key:1,class:"mb-5"},wFe={key:0,class:"recent-search mb-3 mx-3"},CFe={key:1,class:"topic-item-tag-for-all mx-3"},_Fe={key:2,class:"results-total mb-2 px-3"},NFe={key:0,class:"topic-kind-title gray-70--text mb-2 px-3"},kFe={key:1,class:"m-3"},EFe={key:2,class:"m-3"},xFe={key:2,style:{display:"flex","flex-direction":"column",height:"100%","align-items":"stretch"}},TFe={key:0,class:"topic-item-tag-for-all empty-tags-groups-for-all mx-3"},SFe={key:1,class:"empty-tags-groups-placeholder"},DFe={key:2,class:"not-found-result mx-3"},vFe={key:0,class:"selected-topics"},IFe={class:"ml-2 topics-selected-summary l-flex link--text"},AFe={class:"l-d-flex m-3 l-align-items-center"},OFe={class:"mx-3 mb-3"};function zFe(e,n,o,r,a,l){const i=t.resolveComponent("SearchTopicsHeader"),s=t.resolveComponent("RecentTermSearched"),c=t.resolveComponent("l-checkbox"),d=t.resolveComponent("TopicItemGroup"),u=t.resolveComponent("l-button"),f=t.resolveComponent("l-target-chip"),p=t.resolveComponent("van-action-sheet");return t.openBlock(),t.createElementBlock("div",gFe,[t.createVNode(i,{class:"drawer-search-topics-header",kinds:l.headerKinds,query:e.querySearchTopics,typing:e.typing,loading:e.loading,hasAnySelectedTopic:e.selectedTopics.length>0,onSave:l.onSave,onClose:l.onClose,onInput:l.onInput},null,8,["kinds","query","typing","loading","hasAnySelectedTopic","onSave","onClose","onInput"]),t.createElementVNode("div",yFe,[e.loading||e.typing?(t.openBlock(),t.createElementBlock("div",bFe," Procurando "+t.toDisplayString(l.searchingSpan)+"... ",1)):l.hasAnySearchedTopic?(t.openBlock(),t.createElementBlock("div",MFe,[l.showRecentSearchedTopics?(t.openBlock(),t.createElementBlock("div",wFe,[n[7]||(n[7]=t.createElementVNode("div",{class:"recent-search-title gray-70--text mb-2 l-text-regular"}," Buscas recentes ",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.recentTopicsFiltered,(m,g)=>(t.openBlock(),t.createBlock(s,{onClick:y=>l.useRecentTermSearched(m),term:m,key:g,class:"mb-2 cursor-pointer",onRemove:y=>l.removeFromRecentTopicsSearched(m)},null,8,["onClick","term","onRemove"]))),128))])):t.createCommentVNode("",!0),l.canShowSendForAll?(t.openBlock(),t.createElementBlock("div",CFe,[n[8]||(n[8]=t.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Enviar para todos ",-1)),t.createVNode(c,{modelValue:l.forAllTag,"onUpdate:modelValue":n[0]||(n[0]=m=>l.forAllTag=m)},null,8,["modelValue"])])):t.createCommentVNode("",!0),e.total>=1&&l.hasQuery?(t.openBlock(),t.createElementBlock("div",_Fe,t.toDisplayString(l.totalLabel),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.resultKinds,m=>(t.openBlock(),t.createElementBlock("div",{class:"topics-searched mb-3",key:m},[l.isAllEntities?(t.openBlock(),t.createElementBlock("h6",NFe,t.toDisplayString(l.getKindNamePlural(m))+" ("+t.toDisplayString(l.getTopicTotal(m))+") ",1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.getTopicHits(m),g=>(t.openBlock(),t.createBlock(d,{onInput:n[1]||(n[1]=y=>l.updateSelectedTopics(y)),onIncludes:l.updateIncludesMap,propagateIncludes:l.updateIncludesMap,propagate:l.updateSelectedTopics,hasChildChecked:l.hasChildChecked,topic:g,selectedTopicKind:o.selectedTopicKind,parentTopic:g,populateTopic:o.populateTopic,disabled:e.forAllTagChecked,checked:l.isChecked(g),isCheckedFunction:l.isChecked,multipleTargets:o.multipleTargets,key:g.id},null,8,["onIncludes","propagateIncludes","propagate","hasChildChecked","topic","selectedTopicKind","parentTopic","populateTopic","disabled","checked","isCheckedFunction","multipleTargets"]))),128)),l.isAllEntities&&l.needShowMore(m)?(t.openBlock(),t.createElementBlock("div",kFe,[t.createVNode(u,{loading:e.loading,onClick:g=>l.filterForKind(m),plain:"",fill:""},{default:t.withCtx(()=>{var g;return[t.createTextVNode(" Mostrar mais "+t.toDisplayString((g=l.getKindNamePlural(m))==null?void 0:g.toLowerCase()),1)]}),_:2},1032,["loading","onClick"])])):t.createCommentVNode("",!0),!l.isAllEntities&&l.needShowMore(m)?(t.openBlock(),t.createElementBlock("div",EFe,[t.createVNode(u,{class:"ma-3",loading:e.loadingMore,onClick:n[2]||(n[2]=g=>l.loadMore()),plain:"",fill:""},{default:t.withCtx(()=>n[9]||(n[9]=[t.createTextVNode(" Carregar mais ")])),_:1},8,["loading"])])):t.createCommentVNode("",!0)]))),128))])):(t.openBlock(),t.createElementBlock("div",xFe,[o.canSendForAll&&!this.hasQuery?(t.openBlock(),t.createElementBlock("div",TFe,[n[10]||(n[10]=t.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Enviar para todos ",-1)),t.createVNode(c,{modelValue:l.forAllTag,"onUpdate:modelValue":n[3]||(n[3]=m=>l.forAllTag=m)},null,8,["modelValue"])])):t.createCommentVNode("",!0),e.querySearchTopics.q?!e.typing&&!e.loading?(t.openBlock(),t.createElementBlock("div",DFe,n[12]||(n[12]=[t.createElementVNode("h4",{class:"bold lead--text m-0"},"Não encontramos resultados",-1),t.createElementVNode("p",{class:"lead-light--text l-text-regular mt-3 mb-0"}," Tenha certeza que você está digitando uma palavra-chave correta ",-1)]))):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",SFe,n[11]||(n[11]=[t.createElementVNode("img",{alt:"Search Topics",src:hFe},null,-1),t.createElementVNode("div",{class:"empty-tags-groups-placeholder-text mt-2"},[t.createElementVNode("h3",null,"Busque por marcadores, turmas, alunos e usuários"),t.createElementVNode("span",{class:"text-small lead-light--text"}," Quando você tiver marcadores e turmas, eles aparecerão aqui. ")],-1)])))]))]),e.selectedTopics&&e.selectedTopics.length?(t.openBlock(),t.createElementBlock("div",vFe,[t.createElementVNode("button",{class:"selected-topics-button l-d-flex l-align-items-center",style:{padding:"0"},onClick:n[4]||(n[4]=m=>e.forAllTagChecked?l.forAllTag=!1:e.showSelected=!0)},[n[13]||(n[13]=t.createElementVNode("div",{class:"selected-topics-button-bg"},null,-1)),t.createElementVNode("div",IFe,t.toDisplayString(l.topicsSummary),1),t.createVNode(u,{class:"mr-2 bold link--text",type:"text"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.forAllTagChecked?"Limpar":"ver tudo"),1)]),_:1})]),t.createVNode(p,{show:e.showSelected,"onUpdate:show":n[6]||(n[6]=m=>e.showSelected=m),"lock-scroll":"",style:{"max-height":"500px","min-height":"180px"}},{default:t.withCtx(()=>[t.createElementVNode("div",AFe,[n[14]||(n[14]=t.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Destinatários selecionados ",-1)),t.createVNode(u,{onClick:n[5]||(n[5]=m=>e.showSelected=!1),circle:"",icon:"uil-multiply",class:"border-none gray-70--text f-24 p-1"})]),t.createElementVNode("div",OFe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedTopics,m=>(t.openBlock(),t.createBlock(f,{onRemove:g=>l.removeTopic(m),key:m.id,kind:m.kind,name:m.name,closeable:!0,class:"mr-2 mb-2"},null,8,["onRemove","kind","name"]))),128))])]),_:1},8,["show"])])):t.createCommentVNode("",!0)])}const BFe=Object.freeze(Object.defineProperty({__proto__:null,default:lt(mFe,[["render",zFe],["__scopeId","data-v-24406b3f"]])},Symbol.toStringTag,{value:"Module"})),Idt="",LFe={name:"LSwitch",components:{ElSwitch:JM},props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],methods:{onUpdateModelValue(e){this.$emit("update:modelValue",e)}}};function VFe(e,n,o,r,a,l){const i=t.resolveComponent("l-icon"),s=t.resolveComponent("el-switch");return t.openBlock(),t.createBlock(s,t.mergeProps(e.$attrs,{"model-value":o.modelValue,"onUpdate:modelValue":l.onUpdateModelValue,class:"l-switch"}),{"active-action":t.withCtx(()=>[t.createVNode(i,null,{default:t.withCtx(()=>n[0]||(n[0]=[t.createTextVNode("uil-check")])),_:1})]),"inactive-action":t.withCtx(()=>[t.createVNode(i,null,{default:t.withCtx(()=>n[1]||(n[1]=[t.createTextVNode("uil-times")])),_:1})]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["model-value","onUpdate:modelValue"])}const $Fe=Object.freeze(Object.defineProperty({__proto__:null,default:lt(LFe,[["render",VFe],["__scopeId","data-v-e8ddf878"]])},Symbol.toStringTag,{value:"Module"}));/*!
111
+ `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:h1(n.placement),variation:TV(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:a,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,IV(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:i,roundOffsets:c})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,IV(Object.assign({},u,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}var A7e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:I7e,data:{}};function O7e(e){var n=e.state;Object.keys(n.elements).forEach(function(o){var r=n.styles[o]||{},a=n.attributes[o]||{},l=n.elements[o];!ol(l)||!wi(l)||(Object.assign(l.style,r),Object.keys(a).forEach(function(i){var s=a[i];s===!1?l.removeAttribute(i):l.setAttribute(i,s===!0?"":s)}))})}function z7e(e){var n=e.state,o={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,o.popper),n.styles=o,n.elements.arrow&&Object.assign(n.elements.arrow.style,o.arrow),function(){Object.keys(n.elements).forEach(function(r){var a=n.elements[r],l=n.attributes[r]||{},i=Object.keys(n.styles.hasOwnProperty(r)?n.styles[r]:o[r]),s=i.reduce(function(c,d){return c[d]="",c},{});!ol(a)||!wi(a)||(Object.assign(a.style,s),Object.keys(l).forEach(function(c){a.removeAttribute(c)}))})}}var B7e={name:"applyStyles",enabled:!0,phase:"write",fn:O7e,effect:z7e,requires:["computeStyles"]},L7e=[x7e,S7e,A7e,B7e],V7e=k7e({defaultModifiers:L7e});function $7e(e,n,o){var r=h1(e),a=[Pc,Ru].indexOf(r)>=0?-1:1,l=typeof o=="function"?o(Object.assign({},n,{placement:e})):o,i=l[0],s=l[1];return i=i||0,s=(s||0)*a,[Pc,rh].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function j7e(e){var n=e.state,o=e.options,r=e.name,a=o.offset,l=a===void 0?[0,0]:a,i=r7e.reduce(function(u,f){return u[f]=$7e(f,n.rects,l),u},{}),s=i[n.placement],c=s.x,d=s.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=c,n.modifiersData.popperOffsets.y+=d),n.modifiersData[r]=i}var P7e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:j7e};const[R7e,Fc]=Fe("popover"),F7e=["show","overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"],H7e={show:Boolean,theme:rt("light"),overlay:Boolean,actions:fo(),trigger:rt("click"),duration:We,showArrow:Le,placement:rt("bottom"),iconPrefix:String,overlayClass:Dn,overlayStyle:Object,closeOnClickAction:Le,closeOnClickOverlay:Le,closeOnClickOutside:Le,offset:{type:Array,default:()=>[0,8]},teleport:{type:[String,Object],default:"body"}};var U7e=t.defineComponent({name:R7e,props:H7e,emits:["select","touchstart","update:show"],setup(e,{emit:n,slots:o,attrs:r}){let a;const l=t.ref(),i=t.ref(),s=t.ref(),c=()=>({placement:e.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},bt({},P7e,{options:{offset:e.offset}})]}),d=()=>i.value&&s.value?V7e(i.value,s.value.popupRef.value,c()):null,u=()=>{t.nextTick(()=>{e.show&&(a?a.setOptions(c()):a=d())})},f=w=>n("update:show",w),p=()=>{e.trigger==="click"&&f(!e.show)},m=(w,N)=>{w.disabled||(n("select",w,N),e.closeOnClickAction&&f(!1))},g=()=>{e.show&&e.closeOnClickOutside&&(!e.overlay||e.closeOnClickOverlay)&&f(!1)},y=(w,N)=>o.action?o.action({action:w,index:N}):[w.icon&&t.createVNode(Ht,{name:w.icon,classPrefix:e.iconPrefix,class:Fc("action-icon")},null),t.createVNode("div",{class:[Fc("action-text"),PC]},[w.text])],b=(w,N)=>{const{icon:_,color:C,disabled:k,className:E}=w;return t.createVNode("div",{role:"menuitem",class:[Fc("action",{disabled:k,"with-icon":_}),E],style:{color:C},tabindex:k?void 0:0,"aria-disabled":k||void 0,onClick:()=>m(w,N)},[y(w,N)])};return t.onMounted(()=>{u(),t.watchEffect(()=>{var w;l.value=(w=s.value)==null?void 0:w.popupRef.value})}),t.onBeforeUnmount(()=>{a&&(a.destroy(),a=null)}),t.watch(()=>[e.show,e.offset,e.placement],u),vg([i,l],g,{eventName:"touchstart"}),()=>{var w;return t.createVNode(t.Fragment,null,[t.createVNode("span",{ref:i,class:Fc("wrapper"),onClick:p},[(w=o.reference)==null?void 0:w.call(o)]),t.createVNode(Xa,t.mergeProps({ref:s,class:Fc([e.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,"onUpdate:show":f},r,_n(e,F7e)),{default:()=>[e.showArrow&&t.createVNode("div",{class:Fc("arrow")},null),t.createVNode("div",{role:"menu",class:Fc("content")},[o.default?o.default():e.actions.map(b)])]})])}}});const Y7e=Xe(U7e),[W7e,I_]=Fe("progress"),Q7e={color:String,inactive:Boolean,pivotText:String,textColor:String,showPivot:Le,pivotColor:String,trackColor:String,strokeWidth:We,percentage:{type:We,default:0,validator:e=>e>=0&&e<=100}};var K7e=t.defineComponent({name:W7e,props:Q7e,setup(e){const n=t.computed(()=>e.inactive?void 0:e.color),o=()=>{const{textColor:r,pivotText:a,pivotColor:l,percentage:i}=e,s=a??`${i}%`;if(e.showPivot&&s){const c={color:r,left:`${+i}%`,transform:`translate(-${+i}%,-50%)`,background:l||n.value};return t.createVNode("span",{style:c,class:I_("pivot",{inactive:e.inactive})},[s])}};return()=>{const{trackColor:r,percentage:a,strokeWidth:l}=e,i={background:r,height:rn(l)},s={width:`${a}%`,background:n.value};return t.createVNode("div",{class:I_(),style:i},[t.createVNode("span",{class:I_("portion",{inactive:e.inactive}),style:s},null),o()])}}});const q7e=Xe(K7e),[G7e,ah,X7e]=Fe("pull-refresh"),AV=50,Z7e=["pulling","loosing","success"],J7e={disabled:Boolean,modelValue:Boolean,headHeight:ft(AV),successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:We,successDuration:ft(500),animationDuration:ft(300)};var ePe=t.defineComponent({name:G7e,props:J7e,emits:["change","refresh","update:modelValue"],setup(e,{emit:n,slots:o}){let r;const a=t.ref(),l=t.ref(),i=ku(a),s=t.reactive({status:"normal",distance:0,duration:0}),c=zl(),d=()=>{if(e.headHeight!==AV)return{height:`${e.headHeight}px`}},u=()=>s.status!=="loading"&&s.status!=="success"&&!e.disabled,f=C=>{const k=+(e.pullDistance||e.headHeight);return C>k&&(C<k*2?C=k+(C-k)/2:C=k*1.5+(C-k*2)/4),Math.round(C)},p=(C,k)=>{const E=+(e.pullDistance||e.headHeight);s.distance=C,k?s.status="loading":C===0?s.status="normal":C<E?s.status="pulling":s.status="loosing",n("change",{status:s.status,distance:C})},m=()=>{const{status:C}=s;return C==="normal"?"":e[`${C}Text`]||X7e(C)},g=()=>{const{status:C,distance:k}=s;if(o[C])return o[C]({distance:k});const E=[];return Z7e.includes(C)&&E.push(t.createVNode("div",{class:ah("text")},[m()])),C==="loading"&&E.push(t.createVNode(Ga,{class:ah("loading")},{default:m})),E},y=()=>{s.status="success",setTimeout(()=>{p(0)},+e.successDuration)},b=C=>{r=ps(i.value)===0,r&&(s.duration=0,c.start(C))},w=C=>{u()&&b(C)},N=C=>{if(u()){r||b(C);const{deltaY:k}=c;c.move(C),r&&k.value>=0&&c.isVertical()&&(Fn(C),p(f(k.value)))}},_=()=>{r&&c.deltaY.value&&u()&&(s.duration=+e.animationDuration,s.status==="loosing"?(p(+e.headHeight,!0),n("update:modelValue",!0),t.nextTick(()=>n("refresh"))):p(0))};return t.watch(()=>e.modelValue,C=>{s.duration=+e.animationDuration,C?p(+e.headHeight,!0):o.success||e.successText?y():p(0,!1)}),no("touchmove",N,{target:l}),()=>{var C;const k={transitionDuration:`${s.duration}ms`,transform:s.distance?`translate3d(0,${s.distance}px, 0)`:""};return t.createVNode("div",{ref:a,class:ah()},[t.createVNode("div",{ref:l,class:ah("track"),style:k,onTouchstartPassive:w,onTouchend:_,onTouchcancel:_},[t.createVNode("div",{class:ah("head"),style:d()},[g()]),(C=o.default)==null?void 0:C.call(o)])])}}});const tPe=Xe(ePe),[nPe,g1]=Fe("rate");function oPe(e,n,o,r){return e>=n?{status:"full",value:1}:e+.5>=n&&o&&!r?{status:"half",value:.5}:e+1>=n&&o&&r?{status:"half",value:Math.round((e-n+1)*1e10)/1e10}:{status:"void",value:0}}const rPe={size:We,icon:rt("star"),color:String,count:ft(5),gutter:We,readonly:Boolean,disabled:Boolean,voidIcon:rt("star-o"),allowHalf:Boolean,voidColor:String,touchable:Le,iconPrefix:String,modelValue:Ol(0),disabledColor:String};var aPe=t.defineComponent({name:nPe,props:rPe,emits:["change","update:modelValue"],setup(e,{emit:n}){const o=zl(),[r,a]=Gg(),l=t.ref(),i=()=>e.readonly||e.disabled||!e.touchable,s=t.computed(()=>Array(+e.count).fill("").map((N,_)=>oPe(e.modelValue,_+1,e.allowHalf,e.readonly)));let c,d,u=Number.MAX_SAFE_INTEGER,f=Number.MIN_SAFE_INTEGER;const p=()=>{d=Nn(l);const N=r.value.map(Nn);c=[],N.forEach((_,C)=>{u=Math.min(_.top,u),f=Math.max(_.top,f),e.allowHalf?c.push({score:C+.5,left:_.left,top:_.top,height:_.height},{score:C+1,left:_.left+_.width/2,top:_.top,height:_.height}):c.push({score:C+1,left:_.left,top:_.top,height:_.height})})},m=(N,_)=>{for(let C=c.length-1;C>0;C--)if(_>=d.top&&_<=d.bottom){if(N>c[C].left&&_>=c[C].top&&_<=c[C].top+c[C].height)return c[C].score}else{const k=_<d.top?u:f;if(N>c[C].left&&c[C].top===k)return c[C].score}return e.allowHalf?.5:1},g=N=>{!e.disabled&&!e.readonly&&N!==e.modelValue&&(n("update:modelValue",N),n("change",N))},y=N=>{i()||(o.start(N),p())},b=N=>{if(!i()&&(o.move(N),o.isHorizontal())){const{clientX:_,clientY:C}=N.touches[0];Fn(N),g(m(_,C))}},w=(N,_)=>{const{icon:C,size:k,color:E,count:T,gutter:S,voidIcon:D,disabled:v,voidColor:I,allowHalf:B,iconPrefix:$,disabledColor:F}=e,L=_+1,A=N.status==="full",P=N.status==="void",j=B&&N.value>0&&N.value<1;let O;S&&L!==+T&&(O={paddingRight:rn(S)});const z=R=>{p(),g(B?m(R.clientX,R.clientY):L)};return t.createVNode("div",{key:_,ref:a(_),role:"radio",style:O,class:g1("item"),tabindex:v?void 0:0,"aria-setsize":T,"aria-posinset":L,"aria-checked":!P,onClick:z},[t.createVNode(Ht,{size:k,name:A?C:D,class:g1("icon",{disabled:v,full:A}),color:v?F:A?E:I,classPrefix:$},null),j&&t.createVNode(Ht,{size:k,style:{width:N.value+"em"},name:P?D:C,class:g1("icon",["half",{disabled:v,full:!P}]),color:v?F:P?I:E,classPrefix:$},null)])};return fs(()=>e.modelValue),no("touchmove",b,{target:l}),()=>t.createVNode("div",{ref:l,role:"radiogroup",class:g1({readonly:e.readonly,disabled:e.disabled}),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,"aria-readonly":e.readonly,onTouchstartPassive:y},[s.value.map(w)])}});const lPe=Xe(aPe),iPe=Xe(NVe),[sPe,lh,cPe]=Fe("search"),dPe=bt({},ZC,{label:String,shape:rt("square"),leftIcon:rt("search"),clearable:Le,actionText:String,background:String,showAction:Boolean});var uPe=t.defineComponent({name:sPe,props:dPe,emits:["blur","focus","clear","search","cancel","click-input","click-left-icon","click-right-icon","update:modelValue"],setup(e,{emit:n,slots:o,attrs:r}){const a=vu(),l=t.ref(),i=()=>{o.action||(n("update:modelValue",""),n("cancel"))},s=k=>{k.keyCode===13&&(Fn(k),n("search",e.modelValue))},c=()=>e.id||`${a}-input`,d=()=>{if(o.label||e.label)return t.createVNode("label",{class:lh("label"),for:c()},[o.label?o.label():e.label])},u=()=>{if(e.showAction){const k=e.actionText||cPe("cancel");return t.createVNode("div",{class:lh("action"),role:"button",tabindex:0,onClick:i},[o.action?o.action():k])}},f=()=>{var k;return(k=l.value)==null?void 0:k.blur()},p=()=>{var k;return(k=l.value)==null?void 0:k.focus()},m=k=>n("blur",k),g=k=>n("focus",k),y=k=>n("clear",k),b=k=>n("click-input",k),w=k=>n("click-left-icon",k),N=k=>n("click-right-icon",k),_=Object.keys(ZC),C=()=>{const k=bt({},r,_n(e,_),{id:c()}),E=T=>n("update:modelValue",T);return t.createVNode(Bl,t.mergeProps({ref:l,type:"search",class:lh("field"),border:!1,onBlur:m,onFocus:g,onClear:y,onKeypress:s,"onClick-input":b,"onClick-left-icon":w,"onClick-right-icon":N,"onUpdate:modelValue":E},k),_n(o,["left-icon","right-icon"]))};return tn({focus:p,blur:f}),()=>{var k;return t.createVNode("div",{class:lh({"show-action":e.showAction}),style:{background:e.background}},[(k=o.left)==null?void 0:k.call(o),t.createVNode("div",{class:lh("content",e.shape)},[d(),C()]),u()])}}});const fPe=Xe(uPe),pPe=[...UC,"round","closeOnPopstate","safeAreaInsetBottom"],OV={qq:"qq",link:"link-o",weibo:"weibo",qrcode:"qr",poster:"photo-o",wechat:"wechat","weapp-qrcode":"miniprogram-o","wechat-moments":"wechat-moments"},[hPe,rl,mPe]=Fe("share-sheet"),gPe=bt({},Su,{title:String,round:Le,options:fo(),cancelText:String,description:String,closeOnPopstate:Le,safeAreaInsetBottom:Le});var yPe=t.defineComponent({name:hPe,props:gPe,emits:["cancel","select","update:show"],setup(e,{emit:n,slots:o}){const r=p=>n("update:show",p),a=()=>{r(!1),n("cancel")},l=(p,m)=>n("select",p,m),i=()=>{const p=o.title?o.title():e.title,m=o.description?o.description():e.description;if(p||m)return t.createVNode("div",{class:rl("header")},[p&&t.createVNode("h2",{class:rl("title")},[p]),m&&t.createVNode("span",{class:rl("description")},[m])])},s=p=>OV[p]?t.createVNode("div",{class:rl("icon",[p])},[t.createVNode(Ht,{name:OV[p]||p},null)]):t.createVNode("img",{src:p,class:rl("image-icon")},null),c=(p,m)=>{const{name:g,icon:y,className:b,description:w}=p;return t.createVNode("div",{role:"button",tabindex:0,class:[rl("option"),b,Nr],onClick:()=>l(p,m)},[s(y),g&&t.createVNode("span",{class:rl("name")},[g]),w&&t.createVNode("span",{class:rl("option-description")},[w])])},d=(p,m)=>t.createVNode("div",{class:rl("options",{border:m})},[p.map(c)]),u=()=>{const{options:p}=e;return Array.isArray(p[0])?p.map((m,g)=>d(m,g!==0)):d(p)},f=()=>{var p;const m=(p=e.cancelText)!=null?p:mPe("cancel");if(o.cancel||m)return t.createVNode("button",{type:"button",class:rl("cancel"),onClick:a},[o.cancel?o.cancel():m])};return()=>t.createVNode(Xa,t.mergeProps({class:rl(),position:"bottom","onUpdate:show":r},_n(e,pPe)),{default:()=>[i(),u(),f()]})}});const bPe=Xe(yPe),[zV,MPe]=Fe("sidebar"),BV=Symbol(zV),wPe={modelValue:ft(0)};var CPe=t.defineComponent({name:zV,props:wPe,emits:["change","update:modelValue"],setup(e,{emit:n,slots:o}){const{linkChildren:r}=tr(BV),a=()=>+e.modelValue;return r({getActive:a,setActive:i=>{i!==a()&&(n("update:modelValue",i),n("change",i))}}),()=>{var i;return t.createVNode("div",{role:"tablist",class:MPe()},[(i=o.default)==null?void 0:i.call(o)])}}});const LV=Xe(CPe),[_Pe,VV]=Fe("sidebar-item"),NPe=bt({},ys,{dot:Boolean,title:String,badge:We,disabled:Boolean,badgeProps:Object});var kPe=t.defineComponent({name:_Pe,props:NPe,emits:["click"],setup(e,{emit:n,slots:o}){const r=$c(),{parent:a,index:l}=Po(BV);if(!a){process.env.NODE_ENV!=="production"&&console.error("[Vant] <SidebarItem> must be a child component of <Sidebar>.");return}const i=()=>{e.disabled||(n("click",l.value),a.setActive(l.value),r())};return()=>{const{dot:s,badge:c,title:d,disabled:u}=e,f=l.value===a.getActive();return t.createVNode("div",{role:"tab",class:VV({select:f,disabled:u}),tabindex:u?void 0:0,"aria-selected":f,onClick:i},[t.createVNode(jc,t.mergeProps({dot:s,class:VV("text"),content:c},e.badgeProps),{default:()=>[o.title?o.title():d]})])}}});const $V=Xe(kPe),[EPe,ih]=Fe("skeleton"),jV="100%",xPe="60%",TPe={row:ft(0),title:Boolean,round:Boolean,avatar:Boolean,loading:Le,animate:Le,avatarSize:We,titleWidth:We,avatarShape:rt("round"),rowWidth:{type:[Number,String,Array],default:jV}};var SPe=t.defineComponent({name:EPe,inheritAttrs:!1,props:TPe,setup(e,{slots:n,attrs:o}){const r=()=>{if(e.avatar)return t.createVNode("div",{class:ih("avatar",e.avatarShape),style:hs(e.avatarSize)},null)},a=()=>{if(e.title)return t.createVNode("h3",{class:ih("title"),style:{width:rn(e.titleWidth)}},null)},l=s=>{const{rowWidth:c}=e;return c===jV&&s===+e.row-1?xPe:Array.isArray(c)?c[s]:c},i=()=>Array(+e.row).fill("").map((s,c)=>t.createVNode("div",{class:ih("row"),style:{width:rn(l(c))}},null));return()=>{var s;return e.loading?t.createVNode("div",t.mergeProps({class:ih({animate:e.animate,round:e.round})},o),[r(),t.createVNode("div",{class:ih("content")},[a(),i()])]):(s=n.default)==null?void 0:s.call(n)}}});const DPe=Xe(SPe),[vPe,sh]=Fe("slider"),IPe={min:ft(0),max:ft(100),step:ft(1),range:Boolean,reverse:Boolean,disabled:Boolean,readonly:Boolean,vertical:Boolean,barHeight:We,buttonSize:We,activeColor:String,inactiveColor:String,modelValue:{type:[Number,Array],default:0}};var APe=t.defineComponent({name:vPe,props:IPe,emits:["change","drag-end","drag-start","update:modelValue"],setup(e,{emit:n,slots:o}){let r,a,l;const i=t.ref(),s=t.ref(),c=t.ref(),d=zl(),u=t.computed(()=>Number(e.max)-Number(e.min)),f=t.computed(()=>{const I=e.vertical?"width":"height";return{background:e.inactiveColor,[I]:rn(e.barHeight)}}),p=I=>e.range&&Array.isArray(I),m=()=>{const{modelValue:I,min:B}=e;return p(I)?`${(I[1]-I[0])*100/u.value}%`:`${(I-Number(B))*100/u.value}%`},g=()=>{const{modelValue:I,min:B}=e;return p(I)?`${(I[0]-Number(B))*100/u.value}%`:"0%"},y=t.computed(()=>{const B={[e.vertical?"height":"width"]:m(),background:e.activeColor};c.value&&(B.transition="none");const $=()=>e.vertical?e.reverse?"bottom":"top":e.reverse?"right":"left";return B[$()]=g(),B}),b=I=>{const B=+e.min,$=+e.max,F=+e.step;I=To(I,B,$);const L=Math.round((I-B)/F)*F;return Y9(B,L)},w=(I,B)=>JSON.stringify(I)===JSON.stringify(B),N=I=>{var B,$;const F=(B=I[0])!=null?B:Number(e.min),L=($=I[1])!=null?$:Number(e.max);return F>L?[L,F]:[F,L]},_=(I,B)=>{p(I)?I=N(I).map(b):I=b(I),w(I,e.modelValue)||n("update:modelValue",I),B&&!w(I,l)&&n("change",I)},C=I=>{if(I.stopPropagation(),e.disabled||e.readonly)return;const{min:B,reverse:$,vertical:F,modelValue:L}=e,A=Nn(i),P=()=>F?$?A.bottom-I.clientY:I.clientY-A.top:$?A.right-I.clientX:I.clientX-A.left,j=F?A.height:A.width,O=Number(B)+P()/j*u.value;if(p(L)){const[z,R]=L,Y=(z+R)/2;O<=Y?_([O,R],!0):_([z,O],!0)}else _(O,!0)},k=I=>{e.disabled||e.readonly||(d.start(I),a=e.modelValue,p(a)?l=a.map(b):l=b(a),c.value="start")},E=I=>{if(e.disabled||e.readonly)return;c.value==="start"&&n("drag-start",I),Fn(I,!0),d.move(I),c.value="dragging";const B=Nn(i),$=e.vertical?d.deltaY.value:d.deltaX.value,F=e.vertical?B.height:B.width;let L=$/F*u.value;if(e.reverse&&(L=-L),p(l)){const A=e.reverse?1-r:r;a[A]=l[A]+L}else a=l+L;_(a)},T=I=>{e.disabled||e.readonly||(c.value==="dragging"&&(_(a,!0),n("drag-end",I)),c.value="")},S=I=>typeof I=="number"?sh("button-wrapper",["left","right"][I]):sh("button-wrapper",e.reverse?"left":"right"),D=(I,B)=>{if(typeof B=="number"){const $=o[B===0?"left-button":"right-button"];if($)return $({value:I})}return o.button?o.button({value:I}):t.createVNode("div",{class:sh("button"),style:hs(e.buttonSize)},null)},v=I=>{const B=typeof I=="number"?e.modelValue[I]:e.modelValue;return t.createVNode("div",{ref:s,role:"slider",class:S(I),tabindex:e.disabled?void 0:0,"aria-valuemin":e.min,"aria-valuenow":B,"aria-valuemax":e.max,"aria-disabled":e.disabled||void 0,"aria-readonly":e.readonly||void 0,"aria-orientation":e.vertical?"vertical":"horizontal",onTouchstartPassive:$=>{typeof I=="number"&&(r=I),k($)},onTouchend:T,onTouchcancel:T,onClick:BC},[D(B,I)])};return _(e.modelValue),fs(()=>e.modelValue),no("touchmove",E,{target:s}),()=>t.createVNode("div",{ref:i,style:f.value,class:sh({vertical:e.vertical,disabled:e.disabled}),onClick:C},[t.createVNode("div",{class:sh("bar"),style:y.value},[e.range?[v(0),v(1)]:v()])])}});const OPe=Xe(APe),[PV,zPe]=Fe("space"),BPe={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function RV(e=[]){const n=[];return e.forEach(o=>{Array.isArray(o)?n.push(...o):o.type===t.Fragment?n.push(...RV(o.children)):n.push(o)}),n.filter(o=>{var r;return!(o&&(typeof Comment<"u"&&o.type===Comment||o.type===t.Fragment&&((r=o.children)==null?void 0:r.length)===0||o.type===Text&&o.children.trim()===""))})}var LPe=t.defineComponent({name:PV,props:BPe,setup(e,{slots:n}){const o=t.computed(()=>{var l;return(l=e.align)!=null?l:e.direction==="horizontal"?"center":""}),r=l=>typeof l=="number"?l+"px":l,a=l=>{const i={},s=`${r(Array.isArray(e.size)?e.size[0]:e.size)}`,c=`${r(Array.isArray(e.size)?e.size[1]:e.size)}`;return l?e.wrap?{marginBottom:c}:{}:(e.direction==="horizontal"&&(i.marginRight=s),(e.direction==="vertical"||e.wrap)&&(i.marginBottom=c),i)};return()=>{var l;const i=RV((l=n.default)==null?void 0:l.call(n));return t.createVNode("div",{class:[zPe({[e.direction]:e.direction,[`align-${o.value}`]:o.value,wrap:e.wrap,fill:e.fill})]},[i.map((s,c)=>t.createVNode("div",{key:`item-${c}`,class:`${PV}-item`,style:a(c===i.length-1)},[s]))])}}});const VPe=Xe(LPe),[FV,HV]=Fe("steps"),$Pe={active:ft(0),direction:rt("horizontal"),activeIcon:rt("checked"),iconPrefix:String,finishIcon:String,activeColor:String,inactiveIcon:String,inactiveColor:String},UV=Symbol(FV);var jPe=t.defineComponent({name:FV,props:$Pe,emits:["click-step"],setup(e,{emit:n,slots:o}){const{linkChildren:r}=tr(UV);return r({props:e,onClickStep:l=>n("click-step",l)}),()=>{var l;return t.createVNode("div",{class:HV([e.direction])},[t.createVNode("div",{class:HV("items")},[(l=o.default)==null?void 0:l.call(o)])])}}});const[PPe,Cs]=Fe("step");var RPe=t.defineComponent({name:PPe,setup(e,{slots:n}){const{parent:o,index:r}=Po(UV);if(!o){process.env.NODE_ENV!=="production"&&console.error("[Vant] <Step> must be a child component of <Steps>.");return}const a=o.props,l=()=>{const f=+a.active;return r.value<f?"finish":r.value===f?"process":"waiting"},i=()=>l()==="process",s=t.computed(()=>({background:l()==="finish"?a.activeColor:a.inactiveColor})),c=t.computed(()=>{if(i())return{color:a.activeColor};if(l()==="waiting")return{color:a.inactiveColor}}),d=()=>o.onClickStep(r.value),u=()=>{const{iconPrefix:f,finishIcon:p,activeIcon:m,activeColor:g,inactiveIcon:y}=a;return i()?n["active-icon"]?n["active-icon"]():t.createVNode(Ht,{class:Cs("icon","active"),name:m,color:g,classPrefix:f},null):l()==="finish"&&(p||n["finish-icon"])?n["finish-icon"]?n["finish-icon"]():t.createVNode(Ht,{class:Cs("icon","finish"),name:p,color:g,classPrefix:f},null):n["inactive-icon"]?n["inactive-icon"]():y?t.createVNode(Ht,{class:Cs("icon"),name:y,classPrefix:f},null):t.createVNode("i",{class:Cs("circle"),style:s.value},null)};return()=>{var f;const p=l();return t.createVNode("div",{class:[ms,Cs([a.direction,{[p]:p}])]},[t.createVNode("div",{class:Cs("title",{active:i()}),style:c.value,onClick:d},[(f=n.default)==null?void 0:f.call(n)]),t.createVNode("div",{class:Cs("circle-container"),onClick:d},[u()]),t.createVNode("div",{class:Cs("line"),style:s.value},null)])}}});const FPe=Xe(RPe),[HPe,y1]=Fe("stepper"),UPe=200,YPe=600,b1=(e,n)=>String(e)===String(n),WPe={min:ft(1),max:ft(1/0),name:ft(""),step:ft(1),theme:String,integer:Boolean,disabled:Boolean,showPlus:Le,showMinus:Le,showInput:Le,longPress:Le,allowEmpty:Boolean,modelValue:We,inputWidth:We,buttonSize:We,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,beforeChange:Function,defaultValue:ft(1),decimalLength:We};var QPe=t.defineComponent({name:HPe,props:WPe,emits:["plus","blur","minus","focus","change","overlimit","update:modelValue"],setup(e,{emit:n}){const o=S=>{const{min:D,max:v,allowEmpty:I,decimalLength:B}=e;return I&&S===""||(S=$C(String(S),!e.integer),S=S===""?0:+S,S=Number.isNaN(S)?+D:S,S=Math.max(Math.min(+v,S),+D),Kt(B)&&(S=S.toFixed(+B))),S},r=()=>{var S;const D=(S=e.modelValue)!=null?S:e.defaultValue,v=o(D);return b1(v,e.modelValue)||n("update:modelValue",v),v};let a;const l=t.ref(),i=t.ref(r()),s=t.computed(()=>e.disabled||e.disableMinus||i.value<=+e.min),c=t.computed(()=>e.disabled||e.disablePlus||i.value>=+e.max),d=t.computed(()=>({width:rn(e.inputWidth),height:rn(e.buttonSize)})),u=t.computed(()=>hs(e.buttonSize)),f=()=>{const S=o(i.value);b1(S,i.value)||(i.value=S)},p=S=>{e.beforeChange?gs(e.beforeChange,{args:[S],done(){i.value=S}}):i.value=S},m=()=>{if(a==="plus"&&c.value||a==="minus"&&s.value){n("overlimit",a);return}const S=a==="minus"?-e.step:+e.step,D=o(Y9(+i.value,S));p(D),n(a)},g=S=>{const D=S.target,{value:v}=D,{decimalLength:I}=e;let B=$C(String(v),!e.integer);if(Kt(I)&&B.includes(".")){const F=B.split(".");B=`${F[0]}.${F[1].slice(0,+I)}`}e.beforeChange?D.value=String(i.value):b1(v,B)||(D.value=B);const $=B===String(+B);p($?+B:B)},y=S=>{var D;e.disableInput?(D=l.value)==null||D.blur():n("focus",S)},b=S=>{const D=S.target,v=o(D.value);D.value=String(v),i.value=v,t.nextTick(()=>{n("blur",S),F9()})};let w,N;const _=()=>{N=setTimeout(()=>{m(),_()},UPe)},C=()=>{e.longPress&&(w=!1,clearTimeout(N),N=setTimeout(()=>{w=!0,m(),_()},YPe))},k=S=>{e.longPress&&(clearTimeout(N),w&&Fn(S))},E=S=>{e.disableInput&&Fn(S)},T=S=>({onClick:D=>{Fn(D),a=S,m()},onTouchstartPassive:()=>{a=S,C()},onTouchend:k,onTouchcancel:k});return t.watch(()=>[e.max,e.min,e.integer,e.decimalLength],f),t.watch(()=>e.modelValue,S=>{b1(S,i.value)||(i.value=o(S))}),t.watch(i,S=>{n("update:modelValue",S),n("change",S,{name:e.name})}),fs(()=>e.modelValue),()=>t.createVNode("div",{role:"group",class:y1([e.theme])},[t.withDirectives(t.createVNode("button",t.mergeProps({type:"button",style:u.value,class:[y1("minus",{disabled:s.value}),{[Nr]:!s.value}],"aria-disabled":s.value||void 0},T("minus")),null),[[t.vShow,e.showMinus]]),t.withDirectives(t.createVNode("input",{ref:l,type:e.integer?"tel":"text",role:"spinbutton",class:y1("input"),value:i.value,style:d.value,disabled:e.disabled,readonly:e.disableInput,inputmode:e.integer?"numeric":"decimal",placeholder:e.placeholder,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":i.value,onBlur:b,onInput:g,onFocus:y,onMousedown:E},null),[[t.vShow,e.showInput]]),t.withDirectives(t.createVNode("button",t.mergeProps({type:"button",style:u.value,class:[y1("plus",{disabled:c.value}),{[Nr]:!c.value}],"aria-disabled":c.value||void 0},T("plus")),null),[[t.vShow,e.showPlus]])])}});const KPe=Xe(QPe),qPe=Xe(jPe),[GPe,al,XPe]=Fe("submit-bar"),ZPe={tip:String,label:String,price:Number,tipIcon:String,loading:Boolean,currency:rt("¥"),disabled:Boolean,textAlign:String,buttonText:String,buttonType:rt("danger"),buttonColor:String,suffixLabel:String,placeholder:Boolean,decimalLength:ft(2),safeAreaInsetBottom:Le};var JPe=t.defineComponent({name:GPe,props:ZPe,emits:["submit"],setup(e,{emit:n,slots:o}){const r=t.ref(),a=$g(r,al),l=()=>{const{price:u,label:f,currency:p,textAlign:m,suffixLabel:g,decimalLength:y}=e;if(typeof u=="number"){const b=(u/100).toFixed(+y).split("."),w=y?`.${b[1]}`:"";return t.createVNode("div",{class:al("text"),style:{textAlign:m}},[t.createVNode("span",null,[f||XPe("label")]),t.createVNode("span",{class:al("price")},[p,t.createVNode("span",{class:al("price-integer")},[b[0]]),w]),g&&t.createVNode("span",{class:al("suffix-label")},[g])])}},i=()=>{var u;const{tip:f,tipIcon:p}=e;if(o.tip||f)return t.createVNode("div",{class:al("tip")},[p&&t.createVNode(Ht,{class:al("tip-icon"),name:p},null),f&&t.createVNode("span",{class:al("tip-text")},[f]),(u=o.tip)==null?void 0:u.call(o)])},s=()=>n("submit"),c=()=>o.button?o.button():t.createVNode(kr,{round:!0,type:e.buttonType,text:e.buttonText,class:al("button",e.buttonType),color:e.buttonColor,loading:e.loading,disabled:e.disabled,onClick:s},null),d=()=>{var u,f;return t.createVNode("div",{ref:r,class:[al(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[(u=o.top)==null?void 0:u.call(o),i(),t.createVNode("div",{class:al("bar")},[(f=o.default)==null?void 0:f.call(o),l(),c()])])};return()=>e.placeholder?a(d):d()}});const eRe=Xe(JPe),[tRe,A_]=Fe("swipe-cell"),nRe={name:ft(""),disabled:Boolean,leftWidth:We,rightWidth:We,beforeClose:Function,stopPropagation:Boolean};var oRe=t.defineComponent({name:tRe,props:nRe,emits:["open","close","click"],setup(e,{emit:n,slots:o}){let r,a,l;const i=t.ref(),s=t.ref(),c=t.ref(),d=t.reactive({offset:0,dragging:!1}),u=zl(),f=T=>T.value?Nn(T).width:0,p=t.computed(()=>Kt(e.leftWidth)?+e.leftWidth:f(s)),m=t.computed(()=>Kt(e.rightWidth)?+e.rightWidth:f(c)),g=T=>{d.offset=T==="left"?p.value:-m.value,r||(r=!0,n("open",{name:e.name,position:T}))},y=T=>{d.offset=0,r&&(r=!1,n("close",{name:e.name,position:T}))},b=T=>{const S=Math.abs(d.offset),D=.15,v=r?1-D:D,I=T==="left"?p.value:m.value;I&&S>I*v?g(T):y(T)},w=T=>{e.disabled||(l=d.offset,u.start(T))},N=T=>{if(e.disabled)return;const{deltaX:S}=u;u.move(T),u.isHorizontal()&&(a=!0,d.dragging=!0,(!r||S.value*l<0)&&Fn(T,e.stopPropagation),d.offset=To(S.value+l,-m.value,p.value))},_=()=>{d.dragging&&(d.dragging=!1,b(d.offset>0?"left":"right"),setTimeout(()=>{a=!1},0))},C=(T="outside")=>{n("click",T),r&&!a&&gs(e.beforeClose,{args:[{name:e.name,position:T}],done:()=>y(T)})},k=(T,S)=>D=>{S&&D.stopPropagation(),C(T)},E=(T,S)=>{const D=o[T];if(D)return t.createVNode("div",{ref:S,class:A_(T),onClick:k(T,!0)},[D()])};return tn({open:g,close:y}),vg(i,()=>C("outside"),{eventName:"touchstart"}),no("touchmove",N,{target:i}),()=>{var T;const S={transform:`translate3d(${d.offset}px, 0, 0)`,transitionDuration:d.dragging?"0s":".6s"};return t.createVNode("div",{ref:i,class:A_(),onClick:k("cell",a),onTouchstartPassive:w,onTouchend:_,onTouchcancel:_},[t.createVNode("div",{class:A_("wrapper"),style:S},[E("left",s),(T=o.default)==null?void 0:T.call(o),E("right",c)])])}}});const rRe=Xe(oRe),[YV,WV]=Fe("tabbar"),aRe={route:Boolean,fixed:Le,border:Le,zIndex:We,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:ft(0),safeAreaInsetBottom:{type:Boolean,default:null}},QV=Symbol(YV);var lRe=t.defineComponent({name:YV,props:aRe,emits:["change","update:modelValue"],setup(e,{emit:n,slots:o}){const r=t.ref(),{linkChildren:a}=tr(QV),l=$g(r,WV),i=()=>{var d;return(d=e.safeAreaInsetBottom)!=null?d:e.fixed},s=()=>{var d;const{fixed:u,zIndex:f,border:p}=e;return t.createVNode("div",{ref:r,role:"tablist",style:Vc(f),class:[WV({fixed:u}),{[Lg]:p,"van-safe-area-bottom":i()}]},[(d=o.default)==null?void 0:d.call(o)])};return a({props:e,setActive:(d,u)=>{gs(e.beforeChange,{args:[d],done(){n("update:modelValue",d),n("change",d),u()}})}}),()=>e.fixed&&e.placeholder?l(s):s()}});const iRe=Xe(lRe),[sRe,O_]=Fe("tabbar-item"),cRe=bt({},ys,{dot:Boolean,icon:String,name:We,badge:We,badgeProps:Object,iconPrefix:String});var dRe=t.defineComponent({name:sRe,props:cRe,emits:["click"],setup(e,{emit:n,slots:o}){const r=$c(),a=t.getCurrentInstance().proxy,{parent:l,index:i}=Po(QV);if(!l){process.env.NODE_ENV!=="production"&&console.error("[Vant] <TabbarItem> must be a child component of <Tabbar>.");return}const s=t.computed(()=>{var u;const{route:f,modelValue:p}=l.props;if(f&&"$route"in a){const{$route:m}=a,{to:g}=e,y=Pr(g)?g:{path:g};return!!m.matched.find(b=>{const w="path"in y&&y.path===b.path,N="name"in y&&y.name===b.name;return w||N})}return((u=e.name)!=null?u:i.value)===p}),c=u=>{var f;s.value||l.setActive((f=e.name)!=null?f:i.value,r),n("click",u)},d=()=>{if(o.icon)return o.icon({active:s.value});if(e.icon)return t.createVNode(Ht,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var u;const{dot:f,badge:p}=e,{activeColor:m,inactiveColor:g}=l.props,y=s.value?m:g;return t.createVNode("div",{role:"tab",class:O_({active:s.value}),style:{color:y},tabindex:0,"aria-selected":s.value,onClick:c},[t.createVNode(jc,t.mergeProps({dot:f,class:O_("icon"),content:p},e.badgeProps),{default:d}),t.createVNode("div",{class:O_("text")},[(u=o.default)==null?void 0:u.call(o,{active:s.value})])])}}});const uRe=Xe(dRe),[fRe,Fu]=Fe("tree-select"),pRe={max:ft(1/0),items:fo(),height:ft(300),selectedIcon:rt("success"),mainActiveIndex:ft(0),activeId:{type:[Number,String,Array],default:0}};var hRe=t.defineComponent({name:fRe,props:pRe,emits:["click-nav","click-item","update:activeId","update:mainActiveIndex"],setup(e,{emit:n,slots:o}){const r=d=>Array.isArray(e.activeId)?e.activeId.includes(d):e.activeId===d,a=d=>{const u=()=>{if(d.disabled)return;let f;if(Array.isArray(e.activeId)){f=e.activeId.slice();const p=f.indexOf(d.id);p!==-1?f.splice(p,1):f.length<e.max&&f.push(d.id)}else f=d.id;n("update:activeId",f),n("click-item",d)};return t.createVNode("div",{key:d.id,class:["van-ellipsis",Fu("item",{active:r(d.id),disabled:d.disabled})],onClick:u},[d.text,r(d.id)&&t.createVNode(Ht,{name:e.selectedIcon,class:Fu("selected")},null)])},l=d=>{n("update:mainActiveIndex",d)},i=d=>n("click-nav",d),s=()=>{const d=e.items.map(u=>t.createVNode($V,{dot:u.dot,title:u.text,badge:u.badge,class:[Fu("nav-item"),u.className],disabled:u.disabled,onClick:i},null));return t.createVNode(LV,{class:Fu("nav"),modelValue:e.mainActiveIndex,onChange:l},{default:()=>[d]})},c=()=>{if(o.content)return o.content();const d=e.items[+e.mainActiveIndex]||{};if(d.children)return d.children.map(a)};return()=>t.createVNode("div",{class:Fu(),style:{height:rn(e.height)}},[s(),t.createVNode("div",{class:Fu("content")},[c()])])}});const mRe=Xe(hRe),[gRe,lo,yRe]=Fe("uploader");function KV(e,n){return new Promise(o=>{if(n==="file"){o();return}const r=new FileReader;r.onload=a=>{o(a.target.result)},n==="dataUrl"?r.readAsDataURL(e):n==="text"&&r.readAsText(e)})}function qV(e,n){return Dg(e).some(o=>o.file?Cu(n)?n(o.file):o.file.size>n:!1)}function bRe(e,n){const o=[],r=[];return e.forEach(a=>{qV(a,n)?r.push(a):o.push(a)}),{valid:o,invalid:r}}const MRe=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg|avif)/i,wRe=e=>MRe.test(e);function GV(e){return e.isImage?!0:e.file&&e.file.type?e.file.type.indexOf("image")===0:e.url?wRe(e.url):typeof e.content=="string"?e.content.indexOf("data:image")===0:!1}var CRe=t.defineComponent({props:{name:We,item:to(Object),index:Number,imageFit:String,lazyLoad:Boolean,deletable:Boolean,previewSize:[Number,String,Array],beforeDelete:Function},emits:["delete","preview"],setup(e,{emit:n,slots:o}){const r=()=>{const{status:d,message:u}=e.item;if(d==="uploading"||d==="failed"){const f=d==="failed"?t.createVNode(Ht,{name:"close",class:lo("mask-icon")},null):t.createVNode(Ga,{class:lo("loading")},null),p=Kt(u)&&u!=="";return t.createVNode("div",{class:lo("mask")},[f,p&&t.createVNode("div",{class:lo("mask-message")},[u])])}},a=d=>{const{name:u,item:f,index:p,beforeDelete:m}=e;d.stopPropagation(),gs(m,{args:[f,{name:u,index:p}],done:()=>n("delete")})},l=()=>n("preview"),i=()=>{if(e.deletable&&e.item.status!=="uploading"){const d=o["preview-delete"];return t.createVNode("div",{role:"button",class:lo("preview-delete",{shadow:!d}),tabindex:0,"aria-label":yRe("delete"),onClick:a},[d?d():t.createVNode(Ht,{name:"cross",class:lo("preview-delete-icon")},null)])}},s=()=>{if(o["preview-cover"]){const{index:d,item:u}=e;return t.createVNode("div",{class:lo("preview-cover")},[o["preview-cover"](bt({index:d},u))])}},c=()=>{const{item:d,lazyLoad:u,imageFit:f,previewSize:p}=e;return GV(d)?t.createVNode(Xg,{fit:f,src:d.objectUrl||d.content||d.url,class:lo("preview-image"),width:Array.isArray(p)?p[0]:p,height:Array.isArray(p)?p[1]:p,lazyLoad:u,onClick:l},{default:s}):t.createVNode("div",{class:lo("file"),style:hs(e.previewSize)},[t.createVNode(Ht,{class:lo("file-icon"),name:"description"},null),t.createVNode("div",{class:[lo("file-name"),"van-ellipsis"]},[d.file?d.file.name:d.url]),s()])};return()=>t.createVNode("div",{class:lo("preview")},[c(),r(),i()])}});const _Re={name:ft(""),accept:rt("image/*"),capture:String,multiple:Boolean,disabled:Boolean,readonly:Boolean,lazyLoad:Boolean,maxCount:ft(1/0),imageFit:rt("cover"),resultType:rt("dataUrl"),uploadIcon:rt("photograph"),uploadText:String,deletable:Le,afterRead:Function,showUpload:Le,modelValue:fo(),beforeRead:Function,beforeDelete:Function,previewSize:[Number,String,Array],previewImage:Le,previewOptions:Object,previewFullImage:Le,maxSize:{type:[Number,String,Function],default:1/0}};var NRe=t.defineComponent({name:gRe,props:_Re,emits:["delete","oversize","click-upload","close-preview","click-preview","update:modelValue"],setup(e,{emit:n,slots:o}){const r=t.ref(),a=[],l=(C=e.modelValue.length)=>({name:e.name,index:C}),i=()=>{r.value&&(r.value.value="")},s=C=>{if(i(),qV(C,e.maxSize))if(Array.isArray(C)){const k=bRe(C,e.maxSize);if(C=k.valid,n("oversize",k.invalid,l()),!C.length)return}else{n("oversize",C,l());return}C=t.reactive(C),n("update:modelValue",[...e.modelValue,...Dg(C)]),e.afterRead&&e.afterRead(C,l())},c=C=>{const{maxCount:k,modelValue:E,resultType:T}=e;if(Array.isArray(C)){const S=+k-E.length;C.length>S&&(C=C.slice(0,S)),Promise.all(C.map(D=>KV(D,T))).then(D=>{const v=C.map((I,B)=>{const $={file:I,status:"",message:"",objectUrl:URL.createObjectURL(I)};return D[B]&&($.content=D[B]),$});s(v)})}else KV(C,T).then(S=>{const D={file:C,status:"",message:"",objectUrl:URL.createObjectURL(C)};S&&(D.content=S),s(D)})},d=C=>{const{files:k}=C.target;if(e.disabled||!k||!k.length)return;const E=k.length===1?k[0]:[].slice.call(k);if(e.beforeRead){const T=e.beforeRead(E,l());if(!T){i();return}if(DC(T)){T.then(S=>{c(S||E)}).catch(i);return}}c(E)};let u;const f=()=>n("close-preview"),p=C=>{if(e.previewFullImage){const k=e.modelValue.filter(GV),E=k.map(T=>(T.objectUrl&&!T.url&&T.status!=="failed"&&(T.url=T.objectUrl,a.push(T.url)),T.url)).filter(Boolean);u=eh(bt({images:E,startPosition:k.indexOf(C),onClose:f},e.previewOptions))}},m=()=>{u&&u.close()},g=(C,k)=>{const E=e.modelValue.slice(0);E.splice(k,1),n("update:modelValue",E),n("delete",C,l(k))},y=(C,k)=>{const E=["imageFit","deletable","previewSize","beforeDelete"],T=bt(_n(e,E),_n(C,E,!0));return t.createVNode(CRe,t.mergeProps({item:C,index:k,onClick:()=>n("click-preview",C,l(k)),onDelete:()=>g(C,k),onPreview:()=>p(C)},_n(e,["name","lazyLoad"]),T),_n(o,["preview-cover","preview-delete"]))},b=()=>{if(e.previewImage)return e.modelValue.map(y)},w=C=>n("click-upload",C),N=()=>{if(e.modelValue.length>=e.maxCount||!e.showUpload)return;const C=e.readonly?null:t.createVNode("input",{ref:r,type:"file",class:lo("input"),accept:e.accept,capture:e.capture,multiple:e.multiple,disabled:e.disabled,onChange:d},null);return o.default?t.createVNode("div",{class:lo("input-wrapper"),onClick:w},[o.default(),C]):t.createVNode("div",{class:lo("upload",{readonly:e.readonly}),style:hs(e.previewSize),onClick:w},[t.createVNode(Ht,{name:e.uploadIcon,class:lo("upload-icon")},null),e.uploadText&&t.createVNode("span",{class:lo("upload-text")},[e.uploadText]),C])},_=()=>{r.value&&!e.disabled&&r.value.click()};return t.onBeforeUnmount(()=>{a.forEach(C=>URL.revokeObjectURL(C))}),tn({chooseFile:_,closeImagePreview:m}),fs(()=>e.modelValue),()=>t.createVNode("div",{class:lo()},[t.createVNode("div",{class:lo("wrapper",{disabled:e.disabled})},[b(),N()])])}});const kRe=Xe(NRe),ERe="3.6.12";function xRe(e){[oL,FC,RBe,WC,W9e,sLe,bL,jc,kr,_Le,DLe,nVe,Ja,lVe,KL,hVe,wVe,SVe,OVe,$Ve,jVe,HVe,QVe,ZVe,r$e,b_,f$e,M$e,S$e,ao,V$e,H$e,U$e,rV,Bl,GC,K$e,Z$e,Ht,Xg,eh,fje,pje,bje,Ga,q9,_je,xje,Fr,jje,uL,Hje,Qje,Pg,Y7e,Xa,q7e,tPe,a_,o_,lPe,iPe,fPe,bPe,LV,$V,DPe,OPe,VPe,FPe,KPe,qPe,VL,eRe,u_,rRe,f_,t_,e1,iRe,uRe,h_,Qg,Er,mRe,kRe].forEach(o=>{o.install?e.use(o):o.name&&e.component(o.name,o)})}var TRe={install:xRe,version:ERe},M1={},w1={};Object.defineProperty(w1,"__esModule",{value:!0}),w1.errorHandler=void 0;function SRe(e){if(!e)return;const n={message:"Um problema aconteceu e foi enviado para análise",type:"error",retryable:!0};return!window.navigator.onLine||e.message==="Network Error"?(n.message="Parece que você está offline.",n.type="info",n):typeof e=="string"?(n.message=e,n.retryable=!1,n):e.response&&e.response.status&&e.response.status>=400&&e.response.status<500?(n.message="Algumas informações não foram atualizadas.",n.retryable=!1,n):(e.response&&e.response.status>=500&&(n.message="Ops, encontramos um erro. Tente novamente mais tarde."),n)}w1.errorHandler=SRe,function(e){var n=yn&&yn.__createBinding||(Object.create?function(r,a,l,i){i===void 0&&(i=l),Object.defineProperty(r,i,{enumerable:!0,get:function(){return a[l]}})}:function(r,a,l,i){i===void 0&&(i=l),r[i]=a[l]}),o=yn&&yn.__exportStar||function(r,a){for(var l in r)l!=="default"&&!a.hasOwnProperty(l)&&n(a,r,l)};Object.defineProperty(e,"__esModule",{value:!0}),o(w1,e)}(M1);const Edt="",xdt="",DRe={name:"TopicItem",props:{multipleTargets:{type:Boolean},depth:{type:Number,default:0},propagate:{type:Function},propagateIncludes:{type:Function},parentsTopic:{type:Array,default:()=>[]},isCheckedFunction:{type:Function},populateTopic:{type:Function},hasChildChecked:{type:Function},parentIncludes:{type:Array,default:()=>[]},includesMap:{type:Object},parentChecked:{type:Boolean},topic:{type:Object},disabled:{type:Boolean},checked:{type:Boolean},selectedTopicKind:{type:String}},data:function(){return{showIncludes:!1,fetchingIncludes:!1,initialFetching:!0,fetched:!1,error:!1,includes:[],includesMapData:{},generator:null,buffer:[],hasMore:!1,limit:30}},created(){this.generator=this.combinedGenerator(),this.includesMapData=this.includesMap},watch:{async showIncludes(e){e===!0&&this.fetched===!1&&(this.fetched=!0,await this.fetch(),this.initialFetching=!1)}},computed:{includesNoData(){return{group:"Esta turma ainda não tem alunos",tag:"Esta tag ainda não tem turmas"}[this.topic.kind]},isSelectedEntityKind(){return this.topic.kind===this.selectedTopicKind},chanShowCheckbox(){return this.multipleTargets||this.isSelectedEntityKind&&!this.multipleTargets}},methods:{async*fetchToGenerator(e,n=null){const o={id:this.topic.id,kind:e,limit:this.limit+1,page:0};n&&(o.groupContext=n);let{hits:r,total:a}=await this.populateTopic(o);for(;a>0;){if(r.length>0){yield r.shift(),a--;continue}o.page+=1,r=(await this.populateTopic(o)).hits}},async*combinedGenerator(){this.topic.kind==="group"?(yield*this.fetchToGenerator("group","member"),yield*this.fetchToGenerator("group","user")):this.topic.kind==="member"?yield*this.fetchToGenerator("member","user"):yield*this.fetchToGenerator("tag")},async fetchPage(){const e=this.limit;for(;this.buffer.length<e+1;){let n=await this.generator.next();if(n.value){this.buffer.push(n.value);continue}break}return{results:this.buffer.splice(0,e),hasMore:this.buffer.length>0}},async fetch(){const e=Lc(this.includes);this.fetchingIncludes=!0;try{const{results:n,hasMore:o}=await this.fetchPage();this.includes=[...e,...n],this.includesMapData={...this.includesMapData,[this.topic.id]:this.includes},this.$emit("includes",{topic:this.topic,includes:this.includes}),this.hasMore=o}catch(n){this.error=n,this.$notify({...M1.errorHandler("Erro ao carregar mais."),duration:1e4,position:"bottom",showClose:!0})}finally{this.fetchingIncludes=!1}},color(e){return this.disabled?"gray-50":{member:"purple",group:"aqua",user:"link",tag:"warning"}[e]||"lead"},icon(e){return{member:"uil-graduation-cap",group:"uil-users-alt",user:"uil-user",tag:"uil-tag-alt"}[e]},isChildChecked(e){return this.isCheckedFunction(e)||this.isCheckedFunction(this.topic)},expandableKind(){return["group","tag","member"].includes(this.topic.kind)},toggleShowIncludes(){this.expandableKind&&(this.showIncludes=!this.showIncludes)},updateSelectedTopics(e,n){this.$emit("input",{topic:e,value:n})},topicIncludedChanged(e,n){this.parentsTopic.some(this.isCheckedFunction)&&!n&&this.parentsTopic.filter(this.isCheckedFunction).forEach(r=>{var a;this.updateSelectedTopics(r,!1),(a=this.includesMap[r.id])==null||a.forEach(l=>{this.hasChildChecked(l)||this.updateSelectedTopics(l,!0)})}),this.updateSelectedTopics(e,n)}}},vRe={class:"topic-item-group"},IRe={key:0,class:"topic-chevron mr-2"},ARe={class:"topic-icon"},ORe={key:0},zRe={class:"l-d-flex l-align-items-center my-2",style:{"justify-content":"center",width:"100%",height:"40px"}},BRe={key:1},LRe={class:"no-data-includes l-text-regular gray-60--text"},VRe={key:1},$Re={key:0,class:"mx-3 my-3"};function jRe(e,n,o,r,a,l){const i=t.resolveComponent("l-icon"),s=t.resolveComponent("l-checkbox"),c=t.resolveComponent("LCircularLoader"),d=t.resolveComponent("TopicItem",!0),u=t.resolveComponent("l-button"),f=t.resolveComponent("l-transition-expand");return t.openBlock(),t.createElementBlock("div",vRe,[t.createElementVNode("div",{class:t.normalizeClass("topic-item-group-header depth-"+o.depth+" l-d-flex l-align-items-center pl-3"+(l.isSelectedEntityKind&&o.depth>0?" user-topic-item-group-header":""))},[t.createElementVNode("div",{class:"l-flex l-d-flex l-align-items-center",onClick:n[0]||(n[0]=t.withModifiers(p=>l.isSelectedEntityKind?null:l.toggleShowIncludes(),["stop"]))},[l.isSelectedEntityKind?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",IRe,[t.createVNode(i,{class:"gray-60--text",size:"24"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.showIncludes?"uil-angle-down":"uil-angle-right"),1)]),_:1})])),t.createElementVNode("div",ARe,[t.createElementVNode("div",{class:t.normalizeClass(["bg-icon",l.color(o.topic.kind)])},null,2),t.createVNode(i,{class:t.normalizeClass(l.color(o.topic.kind)+"--text")},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(l.icon(o.topic.kind)),1)]),_:1},8,["class"])]),t.createElementVNode("div",{class:t.normalizeClass(["l-flex ml-2 mr-3 l-text-regular ellipsis-2",o.disabled?"gray-70--text":"lead-light--text"])},t.toDisplayString(o.topic.name),3)]),(t.openBlock(),t.createBlock(s,{disabled:o.disabled,checked:o.isCheckedFunction(o.topic),indeterminate:o.hasChildChecked(o.topic)&&!o.isCheckedFunction(o.topic),key:o.isCheckedFunction(o.topic),onChange:n[1]||(n[1]=p=>o.parentsTopic.length?l.topicIncludedChanged(o.topic,p):l.updateSelectedTopics(o.topic,p)),class:t.normalizeClass(["p-3",{"circular-checkbox":!o.multipleTargets}]),style:t.normalizeStyle({display:l.chanShowCheckbox?"block":"none"})},null,8,["disabled","checked","indeterminate","class","style"]))],2),n[8]||(n[8]=t.createElementVNode("hr",null,null,-1)),t.createVNode(f,null,{default:t.withCtx(()=>[e.showIncludes?(t.openBlock(),t.createElementBlock("div",ORe,[e.initialFetching?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",zRe,[t.createVNode(c,{width:40,height:40})]),n[5]||(n[5]=t.createElementVNode("hr",null,null,-1))],64)):(t.openBlock(),t.createElementBlock("div",BRe,[!e.includes.length&&!e.hasMore||e.error?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",LRe,t.toDisplayString(l.includesNoData),1),n[6]||(n[6]=t.createElementVNode("hr",null,null,-1))],64)):(t.openBlock(),t.createElementBlock("div",VRe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.includes,p=>(t.openBlock(),t.createBlock(d,{key:p.id,onInput:n[2]||(n[2]=m=>o.propagate(m)),onIncludes:n[3]||(n[3]=m=>o.propagateIncludes(m)),propagateIncludes:o.propagateIncludes,hasChildChecked:o.hasChildChecked,isCheckedFunction:l.isChildChecked,checked:l.isChildChecked(p),depth:o.depth+1,topic:p,selectedTopicKind:o.selectedTopicKind,parentsTopic:[...o.parentsTopic,o.topic],parentIncludes:e.includes,includesMap:e.includesMapData,parentChecked:o.checked,populateTopic:o.populateTopic,propagate:o.propagate,disabled:o.disabled,multipleTargets:o.multipleTargets},null,8,["propagateIncludes","hasChildChecked","isCheckedFunction","checked","depth","topic","selectedTopicKind","parentsTopic","parentIncludes","includesMap","parentChecked","populateTopic","propagate","disabled","multipleTargets"]))),128)),e.hasMore?(t.openBlock(),t.createElementBlock("div",$Re,[t.createVNode(u,{loading:e.fetchingIncludes,onClick:n[4]||(n[4]=p=>l.fetch()),plain:"",fill:""},{default:t.withCtx(()=>n[7]||(n[7]=[t.createTextVNode(" Carregar mais ")])),_:1},8,["loading"])])):t.createCommentVNode("",!0)]))]))])):t.createCommentVNode("",!0)]),_:1})])}const PRe=lt(DRe,[["render",jRe],["__scopeId","data-v-871ec2bc"]]),Tdt="",RRe={props:{term:{type:String}}},FRe={class:"l-d-flex l-align-items-center lead--text recent-topic"},HRe={class:"l-flex l-text-regular mx-2"};function URe(e,n,o,r,a,l){const i=t.resolveComponent("l-icon"),s=t.resolveComponent("l-button");return t.openBlock(),t.createElementBlock("div",FRe,[t.createVNode(i,{size:"16"},{default:t.withCtx(()=>n[1]||(n[1]=[t.createTextVNode("uil-history")])),_:1}),t.createElementVNode("div",HRe,t.toDisplayString(o.term),1),t.createVNode(s,{onClick:n[0]||(n[0]=t.withModifiers(c=>e.$emit("remove"),["stop"])),circle:"",icon:"uil-multiply",class:"border-none lead--text f-18 p-1"})])}const YRe=lt(RRe,[["render",URe],["__scopeId","data-v-a8c57ab5"]]),Sdt="",WRe={props:{query:{type:Object},typing:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasAnySelectedTopic:{type:Boolean,default:!1},kinds:{type:Array}},data:e=>{const n=wo.cloneDeep(e.query);return{localQuery:n,queryKind:n.kind}},computed:{filteredKinds(){return this.kinds.filter(e=>this.localQuery.q||!(e.value==="member"||e.value==="user"))}},watch:{queryKind:{handler(e){this.localQuery={...this.localQuery,kind:e}},immediate:!0,deep:!0},localQuery:{handler(e){this.$emit("update:query",e)},deep:!0,immediate:!0}},methods:{clearInput(){this.updateQuery({target:{value:null}})},isSelected(e){return er(this.localQuery,"kind",null)===e},updateQuery(e){this.localQuery={...this.localQuery,q:er(e,"target.value",null)}},setInputClass(e){return"search-input-wrapper ml-2 l-flex"+" "+e},back(){this.$emit("close")},save(){this.$emit("save")}}},QRe={class:"app-navigation"},KRe={class:"search-topics-header l-d-flex l-align-items-center pl-2 pr-3"},qRe={key:0,class:"filter-kind l-d-flex px-3 pb-2"};function GRe(e,n,o,r,a,l){const i=t.resolveComponent("l-button"),s=t.resolveComponent("l-icon"),c=t.resolveComponent("l-radio-button"),d=t.resolveComponent("l-radio-group"),u=t.resolveComponent("l-linear-progress");return t.openBlock(),t.createElementBlock("div",QRe,[t.createElementVNode("div",KRe,[t.createVNode(i,{onClick:l.back,circle:"",icon:"uil-arrow-left",class:"border-none gray-70--text f-24 p-1"},null,8,["onClick"]),t.createElementVNode("div",{class:t.normalizeClass(l.setInputClass("blurred"))},[t.withDirectives(t.createElementVNode("input",{style:{width:"100%"},autocomplete:"off",placeholder:"Pesquisar","onUpdate:modelValue":n[0]||(n[0]=f=>e.localQuery.q=f),onFocus:n[1]||(n[1]=f=>l.setInputClass("focused")),onBlur:n[2]||(n[2]=f=>l.setInputClass("blurred")),onKeypress:n[3]||(n[3]=t.withKeys(f=>f.target.blur(),["enter"])),onInput:n[4]||(n[4]=(...f)=>l.updateQuery&&l.updateQuery(...f))},null,544),[[t.vModelText,e.localQuery.q]]),e.localQuery.q?(t.openBlock(),t.createBlock(s,{key:0,class:"lead-light--text cursor-pointer",onClick:l.clearInput,size:"16"},{default:t.withCtx(()=>n[6]||(n[6]=[t.createTextVNode(" uil-times ")])),_:1},8,["onClick"])):t.createCommentVNode("",!0)],2),t.createVNode(i,{disabled:!o.hasAnySelectedTopic,onClick:l.save,loading:o.loading||o.typing,type:"primary",class:"save-button bold l-d-flex l-align-items-center f-14 ml-2"},{default:t.withCtx(()=>n[7]||(n[7]=[t.createTextVNode(" Salvar ")])),_:1},8,["disabled","onClick","loading"])]),e.localQuery.q||o.query.kind!=="*"?(t.openBlock(),t.createElementBlock("div",qRe,[t.createVNode(d,{modelValue:e.queryKind,"onUpdate:modelValue":n[5]||(n[5]=f=>e.queryKind=f),class:"l-flex-nowrap",size:"small",separated:"",color:"lead-light"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.filteredKinds,f=>(t.openBlock(),t.createBlock(c,{key:f.value,label:f.value},{default:t.withCtx(()=>[f.icon?(t.openBlock(),t.createBlock(s,{key:0,color:l.isSelected(f.value)?"white":"lead-light",size:"13"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f.icon),1)]),_:2},1032,["color"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(f.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),o.loading||o.typing?(t.openBlock(),t.createBlock(u,{key:1})):t.createCommentVNode("",!0)])}const XRe=lt(WRe,[["render",GRe],["__scopeId","data-v-4a29e69f"]]),XV=Symbol.for("GlobalStack"),ZV=class{static createStackInstance(n){if(console.warn(`[VueModals] No ModalStack was found for name "${n}". Using Modals without a stack instance causes one to be created as default at the end of the document body.`),this.globalStackInstances.get(n))return console.warn(`[VueModals] A ModalStack instance with the name "${n}" already exists. Returning stack.`),this.globalStackInstances.get(n);const o=document.createElement("aside");document.body.insertAdjacentElement("beforeend",o);const r=t.createApp(B_,{name:n});return r.mount(o),this.globalStackInstances.set(n,r),r}static stack(n="default"){if(n==="default"&&!this.globalStackInstances.has("default"))return this.createStackInstance("default");if(this.globalStackInstances.has(n))return this.globalStackInstances.get(n);throw new Error(`[VueModals] No stack instance found for name "${n??"default"}". Create a ModalStack instance with this name to use it.`)}static open(n){return this.stack(n.stack).push(n)}static registerStack(n,o){console.warn("register",n,o),this.globalStackInstances.has(n)?console.warn(`[VueModals] Multiple instances of ModalStack must have unique names. Duplicate name found for ModalStack "${n}".`):this.globalStackInstances.set(n,o)}static unregisterStack(n,o){console.warn("unregister",n,o),this.globalStackInstances.get(n)===o?this.globalStackInstances.delete(n):console.warn(`[VueModals] Could not unregister ModalStack because a duplicate name was found "${n}".`)}};ZV.globalStackInstances=window[XV]||(window[XV]=new Map);let Hu=ZV;const ZRe=t.defineComponent({props:{stack:{type:Array},index:{type:Number},modal:{type:Object},position:{type:String,default:"right"}},computed:{ensuredPosition(){return this.position==="left"?"left":"right"},depth(){const e=this.stack.filter(o=>{const r=o.options.position??"right";return o.options.layout==="drawer"&&r===this.ensuredPosition}),n=e.findIndex(o=>o===this.modal);return e.length-n-1}}}),z_=(e,n)=>{const o=e.__vccOpts||e;for(const[r,a]of n)o[r]=a;return o},JRe=["position"];function eFe(e,n,o,r,a,l){return t.openBlock(),t.createElementBlock("section",{layout:"drawer",position:e.ensuredPosition,style:t.normalizeStyle({"--depth":e.depth})},[t.renderSlot(e.$slots,"default")],12,JRe)}const tFe=z_(ZRe,[["render",eFe]]),nFe=t.defineComponent({computed:{classes(){return{center:!0}}},props:{stack:{type:Array},index:{type:Number},modal:{type:Object},showClose:{type:Object}}}),oFe={key:0,class:"header"},rFe={class:"content"};function aFe(e,n,o,r,a,l){return t.openBlock(),t.createElementBlock("section",{layout:"dialog",class:t.normalizeClass(e.classes)},[e.showClose?(t.openBlock(),t.createElementBlock("div",oFe,[t.createElementVNode("button",{class:"close-button",onClick:n[0]||(n[0]=i=>e.$emit("close"))},"×")])):t.createCommentVNode("",!0),t.createElementVNode("div",rFe,[t.renderSlot(e.$slots,"default")]),n[1]||(n[1]=t.createElementVNode("div",{class:"footer"},null,-1))],2)}const lFe=z_(nFe,[["render",aFe]]);var iFe=1;const JV=Symbol("Reject"),e$=Symbol("Resolve"),ch=Symbol("Fulfilled"),sFe={drawer:tFe,dialog:lFe},cFe=t.defineComponent({name:"vue-modals-stack",data(){return{stack:[]}},created(){Hu.registerStack(this.name,this)},beforeUnmount(){Hu.unregisterStack(this.name,this)},methods:{getLayoutComponentFromModalLayout(e){return typeof e=="string"?sFe[e]??e:e},removeFromStack(e){const n=this.stack.findIndex(o=>o===e);n<0||this.stack.splice(n,1)},addToStack(e){this.stack.push(e)},push(e){const n=this.buildModal(e);return this.addToStack(n),n},close(e,n){return this.canClose(e)?(this.destroy(e,n),!0):!1},layoutForModal(e){const n=e.layout??e.options.layout??this.layout??"section",o=C1.app;if(typeof n=="string"){const r=o.component(n);if(r)return r}return n},canClose(e){var n;const o=new Event("beforeClose",{cancelable:!0});if(e.options.beforeClose&&(e.options.beforeClose(o),o.defaultPrevented))return!1;const r=(n=this.$refs[e.id])==null?void 0:n[0];return!(r&&typeof r.beforeClose=="function"&&(r.beforeClose(o),o.defaultPrevented)||!this.stack.filter(a=>a.options.parent===r).every(a=>this.canClose(a)))},destroy(e,n){e[ch]||(e[ch]=!0,e[JV](n??new Error("Modal closed"))),this.removeFromStack(e)},answer(e,n){e[ch]||(e[ch]=!0,e[e$](n)),this.removeFromStack(e)},pop(){if(this.stack.length){const e=this.stack[this.stack.length-1];if(this.close(e))return e}return null},popUntil(e){if(!(this.stack.findIndex(n=>e===n)<0))for(;this.stack.length>0;){const n=this.pop();if(n===e||n===null)return}},clear(){for(;this.stack.length;)this.destroy(this.stack[this.stack.length-1])},buildModal(e){var n;let o,r;const a=new Promise((l,i)=>{o=l,r=s=>"default"in e?l(e.default):i(s)});return!e.layout&&(n=e.component)!=null&&n.layout&&(e.layout=e.component.layout),e.parent&&t.onBeforeUnmount(()=>{this.destroy(a,new Error("Component was destroyed"))}),a.id=iFe++,a.stack=this,a.options=e,a.layout=this.layoutForModal(a),a.position=e.position,a[JV]=r,a[e$]=o,a[ch]=!1,a.close=l=>this.close(a,l),a.destroy=l=>this.destroy(a,l),a},onNameChanged(e,n){n&&Hu.unregisterStack(n,this),e&&Hu.registerStack(e,this)}},props:{name:{type:String,default:"default"},layout:{type:String,default:"drawer"}},watch:{name:[{handler:"onNameChanged"}]}}),dFe=["onClick"];function uFe(e,n,o,r,a,l){return t.openBlock(),t.createBlock(t.TransitionGroup,{tag:"div",stack:e.name,name:"modal"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.stack,(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i.id},[i.options.hideOverlay?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(`z-index: ${1e3+s}`),class:t.normalizeClass(["vue-modals-overlay",{below:s<e.stack.length-1,far:s<e.stack.length-4}]),onClick:c=>i.options.clickToClose!==!1&&e.close(i)},null,14,dFe)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.getLayoutComponentFromModalLayout(i.layout)),{"modal-id":i.id,modal:i,showClose:i.options.showClose,class:"vue-modals-layout",style:t.normalizeStyle(`z-index: ${1001+s}`),stack:e.stack,index:s,position:i.position,onClose:c=>e.close(i,c),onDestroy:c=>e.destroy(i,c),onAnswer:c=>e.answer(i,c)},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.options.component),t.mergeProps({ref_for:!0,ref:i.id},i.options.props,{onClose:c=>e.close(i,c),onDestroy:c=>e.destroy(i,c),onAnswer:c=>e.answer(i,c)}),null,16,["onClose","onDestroy","onAnswer"]))]),_:2},1064,["modal-id","modal","showClose","style","stack","index","position","onClose","onDestroy","onAnswer"]))],64))),128))]),_:1},8,["stack"])}const B_=z_(cFe,[["render",uFe]]),C1={app:void 0,install(e){e.component("vue-modals-stack",B_),e.config.globalProperties.$modals=Hu,C1.app=e},Modals:Hu,ModalStack:B_};async function fFe(e){const n=window.LayersPortal?window.LayersPortal.platform:"shell";if(n==="shell"||n==="iframe"){const r=C1.Modals.stack().push({layout:"dialog",showClose:!1,component:Zw,props:{title:e.title,content:e.content,buttonCloseLabel:e.buttonCloseLabel,buttonConfirmLabel:e.buttonConfirmLabel}});try{return await r}catch{return!1}}return window.confirm(e.content||e.title)}async function pFe(){const e=C1.Modals.stack();window.history.go(1);const n=e.push({layout:"dialog",showClose:!1,component:Zw,props:{buttonCloseLabel:"Permanecer aqui",buttonConfirmLabel:"Descartar alterações",title:"Alterações não salvas",content:"Você quer mesmo sair? Existem alterações que não foram salvas. Se você sair, suas alterações serão perdidas."}});try{const o=await n;if(o)return o}catch{}}const hFe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIwIiBoZWlnaHQ9IjE4MyIgdmlld0JveD0iMCAwIDIyMCAxODMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNODMuMjk5NCAxNjQuMjk4TDgzLjI5OSAxNjQuMjk4Qzc5LjA5NiAxNjYuMjIgNzUuMTk0NiAxNjguMDA1IDcxLjMxNDcgMTY5LjIxQzUxLjk2MDMgMTc1LjIyMyAzMS4wNjI2IDE3NS45MjIgMTAuMjk0OCAxNDguMjIxQy0xMC40NzI5IDEyMC41MTkgLTAuMzE2MjIyIDg0Ljk0NTQgNDUuMjkwOSA3MC4xOTEyQzU3LjIwOTMgNjYuMzM5IDYyLjgwOTQgNTcuNzI3NSA2OS41NjAzIDQ3LjM0NjFDNzYuNjg1MSAzNi4zODk5IDg1LjA5MTcgMjMuNDYyNSAxMDMuNTYgMTIuMDc4MkMxNTIuNTU1IC0xOC4xMTMzIDE5Ny4wODggMTAuNzYzNSAyMTUuODU4IDcxLjI3MTRDMjM0LjYyNyAxMzEuNzc5IDE4Ni43IDE1OS4xNDQgMTMwLjY3MiAxNTQuNDk4QzEwOC43MSAxNTIuNjc1IDk0Ljg2MzQgMTU5LjAwOSA4My4yOTk0IDE2NC4yOThaIiBmaWxsPSIjNTQ1MUQ2Ii8+CjxwYXRoIG9wYWNpdHk9IjAuOSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04My4yOTk0IDE2NC4yOThMODMuMjk5IDE2NC4yOThDNzkuMDk2IDE2Ni4yMiA3NS4xOTQ2IDE2OC4wMDUgNzEuMzE0NyAxNjkuMjFDNTEu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NMTI2LjgzMyA0NC4wMDQ0TDEyNC4xMzggNDQuMTc1NUMxMjQuMTM4IDQ0LjE3NTUgMTI0LjgzMyA0MC44NzM3IDEyMy44NTggMzguNzIzNEMxMjIuOTQyIDM2LjU1MTUgMTIxLjkyMyAzNS4wMjY5IDEyNi4xODUgMzMuNjA2MUMxMzAuNDQ4IDMyLjE4NTMgMTM0LjM1NCAzNS41Njg1IDEyNi44MzMgNDQuMDA0NFoiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTE0MC41MzYgMzcuOTg2NUMxMzUuNjQyIDM4Ljk2MDQgMTI2LjY2NSAzOS4wNTM4IDEyNS42NTEgMzMuMDU2NEMxMjUuMDA3IDI5LjAyMzcgMTMxLjIwMyAyOC4xMTY1IDEzMy4xMTkgMjkuNTE3QzEzNS4wNTYgMzAuOTc3NCAxMzkuMTIxIDMyLjc0NDkgMTQyLjQ5NiAzMy4zNDE4QzE0NS44NzEgMzMuOTM4NiAxNDcuODE4IDM2LjU0NzIgMTQwLjUzNiAzNy45ODY1WiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTQxLjI5OCA0Ny4zOTVMMTM4LjYxNSA0Ny4yMjM0QzEzOC42MTUgNDcuMjIzNCAxMzkuNjkzIDQ0LjA1MjUgMTM5LjAxNSA0MS43OTM4QzEzOC4zMzcgMzkuNTM1MSAxMzcuNTM0IDM3Ljg2MzggMTQxLjkzMSAzNy4wMDM2QzE0Ni4zNjYgMzYuMDYxOCAxNDkuNzg1IDM5Ljk2MTMgMTQxLjI5OCA0Ny4zOTVaIiBmaWxsPSIjMjYzMjM4Ii8+Cjwvc3ZnPgo=",Ddt="",mFe={tagName:"l-search-topics",name:"LSearchTopics",components:{TopicItemGroup:PRe,RecentTermSearched:YRe,SearchTopicsHeader:XRe,[WC.name]:WC},props:{multipleTargets:{type:Boolean,default:!0},canSendForAll:{type:Boolean,default:!1},searchTopics:{type:Function},populateTopic:{type:Function},alreadySelectedTopics:{type:Array},recentTopicsSearched:{type:Object},selectedTopicKind:{type:String,default:"user"}},data:function(){return{forAllTagChecked:!1,showSelected:!1,selectedTopics:[],includesMap:{},querySearchTopics:{q:null,kind:"*",page:0},searchedTopics:{tag:{hits:[],total:0},group:{hits:[],total:0},member:{hits:[],total:0},user:{hits:[],total:0}},total:0,kinds:["*","tag","group","member","user"],kindsIcons:{tag:"uil-tag-alt",group:"uil-users-alt",member:"uil-graduation-cap",user:"uil-user","*":""},typing:!1,loading:!1,loadingMore:!1}},watch:{selectedTopics(e){(!e||e.length===0)&&(this.showSelected=!1)},querySearchTopics(){!this.typing&&!this.loadingMore&&(this.typing=!0),this.searchDebounced()}},computed:{canShowSendForAll(){return this.canSendForAll&&!this.hasQuery&&this.multipleTargets},searchingSpan(){var e;return this.querySearchTopics.q?this.querySearchTopics.q:this.querySearchTopics.kind==="*"?"":(e=this.getKindNamePlural(this.querySearchTopics.kind))==null?void 0:e.toLowerCase()},hasQuery(){return this.querySearchTopics.q||this.querySearchTopics.kind!=="*"},showRecentSearchedTopics(){return this.recentTopicsSearched.data?this.recentTopicsSearched.data.length>0&&!this.hasQuery:!1},filteredSearchedTopics(){return{...this.searchedTopics,tag:{hits:this.searchedTopics.tag.hits.filter(e=>e.id!=="*"),total:this.searchedTopics.tag.total}}},forAllTag:{get(){return this.forAllTagChecked},set(e){const n=this.searchedTopics.tag.hits;if(this.selectedTopics&&this.selectedTopics.length&&this.selectedTopics.find(o=>o.id!=="*")&&e!=="confirm"){this.showForAllTagAlert().then(o=>{if(!o){this.forAllTagChecked=!1;return}const r=n.find(a=>a.id==="*");this.setSelectedTopics([r]),this.forAllTagChecked=!0});return}if(e=!!e,e&&this.searchedTopics&&n){const o=n.find(r=>r.id==="*");this.setSelectedTopics([o])}else this.setSelectedTopics([]);this.forAllTagChecked=e}},recentTopicsFiltered(){return Lc(this.recentTopicsSearched.data).reverse().slice(0,3)},topicsSummary(){if(!this.selectedTopics||!this.selectedTopics.length)return"";if(this.forAllTagChecked)return"Enviando para todos";const e=[];return this.kinds.filter(n=>n!=="*").forEach(n=>{var r,a;const o=JB(this.selectedTopics,{kind:n}).length;o===1?e.push(`1 ${(r=this.getKindName(n))==null?void 0:r.toLowerCase()}`):o>1&&e.push(`${o} ${(a=this.getKindNamePlural(n))==null?void 0:a.toLowerCase()}`)}),e.length?e.join(", "):null},hasAnySearchedTopic(){return this.total?this.total>0:null},headerKinds(){return this.kinds.filter(e=>e!=="tag"||this.canSendForAll).map(e=>({value:e,name:this.getKindNamePlural(e),icon:this.kindsIcons[e]}))},resultKinds(){return this.kinds.filter(n=>n!=="*").filter(n=>this.filteredSearchedTopics[n].total&&this.filteredSearchedTopics[n].hits.length)},totalLabel(){return this.total===1?"1 resultado encontrado":this.total+" resultados encontrados"},isAllEntities(){return this.querySearchTopics.kind==="*"}},async created(){this.loading=!0;try{const e=await this.searchTopics(this.querySearchTopics);this.searchedTopics=e.result,this.total=e.total}catch{this.$notify({...M1.errorHandler("Erro ao carregar o público alvo."),duration:1e4,position:"bottom",showClose:!0})}finally{this.loading=!1}this.selectedTopics=this.alreadySelectedTopics,this.selectedTopics&&this.selectedTopics.length&&this.selectedTopics.find(e=>e.id==="*"&&e.kind==="tag")&&this.multipleTargets&&(this.forAllTag=!0)},unmounted(){this.setSelectedTopics([])},methods:{searchDebounced:vOe(async function(){console.log(this.querySearchTopics),er(this.querySearchTopics,"q.length",null)>3&&this.recentTopicsSearched.push(this.querySearchTopics.q),await this.getSearchedTopics(this.querySearchTopics),this.typing=!1},500,{leading:!1,trailing:!0}),useRecentTermSearched(e){this.setQuerySearchTopics({q:e,kind:"*"})},updateIncludesMap({topic:e,includes:n}){this.includesMap[e.id]=n},hasChildChecked(e){const n=this.includesMap[e.id];return n?n.some(this.isChecked)||n.some(this.hasChildChecked):!1},getKindName(e,n="pt-br"){return{"pt-br":{"*":"Procurar em tudo",tag:"Marcador",group:"Turma",member:"Aluno",user:"Usuário"},"en-us":{"*":"Search all",tag:"Tag",group:"Group",member:"Member",user:"User"}}[n][e]},getKindNamePlural(e,n="pt-br"){return{"pt-br":{"*":"Procurar em tudo",tag:"Marcadores",group:"Turmas",member:"Alunos",user:"Usuários"},"en-us":{"*":"Search all",tag:"Tags",group:"Groups",member:"Members",user:"Users"}}[n][e]},async getSearchedTopics(e){this.loadingMore||(this.loading=!0);try{const n=await this.searchTopics(e);if(e.page>0){const o=Lc(this.searchedTopics);await Promise.all(o8e(n.result).map(r=>{o[r]||(o[r]={hits:[],total:null}),o[r].hits=[...o[r].hits,...n.result[r].hits]})),this.searchedTopics=o}else this.searchedTopics=n.result,this.total=n.total}catch{this.$notify({...M1.errorHandler("Erro ao buscar o público desejado."),duration:1e4,position:"bottom",showClose:!0})}finally{this.loading=!1,this.loadingMore=!1}},loadMore(){this.loadingMore=!0;const e=er(this.querySearchTopics,"page",0)+1,n=er(this.querySearchTopics,"q",null),o=er(this.querySearchTopics,"kind",null);this.setQuerySearchTopics({q:n,kind:o,page:e})},getTopicHits(e){return er(this.filteredSearchedTopics,`${e}.hits`,[])},getTopicTotal(e){return er(this.filteredSearchedTopics,`${e}.total`,[])},needShowMore(e){return this.getTopicTotal(e)>this.getTopicHits(e).length},isChecked(e){return this.forAllTagChecked?!0:this.selectedTopics.filter(n=>n.kind===e.kind&&n.id===e.id).length!==0},filterForKind(e){this.setQuerySearchTopics({q:this.querySearchTopics.q,kind:e,page:0})},setSelectedTopics(e){this.selectedTopics=e},removeFromRecentTopicsSearched(e){this.recentTopicsSearched.remove(e)},setQuerySearchTopics(e){this.querySearchTopics=e},async showForAllTagAlert(){const e=await fFe({title:"Você já selecionou alguns destinatários e eles serão substituídos pela tag todos.",buttonCloseLabel:"Cancelar",buttonConfirmLabel:"Continuar"});if(e)return e},addTopic(e){if(this.selectedTopics.filter(o=>o.id===e.id&&o.kind===e.kind).length===0){const o=Lc(this.selectedTopics);o.push(e),this.setSelectedTopics(o)}},removeTopic(e){const n=this.selectedTopics.findIndex(r=>r.id===e.id&&r.kind===e.kind);if(n==-1)return;const o=Lc(this.selectedTopics);o.splice(n,1),this.setSelectedTopics(o)},updateSelectedTopics({topic:e,value:n}){if(!this.multipleTargets)return n?this.setSelectedTopics([e]):this.setSelectedTopics([]);if(!n){this.removeTopic(e);return}this.addTopic(e)},onSave(){const e=this.selectedTopics.map(n=>({hash:n.hash,name:n.name,kind:n.kind,id:n.id}));this.$emit("answer",e)},async onClose(){const e=Lc(this.alreadySelectedTopics).map(a=>a.kind+a.id),n=Lc(this.selectedTopics).map(a=>a.kind+a.id);if($ze(n,e).length===0){this.$emit("close");return}await pFe()&&this.$emit("close")},onInput(e){this.querySearchTopics=e}}},gFe={class:"search-topics-page l-col l-d-flex column"},yFe={class:"px-0 py-2 l-container scroll-y l-flex-grow-1"},bFe={key:0,class:"gray-70--text searching-label mx-3"},MFe={key:1,class:"mb-5"},wFe={key:0,class:"recent-search mb-3 mx-3"},CFe={key:1,class:"topic-item-tag-for-all mx-3"},_Fe={key:2,class:"results-total mb-2 px-3"},NFe={key:0,class:"topic-kind-title gray-70--text mb-2 px-3"},kFe={key:1,class:"m-3"},EFe={key:2,class:"m-3"},xFe={key:2,style:{display:"flex","flex-direction":"column",height:"100%","align-items":"stretch"}},TFe={key:0,class:"topic-item-tag-for-all empty-tags-groups-for-all mx-3"},SFe={key:1,class:"empty-tags-groups-placeholder"},DFe={key:2,class:"not-found-result mx-3"},vFe={key:0,class:"selected-topics"},IFe={class:"ml-2 topics-selected-summary l-flex link--text"},AFe={class:"l-d-flex m-3 l-align-items-center"},OFe={class:"mx-3 mb-3"};function zFe(e,n,o,r,a,l){const i=t.resolveComponent("SearchTopicsHeader"),s=t.resolveComponent("RecentTermSearched"),c=t.resolveComponent("l-checkbox"),d=t.resolveComponent("TopicItemGroup"),u=t.resolveComponent("l-button"),f=t.resolveComponent("l-target-chip"),p=t.resolveComponent("van-action-sheet");return t.openBlock(),t.createElementBlock("div",gFe,[t.createVNode(i,{class:"drawer-search-topics-header",kinds:l.headerKinds,query:e.querySearchTopics,typing:e.typing,loading:e.loading,hasAnySelectedTopic:e.selectedTopics.length>0,onSave:l.onSave,onClose:l.onClose,"onUpdate:query":l.onInput},null,8,["kinds","query","typing","loading","hasAnySelectedTopic","onSave","onClose","onUpdate:query"]),t.createElementVNode("div",yFe,[e.loading||e.typing?(t.openBlock(),t.createElementBlock("div",bFe," Procurando "+t.toDisplayString(l.searchingSpan)+"... ",1)):l.hasAnySearchedTopic?(t.openBlock(),t.createElementBlock("div",MFe,[l.showRecentSearchedTopics?(t.openBlock(),t.createElementBlock("div",wFe,[n[7]||(n[7]=t.createElementVNode("div",{class:"recent-search-title gray-70--text mb-2 l-text-regular"}," Buscas recentes ",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.recentTopicsFiltered,(m,g)=>(t.openBlock(),t.createBlock(s,{onClick:y=>l.useRecentTermSearched(m),term:m,key:g,class:"mb-2 cursor-pointer",onRemove:y=>l.removeFromRecentTopicsSearched(m)},null,8,["onClick","term","onRemove"]))),128))])):t.createCommentVNode("",!0),l.canShowSendForAll?(t.openBlock(),t.createElementBlock("div",CFe,[n[8]||(n[8]=t.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Enviar para todos ",-1)),t.createVNode(c,{modelValue:l.forAllTag,"onUpdate:modelValue":n[0]||(n[0]=m=>l.forAllTag=m)},null,8,["modelValue"])])):t.createCommentVNode("",!0),e.total>=1&&l.hasQuery?(t.openBlock(),t.createElementBlock("div",_Fe,t.toDisplayString(l.totalLabel),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.resultKinds,m=>(t.openBlock(),t.createElementBlock("div",{class:"topics-searched mb-3",key:m},[l.isAllEntities?(t.openBlock(),t.createElementBlock("h6",NFe,t.toDisplayString(l.getKindNamePlural(m))+" ("+t.toDisplayString(l.getTopicTotal(m))+") ",1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.getTopicHits(m),g=>(t.openBlock(),t.createBlock(d,{onInput:n[1]||(n[1]=y=>l.updateSelectedTopics(y)),onIncludes:l.updateIncludesMap,propagateIncludes:l.updateIncludesMap,propagate:l.updateSelectedTopics,hasChildChecked:l.hasChildChecked,topic:g,selectedTopicKind:o.selectedTopicKind,parentTopic:g,populateTopic:o.populateTopic,disabled:e.forAllTagChecked,checked:l.isChecked(g),isCheckedFunction:l.isChecked,multipleTargets:o.multipleTargets,key:g.id},null,8,["onIncludes","propagateIncludes","propagate","hasChildChecked","topic","selectedTopicKind","parentTopic","populateTopic","disabled","checked","isCheckedFunction","multipleTargets"]))),128)),l.isAllEntities&&l.needShowMore(m)?(t.openBlock(),t.createElementBlock("div",kFe,[t.createVNode(u,{loading:e.loading,onClick:g=>l.filterForKind(m),plain:"",fill:""},{default:t.withCtx(()=>{var g;return[t.createTextVNode(" Mostrar mais "+t.toDisplayString((g=l.getKindNamePlural(m))==null?void 0:g.toLowerCase()),1)]}),_:2},1032,["loading","onClick"])])):t.createCommentVNode("",!0),!l.isAllEntities&&l.needShowMore(m)?(t.openBlock(),t.createElementBlock("div",EFe,[t.createVNode(u,{class:"ma-3",loading:e.loadingMore,onClick:n[2]||(n[2]=g=>l.loadMore()),plain:"",fill:""},{default:t.withCtx(()=>n[9]||(n[9]=[t.createTextVNode(" Carregar mais ")])),_:1},8,["loading"])])):t.createCommentVNode("",!0)]))),128))])):(t.openBlock(),t.createElementBlock("div",xFe,[o.canSendForAll&&!this.hasQuery?(t.openBlock(),t.createElementBlock("div",TFe,[n[10]||(n[10]=t.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Enviar para todos ",-1)),t.createVNode(c,{modelValue:l.forAllTag,"onUpdate:modelValue":n[3]||(n[3]=m=>l.forAllTag=m)},null,8,["modelValue"])])):t.createCommentVNode("",!0),e.querySearchTopics.q?!e.typing&&!e.loading?(t.openBlock(),t.createElementBlock("div",DFe,n[12]||(n[12]=[t.createElementVNode("h4",{class:"bold lead--text m-0"},"Não encontramos resultados",-1),t.createElementVNode("p",{class:"lead-light--text l-text-regular mt-3 mb-0"}," Tenha certeza que você está digitando uma palavra-chave correta ",-1)]))):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",SFe,n[11]||(n[11]=[t.createElementVNode("img",{alt:"Search Topics",src:hFe},null,-1),t.createElementVNode("div",{class:"empty-tags-groups-placeholder-text mt-2"},[t.createElementVNode("h3",null,"Busque por marcadores, turmas, alunos e usuários"),t.createElementVNode("span",{class:"text-small lead-light--text"}," Quando você tiver marcadores e turmas, eles aparecerão aqui. ")],-1)])))]))]),e.selectedTopics&&e.selectedTopics.length?(t.openBlock(),t.createElementBlock("div",vFe,[t.createElementVNode("button",{class:"selected-topics-button l-d-flex l-align-items-center",style:{padding:"0"},onClick:n[4]||(n[4]=m=>e.forAllTagChecked?l.forAllTag=!1:e.showSelected=!0)},[n[13]||(n[13]=t.createElementVNode("div",{class:"selected-topics-button-bg"},null,-1)),t.createElementVNode("div",IFe,t.toDisplayString(l.topicsSummary),1),t.createVNode(u,{class:"mr-2 bold link--text",type:"text"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.forAllTagChecked?"Limpar":"ver tudo"),1)]),_:1})]),t.createVNode(p,{show:e.showSelected,"onUpdate:show":n[6]||(n[6]=m=>e.showSelected=m),"lock-scroll":"",style:{"max-height":"500px","min-height":"180px"}},{default:t.withCtx(()=>[t.createElementVNode("div",AFe,[n[14]||(n[14]=t.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Destinatários selecionados ",-1)),t.createVNode(u,{onClick:n[5]||(n[5]=m=>e.showSelected=!1),circle:"",icon:"uil-multiply",class:"border-none gray-70--text f-24 p-1"})]),t.createElementVNode("div",OFe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedTopics,m=>(t.openBlock(),t.createBlock(f,{onRemove:g=>l.removeTopic(m),key:m.id,kind:m.kind,name:m.name,closeable:!0,class:"mr-2 mb-2"},null,8,["onRemove","kind","name"]))),128))])]),_:1},8,["show"])])):t.createCommentVNode("",!0)])}const BFe=Object.freeze(Object.defineProperty({__proto__:null,default:lt(mFe,[["render",zFe],["__scopeId","data-v-27e3684d"]])},Symbol.toStringTag,{value:"Module"})),Idt="",LFe={name:"LSwitch",components:{ElSwitch:JM},props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],methods:{onUpdateModelValue(e){this.$emit("update:modelValue",e)}}};function VFe(e,n,o,r,a,l){const i=t.resolveComponent("l-icon"),s=t.resolveComponent("el-switch");return t.openBlock(),t.createBlock(s,t.mergeProps(e.$attrs,{"model-value":o.modelValue,"onUpdate:modelValue":l.onUpdateModelValue,class:"l-switch"}),{"active-action":t.withCtx(()=>[t.createVNode(i,null,{default:t.withCtx(()=>n[0]||(n[0]=[t.createTextVNode("uil-check")])),_:1})]),"inactive-action":t.withCtx(()=>[t.createVNode(i,null,{default:t.withCtx(()=>n[1]||(n[1]=[t.createTextVNode("uil-times")])),_:1})]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["model-value","onUpdate:modelValue"])}const $Fe=Object.freeze(Object.defineProperty({__proto__:null,default:lt(LFe,[["render",VFe],["__scopeId","data-v-e8ddf878"]])},Symbol.toStringTag,{value:"Module"}));/*!
112
112
  * mustache.js - Logic-less {{mustache}} templates with JavaScript
113
113
  * http://github.com/janl/mustache.js
114
114
  */var jFe=Object.prototype.toString,Uu=Array.isArray||function(n){return jFe.call(n)==="[object Array]"};function L_(e){return typeof e=="function"}function PFe(e){return Uu(e)?"array":typeof e}function V_(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function t$(e,n){return e!=null&&typeof e=="object"&&n in e}function RFe(e,n){return e!=null&&typeof e!="object"&&e.hasOwnProperty&&e.hasOwnProperty(n)}var FFe=RegExp.prototype.test;function HFe(e,n){return FFe.call(e,n)}var UFe=/\S/;function YFe(e){return!HFe(UFe,e)}var WFe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function QFe(e){return String(e).replace(/[&<>"'`=\/]/g,function(o){return WFe[o]})}var KFe=/\s*/,qFe=/\s+/,n$=/\s*=/,GFe=/\s*\}/,XFe=/#|\^|\/|>|\{|&|=|!/;function ZFe(e,n){if(!e)return[];var o=!1,r=[],a=[],l=[],i=!1,s=!1,c="",d=0;function u(){if(i&&!s)for(;l.length;)delete a[l.pop()];else l=[];i=!1,s=!1}var f,p,m;function g(S){if(typeof S=="string"&&(S=S.split(qFe,2)),!Uu(S)||S.length!==2)throw new Error("Invalid tags: "+S);f=new RegExp(V_(S[0])+"\\s*"),p=new RegExp("\\s*"+V_(S[1])),m=new RegExp("\\s*"+V_("}"+S[1]))}g(n||ua.tags);for(var y=new dh(e),b,w,N,_,C,k;!y.eos();){if(b=y.pos,N=y.scanUntil(f),N)for(var E=0,T=N.length;E<T;++E)_=N.charAt(E),YFe(_)?(l.push(a.length),c+=_):(s=!0,o=!0,c+=" "),a.push(["text",_,b,b+1]),b+=1,_===`