voodoojs 0.11.0 → 0.11.1

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.
Files changed (41) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-NUBOX6YQ.js → chunk-32J7GDLD.js} +7 -7
  3. package/dist/{chunk-EYGQD7OP.js → chunk-BEQEBFQ2.js} +3 -3
  4. package/dist/{chunk-KAS77SGY.js → chunk-FCJ2APGN.js} +5 -5
  5. package/dist/{chunk-5GWN7E6N.js → chunk-FITEA237.js} +4 -4
  6. package/dist/{chunk-WIXAZJYS.js → chunk-GC3BKNPT.js} +3 -3
  7. package/dist/{chunk-QL2GIGVQ.js → chunk-J6RTM5P4.js} +4 -4
  8. package/dist/{chunk-VQEJ4DTE.js → chunk-KE6WWJOB.js} +6 -6
  9. package/dist/{chunk-TZJSPNLV.js → chunk-OHSGDVPA.js} +5 -5
  10. package/dist/{chunk-FBQPFIHZ.js → chunk-OJDW7KXT.js} +4 -4
  11. package/dist/{chunk-OTRGHJIJ.js → chunk-TXWSOPF2.js} +4 -4
  12. package/dist/{chunk-PBZCYF2Y.js → chunk-XG2UDP4O.js} +13 -13
  13. package/dist/essential.cjs +2 -2
  14. package/dist/essential.d.cts +1 -1
  15. package/dist/essential.d.ts +1 -1
  16. package/dist/essential.js +10 -10
  17. package/dist/gpu.cjs +1 -1
  18. package/dist/gpu.js +10 -10
  19. package/dist/http.cjs +1 -1
  20. package/dist/http.js +5 -5
  21. package/dist/index.cjs +32 -7
  22. package/dist/index.d.cts +2 -2
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.js +50 -25
  25. package/dist/reactivity.cjs +1 -1
  26. package/dist/reactivity.js +2 -2
  27. package/dist/socket.cjs +1 -1
  28. package/dist/socket.js +9 -9
  29. package/dist/style-MX6ZATL4.js +5 -0
  30. package/dist/utils.cjs +1 -1
  31. package/dist/utils.js +2 -2
  32. package/dist/voodoo.core.js +2 -2
  33. package/dist/voodoo.core.min.js +2 -2
  34. package/dist/voodoo.full.js +32 -7
  35. package/dist/voodoo.full.min.js +7 -7
  36. package/dist/voodoo.js +2 -2
  37. package/dist/voodoo.min.js +2 -2
  38. package/package.json +1 -1
  39. package/dist/style-ZM3TAT4K.js +0 -5
  40. package/dist/{query-DiQAS73Q.d.cts → query-CbHihkvO.d.cts} +28 -28
  41. package/dist/{query-Cf-7iibE.d.ts → query-p04Fl8VW.d.ts} +28 -28
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Voodoo.js v0.11.0
2
+ * Voodoo.js v0.11.1
3
3
  * JavaScript feels like magic.
4
4
  * (c) 2026 Voodoo.js contributors. MIT License.
5
5
  */
@@ -47,7 +47,7 @@
47
47
  --v-shadow:0 10px 30px rgba(0,0,0,.45);
48
48
  }
49
49
  [v-cloak]{display:none !important}
50
- `});var Nx={};Ao(Nx,{default:()=>Px});me();var re=class extends Error{constructor(n,r,o){let i=`${r}
50
+ `});var Hx={};Ao(Hx,{default:()=>Nx});me();var re=class extends Error{constructor(n,r,o){let i=`${r}
51
51
  ${" ".repeat(Math.max(0,o))}^`;super(`${n}
52
52
 
53
53
  ${i}`);P(this,"source",r);P(this,"position",o);this.name="VoodooSyntaxError"}},Cm=[">>>=","===","!==","**=","...",">>>","<<=",">>=","&&=","||=","??=","?.","=>","==","!=","<=",">=","&&","||","??","**","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<",">>","+","-","*","/","%","!","<",">","=","&","|","^","~","(",")","[","]","{","}",",",".","?",":",";"],Am=/[A-Za-z_$À-￿]/,Rm=/[A-Za-z0-9_$À-￿]/;function $m(e){return Am.test(e)}function Dm(e){return Rm.test(e)}function Ho(e){return e>="0"&&e<="9"}var Fc={n:`
@@ -135,7 +135,7 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
135
135
  .v-json-object dt{font-weight:600;color:var(--v-text-muted,#6B6580)}
136
136
  .v-json-object dd{margin:0}
137
137
  .v-json-empty{color:var(--v-text-muted,#6B6580);font-style:italic}
138
- `)}))}function eh(e){let t=e.tagName;if(t==="FORM")return"submit";if(t==="INPUT"||t==="SELECT"||t==="TEXTAREA"){let n=e.type;return n==="button"||n==="submit"?"click":"change"}return"click"}function th({el:e,cleanup:t,run:n}){var d,u;let r=V(e,"trigger")||eh(e),[o,...i]=r.split(/[.\s]+/),s=Q((d=V(e,"poll"))!=null?d:void 0,0);if(s>0){n();let p=setInterval(()=>{document.visibilityState==="visible"&&n()},s);t(()=>clearInterval(p));return}if(o==="load"||o==="ready"){n();return}if(o==="visible"||o==="revealed"){if(typeof IntersectionObserver=="undefined"){n();return}let p=new IntersectionObserver(f=>{for(let m of f)m.isIntersecting&&(n(),i.includes("repeat")||p.unobserve(e))},{rootMargin:"80px"});p.observe(e),t(()=>p.disconnect());return}let a=i.includes("once"),l=Q((u=V(e,"debounce"))!=null?u:void 0,0),c=p=>{(e.tagName==="FORM"||e.href)&&p.preventDefault(),n(p)};l>0&&(c=Ke(c,l)),e.addEventListener(o,c,{once:a}),t(()=>e.removeEventListener(o,c))}var nh=[["get","GET"],["post","POST"],["put","PUT"],["patch","PATCH"],["delete","DELETE"]];for(let[e,t]of nh)y(e,({el:n,scope:r,expression:o,cleanup:i})=>{th({el:n,scope:r,cleanup:i,run:a=>{let l=Vr(o,r);if(!l)return;let c=V(n,"body")||V(n,"data-body"),d=c?q(c,r.child({$event:a}),"v-body"):void 0,u=V(n,"params"),p=u?q(u,r,"v-params"):void 0;qr({el:n,scope:r,method:t,url:l,body:d,params:p,event:a})}})});function Vr(e,t){let n=e.trim();if(!n)return"";if((/^[./#?]/.test(n)||/^https?:\/\//i.test(n)||/^[\w-]+\/[\w\-/.]*$/.test(n))&&!/[+`'"]|\$\{/.test(n))return n;let o=q(n,t,"URL");return typeof o=="string"?o:n}y("load",({el:e,scope:t,expression:n})=>{let r=Vr(n,t);r&&qr({el:e,scope:t,method:"GET",url:r})});y("load-visible",({el:e,scope:t,cleanup:n,expression:r})=>{let o=Vr(r,t);if(!o)return;if(typeof IntersectionObserver=="undefined"){qr({el:e,scope:t,method:"GET",url:o});return}let i=new IntersectionObserver(s=>{for(let a of s)a.isIntersecting&&(i.unobserve(e),qr({el:e,scope:t,method:"GET",url:o}))},{rootMargin:"120px"});i.observe(e),n(()=>i.disconnect())});y("search",({el:e,scope:t,expression:n,cleanup:r})=>{var u,p;let o=e,i=Vr(n,t),s=V(e,"param")||o.getAttribute("name")||"q",a=Q((u=V(e,"debounce"))!=null?u:void 0,300),l=Number((p=V(e,"min-length"))!=null?p:0),c=Ke(()=>{let f=o.value.trim();f.length<l||qr({el:e,scope:t,method:"GET",url:i,params:{[s]:f}})},a),d=()=>c();o.addEventListener("input",d),r(()=>{o.removeEventListener("input",d),c.cancel()})});y("resource",({el:e,scope:t,expression:n,cleanup:r})=>{var l,c,d,u;let o=n.indexOf(":"),i=V(e,"as")||"resource",s=n.trim();if(o>-1){let p=n.slice(0,o).trim();/^[A-Za-z_$][\w$]*$/.test(p)&&(i=p,s=n.slice(o+1).trim())}let a=li(()=>Vr(s,t),{method:(V(e,"method")||"GET").toUpperCase(),params:()=>V(e,"params")?q(V(e,"params"),t,"v-params"):void 0,cache:Q((l=V(e,"cache"))!=null?l:void 0,0)||void 0,retry:Number((c=V(e,"retry"))!=null?c:0),timeout:Q((d=V(e,"timeout"))!=null?d:void 0,he.defaults.timeout),jsonPath:V(e,"json-path"),poll:Q((u=V(e,"poll"))!=null?u:void 0,0),manual:La(e,"manual"),onSuccess:p=>Yn(e,"voodoo:success",{data:p}),onError:(p,f)=>Yn(e,"voodoo:error",{error:p,message:f})});t.set(i,a),r(()=>a.stop())},{priority:j.DATA});for(let e of["target","swap","trigger","poll","param","params","body","data-body","headers","cache","retry","timeout","as","json-path","template","offline-queue","min-length","scroll-to","manual","debounce","throttle","indicator"])y(e,()=>{},{priority:j.TRANSITION});md(kd);Ed(It);Ad(fu);Kd();var Ur=new Map;function uu(e,t){let n=Ur.get(e);return n||Ur.set(e,n=new Set),n.add(t),()=>n.delete(t)}function rh(e,t){let n=uu(e,r=>{n(),t(r)});return n}function oh(e,t){let n=Ur.get(e);if(n)for(let r of[...n])try{r(t)}catch(o){K(o,`event "${e}"`)}}function ih(e,t){var n;if(!t){Ur.delete(e);return}(n=Ur.get(e))==null||n.delete(t)}function fu(e,t){var r,o;let n=typeof t=="function"?{mounted:t,updated:t}:t;y(e,i=>{var d,u;let s,a=!1,l=p=>{var f,m;return{el:i.el,value:p,oldValue:s,arg:i.arg,modifiers:i.modifiers,expression:i.expression,scope:i.scope,instance:(m=(f=i.scope.owner)==null?void 0:f.component)!=null?m:null}},c=n.raw?i.expression:i.evaluate();(d=n.created)==null||d.call(n,i.el,l(c)),(u=n.beforeMount)==null||u.call(n,i.el,l(c)),i.effect(()=>{var m,h;let p=n.raw?i.expression:i.evaluate();if(!a){a=!0,s=p,(m=n.mounted)==null||m.call(n,i.el,l(p));return}if(p===s)return;let f=l(p);(h=n.updated)==null||h.call(n,i.el,f),s=p}),i.cleanup(()=>{var f,m;let p=l(s);(f=n.beforeUnmount)==null||f.call(n,i.el,p),(m=n.unmounted)==null||m.call(n,i.el,p)})},{priority:(r=n.priority)!=null?r:j.DEFAULT,terminal:(o=n.terminal)!=null?o:!1})}function sh(e){return Object.defineProperties(We.data,Object.getOwnPropertyDescriptors(e)),We.data}var ah="0.11.0",ui={...ma,version:ah,config:w,reactive:Y,ref:Mr,shallowRef:zs,computed:Sr,effect:Fe,watch:Ie,watchEffect:js,nextTick:ut,toRaw:Me,markRaw:Fs,unref:Bs,stop:Ps,effectScope:Ns,EffectScope:rt,flushSync:As,data:sh,store:Pd,stores:Fn,removeStore:Nd,storeNames:Go,scope:We,component:zt,components:De,directive:fu,directives:Tt,magic:H,magics:Ar,createApp:Rd,start:bd,whenReady:Ko,whenElement:Yo,walk:ee,refresh:xd,destroy:G,stopObserving:yd,getScope:ot,findScope:Ce,addCleanup:Xe,parseAttribute:$n,parse:_e,tokenize:Oo,evaluate:N,evaluateIn:q,stringify:kt,clearParseCache:Vc,globals:He,http:he,request:jt,HttpError:ke,resource:li,toast:it,storage:ue,session:ri,cookie:oi,cache:ii,url:Vt,theme:ft,clipboard:ai,screen:Ge,network:Ut,enter:Br,leave:jr,fadeIn:Wn,fadeOut:Kn,slideUp:dn,slideDown:cn,viewTransition:ci,injectStyle:oe,ensureTokens:ge,on:uu,once:rh,off:ih,emit:oh,use(e,t){Io(ui,e,t)},onError(e){Rs(e)},instances:At,Scope:Lt,PRIORITY:j,VoodooSyntaxError:re,VoodooRuntimeError:Ee};Dd(ui);me();var lh=new Set(["animation-iteration-count","aspect-ratio","border-image-slice","column-count","flex","flex-grow","flex-shrink","font-weight","grid-area","grid-column","grid-row","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom"]);function wu(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function st(e){return e.length<2?e:Array.from(new Set(e))}function un(e){return String(e!=null?e:"").split(/\s+/).filter(Boolean)}function Ma(e){if(typeof document=="undefined")return[];let t=document.createElement("template");t.innerHTML=e.trim();let n=[];for(let r of Array.from(t.content.children))n.push(r);return n}function Eu(e){return e.length>2&&e.charCodeAt(0)===60&&e.endsWith(">")}function ch(e){if(e==null)return typeof document=="undefined"?[]:[document];if(e instanceof pt)return e.toArray();if(typeof e=="string")return fn(e);if(typeof e=="function")return typeof document=="undefined"?[]:[document];let t=fn(e);return t.length?t:typeof document=="undefined"?[]:[document]}function fn(e,t){if(e==null)return[];if(typeof e=="string"){let o=e.trim();if(!o)return[];if(Eu(o))return Ma(o);let i=[];for(let s of ch(t))try{for(let a of Array.from(s.querySelectorAll(o)))i.push(a)}catch(a){}return st(i)}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let n=e;if(typeof n.nodeType=="number"){if(n.nodeType===1)return[n];if(n.nodeType===9){let o=n;return o.documentElement?[o.documentElement]:[]}return n.nodeType===11?Array.from(n.children):[]}let r=e;if(typeof r.length=="number"){let o=[];for(let i=0;i<r.length;i++){let s=r[i];s&&s.nodeType===1&&o.push(s)}return st(o)}return[]}function pu(e){if(e==null)return[];if(typeof e=="string"){let r=e;return Eu(r.trim())?Ma(r):[document.createTextNode(r)]}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let t=e;if(typeof t.nodeType=="number")return[t];let n=e;if(typeof n.length=="number"){let r=[];for(let o=0;o<n.length;o++)n[o]&&r.push(n[o]);return r}return[]}function fi(e,t,n){let r=wu(t);if(n===null||n===""){e.style.removeProperty(r);return}let o=typeof n=="number"&&!lh.has(r)&&!r.startsWith("--")?`${n}px`:String(n);e.style.setProperty(r,o)}function dh(e,t){for(let[n,r]of Object.entries(t))fi(e,n,r)}function mu(e){if(e===void 0)return;if(e==="")return"";if(e==="true")return!0;if(e==="false")return!1;if(e==="null")return null;if(/^-?\d+(\.\d+)?$/.test(e))return Number(e);let t=e.charCodeAt(0);if(t===123||t===91||t===34)try{return JSON.parse(e)}catch(n){return e}return e}function vu(e){return e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase())}var ku=new WeakMap;function hu(e){return e.hasAttribute("hidden")||e.style.display==="none"?!0:e.isConnected?getComputedStyle(e).display==="none":!1}function gu(e){e.removeAttribute("hidden");let t=ku.get(e);t!==void 0&&t!=="none"?e.style.display=t:e.style.removeProperty("display"),e.isConnected&&getComputedStyle(e).display==="none"&&(e.style.display="block")}function bu(e){let t=e.style.display;t&&t!=="none"&&ku.set(e,t),e.style.display="none"}var yu="input,select,textarea";function xu(e){return e.matches(yu)?[e]:Array.from(e.querySelectorAll(yu))}function uh(e){let t=e;if(!t.name||t.disabled)return!1;let n=(t.getAttribute("type")||"").toLowerCase();return!(n==="file"||n==="submit"||n==="reset"||n==="button"||(n==="checkbox"||n==="radio")&&!t.checked)}var pi=new WeakMap;function fh(e){let t=pi.get(e);return t||pi.set(e,t=[]),t}var pt=class e{constructor(t=[]){P(this,"length");P(this,"elements");this.elements=t,this.length=t.length;let n=this;for(let r=0;r<t.length;r++)n[r]=t[r]}[Symbol.iterator](){return this.elements[Symbol.iterator]()}find(t){let n=[];for(let r of this.elements)try{for(let o of Array.from(r.querySelectorAll(t)))n.push(o)}catch(o){}return new e(st(n))}closest(t){let n=[];for(let r of this.elements){let o=r.closest(t);o&&n.push(o)}return new e(st(n))}parent(t){let n=[];for(let r of this.elements){let o=r.parentElement;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}parents(t){let n=[];for(let r of this.elements){let o=r.parentElement;for(;o;)(!t||o.matches(t))&&n.push(o),o=o.parentElement}return new e(st(n))}children(t){let n=[];for(let r of this.elements)for(let o of Array.from(r.children))(!t||o.matches(t))&&n.push(o);return new e(st(n))}siblings(t){let n=[];for(let r of this.elements){let o=r.parentElement;if(o)for(let i of Array.from(o.children))i!==r&&(!t||i.matches(t))&&n.push(i)}return new e(st(n))}next(t){let n=[];for(let r of this.elements){let o=r.nextElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}prev(t){let n=[];for(let r of this.elements){let o=r.previousElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}first(){return this.eq(0)}last(){return this.eq(-1)}eq(t){let n=t<0?this.elements.length+t:t,r=this.elements[n];return new e(r?[r]:[])}filter(t){let n=this.elements.filter((r,o)=>typeof t=="function"?t(r,o):r.matches(t));return new e(n)}not(t){let n=this.elements.filter((r,o)=>typeof t=="function"?!t(r,o):!r.matches(t));return new e(n)}has(t){let n=this.elements.filter(r=>typeof t=="string"?r.querySelector(t)!==null:r.contains(t));return new e(n)}is(t){return this.elements.some((n,r)=>typeof t=="function"?t(n,r):n.matches(t))}map(t){return this.elements.map((n,r)=>t(n,r))}each(t){for(let n=0;n<this.elements.length;n++){let r=this.elements[n];if(t.call(r,r,n)===!1)break}return this}get(...t){if(!t.length)return this.toArray();let n=Number(t[0]);return this.elements[n<0?this.elements.length+n:n]}toArray(){return this.elements.slice()}add(t,n){return new e(st([...this.elements,...fn(t,n)]))}slice(t,n){return new e(this.elements.slice(t,n))}text(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.textContent)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.textContent=r}return this}html(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.innerHTML)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.innerHTML=r}return this}val(...t){var r;if(!t.length){let o=this.elements[0];if(!o)return"";let i=o;return o.tagName==="SELECT"&&i.multiple?Array.from(i.selectedOptions).map(s=>s.value):o.type==="checkbox"?o.checked?o.value||"on":"":(r=o.value)!=null?r:""}let n=t[0];for(let o of this.elements){let i=o,s=o;if(i.tagName==="SELECT"&&s.multiple){let a=(Array.isArray(n)?n:[n]).map(String);for(let l of Array.from(s.options))l.selected=a.includes(l.value);continue}if(i.type==="checkbox"||i.type==="radio"){i.checked=Array.isArray(n)?n.map(String).includes(i.value):n===!0||String(n)===i.value;continue}i.value=n==null?"":String(n)}return this}attr(...t){var i,s;let n=t[0];if(n!==null&&typeof n=="object"){for(let a of this.elements)for(let[l,c]of Object.entries(n))c===null||c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":String(c));return this}let r=String(n);if(t.length<2)return(s=(i=this.elements[0])==null?void 0:i.getAttribute(r))!=null?s:void 0;let o=t[1];for(let a of this.elements)o===null||o===!1?a.removeAttribute(r):a.setAttribute(r,o===!0?"":String(o));return this}removeAttr(t){let n=un(t);for(let r of this.elements)for(let o of n)r.removeAttribute(o);return this}prop(...t){let n=String(t[0]);if(t.length<2){let r=this.elements[0];return r?r[n]:void 0}for(let r of this.elements)r[n]=t[1];return this}data(...t){let n=t[0];if(!t.length){let i=this.elements[0];if(!i)return{};let s={};for(let[a,l]of Object.entries(i.dataset))s[a]=mu(l);return s}if(n!==null&&typeof n=="object"){for(let i of this.elements)for(let[s,a]of Object.entries(n))i.dataset[vu(s)]=typeof a=="string"?a:JSON.stringify(a!=null?a:null);return this}let r=vu(String(n));if(t.length<2){let i=this.elements[0];return i?mu(i.dataset[r]):void 0}let o=t[1];for(let i of this.elements)i.dataset[r]=typeof o=="string"?o:JSON.stringify(o!=null?o:null);return this}css(...t){let n=t[0];if(n!==null&&typeof n=="object"){for(let o of this.elements)dh(o,n);return this}let r=String(n);if(t.length<2){let o=this.elements[0];if(!o)return"";let i=wu(r);return((o.isConnected?getComputedStyle(o).getPropertyValue(i):"")||o.style.getPropertyValue(i)).trim()}for(let o of this.elements)fi(o,r,t[1]);return this}width(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().width:0}for(let n of this.elements)fi(n,"width",t[0]);return this}height(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().height:0}for(let n of this.elements)fi(n,"height",t[0]);return this}offset(){let t=this.elements[0];if(!t)return{top:0,left:0};let n=t.getBoundingClientRect();return{top:n.top+window.scrollY,left:n.left+window.scrollX}}position(){let t=this.elements[0];return t?{top:t.offsetTop,left:t.offsetLeft}:{top:0,left:0}}scrollTop(...t){var r,o;if(!t.length)return(o=(r=this.elements[0])==null?void 0:r.scrollTop)!=null?o:0;let n=Number(t[0])||0;for(let i of this.elements)i.scrollTop=n;return this}addClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.add(...n);return this}removeClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.remove(...n);return this}toggleClass(t,n){let r=un(t);for(let o of this.elements)for(let i of r)n===void 0?o.classList.toggle(i):o.classList.toggle(i,n);return this}hasClass(t){let n=un(t);return n.length?this.elements.some(r=>n.every(o=>r.classList.contains(o))):!1}insert(t,n){let r=this.elements.length;for(let o=0;o<r;o++){let i=this.elements[o];for(let s of pu(t))n(i,o===r-1?s:s.cloneNode(!0))}return this}append(t){return this.insert(t,(n,r)=>n.appendChild(r))}prepend(t){return this.insert(t,(n,r)=>n.insertBefore(r,n.firstChild))}before(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n)})}after(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n.nextSibling)})}appendTo(t){let n=fn(t);for(let r=0;r<n.length;r++)for(let o of this.elements)n[r].appendChild(r===n.length-1?o:o.cloneNode(!0));return this}prependTo(t){let n=fn(t);for(let r=0;r<n.length;r++){let o=n[r],i=this.elements.map(s=>r===n.length-1?s:s.cloneNode(!0));for(let s=i.length-1;s>=0;s--)o.insertBefore(i[s],o.firstChild)}return this}replaceWith(t){for(let n of this.elements){let r=n.parentNode;if(r){for(let o of pu(t))r.insertBefore(o,n);G(n),n.remove()}}return this}wrap(t){var n;for(let r of this.elements){let o=fn(t)[0];if(!o)continue;let i=o.cloneNode(!0);(n=r.parentNode)==null||n.insertBefore(i,r);let s=i;for(;s.firstElementChild;)s=s.firstElementChild;s.appendChild(r)}return this}unwrap(){let t=new Set;for(let n of this.elements){let r=n.parentElement;r&&r!==document.body&&t.add(r)}for(let n of t){let r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);G(n),n.remove()}}return this}remove(){for(let t of this.elements)G(t),t.remove();return this}empty(){for(let t of this.elements){for(let n of Array.from(t.childNodes))G(n);t.replaceChildren()}return this}clone(t=!0){return new e(this.elements.map(n=>n.cloneNode(t)))}on(t,...n){var a;let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0],s=(a=r?n[2]:n[1])!=null?a:{};if(typeof i!="function")return this;for(let l of this.elements)for(let c of un(t)){let d=u=>{if(!o){i.call(l,u);return}let p=u.target,f=p==null?void 0:p.closest(o);!f||!l.contains(f)||i.call(f,u)};l.addEventListener(c,d,s),fh(l).push({type:c,selector:o,handler:i,wrapped:d,options:s})}return this}off(t,n,r){let o=typeof n=="string"?n:null,i=typeof n=="function"?n:r!=null?r:null,s=t?un(t):null;for(let a of this.elements){let l=pi.get(a);if(!l)continue;let c=[];for(let d of l){let u=!s||s.includes(d.type),p=o===null||d.selector===o,f=i===null||d.handler===i;u&&p&&f?a.removeEventListener(d.type,d.wrapped,d.options):c.push(d)}pi.set(a,c)}return this}once(t,...n){let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0];if(typeof i!="function")return this;let s=this,a=function(l){return o?s.off(t,o,a):s.off(t,a),i.call(this,l)};return o?this.on(t,o,a):this.on(t,a)}trigger(t,n){for(let r of this.elements){if(n===void 0&&typeof r[t]=="function"){r[t]();continue}let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}emit(t,n){for(let r of this.elements){let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}show(){for(let t of this.elements)gu(t);return this}hide(){for(let t of this.elements)bu(t);return this}toggle(t){for(let n of this.elements)(t===void 0?hu(n):t)?gu(n):bu(n);return this}fadeIn(t=220){for(let n of this.elements)n.removeAttribute("hidden"),Wn(n,t);return this}fadeOut(t=220){for(let n of this.elements)Kn(n,t);return this}slideUp(t=240){for(let n of this.elements)dn(n,t);return this}slideDown(t=240){for(let n of this.elements)n.removeAttribute("hidden"),cn(n,t);return this}slideToggle(t=240){for(let n of this.elements)hu(n)?(n.removeAttribute("hidden"),cn(n,t)):dn(n,t);return this}animate(t,n=300){for(let r of this.elements)typeof r.animate=="function"&&r.animate(t,n);return this}scrollIntoView(t={behavior:"smooth",block:"start"}){var n;return(n=this.elements[0])==null||n.scrollIntoView(t),this}serialize(){let t=this.elements[0];if(!t)return"";let n=new URLSearchParams;for(let r of xu(t)){if(!uh(r))continue;let o=r,i=r;if(o.tagName==="SELECT"&&i.multiple){for(let s of Array.from(i.selectedOptions))n.append(o.name,s.value);continue}n.append(o.name,o.value)}return n.toString()}serializeObject(){var r,o,i,s;let t=this.elements[0],n={};if(!t)return n;for(let a of xu(t)){let l=a;if(!l.name||l.disabled)continue;let c=(l.getAttribute("type")||"").toLowerCase();if(c==="submit"||c==="reset"||c==="button")continue;let d=l.name.endsWith("[]"),u=d?l.name.slice(0,-2):l.name,p=a,f;if(c==="checkbox"){if(!l.checked&&!d){n[u]=(r=n[u])!=null?r:!1;continue}if(!l.checked)continue;f=l.value==="on"?!0:l.value}else if(c==="radio"){if(!l.checked)continue;f=l.value}else c==="file"?f=l.multiple?Array.from((o=l.files)!=null?o:[]):(s=(i=l.files)==null?void 0:i[0])!=null?s:null:l.tagName==="SELECT"&&p.multiple?f=Array.from(p.selectedOptions).map(m=>m.value):c==="number"||c==="range"?f=l.value===""?null:Number(l.value):f=l.value;if(d){let m=n[u];Array.isArray(m)?m.push(f):n[u]=[f];continue}if(Object.prototype.hasOwnProperty.call(n,u)){let m=n[u];Array.isArray(m)?m.push(f):m===void 0||m===!1?n[u]=f:n[u]=[m,f];continue}n[u]=f}return n}focus(t){var n;return(n=this.elements[0])==null||n.focus(t),this}blur(){for(let t of this.elements)t.blur();return this}select(){for(let t of this.elements){let n=t;typeof n.select=="function"&&n.select()}return this}walk(t=!1){for(let n of this.elements)t&&G(n),ee(n,Ce(n.parentNode));return this}destroy(){for(let t of this.elements)G(t);return this}};function Sa(e,t){if(typeof e=="function"){Ca(e);let n=typeof document!="undefined"?document.documentElement:null;return new pt(n?[n]:[])}return new pt(fn(e,t))}function Ca(e){return typeof document=="undefined"?Promise.resolve():new Promise(t=>{Cd(()=>{try{e==null||e()}catch(n){K(n,"V.ready")}t()})})}function Tu(e){return new pt(Ma(e))}me();ce();var pn=new Map,ze={emit(e,t){let n=pn.get(e);if(!(!n||n.size===0))for(let r of[...n])try{r(t)}catch(o){console.error("[Voodoo] error in devtools listener:",o)}},on(e,t){let n=pn.get(e);return n||pn.set(e,n=new Set),n.add(t),()=>{n==null||n.delete(t)}},off(e,t){var n;(n=pn.get(e))==null||n.delete(t)},clear(e){e?pn.delete(e):pn.clear()},count(e){var t,n;return(n=(t=pn.get(e))==null?void 0:t.size)!=null?n:0}};var U={mode:"history",base:"/",beforeEach:null,afterEach:null,linkActiveClass:"v-link-active",linkExactActiveClass:"v-link-exact-active",transition:!0,titleTemplate:"%s",scrollBehavior:null},mi="__voodooRoute",Su=10,mt=[],Cu=new Map,vi=new Map,Xn="inicial",hi=!1,Au=!1;function ph(){return{path:"/",fullPath:"/",params:{},query:{},hash:"",name:"",meta:{},matched:null}}var de=Y(ph());function _r(e){let t=e||"/";return t.startsWith("/")||(t=`/${t}`),t=t.replace(/\/{2,}/g,"/"),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t}function Ru(e){let t={};return e&&new URLSearchParams(e.startsWith("?")?e.slice(1):e).forEach((r,o)=>{t[o]=r}),t}function mh(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))r!=null&&t.append(n,String(r));return t.toString()}function Da(e){let t=e||"/",n="",r=t.indexOf("#");r>-1&&(n=t.slice(r+1),t=t.slice(0,r));let o={},i=t.indexOf("?");return i>-1&&(o=Ru(t.slice(i+1)),t=t.slice(0,i)),{path:_r(t),query:o,hash:n}}function vh(e){let t=U.base.replace(/\/$/,"");return!t||t===""?e:e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e}function $u(){return typeof window=="undefined"?{path:"/",query:{},hash:""}:U.mode==="hash"?Da(window.location.hash.slice(1)||"/"):{path:_r(vh(window.location.pathname)),query:Ru(window.location.search),hash:window.location.hash.slice(1)}}function Du(e,t,n){let r=mh(t);return`${e}${r?`?${r}`:""}${n?`#${n}`:""}`}function Pa(e){let t=Du(e.path,e.query,e.hash);if(U.mode==="hash"){let{pathname:r,search:o}=window.location;return`${r}${o}#${t}`}return`${U.base==="/"?"":U.base.replace(/\/$/,"")}${t}`||"/"}var Ra=!1,gi=!1;function Na(e,t,n){if(!Ra)try{n?window.history.replaceState(e,"",t):window.history.pushState(e,"",t);return}catch(i){if(!(i instanceof Error)||i.name!=="SecurityError")throw i;Ra=!0}if(U.mode!=="hash")return;let r=t.indexOf("#");if(r<0)return;let o=t.slice(r);if(window.location.hash!==o){gi=!0;try{window.location.hash=o}finally{setTimeout(()=>{gi=!1},0)}}}function Pu(e,t){let n=e==="*"?"*":_r(e),r=n==="*"?["*"]:n.split("/").filter(Boolean),o=[],i=r.length*10;for(let s of r){if(s==="*"||s==="**"){o.push({type:"wildcard",value:"*",optional:!0}),i-=30;continue}if(s.startsWith(":")){let a=s.endsWith("?"),l=s.slice(1,a?-1:void 0);o.push({type:"param",value:l,optional:a}),i+=a?1:2;continue}o.push({type:"static",value:s,optional:!1}),i+=4}return{pattern:n,segments:o,score:i,record:t}}function hh(e,t){let n={},r=0;for(let o of e){if(o.type==="wildcard")return n["*"]=t.slice(r).map(Aa).join("/"),n;if(r>=t.length){if(o.optional)continue;return null}let i=t[r];if(o.type==="static"){if(Aa(i)!==o.value)return null;r++;continue}n[o.value]=Aa(i),r++}return r===t.length?n:null}function Aa(e){try{return decodeURIComponent(e)}catch(t){return e}}function gh(e){let t=e.split("/").filter(Boolean),n=null;for(let r of mt){let o=hh(r.segments,t);o&&(!n||r.score>n.route.score)&&(n={route:r,params:o})}return n}function Ha(e){var t,n;return e&&(n=(t=mt.find(r=>r.pattern===e))==null?void 0:t.record)!=null?n:null}function Gn(e){let{path:t,query:n,hash:r}=Da(e);return Oa(t,n,r)}function Oa(e,t,n){var o,i;let r=gh(e);return{path:e,fullPath:Du(e,t,n),params:r?r.params:{},query:t,hash:n,name:(o=r==null?void 0:r.route.record.name)!=null?o:"",meta:(i=r==null?void 0:r.route.record.meta)!=null?i:{},matched:r?r.route.pattern:null}}function Qn(){return{path:de.path,fullPath:de.fullPath,params:{...de.params},query:{...de.query},hash:de.hash,name:de.name,meta:de.meta,matched:de.matched}}function Fa(e){de.path=e.path,de.fullPath=e.fullPath,de.params=e.params,de.query=e.query,de.hash=e.hash,de.name=e.name,de.meta=e.meta,de.matched=e.matched;let t=Ha(e.matched);t!=null&&t.title&&typeof document!="undefined"&&(document.title=U.titleTemplate.includes("%s")?U.titleTemplate.replace("%s",t.title):t.title)}async function Ia(e,t){let n=Ha(e.matched);if(n!=null&&n.redirect)return n.redirect;if(n!=null&&n.beforeEnter){let r=await n.beforeEnter(e,t);if(r===!1)return!1;if(typeof r=="string")return r}if(U.beforeEach){let r=await U.beforeEach(e,t);if(r===!1)return!1;if(typeof r=="string")return r}return!0}function yi(){typeof window!="undefined"&&Cu.set(Xn,window.scrollY)}function za(e,t,n){typeof window!="undefined"&&Se(()=>{requestAnimationFrame(()=>{var o;let r=i=>{Math.abs(window.scrollY-i)>1&&window.scrollTo(0,i)};if(U.scrollBehavior){let i=U.scrollBehavior(e,t,n);if(i===!1)return;if(typeof i=="number"){r(i);return}}if(e.hash){let i=(o=document.getElementById(e.hash))!=null?o:/^[\w-]+$/.test(e.hash)?document.querySelector(`[name="${e.hash}"]`):null;if(i){i.scrollIntoView({behavior:"smooth",block:"start"});return}}r(n!=null?n:0)})})}async function _t(e,t={}){var a,l;if(typeof window=="undefined")return!1;Nu();let n=Qn(),r=Gn(e);if(!t.force&&r.fullPath===n.fullPath)return!0;for(let c=0;;c++){if(c>Su)return X(`Router: too many redirects when navigating to "${e}".`),!1;let d=await Ia(r,n);if(d===!1)return ze.emit("navigation",{from:n.fullPath,to:r.fullPath,cancelled:!0,matched:r.matched}),!1;if(typeof d=="string"){r=Gn(d);continue}break}yi();let o=le("rota"),i={...(a=t.state)!=null?a:{},[mi]:o},s=Pa(r);return Na(i,s,t.replace===!0),Xn=o,Fa(r),t.scroll!==!1&&za(r,n,null),(l=U.afterEach)==null||l.call(U,Qn(),n),ze.emit("navigation",{from:n.fullPath,to:r.fullPath,matched:r.matched}),!0}async function bh(e){var c,d;if(gi)return;let{path:t,query:n,hash:r}=$u(),o=Oa(t,n,r),i=Qn();if(o.fullPath===i.fullPath)return;let s=await Ia(o,i);if(s===!1){Na({[mi]:Xn},Pa(i),!0),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,cancelled:!0,matched:o.matched});return}if(typeof s=="string"){_t(s,{replace:!0});return}yi();let a=e.state,l=a&&a[mi]||le("rota");Xn=l,Fa(o),za(o,i,(c=Cu.get(l))!=null?c:0),(d=U.afterEach)==null||d.call(U,Qn(),i),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,matched:o.matched})}function bi(e){bh(e)}function Nu(){hi||typeof window=="undefined"||(hi=!0,"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.addEventListener("popstate",bi),U.mode==="hash"&&window.addEventListener("hashchange",bi),window.addEventListener("beforeunload",yi))}function yh(){!hi||typeof window=="undefined"||(hi=!1,window.removeEventListener("popstate",bi),window.removeEventListener("hashchange",bi),window.removeEventListener("beforeunload",yi),Ra=!1,gi=!1)}async function xh(){var i;if(typeof window=="undefined")return;let{path:e,query:t,hash:n}=$u(),r=Qn(),o=Oa(e,t,n);for(let s=0;;s++){if(s>Su){X("Router: too many redirects in the initial route.");return}let a=await Ia(o,r);if(a===!1)return;if(typeof a=="string"){o=Gn(a);continue}break}Xn=le("rota"),Na({[mi]:Xn},Pa(o),!0),Fa(o),o.hash&&za(o,r,null),(i=U.afterEach)==null||i.call(U,Qn(),r)}function wh(e,t){let n=Pu(e,t),r=mt.findIndex(o=>o.pattern===n.pattern);r>-1?mt.splice(r,1,n):mt.push(n)}function Eh(e){let t=e==="*"?"*":_r(e),n=mt.findIndex(r=>r.pattern===t);n>-1&&mt.splice(n,1)}function kh(){return[...mt].sort((e,t)=>t.score-e.score).map(e=>e.pattern)}function Th(e){e?vi.delete(e):vi.clear()}function Lh(e){var t,n,r,o,i,s,a,l,c,d;U.mode=(t=e.mode)!=null?t:"history",U.base=_r((n=e.base)!=null?n:"/"),U.beforeEach=(r=e.beforeEach)!=null?r:null,U.afterEach=(o=e.afterEach)!=null?o:null,U.linkActiveClass=(i=e.linkActiveClass)!=null?i:"v-link-active",U.linkExactActiveClass=(s=e.linkExactActiveClass)!=null?s:"v-link-exact-active",U.transition=(a=e.transition)!=null?a:!0,U.titleTemplate=(l=e.titleTemplate)!=null?l:"%s",U.scrollBehavior=(c=e.scrollBehavior)!=null?c:null,mt.length=0;for(let[u,p]of Object.entries((d=e.routes)!=null?d:{}))mt.push(Pu(u,p));return Au=!0,Nu(),xh(),Wr}var Mh={get current(){return de},push:(e,t={})=>_t(e,t),replace:(e,t={})=>_t(e,{...t,replace:!0}),navigate:_t,back:()=>{typeof window!="undefined"&&window.history.back()},forward:()=>{typeof window!="undefined"&&window.history.forward()},go:e=>{typeof window!="undefined"&&window.history.go(e)},resolve:Gn,addRoute:wh,removeRoute:Eh,patterns:kh,stop:yh,clearViewCache:Th,get ready(){return Au}},Wr=Object.defineProperties(Lh,Object.getOwnPropertyDescriptors(Mh));H("$route",()=>de);H("$router",()=>Wr);async function Sh(e){let t=vi.get(e);if(t!==void 0)return t;let n=await he.get(e,{responseType:"text"}),r=typeof n=="string"?n:String(n!=null?n:"");return vi.set(e,r),r}function Ch(e){return Object.keys(e).sort().map(n=>`${n}=${e[n]}`).join("&")}y("router-view",({el:e,scope:t,modifiers:n,effect:r,cleanup:o})=>{Uo(e);let i=e.innerHTML,s=U.transition&&!n["no-transition"],a=0,l=()=>{for(let u of Array.from(e.childNodes))G(u);e.textContent=""},c=(u,p)=>{if(l(),u!=null&&u.component){let f=document.createElement("div");f.setAttribute(`${w.prefix}component`,u.component),f.className="v-router-page",e.appendChild(f),ee(f,t);return}e.innerHTML=p!=null?p:i;for(let f of Array.from(e.childNodes))ee(f,t)},d=async(u,p)=>{let f=null;if(u!=null&&u.view){e.classList.add("v-router-loading");try{f=await Sh(u.view)}catch(m){K(m,`v-router-view loading "${u.view}"`),f=""}finally{e.classList.remove("v-router-loading")}if(p!==a)return}s?ci(()=>c(u,f)):c(u,f)};r(()=>{let u=de.matched;Ch(de.params);let p=Ha(u);d(p,++a)}),o(()=>{a++,l()})},{priority:j.DEFAULT});var Ah=/^[a-z][a-z0-9+.-]*:/i;function Lu(e){return!!(!e||e.startsWith("//")||Ah.test(e))}function Mu(e,t,n){var i;let r=t.trim();if(r){if(r.startsWith("/")||r.startsWith("#"))return r;let s=n(r);return typeof s=="string"&&s?s:r}let o=(i=e.getAttribute("href"))!=null?i:"";return U.mode==="hash"&&o.startsWith("#")?o.slice(1)||"/":o}function $a(e,t){let{path:n}=Da(e);return n==="/"||t?de.path===n:de.path===n||de.path.startsWith(`${n}/`)}y("link",({el:e,expression:t,modifiers:n,effect:r,cleanup:o,evaluate:i})=>{let s=e,a=l=>{var u;if(l.defaultPrevented||l.metaKey||l.ctrlKey||l.shiftKey||l.altKey||typeof l.button=="number"&&l.button!==0)return;let c=s.getAttribute("target");if(c&&c!=="_self"||s.hasAttribute("download")||((u=s.getAttribute("rel"))!=null?u:"").split(/\s+/).includes("external"))return;let d=Mu(e,t,i);d&&(Lu(d)||U.mode!=="hash"&&d.startsWith("#")||(l.preventDefault(),_t(d,{replace:!!n.replace,scroll:n["no-scroll"]?!1:void 0})))};e.addEventListener("click",a),o(()=>e.removeEventListener("click",a)),r(()=>{let l=Mu(e,t,i);if(!l||Lu(l))return;let c=$a(l,!0),d=c||$a(l,!1);e.classList.toggle(U.linkActiveClass,d),e.classList.toggle(U.linkExactActiveClass,c),c?e.setAttribute("aria-current","page"):e.removeAttribute("aria-current")})});y("route-active",({el:e,expression:t,arg:n,modifiers:r,effect:o,evaluate:i})=>{let s=n||"active";o(()=>{var d;let a=t.trim(),l=a.startsWith("/")||!a?a:(d=i(a))!=null?d:a,c=l?$a(String(l),!!r.exact):!1;e.classList.toggle(s,c)})});me();ce();var Rh="voodoo:locale",z=Y({locale:w.locale||"pt-BR",fallback:"en",currency:w.currency||"BRL",messages:{}}),Jn=Rh,Zn="",Ba=new Map;function xi(e,t){let n=z.messages[e];if(!n)return null;let r=n[t];if(typeof r=="string")return r;let o=n;for(let i of t.split(".")){if(o==null||typeof o=="string")return null;o=o[i]}return typeof o=="string"?o:null}function wi(e){let t=[e],n=e.split("-")[0];n&&n!==e&&t.push(n);for(let r of Object.keys(z.messages))r!==e&&r.split("-")[0]===n&&t.push(r);return t}var Hu=new Map;function $h(e,t){try{let n=Hu.get(e);return n||Hu.set(e,n=new Intl.PluralRules(e)),n.select(t)}catch(n){return t===1?"one":"other"}}var Dh=["zero","one","two","few","many","other"];function Ph(e,t,n){var i;if(e.length<=1)return(i=e[0])!=null?i:"";let r=$h(n,t);if(e.length===2)return r==="one"?e[0]:e[1];if(e.length===3)return t===0?e[0]:r==="one"?e[1]:e[2];let o=Dh.indexOf(r);return e[Math.min(o<0?e.length-1:o,e.length-1)]}var Nh=/\{\s*([\w.$-]+)\s*\}/g;function Hh(e,t){return e.indexOf("{")===-1?e:e.replace(Nh,(n,r)=>{let o=t[r];return o==null?n:String(o)})}function Oh(e){return e==null?{}:typeof e=="number"?{n:e}:e}function er(e,t){var i,s;if(!e)return"";let n=Oh(t),r=z.locale,o=null;for(let a of wi(r))if(o=xi(a,e),o!==null)break;if(o===null&&z.fallback&&z.fallback!==r){for(let a of wi(z.fallback))if(o=xi(a,e),o!==null)break}if(o===null)return e;if(o.includes("|")){let a=Number((s=(i=n.n)!=null?i:n.count)!=null?s:0),l=o.split("|").map(c=>c.trim());o=Ph(l,Number.isNaN(a)?0:a,r)}return Hh(o,n)}function Fh(e,t){let n=t!=null?t:z.locale;for(let r of wi(n))if(xi(r,e)!==null)return!0;if(z.fallback&&z.fallback!==n){for(let r of wi(z.fallback))if(xi(r,e)!==null)return!0}return!1}function Ou(e,t={}){return ua(e,{...t,locale:z.locale})}function Fu(e,t){return da(e,{locale:z.locale,currency:t!=null?t:z.currency})}function Iu(e,t="short"){return fa(e,t,z.locale)}function zu(e){return pa(e,z.locale)}function ki(){return z.locale}function Ih(e){var t;return(t=z.messages[e!=null?e:z.locale])!=null?t:{}}function Ei(e,t){let n=z.messages[e];return n?Jo(n,t):z.messages[e]=t,e}async function ja(e,t){if(typeof t!="string"){Ei(e,t);return}let n=Ba.get(e);if(n)return n;let r=he.get(t,{responseType:"json"}).then(o=>{o&&typeof o=="object"&&Ei(e,o)}).catch(o=>{K(o,`i18n ao carregar "${t}"`)}).finally(()=>{Ba.delete(e)});return Ba.set(e,r),r}function Kr(e){let t=e==null?void 0:e.trim();if(!t||t===z.locale)return Promise.resolve();let n=z.locale;return z.locale=t,z.currency=z.currency||w.currency,w.locale=t,ei(t,z.currency),Jn&&ue.set(Jn,t),typeof document!="undefined"&&(document.documentElement.lang=t),ze.emit("locale",{from:n,to:t}),!z.messages[t]&&Zn?ja(t,Zn.replace("{locale}",t)):Promise.resolve()}function Bu(){var n;if(typeof navigator=="undefined")return null;let e=Object.keys(z.messages);if(!e.length)return null;let t=(n=navigator.languages)!=null&&n.length?[...navigator.languages]:[navigator.language];for(let r of t){if(!r)continue;let o=e.find(a=>a.toLowerCase()===r.toLowerCase());if(o)return o;let i=r.split("-")[0].toLowerCase(),s=e.find(a=>a.split("-")[0].toLowerCase()===i);if(s)return s}return null}function zh(e={}){var o,i,s,a;if(e.messages)for(let[l,c]of Object.entries(e.messages))Ei(l,c);z.fallback=(o=e.fallback)!=null?o:z.fallback,z.currency=(s=(i=e.currency)!=null?i:w.currency)!=null?s:z.currency,Zn=(a=e.loadPath)!=null?a:Zn,e.persist===!1?Jn=null:typeof e.persist=="string"&&(Jn=e.persist);let t=Jn?ue.get(Jn):void 0,n=e.detect===!1?null:Bu(),r=t||n||e.locale||z.locale||z.fallback;return z.locale=r,w.locale=r,ei(r,z.currency),typeof document!="undefined"&&(document.documentElement.lang=r),!z.messages[r]&&Zn&&ja(r,Zn.replace("{locale}",r)),Yr}var Bh={get locale(){return z.locale},get fallback(){return z.fallback},get locales(){return Object.keys(z.messages)},t:er,te:Fh,n:Ou,c:Fu,d:Iu,rt:zu,setLocale:Kr,getLocale:ki,addMessages:Ei,loadMessages:ja,messagesOf:Ih,detectLocale:Bu},Yr=Object.defineProperties(zh,Object.getOwnPropertyDescriptors(Bh));H("$t",()=>er);H("$locale",()=>z.locale);H("$i18n",()=>Yr);H("$n",()=>Ou);H("$c",()=>Fu);H("$d",()=>Iu);H("$rt",()=>zu);var jh=/^[A-Za-z_$][\w$-]*(\.[A-Za-z_$][\w$-]*)*$/;function qh(e,t){let n=e.trim();if(!n)return"";if(jh.test(n))return n;let r=t(n);return typeof r=="string"?r:n}function Vh(e,t){var o;let n=(o=Te(e,`${w.prefix}t-params`))!=null?o:Te(e,"data-v-t-params");if(!n)return{};let r=t(n);return r&&typeof r=="object"?r:{}}y("t",({el:e,arg:t,expression:n,effect:r,evaluate:o})=>{r(()=>{let i=qh(n,o);if(!i)return;let s=er(i,Vh(e,o));t?e.setAttribute(t,s):e.textContent!==s&&(e.textContent=s)})});y("t-params",()=>{});y("locale",({el:e,expression:t,effect:n,cleanup:r,evaluate:o})=>{let i=()=>{let a=t.trim();if(!a)return"";if(/^[A-Za-z]{2,3}([-_][A-Za-z0-9]{2,8})*$/.test(a))return a.replace("_","-");let l=o(a);return typeof l=="string"?l:a},s=()=>{let a=i();a&&Kr(a)};e.addEventListener("click",s),r(()=>e.removeEventListener("click",s)),n(()=>{e.classList.toggle("v-locale-active",i()===z.locale)})});me();ce();Ne();Ne();ce();var qa=new WeakMap;function Kt(e,t){var n;return(n=Te(e,`${w.prefix}${t}`))!=null?n:Te(e,`data-v-${t}`)}function Ti(e,t){return Ft(e,`${w.prefix}${t}`)||Ft(e,`data-v-${t}`)}function Z(e,t){let n=qa.get(e);return n&&t in n?n[t]:Kt(e,t)}function Li(e,t,n){var o;let r=(o=qa.get(e))!=null?o:{};r[t]=n,qa.set(e,r)}function W(e){y(e,({el:t,expression:n})=>{Li(t,e,n)},{priority:j.BIND})}function fe(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function vt(e,t,n,r,o){if(!e.trim())return;let i=t.child({$el:n,$event:r!=null?r:null,$detail:o}),s=q(e,i,"directive de UI");return typeof s=="function"?s.call(t.data,o!=null?o:r):s}var Uh=`
138
+ `)}))}function eh(e){let t=e.tagName;if(t==="FORM")return"submit";if(t==="INPUT"||t==="SELECT"||t==="TEXTAREA"){let n=e.type;return n==="button"||n==="submit"?"click":"change"}return"click"}function th({el:e,cleanup:t,run:n}){var d,u;let r=V(e,"trigger")||eh(e),[o,...i]=r.split(/[.\s]+/),s=Q((d=V(e,"poll"))!=null?d:void 0,0);if(s>0){n();let p=setInterval(()=>{document.visibilityState==="visible"&&n()},s);t(()=>clearInterval(p));return}if(o==="load"||o==="ready"){n();return}if(o==="visible"||o==="revealed"){if(typeof IntersectionObserver=="undefined"){n();return}let p=new IntersectionObserver(f=>{for(let m of f)m.isIntersecting&&(n(),i.includes("repeat")||p.unobserve(e))},{rootMargin:"80px"});p.observe(e),t(()=>p.disconnect());return}let a=i.includes("once"),l=Q((u=V(e,"debounce"))!=null?u:void 0,0),c=p=>{(e.tagName==="FORM"||e.href)&&p.preventDefault(),n(p)};l>0&&(c=Ke(c,l)),e.addEventListener(o,c,{once:a}),t(()=>e.removeEventListener(o,c))}var nh=[["get","GET"],["post","POST"],["put","PUT"],["patch","PATCH"],["delete","DELETE"]];for(let[e,t]of nh)y(e,({el:n,scope:r,expression:o,cleanup:i})=>{th({el:n,scope:r,cleanup:i,run:a=>{let l=Vr(o,r);if(!l)return;let c=V(n,"body")||V(n,"data-body"),d=c?q(c,r.child({$event:a}),"v-body"):void 0,u=V(n,"params"),p=u?q(u,r,"v-params"):void 0;qr({el:n,scope:r,method:t,url:l,body:d,params:p,event:a})}})});function Vr(e,t){let n=e.trim();if(!n)return"";if((/^[./#?]/.test(n)||/^https?:\/\//i.test(n)||/^[\w-]+\/[\w\-/.]*$/.test(n))&&!/[+`'"]|\$\{/.test(n))return n;let o=q(n,t,"URL");return typeof o=="string"?o:n}y("load",({el:e,scope:t,expression:n})=>{let r=Vr(n,t);r&&qr({el:e,scope:t,method:"GET",url:r})});y("load-visible",({el:e,scope:t,cleanup:n,expression:r})=>{let o=Vr(r,t);if(!o)return;if(typeof IntersectionObserver=="undefined"){qr({el:e,scope:t,method:"GET",url:o});return}let i=new IntersectionObserver(s=>{for(let a of s)a.isIntersecting&&(i.unobserve(e),qr({el:e,scope:t,method:"GET",url:o}))},{rootMargin:"120px"});i.observe(e),n(()=>i.disconnect())});y("search",({el:e,scope:t,expression:n,cleanup:r})=>{var u,p;let o=e,i=Vr(n,t),s=V(e,"param")||o.getAttribute("name")||"q",a=Q((u=V(e,"debounce"))!=null?u:void 0,300),l=Number((p=V(e,"min-length"))!=null?p:0),c=Ke(()=>{let f=o.value.trim();f.length<l||qr({el:e,scope:t,method:"GET",url:i,params:{[s]:f}})},a),d=()=>c();o.addEventListener("input",d),r(()=>{o.removeEventListener("input",d),c.cancel()})});y("resource",({el:e,scope:t,expression:n,cleanup:r})=>{var l,c,d,u;let o=n.indexOf(":"),i=V(e,"as")||"resource",s=n.trim();if(o>-1){let p=n.slice(0,o).trim();/^[A-Za-z_$][\w$]*$/.test(p)&&(i=p,s=n.slice(o+1).trim())}let a=li(()=>Vr(s,t),{method:(V(e,"method")||"GET").toUpperCase(),params:()=>V(e,"params")?q(V(e,"params"),t,"v-params"):void 0,cache:Q((l=V(e,"cache"))!=null?l:void 0,0)||void 0,retry:Number((c=V(e,"retry"))!=null?c:0),timeout:Q((d=V(e,"timeout"))!=null?d:void 0,he.defaults.timeout),jsonPath:V(e,"json-path"),poll:Q((u=V(e,"poll"))!=null?u:void 0,0),manual:La(e,"manual"),onSuccess:p=>Yn(e,"voodoo:success",{data:p}),onError:(p,f)=>Yn(e,"voodoo:error",{error:p,message:f})});t.set(i,a),r(()=>a.stop())},{priority:j.DATA});for(let e of["target","swap","trigger","poll","param","params","body","data-body","headers","cache","retry","timeout","as","json-path","template","offline-queue","min-length","scroll-to","manual","debounce","throttle","indicator"])y(e,()=>{},{priority:j.TRANSITION});md(kd);Ed(It);Ad(fu);Kd();var Ur=new Map;function uu(e,t){let n=Ur.get(e);return n||Ur.set(e,n=new Set),n.add(t),()=>n.delete(t)}function rh(e,t){let n=uu(e,r=>{n(),t(r)});return n}function oh(e,t){let n=Ur.get(e);if(n)for(let r of[...n])try{r(t)}catch(o){K(o,`event "${e}"`)}}function ih(e,t){var n;if(!t){Ur.delete(e);return}(n=Ur.get(e))==null||n.delete(t)}function fu(e,t){var r,o;let n=typeof t=="function"?{mounted:t,updated:t}:t;y(e,i=>{var d,u;let s,a=!1,l=p=>{var f,m;return{el:i.el,value:p,oldValue:s,arg:i.arg,modifiers:i.modifiers,expression:i.expression,scope:i.scope,instance:(m=(f=i.scope.owner)==null?void 0:f.component)!=null?m:null}},c=n.raw?i.expression:i.evaluate();(d=n.created)==null||d.call(n,i.el,l(c)),(u=n.beforeMount)==null||u.call(n,i.el,l(c)),i.effect(()=>{var m,h;let p=n.raw?i.expression:i.evaluate();if(!a){a=!0,s=p,(m=n.mounted)==null||m.call(n,i.el,l(p));return}if(p===s)return;let f=l(p);(h=n.updated)==null||h.call(n,i.el,f),s=p}),i.cleanup(()=>{var f,m;let p=l(s);(f=n.beforeUnmount)==null||f.call(n,i.el,p),(m=n.unmounted)==null||m.call(n,i.el,p)})},{priority:(r=n.priority)!=null?r:j.DEFAULT,terminal:(o=n.terminal)!=null?o:!1})}function sh(e){return Object.defineProperties(We.data,Object.getOwnPropertyDescriptors(e)),We.data}var ah="0.11.1",ui={...ma,version:ah,config:w,reactive:Y,ref:Mr,shallowRef:zs,computed:Sr,effect:Fe,watch:Ie,watchEffect:js,nextTick:ut,toRaw:Me,markRaw:Fs,unref:Bs,stop:Ps,effectScope:Ns,EffectScope:rt,flushSync:As,data:sh,store:Pd,stores:Fn,removeStore:Nd,storeNames:Go,scope:We,component:zt,components:De,directive:fu,directives:Tt,magic:H,magics:Ar,createApp:Rd,start:bd,whenReady:Ko,whenElement:Yo,walk:ee,refresh:xd,destroy:G,stopObserving:yd,getScope:ot,findScope:Ce,addCleanup:Xe,parseAttribute:$n,parse:_e,tokenize:Oo,evaluate:N,evaluateIn:q,stringify:kt,clearParseCache:Vc,globals:He,http:he,request:jt,HttpError:ke,resource:li,toast:it,storage:ue,session:ri,cookie:oi,cache:ii,url:Vt,theme:ft,clipboard:ai,screen:Ge,network:Ut,enter:Br,leave:jr,fadeIn:Wn,fadeOut:Kn,slideUp:dn,slideDown:cn,viewTransition:ci,injectStyle:oe,ensureTokens:ge,on:uu,once:rh,off:ih,emit:oh,use(e,t){Io(ui,e,t)},onError(e){Rs(e)},instances:At,Scope:Lt,PRIORITY:j,VoodooSyntaxError:re,VoodooRuntimeError:Ee};Dd(ui);me();var lh=new Set(["animation-iteration-count","aspect-ratio","border-image-slice","column-count","flex","flex-grow","flex-shrink","font-weight","grid-area","grid-column","grid-row","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom"]);function wu(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function st(e){return e.length<2?e:Array.from(new Set(e))}function un(e){return String(e!=null?e:"").split(/\s+/).filter(Boolean)}function Ma(e){if(typeof document=="undefined")return[];let t=document.createElement("template");t.innerHTML=e.trim();let n=[];for(let r of Array.from(t.content.children))n.push(r);return n}function Eu(e){return e.length>2&&e.charCodeAt(0)===60&&e.endsWith(">")}function ch(e){if(e==null)return typeof document=="undefined"?[]:[document];if(e instanceof pt)return e.toArray();if(typeof e=="string")return fn(e);if(typeof e=="function")return typeof document=="undefined"?[]:[document];let t=fn(e);return t.length?t:typeof document=="undefined"?[]:[document]}function fn(e,t){if(e==null)return[];if(typeof e=="string"){let o=e.trim();if(!o)return[];if(Eu(o))return Ma(o);let i=[];for(let s of ch(t))try{for(let a of Array.from(s.querySelectorAll(o)))i.push(a)}catch(a){}return st(i)}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let n=e;if(typeof n.nodeType=="number"){if(n.nodeType===1)return[n];if(n.nodeType===9){let o=n;return o.documentElement?[o.documentElement]:[]}return n.nodeType===11?Array.from(n.children):[]}let r=e;if(typeof r.length=="number"){let o=[];for(let i=0;i<r.length;i++){let s=r[i];s&&s.nodeType===1&&o.push(s)}return st(o)}return[]}function pu(e){if(e==null)return[];if(typeof e=="string"){let r=e;return Eu(r.trim())?Ma(r):[document.createTextNode(r)]}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let t=e;if(typeof t.nodeType=="number")return[t];let n=e;if(typeof n.length=="number"){let r=[];for(let o=0;o<n.length;o++)n[o]&&r.push(n[o]);return r}return[]}function fi(e,t,n){let r=wu(t);if(n===null||n===""){e.style.removeProperty(r);return}let o=typeof n=="number"&&!lh.has(r)&&!r.startsWith("--")?`${n}px`:String(n);e.style.setProperty(r,o)}function dh(e,t){for(let[n,r]of Object.entries(t))fi(e,n,r)}function mu(e){if(e===void 0)return;if(e==="")return"";if(e==="true")return!0;if(e==="false")return!1;if(e==="null")return null;if(/^-?\d+(\.\d+)?$/.test(e))return Number(e);let t=e.charCodeAt(0);if(t===123||t===91||t===34)try{return JSON.parse(e)}catch(n){return e}return e}function vu(e){return e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase())}var ku=new WeakMap;function hu(e){return e.hasAttribute("hidden")||e.style.display==="none"?!0:e.isConnected?getComputedStyle(e).display==="none":!1}function gu(e){e.removeAttribute("hidden");let t=ku.get(e);t!==void 0&&t!=="none"?e.style.display=t:e.style.removeProperty("display"),e.isConnected&&getComputedStyle(e).display==="none"&&(e.style.display="block")}function bu(e){let t=e.style.display;t&&t!=="none"&&ku.set(e,t),e.style.display="none"}var yu="input,select,textarea";function xu(e){return e.matches(yu)?[e]:Array.from(e.querySelectorAll(yu))}function uh(e){let t=e;if(!t.name||t.disabled)return!1;let n=(t.getAttribute("type")||"").toLowerCase();return!(n==="file"||n==="submit"||n==="reset"||n==="button"||(n==="checkbox"||n==="radio")&&!t.checked)}var pi=new WeakMap;function fh(e){let t=pi.get(e);return t||pi.set(e,t=[]),t}var pt=class e{constructor(t=[]){P(this,"length");P(this,"elements");this.elements=t,this.length=t.length;let n=this;for(let r=0;r<t.length;r++)n[r]=t[r]}[Symbol.iterator](){return this.elements[Symbol.iterator]()}find(t){let n=[];for(let r of this.elements)try{for(let o of Array.from(r.querySelectorAll(t)))n.push(o)}catch(o){}return new e(st(n))}closest(t){let n=[];for(let r of this.elements){let o=r.closest(t);o&&n.push(o)}return new e(st(n))}parent(t){let n=[];for(let r of this.elements){let o=r.parentElement;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}parents(t){let n=[];for(let r of this.elements){let o=r.parentElement;for(;o;)(!t||o.matches(t))&&n.push(o),o=o.parentElement}return new e(st(n))}children(t){let n=[];for(let r of this.elements)for(let o of Array.from(r.children))(!t||o.matches(t))&&n.push(o);return new e(st(n))}siblings(t){let n=[];for(let r of this.elements){let o=r.parentElement;if(o)for(let i of Array.from(o.children))i!==r&&(!t||i.matches(t))&&n.push(i)}return new e(st(n))}next(t){let n=[];for(let r of this.elements){let o=r.nextElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}prev(t){let n=[];for(let r of this.elements){let o=r.previousElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}first(){return this.eq(0)}last(){return this.eq(-1)}eq(t){let n=t<0?this.elements.length+t:t,r=this.elements[n];return new e(r?[r]:[])}filter(t){let n=this.elements.filter((r,o)=>typeof t=="function"?t(r,o):r.matches(t));return new e(n)}not(t){let n=this.elements.filter((r,o)=>typeof t=="function"?!t(r,o):!r.matches(t));return new e(n)}has(t){let n=this.elements.filter(r=>typeof t=="string"?r.querySelector(t)!==null:r.contains(t));return new e(n)}is(t){return this.elements.some((n,r)=>typeof t=="function"?t(n,r):n.matches(t))}map(t){return this.elements.map((n,r)=>t(n,r))}each(t){for(let n=0;n<this.elements.length;n++){let r=this.elements[n];if(t.call(r,r,n)===!1)break}return this}get(...t){if(!t.length)return this.toArray();let n=Number(t[0]);return this.elements[n<0?this.elements.length+n:n]}toArray(){return this.elements.slice()}add(t,n){return new e(st([...this.elements,...fn(t,n)]))}slice(t,n){return new e(this.elements.slice(t,n))}text(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.textContent)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.textContent=r}return this}html(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.innerHTML)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.innerHTML=r}return this}val(...t){var r;if(!t.length){let o=this.elements[0];if(!o)return"";let i=o;return o.tagName==="SELECT"&&i.multiple?Array.from(i.selectedOptions).map(s=>s.value):o.type==="checkbox"?o.checked?o.value||"on":"":(r=o.value)!=null?r:""}let n=t[0];for(let o of this.elements){let i=o,s=o;if(i.tagName==="SELECT"&&s.multiple){let a=(Array.isArray(n)?n:[n]).map(String);for(let l of Array.from(s.options))l.selected=a.includes(l.value);continue}if(i.type==="checkbox"||i.type==="radio"){i.checked=Array.isArray(n)?n.map(String).includes(i.value):n===!0||String(n)===i.value;continue}i.value=n==null?"":String(n)}return this}attr(...t){var i,s;let n=t[0];if(n!==null&&typeof n=="object"){for(let a of this.elements)for(let[l,c]of Object.entries(n))c===null||c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":String(c));return this}let r=String(n);if(t.length<2)return(s=(i=this.elements[0])==null?void 0:i.getAttribute(r))!=null?s:void 0;let o=t[1];for(let a of this.elements)o===null||o===!1?a.removeAttribute(r):a.setAttribute(r,o===!0?"":String(o));return this}removeAttr(t){let n=un(t);for(let r of this.elements)for(let o of n)r.removeAttribute(o);return this}prop(...t){let n=String(t[0]);if(t.length<2){let r=this.elements[0];return r?r[n]:void 0}for(let r of this.elements)r[n]=t[1];return this}data(...t){let n=t[0];if(!t.length){let i=this.elements[0];if(!i)return{};let s={};for(let[a,l]of Object.entries(i.dataset))s[a]=mu(l);return s}if(n!==null&&typeof n=="object"){for(let i of this.elements)for(let[s,a]of Object.entries(n))i.dataset[vu(s)]=typeof a=="string"?a:JSON.stringify(a!=null?a:null);return this}let r=vu(String(n));if(t.length<2){let i=this.elements[0];return i?mu(i.dataset[r]):void 0}let o=t[1];for(let i of this.elements)i.dataset[r]=typeof o=="string"?o:JSON.stringify(o!=null?o:null);return this}css(...t){let n=t[0];if(n!==null&&typeof n=="object"){for(let o of this.elements)dh(o,n);return this}let r=String(n);if(t.length<2){let o=this.elements[0];if(!o)return"";let i=wu(r);return((o.isConnected?getComputedStyle(o).getPropertyValue(i):"")||o.style.getPropertyValue(i)).trim()}for(let o of this.elements)fi(o,r,t[1]);return this}width(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().width:0}for(let n of this.elements)fi(n,"width",t[0]);return this}height(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().height:0}for(let n of this.elements)fi(n,"height",t[0]);return this}offset(){let t=this.elements[0];if(!t)return{top:0,left:0};let n=t.getBoundingClientRect();return{top:n.top+window.scrollY,left:n.left+window.scrollX}}position(){let t=this.elements[0];return t?{top:t.offsetTop,left:t.offsetLeft}:{top:0,left:0}}scrollTop(...t){var r,o;if(!t.length)return(o=(r=this.elements[0])==null?void 0:r.scrollTop)!=null?o:0;let n=Number(t[0])||0;for(let i of this.elements)i.scrollTop=n;return this}addClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.add(...n);return this}removeClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.remove(...n);return this}toggleClass(t,n){let r=un(t);for(let o of this.elements)for(let i of r)n===void 0?o.classList.toggle(i):o.classList.toggle(i,n);return this}hasClass(t){let n=un(t);return n.length?this.elements.some(r=>n.every(o=>r.classList.contains(o))):!1}insert(t,n){let r=this.elements.length;for(let o=0;o<r;o++){let i=this.elements[o];for(let s of pu(t))n(i,o===r-1?s:s.cloneNode(!0))}return this}append(t){return this.insert(t,(n,r)=>n.appendChild(r))}prepend(t){return this.insert(t,(n,r)=>n.insertBefore(r,n.firstChild))}before(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n)})}after(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n.nextSibling)})}appendTo(t){let n=fn(t);for(let r=0;r<n.length;r++)for(let o of this.elements)n[r].appendChild(r===n.length-1?o:o.cloneNode(!0));return this}prependTo(t){let n=fn(t);for(let r=0;r<n.length;r++){let o=n[r],i=this.elements.map(s=>r===n.length-1?s:s.cloneNode(!0));for(let s=i.length-1;s>=0;s--)o.insertBefore(i[s],o.firstChild)}return this}replaceWith(t){for(let n of this.elements){let r=n.parentNode;if(r){for(let o of pu(t))r.insertBefore(o,n);G(n),n.remove()}}return this}wrap(t){var n;for(let r of this.elements){let o=fn(t)[0];if(!o)continue;let i=o.cloneNode(!0);(n=r.parentNode)==null||n.insertBefore(i,r);let s=i;for(;s.firstElementChild;)s=s.firstElementChild;s.appendChild(r)}return this}unwrap(){let t=new Set;for(let n of this.elements){let r=n.parentElement;r&&r!==document.body&&t.add(r)}for(let n of t){let r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);G(n),n.remove()}}return this}remove(){for(let t of this.elements)G(t),t.remove();return this}empty(){for(let t of this.elements){for(let n of Array.from(t.childNodes))G(n);t.replaceChildren()}return this}clone(t=!0){return new e(this.elements.map(n=>n.cloneNode(t)))}on(t,...n){var a;let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0],s=(a=r?n[2]:n[1])!=null?a:{};if(typeof i!="function")return this;for(let l of this.elements)for(let c of un(t)){let d=u=>{if(!o){i.call(l,u);return}let p=u.target,f=p==null?void 0:p.closest(o);!f||!l.contains(f)||i.call(f,u)};l.addEventListener(c,d,s),fh(l).push({type:c,selector:o,handler:i,wrapped:d,options:s})}return this}off(t,n,r){let o=typeof n=="string"?n:null,i=typeof n=="function"?n:r!=null?r:null,s=t?un(t):null;for(let a of this.elements){let l=pi.get(a);if(!l)continue;let c=[];for(let d of l){let u=!s||s.includes(d.type),p=o===null||d.selector===o,f=i===null||d.handler===i;u&&p&&f?a.removeEventListener(d.type,d.wrapped,d.options):c.push(d)}pi.set(a,c)}return this}once(t,...n){let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0];if(typeof i!="function")return this;let s=this,a=function(l){return o?s.off(t,o,a):s.off(t,a),i.call(this,l)};return o?this.on(t,o,a):this.on(t,a)}trigger(t,n){for(let r of this.elements){if(n===void 0&&typeof r[t]=="function"){r[t]();continue}let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}emit(t,n){for(let r of this.elements){let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}show(){for(let t of this.elements)gu(t);return this}hide(){for(let t of this.elements)bu(t);return this}toggle(t){for(let n of this.elements)(t===void 0?hu(n):t)?gu(n):bu(n);return this}fadeIn(t=220){for(let n of this.elements)n.removeAttribute("hidden"),Wn(n,t);return this}fadeOut(t=220){for(let n of this.elements)Kn(n,t);return this}slideUp(t=240){for(let n of this.elements)dn(n,t);return this}slideDown(t=240){for(let n of this.elements)n.removeAttribute("hidden"),cn(n,t);return this}slideToggle(t=240){for(let n of this.elements)hu(n)?(n.removeAttribute("hidden"),cn(n,t)):dn(n,t);return this}animate(t,n=300){for(let r of this.elements)typeof r.animate=="function"&&r.animate(t,n);return this}scrollIntoView(t={behavior:"smooth",block:"start"}){var n;return(n=this.elements[0])==null||n.scrollIntoView(t),this}serialize(){let t=this.elements[0];if(!t)return"";let n=new URLSearchParams;for(let r of xu(t)){if(!uh(r))continue;let o=r,i=r;if(o.tagName==="SELECT"&&i.multiple){for(let s of Array.from(i.selectedOptions))n.append(o.name,s.value);continue}n.append(o.name,o.value)}return n.toString()}serializeObject(){var r,o,i,s;let t=this.elements[0],n={};if(!t)return n;for(let a of xu(t)){let l=a;if(!l.name||l.disabled)continue;let c=(l.getAttribute("type")||"").toLowerCase();if(c==="submit"||c==="reset"||c==="button")continue;let d=l.name.endsWith("[]"),u=d?l.name.slice(0,-2):l.name,p=a,f;if(c==="checkbox"){if(!l.checked&&!d){n[u]=(r=n[u])!=null?r:!1;continue}if(!l.checked)continue;f=l.value==="on"?!0:l.value}else if(c==="radio"){if(!l.checked)continue;f=l.value}else c==="file"?f=l.multiple?Array.from((o=l.files)!=null?o:[]):(s=(i=l.files)==null?void 0:i[0])!=null?s:null:l.tagName==="SELECT"&&p.multiple?f=Array.from(p.selectedOptions).map(m=>m.value):c==="number"||c==="range"?f=l.value===""?null:Number(l.value):f=l.value;if(d){let m=n[u];Array.isArray(m)?m.push(f):n[u]=[f];continue}if(Object.prototype.hasOwnProperty.call(n,u)){let m=n[u];Array.isArray(m)?m.push(f):m===void 0||m===!1?n[u]=f:n[u]=[m,f];continue}n[u]=f}return n}focus(t){var n;return(n=this.elements[0])==null||n.focus(t),this}blur(){for(let t of this.elements)t.blur();return this}select(){for(let t of this.elements){let n=t;typeof n.select=="function"&&n.select()}return this}walk(t=!1){for(let n of this.elements)t&&G(n),ee(n,Ce(n.parentNode));return this}destroy(){for(let t of this.elements)G(t);return this}};function Sa(e,t){if(typeof e=="function"){Ca(e);let n=typeof document!="undefined"?document.documentElement:null;return new pt(n?[n]:[])}return new pt(fn(e,t))}function Ca(e){return typeof document=="undefined"?Promise.resolve():new Promise(t=>{Cd(()=>{try{e==null||e()}catch(n){K(n,"V.ready")}t()})})}function Tu(e){return new pt(Ma(e))}me();ce();var pn=new Map,ze={emit(e,t){let n=pn.get(e);if(!(!n||n.size===0))for(let r of[...n])try{r(t)}catch(o){console.error("[Voodoo] error in devtools listener:",o)}},on(e,t){let n=pn.get(e);return n||pn.set(e,n=new Set),n.add(t),()=>{n==null||n.delete(t)}},off(e,t){var n;(n=pn.get(e))==null||n.delete(t)},clear(e){e?pn.delete(e):pn.clear()},count(e){var t,n;return(n=(t=pn.get(e))==null?void 0:t.size)!=null?n:0}};var U={mode:"history",base:"/",beforeEach:null,afterEach:null,linkActiveClass:"v-link-active",linkExactActiveClass:"v-link-exact-active",transition:!0,titleTemplate:"%s",scrollBehavior:null},mi="__voodooRoute",Su=10,mt=[],Cu=new Map,vi=new Map,Xn="inicial",hi=!1,Au=!1;function ph(){return{path:"/",fullPath:"/",params:{},query:{},hash:"",name:"",meta:{},matched:null}}var de=Y(ph());function _r(e){let t=e||"/";return t.startsWith("/")||(t=`/${t}`),t=t.replace(/\/{2,}/g,"/"),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t}function Ru(e){let t={};return e&&new URLSearchParams(e.startsWith("?")?e.slice(1):e).forEach((r,o)=>{t[o]=r}),t}function mh(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))r!=null&&t.append(n,String(r));return t.toString()}function Da(e){let t=e||"/",n="",r=t.indexOf("#");r>-1&&(n=t.slice(r+1),t=t.slice(0,r));let o={},i=t.indexOf("?");return i>-1&&(o=Ru(t.slice(i+1)),t=t.slice(0,i)),{path:_r(t),query:o,hash:n}}function vh(e){let t=U.base.replace(/\/$/,"");return!t||t===""?e:e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e}function $u(){return typeof window=="undefined"?{path:"/",query:{},hash:""}:U.mode==="hash"?Da(window.location.hash.slice(1)||"/"):{path:_r(vh(window.location.pathname)),query:Ru(window.location.search),hash:window.location.hash.slice(1)}}function Du(e,t,n){let r=mh(t);return`${e}${r?`?${r}`:""}${n?`#${n}`:""}`}function Pa(e){let t=Du(e.path,e.query,e.hash);if(U.mode==="hash"){let{pathname:r,search:o}=window.location;return`${r}${o}#${t}`}return`${U.base==="/"?"":U.base.replace(/\/$/,"")}${t}`||"/"}var Ra=!1,gi=!1;function Na(e,t,n){if(!Ra)try{n?window.history.replaceState(e,"",t):window.history.pushState(e,"",t);return}catch(i){if(!(i instanceof Error)||i.name!=="SecurityError")throw i;Ra=!0}if(U.mode!=="hash")return;let r=t.indexOf("#");if(r<0)return;let o=t.slice(r);if(window.location.hash!==o){gi=!0;try{window.location.hash=o}finally{setTimeout(()=>{gi=!1},0)}}}function Pu(e,t){let n=e==="*"?"*":_r(e),r=n==="*"?["*"]:n.split("/").filter(Boolean),o=[],i=r.length*10;for(let s of r){if(s==="*"||s==="**"){o.push({type:"wildcard",value:"*",optional:!0}),i-=30;continue}if(s.startsWith(":")){let a=s.endsWith("?"),l=s.slice(1,a?-1:void 0);o.push({type:"param",value:l,optional:a}),i+=a?1:2;continue}o.push({type:"static",value:s,optional:!1}),i+=4}return{pattern:n,segments:o,score:i,record:t}}function hh(e,t){let n={},r=0;for(let o of e){if(o.type==="wildcard")return n["*"]=t.slice(r).map(Aa).join("/"),n;if(r>=t.length){if(o.optional)continue;return null}let i=t[r];if(o.type==="static"){if(Aa(i)!==o.value)return null;r++;continue}n[o.value]=Aa(i),r++}return r===t.length?n:null}function Aa(e){try{return decodeURIComponent(e)}catch(t){return e}}function gh(e){let t=e.split("/").filter(Boolean),n=null;for(let r of mt){let o=hh(r.segments,t);o&&(!n||r.score>n.route.score)&&(n={route:r,params:o})}return n}function Ha(e){var t,n;return e&&(n=(t=mt.find(r=>r.pattern===e))==null?void 0:t.record)!=null?n:null}function Gn(e){let{path:t,query:n,hash:r}=Da(e);return Oa(t,n,r)}function Oa(e,t,n){var o,i;let r=gh(e);return{path:e,fullPath:Du(e,t,n),params:r?r.params:{},query:t,hash:n,name:(o=r==null?void 0:r.route.record.name)!=null?o:"",meta:(i=r==null?void 0:r.route.record.meta)!=null?i:{},matched:r?r.route.pattern:null}}function Qn(){return{path:de.path,fullPath:de.fullPath,params:{...de.params},query:{...de.query},hash:de.hash,name:de.name,meta:de.meta,matched:de.matched}}function Fa(e){de.path=e.path,de.fullPath=e.fullPath,de.params=e.params,de.query=e.query,de.hash=e.hash,de.name=e.name,de.meta=e.meta,de.matched=e.matched;let t=Ha(e.matched);t!=null&&t.title&&typeof document!="undefined"&&(document.title=U.titleTemplate.includes("%s")?U.titleTemplate.replace("%s",t.title):t.title)}async function Ia(e,t){let n=Ha(e.matched);if(n!=null&&n.redirect)return n.redirect;if(n!=null&&n.beforeEnter){let r=await n.beforeEnter(e,t);if(r===!1)return!1;if(typeof r=="string")return r}if(U.beforeEach){let r=await U.beforeEach(e,t);if(r===!1)return!1;if(typeof r=="string")return r}return!0}function yi(){typeof window!="undefined"&&Cu.set(Xn,window.scrollY)}function za(e,t,n){typeof window!="undefined"&&Se(()=>{requestAnimationFrame(()=>{var o;let r=i=>{Math.abs(window.scrollY-i)>1&&window.scrollTo(0,i)};if(U.scrollBehavior){let i=U.scrollBehavior(e,t,n);if(i===!1)return;if(typeof i=="number"){r(i);return}}if(e.hash){let i=(o=document.getElementById(e.hash))!=null?o:/^[\w-]+$/.test(e.hash)?document.querySelector(`[name="${e.hash}"]`):null;if(i){i.scrollIntoView({behavior:"smooth",block:"start"});return}}r(n!=null?n:0)})})}async function _t(e,t={}){var a,l;if(typeof window=="undefined")return!1;Nu();let n=Qn(),r=Gn(e);if(!t.force&&r.fullPath===n.fullPath)return!0;for(let c=0;;c++){if(c>Su)return X(`Router: too many redirects when navigating to "${e}".`),!1;let d=await Ia(r,n);if(d===!1)return ze.emit("navigation",{from:n.fullPath,to:r.fullPath,cancelled:!0,matched:r.matched}),!1;if(typeof d=="string"){r=Gn(d);continue}break}yi();let o=le("rota"),i={...(a=t.state)!=null?a:{},[mi]:o},s=Pa(r);return Na(i,s,t.replace===!0),Xn=o,Fa(r),t.scroll!==!1&&za(r,n,null),(l=U.afterEach)==null||l.call(U,Qn(),n),ze.emit("navigation",{from:n.fullPath,to:r.fullPath,matched:r.matched}),!0}async function bh(e){var c,d;if(gi)return;let{path:t,query:n,hash:r}=$u(),o=Oa(t,n,r),i=Qn();if(o.fullPath===i.fullPath)return;let s=await Ia(o,i);if(s===!1){Na({[mi]:Xn},Pa(i),!0),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,cancelled:!0,matched:o.matched});return}if(typeof s=="string"){_t(s,{replace:!0});return}yi();let a=e.state,l=a&&a[mi]||le("rota");Xn=l,Fa(o),za(o,i,(c=Cu.get(l))!=null?c:0),(d=U.afterEach)==null||d.call(U,Qn(),i),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,matched:o.matched})}function bi(e){bh(e)}function Nu(){hi||typeof window=="undefined"||(hi=!0,"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.addEventListener("popstate",bi),U.mode==="hash"&&window.addEventListener("hashchange",bi),window.addEventListener("beforeunload",yi))}function yh(){!hi||typeof window=="undefined"||(hi=!1,window.removeEventListener("popstate",bi),window.removeEventListener("hashchange",bi),window.removeEventListener("beforeunload",yi),Ra=!1,gi=!1)}async function xh(){var i;if(typeof window=="undefined")return;let{path:e,query:t,hash:n}=$u(),r=Qn(),o=Oa(e,t,n);for(let s=0;;s++){if(s>Su){X("Router: too many redirects in the initial route.");return}let a=await Ia(o,r);if(a===!1)return;if(typeof a=="string"){o=Gn(a);continue}break}Xn=le("rota"),Na({[mi]:Xn},Pa(o),!0),Fa(o),o.hash&&za(o,r,null),(i=U.afterEach)==null||i.call(U,Qn(),r)}function wh(e,t){let n=Pu(e,t),r=mt.findIndex(o=>o.pattern===n.pattern);r>-1?mt.splice(r,1,n):mt.push(n)}function Eh(e){let t=e==="*"?"*":_r(e),n=mt.findIndex(r=>r.pattern===t);n>-1&&mt.splice(n,1)}function kh(){return[...mt].sort((e,t)=>t.score-e.score).map(e=>e.pattern)}function Th(e){e?vi.delete(e):vi.clear()}function Lh(e){var t,n,r,o,i,s,a,l,c,d;U.mode=(t=e.mode)!=null?t:"history",U.base=_r((n=e.base)!=null?n:"/"),U.beforeEach=(r=e.beforeEach)!=null?r:null,U.afterEach=(o=e.afterEach)!=null?o:null,U.linkActiveClass=(i=e.linkActiveClass)!=null?i:"v-link-active",U.linkExactActiveClass=(s=e.linkExactActiveClass)!=null?s:"v-link-exact-active",U.transition=(a=e.transition)!=null?a:!0,U.titleTemplate=(l=e.titleTemplate)!=null?l:"%s",U.scrollBehavior=(c=e.scrollBehavior)!=null?c:null,mt.length=0;for(let[u,p]of Object.entries((d=e.routes)!=null?d:{}))mt.push(Pu(u,p));return Au=!0,Nu(),xh(),Wr}var Mh={get current(){return de},push:(e,t={})=>_t(e,t),replace:(e,t={})=>_t(e,{...t,replace:!0}),navigate:_t,back:()=>{typeof window!="undefined"&&window.history.back()},forward:()=>{typeof window!="undefined"&&window.history.forward()},go:e=>{typeof window!="undefined"&&window.history.go(e)},resolve:Gn,addRoute:wh,removeRoute:Eh,patterns:kh,stop:yh,clearViewCache:Th,get ready(){return Au}},Wr=Object.defineProperties(Lh,Object.getOwnPropertyDescriptors(Mh));H("$route",()=>de);H("$router",()=>Wr);async function Sh(e){let t=vi.get(e);if(t!==void 0)return t;let n=await he.get(e,{responseType:"text"}),r=typeof n=="string"?n:String(n!=null?n:"");return vi.set(e,r),r}function Ch(e){return Object.keys(e).sort().map(n=>`${n}=${e[n]}`).join("&")}y("router-view",({el:e,scope:t,modifiers:n,effect:r,cleanup:o})=>{Uo(e);let i=e.innerHTML,s=U.transition&&!n["no-transition"],a=0,l=()=>{for(let u of Array.from(e.childNodes))G(u);e.textContent=""},c=(u,p)=>{if(l(),u!=null&&u.component){let f=document.createElement("div");f.setAttribute(`${w.prefix}component`,u.component),f.className="v-router-page",e.appendChild(f),ee(f,t);return}e.innerHTML=p!=null?p:i;for(let f of Array.from(e.childNodes))ee(f,t)},d=async(u,p)=>{let f=null;if(u!=null&&u.view){e.classList.add("v-router-loading");try{f=await Sh(u.view)}catch(m){K(m,`v-router-view loading "${u.view}"`),f=""}finally{e.classList.remove("v-router-loading")}if(p!==a)return}s?ci(()=>c(u,f)):c(u,f)};r(()=>{let u=de.matched;Ch(de.params);let p=Ha(u);d(p,++a)}),o(()=>{a++,l()})},{priority:j.DEFAULT});var Ah=/^[a-z][a-z0-9+.-]*:/i;function Lu(e){return!!(!e||e.startsWith("//")||Ah.test(e))}function Mu(e,t,n){var i;let r=t.trim();if(r){if(r.startsWith("/")||r.startsWith("#"))return r;let s=n(r);return typeof s=="string"&&s?s:r}let o=(i=e.getAttribute("href"))!=null?i:"";return U.mode==="hash"&&o.startsWith("#")?o.slice(1)||"/":o}function $a(e,t){let{path:n}=Da(e);return n==="/"||t?de.path===n:de.path===n||de.path.startsWith(`${n}/`)}y("link",({el:e,expression:t,modifiers:n,effect:r,cleanup:o,evaluate:i})=>{let s=e,a=l=>{var u;if(l.defaultPrevented||l.metaKey||l.ctrlKey||l.shiftKey||l.altKey||typeof l.button=="number"&&l.button!==0)return;let c=s.getAttribute("target");if(c&&c!=="_self"||s.hasAttribute("download")||((u=s.getAttribute("rel"))!=null?u:"").split(/\s+/).includes("external"))return;let d=Mu(e,t,i);d&&(Lu(d)||U.mode!=="hash"&&d.startsWith("#")||(l.preventDefault(),_t(d,{replace:!!n.replace,scroll:n["no-scroll"]?!1:void 0})))};e.addEventListener("click",a),o(()=>e.removeEventListener("click",a)),r(()=>{let l=Mu(e,t,i);if(!l||Lu(l))return;let c=$a(l,!0),d=c||$a(l,!1);e.classList.toggle(U.linkActiveClass,d),e.classList.toggle(U.linkExactActiveClass,c),c?e.setAttribute("aria-current","page"):e.removeAttribute("aria-current")})});y("route-active",({el:e,expression:t,arg:n,modifiers:r,effect:o,evaluate:i})=>{let s=n||"active";o(()=>{var d;let a=t.trim(),l=a.startsWith("/")||!a?a:(d=i(a))!=null?d:a,c=l?$a(String(l),!!r.exact):!1;e.classList.toggle(s,c)})});me();ce();var Rh="voodoo:locale",z=Y({locale:w.locale||"pt-BR",fallback:"en",currency:w.currency||"BRL",messages:{}}),Jn=Rh,Zn="",Ba=new Map;function xi(e,t){let n=z.messages[e];if(!n)return null;let r=n[t];if(typeof r=="string")return r;let o=n;for(let i of t.split(".")){if(o==null||typeof o=="string")return null;o=o[i]}return typeof o=="string"?o:null}function wi(e){let t=[e],n=e.split("-")[0];n&&n!==e&&t.push(n);for(let r of Object.keys(z.messages))r!==e&&r.split("-")[0]===n&&t.push(r);return t}var Hu=new Map;function $h(e,t){try{let n=Hu.get(e);return n||Hu.set(e,n=new Intl.PluralRules(e)),n.select(t)}catch(n){return t===1?"one":"other"}}var Dh=["zero","one","two","few","many","other"];function Ph(e,t,n){var i;if(e.length<=1)return(i=e[0])!=null?i:"";let r=$h(n,t);if(e.length===2)return r==="one"?e[0]:e[1];if(e.length===3)return t===0?e[0]:r==="one"?e[1]:e[2];let o=Dh.indexOf(r);return e[Math.min(o<0?e.length-1:o,e.length-1)]}var Nh=/\{\s*([\w.$-]+)\s*\}/g;function Hh(e,t){return e.indexOf("{")===-1?e:e.replace(Nh,(n,r)=>{let o=t[r];return o==null?n:String(o)})}function Oh(e){return e==null?{}:typeof e=="number"?{n:e}:e}function er(e,t){var i,s;if(!e)return"";let n=Oh(t),r=z.locale,o=null;for(let a of wi(r))if(o=xi(a,e),o!==null)break;if(o===null&&z.fallback&&z.fallback!==r){for(let a of wi(z.fallback))if(o=xi(a,e),o!==null)break}if(o===null)return e;if(o.includes("|")){let a=Number((s=(i=n.n)!=null?i:n.count)!=null?s:0),l=o.split("|").map(c=>c.trim());o=Ph(l,Number.isNaN(a)?0:a,r)}return Hh(o,n)}function Fh(e,t){let n=t!=null?t:z.locale;for(let r of wi(n))if(xi(r,e)!==null)return!0;if(z.fallback&&z.fallback!==n){for(let r of wi(z.fallback))if(xi(r,e)!==null)return!0}return!1}function Ou(e,t={}){return ua(e,{...t,locale:z.locale})}function Fu(e,t){return da(e,{locale:z.locale,currency:t!=null?t:z.currency})}function Iu(e,t="short"){return fa(e,t,z.locale)}function zu(e){return pa(e,z.locale)}function ki(){return z.locale}function Ih(e){var t;return(t=z.messages[e!=null?e:z.locale])!=null?t:{}}function Ei(e,t){let n=z.messages[e];return n?Jo(n,t):z.messages[e]=t,e}async function ja(e,t){if(typeof t!="string"){Ei(e,t);return}let n=Ba.get(e);if(n)return n;let r=he.get(t,{responseType:"json"}).then(o=>{o&&typeof o=="object"&&Ei(e,o)}).catch(o=>{K(o,`i18n ao carregar "${t}"`)}).finally(()=>{Ba.delete(e)});return Ba.set(e,r),r}function Kr(e){let t=e==null?void 0:e.trim();if(!t||t===z.locale)return Promise.resolve();let n=z.locale;return z.locale=t,z.currency=z.currency||w.currency,w.locale=t,ei(t,z.currency),Jn&&ue.set(Jn,t),typeof document!="undefined"&&(document.documentElement.lang=t),ze.emit("locale",{from:n,to:t}),!z.messages[t]&&Zn?ja(t,Zn.replace("{locale}",t)):Promise.resolve()}function Bu(){var n;if(typeof navigator=="undefined")return null;let e=Object.keys(z.messages);if(!e.length)return null;let t=(n=navigator.languages)!=null&&n.length?[...navigator.languages]:[navigator.language];for(let r of t){if(!r)continue;let o=e.find(a=>a.toLowerCase()===r.toLowerCase());if(o)return o;let i=r.split("-")[0].toLowerCase(),s=e.find(a=>a.split("-")[0].toLowerCase()===i);if(s)return s}return null}function zh(e={}){var o,i,s,a;if(e.messages)for(let[l,c]of Object.entries(e.messages))Ei(l,c);z.fallback=(o=e.fallback)!=null?o:z.fallback,z.currency=(s=(i=e.currency)!=null?i:w.currency)!=null?s:z.currency,Zn=(a=e.loadPath)!=null?a:Zn,e.persist===!1?Jn=null:typeof e.persist=="string"&&(Jn=e.persist);let t=Jn?ue.get(Jn):void 0,n=e.detect===!1?null:Bu(),r=t||n||e.locale||z.locale||z.fallback;return z.locale=r,w.locale=r,ei(r,z.currency),typeof document!="undefined"&&(document.documentElement.lang=r),!z.messages[r]&&Zn&&ja(r,Zn.replace("{locale}",r)),Yr}var Bh={get locale(){return z.locale},get fallback(){return z.fallback},get locales(){return Object.keys(z.messages)},t:er,te:Fh,n:Ou,c:Fu,d:Iu,rt:zu,setLocale:Kr,getLocale:ki,addMessages:Ei,loadMessages:ja,messagesOf:Ih,detectLocale:Bu},Yr=Object.defineProperties(zh,Object.getOwnPropertyDescriptors(Bh));H("$t",()=>er);H("$locale",()=>z.locale);H("$i18n",()=>Yr);H("$n",()=>Ou);H("$c",()=>Fu);H("$d",()=>Iu);H("$rt",()=>zu);var jh=/^[A-Za-z_$][\w$-]*(\.[A-Za-z_$][\w$-]*)*$/;function qh(e,t){let n=e.trim();if(!n)return"";if(jh.test(n))return n;let r=t(n);return typeof r=="string"?r:n}function Vh(e,t){var o;let n=(o=Te(e,`${w.prefix}t-params`))!=null?o:Te(e,"data-v-t-params");if(!n)return{};let r=t(n);return r&&typeof r=="object"?r:{}}y("t",({el:e,arg:t,expression:n,effect:r,evaluate:o})=>{r(()=>{let i=qh(n,o);if(!i)return;let s=er(i,Vh(e,o));t?e.setAttribute(t,s):e.textContent!==s&&(e.textContent=s)})});y("t-params",()=>{});y("locale",({el:e,expression:t,effect:n,cleanup:r,evaluate:o})=>{let i=()=>{let a=t.trim();if(!a)return"";if(/^[A-Za-z]{2,3}([-_][A-Za-z0-9]{2,8})*$/.test(a))return a.replace("_","-");let l=o(a);return typeof l=="string"?l:a},s=()=>{let a=i();a&&Kr(a)};e.addEventListener("click",s),r(()=>e.removeEventListener("click",s)),n(()=>{e.classList.toggle("v-locale-active",i()===z.locale)})});me();ce();Ne();Ne();ce();var qa=new WeakMap;function Kt(e,t){var n;return(n=Te(e,`${w.prefix}${t}`))!=null?n:Te(e,`data-v-${t}`)}function Ti(e,t){return Ft(e,`${w.prefix}${t}`)||Ft(e,`data-v-${t}`)}function Z(e,t){let n=qa.get(e);return n&&t in n?n[t]:Kt(e,t)}function Li(e,t,n){var o;let r=(o=qa.get(e))!=null?o:{};r[t]=n,qa.set(e,r)}function W(e){y(e,({el:t,expression:n})=>{Li(t,e,n)},{priority:j.BIND})}function fe(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function vt(e,t,n,r,o){if(!e.trim())return;let i=t.child({$el:n,$event:r!=null?r:null,$detail:o}),s=q(e,i,"directive de UI");return typeof s=="function"?s.call(t.data,o!=null?o:r):s}var Uh=`
139
139
  .v-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
140
140
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
141
141
  `,Wt=null;function Qe(e){if(typeof document=="undefined")return;oe("ui-live",Uh),(!Wt||!Wt.isConnected)&&(Wt=document.createElement("div"),Wt.className="v-visually-hidden",Wt.setAttribute("role","status"),Wt.setAttribute("aria-live","polite"),document.body.appendChild(Wt));let t=Wt;t.textContent="",setTimeout(()=>{t.textContent=e},40)}function Mi(e,t,n){return Vo(e,t).filter(r=>Pn(r,n)===e)}Ne();ce();var _h=`
@@ -1236,7 +1236,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1236
1236
  <pre class="v-code-pre"><code v-ref="code" :class="language ? 'language-' + language : null"
1237
1237
  v-text="code"><slot></slot></code></pre>
1238
1238
  </div>
1239
- `});var pE=Object.keys(Tp);Ne();ce();var ct={confirm:"Confirm",cancel:"Cancel",ok:"OK",close:"Close",confirmQuestion:"Are you sure?",required:"Please fill in this field."},Xl={duration:220,size:"md"},My=`
1239
+ `});var mE=Object.keys(Tp);Ne();ce();var ct={confirm:"Confirm",cancel:"Cancel",ok:"OK",close:"Close",confirmQuestion:"Are you sure?",required:"Please fill in this field."},Xl={duration:220,size:"md"},My=`
1240
1240
  [v-modal-content]:not(.v-dialog-open),[data-v-modal-content]:not(.v-dialog-open){display:none}
1241
1241
 
1242
1242
  .v-dialog-root{position:fixed;inset:0;z-index:calc(var(--v-z-modal,1000) + var(--v-dialog-layer,0));
@@ -1645,7 +1645,7 @@ textarea.v-dialog-input{min-height:96px;resize:vertical}
1645
1645
  @media (max-width: 640px){
1646
1646
  .v-xray-panel{right:8px;left:8px;width:auto;max-height:60vh}
1647
1647
  }
1648
- `;function M(e,t,n){let r=document.createElement(e);return t&&(r.className=t),n!==void 0&&(r.textContent=n),r}function ys(e){if(!e||!_)return!1;let t=e.nodeType===1?e:e.parentElement;return!!t&&_.root.contains(t)}function Er(e){if(!e)return"(no element)";let t=e.tagName.toLowerCase(),n=e.id?`#${e.id}`:"",r=typeof e.className=="string"&&e.className?`.${e.className.trim().split(/\s+/).slice(0,2).join(".")}`:"";return`${t}${n}${r}`}function qp(e,t=64){var r;if(e===null)return"null";if(e===void 0)return"undefined";let n=typeof e;if(n==="function")return"function()";if(n==="string")return`"${Zo(e,t)}"`;if(n==="number"||n==="boolean"||n==="symbol")return String(e);if(typeof Element!="undefined"&&e instanceof Element)return`<${e.tagName.toLowerCase()}>`;try{return Zo((r=JSON.stringify(e))!=null?r:String(e),t)}catch(o){return String(e)}}function By(e){var t;if(typeof e=="string")return e;try{return(t=JSON.stringify(e))!=null?t:""}catch(n){return String(e)}}function jy(e,t){if(typeof t=="string")return e;try{return JSON.parse(e)}catch(n){return e}}function Vp(e){let t=new Date(e),n=r=>String(r).padStart(2,"0");return`${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}`}function Up(e,t){for(let n of e.effects)t.push(n);for(let n of e.children)Up(n,t)}function sc(e){let t=[];for(let n of cd(e))Up(n,t);return t}function _p(e){let t=sc(e).length;for(let n of Array.from(e.childNodes))n.nodeType===3&&(t+=sc(n).length);return t}function Wp(e){if(!e||!Ye||ys(e))return;let t=Eo.get(e);t&&window.clearTimeout(t),gs.add(e),e.classList.add(ko);let n=window.setTimeout(()=>{e.classList.remove(ko),Eo.delete(e),window.setTimeout(()=>gs.delete(e),0)},460);Eo.set(e,n)}function Ip(e,t){for(let n of sc(e)){if(Jt.has(n))continue;let r=n.fn;Jt.set(n,r),n.fn=()=>(we.effects++,Wp(t),r())}}function qy(){for(let[e,t]of Jt)e.fn=t;Jt.clear()}function Kp(){if(!Ye||typeof document=="undefined")return;for(let[n]of Jt)n.active||Jt.delete(n);let e=document.createTreeWalker(document.body,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT),t=e.currentNode;for(;t;){if(t.nodeType===1){let n=t;if(_&&_.root.contains(n)){t=Vy(e);continue}Ip(n,n)}else t.nodeType===3&&t.parentElement&&Ip(t,t.parentElement);t=e.nextNode()}Wy()}function Vy(e){let t=e.currentNode,n=e.nextSibling();if(n)return n;let r=e.parentNode();for(;r;){if(n=e.nextSibling(),n)return n;r=e.parentNode()}return e.currentNode=t,null}function Uy(){let e=[],t=document.body.querySelectorAll("*");for(let n=0;n<t.length&&e.length<Iy;n++){let r=t[n];_&&_.root.contains(r)||ta(r)&&e.push(r)}return e}function _y(e){return Dn(e).map(t=>t.arg?`${t.name}:${t.arg}`:t.name)}function Wy(){var t;if(!Ye||!_)return;let e=_.overlay;e.textContent="",To.length=0;for(let n of Uy()){let r=M("div","v-xray-box"),o=!!((t=ot(n))!=null&&t.component);r.dataset.kind=o?"component":"directive";let i=M("span","v-xray-tag",_y(n).join(" "));r.appendChild(i),e.appendChild(r),To.push({el:n,box:r})}cc()}function cc(){if(Ye)for(let e of To){if(!e.el.isConnected){e.box.style.display="none";continue}let t=e.el.getBoundingClientRect();if(t.width===0&&t.height===0){e.box.style.display="none";continue}e.box.style.display="block",e.box.style.left=`${t.left}px`,e.box.style.top=`${t.top}px`,e.box.style.width=`${t.width}px`,e.box.style.height=`${t.height}px`}}function Ky(){wr||(wr=requestAnimationFrame(()=>{wr=0,cc()}))}function Yy(e,t=40){let n=new Set,r=[],o=e;for(;o&&r.length<t;){let i=[];try{i=Object.keys(o.data)}catch(s){i=[]}for(let s of i){if(n.has(s))continue;n.add(s);let a;try{a=o.data[s]}catch(l){a="(read error)"}if(r.push([s,a]),r.length>=t)break}o=o.parent}return r}function Xy(e){var s;if(!_)return;let t=_.card;t.textContent="";let n=Ce(e),r=(s=n.owner)==null?void 0:s.component;t.appendChild(M("strong","v-xray-card-title",Er(e))),t.appendChild(M("span","v-xray-section","Directives"));let o=Dn(e);if(!o.length)t.appendChild(M("div","v-xray-val","none"));else for(let a of o){let l=M("div","v-xray-row");l.appendChild(M("span","v-xray-key",a.raw)),l.appendChild(M("span","v-xray-val",a.expression||"(no value)")),t.appendChild(l)}t.appendChild(M("span","v-xray-section","Component")),t.appendChild(M("div","v-xray-val",r?`${r.$name} in ${Er(r.$el)}`:"none")),t.appendChild(M("span","v-xray-section","Scope"));let i=Yy(n);if(!i.length)t.appendChild(M("div","v-xray-val","root scope empty"));else for(let[a,l]of i){let c=M("div","v-xray-row");c.appendChild(M("span","v-xray-key",a)),c.appendChild(M("span","v-xray-val",qp(l))),t.appendChild(c)}t.appendChild(M("span","v-xray-section","Reactivity")),t.appendChild(M("div","v-xray-val",`${_p(e)} effect(s) depend on this element`))}function Gy(e,t){if(!_)return;let n=_.card,r=320,o=Math.min(n.scrollHeight||200,window.innerHeight*.6),i=e+16+r>window.innerWidth?Math.max(8,e-r-16):e+16,s=t+16+o>window.innerHeight?Math.max(8,t-o-16):t+16;n.style.left=`${i}px`,n.style.top=`${s}px`}function zp(e){if(!Ye||!_)return;let t=e.target;if(!t||ys(t)){_.card.dataset.open="0",wo=null;return}let n=t;for(;n&&n!==document.body&&!ta(n);)n=n.parentElement;if(!n||n===document.body){_.card.dataset.open="0",wo=null;return}n!==wo&&(wo=n,Xy(n)),_.card.dataset.open="1",Gy(e.clientX,e.clientY)}function Qy(){let e=new Map,t=document.body.querySelectorAll("*");for(let r=0;r<t.length;r++){let o=t[r];if(_&&_.root.contains(o))continue;let i=ot(o);i&&e.set(o,i)}let n=[];for(let[r,o]of e){let i=0,s=r.parentElement;for(;s;)e.has(s)&&i++,s=s.parentElement;n.push({el:r,scope:o,depth:i})}return n}function bs(e,t,n){let r=M("div","v-xray-row");if(r.appendChild(M("span","v-xray-key",e)),typeof t=="function")return r.appendChild(M("span","v-xray-val","function()")),r;let o=M("input","v-xray-input");return o.type="text",o.value=By(t),o.spellcheck=!1,o.addEventListener("change",()=>{try{n(jy(o.value,t)),o.dataset.error="0"}catch(i){o.dataset.error="1"}}),o.addEventListener("keydown",i=>{i.key==="Enter"&&o.blur()}),r.appendChild(o),r}function Jy(){let e=document.createDocumentFragment(),t=Qy();if(!t.length)return e.appendChild(M("span","v-xray-empty","No scopes on the page. Use v-data or a component.")),e;for(let n of t){let r=M("div","v-xray-group");r.style.marginLeft=`${Math.min(n.depth,4)*8}px`;let o=M("div","v-xray-group-head");o.appendChild(M("span","v-xray-badge",n.scope.component?"component":"scope")),o.appendChild(M("span",void 0,Er(n.el))),o.addEventListener("click",()=>Xp(n.el)),r.appendChild(o);let i=M("div","v-xray-rows"),s=[];try{s=Object.keys(n.scope.data)}catch(a){s=[]}if(!s.length)i.appendChild(M("span","v-xray-empty","no variables"));else for(let a of s){let l;try{l=n.scope.data[a]}catch(c){l=void 0}i.appendChild(bs(a,l,c=>{n.scope.set(a,c)}))}r.appendChild(i),e.appendChild(r)}return e}function Zy(){var n;let e=document.createDocumentFragment(),t=[...At];if(!t.length)return e.appendChild(M("span","v-xray-empty","No components mounted.")),e;for(let r of t){let o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge",r.$name)),i.appendChild(M("span",void 0,Er(r.$el))),i.appendChild(M("span","v-xray-badge",`${_p(r.$el)} effects`)),i.lastChild.dataset.tone="mute",i.addEventListener("click",()=>Xp(r.$el)),o.appendChild(i);let s=M("div","v-xray-rows"),a=(n=r.$props)!=null?n:{},l=Object.keys(a);if(l.length){s.appendChild(M("span","v-xray-section","Props"));for(let u of l)s.appendChild(bs(u,a[u],p=>{a[u]=p}))}let c=r.$scope,d=[];try{d=Object.keys(c.data).filter(u=>!l.includes(u))}catch(u){d=[]}if(d.length){s.appendChild(M("span","v-xray-section","State"));for(let u of d){let p;try{p=c.data[u]}catch(f){p=void 0}s.appendChild(bs(u,p,f=>{c.set(u,f)}))}}o.appendChild(s),e.appendChild(o)}return e}function ex(){let e=document.createDocumentFragment(),t=Go();if(!t.length)return e.appendChild(M("span","v-xray-empty","No global stores. Create one with V.store().")),e;for(let n of t){let r=Fn[n],o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge","store")),i.firstChild.dataset.tone="alt",i.appendChild(M("span",void 0,n)),o.appendChild(i);let s=M("div","v-xray-rows"),a=r?Object.keys(r):[];if(!a.length)s.appendChild(M("span","v-xray-empty","empty store"));else for(let l of a)s.appendChild(bs(l,r[l],c=>{r[l]=c}));o.appendChild(s),e.appendChild(o)}return e}function Yp(e,t,n,r){let o=M("div","v-xray-log");if(o.appendChild(M("span","v-xray-log-time",e)),o.appendChild(M("span","v-xray-log-main",t)),n!==void 0){let i=M("span",r==="fail"?"v-xray-fail":r==="ok"?"v-xray-ok":void 0,n);o.appendChild(i)}return o}function tx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{br.length=0,Zt()}),e.appendChild(t),!br.length)return e.appendChild(M("span","v-xray-empty","No events yet. Interact with the page.")),e;for(let n of[...br].reverse())e.appendChild(Yp(Vp(n.at),`${n.type} on ${n.target}`,n.detail||n.source));return e}function nx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{yr.length=0,Zt()}),e.appendChild(t),!yr.length)return e.appendChild(M("span","v-xray-empty","No requests yet. v-get, v-post and V.http show up here.")),e;for(let n of[...yr].reverse())e.appendChild(Yp(Vp(n.at),`${n.method} ${n.url}`,`${n.status||"---"} ${Math.round(n.duration)}ms`,n.ok?"ok":"fail"));return e}function rx(){let e=document.createDocumentFragment(),t=M("div","v-xray-metric");t.appendChild(M("span","v-xray-metric-value",String(we.updatesPerSecond))),t.appendChild(M("span",void 0,"DOM updates per second")),e.appendChild(t);let n=M("div","v-xray-metric");n.appendChild(M("span","v-xray-metric-value",String(we.effectsPerSecond))),n.appendChild(M("span",void 0,"reactive effects triggered per second")),e.appendChild(n);let r=M("div","v-xray-metric");r.appendChild(M("span","v-xray-metric-value",String(we.effects))),r.appendChild(M("span",void 0,"effects triggered since x-ray was enabled")),e.appendChild(r);let o=M("div","v-xray-chart"),i=Math.max(1,...we.history.map(s=>Math.max(s.effects,s.updates)));for(let s of we.history){let a=M("div","v-xray-bar"),l=Math.max(s.effects,s.updates);a.style.height=`${Math.max(2,Math.round(l/i*46))}px`,a.title=`${s.effects} effects, ${s.updates} updates`,o.appendChild(a)}return e.appendChild(o),e.appendChild(M("span","v-xray-hint",`${Jt.size} effects instrumented, peak of ${i} per second`)),e}var ox=[{id:"estado",label:"Estado"},{id:"componentes",label:"Componentes"},{id:"stores",label:"Stores"},{id:"eventos",label:"Eventos"},{id:"rede",label:"Rede"},{id:"desempenho",label:"Desempenho"}];function Zt(){if(!_)return;let e=document.activeElement;if(!(e instanceof HTMLInputElement&&_.body.contains(e))){switch(_.body.textContent="",nt){case"estado":_.body.appendChild(Jy());break;case"componentes":_.body.appendChild(Zy());break;case"stores":_.body.appendChild(ex());break;case"eventos":_.body.appendChild(tx());break;case"rede":_.body.appendChild(nx());break;case"desempenho":_.body.appendChild(rx());break}for(let t of Array.from(_.tabs.children)){let n=t;n.dataset.active=n.dataset.id===nt?"1":"0"}_.status.textContent=`${To.length} elements with directives, ${At.size} components, ${Jt.size} effects observed`}}function Xp(e){e.scrollIntoView({behavior:"smooth",block:"center"}),Wp(e)}function ix(){let e=M("div","v-xray-root");e.setAttribute(`${w.prefix}ignore`,""),e.setAttribute("role","complementary"),e.setAttribute("aria-label","Voodoo x-ray inspector"),Tn!=="auto"&&(e.dataset.vXrayTheme=Tn);let t=M("div","v-xray-overlay");e.appendChild(t);let n=M("div","v-xray-card");n.dataset.open="0",e.appendChild(n);let r=M("div","v-xray-panel"),o=M("div","v-xray-header"),i=M("div","v-xray-brand");i.appendChild(M("span","v-xray-dot")),i.appendChild(document.createTextNode("Voodoo x-ray")),o.appendChild(i);let s=M("button","v-xray-btn","theme");s.addEventListener("click",()=>{Tn=Tn==="auto"?"dark":Tn==="dark"?"light":"auto",Tn==="auto"?delete e.dataset.vXrayTheme:e.dataset.vXrayTheme=Tn}),o.appendChild(s);let a=M("button","v-xray-btn","close");a.addEventListener("click",()=>Gp()),o.appendChild(a),r.appendChild(o);let l=M("div","v-xray-tabs");for(let u of ox){let p=M("button","v-xray-tab",u.label);p.dataset.id=u.id,p.dataset.active=u.id===nt?"1":"0",p.addEventListener("click",()=>{nt=u.id,Zt()}),l.appendChild(p)}r.appendChild(l);let c=M("div","v-xray-body");r.appendChild(c);let d=M("div","v-xray-status","starting");return r.appendChild(d),e.appendChild(r),document.body.appendChild(e),{root:e,overlay:t,card:n,panel:r,tabs:l,body:c,status:d}}var sx=["click","dblclick","submit","input","change","keydown","keyup","focus","blur","contextmenu","drop","paste"];function Bp(e){br.push(e),br.length>jp&&br.shift(),nt==="eventos"&&Zt()}function ic(e){yr.push(e),yr.length>jp&&yr.shift(),nt==="rede"&&Zt()}function ax(e,t){let n=e;for(let r=0;n&&r<6;r++){for(let o of Dn(n))if(o.name===t||o.name==="on"&&o.arg===t)return n;n=n.parentElement}return null}function lx(){let e=new Set(sx),t=document.body.querySelectorAll("*");for(let n=0;n<t.length;n++){let r=t[n];if(!(_&&_.root.contains(r)))for(let o of Dn(r))o.name==="on"&&o.arg&&e.add(o.arg)}return[...e]}function cx(){let e=t=>{if(!Ye)return;let n=t.target;if(!n||n.nodeType!==1||ys(n))return;let r=ax(n,t.type),o=t.__voodoo===!0;!r&&!o||Bp({at:Date.now(),type:t.type,target:Er(r!=null?r:n),detail:o?"component emit":"",source:o?"component":"v-on"})};for(let t of lx())document.addEventListener(t,e,!0),xt.push(()=>document.removeEventListener(t,e,!0));xt.push(ze.on("event",t=>{var n,r;Bp({at:Date.now(),type:t.type,target:Er((n=t.el)!=null?n:null),detail:qp(t.detail),source:(r=t.source)!=null?r:"bus"})}))}function dx(){xt.push(he.interceptors.request.use(e=>(oc.set(e,performance.now()),e))),xt.push(he.interceptors.response.use(e=>{var n,r;let t=(n=oc.get(e.config))!=null?n:performance.now();return ic({at:Date.now(),method:((r=e.config.method)!=null?r:"GET").toUpperCase(),url:e.config.url,status:e.status,ok:e.ok,duration:performance.now()-t,source:"http"}),e})),xt.push(he.interceptors.error.use(e=>{var r,o,i;let t=e.config,n=t&&(r=oc.get(t))!=null?r:performance.now();return ic({at:Date.now(),method:((o=t==null?void 0:t.method)!=null?o:"GET").toUpperCase(),url:(i=t==null?void 0:t.url)!=null?i:"(unknown)",status:e.status,ok:!1,duration:performance.now()-n,source:"http"}),e})),xt.push(ze.on("network",e=>{var t,n,r,o,i;ic({at:Date.now(),method:((t=e.method)!=null?t:"GET").toUpperCase(),url:e.url,status:(n=e.status)!=null?n:0,ok:(r=e.ok)!=null?r:!e.error,duration:(o=e.duration)!=null?o:0,source:(i=e.source)!=null?i:"bus"})}))}var gr=null;function ux(){gr=new MutationObserver(e=>{let t=!1;for(let n of e){let r=n.target;ys(r)||n.type==="attributes"&&n.attributeName==="class"&&r.nodeType===1&&gs.has(r)||(we.mutations++,n.type==="childList"&&n.addedNodes.length&&(t=!0))}t&&!xr&&(xr=window.setTimeout(()=>{xr=0,Kp()},250))}),gr.observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0})}function fx(){hs=window.setInterval(()=>{we.effectsPerSecond=we.effects-ac,we.updatesPerSecond=we.mutations-lc,ac=we.effects,lc=we.mutations,we.history.push({effects:we.effectsPerSecond,updates:we.updatesPerSecond}),we.history.length>40&&we.history.shift(),nt==="desempenho"&&Zt()},1e3),vs=window.setInterval(()=>{cc(),(nt==="estado"||nt==="componentes"||nt==="stores")&&Zt()},700)}var ac=0,lc=0;function px(){if(Ye||typeof document=="undefined"||!document.body)return;Ye=!0,ge(),oe("xray",zy),_=ix(),nt=nt||"estado",we.effects=0,we.mutations=0,ac=0,lc=0,we.history.length=0,Kp(),cx(),dx(),ux(),fx();let e=()=>Ky();window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),document.addEventListener("mousemove",zp,!0),xt.push(()=>window.removeEventListener("scroll",e,!0)),xt.push(()=>window.removeEventListener("resize",e)),xt.push(()=>document.removeEventListener("mousemove",zp,!0)),Zt()}function Gp(){if(Ye){Ye=!1;for(let e of xt.splice(0))try{e()}catch(t){}gr==null||gr.disconnect(),gr=null,hs&&window.clearInterval(hs),vs&&window.clearInterval(vs),xr&&window.clearTimeout(xr),wr&&cancelAnimationFrame(wr),hs=vs=xr=wr=0;for(let[e,t]of Eo)window.clearTimeout(t),e.classList.remove(ko);Eo.clear(),gs.clear(),qy(),To.length=0,wo=null,_==null||_.root.remove(),_=null}}function Qp(){return Ye}function mx(e){let t=e.toLowerCase().split("+").map(o=>o.trim()).filter(Boolean);if(!t.length)return null;let n=t.pop(),r={ctrl:!1,alt:!1,shift:!1,meta:!1,code:/^f\d{1,2}$/.test(n)?n.toUpperCase():n.length===1&&n>="a"&&n<="z"?`Key${n.toUpperCase()}`:n.length===1&&n>="0"&&n<="9"?`Digit${n}`:n.charAt(0).toUpperCase()+n.slice(1)};for(let o of t)if(o==="ctrl"||o==="control")r.ctrl=!0;else if(o==="alt"||o==="option")r.alt=!0;else if(o==="shift")r.shift=!0;else if(o==="meta"||o==="cmd"||o==="command"||o==="win")r.meta=!0;else return null;return r}function dc(){Fp||typeof document=="undefined"||(Fp=!0,document.addEventListener("keydown",e=>{let t=w.xrayShortcut;if(t===!1)return;let n=mx(typeof t=="string"?t:"ctrl+shift+f2");n&&(e.ctrlKey!==n.ctrl||e.altKey!==n.alt||e.shiftKey!==n.shift||e.metaKey!==n.meta||e.code!==n.code&&e.key.toUpperCase()!==n.code.replace(/^Key/,"")||(e.preventDefault(),Lo()))}))}function Lo(e){return dc(),(e!=null?e:!Ye)?px():Gp(),Ye}me();ce();var vx=new Set(["SCRIPT","STYLE","PRE","CODE","SAMP","KBD","TEXTAREA","TEMPLATE","NOSCRIPT"]);H("$__jsx",e=>e);gd((e,t)=>{t?Mo():xs(e)});var Jp=Symbol("voodoo.jsx.template");function hx(e){return typeof e=="object"&&e!==null&&Jp in e}function gx(e,t){var p;let n=[],r=[],o="",i=0,s=null,a=!1,l=e,c=t,d=!1,u=null;for(;l;){if(l.nodeType===Node.TEXT_NODE){let f=(p=l.textContent)!=null?p:"";for(;c<f.length;c++){let m=f[c];if(a){a=!1,o+=m;continue}if(s){m==="\\"?a=!0:m===s&&(s=null),o+=m;continue}if(m==='"'||m==="'"||m==="`"){s=m,o+=m;continue}if(m==="{"){i++,i>1&&(o+=m);continue}if(m==="}"){if(i--,i===0){c++,d=!0;break}o+=m;continue}o+=m}if(r.push(l),d){u={node:l,offset:c};break}}else if(l.nodeType===Node.ELEMENT_NODE){if(i===0)return null;o+=`$t(${n.length}, $__jsx)`,n.push(l),r.push(l)}else r.push(l);c=0,l=l.nextSibling}return d?{source:o,templates:n,nodes:r,tail:u}:null}function bx(e){let t=e.source.match(/\(\s*\)/g);if(!t)return!1;let n=e.nodes[0],r=e.nodes[e.nodes.length-1],o=[r==null?void 0:r.nextSibling,n==null?void 0:n.previousSibling].map(l=>{var d;let c=l!=null?l:null;for(;c&&c.nodeType===Node.TEXT_NODE&&!((d=c.textContent)!=null?d:"").trim();)c=c===(r==null?void 0:r.nextSibling)?c.nextSibling:c.previousSibling;return c&&c.nodeType===Node.ELEMENT_NODE?c:null}).find(l=>(l==null?void 0:l.tagName)==="TABLE");if(!o)return!1;let i=o.querySelector("tbody");if(!i)return!1;let s=Array.from(i.children).filter(l=>l.tagName==="TR");if(s.length!==t.length)return!1;let a=0;return e.source=e.source.replace(/\(\s*\)/g,()=>`($t(${a++}, $__jsx))`),e.templates=s,e.host=i,e.nodes.push(...s),!0}function Zp(e,t,n,r){var o;if(!(e==null||e===!1||e===!0)){if(Array.isArray(e)){for(let i of e)Zp(i,t,n,r);return}if(hx(e)){let i=e,a=t[i.index].cloneNode(!0),l=(o=i.scope)!=null?o:n;fc(a,l),Mo(),ee(a,l),r.push(a);return}r.push(document.createTextNode(String(e)))}}function fc(e,t){var o,i,s;if(vx.has(e.tagName))return;let n=t!=null?t:Ce(e),r=e.firstChild;for(;r;){let a=r.nextSibling;if(r.nodeType===Node.ELEMENT_NODE){fc(r,(o=ot(r))!=null?o:n),r=a;continue}if(r.nodeType!==Node.TEXT_NODE){r=a;continue}let c=((i=r.textContent)!=null?i:"").indexOf("{");if(c<0){r=a;continue}let d=gx(r,c);if(!d){r=a;continue}if(d.templates.length===0&&!bx(d)){r=a;continue}yx(e,d,n),r=(s=d.nodes[d.nodes.length-1])==null?void 0:s.nextSibling}}var uc=[];function yx(e,t,n){var p,f;let{source:r,templates:o,nodes:i,tail:s}=t,a;try{a=_e(r)}catch(m){w.devtools&&console.warn(`[Voodoo] could not parse the inline expression: ${r}`,m);return}s&&s.offset<((p=s.node.textContent)!=null?p:"").length&&s.node.splitText(s.offset);let l=(f=t.host)!=null?f:e,c=document.createComment("v-jsx");l.insertBefore(c,t.host?t.host.firstChild:i[0]);for(let m of i)m.remove();let d=[];uc.push(()=>u());function u(){let m=Ce(c),v=(m===We&&n?n:m).child({$t:(b,x)=>({[Jp]:!0,index:b,scope:x})}),g=Fe(()=>{let b=Fo(N(a,v)),x=[];Zp(b,o,v,x);for(let T of d)T.remove();d=x;for(let T of x)l.insertBefore(T,c)});Xe(c,()=>{g.effect.stop();for(let b of d)b.remove()})}}function xx(e=document.body){var t;for(let n of Array.from(e.childNodes)){if(n.nodeType!==Node.TEXT_NODE)continue;let r=((t=n.textContent)!=null?t:"").trim();if(!r.startsWith("{")||!r.endsWith("}")||!/\b(const|let|var)\s/.test(r))continue;let o=r.slice(1,-1).replace(/\b(?:const|let|var)\s+/g,""),i=Y({});try{N(_e(o),new Lt(i))}catch(s){return w.devtools&&console.warn("[Voodoo] could not read the declaration block",s),null}return n.remove(),i}return null}function Mo(){let e=uc.splice(0,uc.length);for(let t of e)try{t()}catch(n){console.error("[Voodoo] a JSX region failed to render",n)}}function xs(e=document.body){let t=xx(e);t&&Object.assign(We.data,t),fc(e,Ce(e))}function em(e=document.body){xs(e),Mo()}Ne();var nm="voodoo:devtools:widget-position",pc="voodoo:devtools:widget-hidden",wx=4,ne=null,kr=!1,mc=0,ws=0,So=[],Ex=`
1648
+ `;function M(e,t,n){let r=document.createElement(e);return t&&(r.className=t),n!==void 0&&(r.textContent=n),r}function ys(e){if(!e||!_)return!1;let t=e.nodeType===1?e:e.parentElement;return!!t&&_.root.contains(t)}function Er(e){if(!e)return"(no element)";let t=e.tagName.toLowerCase(),n=e.id?`#${e.id}`:"",r=typeof e.className=="string"&&e.className?`.${e.className.trim().split(/\s+/).slice(0,2).join(".")}`:"";return`${t}${n}${r}`}function qp(e,t=64){var r;if(e===null)return"null";if(e===void 0)return"undefined";let n=typeof e;if(n==="function")return"function()";if(n==="string")return`"${Zo(e,t)}"`;if(n==="number"||n==="boolean"||n==="symbol")return String(e);if(typeof Element!="undefined"&&e instanceof Element)return`<${e.tagName.toLowerCase()}>`;try{return Zo((r=JSON.stringify(e))!=null?r:String(e),t)}catch(o){return String(e)}}function By(e){var t;if(typeof e=="string")return e;try{return(t=JSON.stringify(e))!=null?t:""}catch(n){return String(e)}}function jy(e,t){if(typeof t=="string")return e;try{return JSON.parse(e)}catch(n){return e}}function Vp(e){let t=new Date(e),n=r=>String(r).padStart(2,"0");return`${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}`}function Up(e,t){for(let n of e.effects)t.push(n);for(let n of e.children)Up(n,t)}function sc(e){let t=[];for(let n of cd(e))Up(n,t);return t}function _p(e){let t=sc(e).length;for(let n of Array.from(e.childNodes))n.nodeType===3&&(t+=sc(n).length);return t}function Wp(e){if(!e||!Ye||ys(e))return;let t=Eo.get(e);t&&window.clearTimeout(t),gs.add(e),e.classList.add(ko);let n=window.setTimeout(()=>{e.classList.remove(ko),Eo.delete(e),window.setTimeout(()=>gs.delete(e),0)},460);Eo.set(e,n)}function Ip(e,t){for(let n of sc(e)){if(Jt.has(n))continue;let r=n.fn;Jt.set(n,r),n.fn=()=>(we.effects++,Wp(t),r())}}function qy(){for(let[e,t]of Jt)e.fn=t;Jt.clear()}function Kp(){if(!Ye||typeof document=="undefined")return;for(let[n]of Jt)n.active||Jt.delete(n);let e=document.createTreeWalker(document.body,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT),t=e.currentNode;for(;t;){if(t.nodeType===1){let n=t;if(_&&_.root.contains(n)){t=Vy(e);continue}Ip(n,n)}else t.nodeType===3&&t.parentElement&&Ip(t,t.parentElement);t=e.nextNode()}Wy()}function Vy(e){let t=e.currentNode,n=e.nextSibling();if(n)return n;let r=e.parentNode();for(;r;){if(n=e.nextSibling(),n)return n;r=e.parentNode()}return e.currentNode=t,null}function Uy(){let e=[],t=document.body.querySelectorAll("*");for(let n=0;n<t.length&&e.length<Iy;n++){let r=t[n];_&&_.root.contains(r)||ta(r)&&e.push(r)}return e}function _y(e){return Dn(e).map(t=>t.arg?`${t.name}:${t.arg}`:t.name)}function Wy(){var t;if(!Ye||!_)return;let e=_.overlay;e.textContent="",To.length=0;for(let n of Uy()){let r=M("div","v-xray-box"),o=!!((t=ot(n))!=null&&t.component);r.dataset.kind=o?"component":"directive";let i=M("span","v-xray-tag",_y(n).join(" "));r.appendChild(i),e.appendChild(r),To.push({el:n,box:r})}cc()}function cc(){if(Ye)for(let e of To){if(!e.el.isConnected){e.box.style.display="none";continue}let t=e.el.getBoundingClientRect();if(t.width===0&&t.height===0){e.box.style.display="none";continue}e.box.style.display="block",e.box.style.left=`${t.left}px`,e.box.style.top=`${t.top}px`,e.box.style.width=`${t.width}px`,e.box.style.height=`${t.height}px`}}function Ky(){wr||(wr=requestAnimationFrame(()=>{wr=0,cc()}))}function Yy(e,t=40){let n=new Set,r=[],o=e;for(;o&&r.length<t;){let i=[];try{i=Object.keys(o.data)}catch(s){i=[]}for(let s of i){if(n.has(s))continue;n.add(s);let a;try{a=o.data[s]}catch(l){a="(read error)"}if(r.push([s,a]),r.length>=t)break}o=o.parent}return r}function Xy(e){var s;if(!_)return;let t=_.card;t.textContent="";let n=Ce(e),r=(s=n.owner)==null?void 0:s.component;t.appendChild(M("strong","v-xray-card-title",Er(e))),t.appendChild(M("span","v-xray-section","Directives"));let o=Dn(e);if(!o.length)t.appendChild(M("div","v-xray-val","none"));else for(let a of o){let l=M("div","v-xray-row");l.appendChild(M("span","v-xray-key",a.raw)),l.appendChild(M("span","v-xray-val",a.expression||"(no value)")),t.appendChild(l)}t.appendChild(M("span","v-xray-section","Component")),t.appendChild(M("div","v-xray-val",r?`${r.$name} in ${Er(r.$el)}`:"none")),t.appendChild(M("span","v-xray-section","Scope"));let i=Yy(n);if(!i.length)t.appendChild(M("div","v-xray-val","root scope empty"));else for(let[a,l]of i){let c=M("div","v-xray-row");c.appendChild(M("span","v-xray-key",a)),c.appendChild(M("span","v-xray-val",qp(l))),t.appendChild(c)}t.appendChild(M("span","v-xray-section","Reactivity")),t.appendChild(M("div","v-xray-val",`${_p(e)} effect(s) depend on this element`))}function Gy(e,t){if(!_)return;let n=_.card,r=320,o=Math.min(n.scrollHeight||200,window.innerHeight*.6),i=e+16+r>window.innerWidth?Math.max(8,e-r-16):e+16,s=t+16+o>window.innerHeight?Math.max(8,t-o-16):t+16;n.style.left=`${i}px`,n.style.top=`${s}px`}function zp(e){if(!Ye||!_)return;let t=e.target;if(!t||ys(t)){_.card.dataset.open="0",wo=null;return}let n=t;for(;n&&n!==document.body&&!ta(n);)n=n.parentElement;if(!n||n===document.body){_.card.dataset.open="0",wo=null;return}n!==wo&&(wo=n,Xy(n)),_.card.dataset.open="1",Gy(e.clientX,e.clientY)}function Qy(){let e=new Map,t=document.body.querySelectorAll("*");for(let r=0;r<t.length;r++){let o=t[r];if(_&&_.root.contains(o))continue;let i=ot(o);i&&e.set(o,i)}let n=[];for(let[r,o]of e){let i=0,s=r.parentElement;for(;s;)e.has(s)&&i++,s=s.parentElement;n.push({el:r,scope:o,depth:i})}return n}function bs(e,t,n){let r=M("div","v-xray-row");if(r.appendChild(M("span","v-xray-key",e)),typeof t=="function")return r.appendChild(M("span","v-xray-val","function()")),r;let o=M("input","v-xray-input");return o.type="text",o.value=By(t),o.spellcheck=!1,o.addEventListener("change",()=>{try{n(jy(o.value,t)),o.dataset.error="0"}catch(i){o.dataset.error="1"}}),o.addEventListener("keydown",i=>{i.key==="Enter"&&o.blur()}),r.appendChild(o),r}function Jy(){let e=document.createDocumentFragment(),t=Qy();if(!t.length)return e.appendChild(M("span","v-xray-empty","No scopes on the page. Use v-data or a component.")),e;for(let n of t){let r=M("div","v-xray-group");r.style.marginLeft=`${Math.min(n.depth,4)*8}px`;let o=M("div","v-xray-group-head");o.appendChild(M("span","v-xray-badge",n.scope.component?"component":"scope")),o.appendChild(M("span",void 0,Er(n.el))),o.addEventListener("click",()=>Xp(n.el)),r.appendChild(o);let i=M("div","v-xray-rows"),s=[];try{s=Object.keys(n.scope.data)}catch(a){s=[]}if(!s.length)i.appendChild(M("span","v-xray-empty","no variables"));else for(let a of s){let l;try{l=n.scope.data[a]}catch(c){l=void 0}i.appendChild(bs(a,l,c=>{n.scope.set(a,c)}))}r.appendChild(i),e.appendChild(r)}return e}function Zy(){var n;let e=document.createDocumentFragment(),t=[...At];if(!t.length)return e.appendChild(M("span","v-xray-empty","No components mounted.")),e;for(let r of t){let o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge",r.$name)),i.appendChild(M("span",void 0,Er(r.$el))),i.appendChild(M("span","v-xray-badge",`${_p(r.$el)} effects`)),i.lastChild.dataset.tone="mute",i.addEventListener("click",()=>Xp(r.$el)),o.appendChild(i);let s=M("div","v-xray-rows"),a=(n=r.$props)!=null?n:{},l=Object.keys(a);if(l.length){s.appendChild(M("span","v-xray-section","Props"));for(let u of l)s.appendChild(bs(u,a[u],p=>{a[u]=p}))}let c=r.$scope,d=[];try{d=Object.keys(c.data).filter(u=>!l.includes(u))}catch(u){d=[]}if(d.length){s.appendChild(M("span","v-xray-section","State"));for(let u of d){let p;try{p=c.data[u]}catch(f){p=void 0}s.appendChild(bs(u,p,f=>{c.set(u,f)}))}}o.appendChild(s),e.appendChild(o)}return e}function ex(){let e=document.createDocumentFragment(),t=Go();if(!t.length)return e.appendChild(M("span","v-xray-empty","No global stores. Create one with V.store().")),e;for(let n of t){let r=Fn[n],o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge","store")),i.firstChild.dataset.tone="alt",i.appendChild(M("span",void 0,n)),o.appendChild(i);let s=M("div","v-xray-rows"),a=r?Object.keys(r):[];if(!a.length)s.appendChild(M("span","v-xray-empty","empty store"));else for(let l of a)s.appendChild(bs(l,r[l],c=>{r[l]=c}));o.appendChild(s),e.appendChild(o)}return e}function Yp(e,t,n,r){let o=M("div","v-xray-log");if(o.appendChild(M("span","v-xray-log-time",e)),o.appendChild(M("span","v-xray-log-main",t)),n!==void 0){let i=M("span",r==="fail"?"v-xray-fail":r==="ok"?"v-xray-ok":void 0,n);o.appendChild(i)}return o}function tx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{br.length=0,Zt()}),e.appendChild(t),!br.length)return e.appendChild(M("span","v-xray-empty","No events yet. Interact with the page.")),e;for(let n of[...br].reverse())e.appendChild(Yp(Vp(n.at),`${n.type} on ${n.target}`,n.detail||n.source));return e}function nx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{yr.length=0,Zt()}),e.appendChild(t),!yr.length)return e.appendChild(M("span","v-xray-empty","No requests yet. v-get, v-post and V.http show up here.")),e;for(let n of[...yr].reverse())e.appendChild(Yp(Vp(n.at),`${n.method} ${n.url}`,`${n.status||"---"} ${Math.round(n.duration)}ms`,n.ok?"ok":"fail"));return e}function rx(){let e=document.createDocumentFragment(),t=M("div","v-xray-metric");t.appendChild(M("span","v-xray-metric-value",String(we.updatesPerSecond))),t.appendChild(M("span",void 0,"DOM updates per second")),e.appendChild(t);let n=M("div","v-xray-metric");n.appendChild(M("span","v-xray-metric-value",String(we.effectsPerSecond))),n.appendChild(M("span",void 0,"reactive effects triggered per second")),e.appendChild(n);let r=M("div","v-xray-metric");r.appendChild(M("span","v-xray-metric-value",String(we.effects))),r.appendChild(M("span",void 0,"effects triggered since x-ray was enabled")),e.appendChild(r);let o=M("div","v-xray-chart"),i=Math.max(1,...we.history.map(s=>Math.max(s.effects,s.updates)));for(let s of we.history){let a=M("div","v-xray-bar"),l=Math.max(s.effects,s.updates);a.style.height=`${Math.max(2,Math.round(l/i*46))}px`,a.title=`${s.effects} effects, ${s.updates} updates`,o.appendChild(a)}return e.appendChild(o),e.appendChild(M("span","v-xray-hint",`${Jt.size} effects instrumented, peak of ${i} per second`)),e}var ox=[{id:"estado",label:"Estado"},{id:"componentes",label:"Componentes"},{id:"stores",label:"Stores"},{id:"eventos",label:"Eventos"},{id:"rede",label:"Rede"},{id:"desempenho",label:"Desempenho"}];function Zt(){if(!_)return;let e=document.activeElement;if(!(e instanceof HTMLInputElement&&_.body.contains(e))){switch(_.body.textContent="",nt){case"estado":_.body.appendChild(Jy());break;case"componentes":_.body.appendChild(Zy());break;case"stores":_.body.appendChild(ex());break;case"eventos":_.body.appendChild(tx());break;case"rede":_.body.appendChild(nx());break;case"desempenho":_.body.appendChild(rx());break}for(let t of Array.from(_.tabs.children)){let n=t;n.dataset.active=n.dataset.id===nt?"1":"0"}_.status.textContent=`${To.length} elements with directives, ${At.size} components, ${Jt.size} effects observed`}}function Xp(e){e.scrollIntoView({behavior:"smooth",block:"center"}),Wp(e)}function ix(){let e=M("div","v-xray-root");e.setAttribute(`${w.prefix}ignore`,""),e.setAttribute("role","complementary"),e.setAttribute("aria-label","Voodoo x-ray inspector"),Tn!=="auto"&&(e.dataset.vXrayTheme=Tn);let t=M("div","v-xray-overlay");e.appendChild(t);let n=M("div","v-xray-card");n.dataset.open="0",e.appendChild(n);let r=M("div","v-xray-panel"),o=M("div","v-xray-header"),i=M("div","v-xray-brand");i.appendChild(M("span","v-xray-dot")),i.appendChild(document.createTextNode("Voodoo x-ray")),o.appendChild(i);let s=M("button","v-xray-btn","theme");s.addEventListener("click",()=>{Tn=Tn==="auto"?"dark":Tn==="dark"?"light":"auto",Tn==="auto"?delete e.dataset.vXrayTheme:e.dataset.vXrayTheme=Tn}),o.appendChild(s);let a=M("button","v-xray-btn","close");a.addEventListener("click",()=>Gp()),o.appendChild(a),r.appendChild(o);let l=M("div","v-xray-tabs");for(let u of ox){let p=M("button","v-xray-tab",u.label);p.dataset.id=u.id,p.dataset.active=u.id===nt?"1":"0",p.addEventListener("click",()=>{nt=u.id,Zt()}),l.appendChild(p)}r.appendChild(l);let c=M("div","v-xray-body");r.appendChild(c);let d=M("div","v-xray-status","starting");return r.appendChild(d),e.appendChild(r),document.body.appendChild(e),{root:e,overlay:t,card:n,panel:r,tabs:l,body:c,status:d}}var sx=["click","dblclick","submit","input","change","keydown","keyup","focus","blur","contextmenu","drop","paste"];function Bp(e){br.push(e),br.length>jp&&br.shift(),nt==="eventos"&&Zt()}function ic(e){yr.push(e),yr.length>jp&&yr.shift(),nt==="rede"&&Zt()}function ax(e,t){let n=e;for(let r=0;n&&r<6;r++){for(let o of Dn(n))if(o.name===t||o.name==="on"&&o.arg===t)return n;n=n.parentElement}return null}function lx(){let e=new Set(sx),t=document.body.querySelectorAll("*");for(let n=0;n<t.length;n++){let r=t[n];if(!(_&&_.root.contains(r)))for(let o of Dn(r))o.name==="on"&&o.arg&&e.add(o.arg)}return[...e]}function cx(){let e=t=>{if(!Ye)return;let n=t.target;if(!n||n.nodeType!==1||ys(n))return;let r=ax(n,t.type),o=t.__voodoo===!0;!r&&!o||Bp({at:Date.now(),type:t.type,target:Er(r!=null?r:n),detail:o?"component emit":"",source:o?"component":"v-on"})};for(let t of lx())document.addEventListener(t,e,!0),xt.push(()=>document.removeEventListener(t,e,!0));xt.push(ze.on("event",t=>{var n,r;Bp({at:Date.now(),type:t.type,target:Er((n=t.el)!=null?n:null),detail:qp(t.detail),source:(r=t.source)!=null?r:"bus"})}))}function dx(){xt.push(he.interceptors.request.use(e=>(oc.set(e,performance.now()),e))),xt.push(he.interceptors.response.use(e=>{var n,r;let t=(n=oc.get(e.config))!=null?n:performance.now();return ic({at:Date.now(),method:((r=e.config.method)!=null?r:"GET").toUpperCase(),url:e.config.url,status:e.status,ok:e.ok,duration:performance.now()-t,source:"http"}),e})),xt.push(he.interceptors.error.use(e=>{var r,o,i;let t=e.config,n=t&&(r=oc.get(t))!=null?r:performance.now();return ic({at:Date.now(),method:((o=t==null?void 0:t.method)!=null?o:"GET").toUpperCase(),url:(i=t==null?void 0:t.url)!=null?i:"(unknown)",status:e.status,ok:!1,duration:performance.now()-n,source:"http"}),e})),xt.push(ze.on("network",e=>{var t,n,r,o,i;ic({at:Date.now(),method:((t=e.method)!=null?t:"GET").toUpperCase(),url:e.url,status:(n=e.status)!=null?n:0,ok:(r=e.ok)!=null?r:!e.error,duration:(o=e.duration)!=null?o:0,source:(i=e.source)!=null?i:"bus"})}))}var gr=null;function ux(){gr=new MutationObserver(e=>{let t=!1;for(let n of e){let r=n.target;ys(r)||n.type==="attributes"&&n.attributeName==="class"&&r.nodeType===1&&gs.has(r)||(we.mutations++,n.type==="childList"&&n.addedNodes.length&&(t=!0))}t&&!xr&&(xr=window.setTimeout(()=>{xr=0,Kp()},250))}),gr.observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0})}function fx(){hs=window.setInterval(()=>{we.effectsPerSecond=we.effects-ac,we.updatesPerSecond=we.mutations-lc,ac=we.effects,lc=we.mutations,we.history.push({effects:we.effectsPerSecond,updates:we.updatesPerSecond}),we.history.length>40&&we.history.shift(),nt==="desempenho"&&Zt()},1e3),vs=window.setInterval(()=>{cc(),(nt==="estado"||nt==="componentes"||nt==="stores")&&Zt()},700)}var ac=0,lc=0;function px(){if(Ye||typeof document=="undefined"||!document.body)return;Ye=!0,ge(),oe("xray",zy),_=ix(),nt=nt||"estado",we.effects=0,we.mutations=0,ac=0,lc=0,we.history.length=0,Kp(),cx(),dx(),ux(),fx();let e=()=>Ky();window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),document.addEventListener("mousemove",zp,!0),xt.push(()=>window.removeEventListener("scroll",e,!0)),xt.push(()=>window.removeEventListener("resize",e)),xt.push(()=>document.removeEventListener("mousemove",zp,!0)),Zt()}function Gp(){if(Ye){Ye=!1;for(let e of xt.splice(0))try{e()}catch(t){}gr==null||gr.disconnect(),gr=null,hs&&window.clearInterval(hs),vs&&window.clearInterval(vs),xr&&window.clearTimeout(xr),wr&&cancelAnimationFrame(wr),hs=vs=xr=wr=0;for(let[e,t]of Eo)window.clearTimeout(t),e.classList.remove(ko);Eo.clear(),gs.clear(),qy(),To.length=0,wo=null,_==null||_.root.remove(),_=null}}function Qp(){return Ye}function mx(e){let t=e.toLowerCase().split("+").map(o=>o.trim()).filter(Boolean);if(!t.length)return null;let n=t.pop(),r={ctrl:!1,alt:!1,shift:!1,meta:!1,code:/^f\d{1,2}$/.test(n)?n.toUpperCase():n.length===1&&n>="a"&&n<="z"?`Key${n.toUpperCase()}`:n.length===1&&n>="0"&&n<="9"?`Digit${n}`:n.charAt(0).toUpperCase()+n.slice(1)};for(let o of t)if(o==="ctrl"||o==="control")r.ctrl=!0;else if(o==="alt"||o==="option")r.alt=!0;else if(o==="shift")r.shift=!0;else if(o==="meta"||o==="cmd"||o==="command"||o==="win")r.meta=!0;else return null;return r}function dc(){Fp||typeof document=="undefined"||(Fp=!0,document.addEventListener("keydown",e=>{let t=w.xrayShortcut;if(t===!1)return;let n=mx(typeof t=="string"?t:"ctrl+shift+f2");n&&(e.ctrlKey!==n.ctrl||e.altKey!==n.alt||e.shiftKey!==n.shift||e.metaKey!==n.meta||e.code!==n.code&&e.key.toUpperCase()!==n.code.replace(/^Key/,"")||(e.preventDefault(),Lo()))}))}function Lo(e){return dc(),(e!=null?e:!Ye)?px():Gp(),Ye}me();ce();var vx=new Set(["SCRIPT","STYLE","PRE","CODE","SAMP","KBD","TEXTAREA","TEMPLATE","NOSCRIPT"]);H("$__jsx",e=>e);gd((e,t)=>{t?Mo():xs(e)});var Jp=Symbol("voodoo.jsx.template");function hx(e){return typeof e=="object"&&e!==null&&Jp in e}function gx(e,t){var p;let n=[],r=[],o="",i=0,s=null,a=!1,l=e,c=t,d=!1,u=null;for(;l;){if(l.nodeType===Node.TEXT_NODE){let f=(p=l.textContent)!=null?p:"";for(;c<f.length;c++){let m=f[c];if(a){a=!1,o+=m;continue}if(s){m==="\\"?a=!0:m===s&&(s=null),o+=m;continue}if(m==='"'||m==="'"||m==="`"){s=m,o+=m;continue}if(m==="{"){i++,i>1&&(o+=m);continue}if(m==="}"){if(i--,i===0){c++,d=!0;break}o+=m;continue}o+=m}if(r.push(l),d){u={node:l,offset:c};break}}else if(l.nodeType===Node.ELEMENT_NODE){if(i===0)return null;o+=`$t(${n.length}, $__jsx)`,n.push(l),r.push(l)}else r.push(l);c=0,l=l.nextSibling}return d?{source:o,templates:n,nodes:r,tail:u}:null}function bx(e){let t=e.source.match(/\(\s*\)/g);if(!t)return!1;let n=e.nodes[0],r=e.nodes[e.nodes.length-1],o=[r==null?void 0:r.nextSibling,n==null?void 0:n.previousSibling].map(l=>{var d;let c=l!=null?l:null;for(;c&&c.nodeType===Node.TEXT_NODE&&!((d=c.textContent)!=null?d:"").trim();)c=c===(r==null?void 0:r.nextSibling)?c.nextSibling:c.previousSibling;return c&&c.nodeType===Node.ELEMENT_NODE?c:null}).find(l=>(l==null?void 0:l.tagName)==="TABLE");if(!o)return!1;let i=o.querySelector("tbody");if(!i)return!1;let s=Array.from(i.children).filter(l=>l.tagName==="TR");if(s.length!==t.length)return!1;let a=0;return e.source=e.source.replace(/\(\s*\)/g,()=>`($t(${a++}, $__jsx))`),e.templates=s,e.host=i,e.nodes.push(...s),!0}function Zp(e,t,n,r){var o;if(!(e==null||e===!1||e===!0)){if(Array.isArray(e)){for(let i of e)Zp(i,t,n,r);return}if(hx(e)){let i=e,a=t[i.index].cloneNode(!0),l=(o=i.scope)!=null?o:n;fc(a,l),Mo(),ee(a,l),r.push(a);return}r.push(document.createTextNode(String(e)))}}function fc(e,t){var o,i,s;if(vx.has(e.tagName))return;let n=t!=null?t:Ce(e),r=e.firstChild;for(;r;){let a=r.nextSibling;if(r.nodeType===Node.ELEMENT_NODE){fc(r,(o=ot(r))!=null?o:n),r=a;continue}if(r.nodeType!==Node.TEXT_NODE){r=a;continue}let c=((i=r.textContent)!=null?i:"").indexOf("{");if(c<0){r=a;continue}let d=gx(r,c);if(!d){r=a;continue}if(d.templates.length===0&&!bx(d)){r=a;continue}yx(e,d,n),r=(s=d.nodes[d.nodes.length-1])==null?void 0:s.nextSibling}}var uc=[];function yx(e,t,n){var p,f;let{source:r,templates:o,nodes:i,tail:s}=t,a;try{a=_e(r)}catch(m){w.devtools&&console.warn(`[Voodoo] could not parse the inline expression: ${r}`,m);return}s&&s.offset<((p=s.node.textContent)!=null?p:"").length&&s.node.splitText(s.offset);let l=(f=t.host)!=null?f:e,c=document.createComment("v-jsx");l.insertBefore(c,t.host?t.host.firstChild:i[0]);for(let m of i)m.remove();let d=[];uc.push(()=>u());function u(){let m=Ce(c),v=(m===We&&n?n:m).child({$t:(b,x)=>({[Jp]:!0,index:b,scope:x})}),g=Fe(()=>{let b=Fo(N(a,v)),x=[];Zp(b,o,v,x);for(let T of d)T.remove();d=x;for(let T of x)l.insertBefore(T,c)});Xe(c,()=>{g.effect.stop();for(let b of d)b.remove()})}}function xx(e=document.body){var t;for(let n of Array.from(e.childNodes)){if(n.nodeType!==Node.TEXT_NODE)continue;let r=(t=n.textContent)!=null?t:"",o=r.indexOf("{");if(o<0)continue;let i=wx(r,o);if(i<0)continue;let s=r.slice(o,i+1);if(!/\b(?:const|let|var)\s/.test(s))continue;let a=s.slice(1,-1).replace(/\b(?:const|let|var)\s+/g,""),l=Y({});try{N(_e(a),new Lt(l))}catch(c){return w.devtools&&console.warn("[Voodoo] could not read the declaration block",c),null}return n.textContent=r.slice(0,o)+r.slice(i+1),l}return null}function wx(e,t){let n=0,r=null,o=!1;for(let i=t;i<e.length;i++){let s=e[i];if(o){o=!1;continue}if(r){s==="\\"?o=!0:s===r&&(r=null);continue}if(s==='"'||s==="'"||s==="`")r=s;else if(s==="{")n++;else if(s==="}"&&--n===0)return i}return-1}function Mo(){let e=uc.splice(0,uc.length);for(let t of e)try{t()}catch(n){console.error("[Voodoo] a JSX region failed to render",n)}}function xs(e=document.body){let t=xx(e);t&&Object.assign(We.data,t),fc(e,Ce(e))}function em(e=document.body){xs(e),Mo()}Ne();var nm="voodoo:devtools:widget-position",pc="voodoo:devtools:widget-hidden",Ex=4,ne=null,kr=!1,mc=0,ws=0,So=[],kx=`
1649
1649
  .v-devtools-widget{
1650
1650
  all: initial;
1651
1651
  --vw-accent:#6D3BF5;
@@ -1776,9 +1776,9 @@ textarea.v-dialog-input{min-height:96px;resize:vertical}
1776
1776
  .v-devtools-btn,.v-devtools-pulse,.v-devtools-close{transition:none}
1777
1777
  .v-devtools-btn:hover{transform:none}
1778
1778
  }
1779
- `,kx=`<svg class="v-devtools-mark" viewBox="0 0 24 24" fill="none" aria-hidden="true">
1779
+ `,Tx=`<svg class="v-devtools-mark" viewBox="0 0 24 24" fill="none" aria-hidden="true">
1780
1780
  <path d="M4 4l8 16 8-16" stroke="#6D3BF5" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
1781
1781
  <circle cx="12" cy="7.5" r="2" fill="#FF3D8B"/>
1782
- </svg>`;function Tx(){try{let e=localStorage.getItem(nm);if(!e)return null;let t=JSON.parse(e);return typeof(t==null?void 0:t.x)!="number"||typeof(t==null?void 0:t.y)!="number"?null:t}catch(e){return null}}function Lx(e){try{localStorage.setItem(nm,JSON.stringify(e))}catch(t){}}function vc(e,t){let n=e.offsetWidth||120,r=e.offsetHeight||38,o=Math.min(Math.max(8,t.x),Math.max(8,window.innerWidth-n-8)),i=Math.min(Math.max(8,t.y),Math.max(8,window.innerHeight-r-8));e.style.left=`${o}px`,e.style.top=`${i}px`,e.style.right="auto",e.style.bottom="auto"}function Mx(){let e=document.createElement("div");e.className="v-devtools-widget",e.setAttribute("data-voodoo-devtools","widget");let t=document.createElement("button");t.type="button",t.className="v-devtools-btn",t.setAttribute("aria-label","Open Voodoo devtools (Ctrl+Shift+F2)"),t.setAttribute("aria-pressed","false"),t.title="Voodoo devtools \u2014 click to inspect, drag to move (Ctrl+Shift+F2)",t.innerHTML=kx;let n=document.createElement("span");n.className="v-devtools-label",n.textContent="Voodoo";let r=document.createElement("span");r.className="v-devtools-count",r.textContent="0";let o=document.createElement("span");o.className="v-devtools-pulse",o.setAttribute("data-on","false"),t.append(n,r,o);let i=document.createElement("button");i.type="button",i.className="v-devtools-close",i.setAttribute("aria-label","Hide the devtools widget in this tab"),i.title="Hide in this tab",i.textContent="\xD7",e.append(t,i),document.body.appendChild(e);let s=Tx();return s?vc(e,s):(e.style.right="16px",e.style.bottom="16px"),{root:e,button:t,pulse:o,counter:r,close:i}}function Sx(e,t){let n=!1,r=!1,o=0,i=0,s=0,a=0,l=f=>{var h,v;if(f.button!==0)return;let m=e.root.getBoundingClientRect();n=!0,r=!1,s=f.clientX,a=f.clientY,o=f.clientX-m.left,i=f.clientY-m.top,(v=(h=e.button).setPointerCapture)==null||v.call(h,f.pointerId)},c=f=>{if(!n)return;let m=Math.hypot(f.clientX-s,f.clientY-a);!r&&m<wx||(r=!0,f.preventDefault(),vc(e.root,{x:f.clientX-o,y:f.clientY-i}))},d=f=>{var h,v;if(!n)return;if(n=!1,(v=(h=e.button).releasePointerCapture)==null||v.call(h,f.pointerId),!r){t();return}let m=e.root.getBoundingClientRect();Lx({x:m.left,y:m.top})},u=f=>{f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),t())},p=()=>{let f=e.root.getBoundingClientRect();e.root.style.left&&vc(e.root,{x:f.left,y:f.top})};return e.button.addEventListener("pointerdown",l),e.button.addEventListener("pointermove",c),e.button.addEventListener("pointerup",d),e.button.addEventListener("pointercancel",d),e.button.addEventListener("keydown",u),window.addEventListener("resize",p),()=>{e.button.removeEventListener("pointerdown",l),e.button.removeEventListener("pointermove",c),e.button.removeEventListener("pointerup",d),e.button.removeEventListener("pointercancel",d),e.button.removeEventListener("keydown",u),window.removeEventListener("resize",p)}}function Cx(){ne&&(ne.pulse.setAttribute("data-on","true"),window.clearTimeout(ws),ws=window.setTimeout(()=>{ne==null||ne.pulse.setAttribute("data-on","false")},320))}function tm(){if(!ne)return;let e=At.size,t=e===1?"1 component":`${e} components`;ne.counter.textContent!==t&&(ne.counter.textContent=t)}function Ax(){if(kr||typeof document=="undefined"||!document.body)return;try{if(sessionStorage.getItem(pc)==="1")return}catch(r){}kr=!0,oe("devtools-widget",Ex),ne=Mx();let e=()=>{let r=Lo();ne==null||ne.root.setAttribute("data-active",String(r)),ne==null||ne.button.setAttribute("aria-pressed",String(r))};So.push(Sx(ne,e));let t=r=>{r.stopPropagation();try{sessionStorage.setItem(pc,"1")}catch(o){}rm(),console.info("[Voodoo] devtools widget hidden. Use V.devtoolsWidget(true) to bring back.")};ne.close.addEventListener("click",t),So.push(()=>ne==null?void 0:ne.close.removeEventListener("click",t));let n=()=>{let r=Qp();ne==null||ne.root.setAttribute("data-active",String(r)),ne==null||ne.button.setAttribute("aria-pressed",String(r))};document.addEventListener("keyup",n),So.push(()=>document.removeEventListener("keyup",n));for(let r of["network","event","navigation","update"])So.push(ze.on(r,Cx));tm(),mc=window.setInterval(tm,1e3)}function rm(){if(kr){kr=!1;for(let e of So.splice(0))try{e()}catch(t){}window.clearInterval(mc),window.clearTimeout(ws),mc=0,ws=0,ne==null||ne.root.remove(),ne=null}}function om(e){if(e!=null?e:!kr){try{sessionStorage.removeItem(pc)}catch(n){}Ax()}else rm();return kr}var sm=((e,t)=>Sa(e,t));function im(e,t,n){return((...r)=>($r(e,t),n(...r)))}Object.assign(sm,ui,{query:Sa,ready:Ca,fromHtml:Tu,jsx:em,extractJsx:xs,activateJsx:Mo,Collection:pt,router:Wr,route:de,navigate:_t,resolveRoute:Gn,i18n:Yr,t:er,setLocale:Kr,getLocale:ki,modal:En,alert:tc,confirm:us,prompt:nc,dialog:hr,validator:J,validate:cl,validateForm:im("V.validateForm","V.validate",cl),serializeForm:or,messages:at,showFormErrors:Ii,showFieldError:Fi,clearErrors:ro,mask:Np,masks:xo,applyMask:yo,unmask:ms,registerMask:Le,animate:Pt,spring:Rl,stagger:$l,inView:es,scrollProgress:Dl,motion:hn,easings:lo,chart:im("V.chart","V.renderChart",ur),renderChart:ur,charts:Il,chartColors:uo,palette:wp,hotkey:Jr,sound:Gt,xray:Lo,enableXrayShortcut:dc,devtoolsWidget:om,devtools:ze,magic:H});var hc=sm;ce();function Rx(e){if(window.VOODOO_DEVTOOLS===!0)return!0;for(let t of["devtools","data-devtools"]){if(!e.hasAttribute(t))continue;let n=e.getAttribute(t);return n===null||n===""||n.toLowerCase()!=="false"}return!1}function $x(){var s;if(typeof document=="undefined")return{manual:!1};let e=(s=document.currentScript)!=null?s:document.querySelector('script[src*="voodoo"]');if(!e)return{manual:!1};let t=e.hasAttribute("data-manual")||e.hasAttribute("data-defer-init"),n=e.getAttribute("data-prefix");n&&(w.prefix=n);let r=e.getAttribute("data-base-url");r&&(w.baseURL=r);let o=e.getAttribute("data-locale");o&&(w.locale=o),Rx(e)&&(w.devtools=!0);let i=e.getAttribute("data-xray-shortcut");return i!==null&&(w.xrayShortcut=i==="false"||i===""?!1:i),e.hasAttribute("data-no-styles")&&(w.injectStyles=!1),e.hasAttribute("data-no-observer")&&(w.autoDiscover=!1),e.hasAttribute("data-keep-attributes")&&(w.cleanAttributes=!1),{manual:t}}function Dx(e){if(typeof e.devtoolsWidget=="function"){e.devtoolsWidget(!0);return}console.info("[Voodoo] devtools requested, but this build does not include the inspector. Use voodoo.full.min.js to get the widget and full devtools panel.")}function am(e){var o;if(typeof window=="undefined")return;let t=$x(),n=window;if(n.V=e,n.Voodoo=e,He.V=e,He.Voodoo=e,w.baseURL&&((o=e.http)!=null&&o.setBaseURL)&&e.http.setBaseURL(w.baseURL),t.manual||!w.autoStart)return;Ko(()=>{ft.init(),xp(),e.start(),typeof e.enableXrayShortcut=="function"&&e.enableXrayShortcut(),w.devtools&&Dx(e)})}am(hc);var Px=hc;return ym(Nx);})();
1782
+ </svg>`;function Lx(){try{let e=localStorage.getItem(nm);if(!e)return null;let t=JSON.parse(e);return typeof(t==null?void 0:t.x)!="number"||typeof(t==null?void 0:t.y)!="number"?null:t}catch(e){return null}}function Mx(e){try{localStorage.setItem(nm,JSON.stringify(e))}catch(t){}}function vc(e,t){let n=e.offsetWidth||120,r=e.offsetHeight||38,o=Math.min(Math.max(8,t.x),Math.max(8,window.innerWidth-n-8)),i=Math.min(Math.max(8,t.y),Math.max(8,window.innerHeight-r-8));e.style.left=`${o}px`,e.style.top=`${i}px`,e.style.right="auto",e.style.bottom="auto"}function Sx(){let e=document.createElement("div");e.className="v-devtools-widget",e.setAttribute("data-voodoo-devtools","widget");let t=document.createElement("button");t.type="button",t.className="v-devtools-btn",t.setAttribute("aria-label","Open Voodoo devtools (Ctrl+Shift+F2)"),t.setAttribute("aria-pressed","false"),t.title="Voodoo devtools \u2014 click to inspect, drag to move (Ctrl+Shift+F2)",t.innerHTML=Tx;let n=document.createElement("span");n.className="v-devtools-label",n.textContent="Voodoo";let r=document.createElement("span");r.className="v-devtools-count",r.textContent="0";let o=document.createElement("span");o.className="v-devtools-pulse",o.setAttribute("data-on","false"),t.append(n,r,o);let i=document.createElement("button");i.type="button",i.className="v-devtools-close",i.setAttribute("aria-label","Hide the devtools widget in this tab"),i.title="Hide in this tab",i.textContent="\xD7",e.append(t,i),document.body.appendChild(e);let s=Lx();return s?vc(e,s):(e.style.right="16px",e.style.bottom="16px"),{root:e,button:t,pulse:o,counter:r,close:i}}function Cx(e,t){let n=!1,r=!1,o=0,i=0,s=0,a=0,l=f=>{var h,v;if(f.button!==0)return;let m=e.root.getBoundingClientRect();n=!0,r=!1,s=f.clientX,a=f.clientY,o=f.clientX-m.left,i=f.clientY-m.top,(v=(h=e.button).setPointerCapture)==null||v.call(h,f.pointerId)},c=f=>{if(!n)return;let m=Math.hypot(f.clientX-s,f.clientY-a);!r&&m<Ex||(r=!0,f.preventDefault(),vc(e.root,{x:f.clientX-o,y:f.clientY-i}))},d=f=>{var h,v;if(!n)return;if(n=!1,(v=(h=e.button).releasePointerCapture)==null||v.call(h,f.pointerId),!r){t();return}let m=e.root.getBoundingClientRect();Mx({x:m.left,y:m.top})},u=f=>{f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),t())},p=()=>{let f=e.root.getBoundingClientRect();e.root.style.left&&vc(e.root,{x:f.left,y:f.top})};return e.button.addEventListener("pointerdown",l),e.button.addEventListener("pointermove",c),e.button.addEventListener("pointerup",d),e.button.addEventListener("pointercancel",d),e.button.addEventListener("keydown",u),window.addEventListener("resize",p),()=>{e.button.removeEventListener("pointerdown",l),e.button.removeEventListener("pointermove",c),e.button.removeEventListener("pointerup",d),e.button.removeEventListener("pointercancel",d),e.button.removeEventListener("keydown",u),window.removeEventListener("resize",p)}}function Ax(){ne&&(ne.pulse.setAttribute("data-on","true"),window.clearTimeout(ws),ws=window.setTimeout(()=>{ne==null||ne.pulse.setAttribute("data-on","false")},320))}function tm(){if(!ne)return;let e=At.size,t=e===1?"1 component":`${e} components`;ne.counter.textContent!==t&&(ne.counter.textContent=t)}function Rx(){if(kr||typeof document=="undefined"||!document.body)return;try{if(sessionStorage.getItem(pc)==="1")return}catch(r){}kr=!0,oe("devtools-widget",kx),ne=Sx();let e=()=>{let r=Lo();ne==null||ne.root.setAttribute("data-active",String(r)),ne==null||ne.button.setAttribute("aria-pressed",String(r))};So.push(Cx(ne,e));let t=r=>{r.stopPropagation();try{sessionStorage.setItem(pc,"1")}catch(o){}rm(),console.info("[Voodoo] devtools widget hidden. Use V.devtoolsWidget(true) to bring back.")};ne.close.addEventListener("click",t),So.push(()=>ne==null?void 0:ne.close.removeEventListener("click",t));let n=()=>{let r=Qp();ne==null||ne.root.setAttribute("data-active",String(r)),ne==null||ne.button.setAttribute("aria-pressed",String(r))};document.addEventListener("keyup",n),So.push(()=>document.removeEventListener("keyup",n));for(let r of["network","event","navigation","update"])So.push(ze.on(r,Ax));tm(),mc=window.setInterval(tm,1e3)}function rm(){if(kr){kr=!1;for(let e of So.splice(0))try{e()}catch(t){}window.clearInterval(mc),window.clearTimeout(ws),mc=0,ws=0,ne==null||ne.root.remove(),ne=null}}function om(e){if(e!=null?e:!kr){try{sessionStorage.removeItem(pc)}catch(n){}Rx()}else rm();return kr}var sm=((e,t)=>Sa(e,t));function im(e,t,n){return((...r)=>($r(e,t),n(...r)))}Object.assign(sm,ui,{query:Sa,ready:Ca,fromHtml:Tu,jsx:em,extractJsx:xs,activateJsx:Mo,Collection:pt,router:Wr,route:de,navigate:_t,resolveRoute:Gn,i18n:Yr,t:er,setLocale:Kr,getLocale:ki,modal:En,alert:tc,confirm:us,prompt:nc,dialog:hr,validator:J,validate:cl,validateForm:im("V.validateForm","V.validate",cl),serializeForm:or,messages:at,showFormErrors:Ii,showFieldError:Fi,clearErrors:ro,mask:Np,masks:xo,applyMask:yo,unmask:ms,registerMask:Le,animate:Pt,spring:Rl,stagger:$l,inView:es,scrollProgress:Dl,motion:hn,easings:lo,chart:im("V.chart","V.renderChart",ur),renderChart:ur,charts:Il,chartColors:uo,palette:wp,hotkey:Jr,sound:Gt,xray:Lo,enableXrayShortcut:dc,devtoolsWidget:om,devtools:ze,magic:H});var hc=sm;ce();function $x(e){if(window.VOODOO_DEVTOOLS===!0)return!0;for(let t of["devtools","data-devtools"]){if(!e.hasAttribute(t))continue;let n=e.getAttribute(t);return n===null||n===""||n.toLowerCase()!=="false"}return!1}function Dx(){var s;if(typeof document=="undefined")return{manual:!1};let e=(s=document.currentScript)!=null?s:document.querySelector('script[src*="voodoo"]');if(!e)return{manual:!1};let t=e.hasAttribute("data-manual")||e.hasAttribute("data-defer-init"),n=e.getAttribute("data-prefix");n&&(w.prefix=n);let r=e.getAttribute("data-base-url");r&&(w.baseURL=r);let o=e.getAttribute("data-locale");o&&(w.locale=o),$x(e)&&(w.devtools=!0);let i=e.getAttribute("data-xray-shortcut");return i!==null&&(w.xrayShortcut=i==="false"||i===""?!1:i),e.hasAttribute("data-no-styles")&&(w.injectStyles=!1),e.hasAttribute("data-no-observer")&&(w.autoDiscover=!1),e.hasAttribute("data-keep-attributes")&&(w.cleanAttributes=!1),{manual:t}}function Px(e){if(typeof e.devtoolsWidget=="function"){e.devtoolsWidget(!0);return}console.info("[Voodoo] devtools requested, but this build does not include the inspector. Use voodoo.full.min.js to get the widget and full devtools panel.")}function am(e){var o;if(typeof window=="undefined")return;let t=Dx(),n=window;if(n.V=e,n.Voodoo=e,He.V=e,He.Voodoo=e,w.baseURL&&((o=e.http)!=null&&o.setBaseURL)&&e.http.setBaseURL(w.baseURL),t.manual||!w.autoStart)return;Ko(()=>{ft.init(),xp(),e.start(),typeof e.enableXrayShortcut=="function"&&e.enableXrayShortcut(),w.devtools&&Px(e)})}am(hc);var Nx=hc;return ym(Hx);})();
1783
1783
  if(typeof window!=="undefined"){window.V=Voodoo.default||Voodoo;window.Voodoo=window.V;}
1784
1784
  //# sourceMappingURL=voodoo.full.min.js.map
package/dist/voodoo.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Voodoo.js v0.11.0
2
+ * Voodoo.js v0.11.1
3
3
  * JavaScript feels like magic.
4
4
  * (c) 2026 Voodoo.js contributors. MIT License.
5
5
  */
@@ -6871,7 +6871,7 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
6871
6871
  Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
6872
6872
  return rootScope.data;
6873
6873
  }
6874
- var version2 = "0.11.0";
6874
+ var version2 = "0.11.1";
6875
6875
  var core = {
6876
6876
  // Utilities first: Voodoo's own names can override.
6877
6877
  ...utils_exports,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Voodoo.js v0.11.0
2
+ * Voodoo.js v0.11.1
3
3
  * JavaScript feels like magic.
4
4
  * (c) 2026 Voodoo.js contributors. MIT License.
5
5
  */
@@ -135,7 +135,7 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
135
135
  .v-json-object dt{font-weight:600;color:var(--v-text-muted,#6B6580)}
136
136
  .v-json-object dd{margin:0}
137
137
  .v-json-empty{color:var(--v-text-muted,#6B6580);font-style:italic}
138
- `)}))}function Bd(e){let t=e.tagName;if(t==="FORM")return"submit";if(t==="INPUT"||t==="SELECT"||t==="TEXTAREA"){let n=e.type;return n==="button"||n==="submit"?"click":"change"}return"click"}function qd({el:e,cleanup:t,run:n}){var u,d;let r=D(e,"trigger")||Bd(e),[o,...i]=r.split(/[.\s]+/),s=_((u=D(e,"poll"))!=null?u:void 0,0);if(s>0){n();let p=setInterval(()=>{document.visibilityState==="visible"&&n()},s);t(()=>clearInterval(p));return}if(o==="load"||o==="ready"){n();return}if(o==="visible"||o==="revealed"){if(typeof IntersectionObserver=="undefined"){n();return}let p=new IntersectionObserver(f=>{for(let m of f)m.isIntersecting&&(n(),i.includes("repeat")||p.unobserve(e))},{rootMargin:"80px"});p.observe(e),t(()=>p.disconnect());return}let a=i.includes("once"),c=_((d=D(e,"debounce"))!=null?d:void 0,0),l=p=>{(e.tagName==="FORM"||e.href)&&p.preventDefault(),n(p)};c>0&&(l=be(l,c)),e.addEventListener(o,l,{once:a}),t(()=>e.removeEventListener(o,l))}var zd=[["get","GET"],["post","POST"],["put","PUT"],["patch","PATCH"],["delete","DELETE"]];for(let[e,t]of zd)b(e,({el:n,scope:r,expression:o,cleanup:i})=>{qd({el:n,scope:r,cleanup:i,run:a=>{let c=Pn(o,r);if(!c)return;let l=D(n,"body")||D(n,"data-body"),u=l?O(l,r.child({$event:a}),"v-body"):void 0,d=D(n,"params"),p=d?O(d,r,"v-params"):void 0;Dn({el:n,scope:r,method:t,url:c,body:u,params:p,event:a})}})});function Pn(e,t){let n=e.trim();if(!n)return"";if((/^[./#?]/.test(n)||/^https?:\/\//i.test(n)||/^[\w-]+\/[\w\-/.]*$/.test(n))&&!/[+`'"]|\$\{/.test(n))return n;let o=O(n,t,"URL");return typeof o=="string"?o:n}b("load",({el:e,scope:t,expression:n})=>{let r=Pn(n,t);r&&Dn({el:e,scope:t,method:"GET",url:r})});b("load-visible",({el:e,scope:t,cleanup:n,expression:r})=>{let o=Pn(r,t);if(!o)return;if(typeof IntersectionObserver=="undefined"){Dn({el:e,scope:t,method:"GET",url:o});return}let i=new IntersectionObserver(s=>{for(let a of s)a.isIntersecting&&(i.unobserve(e),Dn({el:e,scope:t,method:"GET",url:o}))},{rootMargin:"120px"});i.observe(e),n(()=>i.disconnect())});b("search",({el:e,scope:t,expression:n,cleanup:r})=>{var d,p;let o=e,i=Pn(n,t),s=D(e,"param")||o.getAttribute("name")||"q",a=_((d=D(e,"debounce"))!=null?d:void 0,300),c=Number((p=D(e,"min-length"))!=null?p:0),l=be(()=>{let f=o.value.trim();f.length<c||Dn({el:e,scope:t,method:"GET",url:i,params:{[s]:f}})},a),u=()=>l();o.addEventListener("input",u),r(()=>{o.removeEventListener("input",u),l.cancel()})});b("resource",({el:e,scope:t,expression:n,cleanup:r})=>{var c,l,u,d;let o=n.indexOf(":"),i=D(e,"as")||"resource",s=n.trim();if(o>-1){let p=n.slice(0,o).trim();/^[A-Za-z_$][\w$]*$/.test(p)&&(i=p,s=n.slice(o+1).trim())}let a=Lr(()=>Pn(s,t),{method:(D(e,"method")||"GET").toUpperCase(),params:()=>D(e,"params")?O(D(e,"params"),t,"v-params"):void 0,cache:_((c=D(e,"cache"))!=null?c:void 0,0)||void 0,retry:Number((l=D(e,"retry"))!=null?l:0),timeout:_((u=D(e,"timeout"))!=null?u:void 0,me.defaults.timeout),jsonPath:D(e,"json-path"),poll:_((d=D(e,"poll"))!=null?d:void 0,0),manual:vi(e,"manual"),onSuccess:p=>on(e,"voodoo:success",{data:p}),onError:(p,f)=>on(e,"voodoo:error",{error:p,message:f})});t.set(i,a),r(()=>a.stop())},{priority:P.DATA});for(let e of["target","swap","trigger","poll","param","params","body","data-body","headers","cache","retry","timeout","as","json-path","template","offline-queue","min-length","scroll-to","manual","debounce","throttle","indicator"])b(e,()=>{},{priority:P.TRANSITION});ua(ha);va(ot);Ta(lc);Ua();var Nn=new Map;function cc(e,t){let n=Nn.get(e);return n||Nn.set(e,n=new Set),n.add(t),()=>n.delete(t)}function Ud(e,t){let n=cc(e,r=>{n(),t(r)});return n}function _d(e,t){let n=Nn.get(e);if(n)for(let r of[...n])try{r(t)}catch(o){z(o,`event "${e}"`)}}function Vd(e,t){var n;if(!t){Nn.delete(e);return}(n=Nn.get(e))==null||n.delete(t)}function lc(e,t){var r,o;let n=typeof t=="function"?{mounted:t,updated:t}:t;b(e,i=>{var u,d;let s,a=!1,c=p=>{var f,m;return{el:i.el,value:p,oldValue:s,arg:i.arg,modifiers:i.modifiers,expression:i.expression,scope:i.scope,instance:(m=(f=i.scope.owner)==null?void 0:f.component)!=null?m:null}},l=n.raw?i.expression:i.evaluate();(u=n.created)==null||u.call(n,i.el,c(l)),(d=n.beforeMount)==null||d.call(n,i.el,c(l)),i.effect(()=>{var m,v;let p=n.raw?i.expression:i.evaluate();if(!a){a=!0,s=p,(m=n.mounted)==null||m.call(n,i.el,c(p));return}if(p===s)return;let f=c(p);(v=n.updated)==null||v.call(n,i.el,f),s=p}),i.cleanup(()=>{var f,m;let p=c(s);(f=n.beforeUnmount)==null||f.call(n,i.el,p),(m=n.unmounted)==null||m.call(n,i.el,p)})},{priority:(r=n.priority)!=null?r:P.DEFAULT,terminal:(o=n.terminal)!=null?o:!1})}function Wd(e){return Object.defineProperties(Fe.data,Object.getOwnPropertyDescriptors(e)),Fe.data}var Kd="0.11.0",Sr={...oi,version:Kd,config:E,reactive:V,ref:bn,shallowRef:Po,computed:wn,effect:Ee,watch:ve,watchEffect:Oo,nextTick:yt,toRaw:ie,markRaw:Ho,unref:No,stop:So,effectScope:Mo,EffectScope:Me,flushSync:To,data:Wd,store:Sa,stores:hr,removeStore:Ma,storeNames:Ca,scope:Fe,component:Wt,components:le,directive:lc,directives:Ye,magic:H,magics:xn,createApp:ka,start:fa,whenReady:mr,whenElement:gr,walk:W,refresh:ma,destroy:q,stopObserving:pa,getScope:zt,findScope:Ce,addCleanup:Ie,parseAttribute:qt,parse:$e,tokenize:ir,evaluate:M,evaluateIn:O,stringify:Ke,clearParseCache:Fs,globals:pe,http:me,request:st,HttpError:ne,resource:Lr,toast:Re,storage:Q,session:Er,cookie:xr,cache:Tr,url:ct,theme:je,clipboard:ui,screen:He,network:At,enter:Rn,leave:Hn,fadeIn:nn,fadeOut:rn,slideUp:Mt,slideDown:St,viewTransition:Ya,injectStyle:G,ensureTokens:se,on:cc,once:Ud,off:Vd,emit:_d,use(e,t){sr(Sr,e,t)},onError(e){ko(e)},instances:fr,Scope:wt,PRIORITY:P,VoodooSyntaxError:U,VoodooRuntimeError:J};Aa(Sr);re();var Yd=new Set(["animation-iteration-count","aspect-ratio","border-image-slice","column-count","flex","flex-grow","flex-shrink","font-weight","grid-area","grid-column","grid-row","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom"]);function yc(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function De(e){return e.length<2?e:Array.from(new Set(e))}function Ct(e){return String(e!=null?e:"").split(/\s+/).filter(Boolean)}function hi(e){if(typeof document=="undefined")return[];let t=document.createElement("template");t.innerHTML=e.trim();let n=[];for(let r of Array.from(t.content.children))n.push(r);return n}function bc(e){return e.length>2&&e.charCodeAt(0)===60&&e.endsWith(">")}function Qd(e){if(e==null)return typeof document=="undefined"?[]:[document];if(e instanceof Be)return e.toArray();if(typeof e=="string")return Rt(e);if(typeof e=="function")return typeof document=="undefined"?[]:[document];let t=Rt(e);return t.length?t:typeof document=="undefined"?[]:[document]}function Rt(e,t){if(e==null)return[];if(typeof e=="string"){let o=e.trim();if(!o)return[];if(bc(o))return hi(o);let i=[];for(let s of Qd(t))try{for(let a of Array.from(s.querySelectorAll(o)))i.push(a)}catch(a){}return De(i)}if(e instanceof Be)return e.toArray();if(typeof e=="function")return[];let n=e;if(typeof n.nodeType=="number"){if(n.nodeType===1)return[n];if(n.nodeType===9){let o=n;return o.documentElement?[o.documentElement]:[]}return n.nodeType===11?Array.from(n.children):[]}let r=e;if(typeof r.length=="number"){let o=[];for(let i=0;i<r.length;i++){let s=r[i];s&&s.nodeType===1&&o.push(s)}return De(o)}return[]}function uc(e){if(e==null)return[];if(typeof e=="string"){let r=e;return bc(r.trim())?hi(r):[document.createTextNode(r)]}if(e instanceof Be)return e.toArray();if(typeof e=="function")return[];let t=e;if(typeof t.nodeType=="number")return[t];let n=e;if(typeof n.length=="number"){let r=[];for(let o=0;o<n.length;o++)n[o]&&r.push(n[o]);return r}return[]}function Mr(e,t,n){let r=yc(t);if(n===null||n===""){e.style.removeProperty(r);return}let o=typeof n=="number"&&!Yd.has(r)&&!r.startsWith("--")?`${n}px`:String(n);e.style.setProperty(r,o)}function Gd(e,t){for(let[n,r]of Object.entries(t))Mr(e,n,r)}function dc(e){if(e===void 0)return;if(e==="")return"";if(e==="true")return!0;if(e==="false")return!1;if(e==="null")return null;if(/^-?\d+(\.\d+)?$/.test(e))return Number(e);let t=e.charCodeAt(0);if(t===123||t===91||t===34)try{return JSON.parse(e)}catch(n){return e}return e}function fc(e){return e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase())}var wc=new WeakMap;function pc(e){return e.hasAttribute("hidden")||e.style.display==="none"?!0:e.isConnected?getComputedStyle(e).display==="none":!1}function mc(e){e.removeAttribute("hidden");let t=wc.get(e);t!==void 0&&t!=="none"?e.style.display=t:e.style.removeProperty("display"),e.isConnected&&getComputedStyle(e).display==="none"&&(e.style.display="block")}function gc(e){let t=e.style.display;t&&t!=="none"&&wc.set(e,t),e.style.display="none"}var vc="input,select,textarea";function hc(e){return e.matches(vc)?[e]:Array.from(e.querySelectorAll(vc))}function Xd(e){let t=e;if(!t.name||t.disabled)return!1;let n=(t.getAttribute("type")||"").toLowerCase();return!(n==="file"||n==="submit"||n==="reset"||n==="button"||(n==="checkbox"||n==="radio")&&!t.checked)}var Cr=new WeakMap;function Jd(e){let t=Cr.get(e);return t||Cr.set(e,t=[]),t}var Be=class e{constructor(t=[]){S(this,"length");S(this,"elements");this.elements=t,this.length=t.length;let n=this;for(let r=0;r<t.length;r++)n[r]=t[r]}[Symbol.iterator](){return this.elements[Symbol.iterator]()}find(t){let n=[];for(let r of this.elements)try{for(let o of Array.from(r.querySelectorAll(t)))n.push(o)}catch(o){}return new e(De(n))}closest(t){let n=[];for(let r of this.elements){let o=r.closest(t);o&&n.push(o)}return new e(De(n))}parent(t){let n=[];for(let r of this.elements){let o=r.parentElement;o&&(!t||o.matches(t))&&n.push(o)}return new e(De(n))}parents(t){let n=[];for(let r of this.elements){let o=r.parentElement;for(;o;)(!t||o.matches(t))&&n.push(o),o=o.parentElement}return new e(De(n))}children(t){let n=[];for(let r of this.elements)for(let o of Array.from(r.children))(!t||o.matches(t))&&n.push(o);return new e(De(n))}siblings(t){let n=[];for(let r of this.elements){let o=r.parentElement;if(o)for(let i of Array.from(o.children))i!==r&&(!t||i.matches(t))&&n.push(i)}return new e(De(n))}next(t){let n=[];for(let r of this.elements){let o=r.nextElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(De(n))}prev(t){let n=[];for(let r of this.elements){let o=r.previousElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(De(n))}first(){return this.eq(0)}last(){return this.eq(-1)}eq(t){let n=t<0?this.elements.length+t:t,r=this.elements[n];return new e(r?[r]:[])}filter(t){let n=this.elements.filter((r,o)=>typeof t=="function"?t(r,o):r.matches(t));return new e(n)}not(t){let n=this.elements.filter((r,o)=>typeof t=="function"?!t(r,o):!r.matches(t));return new e(n)}has(t){let n=this.elements.filter(r=>typeof t=="string"?r.querySelector(t)!==null:r.contains(t));return new e(n)}is(t){return this.elements.some((n,r)=>typeof t=="function"?t(n,r):n.matches(t))}map(t){return this.elements.map((n,r)=>t(n,r))}each(t){for(let n=0;n<this.elements.length;n++){let r=this.elements[n];if(t.call(r,r,n)===!1)break}return this}get(...t){if(!t.length)return this.toArray();let n=Number(t[0]);return this.elements[n<0?this.elements.length+n:n]}toArray(){return this.elements.slice()}add(t,n){return new e(De([...this.elements,...Rt(t,n)]))}slice(t,n){return new e(this.elements.slice(t,n))}text(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.textContent)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))q(a);s.textContent=r}return this}html(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.innerHTML)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))q(a);s.innerHTML=r}return this}val(...t){var r;if(!t.length){let o=this.elements[0];if(!o)return"";let i=o;return o.tagName==="SELECT"&&i.multiple?Array.from(i.selectedOptions).map(s=>s.value):o.type==="checkbox"?o.checked?o.value||"on":"":(r=o.value)!=null?r:""}let n=t[0];for(let o of this.elements){let i=o,s=o;if(i.tagName==="SELECT"&&s.multiple){let a=(Array.isArray(n)?n:[n]).map(String);for(let c of Array.from(s.options))c.selected=a.includes(c.value);continue}if(i.type==="checkbox"||i.type==="radio"){i.checked=Array.isArray(n)?n.map(String).includes(i.value):n===!0||String(n)===i.value;continue}i.value=n==null?"":String(n)}return this}attr(...t){var i,s;let n=t[0];if(n!==null&&typeof n=="object"){for(let a of this.elements)for(let[c,l]of Object.entries(n))l===null||l===!1?a.removeAttribute(c):a.setAttribute(c,l===!0?"":String(l));return this}let r=String(n);if(t.length<2)return(s=(i=this.elements[0])==null?void 0:i.getAttribute(r))!=null?s:void 0;let o=t[1];for(let a of this.elements)o===null||o===!1?a.removeAttribute(r):a.setAttribute(r,o===!0?"":String(o));return this}removeAttr(t){let n=Ct(t);for(let r of this.elements)for(let o of n)r.removeAttribute(o);return this}prop(...t){let n=String(t[0]);if(t.length<2){let r=this.elements[0];return r?r[n]:void 0}for(let r of this.elements)r[n]=t[1];return this}data(...t){let n=t[0];if(!t.length){let i=this.elements[0];if(!i)return{};let s={};for(let[a,c]of Object.entries(i.dataset))s[a]=dc(c);return s}if(n!==null&&typeof n=="object"){for(let i of this.elements)for(let[s,a]of Object.entries(n))i.dataset[fc(s)]=typeof a=="string"?a:JSON.stringify(a!=null?a:null);return this}let r=fc(String(n));if(t.length<2){let i=this.elements[0];return i?dc(i.dataset[r]):void 0}let o=t[1];for(let i of this.elements)i.dataset[r]=typeof o=="string"?o:JSON.stringify(o!=null?o:null);return this}css(...t){let n=t[0];if(n!==null&&typeof n=="object"){for(let o of this.elements)Gd(o,n);return this}let r=String(n);if(t.length<2){let o=this.elements[0];if(!o)return"";let i=yc(r);return((o.isConnected?getComputedStyle(o).getPropertyValue(i):"")||o.style.getPropertyValue(i)).trim()}for(let o of this.elements)Mr(o,r,t[1]);return this}width(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().width:0}for(let n of this.elements)Mr(n,"width",t[0]);return this}height(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().height:0}for(let n of this.elements)Mr(n,"height",t[0]);return this}offset(){let t=this.elements[0];if(!t)return{top:0,left:0};let n=t.getBoundingClientRect();return{top:n.top+window.scrollY,left:n.left+window.scrollX}}position(){let t=this.elements[0];return t?{top:t.offsetTop,left:t.offsetLeft}:{top:0,left:0}}scrollTop(...t){var r,o;if(!t.length)return(o=(r=this.elements[0])==null?void 0:r.scrollTop)!=null?o:0;let n=Number(t[0])||0;for(let i of this.elements)i.scrollTop=n;return this}addClass(t){let n=Ct(t);if(n.length)for(let r of this.elements)r.classList.add(...n);return this}removeClass(t){let n=Ct(t);if(n.length)for(let r of this.elements)r.classList.remove(...n);return this}toggleClass(t,n){let r=Ct(t);for(let o of this.elements)for(let i of r)n===void 0?o.classList.toggle(i):o.classList.toggle(i,n);return this}hasClass(t){let n=Ct(t);return n.length?this.elements.some(r=>n.every(o=>r.classList.contains(o))):!1}insert(t,n){let r=this.elements.length;for(let o=0;o<r;o++){let i=this.elements[o];for(let s of uc(t))n(i,o===r-1?s:s.cloneNode(!0))}return this}append(t){return this.insert(t,(n,r)=>n.appendChild(r))}prepend(t){return this.insert(t,(n,r)=>n.insertBefore(r,n.firstChild))}before(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n)})}after(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n.nextSibling)})}appendTo(t){let n=Rt(t);for(let r=0;r<n.length;r++)for(let o of this.elements)n[r].appendChild(r===n.length-1?o:o.cloneNode(!0));return this}prependTo(t){let n=Rt(t);for(let r=0;r<n.length;r++){let o=n[r],i=this.elements.map(s=>r===n.length-1?s:s.cloneNode(!0));for(let s=i.length-1;s>=0;s--)o.insertBefore(i[s],o.firstChild)}return this}replaceWith(t){for(let n of this.elements){let r=n.parentNode;if(r){for(let o of uc(t))r.insertBefore(o,n);q(n),n.remove()}}return this}wrap(t){var n;for(let r of this.elements){let o=Rt(t)[0];if(!o)continue;let i=o.cloneNode(!0);(n=r.parentNode)==null||n.insertBefore(i,r);let s=i;for(;s.firstElementChild;)s=s.firstElementChild;s.appendChild(r)}return this}unwrap(){let t=new Set;for(let n of this.elements){let r=n.parentElement;r&&r!==document.body&&t.add(r)}for(let n of t){let r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);q(n),n.remove()}}return this}remove(){for(let t of this.elements)q(t),t.remove();return this}empty(){for(let t of this.elements){for(let n of Array.from(t.childNodes))q(n);t.replaceChildren()}return this}clone(t=!0){return new e(this.elements.map(n=>n.cloneNode(t)))}on(t,...n){var a;let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0],s=(a=r?n[2]:n[1])!=null?a:{};if(typeof i!="function")return this;for(let c of this.elements)for(let l of Ct(t)){let u=d=>{if(!o){i.call(c,d);return}let p=d.target,f=p==null?void 0:p.closest(o);!f||!c.contains(f)||i.call(f,d)};c.addEventListener(l,u,s),Jd(c).push({type:l,selector:o,handler:i,wrapped:u,options:s})}return this}off(t,n,r){let o=typeof n=="string"?n:null,i=typeof n=="function"?n:r!=null?r:null,s=t?Ct(t):null;for(let a of this.elements){let c=Cr.get(a);if(!c)continue;let l=[];for(let u of c){let d=!s||s.includes(u.type),p=o===null||u.selector===o,f=i===null||u.handler===i;d&&p&&f?a.removeEventListener(u.type,u.wrapped,u.options):l.push(u)}Cr.set(a,l)}return this}once(t,...n){let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0];if(typeof i!="function")return this;let s=this,a=function(c){return o?s.off(t,o,a):s.off(t,a),i.call(this,c)};return o?this.on(t,o,a):this.on(t,a)}trigger(t,n){for(let r of this.elements){if(n===void 0&&typeof r[t]=="function"){r[t]();continue}let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}emit(t,n){for(let r of this.elements){let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}show(){for(let t of this.elements)mc(t);return this}hide(){for(let t of this.elements)gc(t);return this}toggle(t){for(let n of this.elements)(t===void 0?pc(n):t)?mc(n):gc(n);return this}fadeIn(t=220){for(let n of this.elements)n.removeAttribute("hidden"),nn(n,t);return this}fadeOut(t=220){for(let n of this.elements)rn(n,t);return this}slideUp(t=240){for(let n of this.elements)Mt(n,t);return this}slideDown(t=240){for(let n of this.elements)n.removeAttribute("hidden"),St(n,t);return this}slideToggle(t=240){for(let n of this.elements)pc(n)?(n.removeAttribute("hidden"),St(n,t)):Mt(n,t);return this}animate(t,n=300){for(let r of this.elements)typeof r.animate=="function"&&r.animate(t,n);return this}scrollIntoView(t={behavior:"smooth",block:"start"}){var n;return(n=this.elements[0])==null||n.scrollIntoView(t),this}serialize(){let t=this.elements[0];if(!t)return"";let n=new URLSearchParams;for(let r of hc(t)){if(!Xd(r))continue;let o=r,i=r;if(o.tagName==="SELECT"&&i.multiple){for(let s of Array.from(i.selectedOptions))n.append(o.name,s.value);continue}n.append(o.name,o.value)}return n.toString()}serializeObject(){var r,o,i,s;let t=this.elements[0],n={};if(!t)return n;for(let a of hc(t)){let c=a;if(!c.name||c.disabled)continue;let l=(c.getAttribute("type")||"").toLowerCase();if(l==="submit"||l==="reset"||l==="button")continue;let u=c.name.endsWith("[]"),d=u?c.name.slice(0,-2):c.name,p=a,f;if(l==="checkbox"){if(!c.checked&&!u){n[d]=(r=n[d])!=null?r:!1;continue}if(!c.checked)continue;f=c.value==="on"?!0:c.value}else if(l==="radio"){if(!c.checked)continue;f=c.value}else l==="file"?f=c.multiple?Array.from((o=c.files)!=null?o:[]):(s=(i=c.files)==null?void 0:i[0])!=null?s:null:c.tagName==="SELECT"&&p.multiple?f=Array.from(p.selectedOptions).map(m=>m.value):l==="number"||l==="range"?f=c.value===""?null:Number(c.value):f=c.value;if(u){let m=n[d];Array.isArray(m)?m.push(f):n[d]=[f];continue}if(Object.prototype.hasOwnProperty.call(n,d)){let m=n[d];Array.isArray(m)?m.push(f):m===void 0||m===!1?n[d]=f:n[d]=[m,f];continue}n[d]=f}return n}focus(t){var n;return(n=this.elements[0])==null||n.focus(t),this}blur(){for(let t of this.elements)t.blur();return this}select(){for(let t of this.elements){let n=t;typeof n.select=="function"&&n.select()}return this}walk(t=!1){for(let n of this.elements)t&&q(n),W(n,Ce(n.parentNode));return this}destroy(){for(let t of this.elements)q(t);return this}};function yi(e,t){if(typeof e=="function"){bi(e);let n=typeof document!="undefined"?document.documentElement:null;return new Be(n?[n]:[])}return new Be(Rt(e,t))}function bi(e){return typeof document=="undefined"?Promise.resolve():new Promise(t=>{xa(()=>{try{e==null||e()}catch(n){z(n,"V.ready")}t()})})}function Ec(e){return new Be(hi(e))}re();Z();Te();Te();Z();var wi=new WeakMap;function ut(e,t){var n;return(n=xe(e,`${E.prefix}${t}`))!=null?n:xe(e,`data-v-${t}`)}function Rr(e,t){return rt(e,`${E.prefix}${t}`)||rt(e,`data-v-${t}`)}function j(e,t){let n=wi.get(e);return n&&t in n?n[t]:ut(e,t)}function Hr(e,t,n){var o;let r=(o=wi.get(e))!=null?o:{};r[t]=n,wi.set(e,r)}function $(e){b(e,({el:t,expression:n})=>{Hr(t,e,n)},{priority:P.BIND})}function K(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function qe(e,t,n,r,o){if(!e.trim())return;let i=t.child({$el:n,$event:r!=null?r:null,$detail:o}),s=O(e,i,"directive de UI");return typeof s=="function"?s.call(t.data,o!=null?o:r):s}var Zd=`
138
+ `)}))}function Bd(e){let t=e.tagName;if(t==="FORM")return"submit";if(t==="INPUT"||t==="SELECT"||t==="TEXTAREA"){let n=e.type;return n==="button"||n==="submit"?"click":"change"}return"click"}function qd({el:e,cleanup:t,run:n}){var u,d;let r=D(e,"trigger")||Bd(e),[o,...i]=r.split(/[.\s]+/),s=_((u=D(e,"poll"))!=null?u:void 0,0);if(s>0){n();let p=setInterval(()=>{document.visibilityState==="visible"&&n()},s);t(()=>clearInterval(p));return}if(o==="load"||o==="ready"){n();return}if(o==="visible"||o==="revealed"){if(typeof IntersectionObserver=="undefined"){n();return}let p=new IntersectionObserver(f=>{for(let m of f)m.isIntersecting&&(n(),i.includes("repeat")||p.unobserve(e))},{rootMargin:"80px"});p.observe(e),t(()=>p.disconnect());return}let a=i.includes("once"),c=_((d=D(e,"debounce"))!=null?d:void 0,0),l=p=>{(e.tagName==="FORM"||e.href)&&p.preventDefault(),n(p)};c>0&&(l=be(l,c)),e.addEventListener(o,l,{once:a}),t(()=>e.removeEventListener(o,l))}var zd=[["get","GET"],["post","POST"],["put","PUT"],["patch","PATCH"],["delete","DELETE"]];for(let[e,t]of zd)b(e,({el:n,scope:r,expression:o,cleanup:i})=>{qd({el:n,scope:r,cleanup:i,run:a=>{let c=Pn(o,r);if(!c)return;let l=D(n,"body")||D(n,"data-body"),u=l?O(l,r.child({$event:a}),"v-body"):void 0,d=D(n,"params"),p=d?O(d,r,"v-params"):void 0;Dn({el:n,scope:r,method:t,url:c,body:u,params:p,event:a})}})});function Pn(e,t){let n=e.trim();if(!n)return"";if((/^[./#?]/.test(n)||/^https?:\/\//i.test(n)||/^[\w-]+\/[\w\-/.]*$/.test(n))&&!/[+`'"]|\$\{/.test(n))return n;let o=O(n,t,"URL");return typeof o=="string"?o:n}b("load",({el:e,scope:t,expression:n})=>{let r=Pn(n,t);r&&Dn({el:e,scope:t,method:"GET",url:r})});b("load-visible",({el:e,scope:t,cleanup:n,expression:r})=>{let o=Pn(r,t);if(!o)return;if(typeof IntersectionObserver=="undefined"){Dn({el:e,scope:t,method:"GET",url:o});return}let i=new IntersectionObserver(s=>{for(let a of s)a.isIntersecting&&(i.unobserve(e),Dn({el:e,scope:t,method:"GET",url:o}))},{rootMargin:"120px"});i.observe(e),n(()=>i.disconnect())});b("search",({el:e,scope:t,expression:n,cleanup:r})=>{var d,p;let o=e,i=Pn(n,t),s=D(e,"param")||o.getAttribute("name")||"q",a=_((d=D(e,"debounce"))!=null?d:void 0,300),c=Number((p=D(e,"min-length"))!=null?p:0),l=be(()=>{let f=o.value.trim();f.length<c||Dn({el:e,scope:t,method:"GET",url:i,params:{[s]:f}})},a),u=()=>l();o.addEventListener("input",u),r(()=>{o.removeEventListener("input",u),l.cancel()})});b("resource",({el:e,scope:t,expression:n,cleanup:r})=>{var c,l,u,d;let o=n.indexOf(":"),i=D(e,"as")||"resource",s=n.trim();if(o>-1){let p=n.slice(0,o).trim();/^[A-Za-z_$][\w$]*$/.test(p)&&(i=p,s=n.slice(o+1).trim())}let a=Lr(()=>Pn(s,t),{method:(D(e,"method")||"GET").toUpperCase(),params:()=>D(e,"params")?O(D(e,"params"),t,"v-params"):void 0,cache:_((c=D(e,"cache"))!=null?c:void 0,0)||void 0,retry:Number((l=D(e,"retry"))!=null?l:0),timeout:_((u=D(e,"timeout"))!=null?u:void 0,me.defaults.timeout),jsonPath:D(e,"json-path"),poll:_((d=D(e,"poll"))!=null?d:void 0,0),manual:vi(e,"manual"),onSuccess:p=>on(e,"voodoo:success",{data:p}),onError:(p,f)=>on(e,"voodoo:error",{error:p,message:f})});t.set(i,a),r(()=>a.stop())},{priority:P.DATA});for(let e of["target","swap","trigger","poll","param","params","body","data-body","headers","cache","retry","timeout","as","json-path","template","offline-queue","min-length","scroll-to","manual","debounce","throttle","indicator"])b(e,()=>{},{priority:P.TRANSITION});ua(ha);va(ot);Ta(lc);Ua();var Nn=new Map;function cc(e,t){let n=Nn.get(e);return n||Nn.set(e,n=new Set),n.add(t),()=>n.delete(t)}function Ud(e,t){let n=cc(e,r=>{n(),t(r)});return n}function _d(e,t){let n=Nn.get(e);if(n)for(let r of[...n])try{r(t)}catch(o){z(o,`event "${e}"`)}}function Vd(e,t){var n;if(!t){Nn.delete(e);return}(n=Nn.get(e))==null||n.delete(t)}function lc(e,t){var r,o;let n=typeof t=="function"?{mounted:t,updated:t}:t;b(e,i=>{var u,d;let s,a=!1,c=p=>{var f,m;return{el:i.el,value:p,oldValue:s,arg:i.arg,modifiers:i.modifiers,expression:i.expression,scope:i.scope,instance:(m=(f=i.scope.owner)==null?void 0:f.component)!=null?m:null}},l=n.raw?i.expression:i.evaluate();(u=n.created)==null||u.call(n,i.el,c(l)),(d=n.beforeMount)==null||d.call(n,i.el,c(l)),i.effect(()=>{var m,v;let p=n.raw?i.expression:i.evaluate();if(!a){a=!0,s=p,(m=n.mounted)==null||m.call(n,i.el,c(p));return}if(p===s)return;let f=c(p);(v=n.updated)==null||v.call(n,i.el,f),s=p}),i.cleanup(()=>{var f,m;let p=c(s);(f=n.beforeUnmount)==null||f.call(n,i.el,p),(m=n.unmounted)==null||m.call(n,i.el,p)})},{priority:(r=n.priority)!=null?r:P.DEFAULT,terminal:(o=n.terminal)!=null?o:!1})}function Wd(e){return Object.defineProperties(Fe.data,Object.getOwnPropertyDescriptors(e)),Fe.data}var Kd="0.11.1",Sr={...oi,version:Kd,config:E,reactive:V,ref:bn,shallowRef:Po,computed:wn,effect:Ee,watch:ve,watchEffect:Oo,nextTick:yt,toRaw:ie,markRaw:Ho,unref:No,stop:So,effectScope:Mo,EffectScope:Me,flushSync:To,data:Wd,store:Sa,stores:hr,removeStore:Ma,storeNames:Ca,scope:Fe,component:Wt,components:le,directive:lc,directives:Ye,magic:H,magics:xn,createApp:ka,start:fa,whenReady:mr,whenElement:gr,walk:W,refresh:ma,destroy:q,stopObserving:pa,getScope:zt,findScope:Ce,addCleanup:Ie,parseAttribute:qt,parse:$e,tokenize:ir,evaluate:M,evaluateIn:O,stringify:Ke,clearParseCache:Fs,globals:pe,http:me,request:st,HttpError:ne,resource:Lr,toast:Re,storage:Q,session:Er,cookie:xr,cache:Tr,url:ct,theme:je,clipboard:ui,screen:He,network:At,enter:Rn,leave:Hn,fadeIn:nn,fadeOut:rn,slideUp:Mt,slideDown:St,viewTransition:Ya,injectStyle:G,ensureTokens:se,on:cc,once:Ud,off:Vd,emit:_d,use(e,t){sr(Sr,e,t)},onError(e){ko(e)},instances:fr,Scope:wt,PRIORITY:P,VoodooSyntaxError:U,VoodooRuntimeError:J};Aa(Sr);re();var Yd=new Set(["animation-iteration-count","aspect-ratio","border-image-slice","column-count","flex","flex-grow","flex-shrink","font-weight","grid-area","grid-column","grid-row","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom"]);function yc(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function De(e){return e.length<2?e:Array.from(new Set(e))}function Ct(e){return String(e!=null?e:"").split(/\s+/).filter(Boolean)}function hi(e){if(typeof document=="undefined")return[];let t=document.createElement("template");t.innerHTML=e.trim();let n=[];for(let r of Array.from(t.content.children))n.push(r);return n}function bc(e){return e.length>2&&e.charCodeAt(0)===60&&e.endsWith(">")}function Qd(e){if(e==null)return typeof document=="undefined"?[]:[document];if(e instanceof Be)return e.toArray();if(typeof e=="string")return Rt(e);if(typeof e=="function")return typeof document=="undefined"?[]:[document];let t=Rt(e);return t.length?t:typeof document=="undefined"?[]:[document]}function Rt(e,t){if(e==null)return[];if(typeof e=="string"){let o=e.trim();if(!o)return[];if(bc(o))return hi(o);let i=[];for(let s of Qd(t))try{for(let a of Array.from(s.querySelectorAll(o)))i.push(a)}catch(a){}return De(i)}if(e instanceof Be)return e.toArray();if(typeof e=="function")return[];let n=e;if(typeof n.nodeType=="number"){if(n.nodeType===1)return[n];if(n.nodeType===9){let o=n;return o.documentElement?[o.documentElement]:[]}return n.nodeType===11?Array.from(n.children):[]}let r=e;if(typeof r.length=="number"){let o=[];for(let i=0;i<r.length;i++){let s=r[i];s&&s.nodeType===1&&o.push(s)}return De(o)}return[]}function uc(e){if(e==null)return[];if(typeof e=="string"){let r=e;return bc(r.trim())?hi(r):[document.createTextNode(r)]}if(e instanceof Be)return e.toArray();if(typeof e=="function")return[];let t=e;if(typeof t.nodeType=="number")return[t];let n=e;if(typeof n.length=="number"){let r=[];for(let o=0;o<n.length;o++)n[o]&&r.push(n[o]);return r}return[]}function Mr(e,t,n){let r=yc(t);if(n===null||n===""){e.style.removeProperty(r);return}let o=typeof n=="number"&&!Yd.has(r)&&!r.startsWith("--")?`${n}px`:String(n);e.style.setProperty(r,o)}function Gd(e,t){for(let[n,r]of Object.entries(t))Mr(e,n,r)}function dc(e){if(e===void 0)return;if(e==="")return"";if(e==="true")return!0;if(e==="false")return!1;if(e==="null")return null;if(/^-?\d+(\.\d+)?$/.test(e))return Number(e);let t=e.charCodeAt(0);if(t===123||t===91||t===34)try{return JSON.parse(e)}catch(n){return e}return e}function fc(e){return e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase())}var wc=new WeakMap;function pc(e){return e.hasAttribute("hidden")||e.style.display==="none"?!0:e.isConnected?getComputedStyle(e).display==="none":!1}function mc(e){e.removeAttribute("hidden");let t=wc.get(e);t!==void 0&&t!=="none"?e.style.display=t:e.style.removeProperty("display"),e.isConnected&&getComputedStyle(e).display==="none"&&(e.style.display="block")}function gc(e){let t=e.style.display;t&&t!=="none"&&wc.set(e,t),e.style.display="none"}var vc="input,select,textarea";function hc(e){return e.matches(vc)?[e]:Array.from(e.querySelectorAll(vc))}function Xd(e){let t=e;if(!t.name||t.disabled)return!1;let n=(t.getAttribute("type")||"").toLowerCase();return!(n==="file"||n==="submit"||n==="reset"||n==="button"||(n==="checkbox"||n==="radio")&&!t.checked)}var Cr=new WeakMap;function Jd(e){let t=Cr.get(e);return t||Cr.set(e,t=[]),t}var Be=class e{constructor(t=[]){S(this,"length");S(this,"elements");this.elements=t,this.length=t.length;let n=this;for(let r=0;r<t.length;r++)n[r]=t[r]}[Symbol.iterator](){return this.elements[Symbol.iterator]()}find(t){let n=[];for(let r of this.elements)try{for(let o of Array.from(r.querySelectorAll(t)))n.push(o)}catch(o){}return new e(De(n))}closest(t){let n=[];for(let r of this.elements){let o=r.closest(t);o&&n.push(o)}return new e(De(n))}parent(t){let n=[];for(let r of this.elements){let o=r.parentElement;o&&(!t||o.matches(t))&&n.push(o)}return new e(De(n))}parents(t){let n=[];for(let r of this.elements){let o=r.parentElement;for(;o;)(!t||o.matches(t))&&n.push(o),o=o.parentElement}return new e(De(n))}children(t){let n=[];for(let r of this.elements)for(let o of Array.from(r.children))(!t||o.matches(t))&&n.push(o);return new e(De(n))}siblings(t){let n=[];for(let r of this.elements){let o=r.parentElement;if(o)for(let i of Array.from(o.children))i!==r&&(!t||i.matches(t))&&n.push(i)}return new e(De(n))}next(t){let n=[];for(let r of this.elements){let o=r.nextElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(De(n))}prev(t){let n=[];for(let r of this.elements){let o=r.previousElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(De(n))}first(){return this.eq(0)}last(){return this.eq(-1)}eq(t){let n=t<0?this.elements.length+t:t,r=this.elements[n];return new e(r?[r]:[])}filter(t){let n=this.elements.filter((r,o)=>typeof t=="function"?t(r,o):r.matches(t));return new e(n)}not(t){let n=this.elements.filter((r,o)=>typeof t=="function"?!t(r,o):!r.matches(t));return new e(n)}has(t){let n=this.elements.filter(r=>typeof t=="string"?r.querySelector(t)!==null:r.contains(t));return new e(n)}is(t){return this.elements.some((n,r)=>typeof t=="function"?t(n,r):n.matches(t))}map(t){return this.elements.map((n,r)=>t(n,r))}each(t){for(let n=0;n<this.elements.length;n++){let r=this.elements[n];if(t.call(r,r,n)===!1)break}return this}get(...t){if(!t.length)return this.toArray();let n=Number(t[0]);return this.elements[n<0?this.elements.length+n:n]}toArray(){return this.elements.slice()}add(t,n){return new e(De([...this.elements,...Rt(t,n)]))}slice(t,n){return new e(this.elements.slice(t,n))}text(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.textContent)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))q(a);s.textContent=r}return this}html(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.innerHTML)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))q(a);s.innerHTML=r}return this}val(...t){var r;if(!t.length){let o=this.elements[0];if(!o)return"";let i=o;return o.tagName==="SELECT"&&i.multiple?Array.from(i.selectedOptions).map(s=>s.value):o.type==="checkbox"?o.checked?o.value||"on":"":(r=o.value)!=null?r:""}let n=t[0];for(let o of this.elements){let i=o,s=o;if(i.tagName==="SELECT"&&s.multiple){let a=(Array.isArray(n)?n:[n]).map(String);for(let c of Array.from(s.options))c.selected=a.includes(c.value);continue}if(i.type==="checkbox"||i.type==="radio"){i.checked=Array.isArray(n)?n.map(String).includes(i.value):n===!0||String(n)===i.value;continue}i.value=n==null?"":String(n)}return this}attr(...t){var i,s;let n=t[0];if(n!==null&&typeof n=="object"){for(let a of this.elements)for(let[c,l]of Object.entries(n))l===null||l===!1?a.removeAttribute(c):a.setAttribute(c,l===!0?"":String(l));return this}let r=String(n);if(t.length<2)return(s=(i=this.elements[0])==null?void 0:i.getAttribute(r))!=null?s:void 0;let o=t[1];for(let a of this.elements)o===null||o===!1?a.removeAttribute(r):a.setAttribute(r,o===!0?"":String(o));return this}removeAttr(t){let n=Ct(t);for(let r of this.elements)for(let o of n)r.removeAttribute(o);return this}prop(...t){let n=String(t[0]);if(t.length<2){let r=this.elements[0];return r?r[n]:void 0}for(let r of this.elements)r[n]=t[1];return this}data(...t){let n=t[0];if(!t.length){let i=this.elements[0];if(!i)return{};let s={};for(let[a,c]of Object.entries(i.dataset))s[a]=dc(c);return s}if(n!==null&&typeof n=="object"){for(let i of this.elements)for(let[s,a]of Object.entries(n))i.dataset[fc(s)]=typeof a=="string"?a:JSON.stringify(a!=null?a:null);return this}let r=fc(String(n));if(t.length<2){let i=this.elements[0];return i?dc(i.dataset[r]):void 0}let o=t[1];for(let i of this.elements)i.dataset[r]=typeof o=="string"?o:JSON.stringify(o!=null?o:null);return this}css(...t){let n=t[0];if(n!==null&&typeof n=="object"){for(let o of this.elements)Gd(o,n);return this}let r=String(n);if(t.length<2){let o=this.elements[0];if(!o)return"";let i=yc(r);return((o.isConnected?getComputedStyle(o).getPropertyValue(i):"")||o.style.getPropertyValue(i)).trim()}for(let o of this.elements)Mr(o,r,t[1]);return this}width(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().width:0}for(let n of this.elements)Mr(n,"width",t[0]);return this}height(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().height:0}for(let n of this.elements)Mr(n,"height",t[0]);return this}offset(){let t=this.elements[0];if(!t)return{top:0,left:0};let n=t.getBoundingClientRect();return{top:n.top+window.scrollY,left:n.left+window.scrollX}}position(){let t=this.elements[0];return t?{top:t.offsetTop,left:t.offsetLeft}:{top:0,left:0}}scrollTop(...t){var r,o;if(!t.length)return(o=(r=this.elements[0])==null?void 0:r.scrollTop)!=null?o:0;let n=Number(t[0])||0;for(let i of this.elements)i.scrollTop=n;return this}addClass(t){let n=Ct(t);if(n.length)for(let r of this.elements)r.classList.add(...n);return this}removeClass(t){let n=Ct(t);if(n.length)for(let r of this.elements)r.classList.remove(...n);return this}toggleClass(t,n){let r=Ct(t);for(let o of this.elements)for(let i of r)n===void 0?o.classList.toggle(i):o.classList.toggle(i,n);return this}hasClass(t){let n=Ct(t);return n.length?this.elements.some(r=>n.every(o=>r.classList.contains(o))):!1}insert(t,n){let r=this.elements.length;for(let o=0;o<r;o++){let i=this.elements[o];for(let s of uc(t))n(i,o===r-1?s:s.cloneNode(!0))}return this}append(t){return this.insert(t,(n,r)=>n.appendChild(r))}prepend(t){return this.insert(t,(n,r)=>n.insertBefore(r,n.firstChild))}before(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n)})}after(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n.nextSibling)})}appendTo(t){let n=Rt(t);for(let r=0;r<n.length;r++)for(let o of this.elements)n[r].appendChild(r===n.length-1?o:o.cloneNode(!0));return this}prependTo(t){let n=Rt(t);for(let r=0;r<n.length;r++){let o=n[r],i=this.elements.map(s=>r===n.length-1?s:s.cloneNode(!0));for(let s=i.length-1;s>=0;s--)o.insertBefore(i[s],o.firstChild)}return this}replaceWith(t){for(let n of this.elements){let r=n.parentNode;if(r){for(let o of uc(t))r.insertBefore(o,n);q(n),n.remove()}}return this}wrap(t){var n;for(let r of this.elements){let o=Rt(t)[0];if(!o)continue;let i=o.cloneNode(!0);(n=r.parentNode)==null||n.insertBefore(i,r);let s=i;for(;s.firstElementChild;)s=s.firstElementChild;s.appendChild(r)}return this}unwrap(){let t=new Set;for(let n of this.elements){let r=n.parentElement;r&&r!==document.body&&t.add(r)}for(let n of t){let r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);q(n),n.remove()}}return this}remove(){for(let t of this.elements)q(t),t.remove();return this}empty(){for(let t of this.elements){for(let n of Array.from(t.childNodes))q(n);t.replaceChildren()}return this}clone(t=!0){return new e(this.elements.map(n=>n.cloneNode(t)))}on(t,...n){var a;let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0],s=(a=r?n[2]:n[1])!=null?a:{};if(typeof i!="function")return this;for(let c of this.elements)for(let l of Ct(t)){let u=d=>{if(!o){i.call(c,d);return}let p=d.target,f=p==null?void 0:p.closest(o);!f||!c.contains(f)||i.call(f,d)};c.addEventListener(l,u,s),Jd(c).push({type:l,selector:o,handler:i,wrapped:u,options:s})}return this}off(t,n,r){let o=typeof n=="string"?n:null,i=typeof n=="function"?n:r!=null?r:null,s=t?Ct(t):null;for(let a of this.elements){let c=Cr.get(a);if(!c)continue;let l=[];for(let u of c){let d=!s||s.includes(u.type),p=o===null||u.selector===o,f=i===null||u.handler===i;d&&p&&f?a.removeEventListener(u.type,u.wrapped,u.options):l.push(u)}Cr.set(a,l)}return this}once(t,...n){let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0];if(typeof i!="function")return this;let s=this,a=function(c){return o?s.off(t,o,a):s.off(t,a),i.call(this,c)};return o?this.on(t,o,a):this.on(t,a)}trigger(t,n){for(let r of this.elements){if(n===void 0&&typeof r[t]=="function"){r[t]();continue}let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}emit(t,n){for(let r of this.elements){let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}show(){for(let t of this.elements)mc(t);return this}hide(){for(let t of this.elements)gc(t);return this}toggle(t){for(let n of this.elements)(t===void 0?pc(n):t)?mc(n):gc(n);return this}fadeIn(t=220){for(let n of this.elements)n.removeAttribute("hidden"),nn(n,t);return this}fadeOut(t=220){for(let n of this.elements)rn(n,t);return this}slideUp(t=240){for(let n of this.elements)Mt(n,t);return this}slideDown(t=240){for(let n of this.elements)n.removeAttribute("hidden"),St(n,t);return this}slideToggle(t=240){for(let n of this.elements)pc(n)?(n.removeAttribute("hidden"),St(n,t)):Mt(n,t);return this}animate(t,n=300){for(let r of this.elements)typeof r.animate=="function"&&r.animate(t,n);return this}scrollIntoView(t={behavior:"smooth",block:"start"}){var n;return(n=this.elements[0])==null||n.scrollIntoView(t),this}serialize(){let t=this.elements[0];if(!t)return"";let n=new URLSearchParams;for(let r of hc(t)){if(!Xd(r))continue;let o=r,i=r;if(o.tagName==="SELECT"&&i.multiple){for(let s of Array.from(i.selectedOptions))n.append(o.name,s.value);continue}n.append(o.name,o.value)}return n.toString()}serializeObject(){var r,o,i,s;let t=this.elements[0],n={};if(!t)return n;for(let a of hc(t)){let c=a;if(!c.name||c.disabled)continue;let l=(c.getAttribute("type")||"").toLowerCase();if(l==="submit"||l==="reset"||l==="button")continue;let u=c.name.endsWith("[]"),d=u?c.name.slice(0,-2):c.name,p=a,f;if(l==="checkbox"){if(!c.checked&&!u){n[d]=(r=n[d])!=null?r:!1;continue}if(!c.checked)continue;f=c.value==="on"?!0:c.value}else if(l==="radio"){if(!c.checked)continue;f=c.value}else l==="file"?f=c.multiple?Array.from((o=c.files)!=null?o:[]):(s=(i=c.files)==null?void 0:i[0])!=null?s:null:c.tagName==="SELECT"&&p.multiple?f=Array.from(p.selectedOptions).map(m=>m.value):l==="number"||l==="range"?f=c.value===""?null:Number(c.value):f=c.value;if(u){let m=n[d];Array.isArray(m)?m.push(f):n[d]=[f];continue}if(Object.prototype.hasOwnProperty.call(n,d)){let m=n[d];Array.isArray(m)?m.push(f):m===void 0||m===!1?n[d]=f:n[d]=[m,f];continue}n[d]=f}return n}focus(t){var n;return(n=this.elements[0])==null||n.focus(t),this}blur(){for(let t of this.elements)t.blur();return this}select(){for(let t of this.elements){let n=t;typeof n.select=="function"&&n.select()}return this}walk(t=!1){for(let n of this.elements)t&&q(n),W(n,Ce(n.parentNode));return this}destroy(){for(let t of this.elements)q(t);return this}};function yi(e,t){if(typeof e=="function"){bi(e);let n=typeof document!="undefined"?document.documentElement:null;return new Be(n?[n]:[])}return new Be(Rt(e,t))}function bi(e){return typeof document=="undefined"?Promise.resolve():new Promise(t=>{xa(()=>{try{e==null||e()}catch(n){z(n,"V.ready")}t()})})}function Ec(e){return new Be(hi(e))}re();Z();Te();Te();Z();var wi=new WeakMap;function ut(e,t){var n;return(n=xe(e,`${E.prefix}${t}`))!=null?n:xe(e,`data-v-${t}`)}function Rr(e,t){return rt(e,`${E.prefix}${t}`)||rt(e,`data-v-${t}`)}function j(e,t){let n=wi.get(e);return n&&t in n?n[t]:ut(e,t)}function Hr(e,t,n){var o;let r=(o=wi.get(e))!=null?o:{};r[t]=n,wi.set(e,r)}function $(e){b(e,({el:t,expression:n})=>{Hr(t,e,n)},{priority:P.BIND})}function K(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function qe(e,t,n,r,o){if(!e.trim())return;let i=t.child({$el:n,$event:r!=null?r:null,$detail:o}),s=O(e,i,"directive de UI");return typeof s=="function"?s.call(t.data,o!=null?o:r):s}var Zd=`
139
139
  .v-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
140
140
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
141
141
  `,lt=null;function ke(e){if(typeof document=="undefined")return;G("ui-live",Zd),(!lt||!lt.isConnected)&&(lt=document.createElement("div"),lt.className="v-visually-hidden",lt.setAttribute("role","status"),lt.setAttribute("aria-live","polite"),document.body.appendChild(lt));let t=lt;t.textContent="",setTimeout(()=>{t.textContent=e},40)}function Dr(e,t,n){return ur(e,t).filter(r=>Ut(r,n)===e)}Te();Z();var ef=`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "voodoojs",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Voodoo.js: the HTML-first JavaScript framework. Build reactive applications directly in HTML: fine-grained reactivity, components, HTTP, forms, validation, router and UI. No mandatory build step, no runtime dependencies, no Virtual DOM, no eval.",
5
5
  "keywords": [
6
6
  "javascript",
@@ -1,5 +0,0 @@
1
- export { BASE_TOKENS, ensureTokens, injectStyle } from './chunk-QL2GIGVQ.js';
2
- import './chunk-WIXAZJYS.js';
3
- import './chunk-EYGQD7OP.js';
4
- //# sourceMappingURL=style-ZM3TAT4K.js.map
5
- //# sourceMappingURL=style-ZM3TAT4K.js.map