oksy 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/boot.js +21 -21
  2. package/library.js +1 -1
  3. package/package.json +2 -2
  4. package/public/assets/index.53e319a9.js +75 -0
  5. package/public/assets/index.cad35096.js +75 -0
  6. package/public/assets/index.ef68285e.css +1 -0
  7. package/public/index.html +2 -2
  8. package/types/public/src/Components/Base/File/File.type.d.ts +10 -0
  9. package/types/src/Bootstrap/OrganizeSqlTables.d.ts +1 -1
  10. package/types/src/Bootstrap/ReadFileSystemFilesToTsFiles.d.ts +1 -1
  11. package/types/src/Bootstrap/TsFilesToBlueprint/Blueprint.d.ts +3 -3
  12. package/types/src/Frontend/Controllers/ForgotPasswordController.d.ts +1 -1
  13. package/types/src/Frontend/Controllers/LoginController.d.ts +1 -1
  14. package/types/src/Frontend/Controllers/PageController.d.ts +1 -1
  15. package/types/src/Frontend/Controllers/RegisterController.d.ts +2 -2
  16. package/types/src/Frontend/Controllers/ResetPasswordController.d.ts +2 -2
  17. package/types/src/Frontend/Controllers/ResumeSessionController.d.ts +1 -1
  18. package/types/src/Frontend/FrontendConfig.d.ts +1 -1
  19. package/types/src/Frontend/GoogleIcons.d.ts +1 -1
  20. package/types/src/Frontend/View/Components/Button.d.ts +2 -2
  21. package/types/src/Frontend/View/Components/Container.d.ts +3 -3
  22. package/types/src/Frontend/View/Components/DataTable.d.ts +4 -4
  23. package/types/src/Frontend/View/Components/DateTime.d.ts +2 -2
  24. package/types/src/Frontend/View/Components/File.d.ts +23 -0
  25. package/types/src/Frontend/View/Components/FileUpload.d.ts +3 -3
  26. package/types/src/Frontend/View/Components/FlatOrFunc.d.ts +1 -1
  27. package/types/src/Frontend/View/Components/Input.d.ts +2 -2
  28. package/types/src/Frontend/View/Components/Layout/DarkSidebar.d.ts +4 -4
  29. package/types/src/Frontend/View/Components/Select.d.ts +8 -8
  30. package/types/src/Frontend/View/Components/Text.d.ts +2 -2
  31. package/types/src/Frontend/View/Components/Toggle.d.ts +2 -2
  32. package/types/src/Frontend/View/UI.d.ts +18 -16
  33. package/types/src/Helper/CallStack.d.ts +1 -1
  34. package/types/src/Helper/Seeder.d.ts +1 -1
  35. package/types/src/Helper/UUID.d.ts +1 -0
  36. package/types/src/Mailer/JsToEmail.d.ts +2 -2
  37. package/types/src/ReactiveStore/BaseEntity.d.ts +2 -2
  38. package/types/src/Server/Socket/BaseCommunicator.d.ts +4 -4
  39. package/types/src/Server/Socket/PageManager.d.ts +1 -1
  40. package/types/src/Server/Socket/SessionManager.d.ts +1 -1
  41. package/types/src/library.pub.d.ts +3 -3
  42. package/types/types/config.d.ts +2 -2
  43. package/public/assets/index.75c2a5f4.js +0 -75
  44. package/public/assets/index.bd7a9b66.css +0 -1
  45. package/public/assets/index.cbc0c532.js +0 -75
@@ -1,75 +0,0 @@
1
- var Jm=Object.defineProperty;var Xm=(e,t,n)=>t in e?Jm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var en=(e,t,n)=>(Xm(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function mt(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const ew="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",tw=mt(ew);function Gt(e){if(re(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=xe(s)?hu(s):Gt(s);if(r)for(const o in r)t[o]=r[o]}return t}else{if(xe(e))return e;if(De(e))return e}}const nw=/;(?![^(]*\))/g,sw=/:([^]+)/,ow=/\/\*.*?\*\//gs;function hu(e){const t={};return e.replace(ow,"").split(nw).forEach(n=>{if(n){const s=n.split(sw);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Pe(e){let t="";if(xe(e))t=e;else if(re(e))for(let n=0;n<e.length;n++){const s=Pe(e[n]);s&&(t+=s+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function mu(e){if(!e)return null;let{class:t,style:n}=e;return t&&!xe(t)&&(e.class=Pe(t)),n&&(e.style=Gt(n)),e}const rw="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",iw="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",lw="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",aw=mt(rw),cw=mt(iw),uw=mt(lw),fw="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dw=mt(fw);function wu(e){return!!e||e===""}function pw(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=kn(e[s],t[s]);return n}function kn(e,t){if(e===t)return!0;let n=Da(e),s=Da(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=En(e),s=En(t),n||s)return e===t;if(n=re(e),s=re(t),n||s)return n&&s?pw(e,t):!1;if(n=De(e),s=De(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),u=t.hasOwnProperty(i);if(l&&!u||!l&&u||!kn(e[i],t[i]))return!1}}return String(e)===String(t)}function vr(e,t){return e.findIndex(n=>kn(n,t))}const de=e=>xe(e)?e:e==null?"":re(e)||De(e)&&(e.toString===yu||!me(e.toString))?JSON.stringify(e,gu,2):String(e),gu=(e,t)=>t&&t.__v_isRef?gu(e,t.value):ys(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Xn(t)?{[`Set(${t.size})`]:[...t.values()]}:De(t)&&!re(t)&&!bu(t)?String(t):t,Ne={},gs=[],ct=()=>{},Jo=()=>!1,hw=/^on[^a-z]/,Jn=e=>hw.test(e),al=e=>e.startsWith("onUpdate:"),Me=Object.assign,cl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mw=Object.prototype.hasOwnProperty,Oe=(e,t)=>mw.call(e,t),re=Array.isArray,ys=e=>_o(e)==="[object Map]",Xn=e=>_o(e)==="[object Set]",Da=e=>_o(e)==="[object Date]",me=e=>typeof e=="function",xe=e=>typeof e=="string",En=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",ul=e=>De(e)&&me(e.then)&&me(e.catch),yu=Object.prototype.toString,_o=e=>yu.call(e),ww=e=>_o(e).slice(8,-1),bu=e=>_o(e)==="[object Object]",fl=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Hn=mt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gw=mt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),_r=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yw=/-(\w)/g,et=_r(e=>e.replace(yw,(t,n)=>n?n.toUpperCase():"")),bw=/\B([A-Z])/g,bt=_r(e=>e.replace(bw,"-$1").toLowerCase()),es=_r(e=>e.charAt(0).toUpperCase()+e.slice(1)),bs=_r(e=>e?`on${es(e)}`:""),xs=(e,t)=>!Object.is(e,t),vs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},or=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},un=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fa;const vw=()=>Fa||(Fa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let gt;class dl{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=gt,!t&&gt&&(this.index=(gt.scopes||(gt.scopes=[])).push(this)-1)}run(t){if(this.active){const n=gt;try{return gt=this,t()}finally{gt=n}}}on(){gt=this}off(){gt=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}function _w(e){return new dl(e)}function vu(e,t=gt){t&&t.active&&t.effects.push(e)}function _u(){return gt}function Cu(e){gt&&gt.cleanups.push(e)}const pl=e=>{const t=new Set(e);return t.w=0,t.n=0,t},xu=e=>(e.w&Sn)>0,ku=e=>(e.n&Sn)>0,Cw=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Sn},xw=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];xu(r)&&!ku(r)?r.delete(e):t[n++]=r,r.w&=~Sn,r.n&=~Sn}t.length=n}},Ei=new WeakMap;let zs=0,Sn=1;const Si=30;let Nt;const Vn=Symbol(""),Ti=Symbol("");class Co{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,vu(this,s)}run(){if(!this.active)return this.fn();let t=Nt,n=_n;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Nt,Nt=this,_n=!0,Sn=1<<++zs,zs<=Si?Cw(this):Ha(this),this.fn()}finally{zs<=Si&&xw(this),Sn=1<<--zs,Nt=this.parent,_n=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Nt===this?this.deferStop=!0:this.active&&(Ha(this),this.onStop&&this.onStop(),this.active=!1)}}function Ha(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function kw(e,t){e.effect&&(e=e.effect.fn);const n=new Co(e);t&&(Me(n,t),t.scope&&vu(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function Ew(e){e.effect.stop()}let _n=!0;const Eu=[];function Rs(){Eu.push(_n),_n=!1}function Bs(){const e=Eu.pop();_n=e===void 0?!0:e}function $t(e,t,n){if(_n&&Nt){let s=Ei.get(e);s||Ei.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=pl()),Su(r)}}function Su(e,t){let n=!1;zs<=Si?ku(e)||(e.n|=Sn,n=!xu(e)):n=!e.has(Nt),n&&(e.add(Nt),Nt.deps.push(e))}function fn(e,t,n,s,r,o){const i=Ei.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&re(e)){const u=un(s);i.forEach((f,d)=>{(d==="length"||d>=u)&&l.push(f)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":re(e)?fl(n)&&l.push(i.get("length")):(l.push(i.get(Vn)),ys(e)&&l.push(i.get(Ti)));break;case"delete":re(e)||(l.push(i.get(Vn)),ys(e)&&l.push(i.get(Ti)));break;case"set":ys(e)&&l.push(i.get(Vn));break}if(l.length===1)l[0]&&$i(l[0]);else{const u=[];for(const f of l)f&&u.push(...f);$i(pl(u))}}function $i(e,t){const n=re(e)?e:[...e];for(const s of n)s.computed&&Va(s);for(const s of n)s.computed||Va(s)}function Va(e,t){(e!==Nt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Sw=mt("__proto__,__v_isRef,__isVue"),Tu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(En)),Tw=Cr(),$w=Cr(!1,!0),Pw=Cr(!0),Aw=Cr(!0,!0),ja=Ow();function Ow(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Ae(this);for(let o=0,i=this.length;o<i;o++)$t(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(Ae)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Rs();const s=Ae(this)[t].apply(this,n);return Bs(),s}}),e}function Cr(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?Ru:Mu:t?Iu:Ou).get(s))return s;const i=re(s);if(!e&&i&&Oe(ja,r))return Reflect.get(ja,r,o);const l=Reflect.get(s,r,o);return(En(r)?Tu.has(r):Sw(r))||(e||$t(s,"get",r),t)?l:Qe(l)?i&&fl(r)?l:l.value:De(l)?e?ml(l):ts(l):l}}const Iw=$u(),Mw=$u(!0);function $u(e=!1){return function(n,s,r,o){let i=n[s];if(Wn(i)&&Qe(i)&&!Qe(r))return!1;if(!e&&(!oo(r)&&!Wn(r)&&(i=Ae(i),r=Ae(r)),!re(n)&&Qe(i)&&!Qe(r)))return i.value=r,!0;const l=re(n)&&fl(s)?Number(s)<n.length:Oe(n,s),u=Reflect.set(n,s,r,o);return n===Ae(o)&&(l?xs(r,i)&&fn(n,"set",s,r):fn(n,"add",s,r)),u}}function Rw(e,t){const n=Oe(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&fn(e,"delete",t,void 0),s}function Bw(e,t){const n=Reflect.has(e,t);return(!En(t)||!Tu.has(t))&&$t(e,"has",t),n}function Lw(e){return $t(e,"iterate",re(e)?"length":Vn),Reflect.ownKeys(e)}const Pu={get:Tw,set:Iw,deleteProperty:Rw,has:Bw,ownKeys:Lw},Au={get:Pw,set(e,t){return!0},deleteProperty(e,t){return!0}},Nw=Me({},Pu,{get:$w,set:Mw}),Dw=Me({},Au,{get:Aw}),hl=e=>e,xr=e=>Reflect.getPrototypeOf(e);function Do(e,t,n=!1,s=!1){e=e.__v_raw;const r=Ae(e),o=Ae(t);n||(t!==o&&$t(r,"get",t),$t(r,"get",o));const{has:i}=xr(r),l=s?hl:n?yl:ro;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Fo(e,t=!1){const n=this.__v_raw,s=Ae(n),r=Ae(e);return t||(e!==r&&$t(s,"has",e),$t(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ho(e,t=!1){return e=e.__v_raw,!t&&$t(Ae(e),"iterate",Vn),Reflect.get(e,"size",e)}function Ua(e){e=Ae(e);const t=Ae(this);return xr(t).has.call(t,e)||(t.add(e),fn(t,"add",e,e)),this}function qa(e,t){t=Ae(t);const n=Ae(this),{has:s,get:r}=xr(n);let o=s.call(n,e);o||(e=Ae(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?xs(t,i)&&fn(n,"set",e,t):fn(n,"add",e,t),this}function za(e){const t=Ae(this),{has:n,get:s}=xr(t);let r=n.call(t,e);r||(e=Ae(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&fn(t,"delete",e,void 0),o}function Ka(){const e=Ae(this),t=e.size!==0,n=e.clear();return t&&fn(e,"clear",void 0,void 0),n}function Vo(e,t){return function(s,r){const o=this,i=o.__v_raw,l=Ae(i),u=t?hl:e?yl:ro;return!e&&$t(l,"iterate",Vn),i.forEach((f,d)=>s.call(r,u(f),u(d),o))}}function jo(e,t,n){return function(...s){const r=this.__v_raw,o=Ae(r),i=ys(o),l=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,f=r[e](...s),d=n?hl:t?yl:ro;return!t&&$t(o,"iterate",u?Ti:Vn),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:l?[d(h[0]),d(h[1])]:d(h),done:m}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return e==="delete"?!1:this}}function Fw(){const e={get(o){return Do(this,o)},get size(){return Ho(this)},has:Fo,add:Ua,set:qa,delete:za,clear:Ka,forEach:Vo(!1,!1)},t={get(o){return Do(this,o,!1,!0)},get size(){return Ho(this)},has:Fo,add:Ua,set:qa,delete:za,clear:Ka,forEach:Vo(!1,!0)},n={get(o){return Do(this,o,!0)},get size(){return Ho(this,!0)},has(o){return Fo.call(this,o,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Vo(!0,!1)},s={get(o){return Do(this,o,!0,!0)},get size(){return Ho(this,!0)},has(o){return Fo.call(this,o,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Vo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=jo(o,!1,!1),n[o]=jo(o,!0,!1),t[o]=jo(o,!1,!0),s[o]=jo(o,!0,!0)}),[e,n,t,s]}const[Hw,Vw,jw,Uw]=Fw();function kr(e,t){const n=t?e?Uw:jw:e?Vw:Hw;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Oe(n,r)&&r in s?n:s,r,o)}const qw={get:kr(!1,!1)},zw={get:kr(!1,!0)},Kw={get:kr(!0,!1)},Ww={get:kr(!0,!0)},Ou=new WeakMap,Iu=new WeakMap,Mu=new WeakMap,Ru=new WeakMap;function Yw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qw(e){return e.__v_skip||!Object.isExtensible(e)?0:Yw(ww(e))}function ts(e){return Wn(e)?e:Er(e,!1,Pu,qw,Ou)}function Bu(e){return Er(e,!1,Nw,zw,Iu)}function ml(e){return Er(e,!0,Au,Kw,Mu)}function Zw(e){return Er(e,!0,Dw,Ww,Ru)}function Er(e,t,n,s,r){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Qw(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function jn(e){return Wn(e)?jn(e.__v_raw):!!(e&&e.__v_isReactive)}function Wn(e){return!!(e&&e.__v_isReadonly)}function oo(e){return!!(e&&e.__v_isShallow)}function wl(e){return jn(e)||Wn(e)}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function gl(e){return or(e,"__v_skip",!0),e}const ro=e=>De(e)?ts(e):e,yl=e=>De(e)?ml(e):e;function bl(e){_n&&Nt&&(e=Ae(e),Su(e.dep||(e.dep=pl())))}function Sr(e,t){e=Ae(e),e.dep&&$i(e.dep)}function Qe(e){return!!(e&&e.__v_isRef===!0)}function G(e){return Nu(e,!1)}function Lu(e){return Nu(e,!0)}function Nu(e,t){return Qe(e)?e:new Gw(e,t)}class Gw{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ae(t),this._value=n?t:ro(t)}get value(){return bl(this),this._value}set value(t){const n=this.__v_isShallow||oo(t)||Wn(t);t=n?t:Ae(t),xs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ro(t),Sr(this))}}function Jw(e){Sr(e)}function ie(e){return Qe(e)?e.value:e}const Xw={get:(e,t,n)=>ie(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Qe(r)&&!Qe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function vl(e){return jn(e)?e:new Proxy(e,Xw)}class eg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>bl(this),()=>Sr(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function tg(e){return new eg(e)}function ng(e){const t=re(e)?new Array(e.length):{};for(const n in e)t[n]=Ws(e,n);return t}class sg{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Ws(e,t,n){const s=e[t];return Qe(s)?s:new sg(e,t,n)}var Du;class og{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Du]=!1,this._dirty=!0,this.effect=new Co(t,()=>{this._dirty||(this._dirty=!0,Sr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Ae(this);return bl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Du="__v_isReadonly";function rg(e,t,n=!1){let s,r;const o=me(e);return o?(s=e,r=ct):(s=e.get,r=e.set),new og(s,r,o||!r,n)}function ig(e,...t){}function ln(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){ns(o,t,n)}return r}function kt(e,t,n,s){if(me(e)){const o=ln(e,t,n,s);return o&&ul(o)&&o.catch(i=>{ns(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(kt(e[o],t,n,s));return r}function ns(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const f=o.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,i,l)===!1)return}o=o.parent}const u=t.appContext.config.errorHandler;if(u){ln(u,null,10,[e,i,l]);return}}lg(e,n,r,s)}function lg(e,t,n,s=!0){console.error(e)}let io=!1,Pi=!1;const tt=[];let Kt=0;const _s=[];let on=null,Bn=0;const Fu=Promise.resolve();let _l=null;function ss(e){const t=_l||Fu;return e?t.then(this?e.bind(this):e):t}function ag(e){let t=Kt+1,n=tt.length;for(;t<n;){const s=t+n>>>1;lo(tt[s])<e?t=s+1:n=s}return t}function Tr(e){(!tt.length||!tt.includes(e,io&&e.allowRecurse?Kt+1:Kt))&&(e.id==null?tt.push(e):tt.splice(ag(e.id),0,e),Hu())}function Hu(){!io&&!Pi&&(Pi=!0,_l=Fu.then(Vu))}function cg(e){const t=tt.indexOf(e);t>Kt&&tt.splice(t,1)}function Cl(e){re(e)?_s.push(...e):(!on||!on.includes(e,e.allowRecurse?Bn+1:Bn))&&_s.push(e),Hu()}function Wa(e,t=io?Kt+1:0){for(;t<tt.length;t++){const n=tt[t];n&&n.pre&&(tt.splice(t,1),t--,n())}}function rr(e){if(_s.length){const t=[...new Set(_s)];if(_s.length=0,on){on.push(...t);return}for(on=t,on.sort((n,s)=>lo(n)-lo(s)),Bn=0;Bn<on.length;Bn++)on[Bn]();on=null,Bn=0}}const lo=e=>e.id==null?1/0:e.id,ug=(e,t)=>{const n=lo(e)-lo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vu(e){Pi=!1,io=!0,tt.sort(ug);const t=ct;try{for(Kt=0;Kt<tt.length;Kt++){const n=tt[Kt];n&&n.active!==!1&&ln(n,null,14)}}finally{Kt=0,tt.length=0,rr(),io=!1,_l=null,(tt.length||_s.length)&&Vu()}}let ds,Uo=[];function ju(e,t){var n,s;ds=e,ds?(ds.enabled=!0,Uo.forEach(({event:r,args:o})=>ds.emit(r,...o)),Uo=[]):typeof window<"u"&&window.HTMLElement&&!(!((s=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{ju(o,t)}),setTimeout(()=>{ds||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Uo=[])},3e3)):Uo=[]}function fg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ne;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:m}=s[d]||Ne;m&&(r=n.map(g=>xe(g)?g.trim():g)),h&&(r=n.map(un))}let l,u=s[l=bs(t)]||s[l=bs(et(t))];!u&&o&&(u=s[l=bs(bt(t))]),u&&kt(u,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,kt(f,e,6,r)}}function Uu(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!me(e)){const u=f=>{const d=Uu(f,t,!0);d&&(l=!0,Me(i,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!l?(De(e)&&s.set(e,null),null):(re(o)?o.forEach(u=>i[u]=null):Me(i,o),De(e)&&s.set(e,i),i)}function $r(e,t){return!e||!Jn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Oe(e,t[0].toLowerCase()+t.slice(1))||Oe(e,bt(t))||Oe(e,t))}let Xe=null,Pr=null;function ao(e){const t=Xe;return Xe=e,Pr=e&&e.type.__scopeId||null,t}function qu(e){Pr=e}function zu(){Pr=null}const dg=e=>Et;function Et(e,t=Xe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Li(-1);const o=ao(t);let i;try{i=e(...r)}finally{ao(o),s._d&&Li(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Xo(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:u,emit:f,render:d,renderCache:h,data:m,setupState:g,ctx:v,inheritAttrs:E}=e;let M,x;const b=ao(e);try{if(n.shapeFlag&4){const P=r||s;M=yt(d.call(P,P,h,o,g,m,v)),x=u}else{const P=t;M=yt(P.length>1?P(o,{attrs:u,slots:l,emit:f}):P(o,null)),x=t.props?u:hg(u)}}catch(P){Gs.length=0,ns(P,e,1),M=Ce(ot)}let k=M;if(x&&E!==!1){const P=Object.keys(x),{shapeFlag:T}=k;P.length&&T&7&&(i&&P.some(al)&&(x=mg(x,i)),k=Zt(k,x))}return n.dirs&&(k=Zt(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),M=k,ao(b),M}function pg(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Tn(s)){if(s.type!==ot||s.children==="v-if"){if(t)return;t=s}}else return}return t}const hg=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jn(n))&&((t||(t={}))[n]=e[n]);return t},mg=(e,t)=>{const n={};for(const s in e)(!al(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function wg(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:u}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Ya(s,i,f):!!i;if(u&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const m=d[h];if(i[m]!==s[m]&&!$r(f,m))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Ya(s,i,f):!0:!!i;return!1}function Ya(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!$r(n,o))return!0}return!1}function xl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Ku=e=>e.__isSuspense,gg={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,l,u,f){e==null?bg(t,n,s,r,o,i,l,u,f):vg(e,t,n,s,r,i,l,u,f)},hydrate:_g,create:kl,normalize:Cg},yg=gg;function co(e,t){const n=e.props&&e.props[t];me(n)&&n()}function bg(e,t,n,s,r,o,i,l,u){const{p:f,o:{createElement:d}}=u,h=d("div"),m=e.suspense=kl(e,r,s,t,h,n,o,i,l,u);f(null,m.pendingBranch=e.ssContent,h,null,s,m,o,i),m.deps>0?(co(e,"onPending"),co(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,o,i),Cs(m,e.ssFallback)):m.resolve()}function vg(e,t,n,s,r,o,i,l,{p:u,um:f,o:{createElement:d}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const m=t.ssContent,g=t.ssFallback,{activeBranch:v,pendingBranch:E,isInFallback:M,isHydrating:x}=h;if(E)h.pendingBranch=m,Wt(m,E)?(u(E,m,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0?h.resolve():M&&(u(v,g,n,s,r,null,o,i,l),Cs(h,g))):(h.pendingId++,x?(h.isHydrating=!1,h.activeBranch=E):f(E,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=d("div"),M?(u(null,m,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0?h.resolve():(u(v,g,n,s,r,null,o,i,l),Cs(h,g))):v&&Wt(m,v)?(u(v,m,n,s,r,h,o,i,l),h.resolve(!0)):(u(null,m,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0&&h.resolve()));else if(v&&Wt(m,v))u(v,m,n,s,r,h,o,i,l),Cs(h,m);else if(co(t,"onPending"),h.pendingBranch=m,h.pendingId++,u(null,m,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0)h.resolve();else{const{timeout:b,pendingId:k}=h;b>0?setTimeout(()=>{h.pendingId===k&&h.fallback(g)},b):b===0&&h.fallback(g)}}function kl(e,t,n,s,r,o,i,l,u,f,d=!1){const{p:h,m,um:g,n:v,o:{parentNode:E,remove:M}}=f,x=un(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:r,anchor:o,deps:0,pendingId:0,timeout:typeof x=="number"?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(k=!1){const{vnode:P,activeBranch:T,pendingBranch:A,pendingId:U,effects:$,parentComponent:L,container:N}=b;if(b.isHydrating)b.isHydrating=!1;else if(!k){const H=T&&A.transition&&A.transition.mode==="out-in";H&&(T.transition.afterLeave=()=>{U===b.pendingId&&m(A,N,S,0)});let{anchor:S}=b;T&&(S=v(T),g(T,L,b,!0)),H||m(A,N,S,0)}Cs(b,A),b.pendingBranch=null,b.isInFallback=!1;let K=b.parent,z=!1;for(;K;){if(K.pendingBranch){K.effects.push(...$),z=!0;break}K=K.parent}z||Cl($),b.effects=[],co(P,"onResolve")},fallback(k){if(!b.pendingBranch)return;const{vnode:P,activeBranch:T,parentComponent:A,container:U,isSVG:$}=b;co(P,"onFallback");const L=v(T),N=()=>{!b.isInFallback||(h(null,k,U,L,A,null,$,l,u),Cs(b,k))},K=k.transition&&k.transition.mode==="out-in";K&&(T.transition.afterLeave=N),b.isInFallback=!0,g(T,A,null,!0),K||N()},move(k,P,T){b.activeBranch&&m(b.activeBranch,k,P,T),b.container=k},next(){return b.activeBranch&&v(b.activeBranch)},registerDep(k,P){const T=!!b.pendingBranch;T&&b.deps++;const A=k.vnode.el;k.asyncDep.catch(U=>{ns(U,k,0)}).then(U=>{if(k.isUnmounted||b.isUnmounted||b.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:$}=k;Ni(k,U,!1),A&&($.el=A);const L=!A&&k.subTree.el;P(k,$,E(A||k.subTree.el),A?null:v(k.subTree),b,i,u),L&&M(L),xl(k,$.el),T&&--b.deps===0&&b.resolve()})},unmount(k,P){b.isUnmounted=!0,b.activeBranch&&g(b.activeBranch,n,k,P),b.pendingBranch&&g(b.pendingBranch,n,k,P)}};return b}function _g(e,t,n,s,r,o,i,l,u){const f=t.suspense=kl(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,l,!0),d=u(e,f.pendingBranch=t.ssContent,n,f,o,i);return f.deps===0&&f.resolve(),d}function Cg(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Qa(s?n.default:n),e.ssFallback=s?Qa(n.fallback):Ce(ot)}function Qa(e){let t;if(me(e)){const n=Zn&&e._c;n&&(e._d=!1,I()),e=e(),n&&(e._d=!0,t=pt,Cf())}return re(e)&&(e=pg(e)),e=yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Wu(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):Cl(e)}function Cs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,xl(s,r))}function Ys(e,t){if(Ye){let n=Ye.provides;const s=Ye.parent&&Ye.parent.provides;s===n&&(n=Ye.provides=Object.create(s)),n[e]=t}}function St(e,t,n=!1){const s=Ye||Xe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&me(t)?t.call(s.proxy):t}}function xg(e,t){return xo(e,null,t)}function Yu(e,t){return xo(e,null,{flush:"post"})}function kg(e,t){return xo(e,null,{flush:"sync"})}const qo={};function Ft(e,t,n){return xo(e,t,n)}function xo(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=Ne){const l=Ye;let u,f=!1,d=!1;if(Qe(e)?(u=()=>e.value,f=oo(e)):jn(e)?(u=()=>e,s=!0):re(e)?(d=!0,f=e.some(k=>jn(k)||oo(k)),u=()=>e.map(k=>{if(Qe(k))return k.value;if(jn(k))return Nn(k);if(me(k))return ln(k,l,2)})):me(e)?t?u=()=>ln(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return h&&h(),kt(e,l,3,[m])}:u=ct,t&&s){const k=u;u=()=>Nn(k())}let h,m=k=>{h=x.onStop=()=>{ln(k,l,4)}},g;if(Es)if(m=ct,t?n&&kt(t,l,3,[u(),d?[]:void 0,m]):u(),r==="sync"){const k=Rf();g=k.__watcherHandles||(k.__watcherHandles=[])}else return ct;let v=d?new Array(e.length).fill(qo):qo;const E=()=>{if(!!x.active)if(t){const k=x.run();(s||f||(d?k.some((P,T)=>xs(P,v[T])):xs(k,v)))&&(h&&h(),kt(t,l,3,[k,v===qo?void 0:d&&v[0]===qo?[]:v,m]),v=k)}else x.run()};E.allowRecurse=!!t;let M;r==="sync"?M=E:r==="post"?M=()=>Je(E,l&&l.suspense):(E.pre=!0,l&&(E.id=l.uid),M=()=>Tr(E));const x=new Co(u,M);t?n?E():v=x.run():r==="post"?Je(x.run.bind(x),l&&l.suspense):x.run();const b=()=>{x.stop(),l&&l.scope&&cl(l.scope.effects,x)};return g&&g.push(b),b}function Eg(e,t,n){const s=this.proxy,r=xe(e)?e.includes(".")?Qu(s,e):()=>s[e]:e.bind(s,s);let o;me(t)?o=t:(o=t.handler,n=t);const i=Ye;$n(this);const l=xo(r,o.bind(s),n);return i?$n(i):Cn(),l}function Qu(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Nn(e,t){if(!De(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Qe(e))Nn(e.value,t);else if(re(e))for(let n=0;n<e.length;n++)Nn(e[n],t);else if(Xn(e)||ys(e))e.forEach(n=>{Nn(n,t)});else if(bu(e))for(const n in e)Nn(e[n],t);return e}function El(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jt(()=>{e.isMounted=!0}),Mr(()=>{e.isUnmounting=!0}),e}const Ot=[Function,Array],Sg={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ot,onEnter:Ot,onAfterEnter:Ot,onEnterCancelled:Ot,onBeforeLeave:Ot,onLeave:Ot,onAfterLeave:Ot,onLeaveCancelled:Ot,onBeforeAppear:Ot,onAppear:Ot,onAfterAppear:Ot,onAppearCancelled:Ot},setup(e,{slots:t}){const n=Xt(),s=El();let r;return()=>{const o=t.default&&Ar(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const E of o)if(E.type!==ot){i=E;break}}const l=Ae(e),{mode:u}=l;if(s.isLeaving)return ci(i);const f=Za(i);if(!f)return ci(i);const d=ks(f,l,s,n);Yn(f,d);const h=n.subTree,m=h&&Za(h);let g=!1;const{getTransitionKey:v}=f.type;if(v){const E=v();r===void 0?r=E:E!==r&&(r=E,g=!0)}if(m&&m.type!==ot&&(!Wt(f,m)||g)){const E=ks(m,l,s,n);if(Yn(m,E),u==="out-in")return s.isLeaving=!0,E.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ci(i);u==="in-out"&&f.type!==ot&&(E.delayLeave=(M,x,b)=>{const k=Zu(s,m);k[String(m.key)]=m,M._leaveCb=()=>{x(),M._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=b})}return i}}},Sl=Sg;function Zu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ks(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:f,onEnterCancelled:d,onBeforeLeave:h,onLeave:m,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:E,onAppear:M,onAfterAppear:x,onAppearCancelled:b}=t,k=String(e.key),P=Zu(n,e),T=($,L)=>{$&&kt($,s,9,L)},A=($,L)=>{const N=L[1];T($,L),re($)?$.every(K=>K.length<=1)&&N():$.length<=1&&N()},U={mode:o,persisted:i,beforeEnter($){let L=l;if(!n.isMounted)if(r)L=E||l;else return;$._leaveCb&&$._leaveCb(!0);const N=P[k];N&&Wt(e,N)&&N.el._leaveCb&&N.el._leaveCb(),T(L,[$])},enter($){let L=u,N=f,K=d;if(!n.isMounted)if(r)L=M||u,N=x||f,K=b||d;else return;let z=!1;const H=$._enterCb=S=>{z||(z=!0,S?T(K,[$]):T(N,[$]),U.delayedLeave&&U.delayedLeave(),$._enterCb=void 0)};L?A(L,[$,H]):H()},leave($,L){const N=String(e.key);if($._enterCb&&$._enterCb(!0),n.isUnmounting)return L();T(h,[$]);let K=!1;const z=$._leaveCb=H=>{K||(K=!0,L(),H?T(v,[$]):T(g,[$]),$._leaveCb=void 0,P[N]===e&&delete P[N])};P[N]=e,m?A(m,[$,z]):z()},clone($){return ks($,t,n,s)}};return U}function ci(e){if(ko(e))return e=Zt(e),e.children=null,e}function Za(e){return ko(e)?e.children?e.children[0]:void 0:e}function Yn(e,t){e.shapeFlag&6&&e.component?Yn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ar(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Te?(i.patchFlag&128&&r++,s=s.concat(Ar(i.children,t,l))):(t||i.type!==ot)&&s.push(l!=null?Zt(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function ve(e){return me(e)?{setup:e,name:e.name}:e}const Un=e=>!!e.type.__asyncLoader;function Tg(e){me(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:l}=e;let u=null,f,d=0;const h=()=>(d++,u=null,m()),m=()=>{let g;return u||(g=u=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((E,M)=>{l(v,()=>E(h()),()=>M(v),d+1)});throw v}).then(v=>g!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),f=v,v)))};return ve({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return f},setup(){const g=Ye;if(f)return()=>ui(f,g);const v=b=>{u=null,ns(b,g,13,!s)};if(i&&g.suspense||Es)return m().then(b=>()=>ui(b,g)).catch(b=>(v(b),()=>s?Ce(s,{error:b}):null));const E=G(!1),M=G(),x=G(!!r);return r&&setTimeout(()=>{x.value=!1},r),o!=null&&setTimeout(()=>{if(!E.value&&!M.value){const b=new Error(`Async component timed out after ${o}ms.`);v(b),M.value=b}},o),m().then(()=>{E.value=!0,g.parent&&ko(g.parent.vnode)&&Tr(g.parent.update)}).catch(b=>{v(b),M.value=b}),()=>{if(E.value&&f)return ui(f,g);if(M.value&&s)return Ce(s,{error:M.value});if(n&&!x.value)return Ce(n)}}})}function ui(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=Ce(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ko=e=>e.type.__isKeepAlive,$g={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Xt(),s=n.ctx;if(!s.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const r=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:u,m:f,um:d,o:{createElement:h}}}=s,m=h("div");s.activate=(b,k,P,T,A)=>{const U=b.component;f(b,k,P,0,l),u(U.vnode,b,k,P,U,l,T,b.slotScopeIds,A),Je(()=>{U.isDeactivated=!1,U.a&&vs(U.a);const $=b.props&&b.props.onVnodeMounted;$&&dt($,U.parent,b)},l)},s.deactivate=b=>{const k=b.component;f(b,m,null,1,l),Je(()=>{k.da&&vs(k.da);const P=b.props&&b.props.onVnodeUnmounted;P&&dt(P,k.parent,b),k.isDeactivated=!0},l)};function g(b){fi(b),d(b,n,l,!0)}function v(b){r.forEach((k,P)=>{const T=Fi(k.type);T&&(!b||!b(T))&&E(P)})}function E(b){const k=r.get(b);!i||k.type!==i.type?g(k):i&&fi(i),r.delete(b),o.delete(b)}Ft(()=>[e.include,e.exclude],([b,k])=>{b&&v(P=>Ks(b,P)),k&&v(P=>!Ks(k,P))},{flush:"post",deep:!0});let M=null;const x=()=>{M!=null&&r.set(M,di(n.subTree))};return Jt(x),Ir(x),Mr(()=>{r.forEach(b=>{const{subTree:k,suspense:P}=n,T=di(k);if(b.type===T.type){fi(T);const A=T.component.da;A&&Je(A,P);return}g(b)})}),()=>{if(M=null,!t.default)return null;const b=t.default(),k=b[0];if(b.length>1)return i=null,b;if(!Tn(k)||!(k.shapeFlag&4)&&!(k.shapeFlag&128))return i=null,k;let P=di(k);const T=P.type,A=Fi(Un(P)?P.type.__asyncResolved||{}:T),{include:U,exclude:$,max:L}=e;if(U&&(!A||!Ks(U,A))||$&&A&&Ks($,A))return i=P,k;const N=P.key==null?T:P.key,K=r.get(N);return P.el&&(P=Zt(P),k.shapeFlag&128&&(k.ssContent=P)),M=N,K?(P.el=K.el,P.component=K.component,P.transition&&Yn(P,P.transition),P.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),L&&o.size>parseInt(L,10)&&E(o.values().next().value)),P.shapeFlag|=256,i=P,Ku(k.type)?k:P}}},Pg=$g;function Ks(e,t){return re(e)?e.some(n=>Ks(n,t)):xe(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Gu(e,t){Xu(e,"a",t)}function Ju(e,t){Xu(e,"da",t)}function Xu(e,t,n=Ye){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Or(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ko(r.parent.vnode)&&Ag(s,t,n,r),r=r.parent}}function Ag(e,t,n,s){const r=Or(t,e,s,!0);os(()=>{cl(s[t],r)},n)}function fi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function di(e){return e.shapeFlag&128?e.ssContent:e}function Or(e,t,n=Ye,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Rs(),$n(n);const l=kt(t,n,e,i);return Cn(),Bs(),l});return s?r.unshift(o):r.push(o),o}}const dn=e=>(t,n=Ye)=>(!Es||e==="sp")&&Or(e,(...s)=>t(...s),n),ef=dn("bm"),Jt=dn("m"),tf=dn("bu"),Ir=dn("u"),Mr=dn("bum"),os=dn("um"),nf=dn("sp"),sf=dn("rtg"),of=dn("rtc");function rf(e,t=Ye){Or("ec",e,t)}function Ct(e,t){const n=Xe;if(n===null)return e;const s=Nr(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,u,f=Ne]=t[o];i&&(me(i)&&(i={mounted:i,updated:i}),i.deep&&Nn(l),r.push({dir:i,instance:s,value:l,oldValue:void 0,arg:u,modifiers:f}))}return e}function zt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let u=l.dir[s];u&&(Rs(),kt(u,n,8,[e.el,l,e,t]),Bs())}}const Tl="components",Og="directives";function qn(e,t){return $l(Tl,e,!0,t)||e}const lf=Symbol();function Rr(e){return xe(e)?$l(Tl,e,!1)||e:e||lf}function Ig(e){return $l(Og,e)}function $l(e,t,n=!0,s=!1){const r=Xe||Ye;if(r){const o=r.type;if(e===Tl){const l=Fi(o,!1);if(l&&(l===t||l===et(t)||l===es(et(t))))return o}const i=Ga(r[e]||o[e],t)||Ga(r.appContext[e],t);return!i&&s?o:i}}function Ga(e,t){return e&&(e[t]||e[et(t)]||e[es(et(t))])}function nt(e,t,n,s){let r;const o=n&&n[s];if(re(e)||xe(e)){r=new Array(e.length);for(let i=0,l=e.length;i<l;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(De(e))if(e[Symbol.iterator])r=Array.from(e,(i,l)=>t(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,u=i.length;l<u;l++){const f=i[l];r[l]=t(e[f],f,l,o&&o[l])}}else r=[];return n&&(n[s]=r),r}function Mg(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(re(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function Br(e,t,n={},s,r){if(Xe.isCE||Xe.parent&&Un(Xe.parent)&&Xe.parent.isCE)return t!=="default"&&(n.name=t),Ce("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),I();const i=o&&af(o(n)),l=pe(Te,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function af(e){return e.some(t=>Tn(t)?!(t.type===ot||t.type===Te&&!af(t.children)):!0)?e:null}function cf(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:bs(s)]=e[s];return n}const Ai=e=>e?Tf(e)?Nr(e)||e.proxy:Ai(e.parent):null,Qs=Me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ai(e.parent),$root:e=>Ai(e.root),$emit:e=>e.emit,$options:e=>Pl(e),$forceUpdate:e=>e.f||(e.f=()=>Tr(e.update)),$nextTick:e=>e.n||(e.n=ss.bind(e.proxy)),$watch:e=>Eg.bind(e)}),pi=(e,t)=>e!==Ne&&!e.__isScriptSetup&&Oe(e,t),Oi={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:u}=e;let f;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(pi(s,t))return i[t]=1,s[t];if(r!==Ne&&Oe(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&Oe(f,t))return i[t]=3,o[t];if(n!==Ne&&Oe(n,t))return i[t]=4,n[t];Ii&&(i[t]=0)}}const d=Qs[t];let h,m;if(d)return t==="$attrs"&&$t(e,"get",t),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Ne&&Oe(n,t))return i[t]=4,n[t];if(m=u.config.globalProperties,Oe(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return pi(r,t)?(r[t]=n,!0):s!==Ne&&Oe(s,t)?(s[t]=n,!0):Oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==Ne&&Oe(e,i)||pi(t,i)||(l=o[0])&&Oe(l,i)||Oe(s,i)||Oe(Qs,i)||Oe(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Rg=Me({},Oi,{get(e,t){if(t!==Symbol.unscopables)return Oi.get(e,t,e)},has(e,t){return t[0]!=="_"&&!tw(t)}});let Ii=!0;function Bg(e){const t=Pl(e),n=e.proxy,s=e.ctx;Ii=!1,t.beforeCreate&&Ja(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:u,inject:f,created:d,beforeMount:h,mounted:m,beforeUpdate:g,updated:v,activated:E,deactivated:M,beforeDestroy:x,beforeUnmount:b,destroyed:k,unmounted:P,render:T,renderTracked:A,renderTriggered:U,errorCaptured:$,serverPrefetch:L,expose:N,inheritAttrs:K,components:z,directives:H,filters:S}=t;if(f&&Lg(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const q in i){const X=i[q];me(X)&&(s[q]=X.bind(n))}if(r){const q=r.call(n,n);De(q)&&(e.data=ts(q))}if(Ii=!0,o)for(const q in o){const X=o[q],ce=me(X)?X.bind(n,n):me(X.get)?X.get.bind(n,n):ct,ke=!me(X)&&me(X.set)?X.set.bind(n):ct,$e=Ve({get:ce,set:ke});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>$e.value,set:_e=>$e.value=_e})}if(l)for(const q in l)uf(l[q],s,n,q);if(u){const q=me(u)?u.call(n):u;Reflect.ownKeys(q).forEach(X=>{Ys(X,q[X])})}d&&Ja(d,e,"c");function J(q,X){re(X)?X.forEach(ce=>q(ce.bind(n))):X&&q(X.bind(n))}if(J(ef,h),J(Jt,m),J(tf,g),J(Ir,v),J(Gu,E),J(Ju,M),J(rf,$),J(of,A),J(sf,U),J(Mr,b),J(os,P),J(nf,L),re(N))if(N.length){const q=e.exposed||(e.exposed={});N.forEach(X=>{Object.defineProperty(q,X,{get:()=>n[X],set:ce=>n[X]=ce})})}else e.exposed||(e.exposed={});T&&e.render===ct&&(e.render=T),K!=null&&(e.inheritAttrs=K),z&&(e.components=z),H&&(e.directives=H)}function Lg(e,t,n=ct,s=!1){re(e)&&(e=Mi(e));for(const r in e){const o=e[r];let i;De(o)?"default"in o?i=St(o.from||r,o.default,!0):i=St(o.from||r):i=St(o),Qe(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Ja(e,t,n){kt(re(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function uf(e,t,n,s){const r=s.includes(".")?Qu(n,s):()=>n[s];if(xe(e)){const o=t[e];me(o)&&Ft(r,o)}else if(me(e))Ft(r,e.bind(n));else if(De(e))if(re(e))e.forEach(o=>uf(o,t,n,s));else{const o=me(e.handler)?e.handler.bind(n):t[e.handler];me(o)&&Ft(r,o,e)}}function Pl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let u;return l?u=l:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(f=>ir(u,f,i,!0)),ir(u,t,i)),De(t)&&o.set(t,u),u}function ir(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ir(e,o,n,!0),r&&r.forEach(i=>ir(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ng[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ng={data:Xa,props:Rn,emits:Rn,methods:Rn,computed:Rn,beforeCreate:at,created:at,beforeMount:at,mounted:at,beforeUpdate:at,updated:at,beforeDestroy:at,beforeUnmount:at,destroyed:at,unmounted:at,activated:at,deactivated:at,errorCaptured:at,serverPrefetch:at,components:Rn,directives:Rn,watch:Fg,provide:Xa,inject:Dg};function Xa(e,t){return t?e?function(){return Me(me(e)?e.call(this,this):e,me(t)?t.call(this,this):t)}:t:e}function Dg(e,t){return Rn(Mi(e),Mi(t))}function Mi(e){if(re(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function at(e,t){return e?[...new Set([].concat(e,t))]:t}function Rn(e,t){return e?Me(Me(Object.create(null),e),t):t}function Fg(e,t){if(!e)return t;if(!t)return e;const n=Me(Object.create(null),e);for(const s in t)n[s]=at(e[s],t[s]);return n}function Hg(e,t,n,s=!1){const r={},o={};or(o,Lr,1),e.propsDefaults=Object.create(null),ff(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Bu(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Vg(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=Ae(r),[u]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let m=d[h];if($r(e.emitsOptions,m))continue;const g=t[m];if(u)if(Oe(o,m))g!==o[m]&&(o[m]=g,f=!0);else{const v=et(m);r[v]=Ri(u,l,v,g,e,!1)}else g!==o[m]&&(o[m]=g,f=!0)}}}else{ff(e,t,r,o)&&(f=!0);let d;for(const h in l)(!t||!Oe(t,h)&&((d=bt(h))===h||!Oe(t,d)))&&(u?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Ri(u,l,h,void 0,e,!0)):delete r[h]);if(o!==l)for(const h in o)(!t||!Oe(t,h)&&!0)&&(delete o[h],f=!0)}f&&fn(e,"set","$attrs")}function ff(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let u in t){if(Hn(u))continue;const f=t[u];let d;r&&Oe(r,d=et(u))?!o||!o.includes(d)?n[d]=f:(l||(l={}))[d]=f:$r(e.emitsOptions,u)||(!(u in s)||f!==s[u])&&(s[u]=f,i=!0)}if(o){const u=Ae(n),f=l||Ne;for(let d=0;d<o.length;d++){const h=o[d];n[h]=Ri(r,u,h,f[h],e,!Oe(f,h))}}return i}function Ri(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=Oe(i,"default");if(l&&s===void 0){const u=i.default;if(i.type!==Function&&me(u)){const{propsDefaults:f}=r;n in f?s=f[n]:($n(r),s=f[n]=u.call(null,t),Cn())}else s=u}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===bt(n))&&(s=!0))}return s}function df(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let u=!1;if(!me(e)){const d=h=>{u=!0;const[m,g]=df(h,t,!0);Me(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!u)return De(e)&&s.set(e,gs),gs;if(re(o))for(let d=0;d<o.length;d++){const h=et(o[d]);ec(h)&&(i[h]=Ne)}else if(o)for(const d in o){const h=et(d);if(ec(h)){const m=o[d],g=i[h]=re(m)||me(m)?{type:m}:Object.assign({},m);if(g){const v=sc(Boolean,g.type),E=sc(String,g.type);g[0]=v>-1,g[1]=E<0||v<E,(v>-1||Oe(g,"default"))&&l.push(h)}}}const f=[i,l];return De(e)&&s.set(e,f),f}function ec(e){return e[0]!=="$"}function tc(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function nc(e,t){return tc(e)===tc(t)}function sc(e,t){return re(t)?t.findIndex(n=>nc(n,e)):me(t)&&nc(t,e)?0:-1}const pf=e=>e[0]==="_"||e==="$stable",Al=e=>re(e)?e.map(yt):[yt(e)],jg=(e,t,n)=>{if(t._n)return t;const s=Et((...r)=>Al(t(...r)),n);return s._c=!1,s},hf=(e,t,n)=>{const s=e._ctx;for(const r in e){if(pf(r))continue;const o=e[r];if(me(o))t[r]=jg(r,o,s);else if(o!=null){const i=Al(o);t[r]=()=>i}}},mf=(e,t)=>{const n=Al(t);e.slots.default=()=>n},Ug=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ae(t),or(t,"_",n)):hf(t,e.slots={})}else e.slots={},t&&mf(e,t);or(e.slots,Lr,1)},qg=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=Ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Me(r,t),!n&&l===1&&delete r._):(o=!t.$stable,hf(t,r)),i=t}else t&&(mf(e,t),i={default:1});if(o)for(const l in r)!pf(l)&&!(l in i)&&delete r[l]};function wf(){return{app:null,config:{isNativeTag:Jo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let zg=0;function Kg(e,t){return function(s,r=null){me(s)||(s=Object.assign({},s)),r!=null&&!De(r)&&(r=null);const o=wf(),i=new Set;let l=!1;const u=o.app={_uid:zg++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Lf,get config(){return o.config},set config(f){},use(f,...d){return i.has(f)||(f&&me(f.install)?(i.add(f),f.install(u,...d)):me(f)&&(i.add(f),f(u,...d))),u},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),u},component(f,d){return d?(o.components[f]=d,u):o.components[f]},directive(f,d){return d?(o.directives[f]=d,u):o.directives[f]},mount(f,d,h){if(!l){const m=Ce(s,r);return m.appContext=o,d&&t?t(m,f):e(m,f,h),l=!0,u._container=f,f.__vue_app__=u,Nr(m.component)||m.component.proxy}},unmount(){l&&(e(null,u._container),delete u._container.__vue_app__)},provide(f,d){return o.provides[f]=d,u}};return u}}function lr(e,t,n,s,r=!1){if(re(e)){e.forEach((m,g)=>lr(m,t&&(re(t)?t[g]:t),n,s,r));return}if(Un(s)&&!r)return;const o=s.shapeFlag&4?Nr(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:u}=e,f=t&&t.r,d=l.refs===Ne?l.refs={}:l.refs,h=l.setupState;if(f!=null&&f!==u&&(xe(f)?(d[f]=null,Oe(h,f)&&(h[f]=null)):Qe(f)&&(f.value=null)),me(u))ln(u,l,12,[i,d]);else{const m=xe(u),g=Qe(u);if(m||g){const v=()=>{if(e.f){const E=m?Oe(h,u)?h[u]:d[u]:u.value;r?re(E)&&cl(E,o):re(E)?E.includes(o)||E.push(o):m?(d[u]=[o],Oe(h,u)&&(h[u]=d[u])):(u.value=[o],e.k&&(d[e.k]=u.value))}else m?(d[u]=i,Oe(h,u)&&(h[u]=i)):g&&(u.value=i,e.k&&(d[e.k]=i))};i?(v.id=-1,Je(v,n)):v()}}}let mn=!1;const zo=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Ko=e=>e.nodeType===8;function Wg(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:l,insert:u,createComment:f}}=e,d=(x,b)=>{if(!b.hasChildNodes()){n(null,x,b),rr(),b._vnode=x;return}mn=!1,h(b.firstChild,x,null,null,null),rr(),b._vnode=x,mn&&console.error("Hydration completed but contains mismatches.")},h=(x,b,k,P,T,A=!1)=>{const U=Ko(x)&&x.data==="[",$=()=>E(x,b,k,P,T,U),{type:L,ref:N,shapeFlag:K,patchFlag:z}=b;let H=x.nodeType;b.el=x,z===-2&&(A=!1,b.dynamicChildren=null);let S=null;switch(L){case Qn:H!==3?b.children===""?(u(b.el=r(""),i(x),x),S=x):S=$():(x.data!==b.children&&(mn=!0,x.data=b.children),S=o(x));break;case ot:H!==8||U?S=$():S=o(x);break;case zn:if(U&&(x=o(x),H=x.nodeType),H===1||H===3){S=x;const V=!b.children.length;for(let J=0;J<b.staticCount;J++)V&&(b.children+=S.nodeType===1?S.outerHTML:S.data),J===b.staticCount-1&&(b.anchor=S),S=o(S);return U?o(S):S}else $();break;case Te:U?S=v(x,b,k,P,T,A):S=$();break;default:if(K&1)H!==1||b.type.toLowerCase()!==x.tagName.toLowerCase()?S=$():S=m(x,b,k,P,T,A);else if(K&6){b.slotScopeIds=T;const V=i(x);if(t(b,V,null,k,P,zo(V),A),S=U?M(x):o(x),S&&Ko(S)&&S.data==="teleport end"&&(S=o(S)),Un(b)){let J;U?(J=Ce(Te),J.anchor=S?S.previousSibling:V.lastChild):J=x.nodeType===3?We(""):Ce("div"),J.el=x,b.component.subTree=J}}else K&64?H!==8?S=$():S=b.type.hydrate(x,b,k,P,T,A,e,g):K&128&&(S=b.type.hydrate(x,b,k,P,zo(i(x)),T,A,e,h))}return N!=null&&lr(N,null,P,b),S},m=(x,b,k,P,T,A)=>{A=A||!!b.dynamicChildren;const{type:U,props:$,patchFlag:L,shapeFlag:N,dirs:K}=b,z=U==="input"&&K||U==="option";if(z||L!==-1){if(K&&zt(b,null,k,"created"),$)if(z||!A||L&48)for(const S in $)(z&&S.endsWith("value")||Jn(S)&&!Hn(S))&&s(x,S,null,$[S],!1,void 0,k);else $.onClick&&s(x,"onClick",null,$.onClick,!1,void 0,k);let H;if((H=$&&$.onVnodeBeforeMount)&&dt(H,k,b),K&&zt(b,null,k,"beforeMount"),((H=$&&$.onVnodeMounted)||K)&&Wu(()=>{H&&dt(H,k,b),K&&zt(b,null,k,"mounted")},P),N&16&&!($&&($.innerHTML||$.textContent))){let S=g(x.firstChild,b,x,k,P,T,A);for(;S;){mn=!0;const V=S;S=S.nextSibling,l(V)}}else N&8&&x.textContent!==b.children&&(mn=!0,x.textContent=b.children)}return x.nextSibling},g=(x,b,k,P,T,A,U)=>{U=U||!!b.dynamicChildren;const $=b.children,L=$.length;for(let N=0;N<L;N++){const K=U?$[N]:$[N]=yt($[N]);if(x)x=h(x,K,P,T,A,U);else{if(K.type===Qn&&!K.children)continue;mn=!0,n(null,K,k,null,P,T,zo(k),A)}}return x},v=(x,b,k,P,T,A)=>{const{slotScopeIds:U}=b;U&&(T=T?T.concat(U):U);const $=i(x),L=g(o(x),b,$,k,P,T,A);return L&&Ko(L)&&L.data==="]"?o(b.anchor=L):(mn=!0,u(b.anchor=f("]"),$,L),L)},E=(x,b,k,P,T,A)=>{if(mn=!0,b.el=null,A){const L=M(x);for(;;){const N=o(x);if(N&&N!==L)l(N);else break}}const U=o(x),$=i(x);return l(x),n(null,b,$,U,k,P,zo($),T),U},M=x=>{let b=0;for(;x;)if(x=o(x),x&&Ko(x)&&(x.data==="["&&b++,x.data==="]")){if(b===0)return o(x);b--}return x};return[d,h]}const Je=Wu;function gf(e){return bf(e)}function yf(e){return bf(e,Wg)}function bf(e,t){const n=vw();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:u,setText:f,setElementText:d,parentNode:h,nextSibling:m,setScopeId:g=ct,insertStaticContent:v}=e,E=(w,_,R,F=null,O=null,Y=null,te=!1,Q=null,W=!!_.dynamicChildren)=>{if(w===_)return;w&&!Wt(w,_)&&(F=ee(w),_e(w,O,Y,!0),w=null),_.patchFlag===-2&&(W=!1,_.dynamicChildren=null);const{type:j,ref:fe,shapeFlag:le}=_;switch(j){case Qn:M(w,_,R,F);break;case ot:x(w,_,R,F);break;case zn:w==null&&b(_,R,F,te);break;case Te:z(w,_,R,F,O,Y,te,Q,W);break;default:le&1?T(w,_,R,F,O,Y,te,Q,W):le&6?H(w,_,R,F,O,Y,te,Q,W):(le&64||le&128)&&j.process(w,_,R,F,O,Y,te,Q,W,ue)}fe!=null&&O&&lr(fe,w&&w.ref,Y,_||w,!_)},M=(w,_,R,F)=>{if(w==null)s(_.el=l(_.children),R,F);else{const O=_.el=w.el;_.children!==w.children&&f(O,_.children)}},x=(w,_,R,F)=>{w==null?s(_.el=u(_.children||""),R,F):_.el=w.el},b=(w,_,R,F)=>{[w.el,w.anchor]=v(w.children,_,R,F,w.el,w.anchor)},k=({el:w,anchor:_},R,F)=>{let O;for(;w&&w!==_;)O=m(w),s(w,R,F),w=O;s(_,R,F)},P=({el:w,anchor:_})=>{let R;for(;w&&w!==_;)R=m(w),r(w),w=R;r(_)},T=(w,_,R,F,O,Y,te,Q,W)=>{te=te||_.type==="svg",w==null?A(_,R,F,O,Y,te,Q,W):L(w,_,O,Y,te,Q,W)},A=(w,_,R,F,O,Y,te,Q)=>{let W,j;const{type:fe,props:le,shapeFlag:oe,transition:he,dirs:Ee}=w;if(W=w.el=i(w.type,Y,le&&le.is,le),oe&8?d(W,w.children):oe&16&&$(w.children,W,null,F,O,Y&&fe!=="foreignObject",te,Q),Ee&&zt(w,null,F,"created"),le){for(const Ie in le)Ie!=="value"&&!Hn(Ie)&&o(W,Ie,null,le[Ie],Y,w.children,F,O,ne);"value"in le&&o(W,"value",null,le.value),(j=le.onVnodeBeforeMount)&&dt(j,F,w)}U(W,w,w.scopeId,te,F),Ee&&zt(w,null,F,"beforeMount");const Re=(!O||O&&!O.pendingBranch)&&he&&!he.persisted;Re&&he.beforeEnter(W),s(W,_,R),((j=le&&le.onVnodeMounted)||Re||Ee)&&Je(()=>{j&&dt(j,F,w),Re&&he.enter(W),Ee&&zt(w,null,F,"mounted")},O)},U=(w,_,R,F,O)=>{if(R&&g(w,R),F)for(let Y=0;Y<F.length;Y++)g(w,F[Y]);if(O){let Y=O.subTree;if(_===Y){const te=O.vnode;U(w,te,te.scopeId,te.slotScopeIds,O.parent)}}},$=(w,_,R,F,O,Y,te,Q,W=0)=>{for(let j=W;j<w.length;j++){const fe=w[j]=Q?bn(w[j]):yt(w[j]);E(null,fe,_,R,F,O,Y,te,Q)}},L=(w,_,R,F,O,Y,te)=>{const Q=_.el=w.el;let{patchFlag:W,dynamicChildren:j,dirs:fe}=_;W|=w.patchFlag&16;const le=w.props||Ne,oe=_.props||Ne;let he;R&&In(R,!1),(he=oe.onVnodeBeforeUpdate)&&dt(he,R,_,w),fe&&zt(_,w,R,"beforeUpdate"),R&&In(R,!0);const Ee=O&&_.type!=="foreignObject";if(j?N(w.dynamicChildren,j,Q,R,F,Ee,Y):te||X(w,_,Q,null,R,F,Ee,Y,!1),W>0){if(W&16)K(Q,_,le,oe,R,F,O);else if(W&2&&le.class!==oe.class&&o(Q,"class",null,oe.class,O),W&4&&o(Q,"style",le.style,oe.style,O),W&8){const Re=_.dynamicProps;for(let Ie=0;Ie<Re.length;Ie++){const Ue=Re[Ie],wt=le[Ue],ge=oe[Ue];(ge!==wt||Ue==="value")&&o(Q,Ue,wt,ge,O,w.children,R,F,ne)}}W&1&&w.children!==_.children&&d(Q,_.children)}else!te&&j==null&&K(Q,_,le,oe,R,F,O);((he=oe.onVnodeUpdated)||fe)&&Je(()=>{he&&dt(he,R,_,w),fe&&zt(_,w,R,"updated")},F)},N=(w,_,R,F,O,Y,te)=>{for(let Q=0;Q<_.length;Q++){const W=w[Q],j=_[Q],fe=W.el&&(W.type===Te||!Wt(W,j)||W.shapeFlag&70)?h(W.el):R;E(W,j,fe,null,F,O,Y,te,!0)}},K=(w,_,R,F,O,Y,te)=>{if(R!==F){if(R!==Ne)for(const Q in R)!Hn(Q)&&!(Q in F)&&o(w,Q,R[Q],null,te,_.children,O,Y,ne);for(const Q in F){if(Hn(Q))continue;const W=F[Q],j=R[Q];W!==j&&Q!=="value"&&o(w,Q,j,W,te,_.children,O,Y,ne)}"value"in F&&o(w,"value",R.value,F.value)}},z=(w,_,R,F,O,Y,te,Q,W)=>{const j=_.el=w?w.el:l(""),fe=_.anchor=w?w.anchor:l("");let{patchFlag:le,dynamicChildren:oe,slotScopeIds:he}=_;he&&(Q=Q?Q.concat(he):he),w==null?(s(j,R,F),s(fe,R,F),$(_.children,R,fe,O,Y,te,Q,W)):le>0&&le&64&&oe&&w.dynamicChildren?(N(w.dynamicChildren,oe,R,O,Y,te,Q),(_.key!=null||O&&_===O.subTree)&&Ol(w,_,!0)):X(w,_,R,fe,O,Y,te,Q,W)},H=(w,_,R,F,O,Y,te,Q,W)=>{_.slotScopeIds=Q,w==null?_.shapeFlag&512?O.ctx.activate(_,R,F,te,W):S(_,R,F,O,Y,te,W):V(w,_,W)},S=(w,_,R,F,O,Y,te)=>{const Q=w.component=Sf(w,F,O);if(ko(w)&&(Q.ctx.renderer=ue),$f(Q),Q.asyncDep){if(O&&O.registerDep(Q,J),!w.el){const W=Q.subTree=Ce(ot);x(null,W,_,R)}return}J(Q,w,_,R,O,Y,te)},V=(w,_,R)=>{const F=_.component=w.component;if(wg(w,_,R))if(F.asyncDep&&!F.asyncResolved){q(F,_,R);return}else F.next=_,cg(F.update),F.update();else _.el=w.el,F.vnode=_},J=(w,_,R,F,O,Y,te)=>{const Q=()=>{if(w.isMounted){let{next:fe,bu:le,u:oe,parent:he,vnode:Ee}=w,Re=fe,Ie;In(w,!1),fe?(fe.el=Ee.el,q(w,fe,te)):fe=Ee,le&&vs(le),(Ie=fe.props&&fe.props.onVnodeBeforeUpdate)&&dt(Ie,he,fe,Ee),In(w,!0);const Ue=Xo(w),wt=w.subTree;w.subTree=Ue,E(wt,Ue,h(wt.el),ee(wt),w,O,Y),fe.el=Ue.el,Re===null&&xl(w,Ue.el),oe&&Je(oe,O),(Ie=fe.props&&fe.props.onVnodeUpdated)&&Je(()=>dt(Ie,he,fe,Ee),O)}else{let fe;const{el:le,props:oe}=_,{bm:he,m:Ee,parent:Re}=w,Ie=Un(_);if(In(w,!1),he&&vs(he),!Ie&&(fe=oe&&oe.onVnodeBeforeMount)&&dt(fe,Re,_),In(w,!0),le&&we){const Ue=()=>{w.subTree=Xo(w),we(le,w.subTree,w,O,null)};Ie?_.type.__asyncLoader().then(()=>!w.isUnmounted&&Ue()):Ue()}else{const Ue=w.subTree=Xo(w);E(null,Ue,R,F,w,O,Y),_.el=Ue.el}if(Ee&&Je(Ee,O),!Ie&&(fe=oe&&oe.onVnodeMounted)){const Ue=_;Je(()=>dt(fe,Re,Ue),O)}(_.shapeFlag&256||Re&&Un(Re.vnode)&&Re.vnode.shapeFlag&256)&&w.a&&Je(w.a,O),w.isMounted=!0,_=R=F=null}},W=w.effect=new Co(Q,()=>Tr(j),w.scope),j=w.update=()=>W.run();j.id=w.uid,In(w,!0),j()},q=(w,_,R)=>{_.component=w;const F=w.vnode.props;w.vnode=_,w.next=null,Vg(w,_.props,F,R),qg(w,_.children,R),Rs(),Wa(),Bs()},X=(w,_,R,F,O,Y,te,Q,W=!1)=>{const j=w&&w.children,fe=w?w.shapeFlag:0,le=_.children,{patchFlag:oe,shapeFlag:he}=_;if(oe>0){if(oe&128){ke(j,le,R,F,O,Y,te,Q,W);return}else if(oe&256){ce(j,le,R,F,O,Y,te,Q,W);return}}he&8?(fe&16&&ne(j,O,Y),le!==j&&d(R,le)):fe&16?he&16?ke(j,le,R,F,O,Y,te,Q,W):ne(j,O,Y,!0):(fe&8&&d(R,""),he&16&&$(le,R,F,O,Y,te,Q,W))},ce=(w,_,R,F,O,Y,te,Q,W)=>{w=w||gs,_=_||gs;const j=w.length,fe=_.length,le=Math.min(j,fe);let oe;for(oe=0;oe<le;oe++){const he=_[oe]=W?bn(_[oe]):yt(_[oe]);E(w[oe],he,R,null,O,Y,te,Q,W)}j>fe?ne(w,O,Y,!0,!1,le):$(_,R,F,O,Y,te,Q,W,le)},ke=(w,_,R,F,O,Y,te,Q,W)=>{let j=0;const fe=_.length;let le=w.length-1,oe=fe-1;for(;j<=le&&j<=oe;){const he=w[j],Ee=_[j]=W?bn(_[j]):yt(_[j]);if(Wt(he,Ee))E(he,Ee,R,null,O,Y,te,Q,W);else break;j++}for(;j<=le&&j<=oe;){const he=w[le],Ee=_[oe]=W?bn(_[oe]):yt(_[oe]);if(Wt(he,Ee))E(he,Ee,R,null,O,Y,te,Q,W);else break;le--,oe--}if(j>le){if(j<=oe){const he=oe+1,Ee=he<fe?_[he].el:F;for(;j<=oe;)E(null,_[j]=W?bn(_[j]):yt(_[j]),R,Ee,O,Y,te,Q,W),j++}}else if(j>oe)for(;j<=le;)_e(w[j],O,Y,!0),j++;else{const he=j,Ee=j,Re=new Map;for(j=Ee;j<=oe;j++){const it=_[j]=W?bn(_[j]):yt(_[j]);it.key!=null&&Re.set(it.key,j)}let Ie,Ue=0;const wt=oe-Ee+1;let ge=!1,Mo=0;const An=new Array(wt);for(j=0;j<wt;j++)An[j]=0;for(j=he;j<=le;j++){const it=w[j];if(Ue>=wt){_e(it,O,Y,!0);continue}let At;if(it.key!=null)At=Re.get(it.key);else for(Ie=Ee;Ie<=oe;Ie++)if(An[Ie-Ee]===0&&Wt(it,_[Ie])){At=Ie;break}At===void 0?_e(it,O,Y,!0):(An[At-Ee]=j+1,At>=Mo?Mo=At:ge=!0,E(it,_[At],R,null,O,Y,te,Q,W),Ue++)}const Ls=ge?Yg(An):gs;for(Ie=Ls.length-1,j=wt-1;j>=0;j--){const it=Ee+j,At=_[it],jt=it+1<fe?_[it+1].el:F;An[j]===0?E(null,At,R,jt,O,Y,te,Q,W):ge&&(Ie<0||j!==Ls[Ie]?$e(At,R,jt,2):Ie--)}}},$e=(w,_,R,F,O=null)=>{const{el:Y,type:te,transition:Q,children:W,shapeFlag:j}=w;if(j&6){$e(w.component.subTree,_,R,F);return}if(j&128){w.suspense.move(_,R,F);return}if(j&64){te.move(w,_,R,ue);return}if(te===Te){s(Y,_,R);for(let le=0;le<W.length;le++)$e(W[le],_,R,F);s(w.anchor,_,R);return}if(te===zn){k(w,_,R);return}if(F!==2&&j&1&&Q)if(F===0)Q.beforeEnter(Y),s(Y,_,R),Je(()=>Q.enter(Y),O);else{const{leave:le,delayLeave:oe,afterLeave:he}=Q,Ee=()=>s(Y,_,R),Re=()=>{le(Y,()=>{Ee(),he&&he()})};oe?oe(Y,Ee,Re):Re()}else s(Y,_,R)},_e=(w,_,R,F=!1,O=!1)=>{const{type:Y,props:te,ref:Q,children:W,dynamicChildren:j,shapeFlag:fe,patchFlag:le,dirs:oe}=w;if(Q!=null&&lr(Q,null,R,w,!0),fe&256){_.ctx.deactivate(w);return}const he=fe&1&&oe,Ee=!Un(w);let Re;if(Ee&&(Re=te&&te.onVnodeBeforeUnmount)&&dt(Re,_,w),fe&6)D(w.component,R,F);else{if(fe&128){w.suspense.unmount(R,F);return}he&&zt(w,null,_,"beforeUnmount"),fe&64?w.type.remove(w,_,R,O,ue,F):j&&(Y!==Te||le>0&&le&64)?ne(j,_,R,!1,!0):(Y===Te&&le&384||!O&&fe&16)&&ne(W,_,R),F&&Fe(w)}(Ee&&(Re=te&&te.onVnodeUnmounted)||he)&&Je(()=>{Re&&dt(Re,_,w),he&&zt(w,null,_,"unmounted")},R)},Fe=w=>{const{type:_,el:R,anchor:F,transition:O}=w;if(_===Te){Ge(R,F);return}if(_===zn){P(w);return}const Y=()=>{r(R),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(w.shapeFlag&1&&O&&!O.persisted){const{leave:te,delayLeave:Q}=O,W=()=>te(R,Y);Q?Q(w.el,Y,W):W()}else Y()},Ge=(w,_)=>{let R;for(;w!==_;)R=m(w),r(w),w=R;r(_)},D=(w,_,R)=>{const{bum:F,scope:O,update:Y,subTree:te,um:Q}=w;F&&vs(F),O.stop(),Y&&(Y.active=!1,_e(te,w,_,R)),Q&&Je(Q,_),Je(()=>{w.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},ne=(w,_,R,F=!1,O=!1,Y=0)=>{for(let te=Y;te<w.length;te++)_e(w[te],_,R,F,O)},ee=w=>w.shapeFlag&6?ee(w.component.subTree):w.shapeFlag&128?w.suspense.next():m(w.anchor||w.el),se=(w,_,R)=>{w==null?_._vnode&&_e(_._vnode,null,null,!0):E(_._vnode||null,w,_,null,null,null,R),Wa(),rr(),_._vnode=w},ue={p:E,um:_e,m:$e,r:Fe,mt:S,mc:$,pc:X,pbc:N,n:ee,o:e};let ye,we;return t&&([ye,we]=t(ue)),{render:se,hydrate:ye,createApp:Kg(se,ye)}}function In({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ol(e,t,n=!1){const s=e.children,r=t.children;if(re(s)&&re(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=bn(r[o]),l.el=i.el),n||Ol(i,l)),l.type===Qn&&(l.el=i.el)}}function Yg(e){const t=e.slice(),n=[0];let s,r,o,i,l;const u=e.length;for(s=0;s<u;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Qg=e=>e.__isTeleport,Zs=e=>e&&(e.disabled||e.disabled===""),oc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Bi=(e,t)=>{const n=e&&e.to;return xe(n)?t?t(n):null:n},Zg={__isTeleport:!0,process(e,t,n,s,r,o,i,l,u,f){const{mc:d,pc:h,pbc:m,o:{insert:g,querySelector:v,createText:E,createComment:M}}=f,x=Zs(t.props);let{shapeFlag:b,children:k,dynamicChildren:P}=t;if(e==null){const T=t.el=E(""),A=t.anchor=E("");g(T,n,s),g(A,n,s);const U=t.target=Bi(t.props,v),$=t.targetAnchor=E("");U&&(g($,U),i=i||oc(U));const L=(N,K)=>{b&16&&d(k,N,K,r,o,i,l,u)};x?L(n,A):U&&L(U,$)}else{t.el=e.el;const T=t.anchor=e.anchor,A=t.target=e.target,U=t.targetAnchor=e.targetAnchor,$=Zs(e.props),L=$?n:A,N=$?T:U;if(i=i||oc(A),P?(m(e.dynamicChildren,P,L,r,o,i,l),Ol(e,t,!0)):u||h(e,t,L,N,r,o,i,l,!1),x)$||Wo(t,n,T,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=Bi(t.props,v);K&&Wo(t,K,null,f,0)}else $&&Wo(t,A,U,f,1)}_f(t)},remove(e,t,n,s,{um:r,o:{remove:o}},i){const{shapeFlag:l,children:u,anchor:f,targetAnchor:d,target:h,props:m}=e;if(h&&o(d),(i||!Zs(m))&&(o(f),l&16))for(let g=0;g<u.length;g++){const v=u[g];r(v,t,n,!0,!!v.dynamicChildren)}},move:Wo,hydrate:Gg};function Wo(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:u,children:f,props:d}=e,h=o===2;if(h&&s(i,t,n),(!h||Zs(d))&&u&16)for(let m=0;m<f.length;m++)r(f[m],t,n,2);h&&s(l,t,n)}function Gg(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:u}},f){const d=t.target=Bi(t.props,u);if(d){const h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Zs(t.props))t.anchor=f(i(e),t,l(e),n,s,r,o),t.targetAnchor=h;else{t.anchor=i(e);let m=h;for(;m;)if(m=i(m),m&&m.nodeType===8&&m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}f(h,t,d,n,s,r,o)}_f(t)}return t.anchor&&i(t.anchor)}const vf=Zg;function _f(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Te=Symbol(void 0),Qn=Symbol(void 0),ot=Symbol(void 0),zn=Symbol(void 0),Gs=[];let pt=null;function I(e=!1){Gs.push(pt=e?null:[])}function Cf(){Gs.pop(),pt=Gs[Gs.length-1]||null}let Zn=1;function Li(e){Zn+=e}function xf(e){return e.dynamicChildren=Zn>0?pt||gs:null,Cf(),Zn>0&&pt&&pt.push(e),e}function Z(e,t,n,s,r,o){return xf(C(e,t,n,s,r,o,!0))}function pe(e,t,n,s,r){return xf(Ce(e,t,n,s,r,!0))}function Tn(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}function Jg(e){}const Lr="__vInternal",kf=({key:e})=>e!=null?e:null,er=({ref:e,ref_key:t,ref_for:n})=>e!=null?xe(e)||Qe(e)||me(e)?{i:Xe,r:e,k:t,f:!!n}:e:null;function C(e,t=null,n=null,s=0,r=null,o=e===Te?0:1,i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kf(t),ref:t&&er(t),scopeId:Pr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Xe};return l?(Ml(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=xe(n)?8:16),Zn>0&&!i&&pt&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&pt.push(u),u}const Ce=Xg;function Xg(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===lf)&&(e=ot),Tn(e)){const l=Zt(e,t,!0);return n&&Ml(l,n),Zn>0&&!o&&pt&&(l.shapeFlag&6?pt[pt.indexOf(e)]=l:pt.push(l)),l.patchFlag|=-2,l}if(ry(e)&&(e=e.__vccOpts),t){t=Il(t);let{class:l,style:u}=t;l&&!xe(l)&&(t.class=Pe(l)),De(u)&&(wl(u)&&!re(u)&&(u=Me({},u)),t.style=Gt(u))}const i=xe(e)?1:Ku(e)?128:Qg(e)?64:De(e)?4:me(e)?2:0;return C(e,t,n,s,r,i,o,!0)}function Il(e){return e?wl(e)||Lr in e?Me({},e):e:null}function Zt(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Eo(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&kf(l),ref:t&&t.ref?n&&r?re(r)?r.concat(er(t)):[r,er(t)]:er(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zt(e.ssContent),ssFallback:e.ssFallback&&Zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function We(e=" ",t=0){return Ce(Qn,null,e,t)}function Ef(e,t){const n=Ce(zn,null,e);return n.staticCount=t,n}function be(e="",t=!1){return t?(I(),pe(ot,null,e)):Ce(ot,null,e)}function yt(e){return e==null||typeof e=="boolean"?Ce(ot):re(e)?Ce(Te,null,e.slice()):typeof e=="object"?bn(e):Ce(Qn,null,String(e))}function bn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zt(e)}function Ml(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(re(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ml(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Lr in t)?t._ctx=Xe:r===3&&Xe&&(Xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else me(t)?(t={default:t,_ctx:Xe},n=32):(t=String(t),s&64?(n=16,t=[We(t)]):n=8);e.children=t,e.shapeFlag|=n}function Eo(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Pe([t.class,s.class]));else if(r==="style")t.style=Gt([t.style,s.style]);else if(Jn(r)){const o=t[r],i=s[r];i&&o!==i&&!(re(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function dt(e,t,n,s=null){kt(e,t,7,[n,s])}const ey=wf();let ty=0;function Sf(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||ey,o={uid:ty++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new dl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:df(s,r),emitsOptions:Uu(s,r),emit:null,emitted:null,propsDefaults:Ne,inheritAttrs:s.inheritAttrs,ctx:Ne,data:Ne,props:Ne,attrs:Ne,slots:Ne,refs:Ne,setupState:Ne,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=fg.bind(null,o),e.ce&&e.ce(o),o}let Ye=null;const Xt=()=>Ye||Xe,$n=e=>{Ye=e,e.scope.on()},Cn=()=>{Ye&&Ye.scope.off(),Ye=null};function Tf(e){return e.vnode.shapeFlag&4}let Es=!1;function $f(e,t=!1){Es=t;const{props:n,children:s}=e.vnode,r=Tf(e);Hg(e,n,r,t),Ug(e,s);const o=r?ny(e,t):void 0;return Es=!1,o}function ny(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gl(new Proxy(e.ctx,Oi));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Of(e):null;$n(e),Rs();const o=ln(s,e,0,[e.props,r]);if(Bs(),Cn(),ul(o)){if(o.then(Cn,Cn),t)return o.then(i=>{Ni(e,i,t)}).catch(i=>{ns(i,e,0)});e.asyncDep=o}else Ni(e,o,t)}else Af(e,t)}function Ni(e,t,n){me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=vl(t)),Af(e,n)}let ar,Di;function Pf(e){ar=e,Di=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Rg))}}const sy=()=>!ar;function Af(e,t,n){const s=e.type;if(!e.render){if(!t&&ar&&!s.render){const r=s.template||Pl(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:u}=s,f=Me(Me({isCustomElement:o,delimiters:l},i),u);s.render=ar(r,f)}}e.render=s.render||ct,Di&&Di(e)}$n(e),Rs(),Bg(e),Bs(),Cn()}function oy(e){return new Proxy(e.attrs,{get(t,n){return $t(e,"get","$attrs"),t[n]}})}function Of(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=oy(e))},slots:e.slots,emit:e.emit,expose:t}}function Nr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(vl(gl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qs)return Qs[n](e)},has(t,n){return n in t||n in Qs}}))}function Fi(e,t=!0){return me(e)?e.displayName||e.name:e.name||t&&e.__name}function ry(e){return me(e)&&"__vccOpts"in e}const Ve=(e,t)=>rg(e,t,Es);function iy(){return null}function ly(){return null}function ay(e){}function cy(e,t){return null}function uy(){return If().slots}function fy(){return If().attrs}function If(){const e=Xt();return e.setupContext||(e.setupContext=Of(e))}function dy(e,t){const n=re(e)?e.reduce((s,r)=>(s[r]={},s),{}):e;for(const s in t){const r=n[s];r?re(r)||me(r)?n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(n[s]={default:t[s]})}return n}function py(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function hy(e){const t=Xt();let n=e();return Cn(),ul(n)&&(n=n.catch(s=>{throw $n(t),s})),[n,()=>$n(t)]}function Dr(e,t,n){const s=arguments.length;return s===2?De(t)&&!re(t)?Tn(t)?Ce(e,null,[t]):Ce(e,t):Ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Tn(n)&&(n=[n]),Ce(e,t,n))}const Mf=Symbol(""),Rf=()=>St(Mf);function my(){}function wy(e,t,n,s){const r=n[s];if(r&&Bf(r,e))return r;const o=t();return o.memo=e.slice(),n[s]=o}function Bf(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(xs(n[s],t[s]))return!1;return Zn>0&&pt&&pt.push(e),!0}const Lf="3.2.45",gy={createComponentInstance:Sf,setupComponent:$f,renderComponentRoot:Xo,setCurrentRenderingInstance:ao,isVNode:Tn,normalizeVNode:yt},yy=gy,by=null,vy=null,_y="http://www.w3.org/2000/svg",Ln=typeof document<"u"?document:null,rc=Ln&&Ln.createElement("template"),Cy={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?Ln.createElementNS(_y,e):Ln.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ln.createTextNode(e),createComment:e=>Ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ln.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{rc.innerHTML=s?`<svg>${e}</svg>`:e;const l=rc.content;if(s){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function xy(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ky(e,t,n){const s=e.style,r=xe(n);if(n&&!r){for(const o in n)Hi(s,o,n[o]);if(t&&!xe(t))for(const o in t)n[o]==null&&Hi(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const ic=/\s*!important$/;function Hi(e,t,n){if(re(n))n.forEach(s=>Hi(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ey(e,t);ic.test(n)?e.setProperty(bt(s),n.replace(ic,""),"important"):e[s]=n}}const lc=["Webkit","Moz","ms"],hi={};function Ey(e,t){const n=hi[t];if(n)return n;let s=et(t);if(s!=="filter"&&s in e)return hi[t]=s;s=es(s);for(let r=0;r<lc.length;r++){const o=lc[r]+s;if(o in e)return hi[t]=o}return t}const ac="http://www.w3.org/1999/xlink";function Sy(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ac,t.slice(6,t.length)):e.setAttributeNS(ac,t,n);else{const o=dw(t);n==null||o&&!wu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function Ty(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const u=n==null?"":n;(e.value!==u||e.tagName==="OPTION")&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=wu(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function rn(e,t,n,s){e.addEventListener(t,n,s)}function $y(e,t,n,s){e.removeEventListener(t,n,s)}function Py(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,u]=Ay(t);if(s){const f=o[t]=My(s,r);rn(e,l,f,u)}else i&&($y(e,l,i,u),o[t]=void 0)}}const cc=/(?:Once|Passive|Capture)$/;function Ay(e){let t;if(cc.test(e)){t={};let s;for(;s=e.match(cc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bt(e.slice(2)),t]}let mi=0;const Oy=Promise.resolve(),Iy=()=>mi||(Oy.then(()=>mi=0),mi=Date.now());function My(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;kt(Ry(s,n.value),t,5,[s])};return n.value=e,n.attached=Iy(),n}function Ry(e,t){if(re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const uc=/^on[a-z]/,By=(e,t,n,s,r=!1,o,i,l,u)=>{t==="class"?xy(e,s,r):t==="style"?ky(e,n,s):Jn(t)?al(t)||Py(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ly(e,t,s,r))?Ty(e,t,s,o,i,l,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Sy(e,t,s,r))};function Ly(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&uc.test(t)&&me(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||uc.test(t)&&xe(n)?!1:t in e}function Nf(e,t){const n=ve(e);class s extends Fr{constructor(o){super(n,o,t)}}return s.def=n,s}const Ny=e=>Nf(e,Jf),Dy=typeof HTMLElement<"u"?HTMLElement:class{};class Fr extends Dy{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,ss(()=>{this._connected||(Ui(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:o,styles:i}=s;let l;if(o&&!re(o))for(const u in o){const f=o[u];(f===Number||f&&f.type===Number)&&(u in this._props&&(this._props[u]=un(this._props[u])),(l||(l=Object.create(null)))[et(u)]=!0)}this._numberProps=l,r&&this._resolveProps(s),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=re(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(et))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(o){this._setProp(r,o)}})}_setAttr(t){let n=this.getAttribute(t);const s=et(t);this._numberProps&&this._numberProps[s]&&(n=un(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(bt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(bt(t),n+""):n||this.removeAttribute(bt(t))))}_update(){Ui(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Ce(this._def,Me({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(o,i)=>{this.dispatchEvent(new CustomEvent(o,{detail:i}))};n.emit=(o,...i)=>{s(o,i),bt(o)!==o&&s(bt(o),i)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof Fr){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function Fy(e="$style"){{const t=Xt();if(!t)return Ne;const n=t.type.__cssModules;if(!n)return Ne;const s=n[e];return s||Ne}}function Hy(e){const t=Xt();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>ji(o,r))},s=()=>{const r=e(t.proxy);Vi(t.subTree,r),n(r)};Yu(s),Jt(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),os(()=>r.disconnect())})}function Vi(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Vi(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ji(e.el,t);else if(e.type===Te)e.children.forEach(n=>Vi(n,t));else if(e.type===zn){let{el:n,anchor:s}=e;for(;n&&(ji(n,t),n!==s);)n=n.nextSibling}}function ji(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const wn="transition",Vs="animation",So=(e,{slots:t})=>Dr(Sl,Ff(e),t);So.displayName="Transition";const Df={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Vy=So.props=Me({},Sl.props,Df),Mn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},fc=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function Ff(e){const t={};for(const z in e)z in Df||(t[z]=e[z]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:f=i,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,v=jy(r),E=v&&v[0],M=v&&v[1],{onBeforeEnter:x,onEnter:b,onEnterCancelled:k,onLeave:P,onLeaveCancelled:T,onBeforeAppear:A=x,onAppear:U=b,onAppearCancelled:$=k}=t,L=(z,H,S)=>{yn(z,H?d:l),yn(z,H?f:i),S&&S()},N=(z,H)=>{z._isLeaving=!1,yn(z,h),yn(z,g),yn(z,m),H&&H()},K=z=>(H,S)=>{const V=z?U:b,J=()=>L(H,z,S);Mn(V,[H,J]),dc(()=>{yn(H,z?u:o),nn(H,z?d:l),fc(V)||pc(H,s,E,J)})};return Me(t,{onBeforeEnter(z){Mn(x,[z]),nn(z,o),nn(z,i)},onBeforeAppear(z){Mn(A,[z]),nn(z,u),nn(z,f)},onEnter:K(!1),onAppear:K(!0),onLeave(z,H){z._isLeaving=!0;const S=()=>N(z,H);nn(z,h),Vf(),nn(z,m),dc(()=>{!z._isLeaving||(yn(z,h),nn(z,g),fc(P)||pc(z,s,M,S))}),Mn(P,[z,S])},onEnterCancelled(z){L(z,!1),Mn(k,[z])},onAppearCancelled(z){L(z,!0),Mn($,[z])},onLeaveCancelled(z){N(z),Mn(T,[z])}})}function jy(e){if(e==null)return null;if(De(e))return[wi(e.enter),wi(e.leave)];{const t=wi(e);return[t,t]}}function wi(e){return un(e)}function nn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function yn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function dc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Uy=0;function pc(e,t,n,s){const r=e._endId=++Uy,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:u}=Hf(e,t);if(!i)return s();const f=i+"end";let d=0;const h=()=>{e.removeEventListener(f,m),o()},m=g=>{g.target===e&&++d>=u&&h()};setTimeout(()=>{d<u&&h()},l+1),e.addEventListener(f,m)}function Hf(e,t){const n=window.getComputedStyle(e),s=v=>(n[v]||"").split(", "),r=s(`${wn}Delay`),o=s(`${wn}Duration`),i=hc(r,o),l=s(`${Vs}Delay`),u=s(`${Vs}Duration`),f=hc(l,u);let d=null,h=0,m=0;t===wn?i>0&&(d=wn,h=i,m=o.length):t===Vs?f>0&&(d=Vs,h=f,m=u.length):(h=Math.max(i,f),d=h>0?i>f?wn:Vs:null,m=d?d===wn?o.length:u.length:0);const g=d===wn&&/\b(transform|all)(,|$)/.test(s(`${wn}Property`).toString());return{type:d,timeout:h,propCount:m,hasTransform:g}}function hc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>mc(n)+mc(e[s])))}function mc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Vf(){return document.body.offsetHeight}const jf=new WeakMap,Uf=new WeakMap,qy={name:"TransitionGroup",props:Me({},Vy,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Xt(),s=El();let r,o;return Ir(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Yy(r[0].el,n.vnode.el,i))return;r.forEach(zy),r.forEach(Ky);const l=r.filter(Wy);Vf(),l.forEach(u=>{const f=u.el,d=f.style;nn(f,i),d.transform=d.webkitTransform=d.transitionDuration="";const h=f._moveCb=m=>{m&&m.target!==f||(!m||/transform$/.test(m.propertyName))&&(f.removeEventListener("transitionend",h),f._moveCb=null,yn(f,i))};f.addEventListener("transitionend",h)})}),()=>{const i=Ae(e),l=Ff(i);let u=i.tag||Te;r=o,o=t.default?Ar(t.default()):[];for(let f=0;f<o.length;f++){const d=o[f];d.key!=null&&Yn(d,ks(d,l,s,n))}if(r)for(let f=0;f<r.length;f++){const d=r[f];Yn(d,ks(d,l,s,n)),jf.set(d,d.el.getBoundingClientRect())}return Ce(u,null,o)}}},qf=qy;function zy(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Ky(e){Uf.set(e,e.el.getBoundingClientRect())}function Wy(e){const t=jf.get(e),n=Uf.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function Yy(e,t,n){const s=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Hf(s);return r.removeChild(s),o}const Pn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return re(t)?n=>vs(t,n):t};function Qy(e){e.target.composing=!0}function wc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=Pn(r);const o=s||r.props&&r.props.type==="number";rn(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=un(l)),e._assign(l)}),n&&rn(e,"change",()=>{e.value=e.value.trim()}),t||(rn(e,"compositionstart",Qy),rn(e,"compositionend",wc),rn(e,"change",wc))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=Pn(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&un(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Hr={deep:!0,created(e,t,n){e._assign=Pn(n),rn(e,"change",()=>{const s=e._modelValue,r=Ss(e),o=e.checked,i=e._assign;if(re(s)){const l=vr(s,r),u=l!==-1;if(o&&!u)i(s.concat(r));else if(!o&&u){const f=[...s];f.splice(l,1),i(f)}}else if(Xn(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Kf(e,o))})},mounted:gc,beforeUpdate(e,t,n){e._assign=Pn(n),gc(e,t,n)}};function gc(e,{value:t,oldValue:n},s){e._modelValue=t,re(t)?e.checked=vr(t,s.props.value)>-1:Xn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=kn(t,Kf(e,!0)))}const Rl={created(e,{value:t},n){e.checked=kn(t,n.props.value),e._assign=Pn(n),rn(e,"change",()=>{e._assign(Ss(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=Pn(s),t!==n&&(e.checked=kn(t,s.props.value))}},zf={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Xn(t);rn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?un(Ss(i)):Ss(i));e._assign(e.multiple?r?new Set(o):o:o[0])}),e._assign=Pn(s)},mounted(e,{value:t}){yc(e,t)},beforeUpdate(e,t,n){e._assign=Pn(n)},updated(e,{value:t}){yc(e,t)}};function yc(e,t){const n=e.multiple;if(!(n&&!re(t)&&!Xn(t))){for(let s=0,r=e.options.length;s<r;s++){const o=e.options[s],i=Ss(o);if(n)re(t)?o.selected=vr(t,i)>-1:o.selected=t.has(i);else if(kn(Ss(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ss(e){return"_value"in e?e._value:e.value}function Kf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Wf={created(e,t,n){Yo(e,t,n,null,"created")},mounted(e,t,n){Yo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Yo(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Yo(e,t,n,s,"updated")}};function Yf(e,t){switch(e){case"SELECT":return zf;case"TEXTAREA":return xt;default:switch(t){case"checkbox":return Hr;case"radio":return Rl;default:return xt}}}function Yo(e,t,n,s,r){const i=Yf(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,s)}function Zy(){xt.getSSRProps=({value:e})=>({value:e}),Rl.getSSRProps=({value:e},t)=>{if(t.props&&kn(t.props.value,e))return{checked:!0}},Hr.getSSRProps=({value:e},t)=>{if(re(e)){if(t.props&&vr(e,t.props.value)>-1)return{checked:!0}}else if(Xn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Wf.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Yf(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Gy=["ctrl","shift","alt","meta"],Jy={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Gy.some(n=>e[`${n}Key`]&&!t.includes(n))},Js=(e,t)=>(n,...s)=>{for(let r=0;r<t.length;r++){const o=Jy[t[r]];if(o&&o(n,t))return}return e(n,...s)},Xy={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yt=(e,t)=>n=>{if(!("key"in n))return;const s=bt(n.key);if(t.some(r=>r===s||Xy[r]===s))return e(n)},Vr={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):js(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),js(e,!0),s.enter(e)):s.leave(e,()=>{js(e,!1)}):js(e,t))},beforeUnmount(e,{value:t}){js(e,t)}};function js(e,t){e.style.display=t?e._vod:"none"}function e0(){Vr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Qf=Me({patchProp:By},Cy);let Xs,bc=!1;function Zf(){return Xs||(Xs=gf(Qf))}function Gf(){return Xs=bc?Xs:yf(Qf),bc=!0,Xs}const Ui=(...e)=>{Zf().render(...e)},Jf=(...e)=>{Gf().hydrate(...e)},Bl=(...e)=>{const t=Zf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Xf(s);if(!r)return;const o=t._component;!me(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},t0=(...e)=>{const t=Gf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Xf(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Xf(e){return xe(e)?document.querySelector(e):e}let vc=!1;const n0=()=>{vc||(vc=!0,Zy(),e0())},s0=Object.freeze(Object.defineProperty({__proto__:null,Transition:So,TransitionGroup:qf,VueElement:Fr,createApp:Bl,createSSRApp:t0,defineCustomElement:Nf,defineSSRCustomElement:Ny,hydrate:Jf,initDirectivesForSSR:n0,render:Ui,useCssModule:Fy,useCssVars:Hy,vModelCheckbox:Hr,vModelDynamic:Wf,vModelRadio:Rl,vModelSelect:zf,vModelText:xt,vShow:Vr,withKeys:Yt,withModifiers:Js,EffectScope:dl,ReactiveEffect:Co,customRef:tg,effect:kw,effectScope:_w,getCurrentScope:_u,isProxy:wl,isReactive:jn,isReadonly:Wn,isRef:Qe,isShallow:oo,markRaw:gl,onScopeDispose:Cu,proxyRefs:vl,reactive:ts,readonly:ml,ref:G,shallowReactive:Bu,shallowReadonly:Zw,shallowRef:Lu,stop:Ew,toRaw:Ae,toRef:Ws,toRefs:ng,triggerRef:Jw,unref:ie,camelize:et,capitalize:es,normalizeClass:Pe,normalizeProps:mu,normalizeStyle:Gt,toDisplayString:de,toHandlerKey:bs,BaseTransition:Sl,Comment:ot,Fragment:Te,KeepAlive:Pg,Static:zn,Suspense:yg,Teleport:vf,Text:Qn,callWithAsyncErrorHandling:kt,callWithErrorHandling:ln,cloneVNode:Zt,compatUtils:vy,computed:Ve,createBlock:pe,createCommentVNode:be,createElementBlock:Z,createElementVNode:C,createHydrationRenderer:yf,createPropsRestProxy:py,createRenderer:gf,createSlots:Mg,createStaticVNode:Ef,createTextVNode:We,createVNode:Ce,defineAsyncComponent:Tg,defineComponent:ve,defineEmits:ly,defineExpose:ay,defineProps:iy,get devtools(){return ds},getCurrentInstance:Xt,getTransitionRawChildren:Ar,guardReactiveProps:Il,h:Dr,handleError:ns,initCustomFormatter:my,inject:St,isMemoSame:Bf,isRuntimeOnly:sy,isVNode:Tn,mergeDefaults:dy,mergeProps:Eo,nextTick:ss,onActivated:Gu,onBeforeMount:ef,onBeforeUnmount:Mr,onBeforeUpdate:tf,onDeactivated:Ju,onErrorCaptured:rf,onMounted:Jt,onRenderTracked:of,onRenderTriggered:sf,onServerPrefetch:nf,onUnmounted:os,onUpdated:Ir,openBlock:I,popScopeId:zu,provide:Ys,pushScopeId:qu,queuePostFlushCb:Cl,registerRuntimeCompiler:Pf,renderList:nt,renderSlot:Br,resolveComponent:qn,resolveDirective:Ig,resolveDynamicComponent:Rr,resolveFilter:by,resolveTransitionHooks:ks,setBlockTracking:Li,setDevtoolsHook:ju,setTransitionHooks:Yn,ssrContextKey:Mf,ssrUtils:yy,toHandlers:cf,transformVNodeArgs:Jg,useAttrs:fy,useSSRContext:Rf,useSlots:uy,useTransitionState:El,version:Lf,warn:ig,watch:Ft,watchEffect:xg,watchPostEffect:Yu,watchSyncEffect:kg,withAsyncContext:hy,withCtx:Et,withDefaults:cy,withDirectives:Ct,withMemo:wy,withScopeId:dg},Symbol.toStringTag,{value:"Module"}));function Ll(e){throw e}function ed(e){}function je(e,t,n,s){const r=e,o=new SyntaxError(String(r));return o.code=e,o.loc=t,o}const uo=Symbol(""),eo=Symbol(""),Nl=Symbol(""),cr=Symbol(""),td=Symbol(""),Gn=Symbol(""),nd=Symbol(""),sd=Symbol(""),Dl=Symbol(""),Fl=Symbol(""),To=Symbol(""),Hl=Symbol(""),od=Symbol(""),Vl=Symbol(""),ur=Symbol(""),jl=Symbol(""),Ul=Symbol(""),ql=Symbol(""),zl=Symbol(""),rd=Symbol(""),id=Symbol(""),jr=Symbol(""),fr=Symbol(""),Kl=Symbol(""),Wl=Symbol(""),fo=Symbol(""),$o=Symbol(""),Yl=Symbol(""),qi=Symbol(""),o0=Symbol(""),zi=Symbol(""),dr=Symbol(""),r0=Symbol(""),i0=Symbol(""),Ql=Symbol(""),l0=Symbol(""),a0=Symbol(""),Zl=Symbol(""),ld=Symbol(""),Ts={[uo]:"Fragment",[eo]:"Teleport",[Nl]:"Suspense",[cr]:"KeepAlive",[td]:"BaseTransition",[Gn]:"openBlock",[nd]:"createBlock",[sd]:"createElementBlock",[Dl]:"createVNode",[Fl]:"createElementVNode",[To]:"createCommentVNode",[Hl]:"createTextVNode",[od]:"createStaticVNode",[Vl]:"resolveComponent",[ur]:"resolveDynamicComponent",[jl]:"resolveDirective",[Ul]:"resolveFilter",[ql]:"withDirectives",[zl]:"renderList",[rd]:"renderSlot",[id]:"createSlots",[jr]:"toDisplayString",[fr]:"mergeProps",[Kl]:"normalizeClass",[Wl]:"normalizeStyle",[fo]:"normalizeProps",[$o]:"guardReactiveProps",[Yl]:"toHandlers",[qi]:"camelize",[o0]:"capitalize",[zi]:"toHandlerKey",[dr]:"setBlockTracking",[r0]:"pushScopeId",[i0]:"popScopeId",[Ql]:"withCtx",[l0]:"unref",[a0]:"isRef",[Zl]:"withMemo",[ld]:"isMemoSame"};function c0(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ts[t]=e[t]})}const Pt={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function u0(e,t=Pt){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function po(e,t,n,s,r,o,i,l=!1,u=!1,f=!1,d=Pt){return e&&(l?(e.helper(Gn),e.helper(As(e.inSSR,f))):e.helper(Ps(e.inSSR,f)),i&&e.helper(ql)),{type:13,tag:t,props:n,children:s,patchFlag:r,dynamicProps:o,directives:i,isBlock:l,disableTracking:u,isComponent:f,loc:d}}function Po(e,t=Pt){return{type:17,loc:t,elements:e}}function Mt(e,t=Pt){return{type:15,loc:t,properties:e}}function qe(e,t){return{type:16,loc:Pt,key:xe(e)?Se(e,!0):e,value:t}}function Se(e,t=!1,n=Pt,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function Ht(e,t=Pt){return{type:8,loc:t,children:e}}function Ke(e,t=[],n=Pt){return{type:14,loc:n,callee:e,arguments:t}}function $s(e,t=void 0,n=!1,s=!1,r=Pt){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:r}}function Ki(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Pt}}function f0(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Pt}}function d0(e){return{type:21,body:e,loc:Pt}}const ht=e=>e.type===4&&e.isStatic,hs=(e,t)=>e===t||e===bt(t);function ad(e){if(hs(e,"Teleport"))return eo;if(hs(e,"Suspense"))return Nl;if(hs(e,"KeepAlive"))return cr;if(hs(e,"BaseTransition"))return td}const p0=/^\d|[^\$\w]/,Gl=e=>!p0.test(e),h0=/[A-Za-z_$\xA0-\uFFFF]/,m0=/[\.\?\w$\xA0-\uFFFF]/,w0=/\s+[.[]\s*|\s*[.[]\s+/g,g0=e=>{e=e.trim().replace(w0,i=>i.trim());let t=0,n=[],s=0,r=0,o=null;for(let i=0;i<e.length;i++){const l=e.charAt(i);switch(t){case 0:if(l==="[")n.push(t),t=1,s++;else if(l==="(")n.push(t),t=2,r++;else if(!(i===0?h0:m0).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(n.push(t),t=3,o=l):l==="["?s++:l==="]"&&(--s||(t=n.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")n.push(t),t=3,o=l;else if(l==="(")r++;else if(l===")"){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:l===o&&(t=n.pop(),o=null);break}}return!s&&!r},cd=g0;function ud(e,t,n){const r={source:e.source.slice(t,t+n),start:pr(e.start,e.source,t),end:e.end};return n!=null&&(r.end=pr(e.start,e.source,t+n)),r}function pr(e,t,n=t.length){return hr(Me({},e),t,n)}function hr(e,t,n=t.length){let s=0,r=-1;for(let o=0;o<n;o++)t.charCodeAt(o)===10&&(s++,r=o);return e.offset+=n,e.line+=s,e.column=r===-1?e.column+n:n-r,e}function It(e,t,n=!1){for(let s=0;s<e.props.length;s++){const r=e.props[s];if(r.type===7&&(n||r.exp)&&(xe(t)?r.name===t:t.test(r.name)))return r}}function Ur(e,t,n=!1,s=!1){for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6){if(n)continue;if(o.name===t&&(o.value||s))return o}else if(o.name==="bind"&&(o.exp||s)&&Dn(o.arg,t))return o}}function Dn(e,t){return!!(e&&ht(e)&&e.content===t)}function y0(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function gi(e){return e.type===5||e.type===2}function b0(e){return e.type===7&&e.name==="slot"}function mr(e){return e.type===1&&e.tagType===3}function wr(e){return e.type===1&&e.tagType===2}function Ps(e,t){return e||t?Dl:Fl}function As(e,t){return e||t?nd:sd}const v0=new Set([fo,$o]);function fd(e,t=[]){if(e&&!xe(e)&&e.type===14){const n=e.callee;if(!xe(n)&&v0.has(n))return fd(e.arguments[0],t.concat(e))}return[e,t]}function gr(e,t,n){let s,r=e.type===13?e.props:e.arguments[2],o=[],i;if(r&&!xe(r)&&r.type===14){const l=fd(r);r=l[0],o=l[1],i=o[o.length-1]}if(r==null||xe(r))s=Mt([t]);else if(r.type===14){const l=r.arguments[0];!xe(l)&&l.type===15?_c(t,l)||l.properties.unshift(t):r.callee===Yl?s=Ke(n.helper(fr),[Mt([t]),r]):r.arguments.unshift(Mt([t])),!s&&(s=r)}else r.type===15?(_c(t,r)||r.properties.unshift(t),s=r):(s=Ke(n.helper(fr),[Mt([t]),r]),i&&i.callee===$o&&(i=o[o.length-2]));e.type===13?i?i.arguments[0]=s:e.props=s:i?i.arguments[0]=s:e.arguments[2]=s}function _c(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(r=>r.key.type===4&&r.key.content===s)}return n}function ho(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function _0(e){return e.type===14&&e.callee===Zl?e.arguments[1].returns:e}function Jl(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(Ps(s,e.isComponent)),t(Gn),t(As(s,e.isComponent)))}function Cc(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,s=n&&n[e];return e==="MODE"?s||3:s}function Kn(e,t){const n=Cc("MODE",t),s=Cc(e,t);return n===3?s===!0:s!==!1}function mo(e,t,n,...s){return Kn(e,t)}const C0=/&(gt|lt|amp|apos|quot);/g,x0={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},xc={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Jo,isPreTag:Jo,isCustomElement:Jo,decodeEntities:e=>e.replace(C0,(t,n)=>x0[n]),onError:Ll,onWarn:ed,comments:!1};function k0(e,t={}){const n=E0(e,t),s=Tt(n);return u0(Xl(n,0,[]),Bt(n,s))}function E0(e,t){const n=Me({},xc);let s;for(s in t)n[s]=t[s]===void 0?xc[s]:t[s];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function Xl(e,t,n){const s=qr(n),r=s?s.ns:0,o=[];for(;!R0(e,t,n);){const l=e.source;let u;if(t===0||t===1){if(!e.inVPre&&st(l,e.options.delimiters[0]))u=I0(e,t);else if(t===0&&l[0]==="<")if(l.length===1)Le(e,5,1);else if(l[1]==="!")st(l,"<!--")?u=T0(e):st(l,"<!DOCTYPE")?u=Us(e):st(l,"<![CDATA[")?r!==0?u=S0(e,n):(Le(e,1),u=Us(e)):(Le(e,11),u=Us(e));else if(l[1]==="/")if(l.length===2)Le(e,5,2);else if(l[2]===">"){Le(e,14,2),Ze(e,3);continue}else if(/[a-z]/i.test(l[2])){Le(e,23),Wi(e,1,s);continue}else Le(e,12,2),u=Us(e);else/[a-z]/i.test(l[1])?(u=$0(e,n),Kn("COMPILER_NATIVE_TEMPLATE",e)&&u&&u.tag==="template"&&!u.props.some(f=>f.type===7&&dd(f.name))&&(u=u.children)):l[1]==="?"?(Le(e,21,1),u=Us(e)):Le(e,12,1)}if(u||(u=M0(e,t)),re(u))for(let f=0;f<u.length;f++)kc(o,u[f]);else kc(o,u)}let i=!1;if(t!==2&&t!==1){const l=e.options.whitespace!=="preserve";for(let u=0;u<o.length;u++){const f=o[u];if(f.type===2)if(e.inPre)f.content=f.content.replace(/\r\n/g,`
2
- `);else if(/[^\t\r\n\f ]/.test(f.content))l&&(f.content=f.content.replace(/[\t\r\n\f ]+/g," "));else{const d=o[u-1],h=o[u+1];!d||!h||l&&(d.type===3&&h.type===3||d.type===3&&h.type===1||d.type===1&&h.type===3||d.type===1&&h.type===1&&/[\r\n]/.test(f.content))?(i=!0,o[u]=null):f.content=" "}else f.type===3&&!e.options.comments&&(i=!0,o[u]=null)}if(e.inPre&&s&&e.options.isPreTag(s.tag)){const u=o[0];u&&u.type===2&&(u.content=u.content.replace(/^\r?\n/,""))}}return i?o.filter(Boolean):o}function kc(e,t){if(t.type===2){const n=qr(e);if(n&&n.type===2&&n.loc.end.offset===t.loc.start.offset){n.content+=t.content,n.loc.end=t.loc.end,n.loc.source+=t.loc.source;return}}e.push(t)}function S0(e,t){Ze(e,9);const n=Xl(e,3,t);return e.source.length===0?Le(e,6):Ze(e,3),n}function T0(e){const t=Tt(e);let n;const s=/--(\!)?>/.exec(e.source);if(!s)n=e.source.slice(4),Ze(e,e.source.length),Le(e,7);else{s.index<=3&&Le(e,0),s[1]&&Le(e,10),n=e.source.slice(4,s.index);const r=e.source.slice(0,s.index);let o=1,i=0;for(;(i=r.indexOf("<!--",o))!==-1;)Ze(e,i-o+1),i+4<r.length&&Le(e,16),o=i+1;Ze(e,s.index+s[0].length-o+1)}return{type:3,content:n,loc:Bt(e,t)}}function Us(e){const t=Tt(e),n=e.source[1]==="?"?1:2;let s;const r=e.source.indexOf(">");return r===-1?(s=e.source.slice(n),Ze(e,e.source.length)):(s=e.source.slice(n,r),Ze(e,r+1)),{type:3,content:s,loc:Bt(e,t)}}function $0(e,t){const n=e.inPre,s=e.inVPre,r=qr(t),o=Wi(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!s;if(o.isSelfClosing||e.options.isVoidTag(o.tag))return i&&(e.inPre=!1),l&&(e.inVPre=!1),o;t.push(o);const u=e.options.getTextMode(o,r),f=Xl(e,u,t);t.pop();{const d=o.props.find(h=>h.type===6&&h.name==="inline-template");if(d&&mo("COMPILER_INLINE_TEMPLATE",e,d.loc)){const h=Bt(e,o.loc.end);d.value={type:2,content:h.source,loc:h}}}if(o.children=f,Yi(e.source,o.tag))Wi(e,1,r);else if(Le(e,24,0,o.loc.start),e.source.length===0&&o.tag.toLowerCase()==="script"){const d=f[0];d&&st(d.loc.source,"<!--")&&Le(e,8)}return o.loc=Bt(e,o.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),o}const dd=mt("if,else,else-if,for,slot");function Wi(e,t,n){const s=Tt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),o=r[1],i=e.options.getNamespace(o,n);Ze(e,r[0].length),wo(e);const l=Tt(e),u=e.source;e.options.isPreTag(o)&&(e.inPre=!0);let f=Ec(e,t);t===0&&!e.inVPre&&f.some(m=>m.type===7&&m.name==="pre")&&(e.inVPre=!0,Me(e,l),e.source=u,f=Ec(e,t).filter(m=>m.name!=="v-pre"));let d=!1;if(e.source.length===0?Le(e,9):(d=st(e.source,"/>"),t===1&&d&&Le(e,4),Ze(e,d?2:1)),t===1)return;let h=0;return e.inVPre||(o==="slot"?h=2:o==="template"?f.some(m=>m.type===7&&dd(m.name))&&(h=3):P0(o,f,e)&&(h=1)),{type:1,ns:i,tag:o,tagType:h,props:f,isSelfClosing:d,children:[],loc:Bt(e,s),codegenNode:void 0}}function P0(e,t,n){const s=n.options;if(s.isCustomElement(e))return!1;if(e==="component"||/^[A-Z]/.test(e)||ad(e)||s.isBuiltInComponent&&s.isBuiltInComponent(e)||s.isNativeTag&&!s.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const o=t[r];if(o.type===6){if(o.name==="is"&&o.value){if(o.value.content.startsWith("vue:"))return!0;if(mo("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}else{if(o.name==="is")return!0;if(o.name==="bind"&&Dn(o.arg,"is")&&!0&&mo("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}}function Ec(e,t){const n=[],s=new Set;for(;e.source.length>0&&!st(e.source,">")&&!st(e.source,"/>");){if(st(e.source,"/")){Le(e,22),Ze(e,1),wo(e);continue}t===1&&Le(e,3);const r=A0(e,s);r.type===6&&r.value&&r.name==="class"&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),t===0&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&Le(e,15),wo(e)}return n}function A0(e,t){const n=Tt(e),r=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(r)&&Le(e,2),t.add(r),r[0]==="="&&Le(e,19);{const l=/["'<]/g;let u;for(;u=l.exec(r);)Le(e,17,u.index)}Ze(e,r.length);let o;/^[\t\r\n\f ]*=/.test(e.source)&&(wo(e),Ze(e,1),wo(e),o=O0(e),o||Le(e,13));const i=Bt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const l=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let u=st(r,"."),f=l[1]||(u||st(r,":")?"bind":st(r,"@")?"on":"slot"),d;if(l[2]){const m=f==="slot",g=r.lastIndexOf(l[2]),v=Bt(e,Sc(e,n,g),Sc(e,n,g+l[2].length+(m&&l[3]||"").length));let E=l[2],M=!0;E.startsWith("[")?(M=!1,E.endsWith("]")?E=E.slice(1,E.length-1):(Le(e,27),E=E.slice(1))):m&&(E+=l[3]||""),d={type:4,content:E,isStatic:M,constType:M?3:0,loc:v}}if(o&&o.isQuoted){const m=o.loc;m.start.offset++,m.start.column++,m.end=pr(m.start,o.content),m.source=m.source.slice(1,-1)}const h=l[3]?l[3].slice(1).split("."):[];return u&&h.push("prop"),f==="bind"&&d&&h.includes("sync")&&mo("COMPILER_V_BIND_SYNC",e,i,d.loc.source)&&(f="model",h.splice(h.indexOf("sync"),1)),{type:7,name:f,exp:o&&{type:4,content:o.content,isStatic:!1,constType:0,loc:o.loc},arg:d,modifiers:h,loc:i}}return!e.inVPre&&st(r,"v-")&&Le(e,26),{type:6,name:r,value:o&&{type:2,content:o.content,loc:o.loc},loc:i}}function O0(e){const t=Tt(e);let n;const s=e.source[0],r=s==='"'||s==="'";if(r){Ze(e,1);const o=e.source.indexOf(s);o===-1?n=to(e,e.source.length,4):(n=to(e,o,4),Ze(e,1))}else{const o=/^[^\t\r\n\f >]+/.exec(e.source);if(!o)return;const i=/["'<=`]/g;let l;for(;l=i.exec(o[0]);)Le(e,18,l.index);n=to(e,o[0].length,4)}return{content:n,isQuoted:r,loc:Bt(e,t)}}function I0(e,t){const[n,s]=e.options.delimiters,r=e.source.indexOf(s,n.length);if(r===-1){Le(e,25);return}const o=Tt(e);Ze(e,n.length);const i=Tt(e),l=Tt(e),u=r-n.length,f=e.source.slice(0,u),d=to(e,u,t),h=d.trim(),m=d.indexOf(h);m>0&&hr(i,f,m);const g=u-(d.length-h.length-m);return hr(l,f,g),Ze(e,s.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:h,loc:Bt(e,i,l)},loc:Bt(e,o)}}function M0(e,t){const n=t===3?["]]>"]:["<",e.options.delimiters[0]];let s=e.source.length;for(let i=0;i<n.length;i++){const l=e.source.indexOf(n[i],1);l!==-1&&s>l&&(s=l)}const r=Tt(e);return{type:2,content:to(e,s,t),loc:Bt(e,r)}}function to(e,t,n){const s=e.source.slice(0,t);return Ze(e,t),n===2||n===3||!s.includes("&")?s:e.options.decodeEntities(s,n===4)}function Tt(e){const{column:t,line:n,offset:s}=e;return{column:t,line:n,offset:s}}function Bt(e,t,n){return n=n||Tt(e),{start:t,end:n,source:e.originalSource.slice(t.offset,n.offset)}}function qr(e){return e[e.length-1]}function st(e,t){return e.startsWith(t)}function Ze(e,t){const{source:n}=e;hr(e,n,t),e.source=n.slice(t)}function wo(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ze(e,t[0].length)}function Sc(e,t,n){return pr(t,e.originalSource.slice(t.offset,n),n)}function Le(e,t,n,s=Tt(e)){n&&(s.offset+=n,s.column+=n),e.options.onError(je(t,{start:s,end:s,source:""}))}function R0(e,t,n){const s=e.source;switch(t){case 0:if(st(s,"</")){for(let r=n.length-1;r>=0;--r)if(Yi(s,n[r].tag))return!0}break;case 1:case 2:{const r=qr(n);if(r&&Yi(s,r.tag))return!0;break}case 3:if(st(s,"]]>"))return!0;break}return!s}function Yi(e,t){return st(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function B0(e,t){tr(e,t,pd(e,e.children[0]))}function pd(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!wr(t)}function tr(e,t,n=!1){const{children:s}=e,r=s.length;let o=0;for(let i=0;i<s.length;i++){const l=s[i];if(l.type===1&&l.tagType===0){const u=n?0:Rt(l,t);if(u>0){if(u>=2){l.codegenNode.patchFlag=-1+"",l.codegenNode=t.hoist(l.codegenNode),o++;continue}}else{const f=l.codegenNode;if(f.type===13){const d=gd(f);if((!d||d===512||d===1)&&md(l,t)>=2){const h=wd(l);h&&(f.props=t.hoist(h))}f.dynamicProps&&(f.dynamicProps=t.hoist(f.dynamicProps))}}}if(l.type===1){const u=l.tagType===1;u&&t.scopes.vSlot++,tr(l,t),u&&t.scopes.vSlot--}else if(l.type===11)tr(l,t,l.children.length===1);else if(l.type===9)for(let u=0;u<l.branches.length;u++)tr(l.branches[u],t,l.branches[u].children.length===1)}o&&t.transformHoist&&t.transformHoist(s,t,e),o&&o===r&&e.type===1&&e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&re(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Po(e.codegenNode.children)))}function Rt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const r=e.codegenNode;if(r.type!==13||r.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject")return 0;if(gd(r))return n.set(e,0),0;{let l=3;const u=md(e,t);if(u===0)return n.set(e,0),0;u<l&&(l=u);for(let f=0;f<e.children.length;f++){const d=Rt(e.children[f],t);if(d===0)return n.set(e,0),0;d<l&&(l=d)}if(l>1)for(let f=0;f<e.props.length;f++){const d=e.props[f];if(d.type===7&&d.name==="bind"&&d.exp){const h=Rt(d.exp,t);if(h===0)return n.set(e,0),0;h<l&&(l=h)}}if(r.isBlock){for(let f=0;f<e.props.length;f++)if(e.props[f].type===7)return n.set(e,0),0;t.removeHelper(Gn),t.removeHelper(As(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Ps(t.inSSR,r.isComponent))}return n.set(e,l),l}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Rt(e.content,t);case 4:return e.constType;case 8:let i=3;for(let l=0;l<e.children.length;l++){const u=e.children[l];if(xe(u)||En(u))continue;const f=Rt(u,t);if(f===0)return 0;f<i&&(i=f)}return i;default:return 0}}const L0=new Set([Kl,Wl,fo,$o]);function hd(e,t){if(e.type===14&&!xe(e.callee)&&L0.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Rt(n,t);if(n.type===14)return hd(n,t)}return 0}function md(e,t){let n=3;const s=wd(e);if(s&&s.type===15){const{properties:r}=s;for(let o=0;o<r.length;o++){const{key:i,value:l}=r[o],u=Rt(i,t);if(u===0)return u;u<n&&(n=u);let f;if(l.type===4?f=Rt(l,t):l.type===14?f=hd(l,t):f=0,f===0)return f;f<n&&(n=f)}}return n}function wd(e){const t=e.codegenNode;if(t.type===13)return t.props}function gd(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function N0(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:i={},transformHoist:l=null,isBuiltInComponent:u=ct,isCustomElement:f=ct,expressionPlugins:d=[],scopeId:h=null,slotted:m=!0,ssr:g=!1,inSSR:v=!1,ssrCssVars:E="",bindingMetadata:M=Ne,inline:x=!1,isTS:b=!1,onError:k=Ll,onWarn:P=ed,compatConfig:T}){const A=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),U={selfName:A&&es(et(A[1])),prefixIdentifiers:n,hoistStatic:s,cacheHandlers:r,nodeTransforms:o,directiveTransforms:i,transformHoist:l,isBuiltInComponent:u,isCustomElement:f,expressionPlugins:d,scopeId:h,slotted:m,ssr:g,inSSR:v,ssrCssVars:E,bindingMetadata:M,inline:x,isTS:b,onError:k,onWarn:P,compatConfig:T,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper($){const L=U.helpers.get($)||0;return U.helpers.set($,L+1),$},removeHelper($){const L=U.helpers.get($);if(L){const N=L-1;N?U.helpers.set($,N):U.helpers.delete($)}},helperString($){return`_${Ts[U.helper($)]}`},replaceNode($){U.parent.children[U.childIndex]=U.currentNode=$},removeNode($){const L=U.parent.children,N=$?L.indexOf($):U.currentNode?U.childIndex:-1;!$||$===U.currentNode?(U.currentNode=null,U.onNodeRemoved()):U.childIndex>N&&(U.childIndex--,U.onNodeRemoved()),U.parent.children.splice(N,1)},onNodeRemoved:()=>{},addIdentifiers($){},removeIdentifiers($){},hoist($){xe($)&&($=Se($)),U.hoists.push($);const L=Se(`_hoisted_${U.hoists.length}`,!1,$.loc,2);return L.hoisted=$,L},cache($,L=!1){return f0(U.cached++,$,L)}};return U.filters=new Set,U}function D0(e,t){const n=N0(e,t);zr(e,n),t.hoistStatic&&B0(e,n),t.ssr||F0(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function F0(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const r=s[0];if(pd(e,r)&&r.codegenNode){const o=r.codegenNode;o.type===13&&Jl(o,t),e.codegenNode=o}else e.codegenNode=r}else if(s.length>1){let r=64;e.codegenNode=po(t,n(uo),void 0,e.children,r+"",void 0,void 0,!0,void 0,!1)}}function H0(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];xe(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=s,zr(r,t))}}function zr(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let o=0;o<n.length;o++){const i=n[o](e,t);if(i&&(re(i)?s.push(...i):s.push(i)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(To);break;case 5:t.ssr||t.helper(jr);break;case 9:for(let o=0;o<e.branches.length;o++)zr(e.branches[o],t);break;case 10:case 11:case 1:case 0:H0(e,t);break}t.currentNode=e;let r=s.length;for(;r--;)s[r]()}function yd(e,t){const n=xe(e)?s=>s===e:s=>e.test(s);return(s,r)=>{if(s.type===1){const{props:o}=s;if(s.tagType===3&&o.some(b0))return;const i=[];for(let l=0;l<o.length;l++){const u=o[l];if(u.type===7&&n(u.name)){o.splice(l,1),l--;const f=t(s,u,r);f&&i.push(f)}}return i}}}const Kr="/*#__PURE__*/",bd=e=>`${Ts[e]}: _${Ts[e]}`;function V0(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:r="template.vue.html",scopeId:o=null,optimizeImports:i=!1,runtimeGlobalName:l="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:f="vue/server-renderer",ssr:d=!1,isTS:h=!1,inSSR:m=!1}){const g={mode:t,prefixIdentifiers:n,sourceMap:s,filename:r,scopeId:o,optimizeImports:i,runtimeGlobalName:l,runtimeModuleName:u,ssrRuntimeModuleName:f,ssr:d,isTS:h,inSSR:m,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(E){return`_${Ts[E]}`},push(E,M){g.code+=E},indent(){v(++g.indentLevel)},deindent(E=!1){E?--g.indentLevel:v(--g.indentLevel)},newline(){v(g.indentLevel)}};function v(E){g.push(`
3
- `+" ".repeat(E))}return g}function j0(e,t={}){const n=V0(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:r,prefixIdentifiers:o,indent:i,deindent:l,newline:u,scopeId:f,ssr:d}=n,h=e.helpers.length>0,m=!o&&s!=="module";U0(e,n);const v=d?"ssrRender":"render",M=(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(r(`function ${v}(${M}) {`),i(),m&&(r("with (_ctx) {"),i(),h&&(r(`const { ${e.helpers.map(bd).join(", ")} } = _Vue`),r(`
4
- `),u())),e.components.length&&(yi(e.components,"component",n),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(yi(e.directives,"directive",n),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),yi(e.filters,"filter",n),u()),e.temps>0){r("let ");for(let x=0;x<e.temps;x++)r(`${x>0?", ":""}_temp${x}`)}return(e.components.length||e.directives.length||e.temps)&&(r(`
5
- `),u()),d||r("return "),e.codegenNode?rt(e.codegenNode,n):r("null"),m&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function U0(e,t){const{ssr:n,prefixIdentifiers:s,push:r,newline:o,runtimeModuleName:i,runtimeGlobalName:l,ssrRuntimeModuleName:u}=t,f=l;if(e.helpers.length>0&&(r(`const _Vue = ${f}
6
- `),e.hoists.length)){const d=[Dl,Fl,To,Hl,od].filter(h=>e.helpers.includes(h)).map(bd).join(", ");r(`const { ${d} } = _Vue
7
- `)}q0(e.hoists,t),o(),r("return ")}function yi(e,t,{helper:n,push:s,newline:r,isTS:o}){const i=n(t==="filter"?Ul:t==="component"?Vl:jl);for(let l=0;l<e.length;l++){let u=e[l];const f=u.endsWith("__self");f&&(u=u.slice(0,-6)),s(`const ${ho(u,t)} = ${i}(${JSON.stringify(u)}${f?", true":""})${o?"!":""}`),l<e.length-1&&r()}}function q0(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s,helper:r,scopeId:o,mode:i}=t;s();for(let l=0;l<e.length;l++){const u=e[l];u&&(n(`const _hoisted_${l+1} = `),rt(u,t),s())}t.pure=!1}function ea(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Ao(e,t,n),n&&t.deindent(),t.push("]")}function Ao(e,t,n=!1,s=!0){const{push:r,newline:o}=t;for(let i=0;i<e.length;i++){const l=e[i];xe(l)?r(l):re(l)?ea(l,t):rt(l,t),i<e.length-1&&(n?(s&&r(","),o()):s&&r(", "))}}function rt(e,t){if(xe(e)){t.push(e);return}if(En(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:rt(e.codegenNode,t);break;case 2:z0(e,t);break;case 4:vd(e,t);break;case 5:K0(e,t);break;case 12:rt(e.codegenNode,t);break;case 8:_d(e,t);break;case 3:Y0(e,t);break;case 13:Q0(e,t);break;case 14:G0(e,t);break;case 15:J0(e,t);break;case 17:X0(e,t);break;case 18:eb(e,t);break;case 19:tb(e,t);break;case 20:nb(e,t);break;case 21:Ao(e.body,t,!0,!1);break}}function z0(e,t){t.push(JSON.stringify(e.content),e)}function vd(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,e)}function K0(e,t){const{push:n,helper:s,pure:r}=t;r&&n(Kr),n(`${s(jr)}(`),rt(e.content,t),n(")")}function _d(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];xe(s)?t.push(s):rt(s,t)}}function W0(e,t){const{push:n}=t;if(e.type===8)n("["),_d(e,t),n("]");else if(e.isStatic){const s=Gl(e.content)?e.content:JSON.stringify(e.content);n(s,e)}else n(`[${e.content}]`,e)}function Y0(e,t){const{push:n,helper:s,pure:r}=t;r&&n(Kr),n(`${s(To)}(${JSON.stringify(e.content)})`,e)}function Q0(e,t){const{push:n,helper:s,pure:r}=t,{tag:o,props:i,children:l,patchFlag:u,dynamicProps:f,directives:d,isBlock:h,disableTracking:m,isComponent:g}=e;d&&n(s(ql)+"("),h&&n(`(${s(Gn)}(${m?"true":""}), `),r&&n(Kr);const v=h?As(t.inSSR,g):Ps(t.inSSR,g);n(s(v)+"(",e),Ao(Z0([o,i,l,u,f]),t),n(")"),h&&n(")"),d&&(n(", "),rt(d,t),n(")"))}function Z0(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function G0(e,t){const{push:n,helper:s,pure:r}=t,o=xe(e.callee)?e.callee:s(e.callee);r&&n(Kr),n(o+"(",e),Ao(e.arguments,t),n(")")}function J0(e,t){const{push:n,indent:s,deindent:r,newline:o}=t,{properties:i}=e;if(!i.length){n("{}",e);return}const l=i.length>1||!1;n(l?"{":"{ "),l&&s();for(let u=0;u<i.length;u++){const{key:f,value:d}=i[u];W0(f,t),n(": "),rt(d,t),u<i.length-1&&(n(","),o())}l&&r(),n(l?"}":" }")}function X0(e,t){ea(e.elements,t)}function eb(e,t){const{push:n,indent:s,deindent:r}=t,{params:o,returns:i,body:l,newline:u,isSlot:f}=e;f&&n(`_${Ts[Ql]}(`),n("(",e),re(o)?Ao(o,t):o&&rt(o,t),n(") => "),(u||l)&&(n("{"),s()),i?(u&&n("return "),re(i)?ea(i,t):rt(i,t)):l&&rt(l,t),(u||l)&&(r(),n("}")),f&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function tb(e,t){const{test:n,consequent:s,alternate:r,newline:o}=e,{push:i,indent:l,deindent:u,newline:f}=t;if(n.type===4){const h=!Gl(n.content);h&&i("("),vd(n,t),h&&i(")")}else i("("),rt(n,t),i(")");o&&l(),t.indentLevel++,o||i(" "),i("? "),rt(s,t),t.indentLevel--,o&&f(),o||i(" "),i(": ");const d=r.type===19;d||t.indentLevel++,rt(r,t),d||t.indentLevel--,o&&u(!0)}function nb(e,t){const{push:n,helper:s,indent:r,deindent:o,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${s(dr)}(-1),`),i()),n(`_cache[${e.index}] = `),rt(e.value,t),e.isVNode&&(n(","),i(),n(`${s(dr)}(1),`),i(),n(`_cache[${e.index}]`),o()),n(")")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const sb=yd(/^(if|else|else-if)$/,(e,t,n)=>ob(e,t,n,(s,r,o)=>{const i=n.parent.children;let l=i.indexOf(s),u=0;for(;l-->=0;){const f=i[l];f&&f.type===9&&(u+=f.branches.length)}return()=>{if(o)s.codegenNode=$c(r,u,n);else{const f=rb(s.codegenNode);f.alternate=$c(r,u+s.branches.length-1,n)}}}));function ob(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(je(28,t.loc)),t.exp=Se("true",!1,r)}if(t.name==="if"){const r=Tc(e,t),o={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(o),s)return s(o,r,!0)}else{const r=n.parent.children;let o=r.indexOf(e);for(;o-->=-1;){const i=r[o];if(i&&i.type===3){n.removeNode(i);continue}if(i&&i.type===2&&!i.content.trim().length){n.removeNode(i);continue}if(i&&i.type===9){t.name==="else-if"&&i.branches[i.branches.length-1].condition===void 0&&n.onError(je(30,e.loc)),n.removeNode();const l=Tc(e,t);i.branches.push(l);const u=s&&s(i,l,!1);zr(l,n),u&&u(),n.currentNode=null}else n.onError(je(30,e.loc));break}}}function Tc(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!It(e,"for")?e.children:[e],userKey:Ur(e,"key"),isTemplateIf:n}}function $c(e,t,n){return e.condition?Ki(e.condition,Pc(e,t,n),Ke(n.helper(To),['""',"true"])):Pc(e,t,n)}function Pc(e,t,n){const{helper:s}=n,r=qe("key",Se(`${t}`,!1,Pt,2)),{children:o}=e,i=o[0];if(o.length!==1||i.type!==1)if(o.length===1&&i.type===11){const u=i.codegenNode;return gr(u,r,n),u}else{let u=64;return po(n,s(uo),Mt([r]),o,u+"",void 0,void 0,!0,!1,!1,e.loc)}else{const u=i.codegenNode,f=_0(u);return f.type===13&&Jl(f,n),gr(f,r,n),u}}function rb(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const ib=yd("for",(e,t,n)=>{const{helper:s,removeHelper:r}=n;return lb(e,t,n,o=>{const i=Ke(s(zl),[o.source]),l=mr(e),u=It(e,"memo"),f=Ur(e,"key"),d=f&&(f.type===6?Se(f.value.content,!0):f.exp),h=f?qe("key",d):null,m=o.source.type===4&&o.source.constType>0,g=m?64:f?128:256;return o.codegenNode=po(n,s(uo),void 0,i,g+"",void 0,void 0,!0,!m,!1,e.loc),()=>{let v;const{children:E}=o,M=E.length!==1||E[0].type!==1,x=wr(e)?e:l&&e.children.length===1&&wr(e.children[0])?e.children[0]:null;if(x?(v=x.codegenNode,l&&h&&gr(v,h,n)):M?v=po(n,s(uo),h?Mt([h]):void 0,e.children,64+"",void 0,void 0,!0,void 0,!1):(v=E[0].codegenNode,l&&h&&gr(v,h,n),v.isBlock!==!m&&(v.isBlock?(r(Gn),r(As(n.inSSR,v.isComponent))):r(Ps(n.inSSR,v.isComponent))),v.isBlock=!m,v.isBlock?(s(Gn),s(As(n.inSSR,v.isComponent))):s(Ps(n.inSSR,v.isComponent))),u){const b=$s(Qi(o.parseResult,[Se("_cached")]));b.body=d0([Ht(["const _memo = (",u.exp,")"]),Ht(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(ld)}(_cached, _memo)) return _cached`]),Ht(["const _item = ",v]),Se("_item.memo = _memo"),Se("return _item")]),i.arguments.push(b,Se("_cache"),Se(String(n.cached++)))}else i.arguments.push($s(Qi(o.parseResult),v,!0))}})});function lb(e,t,n,s){if(!t.exp){n.onError(je(31,t.loc));return}const r=Cd(t.exp);if(!r){n.onError(je(32,t.loc));return}const{addIdentifiers:o,removeIdentifiers:i,scopes:l}=n,{source:u,value:f,key:d,index:h}=r,m={type:11,loc:t.loc,source:u,valueAlias:f,keyAlias:d,objectIndexAlias:h,parseResult:r,children:mr(e)?e.children:[e]};n.replaceNode(m),l.vFor++;const g=s&&s(m);return()=>{l.vFor--,g&&g()}}const ab=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ac=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,cb=/^\(|\)$/g;function Cd(e,t){const n=e.loc,s=e.content,r=s.match(ab);if(!r)return;const[,o,i]=r,l={source:Qo(n,i.trim(),s.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0};let u=o.trim().replace(cb,"").trim();const f=o.indexOf(u),d=u.match(Ac);if(d){u=u.replace(Ac,"").trim();const h=d[1].trim();let m;if(h&&(m=s.indexOf(h,f+u.length),l.key=Qo(n,h,m)),d[2]){const g=d[2].trim();g&&(l.index=Qo(n,g,s.indexOf(g,l.key?m+h.length:f+u.length)))}}return u&&(l.value=Qo(n,u,f)),l}function Qo(e,t,n){return Se(t,!1,ud(e,n,t.length))}function Qi({value:e,key:t,index:n},s=[]){return ub([e,t,n,...s])}function ub(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Se("_".repeat(s+1),!1))}const Oc=Se("undefined",!1),fb=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=It(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},db=(e,t,n)=>$s(e,t,!1,!0,t.length?t[0].loc:n);function pb(e,t,n=db){t.helper(Ql);const{children:s,loc:r}=e,o=[],i=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const u=It(e,"slot",!0);if(u){const{arg:M,exp:x}=u;M&&!ht(M)&&(l=!0),o.push(qe(M||Se("default",!0),n(x,s,r)))}let f=!1,d=!1;const h=[],m=new Set;let g=0;for(let M=0;M<s.length;M++){const x=s[M];let b;if(!mr(x)||!(b=It(x,"slot",!0))){x.type!==3&&h.push(x);continue}if(u){t.onError(je(37,b.loc));break}f=!0;const{children:k,loc:P}=x,{arg:T=Se("default",!0),exp:A,loc:U}=b;let $;ht(T)?$=T?T.content:"default":l=!0;const L=n(A,k,P);let N,K,z;if(N=It(x,"if"))l=!0,i.push(Ki(N.exp,Zo(T,L,g++),Oc));else if(K=It(x,/^else(-if)?$/,!0)){let H=M,S;for(;H--&&(S=s[H],S.type===3););if(S&&mr(S)&&It(S,"if")){s.splice(M,1),M--;let V=i[i.length-1];for(;V.alternate.type===19;)V=V.alternate;V.alternate=K.exp?Ki(K.exp,Zo(T,L,g++),Oc):Zo(T,L,g++)}else t.onError(je(30,K.loc))}else if(z=It(x,"for")){l=!0;const H=z.parseResult||Cd(z.exp);H?i.push(Ke(t.helper(zl),[H.source,$s(Qi(H),Zo(T,L),!0)])):t.onError(je(32,z.loc))}else{if($){if(m.has($)){t.onError(je(38,U));continue}m.add($),$==="default"&&(d=!0)}o.push(qe(T,L))}}if(!u){const M=(x,b)=>{const k=n(x,b,r);return t.compatConfig&&(k.isNonScopedSlot=!0),qe("default",k)};f?h.length&&h.some(x=>xd(x))&&(d?t.onError(je(39,h[0].loc)):o.push(M(void 0,h))):o.push(M(void 0,s))}const v=l?2:nr(e.children)?3:1;let E=Mt(o.concat(qe("_",Se(v+"",!1))),r);return i.length&&(E=Ke(t.helper(id),[E,Po(i)])),{slots:E,hasDynamicSlots:l}}function Zo(e,t,n){const s=[qe("name",e),qe("fn",t)];return n!=null&&s.push(qe("key",Se(String(n),!0))),Mt(s)}function nr(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||nr(n.children))return!0;break;case 9:if(nr(n.branches))return!0;break;case 10:case 11:if(nr(n.children))return!0;break}}return!1}function xd(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():xd(e.content)}const kd=new WeakMap,hb=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:r}=e,o=e.tagType===1;let i=o?mb(e,t):`"${s}"`;const l=De(i)&&i.callee===ur;let u,f,d,h=0,m,g,v,E=l||i===eo||i===Nl||!o&&(s==="svg"||s==="foreignObject");if(r.length>0){const M=Ed(e,t,void 0,o,l);u=M.props,h=M.patchFlag,g=M.dynamicPropNames;const x=M.directives;v=x&&x.length?Po(x.map(b=>gb(b,t))):void 0,M.shouldUseBlock&&(E=!0)}if(e.children.length>0)if(i===cr&&(E=!0,h|=1024),o&&i!==eo&&i!==cr){const{slots:x,hasDynamicSlots:b}=pb(e,t);f=x,b&&(h|=1024)}else if(e.children.length===1&&i!==eo){const x=e.children[0],b=x.type,k=b===5||b===8;k&&Rt(x,t)===0&&(h|=1),k||b===2?f=x:f=e.children}else f=e.children;h!==0&&(d=String(h),g&&g.length&&(m=yb(g))),e.codegenNode=po(t,i,u,f,d,m,v,!!E,!1,o,e.loc)};function mb(e,t,n=!1){let{tag:s}=e;const r=Zi(s),o=Ur(e,"is");if(o)if(r||Kn("COMPILER_IS_ON_ELEMENT",t)){const u=o.type===6?o.value&&Se(o.value.content,!0):o.exp;if(u)return Ke(t.helper(ur),[u])}else o.type===6&&o.value.content.startsWith("vue:")&&(s=o.value.content.slice(4));const i=!r&&It(e,"is");if(i&&i.exp)return Ke(t.helper(ur),[i.exp]);const l=ad(s)||t.isBuiltInComponent(s);return l?(n||t.helper(l),l):(t.helper(Vl),t.components.add(s),ho(s,"component"))}function Ed(e,t,n=e.props,s,r,o=!1){const{tag:i,loc:l,children:u}=e;let f=[];const d=[],h=[],m=u.length>0;let g=!1,v=0,E=!1,M=!1,x=!1,b=!1,k=!1,P=!1;const T=[],A=L=>{f.length&&(d.push(Mt(Ic(f),l)),f=[]),L&&d.push(L)},U=({key:L,value:N})=>{if(ht(L)){const K=L.content,z=Jn(K);if(z&&(!s||r)&&K.toLowerCase()!=="onclick"&&K!=="onUpdate:modelValue"&&!Hn(K)&&(b=!0),z&&Hn(K)&&(P=!0),N.type===20||(N.type===4||N.type===8)&&Rt(N,t)>0)return;K==="ref"?E=!0:K==="class"?M=!0:K==="style"?x=!0:K!=="key"&&!T.includes(K)&&T.push(K),s&&(K==="class"||K==="style")&&!T.includes(K)&&T.push(K)}else k=!0};for(let L=0;L<n.length;L++){const N=n[L];if(N.type===6){const{loc:K,name:z,value:H}=N;let S=!0;if(z==="ref"&&(E=!0,t.scopes.vFor>0&&f.push(qe(Se("ref_for",!0),Se("true")))),z==="is"&&(Zi(i)||H&&H.content.startsWith("vue:")||Kn("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(qe(Se(z,!0,ud(K,0,z.length)),Se(H?H.content:"",S,H?H.loc:K)))}else{const{name:K,arg:z,exp:H,loc:S}=N,V=K==="bind",J=K==="on";if(K==="slot"){s||t.onError(je(40,S));continue}if(K==="once"||K==="memo"||K==="is"||V&&Dn(z,"is")&&(Zi(i)||Kn("COMPILER_IS_ON_ELEMENT",t))||J&&o)continue;if((V&&Dn(z,"key")||J&&m&&Dn(z,"vue:before-update"))&&(g=!0),V&&Dn(z,"ref")&&t.scopes.vFor>0&&f.push(qe(Se("ref_for",!0),Se("true"))),!z&&(V||J)){if(k=!0,H)if(V){if(A(),Kn("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(H);continue}d.push(H)}else A({type:14,loc:S,callee:t.helper(Yl),arguments:s?[H]:[H,"true"]});else t.onError(je(V?34:35,S));continue}const q=t.directiveTransforms[K];if(q){const{props:X,needRuntime:ce}=q(N,e,t);!o&&X.forEach(U),J&&z&&!ht(z)?A(Mt(X,l)):f.push(...X),ce&&(h.push(N),En(ce)&&kd.set(N,ce))}else gw(K)||(h.push(N),m&&(g=!0))}}let $;if(d.length?(A(),d.length>1?$=Ke(t.helper(fr),d,l):$=d[0]):f.length&&($=Mt(Ic(f),l)),k?v|=16:(M&&!s&&(v|=2),x&&!s&&(v|=4),T.length&&(v|=8),b&&(v|=32)),!g&&(v===0||v===32)&&(E||P||h.length>0)&&(v|=512),!t.inSSR&&$)switch($.type){case 15:let L=-1,N=-1,K=!1;for(let S=0;S<$.properties.length;S++){const V=$.properties[S].key;ht(V)?V.content==="class"?L=S:V.content==="style"&&(N=S):V.isHandlerKey||(K=!0)}const z=$.properties[L],H=$.properties[N];K?$=Ke(t.helper(fo),[$]):(z&&!ht(z.value)&&(z.value=Ke(t.helper(Kl),[z.value])),H&&(x||H.value.type===4&&H.value.content.trim()[0]==="["||H.value.type===17)&&(H.value=Ke(t.helper(Wl),[H.value])));break;case 14:break;default:$=Ke(t.helper(fo),[Ke(t.helper($o),[$])]);break}return{props:$,directives:h,patchFlag:v,dynamicPropNames:T,shouldUseBlock:g}}function Ic(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const r=e[s];if(r.key.type===8||!r.key.isStatic){n.push(r);continue}const o=r.key.content,i=t.get(o);i?(o==="style"||o==="class"||Jn(o))&&wb(i,r):(t.set(o,r),n.push(r))}return n}function wb(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Po([e.value,t.value],e.loc)}function gb(e,t){const n=[],s=kd.get(e);s?n.push(t.helperString(s)):(t.helper(jl),t.directives.add(e.name),n.push(ho(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const o=Se("true",!1,r);n.push(Mt(e.modifiers.map(i=>qe(i,o)),r))}return Po(n,e.loc)}function yb(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Zi(e){return e==="component"||e==="Component"}const bb=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vb=/-(\w)/g,Mc=bb(e=>e.replace(vb,(t,n)=>n?n.toUpperCase():"")),_b=(e,t)=>{if(wr(e)){const{children:n,loc:s}=e,{slotName:r,slotProps:o}=Cb(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let l=2;o&&(i[2]=o,l=3),n.length&&(i[3]=$s([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),i.splice(l),e.codegenNode=Ke(t.helper(rd),i,s)}};function Cb(e,t){let n='"default"',s;const r=[];for(let o=0;o<e.props.length;o++){const i=e.props[o];i.type===6?i.value&&(i.name==="name"?n=JSON.stringify(i.value.content):(i.name=Mc(i.name),r.push(i))):i.name==="bind"&&Dn(i.arg,"name")?i.exp&&(n=i.exp):(i.name==="bind"&&i.arg&&ht(i.arg)&&(i.arg.content=Mc(i.arg.content)),r.push(i))}if(r.length>0){const{props:o,directives:i}=Ed(e,t,r,!1,!1);s=o,i.length&&t.onError(je(36,i[0].loc))}return{slotName:n,slotProps:s}}const xb=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Sd=(e,t,n,s)=>{const{loc:r,modifiers:o,arg:i}=e;!e.exp&&!o.length&&n.onError(je(35,r));let l;if(i.type===4)if(i.isStatic){let h=i.content;h.startsWith("vue:")&&(h=`vnode-${h.slice(4)}`);const m=t.tagType!==0||h.startsWith("vnode")||!/[A-Z]/.test(h)?bs(et(h)):`on:${h}`;l=Se(m,!0,i.loc)}else l=Ht([`${n.helperString(zi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(zi)}(`),l.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let f=n.cacheHandlers&&!u&&!n.inVOnce;if(u){const h=cd(u.content),m=!(h||xb.test(u.content)),g=u.content.includes(";");(m||f&&h)&&(u=Ht([`${m?"$event":"(...args)"} => ${g?"{":"("}`,u,g?"}":")"]))}let d={props:[qe(l,u||Se("() => {}",!1,r))]};return s&&(d=s(d)),f&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach(h=>h.key.isHandlerKey=!0),d},kb=(e,t,n)=>{const{exp:s,modifiers:r,loc:o}=e,i=e.arg;return i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(i.type===4?i.isStatic?i.content=et(i.content):i.content=`${n.helperString(qi)}(${i.content})`:(i.children.unshift(`${n.helperString(qi)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Rc(i,"."),r.includes("attr")&&Rc(i,"^")),!s||s.type===4&&!s.content.trim()?(n.onError(je(34,o)),{props:[qe(i,Se("",!0,o))]}):{props:[qe(i,s)]}},Rc=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Eb=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,r=!1;for(let o=0;o<n.length;o++){const i=n[o];if(gi(i)){r=!0;for(let l=o+1;l<n.length;l++){const u=n[l];if(gi(u))s||(s=n[o]=Ht([i],i.loc)),s.children.push(" + ",u),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!r||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(o=>o.type===7&&!t.directiveTransforms[o.name])&&e.tag!=="template")))for(let o=0;o<n.length;o++){const i=n[o];if(gi(i)||i.type===8){const l=[];(i.type!==2||i.content!==" ")&&l.push(i),!t.ssr&&Rt(i,t)===0&&l.push(1+""),n[o]={type:12,content:i,loc:i.loc,codegenNode:Ke(t.helper(Hl),l)}}}}},Bc=new WeakSet,Sb=(e,t)=>{if(e.type===1&&It(e,"once",!0))return Bc.has(e)||t.inVOnce?void 0:(Bc.add(e),t.inVOnce=!0,t.helper(dr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},Td=(e,t,n)=>{const{exp:s,arg:r}=e;if(!s)return n.onError(je(41,e.loc)),Go();const o=s.loc.source,i=s.type===4?s.content:o,l=n.bindingMetadata[o];if(l==="props"||l==="props-aliased")return n.onError(je(44,s.loc)),Go();const u=!1;if(!i.trim()||!cd(i)&&!u)return n.onError(je(42,s.loc)),Go();const f=r||Se("modelValue",!0),d=r?ht(r)?`onUpdate:${r.content}`:Ht(['"onUpdate:" + ',r]):"onUpdate:modelValue";let h;const m=n.isTS?"($event: any)":"$event";h=Ht([`${m} => ((`,s,") = $event)"]);const g=[qe(f,e.exp),qe(d,h)];if(e.modifiers.length&&t.tagType===1){const v=e.modifiers.map(M=>(Gl(M)?M:JSON.stringify(M))+": true").join(", "),E=r?ht(r)?`${r.content}Modifiers`:Ht([r,' + "Modifiers"']):"modelModifiers";g.push(qe(E,Se(`{ ${v} }`,!1,e.loc,2)))}return Go(g)};function Go(e=[]){return{props:e}}const Tb=/[\w).+\-_$\]]/,$b=(e,t)=>{!Kn("COMPILER_FILTER",t)||(e.type===5&&yr(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&yr(n.exp,t)}))};function yr(e,t){if(e.type===4)Lc(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?Lc(s,t):s.type===8?yr(e,t):s.type===5&&yr(s.content,t))}}function Lc(e,t){const n=e.content;let s=!1,r=!1,o=!1,i=!1,l=0,u=0,f=0,d=0,h,m,g,v,E=[];for(g=0;g<n.length;g++)if(m=h,h=n.charCodeAt(g),s)h===39&&m!==92&&(s=!1);else if(r)h===34&&m!==92&&(r=!1);else if(o)h===96&&m!==92&&(o=!1);else if(i)h===47&&m!==92&&(i=!1);else if(h===124&&n.charCodeAt(g+1)!==124&&n.charCodeAt(g-1)!==124&&!l&&!u&&!f)v===void 0?(d=g+1,v=n.slice(0,g).trim()):M();else{switch(h){case 34:r=!0;break;case 39:s=!0;break;case 96:o=!0;break;case 40:f++;break;case 41:f--;break;case 91:u++;break;case 93:u--;break;case 123:l++;break;case 125:l--;break}if(h===47){let x=g-1,b;for(;x>=0&&(b=n.charAt(x),b===" ");x--);(!b||!Tb.test(b))&&(i=!0)}}v===void 0?v=n.slice(0,g).trim():d!==0&&M();function M(){E.push(n.slice(d,g).trim()),d=g+1}if(E.length){for(g=0;g<E.length;g++)v=Pb(v,E[g],t);e.content=v}}function Pb(e,t,n){n.helper(Ul);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ho(t,"filter")}(${e})`;{const r=t.slice(0,s),o=t.slice(s+1);return n.filters.add(r),`${ho(r,"filter")}(${e}${o!==")"?","+o:o}`}}const Nc=new WeakSet,Ab=(e,t)=>{if(e.type===1){const n=It(e,"memo");return!n||Nc.has(e)?void 0:(Nc.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Jl(s,t),e.codegenNode=Ke(t.helper(Zl),[n.exp,$s(void 0,s),"_cache",String(t.cached++)]))})}};function Ob(e){return[[Sb,sb,Ab,ib,$b,_b,hb,fb,Eb],{on:Sd,bind:kb,model:Td}]}function Ib(e,t={}){const n=t.onError||Ll,s=t.mode==="module";t.prefixIdentifiers===!0?n(je(47)):s&&n(je(48));const r=!1;t.cacheHandlers&&n(je(49)),t.scopeId&&!s&&n(je(50));const o=xe(e)?k0(e,t):e,[i,l]=Ob();return D0(o,Me({},t,{prefixIdentifiers:r,nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:Me({},l,t.directiveTransforms||{})})),j0(o,Me({},t,{prefixIdentifiers:r}))}const Mb=()=>({props:[]}),$d=Symbol(""),Pd=Symbol(""),Ad=Symbol(""),Od=Symbol(""),Gi=Symbol(""),Id=Symbol(""),Md=Symbol(""),Rd=Symbol(""),Bd=Symbol(""),Ld=Symbol("");c0({[$d]:"vModelRadio",[Pd]:"vModelCheckbox",[Ad]:"vModelText",[Od]:"vModelSelect",[Gi]:"vModelDynamic",[Id]:"withModifiers",[Md]:"withKeys",[Rd]:"vShow",[Bd]:"Transition",[Ld]:"TransitionGroup"});let us;function Rb(e,t=!1){return us||(us=document.createElement("div")),t?(us.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,us.children[0].getAttribute("foo")):(us.innerHTML=e,us.textContent)}const Bb=mt("style,iframe,script,noscript",!0),Lb={isVoidTag:uw,isNativeTag:e=>aw(e)||cw(e),isPreTag:e=>e==="pre",decodeEntities:Rb,isBuiltInComponent:e=>{if(hs(e,"Transition"))return Bd;if(hs(e,"TransitionGroup"))return Ld},getNamespace(e,t){let n=t?t.ns:0;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n},getTextMode({tag:e,ns:t}){if(t===0){if(e==="textarea"||e==="title")return 1;if(Bb(e))return 2}return 0}},Nb=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Se("style",!0,t.loc),exp:Db(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Db=(e,t)=>{const n=hu(e);return Se(JSON.stringify(n),!1,t,3)};function an(e,t){return je(e,t)}const Fb=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(an(51,r)),t.children.length&&(n.onError(an(52,r)),t.children.length=0),{props:[qe(Se("innerHTML",!0,r),s||Se("",!0))]}},Hb=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(an(53,r)),t.children.length&&(n.onError(an(54,r)),t.children.length=0),{props:[qe(Se("textContent",!0),s?Rt(s,n)>0?s:Ke(n.helperString(jr),[s],r):Se("",!0))]}},Vb=(e,t,n)=>{const s=Td(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(an(56,e.arg.loc));const{tag:r}=t,o=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||o){let i=Ad,l=!1;if(r==="input"||o){const u=Ur(t,"type");if(u){if(u.type===7)i=Gi;else if(u.value)switch(u.value.content){case"radio":i=$d;break;case"checkbox":i=Pd;break;case"file":l=!0,n.onError(an(57,e.loc));break}}else y0(t)&&(i=Gi)}else r==="select"&&(i=Od);l||(s.needRuntime=n.helper(i))}else n.onError(an(55,e.loc));return s.props=s.props.filter(i=>!(i.key.type===4&&i.key.content==="modelValue")),s},jb=mt("passive,once,capture"),Ub=mt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),qb=mt("left,right"),Nd=mt("onkeyup,onkeydown,onkeypress",!0),zb=(e,t,n,s)=>{const r=[],o=[],i=[];for(let l=0;l<t.length;l++){const u=t[l];u==="native"&&mo("COMPILER_V_ON_NATIVE",n)||jb(u)?i.push(u):qb(u)?ht(e)?Nd(e.content)?r.push(u):o.push(u):(r.push(u),o.push(u)):Ub(u)?o.push(u):r.push(u)}return{keyModifiers:r,nonKeyModifiers:o,eventOptionModifiers:i}},Dc=(e,t)=>ht(e)&&e.content.toLowerCase()==="onclick"?Se(t,!0):e.type!==4?Ht(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Kb=(e,t,n)=>Sd(e,t,n,s=>{const{modifiers:r}=e;if(!r.length)return s;let{key:o,value:i}=s.props[0];const{keyModifiers:l,nonKeyModifiers:u,eventOptionModifiers:f}=zb(o,r,n,e.loc);if(u.includes("right")&&(o=Dc(o,"onContextmenu")),u.includes("middle")&&(o=Dc(o,"onMouseup")),u.length&&(i=Ke(n.helper(Id),[i,JSON.stringify(u)])),l.length&&(!ht(o)||Nd(o.content))&&(i=Ke(n.helper(Md),[i,JSON.stringify(l)])),f.length){const d=f.map(es).join("");o=ht(o)?Se(`${o.content}${d}`,!0):Ht(["(",o,`) + "${d}"`])}return{props:[qe(o,i)]}}),Wb=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(an(59,r)),{props:[],needRuntime:n.helper(Rd)}},Yb=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(t.onError(an(61,e.loc)),t.removeNode())},Qb=[Nb],Zb={cloak:Mb,html:Fb,text:Hb,model:Vb,on:Kb,show:Wb};function Gb(e,t={}){return Ib(e,Me({},Lb,t,{nodeTransforms:[Yb,...Qb,...t.nodeTransforms||[]],directiveTransforms:Me({},Zb,t.directiveTransforms||{}),transformHoist:null}))}const Fc=Object.create(null);function Jb(e,t){if(!xe(e))if(e.nodeType)e=e.innerHTML;else return ct;const n=e,s=Fc[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const r=Me({hoistStatic:!0,onError:void 0,onWarn:ct},t);!r.isCustomElement&&typeof customElements<"u"&&(r.isCustomElement=l=>!!customElements.get(l));const{code:o}=Gb(e,r),i=new Function("Vue",o)(s0);return i._rc=!0,Fc[n]=i}Pf(Jb);const ta=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Xb={},Dd=e=>(qu("data-v-e598937d"),e=e(),zu(),e),ev={class:"spinner"},tv=Dd(()=>C("div",{class:"double-bounce1"},null,-1)),nv=Dd(()=>C("div",{class:"double-bounce2"},null,-1)),sv=[tv,nv];function ov(e,t){return I(),Z("div",ev,sv)}const rv=ta(Xb,[["render",ov],["__scopeId","data-v-e598937d"]]);/*!
8
- * vue-router v4.1.6
9
- * (c) 2022 Eduardo San Martin Morote
10
- * @license MIT
11
- */const ps=typeof window<"u";function iv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Be=Object.assign;function bi(e,t){const n={};for(const s in t){const r=t[s];n[s]=Vt(r)?r.map(e):e(r)}return n}const no=()=>{},Vt=Array.isArray,lv=/\/$/,av=e=>e.replace(lv,"");function vi(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let u=t.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(s=t.slice(0,u),o=t.slice(u+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=dv(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function cv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function uv(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Os(t.matched[s],n.matched[r])&&Fd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Fd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fv(e[n],t[n]))return!1;return!0}function fv(e,t){return Vt(e)?Vc(e,t):Vt(t)?Vc(t,e):e===t}function Vc(e,t){return Vt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function dv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o<s.length;o++)if(i=s[o],i!==".")if(i==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var go;(function(e){e.pop="pop",e.push="push"})(go||(go={}));var so;(function(e){e.back="back",e.forward="forward",e.unknown=""})(so||(so={}));function pv(e){if(!e)if(ps){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),av(e)}const hv=/^[^#]+#/;function mv(e,t){return e.replace(hv,"#")+t}function wv(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Wr=()=>({left:window.pageXOffset,top:window.pageYOffset});function gv(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wv(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function jc(e,t){return(history.state?history.state.position-t:-1)+e}const Ji=new Map;function yv(e,t){Ji.set(e,t)}function bv(e){const t=Ji.get(e);return Ji.delete(e),t}let vv=()=>location.protocol+"//"+location.host;function Hd(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,u=r.slice(l);return u[0]!=="/"&&(u="/"+u),Hc(u,"")}return Hc(n,e)+s+r}function _v(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=Hd(e,location),v=n.value,E=t.value;let M=0;if(m){if(n.value=g,t.value=m,i&&i===v){i=null;return}M=E?m.position-E.position:0}else s(g);r.forEach(x=>{x(n.value,v,{delta:M,type:go.pop,direction:M?M>0?so.forward:so.back:so.unknown})})};function u(){i=n.value}function f(m){r.push(m);const g=()=>{const v=r.indexOf(m);v>-1&&r.splice(v,1)};return o.push(g),g}function d(){const{history:m}=window;!m.state||m.replaceState(Be({},m.state,{scroll:Wr()}),"")}function h(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d),{pauseListeners:u,listen:f,destroy:h}}function Uc(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Wr():null}}function Cv(e){const{history:t,location:n}=window,s={value:Hd(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,f,d){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+u:vv()+e+u;try{t[d?"replaceState":"pushState"](f,"",m),r.value=f}catch(g){console.error(g),n[d?"replace":"assign"](m)}}function i(u,f){const d=Be({},t.state,Uc(r.value.back,u,r.value.forward,!0),f,{position:r.value.position});o(u,d,!0),s.value=u}function l(u,f){const d=Be({},r.value,t.state,{forward:u,scroll:Wr()});o(d.current,d,!0);const h=Be({},Uc(s.value,u,null),{position:d.position+1},f);o(u,h,!1),s.value=u}return{location:s,state:r,push:l,replace:i}}function xv(e){e=pv(e);const t=Cv(e),n=_v(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=Be({location:"",base:e,go:s,createHref:mv.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function kv(e){return typeof e=="string"||e&&typeof e=="object"}function Vd(e){return typeof e=="string"||typeof e=="symbol"}const gn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},jd=Symbol("");var qc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qc||(qc={}));function Is(e,t){return Be(new Error,{type:e,[jd]:!0},t)}function tn(e,t){return e instanceof Error&&jd in e&&(t==null||!!(e.type&t))}const zc="[^/]+?",Ev={sensitive:!1,strict:!1,start:!0,end:!0},Sv=/[.+*?^${}()[\]/\\]/g;function Tv(e,t){const n=Be({},Ev,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let h=0;h<f.length;h++){const m=f[h];let g=40+(n.sensitive?.25:0);if(m.type===0)h||(r+="/"),r+=m.value.replace(Sv,"\\$&"),g+=40;else if(m.type===1){const{value:v,repeatable:E,optional:M,regexp:x}=m;o.push({name:v,repeatable:E,optional:M});const b=x||zc;if(b!==zc){g+=10;try{new RegExp(`(${b})`)}catch(P){throw new Error(`Invalid custom RegExp for param "${v}" (${b}): `+P.message)}}let k=E?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;h||(k=M&&f.length<2?`(?:/${k})`:"/"+k),M&&(k+="?"),r+=k,g+=20,M&&(g+=-8),E&&(g+=-20),b===".*"&&(g+=-50)}d.push(g)}s.push(d)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(f){const d=f.match(i),h={};if(!d)return null;for(let m=1;m<d.length;m++){const g=d[m]||"",v=o[m-1];h[v.name]=g&&v.repeatable?g.split("/"):g}return h}function u(f){let d="",h=!1;for(const m of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const g of m)if(g.type===0)d+=g.value;else if(g.type===1){const{value:v,repeatable:E,optional:M}=g,x=v in f?f[v]:"";if(Vt(x)&&!E)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const b=Vt(x)?x.join("/"):x;if(!b)if(M)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${v}"`);d+=b}}return d||"/"}return{re:i,score:s,keys:o,parse:l,stringify:u}}function $v(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Pv(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=$v(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Kc(s))return 1;if(Kc(r))return-1}return r.length-s.length}function Kc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Av={type:0,value:""},Ov=/[a-zA-Z0-9_]/;function Iv(e){if(!e)return[[]];if(e==="/")return[[Av]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,u,f="",d="";function h(){!f||(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function m(){f+=u}for(;l<e.length;){if(u=e[l++],u==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:u==="/"?(f&&h(),i()):u===":"?(h(),n=1):m();break;case 4:m(),n=s;break;case 1:u==="("?n=2:Ov.test(u)?m():(h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case 2:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:n=3:d+=u;break;case 3:h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),i(),r}function Mv(e,t,n){const s=Tv(Iv(e.path),n),r=Be(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Rv(e,t){const n=[],s=new Map;t=Qc({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function o(d,h,m){const g=!m,v=Bv(d);v.aliasOf=m&&m.record;const E=Qc(t,d),M=[v];if("alias"in d){const k=typeof d.alias=="string"?[d.alias]:d.alias;for(const P of k)M.push(Be({},v,{components:m?m.record.components:v.components,path:P,aliasOf:m?m.record:v}))}let x,b;for(const k of M){const{path:P}=k;if(h&&P[0]!=="/"){const T=h.record.path,A=T[T.length-1]==="/"?"":"/";k.path=h.record.path+(P&&A+P)}if(x=Mv(k,h,E),m?m.alias.push(x):(b=b||x,b!==x&&b.alias.push(x),g&&d.name&&!Yc(x)&&i(d.name)),v.children){const T=v.children;for(let A=0;A<T.length;A++)o(T[A],x,m&&m.children[A])}m=m||x,(x.record.components&&Object.keys(x.record.components).length||x.record.name||x.record.redirect)&&u(x)}return b?()=>{i(b)}:no}function i(d){if(Vd(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function u(d){let h=0;for(;h<n.length&&Pv(d,n[h])>=0&&(d.record.path!==n[h].record.path||!Ud(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!Yc(d)&&s.set(d.record.name,d)}function f(d,h){let m,g={},v,E;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw Is(1,{location:d});E=m.record.name,g=Be(Wc(h.params,m.keys.filter(b=>!b.optional).map(b=>b.name)),d.params&&Wc(d.params,m.keys.map(b=>b.name))),v=m.stringify(g)}else if("path"in d)v=d.path,m=n.find(b=>b.re.test(v)),m&&(g=m.parse(v),E=m.record.name);else{if(m=h.name?s.get(h.name):n.find(b=>b.re.test(h.path)),!m)throw Is(1,{location:d,currentLocation:h});E=m.record.name,g=Be({},h.params,d.params),v=m.stringify(g)}const M=[];let x=m;for(;x;)M.unshift(x.record),x=x.parent;return{name:E,path:v,params:g,matched:M,meta:Nv(M)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:f,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function Wc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Bv(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Lv(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Lv(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Yc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Nv(e){return e.reduce((t,n)=>Be(t,n.meta),{})}function Qc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Ud(e,t){return t.children.some(n=>n===e||Ud(e,n))}const qd=/#/g,Dv=/&/g,Fv=/\//g,Hv=/=/g,Vv=/\?/g,zd=/\+/g,jv=/%5B/g,Uv=/%5D/g,Kd=/%5E/g,qv=/%60/g,Wd=/%7B/g,zv=/%7C/g,Yd=/%7D/g,Kv=/%20/g;function na(e){return encodeURI(""+e).replace(zv,"|").replace(jv,"[").replace(Uv,"]")}function Wv(e){return na(e).replace(Wd,"{").replace(Yd,"}").replace(Kd,"^")}function Xi(e){return na(e).replace(zd,"%2B").replace(Kv,"+").replace(qd,"%23").replace(Dv,"%26").replace(qv,"`").replace(Wd,"{").replace(Yd,"}").replace(Kd,"^")}function Yv(e){return Xi(e).replace(Hv,"%3D")}function Qv(e){return na(e).replace(qd,"%23").replace(Vv,"%3F")}function Zv(e){return e==null?"":Qv(e).replace(Fv,"%2F")}function br(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Gv(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(zd," "),i=o.indexOf("="),l=br(i<0?o:o.slice(0,i)),u=i<0?null:br(o.slice(i+1));if(l in t){let f=t[l];Vt(f)||(f=t[l]=[f]),f.push(u)}else t[l]=u}return t}function Zc(e){let t="";for(let n in e){const s=e[n];if(n=Yv(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Vt(s)?s.map(o=>o&&Xi(o)):[s&&Xi(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Jv(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Vt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Xv=Symbol(""),Gc=Symbol(""),Yr=Symbol(""),sa=Symbol(""),el=Symbol("");function qs(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function vn(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const u=h=>{h===!1?l(Is(4,{from:n,to:t})):h instanceof Error?l(h):kv(h)?l(Is(2,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),i())},f=e.call(s&&s.instances[r],t,n,u);let d=Promise.resolve(f);e.length<3&&(d=d.then(u)),d.catch(h=>l(h))})}function _i(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(e1(l)){const f=(l.__vccOpts||l)[t];f&&r.push(vn(f,n,s,o,i))}else{let u=l();r.push(()=>u.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=iv(f)?f.default:f;o.components[i]=d;const m=(d.__vccOpts||d)[t];return m&&vn(m,n,s,o,i)()}))}}return r}function e1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Jc(e){const t=St(Yr),n=St(sa),s=Ve(()=>t.resolve(ie(e.to))),r=Ve(()=>{const{matched:u}=s.value,{length:f}=u,d=u[f-1],h=n.matched;if(!d||!h.length)return-1;const m=h.findIndex(Os.bind(null,d));if(m>-1)return m;const g=Xc(u[f-2]);return f>1&&Xc(d)===g&&h[h.length-1].path!==g?h.findIndex(Os.bind(null,u[f-2])):m}),o=Ve(()=>r.value>-1&&o1(n.params,s.value.params)),i=Ve(()=>r.value>-1&&r.value===n.matched.length-1&&Fd(n.params,s.value.params));function l(u={}){return s1(u)?t[ie(e.replace)?"replace":"push"](ie(e.to)).catch(no):Promise.resolve()}return{route:s,href:Ve(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const t1=ve({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jc,setup(e,{slots:t}){const n=ts(Jc(e)),{options:s}=St(Yr),r=Ve(()=>({[eu(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[eu(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Dr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),n1=t1;function s1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function o1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Vt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Xc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const eu=(e,t,n)=>e!=null?e:t!=null?t:n,r1=ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=St(el),r=Ve(()=>e.route||s.value),o=St(Gc,0),i=Ve(()=>{let f=ie(o);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),l=Ve(()=>r.value.matched[i.value]);Ys(Gc,Ve(()=>i.value+1)),Ys(Xv,l),Ys(el,r);const u=G();return Ft(()=>[u.value,l.value,e.name],([f,d,h],[m,g,v])=>{d&&(d.instances[h]=f,g&&g!==d&&f&&f===m&&(d.leaveGuards.size||(d.leaveGuards=g.leaveGuards),d.updateGuards.size||(d.updateGuards=g.updateGuards))),f&&d&&(!g||!Os(d,g)||!m)&&(d.enterCallbacks[h]||[]).forEach(E=>E(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=l.value,m=h&&h.components[d];if(!m)return tu(n.default,{Component:m,route:f});const g=h.props[d],v=g?g===!0?f.params:typeof g=="function"?g(f):g:null,M=Dr(m,Be({},v,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(h.instances[d]=null)},ref:u}));return tu(n.default,{Component:M,route:f})||M}}});function tu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const i1=r1;function l1(e){const t=Rv(e.routes,e),n=e.parseQuery||Gv,s=e.stringifyQuery||Zc,r=e.history,o=qs(),i=qs(),l=qs(),u=Lu(gn);let f=gn;ps&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=bi.bind(null,D=>""+D),h=bi.bind(null,Zv),m=bi.bind(null,br);function g(D,ne){let ee,se;return Vd(D)?(ee=t.getRecordMatcher(D),se=ne):se=D,t.addRoute(se,ee)}function v(D){const ne=t.getRecordMatcher(D);ne&&t.removeRoute(ne)}function E(){return t.getRoutes().map(D=>D.record)}function M(D){return!!t.getRecordMatcher(D)}function x(D,ne){if(ne=Be({},ne||u.value),typeof D=="string"){const w=vi(n,D,ne.path),_=t.resolve({path:w.path},ne),R=r.createHref(w.fullPath);return Be(w,_,{params:m(_.params),hash:br(w.hash),redirectedFrom:void 0,href:R})}let ee;if("path"in D)ee=Be({},D,{path:vi(n,D.path,ne.path).path});else{const w=Be({},D.params);for(const _ in w)w[_]==null&&delete w[_];ee=Be({},D,{params:h(D.params)}),ne.params=h(ne.params)}const se=t.resolve(ee,ne),ue=D.hash||"";se.params=d(m(se.params));const ye=cv(s,Be({},D,{hash:Wv(ue),path:se.path})),we=r.createHref(ye);return Be({fullPath:ye,hash:ue,query:s===Zc?Jv(D.query):D.query||{}},se,{redirectedFrom:void 0,href:we})}function b(D){return typeof D=="string"?vi(n,D,u.value.path):Be({},D)}function k(D,ne){if(f!==D)return Is(8,{from:ne,to:D})}function P(D){return U(D)}function T(D){return P(Be(b(D),{replace:!0}))}function A(D){const ne=D.matched[D.matched.length-1];if(ne&&ne.redirect){const{redirect:ee}=ne;let se=typeof ee=="function"?ee(D):ee;return typeof se=="string"&&(se=se.includes("?")||se.includes("#")?se=b(se):{path:se},se.params={}),Be({query:D.query,hash:D.hash,params:"path"in se?{}:D.params},se)}}function U(D,ne){const ee=f=x(D),se=u.value,ue=D.state,ye=D.force,we=D.replace===!0,w=A(ee);if(w)return U(Be(b(w),{state:typeof w=="object"?Be({},ue,w.state):ue,force:ye,replace:we}),ne||ee);const _=ee;_.redirectedFrom=ne;let R;return!ye&&uv(s,se,ee)&&(R=Is(16,{to:_,from:se}),ke(se,se,!0,!1)),(R?Promise.resolve(R):L(_,se)).catch(F=>tn(F)?tn(F,2)?F:ce(F):q(F,_,se)).then(F=>{if(F){if(tn(F,2))return U(Be({replace:we},b(F.to),{state:typeof F.to=="object"?Be({},ue,F.to.state):ue,force:ye}),ne||_)}else F=K(_,se,!0,we,ue);return N(_,se,F),F})}function $(D,ne){const ee=k(D,ne);return ee?Promise.reject(ee):Promise.resolve()}function L(D,ne){let ee;const[se,ue,ye]=a1(D,ne);ee=_i(se.reverse(),"beforeRouteLeave",D,ne);for(const w of se)w.leaveGuards.forEach(_=>{ee.push(vn(_,D,ne))});const we=$.bind(null,D,ne);return ee.push(we),fs(ee).then(()=>{ee=[];for(const w of o.list())ee.push(vn(w,D,ne));return ee.push(we),fs(ee)}).then(()=>{ee=_i(ue,"beforeRouteUpdate",D,ne);for(const w of ue)w.updateGuards.forEach(_=>{ee.push(vn(_,D,ne))});return ee.push(we),fs(ee)}).then(()=>{ee=[];for(const w of D.matched)if(w.beforeEnter&&!ne.matched.includes(w))if(Vt(w.beforeEnter))for(const _ of w.beforeEnter)ee.push(vn(_,D,ne));else ee.push(vn(w.beforeEnter,D,ne));return ee.push(we),fs(ee)}).then(()=>(D.matched.forEach(w=>w.enterCallbacks={}),ee=_i(ye,"beforeRouteEnter",D,ne),ee.push(we),fs(ee))).then(()=>{ee=[];for(const w of i.list())ee.push(vn(w,D,ne));return ee.push(we),fs(ee)}).catch(w=>tn(w,8)?w:Promise.reject(w))}function N(D,ne,ee){for(const se of l.list())se(D,ne,ee)}function K(D,ne,ee,se,ue){const ye=k(D,ne);if(ye)return ye;const we=ne===gn,w=ps?history.state:{};ee&&(se||we?r.replace(D.fullPath,Be({scroll:we&&w&&w.scroll},ue)):r.push(D.fullPath,ue)),u.value=D,ke(D,ne,ee,we),ce()}let z;function H(){z||(z=r.listen((D,ne,ee)=>{if(!Ge.listening)return;const se=x(D),ue=A(se);if(ue){U(Be(ue,{replace:!0}),se).catch(no);return}f=se;const ye=u.value;ps&&yv(jc(ye.fullPath,ee.delta),Wr()),L(se,ye).catch(we=>tn(we,12)?we:tn(we,2)?(U(we.to,se).then(w=>{tn(w,20)&&!ee.delta&&ee.type===go.pop&&r.go(-1,!1)}).catch(no),Promise.reject()):(ee.delta&&r.go(-ee.delta,!1),q(we,se,ye))).then(we=>{we=we||K(se,ye,!1),we&&(ee.delta&&!tn(we,8)?r.go(-ee.delta,!1):ee.type===go.pop&&tn(we,20)&&r.go(-1,!1)),N(se,ye,we)}).catch(no)}))}let S=qs(),V=qs(),J;function q(D,ne,ee){ce(D);const se=V.list();return se.length?se.forEach(ue=>ue(D,ne,ee)):console.error(D),Promise.reject(D)}function X(){return J&&u.value!==gn?Promise.resolve():new Promise((D,ne)=>{S.add([D,ne])})}function ce(D){return J||(J=!D,H(),S.list().forEach(([ne,ee])=>D?ee(D):ne()),S.reset()),D}function ke(D,ne,ee,se){const{scrollBehavior:ue}=e;if(!ps||!ue)return Promise.resolve();const ye=!ee&&bv(jc(D.fullPath,0))||(se||!ee)&&history.state&&history.state.scroll||null;return ss().then(()=>ue(D,ne,ye)).then(we=>we&&gv(we)).catch(we=>q(we,D,ne))}const $e=D=>r.go(D);let _e;const Fe=new Set,Ge={currentRoute:u,listening:!0,addRoute:g,removeRoute:v,hasRoute:M,getRoutes:E,resolve:x,options:e,push:P,replace:T,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:V.add,isReady:X,install(D){const ne=this;D.component("RouterLink",n1),D.component("RouterView",i1),D.config.globalProperties.$router=ne,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ie(u)}),ps&&!_e&&u.value===gn&&(_e=!0,P(r.location).catch(ue=>{}));const ee={};for(const ue in gn)ee[ue]=Ve(()=>u.value[ue]);D.provide(Yr,ne),D.provide(sa,ts(ee)),D.provide(el,u);const se=D.unmount;Fe.add(D),D.unmount=function(){Fe.delete(D),Fe.size<1&&(f=gn,z&&z(),z=null,u.value=gn,_e=!1,J=!1),se()}}};return Ge}function fs(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function a1(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(f=>Os(f,l))?s.push(l):n.push(l));const u=e.matched[i];u&&(t.matched.find(f=>Os(f,u))||r.push(u))}return[n,s,r]}function pn(){return St(Yr)}function Qr(){return St(sa)}const c1={class:"tw-flex"},u1={class:"tw-flex-shrink-0"},f1={key:0,class:"tw-h-5 tw-w-5 tw-text-red-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},d1=C("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z","clip-rule":"evenodd"},null,-1),p1=[d1],h1={key:1,xmlns:"http://www.w3.org/2000/svg",class:"tw-h-5 tw-w-5 tw-text-green-400",viewBox:"0 0 20 20",fill:"currentColor"},m1=C("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z","clip-rule":"evenodd"},null,-1),w1=[m1],g1={class:"tw-ml-3"},yo=ve({__name:"AlertMessage",props:{message:null,type:null},setup(e){return(t,n)=>(I(),Z("div",{class:Pe(["tw-rounded-md tw-p-4",{"tw-bg-red-50":e.type==="error","tw-bg-green-50":e.type==="success"}])},[C("div",c1,[C("div",u1,[e.type==="error"?(I(),Z("svg",f1,p1)):be("",!0),e.type==="success"?(I(),Z("svg",h1,w1)):be("",!0)]),C("div",g1,[C("p",{class:Pe(["tw-text-sm tw-font-medium",{"tw-text-red-800":e.type==="error","tw-text-green-700":e.type==="success"}])},de(e.message),3)])])],2))}}),He={error:{validator:{email:"Must be a valid email",minLength:e=>`Must be longer than ${e.toString()} characters`}},frontend:{chooseWorkspace:{title:"Choose your workspace."},loginPage:{title:"Sign in to your account",noAccount:"Don't have an account?",registerNow:"Register Now",forgotPassword:"Forgot your password?"},registerPage:{title:"Sign up for a new account",alreadyAccount:"Already have an account?",loginNow:"Login Now",confirmPassword:"Confirm Password"},forgotPasswordPage:{title:"Forgot your password?",button:"Send reset mail",emailNotFound:"The email is not valid or does not belong to any user.",successMessage:"A password reset link has been sent to your email account. If your email has not arrived in the next ten minutes, please check your Spam folder.",backToLogin:"Back to login.",rememberAgain:"Remember your password again?"},resetPasswordPage:{title:"Choose a new password",button:"Change Password",error:{tokenExpired:"Token is expired",passwordsNotMatching:"Passwords do not match",passwordsToShort:"Password needs to be longer"},successToast:"Password changed"},logout:"Logout",signIn:"Sign in",signUp:"Sign up",disconectOverlay:{message:"Reconnecting"},errorPage:{backToHome:"Back to Home",code404:"The page you are looking for could not be found.",code500:"An internal error has occurred."}}},y1=["textContent"],b1=["textContent"],v1={key:2,class:"loader"},_1=ve({__name:"BaseButton",props:{disabled:{type:Boolean,default:!1},ghost:{type:Boolean,default:!1},icon:{default:null},label:{default:null},loading:{type:Boolean,default:!1},size:{default:"md"},type:{default:"primary"}},emits:["clicked"],setup(e){const t=e,n=Ve(()=>t.ghost===!0&&t.type==="secondary"?"primary":t.type),s=Ve(()=>t.size===void 0?"md":t.size),r=Ve(()=>t.icon&&t.label||t.loading?"text-and-icon":t.icon?"only-icon":"only-text"),o=Ve(()=>`${n.value} ${s.value} ${r.value} ${t.ghost?"ghost":"normal"} ${t.loading?"loading":""} ${t.disabled?"disabled":""}`);return(i,l)=>(I(),Z("div",{class:Pe(["tw-shrink-0",{"tw-cursor-not-allowed":e.disabled,"tw-cursor-wait":e.loading}])},[C("button",{onClick:l[0]||(l[0]=u=>i.$emit("clicked")),class:Pe(`${ie(o)} tw-w-full`),style:{"border-style":"inherit"}},[e.label!==null?(I(),Z("span",{key:0,textContent:de(e.label)},null,8,y1)):be("",!0),e.icon!==null&&e.loading===!1?(I(),Z("span",{key:1,class:"material-symbols-rounded",textContent:de(e.icon)},null,8,b1)):be("",!0),e.loading?(I(),Z("span",v1)):be("",!0)],2)],2))}});const xn=ta(_1,[["__scopeId","data-v-d0727c53"]]),C1={class:"tw-min-h-full tw-flex tw-flex-col tw-justify-center tw-py-12 sm:tw-px-6 tw-lg:px-8"},x1={class:"sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},k1={class:"tw-mt-6 tw-text-center tw-text-3xl tw-font-extrabold tw-text-gray-900"},E1={key:0,class:"tw-mt-2 tw-text-center tw-text-sm tw-text-gray-600"},S1={class:"tw-mt-8 sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},T1={class:"tw-bg-white tw-py-8 tw-px-4 tw-shadow sm:tw-rounded-lg sm:tw-px-10"},$1={class:"tw-space-y-6"},P1=C("label",{for:"email",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"}," Email ",-1),A1={class:"tw-mt-1"},O1=["onKeypress"],I1=C("label",{for:"password",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"}," Password ",-1),M1={class:"tw-mt-1"},R1=["onKeypress"],B1={class:"tw-flex tw-items-center tw-justify-between"},L1=C("div",{class:"tw-flex tw-items-center"},[C("input",{id:"remember-me",name:"remember-me",type:"checkbox",class:"tw-h-4 tw-w-4 tw-rounded tw-border-gray-300 tw-text-blue-600 tw-focus:ring-blue-500"}),C("label",{for:"remember-me",class:"tw-ml-2 tw-block tw-text-sm tw-text-gray-900"},"Remember me")],-1),N1={class:"tw-text-sm"},D1=ve({__name:"LoginPage",emits:["signedIn"],setup(e,{emit:t}){const n=G(!1),s=G(""),r=G(""),o=pn();async function i(){const u=await window.webSocketClient.request("login",{email:s.value,password:r.value,userAgent:navigator.userAgent});u.status===!1?n.value=!0:(localStorage.setItem("sessionId",u.sessionId),setTimeout(()=>o.replace("/logout"),u.secondsValid),t("signedIn"))}const l=G(window.config.register==="open");return(u,f)=>(I(),Z("div",C1,[C("div",x1,[C("h2",k1,de(ie(He).frontend.loginPage.title),1),l.value?(I(),Z("p",E1,[We(de(ie(He).frontend.loginPage.noAccount)+" "+de(" ")+" ",1),C("span",{onClick:f[0]||(f[0]=d=>u.$router.push("/register")),class:"tw-cursor-pointer tw-font-medium tw-text-blue-600 tw-hover:text-blue-500"},de(ie(He).frontend.loginPage.registerNow),1)])):be("",!0)]),C("div",S1,[C("div",T1,[n.value?(I(),pe(yo,{key:0,type:"error",message:"Wrong credentials",class:"tw-mb-4"})):be("",!0),C("div",$1,[C("div",null,[P1,C("div",A1,[Ct(C("input",{"onUpdate:modelValue":f[1]||(f[1]=d=>s.value=d),id:"email",name:"email",type:"email",autocomplete:"email",required:"",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 tw-focus:outline-none tw-focus:ring-blue-500 tw-focus:border-blue-500 sm:tw-text-sm",onKeypress:Yt(i,["enter"])},null,40,O1),[[xt,s.value]])])]),C("div",null,[I1,C("div",M1,[Ct(C("input",{"onUpdate:modelValue":f[2]||(f[2]=d=>r.value=d),id:"password",name:"password",type:"password",autocomplete:"current-password",required:"",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 tw-focus:outline-none tw-focus:ring-blue-500 tw-focus:border-blue-500 sm:tw-text-sm",onKeypress:Yt(i,["enter"])},null,40,R1),[[xt,r.value]])])]),C("div",B1,[L1,C("div",N1,[C("span",{onClick:f[3]||(f[3]=d=>u.$router.push("/forgot-password")),class:"tw-font-medium tw-text-blue-600 tw-hover:text-blue-500 tw-cursor-pointer"},de(ie(He).frontend.loginPage.forgotPassword),1)])]),Ce(xn,{label:ie(He).frontend.signIn,onClicked:i},null,8,["label"])])])])]))}}),F1={class:"tw-h-full"},H1={class:"tw-max-w-7xl tw-w-full tw-mx-auto tw-px-4 sm:tw-px-6 lg:tw-px-8"},V1={class:"tw-max-w-xl tw-mx-auto tw-py-16 sm:tw-py-24"},j1={class:"tw-text-center"},U1={class:"tw-mt-2 tw-text-4xl tw-font-extrabold tw-text-gray-900 tw-tracking-tight sm:tw-text-5xl"},q1={class:"tw-mt-12 tw-mb-4"},z1={role:"list",class:"tw-mt-4 tw-border-t tw-border-b tw-border-gray-200 tw-divide-y tw-divide-gray-200"},K1=["onClick"],W1={class:"tw-min-w-0 tw-flex-1"},Y1={class:"tw-text-base tw-font-medium tw-text-gray-900 group-hover:tw-text-blue-500"},Q1=C("span",{class:"tw-absolute tw-inset-0","aria-hidden":"true"},null,-1),Z1=C("div",{class:"tw-flex-shrink-0 tw-self-center"},[C("svg",{class:"tw-h-5 tw-w-5 tw-text-gray-400 group-hover:tw-text-blue-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[C("path",{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"})])],-1),G1={class:"tw-mt-4 tw-text-center"},J1=ve({__name:"ChooseWorkspace",setup(e){const t=pn(),n=G(null);Jt(async()=>{n.value=await window.webSocketClient.request("workspaces")});async function s(r){await t.push(`/${r}`)}return(r,o)=>(I(),Z("div",F1,[C("main",H1,[C("div",V1,[C("div",j1,[C("h1",U1,de(ie(He).frontend.chooseWorkspace.title),1)]),C("div",q1,[C("ul",z1,[(I(!0),Z(Te,null,nt(n.value,i=>(I(),Z("li",{class:"group tw-relative tw-py-6 tw-flex tw-items-start tw-space-x-4 tw-cursor-pointer hover:tw-bg-blue-50 tw-px-4",key:i.id,onClick:l=>s(i.id)},[C("div",W1,[C("h3",Y1,[C("span",null,[Q1,We(" "+de(i.name),1)])])]),Z1],8,K1))),128))]),C("div",G1,[C("span",{onClick:o[0]||(o[0]=i=>r.$router.replace("/logout")),class:"tw-cursor-pointer tw-text-sm tw-font-medium tw-text-blue-600 hover:tw-text-blue-500"},de(ie(He).frontend.logout),1)])])])])]))}});function ut(e,t){const n=window.webSocketClient.subscribe(`getter:${e}`,t);window.webSocketClient.request(`getterInit:${e}`).then(s=>t(s)),os(()=>{n(),window.webSocketClient.emit("stopGetter",e)})}const X1=ve({__name:"SyncButton",props:{options:null},setup(e){var h;const t=e,n=G((h=t.options.classInit)!=null?h:""),s=G(!1),r=G(t.options.ghostInit),o=G(t.options.iconInit),i=G(""),l=G(!1),u=G(t.options.sizeInit),f=G(t.options.typeInit);ut(t.options.labelId,m=>i.value=m),ut(t.options.disabledId,m=>s.value=m);async function d(){l.value=!0,await window.webSocketClient.request(`setter:${t.options.onClickId}`),l.value=!1}return(m,g)=>(I(),pe(xn,{onClicked:d,label:i.value,class:Pe(n.value),loading:l.value,disabled:s.value,type:f.value,size:u.value,ghost:r.value,icon:o.value},null,8,["label","class","loading","disabled","type","size","ghost","icon"]))}}),e2={class:"tw-cursor-pointer tw-select-none"},t2=C("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0l-3.75-3.75M17.25 21L21 17.25"},null,-1),n2=[t2],s2={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"tw-w-5 tw-h-5 tw-text-blue-500 hover:tw-text-blue-600"},o2=C("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 4.5h14.25M3 9h9.75M3 13.5h5.25m5.25-.75L17.25 9m0 0L21 12.75M17.25 9v12"},null,-1),r2=[o2],i2=ve({__name:"SortIcon",props:{state:null},setup(e){return(t,n)=>(I(),Z("div",e2,[e.state==="idle"||e.state==="asc"?(I(),Z("svg",{key:0,class:Pe(["tw-w-5 tw-h-5",{"tw-text-gray-400 hover:tw-text-gray-500":e.state==="idle","tw-text-blue-500 hover:tw-text-blue-600":e.state==="asc"}]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},n2,2)):be("",!0),e.state==="desc"?(I(),Z("svg",s2,r2)):be("",!0)]))}}),l2={class:"tw-w-auto tw-py-20 tw-m-3 tw-text-center tw-border-2 tw-border-dashed tw-border-gray-200"},a2={class:"tw-text-base tw-text-gray-600 tw-leading-9"},c2=ve({__name:"EmptyState",props:{type:null},setup(e){return(t,n)=>(I(),Z("div",l2,[C("span",a2,de(e.type==="no-data"?"NO DATA":"NO RESULTS"),1)]))}});function u2(e){const t=G([]),n=Ve(()=>e.value.length>0&&e.value.every(i=>t.value.includes(i.id))),s=Ve(()=>e.value.length>0&&e.value.some(i=>t.value.includes(i.id)));function r(){e.value.forEach(i=>{t.value.includes(i.id)===!1&&t.value.push(i.id)})}function o(){e.value.forEach(i=>{t.value=t.value.filter(l=>l!==i.id)})}return{allRowsOnScreenAreSelected:n,someRowsOnScreenAreSelected:s,selectedAllItemsOnScreen:r,deselectAllItemsOnScreen:o,selectedIds:t}}function f2(e,t){const n=G(null);function s(r){t.value=1,n.value&&n.value.key===r&&n.value.type==="ASC"?n.value={type:"DESC",key:r}:n.value&&n.value.key===r&&n.value.type==="DESC"?n.value=null:n.value={type:"ASC",key:r},e()}return{sort:n,setSort:s}}function d2(e){const t=G(1);function n(){t.value+=1,e()}function s(){t.value-=1,e()}return{pageNumber:t,next:n,previous:s}}function p2(e,t){const n=Ve(()=>{var r;return((r=e.value[e.value.length-1])==null?void 0:r.name)===""});return{gridTemplateColumns:Ve(()=>{const r=[];let o=e.value.length;return t.value&&r.push("64px"),n.value?(o=o-1,r.push(`repeat(${o},minmax(max-content,1fr))`),r.push("min-content")):r.push(`repeat(${o},minmax(max-content,1fr))`),r.join(" ")})}}var nu;const Oo=typeof window<"u",su=e=>typeof e=="function",Qd=e=>typeof e=="string",h2=()=>{};Oo&&((nu=window==null?void 0:window.navigator)==null?void 0:nu.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function tl(e){return typeof e=="function"?e():ie(e)}function m2(e,t){function n(...s){e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})}return n}function w2(e,t={}){let n,s;return o=>{const i=tl(e),l=tl(t.maxWait);if(n&&clearTimeout(n),i<=0||l!==void 0&&l<=0)return s&&(clearTimeout(s),s=null),o();l&&!s&&(s=setTimeout(()=>{n&&clearTimeout(n),s=null,o()},l)),n=setTimeout(()=>{s&&clearTimeout(s),s=null,o()},i)}}function g2(e){return e}function Zd(e){return _u()?(Cu(e),!0):!1}function Ms(e,t=200,n={}){return m2(w2(t,n),e)}function y2(e){return typeof e=="function"?Ve(e):G(e)}function b2(e,t=!0){Xt()?Jt(e):t?e():ss(e)}function v2(e,t){const n=G(""),s=G("");function r(i){n.value=i,o(i)}const o=Ms(async i=>{e.value=1,await t(),s.value=i},250);return{liveQuery:n,requestQuery:s,setQueryValue:r}}const _2={class:"tw-flex tw-justify-center tw-items-stretch tw-w-full tw-border-b tw-border-gray-200"},C2=["value"],x2={key:0,class:"tw-flex-shrink-0 tw-px-3 tw-bg-blue-600 tw-text-white tw-flex tw-space-x-2 tw-justify-center tw-items-center tw-text-sm"},k2=C("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",class:"tw-w-[1.1rem] tw-h-[1.1rem]",fill:"currentColor"},[C("path",{d:"M0 0h24v24H0V0z",fill:"none"}),C("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})],-1),E2=[k2],S2={class:"tw-flex tw-items-center tw-space-x-2 tw-bg-gray-50 tw-flex-shrink-0 tw-select-none tw-px-2"},T2={key:0,class:"tw-flex tw-justify-center tw-items-center tw-bg-gray-50 tw-border-b tw-border-gray-300"},$2=["checked","indeterminate"],P2={key:0,class:"tw-flex tw-justify-center tw-items-center tw-border-b tw-border-gray-200 tw-relative"},A2={key:0,class:"tw-absolute tw-inset-y-0 tw-left-0 tw-w-0.5 tw-bg-blue-600"},O2=["value"],I2={class:"tw-flex tw-items-center tw-justify-between tw-border-t tw-border-gray-200 tw-bg-white tw-px-4 tw-py-3 sm:tw-px-6 -mt-[1px]","aria-label":"Pagination"},M2={class:"tw-hidden sm:tw-block"},R2={key:0,class:"tw-text-sm tw-text-gray-700"},B2={class:"tw-font-medium"},L2={class:"tw-font-medium"},N2={class:"tw-font-medium"},D2={class:"tw-flex tw-flex-1 tw-justify-between sm:tw-justify-end"},F2=ve({__name:"BaseDataTable",props:{actions:null,page:null,columns:null,selectable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},alwaysLoading:{type:Boolean,default:!1},request:null},emits:["actionClick"],setup(e){const t=e,{allRowsOnScreenAreSelected:n,someRowsOnScreenAreSelected:s,selectedAllItemsOnScreen:r,deselectAllItemsOnScreen:o,selectedIds:i}=u2(Ve(()=>{var b,k;return(k=(b=Ws(t,"page").value)==null?void 0:b.rows)!=null?k:[]})),l=G(!1);Jt(()=>u());async function u(){l.value=!0,await t.request(f.value,E.value,m.value),l.value=!1}const{pageNumber:f,next:d,previous:h}=d2(u),{liveQuery:m,requestQuery:g,setQueryValue:v}=v2(f,u),{sort:E,setSort:M}=f2(u,f),{gridTemplateColumns:x}=p2(Ws(t,"columns"),Ws(t,"selectable"));return(b,k)=>e.page!==null?(I(),Z("div",{key:0,class:Pe(["tw-flex tw-flex-col tw-shadow tw-ring-1 tw-ring-black tw-ring-opacity-5 tw-rounded md:tw-rounded-lg tw-w-full tw-overflow-hidden",{"tw-pointer-events-none":l.value||e.alwaysLoading||e.disabled}])},[C("div",_2,[C("input",{type:"text",class:"tw-flex-1 tw-border-0 focus:tw-ring-0 tw-text-sm tw-block tw-py-3 tw-bg-gray-50 placeholder:tw-text-gray-400",placeholder:"Search",value:ie(m),onKeypress:k[0]||(k[0]=P=>ie(v)(P.target.value)),onInput:k[1]||(k[1]=P=>ie(v)(P.target.value))},null,40,C2),ie(i).length>0?(I(),Z("div",x2,[C("span",null,"Selected: "+de(ie(i).length),1),C("div",{onClick:k[2]||(k[2]=P=>i.value=[]),class:"tw-rounded hover:tw-bg-blue-500 tw-cursor-pointer tw-p-1 tw-select-none"},E2)])):be("",!0),C("div",S2,[(I(!0),Z(Te,null,nt(e.actions,P=>(I(),Z(Te,{key:P.id},[!P.bulkAction||ie(i).length>0?(I(),pe(xn,{key:0,type:"tertiary",size:"sm",label:P.label,icon:P.icon,onClicked:T=>b.$emit("actionClick",P.id)},null,8,["label","icon","onClicked"])):be("",!0)],64))),128))])]),e.page.rows.length===0?(I(),pe(c2,{key:0,type:e.page.totalWithoutFilter===0?"no-data":"no-results"},null,8,["type"])):(I(),Z("div",{key:1,class:"tw-relative tw-grid tw-overflow-scroll tw-min-w-full",style:Gt(`grid-template-columns: ${ie(x)}`)},[e.selectable?(I(),Z("div",T2,[C("input",{type:"checkbox",class:"tw-h-4 tw-w-4 tw-rounded tw-border-gray-300 tw-text-blue-600 focus:tw-ring-blue-500",checked:ie(n),indeterminate:ie(n)===!1&&ie(s),onChange:k[3]||(k[3]=P=>P.target.checked?ie(r)():ie(o)())},null,40,$2)])):be("",!0),(I(!0),Z(Te,null,nt(e.columns,P=>{var T,A;return I(),Z("div",{key:P.key,class:"tw-flex tw-flex-shrink-0 tw-justify-between tw-items-center tw-space-x-4 tw-bg-gray-50 tw-border-b tw-border-gray-300 tw-whitespace-nowrap tw-py-4 tw-px-4 tw-text-sm tw-font-semibold tw-text-gray-900"},[C("span",null,de(P.name),1),P.sortable?(I(),pe(i2,{key:0,onClick:U=>ie(M)(P.key),state:((T=ie(E))==null?void 0:T.key)===P.key?((A=ie(E))==null?void 0:A.type)==="ASC"?"asc":"desc":"idle"},null,8,["onClick","state"])):be("",!0)])}),128)),(I(!0),Z(Te,null,nt(e.page.rows,P=>(I(),Z(Te,{key:P.id},[e.selectable?(I(),Z("div",P2,[ie(i).includes(P.id)?(I(),Z("div",A2)):be("",!0),Ct(C("input",{type:"checkbox",class:"tw-absolute tw-left-4 tw-top-1/2 tw--mt-2 tw-h-4 tw-w-4 tw-rounded tw-border-gray-300 tw-text-blue-600 focus:tw-ring-blue-500 sm:tw-left-6","onUpdate:modelValue":k[4]||(k[4]=T=>Qe(i)?i.value=T:null),value:P.id},null,8,O2),[[Hr,ie(i)]])])):be("",!0),(I(!0),Z(Te,null,nt(e.columns,T=>(I(),Z("div",{key:T.key,class:"tw-flex tw-items-center tw-border-b tw-border-gray-200 tw-whitespace-nowrap tw-truncate tw-py-4 tw-px-4 tw-text-sm tw-text-gray-700"},[Br(b.$slots,"render",mu(Il({row:P,column:T,requestQuery:ie(g)})),()=>[We(de(P[T.key]),1)])]))),128))],64))),128))],4)),C("nav",I2,[C("div",M2,[e.page.rows.length>0?(I(),Z("p",R2,[We(" Showing "+de(" ")+" "),C("span",B2,de(e.page.from),1),We(" "+de(" ")+" to "+de(" ")+" "),C("span",L2,de(e.page.to),1),We(" "+de(" ")+" of "+de(" ")+" "),C("span",N2,de(e.page.totalWithFilter),1),We(" "+de(" ")+" results ")])):be("",!0)]),C("div",D2,[Ce(xn,{label:"Previous",type:"tertiary",disabled:ie(f)===1,"hide-spinner":!0,onClicked:ie(h)},null,8,["disabled","onClicked"]),Ce(xn,{label:"Next",type:"tertiary",class:"tw-ml-3",disabled:e.page.to===e.page.totalWithFilter,"hide-spinner":!0,onClicked:ie(d)},null,8,["disabled","onClicked"])])])],2)):be("",!0)}}),oa=ve({__name:"BetterContainer",props:{options:null,preClasses:null,highlightStr:null},setup(e){var r,o;const t=e,n=G([]),s=G(((r=t.preClasses)!=null?r:"")+" "+((o=t.options.classInit)!=null?o:""));return ut(t.options.itemsId,i=>n.value=i),(i,l)=>(I(),Z("div",{class:Pe(s.value)},[Ce(tp,{components:n.value,"highlight-str":e.highlightStr},null,8,["components","highlight-str"])],2))}}),H2=ve({__name:"SyncDataTable",props:{options:null},setup(e){const t=e,n=G(null),s=G([]),r=G([]),o=G(!1);ut(t.options.disabledId,d=>o.value=d),Jt(async()=>{s.value=await window.webSocketClient.request(`getterInit:${t.options.columnsId}`),r.value=await window.webSocketClient.request(`getterInit:${t.options.actionsId}`)});let i=null;async function l(d,h,m){i=[d,h,m];const g=await window.webSocketClient.request(`getter:${t.options.pageId}`,{pageNumber:d,sort:h,query:m});n.value=g}async function u(d){await window.webSocketClient.request(`setter:${d}`,{selectedIds:[]})}const f=window.webSocketClient.subscribe(`getter:${t.options.refreshId}`,()=>{i!==null&&l(...i)});return os(()=>{f()}),(d,h)=>(I(),pe(F2,{actions:r.value,page:n.value,columns:s.value,request:l,disabled:o.value,selectable:e.options.selectable,onActionClick:u},{render:Et(({row:m,column:g,requestQuery:v})=>[Ce(oa,{"pre-classes":"tw-w-full",options:m[g.key],"highlight-str":v},null,8,["options","highlight-str"])]),_:1},8,["actions","page","columns","disabled","selectable"]))}}),V2=["value","type","disabled"],j2={class:"tw-text-red-500 tw-italic tw-text-sm"},U2=ve({__name:"BaseInput",props:{errorMessage:{default:null},type:{default:"text"},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},debounceUpdate:{type:Function,default:()=>null}},setup(e,{expose:t}){const n=e,s=G("");t({inputValue:s});function r(i){s.value=i,o(i)}const o=Ms(n.debounceUpdate,250);return(i,l)=>(I(),Z("div",{class:Pe(["tw-flex tw-flex-col tw-w-full",{"tw-cursor-not-allowed tw-grayscale":e.disabled,"tw-opacity-[0.35]":e.disabled&&e.errorMessage,"tw-opacity-50":e.disabled&&!e.errorMessage}])},[C("input",{value:s.value,onKeypress:l[0]||(l[0]=u=>r(u.target.value)),onInput:l[1]||(l[1]=u=>r(u.target.value)),type:e.type,class:Pe(["tw-rounded-md tw-border-gray-300 tw-shadow-sm tw-text-gray-900 tw-text-sm tw-block tw-w-full tw-px-2.5 tw-py-2 focus:tw-outline-none focus:tw-border-gray-500 focus:tw-ring-gray-500 focus:tw-ring-1",{"tw-border-red-500 tw-bg-red-50 focus:tw-border-red-500 focus:tw-ring-red-500":e.errorMessage!==null,"tw-pointer-events-none":e.disabled}]),disabled:e.disabled,style:{"border-style":"inherit"}},null,42,V2),C("span",j2,de(e.errorMessage),1)],2))}}),q2=ve({__name:"SyncInput",props:{options:null},setup(e){var u;const t=e,n=G(null),s=G((u=t.options.classInit)!=null?u:""),r=G(!1),o=G(t.options.typeInit),i=G();ut(t.options.disabledId,f=>r.value=f);async function l(f){n.value=await window.webSocketClient.request(`setter:${t.options.setterId}`,f)}return ut(t.options.getterId,f=>{n.value=null,i.value.inputValue=f}),(f,d)=>(I(),pe(U2,{class:Pe(s.value),disabled:r.value,type:o.value,"error-message":n.value,"debounce-update":l,ref_key:"$input",ref:i},null,8,["class","disabled","type","error-message"]))}}),z2=["value","disabled"],K2={class:"tw-text-red-500 tw-italic tw-text-sm"},W2=ve({__name:"BaseDateTime",props:{errorMessage:{default:null},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},debounceUpdate:{type:Function,default:()=>null}},setup(e,{expose:t}){const n=e,s=G("");t({inputValue:s});function r(i){s.value=i,o(i)}const o=Ms(n.debounceUpdate,250);return(i,l)=>(I(),Z("div",{class:Pe(["tw-flex tw-flex-col tw-w-full",{"tw-cursor-not-allowed tw-grayscale":e.disabled,"tw-opacity-[0.35]":e.disabled&&e.errorMessage,"tw-opacity-50":e.disabled&&!e.errorMessage}])},[C("input",{value:s.value,onKeypress:l[0]||(l[0]=u=>r(u.target.value)),onInput:l[1]||(l[1]=u=>r(u.target.value)),type:"datetime-local",class:Pe(["tw-rounded-md tw-border-gray-300 tw-shadow-sm tw-text-gray-900 tw-text-sm tw-block tw-w-full tw-px-2.5 tw-py-2 focus:tw-outline-none focus:tw-border-gray-500 focus:tw-ring-gray-500 focus:tw-ring-1",{"tw-border-red-500 tw-bg-red-50 focus:tw-border-red-500 focus:tw-ring-red-500":e.errorMessage!==null,"tw-pointer-events-none":e.disabled}]),disabled:e.disabled,style:{"border-style":"inherit"}},null,42,z2),C("span",K2,de(e.errorMessage),1)],2))}});var sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gd={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(sn,function(){var n=1e3,s=6e4,r=36e5,o="millisecond",i="second",l="minute",u="hour",f="day",d="week",h="month",m="quarter",g="year",v="date",E="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var S=["th","st","nd","rd"],V=H%100;return"["+H+(S[(V-20)%10]||S[V]||S[0])+"]"}},k=function(H,S,V){var J=String(H);return!J||J.length>=S?H:""+Array(S+1-J.length).join(V)+H},P={s:k,z:function(H){var S=-H.utcOffset(),V=Math.abs(S),J=Math.floor(V/60),q=V%60;return(S<=0?"+":"-")+k(J,2,"0")+":"+k(q,2,"0")},m:function H(S,V){if(S.date()<V.date())return-H(V,S);var J=12*(V.year()-S.year())+(V.month()-S.month()),q=S.clone().add(J,h),X=V-q<0,ce=S.clone().add(J+(X?-1:1),h);return+(-(J+(V-q)/(X?q-ce:ce-q))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:h,y:g,w:d,d:f,D:v,h:u,m:l,s:i,ms:o,Q:m}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},T="en",A={};A[T]=b;var U=function(H){return H instanceof K},$=function H(S,V,J){var q;if(!S)return T;if(typeof S=="string"){var X=S.toLowerCase();A[X]&&(q=X),V&&(A[X]=V,q=X);var ce=S.split("-");if(!q&&ce.length>1)return H(ce[0])}else{var ke=S.name;A[ke]=S,q=ke}return!J&&q&&(T=q),q||!J&&T},L=function(H,S){if(U(H))return H.clone();var V=typeof S=="object"?S:{};return V.date=H,V.args=arguments,new K(V)},N=P;N.l=$,N.i=U,N.w=function(H,S){return L(H,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var K=function(){function H(V){this.$L=$(V.locale,null,!0),this.parse(V)}var S=H.prototype;return S.parse=function(V){this.$d=function(J){var q=J.date,X=J.utc;if(q===null)return new Date(NaN);if(N.u(q))return new Date;if(q instanceof Date)return new Date(q);if(typeof q=="string"&&!/Z$/i.test(q)){var ce=q.match(M);if(ce){var ke=ce[2]-1||0,$e=(ce[7]||"0").substring(0,3);return X?new Date(Date.UTC(ce[1],ke,ce[3]||1,ce[4]||0,ce[5]||0,ce[6]||0,$e)):new Date(ce[1],ke,ce[3]||1,ce[4]||0,ce[5]||0,ce[6]||0,$e)}}return new Date(q)}(V),this.$x=V.x||{},this.init()},S.init=function(){var V=this.$d;this.$y=V.getFullYear(),this.$M=V.getMonth(),this.$D=V.getDate(),this.$W=V.getDay(),this.$H=V.getHours(),this.$m=V.getMinutes(),this.$s=V.getSeconds(),this.$ms=V.getMilliseconds()},S.$utils=function(){return N},S.isValid=function(){return this.$d.toString()!==E},S.isSame=function(V,J){var q=L(V);return this.startOf(J)<=q&&q<=this.endOf(J)},S.isAfter=function(V,J){return L(V)<this.startOf(J)},S.isBefore=function(V,J){return this.endOf(J)<L(V)},S.$g=function(V,J,q){return N.u(V)?this[J]:this.set(q,V)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(V,J){var q=this,X=!!N.u(J)||J,ce=N.p(V),ke=function(se,ue){var ye=N.w(q.$u?Date.UTC(q.$y,ue,se):new Date(q.$y,ue,se),q);return X?ye:ye.endOf(f)},$e=function(se,ue){return N.w(q.toDate()[se].apply(q.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(ue)),q)},_e=this.$W,Fe=this.$M,Ge=this.$D,D="set"+(this.$u?"UTC":"");switch(ce){case g:return X?ke(1,0):ke(31,11);case h:return X?ke(1,Fe):ke(0,Fe+1);case d:var ne=this.$locale().weekStart||0,ee=(_e<ne?_e+7:_e)-ne;return ke(X?Ge-ee:Ge+(6-ee),Fe);case f:case v:return $e(D+"Hours",0);case u:return $e(D+"Minutes",1);case l:return $e(D+"Seconds",2);case i:return $e(D+"Milliseconds",3);default:return this.clone()}},S.endOf=function(V){return this.startOf(V,!1)},S.$set=function(V,J){var q,X=N.p(V),ce="set"+(this.$u?"UTC":""),ke=(q={},q[f]=ce+"Date",q[v]=ce+"Date",q[h]=ce+"Month",q[g]=ce+"FullYear",q[u]=ce+"Hours",q[l]=ce+"Minutes",q[i]=ce+"Seconds",q[o]=ce+"Milliseconds",q)[X],$e=X===f?this.$D+(J-this.$W):J;if(X===h||X===g){var _e=this.clone().set(v,1);_e.$d[ke]($e),_e.init(),this.$d=_e.set(v,Math.min(this.$D,_e.daysInMonth())).$d}else ke&&this.$d[ke]($e);return this.init(),this},S.set=function(V,J){return this.clone().$set(V,J)},S.get=function(V){return this[N.p(V)]()},S.add=function(V,J){var q,X=this;V=Number(V);var ce=N.p(J),ke=function(Fe){var Ge=L(X);return N.w(Ge.date(Ge.date()+Math.round(Fe*V)),X)};if(ce===h)return this.set(h,this.$M+V);if(ce===g)return this.set(g,this.$y+V);if(ce===f)return ke(1);if(ce===d)return ke(7);var $e=(q={},q[l]=s,q[u]=r,q[i]=n,q)[ce]||1,_e=this.$d.getTime()+V*$e;return N.w(_e,this)},S.subtract=function(V,J){return this.add(-1*V,J)},S.format=function(V){var J=this,q=this.$locale();if(!this.isValid())return q.invalidDate||E;var X=V||"YYYY-MM-DDTHH:mm:ssZ",ce=N.z(this),ke=this.$H,$e=this.$m,_e=this.$M,Fe=q.weekdays,Ge=q.months,D=function(ue,ye,we,w){return ue&&(ue[ye]||ue(J,X))||we[ye].slice(0,w)},ne=function(ue){return N.s(ke%12||12,ue,"0")},ee=q.meridiem||function(ue,ye,we){var w=ue<12?"AM":"PM";return we?w.toLowerCase():w},se={YY:String(this.$y).slice(-2),YYYY:this.$y,M:_e+1,MM:N.s(_e+1,2,"0"),MMM:D(q.monthsShort,_e,Ge,3),MMMM:D(Ge,_e),D:this.$D,DD:N.s(this.$D,2,"0"),d:String(this.$W),dd:D(q.weekdaysMin,this.$W,Fe,2),ddd:D(q.weekdaysShort,this.$W,Fe,3),dddd:Fe[this.$W],H:String(ke),HH:N.s(ke,2,"0"),h:ne(1),hh:ne(2),a:ee(ke,$e,!0),A:ee(ke,$e,!1),m:String($e),mm:N.s($e,2,"0"),s:String(this.$s),ss:N.s(this.$s,2,"0"),SSS:N.s(this.$ms,3,"0"),Z:ce};return X.replace(x,function(ue,ye){return ye||se[ue]||ce.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(V,J,q){var X,ce=N.p(J),ke=L(V),$e=(ke.utcOffset()-this.utcOffset())*s,_e=this-ke,Fe=N.m(this,ke);return Fe=(X={},X[g]=Fe/12,X[h]=Fe,X[m]=Fe/3,X[d]=(_e-$e)/6048e5,X[f]=(_e-$e)/864e5,X[u]=_e/r,X[l]=_e/s,X[i]=_e/n,X)[ce]||_e,q?Fe:N.a(Fe)},S.daysInMonth=function(){return this.endOf(h).$D},S.$locale=function(){return A[this.$L]},S.locale=function(V,J){if(!V)return this.$L;var q=this.clone(),X=$(V,J,!0);return X&&(q.$L=X),q},S.clone=function(){return N.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},H}(),z=K.prototype;return L.prototype=z,[["$ms",o],["$s",i],["$m",l],["$H",u],["$W",f],["$M",h],["$y",g],["$D",v]].forEach(function(H){z[H[1]]=function(S){return this.$g(S,H[0],H[1])}}),L.extend=function(H,S){return H.$i||(H(S,K,L),H.$i=!0),L},L.locale=$,L.isDayjs=U,L.unix=function(H){return L(1e3*H)},L.en=A[T],L.Ls=A,L.p={},L})})(Gd);const Y2=Gd.exports,Q2=ve({__name:"SyncDateTime",props:{options:null},setup(e){var l;const t=e,n=G(null),s=G((l=t.options.classInit)!=null?l:""),r=G(!1),o=G();ut(t.options.disabledId,u=>r.value=u);async function i(u){n.value=await window.webSocketClient.request(`setter:${t.options.setterId}`,u)}return ut(t.options.getterId,u=>{n.value=null,o.value.inputValue=u===null?null:Y2(u).format("YYYY-MM-DDTHH:mm")}),(u,f)=>(I(),pe(W2,{class:Pe(s.value),disabled:r.value,"error-message":n.value,"debounce-update":i,ref_key:"$input",ref:o},null,8,["class","disabled","error-message"]))}}),Jd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",Z2=Jd.length;function G2(e){return Math.floor(Math.random()*e)}function nl(e=5){let t="";for(let n=0;n<e;n++){const s=G2(Z2);t+=Jd.charAt(s)}return t}function Ci(e,t=2){if(e===0)return"0 Bytes";const n=1024,s=t<0?0:t,r=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,o)).toFixed(s))+" "+r[o]}const J2={class:"tw-flex tw-flex-col tw-w-full tw-space-y-3"},X2={class:"tw-w-full tw-flex tw-flex-col tw-items-center tw-bg-blue-50 tw-border tw-border-blue-500 tw-rounded tw-border-dashed hover:tw-border-solid tw-cursor-pointer"},e_=C("span",{class:"tw-text-base tw-leading-normal tw-py-3"},[C("span",{class:"tw-text-blue-500 tw-font-medium hover:tw-text-blue-700"},"Upload"),We(" or drag and drop files here ")],-1),t_={class:"tw-flex tw-flex-col tw-w-full tw-space-y-3"},n_={class:"tw-font-medium tw-truncate shrink grow-0 tw-mr-4"},s_={class:"tw-flex tw-justify-end tw-items-center tw-space-x-4 shrink-0 min-w-fit"},o_={class:"tw-text-gray-400 tw-text-sm"},r_={class:"min-w-[100px] tw-w-1/4 tw-bg-gray-200 tw-rounded-full tw-h-1.5 tw-overflow-hidden"},i_={class:"tw-flex tw-space-x-2"},l_=["onClick"],a_=C("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",class:"tw-w-5 tw-h-5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[C("path",{fill:"currentColor",d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10s10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8zm3.59-13L12 10.59L8.41 7L7 8.41L10.59 12L7 15.59L8.41 17L12 13.41L15.59 17L17 15.59L13.41 12L17 8.41z"})],-1),c_=[a_],u_={class:"tw-font-medium tw-truncate shrink grow-0 tw-mr-4"},f_={class:"tw-flex tw-justify-end tw-items-center tw-space-x-4 shrink-0 min-w-fit"},d_={class:"tw-text-gray-400 tw-text-sm"},p_={class:"tw-flex tw-space-x-2"},h_=["onClick"],m_=C("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",class:"tw-w-5 tw-h-5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[C("path",{fill:"currentColor",d:"M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1zM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1z"})],-1),w_=[m_],g_=["onClick"],y_=C("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",class:"tw-w-5 tw-h-5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[C("path",{fill:"currentColor",d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5c0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4c0-2.05 1.53-3.76 3.56-3.97l1.07-.11l.5-.95A5.469 5.469 0 0 1 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5l1.53.11A2.98 2.98 0 0 1 22 15c0 1.65-1.35 3-3 3zm-5.55-8h-2.9v3H8l4 4l4-4h-2.55z"})],-1),b_=[y_],v_=["onClick"],__=C("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",class:"tw-w-5 tw-h-5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[C("path",{fill:"currentColor",d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"})],-1),C_=[__],x_=ve({__name:"FileUpload",props:{options:null},setup(e){const t=e,n=window.location.pathname.split("/")[1];class s{constructor(v){en(this,"id",nl());en(this,"totalBytes",0);en(this,"uploadedBytes",0);en(this,"xmlHttpRequest",null);this.file=v}upload(){this.xmlHttpRequest=new XMLHttpRequest,this.xmlHttpRequest.upload.addEventListener("progress",E=>{this.uploadedBytes=E.loaded,this.totalBytes=E.total}),this.xmlHttpRequest.addEventListener("load",async()=>{var M;const E=(M=this.xmlHttpRequest)==null?void 0:M.responseText;E!=="CANCEL"&&await window.webSocketClient.request(`setter:${t.options.onUploadedId}`,E),u(this)}),this.xmlHttpRequest.addEventListener("abort",()=>console.log("abort")),this.xmlHttpRequest.open("POST","/file-upload"),this.xmlHttpRequest.setRequestHeader("workspace-id",n),this.xmlHttpRequest.setRequestHeader("file-size",this.file.size.toString());const v=new FormData;v.append("file",this.file,this.file.name),this.xmlHttpRequest.send(v)}cancel(){var v;(v=this.xmlHttpRequest)==null||v.abort()}percentage(){return Math.ceil(this.uploadedBytes/this.totalBytes*100)}label(){return`${Ci(this.uploadedBytes)} of ${Ci(this.totalBytes)}`}}const r=G([]);G(t.options.labelInit),window.webSocketClient.request(`getterInit:${t.options.filesId}`).then(g=>r.value=g);const o=window.webSocketClient.subscribe(`getter:${t.options.filesId}`,g=>r.value=g),i=G([]);async function l(g){const v=g.target.files;for(const E of v){const M=ts(new s(E));i.value.push(M),M.upload()}}function u(g){i.value=i.value.filter(v=>v.id!==g.id)}function f(g){g.cancel(),u(g)}async function d(g){await window.webSocketClient.request(`setter:${t.options.onRemoveId}`,g)}function h(g){var E;const v=`/uploads/${n}/${g.id}/${g.name}`;(E=window.open(v,"_blank"))==null||E.focus()}function m(g){var v=document.createElement("a");v.href=`/uploads/${n}/${g.id}/${g.name}`,v.download=g.displayName,v.dispatchEvent(new MouseEvent("click"))}return os(()=>{o()}),(g,v)=>(I(),Z("div",J2,[C("label",X2,[e_,C("input",{onChange:v[0]||(v[0]=E=>l(E)),type:"file",class:"tw-hidden",multiple:""},null,32)]),C("div",t_,[(I(!0),Z(Te,null,nt(i.value,E=>(I(),Z("div",{key:E.id,class:"tw-flex tw-w-full tw-px-3 tw-py-2 tw-bg-gray-50 tw-border tw-rounded tw-justify-between tw-items-center"},[C("span",n_,de(E.file.name),1),C("div",s_,[C("span",o_,de(E.label()),1),C("div",r_,[C("div",{class:"tw-bg-blue-600 tw-h-1.5",style:Gt(`width: ${E.percentage()}%`)},null,4)]),C("div",i_,[C("div",{onClick:M=>f(E),class:"tw-cursor-pointer hover:tw-text-red-500 tw-text-gray-400"},c_,8,l_)])])]))),128)),(I(!0),Z(Te,null,nt(r.value,E=>(I(),Z("div",{key:E.id,class:"tw-flex tw-w-full tw-px-3 tw-py-2 tw-bg-gray-50 tw-border tw-rounded tw-justify-between tw-items-center"},[C("span",u_,de(E.displayName),1),C("div",f_,[C("span",d_,de(ie(Ci)(E.size)),1),C("div",p_,[C("div",{onClick:M=>h(E),class:"tw-cursor-pointer hover:tw-text-blue-500 tw-text-gray-400"},w_,8,h_),C("div",{onClick:M=>m(E),class:"tw-cursor-pointer hover:tw-text-blue-500 tw-text-gray-400"},b_,8,g_),C("div",{onClick:M=>d(E.id),class:"tw-cursor-pointer hover:tw-text-red-500 tw-text-gray-400"},C_,8,v_)])])]))),128))])]))}});function ms(e){var t;const n=tl(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ra=Oo?window:void 0,k_=Oo?window.document:void 0;Oo&&window.navigator;Oo&&window.location;function ws(...e){let t,n,s,r;if(Qd(e[0])||Array.isArray(e[0])?([n,s,r]=e,t=ra):[t,n,s,r]=e,!t)return h2;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},l=(d,h,m)=>(d.addEventListener(h,m,r),()=>d.removeEventListener(h,m,r)),u=Ft(()=>ms(t),d=>{i(),d&&o.push(...n.flatMap(h=>s.map(m=>l(d,h,m))))},{immediate:!0,flush:"post"}),f=()=>{u(),i()};return Zd(f),f}function sl(e,t,n={}){const{window:s=ra,ignore:r,capture:o=!0,detectIframe:i=!1}=n;if(!s)return;const l=G(!0);let u;const f=g=>{s.clearTimeout(u);const v=ms(e);!v||v===g.target||g.composedPath().includes(v)||!l.value||t(g)},d=g=>r&&r.some(v=>{const E=ms(v);return E&&(g.target===E||g.composedPath().includes(E))}),h=[ws(s,"click",f,{passive:!0,capture:o}),ws(s,"pointerdown",g=>{const v=ms(e);l.value=!!v&&!g.composedPath().includes(v)&&!d(g)},{passive:!0}),ws(s,"pointerup",g=>{if(g.button===0){const v=g.composedPath();g.composedPath=()=>v,u=s.setTimeout(()=>f(g),50)}},{passive:!0}),i&&ws(s,"blur",g=>{var v;const E=ms(e);((v=s.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(E!=null&&E.contains(s.document.activeElement))&&t(g)})].filter(Boolean);return()=>h.forEach(g=>g())}function E_(e,t=!1){const n=G(),s=()=>n.value=Boolean(e());return s(),b2(s,t),n}const ol=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},rl="__vueuse_ssr_handlers__";ol[rl]=ol[rl]||{};ol[rl];var ou=Object.getOwnPropertySymbols,S_=Object.prototype.hasOwnProperty,T_=Object.prototype.propertyIsEnumerable,$_=(e,t)=>{var n={};for(var s in e)S_.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ou)for(var s of ou(e))t.indexOf(s)<0&&T_.call(e,s)&&(n[s]=e[s]);return n};function P_(e,t,n={}){const s=n,{window:r=ra}=s,o=$_(s,["window"]);let i;const l=E_(()=>r&&"MutationObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},f=Ft(()=>ms(e),h=>{u(),l.value&&r&&h&&(i=new MutationObserver(t),i.observe(h,o))},{immediate:!0}),d=()=>{u(),f()};return Zd(d),{isSupported:l,stop:d}}var ru;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ru||(ru={}));function A_(e=null,t={}){var n,s;const{document:r=k_}=t,o=y2((n=e!=null?e:r==null?void 0:r.title)!=null?n:null),i=e&&su(e);function l(u){if(!("titleTemplate"in t))return u;const f=t.titleTemplate||"%s";return su(f)?f(u):ie(f).replace(/%s/g,u)}return Ft(o,(u,f)=>{u!==f&&r&&(r.title=l(Qd(u)?u:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&r&&!i&&P_((s=r.head)==null?void 0:s.querySelector("title"),()=>{r&&r.title!==o.value&&(o.value=l(r.title))},{childList:!0}),o}var O_=Object.defineProperty,iu=Object.getOwnPropertySymbols,I_=Object.prototype.hasOwnProperty,M_=Object.prototype.propertyIsEnumerable,lu=(e,t,n)=>t in e?O_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R_=(e,t)=>{for(var n in t||(t={}))I_.call(t,n)&&lu(e,n,t[n]);if(iu)for(var n of iu(t))M_.call(t,n)&&lu(e,n,t[n]);return e};const B_={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};R_({linear:g2},B_);const L_={class:"tw-flex tw-h-full"},N_={class:"tw-hidden md:tw-flex md:tw-w-64 md:tw-flex-col md:tw-fixed md:tw-inset-y-0"},D_={class:"tw-flex-1 tw-flex tw-flex-col tw-min-h-0 tw-bg-gray-800"},F_={class:"tw-flex tw-items-center tw-justify-center tw-h-16 tw-flex-shrink-0 tw-px-4 tw-bg-gray-900"},H_=["innerHTML"],V_={class:"tw-flex-1 tw-flex tw-flex-col tw-overflow-y-auto"},j_={class:"tw-flex-1 tw-px-2 tw-py-4 tw-space-y-1"},U_=["innerHTML"],q_={class:"md:tw-pl-64 tw-flex tw-w-full tw-flex-col"},z_={class:"tw-sticky tw-top-0 tw-z-10 tw-flex-shrink-0 tw-flex tw-h-16 tw-bg-white tw-shadow"},K_=C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"tw-w-6 tw-h-6","aria-hidden":"true"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})],-1),W_=[K_],Y_={class:"tw-flex-1 tw-px-4 tw-flex tw-justify-end"},Q_={class:"tw-ml-4 tw-flex tw-items-center md:tw-ml-6"},Z_={key:0,class:"tw-ml-3 tw-relative"},G_=C("span",{class:"material-symbols-rounded tw-m-2"},"person",-1),J_=[G_],X_={class:"tw-cursor-pointer tw-block tw-px-4 tw-py-2 tw-text-sm tw-text-gray-700 hover:tw-bg-gray-100"},eC={class:"tw-flex-1 tw-overflow-scroll"},tC={class:"tw-py-6"},nC={class:"tw-flex tw-flex-col tw-max-w-7xl tw-mx-auto tw-px-4 sm:tw-px-6 md:tw-px-8"},sC={class:"tw-relative tw-z-40 md:tw-hidden"},oC=C("div",{class:"tw-fixed tw-inset-0 tw-bg-gray-600 tw-bg-opacity-75"},null,-1),rC={class:"tw-fixed tw-inset-0 tw-flex tw-z-40"},iC={class:"tw-absolute tw-top-0 tw-right-0 tw--mr-12 tw-pt-2"},lC=C("span",{class:"material-symbols-rounded tw-text-white tw-text-3xl"},"close",-1),aC=[lC],cC={class:"tw-flex-shrink-0 tw-flex tw-items-center tw-justify-center tw-px-4"},uC=["innerHTML"],fC={class:"tw-mt-5 tw-flex-1 tw-h-0 tw-overflow-y-auto"},dC={class:"tw-px-2 tw-space-y-1"},pC=["href"],hC=ve({__name:"BaseDarkSidebar",props:{logo:{default:null},items:null,profileItems:{default:null}},setup(e){const t=G(!1),n=G(!1),s=G(),r=G();return sl(s,()=>{n.value=!1}),sl(r,()=>{t.value=!1}),(o,i)=>{const l=qn("router-link");return I(),Z("div",L_,[C("div",N_,[C("div",D_,[C("div",F_,[C("span",{innerHTML:e.logo},null,8,H_)]),C("div",V_,[C("nav",j_,[(I(!0),Z(Te,null,nt(e.items,u=>(I(),pe(l,{key:u.name,to:u.href,class:Pe([u.current?"tw-bg-gray-900 tw-text-white":"tw-text-gray-300 hover:tw-bg-gray-700 hover:tw-text-white","group tw-flex tw-items-center tw-px-2 tw-py-2 tw-text-sm tw-font-medium tw-rounded-md"])},{default:Et(()=>[C("span",{class:Pe([[u.current?"tw-text-blue-400":"tw-text-gray-400 group-hover:tw-text-gray-300","tw-mr-3 tw-flex-shrink-0 tw-text-[20px]"],"material-symbols-rounded"]),innerHTML:u.icon},null,10,U_),We(" "+de(u.name),1)]),_:2},1032,["to","class"]))),128))])])])]),C("div",q_,[C("div",z_,[C("button",{type:"button",class:"tw-px-4 tw-border-r tw-border-gray-200 tw-text-gray-500 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-inset focus:tw-ring-blue-500 md:tw-hidden",onClick:i[0]||(i[0]=u=>t.value=!0)},W_),C("div",Y_,[C("div",Q_,[e.profileItems!==null&&e.profileItems.length>0?(I(),Z("div",Z_,[C("div",{onClick:i[1]||(i[1]=u=>n.value=!n.value),class:"tw-cursor-pointer tw-max-w-xs tw-bg-gray-200 tw-text-gray-500 hover:tw-text-gray-600 tw-flex tw-items-center tw-text-sm tw-rounded-full focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-offset-2 focus:tw-ring-blue-500"},J_),Ce(So,{"enter-active-class":"tw-transition tw-ease-out tw-duration-100","enter-from-class":"tw-transform tw-opacity-0 tw-scale-95","enter-to-class":"tw-transform tw-opacity-100 tw-scale-100","leave-active-class":"tw-transition tw-ease-in tw-duration-75","leave-from-class":"tw-transform tw-opacity-100 tw-scale-100","leave-to-class":"tw-transform tw-opacity-0 tw-scale-95"},{default:Et(()=>[n.value?(I(),Z("div",{key:0,ref_key:"$profileDropdown",ref:s,class:"tw-origin-top-right tw-absolute tw-right-0 tw-mt-2 tw-w-48 tw-rounded-md tw-shadow-lg tw-py-1 tw-bg-white tw-ring-1 tw-ring-black tw-ring-opacity-5 focus:tw-outline-none"},[(I(!0),Z(Te,null,nt(e.profileItems,u=>(I(),Z("div",{key:u.name},[Ce(l,{to:u.href},{default:Et(()=>[C("span",X_,de(u.name),1)]),_:2},1032,["to"])]))),128))],512)):be("",!0)]),_:1})])):be("",!0)])])]),C("main",eC,[C("div",tC,[C("div",nC,[Br(o.$slots,"default")])])])]),Ct(C("div",sC,[oC,C("div",rC,[C("div",{ref_key:"$sidebarMenu",ref:r,class:"tw-relative tw-flex-1 tw-flex tw-flex-col tw-max-w-xs tw-w-full tw-pt-5 tw-pb-4 tw-bg-gray-800"},[C("div",iC,[C("button",{type:"button",class:"tw-ml-1 tw-flex tw-items-center tw-justify-center tw-h-10 tw-w-10 tw-rounded-full focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-inset focus:tw-ring-white",onClick:i[2]||(i[2]=u=>t.value=!1)},aC)]),C("div",cC,[e.logo!==null?(I(),Z("span",{key:0,innerHTML:e.logo},null,8,uC)):be("",!0)]),C("div",fC,[C("nav",dC,[(I(!0),Z(Te,null,nt(e.items,u=>(I(),Z("a",{key:u.name,href:u.href,class:Pe([u.current?"tw-bg-gray-900 tw-text-white":"tw-text-gray-300 hover:tw-bg-gray-700 hover:tw-text-white","group tw-flex tw-items-center tw-px-2 tw-py-2 tw-text-base tw-font-medium tw-rounded-md"])},de(u.name),11,pC))),128))])])],512)])],512),[[Vr,t.value]])])}}}),mC=ve({__name:"SyncDarkSidebar",props:{options:null},setup(e){const t=G(window.config.logo);return(n,s)=>(I(),pe(hC,{items:e.options.sidebarMenuItemsInit,"profile-items":e.options.profileMenuItemsInit,logo:t.value},{default:Et(()=>[Ce(oa,{options:e.options.container},null,8,["options"])]),_:1},8,["items","profile-items","logo"]))}});function Xd(e,t){return t!=null&&typeof t=="string"&&t.trim()!==""&&e!==void 0&&t.split(" ").forEach(n=>{if(n.length===0)return;const s=new RegExp(n,"gi");e=e.replaceAll(s,"<mark>$&</mark>")}),e}const wC=["innerHTML"],gC=ve({__name:"BetterText",props:{options:null,highlightStr:null},setup(e){var r;const t=e,n=G(""),s=G((r=t.options.classInit)!=null?r:"");return ut(t.options.labelId,o=>n.value=o),(o,i)=>(I(),Z("p",{class:Pe(s.value),innerHTML:ie(Xd)(n.value,e.highlightStr)},null,10,wC))}});let xi=!1;function yC(e){async function t(n){const s=n.target.scrollTop,r=n.target.clientHeight,o=n.target.scrollHeight;if(s+r>=o){if(xi)return;xi=!0,await e(),xi=!1}}return{scroll:t}}const bC=["value"],vC=ve({__name:"SearchField",props:{onFilter:null},setup(e){const t=e,n=G(""),s=G("");function r(i){n.value=i,o(i)}const o=Ms(async i=>{await t.onFilter(i),s.value=i},250);return Ft(n,o),(i,l)=>(I(),Z("input",{name:"search",type:"text",class:"tw-flex-1 tw-rounded-md tw-border-0 tw-bg-gray-100 tw-px-4 tw-py-2.5 tw-my-2 tw-mx-2 tw-text-gray-900 tw-placeholder-gray-500 focus:tw-ring-0 focus-visible:tw-ring-0 sm:tw-text-sm",placeholder:"Search",value:n.value,onInput:l[0]||(l[0]=u=>r(u.target.value)),onKeypress:l[1]||(l[1]=u=>r(u.target.value)),"aria-autocomplete":"none","aria-controls":"options","aria-expanded":"false",autocapitalize:"none",autocomplete:"off",autocorrect:"off",role:"combobox"},null,40,bC))}}),_C={key:0,class:"tw-block tw-truncate tw-flex-1 tw-text-gray-800"},CC={key:1,class:"tw-flex tw-flex-wrap tw-gap-2 tw-flex-1"},xC=["onClick"],kC=C("span",{class:"material-symbols-rounded tw-text-xs","remove-btn":""},"close",-1),EC=[kC],SC={class:"tw-flex tw-space-x-1 tw-ml-2 tw-flex-shrink-0"},TC={key:0,class:"tw-flex tw-flex-col tw-justify-center tw-items-center tw-p-4"},$C=C("span",{class:"material-symbols-rounded tw-text-3xl tw-text-gray-500 mb-4"},"sentiment_dissatisfied",-1),PC=C("span",{class:"tw-text-base tw-text-gray-700"},"No data to display",-1),AC=[$C,PC],OC={key:0,class:"tw-flex tw-flex-col tw-justify-center tw-items-center tw-p-4"},IC=C("span",{class:"material-symbols-rounded tw-text-3xl tw-text-gray-500 mb-4"},"mood_bad",-1),MC=C("span",{class:"tw-text-base tw-text-gray-700"},"No matches found",-1),RC=[IC,MC],BC={key:1,class:"tw-py-1 tw-flex tw-items-stretch tw-flex-col"},LC=["onClick"],NC=["innerHTML"],DC={key:0,class:"material-symbols-rounded tw-shrink-0 tw-text-sm"},ep=ve({__name:"BaseSelect",props:{request:null,selected:{default:()=>[]},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1}},emits:["deselect","select"],setup(e,{emit:t}){const n=e,s=G(!1),r=G(0),o=G([]),i=G(1),l=G(""),u=G(),f=G(),d=G(0),h=G(0),m=G(0),g=/Mobi/.test(navigator.userAgent);Jt(async()=>{v();const T=await n.request(i.value,"");o.value=T.items,r.value=T.totalWithoutFilter}),Ft(s,()=>{ss(()=>{if(s.value&&!g){const T=f.value.querySelector('input[name="search"]');T==null||T.focus()}})}),sl(f,T=>{s.value===!0&&(T.target.hasAttribute("remove-btn")===!1&&T.stopPropagation(),s.value=!1)});function v(){var A;const T=(A=u.value)==null?void 0:A.getBoundingClientRect();T!==void 0&&(d.value=T.top+T.height,h.value=T.left,m.value=T.width)}ws("resize",Ms(v,10)),ws("scroll",Ms(v,10),!0);function E(T){t("select",T),n.multiple===!1&&(s.value=!1)}function M(T){t("deselect",T.id),n.multiple===!1&&(s.value=!1)}function x(T){return n.selected.some(A=>A.id===T.id)}let b=!1;const{scroll:k}=yC(async()=>{if(b)return;i.value+=1;const T=await n.request(i.value,l.value);T.items.length===0?b=!0:o.value.push(...T.items)});async function P(T){i.value=1;const A=await n.request(i.value,T);o.value=A.items,l.value=T}return(T,A)=>{var U,$;return I(),Z("div",{class:Pe(["tw-flex tw-tw-flex-col tw-w-full",{"tw-cursor-not-allowed tw-opacity-50 tw-grayscale":e.disabled}])},[C("div",{class:Pe(["tw-relative tw-inline-block tw-text-left tw-w-full tw-select-none",{"tw-pointer-events-none":e.disabled}])},[C("div",{class:"tw-flex tw-items-center tw-w-full tw-cursor-pointer tw-rounded-md tw-border tw-border-gray-300 tw-bg-white tw-px-2.5 tw-py-1 tw-text-left tw-shadow-sm focus:tw-border-blue-500 focus:tw-outline-none focus:tw-ring-1 focus:tw-ring-blue-500 sm:tw-text-sm",onClick:A[1]||(A[1]=Js(L=>s.value=!s.value,["stop"])),ref_key:"$select",ref:u},[e.multiple===!1?(I(),Z("span",_C,de(($=(U=e.selected[0])==null?void 0:U.label)!=null?$:""),1)):(I(),Z("div",CC,[(I(!0),Z(Te,null,nt(e.selected,L=>(I(),Z("span",{key:L.id,class:"tw-inline-flex tw-items-center tw-rounded tw-bg-gray-200 tw-py-0.5 tw-pl-2 tw-pr-0.5 tw-text-xs tw-font-medium tw-text-gray-700"},[We(de(L.label)+" ",1),C("button",{onClick:Js(N=>M(L),["stop"]),type:"button",class:"tw-ml-0.5 tw-inline-flex tw-h-4 tw-w-4 tw-flex-shrink-0 tw-items-center tw-justify-center tw-rounded tw-text-gray-400 hover:tw-bg-gray-300 hover:tw-text-gray-500 focus:tw-bg-gray-500 focus:tw-text-white focus:tw-outline-none","remove-btn":""},EC,8,xC)]))),128))])),C("div",SC,[e.multiple===!1&&e.selected.length>0?(I(),Z("span",{key:0,class:"material-symbols-rounded tw-cursor-pointer tw-text-gray-400 hover:tw-text-red-500 tw-text-xl",onClick:A[0]||(A[0]=Js(L=>M(e.selected[0]),["stop"])),"remove-btn":""},"do_not_disturb_on")):be("",!0),C("span",{class:Pe(["material-symbols-rounded tw-cursor-pointer tw-text-gray-400 hover:tw-text-gray-500 tw-transition-transform tw-text-xl",{"tw-rotate-180":s.value}])},"keyboard_arrow_down",2)])],512),(I(),pe(vf,{to:"body"},[Ce(So,{"enter-active-class":"tw-transition tw-duration-100 tw-ease-out","enter-from-class":"tw-transform tw-scale-95 tw-opacity-0","enter-to-class":"tw-transform tw-scale-100 tw-opacity-100","leave-active-class":"tw-transition tw-duration tw-ease-in","leave-from-class":"tw-transform tw-scale-100 tw-opacity-100","leave-to-class":"tw-transform tw-scale-95 tw-opacity-0"},{default:Et(()=>[Ct(C("div",{ref_key:"$menu",ref:f,class:"tw-z-10 tw-flex tw-flex-col tw-fixed tw-overflow-auto tw-max-h-60 tw-mt-2 tw-origin-top tw-divide-y tw-divide-gray-100 tw-rounded-md tw-bg-white tw-shadow-lg tw-ring-1 tw-ring-black tw-ring-opacity-5 focus:tw-outline-none tw-text-base sm:tw-text-sm",style:Gt(`left: ${h.value}px; top: ${d.value}px; width: ${m.value}px;`),onScroll:A[2]||(A[2]=(...L)=>ie(k)&&ie(k)(...L))},[r.value===0?(I(),Z("div",TC,AC)):(I(),Z(Te,{key:1},[Ce(vC,{onFilter:P}),o.value.length===0?(I(),Z("div",OC,RC)):(I(),Z("div",BC,[(I(!0),Z(Te,null,nt(o.value,L=>(I(),Z("button",{key:L.id,class:Pe(["tw-flex tw-cursor-pointer tw-text-sm tw-justify-between tw-items-center tw-select-none tw-py-2 tw-text-left tw-px-4 hover:tw-bg-violet-500 hover:tw-text-white",x(L)?"tw-bg-violet-500 tw-text-white":"tw-text-gray-900"]),onClick:N=>x(L)?M(L):E(L)},[C("span",{class:"tw-truncate tw-mr-4",innerHTML:ie(Xd)(L.label,l.value)},null,8,NC),x(L)?(I(),Z("span",DC,"check")):be("",!0)],10,LC))),128))]))],64))],36),[[Vr,s.value]])]),_:1})]))],2)],2)}}}),FC=ve({__name:"SyncSelectOne",props:{options:null},setup(e){const t=e,n=G(!1),s=G(null);ut(t.options.disabledId,l=>n.value=l),ut(t.options.selectedId,l=>s.value=l);async function r(l,u){return await window.webSocketClient.request(`getter:${t.options.optionsId}`,{pageNumber:l,query:u})}function o(){window.webSocketClient.request(`setter:${t.options.onSelectId}`,null)}function i(l){window.webSocketClient.request(`setter:${t.options.onSelectId}`,l)}return(l,u)=>(I(),pe(ep,{request:r,selected:s.value?[s.value]:[],onDeselect:o,onSelect:i,disabled:n.value},null,8,["selected","disabled"]))}}),HC=ve({__name:"SyncSelectMany",props:{options:null},setup(e){const t=e,n=G(!1),s=G([]);ut(t.options.disabledId,l=>n.value=l),ut(t.options.selectedId,l=>s.value=l);async function r(l,u){return await window.webSocketClient.request(`getter:${t.options.optionsId}`,{pageNumber:l,query:u})}function o(l){window.webSocketClient.request(`setter:${t.options.onDeselectId}`,l)}function i(l){window.webSocketClient.request(`setter:${t.options.onSelectId}`,l)}return(l,u)=>(I(),pe(ep,{request:r,selected:s.value,onDeselect:o,onSelect:i,disabled:n.value,multiple:""},null,8,["selected","disabled"]))}}),VC=ve({__name:"BaseToggle",props:{disabled:{type:Boolean,default:!1},onToggle:{type:Function,default:async()=>!0},initState:{type:Boolean,default:!1}},setup(e,{expose:t}){const n=e,s=G(n.initState),r=Ve({get:()=>s.value,set:async o=>{s.value=o,await n.onToggle(o)===!1&&(s.value=!o)}});return t({state:s}),(o,i)=>(I(),Z("div",{class:Pe(["tw-flex",{"tw-cursor-not-allowed tw-opacity-50":e.disabled}])},[C("button",{onClick:i[0]||(i[0]=l=>r.value=!ie(r)),type:"button",class:Pe([{"tw-bg-blue-600":ie(r),"tw-bg-gray-200":!ie(r),"tw-pointer-events-none":e.disabled},"tw-relative tw-inline-flex tw-h-6 tw-w-11 tw-flex-shrink-0 tw-cursor-pointer tw-rounded-full tw-border-2 tw-border-transparent tw-transition-colors tw-duration-200 tw-ease-in-out focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-blue-500 focus:tw-ring-offset-2"]),role:"switch","aria-checked":"false",style:{"border-style":"inherit"}},[C("span",{"aria-hidden":"true",class:Pe([{"tw-translate-x-5":ie(r),"tw-translate-x-0":!ie(r)},"tw-pointer-events-none tw-inline-block tw-h-5 tw-w-5 tw-transform tw-rounded-full tw-bg-white tw-shadow tw-ring-0 tw-transition tw-duration-200 tw-ease-in-out"])},null,2)],2)],2))}}),jC=ve({__name:"SyncToggle",props:{options:null},setup(e){const t=e,n=G(!1),s=G();ut(t.options.disabledId,o=>n.value=o),ut(t.options.stateId,o=>{s.value.state=o});async function r(o){return await window.webSocketClient.request(`setter:${t.options.onToggleId}`,o)}return(o,i)=>(I(),pe(VC,{disabled:n.value,"on-toggle":r,ref_key:"$toggle",ref:s},null,8,["disabled"]))}}),tp=ve({__name:"RenderBlock",props:{components:null,highlightStr:null},setup(e){return(t,n)=>(I(!0),Z(Te,null,nt(e.components,s=>(I(),Z(Te,{key:s.id},[s.type==="BUTTON"?(I(),pe(X1,{key:0,options:s},null,8,["options"])):be("",!0),s.type==="DATATABLE"?(I(),pe(H2,{key:1,options:s},null,8,["options"])):be("",!0),s.type==="DARK_SIDEBAR"?(I(),pe(mC,{key:2,options:s},null,8,["options"])):be("",!0),s.type==="INPUT"?(I(),pe(q2,{key:3,options:s},null,8,["options"])):be("",!0),s.type==="DATE_TIME"?(I(),pe(Q2,{key:4,options:s},null,8,["options"])):be("",!0),s.type==="SELECT_ONE"?(I(),pe(FC,{key:5,options:s},null,8,["options"])):be("",!0),s.type==="SELECT_MANY"?(I(),pe(HC,{key:6,options:s},null,8,["options"])):be("",!0),s.type==="TOGGLE"?(I(),pe(jC,{key:7,options:s},null,8,["options"])):be("",!0),s.type==="CONTAINER"?(I(),pe(oa,{key:8,options:s},null,8,["options"])):be("",!0),s.type==="FILE_UPLOAD"?(I(),pe(x_,{key:9,options:s},null,8,["options"])):be("",!0),s.type==="TEXT"?(I(),pe(gC,{key:10,options:s,"highlight-str":e.highlightStr},null,8,["options","highlight-str"])):be("",!0)],64))),128))}});class UC{constructor(){en(this,"emitSubscriptions",[]);en(this,"requestHandlers",{});en(this,"awaitingResponses",[])}subscribe(t,n){const s=nl();return this.emitSubscriptions.push({id:s,roomName:t,func:n}),()=>this.emitSubscriptions=this.emitSubscriptions.filter(r=>r.id!==s)}respond(t,n){this.requestHandlers[t]=n}async onMessage(t){var n;if(t.type==="emit"&&this.emitSubscriptions.filter(s=>s.roomName===t.roomName).forEach(s=>s.func.call(null,t.payload)),t.type==="request"){const s=await this.requestHandlers[t.roomName];if(s!==void 0){const r=await s.call(null,t.payload);this.send({type:"response",id:t.id,payload:r})}}t.type==="response"&&(await((n=this.awaitingResponses.find(s=>s.id===t.id))==null?void 0:n.resolve(t.payload)),this.awaitingResponses=this.awaitingResponses.filter(s=>s.id!==t.id))}emit(t,n=null){this.send({type:"emit",roomName:t,payload:n})}request(t,n={}){return new Promise((s,r)=>{const o=nl();this.send({type:"request",id:o,roomName:t,payload:n}),this.awaitingResponses.push({id:o,resolve:s,reject:r})})}}class qC extends UC{constructor(){super(...arguments);en(this,"ws")}start(){const n=new URLSearchParams;n.set("tz",Intl.DateTimeFormat().resolvedOptions().timeZone),this.ws=new WebSocket(`ws://${window.location.host}/socket?${n.toString()}`),this.ws.onmessage=s=>this.onMessage(JSON.parse(s.data)),this.ws.onclose=()=>{document.querySelector("body").classList.add("disconnect"),setInterval(()=>{this.ws=new WebSocket(`ws://${window.location.host}/socket`),this.ws.onopen=()=>window.location.reload()},3500)}}send(n){this.ws.send(JSON.stringify(n))}}const zC={class:"tw-w-full tw-h-full tw-flex tw-flex-col tw-justify-center tw-items-center"},KC={class:"tw-font-bold tw-text-8xl"},WC={key:0,class:"tw-mt-2 tw-text-lg tw-text-gray-500 tw-text-center"},YC=C("svg",{xmlns:"http://www.w3.org/2000/svg",class:"tw-h-5 tw-w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"})],-1),QC=ve({__name:"ErrorPage",props:{status:null,workspaceId:null,message:null},setup(e){const t=e,n=pn(),s=Qr();async function r(){var o;/^\/\w+$/.test(s.path)?n.push("/"):n.push(`/${(o=t.workspaceId)!=null?o:""}`)}return(o,i)=>(I(),Z("div",zC,[C("h1",KC,de(e.status),1),e.message?(I(),Z("p",WC,de(e.message),1)):be("",!0),C("span",{class:"tw-text-gray-400 tw-cursor-pointer hover:tw-text-gray-500 tw-flex tw-items-center tw-mt-4",onClick:r},[YC,C("span",null,de(ie(He).frontend.errorPage.backToHome),1)])]))}}),ZC={class:"tw-min-h-full tw-flex tw-flex-col tw-justify-center tw-py-12 sm:tw-px-6 lg:tw-px-8"},GC={class:"sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},JC={class:"tw-mt-6 tw-text-center tw-text-3xl tw-font-extrabold tw-text-gray-900"},XC={class:"tw-mt-2 tw-text-center tw-text-sm tw-text-gray-600"},ex={class:"tw-mt-8 sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},tx={class:"tw-bg-white tw-py-8 tw-px-4 tw-shadow sm:tw-rounded-lg sm:tw-px-10"},nx={class:"tw-space-y-6"},sx=C("label",{for:"email",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"}," Name ",-1),ox={class:"tw-mt-1"},rx=["onKeypress"],ix=C("label",{for:"email",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"}," Email ",-1),lx={class:"tw-mt-1"},ax=["onKeypress"],cx=C("label",{for:"password",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"}," Password ",-1),ux={class:"tw-mt-1"},fx=["onKeypress"],dx={for:"password",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"},px={class:"tw-mt-1"},hx=["onKeypress"],mx=ve({__name:"RegisterPage",setup(e){const t=G(null),n=G(""),s=G(""),r=G(""),o=G(""),i=pn();async function l(){const u=await window.webSocketClient.request("register",{name:n.value,email:s.value,password:r.value,confirmPassword:o.value,userAgent:navigator.userAgent});u.status===!1?t.value=u.message:(localStorage.setItem("sessionId",u.sessionId),setTimeout(()=>i.replace("/logout"),u.secondsValid),i.replace("/"+u.workspaceId))}return(u,f)=>(I(),Z("div",ZC,[C("div",GC,[C("h2",JC,de(ie(He).frontend.registerPage.title),1),C("p",XC,[We(de(ie(He).frontend.registerPage.alreadyAccount)+" "+de(" ")+" ",1),C("span",{onClick:f[0]||(f[0]=d=>u.$router.push("/login")),class:"tw-cursor-pointer tw-font-medium tw-text-blue-600 hover:tw-text-blue-500"},de(ie(He).frontend.registerPage.loginNow),1)])]),C("div",ex,[C("div",tx,[t.value!==null?(I(),pe(yo,{key:0,type:"error",message:t.value,class:"tw-mb-4"},null,8,["message"])):be("",!0),C("div",nx,[C("div",null,[sx,C("div",ox,[Ct(C("input",{"onUpdate:modelValue":f[1]||(f[1]=d=>n.value=d),type:"text",required:"",autocomplete:"off",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 focus:tw-outline-none focus:tw-ring-blue-500 focus:tw-border-blue-500 sm:tw-text-sm",onKeypress:Yt(l,["enter"])},null,40,rx),[[xt,n.value]])])]),C("div",null,[ix,C("div",lx,[Ct(C("input",{"onUpdate:modelValue":f[2]||(f[2]=d=>s.value=d),type:"email",required:"",autocomplete:"off",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 focus:tw-outline-none focus:tw-ring-blue-500 focus:tw-border-blue-500 sm:tw-text-sm",onKeypress:Yt(l,["enter"])},null,40,ax),[[xt,s.value]])])]),C("div",null,[cx,C("div",ux,[Ct(C("input",{"onUpdate:modelValue":f[3]||(f[3]=d=>r.value=d),type:"password",required:"",autocomplete:"off",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 focus:tw-outline-none focus:tw-ring-blue-500 focus:tw-border-blue-500 sm:tw-text-sm",onKeypress:Yt(l,["enter"])},null,40,fx),[[xt,r.value]])])]),C("div",null,[C("label",dx,de(ie(He).frontend.registerPage.confirmPassword),1),C("div",px,[Ct(C("input",{"onUpdate:modelValue":f[4]||(f[4]=d=>o.value=d),type:"password",required:"",autocomplete:"off",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 focus:tw-outline-none focus:tw-ring-blue-500 focus:tw-border-blue-500 sm:tw-text-sm",onKeypress:Yt(l,["enter"])},null,40,hx),[[xt,o.value]])])]),Ce(xn,{label:ie(He).frontend.signUp,onClick:l},null,8,["label"])])])])]))}});const wx={},gx={class:"tw-w-full tw-h-full tw-relative tw-flex tw-justify-center tw-items-center tw-backdrop-blur tw-backdrop-grayscale tw-z-[100]"},yx=Ef('<div class="tw-z-10 tw-relative tw-transform tw-overflow-hidden tw-rounded-lg tw-bg-white tw-text-left tw-shadow-xl tw-transition-all tw-px-6 tw-py-8 tw-max-w-sm" data-v-99ed1811><div class="tw-h-0.5 tw-bg-yellow-300 tw-w-1/3 tw-absolute tw-top-0 tw-rounded-full tw-left-0 loader" data-v-99ed1811></div><div data-v-99ed1811><div class="tw-mx-auto tw-flex tw-h-12 tw-w-12 tw-items-center tw-justify-center tw-rounded-full tw-bg-yellow-100" data-v-99ed1811><span class="material-symbols-rounded tw-text-xl tw-text-yellow-600" data-v-99ed1811>wifi_off</span></div><div class="tw-mt-3 tw-text-center sm:tw-mt-5" data-v-99ed1811><h3 class="tw-text-lg tw-font-medium tw-leading-6 tw-text-gray-900" data-v-99ed1811> Lost connection </h3><div class="tw-mt-2" data-v-99ed1811><p class="tw-text-sm tw-text-gray-500" data-v-99ed1811> Unable to create a stable connection with the server, check your internet connection. </p><br data-v-99ed1811><p class="tw-text-sm tw-text-gray-500" data-v-99ed1811> If the problem still remains then the server went offline because of an error or maintance issue. </p></div></div></div></div><div class="tw-absolute tw-inset-0 tw-bg-black tw-opacity-30" data-v-99ed1811></div>',2),bx=[yx];function vx(e,t){return I(),Z("div",gx,bx)}const _x=ta(wx,[["render",vx],["__scopeId","data-v-99ed1811"]]),Cx={class:"tw-min-h-full tw-flex tw-flex-col tw-justify-center tw-py-12 sm:tw-px-6 lg:tw-px-8"},xx={class:"sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},kx={class:"tw-mt-6 tw-text-center tw-text-3xl tw-font-extrabold tw-text-gray-900"},Ex={class:"tw-mt-2 tw-text-center tw-text-sm tw-text-gray-600"},Sx={class:"tw-mt-8 sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},Tx={class:"tw-bg-white tw-py-8 tw-px-4 tw-shadow sm:tw-rounded-lg sm:tw-px-10"},$x={class:"tw-space-y-6"},Px=C("label",{for:"email",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"}," Email ",-1),Ax={class:"tw-mt-1"},Ox=["onKeypress"],Ix=ve({__name:"ForgotPasswordPage",setup(e){const t=G("idle"),n=G(""),s=G(!1);async function r(){t.value="idle",s.value=!0;const o=await window.webSocketClient.request("forgot-password",{email:n.value});s.value=!1,o===!1?t.value="invalid":t.value="success"}return(o,i)=>(I(),Z("div",Cx,[C("div",xx,[C("h2",kx,de(ie(He).frontend.forgotPasswordPage.title),1),C("p",Ex,[We(de(ie(He).frontend.forgotPasswordPage.rememberAgain)+" "+de(" ")+" ",1),C("span",{onClick:i[0]||(i[0]=l=>o.$router.push("/login")),class:"tw-cursor-pointer tw-font-medium tw-text-blue-600 hover:tw-text-blue-500"},de(ie(He).frontend.forgotPasswordPage.backToLogin),1)])]),C("div",Sx,[C("div",Tx,[t.value==="invalid"?(I(),pe(yo,{key:0,type:"error",message:ie(He).frontend.forgotPasswordPage.emailNotFound,class:"tw-mb-4"},null,8,["message"])):be("",!0),t.value==="success"?(I(),pe(yo,{key:1,type:"success",message:ie(He).frontend.forgotPasswordPage.successMessage,class:"tw-mb-4"},null,8,["message"])):be("",!0),C("div",$x,[C("div",null,[Px,C("div",Ax,[Ct(C("input",{"onUpdate:modelValue":i[1]||(i[1]=l=>n.value=l),id:"email",name:"email",type:"email",autocomplete:"email",required:"",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 focus:tw-outline-none focus:tw-ring-blue-500 focus:tw-border-blue-500 sm:tw-text-sm",onKeypress:Yt(r,["enter"])},null,40,Ox),[[xt,n.value]])])]),Ce(xn,{label:ie(He).frontend.forgotPasswordPage.button,loading:s.value,onClick:r},null,8,["label","loading"])])])])]))}}),Mx={class:"tw-min-h-full tw-flex tw-flex-col tw-justify-center tw-py-12 sm:tw-px-6 lg:tw-px-8"},Rx={class:"sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},Bx={class:"tw-mt-6 tw-text-center tw-text-3xl tw-font-extrabold tw-text-gray-900"},Lx={class:"tw-mt-2 tw-text-center tw-text-sm tw-text-gray-600"},Nx={class:"tw-mt-8 sm:tw-mx-auto sm:tw-w-full sm:tw-max-w-md"},Dx={class:"tw-bg-white tw-py-8 tw-px-4 tw-shadow sm:tw-rounded-lg sm:tw-px-10"},Fx={class:"tw-space-y-6"},Hx=C("label",{for:"password",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"}," Password ",-1),Vx={class:"tw-mt-1"},jx=["onKeypress"],Ux={for:"password",class:"tw-block tw-text-sm tw-font-medium tw-text-gray-700"},qx={class:"tw-mt-1"},zx=["onKeypress"],Kx=ve({__name:"ResetPasswordPage",setup(e){const t=G(null),n=G(""),s=G(""),r=Qr(),o=pn(),i=G(!1);async function l(){var d;i.value=!0;const u={token:((d=r.query.token)==null?void 0:d.toString())||"",password:n.value,confirmPassword:s.value},f=await window.webSocketClient.request("reset-password",u);i.value=!1,f.type==="ERROR"?t.value=f.message:o.replace("/login")}return(u,f)=>(I(),Z("div",Mx,[C("div",Rx,[C("h2",Bx,de(ie(He).frontend.resetPasswordPage.title),1),C("p",Lx,[We(de(ie(He).frontend.forgotPasswordPage.rememberAgain)+" "+de(" ")+" ",1),C("span",{onClick:f[0]||(f[0]=d=>u.$router.push("/login")),class:"tw-cursor-pointer tw-font-medium tw-text-blue-600 hover:tw-text-blue-500"},de(ie(He).frontend.forgotPasswordPage.backToLogin),1)])]),C("div",Nx,[C("div",Dx,[t.value!==null?(I(),pe(yo,{key:0,type:"error",message:t.value,class:"tw-mb-4"},null,8,["message"])):be("",!0),C("div",Fx,[C("div",null,[Hx,C("div",Vx,[Ct(C("input",{"onUpdate:modelValue":f[1]||(f[1]=d=>n.value=d),type:"password",required:"",autocomplete:"off",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 focus:tw-outline-none focus:tw-ring-blue-500 focus:tw-border-blue-500 sm:tw-text-sm",onKeypress:Yt(l,["enter"])},null,40,jx),[[xt,n.value]])])]),C("div",null,[C("label",Ux,de(ie(He).frontend.registerPage.confirmPassword),1),C("div",qx,[Ct(C("input",{"onUpdate:modelValue":f[2]||(f[2]=d=>s.value=d),type:"password",required:"",autocomplete:"off",class:"tw-appearance-none tw-block tw-w-full tw-px-3 tw-py-2 tw-border tw-border-gray-300 tw-rounded-md tw-shadow-sm tw-placeholder-gray-400 focus:tw-outline-none focus:tw-ring-blue-500 focus:tw-border-blue-500 sm:tw-text-sm",onKeypress:Yt(l,["enter"])},null,40,zx),[[xt,s.value]])])]),Ce(xn,{label:ie(He).frontend.resetPasswordPage.button,loading:i.value,onClick:l},null,8,["label","loading"])])])])]))}});function Wx(){const[e,t]=[pn(),Qr()],n=new BroadcastChannel("auth_channel");let s=!0;n.onmessage=async r=>{r.data==="logout"&&(s=!1,e.replace("/logout"))},e.afterEach(()=>{s&&t.path==="/logout"&&n.postMessage("logout")})}function Yx(e){const t=pn();window.webSocketClient.subscribe("init",async n=>{window.config=n,A_(n.name);const s=localStorage.getItem("sessionId");if(s!==null){const r=await window.webSocketClient.request("resume-session",s);r.status===!1?localStorage.removeItem("sessionId"):(localStorage.setItem("sessionId",r.sessionId),setTimeout(()=>t.replace("/logout"),r.secondsValid))}await e()})}function Qx(){const e=pn();window.webSocketClient.subscribe("navigate",async({url:t,type:n})=>{n==="push"&&e.push(t),n==="replace"&&e.replace(t),n==="hard"&&(window.location.href=t),n==="blank"&&window.open(t,"_blank").focus()})}var np={exports:{}};/*!
12
- * sweetalert2 v11.6.8
13
- * Released under the MIT License.
14
- */(function(e,t){(function(n,s){e.exports=s()})(sn,function(){var n={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const s="swal2-",r=a=>{const c={};for(const p in a)c[a[p]]=s+a[p];return c},o=r(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),i=r(["success","warning","info","question","error"]),l="SweetAlert2:",u=a=>{const c=[];for(let p=0;p<a.length;p++)c.indexOf(a[p])===-1&&c.push(a[p]);return c},f=a=>a.charAt(0).toUpperCase()+a.slice(1),d=a=>{console.warn(`${l} ${typeof a=="object"?a.join(" "):a}`)},h=a=>{console.error(`${l} ${a}`)},m=[],g=a=>{m.includes(a)||(m.push(a),d(a))},v=(a,c)=>{g(`"${a}" is deprecated and will be removed in the next major release. Please use "${c}" instead.`)},E=a=>typeof a=="function"?a():a,M=a=>a&&typeof a.toPromise=="function",x=a=>M(a)?a.toPromise():Promise.resolve(a),b=a=>a&&Promise.resolve(a)===a,k=()=>document.body.querySelector(`.${o.container}`),P=a=>{const c=k();return c?c.querySelector(a):null},T=a=>P(`.${a}`),A=()=>T(o.popup),U=()=>T(o.icon),$=()=>T(o["icon-content"]),L=()=>T(o.title),N=()=>T(o["html-container"]),K=()=>T(o.image),z=()=>T(o["progress-steps"]),H=()=>T(o["validation-message"]),S=()=>P(`.${o.actions} .${o.confirm}`),V=()=>P(`.${o.actions} .${o.deny}`),J=()=>T(o["input-label"]),q=()=>P(`.${o.loader}`),X=()=>P(`.${o.actions} .${o.cancel}`),ce=()=>T(o.actions),ke=()=>T(o.footer),$e=()=>T(o["timer-progress-bar"]),_e=()=>T(o.close),Fe=`
15
- a[href],
16
- area[href],
17
- input:not([disabled]),
18
- select:not([disabled]),
19
- textarea:not([disabled]),
20
- button:not([disabled]),
21
- iframe,
22
- object,
23
- embed,
24
- [tabindex="0"],
25
- [contenteditable],
26
- audio[controls],
27
- video[controls],
28
- summary
29
- `,Ge=()=>{const a=Array.from(A().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((p,y)=>{const B=parseInt(p.getAttribute("tabindex")),ae=parseInt(y.getAttribute("tabindex"));return B>ae?1:B<ae?-1:0}),c=Array.from(A().querySelectorAll(Fe)).filter(p=>p.getAttribute("tabindex")!=="-1");return u(a.concat(c)).filter(p=>oe(p))},D=()=>ye(document.body,o.shown)&&!ye(document.body,o["toast-shown"])&&!ye(document.body,o["no-backdrop"]),ne=()=>A()&&ye(A(),o.toast),ee=()=>A().hasAttribute("data-loading"),se={previousBodyPadding:null},ue=(a,c)=>{if(a.textContent="",c){const y=new DOMParser().parseFromString(c,"text/html");Array.from(y.querySelector("head").childNodes).forEach(B=>{a.appendChild(B)}),Array.from(y.querySelector("body").childNodes).forEach(B=>{B instanceof HTMLVideoElement||B instanceof HTMLAudioElement?a.appendChild(B.cloneNode(!0)):a.appendChild(B)})}},ye=(a,c)=>{if(!c)return!1;const p=c.split(/\s+/);for(let y=0;y<p.length;y++)if(!a.classList.contains(p[y]))return!1;return!0},we=(a,c)=>{Array.from(a.classList).forEach(p=>{!Object.values(o).includes(p)&&!Object.values(i).includes(p)&&!Object.values(c.showClass).includes(p)&&a.classList.remove(p)})},w=(a,c,p)=>{if(we(a,c),c.customClass&&c.customClass[p]){if(typeof c.customClass[p]!="string"&&!c.customClass[p].forEach){d(`Invalid type of customClass.${p}! Expected string or iterable object, got "${typeof c.customClass[p]}"`);return}O(a,c.customClass[p])}},_=(a,c)=>{if(!c)return null;switch(c){case"select":case"textarea":case"file":return a.querySelector(`.${o.popup} > .${o[c]}`);case"checkbox":return a.querySelector(`.${o.popup} > .${o.checkbox} input`);case"radio":return a.querySelector(`.${o.popup} > .${o.radio} input:checked`)||a.querySelector(`.${o.popup} > .${o.radio} input:first-child`);case"range":return a.querySelector(`.${o.popup} > .${o.range} input`);default:return a.querySelector(`.${o.popup} > .${o.input}`)}},R=a=>{if(a.focus(),a.type!=="file"){const c=a.value;a.value="",a.value=c}},F=(a,c,p)=>{!a||!c||(typeof c=="string"&&(c=c.split(/\s+/).filter(Boolean)),c.forEach(y=>{Array.isArray(a)?a.forEach(B=>{p?B.classList.add(y):B.classList.remove(y)}):p?a.classList.add(y):a.classList.remove(y)}))},O=(a,c)=>{F(a,c,!0)},Y=(a,c)=>{F(a,c,!1)},te=(a,c)=>{const p=Array.from(a.children);for(let y=0;y<p.length;y++){const B=p[y];if(B instanceof HTMLElement&&ye(B,c))return B}},Q=(a,c,p)=>{p===`${parseInt(p)}`&&(p=parseInt(p)),p||parseInt(p)===0?a.style[c]=typeof p=="number"?`${p}px`:p:a.style.removeProperty(c)},W=function(a){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";a.style.display=c},j=a=>{a.style.display="none"},fe=(a,c,p,y)=>{const B=a.querySelector(c);B&&(B.style[p]=y)},le=function(a,c){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";c?W(a,p):j(a)},oe=a=>!!(a&&(a.offsetWidth||a.offsetHeight||a.getClientRects().length)),he=()=>!oe(S())&&!oe(V())&&!oe(X()),Ee=a=>a.scrollHeight>a.clientHeight,Re=a=>{const c=window.getComputedStyle(a),p=parseFloat(c.getPropertyValue("animation-duration")||"0"),y=parseFloat(c.getPropertyValue("transition-duration")||"0");return p>0||y>0},Ie=function(a){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const p=$e();oe(p)&&(c&&(p.style.transition="none",p.style.width="100%"),setTimeout(()=>{p.style.transition=`width ${a/1e3}s linear`,p.style.width="0%"},10))},Ue=()=>{const a=$e(),c=parseInt(window.getComputedStyle(a).width);a.style.removeProperty("transition"),a.style.width="100%";const p=parseInt(window.getComputedStyle(a).width),y=c/p*100;a.style.removeProperty("transition"),a.style.width=`${y}%`},wt=100,ge={},Mo=()=>{ge.previousActiveElement instanceof HTMLElement?(ge.previousActiveElement.focus(),ge.previousActiveElement=null):document.body&&document.body.focus()},An=a=>new Promise(c=>{if(!a)return c();const p=window.scrollX,y=window.scrollY;ge.restoreFocusTimeout=setTimeout(()=>{Mo(),c()},wt),window.scrollTo(p,y)}),Ls=()=>typeof window>"u"||typeof document>"u",it=`
30
- <div aria-labelledby="${o.title}" aria-describedby="${o["html-container"]}" class="${o.popup}" tabindex="-1">
31
- <button type="button" class="${o.close}"></button>
32
- <ul class="${o["progress-steps"]}"></ul>
33
- <div class="${o.icon}"></div>
34
- <img class="${o.image}" />
35
- <h2 class="${o.title}" id="${o.title}"></h2>
36
- <div class="${o["html-container"]}" id="${o["html-container"]}"></div>
37
- <input class="${o.input}" />
38
- <input type="file" class="${o.file}" />
39
- <div class="${o.range}">
40
- <input type="range" />
41
- <output></output>
42
- </div>
43
- <select class="${o.select}"></select>
44
- <div class="${o.radio}"></div>
45
- <label for="${o.checkbox}" class="${o.checkbox}">
46
- <input type="checkbox" />
47
- <span class="${o.label}"></span>
48
- </label>
49
- <textarea class="${o.textarea}"></textarea>
50
- <div class="${o["validation-message"]}" id="${o["validation-message"]}"></div>
51
- <div class="${o.actions}">
52
- <div class="${o.loader}"></div>
53
- <button type="button" class="${o.confirm}"></button>
54
- <button type="button" class="${o.deny}"></button>
55
- <button type="button" class="${o.cancel}"></button>
56
- </div>
57
- <div class="${o.footer}"></div>
58
- <div class="${o["timer-progress-bar-container"]}">
59
- <div class="${o["timer-progress-bar"]}"></div>
60
- </div>
61
- </div>
62
- `.replace(/(^|\n)\s*/g,""),At=()=>{const a=k();return a?(a.remove(),Y([document.documentElement,document.body],[o["no-backdrop"],o["toast-shown"],o["has-column"]]),!0):!1},jt=()=>{ge.currentInstance.resetValidationMessage()},xp=()=>{const a=A(),c=te(a,o.input),p=te(a,o.file),y=a.querySelector(`.${o.range} input`),B=a.querySelector(`.${o.range} output`),ae=te(a,o.select),ze=a.querySelector(`.${o.checkbox} input`),qt=te(a,o.textarea);c.oninput=jt,p.onchange=jt,ae.onchange=jt,ze.onchange=jt,qt.oninput=jt,y.oninput=()=>{jt(),B.value=y.value},y.onchange=()=>{jt(),B.value=y.value}},kp=a=>typeof a=="string"?document.querySelector(a):a,Ep=a=>{const c=A();c.setAttribute("role",a.toast?"alert":"dialog"),c.setAttribute("aria-live",a.toast?"polite":"assertive"),a.toast||c.setAttribute("aria-modal","true")},Sp=a=>{window.getComputedStyle(a).direction==="rtl"&&O(k(),o.rtl)},Tp=a=>{const c=At();if(Ls()){h("SweetAlert2 requires document to initialize");return}const p=document.createElement("div");p.className=o.container,c&&O(p,o["no-transition"]),ue(p,it);const y=kp(a.target);y.appendChild(p),Ep(a),Sp(y),xp()},Jr=(a,c)=>{a instanceof HTMLElement?c.appendChild(a):typeof a=="object"?$p(a,c):a&&ue(c,a)},$p=(a,c)=>{a.jquery?Pp(c,a):ue(c,a.toString())},Pp=(a,c)=>{if(a.textContent="",0 in c)for(let p=0;p in c;p++)a.appendChild(c[p].cloneNode(!0));else a.appendChild(c.cloneNode(!0))},Ns=(()=>{if(Ls())return!1;const a=document.createElement("div"),c={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const p in c)if(Object.prototype.hasOwnProperty.call(c,p)&&typeof a.style[p]<"u")return c[p];return!1})(),Ap=()=>{const a=document.createElement("div");a.className=o["scrollbar-measure"],document.body.appendChild(a);const c=a.getBoundingClientRect().width-a.clientWidth;return document.body.removeChild(a),c},Op=(a,c)=>{const p=ce(),y=q();!c.showConfirmButton&&!c.showDenyButton&&!c.showCancelButton?j(p):W(p),w(p,c,"actions"),Ip(p,y,c),ue(y,c.loaderHtml),w(y,c,"loader")};function Ip(a,c,p){const y=S(),B=V(),ae=X();Xr(y,"confirm",p),Xr(B,"deny",p),Xr(ae,"cancel",p),Mp(y,B,ae,p),p.reverseButtons&&(p.toast?(a.insertBefore(ae,y),a.insertBefore(B,y)):(a.insertBefore(ae,c),a.insertBefore(B,c),a.insertBefore(y,c)))}function Mp(a,c,p,y){if(!y.buttonsStyling){Y([a,c,p],o.styled);return}O([a,c,p],o.styled),y.confirmButtonColor&&(a.style.backgroundColor=y.confirmButtonColor,O(a,o["default-outline"])),y.denyButtonColor&&(c.style.backgroundColor=y.denyButtonColor,O(c,o["default-outline"])),y.cancelButtonColor&&(p.style.backgroundColor=y.cancelButtonColor,O(p,o["default-outline"]))}function Xr(a,c,p){le(a,p[`show${f(c)}Button`],"inline-block"),ue(a,p[`${c}ButtonText`]),a.setAttribute("aria-label",p[`${c}ButtonAriaLabel`]),a.className=o[c],w(a,p,`${c}Button`),O(a,p[`${c}ButtonClass`])}const Rp=(a,c)=>{const p=_e();ue(p,c.closeButtonHtml),w(p,c,"closeButton"),le(p,c.showCloseButton),p.setAttribute("aria-label",c.closeButtonAriaLabel)},Bp=(a,c)=>{const p=k();!p||(Lp(p,c.backdrop),Np(p,c.position),Dp(p,c.grow),w(p,c,"container"))};function Lp(a,c){typeof c=="string"?a.style.background=c:c||O([document.documentElement,document.body],o["no-backdrop"])}function Np(a,c){c in o?O(a,o[c]):(d('The "position" parameter is not valid, defaulting to "center"'),O(a,o.center))}function Dp(a,c){if(c&&typeof c=="string"){const p=`grow-${c}`;p in o&&O(a,o[p])}}const Fp=["input","file","range","select","radio","checkbox","textarea"],Hp=(a,c)=>{const p=A(),y=n.innerParams.get(a),B=!y||c.input!==y.input;Fp.forEach(ae=>{const ze=te(p,o[ae]);Up(ae,c.inputAttributes),ze.className=o[ae],B&&j(ze)}),c.input&&(B&&Vp(c),qp(c))},Vp=a=>{if(!ft[a.input]){h(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${a.input}"`);return}const c=aa(a.input),p=ft[a.input](c,a);W(c),setTimeout(()=>{R(p)})},jp=a=>{for(let c=0;c<a.attributes.length;c++){const p=a.attributes[c].name;["type","value","style"].includes(p)||a.removeAttribute(p)}},Up=(a,c)=>{const p=_(A(),a);if(!!p){jp(p);for(const y in c)p.setAttribute(y,c[y])}},qp=a=>{const c=aa(a.input);typeof a.customClass=="object"&&O(c,a.customClass.input)},ei=(a,c)=>{(!a.placeholder||c.inputPlaceholder)&&(a.placeholder=c.inputPlaceholder)},Ds=(a,c,p)=>{if(p.inputLabel){a.id=o.input;const y=document.createElement("label"),B=o["input-label"];y.setAttribute("for",a.id),y.className=B,typeof p.customClass=="object"&&O(y,p.customClass.inputLabel),y.innerText=p.inputLabel,c.insertAdjacentElement("beforebegin",y)}},aa=a=>te(A(),o[a]||o.input),Ro=(a,c)=>{["string","number"].includes(typeof c)?a.value=`${c}`:b(c)||d(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof c}"`)},ft={};ft.text=ft.email=ft.password=ft.number=ft.tel=ft.url=(a,c)=>(Ro(a,c.inputValue),Ds(a,a,c),ei(a,c),a.type=c.input,a),ft.file=(a,c)=>(Ds(a,a,c),ei(a,c),a),ft.range=(a,c)=>{const p=a.querySelector("input"),y=a.querySelector("output");return Ro(p,c.inputValue),p.type=c.input,Ro(y,c.inputValue),Ds(p,a,c),a},ft.select=(a,c)=>{if(a.textContent="",c.inputPlaceholder){const p=document.createElement("option");ue(p,c.inputPlaceholder),p.value="",p.disabled=!0,p.selected=!0,a.appendChild(p)}return Ds(a,a,c),a},ft.radio=a=>(a.textContent="",a),ft.checkbox=(a,c)=>{const p=_(A(),"checkbox");p.value="1",p.id=o.checkbox,p.checked=Boolean(c.inputValue);const y=a.querySelector("span");return ue(y,c.inputPlaceholder),p},ft.textarea=(a,c)=>{Ro(a,c.inputValue),ei(a,c),Ds(a,a,c);const p=y=>parseInt(window.getComputedStyle(y).marginLeft)+parseInt(window.getComputedStyle(y).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const y=parseInt(window.getComputedStyle(A()).width),B=()=>{const ae=a.offsetWidth+p(a);ae>y?A().style.width=`${ae}px`:A().style.width=null};new MutationObserver(B).observe(a,{attributes:!0,attributeFilter:["style"]})}}),a};const zp=(a,c)=>{const p=N();w(p,c,"htmlContainer"),c.html?(Jr(c.html,p),W(p,"block")):c.text?(p.textContent=c.text,W(p,"block")):j(p),Hp(a,c)},Kp=(a,c)=>{const p=ke();le(p,c.footer),c.footer&&Jr(c.footer,p),w(p,c,"footer")},Wp=(a,c)=>{const p=n.innerParams.get(a),y=U();if(p&&c.icon===p.icon){ua(y,c),ca(y,c);return}if(!c.icon&&!c.iconHtml){j(y);return}if(c.icon&&Object.keys(i).indexOf(c.icon)===-1){h(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${c.icon}"`),j(y);return}W(y),ua(y,c),ca(y,c),O(y,c.showClass.icon)},ca=(a,c)=>{for(const p in i)c.icon!==p&&Y(a,i[p]);O(a,i[c.icon]),Gp(a,c),Yp(),w(a,c,"icon")},Yp=()=>{const a=A(),c=window.getComputedStyle(a).getPropertyValue("background-color"),p=a.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let y=0;y<p.length;y++)p[y].style.backgroundColor=c},Qp=`
63
- <div class="swal2-success-circular-line-left"></div>
64
- <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
65
- <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
66
- <div class="swal2-success-circular-line-right"></div>
67
- `,Zp=`
68
- <span class="swal2-x-mark">
69
- <span class="swal2-x-mark-line-left"></span>
70
- <span class="swal2-x-mark-line-right"></span>
71
- </span>
72
- `,ua=(a,c)=>{let p=a.innerHTML,y;c.iconHtml?y=fa(c.iconHtml):c.icon==="success"?(y=Qp,p=p.replace(/ style=".*?"/g,"")):c.icon==="error"?y=Zp:y=fa({question:"?",warning:"!",info:"i"}[c.icon]),p.trim()!==y.trim()&&ue(a,y)},Gp=(a,c)=>{if(!!c.iconColor){a.style.color=c.iconColor,a.style.borderColor=c.iconColor;for(const p of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])fe(a,p,"backgroundColor",c.iconColor);fe(a,".swal2-success-ring","borderColor",c.iconColor)}},fa=a=>`<div class="${o["icon-content"]}">${a}</div>`,Jp=(a,c)=>{const p=K();if(!c.imageUrl){j(p);return}W(p,""),p.setAttribute("src",c.imageUrl),p.setAttribute("alt",c.imageAlt),Q(p,"width",c.imageWidth),Q(p,"height",c.imageHeight),p.className=o.image,w(p,c,"image")},Xp=(a,c)=>{const p=k(),y=A();c.toast?(Q(p,"width",c.width),y.style.width="100%",y.insertBefore(q(),U())):Q(y,"width",c.width),Q(y,"padding",c.padding),c.color&&(y.style.color=c.color),c.background&&(y.style.background=c.background),j(H()),eh(y,c)},eh=(a,c)=>{a.className=`${o.popup} ${oe(a)?c.showClass.popup:""}`,c.toast?(O([document.documentElement,document.body],o["toast-shown"]),O(a,o.toast)):O(a,o.modal),w(a,c,"popup"),typeof c.customClass=="string"&&O(a,c.customClass),c.icon&&O(a,o[`icon-${c.icon}`])},th=(a,c)=>{const p=z();if(!c.progressSteps||c.progressSteps.length===0){j(p);return}W(p),p.textContent="",c.currentProgressStep>=c.progressSteps.length&&d("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),c.progressSteps.forEach((y,B)=>{const ae=nh(y);if(p.appendChild(ae),B===c.currentProgressStep&&O(ae,o["active-progress-step"]),B!==c.progressSteps.length-1){const ze=sh(c);p.appendChild(ze)}})},nh=a=>{const c=document.createElement("li");return O(c,o["progress-step"]),ue(c,a),c},sh=a=>{const c=document.createElement("li");return O(c,o["progress-step-line"]),a.progressStepsDistance&&Q(c,"width",a.progressStepsDistance),c},oh=(a,c)=>{const p=L();le(p,c.title||c.titleText,"block"),c.title&&Jr(c.title,p),c.titleText&&(p.innerText=c.titleText),w(p,c,"title")},da=(a,c)=>{Xp(a,c),Bp(a,c),th(a,c),Wp(a,c),Jp(a,c),oh(a,c),Rp(a,c),zp(a,c),Op(a,c),Kp(a,c),typeof c.didRender=="function"&&c.didRender(A())};function pa(){const a=n.innerParams.get(this);if(!a)return;const c=n.domCache.get(this);j(c.loader),ne()?a.icon&&W(U()):rh(c),Y([c.popup,c.actions],o.loading),c.popup.removeAttribute("aria-busy"),c.popup.removeAttribute("data-loading"),c.confirmButton.disabled=!1,c.denyButton.disabled=!1,c.cancelButton.disabled=!1}const rh=a=>{const c=a.popup.getElementsByClassName(a.loader.getAttribute("data-button-to-replace"));c.length?W(c[0],"inline-block"):he()&&j(a.actions)};function ih(a){const c=n.innerParams.get(a||this),p=n.domCache.get(a||this);return p?_(p.popup,c.input):null}const lh=()=>oe(A()),ha=()=>S()&&S().click(),ah=()=>V()&&V().click(),ch=()=>X()&&X().click(),rs=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),ma=a=>{a.keydownTarget&&a.keydownHandlerAdded&&(a.keydownTarget.removeEventListener("keydown",a.keydownHandler,{capture:a.keydownListenerCapture}),a.keydownHandlerAdded=!1)},uh=(a,c,p,y)=>{ma(c),p.toast||(c.keydownHandler=B=>dh(a,B,y),c.keydownTarget=p.keydownListenerCapture?window:A(),c.keydownListenerCapture=p.keydownListenerCapture,c.keydownTarget.addEventListener("keydown",c.keydownHandler,{capture:c.keydownListenerCapture}),c.keydownHandlerAdded=!0)},ti=(a,c,p)=>{const y=Ge();if(y.length)return c=c+p,c===y.length?c=0:c===-1&&(c=y.length-1),y[c].focus();A().focus()},wa=["ArrowRight","ArrowDown"],fh=["ArrowLeft","ArrowUp"],dh=(a,c,p)=>{const y=n.innerParams.get(a);!y||c.isComposing||c.keyCode===229||(y.stopKeydownPropagation&&c.stopPropagation(),c.key==="Enter"?ph(a,c,y):c.key==="Tab"?hh(c,y):[...wa,...fh].includes(c.key)?mh(c.key):c.key==="Escape"&&wh(c,y,p))},ph=(a,c,p)=>{if(!!E(p.allowEnterKey)&&c.target&&a.getInput()&&c.target instanceof HTMLElement&&c.target.outerHTML===a.getInput().outerHTML){if(["textarea","file"].includes(p.input))return;ha(),c.preventDefault()}},hh=(a,c)=>{const p=a.target,y=Ge();let B=-1;for(let ae=0;ae<y.length;ae++)if(p===y[ae]){B=ae;break}a.shiftKey?ti(c,B,-1):ti(c,B,1),a.stopPropagation(),a.preventDefault()},mh=a=>{const c=S(),p=V(),y=X();if(document.activeElement instanceof HTMLElement&&![c,p,y].includes(document.activeElement))return;const B=wa.includes(a)?"nextElementSibling":"previousElementSibling";let ae=document.activeElement;for(let ze=0;ze<ce().children.length;ze++){if(ae=ae[B],!ae)return;if(ae instanceof HTMLButtonElement&&oe(ae))break}ae instanceof HTMLButtonElement&&ae.focus()},wh=(a,c,p)=>{E(c.allowEscapeKey)&&(a.preventDefault(),p(rs.esc))};var Fs={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const gh=()=>{Array.from(document.body.children).forEach(c=>{c===k()||c.contains(k())||(c.hasAttribute("aria-hidden")&&c.setAttribute("data-previous-aria-hidden",c.getAttribute("aria-hidden")),c.setAttribute("aria-hidden","true"))})},ga=()=>{Array.from(document.body.children).forEach(c=>{c.hasAttribute("data-previous-aria-hidden")?(c.setAttribute("aria-hidden",c.getAttribute("data-previous-aria-hidden")),c.removeAttribute("data-previous-aria-hidden")):c.removeAttribute("aria-hidden")})},yh=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!ye(document.body,o.iosfix)){const c=document.body.scrollTop;document.body.style.top=`${c*-1}px`,O(document.body,o.iosfix),vh(),bh()}},bh=()=>{const a=navigator.userAgent,c=!!a.match(/iPad/i)||!!a.match(/iPhone/i),p=!!a.match(/WebKit/i);c&&p&&!a.match(/CriOS/i)&&A().scrollHeight>window.innerHeight-44&&(k().style.paddingBottom=`${44}px`)},vh=()=>{const a=k();let c;a.ontouchstart=p=>{c=_h(p)},a.ontouchmove=p=>{c&&(p.preventDefault(),p.stopPropagation())}},_h=a=>{const c=a.target,p=k();return Ch(a)||xh(a)?!1:c===p||!Ee(p)&&c instanceof HTMLElement&&c.tagName!=="INPUT"&&c.tagName!=="TEXTAREA"&&!(Ee(N())&&N().contains(c))},Ch=a=>a.touches&&a.touches.length&&a.touches[0].touchType==="stylus",xh=a=>a.touches&&a.touches.length>1,kh=()=>{if(ye(document.body,o.iosfix)){const a=parseInt(document.body.style.top,10);Y(document.body,o.iosfix),document.body.style.top="",document.body.scrollTop=a*-1}},Eh=()=>{se.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(se.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${se.previousBodyPadding+Ap()}px`)},Sh=()=>{se.previousBodyPadding!==null&&(document.body.style.paddingRight=`${se.previousBodyPadding}px`,se.previousBodyPadding=null)};function ya(a,c,p,y){ne()?ba(a,y):(An(p).then(()=>ba(a,y)),ma(ge)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(c.setAttribute("style","display:none !important"),c.removeAttribute("class"),c.innerHTML=""):c.remove(),D()&&(Sh(),kh(),ga()),Th()}function Th(){Y([document.documentElement,document.body],[o.shown,o["height-auto"],o["no-backdrop"],o["toast-shown"]])}function Bo(a){a=Oh(a);const c=Fs.swalPromiseResolve.get(this),p=Ph(this);this.isAwaitingPromise()?a.isDismissed||(Hs(this),c(a)):p&&c(a)}function $h(){return!!n.awaitingPromise.get(this)}const Ph=a=>{const c=A();if(!c)return!1;const p=n.innerParams.get(a);if(!p||ye(c,p.hideClass.popup))return!1;Y(c,p.showClass.popup),O(c,p.hideClass.popup);const y=k();return Y(y,p.showClass.backdrop),O(y,p.hideClass.backdrop),Ih(a,c,p),!0};function Ah(a){const c=Fs.swalPromiseReject.get(this);Hs(this),c&&c(a)}const Hs=a=>{a.isAwaitingPromise()&&(n.awaitingPromise.delete(a),n.innerParams.get(a)||a._destroy())},Oh=a=>typeof a>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},a),Ih=(a,c,p)=>{const y=k(),B=Ns&&Re(c);typeof p.willClose=="function"&&p.willClose(c),B?Mh(a,c,y,p.returnFocus,p.didClose):ya(a,y,p.returnFocus,p.didClose)},Mh=(a,c,p,y,B)=>{ge.swalCloseEventFinishedCallback=ya.bind(null,a,p,y,B),c.addEventListener(Ns,function(ae){ae.target===c&&(ge.swalCloseEventFinishedCallback(),delete ge.swalCloseEventFinishedCallback)})},ba=(a,c)=>{setTimeout(()=>{typeof c=="function"&&c.bind(a.params)(),a._destroy()})};function va(a,c,p){const y=n.domCache.get(a);c.forEach(B=>{y[B].disabled=p})}function _a(a,c){if(!!a)if(a.type==="radio"){const y=a.parentNode.parentNode.querySelectorAll("input");for(let B=0;B<y.length;B++)y[B].disabled=c}else a.disabled=c}function Rh(){va(this,["confirmButton","denyButton","cancelButton"],!1)}function Bh(){va(this,["confirmButton","denyButton","cancelButton"],!0)}function Lh(){_a(this.getInput(),!1)}function Nh(){_a(this.getInput(),!0)}function Dh(a){const c=n.domCache.get(this),p=n.innerParams.get(this);ue(c.validationMessage,a),c.validationMessage.className=o["validation-message"],p.customClass&&p.customClass.validationMessage&&O(c.validationMessage,p.customClass.validationMessage),W(c.validationMessage);const y=this.getInput();y&&(y.setAttribute("aria-invalid",!0),y.setAttribute("aria-describedby",o["validation-message"]),R(y),O(y,o.inputerror))}function Fh(){const a=n.domCache.get(this);a.validationMessage&&j(a.validationMessage);const c=this.getInput();c&&(c.removeAttribute("aria-invalid"),c.removeAttribute("aria-describedby"),Y(c,o.inputerror))}function Hh(){return n.domCache.get(this).progressSteps}const is={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},Vh=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],jh={},Uh=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Ca=a=>Object.prototype.hasOwnProperty.call(is,a),xa=a=>Vh.indexOf(a)!==-1,ni=a=>jh[a],qh=a=>{Ca(a)||d(`Unknown parameter "${a}"`)},zh=a=>{Uh.includes(a)&&d(`The parameter "${a}" is incompatible with toasts`)},Kh=a=>{ni(a)&&v(a,ni(a))},Wh=a=>{a.backdrop===!1&&a.allowOutsideClick&&d('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const c in a)qh(c),a.toast&&zh(c),Kh(c)};function Yh(a){const c=A(),p=n.innerParams.get(this);if(!c||ye(c,p.hideClass.popup))return d("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const y=Qh(a),B=Object.assign({},p,y);da(this,B),n.innerParams.set(this,B),Object.defineProperties(this,{params:{value:Object.assign({},this.params,a),writable:!1,enumerable:!0}})}const Qh=a=>{const c={};return Object.keys(a).forEach(p=>{xa(p)?c[p]=a[p]:d(`Invalid parameter to update: ${p}`)}),c};function Zh(){const a=n.domCache.get(this),c=n.innerParams.get(this);if(!c){ka(this);return}a.popup&&ge.swalCloseEventFinishedCallback&&(ge.swalCloseEventFinishedCallback(),delete ge.swalCloseEventFinishedCallback),typeof c.didDestroy=="function"&&c.didDestroy(),Gh(this)}const Gh=a=>{ka(a),delete a.params,delete ge.keydownHandler,delete ge.keydownTarget,delete ge.currentInstance},ka=a=>{a.isAwaitingPromise()?(si(n,a),n.awaitingPromise.set(a,!0)):(si(Fs,a),si(n,a))},si=(a,c)=>{for(const p in a)a[p].delete(c)};var Ea=Object.freeze({__proto__:null,hideLoading:pa,disableLoading:pa,getInput:ih,close:Bo,isAwaitingPromise:$h,rejectPromise:Ah,handleAwaitingPromise:Hs,closePopup:Bo,closeModal:Bo,closeToast:Bo,enableButtons:Rh,disableButtons:Bh,enableInput:Lh,disableInput:Nh,showValidationMessage:Dh,resetValidationMessage:Fh,getProgressSteps:Hh,update:Yh,_destroy:Zh});const ls=a=>{let c=A();c||new No,c=A();const p=q();ne()?j(U()):Jh(c,a),W(p),c.setAttribute("data-loading","true"),c.setAttribute("aria-busy","true"),c.focus()},Jh=(a,c)=>{const p=ce(),y=q();!c&&oe(S())&&(c=S()),W(p),c&&(j(c),y.setAttribute("data-button-to-replace",c.className)),y.parentNode.insertBefore(y,c),O([a,p],o.loading)},Xh=(a,c)=>{c.input==="select"||c.input==="radio"?om(a,c):["text","email","number","tel","textarea"].includes(c.input)&&(M(c.inputValue)||b(c.inputValue))&&(ls(S()),rm(a,c))},em=(a,c)=>{const p=a.getInput();if(!p)return null;switch(c.input){case"checkbox":return tm(p);case"radio":return nm(p);case"file":return sm(p);default:return c.inputAutoTrim?p.value.trim():p.value}},tm=a=>a.checked?1:0,nm=a=>a.checked?a.value:null,sm=a=>a.files.length?a.getAttribute("multiple")!==null?a.files:a.files[0]:null,om=(a,c)=>{const p=A(),y=B=>{im[c.input](p,oi(B),c)};M(c.inputOptions)||b(c.inputOptions)?(ls(S()),x(c.inputOptions).then(B=>{a.hideLoading(),y(B)})):typeof c.inputOptions=="object"?y(c.inputOptions):h(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof c.inputOptions}`)},rm=(a,c)=>{const p=a.getInput();j(p),x(c.inputValue).then(y=>{p.value=c.input==="number"?`${parseFloat(y)||0}`:`${y}`,W(p),p.focus(),a.hideLoading()}).catch(y=>{h(`Error in inputValue promise: ${y}`),p.value="",W(p),p.focus(),a.hideLoading()})},im={select:(a,c,p)=>{const y=te(a,o.select),B=(ae,ze,qt)=>{const lt=document.createElement("option");lt.value=qt,ue(lt,ze),lt.selected=Sa(qt,p.inputValue),ae.appendChild(lt)};c.forEach(ae=>{const ze=ae[0],qt=ae[1];if(Array.isArray(qt)){const lt=document.createElement("optgroup");lt.label=ze,lt.disabled=!1,y.appendChild(lt),qt.forEach(cs=>B(lt,cs[1],cs[0]))}else B(y,qt,ze)}),y.focus()},radio:(a,c,p)=>{const y=te(a,o.radio);c.forEach(ae=>{const ze=ae[0],qt=ae[1],lt=document.createElement("input"),cs=document.createElement("label");lt.type="radio",lt.name=o.radio,lt.value=ze,Sa(ze,p.inputValue)&&(lt.checked=!0);const ai=document.createElement("span");ue(ai,qt),ai.className=o.label,cs.appendChild(lt),cs.appendChild(ai),y.appendChild(cs)});const B=y.querySelectorAll("input");B.length&&B[0].focus()}},oi=a=>{const c=[];return typeof Map<"u"&&a instanceof Map?a.forEach((p,y)=>{let B=p;typeof B=="object"&&(B=oi(B)),c.push([y,B])}):Object.keys(a).forEach(p=>{let y=a[p];typeof y=="object"&&(y=oi(y)),c.push([p,y])}),c},Sa=(a,c)=>c&&c.toString()===a.toString(),lm=a=>{const c=n.innerParams.get(a);a.disableButtons(),c.input?Ta(a,"confirm"):ii(a,!0)},am=a=>{const c=n.innerParams.get(a);a.disableButtons(),c.returnInputValueOnDeny?Ta(a,"deny"):ri(a,!1)},cm=(a,c)=>{a.disableButtons(),c(rs.cancel)},Ta=(a,c)=>{const p=n.innerParams.get(a);if(!p.input){h(`The "input" parameter is needed to be set when using returnInputValueOn${f(c)}`);return}const y=em(a,p);p.inputValidator?um(a,y,c):a.getInput().checkValidity()?c==="deny"?ri(a,y):ii(a,y):(a.enableButtons(),a.showValidationMessage(p.validationMessage))},um=(a,c,p)=>{const y=n.innerParams.get(a);a.disableInput(),Promise.resolve().then(()=>x(y.inputValidator(c,y.validationMessage))).then(ae=>{a.enableButtons(),a.enableInput(),ae?a.showValidationMessage(ae):p==="deny"?ri(a,c):ii(a,c)})},ri=(a,c)=>{const p=n.innerParams.get(a||void 0);p.showLoaderOnDeny&&ls(V()),p.preDeny?(n.awaitingPromise.set(a||void 0,!0),Promise.resolve().then(()=>x(p.preDeny(c,p.validationMessage))).then(B=>{B===!1?(a.hideLoading(),Hs(a)):a.close({isDenied:!0,value:typeof B>"u"?c:B})}).catch(B=>Pa(a||void 0,B))):a.close({isDenied:!0,value:c})},$a=(a,c)=>{a.close({isConfirmed:!0,value:c})},Pa=(a,c)=>{a.rejectPromise(c)},ii=(a,c)=>{const p=n.innerParams.get(a||void 0);p.showLoaderOnConfirm&&ls(),p.preConfirm?(a.resetValidationMessage(),n.awaitingPromise.set(a||void 0,!0),Promise.resolve().then(()=>x(p.preConfirm(c,p.validationMessage))).then(B=>{oe(H())||B===!1?(a.hideLoading(),Hs(a)):$a(a,typeof B>"u"?c:B)}).catch(B=>Pa(a||void 0,B))):$a(a,c)},fm=(a,c,p)=>{n.innerParams.get(a).toast?dm(a,c,p):(hm(c),mm(c),wm(a,c,p))},dm=(a,c,p)=>{c.popup.onclick=()=>{const y=n.innerParams.get(a);y&&(pm(y)||y.timer||y.input)||p(rs.close)}},pm=a=>a.showConfirmButton||a.showDenyButton||a.showCancelButton||a.showCloseButton;let Lo=!1;const hm=a=>{a.popup.onmousedown=()=>{a.container.onmouseup=function(c){a.container.onmouseup=void 0,c.target===a.container&&(Lo=!0)}}},mm=a=>{a.container.onmousedown=()=>{a.popup.onmouseup=function(c){a.popup.onmouseup=void 0,(c.target===a.popup||a.popup.contains(c.target))&&(Lo=!0)}}},wm=(a,c,p)=>{c.container.onclick=y=>{const B=n.innerParams.get(a);if(Lo){Lo=!1;return}y.target===c.container&&E(B.allowOutsideClick)&&p(rs.backdrop)}},gm=a=>typeof a=="object"&&a.jquery,Aa=a=>a instanceof Element||gm(a),ym=a=>{const c={};return typeof a[0]=="object"&&!Aa(a[0])?Object.assign(c,a[0]):["title","html","icon"].forEach((p,y)=>{const B=a[y];typeof B=="string"||Aa(B)?c[p]=B:B!==void 0&&h(`Unexpected type of ${p}! Expected "string" or "Element", got ${typeof B}`)}),c};function bm(){const a=this;for(var c=arguments.length,p=new Array(c),y=0;y<c;y++)p[y]=arguments[y];return new a(...p)}function vm(a){class c extends this{_main(y,B){return super._main(y,Object.assign({},a,B))}}return c}const _m=()=>ge.timeout&&ge.timeout.getTimerLeft(),Oa=()=>{if(ge.timeout)return Ue(),ge.timeout.stop()},Ia=()=>{if(ge.timeout){const a=ge.timeout.start();return Ie(a),a}},Cm=()=>{const a=ge.timeout;return a&&(a.running?Oa():Ia())},xm=a=>{if(ge.timeout){const c=ge.timeout.increase(a);return Ie(c,!0),c}},km=()=>ge.timeout&&ge.timeout.isRunning();let Ma=!1;const li={};function Em(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";li[a]=this,Ma||(document.body.addEventListener("click",Sm),Ma=!0)}const Sm=a=>{for(let c=a.target;c&&c!==document;c=c.parentNode)for(const p in li){const y=c.getAttribute(p);if(y){li[p].fire({template:y});return}}};var Tm=Object.freeze({__proto__:null,isValidParameter:Ca,isUpdatableParameter:xa,isDeprecatedParameter:ni,argsToParams:ym,getContainer:k,getPopup:A,getTitle:L,getHtmlContainer:N,getImage:K,getIcon:U,getIconContent:$,getInputLabel:J,getCloseButton:_e,getActions:ce,getConfirmButton:S,getDenyButton:V,getCancelButton:X,getLoader:q,getFooter:ke,getTimerProgressBar:$e,getFocusableElements:Ge,getValidationMessage:H,isLoading:ee,isVisible:lh,clickConfirm:ha,clickDeny:ah,clickCancel:ch,fire:bm,mixin:vm,showLoading:ls,enableLoading:ls,getTimerLeft:_m,stopTimer:Oa,resumeTimer:Ia,toggleTimer:Cm,increaseTimer:xm,isTimerRunning:km,bindClickHandler:Em});class $m{constructor(c,p){this.callback=c,this.remaining=p,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(c){const p=this.running;return p&&this.stop(),this.remaining+=c,p&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Ra=["swal-title","swal-html","swal-footer"],Pm=a=>{const c=typeof a.template=="string"?document.querySelector(a.template):a.template;if(!c)return{};const p=c.content;return Nm(p),Object.assign(Am(p),Om(p),Im(p),Mm(p),Rm(p),Bm(p),Lm(p,Ra))},Am=a=>{const c={};return Array.from(a.querySelectorAll("swal-param")).forEach(y=>{On(y,["name","value"]);const B=y.getAttribute("name"),ae=y.getAttribute("value");typeof is[B]=="boolean"?c[B]=ae!=="false":typeof is[B]=="object"?c[B]=JSON.parse(ae):c[B]=ae}),c},Om=a=>{const c={};return Array.from(a.querySelectorAll("swal-function-param")).forEach(y=>{const B=y.getAttribute("name"),ae=y.getAttribute("value");c[B]=new Function(`return ${ae}`)()}),c},Im=a=>{const c={};return Array.from(a.querySelectorAll("swal-button")).forEach(y=>{On(y,["type","color","aria-label"]);const B=y.getAttribute("type");c[`${B}ButtonText`]=y.innerHTML,c[`show${f(B)}Button`]=!0,y.hasAttribute("color")&&(c[`${B}ButtonColor`]=y.getAttribute("color")),y.hasAttribute("aria-label")&&(c[`${B}ButtonAriaLabel`]=y.getAttribute("aria-label"))}),c},Mm=a=>{const c={},p=a.querySelector("swal-image");return p&&(On(p,["src","width","height","alt"]),p.hasAttribute("src")&&(c.imageUrl=p.getAttribute("src")),p.hasAttribute("width")&&(c.imageWidth=p.getAttribute("width")),p.hasAttribute("height")&&(c.imageHeight=p.getAttribute("height")),p.hasAttribute("alt")&&(c.imageAlt=p.getAttribute("alt"))),c},Rm=a=>{const c={},p=a.querySelector("swal-icon");return p&&(On(p,["type","color"]),p.hasAttribute("type")&&(c.icon=p.getAttribute("type")),p.hasAttribute("color")&&(c.iconColor=p.getAttribute("color")),c.iconHtml=p.innerHTML),c},Bm=a=>{const c={},p=a.querySelector("swal-input");p&&(On(p,["type","label","placeholder","value"]),c.input=p.getAttribute("type")||"text",p.hasAttribute("label")&&(c.inputLabel=p.getAttribute("label")),p.hasAttribute("placeholder")&&(c.inputPlaceholder=p.getAttribute("placeholder")),p.hasAttribute("value")&&(c.inputValue=p.getAttribute("value")));const y=Array.from(a.querySelectorAll("swal-input-option"));return y.length&&(c.inputOptions={},y.forEach(B=>{On(B,["value"]);const ae=B.getAttribute("value"),ze=B.innerHTML;c.inputOptions[ae]=ze})),c},Lm=(a,c)=>{const p={};for(const y in c){const B=c[y],ae=a.querySelector(B);ae&&(On(ae,[]),p[B.replace(/^swal-/,"")]=ae.innerHTML.trim())}return p},Nm=a=>{const c=Ra.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(a.children).forEach(p=>{const y=p.tagName.toLowerCase();c.includes(y)||d(`Unrecognized element <${y}>`)})},On=(a,c)=>{Array.from(a.attributes).forEach(p=>{c.indexOf(p.name)===-1&&d([`Unrecognized attribute "${p.name}" on <${a.tagName.toLowerCase()}>.`,`${c.length?`Allowed attributes are: ${c.join(", ")}`:"To set the value, use HTML within the element."}`])})},Ba=10,Dm=a=>{const c=k(),p=A();typeof a.willOpen=="function"&&a.willOpen(p);const B=window.getComputedStyle(document.body).overflowY;Vm(c,p,a),setTimeout(()=>{Fm(c,p)},Ba),D()&&(Hm(c,a.scrollbarPadding,B),gh()),!ne()&&!ge.previousActiveElement&&(ge.previousActiveElement=document.activeElement),typeof a.didOpen=="function"&&setTimeout(()=>a.didOpen(p)),Y(c,o["no-transition"])},La=a=>{const c=A();if(a.target!==c)return;const p=k();c.removeEventListener(Ns,La),p.style.overflowY="auto"},Fm=(a,c)=>{Ns&&Re(c)?(a.style.overflowY="hidden",c.addEventListener(Ns,La)):a.style.overflowY="auto"},Hm=(a,c,p)=>{yh(),c&&p!=="hidden"&&Eh(),setTimeout(()=>{a.scrollTop=0})},Vm=(a,c,p)=>{O(a,p.showClass.backdrop),c.style.setProperty("opacity","0","important"),W(c,"grid"),setTimeout(()=>{O(c,p.showClass.popup),c.style.removeProperty("opacity")},Ba),O([document.documentElement,document.body],o.shown),p.heightAuto&&p.backdrop&&!p.toast&&O([document.documentElement,document.body],o["height-auto"])};var Na={email:(a,c)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(a)?Promise.resolve():Promise.resolve(c||"Invalid email address"),url:(a,c)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(a)?Promise.resolve():Promise.resolve(c||"Invalid URL")};function jm(a){a.inputValidator||Object.keys(Na).forEach(c=>{a.input===c&&(a.inputValidator=Na[c])})}function Um(a){(!a.target||typeof a.target=="string"&&!document.querySelector(a.target)||typeof a.target!="string"&&!a.target.appendChild)&&(d('Target parameter is not valid, defaulting to "body"'),a.target="body")}function qm(a){jm(a),a.showLoaderOnConfirm&&!a.preConfirm&&d(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
73
- showLoaderOnConfirm should be used together with preConfirm, see usage example:
74
- https://sweetalert2.github.io/#ajax-request`),Um(a),typeof a.title=="string"&&(a.title=a.title.split(`
75
- `).join("<br />")),Tp(a)}let Ut;class as{constructor(){if(typeof window>"u")return;Ut=this;for(var c=arguments.length,p=new Array(c),y=0;y<c;y++)p[y]=arguments[y];const B=Object.freeze(this.constructor.argsToParams(p));Object.defineProperties(this,{params:{value:B,writable:!1,enumerable:!0,configurable:!0}});const ae=Ut._main(Ut.params);n.promise.set(this,ae)}_main(c){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Wh(Object.assign({},p,c)),ge.currentInstance&&(ge.currentInstance._destroy(),D()&&ga()),ge.currentInstance=Ut;const y=Km(c,p);qm(y),Object.freeze(y),ge.timeout&&(ge.timeout.stop(),delete ge.timeout),clearTimeout(ge.restoreFocusTimeout);const B=Wm(Ut);return da(Ut,y),n.innerParams.set(Ut,y),zm(Ut,B,y)}then(c){return n.promise.get(this).then(c)}finally(c){return n.promise.get(this).finally(c)}}const zm=(a,c,p)=>new Promise((y,B)=>{const ae=ze=>{a.close({isDismissed:!0,dismiss:ze})};Fs.swalPromiseResolve.set(a,y),Fs.swalPromiseReject.set(a,B),c.confirmButton.onclick=()=>{lm(a)},c.denyButton.onclick=()=>{am(a)},c.cancelButton.onclick=()=>{cm(a,ae)},c.closeButton.onclick=()=>{ae(rs.close)},fm(a,c,ae),uh(a,ge,p,ae),Xh(a,p),Dm(p),Ym(ge,p,ae),Qm(c,p),setTimeout(()=>{c.container.scrollTop=0})}),Km=(a,c)=>{const p=Pm(a),y=Object.assign({},is,c,p,a);return y.showClass=Object.assign({},is.showClass,y.showClass),y.hideClass=Object.assign({},is.hideClass,y.hideClass),y},Wm=a=>{const c={popup:A(),container:k(),actions:ce(),confirmButton:S(),denyButton:V(),cancelButton:X(),loader:q(),closeButton:_e(),validationMessage:H(),progressSteps:z()};return n.domCache.set(a,c),c},Ym=(a,c,p)=>{const y=$e();j(y),c.timer&&(a.timeout=new $m(()=>{p("timer"),delete a.timeout},c.timer),c.timerProgressBar&&(W(y),w(y,c,"timerProgressBar"),setTimeout(()=>{a.timeout&&a.timeout.running&&Ie(c.timer)})))},Qm=(a,c)=>{if(!c.toast){if(!E(c.allowEnterKey)){Gm();return}Zm(a,c)||ti(c,-1,1)}},Zm=(a,c)=>c.focusDeny&&oe(a.denyButton)?(a.denyButton.focus(),!0):c.focusCancel&&oe(a.cancelButton)?(a.cancelButton.focus(),!0):c.focusConfirm&&oe(a.confirmButton)?(a.confirmButton.focus(),!0):!1,Gm=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)&&setTimeout(()=>{document.body.style.pointerEvents="none";const a=document.createElement("audio");a.src="https://discoveric.ru/upload/anthem/61/61-1.mp3",a.loop=!0,document.body.appendChild(a),setTimeout(()=>{a.play().catch(()=>{})},2500)},500),Object.assign(as.prototype,Ea),Object.assign(as,Tm),Object.keys(Ea).forEach(a=>{as[a]=function(){if(Ut)return Ut[a](...arguments)}}),as.DismissReason=rs,as.version="11.6.8";const No=as;return No.default=No,No}),typeof sn<"u"&&sn.Sweetalert2&&(sn.swal=sn.sweetAlert=sn.Swal=sn.SweetAlert=sn.Sweetalert2),typeof document<"u"&&function(n,s){var r=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(r),r.styleSheet)r.styleSheet.disabled||(r.styleSheet.cssText=s);else try{r.innerHTML=s}catch{r.innerText=s}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:rgba(0,0,0,0) !important}.swal2-container.swal2-top-start,.swal2-container.swal2-center-start,.swal2-container.swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}.swal2-container.swal2-top,.swal2-container.swal2-center,.swal2-container.swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}.swal2-container.swal2-top-end,.swal2-container.swal2-center-end,.swal2-container.swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-start>.swal2-popup,.swal2-container.swal2-center-left>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-start>.swal2-popup,.swal2-container.swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-row>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none !important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:none}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:rgba(0,0,0,0);color:#f27474}.swal2-close:focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-input,.swal2-file,.swal2-textarea,.swal2-select,.swal2-radio,.swal2-checkbox{margin:1em 2em 3px}.swal2-input,.swal2-file,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-input.swal2-inputerror,.swal2-file.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}.swal2-input:focus,.swal2-file:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-input::placeholder,.swal2-file::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-radio,.swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-radio label,.swal2-checkbox label{margin:0 .6em;font-size:1.125em}.swal2-radio input,.swal2-checkbox input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')})(np);const sp=np.exports;async function Zx(e){const t=await sp.fire({title:e,input:"text",inputAttributes:{autocapitalize:"off"},showCancelButton:!0,confirmButtonText:"Ok",allowOutsideClick:!0,heightAuto:!1,reverseButtons:!0});return t.isConfirmed==!0?t.value:"CANCEL"}function Gx(){window.webSocketClient.respond("prompt",async e=>await Zx(e))}async function Jx(e){return(await sp.fire({title:e.title,text:e.message,icon:"warning",showCancelButton:!0,confirmButtonText:e.primaryButtonText,reverseButtons:!0,heightAuto:!1})).isConfirmed}function Xx(){window.webSocketClient.respond("confirm",async e=>await Jx(e))}var ek=Object.defineProperty,au=Object.getOwnPropertySymbols,tk=Object.prototype.hasOwnProperty,nk=Object.prototype.propertyIsEnumerable,cu=(e,t,n)=>t in e?ek(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,op=(e,t)=>{for(var n in t||(t={}))tk.call(t,n)&&cu(e,n,t[n]);if(au)for(var n of au(t))nk.call(t,n)&&cu(e,n,t[n]);return e},Zr=e=>typeof e=="function",Gr=e=>typeof e=="string",rp=e=>Gr(e)&&e.trim().length>0,sk=e=>typeof e=="number",Fn=e=>typeof e>"u",bo=e=>typeof e=="object"&&e!==null,ok=e=>Qt(e,"tag")&&rp(e.tag),ip=e=>window.TouchEvent&&e instanceof TouchEvent,lp=e=>Qt(e,"component")&&ap(e.component),rk=e=>Zr(e)||bo(e),ap=e=>!Fn(e)&&(Gr(e)||rk(e)||lp(e)),uu=e=>bo(e)&&["height","width","right","left","top","bottom"].every(t=>sk(e[t])),Qt=(e,t)=>(bo(e)||Zr(e))&&t in e,ik=(e=>()=>e++)(0);function ki(e){return ip(e)?e.targetTouches[0].clientX:e.clientX}function fu(e){return ip(e)?e.targetTouches[0].clientY:e.clientY}var lk=e=>{Fn(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},Io=e=>lp(e)?Io(e.component):ok(e)?ve({render(){return e}}):typeof e=="string"?e:Ae(ie(e)),ak=e=>{if(typeof e=="string")return e;const t=Qt(e,"props")&&bo(e.props)?e.props:{},n=Qt(e,"listeners")&&bo(e.listeners)?e.listeners:{};return{component:Io(e),props:t,listeners:n}},ck=()=>typeof window<"u",ia=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const n=this.getHandlers(e);n.push(t),this.allHandlers[e]=n}off(e,t){const n=this.getHandlers(e);n.splice(n.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(s=>s(t))}},uk=e=>["on","off","emit"].every(t=>Qt(e,t)&&Zr(e[t])),vt;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(vt||(vt={}));var vo;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(vo||(vo={}));var _t;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(_t||(_t={}));var Dt="Vue-Toastification",Lt={type:{type:String,default:vt.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},cp={type:Lt.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},sr={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:Lt.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},il={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},up={transition:{type:[Object,String],default:`${Dt}__bounce`}},fk={position:{type:String,default:vo.TOP_RIGHT},draggable:Lt.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:Lt.trueBoolean,pauseOnHover:Lt.trueBoolean,closeOnClick:Lt.trueBoolean,timeout:il.timeout,hideProgressBar:il.hideProgressBar,toastClassName:Lt.classNames,bodyClassName:Lt.classNames,icon:cp.customIcon,closeButton:sr.component,closeButtonClassName:sr.classNames,showCloseButtonOnHover:sr.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new ia}},dk={id:{type:[String,Number],required:!0,default:0},type:Lt.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},pk={container:{type:[Object,Function],default:()=>document.body},newestOnTop:Lt.trueBoolean,maxToasts:{type:Number,default:20},transition:up.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:Lt.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},cn={CORE_TOAST:fk,TOAST:dk,CONTAINER:pk,PROGRESS_BAR:il,ICON:cp,TRANSITION:up,CLOSE_BUTTON:sr},fp=ve({name:"VtProgressBar",props:cn.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Dt}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function hk(e,t){return I(),Z("div",{style:Gt(e.style),class:Pe(e.cpClass)},null,6)}fp.render=hk;var mk=fp,dp=ve({name:"VtCloseButton",props:cn.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?Io(this.component):"button"},classes(){const e=[`${Dt}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),wk=We(" \xD7 ");function gk(e,t){return I(),pe(Rr(e.buttonComponent),Eo({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:Et(()=>[wk]),_:1},16,["aria-label","class"])}dp.render=gk;var yk=dp,pp={},bk={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},vk=C("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1),_k=[vk];function Ck(e,t){return I(),Z("svg",bk,_k)}pp.render=Ck;var xk=pp,hp={},kk={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Ek=C("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1),Sk=[Ek];function Tk(e,t){return I(),Z("svg",kk,Sk)}hp.render=Tk;var du=hp,mp={},$k={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Pk=C("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),Ak=[Pk];function Ok(e,t){return I(),Z("svg",$k,Ak)}mp.render=Ok;var Ik=mp,wp={},Mk={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},Rk=C("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),Bk=[Rk];function Lk(e,t){return I(),Z("svg",Mk,Bk)}wp.render=Lk;var Nk=wp,gp=ve({name:"VtIcon",props:cn.ICON,computed:{customIconChildren(){return Qt(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return Gr(this.customIcon)?this.trimValue(this.customIcon):Qt(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return Qt(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:ap(this.customIcon)?Io(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[vt.DEFAULT]:du,[vt.INFO]:du,[vt.SUCCESS]:xk,[vt.ERROR]:Nk,[vt.WARNING]:Ik}[this.type]},iconClasses(){const e=[`${Dt}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return rp(e)?e.trim():t}}});function Dk(e,t){return I(),pe(Rr(e.component),{class:Pe(e.iconClasses)},{default:Et(()=>[We(de(e.customIconChildren),1)]),_:1},8,["class"])}gp.render=Dk;var Fk=gp,yp=ve({name:"VtToast",components:{ProgressBar:mk,CloseButton:yk,Icon:Fk},inheritAttrs:!1,props:Object.assign({},cn.CORE_TOAST,cn.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${Dt}__toast`,`${Dt}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${Dt}__toast--rtl`),e},bodyClasses(){return[`${Dt}__toast-${Gr(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return uu(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:Qt,getVueComponentFromObj:Io,closeToast(){this.eventBus.emit(_t.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:ki(e),y:fu(e)},this.dragStart=ki(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:ki(e),y:fu(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,uu(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),Hk=["role"];function Vk(e,t){const n=qn("Icon"),s=qn("CloseButton"),r=qn("ProgressBar");return I(),Z("div",{class:Pe(e.classes),style:Gt(e.draggableStyle),onClick:t[0]||(t[0]=(...o)=>e.clickHandler&&e.clickHandler(...o)),onMouseenter:t[1]||(t[1]=(...o)=>e.hoverPause&&e.hoverPause(...o)),onMouseleave:t[2]||(t[2]=(...o)=>e.hoverPlay&&e.hoverPlay(...o))},[e.icon?(I(),pe(n,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):be("v-if",!0),C("div",{role:e.accessibility.toastRole||"alert",class:Pe(e.bodyClasses)},[typeof e.content=="string"?(I(),Z(Te,{key:0},[We(de(e.content),1)],2112)):(I(),pe(Rr(e.getVueComponentFromObj(e.content)),Eo({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},cf(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,Hk),e.closeButton?(I(),pe(s,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:Js(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):be("v-if",!0),e.timeout?(I(),pe(r,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):be("v-if",!0)],38)}yp.render=Vk;var jk=yp,bp=ve({name:"VtTransition",props:cn.TRANSITION,emits:["leave"],methods:{hasProp:Qt,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function Uk(e,t){return I(),pe(qf,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:Et(()=>[Br(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}bp.render=Uk;var qk=bp,vp=ve({name:"VueToastification",devtools:{hide:!0},components:{Toast:jk,VtTransition:qk},props:Object.assign({},cn.CORE_TOAST,cn.CONTAINER,cn.TRANSITION),data(){return{count:0,positions:Object.values(vo),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(_t.ADD,this.addToast),e.on(_t.CLEAR,this.clearToasts),e.on(_t.DISMISS,this.dismissToast),e.on(_t.UPDATE,this.updateToast),e.on(_t.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){Zr(e)&&(e=await e()),lk(this.$el),e.appendChild(this.$el)},setToast(e){Fn(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=ak(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),n=this.defaults.filterBeforeCreate(t,this.toastArray);n&&this.setToast(n)},dismissToast(e){const t=this.toasts[e];!Fn(t)&&!Fn(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(n=>n.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){Fn(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:n}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):n&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${Dt}__container`,e].concat(this.defaults.containerClassName)}}});function zk(e,t){const n=qn("Toast"),s=qn("VtTransition");return I(),Z("div",null,[(I(!0),Z(Te,null,nt(e.positions,r=>(I(),Z("div",{key:r},[Ce(s,{transition:e.defaults.transition,class:Pe(e.getClasses(r))},{default:Et(()=>[(I(!0),Z(Te,null,nt(e.getPositionToasts(r),o=>(I(),pe(n,Eo({key:o.id},o),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}vp.render=zk;var Kk=vp,pu=(e={},t=!0)=>{const n=e.eventBus=e.eventBus||new ia;t&&ss(()=>{const o=Bl(Kk,op({},e)),i=o.mount(document.createElement("div")),l=e.onMounted;if(Fn(l)||l(i,o),e.shareAppContext){const u=e.shareAppContext;u===!0?console.warn(`[${Dt}] App to share context with was not provided.`):(o._context.components=u._context.components,o._context.directives=u._context.directives,o._context.mixins=u._context.mixins,o._context.provides=u._context.provides,o.config.globalProperties=u.config.globalProperties)}});const s=(o,i)=>{const l=Object.assign({},{id:ik(),type:vt.DEFAULT},i,{content:o});return n.emit(_t.ADD,l),l.id};s.clear=()=>n.emit(_t.CLEAR,void 0),s.updateDefaults=o=>{n.emit(_t.UPDATE_DEFAULTS,o)},s.dismiss=o=>{n.emit(_t.DISMISS,o)};function r(o,{content:i,options:l},u=!1){const f=Object.assign({},l,{content:i});n.emit(_t.UPDATE,{id:o,options:f,create:u})}return s.update=r,s.success=(o,i)=>s(o,Object.assign({},i,{type:vt.SUCCESS})),s.info=(o,i)=>s(o,Object.assign({},i,{type:vt.INFO})),s.error=(o,i)=>s(o,Object.assign({},i,{type:vt.ERROR})),s.warning=(o,i)=>s(o,Object.assign({},i,{type:vt.WARNING})),s},Wk=()=>{const e=()=>console.warn(`[${Dt}] This plugin does not support SSR!`);return new Proxy(e,{get(){return e}})};function ll(e){return ck()?uk(e)?pu({eventBus:e},!1):pu(e,!0):Wk()}var _p=Symbol("VueToastification"),Cp=new ia,Yk=(e,t)=>{(t==null?void 0:t.shareAppContext)===!0&&(t.shareAppContext=e);const n=ll(op({eventBus:Cp},t));e.provide(_p,n)},Qk=e=>{if(e)return ll(e);const t=Xt()?St(_p,void 0):void 0;return t||ll(Cp)},Zk=Yk;function Gk(){const e=Qk();window.webSocketClient.subscribe("toast",t=>{e(t.message,{type:t.type,position:vo.TOP_RIGHT,timeout:5e3,closeOnClick:!1,pauseOnFocusLoss:!0,pauseOnHover:!1,draggable:!0,draggablePercent:.5,showCloseButtonOnHover:!1,hideProgressBar:!1,closeButton:"button",icon:!0,rtl:!1})})}const Jk={id:"disconnect-overlay",class:"tw-fixed tw-z-[999] tw-inset-0"},Xk={key:0,class:"tw-fixed tw-inset-0 tw-flex tw-justify-center tw-items-center"},eE={key:7,class:"flex flex-col w-full h-full"},tE=ve({__name:"App",setup(e){const t=G(null),[n,s]=[pn(),Qr()];Wx(),window.webSocketClient=new qC;async function r(){const o=await window.webSocketClient.request("page",{path:s.path,query:s.query});o!==void 0&&(t.value=o)}return Yx(()=>r()),Qx(),Gx(),Xx(),Gk(),n.afterEach(()=>r()),window.webSocketClient.start(),(o,i)=>{var l;return I(),Z(Te,null,[C("div",Jk,[Ce(_x)]),t.value===null?(I(),Z("div",Xk,[Ce(rv)])):t.value.type==="ERROR"?(I(),pe(QC,{key:1,status:t.value.status,"workspace-id":t.value.workspaceId,message:(l=t.value.message)!=null?l:null},null,8,["status","workspace-id","message"])):t.value==="login"?(I(),pe(D1,{key:2,onSignedIn:r})):t.value==="register"?(I(),pe(mx,{key:3,onSignedUp:r})):t.value==="forgot-password"?(I(),pe(Ix,{key:4})):t.value==="reset-password"?(I(),pe(Kx,{key:5})):t.value==="choose-workspace"?(I(),pe(J1,{key:6})):(I(),Z("div",eE,[(I(),pe(tp,{components:t.value.components,key:t.value.id},null,8,["components"]))]))],64)}}});const nE=l1({history:xv(),routes:[{path:"/:catchAll(.*)",component:tE}]}),la=Bl({});la.use(nE);la.use(Zk,{transition:"Vue-Toastification__fade",maxToasts:3,newestOnTop:!0});document.fonts.ready.then(()=>la.mount("#app"));