@opens/ui 1.0.16 → 1.0.18

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.
@@ -3,7 +3,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
3
3
  row: {
4
4
  type: __PropType<boolean>;
5
5
  required: false;
6
- default: boolean;
7
6
  };
8
7
  col: {
9
8
  type: __PropType<boolean>;
@@ -55,11 +54,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
55
54
  type: __PropType<boolean>;
56
55
  required: false;
57
56
  };
57
+ centerBetween: {
58
+ type: __PropType<boolean>;
59
+ required: false;
60
+ };
58
61
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
62
  row: {
60
63
  type: __PropType<boolean>;
61
64
  required: false;
62
- default: boolean;
63
65
  };
64
66
  col: {
65
67
  type: __PropType<boolean>;
@@ -111,8 +113,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
111
113
  type: __PropType<boolean>;
112
114
  required: false;
113
115
  };
116
+ centerBetween: {
117
+ type: __PropType<boolean>;
118
+ required: false;
119
+ };
114
120
  }>>, {
115
- row: boolean;
116
121
  gapBase: boolean;
117
122
  paddingBase: boolean;
118
123
  }, {}>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),eo={class:"simple-input"},to={class:"yu-flex yu-h-full yu-pl-2"},oo={class:"material-icons yu-text-gray-700 yu-my-auto"},no=["placeholder","type","maxlength"],Te=o.defineComponent({__name:"icon-text-input",props:{value:{},label:{},icon:{},placeholder:{},type:{},tooltip:{},caract:{},invalid:{type:Boolean}},emits:["blur","focus","input"],setup(e,{emit:t}){const n=t,i=e;o.ref(!1);const s=o.ref(i.value);o.ref(!1);const r=o.ref(i.type),l=o.ref(!1);o.watch(l,d=>{if(!d){n("blur");return}n("focus")});function a(){return!(l.value||s.value)}function u(d){n("input",d.target.value)}return(d,c)=>(o.openBlock(),o.createElementBlock("div",eo,[o.createElementVNode("div",to,[o.createElementVNode("i",oo,o.toDisplayString(d.icon),1),o.createElementVNode("p",{class:o.normalizeClass(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition",{"yu-translate-y-2 yu-text-sm":a(),"yu-translate-y-0 yu-text-xs":!a()}])},o.toDisplayString(d.label),3)]),o.withDirectives(o.createElementVNode("input",{class:"yu-pl-8 yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800",placeholder:d.placeholder,onInput:u,onFocus:c[0]||(c[0]=p=>l.value=!0),onBlur:c[1]||(c[1]=p=>l.value=!1),"onUpdate:modelValue":c[2]||(c[2]=p=>s.value=p),type:r.value||d.type,onKeyup:c[3]||(c[3]=o.withKeys(p=>d.$emit("keyup-enter"),["enter"])),maxlength:d.caract},null,40,no),[[o.vModelDynamic,s.value]])]))}}),io=["type","disabled"],he=o.defineComponent({__name:"text-input",props:{modelValue:{},label:{},invalid:{type:Boolean},disabled:{type:Boolean},type:{}},emits:["update:model-value","blur","press-enter"],setup(e,{emit:t}){const n=e,i=t,s=o.ref(n.modelValue),r=o.ref(!1);function l(){return!(r.value||s.value)}function a(d){i(d)}function u(d){const c=d.target;i("update:model-value",c.value)}return(d,c)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["simple-input",{"yu-border-red-500":d.invalid}])},[o.createElementVNode("p",{class:o.normalizeClass(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition",{"yu-translate-y-1/4 yu-text-sm":l(),"yu-translate-x-0 yu-text-xs":!l()}])},o.toDisplayString(d.label),3),o.withDirectives(o.createElementVNode("input",{class:"yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800 dark:yu-text-gray-200","onUpdate:modelValue":c[0]||(c[0]=p=>s.value=p),onKeyup:c[1]||(c[1]=o.withKeys(p=>a("press-enter"),["enter"])),type:d.type,disabled:d.disabled,onInput:u,onFocus:c[2]||(c[2]=p=>r.value=!0),onBlur:c[3]||(c[3]=p=>r.value=!1)},null,40,io),[[o.vModelDynamic,s.value]])],2))}}),so=["checked"],Pe=o.defineComponent({__name:"switch-checkbox",props:{modelValue:{type:Boolean},invalid:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue","change","input"],setup(e,{emit:t}){const n=e,i=t,s=o.ref(n.modelValue);return o.ref(!1),o.watch(s,r=>{i("update:modelValue",r)}),(r,l)=>(o.openBlock(),o.createElementBlock("div",{class:"yu-relative yu-inline-block yu-w-10 yu-align-middle yu-select-none yu-transition yu-duration-200 yu-ease-in",onClick:l[0]||(l[0]=a=>s.value=!s.value)},[o.createElementVNode("input",{class:"yu-absolute yu-block yu-w-6 yu-h-6 yu-bg-white yu-border-4 yu-rounded-full yu-appearance-none yu-cursor-pointer toggle-checkbox checked:yu-right-0 checked:yu-border-primary-500",type:"checkbox",checked:s.value},null,8,so),o.createElementVNode("label",{class:o.normalizeClass(["yu-block yu-h-6 yu-overflow-hidden yu-bg-gray-300 yu-rounded-full yu-cursor-pointer yu-toggle-label",{"yu-bg-primary-500":s.value}]),for:"toggle"},null,2)]))}}),Ne=o.defineComponent({__name:"button-primary",props:{large:{type:Boolean,default:!1},small:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},alert:{type:Boolean,default:!1},success:{type:Boolean,default:!1}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["yu-bg-primary yu-px-5 yu-p-2 yu-w-fit yu-text-base yu-text-white yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate hover:yu-brightness-90 active:yu-scale-95",{"!yu-px-7 !yu-p-4":e.large,"!yu-px-3 !yu-p-1":e.small,"!yu-bg-red-500":e.warning,"!yu-bg-yellow-400":e.alert,"!yu-bg-green-400":e.success}])},[o.renderSlot(t.$slots,"default")],2))}}),Ee=o.defineComponent({__name:"button-secondary",props:{large:{type:Boolean,default:!1},small:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},alert:{type:Boolean,default:!1},success:{type:Boolean,default:!1}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["yu-text-primary yu-bg-primary yu-text-base yu-w-fit yu-px-5 yu-p-2 yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate !yu-bg-opacity-5 group hover:!yu-bg-opacity-10 active:yu-scale-95 active:!yu-bg-opacity-20",{"!yu-text-lg":e.large,"!yu-text-sm":e.small,"!yu-text-red-500 !yu-bg-red-500":e.warning,"!yu-text-yellow-400 !yu-bg-yellow-400":e.alert,"!yu-text-green-400 !yu-bg-green-400":e.success}])},[o.renderSlot(t.$slots,"default")],2))}}),ro={class:"yu-transition yu-text-gray-900 yu-font-plus yu-text-sm yu-p-2 yu-font-semibold yu-rounded-md yu-cursor-pointer yu-flex yu-items-center active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400"};function lo(e,t){return o.openBlock(),o.createElementBlock("div",ro,[o.renderSlot(e.$slots,"default")])}const O=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n};var ao={};const we=O(ao,[["render",lo]]),uo={class:"yu-relative yu-w-full"},co={class:"yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2"},po={class:"yu-mt-2 yu-w-full yu-bg-white yu-rounded-md yu-flex yu-flex-col yu-gap-1 yu-shadow-md yu-absolute yu-z-10"},ho={class:"yu-w-full yu-rounded-md yu-p-2"},ct=o.defineComponent({__name:"simple-dropdown",props:{label:{},icon:{},isOpen:{type:Boolean}},setup(e){const t=e;o.watch(()=>t.isOpen,i=>{n.value=i});const n=o.ref(!1);return(i,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",uo,[o.createElementVNode("button",{class:o.normalizeClass(["yu-w-full yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition yu-border yu-border-gray-200 hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95",{"!yu-bg-primary-500 !yu-bg-opacity-10":n.value}]),onClick:s[0]||(s[0]=r=>n.value=!n.value)},[o.withDirectives(o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit",{"yu-text-primary-500":n.value}])},o.toDisplayString(i.icon),3),[[o.vShow,i.icon]]),o.createElementVNode("div",co,o.toDisplayString(i.label),1),o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto",{"yu-text-primary-500 yu-rotate-180":n.value}])}," keyboard_arrow_down",2)],2),o.withDirectives(o.createElementVNode("div",po,[o.createElementVNode("div",ho,[o.renderSlot(i.$slots,"default")])],512),[[o.vShow,n.value]])])]))}}),yo=["top","right","bottom","left"],qe=["start","end"],Ge=yo.reduce((e,t)=>e.concat(t,t+"-"+qe[0],t+"-"+qe[1]),[]),ie=Math.min,X=Math.max,fo={left:"right",right:"left",bottom:"top",top:"bottom"},mo={start:"end",end:"start"};function Ae(e,t,n){return X(e,ie(t,n))}function Z(e,t){return typeof e=="function"?e(t):e}function I(e){return e.split("-")[0]}function V(e){return e.split("-")[1]}function pt(e){return e==="x"?"y":"x"}function Le(e){return e==="y"?"height":"width"}function ue(e){return["top","bottom"].includes(I(e))?"y":"x"}function He(e){return pt(ue(e))}function ht(e,t,n){n===void 0&&(n=!1);const i=V(e),s=He(e),r=Le(s);let l=s==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=fe(l)),[l,fe(l)]}function go(e){const t=fe(e);return[ye(e),t,ye(t)]}function ye(e){return e.replace(/start|end/g,t=>mo[t])}function vo(e,t,n){const i=["left","right"],s=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:i:t?i:s;case"left":case"right":return t?r:l;default:return[]}}function wo(e,t,n,i){const s=V(e);let r=vo(I(e),n==="start",i);return s&&(r=r.map(l=>l+"-"+s),t&&(r=r.concat(r.map(ye)))),r}function fe(e){return e.replace(/left|right|bottom|top/g,t=>fo[t])}function bo(e){return{top:0,right:0,bottom:0,left:0,...e}}function yt(e){return typeof e!="number"?bo(e):{top:e,right:e,bottom:e,left:e}}function ee(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ue(e,t,n){let{reference:i,floating:s}=e;const r=ue(t),l=He(t),a=Le(l),u=I(t),d=r==="y",c=i.x+i.width/2-s.width/2,p=i.y+i.height/2-s.height/2,y=i[a]/2-s[a]/2;let h;switch(u){case"top":h={x:c,y:i.y-s.height};break;case"bottom":h={x:c,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-s.width,y:p};break;default:h={x:i.x,y:i.y}}switch(V(t)){case"start":h[l]-=y*(n&&d?-1:1);break;case"end":h[l]+=y*(n&&d?-1:1);break}return h}const xo=async(e,t,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:r=[],platform:l}=n,a=r.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:s}),{x:c,y:p}=Ue(d,i,u),y=i,h={},f=0;for(let m=0;m<a.length;m++){const{name:v,fn:g}=a[m],{x:w,y:x,data:$,reset:_}=await g({x:c,y:p,initialPlacement:i,placement:y,strategy:s,middlewareData:h,rects:d,platform:l,elements:{reference:e,floating:t}});if(c=w??c,p=x??p,h={...h,[v]:{...h[v],...$}},_&&f<=50){f++,typeof _=="object"&&(_.placement&&(y=_.placement),_.rects&&(d=_.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:s}):_.rects),{x:c,y:p}=Ue(d,y,u)),m=-1;continue}}return{x:c,y:p,placement:y,strategy:s,middlewareData:h}};async function be(e,t){var n;t===void 0&&(t={});const{x:i,y:s,platform:r,rects:l,elements:a,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:p="floating",altBoundary:y=!1,padding:h=0}=Z(t,e),f=yt(h),v=a[y?p==="floating"?"reference":"floating":p],g=ee(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(v)))==null||n?v:v.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(a.floating)),boundary:d,rootBoundary:c,strategy:u})),w=p==="floating"?{...l.floating,x:i,y:s}:l.reference,x=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a.floating)),$=await(r.isElement==null?void 0:r.isElement(x))?await(r.getScale==null?void 0:r.getScale(x))||{x:1,y:1}:{x:1,y:1},_=ee(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:x,strategy:u}):w);return{top:(g.top-_.top+f.top)/$.y,bottom:(_.bottom-g.bottom+f.bottom)/$.y,left:(g.left-_.left+f.left)/$.x,right:(_.right-g.right+f.right)/$.x}}const _o=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:r,platform:l,elements:a,middlewareData:u}=t,{element:d,padding:c=0}=Z(e,t)||{};if(d==null)return{};const p=yt(c),y={x:n,y:i},h=He(s),f=Le(h),m=await l.getDimensions(d),v=h==="y",g=v?"top":"left",w=v?"bottom":"right",x=v?"clientHeight":"clientWidth",$=r.reference[f]+r.reference[h]-y[h]-r.floating[f],_=y[h]-r.reference[h],S=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let B=S?S[x]:0;(!B||!await(l.isElement==null?void 0:l.isElement(S)))&&(B=a.floating[x]||r.floating[f]);const N=$/2-_/2,E=B/2-m[f]/2-1,C=ie(p[g],E),A=ie(p[w],E),k=C,Y=B-m[f]-A,T=B/2-m[f]/2+N,M=Ae(k,T,Y),L=!u.arrow&&V(s)!=null&&T!=M&&r.reference[f]/2-(T<k?C:A)-m[f]/2<0,F=L?T<k?T-k:T-Y:0;return{[h]:y[h]+F,data:{[h]:M,centerOffset:T-M-F,...L&&{alignmentOffset:F}},reset:L}}});function $o(e,t,n){return(e?[...n.filter(s=>V(s)===e),...n.filter(s=>V(s)!==e)]:n.filter(s=>I(s)===s)).filter(s=>e?V(s)===e||(t?ye(s)!==s:!1):!0)}const So=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,s;const{rects:r,middlewareData:l,placement:a,platform:u,elements:d}=t,{crossAxis:c=!1,alignment:p,allowedPlacements:y=Ge,autoAlignment:h=!0,...f}=Z(e,t),m=p!==void 0||y===Ge?$o(p||null,h,y):y,v=await be(t,f),g=((n=l.autoPlacement)==null?void 0:n.index)||0,w=m[g];if(w==null)return{};const x=ht(w,r,await(u.isRTL==null?void 0:u.isRTL(d.floating)));if(a!==w)return{reset:{placement:m[0]}};const $=[v[I(w)],v[x[0]],v[x[1]]],_=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:w,overflows:$}],S=m[g+1];if(S)return{data:{index:g+1,overflows:_},reset:{placement:S}};const B=_.map(C=>{const A=V(C.placement);return[C.placement,A&&c?C.overflows.slice(0,2).reduce((k,Y)=>k+Y,0):C.overflows[0],C.overflows]}).sort((C,A)=>C[1]-A[1]),E=((s=B.filter(C=>C[2].slice(0,V(C[0])?2:3).every(A=>A<=0))[0])==null?void 0:s[0])||B[0][0];return E!==a?{data:{index:g+1,overflows:_},reset:{placement:E}}:{}}}},Bo=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:s,middlewareData:r,rects:l,initialPlacement:a,platform:u,elements:d}=t,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...v}=Z(e,t);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=I(s),w=I(a)===a,x=await(u.isRTL==null?void 0:u.isRTL(d.floating)),$=y||(w||!m?[fe(a)]:go(a));!y&&f!=="none"&&$.push(...wo(a,m,f,x));const _=[a,...$],S=await be(t,v),B=[];let N=((i=r.flip)==null?void 0:i.overflows)||[];if(c&&B.push(S[g]),p){const k=ht(s,l,x);B.push(S[k[0]],S[k[1]])}if(N=[...N,{placement:s,overflows:B}],!B.every(k=>k<=0)){var E,C;const k=(((E=r.flip)==null?void 0:E.index)||0)+1,Y=_[k];if(Y)return{data:{index:k,overflows:N},reset:{placement:Y}};let T=(C=N.filter(M=>M.overflows[0]<=0).sort((M,L)=>M.overflows[1]-L.overflows[1])[0])==null?void 0:C.placement;if(!T)switch(h){case"bestFit":{var A;const M=(A=N.map(L=>[L.placement,L.overflows.filter(F=>F>0).reduce((F,Jt)=>F+Jt,0)]).sort((L,F)=>L[1]-F[1])[0])==null?void 0:A[0];M&&(T=M);break}case"initialPlacement":T=a;break}if(s!==T)return{reset:{placement:T}}}return{}}}};async function Co(e,t){const{placement:n,platform:i,elements:s}=e,r=await(i.isRTL==null?void 0:i.isRTL(s.floating)),l=I(n),a=V(n),u=ue(n)==="y",d=["left","top"].includes(l)?-1:1,c=r&&u?-1:1,p=Z(t,e);let{mainAxis:y,crossAxis:h,alignmentAxis:f}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&typeof f=="number"&&(h=a==="end"?f*-1:f),u?{x:h*c,y:y*d}:{x:y*d,y:h*c}}const ko=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:s,y:r,placement:l,middlewareData:a}=t,u=await Co(t,e);return l===((n=a.offset)==null?void 0:n.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:s+u.x,y:r+u.y,data:{...u,placement:l}}}}},To=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:s}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:v=>{let{x:g,y:w}=v;return{x:g,y:w}}},...u}=Z(e,t),d={x:n,y:i},c=await be(t,u),p=ue(I(s)),y=pt(p);let h=d[y],f=d[p];if(r){const v=y==="y"?"top":"left",g=y==="y"?"bottom":"right",w=h+c[v],x=h-c[g];h=Ae(w,h,x)}if(l){const v=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=f+c[v],x=f-c[g];f=Ae(w,f,x)}const m=a.fn({...t,[y]:h,[p]:f});return{...m,data:{x:m.x-n,y:m.y-i}}}}},Po=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:s,elements:r}=t,{apply:l=()=>{},...a}=Z(e,t),u=await be(t,a),d=I(n),c=V(n),p=ue(n)==="y",{width:y,height:h}=i.floating;let f,m;d==="top"||d==="bottom"?(f=d,m=c===(await(s.isRTL==null?void 0:s.isRTL(r.floating))?"start":"end")?"left":"right"):(m=d,f=c==="end"?"top":"bottom");const v=h-u[f],g=y-u[m],w=!t.middlewareData.shift;let x=v,$=g;if(p){const S=y-u.left-u.right;$=c||w?ie(g,S):S}else{const S=h-u.top-u.bottom;x=c||w?ie(v,S):S}if(w&&!c){const S=X(u.left,0),B=X(u.right,0),N=X(u.top,0),E=X(u.bottom,0);p?$=y-2*(S!==0||B!==0?S+B:X(u.left,u.right)):x=h-2*(N!==0||E!==0?N+E:X(u.top,u.bottom))}await l({...t,availableWidth:$,availableHeight:x});const _=await s.getDimensions(r.floating);return y!==_.width||h!==_.height?{reset:{rects:!0}}:{}}}};function P(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function H(e){return P(e).getComputedStyle(e)}const Ye=Math.min,te=Math.max,me=Math.round;function ft(e){const t=H(e);let n=parseFloat(t.width),i=parseFloat(t.height);const s=e.offsetWidth,r=e.offsetHeight,l=me(n)!==s||me(i)!==r;return l&&(n=s,i=r),{width:n,height:i,fallback:l}}function U(e){return gt(e)?(e.nodeName||"").toLowerCase():""}let de;function mt(){if(de)return de;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(de=e.brands.map(t=>t.brand+"/"+t.version).join(" "),de):navigator.userAgent}function R(e){return e instanceof P(e).HTMLElement}function q(e){return e instanceof P(e).Element}function gt(e){return e instanceof P(e).Node}function Ke(e){return typeof ShadowRoot>"u"?!1:e instanceof P(e).ShadowRoot||e instanceof ShadowRoot}function xe(e){const{overflow:t,overflowX:n,overflowY:i,display:s}=H(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(s)}function No(e){return["table","td","th"].includes(U(e))}function ze(e){const t=/firefox/i.test(mt()),n=H(e),i=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!i&&i!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const r=n.contain;return r!=null&&r.includes(s)})}function vt(){return!/^((?!chrome|android).)*safari/i.test(mt())}function Re(e){return["html","body","#document"].includes(U(e))}function wt(e){return q(e)?e:e.contextElement}const bt={x:1,y:1};function Q(e){const t=wt(e);if(!R(t))return bt;const n=t.getBoundingClientRect(),{width:i,height:s,fallback:r}=ft(t);let l=(r?me(n.width):n.width)/i,a=(r?me(n.height):n.height)/s;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}function se(e,t,n,i){var s,r;t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),a=wt(e);let u=bt;t&&(i?q(i)&&(u=Q(i)):u=Q(e));const d=a?P(a):window,c=!vt()&&n;let p=(l.left+(c&&((s=d.visualViewport)==null?void 0:s.offsetLeft)||0))/u.x,y=(l.top+(c&&((r=d.visualViewport)==null?void 0:r.offsetTop)||0))/u.y,h=l.width/u.x,f=l.height/u.y;if(a){const m=P(a),v=i&&q(i)?P(i):i;let g=m.frameElement;for(;g&&i&&v!==m;){const w=Q(g),x=g.getBoundingClientRect(),$=getComputedStyle(g);x.x+=(g.clientLeft+parseFloat($.paddingLeft))*w.x,x.y+=(g.clientTop+parseFloat($.paddingTop))*w.y,p*=w.x,y*=w.y,h*=w.x,f*=w.y,p+=x.x,y+=x.y,g=P(g).frameElement}}return{width:h,height:f,top:y,right:p+h,bottom:y+f,left:p,x:p,y}}function G(e){return((gt(e)?e.ownerDocument:e.document)||window.document).documentElement}function _e(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xt(e){return se(G(e)).left+_e(e).scrollLeft}function re(e){if(U(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ke(e)&&e.host||G(e);return Ke(t)?t.host:t}function _t(e){const t=re(e);return Re(t)?t.ownerDocument.body:R(t)&&xe(t)?t:_t(t)}function ge(e,t){var n;t===void 0&&(t=[]);const i=_t(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),r=P(i);return s?t.concat(r,r.visualViewport||[],xe(i)?i:[]):t.concat(i,ge(i))}function Xe(e,t,n){return t==="viewport"?ee(function(i,s){const r=P(i),l=G(i),a=r.visualViewport;let u=l.clientWidth,d=l.clientHeight,c=0,p=0;if(a){u=a.width,d=a.height;const y=vt();(y||!y&&s==="fixed")&&(c=a.offsetLeft,p=a.offsetTop)}return{width:u,height:d,x:c,y:p}}(e,n)):q(t)?ee(function(i,s){const r=se(i,!0,s==="fixed"),l=r.top+i.clientTop,a=r.left+i.clientLeft,u=R(i)?Q(i):{x:1,y:1};return{width:i.clientWidth*u.x,height:i.clientHeight*u.y,x:a*u.x,y:l*u.y}}(t,n)):ee(function(i){const s=G(i),r=_e(i),l=i.ownerDocument.body,a=te(s.scrollWidth,s.clientWidth,l.scrollWidth,l.clientWidth),u=te(s.scrollHeight,s.clientHeight,l.scrollHeight,l.clientHeight);let d=-r.scrollLeft+xt(i);const c=-r.scrollTop;return H(l).direction==="rtl"&&(d+=te(s.clientWidth,l.clientWidth)-a),{width:a,height:u,x:d,y:c}}(G(e)))}function Ze(e){return R(e)&&H(e).position!=="fixed"?e.offsetParent:null}function Qe(e){const t=P(e);let n=Ze(e);for(;n&&No(n)&&H(n).position==="static";)n=Ze(n);return n&&(U(n)==="html"||U(n)==="body"&&H(n).position==="static"&&!ze(n))?t:n||function(i){let s=re(i);for(;R(s)&&!Re(s);){if(ze(s))return s;s=re(s)}return null}(e)||t}function Eo(e,t,n){const i=R(t),s=G(t),r=se(e,!0,n==="fixed",t);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&n!=="fixed")if((U(t)!=="body"||xe(s))&&(l=_e(t)),R(t)){const u=se(t,!0);a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}else s&&(a.x=xt(s));return{x:r.left+l.scrollLeft-a.x,y:r.top+l.scrollTop-a.y,width:r.width,height:r.height}}const Ao={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:s}=e;const r=n==="clippingAncestors"?function(d,c){const p=c.get(d);if(p)return p;let y=ge(d).filter(v=>q(v)&&U(v)!=="body"),h=null;const f=H(d).position==="fixed";let m=f?re(d):d;for(;q(m)&&!Re(m);){const v=H(m),g=ze(m);(f?g||h:g||v.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=v:y=y.filter(w=>w!==m),m=re(m)}return c.set(d,y),y}(t,this._c):[].concat(n),l=[...r,i],a=l[0],u=l.reduce((d,c)=>{const p=Xe(t,c,s);return d.top=te(p.top,d.top),d.right=Ye(p.right,d.right),d.bottom=Ye(p.bottom,d.bottom),d.left=te(p.left,d.left),d},Xe(t,a,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const s=R(n),r=G(n);if(n===r)return t;let l={scrollLeft:0,scrollTop:0},a={x:1,y:1};const u={x:0,y:0};if((s||!s&&i!=="fixed")&&((U(n)!=="body"||xe(r))&&(l=_e(n)),R(n))){const d=se(n);a=Q(n),u.x=d.x+n.clientLeft,u.y=d.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-l.scrollLeft*a.x+u.x,y:t.y*a.y-l.scrollTop*a.y+u.y}},isElement:q,getDimensions:function(e){return R(e)?ft(e):e.getBoundingClientRect()},getOffsetParent:Qe,getDocumentElement:G,getScale:Q,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const s=this.getOffsetParent||Qe,r=this.getDimensions;return{reference:Eo(t,await s(n),i),floating:{x:0,y:0,...await r(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>H(e).direction==="rtl"},zo=(e,t,n)=>{const i=new Map,s={platform:Ao,...n},r={...s.platform,_c:i};return xo(e,t,{...s,platform:r})};function $t(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?$t(e[n],t[n]):e[n]=t[n])}const D={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function le(e,t){let n=D.themes[e]||{},i;do i=n[t],typeof i>"u"?n.$extend?n=D.themes[n.$extend]||{}:(n=null,i=D[t]):n=null;while(n);return i}function Vo(e){const t=[e];let n=D.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=D.themes[n.$extend]||{}):n=null;while(n);return t.map(i=>`v-popper--theme-${i}`)}function Je(e){const t=[e];let n=D.themes[e]||{};do n.$extend?(t.push(n.$extend),n=D.themes[n.$extend]||{}):n=null;while(n);return t}let J=!1;if(typeof window<"u"){J=!1;try{const e=Object.defineProperty({},"passive",{get(){J=!0}});window.addEventListener("test",null,e)}catch{}}let St=!1;typeof window<"u"&&typeof navigator<"u"&&(St=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Bt=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),et={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},tt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ot(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Be(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const z=[];let K=null;const nt={};function it(e){let t=nt[e];return t||(t=nt[e]=[]),t}let Ve=function(){};typeof window<"u"&&(Ve=window.Element);function b(e){return function(t){return le(t.theme,e)}}const Ce="__floating-vue__popper",Ct=()=>o.defineComponent({name:"VPopper",provide(){return{[Ce]:{parentPopper:this}}},inject:{[Ce]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:b("disabled")},positioningDisabled:{type:Boolean,default:b("positioningDisabled")},placement:{type:String,default:b("placement"),validator:e=>Bt.includes(e)},delay:{type:[String,Number,Object],default:b("delay")},distance:{type:[Number,String],default:b("distance")},skidding:{type:[Number,String],default:b("skidding")},triggers:{type:Array,default:b("triggers")},showTriggers:{type:[Array,Function],default:b("showTriggers")},hideTriggers:{type:[Array,Function],default:b("hideTriggers")},popperTriggers:{type:Array,default:b("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:b("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:b("popperHideTriggers")},container:{type:[String,Object,Ve,Boolean],default:b("container")},boundary:{type:[String,Ve],default:b("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:b("strategy")},autoHide:{type:[Boolean,Function],default:b("autoHide")},handleResize:{type:Boolean,default:b("handleResize")},instantMove:{type:Boolean,default:b("instantMove")},eagerMount:{type:Boolean,default:b("eagerMount")},popperClass:{type:[String,Array,Object],default:b("popperClass")},computeTransformOrigin:{type:Boolean,default:b("computeTransformOrigin")},autoMinSize:{type:Boolean,default:b("autoMinSize")},autoSize:{type:[Boolean,String],default:b("autoSize")},autoMaxSize:{type:Boolean,default:b("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:b("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:b("preventOverflow")},overflowPadding:{type:[Number,String],default:b("overflowPadding")},arrowPadding:{type:[Number,String],default:b("arrowPadding")},arrowOverflow:{type:Boolean,default:b("arrowOverflow")},flip:{type:Boolean,default:b("flip")},shift:{type:Boolean,default:b("shift")},shiftCrossAxis:{type:Boolean,default:b("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:b("noAutoFocus")},disposeTimeout:{type:Number,default:b("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ce])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var i,s;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(ko({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(So({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(To({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Bo({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(_o({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:s,middlewareData:r})=>{let l;const{centerOffset:a}=r.arrow;return i.startsWith("top")||i.startsWith("bottom")?l=Math.abs(a)>s.reference.width/2:l=Math.abs(a)>s.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:r,middlewareData:l})=>{var a;if((a=l.autoSize)!=null&&a.skip)return{};let u,d;return r.startsWith("top")||r.startsWith("bottom")?u=s.reference.width:d=s.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=u!=null?`${u}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Po({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:s})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await zo(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),K&&this.instantMove&&K.instantMove&&K!==this.parentPopper){K.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(K=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Be(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ge(this.$_referenceNode),...ge(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),i=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(i.left+n.offsetLeft),r=t.y+t.height/2-(i.top+n.offsetTop);this.result.transformOrigin=`${s}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<z.length;n++)t=z[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}z.push(this),document.body.classList.add("v-popper--some-open");for(const t of Je(this.theme))it(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Be(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,ot(z,this),z.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Je(this.theme)){const i=it(n);ot(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}K===this&&(K=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Be(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,et,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],et,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,tt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],tt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(i=>i.addEventListener(t,n,J?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,i,s){let r=n;i!=null&&(r=typeof i=="function"?i(r):i),r.forEach(l=>{const a=t[l];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:i,eventType:s,handler:r}=n;!e||e===s?i.forEach(l=>l.removeEventListener(s,r)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const i=n.getAttribute(e);i&&(n.removeAttribute(e),n.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const i=e[n];i==null?t.removeAttribute(n):t.setAttribute(n,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(oe>=e.left&&oe<=e.right&&ne>=e.top&&ne<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=oe-j,i=ne-W,s=t.left+t.width/2-j+(t.top+t.height/2)-W+t.width+t.height,r=j+n*s,l=W+i*s;return ce(j,W,r,l,t.left,t.top,t.left,t.bottom)||ce(j,W,r,l,t.left,t.top,t.right,t.top)||ce(j,W,r,l,t.right,t.top,t.right,t.bottom)||ce(j,W,r,l,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(St){const e=J?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>st(t,!0),e),document.addEventListener("touchend",t=>rt(t,!0),e)}else window.addEventListener("mousedown",e=>st(e,!1),!0),window.addEventListener("click",e=>rt(e,!1),!0);window.addEventListener("resize",Oo)}function st(e,t){if(D.autoHideOnMousedown)kt(e,t);else for(let n=0;n<z.length;n++){const i=z[n];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function rt(e,t){D.autoHideOnMousedown||kt(e,t)}function kt(e,t){const n={};for(let i=z.length-1;i>=0;i--){const s=z[i];try{const r=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&&lt(s,r,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let l=s.parentPopper;for(;l&&lt(l,l.containsGlobalTarget,e);)l.$_handleGlobalClose(e,t),l=l.parentPopper}})}catch{}}}function lt(e,t,n){return n.closeAllPopover||n.closePopover&&t||Do(e,n)&&!t}function Do(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Oo(){for(let e=0;e<z.length;e++)z[e].$_computePosition()}let j=0,W=0,oe=0,ne=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{j=oe,W=ne,oe=e.clientX,ne=e.clientY},J?{passive:!0}:void 0);function ce(e,t,n,i,s,r,l,a){const u=((l-s)*(t-r)-(a-r)*(e-s))/((a-r)*(n-e)-(l-s)*(i-t)),d=((n-e)*(t-r)-(i-t)*(e-s))/((a-r)*(n-e)-(l-s)*(i-t));return u>=0&&u<=1&&d>=0&&d<=1}const Mo={extends:Ct()},$e=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n};function Lo(e,t,n,i,s,r){return o.openBlock(),o.createElementBlock("div",{ref:"reference",class:o.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[o.renderSlot(e.$slots,"default",o.normalizeProps(o.guardReactiveProps(e.slotData)))],2)}const Ho=$e(Mo,[["render",Lo]]);function Ro(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let pe;function De(){De.init||(De.init=!0,pe=Ro()!==-1)}var Se={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){De(),o.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pe&&this.$el.appendChild(e),e.data="about:blank",pe||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!pe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Io=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const Fo={class:"resize-observer",tabindex:"-1"};o.popScopeId();const jo=Io((e,t,n,i,s,r)=>(o.openBlock(),o.createBlock("div",Fo)));Se.render=jo;Se.__scopeId="data-v-b329ee4c";Se.__file="src/components/ResizeObserver.vue";const Tt=(e="theme")=>({computed:{themeClass(){return Vo(this[e])}}}),Wo=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:Se},mixins:[Tt()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),qo=["id","aria-hidden","tabindex","data-popper-placement"],Go={ref:"inner",class:"v-popper__inner"},Uo=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),Yo=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),Ko=[Uo,Yo];function Xo(e,t,n,i,s,r){const l=o.resolveComponent("ResizeObserver");return o.openBlock(),o.createElementBlock("div",{id:e.popperId,ref:"popover",class:o.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:o.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=o.withKeys(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),o.createElementVNode("div",{class:"v-popper__wrapper",style:o.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[o.createElementVNode("div",Go,[e.mounted?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("div",null,[o.renderSlot(e.$slots,"default")]),e.handleResize?(o.openBlock(),o.createBlock(l,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],512),o.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:o.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ko,4)],4)],46,qo)}const Pt=$e(Wo,[["render",Xo]]),Nt={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Oe=function(){};typeof window<"u"&&(Oe=window.Element);const Zo=o.defineComponent({name:"VPopperWrapper",components:{Popper:Ho,PopperContent:Pt},mixins:[Nt,Tt("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Oe,Boolean],default:void 0},boundary:{type:[String,Oe],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Qo(e,t,n,i,s,r){const l=o.resolveComponent("PopperContent"),a=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(a,o.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=u=>e.$emit("update:shown",u)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:o.withCtx(({popperId:u,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:y,show:h,hide:f,handleResize:m,onResize:v,classes:g,result:w})=>[o.renderSlot(e.$slots,"default",{shown:d,show:h,hide:f}),o.createVNode(l,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:d,mounted:c,"skip-transition":p,"auto-hide":y,"handle-resize":m,classes:g,result:w,onHide:f,onResize:v},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:d,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Ie=$e(Zo,[["render",Qo]]),Et={...Ie,name:"VDropdown",vPopperTheme:"dropdown"},Jo={...Ie,name:"VMenu",vPopperTheme:"menu"},At={...Ie,name:"VTooltip",vPopperTheme:"tooltip"},en=o.defineComponent({name:"VTooltipDirective",components:{Popper:Ct(),PopperContent:Pt},mixins:[Nt],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>le(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>le(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(i=>this.onResult(t,i)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tn=["innerHTML"],on=["textContent"];function nn(e,t,n,i,s,r){const l=o.resolveComponent("PopperContent"),a=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(a,o.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:o.withCtx(({popperId:u,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:y,hide:h,handleResize:f,onResize:m,classes:v,result:g})=>[o.createVNode(l,{ref:"popperContent",class:o.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":u,theme:e.theme,shown:d,mounted:c,"skip-transition":p,"auto-hide":y,"handle-resize":f,classes:v,result:g,onHide:h,onResize:m},{default:o.withCtx(()=>[e.html?(o.openBlock(),o.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,tn)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,on))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const sn=$e(en,[["render",nn]]),zt="v-popper--has-tooltip";function rn(e,t){let n=e.placement;if(!n&&t)for(const i of Bt)t[i]&&(n=i);return n||(n=le(e.theme||"tooltip","placement")),n}function Vt(e,t,n){let i;const s=typeof t;return s==="string"?i={content:t}:t&&s==="object"?i=t:i={content:!1},i.placement=rn(i,n),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let ke,ae,ln=0;function an(){if(ke)return;ae=o.ref([]),ke=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:ae}},render(){return this.directives.map(t=>o.h(sn,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ke.mount(e)}function un(e,t,n){an();const i=o.ref(Vt(e,t,n)),s=o.ref(!1),r={id:ln++,options:i,shown:s};return ae.value.push(r),e.classList&&e.classList.add(zt),e.$_popper={options:i,item:r,show(){s.value=!0},hide(){s.value=!1}}}function Dt(e){if(e.$_popper){const t=ae.value.indexOf(e.$_popper.item);t!==-1&&ae.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(zt)}function at(e,{value:t,modifiers:n}){const i=Vt(e,t,n);if(!i.content||le(i.theme||"tooltip","disabled"))Dt(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=i):s=un(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const dn={beforeMount:at,updated:at,beforeUnmount(e){Dt(e)}};function ut(e){e.addEventListener("mousedown",ve),e.addEventListener("click",ve),e.addEventListener("touchstart",Ot,J?{passive:!0}:!1)}function dt(e){e.removeEventListener("mousedown",ve),e.removeEventListener("click",ve),e.removeEventListener("touchstart",Ot),e.removeEventListener("touchend",Mt),e.removeEventListener("touchcancel",Lt)}function ve(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ot(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Mt),t.addEventListener("touchcancel",Lt)}}function Mt(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Lt(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const cn={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ut(e)},updated(e,{value:t,oldValue:n,modifiers:i}){e.$_closePopoverModifiers=i,t!==n&&(typeof t>"u"||t?ut(e):dt(e))},beforeUnmount(e){dt(e)}},pn=Et,hn=At;function yn(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,$t(D,t),e.directive("tooltip",dn),e.directive("close-popper",cn),e.component("VTooltip",At),e.component("VDropdown",Et),e.component("VMenu",Jo))}const fn={version:"5.2.2",install:yn,options:D},mn={class:"yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2"},gn={class:"yu-w-full yu-rounded-md yu-p-2 yu-flex yu-flex-col yu-gap-1"},vn={class:"yu-px-2 yu-w-full"},wn=o.createElementVNode("div",{class:"yu-text-gray-700 yu-text-xs yu-mr-2"},"Selecionar todos",-1),bn=["checked"],xn={class:"yu-w-full yu-p-2 yu-overflow-y-auto yu-max-h-60"},Fe=o.defineComponent({__name:"app-dropdown",props:{label:{type:String,default:"Dropdown"},icon:{type:String,default:"menu"},openIcon:{type:String,default:"keyboard_arrow_down"},inputLabel:{type:String,default:"Procurar"},allSelected:{type:Boolean,default:!1},showSearchInput:{type:Boolean,default:!1},showSelectAll:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1}},emits:["filter-value","update:allSelected","update:opened"],setup(e,{expose:t,emit:n}){const i=n,s=o.ref(!1),r=l=>{s.value=l,i("update:opened",l)};return t({opened:s}),(l,a)=>(o.openBlock(),o.createBlock(o.unref(pn),{placement:"bottom-start",skidding:6,"onUpdate:shown":r},{popper:o.withCtx(()=>[e.showSearchInput?o.renderSlot(l.$slots,"searchInput",{key:0},()=>[o.createElementVNode("div",gn,[o.createVNode(he,{label:e.inputLabel||"Procurar","onUpdate:modelValue":a[0]||(a[0]=u=>i("filter-value",u))},null,8,["label"])])]):o.createCommentVNode("",!0),e.showSelectAll?o.renderSlot(l.$slots,"selectAll",{key:1},()=>[o.createElementVNode("div",vn,[o.createVNode(we,{onClick:a[1]||(a[1]=u=>i("update:allSelected"))},{default:o.withCtx(()=>[wn,o.createElementVNode("input",{class:"yu-ml-auto yu-accent-primary-500 yu-border-2 yu-cursor-pointer",type:"checkbox",checked:e.allSelected},null,8,bn)]),_:1})])]):o.createCommentVNode("",!0),o.createElementVNode("div",xn,[o.renderSlot(l.$slots,"default")])]),default:o.withCtx(()=>[o.createElementVNode("button",{class:o.normalizeClass(["yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95",{"!yu-bg-primary-500 !yu-bg-opacity-10":s.value,"yu-border":e.bordered}])},[o.renderSlot(l.$slots,"icon",{},()=>[o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit",{"yu-text-primary-500":s.value}])},o.toDisplayString(e.icon),3)]),o.renderSlot(l.$slots,"label",{},()=>[o.createElementVNode("div",mn,o.toDisplayString(e.label),1)]),o.renderSlot(l.$slots,"open-icon",{},()=>[o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto yu-transition-all",{"yu-text-primary-500 yu-rotate-180":s.value}])},o.toDisplayString(e.openIcon),3)])],2)]),_:3}))}}),_n={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-3 yu-bg-white yu-flex yu-flex-col yu-justify-center yu-shadow-2xl yu-shadow-gray-100"},$n={class:"yu-flex yu-gap-5 yu-px-2"},Sn={class:"yu-flex yu-flex-col"},Bn={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Cn={key:0,class:"yu-font-plus yu-text-xs yu-text-gray-400"},kn={class:"yu-font-plus yu-text-gray-400 yu-font-medium yu-text-sm"},Me=o.defineComponent({__name:"stat-card",props:{icon:{type:String,default:"assignment"},bad:{type:Boolean,default:!1},good:{type:Boolean,default:!1},comparison:{type:Number,default:0},total:{type:Number,default:100},hideTotal:{type:Boolean,default:!1}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",_n,[o.createElementVNode("div",$n,[o.renderSlot(t.$slots,"icon",{},()=>[o.createElementVNode("i",{class:o.normalizeClass(["yu-aspect-square material-icons yu-bg-yellow-100 yu-text-yellow-500 yu-h-14 yu-w-14 yu-place-items-center yu-rounded-full !yu-text-1xl !yu-grid",{"!yu-text-red-500 !yu-bg-red-100":e.bad,"!yu-text-green-500 !yu-bg-green-100":e.good}])},o.toDisplayString(e.icon),3)]),o.createElementVNode("div",Sn,[o.createElementVNode("div",Bn,[o.createTextVNode(o.toDisplayString(e.comparison),1),e.hideTotal?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Cn,"/"+o.toDisplayString(e.total),1))]),o.createElementVNode("p",kn,[o.renderSlot(t.$slots,"default")])])])]))}});function je(e,t){const n=o.computed(()=>({"!yu-font-plus":t.plus,"!yu-font-inter":t.inter,"!yu-font-titillium":t.titillium})),i=o.computed(()=>({"!yu-text-primary":t.primary,"!yu-text-secondary":t.secondary,"!yu-text-base":t.neutral,"!yu-text-neutral":t.gray})),s=o.computed(()=>({"!yu-font-thin":t.thin,"!yu-font-extralight":t.extralight,"!yu-font-light":t.light,"!yu-font-normal":t.normal,"!yu-font-medium":t.medium,"!yu-font-semibold":t.semibold,"!yu-font-bold":t.bold,"!yu-font-extrabold":t.extrabold,"!yu-font-black":t.black})),r=o.computed(()=>({...{title:{"!yu-text-xl":t.small,"!yu-text-2xl":t.base,"!yu-text-3xl":t.large,"!yu-text-4xl":t.extralarge},subtitle:{"!yu-text-sm":t.small,"!yu-text-md":t.base,"!yu-text-xl":t.large},text:{"!yu-text-xs":t.small,"!yu-text-sm":t.base,"!yu-text-lg":t.large,"!yu-text-xl":t.extralarge}}[e]}));return{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}}const Tn=o.defineComponent({__name:"title",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extralarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(e){const t=e,{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}=je("title",t);return(l,a)=>(o.openBlock(),o.createElementBlock("h1",{class:o.normalizeClass(["yu-font-inter yu-text-2xl yu-font-normal yu-text-black",[o.unref(n),o.unref(i),o.unref(s),o.unref(r)]])},[o.renderSlot(l.$slots,"default",{},void 0,!0)],2))}}),We=O(Tn,[["__scopeId","data-v-c6abe2e9"]]),Pn={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-5 yu-bg-white yu-shadow-2xl yu-shadow-gray-100 yu-flex yu-flex-col"},Nn={class:"yu-flex gap-3 yu-flex-col yu-h-full yu-w-full yu-justify-between"},En={class:"yu-text-base"},An={class:"yu-flex yu-justify-between"},zn={class:"yu-flex yu-gap-2"},Vn={class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-green-100 !yu-text-green-500"},Dn={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},On={class:"yu-flex yu-gap-2"},Mn={class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-red-100 !yu-text-red-500"},Ln={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Hn={class:"yu-flex yu-gap-1"},Rn=o.createElementVNode("i",{class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid"},"call_received",-1),In={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Fn={class:"yu-flex yu-gap-1"},jn=o.createElementVNode("i",{class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid"},"call_made",-1),Wn={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Ht=o.defineComponent({__name:"app-advanced-stat-card",props:{totalGood:{type:Number,default:0},totalBad:{type:Number,default:0},totalReceived:{type:Number,default:0},totalSent:{type:Number,default:0},goodTooltip:{type:String,default:""},badTooltip:{type:String,default:""},receivedTooltip:{type:String,default:""},sentTooltip:{type:String,default:""}},setup(e){return(t,n)=>{const i=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",Pn,[o.createElementVNode("div",Nn,[o.createVNode(We,{plus:"",semibold:""},{default:o.withCtx(()=>[o.createElementVNode("div",En,[o.renderSlot(t.$slots,"title")])]),_:3}),o.createElementVNode("div",An,[o.withDirectives((o.openBlock(),o.createElementBlock("div",zn,[o.createElementVNode("i",Vn,[o.renderSlot(t.$slots,"icon-good",{},()=>[o.createTextVNode("assignment")])]),o.createElementVNode("p",Dn,o.toDisplayString(e.totalGood),1)])),[[i,e.goodTooltip]]),o.withDirectives((o.openBlock(),o.createElementBlock("div",On,[o.createElementVNode("i",Mn,[o.renderSlot(t.$slots,"icon-bad",{},()=>[o.createTextVNode("assignment")])]),o.createElementVNode("p",Ln,o.toDisplayString(e.totalBad),1)])),[[i,e.badTooltip]]),o.withDirectives((o.openBlock(),o.createElementBlock("div",Hn,[Rn,o.createElementVNode("p",In,o.toDisplayString(e.totalReceived),1)])),[[i,e.receivedTooltip]]),o.withDirectives((o.openBlock(),o.createElementBlock("div",Fn,[jn,o.createElementVNode("p",Wn,o.toDisplayString(e.totalSent),1)])),[[i,e.sentTooltip]])]),o.createElementVNode("div",null,[o.renderSlot(t.$slots,"footer")])])])}}}),qn={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-5 yu-px-5 yu-bg-white yu-shadow-md yu-shadow-gray-100"},Gn={class:"yu-font-plus yu-text-gray-800 yu-font-semibold yu-text-lg"},Un={class:"yu-mt-2 yu-flex yu-flex-col"};function Yn(e,t){return o.openBlock(),o.createElementBlock("div",qn,[o.createElementVNode("div",Gn,[o.renderSlot(e.$slots,"heading")]),o.createElementVNode("div",Un,[o.renderSlot(e.$slots,"list")])])}var Kn={};const Rt=O(Kn,[["render",Yn]]),Xn=o.defineComponent({__name:"subtitle",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(e){const t=e,{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}=je("subtitle",t);return(l,a)=>(o.openBlock(),o.createElementBlock("h3",{class:o.normalizeClass(["yu-font-inter yu-text-md yu-font-normal yu-text-black",[o.unref(n),o.unref(i),o.unref(s),o.unref(r)]])},[o.renderSlot(l.$slots,"default",{},void 0,!0)],2))}}),It=O(Xn,[["__scopeId","data-v-11d0ee28"]]),Zn=o.defineComponent({__name:"text",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extralarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(e){const t=e,{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}=je("text",t);return(l,a)=>(o.openBlock(),o.createElementBlock("p",{class:o.normalizeClass(["yu-font-inter yu-text-sm yu-font-normal yu-text-black",[o.unref(n),o.unref(i),o.unref(s),o.unref(r)]])},[o.renderSlot(l.$slots,"default",{},void 0,!0)],2))}}),Ft=O(Zn,[["__scopeId","data-v-5c9c77c5"]]),Qn={key:0,class:"yu-relative yu-cursor-help"},Jn={class:"yu-relative yu-cursor-help"},ei={class:"yu-text-sm yu-max-w-44"},jt=o.defineComponent({__name:"app-tooltip-icon",props:{error:Boolean,warning:Boolean,info:Boolean,success:Boolean,ping:Boolean,small:Boolean},setup(e){const t=o.computed(()=>o.useSlots()),n=e,i=o.computed(()=>!!t.value["yu-default"]),s=o.computed(()=>n.ping?"yu-animate-ping":""),r=o.computed(()=>n.error?"error":n.warning?"warning":n.info?"info":n.success?"check_circle":"info"),l=o.computed(()=>n.error?"yu-text-red-500":n.warning?"yu-text-amber-500":n.info?"yu-text-zinc-300":n.success?"yu-text-green-500":"yu-text-zinc-400"),a=o.computed(()=>n.small?"yu-text-sm":"yu-text-lg");return(u,d)=>i.value?(o.openBlock(),o.createBlock(o.unref(hn),{key:1},{popper:o.withCtx(()=>[o.createElementVNode("div",ei,[o.renderSlot(u.$slots,"default")])]),default:o.withCtx(()=>[o.createElementVNode("div",Jn,[o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate yu-cursor-help yu-absolute",[l.value,a.value]])},o.toDisplayString(r.value),3),o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate yu-cursor-help",[s.value,l.value,a.value]])},o.toDisplayString(r.value),3)])]),_:3})):(o.openBlock(),o.createElementBlock("div",Qn,[o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate yu-absolute",[l.value,a.value]])},o.toDisplayString(r.value),3),o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate",[s.value,l.value,a.value]])},o.toDisplayString(r.value),3)]))}}),ti={class:"yu-w-full yu-bg-white yu-rounded-lg yu-p-6 yu-gap-2.5"},oi={class:"yu-w-full yu-table-auto yu-border-separate yu-border-spacing-0 yu-rounded-lg"},ni={class:"yu-bg-gray-100 yu-rounded-lg yu-border"};function ii(e,t){return o.openBlock(),o.createElementBlock("div",ti,[o.createElementVNode("table",oi,[o.createElementVNode("thead",ni,[o.renderSlot(e.$slots,"header")]),o.createElementVNode("tbody",null,[o.renderSlot(e.$slots,"body")])])])}var si={};const Wt=O(si,[["render",ii]]);function ri(e,t){return o.openBlock(),o.createElementBlock("tr",null,[o.renderSlot(e.$slots,"default")])}var li={};const qt=O(li,[["render",ri]]),ai={class:"yu-p-3"};function ui(e,t){return o.openBlock(),o.createElementBlock("tr",ai,[o.renderSlot(e.$slots,"default")])}var di={};const Gt=O(di,[["render",ui]]),ci={class:"yu-font-plus yu-text-sm yu-py-2 yu-px-3 yu-border-b"};function pi(e,t){return o.openBlock(),o.createElementBlock("td",ci,[o.renderSlot(e.$slots,"default")])}var hi={};const Ut=O(hi,[["render",pi]]),yi={class:"yu-text-gray-500 yu-font-medium yu-py-2 yu-px-3 yu-text-sm",align:"left"};function fi(e,t){return o.openBlock(),o.createElementBlock("th",yi,[o.renderSlot(e.$slots,"default")])}var mi={};const Yt=O(mi,[["render",fi]]),gi={class:"yu-flex yu-font-plus yu-gap-1 yu-items-center"},vi=o.createElementVNode("p",null,"Items por página",-1),wi={class:"material-icons yu-ml-4"},bi={class:"yu-flex"},xi=["disabled"],_i=["disabled"],Kt=o.defineComponent({__name:"app-pagination",props:o.mergeModels({totalItems:{type:Number,required:!0},initialPerPageOptions:{type:Array,default:()=>[5,10,15,20]}},{itemsPerPage:{required:!0,default:10},itemsPerPageModifiers:{},currentPage:{required:!0,default:1},currentPageModifiers:{}}),emits:["update:itemsPerPage","update:currentPage"],setup(e){const t=e,n=o.useModel(e,"itemsPerPage"),i=o.useModel(e,"currentPage"),s=o.computed(()=>Math.ceil(t.totalItems/n.value)),r=o.computed(()=>(i.value-1)*n.value+1),l=o.computed(()=>Math.min(i.value*n.value,t.totalItems)),a=c=>{const p=c;if(p==n.value)return;const y=(i.value-1)*n.value+1;i.value=Math.ceil(y/p),n.value=p},u=()=>{i.value<s.value&&(i.value+=1)},d=()=>{i.value>1&&(i.value-=1)};return(c,p)=>{const y=o.resolveDirective("close-popper");return o.openBlock(),o.createElementBlock("div",gi,[vi,o.createVNode(Fe,{icon:"",label:String(n.value),autoSize:"","data-testid":"app-dropdown",ref:"dropdown"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.initialPerPageOptions,h=>o.withDirectives((o.openBlock(),o.createBlock(we,{class:"yu-justify-between",key:h,label:String(h),icon:"",onClick:f=>a(h),"data-testid":`simple-dropdown-item-${h}`},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(h),1),o.withDirectives(o.createElementVNode("i",wi,"check_circle",512),[[o.vShow,n.value==h]])]),_:2},1032,["label","onClick","data-testid"])),[[y]])),128))]),_:1},8,["label"]),o.createElementVNode("p",null,o.toDisplayString(r.value)+" - "+o.toDisplayString(l.value)+" de "+o.toDisplayString(t.totalItems),1),o.createElementVNode("div",bi,[o.createElementVNode("i",{class:"material-icons yu-cursor-pointer",onClick:d,disabled:i.value===1,"data-testid":"prev"},"chevron_left",8,xi),o.createElementVNode("p",null,"Página "+o.toDisplayString(i.value)+" de "+o.toDisplayString(s.value),1),o.createElementVNode("i",{class:"material-icons yu-cursor-pointer",onClick:u,disabled:i.value===s.value.value,"data-testid":"next"},"chevron_right",8,_i)])])}}}),Xt=o.defineComponent({__name:"app-popup",emits:["closed"],setup(e,{emit:t}){const n=t,i=o.ref(!1);function s(){n("closed"),i.value=!1}return(r,l)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:l[0]||(l[0]=a=>i.value=!i.value)},[o.renderSlot(r.$slots,"default")]),i.value?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[o.createElementVNode("div",{class:"yu-z-10 yu-absolute yu-top-0 yu-bg-zinc-900 yu-bg-opacity-50 yu-w-full yu-h-full yu-flex yu-flex-col yu-justify-center yu-items-center yu-p-4",onClick:o.withModifiers(s,["self"]),onKeydown:o.withKeys(s,["esc"])},[o.renderSlot(r.$slots,"content",{closePopup:s})],32)])):o.createCommentVNode("",!0)]))}}),$i={key:0},Si={key:1},Bi={key:2};function Ci(e,t){return o.openBlock(),o.createElementBlock("div",null,[e.$slots.header?(o.openBlock(),o.createElementBlock("header",$i,[o.renderSlot(e.$slots,"header")])):o.createCommentVNode("",!0),e.$slots.body?(o.openBlock(),o.createElementBlock("main",Si,[o.renderSlot(e.$slots,"body")])):o.createCommentVNode("",!0),e.$slots.footer?(o.openBlock(),o.createElementBlock("footer",Bi,[o.renderSlot(e.$slots,"footer")])):o.createCommentVNode("",!0)])}var ki={};const Zt=O(ki,[["render",Ci]]),Qt=o.defineComponent({__name:"app-group",props:{row:{type:Boolean,default:!0},col:{type:Boolean},gapNone:{type:Boolean},gapBase:{type:Boolean,default:!0},gapSm:{type:Boolean},gapMd:{type:Boolean},gapLg:{type:Boolean},paddingNone:{type:Boolean},paddingBase:{type:Boolean,default:!0},paddingSm:{type:Boolean},paddingMd:{type:Boolean},paddingLg:{type:Boolean},center:{type:Boolean}},setup(e){const t=e,n={none:"",base:"yu-gap-2",sm:"yu-gap-4",md:"yu-gap-6",lg:"yu-gap-8"},i={none:"",base:"yu-p-2",sm:"yu-p-4",md:"yu-p-6",lg:"yu-p-8"},s=o.computed(()=>t.center?"yu-items-center yu-justify-center":""),r=o.computed(()=>[t.row?"yu-flex-row":"yu-flex-col",t.gapNone?n.none:"",t.gapBase?n.base:"",t.gapSm?n.sm:"",t.gapMd?n.md:"",t.gapLg?n.lg:"",t.paddingNone?i.none:"",t.paddingBase?i.base:"",t.paddingSm?i.sm:"",t.paddingMd?i.md:"",t.paddingLg?i.lg:"",s.value]);return(l,a)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["yu-flex",r.value])},[o.renderSlot(l.$slots,"default")],2))}}),Ti={install:e=>{e.use(fn),e.component("TextInput",he),e.component("AppTextInput",he),e.component("IconTextInput",Te),e.component("AppIconTextInput",Te),e.component("SwitchCheckbox",Pe),e.component("AppSwitchCheckbox",Pe),e.component("ButtonPrimary",Ne),e.component("AppButtonPrimary",Ne),e.component("ButtonSecondary",Ee),e.component("AppButtonSecondary",Ee),e.component("SimpleDropdown",ct),e.component("AppDropdown",Fe),e.component("SimpleDropdownItem",we),e.component("StatCard",Me),e.component("AppStatCard",Me),e.component("AppAdvancedStatCard",Ht),e.component("ListCard",Rt),e.component("AppTitle",We),e.component("AppSubtitle",It),e.component("AppText",Ft),e.component("AppTooltipIcon",jt),e.component("AppTable",Wt),e.component("AppTableHeader",qt),e.component("AppTableRow",Gt),e.component("AppTableCell",Ut),e.component("AppTableHeaderCell",Yt),e.component("AppPagination",Kt),e.component("AppPopup",Xt),e.component("AppContainer",Zt),e.component("AppGroup",Qt)}};exports.AppAdvancedStatCard=Ht;exports.AppContainer=Zt;exports.AppDropdown=Fe;exports.AppGroup=Qt;exports.AppPagination=Kt;exports.AppPopup=Xt;exports.AppSubtitle=It;exports.AppTable=Wt;exports.AppTableCell=Ut;exports.AppTableHeader=qt;exports.AppTableHeaderCell=Yt;exports.AppTableRow=Gt;exports.AppText=Ft;exports.AppTitle=We;exports.AppTooltipIcon=jt;exports.ButtonPrimary=Ne;exports.ButtonSecondary=Ee;exports.IconTextInput=Te;exports.ListCard=Rt;exports.SimpleDropdown=ct;exports.SimpleDropdownItem=we;exports.StatCard=Me;exports.SwitchCheckbox=Pe;exports.TextInput=he;exports.default=Ti;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),eo={class:"simple-input"},to={class:"yu-flex yu-h-full yu-pl-2"},oo={class:"material-icons yu-text-gray-700 yu-my-auto"},no=["placeholder","type","maxlength"],Te=o.defineComponent({__name:"icon-text-input",props:{value:{},label:{},icon:{},placeholder:{},type:{},tooltip:{},caract:{},invalid:{type:Boolean}},emits:["blur","focus","input"],setup(e,{emit:t}){const n=t,i=e;o.ref(!1);const s=o.ref(i.value);o.ref(!1);const r=o.ref(i.type),l=o.ref(!1);o.watch(l,d=>{if(!d){n("blur");return}n("focus")});function a(){return!(l.value||s.value)}function u(d){n("input",d.target.value)}return(d,c)=>(o.openBlock(),o.createElementBlock("div",eo,[o.createElementVNode("div",to,[o.createElementVNode("i",oo,o.toDisplayString(d.icon),1),o.createElementVNode("p",{class:o.normalizeClass(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition",{"yu-translate-y-2 yu-text-sm":a(),"yu-translate-y-0 yu-text-xs":!a()}])},o.toDisplayString(d.label),3)]),o.withDirectives(o.createElementVNode("input",{class:"yu-pl-8 yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800",placeholder:d.placeholder,onInput:u,onFocus:c[0]||(c[0]=p=>l.value=!0),onBlur:c[1]||(c[1]=p=>l.value=!1),"onUpdate:modelValue":c[2]||(c[2]=p=>s.value=p),type:r.value||d.type,onKeyup:c[3]||(c[3]=o.withKeys(p=>d.$emit("keyup-enter"),["enter"])),maxlength:d.caract},null,40,no),[[o.vModelDynamic,s.value]])]))}}),io=["type","disabled"],he=o.defineComponent({__name:"text-input",props:{modelValue:{},label:{},invalid:{type:Boolean},disabled:{type:Boolean},type:{}},emits:["update:model-value","blur","press-enter"],setup(e,{emit:t}){const n=e,i=t,s=o.ref(n.modelValue),r=o.ref(!1);function l(){return!(r.value||s.value)}function a(d){i(d)}function u(d){const c=d.target;i("update:model-value",c.value)}return(d,c)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["simple-input",{"yu-border-red-500":d.invalid}])},[o.createElementVNode("p",{class:o.normalizeClass(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition",{"yu-translate-y-1/4 yu-text-sm":l(),"yu-translate-x-0 yu-text-xs":!l()}])},o.toDisplayString(d.label),3),o.withDirectives(o.createElementVNode("input",{class:"yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800 dark:yu-text-gray-200","onUpdate:modelValue":c[0]||(c[0]=p=>s.value=p),onKeyup:c[1]||(c[1]=o.withKeys(p=>a("press-enter"),["enter"])),type:d.type,disabled:d.disabled,onInput:u,onFocus:c[2]||(c[2]=p=>r.value=!0),onBlur:c[3]||(c[3]=p=>r.value=!1)},null,40,io),[[o.vModelDynamic,s.value]])],2))}}),so=["checked"],Pe=o.defineComponent({__name:"switch-checkbox",props:{modelValue:{type:Boolean},invalid:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue","change","input"],setup(e,{emit:t}){const n=e,i=t,s=o.ref(n.modelValue);return o.ref(!1),o.watch(s,r=>{i("update:modelValue",r)}),(r,l)=>(o.openBlock(),o.createElementBlock("div",{class:"yu-relative yu-inline-block yu-w-10 yu-align-middle yu-select-none yu-transition yu-duration-200 yu-ease-in",onClick:l[0]||(l[0]=a=>s.value=!s.value)},[o.createElementVNode("input",{class:"yu-absolute yu-block yu-w-6 yu-h-6 yu-bg-white yu-border-4 yu-rounded-full yu-appearance-none yu-cursor-pointer toggle-checkbox checked:yu-right-0 checked:yu-border-primary-500",type:"checkbox",checked:s.value},null,8,so),o.createElementVNode("label",{class:o.normalizeClass(["yu-block yu-h-6 yu-overflow-hidden yu-bg-gray-300 yu-rounded-full yu-cursor-pointer yu-toggle-label",{"yu-bg-primary-500":s.value}]),for:"toggle"},null,2)]))}}),Ne=o.defineComponent({__name:"button-primary",props:{large:{type:Boolean,default:!1},small:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},alert:{type:Boolean,default:!1},success:{type:Boolean,default:!1}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["yu-bg-primary yu-px-5 yu-p-2 yu-w-fit yu-text-base yu-text-white yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate hover:yu-brightness-90 active:yu-scale-95",{"!yu-px-7 !yu-p-4":e.large,"!yu-px-3 !yu-p-1":e.small,"!yu-bg-red-500":e.warning,"!yu-bg-yellow-400":e.alert,"!yu-bg-green-400":e.success}])},[o.renderSlot(t.$slots,"default")],2))}}),Ee=o.defineComponent({__name:"button-secondary",props:{large:{type:Boolean,default:!1},small:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},alert:{type:Boolean,default:!1},success:{type:Boolean,default:!1}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["yu-text-primary yu-bg-primary yu-text-base yu-w-fit yu-px-5 yu-p-2 yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate !yu-bg-opacity-5 group hover:!yu-bg-opacity-10 active:yu-scale-95 active:!yu-bg-opacity-20",{"!yu-text-lg":e.large,"!yu-text-sm":e.small,"!yu-text-red-500 !yu-bg-red-500":e.warning,"!yu-text-yellow-400 !yu-bg-yellow-400":e.alert,"!yu-text-green-400 !yu-bg-green-400":e.success}])},[o.renderSlot(t.$slots,"default")],2))}}),ro={class:"yu-transition yu-text-gray-900 yu-font-plus yu-text-sm yu-p-2 yu-font-semibold yu-rounded-md yu-cursor-pointer yu-flex yu-items-center active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400"};function lo(e,t){return o.openBlock(),o.createElementBlock("div",ro,[o.renderSlot(e.$slots,"default")])}const O=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n};var ao={};const we=O(ao,[["render",lo]]),uo={class:"yu-relative yu-w-full"},co={class:"yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2"},po={class:"yu-mt-2 yu-w-full yu-bg-white yu-rounded-md yu-flex yu-flex-col yu-gap-1 yu-shadow-md yu-absolute yu-z-10"},ho={class:"yu-w-full yu-rounded-md yu-p-2"},ct=o.defineComponent({__name:"simple-dropdown",props:{label:{},icon:{},isOpen:{type:Boolean}},setup(e){const t=e;o.watch(()=>t.isOpen,i=>{n.value=i});const n=o.ref(!1);return(i,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",uo,[o.createElementVNode("button",{class:o.normalizeClass(["yu-w-full yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition yu-border yu-border-gray-200 hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95",{"!yu-bg-primary-500 !yu-bg-opacity-10":n.value}]),onClick:s[0]||(s[0]=r=>n.value=!n.value)},[o.withDirectives(o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit",{"yu-text-primary-500":n.value}])},o.toDisplayString(i.icon),3),[[o.vShow,i.icon]]),o.createElementVNode("div",co,o.toDisplayString(i.label),1),o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto",{"yu-text-primary-500 yu-rotate-180":n.value}])}," keyboard_arrow_down",2)],2),o.withDirectives(o.createElementVNode("div",po,[o.createElementVNode("div",ho,[o.renderSlot(i.$slots,"default")])],512),[[o.vShow,n.value]])])]))}}),yo=["top","right","bottom","left"],qe=["start","end"],Ge=yo.reduce((e,t)=>e.concat(t,t+"-"+qe[0],t+"-"+qe[1]),[]),ie=Math.min,X=Math.max,fo={left:"right",right:"left",bottom:"top",top:"bottom"},mo={start:"end",end:"start"};function Ae(e,t,n){return X(e,ie(t,n))}function Z(e,t){return typeof e=="function"?e(t):e}function I(e){return e.split("-")[0]}function V(e){return e.split("-")[1]}function pt(e){return e==="x"?"y":"x"}function Le(e){return e==="y"?"height":"width"}function ue(e){return["top","bottom"].includes(I(e))?"y":"x"}function He(e){return pt(ue(e))}function ht(e,t,n){n===void 0&&(n=!1);const i=V(e),s=He(e),r=Le(s);let l=s==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=fe(l)),[l,fe(l)]}function go(e){const t=fe(e);return[ye(e),t,ye(t)]}function ye(e){return e.replace(/start|end/g,t=>mo[t])}function vo(e,t,n){const i=["left","right"],s=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:i:t?i:s;case"left":case"right":return t?r:l;default:return[]}}function wo(e,t,n,i){const s=V(e);let r=vo(I(e),n==="start",i);return s&&(r=r.map(l=>l+"-"+s),t&&(r=r.concat(r.map(ye)))),r}function fe(e){return e.replace(/left|right|bottom|top/g,t=>fo[t])}function bo(e){return{top:0,right:0,bottom:0,left:0,...e}}function yt(e){return typeof e!="number"?bo(e):{top:e,right:e,bottom:e,left:e}}function ee(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ue(e,t,n){let{reference:i,floating:s}=e;const r=ue(t),l=He(t),a=Le(l),u=I(t),d=r==="y",c=i.x+i.width/2-s.width/2,p=i.y+i.height/2-s.height/2,y=i[a]/2-s[a]/2;let h;switch(u){case"top":h={x:c,y:i.y-s.height};break;case"bottom":h={x:c,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-s.width,y:p};break;default:h={x:i.x,y:i.y}}switch(V(t)){case"start":h[l]-=y*(n&&d?-1:1);break;case"end":h[l]+=y*(n&&d?-1:1);break}return h}const xo=async(e,t,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:r=[],platform:l}=n,a=r.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:s}),{x:c,y:p}=Ue(d,i,u),y=i,h={},f=0;for(let m=0;m<a.length;m++){const{name:v,fn:g}=a[m],{x:w,y:x,data:$,reset:_}=await g({x:c,y:p,initialPlacement:i,placement:y,strategy:s,middlewareData:h,rects:d,platform:l,elements:{reference:e,floating:t}});if(c=w??c,p=x??p,h={...h,[v]:{...h[v],...$}},_&&f<=50){f++,typeof _=="object"&&(_.placement&&(y=_.placement),_.rects&&(d=_.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:s}):_.rects),{x:c,y:p}=Ue(d,y,u)),m=-1;continue}}return{x:c,y:p,placement:y,strategy:s,middlewareData:h}};async function be(e,t){var n;t===void 0&&(t={});const{x:i,y:s,platform:r,rects:l,elements:a,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:p="floating",altBoundary:y=!1,padding:h=0}=Z(t,e),f=yt(h),v=a[y?p==="floating"?"reference":"floating":p],g=ee(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(v)))==null||n?v:v.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(a.floating)),boundary:d,rootBoundary:c,strategy:u})),w=p==="floating"?{...l.floating,x:i,y:s}:l.reference,x=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a.floating)),$=await(r.isElement==null?void 0:r.isElement(x))?await(r.getScale==null?void 0:r.getScale(x))||{x:1,y:1}:{x:1,y:1},_=ee(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:x,strategy:u}):w);return{top:(g.top-_.top+f.top)/$.y,bottom:(_.bottom-g.bottom+f.bottom)/$.y,left:(g.left-_.left+f.left)/$.x,right:(_.right-g.right+f.right)/$.x}}const _o=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:r,platform:l,elements:a,middlewareData:u}=t,{element:d,padding:c=0}=Z(e,t)||{};if(d==null)return{};const p=yt(c),y={x:n,y:i},h=He(s),f=Le(h),m=await l.getDimensions(d),v=h==="y",g=v?"top":"left",w=v?"bottom":"right",x=v?"clientHeight":"clientWidth",$=r.reference[f]+r.reference[h]-y[h]-r.floating[f],_=y[h]-r.reference[h],B=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let S=B?B[x]:0;(!S||!await(l.isElement==null?void 0:l.isElement(B)))&&(S=a.floating[x]||r.floating[f]);const N=$/2-_/2,E=S/2-m[f]/2-1,C=ie(p[g],E),A=ie(p[w],E),k=C,Y=S-m[f]-A,T=S/2-m[f]/2+N,M=Ae(k,T,Y),L=!u.arrow&&V(s)!=null&&T!=M&&r.reference[f]/2-(T<k?C:A)-m[f]/2<0,F=L?T<k?T-k:T-Y:0;return{[h]:y[h]+F,data:{[h]:M,centerOffset:T-M-F,...L&&{alignmentOffset:F}},reset:L}}});function $o(e,t,n){return(e?[...n.filter(s=>V(s)===e),...n.filter(s=>V(s)!==e)]:n.filter(s=>I(s)===s)).filter(s=>e?V(s)===e||(t?ye(s)!==s:!1):!0)}const Bo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,s;const{rects:r,middlewareData:l,placement:a,platform:u,elements:d}=t,{crossAxis:c=!1,alignment:p,allowedPlacements:y=Ge,autoAlignment:h=!0,...f}=Z(e,t),m=p!==void 0||y===Ge?$o(p||null,h,y):y,v=await be(t,f),g=((n=l.autoPlacement)==null?void 0:n.index)||0,w=m[g];if(w==null)return{};const x=ht(w,r,await(u.isRTL==null?void 0:u.isRTL(d.floating)));if(a!==w)return{reset:{placement:m[0]}};const $=[v[I(w)],v[x[0]],v[x[1]]],_=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:w,overflows:$}],B=m[g+1];if(B)return{data:{index:g+1,overflows:_},reset:{placement:B}};const S=_.map(C=>{const A=V(C.placement);return[C.placement,A&&c?C.overflows.slice(0,2).reduce((k,Y)=>k+Y,0):C.overflows[0],C.overflows]}).sort((C,A)=>C[1]-A[1]),E=((s=S.filter(C=>C[2].slice(0,V(C[0])?2:3).every(A=>A<=0))[0])==null?void 0:s[0])||S[0][0];return E!==a?{data:{index:g+1,overflows:_},reset:{placement:E}}:{}}}},So=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:s,middlewareData:r,rects:l,initialPlacement:a,platform:u,elements:d}=t,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...v}=Z(e,t);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=I(s),w=I(a)===a,x=await(u.isRTL==null?void 0:u.isRTL(d.floating)),$=y||(w||!m?[fe(a)]:go(a));!y&&f!=="none"&&$.push(...wo(a,m,f,x));const _=[a,...$],B=await be(t,v),S=[];let N=((i=r.flip)==null?void 0:i.overflows)||[];if(c&&S.push(B[g]),p){const k=ht(s,l,x);S.push(B[k[0]],B[k[1]])}if(N=[...N,{placement:s,overflows:S}],!S.every(k=>k<=0)){var E,C;const k=(((E=r.flip)==null?void 0:E.index)||0)+1,Y=_[k];if(Y)return{data:{index:k,overflows:N},reset:{placement:Y}};let T=(C=N.filter(M=>M.overflows[0]<=0).sort((M,L)=>M.overflows[1]-L.overflows[1])[0])==null?void 0:C.placement;if(!T)switch(h){case"bestFit":{var A;const M=(A=N.map(L=>[L.placement,L.overflows.filter(F=>F>0).reduce((F,Jt)=>F+Jt,0)]).sort((L,F)=>L[1]-F[1])[0])==null?void 0:A[0];M&&(T=M);break}case"initialPlacement":T=a;break}if(s!==T)return{reset:{placement:T}}}return{}}}};async function Co(e,t){const{placement:n,platform:i,elements:s}=e,r=await(i.isRTL==null?void 0:i.isRTL(s.floating)),l=I(n),a=V(n),u=ue(n)==="y",d=["left","top"].includes(l)?-1:1,c=r&&u?-1:1,p=Z(t,e);let{mainAxis:y,crossAxis:h,alignmentAxis:f}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&typeof f=="number"&&(h=a==="end"?f*-1:f),u?{x:h*c,y:y*d}:{x:y*d,y:h*c}}const ko=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:s,y:r,placement:l,middlewareData:a}=t,u=await Co(t,e);return l===((n=a.offset)==null?void 0:n.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:s+u.x,y:r+u.y,data:{...u,placement:l}}}}},To=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:s}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:v=>{let{x:g,y:w}=v;return{x:g,y:w}}},...u}=Z(e,t),d={x:n,y:i},c=await be(t,u),p=ue(I(s)),y=pt(p);let h=d[y],f=d[p];if(r){const v=y==="y"?"top":"left",g=y==="y"?"bottom":"right",w=h+c[v],x=h-c[g];h=Ae(w,h,x)}if(l){const v=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=f+c[v],x=f-c[g];f=Ae(w,f,x)}const m=a.fn({...t,[y]:h,[p]:f});return{...m,data:{x:m.x-n,y:m.y-i}}}}},Po=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:s,elements:r}=t,{apply:l=()=>{},...a}=Z(e,t),u=await be(t,a),d=I(n),c=V(n),p=ue(n)==="y",{width:y,height:h}=i.floating;let f,m;d==="top"||d==="bottom"?(f=d,m=c===(await(s.isRTL==null?void 0:s.isRTL(r.floating))?"start":"end")?"left":"right"):(m=d,f=c==="end"?"top":"bottom");const v=h-u[f],g=y-u[m],w=!t.middlewareData.shift;let x=v,$=g;if(p){const B=y-u.left-u.right;$=c||w?ie(g,B):B}else{const B=h-u.top-u.bottom;x=c||w?ie(v,B):B}if(w&&!c){const B=X(u.left,0),S=X(u.right,0),N=X(u.top,0),E=X(u.bottom,0);p?$=y-2*(B!==0||S!==0?B+S:X(u.left,u.right)):x=h-2*(N!==0||E!==0?N+E:X(u.top,u.bottom))}await l({...t,availableWidth:$,availableHeight:x});const _=await s.getDimensions(r.floating);return y!==_.width||h!==_.height?{reset:{rects:!0}}:{}}}};function P(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function H(e){return P(e).getComputedStyle(e)}const Ye=Math.min,te=Math.max,me=Math.round;function ft(e){const t=H(e);let n=parseFloat(t.width),i=parseFloat(t.height);const s=e.offsetWidth,r=e.offsetHeight,l=me(n)!==s||me(i)!==r;return l&&(n=s,i=r),{width:n,height:i,fallback:l}}function U(e){return gt(e)?(e.nodeName||"").toLowerCase():""}let de;function mt(){if(de)return de;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(de=e.brands.map(t=>t.brand+"/"+t.version).join(" "),de):navigator.userAgent}function R(e){return e instanceof P(e).HTMLElement}function q(e){return e instanceof P(e).Element}function gt(e){return e instanceof P(e).Node}function Ke(e){return typeof ShadowRoot>"u"?!1:e instanceof P(e).ShadowRoot||e instanceof ShadowRoot}function xe(e){const{overflow:t,overflowX:n,overflowY:i,display:s}=H(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(s)}function No(e){return["table","td","th"].includes(U(e))}function ze(e){const t=/firefox/i.test(mt()),n=H(e),i=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!i&&i!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const r=n.contain;return r!=null&&r.includes(s)})}function vt(){return!/^((?!chrome|android).)*safari/i.test(mt())}function Re(e){return["html","body","#document"].includes(U(e))}function wt(e){return q(e)?e:e.contextElement}const bt={x:1,y:1};function Q(e){const t=wt(e);if(!R(t))return bt;const n=t.getBoundingClientRect(),{width:i,height:s,fallback:r}=ft(t);let l=(r?me(n.width):n.width)/i,a=(r?me(n.height):n.height)/s;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}function se(e,t,n,i){var s,r;t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),a=wt(e);let u=bt;t&&(i?q(i)&&(u=Q(i)):u=Q(e));const d=a?P(a):window,c=!vt()&&n;let p=(l.left+(c&&((s=d.visualViewport)==null?void 0:s.offsetLeft)||0))/u.x,y=(l.top+(c&&((r=d.visualViewport)==null?void 0:r.offsetTop)||0))/u.y,h=l.width/u.x,f=l.height/u.y;if(a){const m=P(a),v=i&&q(i)?P(i):i;let g=m.frameElement;for(;g&&i&&v!==m;){const w=Q(g),x=g.getBoundingClientRect(),$=getComputedStyle(g);x.x+=(g.clientLeft+parseFloat($.paddingLeft))*w.x,x.y+=(g.clientTop+parseFloat($.paddingTop))*w.y,p*=w.x,y*=w.y,h*=w.x,f*=w.y,p+=x.x,y+=x.y,g=P(g).frameElement}}return{width:h,height:f,top:y,right:p+h,bottom:y+f,left:p,x:p,y}}function G(e){return((gt(e)?e.ownerDocument:e.document)||window.document).documentElement}function _e(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xt(e){return se(G(e)).left+_e(e).scrollLeft}function re(e){if(U(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ke(e)&&e.host||G(e);return Ke(t)?t.host:t}function _t(e){const t=re(e);return Re(t)?t.ownerDocument.body:R(t)&&xe(t)?t:_t(t)}function ge(e,t){var n;t===void 0&&(t=[]);const i=_t(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),r=P(i);return s?t.concat(r,r.visualViewport||[],xe(i)?i:[]):t.concat(i,ge(i))}function Xe(e,t,n){return t==="viewport"?ee(function(i,s){const r=P(i),l=G(i),a=r.visualViewport;let u=l.clientWidth,d=l.clientHeight,c=0,p=0;if(a){u=a.width,d=a.height;const y=vt();(y||!y&&s==="fixed")&&(c=a.offsetLeft,p=a.offsetTop)}return{width:u,height:d,x:c,y:p}}(e,n)):q(t)?ee(function(i,s){const r=se(i,!0,s==="fixed"),l=r.top+i.clientTop,a=r.left+i.clientLeft,u=R(i)?Q(i):{x:1,y:1};return{width:i.clientWidth*u.x,height:i.clientHeight*u.y,x:a*u.x,y:l*u.y}}(t,n)):ee(function(i){const s=G(i),r=_e(i),l=i.ownerDocument.body,a=te(s.scrollWidth,s.clientWidth,l.scrollWidth,l.clientWidth),u=te(s.scrollHeight,s.clientHeight,l.scrollHeight,l.clientHeight);let d=-r.scrollLeft+xt(i);const c=-r.scrollTop;return H(l).direction==="rtl"&&(d+=te(s.clientWidth,l.clientWidth)-a),{width:a,height:u,x:d,y:c}}(G(e)))}function Ze(e){return R(e)&&H(e).position!=="fixed"?e.offsetParent:null}function Qe(e){const t=P(e);let n=Ze(e);for(;n&&No(n)&&H(n).position==="static";)n=Ze(n);return n&&(U(n)==="html"||U(n)==="body"&&H(n).position==="static"&&!ze(n))?t:n||function(i){let s=re(i);for(;R(s)&&!Re(s);){if(ze(s))return s;s=re(s)}return null}(e)||t}function Eo(e,t,n){const i=R(t),s=G(t),r=se(e,!0,n==="fixed",t);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&n!=="fixed")if((U(t)!=="body"||xe(s))&&(l=_e(t)),R(t)){const u=se(t,!0);a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}else s&&(a.x=xt(s));return{x:r.left+l.scrollLeft-a.x,y:r.top+l.scrollTop-a.y,width:r.width,height:r.height}}const Ao={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:s}=e;const r=n==="clippingAncestors"?function(d,c){const p=c.get(d);if(p)return p;let y=ge(d).filter(v=>q(v)&&U(v)!=="body"),h=null;const f=H(d).position==="fixed";let m=f?re(d):d;for(;q(m)&&!Re(m);){const v=H(m),g=ze(m);(f?g||h:g||v.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=v:y=y.filter(w=>w!==m),m=re(m)}return c.set(d,y),y}(t,this._c):[].concat(n),l=[...r,i],a=l[0],u=l.reduce((d,c)=>{const p=Xe(t,c,s);return d.top=te(p.top,d.top),d.right=Ye(p.right,d.right),d.bottom=Ye(p.bottom,d.bottom),d.left=te(p.left,d.left),d},Xe(t,a,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const s=R(n),r=G(n);if(n===r)return t;let l={scrollLeft:0,scrollTop:0},a={x:1,y:1};const u={x:0,y:0};if((s||!s&&i!=="fixed")&&((U(n)!=="body"||xe(r))&&(l=_e(n)),R(n))){const d=se(n);a=Q(n),u.x=d.x+n.clientLeft,u.y=d.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-l.scrollLeft*a.x+u.x,y:t.y*a.y-l.scrollTop*a.y+u.y}},isElement:q,getDimensions:function(e){return R(e)?ft(e):e.getBoundingClientRect()},getOffsetParent:Qe,getDocumentElement:G,getScale:Q,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const s=this.getOffsetParent||Qe,r=this.getDimensions;return{reference:Eo(t,await s(n),i),floating:{x:0,y:0,...await r(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>H(e).direction==="rtl"},zo=(e,t,n)=>{const i=new Map,s={platform:Ao,...n},r={...s.platform,_c:i};return xo(e,t,{...s,platform:r})};function $t(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?$t(e[n],t[n]):e[n]=t[n])}const D={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function le(e,t){let n=D.themes[e]||{},i;do i=n[t],typeof i>"u"?n.$extend?n=D.themes[n.$extend]||{}:(n=null,i=D[t]):n=null;while(n);return i}function Vo(e){const t=[e];let n=D.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=D.themes[n.$extend]||{}):n=null;while(n);return t.map(i=>`v-popper--theme-${i}`)}function Je(e){const t=[e];let n=D.themes[e]||{};do n.$extend?(t.push(n.$extend),n=D.themes[n.$extend]||{}):n=null;while(n);return t}let J=!1;if(typeof window<"u"){J=!1;try{const e=Object.defineProperty({},"passive",{get(){J=!0}});window.addEventListener("test",null,e)}catch{}}let Bt=!1;typeof window<"u"&&typeof navigator<"u"&&(Bt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const St=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),et={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},tt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ot(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Se(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const z=[];let K=null;const nt={};function it(e){let t=nt[e];return t||(t=nt[e]=[]),t}let Ve=function(){};typeof window<"u"&&(Ve=window.Element);function b(e){return function(t){return le(t.theme,e)}}const Ce="__floating-vue__popper",Ct=()=>o.defineComponent({name:"VPopper",provide(){return{[Ce]:{parentPopper:this}}},inject:{[Ce]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:b("disabled")},positioningDisabled:{type:Boolean,default:b("positioningDisabled")},placement:{type:String,default:b("placement"),validator:e=>St.includes(e)},delay:{type:[String,Number,Object],default:b("delay")},distance:{type:[Number,String],default:b("distance")},skidding:{type:[Number,String],default:b("skidding")},triggers:{type:Array,default:b("triggers")},showTriggers:{type:[Array,Function],default:b("showTriggers")},hideTriggers:{type:[Array,Function],default:b("hideTriggers")},popperTriggers:{type:Array,default:b("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:b("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:b("popperHideTriggers")},container:{type:[String,Object,Ve,Boolean],default:b("container")},boundary:{type:[String,Ve],default:b("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:b("strategy")},autoHide:{type:[Boolean,Function],default:b("autoHide")},handleResize:{type:Boolean,default:b("handleResize")},instantMove:{type:Boolean,default:b("instantMove")},eagerMount:{type:Boolean,default:b("eagerMount")},popperClass:{type:[String,Array,Object],default:b("popperClass")},computeTransformOrigin:{type:Boolean,default:b("computeTransformOrigin")},autoMinSize:{type:Boolean,default:b("autoMinSize")},autoSize:{type:[Boolean,String],default:b("autoSize")},autoMaxSize:{type:Boolean,default:b("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:b("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:b("preventOverflow")},overflowPadding:{type:[Number,String],default:b("overflowPadding")},arrowPadding:{type:[Number,String],default:b("arrowPadding")},arrowOverflow:{type:Boolean,default:b("arrowOverflow")},flip:{type:Boolean,default:b("flip")},shift:{type:Boolean,default:b("shift")},shiftCrossAxis:{type:Boolean,default:b("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:b("noAutoFocus")},disposeTimeout:{type:Number,default:b("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ce])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var i,s;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(ko({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Bo({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(To({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(So({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(_o({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:s,middlewareData:r})=>{let l;const{centerOffset:a}=r.arrow;return i.startsWith("top")||i.startsWith("bottom")?l=Math.abs(a)>s.reference.width/2:l=Math.abs(a)>s.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:r,middlewareData:l})=>{var a;if((a=l.autoSize)!=null&&a.skip)return{};let u,d;return r.startsWith("top")||r.startsWith("bottom")?u=s.reference.width:d=s.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=u!=null?`${u}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Po({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:s})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await zo(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),K&&this.instantMove&&K.instantMove&&K!==this.parentPopper){K.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(K=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Se(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ge(this.$_referenceNode),...ge(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),i=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(i.left+n.offsetLeft),r=t.y+t.height/2-(i.top+n.offsetTop);this.result.transformOrigin=`${s}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<z.length;n++)t=z[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}z.push(this),document.body.classList.add("v-popper--some-open");for(const t of Je(this.theme))it(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Se(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,ot(z,this),z.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Je(this.theme)){const i=it(n);ot(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}K===this&&(K=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Se(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,et,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],et,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,tt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],tt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(i=>i.addEventListener(t,n,J?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,i,s){let r=n;i!=null&&(r=typeof i=="function"?i(r):i),r.forEach(l=>{const a=t[l];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:i,eventType:s,handler:r}=n;!e||e===s?i.forEach(l=>l.removeEventListener(s,r)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const i=n.getAttribute(e);i&&(n.removeAttribute(e),n.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const i=e[n];i==null?t.removeAttribute(n):t.setAttribute(n,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(oe>=e.left&&oe<=e.right&&ne>=e.top&&ne<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=oe-j,i=ne-W,s=t.left+t.width/2-j+(t.top+t.height/2)-W+t.width+t.height,r=j+n*s,l=W+i*s;return ce(j,W,r,l,t.left,t.top,t.left,t.bottom)||ce(j,W,r,l,t.left,t.top,t.right,t.top)||ce(j,W,r,l,t.right,t.top,t.right,t.bottom)||ce(j,W,r,l,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Bt){const e=J?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>st(t,!0),e),document.addEventListener("touchend",t=>rt(t,!0),e)}else window.addEventListener("mousedown",e=>st(e,!1),!0),window.addEventListener("click",e=>rt(e,!1),!0);window.addEventListener("resize",Oo)}function st(e,t){if(D.autoHideOnMousedown)kt(e,t);else for(let n=0;n<z.length;n++){const i=z[n];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function rt(e,t){D.autoHideOnMousedown||kt(e,t)}function kt(e,t){const n={};for(let i=z.length-1;i>=0;i--){const s=z[i];try{const r=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&&lt(s,r,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let l=s.parentPopper;for(;l&&lt(l,l.containsGlobalTarget,e);)l.$_handleGlobalClose(e,t),l=l.parentPopper}})}catch{}}}function lt(e,t,n){return n.closeAllPopover||n.closePopover&&t||Do(e,n)&&!t}function Do(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Oo(){for(let e=0;e<z.length;e++)z[e].$_computePosition()}let j=0,W=0,oe=0,ne=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{j=oe,W=ne,oe=e.clientX,ne=e.clientY},J?{passive:!0}:void 0);function ce(e,t,n,i,s,r,l,a){const u=((l-s)*(t-r)-(a-r)*(e-s))/((a-r)*(n-e)-(l-s)*(i-t)),d=((n-e)*(t-r)-(i-t)*(e-s))/((a-r)*(n-e)-(l-s)*(i-t));return u>=0&&u<=1&&d>=0&&d<=1}const Mo={extends:Ct()},$e=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n};function Lo(e,t,n,i,s,r){return o.openBlock(),o.createElementBlock("div",{ref:"reference",class:o.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[o.renderSlot(e.$slots,"default",o.normalizeProps(o.guardReactiveProps(e.slotData)))],2)}const Ho=$e(Mo,[["render",Lo]]);function Ro(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let pe;function De(){De.init||(De.init=!0,pe=Ro()!==-1)}var Be={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){De(),o.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pe&&this.$el.appendChild(e),e.data="about:blank",pe||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!pe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Io=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const Fo={class:"resize-observer",tabindex:"-1"};o.popScopeId();const jo=Io((e,t,n,i,s,r)=>(o.openBlock(),o.createBlock("div",Fo)));Be.render=jo;Be.__scopeId="data-v-b329ee4c";Be.__file="src/components/ResizeObserver.vue";const Tt=(e="theme")=>({computed:{themeClass(){return Vo(this[e])}}}),Wo=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:Be},mixins:[Tt()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),qo=["id","aria-hidden","tabindex","data-popper-placement"],Go={ref:"inner",class:"v-popper__inner"},Uo=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),Yo=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),Ko=[Uo,Yo];function Xo(e,t,n,i,s,r){const l=o.resolveComponent("ResizeObserver");return o.openBlock(),o.createElementBlock("div",{id:e.popperId,ref:"popover",class:o.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:o.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=o.withKeys(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),o.createElementVNode("div",{class:"v-popper__wrapper",style:o.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[o.createElementVNode("div",Go,[e.mounted?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("div",null,[o.renderSlot(e.$slots,"default")]),e.handleResize?(o.openBlock(),o.createBlock(l,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],512),o.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:o.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ko,4)],4)],46,qo)}const Pt=$e(Wo,[["render",Xo]]),Nt={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Oe=function(){};typeof window<"u"&&(Oe=window.Element);const Zo=o.defineComponent({name:"VPopperWrapper",components:{Popper:Ho,PopperContent:Pt},mixins:[Nt,Tt("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Oe,Boolean],default:void 0},boundary:{type:[String,Oe],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Qo(e,t,n,i,s,r){const l=o.resolveComponent("PopperContent"),a=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(a,o.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=u=>e.$emit("update:shown",u)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:o.withCtx(({popperId:u,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:y,show:h,hide:f,handleResize:m,onResize:v,classes:g,result:w})=>[o.renderSlot(e.$slots,"default",{shown:d,show:h,hide:f}),o.createVNode(l,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:d,mounted:c,"skip-transition":p,"auto-hide":y,"handle-resize":m,classes:g,result:w,onHide:f,onResize:v},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:d,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Ie=$e(Zo,[["render",Qo]]),Et={...Ie,name:"VDropdown",vPopperTheme:"dropdown"},Jo={...Ie,name:"VMenu",vPopperTheme:"menu"},At={...Ie,name:"VTooltip",vPopperTheme:"tooltip"},en=o.defineComponent({name:"VTooltipDirective",components:{Popper:Ct(),PopperContent:Pt},mixins:[Nt],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>le(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>le(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(i=>this.onResult(t,i)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tn=["innerHTML"],on=["textContent"];function nn(e,t,n,i,s,r){const l=o.resolveComponent("PopperContent"),a=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(a,o.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:o.withCtx(({popperId:u,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:y,hide:h,handleResize:f,onResize:m,classes:v,result:g})=>[o.createVNode(l,{ref:"popperContent",class:o.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":u,theme:e.theme,shown:d,mounted:c,"skip-transition":p,"auto-hide":y,"handle-resize":f,classes:v,result:g,onHide:h,onResize:m},{default:o.withCtx(()=>[e.html?(o.openBlock(),o.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,tn)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,on))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const sn=$e(en,[["render",nn]]),zt="v-popper--has-tooltip";function rn(e,t){let n=e.placement;if(!n&&t)for(const i of St)t[i]&&(n=i);return n||(n=le(e.theme||"tooltip","placement")),n}function Vt(e,t,n){let i;const s=typeof t;return s==="string"?i={content:t}:t&&s==="object"?i=t:i={content:!1},i.placement=rn(i,n),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let ke,ae,ln=0;function an(){if(ke)return;ae=o.ref([]),ke=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:ae}},render(){return this.directives.map(t=>o.h(sn,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ke.mount(e)}function un(e,t,n){an();const i=o.ref(Vt(e,t,n)),s=o.ref(!1),r={id:ln++,options:i,shown:s};return ae.value.push(r),e.classList&&e.classList.add(zt),e.$_popper={options:i,item:r,show(){s.value=!0},hide(){s.value=!1}}}function Dt(e){if(e.$_popper){const t=ae.value.indexOf(e.$_popper.item);t!==-1&&ae.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(zt)}function at(e,{value:t,modifiers:n}){const i=Vt(e,t,n);if(!i.content||le(i.theme||"tooltip","disabled"))Dt(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=i):s=un(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const dn={beforeMount:at,updated:at,beforeUnmount(e){Dt(e)}};function ut(e){e.addEventListener("mousedown",ve),e.addEventListener("click",ve),e.addEventListener("touchstart",Ot,J?{passive:!0}:!1)}function dt(e){e.removeEventListener("mousedown",ve),e.removeEventListener("click",ve),e.removeEventListener("touchstart",Ot),e.removeEventListener("touchend",Mt),e.removeEventListener("touchcancel",Lt)}function ve(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ot(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Mt),t.addEventListener("touchcancel",Lt)}}function Mt(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Lt(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const cn={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ut(e)},updated(e,{value:t,oldValue:n,modifiers:i}){e.$_closePopoverModifiers=i,t!==n&&(typeof t>"u"||t?ut(e):dt(e))},beforeUnmount(e){dt(e)}},pn=Et,hn=At;function yn(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,$t(D,t),e.directive("tooltip",dn),e.directive("close-popper",cn),e.component("VTooltip",At),e.component("VDropdown",Et),e.component("VMenu",Jo))}const fn={version:"5.2.2",install:yn,options:D},mn={class:"yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2"},gn={class:"yu-w-full yu-rounded-md yu-p-2 yu-flex yu-flex-col yu-gap-1"},vn={class:"yu-px-2 yu-w-full"},wn=o.createElementVNode("div",{class:"yu-text-gray-700 yu-text-xs yu-mr-2"},"Selecionar todos",-1),bn=["checked"],xn={class:"yu-w-full yu-p-2 yu-overflow-y-auto yu-max-h-60"},Fe=o.defineComponent({__name:"app-dropdown",props:{label:{type:String,default:"Dropdown"},icon:{type:String,default:"menu"},openIcon:{type:String,default:"keyboard_arrow_down"},inputLabel:{type:String,default:"Procurar"},allSelected:{type:Boolean,default:!1},showSearchInput:{type:Boolean,default:!1},showSelectAll:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1}},emits:["filter-value","update:allSelected","update:opened"],setup(e,{expose:t,emit:n}){const i=n,s=o.ref(!1),r=l=>{s.value=l,i("update:opened",l)};return t({opened:s}),(l,a)=>(o.openBlock(),o.createBlock(o.unref(pn),{placement:"bottom-start",skidding:6,"onUpdate:shown":r},{popper:o.withCtx(()=>[e.showSearchInput?o.renderSlot(l.$slots,"searchInput",{key:0},()=>[o.createElementVNode("div",gn,[o.createVNode(he,{label:e.inputLabel||"Procurar","onUpdate:modelValue":a[0]||(a[0]=u=>i("filter-value",u))},null,8,["label"])])]):o.createCommentVNode("",!0),e.showSelectAll?o.renderSlot(l.$slots,"selectAll",{key:1},()=>[o.createElementVNode("div",vn,[o.createVNode(we,{onClick:a[1]||(a[1]=u=>i("update:allSelected"))},{default:o.withCtx(()=>[wn,o.createElementVNode("input",{class:"yu-ml-auto yu-accent-primary-500 yu-border-2 yu-cursor-pointer",type:"checkbox",checked:e.allSelected},null,8,bn)]),_:1})])]):o.createCommentVNode("",!0),o.createElementVNode("div",xn,[o.renderSlot(l.$slots,"default")])]),default:o.withCtx(()=>[o.createElementVNode("button",{class:o.normalizeClass(["yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95",{"!yu-bg-primary-500 !yu-bg-opacity-10":s.value,"yu-border":e.bordered}])},[o.renderSlot(l.$slots,"icon",{},()=>[o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit",{"yu-text-primary-500":s.value}])},o.toDisplayString(e.icon),3)]),o.renderSlot(l.$slots,"label",{},()=>[o.createElementVNode("div",mn,o.toDisplayString(e.label),1)]),o.renderSlot(l.$slots,"open-icon",{},()=>[o.createElementVNode("i",{class:o.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto yu-transition-all",{"yu-text-primary-500 yu-rotate-180":s.value}])},o.toDisplayString(e.openIcon),3)])],2)]),_:3}))}}),_n={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-3 yu-bg-white yu-flex yu-flex-col yu-justify-center yu-shadow-2xl yu-shadow-gray-100"},$n={class:"yu-flex yu-gap-5 yu-px-2"},Bn={class:"yu-flex yu-flex-col"},Sn={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Cn={key:0,class:"yu-font-plus yu-text-xs yu-text-gray-400"},kn={class:"yu-font-plus yu-text-gray-400 yu-font-medium yu-text-sm"},Me=o.defineComponent({__name:"stat-card",props:{icon:{type:String,default:"assignment"},bad:{type:Boolean,default:!1},good:{type:Boolean,default:!1},comparison:{type:Number,default:0},total:{type:Number,default:100},hideTotal:{type:Boolean,default:!1}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",_n,[o.createElementVNode("div",$n,[o.renderSlot(t.$slots,"icon",{},()=>[o.createElementVNode("i",{class:o.normalizeClass(["yu-aspect-square material-icons yu-bg-yellow-100 yu-text-yellow-500 yu-h-14 yu-w-14 yu-place-items-center yu-rounded-full !yu-text-1xl !yu-grid",{"!yu-text-red-500 !yu-bg-red-100":e.bad,"!yu-text-green-500 !yu-bg-green-100":e.good}])},o.toDisplayString(e.icon),3)]),o.createElementVNode("div",Bn,[o.createElementVNode("div",Sn,[o.createTextVNode(o.toDisplayString(e.comparison),1),e.hideTotal?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Cn,"/"+o.toDisplayString(e.total),1))]),o.createElementVNode("p",kn,[o.renderSlot(t.$slots,"default")])])])]))}});function je(e,t){const n=o.computed(()=>({"!yu-font-plus":t.plus,"!yu-font-inter":t.inter,"!yu-font-titillium":t.titillium})),i=o.computed(()=>({"!yu-text-primary":t.primary,"!yu-text-secondary":t.secondary,"!yu-text-base":t.neutral,"!yu-text-neutral":t.gray})),s=o.computed(()=>({"!yu-font-thin":t.thin,"!yu-font-extralight":t.extralight,"!yu-font-light":t.light,"!yu-font-normal":t.normal,"!yu-font-medium":t.medium,"!yu-font-semibold":t.semibold,"!yu-font-bold":t.bold,"!yu-font-extrabold":t.extrabold,"!yu-font-black":t.black})),r=o.computed(()=>({...{title:{"!yu-text-xl":t.small,"!yu-text-2xl":t.base,"!yu-text-3xl":t.large,"!yu-text-4xl":t.extralarge},subtitle:{"!yu-text-sm":t.small,"!yu-text-md":t.base,"!yu-text-xl":t.large},text:{"!yu-text-xs":t.small,"!yu-text-sm":t.base,"!yu-text-lg":t.large,"!yu-text-xl":t.extralarge}}[e]}));return{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}}const Tn=o.defineComponent({__name:"title",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extralarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(e){const t=e,{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}=je("title",t);return(l,a)=>(o.openBlock(),o.createElementBlock("h1",{class:o.normalizeClass(["yu-font-inter yu-text-2xl yu-font-normal yu-text-black",[o.unref(n),o.unref(i),o.unref(s),o.unref(r)]])},[o.renderSlot(l.$slots,"default",{},void 0,!0)],2))}}),We=O(Tn,[["__scopeId","data-v-c6abe2e9"]]),Pn={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-5 yu-bg-white yu-shadow-2xl yu-shadow-gray-100 yu-flex yu-flex-col"},Nn={class:"yu-flex gap-3 yu-flex-col yu-h-full yu-w-full yu-justify-between"},En={class:"yu-text-base"},An={class:"yu-flex yu-justify-between"},zn={class:"yu-flex yu-gap-2"},Vn={class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-green-100 !yu-text-green-500"},Dn={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},On={class:"yu-flex yu-gap-2"},Mn={class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-red-100 !yu-text-red-500"},Ln={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Hn={class:"yu-flex yu-gap-1"},Rn=o.createElementVNode("i",{class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid"},"call_received",-1),In={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Fn={class:"yu-flex yu-gap-1"},jn=o.createElementVNode("i",{class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid"},"call_made",-1),Wn={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},Ht=o.defineComponent({__name:"app-advanced-stat-card",props:{totalGood:{type:Number,default:0},totalBad:{type:Number,default:0},totalReceived:{type:Number,default:0},totalSent:{type:Number,default:0},goodTooltip:{type:String,default:""},badTooltip:{type:String,default:""},receivedTooltip:{type:String,default:""},sentTooltip:{type:String,default:""}},setup(e){return(t,n)=>{const i=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",Pn,[o.createElementVNode("div",Nn,[o.createVNode(We,{plus:"",semibold:""},{default:o.withCtx(()=>[o.createElementVNode("div",En,[o.renderSlot(t.$slots,"title")])]),_:3}),o.createElementVNode("div",An,[o.withDirectives((o.openBlock(),o.createElementBlock("div",zn,[o.createElementVNode("i",Vn,[o.renderSlot(t.$slots,"icon-good",{},()=>[o.createTextVNode("assignment")])]),o.createElementVNode("p",Dn,o.toDisplayString(e.totalGood),1)])),[[i,e.goodTooltip]]),o.withDirectives((o.openBlock(),o.createElementBlock("div",On,[o.createElementVNode("i",Mn,[o.renderSlot(t.$slots,"icon-bad",{},()=>[o.createTextVNode("assignment")])]),o.createElementVNode("p",Ln,o.toDisplayString(e.totalBad),1)])),[[i,e.badTooltip]]),o.withDirectives((o.openBlock(),o.createElementBlock("div",Hn,[Rn,o.createElementVNode("p",In,o.toDisplayString(e.totalReceived),1)])),[[i,e.receivedTooltip]]),o.withDirectives((o.openBlock(),o.createElementBlock("div",Fn,[jn,o.createElementVNode("p",Wn,o.toDisplayString(e.totalSent),1)])),[[i,e.sentTooltip]])]),o.createElementVNode("div",null,[o.renderSlot(t.$slots,"footer")])])])}}}),qn={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-5 yu-px-5 yu-bg-white yu-shadow-md yu-shadow-gray-100"},Gn={class:"yu-font-plus yu-text-gray-800 yu-font-semibold yu-text-lg"},Un={class:"yu-mt-2 yu-flex yu-flex-col"};function Yn(e,t){return o.openBlock(),o.createElementBlock("div",qn,[o.createElementVNode("div",Gn,[o.renderSlot(e.$slots,"heading")]),o.createElementVNode("div",Un,[o.renderSlot(e.$slots,"list")])])}var Kn={};const Rt=O(Kn,[["render",Yn]]),Xn=o.defineComponent({__name:"subtitle",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(e){const t=e,{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}=je("subtitle",t);return(l,a)=>(o.openBlock(),o.createElementBlock("h3",{class:o.normalizeClass(["yu-font-inter yu-text-md yu-font-normal yu-text-black",[o.unref(n),o.unref(i),o.unref(s),o.unref(r)]])},[o.renderSlot(l.$slots,"default",{},void 0,!0)],2))}}),It=O(Xn,[["__scopeId","data-v-11d0ee28"]]),Zn=o.defineComponent({__name:"text",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extralarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(e){const t=e,{fontClass:n,colorClass:i,weightClass:s,sizeClass:r}=je("text",t);return(l,a)=>(o.openBlock(),o.createElementBlock("p",{class:o.normalizeClass(["yu-font-inter yu-text-sm yu-font-normal yu-text-black",[o.unref(n),o.unref(i),o.unref(s),o.unref(r)]])},[o.renderSlot(l.$slots,"default",{},void 0,!0)],2))}}),Ft=O(Zn,[["__scopeId","data-v-5c9c77c5"]]),Qn={key:0,class:"yu-relative yu-cursor-help"},Jn={class:"yu-relative yu-cursor-help"},ei={class:"yu-text-sm yu-max-w-44"},jt=o.defineComponent({__name:"app-tooltip-icon",props:{error:Boolean,warning:Boolean,info:Boolean,success:Boolean,ping:Boolean,small:Boolean},setup(e){const t=o.computed(()=>o.useSlots()),n=e,i=o.computed(()=>!!t.value["yu-default"]),s=o.computed(()=>n.ping?"yu-animate-ping":""),r=o.computed(()=>n.error?"error":n.warning?"warning":n.info?"info":n.success?"check_circle":"info"),l=o.computed(()=>n.error?"yu-text-red-500":n.warning?"yu-text-amber-500":n.info?"yu-text-zinc-300":n.success?"yu-text-green-500":"yu-text-zinc-400"),a=o.computed(()=>n.small?"yu-text-sm":"yu-text-lg");return(u,d)=>i.value?(o.openBlock(),o.createBlock(o.unref(hn),{key:1},{popper:o.withCtx(()=>[o.createElementVNode("div",ei,[o.renderSlot(u.$slots,"default")])]),default:o.withCtx(()=>[o.createElementVNode("div",Jn,[o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate yu-cursor-help yu-absolute",[l.value,a.value]])},o.toDisplayString(r.value),3),o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate yu-cursor-help",[s.value,l.value,a.value]])},o.toDisplayString(r.value),3)])]),_:3})):(o.openBlock(),o.createElementBlock("div",Qn,[o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate yu-absolute",[l.value,a.value]])},o.toDisplayString(r.value),3),o.createElementVNode("div",{class:o.normalizeClass(["material-icons yu-select-none yu-notranslate",[s.value,l.value,a.value]])},o.toDisplayString(r.value),3)]))}}),ti={class:"yu-w-full yu-bg-white yu-rounded-lg yu-p-6 yu-gap-2.5"},oi={class:"yu-w-full yu-table-auto yu-border-separate yu-border-spacing-0 yu-rounded-lg"},ni={class:"yu-bg-gray-100 yu-rounded-lg yu-border"};function ii(e,t){return o.openBlock(),o.createElementBlock("div",ti,[o.createElementVNode("table",oi,[o.createElementVNode("thead",ni,[o.renderSlot(e.$slots,"header")]),o.createElementVNode("tbody",null,[o.renderSlot(e.$slots,"body")])])])}var si={};const Wt=O(si,[["render",ii]]);function ri(e,t){return o.openBlock(),o.createElementBlock("tr",null,[o.renderSlot(e.$slots,"default")])}var li={};const qt=O(li,[["render",ri]]),ai={class:"yu-p-3"};function ui(e,t){return o.openBlock(),o.createElementBlock("tr",ai,[o.renderSlot(e.$slots,"default")])}var di={};const Gt=O(di,[["render",ui]]),ci={class:"yu-font-plus yu-text-sm yu-py-2 yu-px-3 yu-border-b"};function pi(e,t){return o.openBlock(),o.createElementBlock("td",ci,[o.renderSlot(e.$slots,"default")])}var hi={};const Ut=O(hi,[["render",pi]]),yi={class:"yu-text-gray-500 yu-font-medium yu-py-2 yu-px-3 yu-text-sm",align:"left"};function fi(e,t){return o.openBlock(),o.createElementBlock("th",yi,[o.renderSlot(e.$slots,"default")])}var mi={};const Yt=O(mi,[["render",fi]]),gi={class:"yu-flex yu-font-plus yu-gap-1 yu-items-center"},vi=o.createElementVNode("p",null,"Items por página",-1),wi={class:"material-icons yu-ml-4"},bi={class:"yu-flex"},xi=["disabled"],_i=["disabled"],Kt=o.defineComponent({__name:"app-pagination",props:o.mergeModels({totalItems:{type:Number,required:!0},initialPerPageOptions:{type:Array,default:()=>[5,10,15,20]}},{itemsPerPage:{required:!0,default:10},itemsPerPageModifiers:{},currentPage:{required:!0,default:1},currentPageModifiers:{}}),emits:["update:itemsPerPage","update:currentPage"],setup(e){const t=e,n=o.useModel(e,"itemsPerPage"),i=o.useModel(e,"currentPage"),s=o.computed(()=>Math.ceil(t.totalItems/n.value)),r=o.computed(()=>(i.value-1)*n.value+1),l=o.computed(()=>Math.min(i.value*n.value,t.totalItems)),a=c=>{const p=c;if(p==n.value)return;const y=(i.value-1)*n.value+1;i.value=Math.ceil(y/p),n.value=p},u=()=>{i.value<s.value&&(i.value+=1)},d=()=>{i.value>1&&(i.value-=1)};return(c,p)=>{const y=o.resolveDirective("close-popper");return o.openBlock(),o.createElementBlock("div",gi,[vi,o.createVNode(Fe,{icon:"",label:String(n.value),autoSize:"","data-testid":"app-dropdown",ref:"dropdown"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.initialPerPageOptions,h=>o.withDirectives((o.openBlock(),o.createBlock(we,{class:"yu-justify-between",key:h,label:String(h),icon:"",onClick:f=>a(h),"data-testid":`simple-dropdown-item-${h}`},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(h),1),o.withDirectives(o.createElementVNode("i",wi,"check_circle",512),[[o.vShow,n.value==h]])]),_:2},1032,["label","onClick","data-testid"])),[[y]])),128))]),_:1},8,["label"]),o.createElementVNode("p",null,o.toDisplayString(r.value)+" - "+o.toDisplayString(l.value)+" de "+o.toDisplayString(t.totalItems),1),o.createElementVNode("div",bi,[o.createElementVNode("i",{class:"material-icons yu-cursor-pointer",onClick:d,disabled:i.value===1,"data-testid":"prev"},"chevron_left",8,xi),o.createElementVNode("p",null,"Página "+o.toDisplayString(i.value)+" de "+o.toDisplayString(s.value),1),o.createElementVNode("i",{class:"material-icons yu-cursor-pointer",onClick:u,disabled:i.value===s.value.value,"data-testid":"next"},"chevron_right",8,_i)])])}}}),Xt=o.defineComponent({__name:"app-popup",emits:["closed"],setup(e,{emit:t}){const n=t,i=o.ref(!1);function s(){n("closed"),i.value=!1}return(r,l)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:l[0]||(l[0]=a=>i.value=!i.value)},[o.renderSlot(r.$slots,"default")]),i.value?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[o.createElementVNode("div",{class:"yu-z-10 yu-absolute yu-top-0 yu-bg-zinc-900 yu-bg-opacity-50 yu-w-full yu-h-full yu-flex yu-flex-col yu-justify-center yu-items-center yu-p-4",onClick:o.withModifiers(s,["self"]),onKeydown:o.withKeys(s,["esc"])},[o.renderSlot(r.$slots,"content",{closePopup:s})],32)])):o.createCommentVNode("",!0)]))}}),$i={key:0},Bi={key:1},Si={key:2};function Ci(e,t){return o.openBlock(),o.createElementBlock("div",null,[e.$slots.header?(o.openBlock(),o.createElementBlock("header",$i,[o.renderSlot(e.$slots,"header")])):o.createCommentVNode("",!0),e.$slots.body?(o.openBlock(),o.createElementBlock("main",Bi,[o.renderSlot(e.$slots,"body")])):o.createCommentVNode("",!0),e.$slots.footer?(o.openBlock(),o.createElementBlock("footer",Si,[o.renderSlot(e.$slots,"footer")])):o.createCommentVNode("",!0)])}var ki={};const Zt=O(ki,[["render",Ci]]),Qt=o.defineComponent({__name:"app-group",props:{row:{type:Boolean},col:{type:Boolean},gapNone:{type:Boolean},gapBase:{type:Boolean,default:!0},gapSm:{type:Boolean},gapMd:{type:Boolean},gapLg:{type:Boolean},paddingNone:{type:Boolean},paddingBase:{type:Boolean,default:!0},paddingSm:{type:Boolean},paddingMd:{type:Boolean},paddingLg:{type:Boolean},center:{type:Boolean},centerBetween:{type:Boolean}},setup(e){const t=e,n=o.computed(()=>t.center?"yu-items-center yu-justify-center":t.centerBetween?"yu-items-center yu-justify-between":""),i=o.computed(()=>t.row?"yu-flex-row":t.col?"yu-flex-col":"yu-flex-row"),s=o.computed(()=>t.gapBase?"yu-gap-4":t.gapSm?"yu-gap-2":t.gapMd?"yu-gap-6":t.gapLg?"yu-gap-8":t.gapNone?"yu-gap-0":"yu-gap-4"),r=o.computed(()=>t.paddingSm?"yu-p-2":t.paddingBase?"yu-p-4":t.paddingMd?"yu-p-6":t.paddingLg?"yu-p-8":"yu-p-4"),l=o.computed(()=>[i.value,s.value,r.value,n.value]);return(a,u)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["yu-flex",l.value])},[o.renderSlot(a.$slots,"default")],2))}}),Ti={install:e=>{e.use(fn),e.component("TextInput",he),e.component("AppTextInput",he),e.component("IconTextInput",Te),e.component("AppIconTextInput",Te),e.component("SwitchCheckbox",Pe),e.component("AppSwitchCheckbox",Pe),e.component("ButtonPrimary",Ne),e.component("AppButtonPrimary",Ne),e.component("ButtonSecondary",Ee),e.component("AppButtonSecondary",Ee),e.component("SimpleDropdown",ct),e.component("AppDropdown",Fe),e.component("SimpleDropdownItem",we),e.component("StatCard",Me),e.component("AppStatCard",Me),e.component("AppAdvancedStatCard",Ht),e.component("ListCard",Rt),e.component("AppTitle",We),e.component("AppSubtitle",It),e.component("AppText",Ft),e.component("AppTooltipIcon",jt),e.component("AppTable",Wt),e.component("AppTableHeader",qt),e.component("AppTableRow",Gt),e.component("AppTableCell",Ut),e.component("AppTableHeaderCell",Yt),e.component("AppPagination",Kt),e.component("AppPopup",Xt),e.component("AppContainer",Zt),e.component("AppGroup",Qt)}};exports.AppAdvancedStatCard=Ht;exports.AppContainer=Zt;exports.AppDropdown=Fe;exports.AppGroup=Qt;exports.AppPagination=Kt;exports.AppPopup=Xt;exports.AppSubtitle=It;exports.AppTable=Wt;exports.AppTableCell=Ut;exports.AppTableHeader=qt;exports.AppTableHeaderCell=Yt;exports.AppTableRow=Gt;exports.AppText=Ft;exports.AppTitle=We;exports.AppTooltipIcon=jt;exports.ButtonPrimary=Ne;exports.ButtonSecondary=Ee;exports.IconTextInput=Te;exports.ListCard=Rt;exports.SimpleDropdown=ct;exports.SimpleDropdownItem=we;exports.StatCard=Me;exports.SwitchCheckbox=Pe;exports.TextInput=he;exports.default=Ti;