0&&(s=n[0]),s instanceof Error)throw s;var i=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw i.context=s,i}var f=a[t];if(f===void 0)return!1;if(typeof f=="function")J(f,this,n);else for(var p=f.length,C=re(f,p),o=0;o0&&s.length>r&&!s.warned){s.warned=!0;var i=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");i.name="MaxListenersExceededWarning",i.emitter=e,i.type=t,i.count=s.length,Ne(i)}return e}c.prototype.addListener=function(t,n){return ee(this,t,n,!1)};c.prototype.on=c.prototype.addListener;c.prototype.prependListener=function(t,n){return ee(this,t,n,!0)};function Ke(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function te(e,t,n){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=Ke.bind(o);return r.listener=n,o.wrapFn=r,r}c.prototype.once=function(t,n){return E(n),this.on(t,te(this,t,n)),this};c.prototype.prependOnceListener=function(t,n){return E(n),this.prependListener(t,te(this,t,n)),this};c.prototype.removeListener=function(t,n){var o,r,a,s,i;if(E(n),r=this._events,r===void 0)return this;if(o=r[t],o===void 0)return this;if(o===n||o.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,o.listener||n));else if(typeof o!="function"){for(a=-1,s=o.length-1;s>=0;s--)if(o[s]===n||o[s].listener===n){i=o[s].listener,a=s;break}if(a<0)return this;a===0?o.shift():$e(o,a),o.length===1&&(r[t]=o[0]),r.removeListener!==void 0&&this.emit("removeListener",t,i||n)}return this};c.prototype.off=c.prototype.removeListener;c.prototype.removeAllListeners=function(t){var n,o,r;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[t]),this;if(arguments.length===0){var a=Object.keys(o),s;for(r=0;r=0;r--)this.removeListener(t,n[r]);return this};function ne(e,t,n){var o=e._events;if(o===void 0)return[];var r=o[t];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?Ve(r):re(r,r.length)}c.prototype.listeners=function(t){return ne(this,t,!0)};c.prototype.rawListeners=function(t){return ne(this,t,!1)};c.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):oe.call(e,t)};c.prototype.listenerCount=oe;function oe(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}c.prototype.eventNames=function(){return this._eventsCount>0?I(this._events):[]};function re(e,t){for(var n=new Array(t),o=0;o{d.exports.boot=function(e){return e};d.exports.ssrMiddleware=function(e){return e};d.exports.configure=function(e){return e};d.exports.preFetch=function(e){return e};d.exports.route=function(e){return e};d.exports.store=function(e){return e};d.exports.bexBackground=function(e){return e};d.exports.bexContent=function(e){return e};d.exports.bexDom=function(e){return e};d.exports.ssrProductionExport=function(e){return e};d.exports.ssrCreate=function(e){return e};d.exports.ssrListen=function(e){return e};d.exports.ssrClose=function(e){return e};d.exports.ssrServeStaticContent=function(e){return e};d.exports.ssrRenderPreloadTag=function(e){return e}});var le=Q(se());var j,R=0,l=new Array(256);for(let e=0;e<256;e++)l[e]=(e+256).toString(16).substring(1);var Qe=(()=>{let e=typeof crypto!="undefined"?crypto:typeof window!="undefined"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{let n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{let n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),ie=4096;function ce(){(j===void 0||R+16>ie)&&(R=0,j=Qe(ie));let e=Array.prototype.slice.call(j,R,R+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,l[e[0]]+l[e[1]]+l[e[2]]+l[e[3]]+"-"+l[e[4]]+l[e[5]]+"-"+l[e[6]]+l[e[7]]+"-"+l[e[8]]+l[e[9]]+"-"+l[e[10]]+l[e[11]]+l[e[12]]+l[e[13]]+l[e[14]]+l[e[15]]}var Je={undefined:()=>0,boolean:()=>4,number:()=>8,string:e=>2*e.length,object:e=>e?Object.keys(e).reduce((t,n)=>N(n)+N(e[n])+t,0):0},N=e=>Je[typeof e](e),L=class extends le.EventEmitter{constructor(t){super(),this.setMaxListeners(1/0),this.wall=t,t.listen(n=>{Array.isArray(n)?n.forEach(o=>this._emit(o)):this._emit(n)}),this._sendingQueue=[],this._sending=!1,this._maxMessageSize=32*1024*1024}send(t,n){return this._send([{event:t,payload:n}])}getEvents(){return this._events}on(t,n){return super.on(t,o=>{n({...o,respond:r=>this.send(o.eventResponseKey,r)})})}_emit(t){typeof t=="string"?this.emit(t):this.emit(t.event,t.payload)}_send(t){return this._sendingQueue.push(t),this._nextSend()}_nextSend(){if(!this._sendingQueue.length||this._sending)return Promise.resolve();this._sending=!0;let t=this._sendingQueue.shift(),n=t[0],o=`${n.event}.${ce()}`,r=o+".result";return new Promise((a,s)=>{let i=[],f=p=>{if(p!==void 0&&p._chunkSplit){let C=p._chunkSplit;i=[...i,...p.data],C.lastChunk&&(this.off(r,f),a(i))}else this.off(r,f),a(p)};this.on(r,f);try{let p=t.map(C=>({...C,payload:{data:C.payload,eventResponseKey:r}}));this.wall.send(p)}catch(p){let C="Message length exceeded maximum allowed length.";if(p.message===C&&Array.isArray(n.payload)){let T=N(n);if(T>this._maxMessageSize){let b=Math.ceil(T/this._maxMessageSize),v=Math.ceil(n.payload.length/b),O=n.payload;for(let D=0;Dthis._nextSend(),16)})}};var pe=(e,t)=>{window.addEventListener("message",n=>{if(n.source===window&&n.data.from!==void 0&&n.data.from===t){let o=n.data[0],r=e.getEvents();for(let a in r)a===o.event&&r[a](o.payload)}},!1)};var De=Q(de());var Xe=chrome.runtime.getURL("assets/config.js"),fe,P=(fe=globalThis.browser)!=null?fe:globalThis.chrome;async function Ye(){let e=await P.storage.local.get("defaultConfig");if(e.defaultConfig)return e.defaultConfig;let t={},n=["DelayTime","RepeatTimes","port"],o=["enabledFor","useCapsolver","manualSolving","useProxy"],r=/\/\*[\s\S]*?\*\/|([^:]|^)\/\/.*$/gm,i=(await(await fetch(Xe)).text()).replace(r,""),f=i.slice(i.indexOf("{")+1,i.lastIndexOf("}")),p=JSON.stringify(f).replaceAll('\\"',"'").replaceAll("\\n","").replaceAll('"',"").replaceAll(" ",""),C=p.indexOf("blackUrlList"),T=p.slice(C),b=T.indexOf("],"),v=T.slice(0,b+1);p.replace(v,"").split(",").forEach(_e=>{let[k,z]=_e.split(":");if(k&&z){let S=z.replaceAll("'","").replaceAll('"',"");for(let y=0;y{let n=await g.getAll();t(n).then()}),e.on("registerCaptchaWidget",({data:t,respond:n})=>{window.registerCaptchaWidget(t)})}function me(){let e=document.querySelector("head > capsolver-widgets");e||(e=document.createElement("capsolver-widgets"),document.head.appendChild(e)),window.registerCaptchaWidget=t=>{let n=et(t);if(window.isCaptchaWidgetRegistered(n))return;let o=document.createElement("capsolver-widget");for(let r in n)o.dataset[r]=n[r];e.appendChild(o)},window.isCaptchaWidgetRegistered=t=>{let{captchaType:n,widgetId:o}=t,r=e.children;for(let a=0;a{let{captchaType:n,widgetId:o}=t,r=e.children;for(let a=0;a{let{captchaType:n}=t,o=`capsolver-widget[data-captcha-type="${n}"]`;return document.querySelector(o)},window.getCaptchaWidgetDataset=(t,n)=>{var o;return(o=window.getCaptchaWidget({captchaType:t,widgetId:n}))==null?void 0:o.dataset},window.setCaptchaWidgetDataset=(t,n,o)=>{let r;t?r=`capsolver-widget[data-widget-id="${t}"]`:r="capsolver-widget";let a=document.querySelector(r);a&&(a.dataset[n]=o)}}function et(e){let t={};for(let n in e)e[n]===null||e[n]===void 0||(t[n]=`${e[n]}`);return t}function K(){let e=document.createElement("div");e.id="capsolver-solver-tip-button",e.classList.add("capsolver-solver"),e.dataset.state="solving";let t=document.createElement("div");t.classList.add("capsolver-solver-image");let n=document.createElement("img");n.src=chrome.runtime.getURL("assets/images/logo_solved.png"),n.alt="",t.appendChild(n);let o=document.createElement("div");return o.classList.add("capsolver-solver-info"),o.innerText=chrome.i18n.getMessage("solving"),e.appendChild(t),e.appendChild(o),e}function u(e,t){let n=document.querySelector("#capsolver-solver-tip-button"),o=n==null?void 0:n.querySelector(".capsolver-solver-info");o&&(o.innerHTML=e),t&&n&&(n.dataset.state=t)}var tt="hCaptcha";var B=class{constructor(){h(this,"captchaType",tt)}setSolveButton(t,n){let o=document.querySelector(`#${t.containerId}`),r=n;r.style.width=o.querySelector("iframe").offsetWidth+"px",o.append(r)}getParams(t,n){return{url:location.href,sitekey:t.sitekey}}onSolved(t,n){u(chrome.i18n.getMessage("solved"),"solved");let o=document.getElementById(t.containerId);if(!o)return;o.querySelectorAll("iframe[data-hcaptcha-widget-id]").forEach(a=>{let s=a.attributes["data-hcaptcha-widget-id"].value,i=JSON.stringify({source:"hcaptcha",label:"challenge-closed",id:s,contents:{event:"challenge-passed",response:n,expiration:120}});window.dispatchEvent(new MessageEvent("message",{data:i}))})}getForm(t){return document.querySelector(`#${t.containerId}`).querySelector("form")}getCallback(t){return t.callback}};var nt="reCaptcha";var W=class{constructor(t){h(this,"captchaType",nt);this.captchaType=t}setSolveButton(t,n){let o=n,r=this.getBindedElements(t);r.textarea&&r.textarea.parentElement?(r.textarea.parentElement.style.height="auto",r.textarea.parentElement.insertBefore(o,r.textarea.nextSibling)):r.button.parentElement.insertBefore(o,r.button.nextSibling)}getParams(t,n){return{sitekey:t.sitekey,url:location.href,version:(t==null?void 0:t.version)||"v2",score:(n==null?void 0:n.recaptchaV3MinScore)||.7,action:(t==null?void 0:t.action)||"",invisible:(t==null?void 0:t.version)==="v2_invisible",enterprise:!!t.enterprise,s:(t==null?void 0:t.s)||""}}onSolved(t,n){var r;u(chrome.i18n.getMessage("solved"),"solved");let o=this.getBindedElements(t).textarea;o||(o=(r=this.getForm(t))==null?void 0:r.querySelector("textarea[name=g-recaptcha-response]")),o.innerHTML=n,o.value=n}getForm(t){var o;let n=this.getBindedElements(t);return n.textarea?n.textarea.closest("form"):(o=n.button)==null?void 0:o.closest("form")}getCallback(t){return t.callback}getBindedElements(t){let n={button:null,textarea:null};if(t.bindedButtonId){let o=document.querySelector(`#${t.bindedButtonId}`);o&&(n.button=o)}else{let o=document.querySelector(`#${t.containerId} textarea[name=g-recaptcha-response]`);o&&(n.textarea=o)}return n}};var ot="funCaptcha";var Ce=304;function rt(e){return e-Ce>0?(e-Ce)/2:0}var _=class{constructor(){h(this,"captchaType",ot)}setSolveButton(t,n){let o=document.querySelector("#"+t.containerId),r=n;r.style.width=o.querySelector("iframe").offsetWidth+"px",r.style.position="absolute",r.style.left=rt(o.querySelector("iframe").offsetWidth)+"px",r.style.bottom="20px",o.append(r)}getParams(t){return{websiteURL:location.href,websitePublicKey:t.websitePublicKey}}onSolved(t,n){}getCallback(t){return"onSuccess"}};var at="cloudflare";function st(){let t=location.href.split("/");return t.slice(t.indexOf("turnstile")).sort((o,r)=>r.length-o.length)[0]}var A=class{constructor(){h(this,"captchaType",at)}getParams(t,n){return{websiteURL:location.href,websiteKey:st(),type:"turnstile"}}setSolveButton(t,n){let o=document.querySelector(`#${t.containerId}`),r=n;r.style.width=o.querySelector("iframe").offsetWidth+"px",o.append(r)}onSolved(t,n){u(chrome.i18n.getMessage("solved"),"solved");let o=this.getResponseInput(t);o.value=n}getResponseInput(t){let{containerId:n}=t,o=document.querySelector(`#${n}`);return o==null?void 0:o.querySelector('input[name="cf-turnstile-response"]')}getForm(t){return null}getCallback(t){return t==null?void 0:t.callback}};var it="awsCaptcha";var F=class{constructor(){h(this,"captchaType",it)}setSolveButton(t,n){let o=document.querySelector(`#${t.containerId}`),r=n;r.style.width=(o==null?void 0:o.offsetWidth)+"px",o==null||o.append(r)}};var $=class{constructor(){h(this,"list",[])}register(t){this.list[t.captchaType]=t}get(t){return this.list[t]}},m=new $;function ve(e){m.register(new B),m.register(new W("reCaptcha")),m.register(new W("reCaptcha3")),m.register(new _),m.register(new A),m.register(new F)}var ye=0;function xe(e){if(e!=null&&e.response){let{action:t}=e.response;switch(t){case"solver":ct(e.response);break;case"solved":u(chrome.i18n.getMessage("solved"),"solved"),Te();break}}}function ct(e){var t;try{if((t=e.request)!=null&&t.messageId)return pt(e);let n={captchaType:e.request.captchaType,widgetId:e.request.widgetId};e.error?(g.getAll().then(o=>{e.error==="Error: Capsover: No API Kye set up yet!"&&!(o!=null&&o.apiKey)&&u("Please input your API key!","error"),o[`${n.captchaType}RepeatTimes`]>=ye?window.setCaptchaWidgetDataset(n.widgetId,"status","ready"):(window.setCaptchaWidgetDataset(n.widgetId,"status","error"),u(e.error,"error"))}),ye++):(window.setCaptchaWidgetDataset(n.widgetId,"status","success"),lt(e),Te())}catch(n){console.error("handle error\uFF1A",n)}}function lt(e){let t=window.getCaptchaWidgetDataset(e.request.captchaType,e.request.widgetId),n=m.get(e.request.captchaType);n.onSolved(t,e.response.code);let o=n.getCallback(t);if(o){let r=document.createElement("textarea");r.id="capsolver-callback-trigger",r.setAttribute("data-function",o),r.value=e.response.code,document.body.appendChild(r)}}function Te(){g.getAll().then(e=>{window.postMessage({type:"capsolverCallback",callback:e.solvedCallback},"*")})}function pt(e){let t=document.querySelector("body > solver-ext-messages > solver-ext-message[data-message-id="+e.request.messageId+"]");!t||(e.error?be(t[0],{error:e.error}):be(t[0],{response:e.response.code}))}function be(e,t){e.dataset.response=encodeURIComponent(JSON.stringify(t))}function Se(e){if(document.querySelector("#capsolver-solver-tip-button"))return;let t=m.get(e.captchaType),n=K();t.setSolveButton(e,n)}function dt(e,t){if(document.querySelector("#capsolver-solver-tip-button"))return;let n=m.get(e.captchaType),o=K();o.onclick=()=>{t==="token"?window.onTaskByToken(e):chrome.runtime.sendMessage({action:"execute"}),u(chrome.i18n.getMessage("solving"),"solving")},n.setSolveButton(e,o),u(chrome.i18n.getMessage("solveWithCapsolver"),"ready")}function Le(){window.getSolverButton=e=>{let{captchaType:t,widgetId:n}=e,o=`.capsolver-solver[data-captcha-type="${t}"][data-widget-id="${n}"]`;return document.querySelector(o)},window.setSolverButtonState=(e,t,n)=>{let o=window.getSolverButton(e);if(!o)return;o.setAttribute("data-state",t);let r=o.querySelector(".capsolver-solver-info");if(r&&(r.innerHTML=n),t==="error"){let a=parseInt(o.dataset.countErrors||"0")+1;o.dataset.countErrors=String(a)}},window.onTaskByToken=e=>{let{captchaType:t,widgetId:n}=e,o=window.getCaptchaWidgetDataset(t,n);g.getAll().then(r=>{let s=m.get(t).getParams(o,r);try{s.websiteURL=window.top.location.href}catch{}Se(e);let i={action:"solver",captchaType:t,widgetId:n,params:s};window.setCaptchaWidgetDataset(n,"status","processing"),chrome.runtime.sendMessage(i).then(xe)})}}var ut=(e,t)=>{let n=new Map([["funCaptcha","enabledForFunCaptcha"],["hCaptcha","enabledForHCaptcha"],["reCaptcha","enabledForRecaptcha"],["reCaptcha3","enabledForRecaptchaV3"],["cloudflare","enabledForCloudflare"],["awsCaptcha","enabledForAwsCaptcha"]]);return!!(e[n.get(t.captchaType)]&&t.containerId)};function Me(){return setInterval(async()=>{let e=await g.getAll(),t=document.querySelector("head").getElementsByTagName("capsolver-widget");for(let n=0;n{for(let t of Ie)t&&clearInterval(t)});var We,mt=(We=globalThis.browser)!=null?We:globalThis.chrome;mt.storage.local.set({platform:window.navigator.userAgent.includes("Chrome")?"chrome":"firefox"});chrome.runtime.onMessage.addListener((e,t,n)=>{var a,s;let o=(a=e==null?void 0:e.response)==null?void 0:a.action,r=(s=e==null?void 0:e.response)==null?void 0:s.callback;switch(o){case"solved":u(chrome.i18n.getMessage("solved"),"solved"),window.postMessage({type:"capsolverCallback",callback:r},"*");break;default:break}return!1});function Ct(){try{let e=window.top.location.href;chrome.runtime.sendMessage({action:"getWebsiteUrl",websiteUrl:e})}catch{}}function vt(){try{let e=window.top.location.href,t=document.title;chrome.runtime.sendMessage({action:"setWebsiteMetadata",metadata:{pageURL:e,title:t}})}catch{}}g.getAll().then(function(e){me(),ve(e),Le();let t=window.location.origin,n=window.location.pathname,o=t+n,r=gt.some(s=>o.indexOf(s)!==-1),a=e.blackUrlList.includes(o);g.set({isInBlackList:r?e.isInBlackList:a,isInit:!0}).then(()=>{(!e.enabledForBlacklistControl||!a)&&e.useCapsolver&&(Ie.push(Me()),Ct(),vt())})});var Ee=(0,De.bexContent)(e=>{he(e)});var V=chrome.runtime.connect({name:"contentScript"}),Re=!1;V.onDisconnect.addListener(()=>{Re=!0});var Pe=new L({listen(e){V.onMessage.addListener(e)},send(e){Re||(V.postMessage(e),window.postMessage({...e,from:"bex-content-script"},"*"))}});function yt(e){let t=document.createElement("script");t.src=e,t.onload=function(){this.remove()},(document.head||document.documentElement).appendChild(t)}document instanceof HTMLDocument&&yt(chrome.runtime.getURL("dom.js"));pe(Pe,"bex-dom");Ee(Pe);})();
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/recaptcha-recognition.js b/ninjemail/captcha_solvers/capsolver-chrome-extension/recaptcha-recognition.js
new file mode 100644
index 0000000..76f51e4
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/recaptcha-recognition.js
@@ -0,0 +1,2 @@
+"use strict";(()=>{var je=Object.create;var te=Object.defineProperty;var Ne=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Ue=Object.getPrototypeOf,qe=Object.prototype.hasOwnProperty;var ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var We=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of He(t))!qe.call(e,r)&&r!==n&&te(e,r,{get:()=>t[r],enumerable:!(o=Ne(t,r))||o.enumerable});return e};var oe=(e,t,n)=>(n=e!=null?je(Ue(e)):{},We(t||!e||!e.__esModule?te(n,"default",{value:e,enumerable:!0}):n,e));var me=ne((wt,U)=>{"use strict";var v=typeof Reflect=="object"?Reflect:null,re=v&&typeof v.apply=="function"?v.apply:function(t,n,o){return Function.prototype.apply.call(t,n,o)},_;v&&typeof v.ownKeys=="function"?_=v.ownKeys:Object.getOwnPropertySymbols?_=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:_=function(t){return Object.getOwnPropertyNames(t)};function Ke(e){console&&console.warn&&console.warn(e)}var se=Number.isNaN||function(t){return t!==t};function c(){c.init.call(this)}U.exports=c;U.exports.once=Ge;c.EventEmitter=c;c.prototype._events=void 0;c.prototype._eventsCount=0;c.prototype._maxListeners=void 0;var ie=10;function P(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return ie},set:function(e){if(typeof e!="number"||e<0||se(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");ie=e}});c.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};c.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||se(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function ae(e){return e._maxListeners===void 0?c.defaultMaxListeners:e._maxListeners}c.prototype.getMaxListeners=function(){return ae(this)};c.prototype.emit=function(t){for(var n=[],o=1;o0&&(s=n[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[t];if(u===void 0)return!1;if(typeof u=="function")re(u,this,n);else for(var l=u.length,f=pe(u,l),o=0;o0&&s.length>r&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,Ke(a)}return e}c.prototype.addListener=function(t,n){return ce(this,t,n,!1)};c.prototype.on=c.prototype.addListener;c.prototype.prependListener=function(t,n){return ce(this,t,n,!0)};function Qe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function le(e,t,n){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=Qe.bind(o);return r.listener=n,o.wrapFn=r,r}c.prototype.once=function(t,n){return P(n),this.on(t,le(this,t,n)),this};c.prototype.prependOnceListener=function(t,n){return P(n),this.prependListener(t,le(this,t,n)),this};c.prototype.removeListener=function(t,n){var o,r,i,s,a;if(P(n),r=this._events,r===void 0)return this;if(o=r[t],o===void 0)return this;if(o===n||o.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,o.listener||n));else if(typeof o!="function"){for(i=-1,s=o.length-1;s>=0;s--)if(o[s]===n||o[s].listener===n){a=o[s].listener,i=s;break}if(i<0)return this;i===0?o.shift():Ve(o,i),o.length===1&&(r[t]=o[0]),r.removeListener!==void 0&&this.emit("removeListener",t,a||n)}return this};c.prototype.off=c.prototype.removeListener;c.prototype.removeAllListeners=function(t){var n,o,r;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[t]),this;if(arguments.length===0){var i=Object.keys(o),s;for(r=0;r=0;r--)this.removeListener(t,n[r]);return this};function ue(e,t,n){var o=e._events;if(o===void 0)return[];var r=o[t];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?ze(r):pe(r,r.length)}c.prototype.listeners=function(t){return ue(this,t,!0)};c.prototype.rawListeners=function(t){return ue(this,t,!1)};c.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):fe.call(e,t)};c.prototype.listenerCount=fe;function fe(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}c.prototype.eventNames=function(){return this._eventsCount>0?_(this._events):[]};function pe(e,t){for(var n=new Array(t),o=0;o{m.exports.boot=function(e){return e};m.exports.ssrMiddleware=function(e){return e};m.exports.configure=function(e){return e};m.exports.preFetch=function(e){return e};m.exports.route=function(e){return e};m.exports.store=function(e){return e};m.exports.bexBackground=function(e){return e};m.exports.bexContent=function(e){return e};m.exports.bexDom=function(e){return e};m.exports.ssrProductionExport=function(e){return e};m.exports.ssrCreate=function(e){return e};m.exports.ssrListen=function(e){return e};m.exports.ssrClose=function(e){return e};m.exports.ssrServeStaticContent=function(e){return e};m.exports.ssrRenderPreloadTag=function(e){return e}});var ye=oe(me());var q,O=0,d=new Array(256);for(let e=0;e<256;e++)d[e]=(e+256).toString(16).substring(1);var Ye=(()=>{let e=typeof crypto!="undefined"?crypto:typeof window!="undefined"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{let n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{let n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),he=4096;function ge(){(q===void 0||O+16>he)&&(O=0,q=Ye(he));let e=Array.prototype.slice.call(q,O,O+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,d[e[0]]+d[e[1]]+d[e[2]]+d[e[3]]+"-"+d[e[4]]+d[e[5]]+"-"+d[e[6]]+d[e[7]]+"-"+d[e[8]]+d[e[9]]+"-"+d[e[10]]+d[e[11]]+d[e[12]]+d[e[13]]+d[e[14]]+d[e[15]]}var Je={undefined:()=>0,boolean:()=>4,number:()=>8,string:e=>2*e.length,object:e=>e?Object.keys(e).reduce((t,n)=>W(n)+W(e[n])+t,0):0},W=e=>Je[typeof e](e),T=class extends ye.EventEmitter{constructor(t){super(),this.setMaxListeners(1/0),this.wall=t,t.listen(n=>{Array.isArray(n)?n.forEach(o=>this._emit(o)):this._emit(n)}),this._sendingQueue=[],this._sending=!1,this._maxMessageSize=32*1024*1024}send(t,n){return this._send([{event:t,payload:n}])}getEvents(){return this._events}on(t,n){return super.on(t,o=>{n({...o,respond:r=>this.send(o.eventResponseKey,r)})})}_emit(t){typeof t=="string"?this.emit(t):this.emit(t.event,t.payload)}_send(t){return this._sendingQueue.push(t),this._nextSend()}_nextSend(){if(!this._sendingQueue.length||this._sending)return Promise.resolve();this._sending=!0;let t=this._sendingQueue.shift(),n=t[0],o=`${n.event}.${ge()}`,r=o+".result";return new Promise((i,s)=>{let a=[],u=l=>{if(l!==void 0&&l._chunkSplit){let f=l._chunkSplit;a=[...a,...l.data],f.lastChunk&&(this.off(r,u),i(a))}else this.off(r,u),i(l)};this.on(r,u);try{let l=t.map(f=>({...f,payload:{data:f.payload,eventResponseKey:r}}));this.wall.send(l)}catch(l){let f="Message length exceeded maximum allowed length.";if(l.message===f&&Array.isArray(n.payload)){let h=W(n);if(h>this._maxMessageSize){let y=Math.ceil(h/this._maxMessageSize),g=Math.ceil(n.payload.length/y),L=n.payload;for(let k=0;kthis._nextSend(),16)})}};var be=(e,t)=>{window.addEventListener("message",n=>{if(n.source===window&&n.data.from!==void 0&&n.data.from===t){let o=n.data[0],r=e.getEvents();for(let i in r)i===o.event&&r[i](o.payload)}},!1)};var _e=oe(Ce());var $e=chrome.runtime.getURL("assets/config.js"),xe,I=(xe=globalThis.browser)!=null?xe:globalThis.chrome;async function Ze(){let e=await I.storage.local.get("defaultConfig");if(e.defaultConfig)return e.defaultConfig;let t={},n=["DelayTime","RepeatTimes","port"],o=["enabledFor","useCapsolver","manualSolving","useProxy"],r=/\/\*[\s\S]*?\*\/|([^:]|^)\/\/.*$/gm,a=(await(await fetch($e)).text()).replace(r,""),u=a.slice(a.indexOf("{")+1,a.lastIndexOf("}")),l=JSON.stringify(u).replaceAll('\\"',"'").replaceAll("\\n","").replaceAll('"',"").replaceAll(" ",""),f=l.indexOf("blackUrlList"),h=l.slice(f),y=h.indexOf("],"),g=h.slice(0,y+1);l.replace(g,"").split(",").forEach(Be=>{let[A,ee]=Be.split(":");if(A&&ee){let M=ee.replaceAll("'","").replaceAll('"',"");for(let C=0;C{let o=new Image;o.src=e,o.setAttribute("crossOrigin","anonymous"),o.onload=()=>{let r=document.createElement("canvas");r.width=o.width,r.height=o.height,r.getContext("2d").drawImage(o,0,0,o.width,o.height);let s=r.toDataURL();t(s)},o.onerror=r=>{n(r)}})}function b(e){return new Promise(t=>setTimeout(t,e))}function p(e,t){let n=t-e+1;return Math.floor(Math.random()*n+e)}function K(e){let t=e==null?void 0:e.getBoundingClientRect();return t?{x:t.top+window.scrollY-document.documentElement.clientTop+p(-5,5),y:t.left+window.scrollX-document.documentElement.clientLeft+p(-5,5)}:{x:0,y:0}}function tt(e,t,n,o,r){let[i,s]=t,[a,u]=r,[l,f]=n,[h,y]=o,g=i*(1-e)*(1-e)*(1-e)+3*l*e*(1-e)*(1-e)+3*h*e*e*(1-e)+a*e*e*e,L=s*(1-e)*(1-e)*(1-e)+3*f*e*(1-e)*(1-e)+3*y*e*e*(1-e)+u*e*e*e;return[g,L]}function nt(e,t,n=30){let o=[],r=0,i=1;for(let h=0;h=n*9/10&&(i-=p(60,100),i=Math.max(20,i)),r+=i;let s=[],a=[e.x,e.y],u=[(e.x+t.x)/2+p(30,100)*1,(e.y+t.y)/2+p(30,100)*1],l=[(e.x+t.x)/2+p(30,100)*1,(e.y+t.y)/2+p(30,100)*1],f=[t.x,t.y];for(let h of o){let[y,g]=tt(h/r,a,u,l,f);s.push({x:y,y:g})}return s}function ot(e,t){let n=nt(e,t,p(15,30));for(let o=0;o0?x[0]:!1}function ht(){let e=document.querySelector("#recaptcha-reload-button");e==null||e.click()}async function Ee(e){let t=await Le(e.image),n={image:t.slice(t.indexOf(";base64,")+8),question:e.question};e.index&&(n.index=e.index),chrome.runtime.sendMessage({action:"solver",captchaType:"reCaptcha",params:n}).then(o=>{var r,i;if(!(o!=null&&o.response)||((r=o==null?void 0:o.response)==null?void 0:r.error)){Me.includes((i=o==null?void 0:o.response)==null?void 0:i.error)&&ht(),Q="",S++;return}gt(o.response)})}async function Se(){var e;(V===3&&B===0&&await j()||V===4)&&((e=document.querySelector("#recaptcha-verify-button"))==null||e.click(),w=null,F=[],x.shift(),await D([document.querySelector("#recaptcha-verify-button")],w))}function G(){return document.querySelector("#recaptcha-anchor")!==null}function X(){if(ft()){S=0;return}dt(),z=!1}function Y(){return document.querySelector("#rc-imageselect")!==null}function j(){return new Promise(e=>{let t=document.querySelectorAll(".rc-imageselect-tile"),n=document.querySelectorAll(".rc-imageselect-dynamic-selected");t.length>0&&n.length===0?e(!0):e(!1)})}function J(e){return new Promise(t=>{e<=S&&t(!1);let n=mt();n||t(!1),lt()&&(Te(),t(!1)),ut()&&(Te(),t(!1));let o=Array.from(document.querySelectorAll(".rc-imageselect-tile img")),r=o.length,i=Array(r).fill(null),s="",a=!1,u="";r!==9&&r!==16&&t(!1),V=r===9?3:4;for(let l=0;l=300?s=f.getAttribute("src"):f.naturalWidth===100&&(i[l]=f.getAttribute("src"),a=!0)}a&&(s=null),u=JSON.stringify([s,i]),Q===u&&t(!1),Q=u,B=0,t({question:n,url:s,urls:i})})}async function $(e){pt()&&S++;let{question:t,url:n,urls:o}=e,r="";if(n)r=n,await Ee({question:t,image:r});else for(let i=0;i{x.push(i[0])}):x.push(r[0])}catch{console.log("Get question failed")}}var Pe=document.createElement("script");Pe.src=chrome.runtime.getURL("assets/inject/inject-recaptcha.js");var yt=document.head||document.documentElement;yt.appendChild(Pe);window.addEventListener("message",function(e){var t,n;(((t=e==null?void 0:e.data)==null?void 0:t.type)==="xhr"||((n=e==null?void 0:e.data)==null?void 0:n.type)==="fetch")&&Ae(e.data.data)});async function bt(e){!e.useCapsolver||!e.enabledForRecaptcha||!e.apiKey||e.enabledForBlacklistControl&&e.isInBlackList||e.reCaptchaMode!=="click"||(await b(e.reCaptchaDelayTime),setInterval(async()=>{if(G()&&X(),Y()){if(!await j())return;let n=await J(e.reCaptchaRepeatTimes);if(!n)return;await $(n)}},1e3))}async function Ct(e){setInterval(async()=>{if(G()&&X(),Y()){if(!await j())return;let n=await J(e.reCaptchaRepeatTimes);if(!n)return;await $(n)}},1e3)}var N=null;N&&window.clearInterval(N);N=window.setInterval(async()=>{let e=await R.getAll();!e.isInit||(e.manualSolving?chrome.runtime.onMessage.addListener(t=>{t.command==="execute"&&Ct(e)}):bt(e),window.clearInterval(N))},100);var Oe=(0,_e.bexContent)(e=>{});var Z=chrome.runtime.connect({name:"contentScript"}),Ie=!1;Z.onDisconnect.addListener(()=>{Ie=!0});var De=new T({listen(e){Z.onMessage.addListener(e)},send(e){Ie||(Z.postMessage(e),window.postMessage({...e,from:"bex-content-script"},"*"))}});function vt(e){let t=document.createElement("script");t.src=e,t.onload=function(){this.remove()},(document.head||document.documentElement).appendChild(t)}document instanceof HTMLDocument&&vt(chrome.runtime.getURL("dom.js"));be(De,"bex-dom");Oe(De);})();
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/ErrorNotFound.d890cd68.js b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/ErrorNotFound.d890cd68.js
new file mode 100644
index 0000000..30b7164
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/ErrorNotFound.d890cd68.js
@@ -0,0 +1 @@
+import{_ as e,o as t,c as s,a as l,b as a,Q as o}from"./index.2a9cb723.js";const c={},n={class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},r=l("div",{style:{"font-size":"30vh"}},"404",-1),i=l("div",{class:"text-h2",style:{opacity:"0.4"}},"Oops. Nothing here...",-1);var d=e(c,[["render",function(e,c){return t(),s("div",n,[l("div",null,[r,i,a(o,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:"Go Home","no-caps":""})])])}]]);export{d as default};
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOkCnqEu92Fr1MmgVxIIzQ.34e9582c.woff b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOkCnqEu92Fr1MmgVxIIzQ.34e9582c.woff
new file mode 100644
index 0000000..a815cf8
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOkCnqEu92Fr1MmgVxIIzQ.34e9582c.woff differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmEU9fBBc-.9ce7f3ac.woff b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmEU9fBBc-.9ce7f3ac.woff
new file mode 100644
index 0000000..d39bb52
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmEU9fBBc-.9ce7f3ac.woff differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmSU5fBBc-.bf14c7d7.woff b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmSU5fBBc-.bf14c7d7.woff
new file mode 100644
index 0000000..36979ae
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmSU5fBBc-.bf14c7d7.woff differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmWUlfBBc-.e0fd57c0.woff b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmWUlfBBc-.e0fd57c0.woff
new file mode 100644
index 0000000..db0012d
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmWUlfBBc-.e0fd57c0.woff differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmYUtfBBc-.f6537e32.woff b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmYUtfBBc-.f6537e32.woff
new file mode 100644
index 0000000..04cbe94
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOlCnqEu92Fr1MmYUtfBBc-.f6537e32.woff differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOmCnqEu92Fr1Mu4mxM.f2abf7fb.woff b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOmCnqEu92Fr1Mu4mxM.f2abf7fb.woff
new file mode 100644
index 0000000..9eaa94f
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/KFOmCnqEu92Fr1Mu4mxM.f2abf7fb.woff differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Black.9f39397b.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Black.9f39397b.woff2
new file mode 100644
index 0000000..9e58a3c
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Black.9f39397b.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-BlackItalic.fc73cdef.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-BlackItalic.fc73cdef.woff2
new file mode 100644
index 0000000..8e3f7fb
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-BlackItalic.fc73cdef.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Bold.d83ab9cc.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Bold.d83ab9cc.woff2
new file mode 100644
index 0000000..fd7e21b
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Bold.d83ab9cc.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-BoldItalic.f401d78d.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-BoldItalic.f401d78d.woff2
new file mode 100644
index 0000000..948c335
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-BoldItalic.f401d78d.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraBold.b98326c2.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraBold.b98326c2.woff2
new file mode 100644
index 0000000..853b9d0
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraBold.b98326c2.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraBoldItalic.4ed4ee3c.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraBoldItalic.4ed4ee3c.woff2
new file mode 100644
index 0000000..46fb380
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraBoldItalic.4ed4ee3c.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraLight.f5b6d5dd.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraLight.f5b6d5dd.woff2
new file mode 100644
index 0000000..ee0c15e
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraLight.f5b6d5dd.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraLightItalic.70eb32b6.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraLightItalic.70eb32b6.woff2
new file mode 100644
index 0000000..81bcf8b
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ExtraLightItalic.70eb32b6.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Italic.e4f71a95.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Italic.e4f71a95.woff2
new file mode 100644
index 0000000..082d863
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Italic.e4f71a95.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Light.fb1ca566.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Light.fb1ca566.woff2
new file mode 100644
index 0000000..a8fc845
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Light.fb1ca566.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-LightItalic.bda4ebaf.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-LightItalic.bda4ebaf.woff2
new file mode 100644
index 0000000..4e7ede7
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-LightItalic.bda4ebaf.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Medium.9b9b4a38.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Medium.9b9b4a38.woff2
new file mode 100644
index 0000000..d7c16dc
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Medium.9b9b4a38.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-MediumItalic.7d831f05.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-MediumItalic.7d831f05.woff2
new file mode 100644
index 0000000..502ea3e
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-MediumItalic.7d831f05.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Regular.efb99a75.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Regular.efb99a75.woff2
new file mode 100644
index 0000000..bd4e3bd
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Regular.efb99a75.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-SemiBold.f5bbc891.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-SemiBold.f5bbc891.woff2
new file mode 100644
index 0000000..a5b4808
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-SemiBold.f5bbc891.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-SemiBoldItalic.631bd3f6.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-SemiBoldItalic.631bd3f6.woff2
new file mode 100644
index 0000000..9d4729a
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-SemiBoldItalic.631bd3f6.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Thin.7c230e71.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Thin.7c230e71.woff2
new file mode 100644
index 0000000..9f34f03
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-Thin.7c230e71.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ThinItalic.a1a633c9.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ThinItalic.a1a633c9.woff2
new file mode 100644
index 0000000..8578cb6
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Poppins-ThinItalic.a1a633c9.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Union.e4f5e32d.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Union.e4f5e32d.svg
new file mode 100644
index 0000000..2170ed5
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/Union.e4f5e32d.svg
@@ -0,0 +1,3 @@
+
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/arrow.1ab57550.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/arrow.1ab57550.svg
new file mode 100644
index 0000000..a9c9059
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/arrow.1ab57550.svg
@@ -0,0 +1,3 @@
+
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/aws.08ef8f27.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/aws.08ef8f27.svg
new file mode 100644
index 0000000..ec63bd5
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/aws.08ef8f27.svg
@@ -0,0 +1,12 @@
+
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/balance.ec909fe5.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/balance.ec909fe5.svg
new file mode 100644
index 0000000..ebd2039
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/balance.ec909fe5.svg
@@ -0,0 +1,8 @@
+
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/cloudflare.a164bb78.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/cloudflare.a164bb78.svg
new file mode 100644
index 0000000..945daeb
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/cloudflare.a164bb78.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/copy.b3d46815.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/copy.b3d46815.svg
new file mode 100644
index 0000000..e724e77
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/copy.b3d46815.svg
@@ -0,0 +1,3 @@
+
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/dataDome.047813e4.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/dataDome.047813e4.svg
new file mode 100644
index 0000000..803d147
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/dataDome.047813e4.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/en-US.553867d3.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/en-US.553867d3.svg
new file mode 100644
index 0000000..73b6245
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/en-US.553867d3.svg
@@ -0,0 +1,10 @@
+
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/es.6fe80291.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/es.6fe80291.svg
new file mode 100644
index 0000000..815e0f8
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/es.6fe80291.svg
@@ -0,0 +1,544 @@
+
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.fd84f88b.woff b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.fd84f88b.woff
new file mode 100644
index 0000000..88fdf4d
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.fd84f88b.woff differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.83be7b2f.woff2 b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.83be7b2f.woff2
new file mode 100644
index 0000000..6bc97ed
Binary files /dev/null and b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.83be7b2f.woff2 differ
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/funCaptcha.4f6d4ba4.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/funCaptcha.4f6d4ba4.svg
new file mode 100644
index 0000000..04d1895
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/funCaptcha.4f6d4ba4.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/geetest.5dfc422c.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/geetest.5dfc422c.svg
new file mode 100644
index 0000000..235cc28
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/geetest.5dfc422c.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/hCaptcha.0406a4eb.svg b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/hCaptcha.0406a4eb.svg
new file mode 100644
index 0000000..6f58eea
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/hCaptcha.0406a4eb.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/index.2a9cb723.js b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/index.2a9cb723.js
new file mode 100644
index 0000000..907c52e
--- /dev/null
+++ b/ninjemail/captcha_solvers/capsolver-chrome-extension/www/assets/index.2a9cb723.js
@@ -0,0 +1,40 @@
+var e,t=Object.defineProperty,n=(e,n,o)=>(((e,n,o)=>{n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[n]=o})(e,"symbol"!=typeof n?n+"":n,o),o);const o=function(){const e=document.createElement("link").relList;return e&&e.supports&&e.supports("modulepreload")?"modulepreload":"preload"}(),l={},a=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`${e}`)in l)return;l[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const a=document.createElement("link");return a.rel=t?"stylesheet":o,t||(a.as="script",a.crossOrigin=""),a.href=e,document.head.appendChild(a),t?new Promise(((t,n)=>{a.addEventListener("load",t),a.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())):e()};function r(e,t){const n=Object.create(null),o=e.split(",");for(let l=0;l!!n[e.toLowerCase()]:e=>!!n[e]}function i(e){if(L(e)){const t={};for(let n=0;n{if(e){const n=e.split(u);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function p(e){let t="";if(O(e))t=e;else if(L(e))for(let n=0;nO(e)?e:null==e?"":L(e)||A(e)&&(e.toString===M||!R(e.toString))?JSON.stringify(e,m,2):String(e),m=(e,t)=>t&&t.__v_isRef?m(e,t.value):T(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:F(t)?{[`Set(${t.size})`]:[...t.values()]}:!A(t)||L(t)||I(t)?t:String(t),g={},b=[],y=()=>{},_=()=>!1,w=/^on[^a-z]/,k=e=>w.test(e),S=e=>e.startsWith("onUpdate:"),x=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},E=Object.prototype.hasOwnProperty,q=(e,t)=>E.call(e,t),L=Array.isArray,T=e=>"[object Map]"===B(e),F=e=>"[object Set]"===B(e),R=e=>"function"==typeof e,O=e=>"string"==typeof e,P=e=>"symbol"==typeof e,A=e=>null!==e&&"object"==typeof e,V=e=>A(e)&&R(e.then)&&R(e.catch),M=Object.prototype.toString,B=e=>M.call(e),I=e=>"[object Object]"===B(e),$=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,z=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),N=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},j=/-(\w)/g,D=N((e=>e.replace(j,((e,t)=>t?t.toUpperCase():"")))),U=/\B([A-Z])/g,H=N((e=>e.replace(U,"-$1").toLowerCase())),W=N((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=N((e=>e?`on${W(e)}`:"")),Q=(e,t)=>!Object.is(e,t),G=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let X;let Y;class ee{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Y,!e&&Y&&(this.index=(Y.scopes||(Y.scopes=[])).push(this)-1)}run(e){if(this.active){const t=Y;try{return Y=this,e()}finally{Y=t}}}on(){Y=this}off(){Y=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},oe=e=>(e.w&ie)>0,le=e=>(e.n&ie)>0,ae=new WeakMap;let re=0,ie=1;let se;const ue=Symbol(""),ce=Symbol("");class de{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=Y){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=se,t=fe;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=se,se=this,fe=!0,ie=1<<++re,re<=30?(({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{("length"===n||n>=e)&&i.push(t)}))}else switch(void 0!==n&&i.push(r.get(n)),t){case"add":L(e)?$(n)&&i.push(r.get("length")):(i.push(r.get(ue)),T(e)&&i.push(r.get(ce)));break;case"delete":L(e)||(i.push(r.get(ue)),T(e)&&i.push(r.get(ce)));break;case"set":T(e)&&i.push(r.get(ue))}if(1===i.length)i[0]&&_e(i[0]);else{const e=[];for(const t of i)t&&e.push(...t);_e(ne(e))}}function _e(e,t){const n=L(e)?e:[...e];for(const o of n)o.computed&&we(o);for(const o of n)o.computed||we(o)}function we(e,t){(e!==se||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ke=r("__proto__,__v_isRef,__isVue"),Se=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(P)),xe=Te(),Ce=Te(!1,!0),Ee=Te(!0),qe=Le();function Le(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ft(this);for(let t=0,l=this.length;t{e[t]=function(...e){he();const n=ft(this)[t].apply(this,e);return me(),n}})),e}function Te(e=!1,t=!1){return function(n,o,l){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&l===(e?t?lt:ot:t?nt:tt).get(n))return n;const a=L(n);if(!e&&a&&q(qe,o))return Reflect.get(qe,o,l);const r=Reflect.get(n,o,l);return(P(o)?Se.has(o):ke(o))?r:(e||ge(n,0,o),t?r:yt(r)?a&&$(o)?r:r.value:A(r)?e?it(r):rt(r):r)}}function Fe(e=!1){return function(t,n,o,l){let a=t[n];if(ct(a)&&yt(a)&&!yt(o))return!1;if(!e&&(dt(o)||ct(o)||(a=ft(a),o=ft(o)),!L(t)&&yt(a)&&!yt(o)))return a.value=o,!0;const r=L(t)&&$(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Pe=x({},Re,{get:Ce,set:Fe(!0)}),Ae=e=>e,Ve=e=>Reflect.getPrototypeOf(e);function Me(e,t,n=!1,o=!1){const l=ft(e=e.__v_raw),a=ft(t);n||(t!==a&&ge(l,0,t),ge(l,0,a));const{has:r}=Ve(l),i=o?Ae:n?mt:ht;return r.call(l,t)?i(e.get(t)):r.call(l,a)?i(e.get(a)):void(e!==l&&e.get(t))}function Be(e,t=!1){const n=this.__v_raw,o=ft(n),l=ft(e);return t||(e!==l&&ge(o,0,e),ge(o,0,l)),e===l?n.has(e):n.has(e)||n.has(l)}function Ie(e,t=!1){return e=e.__v_raw,!t&&ge(ft(e),0,ue),Reflect.get(e,"size",e)}function $e(e){e=ft(e);const t=ft(this);return Ve(t).has.call(t,e)||(t.add(e),ye(t,"add",e,e)),this}function ze(e,t){t=ft(t);const n=ft(this),{has:o,get:l}=Ve(n);let a=o.call(n,e);a||(e=ft(e),a=o.call(n,e));const r=l.call(n,e);return n.set(e,t),a?Q(t,r)&&ye(n,"set",e,t):ye(n,"add",e,t),this}function Ne(e){const t=ft(this),{has:n,get:o}=Ve(t);let l=n.call(t,e);l||(e=ft(e),l=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return l&&ye(t,"delete",e,void 0),a}function je(){const e=ft(this),t=0!==e.size,n=e.clear();return t&&ye(e,"clear",void 0,void 0),n}function De(e,t){return function(n,o){const l=this,a=l.__v_raw,r=ft(a),i=t?Ae:e?mt:ht;return!e&&ge(r,0,ue),a.forEach(((e,t)=>n.call(o,i(e),i(t),l)))}}function Ue(e,t,n){return function(...o){const l=this.__v_raw,a=ft(l),r=T(a),i="entries"===e||e===Symbol.iterator&&r,s="keys"===e&&r,u=l[e](...o),c=n?Ae:t?mt:ht;return!t&&ge(a,0,s?ce:ue),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:i?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}function He(e){return function(...t){return"delete"!==e&&this}}function We(){const e={get(e){return Me(this,e)},get size(){return Ie(this)},has:Be,add:$e,set:ze,delete:Ne,clear:je,forEach:De(!1,!1)},t={get(e){return Me(this,e,!1,!0)},get size(){return Ie(this)},has:Be,add:$e,set:ze,delete:Ne,clear:je,forEach:De(!1,!0)},n={get(e){return Me(this,e,!0)},get size(){return Ie(this,!0)},has(e){return Be.call(this,e,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:De(!0,!1)},o={get(e){return Me(this,e,!0,!0)},get size(){return Ie(this,!0)},has(e){return Be.call(this,e,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:De(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((l=>{e[l]=Ue(l,!1,!1),n[l]=Ue(l,!0,!1),t[l]=Ue(l,!1,!0),o[l]=Ue(l,!0,!0)})),[e,n,t,o]}const[Ke,Qe,Ge,Je]=We();function Ze(e,t){const n=t?e?Je:Ge:e?Qe:Ke;return(t,o,l)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(q(n,o)&&o in t?n:t,o,l)}const Xe={get:Ze(!1,!1)},Ye={get:Ze(!1,!0)},et={get:Ze(!0,!1)},tt=new WeakMap,nt=new WeakMap,ot=new WeakMap,lt=new WeakMap;function at(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>B(e).slice(8,-1))(e))}function rt(e){return ct(e)?e:st(e,!1,Re,Xe,tt)}function it(e){return st(e,!0,Oe,et,ot)}function st(e,t,n,o,l){if(!A(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=l.get(e);if(a)return a;const r=at(e);if(0===r)return e;const i=new Proxy(e,2===r?o:n);return l.set(e,i),i}function ut(e){return ct(e)?ut(e.__v_raw):!(!e||!e.__v_isReactive)}function ct(e){return!(!e||!e.__v_isReadonly)}function dt(e){return!(!e||!e.__v_isShallow)}function pt(e){return ut(e)||ct(e)}function ft(e){const t=e&&e.__v_raw;return t?ft(t):e}function vt(e){return J(e,"__v_skip",!0),e}const ht=e=>A(e)?rt(e):e,mt=e=>A(e)?it(e):e;function gt(e){fe&&se&&be((e=ft(e)).dep||(e.dep=ne()))}function bt(e,t){(e=ft(e)).dep&&_e(e.dep)}function yt(e){return!(!e||!0!==e.__v_isRef)}function _t(e){return wt(e,!1)}function wt(e,t){return yt(e)?e:new kt(e,t)}class kt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ft(e),this._value=t?e:ht(e)}get value(){return gt(this),this._value}set value(e){const t=this.__v_isShallow||dt(e)||ct(e);e=t?e:ft(e),Q(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:ht(e),bt(this))}}function St(e){return yt(e)?e.value:e}const xt={get:(e,t,n)=>St(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const l=e[t];return yt(l)&&!yt(n)?(l.value=n,!0):Reflect.set(e,t,n,o)}};function Ct(e){return ut(e)?e:new Proxy(e,xt)}var Et;class qt{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Et]=!1,this._dirty=!0,this.effect=new de(e,(()=>{this._dirty||(this._dirty=!0,bt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=ft(this);return gt(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Lt(e,t,n,o){let l;try{l=o?e(...o):e()}catch(a){Ft(a,t,n)}return l}function Tt(e,t,n,o){if(R(e)){const l=Lt(e,t,n,o);return l&&V(l)&&l.catch((e=>{Ft(e,t,n)})),l}const l=[];for(let a=0;a>>1;Wt(Pt[o])Wt(e)-Wt(t))),Bt=0;Btnull==e.id?1/0:e.id,Kt=(e,t)=>{const n=Wt(e)-Wt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qt(e){Ot=!1,Rt=!0,Pt.sort(Kt);try{for(At=0;AtO(e)?e.trim():e))),t&&(l=n.map(Z))}let i,s=o[i=K(t)]||o[i=K(D(t))];!s&&a&&(s=o[i=K(H(t))]),s&&Tt(s,e,6,l);const u=o[i+"Once"];if(u){if(e.emitted){if(e.emitted[i])return}else e.emitted={};e.emitted[i]=!0,Tt(u,e,6,l)}}function Jt(e,t,n=!1){const o=t.emitsCache,l=o.get(e);if(void 0!==l)return l;const a=e.emits;let r={},i=!1;if(!R(e)){const o=e=>{const n=Jt(e,t,!0);n&&(i=!0,x(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return a||i?(L(a)?a.forEach((e=>r[e]=null)):x(r,a),A(e)&&o.set(e,r),r):(A(e)&&o.set(e,null),null)}function Zt(e,t){return!(!e||!k(t))&&(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,H(t))||q(e,t))}let Xt=null,Yt=null;function en(e){const t=Xt;return Xt=e,Yt=e&&e.type.__scopeId||null,t}function tn(e){Yt=e}function nn(){Yt=null}function on(e,t=Xt,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&nl(-1);const l=en(t);let a;try{a=e(...n)}finally{en(l),o._d&&nl(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ln(e){const{type:t,vnode:n,proxy:o,withProxy:l,props:a,propsOptions:[r],slots:i,attrs:s,emit:u,render:c,renderCache:d,data:p,setupState:f,ctx:v,inheritAttrs:h}=e;let m,g;const b=en(e);try{if(4&n.shapeFlag){const e=l||o;m=ml(c.call(e,e,d,a,f,p,v)),g=s}else{const e=t;0,m=ml(e.length>1?e(a,{attrs:s,slots:i,emit:u}):e(a,null)),g=t.props?s:an(s)}}catch(_){Zo.length=0,Ft(_,e,1),m=pl(Go)}let y=m;if(g&&!1!==h){const e=Object.keys(g),{shapeFlag:t}=y;e.length&&7&t&&(r&&e.some(S)&&(g=rn(g,r)),y=fl(y,g))}return n.dirs&&(y=fl(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),m=y,en(b),m}const an=e=>{let t;for(const n in e)("class"===n||"style"===n||k(n))&&((t||(t={}))[n]=e[n]);return t},rn=(e,t)=>{const n={};for(const o in e)S(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function sn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let l=0;l0?(dn(e,"onPending"),dn(e,"onFallback"),u(null,e.ssFallback,t,n,o,null,a,r),vn(p,e.ssFallback)):p.resolve()}(t,n,o,l,a,r,i,s,u):function(e,t,n,o,l,a,r,i,{p:s,um:u,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:v,pendingBranch:h,isInFallback:m,isHydrating:g}=d;if(h)d.pendingBranch=p,il(p,h)?(s(h,p,d.hiddenContainer,null,l,d,a,r,i),d.deps<=0?d.resolve():m&&(s(v,f,n,o,l,null,a,r,i),vn(d,f))):(d.pendingId++,g?(d.isHydrating=!1,d.activeBranch=h):u(h,l,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),m?(s(null,p,d.hiddenContainer,null,l,d,a,r,i),d.deps<=0?d.resolve():(s(v,f,n,o,l,null,a,r,i),vn(d,f))):v&&il(p,v)?(s(v,p,n,o,l,d,a,r,i),d.resolve(!0)):(s(null,p,d.hiddenContainer,null,l,d,a,r,i),d.deps<=0&&d.resolve()));else if(v&&il(p,v))s(v,p,n,o,l,d,a,r,i),vn(d,p);else if(dn(t,"onPending"),d.pendingBranch=p,d.pendingId++,s(null,p,d.hiddenContainer,null,l,d,a,r,i),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(f)}),e):0===e&&d.fallback(f)}}(e,t,n,o,l,r,i,s,u)},hydrate:function(e,t,n,o,l,a,r,i,s){const u=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,l,a,r,i,!0),c=s(e,u.pendingBranch=t.ssContent,n,u,a,r);0===u.deps&&u.resolve();return c},create:pn,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=fn(o?n.default:n),e.ssFallback=o?fn(n.fallback):pl(Go)}};function dn(e,t){const n=e.props&&e.props[t];R(n)&&n()}function pn(e,t,n,o,l,a,r,i,s,u,c=!1){const{p:d,m:p,um:f,n:v,o:{parentNode:h,remove:m}}=u,g=Z(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:r,container:o,hiddenContainer:l,anchor:a,deps:0,pendingId:0,timeout:"number"==typeof g?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:l,effects:a,parentComponent:r,container:i}=b;if(b.isHydrating)b.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{l===b.pendingId&&p(o,i,t,0)});let{anchor:t}=b;n&&(t=v(n),f(n,r,b,!0)),e||p(o,i,t,0)}vn(b,o),b.pendingBranch=null,b.isInFallback=!1;let s=b.parent,u=!1;for(;s;){if(s.pendingBranch){s.effects.push(...a),u=!0;break}s=s.parent}u||Dt(a),b.effects=[],dn(t,"onResolve")},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:l,isSVG:a}=b;dn(t,"onFallback");const r=v(n),u=()=>{b.isInFallback&&(d(null,e,l,r,o,null,a,i,s),vn(b,e))},c=e.transition&&"out-in"===e.transition.mode;c&&(n.transition.afterLeave=u),b.isInFallback=!0,f(n,o,null,!0),c||u()},move(e,t,n){b.activeBranch&&p(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&v(b.activeBranch),registerDep(e,t){const n=!!b.pendingBranch;n&&b.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{Ft(t,e,0)})).then((l=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;Tl(e,l,!1),o&&(a.el=o);const i=!o&&e.subTree.el;t(e,a,h(o||e.subTree.el),o?null:v(e.subTree),b,r,s),i&&m(i),un(e,a.el),n&&0==--b.deps&&b.resolve()}))},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&f(b.activeBranch,n,e,t),b.pendingBranch&&f(b.pendingBranch,n,e,t)}};return b}function fn(e){let t;if(R(e)){const n=tl&&e._c;n&&(e._d=!1,Yo()),e=e(),n&&(e._d=!0,t=Xo,el())}if(L(e)){const t=function(e){let t;for(let n=0;nt!==e))),e}function vn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,l=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=l,un(o,l))}function hn(e,t){if(Sl){let n=Sl.provides;const o=Sl.parent&&Sl.parent.provides;o===n&&(n=Sl.provides=Object.create(o)),n[e]=t}else;}function mn(e,t,n=!1){const o=Sl||Xt;if(o){const l=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(l&&e in l)return l[e];if(arguments.length>1)return n&&R(t)?t.call(o.proxy):t}}const gn={};function bn(e,t,n){return yn(e,t,n)}function yn(e,t,{immediate:n,deep:o,flush:l,onTrack:a,onTrigger:r}=g){const i=Sl;let s,u,c=!1,d=!1;if(yt(e)?(s=()=>e.value,c=dt(e)):ut(e)?(s=()=>e,o=!0):L(e)?(d=!0,c=e.some((e=>ut(e)||dt(e))),s=()=>e.map((e=>yt(e)?e.value:ut(e)?kn(e):R(e)?Lt(e,i,2):void 0))):s=R(e)?t?()=>Lt(e,i,2):()=>{if(!i||!i.isUnmounted)return u&&u(),Tt(e,i,3,[f])}:y,t&&o){const e=s;s=()=>kn(e())}let p,f=e=>{u=b.onStop=()=>{Lt(e,i,4)}};if(Ll){if(f=y,t?n&&Tt(t,i,3,[s(),d?[]:void 0,f]):s(),"sync"!==l)return y;{const e=Vl();p=e.__watcherHandles||(e.__watcherHandles=[])}}let v=d?new Array(e.length).fill(gn):gn;const h=()=>{if(b.active)if(t){const e=b.run();(o||c||(d?e.some(((e,t)=>Q(e,v[t]))):Q(e,v)))&&(u&&u(),Tt(t,i,3,[e,v===gn?void 0:d&&v[0]===gn?[]:v,f]),v=e)}else b.run()};let m;h.allowRecurse=!!t,"sync"===l?m=h:"post"===l?m=()=>Bo(h,i&&i.suspense):(h.pre=!0,i&&(h.id=i.uid),m=()=>Nt(h));const b=new de(s,m);t?n?h():v=b.run():"post"===l?Bo(b.run.bind(b),i&&i.suspense):b.run();const _=()=>{b.stop(),i&&i.scope&&C(i.scope.effects,b)};return p&&p.push(_),_}function _n(e,t,n){const o=this.proxy,l=O(e)?e.includes(".")?wn(o,e):()=>o[e]:e.bind(o,o);let a;R(t)?a=t:(a=t.handler,n=t);const r=Sl;Cl(this);const i=yn(l,a.bind(o),n);return r?Cl(r):El(),i}function wn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{kn(e,t)}));else if(I(e))for(const n in e)kn(e[n],t);return e}const Sn=[Function,Array],xn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Sn,onEnter:Sn,onAfterEnter:Sn,onEnterCancelled:Sn,onBeforeLeave:Sn,onLeave:Sn,onAfterLeave:Sn,onLeaveCancelled:Sn,onBeforeAppear:Sn,onAppear:Sn,onAfterAppear:Sn,onAppearCancelled:Sn},setup(e,{slots:t}){const n=xl(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Nn((()=>{e.isMounted=!0})),Un((()=>{e.isUnmounting=!0})),e}();let l;return()=>{const a=t.default&&Fn(t.default(),!0);if(!a||!a.length)return;let r=a[0];if(a.length>1)for(const e of a)if(e.type!==Go){r=e;break}const i=ft(e),{mode:s}=i;if(o.isLeaving)return qn(r);const u=Ln(r);if(!u)return qn(r);const c=En(u,i,o,n);Tn(u,c);const d=n.subTree,p=d&&Ln(d);let f=!1;const{getTransitionKey:v}=u.type;if(v){const e=v();void 0===l?l=e:e!==l&&(l=e,f=!0)}if(p&&p.type!==Go&&(!il(u,p)||f)){const e=En(p,i,o,n);if(Tn(p,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},qn(r);"in-out"===s&&u.type!==Go&&(e.delayLeave=(e,t,n)=>{Cn(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=n})}return r}}};function Cn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function En(e,t,n,o){const{appear:l,mode:a,persisted:r=!1,onBeforeEnter:i,onEnter:s,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:h,onAppear:m,onAfterAppear:g,onAppearCancelled:b}=t,y=String(e.key),_=Cn(n,e),w=(e,t)=>{e&&Tt(e,o,9,t)},k=(e,t)=>{const n=t[1];w(e,t),L(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:a,persisted:r,beforeEnter(t){let o=i;if(!n.isMounted){if(!l)return;o=h||i}t._leaveCb&&t._leaveCb(!0);const a=_[y];a&&il(e,a)&&a.el._leaveCb&&a.el._leaveCb(),w(o,[t])},enter(e){let t=s,o=u,a=c;if(!n.isMounted){if(!l)return;t=m||s,o=g||u,a=b||c}let r=!1;const i=e._enterCb=t=>{r||(r=!0,w(t?a:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?k(t,[e,i]):i()},leave(t,o){const l=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let a=!1;const r=t._leaveCb=n=>{a||(a=!0,o(),w(n?v:f,[t]),t._leaveCb=void 0,_[l]===e&&delete _[l])};_[l]=e,p?k(p,[t,r]):r()},clone:e=>En(e,t,n,o)};return S}function qn(e){if(Pn(e))return(e=fl(e)).children=null,e}function Ln(e){return Pn(e)?e.children?e.children[0]:void 0:e}function Tn(e,t){6&e.shapeFlag&&e.component?Tn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fn(e,t=!1,n){let o=[],l=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader,Pn=e=>e.type.__isKeepAlive;function An(e,t){Mn(e,"a",t)}function Vn(e,t){Mn(e,"da",t)}function Mn(e,t,n=Sl){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(In(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Pn(e.parent.vnode)&&Bn(o,t,n,e),e=e.parent}}function Bn(e,t,n,o){const l=In(t,e,o,!0);Hn((()=>{C(o[t],l)}),n)}function In(e,t,n=Sl,o=!1){if(n){const l=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;he(),Cl(n);const l=Tt(t,n,e,o);return El(),me(),l});return o?l.unshift(a):l.push(a),a}}const $n=e=>(t,n=Sl)=>(!Ll||"sp"===e)&&In(e,((...e)=>t(...e)),n),zn=$n("bm"),Nn=$n("m"),jn=$n("bu"),Dn=$n("u"),Un=$n("bum"),Hn=$n("um"),Wn=$n("sp"),Kn=$n("rtg"),Qn=$n("rtc");function Gn(e,t=Sl){In("ec",e,t)}function Jn(e,t){const n=Xt;if(null===n)return e;const o=Rl(n)||n.proxy,l=e.dirs||(e.dirs=[]);for(let a=0;at(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);l=new Array(n.length);for(let o=0,r=n.length;o!rl(e)||e.type!==Go&&!(e.type===Ko&&!oo(e.children))))?e:null}const lo=e=>e?ql(e)?Rl(e)||e.proxy:lo(e.parent):null,ao=x(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=>lo(e.parent),$root:e=>lo(e.root),$emit:e=>e.emit,$options:e=>fo(e),$forceUpdate:e=>e.f||(e.f=()=>Nt(e.update)),$nextTick:e=>e.n||(e.n=zt.bind(e.proxy)),$watch:e=>_n.bind(e)}),ro=(e,t)=>e!==g&&!e.__isScriptSetup&&q(e,t),io={get({_:e},t){const{ctx:n,setupState:o,data:l,props:a,accessCache:r,type:i,appContext:s}=e;let u;if("$"!==t[0]){const i=r[t];if(void 0!==i)switch(i){case 1:return o[t];case 2:return l[t];case 4:return n[t];case 3:return a[t]}else{if(ro(o,t))return r[t]=1,o[t];if(l!==g&&q(l,t))return r[t]=2,l[t];if((u=e.propsOptions[0])&&q(u,t))return r[t]=3,a[t];if(n!==g&&q(n,t))return r[t]=4,n[t];so&&(r[t]=0)}}const c=ao[t];let d,p;return c?("$attrs"===t&&ge(e,0,t),c(e)):(d=i.__cssModules)&&(d=d[t])?d:n!==g&&q(n,t)?(r[t]=4,n[t]):(p=s.config.globalProperties,q(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:l,ctx:a}=e;return ro(l,t)?(l[t]=n,!0):o!==g&&q(o,t)?(o[t]=n,!0):!q(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:l,propsOptions:a}},r){let i;return!!n[r]||e!==g&&q(e,r)||ro(t,r)||(i=a[0])&&q(i,r)||q(o,r)||q(ao,r)||q(l.config.globalProperties,r)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let so=!0;function uo(e){const t=fo(e),n=e.proxy,o=e.ctx;so=!1,t.beforeCreate&&co(t.beforeCreate,e,"bc");const{data:l,computed:a,methods:r,watch:i,provide:s,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:f,updated:v,activated:h,deactivated:m,beforeDestroy:g,beforeUnmount:b,destroyed:_,unmounted:w,render:k,renderTracked:S,renderTriggered:x,errorCaptured:C,serverPrefetch:E,expose:q,inheritAttrs:T,components:F,directives:O,filters:P}=t;if(u&&function(e,t,n=y,o=!1){L(e)&&(e=go(e));for(const l in e){const n=e[l];let a;a=A(n)?"default"in n?mn(n.from||l,n.default,!0):mn(n.from||l):mn(n),yt(a)&&o?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e}):t[l]=a}}(u,o,null,e.appContext.config.unwrapInjectedRef),r)for(const y in r){const e=r[y];R(e)&&(o[y]=e.bind(n))}if(l){const t=l.call(n,n);A(t)&&(e.data=rt(t))}if(so=!0,a)for(const L in a){const e=a[L],t=R(e)?e.bind(n,n):R(e.get)?e.get.bind(n,n):y,l=!R(e)&&R(e.set)?e.set.bind(n):y,r=Ol({get:t,set:l});Object.defineProperty(o,L,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e})}if(i)for(const y in i)po(i[y],o,n,y);if(s){const e=R(s)?s.call(n):s;Reflect.ownKeys(e).forEach((t=>{hn(t,e[t])}))}function V(e,t){L(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(c&&co(c,e,"c"),V(zn,d),V(Nn,p),V(jn,f),V(Dn,v),V(An,h),V(Vn,m),V(Gn,C),V(Qn,S),V(Kn,x),V(Un,b),V(Hn,w),V(Wn,E),L(q))if(q.length){const t=e.exposed||(e.exposed={});q.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===y&&(e.render=k),null!=T&&(e.inheritAttrs=T),F&&(e.components=F),O&&(e.directives=O)}function co(e,t,n){Tt(L(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function po(e,t,n,o){const l=o.includes(".")?wn(n,o):()=>n[o];if(O(e)){const n=t[e];R(n)&&bn(l,n)}else if(R(e))bn(l,e.bind(n));else if(A(e))if(L(e))e.forEach((e=>po(e,t,n,o)));else{const o=R(e.handler)?e.handler.bind(n):t[e.handler];R(o)&&bn(l,o,e)}}function fo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:l,optionsCache:a,config:{optionMergeStrategies:r}}=e.appContext,i=a.get(t);let s;return i?s=i:l.length||n||o?(s={},l.length&&l.forEach((e=>vo(s,e,r,!0))),vo(s,t,r)):s=t,A(t)&&a.set(t,s),s}function vo(e,t,n,o=!1){const{mixins:l,extends:a}=t;a&&vo(e,a,n,!0),l&&l.forEach((t=>vo(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=ho[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const ho={data:mo,props:yo,emits:yo,methods:yo,computed:yo,beforeCreate:bo,created:bo,beforeMount:bo,mounted:bo,beforeUpdate:bo,updated:bo,beforeDestroy:bo,beforeUnmount:bo,destroyed:bo,unmounted:bo,activated:bo,deactivated:bo,errorCaptured:bo,serverPrefetch:bo,components:yo,directives:yo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=x(Object.create(null),e);for(const o in t)n[o]=bo(e[o],t[o]);return n},provide:mo,inject:function(e,t){return yo(go(e),go(t))}};function mo(e,t){return t?e?function(){return x(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function go(e){if(L(e)){const t={};for(let n=0;n{s=!0;const[n,o]=So(e,t,!0);x(r,n),o&&i.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!s)return A(e)&&o.set(e,b),b;if(L(a))for(let c=0;c-1,n[1]=o<0||t-1||q(n,"default"))&&i.push(e)}}}const u=[r,i];return A(e)&&o.set(e,u),u}function xo(e){return"$"!==e[0]}function Co(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Eo(e,t){return Co(e)===Co(t)}function qo(e,t){return L(t)?t.findIndex((t=>Eo(t,e))):R(t)&&Eo(t,e)?0:-1}const Lo=e=>"_"===e[0]||"$stable"===e,To=e=>L(e)?e.map(ml):[ml(e)],Fo=(e,t,n)=>{if(t._n)return t;const o=on(((...e)=>To(t(...e))),n);return o._c=!1,o},Ro=(e,t,n)=>{const o=e._ctx;for(const l in e){if(Lo(l))continue;const n=e[l];if(R(n))t[l]=Fo(0,n,o);else if(null!=n){const e=To(n);t[l]=()=>e}}},Oo=(e,t)=>{const n=To(t);e.slots.default=()=>n};function Po(){return{app:null,config:{isNativeTag:_,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 Ao=0;function Vo(e,t){return function(n,o=null){R(n)||(n=Object.assign({},n)),null==o||A(o)||(o=null);const l=Po(),a=new Set;let r=!1;const i=l.app={_uid:Ao++,_component:n,_props:o,_container:null,_context:l,_instance:null,version:Ml,get config(){return l.config},set config(e){},use:(e,...t)=>(a.has(e)||(e&&R(e.install)?(a.add(e),e.install(i,...t)):R(e)&&(a.add(e),e(i,...t))),i),mixin:e=>(l.mixins.includes(e)||l.mixins.push(e),i),component:(e,t)=>t?(l.components[e]=t,i):l.components[e],directive:(e,t)=>t?(l.directives[e]=t,i):l.directives[e],mount(a,s,u){if(!r){const c=pl(n,o);return c.appContext=l,s&&t?t(c,a):e(c,a,u),r=!0,i._container=a,a.__vue_app__=i,Rl(c.component)||c.component.proxy}},unmount(){r&&(e(null,i._container),delete i._container.__vue_app__)},provide:(e,t)=>(l.provides[e]=t,i)};return i}}function Mo(e,t,n,o,l=!1){if(L(e))return void e.forEach(((e,a)=>Mo(e,t&&(L(t)?t[a]:t),n,o,l)));if(On(o)&&!l)return;const a=4&o.shapeFlag?Rl(o.component)||o.component.proxy:o.el,r=l?null:a,{i:i,r:s}=e,u=t&&t.r,c=i.refs===g?i.refs={}:i.refs,d=i.setupState;if(null!=u&&u!==s&&(O(u)?(c[u]=null,q(d,u)&&(d[u]=null)):yt(u)&&(u.value=null)),R(s))Lt(s,i,12,[r,c]);else{const t=O(s),o=yt(s);if(t||o){const i=()=>{if(e.f){const n=t?q(d,s)?d[s]:c[s]:s.value;l?L(n)&&C(n,a):L(n)?n.includes(a)||n.push(a):t?(c[s]=[a],q(d,s)&&(d[s]=c[s])):(s.value=[a],e.k&&(c[e.k]=s.value))}else t?(c[s]=r,q(d,s)&&(d[s]=r)):o&&(s.value=r,e.k&&(c[e.k]=r))};r?(i.id=-1,Bo(i,n)):i()}}}const Bo=function(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Dt(e)};function Io(e){return function(e,t){(X||(X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:o,patchProp:l,createElement:a,createText:r,createComment:i,setText:s,setElementText:u,parentNode:c,nextSibling:d,setScopeId:p=y,insertStaticContent:f}=e,v=(e,t,n,o=null,l=null,a=null,r=!1,i=null,s=!!t.dynamicChildren)=>{if(e===t)return;e&&!il(e,t)&&(o=te(e),W(e,l,a,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:d}=t;switch(u){case Qo:h(e,t,n,o);break;case Go:m(e,t,n,o);break;case Jo:null==e&&_(t,n,o,r);break;case Ko:O(e,t,n,o,l,a,r,i,s);break;default:1&d?S(e,t,n,o,l,a,r,i,s):6&d?P(e,t,n,o,l,a,r,i,s):(64&d||128&d)&&u.process(e,t,n,o,l,a,r,i,s,oe)}null!=c&&l&&Mo(c,e&&e.ref,a,t||e,!t)},h=(e,t,o,l)=>{if(null==e)n(t.el=r(t.children),o,l);else{const n=t.el=e.el;t.children!==e.children&&s(n,t.children)}},m=(e,t,o,l)=>{null==e?n(t.el=i(t.children||""),o,l):t.el=e.el},_=(e,t,n,o)=>{[e.el,e.anchor]=f(e.children,t,n,o,e.el,e.anchor)},w=({el:e,anchor:t},o,l)=>{let a;for(;e&&e!==t;)a=d(e),n(e,o,l),e=a;n(t,o,l)},k=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=d(e),o(e),e=n;o(t)},S=(e,t,n,o,l,a,r,i,s)=>{r=r||"svg"===t.type,null==e?C(t,n,o,l,a,r,i,s):T(e,t,l,a,r,i,s)},C=(e,t,o,r,i,s,c,d)=>{let p,f;const{type:v,props:h,shapeFlag:m,transition:g,dirs:b}=e;if(p=e.el=a(e.type,s,h&&h.is,h),8&m?u(p,e.children):16&m&&L(e.children,p,null,r,i,s&&"foreignObject"!==v,c,d),b&&Zn(e,null,r,"created"),h){for(const t in h)"value"===t||z(t)||l(p,t,null,h[t],s,e.children,r,i,Y);"value"in h&&l(p,"value",null,h.value),(f=h.onVnodeBeforeMount)&&_l(f,r,e)}E(p,e,e.scopeId,c,r),b&&Zn(e,null,r,"beforeMount");const y=(!i||i&&!i.pendingBranch)&&g&&!g.persisted;y&&g.beforeEnter(p),n(p,t,o),((f=h&&h.onVnodeMounted)||y||b)&&Bo((()=>{f&&_l(f,r,e),y&&g.enter(p),b&&Zn(e,null,r,"mounted")}),i)},E=(e,t,n,o,l)=>{if(n&&p(e,n),o)for(let a=0;a{for(let u=s;u{const s=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:p}=t;c|=16&e.patchFlag;const f=e.props||g,v=t.props||g;let h;n&&$o(n,!1),(h=v.onVnodeBeforeUpdate)&&_l(h,n,t,e),p&&Zn(t,e,n,"beforeUpdate"),n&&$o(n,!0);const m=a&&"foreignObject"!==t.type;if(d?F(e.dynamicChildren,d,s,n,o,m,r):i||$(e,t,s,null,n,o,m,r,!1),c>0){if(16&c)R(s,t,f,v,n,o,a);else if(2&c&&f.class!==v.class&&l(s,"class",null,v.class,a),4&c&&l(s,"style",f.style,v.style,a),8&c){const r=t.dynamicProps;for(let t=0;t{h&&_l(h,n,t,e),p&&Zn(t,e,n,"updated")}),o)},F=(e,t,n,o,l,a,r)=>{for(let i=0;i{if(n!==o){if(n!==g)for(const s in n)z(s)||s in o||l(e,s,n[s],null,i,t.children,a,r,Y);for(const s in o){if(z(s))continue;const u=o[s],c=n[s];u!==c&&"value"!==s&&l(e,s,c,u,i,t.children,a,r,Y)}"value"in o&&l(e,"value",n.value,o.value)}},O=(e,t,o,l,a,i,s,u,c)=>{const d=t.el=e?e.el:r(""),p=t.anchor=e?e.anchor:r("");let{patchFlag:f,dynamicChildren:v,slotScopeIds:h}=t;h&&(u=u?u.concat(h):h),null==e?(n(d,o,l),n(p,o,l),L(t.children,o,p,a,i,s,u,c)):f>0&&64&f&&v&&e.dynamicChildren?(F(e.dynamicChildren,v,o,a,i,s,u),(null!=t.key||a&&t===a.subTree)&&zo(e,t,!0)):$(e,t,o,p,a,i,s,u,c)},P=(e,t,n,o,l,a,r,i,s)=>{t.slotScopeIds=i,null==e?512&t.shapeFlag?l.ctx.activate(t,n,o,r,s):A(t,n,o,l,a,r,s):M(e,t,s)},A=(e,t,n,o,l,a,r)=>{const i=e.component=function(e,t,n){const o=e.type,l=(t?t.appContext:e.appContext)||wl,a={uid:kl++,vnode:e,type:o,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,scope:new ee(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:So(o,l),emitsOptions:Jt(o,l),emit:null,emitted:null,propsDefaults:g,inheritAttrs:o.inheritAttrs,ctx:g,data:g,props:g,attrs:g,slots:g,refs:g,setupState:g,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};a.ctx={_:a},a.root=t?t.root:a,a.emit=Gt.bind(null,a),e.ce&&e.ce(a);return a}(e,o,l);if(Pn(e)&&(i.ctx.renderer=oe),function(e,t=!1){Ll=t;const{props:n,children:o}=e.vnode,l=ql(e);_o(e,n,l,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=ft(t),J(t,"_",n)):Ro(t,e.slots={})}else e.slots={},t&&Oo(e,t);J(e.slots,sl,1)})(e,o);const a=l?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=vt(new Proxy(e.ctx,io));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(ge(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;Cl(e),he();const l=Lt(o,e,0,[e.props,n]);if(me(),El(),V(l)){if(l.then(El,El),t)return l.then((n=>{Tl(e,n,t)})).catch((t=>{Ft(t,e,0)}));e.asyncDep=l}else Tl(e,l,t)}else Fl(e,t)}(e,t):void 0;Ll=!1}(i),i.asyncDep){if(l&&l.registerDep(i,B),!e.el){const e=i.subTree=pl(Go);m(null,e,t,n)}}else B(i,e,t,n,l,a,r)},M=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:l,component:a}=e,{props:r,children:i,patchFlag:s}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&s>=0))return!(!l&&!i||i&&i.$stable)||o!==r&&(o?!r||sn(o,r,u):!!r);if(1024&s)return!0;if(16&s)return o?sn(o,r,u):!!r;if(8&s){const e=t.dynamicProps;for(let t=0;tAt&&Pt.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},B=(e,t,n,o,l,a,r)=>{const i=()=>{if(e.isMounted){let t,{next:n,bu:o,u:i,parent:s,vnode:u}=e,d=n;$o(e,!1),n?(n.el=u.el,I(e,n,r)):n=u,o&&G(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&_l(t,s,n,u),$o(e,!0);const p=ln(e),f=e.subTree;e.subTree=p,v(f,p,c(f.el),te(f),e,l,a),n.el=p.el,null===d&&un(e,p.el),i&&Bo(i,l),(t=n.props&&n.props.onVnodeUpdated)&&Bo((()=>_l(t,s,n,u)),l)}else{let r;const{el:i,props:s}=t,{bm:u,m:c,parent:d}=e,p=On(t);if($o(e,!1),u&&G(u),!p&&(r=s&&s.onVnodeBeforeMount)&&_l(r,d,t),$o(e,!0),i&&ae){const n=()=>{e.subTree=ln(e),ae(i,e.subTree,e,l,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const r=e.subTree=ln(e);v(null,r,n,o,e,l,a),t.el=r.el}if(c&&Bo(c,l),!p&&(r=s&&s.onVnodeMounted)){const e=t;Bo((()=>_l(r,d,e)),l)}(256&t.shapeFlag||d&&On(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&Bo(e.a,l),e.isMounted=!0,t=n=o=null}},s=e.effect=new de(i,(()=>Nt(u)),e.scope),u=e.update=()=>s.run();u.id=e.uid,$o(e,!0),u()},I=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:l,attrs:a,vnode:{patchFlag:r}}=e,i=ft(l),[s]=e.propsOptions;let u=!1;if(!(o||r>0)||16&r){let o;wo(e,t,l,a)&&(u=!0);for(const a in i)t&&(q(t,a)||(o=H(a))!==a&&q(t,o))||(s?!n||void 0===n[a]&&void 0===n[o]||(l[a]=ko(s,i,a,void 0,e,!0)):delete l[a]);if(a!==i)for(const e in a)t&&q(t,e)||(delete a[e],u=!0)}else if(8&r){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:l}=e;let a=!0,r=g;if(32&o.shapeFlag){const e=t._;e?n&&1===e?a=!1:(x(l,t),n||1!==e||delete l._):(a=!t.$stable,Ro(t,l)),r=t}else t&&(Oo(e,t),r={default:1});if(a)for(const i in l)Lo(i)||i in r||delete l[i]})(e,t.children,n),he(),Ut(),me()},$=(e,t,n,o,l,a,r,i,s=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:v}=t;if(f>0){if(128&f)return void j(c,p,n,o,l,a,r,i,s);if(256&f)return void N(c,p,n,o,l,a,r,i,s)}8&v?(16&d&&Y(c,l,a),p!==c&&u(n,p)):16&d?16&v?j(c,p,n,o,l,a,r,i,s):Y(c,l,a,!0):(8&d&&u(n,""),16&v&&L(p,n,o,l,a,r,i,s))},N=(e,t,n,o,l,a,r,i,s)=>{t=t||b;const u=(e=e||b).length,c=t.length,d=Math.min(u,c);let p;for(p=0;pc?Y(e,l,a,!0,!1,d):L(t,n,o,l,a,r,i,s,d)},j=(e,t,n,o,l,a,r,i,s)=>{let u=0;const c=t.length;let d=e.length-1,p=c-1;for(;u<=d&&u<=p;){const o=e[u],c=t[u]=s?gl(t[u]):ml(t[u]);if(!il(o,c))break;v(o,c,n,null,l,a,r,i,s),u++}for(;u<=d&&u<=p;){const o=e[d],u=t[p]=s?gl(t[p]):ml(t[p]);if(!il(o,u))break;v(o,u,n,null,l,a,r,i,s),d--,p--}if(u>d){if(u<=p){const e=p+1,d=ep)for(;u<=d;)W(e[u],l,a,!0),u++;else{const f=u,h=u,m=new Map;for(u=h;u<=p;u++){const e=t[u]=s?gl(t[u]):ml(t[u]);null!=e.key&&m.set(e.key,u)}let g,y=0;const _=p-h+1;let w=!1,k=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=f;u<=d;u++){const o=e[u];if(y>=_){W(o,l,a,!0);continue}let c;if(null!=o.key)c=m.get(o.key);else for(g=h;g<=p;g++)if(0===S[g-h]&&il(o,t[g])){c=g;break}void 0===c?W(o,l,a,!0):(S[c-h]=u+1,c>=k?k=c:w=!0,v(o,t[c],n,null,l,a,r,i,s),y++)}const x=w?function(e){const t=e.slice(),n=[0];let o,l,a,r,i;const s=e.length;for(o=0;o>1,e[n[i]]0&&(t[o]=n[a-1]),n[a]=o)}}a=n.length,r=n[a-1];for(;a-- >0;)n[a]=r,r=t[r];return n}(S):b;for(g=x.length-1,u=_-1;u>=0;u--){const e=h+u,d=t[e],p=e+1{const{el:r,type:i,transition:s,children:u,shapeFlag:c}=e;if(6&c)return void U(e.component.subTree,t,o,l);if(128&c)return void e.suspense.move(t,o,l);if(64&c)return void i.move(e,t,o,oe);if(i===Ko){n(r,t,o);for(let e=0;es.enter(r)),a);else{const{leave:e,delayLeave:l,afterLeave:a}=s,i=()=>n(r,t,o),u=()=>{e(r,(()=>{i(),a&&a()}))};l?l(r,i,u):u()}else n(r,t,o)},W=(e,t,n,o=!1,l=!1)=>{const{type:a,props:r,ref:i,children:s,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:p}=e;if(null!=i&&Mo(i,null,n,e,!0),256&c)return void t.ctx.deactivate(e);const f=1&c&&p,v=!On(e);let h;if(v&&(h=r&&r.onVnodeBeforeUnmount)&&_l(h,t,e),6&c)Z(e.component,n,o);else{if(128&c)return void e.suspense.unmount(n,o);f&&Zn(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,l,oe,o):u&&(a!==Ko||d>0&&64&d)?Y(u,t,n,!1,!0):(a===Ko&&384&d||!l&&16&c)&&Y(s,t,n),o&&K(e)}(v&&(h=r&&r.onVnodeUnmounted)||f)&&Bo((()=>{h&&_l(h,t,e),f&&Zn(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:l,transition:a}=e;if(t===Ko)return void Q(n,l);if(t===Jo)return void k(e);const r=()=>{o(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:o}=a,l=()=>t(n,r);o?o(e.el,r,l):l()}else r()},Q=(e,t)=>{let n;for(;e!==t;)n=d(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:o,scope:l,update:a,subTree:r,um:i}=e;o&&G(o),l.stop(),a&&(a.active=!1,W(r,e,t,n)),i&&Bo(i,t),Bo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,n,o=!1,l=!1,a=0)=>{for(let r=a;r6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el),ne=(e,t,n)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),Ut(),Ht(),t._vnode=e},oe={p:v,um:W,m:U,r:K,mt:A,mc:L,pc:$,pbc:F,n:te,o:e};let le,ae;t&&([le,ae]=t(oe));return{render:ne,hydrate:le,createApp:Vo(ne,le)}}(e)}function $o({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t,n=!1){const o=e.children,l=t.children;if(L(o)&&L(l))for(let a=0;ae&&(e.disabled||""===e.disabled),jo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Do=(e,t)=>{const n=e&&e.to;if(O(n)){if(t){return t(n)}return null}return n};function Uo(e,t,n,{o:{insert:o},m:l},a=2){0===a&&o(e.targetAnchor,t,n);const{el:r,anchor:i,shapeFlag:s,children:u,props:c}=e,d=2===a;if(d&&o(r,t,n),(!d||No(c))&&16&s)for(let p=0;p{16&b&&c(y,e,t,l,a,r,i,s)};g?m(n,u):d&&m(d,p)}else{t.el=e.el;const o=t.anchor=e.anchor,c=t.target=e.target,f=t.targetAnchor=e.targetAnchor,h=No(e.props),m=h?n:c,b=h?o:f;if(r=r||jo(c),_?(p(e.dynamicChildren,_,m,l,a,r,i),zo(e,t,!0)):s||d(e,t,m,b,l,a,r,i,!1),g)h||Uo(t,n,o,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Do(t.props,v);e&&Uo(t,e,null,u,0)}else h&&Uo(t,c,f,u,1)}Wo(t)},remove(e,t,n,o,{um:l,o:{remove:a}},r){const{shapeFlag:i,children:s,anchor:u,targetAnchor:c,target:d,props:p}=e;if(d&&a(c),(r||!No(p))&&(a(u),16&i))for(let f=0;f0?Xo||b:null,el(),tl>0&&Xo&&Xo.push(e),e}function ll(e,t,n,o,l,a){return ol(dl(e,t,n,o,l,a,!0))}function al(e,t,n,o,l){return ol(pl(e,t,n,o,l,!0))}function rl(e){return!!e&&!0===e.__v_isVNode}function il(e,t){return e.type===t.type&&e.key===t.key}const sl="__vInternal",ul=({key:e})=>null!=e?e:null,cl=({ref:e,ref_key:t,ref_for:n})=>null!=e?O(e)||yt(e)||R(e)?{i:Xt,r:e,k:t,f:!!n}:e:null;function dl(e,t=null,n=null,o=0,l=null,a=(e===Ko?0:1),r=!1,i=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ul(t),ref:t&&cl(t),scopeId:Yt,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:a,patchFlag:o,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:Xt};return i?(bl(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=O(n)?8:16),tl>0&&!r&&Xo&&(s.patchFlag>0||6&a)&&32!==s.patchFlag&&Xo.push(s),s}const pl=function(e,t=null,n=null,o=0,l=null,a=!1){e&&e!==Yn||(e=Go);if(rl(e)){const o=fl(e,t,!0);return n&&bl(o,n),tl>0&&!a&&Xo&&(6&o.shapeFlag?Xo[Xo.indexOf(e)]=o:Xo.push(o)),o.patchFlag|=-2,o}r=e,R(r)&&"__vccOpts"in r&&(e=e.__vccOpts);var r;if(t){t=function(e){return e?pt(e)||sl in e?x({},e):e:null}(t);let{class:e,style:n}=t;e&&!O(e)&&(t.class=p(e)),A(n)&&(pt(n)&&!L(n)&&(n=x({},n)),t.style=i(n))}const s=O(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:A(e)?4:R(e)?2:0;return dl(e,t,n,o,l,s,a,!0)};function fl(e,t,n=!1){const{props:o,ref:l,patchFlag:a,children:r}=e,i=t?yl(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&ul(i),ref:t&&t.ref?n&&l?L(l)?l.concat(cl(t)):[l,cl(t)]:cl(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ko?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fl(e.ssContent),ssFallback:e.ssFallback&&fl(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function vl(e=" ",t=0){return pl(Qo,null,e,t)}function hl(e="",t=!1){return t?(Yo(),al(Go,null,e)):pl(Go,null,e)}function ml(e){return null==e||"boolean"==typeof e?pl(Go):L(e)?pl(Ko,null,e.slice()):"object"==typeof e?gl(e):pl(Qo,null,String(e))}function gl(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:fl(e)}function bl(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(L(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),bl(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||sl in t?3===o&&Xt&&(1===Xt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Xt}}else R(t)?(t={default:t,_ctx:Xt},n=32):(t=String(t),64&o?(n=16,t=[vl(t)]):n=8);e.children=t,e.shapeFlag|=n}function yl(...e){const t={};for(let n=0;nSl||Xt,Cl=e=>{Sl=e,e.scope.on()},El=()=>{Sl&&Sl.scope.off(),Sl=null};function ql(e){return 4&e.vnode.shapeFlag}let Ll=!1;function Tl(e,t,n){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:A(t)&&(e.setupState=Ct(t)),Fl(e,n)}function Fl(e,t,n){const o=e.type;e.render||(e.render=o.render||y),Cl(e),he(),uo(e),me(),El()}function Rl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ct(vt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ao?ao[n](e):void 0,has:(e,t)=>t in e||t in ao}))}const Ol=(e,t)=>function(e,t,n=!1){let o,l;const a=R(e);return a?(o=e,l=y):(o=e.get,l=e.set),new qt(o,l,a||!l,n)}(e,0,Ll);function Pl(e,t,n){const o=arguments.length;return 2===o?A(t)&&!L(t)?rl(t)?pl(e,null,[t]):pl(e,t):pl(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&rl(n)&&(n=[n]),pl(e,t,n))}const Al=Symbol(""),Vl=()=>mn(Al),Ml="3.2.45",Bl="undefined"!=typeof document?document:null,Il=Bl&&Bl.createElement("template"),$l={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const l=t?Bl.createElementNS("http://www.w3.org/2000/svg",e):Bl.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&l.setAttribute("multiple",o.multiple),l},createText:e=>Bl.createTextNode(e),createComment:e=>Bl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,l,a){const r=n?n.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),l!==a&&(l=l.nextSibling););else{Il.innerHTML=o?``:e;const l=Il.content;if(o){const e=l.firstChild;for(;e.firstChild;)l.appendChild(e.firstChild);l.removeChild(e)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const zl=/\s*!important$/;function Nl(e,t,n){if(L(n))n.forEach((n=>Nl(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Dl[t];if(n)return n;let o=D(t);if("filter"!==o&&o in e)return Dl[t]=o;o=W(o);for(let l=0;l{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Tt(function(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Kl||(Ql.then((()=>Kl=0)),Kl=Date.now()))(),n}(o,l);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,r,i)}else r&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,r,i),a[t]=void 0)}}const Wl=/(?:Once|Passive|Capture)$/;let Kl=0;const Ql=Promise.resolve();const Gl=/^on[a-z]/;const Jl="transition",Zl=(e,{slots:t})=>Pl(xn,function(e){const t={};for(const x in e)x in Xl||(t[x]=e[x]);if(!1===e.css)return t;const{name:n="v",type:o,duration:l,enterFromClass:a=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:u=r,appearToClass:c=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,v=function(e){if(null==e)return null;if(A(e))return[ta(e.enter),ta(e.leave)];{const t=ta(e);return[t,t]}}(l),h=v&&v[0],m=v&&v[1],{onBeforeEnter:g,onEnter:b,onEnterCancelled:y,onLeave:_,onLeaveCancelled:w,onBeforeAppear:k=g,onAppear:S=b,onAppearCancelled:C=y}=t,E=(e,t,n)=>{oa(e,t?c:i),oa(e,t?u:r),n&&n()},q=(e,t)=>{e._isLeaving=!1,oa(e,d),oa(e,f),oa(e,p),t&&t()},L=e=>(t,n)=>{const l=e?S:b,r=()=>E(t,e,n);Yl(l,[t,r]),la((()=>{oa(t,e?s:a),na(t,e?c:i),ea(l)||ra(t,o,h,r)}))};return x(t,{onBeforeEnter(e){Yl(g,[e]),na(e,a),na(e,r)},onBeforeAppear(e){Yl(k,[e]),na(e,s),na(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>q(e,t);na(e,d),document.body.offsetHeight,na(e,p),la((()=>{e._isLeaving&&(oa(e,d),na(e,f),ea(_)||ra(e,o,m,n))})),Yl(_,[e,n])},onEnterCancelled(e){E(e,!1),Yl(y,[e])},onAppearCancelled(e){E(e,!0),Yl(C,[e])},onLeaveCancelled(e){q(e),Yl(w,[e])}})}(e),t);Zl.displayName="Transition";const Xl={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};Zl.props=x({},xn.props,Xl);const Yl=(e,t=[])=>{L(e)?e.forEach((e=>e(...t))):e&&e(...t)},ea=e=>!!e&&(L(e)?e.some((e=>e.length>1)):e.length>1);function ta(e){return Z(e)}function na(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function oa(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function la(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let aa=0;function ra(e,t,n,o){const l=e._endId=++aa,a=()=>{l===e._endId&&o()};if(n)return setTimeout(a,n);const{type:r,timeout:i,propCount:s}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),l=o("transitionDelay"),a=o("transitionDuration"),r=ia(l,a),i=o("animationDelay"),s=o("animationDuration"),u=ia(i,s);let c=null,d=0,p=0;t===Jl?r>0&&(c=Jl,d=r,p=a.length):"animation"===t?u>0&&(c="animation",d=u,p=s.length):(d=Math.max(r,u),c=d>0?r>u?Jl:"animation":null,p=c?c===Jl?a.length:s.length:0);const f=c===Jl&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!r)return o();const u=r+"end";let c=0;const d=()=>{e.removeEventListener(u,p),a()},p=t=>{t.target===e&&++c>=s&&d()};setTimeout((()=>{csa(t)+sa(e[n]))))}function sa(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const ua=["ctrl","shift","alt","meta"],ca={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ua.some((n=>e[`${n}Key`]&&!t.includes(n)))},da={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):pa(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),pa(e,!0),o.enter(e)):o.leave(e,(()=>{pa(e,!1)})):pa(e,t))},beforeUnmount(e,{value:t}){pa(e,t)}};function pa(e,t){e.style.display=t?e._vod:"none"}const fa=x({patchProp:(e,t,n,o,l=!1,a,r,i,s)=>{"class"===t?function(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,l):"style"===t?function(e,t,n){const o=e.style,l=O(n);if(n&&!l){for(const e in n)Nl(o,e,n[e]);if(t&&!O(t))for(const e in t)null==n[e]&&Nl(o,e,"")}else{const a=o.display;l?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=a)}}(e,n,o):k(t)?S(t)||Hl(e,t,0,o,r):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Gl.test(t)&&R(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Gl.test(t)&&O(n))return!1;return t in e}(e,t,o,l))?function(e,t,n,o,l,a,r){if("innerHTML"===t||"textContent"===t)return o&&r(o,l,a),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let i=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=v(n):null==n&&"string"===o?(n="",i=!0):"number"===o&&(n=0,i=!0)}try{e[t]=n}catch(s){}i&&e.removeAttribute(t)}(e,t,o,a,r,i,s):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,l){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ul,t.slice(6,t.length)):e.setAttributeNS(Ul,t,n);else{const o=f(t);null==n||o&&!v(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,l))}},$l);let va;function ha(){return va||(va=Io(fa))}let ma,ga=0;const ba=new Array(256);for(let sg=0;sg<256;sg++)ba[sg]=(sg+256).toString(16).substring(1);const ya=(()=>{const e="undefined"!=typeof crypto?crypto:"undefined"!=typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})();function _a(){(void 0===ma||ga+16>4096)&&(ga=0,ma=ya(4096));const e=Array.prototype.slice.call(ma,ga,ga+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,ba[e[0]]+ba[e[1]]+ba[e[2]]+ba[e[3]]+"-"+ba[e[4]]+ba[e[5]]+"-"+ba[e[6]]+ba[e[7]]+"-"+ba[e[8]]+ba[e[9]]+"-"+ba[e[10]]+ba[e[11]]+ba[e[12]]+ba[e[13]]+ba[e[14]]+ba[e[15]]}var wa,ka="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Sa={exports:{}},xa="object"==typeof Reflect?Reflect:null,Ca=xa&&"function"==typeof xa.apply?xa.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};wa=xa&&"function"==typeof xa.ownKeys?xa.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var Ea=Number.isNaN||function(e){return e!=e};function qa(){qa.init.call(this)}Sa.exports=qa,Sa.exports.once=function(e,t){return new Promise((function(n,o){function l(n){e.removeListener(t,a),o(n)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",l),n([].slice.call(arguments))}Ba(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&Ba(e,"error",t,n)}(e,l,{once:!0})}))},qa.EventEmitter=qa,qa.prototype._events=void 0,qa.prototype._eventsCount=0,qa.prototype._maxListeners=void 0;var La=10;function Ta(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function Fa(e){return void 0===e._maxListeners?qa.defaultMaxListeners:e._maxListeners}function Ra(e,t,n,o){var l,a,r,i;if(Ta(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),r=a[t]),void 0===r)r=a[t]=n,++e._eventsCount;else if("function"==typeof r?r=a[t]=o?[n,r]:[r,n]:o?r.unshift(n):r.push(n),(l=Fa(e))>0&&r.length>l&&!r.warned){r.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=r.length,i=s,console&&console.warn&&console.warn(i)}return e}function Oa(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Pa(e,t,n){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},l=Oa.bind(o);return l.listener=n,o.wrapFn=l,l}function Aa(e,t,n){var o=e._events;if(void 0===o)return[];var l=o[t];return void 0===l?[]:"function"==typeof l?n?[l.listener||l]:[l]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var r=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw r.context=a,r}var i=l[e];if(void 0===i)return!1;if("function"==typeof i)Ca(i,this,t);else{var s=i.length,u=Ma(i,s);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){r=n[a].listener,l=a;break}if(l<0)return this;0===l?n.shift():function(e,t){for(;t+1=0;o--)this.removeListener(e,t[o]);return this},qa.prototype.listeners=function(e){return Aa(this,e,!0)},qa.prototype.rawListeners=function(e){return Aa(this,e,!1)},qa.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):Va.call(e,t)},qa.prototype.listenerCount=Va,qa.prototype.eventNames=function(){return this._eventsCount>0?wa(this._events):[]};const Ia={undefined:()=>0,boolean:()=>4,number:()=>8,string:e=>2*e.length,object:e=>e?Object.keys(e).reduce(((t,n)=>$a(n)+$a(e[n])+t),0):0},$a=e=>Ia[typeof e](e);class za extends Sa.exports.EventEmitter{constructor(e){super(),this.setMaxListeners(1/0),this.wall=e,e.listen((e=>{Array.isArray(e)?e.forEach((e=>this._emit(e))):this._emit(e)})),this._sendingQueue=[],this._sending=!1,this._maxMessageSize=33554432}send(e,t){return this._send([{event:e,payload:t}])}getEvents(){return this._events}on(e,t){return super.on(e,(e=>{t({...e,respond:t=>this.send(e.eventResponseKey,t)})}))}_emit(e){"string"==typeof e?this.emit(e):this.emit(e.event,e.payload)}_send(e){return this._sendingQueue.push(e),this._nextSend()}_nextSend(){if(!this._sendingQueue.length||this._sending)return Promise.resolve();this._sending=!0;const e=this._sendingQueue.shift(),t=e[0],n=`${t.event}.${_a()}`+".result";return new Promise(((o,l)=>{let a=[];const r=e=>{if(void 0!==e&&e._chunkSplit){const t=e._chunkSplit;a=[...a,...e.data],t.lastChunk&&(this.off(n,r),o(a))}else this.off(n,r),o(e)};this.on(n,r);try{const t=e.map((e=>({...e,payload:{data:e.payload,eventResponseKey:n}})));this.wall.send(t)}catch(i){const e="Message length exceeded maximum allowed length.";if(i.message===e)if(Array.isArray(t.payload)){const e=$a(t);if(e>this._maxMessageSize){const n=Math.ceil(e/this._maxMessageSize),o=Math.ceil(t.payload.length/n);let l=t.payload;for(let e=0;ethis._nextSend()),16)}))}}function Na(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}const ja=_t(!1);let Da;const Ua="ontouchstart"in window||window.navigator.maxTouchPoints>0;const Ha=navigator.userAgent||navigator.vendor||window.opera,Wa={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Ka={userAgent:Ha,is:function(e){const t=e.toLowerCase(),n=function(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}(t),o=function(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:t[0]||""}}(t,n),l={};o.browser&&(l[o.browser]=!0,l.version=o.version,l.versionNumber=parseInt(o.versionNumber,10)),o.platform&&(l[o.platform]=!0);const a=l.android||l.ios||l.bb||l.blackberry||l.ipad||l.iphone||l.ipod||l.kindle||l.playbook||l.silk||l["windows phone"];return!0===a||t.indexOf("mobile")>-1?(l.mobile=!0,l.edga||l.edgios?(l.edge=!0,o.browser="edge"):l.crios?(l.chrome=!0,o.browser="chrome"):l.fxios&&(l.firefox=!0,o.browser="firefox")):l.desktop=!0,(l.ipod||l.ipad||l.iphone)&&(l.ios=!0),l["windows phone"]&&(l.winphone=!0,delete l["windows phone"]),(l.chrome||l.opr||l.safari||l.vivaldi||!0===l.mobile&&!0!==l.ios&&!0!==a)&&(l.webkit=!0),l.edg&&(o.browser="edgechromium",l.edgeChromium=!0),(l.safari&&l.blackberry||l.bb)&&(o.browser="blackberry",l.blackberry=!0),l.safari&&l.playbook&&(o.browser="playbook",l.playbook=!0),l.opr&&(o.browser="opera",l.opera=!0),l.safari&&l.android&&(o.browser="android",l.android=!0),l.safari&&l.kindle&&(o.browser="kindle",l.kindle=!0),l.safari&&l.silk&&(o.browser="silk",l.silk=!0),l.vivaldi&&(o.browser="vivaldi",l.vivaldi=!0),l.name=o.browser,l.platform=o.platform,t.indexOf("electron")>-1?l.electron=!0:document.location.href.indexOf("-extension://")>-1?l.bex=!0:(void 0!==window.Capacitor?(l.capacitor=!0,l.nativeMobile=!0,l.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(l.cordova=!0,l.nativeMobile=!0,l.nativeMobileWrapper="cordova"),!0===Ua&&!0===l.mac&&(!0===l.desktop&&!0===l.safari||!0===l.nativeMobile&&!0!==l.android&&!0!==l.ios&&!0!==l.ipad)&&function(e){Da={is:{...e}},delete e.mac,delete e.desktop;const t=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:t,[t]:!0})}(l)),l}(Ha),has:{touch:Ua},within:{iframe:window.self!==window.top}},Qa={install(e){const{$q:t}=e;!0===ja.value?(e.onSSRHydrated.push((()=>{Object.assign(t.platform,Ka),ja.value=!1,Da=void 0})),t.platform=rt(this)):t.platform=this}};{let e;Na(Ka.has,"webStorage",(()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(t){}return e=!1,!1})),!0===Ka.is.ios&&window.navigator.vendor.toLowerCase().indexOf("apple"),!0===ja.value?Object.assign(Qa,Ka,Da,Wa):Object.assign(Qa,Ka)}var Ga=(e,t)=>{const n=rt(e);for(const o in e)Na(t,o,(()=>n[o]),(e=>{n[o]=e}));return t};const Ja={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(Ja,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(ig){}function Za(){}function Xa(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function Ya(e){e.stopPropagation()}function er(e){!1!==e.cancelable&&e.preventDefault()}function tr(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function nr(e,t,n){const o=`__q_${t}_evt`;e[o]=void 0!==e[o]?e[o].concat(n):n,n.forEach((t=>{t[0].addEventListener(t[1],e[t[2]],Ja[t[3]])}))}function or(e,t){const n=`__q_${t}_evt`;void 0!==e[n]&&(e[n].forEach((t=>{t[0].removeEventListener(t[1],e[t[2]],Ja[t[3]])})),e[n]=void 0)}function lr(e,t=250,n){let o=null;function l(){const l=arguments,a=()=>{o=null,!0!==n&&e.apply(this,l)};null!==o?clearTimeout(o):!0===n&&e.apply(this,l),o=setTimeout(a,t)}return l.cancel=()=>{null!==o&&clearTimeout(o)},l}const ar=["sm","md","lg","xl"],{passive:rr}=Ja;var ir=Ga({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Za,setDebounce:Za,install({$q:e,onSSRHydrated:t}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:n}=window,o=n||window,l=document.scrollingElement||document.documentElement,a=void 0===n||!0===Ka.is.mobile?()=>[Math.max(window.innerWidth,l.clientWidth),Math.max(window.innerHeight,l.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-l.clientWidth,n.height*n.scale+window.innerHeight-l.clientHeight],r=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const[t,n]=a();if(n!==this.height&&(this.height=n),t!==this.width)this.width=t;else if(!0!==e)return;let o=this.sizes;this.gt.xs=t>=o.sm,this.gt.sm=t>=o.md,this.gt.md=t>=o.lg,this.gt.lg=t>=o.xl,this.lt.sm=t{ar.forEach((t=>{void 0!==e[t]&&(s[t]=e[t])}))},this.setDebounce=e=>{u=e};const c=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&ar.forEach((t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)})),this.setSizes=e=>{ar.forEach((t=>{e[t]&&(this.sizes[t]=e[t])})),this.__update(!0)},this.setDebounce=e=>{void 0!==i&&o.removeEventListener("resize",i,rr),i=e>0?lr(this.__update,e):this.__update,o.addEventListener("resize",i,rr)},this.setDebounce(u),Object.keys(s).length>0?(this.setSizes(s),s=void 0):this.__update(),!0===r&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===ja.value?t.push(c):c()}});const sr=Ga({isActive:!1,mode:!1},{__media:void 0,set(e){sr.mode=e,"auto"===e?(void 0===sr.__media&&(sr.__media=window.matchMedia("(prefers-color-scheme: dark)"),sr.__updateMedia=()=>{sr.set("auto")},sr.__media.addListener(sr.__updateMedia)),e=sr.__media.matches):void 0!==sr.__media&&(sr.__media.removeListener(sr.__updateMedia),sr.__media=void 0),sr.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){sr.set(!1===sr.isActive)},install({$q:e,onSSRHydrated:t,ssrContext:n}){const{dark:o}=e.config;if(e.dark=this,!0===this.__installed&&void 0===o)return;this.isActive=!0===o;const l=void 0!==o&&o;if(!0===ja.value){const e=e=>{this.__fromSSR=e},n=this.set;this.set=e,e(l),t.push((()=>{this.set=n,this.set(this.__fromSSR)}))}else this.set(l)}}),ur=()=>!0;function cr(e){return"string"==typeof e&&""!==e&&"/"!==e&&"#/"!==e}function dr(e){return!0===e.startsWith("#")&&(e=e.substring(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substring(0,e.length-1)),"#"+e}var pr={__history:[],add:Za,remove:Za,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:n}=Ka.is;if(!0!==t&&!0!==n)return;const o=e.config[!0===t?"cordova":"capacitor"];if(void 0!==o&&!1===o.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=ur),this.__history.push(e)},this.remove=e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};const l=function(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return ur;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(cr).map(dr)),()=>t.includes(window.location.hash)}(Object.assign({backButtonExit:!0},o)),a=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===l()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",a,!1)})):window.Capacitor.Plugins.App.addListener("backButton",a)}},fr={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function vr(){const e=!0===Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages[0]:navigator.language;if("string"==typeof e)return e.split(/[-_]/).map(((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const hr=Ga({__langPack:{}},{getLocale:vr,set(e=fr,t){const n={...e,rtl:!0===e.rtl,getLocale:vr};if(n.set=hr.set,void 0===hr.__langConfig||!0!==hr.__langConfig.noHtmlAttrs){const e=document.documentElement;e.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),e.setAttribute("lang",n.isoName)}Object.assign(hr.__langPack,n),hr.props=n,hr.isoName=n.isoName,hr.nativeName=n.nativeName},install({$q:e,lang:t,ssrContext:n}){e.lang=hr.__langPack,hr.__langConfig=e.config.lang,!0===this.__installed?void 0!==t&&this.set(t):this.set(t||fr)}});function mr(e,t,n=document.body){if("string"!=typeof e)throw new TypeError("Expected a string as propName");if("string"!=typeof t)throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let gr=!1;function br(e){gr=!0===e.isComposing}function yr(e){return!0===gr||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function _r(e,t){return!0!==yr(e)&&[].concat(t).includes(e.keyCode)}function wr(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}var kr={install(e){if(!0!==this.__installed){if(!0===ja.value)!function(){const{is:e}=Ka,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(void 0!==Da)n.delete("desktop"),n.add("platform-ios"),n.add("mobile");else if(!0!==e.nativeMobile&&!0!==e.electron&&!0!==e.bex)if(!0===e.desktop)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(!0===e.mobile){n.delete("desktop"),n.add("mobile");const t=wr(e);void 0!==t?(n.add(`platform-${t}`),n.delete("platform-"+("ios"===t?"android":"ios"))):(n.delete("platform-ios"),n.delete("platform-android"))}!0===Ka.has.touch&&(n.delete("no-touch"),n.add("touch")),!0===Ka.within.iframe&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}();else{const{$q:t}=e;void 0!==t.config.brand&&function(e){for(const t in e)mr(t,e[t])}(t.config.brand);const n=function({is:e,has:t,within:n},o){const l=[!0===e.desktop?"desktop":"mobile",(!1===t.touch?"no-":"")+"touch"];if(!0===e.mobile){const t=wr(e);void 0!==t&&l.push("platform-"+t)}if(!0===e.nativeMobile){const t=e.nativeMobileWrapper;l.push(t),l.push("native-mobile"),!0!==e.ios||void 0!==o[t]&&!1===o[t].iosStatusBarPadding||l.push("q-ios-padding")}else!0===e.electron?l.push("electron"):!0===e.bex&&l.push("bex");return!0===n.iframe&&l.push("within-iframe"),l}(Ka,t.config);document.body.classList.add.apply(document.body.classList,n)}!0===Ka.is.ios&&document.body.addEventListener("touchstart",Za),window.addEventListener("keydown",br,!0)}}},Sr={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const xr=Ga({iconMapFn:null,__icons:{}},{set(e,t){const n={...e,rtl:!0===e.rtl};n.set=xr.set,Object.assign(xr.__icons,n)},install({$q:e,iconSet:t,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,Na(e,"iconMapFn",(()=>this.iconMapFn),(e=>{this.iconMapFn=e})),!0===this.__installed?void 0!==t&&this.set(t):this.set(t||Sr)}}),Cr=()=>{},Er={};let qr=!1;function Lr(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(!0!==Lr(e[o],t[o]))return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let n=e.entries();for(o=n.next();!0!==o.done;){if(!0!==t.has(o.value[0]))return!1;o=n.next()}for(n=e.entries(),o=n.next();!0!==o.done;){if(!0!==Lr(o.value[1],t.get(o.value[0])))return!1;o=n.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const n=e.entries();for(o=n.next();!0!==o.done;){if(!0!==t.has(o.value[0]))return!1;o=n.next()}return!0}if(null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const l=Object.keys(e).filter((t=>void 0!==e[t]));if(n=l.length,n!==Object.keys(t).filter((e=>void 0!==t[e])).length)return!1;for(o=n;0!=o--;){const n=l[o];if(!0!==Lr(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Tr(e){return null!==e&&"object"==typeof e&&!0!==Array.isArray(e)}function Fr(e){return"[object Date]"===Object.prototype.toString.call(e)}function Rr(e){return"number"==typeof e&&isFinite(e)}const Or=[Qa,kr,sr,ir,pr,hr,xr];function Pr(e,t){t.forEach((t=>{t.install(e),t.__installed=!0}))}var Ar={version:"2.11.5",install:function(e,t={}){const n={version:"2.11.5"};var o,l,a;!1===qr?(void 0!==t.config&&Object.assign(Er,t.config),n.config={...Er},qr=!0):n.config=t.config||{},o=e,l=t,a={parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]},o.config.globalProperties.$q=a.$q,o.provide("_q_",a.$q),Pr(a,Or),void 0!==l.components&&Object.values(l.components).forEach((e=>{!0===Tr(e)&&void 0!==e.name&&o.component(e.name,e)})),void 0!==l.directives&&Object.values(l.directives).forEach((e=>{!0===Tr(e)&&void 0!==e.name&&o.directive(e.name,e)})),void 0!==l.plugins&&Pr(a,Object.values(l.plugins).filter((e=>"function"==typeof e.install&&!1===Or.includes(e)))),!0===ja.value&&(a.$q.onSSRHydrated=()=>{a.onSSRHydrated.forEach((e=>{e()})),a.$q.onSSRHydrated=()=>{}})},lang:hr,iconSet:xr},Vr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,l]of t)n[o]=l;return n};var Mr=Vr({},[["render",function(e,t){const n=Xn("router-view");return Yo(),al(n)}]]);
+/*!
+ * pinia v2.0.28
+ * (c) 2022 Eduardo San Martin Morote
+ * @license MIT
+ */
+const Br=Symbol();var Ir,$r;($r=Ir||(Ir={})).direct="direct",$r.patchObject="patch object",$r.patchFunction="patch function";var zr=()=>function(){const e=te(!0),t=e.run((()=>_t({})));let n=[],o=[];const l=vt({install(e){l._a=e,e.provide(Br,l),e.config.globalProperties.$pinia=l,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return l}();
+/*!
+ * vue-router v4.1.6
+ * (c) 2022 Eduardo San Martin Morote
+ * @license MIT
+ */const Nr="undefined"!=typeof window;const jr=Object.assign;function Dr(e,t){const n={};for(const o in t){const l=t[o];n[o]=Hr(l)?l.map(e):e(l)}return n}const Ur=()=>{},Hr=Array.isArray,Wr=/\/$/;function Kr(e,t,n="/"){let o,l={},a="",r="";const i=t.indexOf("#");let s=t.indexOf("?");return i=0&&(s=-1),s>-1&&(o=t.slice(0,s),a=t.slice(s+1,i>-1?i:t.length),l=e(a)),i>-1&&(o=o||t.slice(0,i),r=t.slice(i,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let l,a,r=n.length-1;for(l=0;l1&&r--}return n.slice(0,r).join("/")+"/"+o.slice(l-(l===o.length?1:0)).join("/")}(null!=o?o:t,n),{fullPath:o+(a&&"?")+a+r,path:o,query:l,hash:r}}function Qr(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Gr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Zr(e[n],t[n]))return!1;return!0}function Zr(e,t){return Hr(e)?Xr(e,t):Hr(t)?Xr(t,e):e===t}function Xr(e,t){return Hr(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Yr,ei,ti,ni;function oi(e){if(!e)if(Nr){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Wr,"")}(ei=Yr||(Yr={})).pop="pop",ei.push="push",(ni=ti||(ti={})).back="back",ni.forward="forward",ni.unknown="";const li=/^[^#]+#/;function ai(e,t){return e.replace(li,"#")+t}const ri=()=>({left:window.pageXOffset,top:window.pageYOffset});function ii(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),l="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!l)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(l,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function si(e,t){return(history.state?history.state.position-t:-1)+e}const ui=new Map;function ci(e,t){const{pathname:n,search:o,hash:l}=t,a=e.indexOf("#");if(a>-1){let t=l.includes(e.slice(a))?e.slice(a).length:1,n=l.slice(t);return"/"!==n[0]&&(n="/"+n),Qr(n,"")}return Qr(n,e)+o+l}function di(e,t,n,o=!1,l=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:l?ri():null}}function pi(e){const{history:t,location:n}=window,o={value:ci(e,n)},l={value:t.state};function a(o,a,r){const i=e.indexOf("#"),s=i>-1?(n.host&&document.querySelector("base")?e:e.slice(i))+o:location.protocol+"//"+location.host+e+o;try{t[r?"replaceState":"pushState"](a,"",s),l.value=a}catch(u){console.error(u),n[r?"replace":"assign"](s)}}return l.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:l,push:function(e,n){const r=jr({},l.value,t.state,{forward:e,scroll:ri()});a(r.current,r,!0),a(e,jr({},di(o.value,e,null),{position:r.position+1},n),!1),o.value=e},replace:function(e,n){a(e,jr({},t.state,di(l.value.back,e,l.value.forward,!0),n,{position:l.value.position}),!0),o.value=e}}}function fi(e){const t=pi(e=oi(e)),n=function(e,t,n,o){let l=[],a=[],r=null;const i=({state:a})=>{const i=ci(e,location),s=n.value,u=t.value;let c=0;if(a){if(n.value=i,t.value=a,r&&r===s)return void(r=null);c=u?a.position-u.position:0}else o(i);l.forEach((e=>{e(n.value,s,{delta:c,type:Yr.pop,direction:c?c>0?ti.forward:ti.back:ti.unknown})}))};function s(){const{history:e}=window;e.state&&e.replaceState(jr({},e.state,{scroll:ri()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",s),{pauseListeners:function(){r=n.value},listen:function(e){l.push(e);const t=()=>{const t=l.indexOf(e);t>-1&&l.splice(t,1)};return a.push(t),t},destroy:function(){for(const e of a)e();a=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace);const o=jr({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ai.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function vi(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),fi(e)}function hi(e){return"string"==typeof e||"symbol"==typeof e}const mi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},gi=Symbol("");var bi,yi;function _i(e,t){return jr(new Error,{type:e,[gi]:!0},t)}function wi(e,t){return e instanceof Error&&gi in e&&(null==t||!!(e.type&t))}(yi=bi||(bi={}))[yi.aborted=4]="aborted",yi[yi.cancelled=8]="cancelled",yi[yi.duplicated=16]="duplicated";const ki={sensitive:!1,strict:!1,start:!0,end:!0},Si=/[.+*?^${}()[\]/\\]/g;function xi(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Ci(e,t){let n=0;const o=e.score,l=t.score;for(;n0&&t[t.length-1]<0}const qi={type:0,value:""},Li=/[a-zA-Z0-9_]/;function Ti(e,t,n){const o=function(e,t){const n=jr({},ki,t),o=[];let l=n.start?"^":"";const a=[];for(const s of e){const e=s.length?[]:[90];n.strict&&!s.length&&(l+="/");for(let t=0;t1&&("*"===i||"+"===i)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:c,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),u="")}function p(){u+=i}for(;s{a(p)}:Ur}function a(e){if(hi(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function r(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!Mi(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Pi(e)&&o.set(e.record.name,e)}return t=Vi({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>l(e))),{addRoute:l,resolve:function(e,t){let l,a,r,i={};if("name"in e&&e.name){if(l=o.get(e.name),!l)throw _i(1,{location:e});r=l.record.name,i=jr(Ri(t.params,l.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&Ri(e.params,l.keys.map((e=>e.name)))),a=l.stringify(i)}else if("path"in e)a=e.path,l=n.find((e=>e.re.test(a))),l&&(i=l.parse(a),r=l.record.name);else{if(l=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!l)throw _i(1,{location:e,currentLocation:t});r=l.record.name,i=jr({},t.params,e.params),a=l.stringify(i)}const s=[];let u=l;for(;u;)s.unshift(u.record),u=u.parent;return{name:r,path:a,params:i,matched:s,meta:Ai(s)}},removeRoute:a,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Ri(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Oi(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function Pi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ai(e){return e.reduce(((e,t)=>jr(e,t.meta)),{})}function Vi(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Mi(e,t){return t.children.some((t=>t===e||Mi(e,t)))}const Bi=/#/g,Ii=/&/g,$i=/\//g,zi=/=/g,Ni=/\?/g,ji=/\+/g,Di=/%5B/g,Ui=/%5D/g,Hi=/%5E/g,Wi=/%60/g,Ki=/%7B/g,Qi=/%7C/g,Gi=/%7D/g,Ji=/%20/g;function Zi(e){return encodeURI(""+e).replace(Qi,"|").replace(Di,"[").replace(Ui,"]")}function Xi(e){return Zi(e).replace(ji,"%2B").replace(Ji,"+").replace(Bi,"%23").replace(Ii,"%26").replace(Wi,"`").replace(Ki,"{").replace(Gi,"}").replace(Hi,"^")}function Yi(e){return null==e?"":function(e){return Zi(e).replace(Bi,"%23").replace(Ni,"%3F")}(e).replace($i,"%2F")}function es(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ts(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Xi(e))):[o&&Xi(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function os(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Hr(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const ls=Symbol(""),as=Symbol(""),rs=Symbol(""),is=Symbol(""),ss=Symbol("");function us(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function cs(e,t,n,o,l){const a=o&&(o.enterCallbacks[l]=o.enterCallbacks[l]||[]);return()=>new Promise(((r,i)=>{const s=e=>{var s;!1===e?i(_i(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(s=e)||s&&"object"==typeof s?i(_i(2,{from:t,to:e})):(a&&o.enterCallbacks[l]===a&&"function"==typeof e&&a.push(e),r())},u=e.call(o&&o.instances[l],t,n,s);let c=Promise.resolve(u);e.length<3&&(c=c.then(s)),c.catch((e=>i(e)))}))}function ds(e,t,n,o){const l=[];for(const r of e)for(const e in r.components){let i=r.components[e];if("beforeRouteEnter"===t||r.instances[e])if("object"==typeof(a=i)||"displayName"in a||"props"in a||"__vccOpts"in a){const a=(i.__vccOpts||i)[t];a&&l.push(cs(a,n,o,r,e))}else{let a=i();l.push((()=>a.then((l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${r.path}"`));const a=(i=l).__esModule||"Module"===i[Symbol.toStringTag]?l.default:l;var i;r.components[e]=a;const s=(a.__vccOpts||a)[t];return s&&cs(s,n,o,r,e)()}))))}}var a;return l}function ps(e){const t=mn(rs),n=mn(is),o=Ol((()=>t.resolve(St(e.to)))),l=Ol((()=>{const{matched:e}=o.value,{length:t}=e,l=e[t-1],a=n.matched;if(!l||!a.length)return-1;const r=a.findIndex(Gr.bind(null,l));if(r>-1)return r;const i=vs(e[t-2]);return t>1&&vs(l)===i&&a[a.length-1].path!==i?a.findIndex(Gr.bind(null,e[t-2])):r})),a=Ol((()=>l.value>-1&&function(e,t){for(const n in t){const o=t[n],l=e[n];if("string"==typeof o){if(o!==l)return!1}else if(!Hr(l)||l.length!==o.length||o.some(((e,t)=>e!==l[t])))return!1}return!0}(n.params,o.value.params))),r=Ol((()=>l.value>-1&&l.value===n.matched.length-1&&Jr(n.params,o.value.params)));return{route:o,href:Ol((()=>o.value.href)),isActive:a,isExactActive:r,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[St(e.replace)?"replace":"push"](St(e.to)).catch(Ur):Promise.resolve()}}}const fs=Rn({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:ps,setup(e,{slots:t}){const n=rt(ps(e)),{options:o}=mn(rs),l=Ol((()=>({[hs(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[hs(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Pl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},o)}}});function vs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hs=(e,t,n)=>null!=e?e:null!=t?t:n;function ms(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const gs=Rn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=mn(ss),l=Ol((()=>e.route||o.value)),a=mn(as,0),r=Ol((()=>{let e=St(a);const{matched:t}=l.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),i=Ol((()=>l.value.matched[r.value]));hn(as,Ol((()=>r.value+1))),hn(ls,i),hn(ss,l);const s=_t();return bn((()=>[s.value,i.value,e.name]),(([e,t,n],[o,l,a])=>{t&&(t.instances[n]=e,l&&l!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=l.leaveGuards),t.updateGuards.size||(t.updateGuards=l.updateGuards))),!e||!t||l&&Gr(t,l)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=l.value,a=e.name,r=i.value,u=r&&r.components[a];if(!u)return ms(n.default,{Component:u,route:o});const c=r.props[a],d=c?!0===c?o.params:"function"==typeof c?c(o):c:null,p=Pl(u,jr({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(r.instances[a]=null)},ref:s}));return ms(n.default,{Component:p,route:o})||p}}});function bs(e){const t=Fi(e.routes,e),n=e.parseQuery||ts,o=e.stringifyQuery||ns,l=e.history,a=us(),r=us(),i=us(),s=wt(mi,!0);let u=mi;Nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Dr.bind(null,(e=>""+e)),d=Dr.bind(null,Yi),p=Dr.bind(null,es);function f(e,a){if(a=jr({},a||s.value),"string"==typeof e){const o=Kr(n,e,a.path),r=t.resolve({path:o.path},a),i=l.createHref(o.fullPath);return jr(o,r,{params:p(r.params),hash:es(o.hash),redirectedFrom:void 0,href:i})}let r;if("path"in e)r=jr({},e,{path:Kr(n,e.path,a.path).path});else{const t=jr({},e.params);for(const e in t)null==t[e]&&delete t[e];r=jr({},e,{params:d(e.params)}),a.params=d(a.params)}const i=t.resolve(r,a),u=e.hash||"";i.params=c(p(i.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,jr({},e,{hash:(v=u,Zi(v).replace(Ki,"{").replace(Gi,"}").replace(Hi,"^")),path:i.path}));var v;const h=l.createHref(f);return jr({fullPath:f,hash:u,query:o===ns?os(e.query):e.query||{}},i,{redirectedFrom:void 0,href:h})}function v(e){return"string"==typeof e?Kr(n,e,s.value.path):jr({},e)}function h(e,t){if(u!==e)return _i(8,{from:t,to:e})}function m(e){return b(e)}function g(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=v(o):{path:o},o.params={}),jr({query:e.query,hash:e.hash,params:"path"in o?{}:e.params},o)}}function b(e,t){const n=u=f(e),l=s.value,a=e.state,r=e.force,i=!0===e.replace,c=g(n);if(c)return b(jr(v(c),{state:"object"==typeof c?jr({},a,c.state):a,force:r,replace:i}),t||n);const d=n;let p;return d.redirectedFrom=t,!r&&function(e,t,n){const o=t.matched.length-1,l=n.matched.length-1;return o>-1&&o===l&&Gr(t.matched[o],n.matched[l])&&Jr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,l,n)&&(p=_i(16,{to:d,from:l}),F(l,l,!0,!1)),(p?Promise.resolve(p):_(d,l)).catch((e=>wi(e)?wi(e,2)?e:T(e):L(e,d,l))).then((e=>{if(e){if(wi(e,2))return b(jr({replace:i},v(e.to),{state:"object"==typeof e.to?jr({},a,e.to.state):a,force:r}),t||d)}else e=k(d,l,!0,i,a);return w(d,l,e),e}))}function y(e,t){const n=h(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e,t){let n;const[o,l,i]=function(e,t){const n=[],o=[],l=[],a=Math.max(t.matched.length,e.matched.length);for(let r=0;rGr(e,a)))?o.push(a):n.push(a));const i=e.matched[r];i&&(t.matched.find((e=>Gr(e,i)))||l.push(i))}return[n,o,l]}(e,t);n=ds(o.reverse(),"beforeRouteLeave",e,t);for(const a of o)a.leaveGuards.forEach((o=>{n.push(cs(o,e,t))}));const s=y.bind(null,e,t);return n.push(s),ys(n).then((()=>{n=[];for(const o of a.list())n.push(cs(o,e,t));return n.push(s),ys(n)})).then((()=>{n=ds(l,"beforeRouteUpdate",e,t);for(const o of l)o.updateGuards.forEach((o=>{n.push(cs(o,e,t))}));return n.push(s),ys(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&!t.matched.includes(o))if(Hr(o.beforeEnter))for(const l of o.beforeEnter)n.push(cs(l,e,t));else n.push(cs(o.beforeEnter,e,t));return n.push(s),ys(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=ds(i,"beforeRouteEnter",e,t),n.push(s),ys(n)))).then((()=>{n=[];for(const o of r.list())n.push(cs(o,e,t));return n.push(s),ys(n)})).catch((e=>wi(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const o of i.list())o(e,t,n)}function k(e,t,n,o,a){const r=h(e,t);if(r)return r;const i=t===mi,u=Nr?history.state:{};n&&(o||i?l.replace(e.fullPath,jr({scroll:i&&u&&u.scroll},a)):l.push(e.fullPath,a)),s.value=e,F(e,t,n,i),T()}let S;function x(){S||(S=l.listen(((e,t,n)=>{if(!A.listening)return;const o=f(e),a=g(o);if(a)return void b(jr(a,{replace:!0}),o).catch(Ur);u=o;const r=s.value;var i,c;Nr&&(i=si(r.fullPath,n.delta),c=ri(),ui.set(i,c)),_(o,r).catch((e=>wi(e,12)?e:wi(e,2)?(b(e.to,o).then((e=>{wi(e,20)&&!n.delta&&n.type===Yr.pop&&l.go(-1,!1)})).catch(Ur),Promise.reject()):(n.delta&&l.go(-n.delta,!1),L(e,o,r)))).then((e=>{(e=e||k(o,r,!1))&&(n.delta&&!wi(e,8)?l.go(-n.delta,!1):n.type===Yr.pop&&wi(e,20)&&l.go(-1,!1)),w(o,r,e)})).catch(Ur)})))}let C,E=us(),q=us();function L(e,t,n){T(e);const o=q.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function T(e){return C||(C=!e,x(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function F(t,n,o,l){const{scrollBehavior:a}=e;if(!Nr||!a)return Promise.resolve();const r=!o&&function(e){const t=ui.get(e);return ui.delete(e),t}(si(t.fullPath,0))||(l||!o)&&history.state&&history.state.scroll||null;return zt().then((()=>a(t,n,r))).then((e=>e&&ii(e))).catch((e=>L(e,t,n)))}const R=e=>l.go(e);let O;const P=new Set,A={currentRoute:s,listening:!0,addRoute:function(e,n){let o,l;return hi(e)?(o=t.getRecordMatcher(e),l=n):l=e,t.addRoute(l,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:m,replace:function(e){return m(jr(v(e),{replace:!0}))},go:R,back:()=>R(-1),forward:()=>R(1),beforeEach:a.add,beforeResolve:r.add,afterEach:i.add,onError:q.add,isReady:function(){return C&&s.value!==mi?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",fs),e.component("RouterView",gs),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>St(s)}),Nr&&!O&&s.value===mi&&(O=!0,m(l.location).catch((e=>{})));const t={};for(const o in mi)t[o]=Ol((()=>s.value[o]));e.provide(rs,this),e.provide(is,rt(t)),e.provide(ss,s);const n=e.unmount;P.add(e),e.unmount=function(){P.delete(e),P.size<1&&(u=mi,S&&S(),S=null,s.value=mi,O=!1,C=!1),n()}}};return A}function ys(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}const _s=e=>vt(Rn(e)),ws="undefined"!=typeof ResizeObserver,ks=!0===ws?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var Ss=_s({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n,o=null,l={width:-1,height:-1};function a(t){!0===t||0===e.debounce||"0"===e.debounce?r():null===o&&(o=setTimeout(r,e.debounce))}function r(){if(null!==o&&(clearTimeout(o),o=null),n){const{offsetWidth:e,offsetHeight:o}=n;e===l.width&&o===l.height||(l={width:e,height:o},t("resize",l))}}const{proxy:i}=xl();if(!0===ws){let e;const t=o=>{n=i.$el.parentNode,n?(e=new ResizeObserver(a),e.observe(n),r()):!0!==o&&zt((()=>{t(!0)}))};return Nn((()=>{t()})),Un((()=>{null!==o&&clearTimeout(o),void 0!==e&&(void 0!==e.disconnect?e.disconnect():n&&e.unobserve(n))})),Za}{let e=function(){null!==o&&(clearTimeout(o),o=null),void 0!==s&&(void 0!==s.removeEventListener&&s.removeEventListener("resize",a,Ja.passive),s=void 0)},t=function(){e(),n&&n.contentDocument&&(s=n.contentDocument.defaultView,s.addEventListener("resize",a,Ja.passive),r())};const l=function(){const e=_t(!ja.value);return!1===e.value&&Nn((()=>{e.value=!0})),e}();let s;return Nn((()=>{zt((()=>{n=i.$el,n&&t()}))})),Un(e),i.trigger=a,()=>{if(!0===l.value)return Pl("object",{style:ks.style,tabindex:-1,type:"text/html",data:ks.url,"aria-hidden":"true",onLoad:t})}}}});function xs(e,t){return void 0!==e&&e()||t}function Cs(e,t){if(void 0!==e){const t=e();if(null!=t)return t.slice()}return t}function Es(e,t){return void 0!==e?t.concat(e()):t}var qs=_s({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=xl(),l=mn("_q_l_",Cr);if(l===Cr)return console.error("QHeader needs to be child of QLayout"),Cr;const a=_t(parseInt(e.heightHint,10)),r=_t(!0),i=Ol((()=>!0===e.reveal||l.view.value.indexOf("H")>-1||o.platform.is.ios&&!0===l.isContainer.value)),s=Ol((()=>{if(!0!==e.modelValue)return 0;if(!0===i.value)return!0===r.value?a.value:0;const t=a.value-l.scroll.value.position;return t>0?t:0})),u=Ol((()=>!0!==e.modelValue||!0===i.value&&!0!==r.value)),c=Ol((()=>!0===e.modelValue&&!0===u.value&&!0===e.reveal)),d=Ol((()=>"q-header q-layout__section--marginal "+(!0===i.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===u.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),p=Ol((()=>{const e=l.rows.value.top,t={};return"l"===e[0]&&!0===l.left.space&&(t[!0===o.lang.rtl?"right":"left"]=`${l.left.size}px`),"r"===e[2]&&!0===l.right.space&&(t[!0===o.lang.rtl?"left":"right"]=`${l.right.size}px`),t}));function f(e,t){l.update("header",e,t)}function v(e,t){e.value!==t&&(e.value=t)}function h({height:e}){v(a,e),f("size",e)}function m(e){!0===c.value&&v(r,!0),n("focusin",e)}bn((()=>e.modelValue),(e=>{f("space",e),v(r,!0),l.animate()})),bn(s,(e=>{f("offset",e)})),bn((()=>e.reveal),(t=>{!1===t&&v(r,e.modelValue)})),bn(r,(e=>{l.animate(),n("reveal",e)})),bn(l.scroll,(t=>{!0===e.reveal&&v(r,"up"===t.direction||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)}));const g={};return l.instances.header=g,!0===e.modelValue&&f("size",a.value),f("space",e.modelValue),f("offset",s.value),Un((()=>{l.instances.header===g&&(l.instances.header=void 0,f("size",0),f("offset",0),f("space",!1))})),()=>{const n=Cs(t.default,[]);return!0===e.elevated&&n.push(Pl("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push(Pl(Ss,{debounce:0,onResize:h})),Pl("header",{class:d.value,style:p.value,onFocusin:m},n)}}}),Ls=_s({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=xl(),o=mn("_q_l_",Cr);if(o===Cr)return console.error("QPage needs to be a deep child of QLayout"),Cr;if(mn("_q_pc_",Cr)===Cr)return console.error("QPage needs to be child of QPageContainer"),Cr;const l=Ol((()=>{const t=(!0===o.header.space?o.header.size:0)+(!0===o.footer.space?o.footer.size:0);if("function"==typeof e.styleFn){const l=!0===o.isContainer.value?o.containerHeight.value:n.screen.height;return e.styleFn(t,l)}return{minHeight:!0===o.isContainer.value?o.containerHeight.value-t+"px":0===n.screen.height?0!==t?`calc(100vh - ${t}px)`:"100vh":n.screen.height-t+"px"}})),a=Ol((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>Pl("main",{class:a.value,style:l.value},xs(t.default))}}),Ts=_s({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=xl(),o=mn("_q_l_",Cr);if(o===Cr)return console.error("QPageContainer needs to be child of QLayout"),Cr;hn("_q_pc_",!0);const l=Ol((()=>{const e={};return!0===o.header.space&&(e.paddingTop=`${o.header.size}px`),!0===o.right.space&&(e["padding"+(!0===n.lang.rtl?"Left":"Right")]=`${o.right.size}px`),!0===o.footer.space&&(e.paddingBottom=`${o.footer.size}px`),!0===o.left.space&&(e["padding"+(!0===n.lang.rtl?"Right":"Left")]=`${o.left.size}px`),e}));return()=>Pl("div",{class:"q-page-container",style:l.value},xs(t.default))}});function Fs(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function Rs(e,t){if(null==e||!0===e.contains(t))return!0;for(let n=e.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}const Os=[null,document,document.body,document.scrollingElement,document.documentElement];function Ps(e,t){let n=function(e){if(null==e)return;if("string"==typeof e)try{return document.querySelector(e)||void 0}catch(n){return}const t=St(e);return t?t.$el||t:void 0}(t);if(void 0===n){if(null==e)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Os.includes(n)?window:n}function As(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function Vs(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let Ms;function Bs(){if(void 0!==Ms)return Ms;const e=document.createElement("p"),t=document.createElement("div");Fs(e,{width:"100%",height:"200px"}),Fs(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),Ms=n-o,Ms}function Is(e,t=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}const{passive:$s}=Ja,zs=["both","horizontal","vertical"];var Ns=_s({name:"QScrollObserver",props:{axis:{type:String,validator:e=>zs.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let o,l,a=null;function r(){null!==a&&a();const l=Math.max(0,As(o)),r=Vs(o),i={top:l-n.position.top,left:r-n.position.left};if("vertical"===e.axis&&0===i.top||"horizontal"===e.axis&&0===i.left)return;const s=Math.abs(i.top)>=Math.abs(i.left)?i.top<0?"up":"down":i.left<0?"left":"right";n.position={top:l,left:r},n.directionChanged=n.direction!==s,n.delta=i,!0===n.directionChanged&&(n.direction=s,n.inflectionPoint=n.position),t("scroll",{...n})}function i(){o=Ps(l,e.scrollTarget),o.addEventListener("scroll",u,$s),u(!0)}function s(){void 0!==o&&(o.removeEventListener("scroll",u,$s),o=void 0)}function u(t){if(!0===t||0===e.debounce||"0"===e.debounce)r();else if(null===a){const[t,n]=e.debounce?[setTimeout(r,e.debounce),clearTimeout]:[requestAnimationFrame(r),cancelAnimationFrame];a=()=>{n(t),a=null}}}bn((()=>e.scrollTarget),(()=>{s(),i()}));const{proxy:c}=xl();return bn((()=>c.$q.lang.rtl),r),Nn((()=>{l=c.$el.parentNode,i()})),Un((()=>{null!==a&&a(),s()})),Object.assign(c,{trigger:u,getPosition:()=>n}),Za}}),js=_s({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=xl(),l=_t(null),a=_t(o.screen.height),r=_t(!0===e.container?0:o.screen.width),i=_t({position:0,direction:"down",inflectionPoint:0}),s=_t(0),u=_t(!0===ja.value?0:Bs()),c=Ol((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),d=Ol((()=>!1===e.container?{minHeight:o.screen.height+"px"}:null)),p=Ol((()=>0!==u.value?{[!0===o.lang.rtl?"left":"right"]:`${u.value}px`}:null)),f=Ol((()=>0!==u.value?{[!0===o.lang.rtl?"right":"left"]:0,[!0===o.lang.rtl?"left":"right"]:`-${u.value}px`,width:`calc(100% + ${u.value}px)`}:null));function v(t){if(!0===e.container||!0!==document.qScrollPrevented){const o={position:t.position.top,direction:t.direction,directionChanged:t.directionChanged,inflectionPoint:t.inflectionPoint.top,delta:t.delta.top};i.value=o,void 0!==e.onScroll&&n("scroll",o)}}function h(t){const{height:o,width:l}=t;let i=!1;a.value!==o&&(i=!0,a.value=o,void 0!==e.onScrollHeight&&n("scrollHeight",o),g()),r.value!==l&&(i=!0,r.value=l),!0===i&&void 0!==e.onResize&&n("resize",t)}function m({height:e}){s.value!==e&&(s.value=e,g())}function g(){if(!0===e.container){const e=a.value>s.value?Bs():0;u.value!==e&&(u.value=e)}}let b=null;const y={instances:{},view:Ol((()=>e.view)),isContainer:Ol((()=>e.container)),rootRef:l,height:a,containerHeight:s,scrollbarWidth:u,totalWidth:Ol((()=>r.value+u.value)),rows:Ol((()=>{const t=e.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}})),header:rt({size:0,offset:0,space:!1}),right:rt({size:300,offset:0,space:!1}),footer:rt({size:0,offset:0,space:!1}),left:rt({size:300,offset:0,space:!1}),scroll:i,animate(){null!==b?clearTimeout(b):document.body.classList.add("q-body--layout-animate"),b=setTimeout((()=>{b=null,document.body.classList.remove("q-body--layout-animate")}),155)},update(e,t,n){y[e][t]=n}};if(hn("_q_l_",y),Bs()>0){let t=function(){a=null,r.classList.remove("hide-scrollbar")},n=function(){if(null===a){if(r.scrollHeight>o.screen.height)return;r.classList.add("hide-scrollbar")}else clearTimeout(a);a=setTimeout(t,300)},l=function(e){null!==a&&"remove"===e&&(clearTimeout(a),t()),window[`${e}EventListener`]("resize",n)},a=null;const r=document.body;bn((()=>!0!==e.container?"add":"remove"),l),!0!==e.container&&l("add"),Hn((()=>{l("remove")}))}return()=>{const n=Es(t.default,[Pl(Ns,{onScroll:v}),Pl(Ss,{onResize:h})]),o=Pl("div",{class:c.value,style:d.value,ref:!0===e.container?void 0:l,tabindex:-1},n);return!0===e.container?Pl("div",{class:"q-layout-container overflow-hidden",ref:l},[Pl(Ss,{onResize:m}),Pl("div",{class:"absolute-full",style:p.value},[Pl("div",{class:"scroll",style:f.value},[o])])]):o}}});const Ds=Pl("div",{class:"q-space"});var Us=_s({name:"QSpace",setup:()=>()=>Ds});const Hs={xs:18,sm:24,md:32,lg:38,xl:46},Ws={size:String};function Ks(e,t=Hs){return Ol((()=>void 0!==e.size?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null))}const Qs="0 0 24 24",Gs=e=>e,Js=e=>`ionicons ${e}`,Zs={"mdi-":e=>`mdi ${e}`,"icon-":Gs,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Js,"ion-ios":Js,"ion-logo":Js,"iconfont ":Gs,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},Xs={o_:"-outlined",r_:"-round",s_:"-sharp"},Ys={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},eu=new RegExp("^("+Object.keys(Zs).join("|")+")"),tu=new RegExp("^("+Object.keys(Xs).join("|")+")"),nu=new RegExp("^("+Object.keys(Ys).join("|")+")"),ou=/^[Mm]\s?[-+]?\.?\d/,lu=/^img:/,au=/^svguse:/,ru=/^ion-/,iu=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var su=_s({name:"QIcon",props:{...Ws,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=xl(),o=Ks(e),l=Ol((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),a=Ol((()=>{let t,o=e.name;if("none"===o||!o)return{none:!0};if(null!==n.iconMapFn){const e=n.iconMapFn(o);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(o=e.icon,"none"===o||!o)return{none:!0}}}if(!0===ou.test(o)){const[e,t=Qs]=o.split("|");return{svg:!0,viewBox:t,nodes:e.split("&&").map((e=>{const[t,n,o]=e.split("@@");return Pl("path",{style:n,d:t,transform:o})}))}}if(!0===lu.test(o))return{img:!0,src:o.substring(4)};if(!0===au.test(o)){const[e,t=Qs]=o.split("|");return{svguse:!0,src:e.substring(7),viewBox:t}}let l=" ";const a=o.match(eu);if(null!==a)t=Zs[a[1]](o);else if(!0===iu.test(o))t=o;else if(!0===ru.test(o))t=`ionicons ion-${!0===n.platform.is.ios?"ios":"md"}${o.substring(3)}`;else if(!0===nu.test(o)){t="notranslate material-symbols";const e=o.match(nu);null!==e&&(o=o.substring(6),t+=Ys[e[1]]),l=o}else{t="notranslate material-icons";const e=o.match(tu);null!==e&&(o=o.substring(2),t+=Xs[e[1]]),l=o}return{cls:t,content:l}}));return()=>{const n={class:l.value,style:o.value,"aria-hidden":"true",role:"presentation"};return!0===a.value.none?Pl(e.tag,n,xs(t.default)):!0===a.value.img?Pl("span",n,Es(t.default,[Pl("img",{src:a.value.src})])):!0===a.value.svg?Pl("span",n,Es(t.default,[Pl("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):!0===a.value.svguse?Pl("span",n,Es(t.default,[Pl("svg",{viewBox:a.value.viewBox},[Pl("use",{"xlink:href":a.value.src})])])):(void 0!==a.value.cls&&(n.class+=" "+a.value.cls),Pl(e.tag,n,Es(t.default,[a.value.content])))}}});const uu={dark:{type:Boolean,default:null}};function cu(e,t){return Ol((()=>null===e.dark?t.dark.isActive:e.dark))}const du={name:String};function pu(e){return Ol((()=>e.name||e.for))}var fu={xs:30,sm:35,md:40,lg:50,xl:60};const vu={...uu,...Ws,...du,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},hu=["update:modelValue"];function mu(e,t){const{props:n,slots:o,emit:l,proxy:a}=xl(),{$q:r}=a,i=cu(n,r),s=_t(null),{refocusTargetEl:u,refocusTarget:c}=function(e,t){const n=_t(null);return{refocusTargetEl:Ol((()=>!0===e.disable?null:Pl("span",{ref:n,class:"no-outline",tabindex:-1}))),refocusTarget:function(e){const o=t.value;void 0!==e&&0===e.type.indexOf("key")?null!==o&&document.activeElement!==o&&!0===o.contains(document.activeElement)&&o.focus():null!==n.value&&(void 0===e||null!==o&&!0===o.contains(e.target))&&n.value.focus()}}}(n,s),d=Ks(n,fu),p=Ol((()=>void 0!==n.val&&Array.isArray(n.modelValue))),f=Ol((()=>{const e=ft(n.val);return!0===p.value?n.modelValue.findIndex((t=>ft(t)===e)):-1})),v=Ol((()=>!0===p.value?f.value>-1:ft(n.modelValue)===ft(n.trueValue))),h=Ol((()=>!0===p.value?-1===f.value:ft(n.modelValue)===ft(n.falseValue))),m=Ol((()=>!1===v.value&&!1===h.value)),g=Ol((()=>!0===n.disable?-1:n.tabindex||0)),b=Ol((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===n.disable?" disabled":"")+(!0===i.value?` q-${e}--dark`:"")+(!0===n.dense?` q-${e}--dense`:"")+(!0===n.leftLabel?" reverse":""))),y=Ol((()=>{const t=!0===v.value?"truthy":!0===h.value?"falsy":"indet",o=void 0===n.color||!0!==n.keepColor&&("toggle"===e?!0!==v.value:!0===h.value)?"":` text-${n.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${t}${o}`})),_=function(e={}){return(t,n,o)=>{t[n](Pl("input",{class:"hidden"+(o||""),...e.value}))}}(Ol((()=>{const e={type:"checkbox"};return void 0!==n.name&&Object.assign(e,{".checked":v.value,"^checked":!0===v.value?"checked":void 0,name:n.name,value:!0===p.value?n.val:n.trueValue}),e}))),w=Ol((()=>{const t={tabindex:g.value,role:"toggle"===e?"switch":"checkbox","aria-label":n.label,"aria-checked":!0===m.value?"mixed":!0===v.value?"true":"false"};return!0===n.disable&&(t["aria-disabled"]="true"),t}));function k(e){void 0!==e&&(tr(e),c(e)),!0!==n.disable&&l("update:modelValue",function(){if(!0===p.value){if(!0===v.value){const e=n.modelValue.slice();return e.splice(f.value,1),e}return n.modelValue.concat([n.val])}if(!0===v.value){if("ft"!==n.toggleOrder||!1===n.toggleIndeterminate)return n.falseValue}else{if(!0!==h.value)return"ft"!==n.toggleOrder?n.trueValue:n.falseValue;if("ft"===n.toggleOrder||!1===n.toggleIndeterminate)return n.trueValue}return n.indeterminateValue}(),e)}function S(e){13!==e.keyCode&&32!==e.keyCode||tr(e)}function x(e){13!==e.keyCode&&32!==e.keyCode||k(e)}const C=t(v,m);return Object.assign(a,{toggle:k}),()=>{const t=C();!0!==n.disable&&_(t,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const l=[Pl("div",{class:y.value,style:d.value,"aria-hidden":"true"},t)];null!==u.value&&l.push(u.value);const a=void 0!==n.label?Es(o.default,[n.label]):xs(o.default);return void 0!==a&&l.push(Pl("div",{class:`q-${e}__label q-anchor--skip`},a)),Pl("div",{ref:s,class:b.value,...w.value,onClick:k,onKeydown:S,onKeyup:x},l)}}var gu=_s({name:"QToggle",props:{...vu,icon:String,iconColor:String},emits:hu,setup:e=>mu("toggle",(function(t,n){const o=Ol((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),l=Ol((()=>!0===t.value?e.iconColor:null));return()=>[Pl("div",{class:"q-toggle__track"}),Pl("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==o.value?[Pl(su,{name:o.value,color:l.value})]:void 0)]}))}),bu=_s({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=Ol((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>Pl("div",{class:n.value,role:"toolbar"},xs(t.default))}});const yu=chrome.runtime.getURL("assets/config.js"),_u=null!=(e=globalThis.browser)?e:globalThis.chrome;const wu={manualSolving:!1,apiKey:"",appId:"",enabledForImageToText:!0,enabledForRecaptchaV3:!0,enabledForHCaptcha:!0,enabledForGeetestV4:!1,recaptchaV3MinScore:.5,enabledForRecaptcha:!0,enabledForFunCaptcha:!0,enabledForDataDome:!1,enabledForAwsCaptcha:!0,useProxy:!1,proxyType:"http",hostOrIp:"",port:"",proxyLogin:"",proxyPassword:"",enabledForBlacklistControl:!1,blackUrlList:[],isInBlackList:!1,reCaptchaMode:"click",reCaptchaDelayTime:0,reCaptchaCollapse:!1,reCaptchaRepeatTimes:10,reCaptcha3Mode:"token",reCaptcha3DelayTime:0,reCaptcha3Collapse:!1,reCaptcha3RepeatTimes:10,reCaptcha3TaskType:"ReCaptchaV3TaskProxyLess",hCaptchaMode:"click",hCaptchaDelayTime:0,hCaptchaCollapse:!1,hCaptchaRepeatTimes:10,funCaptchaMode:"click",funCaptchaDelayTime:0,funCaptchaCollapse:!1,funCaptchaRepeatTimes:10,geetestMode:"click",geetestCollapse:!1,geetestDelayTime:0,geetestRepeatTimes:10,textCaptchaMode:"click",textCaptchaCollapse:!1,textCaptchaDelayTime:0,textCaptchaRepeatTimes:10,enabledForCloudflare:!1,cloudflareMode:"click",cloudflareCollapse:!1,cloudflareDelayTime:0,cloudflareRepeatTimes:10,datadomeMode:"click",datadomeCollapse:!1,datadomeDelayTime:0,datadomeRepeatTimes:10,awsCaptchaMode:"click",awsCollapse:!1,awsDelayTime:0,awsRepeatTimes:10,useCapsolver:!0,isInit:!1,solvedCallback:"captchaSolvedCallback",textCaptchaSourceAttribute:"capsolver-image-to-text-source",textCaptchaResultAttribute:"capsolver-image-to-text-result"},ku={proxyType:["socks5","http","https","socks4"],mode:["click","token"]};async function Su(){const e=await async function(){const e=await _u.storage.local.get("defaultConfig");if(e.defaultConfig)return e.defaultConfig;let t={};const n=["DelayTime","RepeatTimes","port"],o=["enabledFor","useCapsolver","manualSolving","useProxy"],l=await fetch(yu),a=(await l.text()).replace(/\/\*[\s\S]*?\*\/|([^:]|^)\/\/.*$/gm,""),r=a.slice(a.indexOf("{")+1,a.lastIndexOf("}")),i=JSON.stringify(r).replaceAll('\\"',"'").replaceAll("\\n","").replaceAll('"',"").replaceAll(" ",""),s=i.indexOf("blackUrlList"),u=i.slice(s),c=u.indexOf("],");let d=u.slice(0,c+1);i.replace(d,"").split(",").forEach((e=>{const[l,a]=e.split(":");if(l&&a){let e=a.replaceAll("'","").replaceAll('"',"");for(let t=0;t"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>Pl("div",{class:n.value},xs(t.default))}}),qu=_s({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=Ol((()=>parseInt(e.lines,10))),o=Ol((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===n.value?" ellipsis":""))),l=Ol((()=>void 0!==e.lines&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null));return()=>Pl("div",{style:l.value,class:o.value},xs(t.default))}});function Lu(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function Tu(e){return void 0!==e.appContext.config.globalProperties.$router}function Fu(e){return!0===e.isUnmounted||!0===e.isDeactivated}function Ru(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Ou(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pu(e,t){return!0===Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function Au(e,t){return!0===Array.isArray(e)?Pu(e,t):!0===Array.isArray(t)?Pu(t,e):e===t}const Vu={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function Mu({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=xl(),{props:o,proxy:l,emit:a}=n,r=Tu(n),i=Ol((()=>!0!==o.disable&&void 0!==o.href)),s=Ol(!0===t?()=>!0===r&&!0!==o.disable&&!0!==i.value&&void 0!==o.to&&null!==o.to&&""!==o.to:()=>!0===r&&!0!==i.value&&void 0!==o.to&&null!==o.to&&""!==o.to),u=Ol((()=>!0===s.value?b(o.to):null)),c=Ol((()=>null!==u.value)),d=Ol((()=>!0===i.value||!0===c.value)),p=Ol((()=>"a"===o.type||!0===d.value?"a":o.tag||e||"div")),f=Ol((()=>!0===i.value?{href:o.href,target:o.target}:!0===c.value?{href:u.value.href,target:o.target}:{})),v=Ol((()=>{if(!1===c.value)return-1;const{matched:e}=u.value,{length:t}=e,n=e[t-1];if(void 0===n)return-1;const o=l.$route.matched;if(0===o.length)return-1;const a=o.findIndex(Ou.bind(null,n));if(a>-1)return a;const r=Ru(e[t-2]);return t>1&&Ru(n)===r&&o[o.length-1].path!==r?o.findIndex(Ou.bind(null,e[t-2])):a})),h=Ol((()=>!0===c.value&&-1!==v.value&&function(e,t){for(const n in t){const o=t[n],l=e[n];if("string"==typeof o){if(o!==l)return!1}else if(!1===Array.isArray(l)||l.length!==o.length||o.some(((e,t)=>e!==l[t])))return!1}return!0}(l.$route.params,u.value.params))),m=Ol((()=>!0===h.value&&v.value===l.$route.matched.length-1&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!1===Au(e[n],t[n]))return!1;return!0}(l.$route.params,u.value.params))),g=Ol((()=>!0===c.value?!0===m.value?` ${o.exactActiveClass} ${o.activeClass}`:!0===o.exact?"":!0===h.value?` ${o.activeClass}`:"":""));function b(e){try{return l.$router.resolve(e)}catch(t){}return null}function y(e,{returnRouterError:t,to:n=o.to,replace:a=o.replace}={}){if(!0===o.disable)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||void 0!==e.button&&0!==e.button||"_blank"===o.target)return Promise.resolve(!1);e.preventDefault();const r=l.$router[!0===a?"replace":"push"](n);return!0===t?r:r.then((()=>{})).catch((()=>{}))}return{hasRouterLink:c,hasHrefLink:i,hasLink:d,linkTag:p,resolvedLink:u,linkIsActive:h,linkIsExactActive:m,linkClass:g,linkAttrs:f,getLink:b,navigateToRouterLink:y,navigateOnClick:function(e){if(!0===c.value){const t=t=>y(e,t);a("click",e,t),!0!==e.defaultPrevented&&t()}else a("click",e)}}}var Bu=_s({name:"QItem",props:{...uu,...Vu,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=xl(),l=cu(e,o),{hasLink:a,linkAttrs:r,linkClass:i,linkTag:s,navigateOnClick:u}=Mu(),c=_t(null),d=_t(null),p=Ol((()=>!0===e.clickable||!0===a.value||"label"===e.tag)),f=Ol((()=>!0!==e.disable&&!0===p.value)),v=Ol((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===l.value?" q-item--dark":"")+(!0===a.value&&null===e.active?i.value:!0===e.active?" q-item--active"+(void 0!==e.activeClass?` ${e.activeClass}`:""):"")+(!0===e.disable?" disabled":"")+(!0===f.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),h=Ol((()=>{if(void 0===e.insetLevel)return null;return{["padding"+(!0===o.lang.rtl?"Right":"Left")]:16+56*e.insetLevel+"px"}}));function m(e){!0===f.value&&(null!==d.value&&(!0!==e.qKeyEvent&&document.activeElement===c.value?d.value.focus():document.activeElement===d.value&&c.value.focus()),u(e))}function g(e){if(!0===f.value&&!0===_r(e,13)){tr(e),e.qKeyEvent=!0;const t=new MouseEvent("click",e);t.qKeyEvent=!0,c.value.dispatchEvent(t)}n("keyup",e)}return()=>{const n={ref:c,class:v.value,style:h.value,role:"listitem",onClick:m,onKeyup:g};return!0===f.value?(n.tabindex=e.tabindex||"0",Object.assign(n,r.value)):!0===p.value&&(n["aria-disabled"]="true"),Pl(s.value,n,function(){const e=Cs(t.default,[]);return!0===f.value&&e.unshift(Pl("div",{class:"q-focus-helper",tabindex:-1,ref:d})),e}())}}});const Iu={size:{type:[Number,String],default:"1em"},color:String};function $u(e){return{cSize:Ol((()=>e.size in Hs?`${Hs[e.size]}px`:e.size)),classes:Ol((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}var zu=_s({name:"QSpinner",props:{...Iu,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=$u(e);return()=>Pl("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[Pl("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});const Nu=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,ju=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Du=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Uu=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Hu=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Wu={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Nu.test(e),hexaColor:e=>ju.test(e),hexOrHexaColor:e=>Du.test(e),rgbColor:e=>Uu.test(e),rgbaColor:e=>Hu.test(e),rgbOrRgbaColor:e=>Uu.test(e)||Hu.test(e),hexOrRgbColor:e=>Nu.test(e)||Uu.test(e),hexaOrRgbaColor:e=>ju.test(e)||Hu.test(e),anyColor:e=>Du.test(e)||Uu.test(e)||Hu.test(e)},Ku=[!0,!1,"ondemand"],Qu={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>Ku.includes(e)}};function Gu(e,t){const{props:n,proxy:o}=xl(),l=_t(!1),a=_t(null),r=_t(null);!function({validate:e,resetValidation:t,requiresQForm:n}){const o=mn("_q_fo_",!1);if(!1!==o){const{props:n,proxy:l}=xl();Object.assign(l,{validate:e,resetValidation:t}),bn((()=>n.disable),(e=>{!0===e?("function"==typeof t&&t(),o.unbindComponent(l)):o.bindComponent(l)})),Nn((()=>{!0!==n.disable&&o.bindComponent(l)})),Un((()=>{!0!==n.disable&&o.unbindComponent(l)}))}else!0===n&&console.error("Parent QForm not found on useFormChild()!")}({validate:v,resetValidation:f});let i,s=0;const u=Ol((()=>void 0!==n.rules&&null!==n.rules&&n.rules.length>0)),c=Ol((()=>!0!==n.disable&&!0===u.value)),d=Ol((()=>!0===n.error||!0===l.value)),p=Ol((()=>"string"==typeof n.errorMessage&&n.errorMessage.length>0?n.errorMessage:a.value));function f(){s++,t.value=!1,r.value=null,l.value=!1,a.value=null,m.cancel()}function v(e=n.modelValue){if(!0!==c.value)return!0;const o=++s,i=!0!==t.value?()=>{r.value=!0}:()=>{},u=(e,n)=>{!0===e&&i(),l.value=e,a.value=n||null,t.value=!1},d=[];for(let t=0;t{if(void 0===e||!1===Array.isArray(e)||0===e.length)return o===s&&u(!1),!0;const t=e.find((e=>!1===e||"string"==typeof e));return o===s&&u(void 0!==t,t),void 0===t}),(e=>(o===s&&(console.error(e),u(!0)),!1))))}function h(e){!0===c.value&&"ondemand"!==n.lazyRules&&(!0===r.value||!0!==n.lazyRules&&!0!==e)&&m()}bn((()=>n.modelValue),(()=>{h()})),bn((()=>n.reactiveRules),(e=>{!0===e?void 0===i&&(i=bn((()=>n.rules),(()=>{h(!0)}))):void 0!==i&&(i(),i=void 0)}),{immediate:!0}),bn(e,(e=>{!0===e?null===r.value&&(r.value=!1):!1===r.value&&(r.value=!0,!0===c.value&&"ondemand"!==n.lazyRules&&!1===t.value&&m())}));const m=lr(v,0);return Un((()=>{void 0!==i&&i(),m.cancel()})),Object.assign(o,{resetValidation:f,validate:v}),Na(o,"hasError",(()=>d.value)),{isDirtyModel:r,hasRules:u,hasError:d,errorMessage:p,validate:v,resetValidation:f}}const Ju=/^on[A-Z]/;function Zu(e,t){const n={listeners:_t({}),attributes:_t({})};function o(){const o={},l={};for(const t in e)"class"!==t&&"style"!==t&&!1===Ju.test(t)&&(o[t]=e[t]);for(const e in t.props)!0===Ju.test(e)&&(l[e]=t.props[e]);n.attributes.value=o,n.listeners.value=l}return jn(o),o(),n}let Xu=[],Yu=[];function ec(e){Yu=Yu.filter((t=>t!==e))}function tc(e){ec(e),0===Yu.length&&Xu.length>0&&(Xu[Xu.length-1](),Xu=[])}function nc(e){0===Yu.length?e():Xu.push(e)}function oc(e){return void 0===e?`f_${_a()}`:e}function lc(e){return null!=e&&(""+e).length>0}const ac={...uu,...Qu,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},rc=["update:modelValue","clear","focus","blur","popupShow","popupHide"];function ic(){const{props:e,attrs:t,proxy:n,vnode:o}=xl();return{isDark:cu(e,n.$q),editable:Ol((()=>!0!==e.disable&&!0!==e.readonly)),innerLoading:_t(!1),focused:_t(!1),hasPopupOpen:!1,splitAttrs:Zu(t,o),targetUid:_t(oc(e.for)),rootRef:_t(null),targetRef:_t(null),controlRef:_t(null)}}function sc(e){const{props:t,emit:n,slots:o,attrs:l,proxy:a}=xl(),{$q:r}=a;let i=null;void 0===e.hasValue&&(e.hasValue=Ol((()=>lc(t.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{n("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:x,onFocusout:C}),Object.assign(e,{clearValue:E,onControlFocusin:x,onControlFocusout:C,focus:S}),void 0===e.computedCounter&&(e.computedCounter=Ol((()=>{if(!1!==t.counter){const e="string"==typeof t.modelValue||"number"==typeof t.modelValue?(""+t.modelValue).length:!0===Array.isArray(t.modelValue)?t.modelValue.length:0,n=void 0!==t.maxlength?t.maxlength:t.maxValues;return e+(void 0!==n?" / "+n:"")}})));const{isDirtyModel:s,hasRules:u,hasError:c,errorMessage:d,resetValidation:p}=Gu(e.focused,e.innerLoading),f=void 0!==e.floatingLabel?Ol((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):Ol((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),v=Ol((()=>!0===t.bottomSlots||void 0!==t.hint||!0===u.value||!0===t.counter||null!==t.error)),h=Ol((()=>!0===t.filled?"filled":!0===t.outlined?"outlined":!0===t.borderless?"borderless":t.standout?"standout":"standard")),m=Ol((()=>`q-field row no-wrap items-start q-field--${h.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===t.rounded?" q-field--rounded":"")+(!0===t.square?" q-field--square":"")+(!0===f.value?" q-field--float":"")+(!0===b.value?" q-field--labeled":"")+(!0===t.dense?" q-field--dense":"")+(!0===t.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===c.value?" q-field--error":"")+(!0===c.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==t.hideBottomSpace&&!0===v.value?" q-field--with-bottom":"")+(!0===t.disable?" q-field--disabled":!0===t.readonly?" q-field--readonly":""))),g=Ol((()=>"q-field__control relative-position row no-wrap"+(void 0!==t.bgColor?` bg-${t.bgColor}`:"")+(!0===c.value?" text-negative":"string"==typeof t.standout&&t.standout.length>0&&!0===e.focused.value?` ${t.standout}`:void 0!==t.color?` text-${t.color}`:""))),b=Ol((()=>!0===t.labelSlot||void 0!==t.label)),y=Ol((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==t.labelColor&&!0!==c.value?` text-${t.labelColor}`:""))),_=Ol((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:f.value,modelValue:t.modelValue,emitValue:e.emitValue}))),w=Ol((()=>{const n={for:e.targetUid.value};return!0===t.disable?n["aria-disabled"]="true":!0===t.readonly&&(n["aria-readonly"]="true"),n}));function k(){const t=document.activeElement;let n=void 0!==e.targetRef&&e.targetRef.value;!n||null!==t&&t.id===e.targetUid.value||(!0===n.hasAttribute("tabindex")||(n=n.querySelector("[tabindex]")),n&&n!==t&&n.focus({preventScroll:!0}))}function S(){nc(k)}function x(t){null!==i&&(clearTimeout(i),i=null),!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,n("focus",t))}function C(t,o){null!==i&&clearTimeout(i),i=setTimeout((()=>{i=null,(!0!==document.hasFocus()||!0!==e.hasPopupOpen&&void 0!==e.controlRef&&null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement))&&(!0===e.focused.value&&(e.focused.value=!1,n("blur",t)),void 0!==o&&o())}))}function E(o){if(tr(o),!0!==r.platform.is.mobile){(void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value).focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===t.type&&(e.inputRef.value.value=null),n("update:modelValue",null),n("clear",t.modelValue),zt((()=>{p(),!0!==r.platform.is.mobile&&(s.value=!1)}))}function q(){const n=[];return void 0!==o.prepend&&n.push(Pl("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:er},o.prepend())),n.push(Pl("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},function(){const n=[];void 0!==t.prefix&&null!==t.prefix&&n.push(Pl("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&n.push(e.getShadowControl());void 0!==e.getControl?n.push(e.getControl()):void 0!==o.rawControl?n.push(o.rawControl()):void 0!==o.control&&n.push(Pl("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0},o.control(_.value)));return!0===b.value&&n.push(Pl("div",{class:y.value},xs(o.label,t.label))),void 0!==t.suffix&&null!==t.suffix&&n.push(Pl("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),n.concat(xs(o.default))}())),!0===c.value&&!1===t.noErrorIcon&&n.push(T("error",[Pl(su,{name:r.iconSet.field.error,color:"negative"})])),!0===t.loading||!0===e.innerLoading.value?n.push(T("inner-loading-append",void 0!==o.loading?o.loading():[Pl(zu,{color:t.color})])):!0===t.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&n.push(T("inner-clearable-append",[Pl(su,{class:"q-field__focusable-action",tag:"button",name:t.clearIcon||r.iconSet.field.clear,tabindex:0,type:"button","aria-hidden":null,role:null,onClick:E})])),void 0!==o.append&&n.push(Pl("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:er},o.append())),void 0!==e.getInnerAppend&&n.push(T("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&n.push(e.getControlChild()),n}function L(){let n,l;!0===c.value?null!==d.value?(n=[Pl("div",{role:"alert"},d.value)],l=`q--slot-error-${d.value}`):(n=xs(o.error),l="q--slot-error"):!0===t.hideHint&&!0!==e.focused.value||(void 0!==t.hint?(n=[Pl("div",t.hint)],l=`q--slot-hint-${t.hint}`):(n=xs(o.hint),l="q--slot-hint"));const a=!0===t.counter||void 0!==o.counter;if(!0===t.hideBottomSpace&&!1===a&&void 0===n)return;const r=Pl("div",{key:l,class:"q-field__messages col"},n);return Pl("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==t.hideBottomSpace?"animated":"stale"),onClick:er},[!0===t.hideBottomSpace?r:Pl(Zl,{name:"q-transition--field-message"},(()=>r)),!0===a?Pl("div",{class:"q-field__counter"},void 0!==o.counter?o.counter():e.computedCounter.value):null])}function T(e,t){return null===t?null:Pl("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},t)}bn((()=>t.for),(t=>{e.targetUid.value=oc(t)}));let F=!1;return Vn((()=>{F=!0})),An((()=>{!0===F&&!0===t.autofocus&&a.focus()})),Nn((()=>{!0===ja.value&&void 0===t.for&&(e.targetUid.value=oc()),!0===t.autofocus&&a.focus()})),Un((()=>{null!==i&&clearTimeout(i)})),Object.assign(a,{focus:S,blur:function(){var t;t=k,Xu=Xu.filter((e=>e!==t));const n=document.activeElement;null!==n&&e.rootRef.value.contains(n)&&n.blur()}}),function(){const n=void 0===e.getControl&&void 0===o.control?{...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0,...w.value}:w.value;return Pl("label",{ref:e.rootRef,class:[m.value,l.class],style:l.style,...n},[void 0!==o.before?Pl("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:er},o.before()):null,Pl("div",{class:"q-field__inner relative-position col self-stretch"},[Pl("div",{ref:e.controlRef,class:g.value,tabindex:-1,...e.controlEvents},q()),!0===v.value?L():null]),void 0!==o.after?Pl("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:er},o.after()):null])}}var uc=_s({name:"QField",inheritAttrs:!1,props:ac,emits:rc,setup:()=>sc(ic())});function cc(e,t=250){let n,o=!1;return function(){return!1===o&&(o=!0,setTimeout((()=>{o=!1}),t),n=e.apply(this,arguments)),n}}function dc(e,t,n,o){!0===n.modifiers.stop&&Ya(e);const l=n.modifiers.color;let a=n.modifiers.center;a=!0===a||!0===o;const r=document.createElement("span"),i=document.createElement("span"),s=Xa(e),{left:u,top:c,width:d,height:p}=t.getBoundingClientRect(),f=Math.sqrt(d*d+p*p),v=f/2,h=(d-f)/2+"px",m=a?h:s.left-u-v+"px",g=(p-f)/2+"px",b=a?g:s.top-c-v+"px";i.className="q-ripple__inner",Fs(i,{height:`${f}px`,width:`${f}px`,transform:`translate3d(${m},${b},0) scale3d(.2,.2,1)`,opacity:0}),r.className="q-ripple"+(l?" text-"+l:""),r.setAttribute("dir","ltr"),r.appendChild(i),t.appendChild(r);const y=()=>{r.remove(),clearTimeout(_)};n.abort.push(y);let _=setTimeout((()=>{i.classList.add("q-ripple__inner--enter"),i.style.transform=`translate3d(${h},${g},0) scale3d(1,1,1)`,i.style.opacity=.2,_=setTimeout((()=>{i.classList.remove("q-ripple__inner--enter"),i.classList.add("q-ripple__inner--leave"),i.style.opacity=0,_=setTimeout((()=>{r.remove(),n.abort.splice(n.abort.indexOf(y),1)}),275)}),250)}),50)}function pc(e,{modifiers:t,value:n,arg:o}){const l=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:!0===l.early,stop:!0===l.stop,center:!0===l.center,color:l.color||o,keyCodes:[].concat(l.keyCodes||13)}}var fc=vt({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(!1===n.ripple)return;const o={cfg:n,enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===o.enabled&&!0!==t.qSkipRipple&&t.type===(!0===o.modifiers.early?"pointerdown":"click")&&dc(t,e,o,!0===t.qKeyEvent)},keystart:cc((t=>{!0===o.enabled&&!0!==t.qSkipRipple&&!0===_r(t,o.modifiers.keyCodes)&&t.type==="key"+(!0===o.modifiers.early?"down":"up")&&dc(t,e,o,!0)}),300)};pc(o,t),e.__qripple=o,nr(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;void 0!==n&&(n.enabled=!1!==t.value,!0===n.enabled&&Object(t.value)===t.value&&pc(n,t))}},beforeUnmount(e){const t=e.__qripple;void 0!==t&&(t.abort.forEach((e=>{e()})),or(t,"main"),delete e._qripple)}});const vc={xs:8,sm:10,md:14,lg:20,xl:24};var hc=_s({name:"QChip",props:{...uu,...Ws,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=xl(),l=cu(e,o),a=Ks(e,vc),r=Ol((()=>!0===e.selected||void 0!==e.icon)),i=Ol((()=>!0===e.selected?e.iconSelected||o.iconSet.chip.selected:e.icon)),s=Ol((()=>e.iconRemove||o.iconSet.chip.remove)),u=Ol((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),c=Ol((()=>{const t=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(t?` text-${t} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===u.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===l.value?" q-chip--dark q-dark":"")})),d=Ol((()=>{const t=!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0};return{chip:t,remove:{...t,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove}}}));function p(e){13===e.keyCode&&f(e)}function f(t){e.disable||(n("update:selected",!e.selected),n("click",t))}function v(t){void 0!==t.keyCode&&13!==t.keyCode||(tr(t),!1===e.disable&&(n("update:modelValue",!1),n("remove")))}return()=>{if(!1===e.modelValue)return;const n={class:c.value,style:a.value};return!0===u.value&&Object.assign(n,d.value.chip,{onClick:f,onKeyup:p}),function(e,t,n,o,l,a){t.key=o+l;const r=Pl(e,t,n);return!0===l?Jn(r,a()):r}("div",n,function(){const n=[];!0===u.value&&n.push(Pl("div",{class:"q-focus-helper"})),!0===r.value&&n.push(Pl(su,{class:"q-chip__icon q-chip__icon--left",name:i.value}));const o=void 0!==e.label?[Pl("div",{class:"ellipsis"},[e.label])]:void 0;var l,a;return n.push(Pl("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},(l=t.default,a=o,void 0===l?a:void 0!==a?a.concat(l()):l()))),e.iconRight&&n.push(Pl(su,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&n.push(Pl(su,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:s.value,...d.value.remove,onClick:v,onKeyup:v})),n}(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[fc,e.ripple]]))}}});const mc={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function gc({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:l,emit:a}=xl(),r=_t(null);let i=null;function s(e){return null!==r.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const u={};function c(){or(u,"anchor")}function d(){if(!1===o.target||""===o.target||null===l.$el.parentNode)r.value=null;else if(!0===o.target)!function(e){for(r.value=e;r.value.classList.contains("q-anchor--skip");)r.value=r.value.parentNode;n()}(l.$el.parentNode);else{let t=o.target;if("string"==typeof o.target)try{t=document.querySelector(o.target)}catch(e){t=void 0}null!=t?(r.value=t.$el||t,n()):(r.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return void 0===n&&(Object.assign(u,{hide(e){l.hide(e)},toggle(e){l.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===_r(e,13)&&u.toggle(e)},contextClick(e){l.hide(e),er(e),zt((()=>{l.show(e),e.qAnchorHandled=!0}))},prevent:er,mobileTouch(e){if(u.mobileCleanup(e),!0!==s(e))return;l.hide(e),r.value.classList.add("non-selectable");const t=e.target;nr(u,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[r.value,"contextmenu","prevent","notPassive"]]),i=setTimeout((()=>{i=null,l.show(e),e.qAnchorHandled=!0}),300)},mobileCleanup(t){r.value.classList.remove("non-selectable"),null!==i&&(clearTimeout(i),i=null),!0===e.value&&void 0!==t&&function(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==Qa.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}()}}),n=function(e=o.contextMenu){if(!0===o.noParentEvent||null===r.value)return;let t;t=!0===e?!0===l.$q.platform.is.mobile?[[r.value,"touchstart","mobileTouch","passive"]]:[[r.value,"mousedown","hide","passive"],[r.value,"contextmenu","contextClick","notPassive"]]:[[r.value,"click","toggle","passive"],[r.value,"keyup","toggleKey","passive"]],nr(u,"anchor",t)}),bn((()=>o.contextMenu),(e=>{null!==r.value&&(c(),n(e))})),bn((()=>o.target),(()=>{null!==r.value&&c(),d()})),bn((()=>o.noParentEvent),(e=>{null!==r.value&&(!0===e?c():n())})),Nn((()=>{d(),!0!==t&&!0===o.modelValue&&null===r.value&&a("update:modelValue",!1)})),Un((()=>{null!==i&&clearTimeout(i),c()})),{anchorEl:r,canShow:s,anchorEvents:u}}const bc={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},yc=["beforeShow","show","beforeHide","hide"];function _c({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:l,processOnMount:a}){const r=xl(),{props:i,emit:s,proxy:u}=r;let c;function d(e){if(!0===i.disable||void 0!==e&&!0===e.qAnchorHandled||void 0!==t&&!0!==t(e))return;const n=void 0!==i["onUpdate:modelValue"];!0===n&&(s("update:modelValue",!0),c=e,zt((()=>{c===e&&(c=void 0)}))),null!==i.modelValue&&!1!==n||p(e)}function p(t){!0!==e.value&&(e.value=!0,s("beforeShow",t),void 0!==o?o(t):s("show",t))}function f(e){if(!0===i.disable)return;const t=void 0!==i["onUpdate:modelValue"];!0===t&&(s("update:modelValue",!1),c=e,zt((()=>{c===e&&(c=void 0)}))),null!==i.modelValue&&!1!==t||v(e)}function v(t){!1!==e.value&&(e.value=!1,s("beforeHide",t),void 0!==l?l(t):s("hide",t))}function h(t){if(!0===i.disable&&!0===t)void 0!==i["onUpdate:modelValue"]&&s("update:modelValue",!1);else if(!0===t!==e.value){(!0===t?p:v)(c)}}bn((()=>i.modelValue),h),void 0!==n&&!0===Tu(r)&&bn((()=>u.$route.fullPath),(()=>{!0===n.value&&!0===e.value&&f()})),!0===a&&Nn((()=>{h(i.modelValue)}));const m={show:d,hide:f,toggle:function(t){!0===e.value?f(t):d(t)}};return Object.assign(u,m),m}let wc=1,kc=document.body;const Sc=[];function xc(e,t,n,o){const l=_t(!1),a=_t(!1);let r=null;const i={},s="dialog"===o&&function(e){for(e=e.parent;null!=e;){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}(e);function u(t){if(a.value=!1,!0!==t)return;tc(i),l.value=!1;const n=Sc.indexOf(e.proxy);-1!==n&&Sc.splice(n,1),null!==r&&(r.remove(),r=null)}return Hn((()=>{u(!0)})),e.proxy.__qPortal=!0,Na(e.proxy,"contentEl",(()=>t.value)),{showPortal:function(t){if(!0===t)return tc(i),void(a.value=!0);var n;a.value=!1,!1===l.value&&(!1===s&&null===r&&(r=function(e,t){const n=document.createElement("div");if(n.id=void 0!==t?`q-portal--${t}--${wc++}`:e,void 0!==Er.globalNodes){const e=Er.globalNodes.class;void 0!==e&&(n.className=e)}return kc.appendChild(n),n}(!1,o)),l.value=!0,Sc.push(e.proxy),ec(n=i),Yu.push(n))},hidePortal:u,portalIsActive:l,portalIsAccessible:a,renderPortal:()=>!0===s?n():!0===l.value?[Pl(Ho,{to:r},n())]:void 0}}const Cc={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Ec(e,t=(()=>{}),n=(()=>{})){return{transitionProps:Ol((()=>{const o=`q-transition--${e.transitionShow||t()}`,l=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${l}-leave-from`,leaveActiveClass:`${l}-leave-active`,leaveToClass:`${l}-leave-to`}})),transitionStyle:Ol((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}function qc(){let e;const t=xl();function n(){e=void 0}return Vn(n),Un(n),{removeTick:n,registerTick(n){e=n,zt((()=>{e===n&&(!1===Fu(t)&&e(),e=void 0)}))}}}function Lc(){let e=null;const t=xl();function n(){null!==e&&(clearTimeout(e),e=null)}return Vn(n),Un(n),{removeTimeout:n,registerTimeout(o,l){n(),!1===Fu(t)&&(e=setTimeout(o,l))}}}const Tc=[];let Fc;function Rc(e){Fc=27===e.keyCode}function Oc(){!0===Fc&&(Fc=!1)}function Pc(e){!0===Fc&&(Fc=!1,!0===_r(e,27)&&Tc[Tc.length-1](e))}function Ac(e){window[e]("keydown",Rc),window[e]("blur",Oc),window[e]("keyup",Pc),Fc=!1}function Vc(e){!0===Ka.is.desktop&&(Tc.push(e),1===Tc.length&&Ac("addEventListener"))}function Mc(e){const t=Tc.indexOf(e);t>-1&&(Tc.splice(t,1),0===Tc.length&&Ac("removeEventListener"))}const Bc=[];function Ic(e){Bc[Bc.length-1](e)}function $c(e){!0===Ka.is.desktop&&(Bc.push(e),1===Bc.length&&document.body.addEventListener("focusin",Ic))}function zc(e){const t=Bc.indexOf(e);t>-1&&(Bc.splice(t,1),0===Bc.length&&document.body.removeEventListener("focusin",Ic))}const{notPassiveCapture:Nc}=Ja,jc=[];function Dc(e){const t=e.target;if(void 0===t||8===t.nodeType||!0===t.classList.contains("no-pointer-events"))return;let n=Sc.length-1;for(;n>=0;){const e=Sc[n].$;if("QDialog"!==e.type.name)break;if(!0!==e.props.seamless)return;n--}for(let o=jc.length-1;o>=0;o--){const n=jc[o];if(null!==n.anchorEl.value&&!1!==n.anchorEl.value.contains(t)||t!==document.body&&(null===n.innerRef.value||!1!==n.innerRef.value.contains(t)))return;e.qClickOutside=!0,n.onClickOutside(e)}}function Uc(e){const t=jc.findIndex((t=>t===e));t>-1&&(jc.splice(t,1),0===jc.length&&(document.removeEventListener("mousedown",Dc,Nc),document.removeEventListener("touchstart",Dc,Nc)))}let Hc,Wc;function Kc(e){const t=e.split(" ");return 2===t.length&&(!0!==["top","center","bottom"].includes(t[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(t[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}const Qc={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function Gc(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:Qc[`${n[1]}#${!0===t?"rtl":"ltr"}`]}}function Jc(e,t,n){return{top:e[n.anchorOrigin.vertical]-t[n.selfOrigin.vertical],left:e[n.anchorOrigin.horizontal]-t[n.selfOrigin.horizontal]}}function Zc(e,t,n,o,l){const a=n.bottom,r=n.right,i=Bs(),s=window.innerHeight-i,u=document.body.clientWidth;if(e.top<0||e.top+a>s)if("center"===l.vertical)e.top=t[o.vertical]>s/2?Math.max(0,s-a):0,e.maxHeight=Math.min(a,s);else if(t[o.vertical]>s/2){const n=Math.min(s,"center"===o.vertical?t.center:o.vertical===l.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,n),e.top=Math.max(0,n-a)}else e.top=Math.max(0,"center"===o.vertical?t.center:o.vertical===l.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,s-e.top);if(e.left<0||e.left+r>u)if(e.maxWidth=Math.min(r,u),"middle"===l.horizontal)e.left=t[o.horizontal]>u/2?Math.max(0,u-r):0;else if(t[o.horizontal]>u/2){const n=Math.min(u,"middle"===o.horizontal?t.middle:o.horizontal===l.horizontal?t.right:t.left);e.maxWidth=Math.min(r,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,"middle"===o.horizontal?t.middle:o.horizontal===l.horizontal?t.left:t.right),e.maxWidth=Math.min(r,u-e.left)}["left","middle","right"].forEach((e=>{Qc[`${e}#ltr`]=e,Qc[`${e}#rtl`]=e}));var Xc=_s({name:"QMenu",inheritAttrs:!1,props:{...mc,...bc,...uu,...Cc,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Kc},self:{type:String,validator:Kc},offset:{type:Array,validator:function(e){return!e||2===e.length&&("number"==typeof e[0]&&"number"==typeof e[1])}},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...yc,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let l,a,r,i=null;const s=xl(),{proxy:u}=s,{$q:c}=u,d=_t(null),p=_t(!1),f=Ol((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),v=cu(e,c),{registerTick:h,removeTick:m}=qc(),{registerTimeout:g}=Lc(),{transitionProps:b,transitionStyle:y}=Ec(e),{localScrollTarget:_,changeScrollEvent:w,unconfigureScrollTarget:k}=function(e,t){const n=_t(null);let o;function l(e,t){const n=(void 0!==t?"add":"remove")+"EventListener",l=void 0!==t?t:o;e!==window&&e[n]("scroll",l,Ja.passive),window[n]("scroll",l,Ja.passive),o=t}function a(){null!==n.value&&(l(n.value),n.value=null)}const r=bn((()=>e.noParentEvent),(()=>{null!==n.value&&(a(),t())}));return Un(r),{localScrollTarget:n,unconfigureScrollTarget:a,changeScrollEvent:l}}(e,B),{anchorEl:S,canShow:x}=gc({showing:p}),{hide:C}=_c({showing:p,canShow:x,handleShow:function(t){if(i=!1===e.noRefocus?document.activeElement:null,$c($),E(),B(),l=void 0,void 0!==t&&(e.touchPosition||e.contextMenu)){const e=Xa(t);if(void 0!==e.left){const{top:t,left:n}=S.value.getBoundingClientRect();l={left:e.left-n,top:e.top-t}}}void 0===a&&(a=bn((()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl),N));!0!==e.noFocus&&document.activeElement.blur();h((()=>{N(),!0!==e.noFocus&&V()})),g((()=>{!0===c.platform.is.ios&&(r=e.autoClose,d.value.click()),N(),E(!0),n("show",t)}),e.transitionDuration)},handleHide:function(t){m(),q(),M(!0),null===i||void 0!==t&&!0===t.qClickOutside||(((t&&0===t.type.indexOf("key")?i.closest('[tabindex]:not([tabindex^="-"])'):void 0)||i).focus(),i=null);g((()=>{q(!0),n("hide",t)}),e.transitionDuration)},hideOnRouteChange:f,processOnMount:!0}),{showPortal:E,hidePortal:q,renderPortal:L}=xc(s,d,(function(){return Pl(Zl,b.value,(()=>!0===p.value?Pl("div",{role:"menu",...o,ref:d,tabindex:-1,class:["q-menu q-position-engine scroll"+O.value,o.class],style:[o.style,y.value],...P.value},xs(t.default)):null))}),"menu"),T={anchorEl:S,innerRef:d,onClickOutside(t){if(!0!==e.persistent&&!0===p.value)return C(t),("touchstart"===t.type||t.target.classList.contains("q-dialog__backdrop"))&&tr(t),!0}},F=Ol((()=>Gc(e.anchor||(!0===e.cover?"center middle":"bottom start"),c.lang.rtl))),R=Ol((()=>!0===e.cover?F.value:Gc(e.self||"top start",c.lang.rtl))),O=Ol((()=>(!0===e.square?" q-menu--square":"")+(!0===v.value?" q-menu--dark q-dark":""))),P=Ol((()=>!0===e.autoClose?{onClick:I}:{})),A=Ol((()=>!0===p.value&&!0!==e.persistent));function V(){nc((()=>{let e=d.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||e.querySelector("[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))}function M(e){l=void 0,void 0!==a&&(a(),a=void 0),!0!==e&&!0!==p.value||(zc($),k(),Uc(T),Mc(z)),!0!==e&&(i=null)}function B(){null===S.value&&void 0===e.scrollTarget||(_.value=Ps(S.value,e.scrollTarget),w(_.value,N))}function I(e){!0!==r?(!function(e,t){do{if("QMenu"===e.$options.name){if(e.hide(t),!0===e.$props.separateClosePopup)return Lu(e)}else if(!0===e.__qPortal){const n=Lu(e);return void 0!==n&&"QPopupProxy"===n.$options.name?(e.hide(t),n):e}e=Lu(e)}while(null!=e)}(u,e),n("click",e)):r=!1}function $(t){!0===A.value&&!0!==e.noFocus&&!0!==Rs(d.value,t.target)&&V()}function z(e){n("escapeKey"),C(e)}function N(){const t=d.value;null!==t&&null!==S.value&&function(e){if(!0===Ka.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==Hc&&(e.setProperty("--q-pe-left",t+"px"),Hc=t),n!==Wc&&(e.setProperty("--q-pe-top",n+"px"),Wc=n)}const{scrollLeft:t,scrollTop:n}=e.el,o=void 0===e.absoluteOffset?function(e,t){let{top:n,left:o,right:l,bottom:a,width:r,height:i}=e.getBoundingClientRect();return void 0!==t&&(n-=t[1],o-=t[0],a+=t[1],l+=t[0],r+=t[0],i+=t[1]),{top:n,bottom:a,height:i,left:o,right:l,width:r,middle:o+(l-o)/2,center:n+(a-n)/2}}(e.anchorEl,!0===e.cover?[0,0]:e.offset):function(e,t,n){let{top:o,left:l}=e.getBoundingClientRect();return o+=t.top,l+=t.left,void 0!==n&&(o+=n[1],l+=n[0]),{top:o,bottom:o+1,height:1,left:l,right:l+1,width:1,middle:l,center:o}}(e.anchorEl,e.absoluteOffset,e.offset);let l={maxHeight:e.maxHeight,maxWidth:e.maxWidth,visibility:"visible"};!0!==e.fit&&!0!==e.cover||(l.minWidth=o.width+"px",!0===e.cover&&(l.minHeight=o.height+"px")),Object.assign(e.el.style,l);const a={top:0,center:(r=e.el).offsetHeight/2,bottom:r.offsetHeight,left:0,middle:r.offsetWidth/2,right:r.offsetWidth};var r;let i=Jc(o,a,e);if(void 0===e.absoluteOffset||void 0===e.offset)Zc(i,o,a,e.anchorOrigin,e.selfOrigin);else{const{top:t,left:n}=i;Zc(i,o,a,e.anchorOrigin,e.selfOrigin);let l=!1;if(i.top!==t){l=!0;const t=2*e.offset[1];o.center=o.top-=t,o.bottom-=t+2}if(i.left!==n){l=!0;const t=2*e.offset[0];o.middle=o.left-=t,o.right-=t+2}!0===l&&(i=Jc(o,a,e),Zc(i,o,a,e.anchorOrigin,e.selfOrigin))}l={top:i.top+"px",left:i.left+"px"},void 0!==i.maxHeight&&(l.maxHeight=i.maxHeight+"px",o.height>i.maxHeight&&(l.minHeight=l.maxHeight)),void 0!==i.maxWidth&&(l.maxWidth=i.maxWidth+"px",o.width>i.maxWidth&&(l.minWidth=l.maxWidth)),Object.assign(e.el.style,l),e.el.scrollTop!==n&&(e.el.scrollTop=n),e.el.scrollLeft!==t&&(e.el.scrollLeft=t)}({el:t,offset:e.offset,anchorEl:S.value,anchorOrigin:F.value,selfOrigin:R.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}return bn(A,(e=>{!0===e?(Vc(z),function(e){jc.push(e),1===jc.length&&(document.addEventListener("mousedown",Dc,Nc),document.addEventListener("touchstart",Dc,Nc))}(T)):(Mc(z),Uc(T))})),Un(M),Object.assign(u,{focus:V,updatePosition:N}),L}});let Yc,ed,td,nd,od,ld,ad=0,rd=!1,id=null;function sd(e){(function(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=function(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),"HTML"===n.tagName)return t.push(document),t.push(window),t;n=n.parentElement}}(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),l=n||o?e.deltaY:e.deltaX;for(let a=0;a0&&e.scrollTop+e.clientHeight===e.scrollHeight:l<0&&0===e.scrollLeft||l>0&&e.scrollLeft+e.clientWidth===e.scrollWidth}return!0})(e)&&tr(e)}function ud(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function cd(e){!0!==rd&&(rd=!0,requestAnimationFrame((()=>{rd=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;void 0!==td&&t===window.innerHeight||(td=n-t,document.scrollingElement.scrollTop=o),o>td&&(document.scrollingElement.scrollTop-=Math.ceil((o-td)/8))})))}function dd(e){const t=document.body,n=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:o}=window.getComputedStyle(t);Yc=Vs(window),ed=As(window),nd=t.style.left,od=t.style.top,ld=window.location.href,t.style.left=`-${Yc}px`,t.style.top=`-${ed}px`,"hidden"!==o&&("scroll"===o||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===Ka.is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",cd,Ja.passiveCapture),window.visualViewport.addEventListener("scroll",cd,Ja.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",ud,Ja.passiveCapture))}!0===Ka.is.desktop&&!0===Ka.is.mac&&window[`${e}EventListener`]("wheel",sd,Ja.notPassive),"remove"===e&&(!0===Ka.is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",cd,Ja.passiveCapture),window.visualViewport.removeEventListener("scroll",cd,Ja.passiveCapture)):window.removeEventListener("scroll",ud,Ja.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=nd,t.style.top=od,window.location.href===ld&&window.scrollTo(Yc,ed),td=void 0)}function pd(){let e;return{preventBodyScroll(t){t===e||void 0===e&&!0!==t||(e=t,function(e){let t="add";if(!0===e){if(ad++,null!==id)return clearTimeout(id),void(id=null);if(ad>1)return}else{if(0===ad)return;if(ad--,ad>0)return;if(t="remove",!0===Ka.is.ios&&!0===Ka.is.nativeMobile)return null!==id&&clearTimeout(id),void(id=setTimeout((()=>{dd(t),id=null}),100))}dd(t)}(t))}}}let fd=0;const vd={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},hd={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var md=_s({name:"QDialog",inheritAttrs:!1,props:{...bc,...Cc,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...yc,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const l=xl(),{proxy:{$q:a}}=l,r=_t(null),i=_t(!1),s=_t(!1);let u,c,d=null,p=null;const f=Ol((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:v}=pd(),{registerTimeout:h}=Lc(),{registerTick:m,removeTick:g}=qc(),{transitionProps:b,transitionStyle:y}=Ec(e,(()=>hd[e.position][0]),(()=>hd[e.position][1])),{showPortal:_,hidePortal:w,portalIsAccessible:k,renderPortal:S}=xc(l,r,(function(){return Pl("div",{role:"dialog","aria-modal":!0===L.value?"true":"false",...o,class:F.value},[Pl(Zl,{name:"q-transition--fade",appear:!0},(()=>!0===L.value?Pl("div",{class:"q-dialog__backdrop fixed-full",style:y.value,"aria-hidden":"true",tabindex:-1,[$]:B}):null)),Pl(Zl,b.value,(()=>!0===i.value?Pl("div",{ref:r,class:q.value,style:y.value,tabindex:-1,...T.value},xs(t.default)):null))])}),"dialog"),{hide:x}=_c({showing:i,hideOnRouteChange:f,handleShow:function(t){C(),p=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,V(e.maximized),_(),s.value=!0,!0!==e.noFocus?(null!==document.activeElement&&document.activeElement.blur(),m(R)):g();h((()=>{if(!0===l.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,o=void 0!==window.visualViewport?window.visualViewport.height:n;e>0&&t>o/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-o,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-o/2))),document.activeElement.scrollIntoView()}c=!0,r.value.click(),c=!1}_(!0),s.value=!1,n("show",t)}),e.transitionDuration)},handleHide:function(t){g(),E(),A(!0),s.value=!0,w(),null!==p&&(((t&&0===t.type.indexOf("key")?p.closest('[tabindex]:not([tabindex^="-"])'):void 0)||p).focus(),p=null);h((()=>{w(!0),s.value=!1,n("hide",t)}),e.transitionDuration)},processOnMount:!0}),{addToHistory:C,removeFromHistory:E}=function(e,t,n){let o;function l(){void 0!==o&&(pr.remove(o),o=void 0)}return Un((()=>{!0===e.value&&l()})),{removeFromHistory:l,addToHistory(){o={condition:()=>!0===n.value,handler:t},pr.add(o)}}}(i,x,f),q=Ol((()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${!0===e.maximized?"maximized":"minimized"} q-dialog__inner--${e.position} ${vd[e.position]}`+(!0===s.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),L=Ol((()=>!0===i.value&&!0!==e.seamless)),T=Ol((()=>!0===e.autoClose?{onClick:M}:{})),F=Ol((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===L.value?"modal":"seamless"),o.class]));function R(e){nc((()=>{let t=r.value;null!==t&&!0!==t.contains(document.activeElement)&&(t=(""!==e?t.querySelector(e):null)||t.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||t.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||t.querySelector("[autofocus], [data-autofocus]")||t,t.focus({preventScroll:!0}))}))}function O(e){e&&"function"==typeof e.focus?e.focus({preventScroll:!0}):R(),n("shake");const t=r.value;null!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),null!==d&&clearTimeout(d),d=setTimeout((()=>{d=null,null!==r.value&&(t.classList.remove("q-animate--scale"),R())}),170))}function P(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&!0!==e.noShake&&O():(n("escapeKey"),x()))}function A(t){null!==d&&(clearTimeout(d),d=null),!0!==t&&!0!==i.value||(V(!1),!0!==e.seamless&&(v(!1),zc(I),Mc(P))),!0!==t&&(p=null)}function V(e){!0===e?!0!==u&&(fd<1&&document.body.classList.add("q-body--dialog"),fd++,u=!0):!0===u&&(fd<2&&document.body.classList.remove("q-body--dialog"),fd--,u=!1)}function M(e){!0!==c&&(x(e),n("click",e))}function B(t){!0!==e.persistent&&!0!==e.noBackdropDismiss?x(t):!0!==e.noShake&&O(t.relatedTarget)}function I(t){!0!==e.allowFocusOutside&&!0===k.value&&!0!==Rs(r.value,t.target)&&R('[tabindex]:not([tabindex="-1"])')}bn((()=>e.maximized),(e=>{!0===i.value&&V(e)})),bn(L,(e=>{v(e),!0===e?($c(I),Vc(P)):(zc(I),Mc(P))})),Object.assign(l.proxy,{focus:R,shake:O,__updateRefocusTarget(e){p=e||null}}),Un(A);const $=!0===a.platform.is.ios||a.platform.is.safari?"onClick":"onFocusin";return S}});let gd=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,gd=e.scrollLeft>=0,e.remove()}const bd=["start","center","end","start-force","center-force","end-force"],yd=Array.prototype.filter,_d=void 0===window.getComputedStyle(document.body).overflowAnchor?Za:function(e,t){null!==e&&(void 0!==e._qOverflowAnimationFrame&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(null===e)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];yd.call(n,(e=>e.dataset&&void 0!==e.dataset.qVsAnchor)).forEach((e=>{delete e.dataset.qVsAnchor}));const o=n[t];o&&o.dataset&&(o.dataset.qVsAnchor="")})))};function wd(e,t){return e+t}function kd(e,t,n,o,l,a,r,i){const s=e===window?document.scrollingElement||document.documentElement:e,u=!0===l?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-r-i,scrollMaxSize:0,offsetStart:-r,offsetEnd:-i};if(!0===l?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=document.documentElement.clientWidth):(c.scrollStart=s.scrollLeft,c.scrollViewSize+=s.clientWidth),c.scrollMaxSize=s.scrollWidth,!0===a&&(c.scrollStart=(!0===gd?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=document.documentElement.clientHeight):(c.scrollStart=s.scrollTop,c.scrollViewSize+=s.clientHeight),c.scrollMaxSize=s.scrollHeight),null!==n)for(let d=n.previousElementSibling;null!==d;d=d.previousElementSibling)!1===d.classList.contains("q-virtual-scroll--skip")&&(c.offsetStart+=d[u]);if(null!==o)for(let d=o.nextElementSibling;null!==d;d=d.nextElementSibling)!1===d.classList.contains("q-virtual-scroll--skip")&&(c.offsetEnd+=d[u]);if(t!==e){const n=s.getBoundingClientRect(),o=t.getBoundingClientRect();!0===l?(c.offsetStart+=o.left-n.left,c.offsetEnd-=o.width):(c.offsetStart+=o.top-n.top,c.offsetEnd-=o.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function Sd(e,t,n,o){"end"===t&&(t=(e===window?document.body:e)[!0===n?"scrollWidth":"scrollHeight"]),e===window?!0===n?(!0===o&&(t=(!0===gd?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):!0===n?(!0===o&&(t=(!0===gd?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function xd(e,t,n,o){if(n>=o)return 0;const l=t.length,a=Math.floor(n/1e3),r=Math.floor((o-1)/1e3)+1;let i=e.slice(a,r).reduce(wd,0);return n%1e3!=0&&(i-=t.slice(1e3*a,n).reduce(wd,0)),o%1e3!=0&&o!==l&&(i-=t.slice(o,1e3*r).reduce(wd,0)),i}const Cd={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Ed=Object.keys(Cd),qd={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Cd};function Ld({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const l=xl(),{props:a,emit:r,proxy:i}=l,{$q:s}=i;let u,c,d,p,f=[];const v=_t(0),h=_t(0),m=_t({}),g=_t(null),b=_t(null),y=_t(null),_=_t({from:0,to:0}),w=Ol((()=>void 0!==a.tableColspan?a.tableColspan:100));void 0===o&&(o=Ol((()=>a.virtualScrollItemSize)));const k=Ol((()=>o.value+";"+a.virtualScrollHorizontal));function S(){T(c,!0)}function x(e){T(void 0===e?c:e)}function C(o,l){const r=t();if(null==r||8===r.nodeType)return;const i=kd(r,n(),g.value,b.value,a.virtualScrollHorizontal,s.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd);d!==i.scrollViewSize&&F(i.scrollViewSize),E(r,i,Math.min(e.value-1,Math.max(0,parseInt(o,10)||0)),0,bd.indexOf(l)>-1?l:c>-1&&o>c?"end":"start")}function E(t,n,o,l,r){const i="string"==typeof r&&r.indexOf("-force")>-1,c=!0===i?r.replace("-force",""):r,d=void 0!==c?c:"start";let g=Math.max(0,o-m.value[d]),b=g+m.value.total;b>e.value&&(b=e.value,g=Math.max(0,b-m.value.total)),u=n.scrollStart;const w=g!==_.value.from||b!==_.value.to;if(!1===w&&void 0===c)return void R(o);const{activeElement:k}=document,S=y.value;!0===w&&null!==S&&S!==k&&!0===S.contains(k)&&(S.addEventListener("focusout",L),setTimeout((()=>{null!==S&&S.removeEventListener("focusout",L)}))),_d(S,o-g);const x=void 0!==c?p.slice(g,o).reduce(wd,0):0;if(!0===w){const t=b>=_.value.from&&g<=_.value.to?_.value.to:b;_.value={from:g,to:t},v.value=xd(f,p,0,g),h.value=xd(f,p,b,e.value),requestAnimationFrame((()=>{_.value.to!==b&&u===n.scrollStart&&(_.value={from:_.value.from,to:b},h.value=xd(f,p,b,e.value))}))}requestAnimationFrame((()=>{if(u!==n.scrollStart)return;!0===w&&q(g);const e=p.slice(g,o).reduce(wd,0),r=e+n.offsetStart+v.value,d=r+p[o];let f=r+l;if(void 0!==c){const t=e-x,l=n.scrollStart+t;f=!0!==i&&le.classList&&!1===e.classList.contains("q-virtual-scroll--skip"))),o=n.length,l=!0===a.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let r,i,s=e;for(let e=0;e=a;o--)p[o]=l;const r=Math.floor((e.value-1)/1e3);f=[];for(let o=0;o<=r;o++){let t=0;const n=Math.min(1e3*(o+1),e.value);for(let e=1e3*o;e=0?(q(_.value.from),zt((()=>{C(t)}))):O()}function F(e){if(void 0===e&&"undefined"!=typeof window){const o=t();null!=o&&8!==o.nodeType&&(e=kd(o,n(),g.value,b.value,a.virtualScrollHorizontal,s.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd).scrollViewSize)}d=e;const l=parseFloat(a.virtualScrollSliceRatioBefore)||0,r=1+l+(parseFloat(a.virtualScrollSliceRatioAfter)||0),i=void 0===e||e<=0?1:Math.ceil(e/o.value),u=Math.max(1,i,Math.ceil((a.virtualScrollSliceSize>0?a.virtualScrollSliceSize:10)/r));m.value={total:Math.ceil(u*r),start:Math.ceil(u*l),center:Math.ceil(u*(.5+l)),end:Math.ceil(u*(1+l)),view:i}}function R(e){c!==e&&(void 0!==a.onVirtualScroll&&r("virtualScroll",{index:e,from:_.value.from,to:_.value.to-1,direction:ek.value+";"+a.virtualScrollSliceRatioBefore+";"+a.virtualScrollSliceRatioAfter)),(()=>{F()})),bn(k,S),F();const O=lr((function(){const o=t();if(null==o||8===o.nodeType)return;const l=kd(o,n(),g.value,b.value,a.virtualScrollHorizontal,s.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd),r=e.value-1,i=l.scrollMaxSize-l.offsetStart-l.offsetEnd-h.value;if(u===l.scrollStart)return;if(l.scrollMaxSize<=0)return void E(o,l,0,0);d!==l.scrollViewSize&&F(l.scrollViewSize),q(_.value.from);const c=Math.floor(l.scrollMaxSize-Math.max(l.scrollViewSize,l.offsetEnd)-Math.min(p[r],l.scrollViewSize/2));if(c>0&&Math.ceil(l.scrollStart)>=c)return void E(o,l,r,l.scrollMaxSize-l.offsetEnd-f.reduce(wd,0));let m=0,y=l.scrollStart-l.offsetStart,w=y;if(y<=i&&y+l.scrollViewSize>=v.value)y-=v.value,m=_.value.from,w=y;else for(let e=0;y>=f[e]&&m0&&m-l.scrollViewSize?(m++,w=y):w=p[m]+y;E(o,l,m,w)}),!0===s.platform.is.ios?120:35);zn((()=>{F()}));let P=!1;return Vn((()=>{P=!0})),An((()=>{if(!0!==P)return;const e=t();void 0!==u&&null!=e&&8!==e.nodeType?Sd(e,u,a.virtualScrollHorizontal,s.lang.rtl):C(c)})),Un((()=>{O.cancel()})),Object.assign(i,{scrollTo:C,reset:S,refresh:x}),{virtualScrollSliceRange:_,virtualScrollSliceSizeComputed:m,setVirtualScrollSize:F,onVirtualScrollEvt:O,localResetVirtualScroll:T,padVirtualScroll:function(e,t){const n=!0===a.virtualScrollHorizontal?"width":"height",l={["--q-virtual-scroll-item-"+n]:o.value+"px"};return["tbody"===e?Pl(e,{class:"q-virtual-scroll__padding",key:"before",ref:g},[Pl("tr",[Pl("td",{style:{[n]:`${v.value}px`,...l},colspan:w.value})])]):Pl(e,{class:"q-virtual-scroll__padding",key:"before",ref:g,style:{[n]:`${v.value}px`,...l}}),Pl(e,{class:"q-virtual-scroll__content",key:"content",ref:y,tabindex:-1},t.flat()),"tbody"===e?Pl(e,{class:"q-virtual-scroll__padding",key:"after",ref:b},[Pl("tr",[Pl("td",{style:{[n]:`${h.value}px`,...l},colspan:w.value})])]):Pl(e,{class:"q-virtual-scroll__padding",key:"after",ref:b,style:{[n]:`${h.value}px`,...l}})]},scrollTo:C,reset:S,refresh:x}}const Td=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Fd=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Rd=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Od=/[a-z0-9_ -]$/i;function Pd(e){return function(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,e(t)}else if("compositionupdate"===t.type&&!0!==t.target.qComposing&&"string"==typeof t.data){!0===(!0===Ka.is.firefox?!1===Od.test(t.data):!0===Td.test(t.data)||!0===Fd.test(t.data)||!0===Rd.test(t.data))&&(t.target.qComposing=!0)}}}function Ad(e,t,n){if(n<=t)return t;const o=n-t+1;let l=t+(e-t)%o;return l["add","add-unique","toggle"].includes(e),Md=Object.keys(ac);var Bd=_s({name:"QSelect",inheritAttrs:!1,props:{...qd,...du,...ac,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Vd},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...rc,"add","remove","inputValue","newValue","keyup","keypress","keydown","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=xl(),{$q:l}=o,a=_t(!1),r=_t(!1),i=_t(-1),s=_t(""),u=_t(!1),c=_t(!1);let d,p,f,v,h,m,g,b=null,y=null;const _=_t(null),w=_t(null),k=_t(null),S=_t(null),x=_t(null),C=pu(e),E=Pd(Se),q=Ol((()=>Array.isArray(e.options)?e.options.length:0)),L=Ol((()=>void 0===e.virtualScrollItemSize?!0===e.optionsDense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:T,virtualScrollSliceSizeComputed:F,localResetVirtualScroll:R,padVirtualScroll:O,onVirtualScrollEvt:P,scrollTo:A,setVirtualScrollSize:V}=Ld({virtualScrollLength:q,getVirtualScrollTarget:function(){return we()},getVirtualScrollEl:we,virtualScrollItemSizeComputed:L}),M=ic(),B=Ol((()=>{const t=!0===e.mapOptions&&!0!==e.multiple,n=void 0===e.modelValue||null===e.modelValue&&!0!==t?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions&&!0===Array.isArray(e.options)){const o=!0===e.mapOptions&&void 0!==d?d:[],l=n.map((t=>function(t,n){const o=e=>Lr(ne.value(e),t);return e.options.find(o)||n.find(o)||t}(t,o)));return null===e.modelValue&&!0===t?l.filter((e=>null!==e)):l}return n})),I=Ol((()=>{const t={};return Md.forEach((n=>{const o=e[n];void 0!==o&&(t[n]=o)})),t})),$=Ol((()=>null===e.optionsDark?M.isDark.value:e.optionsDark)),z=Ol((()=>lc(B.value))),N=Ol((()=>{let t="q-field__input q-placeholder col";return!0===e.hideSelected||0===B.value.length?[t,e.inputClass]:(t+=" q-field__input--padding",void 0===e.inputClass?t:[t,e.inputClass])})),j=Ol((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),D=Ol((()=>0===q.value)),U=Ol((()=>B.value.map((e=>oe.value(e))).join(", "))),H=Ol((()=>void 0!==e.displayValue?e.displayValue:U.value)),W=Ol((()=>!0===e.optionsHtml?()=>!0:e=>null!=e&&!0===e.html)),K=Ol((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||B.value.some(W.value)))),Q=Ol((()=>!0===M.focused.value?e.tabindex:-1)),G=Ol((()=>{const t={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":!0===e.readonly?"true":"false","aria-autocomplete":!0===e.useInput?"list":"none","aria-expanded":!0===a.value?"true":"false","aria-controls":`${M.targetUid.value}_lb`};return i.value>=0&&(t["aria-activedescendant"]=`${M.targetUid.value}_${i.value}`),t})),J=Ol((()=>({id:`${M.targetUid.value}_lb`,role:"listbox","aria-multiselectable":!0===e.multiple?"true":"false"}))),Z=Ol((()=>B.value.map(((e,t)=>({index:t,opt:e,html:W.value(e),selected:!0,removeAtIndex:ue,toggleOption:de,tabindex:Q.value}))))),X=Ol((()=>{if(0===q.value)return[];const{from:t,to:n}=T.value;return e.options.slice(t,n).map(((n,o)=>{const r=!0===le.value(n),s=t+o,u={clickable:!0,active:!1,activeClass:te.value,manualFocus:!0,focused:!1,disable:r,tabindex:-1,dense:e.optionsDense,dark:$.value,role:"option",id:`${M.targetUid.value}_${s}`,onClick:()=>{de(n)}};return!0!==r&&(!0===he(n)&&(u.active=!0),i.value===s&&(u.focused=!0),u["aria-selected"]=!0===u.active?"true":"false",!0===l.platform.is.desktop&&(u.onMousemove=()=>{!0===a.value&&pe(s)})),{index:s,opt:n,html:W.value(n),label:oe.value(n),selected:u.active,focused:u.focused,toggleOption:de,setOptionIndex:pe,itemProps:u}}))})),Y=Ol((()=>void 0!==e.dropdownIcon?e.dropdownIcon:l.iconSet.arrow.dropdown)),ee=Ol((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),te=Ol((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),ne=Ol((()=>ve(e.optionValue,"value"))),oe=Ol((()=>ve(e.optionLabel,"label"))),le=Ol((()=>ve(e.optionDisable,"disable"))),ae=Ol((()=>B.value.map((e=>ne.value(e))))),re=Ol((()=>{const e={onInput:Se,onChange:E,onKeydown:_e,onKeyup:be,onKeypress:ye,onFocus:me,onClick(e){!0===p&&Ya(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=E,e}));function ie(t){return!0===e.emitValue?ne.value(t):t}function se(t){if(t>-1&&t=e.maxValues)return;const a=e.modelValue.slice();n("add",{index:a.length,value:l}),a.push(l),n("update:modelValue",a)}function de(t,o){if(!0!==M.editable.value||void 0===t||!0===le.value(t))return;const l=ne.value(t);if(!0!==e.multiple)return!0!==o&&(Ce(!0===e.fillInput?oe.value(t):"",!0,!0),Me()),null!==w.value&&w.value.focus(),void(0!==B.value.length&&!0===Lr(ne.value(B.value[0]),l)||n("update:modelValue",!0===e.emitValue?l:t));if((!0!==p||!0===u.value)&&M.focus(),me(),0===B.value.length){const o=!0===e.emitValue?l:t;return n("add",{index:0,value:o}),void n("update:modelValue",!0===e.multiple?[o]:o)}const a=e.modelValue.slice(),r=ae.value.findIndex((e=>Lr(e,l)));if(r>-1)n("remove",{index:r,value:a.splice(r,1)[0]});else{if(void 0!==e.maxValues&&a.length>=e.maxValues)return;const o=!0===e.emitValue?l:t;n("add",{index:a.length,value:o}),a.push(o)}n("update:modelValue",a)}function pe(e){if(!0!==l.platform.is.desktop)return;const t=e>-1&&e=0?oe.value(e.options[o]):v))}}function ve(e,t){const n=void 0!==e?e:t;return"function"==typeof n?n:e=>null!==e&&"object"==typeof e&&n in e?e[n]:e}function he(e){const t=ne.value(e);return void 0!==ae.value.find((e=>Lr(e,t)))}function me(t){!0===e.useInput&&null!==w.value&&(void 0===t||w.value===t.target&&t.target.value===U.value)&&w.value.select()}function ge(e){!0===_r(e,27)&&!0===a.value&&(Ya(e),Me(),Be()),n("keyup",e)}function be(t){const{value:n}=t.target;if(void 0===t.keyCode)if(t.target.value="",null!==b&&(clearTimeout(b),b=null),Be(),"string"==typeof n&&n.length>0){const t=n.toLocaleLowerCase(),o=n=>{const o=e.options.find((e=>n.value(e).toLocaleLowerCase()===t));return void 0!==o&&(-1===B.value.indexOf(o)?de(o):Me(),!0)},l=e=>{!0!==o(ne)&&!0!==o(oe)&&!0!==e&&Ee(n,!0,(()=>l(!0)))};l()}else M.clearValue(t);else ge(t)}function ye(e){n("keypress",e)}function _e(t){if(n("keydown",t),!0===yr(t))return;const o=s.value.length>0&&(void 0!==e.newValueMode||void 0!==e.onNewValue),l=!0!==t.shiftKey&&!0!==e.multiple&&(i.value>-1||!0===o);if(27===t.keyCode)return void er(t);if(9===t.keyCode&&!1===l)return void Ae();if(void 0===t.target||t.target.id!==M.targetUid.value)return;if(40===t.keyCode&&!0!==M.innerLoading.value&&!1===a.value)return tr(t),void Ve();if(8===t.keyCode&&!0!==e.hideSelected&&0===s.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?se(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&n("update:modelValue",null));35!==t.keyCode&&36!==t.keyCode||"string"==typeof s.value&&0!==s.value.length||(tr(t),i.value=-1,fe(36===t.keyCode?1:-1,e.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===F.value||(tr(t),i.value=Math.max(-1,Math.min(q.value,i.value+(33===t.keyCode?-1:1)*F.value.view)),fe(33===t.keyCode?1:-1,e.multiple)),38!==t.keyCode&&40!==t.keyCode||(tr(t),fe(38===t.keyCode?-1:1,e.multiple));const r=q.value;if((void 0===m||g0&&!0!==e.useInput&&void 0!==t.key&&1===t.key.length&&!1===t.altKey&&!1===t.ctrlKey&&!1===t.metaKey&&(32!==t.keyCode||m.length>0)){!0!==a.value&&Ve(t);const n=t.key.toLocaleLowerCase(),o=1===m.length&&m[0]===n;g=Date.now()+1500,!1===o&&(tr(t),m+=n);const l=new RegExp("^"+m.split("").map((e=>".*+?^${}()|[]\\".indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let s=i.value;if(!0===o||s<0||!0!==l.test(oe.value(e.options[s])))do{s=Ad(s+1,-1,r-1)}while(s!==i.value&&(!0===le.value(e.options[s])||!0!==l.test(oe.value(e.options[s]))));i.value!==s&&zt((()=>{pe(s),A(s),s>=0&&!0===e.useInput&&!0===e.fillInput&&xe(oe.value(e.options[s]))}))}else if(13===t.keyCode||32===t.keyCode&&!0!==e.useInput&&""===m||9===t.keyCode&&!1!==l)if(9!==t.keyCode&&tr(t),i.value>-1&&i.value{if(n){if(!0!==Vd(n))return}else n=e.newValueMode;if(null==t)return;Ce("",!0!==e.multiple,!0);("toggle"===n?de:ce)(t,"add-unique"===n),!0!==e.multiple&&(null!==w.value&&w.value.focus(),Me())};if(void 0!==e.onNewValue?n("newValue",s.value,t):t(s.value),!0!==e.multiple)return}!0===a.value?Ae():!0!==M.innerLoading.value&&Ve()}}function we(){return!0===p?x.value:null!==k.value&&null!==k.value.contentEl?k.value.contentEl:void 0}function ke(){if(!0===D.value)return void 0!==t["no-option"]?t["no-option"]({inputValue:s.value}):void 0;const e=void 0!==t.option?t.option:e=>Pl(Bu,{key:e.index,...e.itemProps},(()=>Pl(Eu,(()=>Pl(qu,(()=>Pl("span",{[!0===e.html?"innerHTML":"textContent"]:e.label})))))));let n=O("div",X.value.map(e));return void 0!==t["before-options"]&&(n=t["before-options"]().concat(n)),Es(t["after-options"],n)}function Se(t){null!==b&&(clearTimeout(b),b=null),t&&t.target&&!0===t.target.qComposing||(xe(t.target.value||""),f=!0,v=s.value,!0===M.focused.value||!0===p&&!0!==u.value||M.focus(),void 0!==e.onFilter&&(b=setTimeout((()=>{b=null,Ee(s.value)}),e.inputDebounce)))}function xe(e){s.value!==e&&(s.value=e,n("inputValue",e))}function Ce(t,n,o){f=!0!==o,!0===e.useInput&&(xe(t),!0!==n&&!0===o||(v=t),!0!==n&&Ee(t))}function Ee(t,l,r){if(void 0===e.onFilter||!0!==l&&!0!==M.focused.value)return;!0===M.innerLoading.value?n("filterAbort"):(M.innerLoading.value=!0,c.value=!0),""!==t&&!0!==e.multiple&&B.value.length>0&&!0!==f&&t===oe.value(B.value[0])&&(t="");const i=setTimeout((()=>{!0===a.value&&(a.value=!1)}),10);null!==y&&clearTimeout(y),y=i,n("filter",t,((e,t)=>{!0!==l&&!0!==M.focused.value||y!==i||(clearTimeout(y),"function"==typeof e&&e(),c.value=!1,zt((()=>{M.innerLoading.value=!1,!0===M.editable.value&&(!0===l?!0===a.value&&Me():!0===a.value?Ie(!0):a.value=!0),"function"==typeof t&&zt((()=>{t(o)})),"function"==typeof r&&zt((()=>{r(o)}))})))}),(()=>{!0===M.focused.value&&y===i&&(clearTimeout(y),M.innerLoading.value=!1,c.value=!1),!0===a.value&&(a.value=!1)}))}function qe(e){Ne(e),Ae()}function Le(){V()}function Te(e){Ya(e),null!==w.value&&w.value.focus(),u.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Fe(e){Ya(e),zt((()=>{u.value=!1}))}function Re(e){Ne(e),null!==S.value&&S.value.__updateRefocusTarget(M.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),M.focused.value=!1}function Oe(e){Me(),!1===M.focused.value&&n("blur",e),Be()}function Pe(){const e=document.activeElement;null!==e&&e.id===M.targetUid.value||null===w.value||w.value===e||w.value.focus(),V()}function Ae(){!0!==r.value&&(i.value=-1,!0===a.value&&(a.value=!1),!1===M.focused.value&&(null!==y&&(clearTimeout(y),y=null),!0===M.innerLoading.value&&(n("filterAbort"),M.innerLoading.value=!1,c.value=!1)))}function Ve(n){!0===M.editable.value&&(!0===p?(M.onControlFocusin(n),r.value=!0,zt((()=>{M.focus()}))):M.focus(),void 0!==e.onFilter?Ee(s.value):!0===D.value&&void 0===t["no-option"]||(a.value=!0))}function Me(){r.value=!1,Ae()}function Be(){!0===e.useInput&&Ce(!0!==e.multiple&&!0===e.fillInput&&B.value.length>0&&oe.value(B.value[0])||"",!0,!0)}function Ie(t){let n=-1;if(!0===t){if(B.value.length>0){const t=ne.value(B.value[0]);n=e.options.findIndex((e=>Lr(ne.value(e),t)))}R(n)}pe(n)}function $e(){!1===r.value&&null!==k.value&&k.value.updatePosition()}function ze(e){void 0!==e&&Ya(e),n("popupShow",e),M.hasPopupOpen=!0,M.onControlFocusin(e)}function Ne(e){void 0!==e&&Ya(e),n("popupHide",e),M.hasPopupOpen=!1,M.onControlFocusout(e)}function je(){p=(!0===l.platform.is.mobile||"dialog"===e.behavior)&&("menu"!==e.behavior&&(!0!==e.useInput||(void 0!==t["no-option"]||void 0!==e.onFilter||!1===D.value))),h=!0===l.platform.is.ios&&!0===p&&!0===e.useInput?"fade":e.transitionShow}return bn(B,(t=>{d=t,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==M.innerLoading.value&&(!0!==r.value&&!0!==a.value||!0!==z.value)&&(!0!==f&&Be(),!0!==r.value&&!0!==a.value||Ee(""))}),{immediate:!0}),bn((()=>e.fillInput),Be),bn(a,Ie),bn(q,(function(e,t){!0===a.value&&!1===M.innerLoading.value&&(R(-1,!0),zt((()=>{!0===a.value&&!1===M.innerLoading.value&&(e>t?R():Ie(!0))})))})),jn(je),Dn($e),je(),Un((()=>{null!==b&&clearTimeout(b)})),Object.assign(o,{showPopup:Ve,hidePopup:Me,removeAtIndex:se,add:ce,toggleOption:de,getOptionIndex:()=>i.value,setOptionIndex:pe,moveOptionSelection:fe,filter:Ee,updateMenuPosition:$e,updateInputValue:Ce,isOptionSelected:he,getEmittingOptionValue:ie,isOptionDisabled:(...e)=>!0===le.value.apply(null,e),getOptionValue:(...e)=>ne.value.apply(null,e),getOptionLabel:(...e)=>oe.value.apply(null,e)}),Object.assign(M,{innerValue:B,fieldClass:Ol((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--${!0===e.multiple?"multiple":"single"}`)),inputRef:_,targetRef:w,hasValue:z,showPopup:Ve,floatingLabel:Ol((()=>!0!==e.hideSelected&&!0===z.value||"number"==typeof s.value||s.value.length>0||lc(e.displayValue))),getControlChild:()=>{if(!1!==M.editable.value&&(!0===r.value||!0!==D.value||void 0!==t["no-option"]))return!0===p?function(){const n=[Pl(uc,{class:`col-auto ${M.fieldClass.value}`,...I.value,for:M.targetUid.value,dark:$.value,square:!0,loading:c.value,itemAligned:!1,filled:!0,stackLabel:s.value.length>0,...M.splitAttrs.listeners.value,onFocus:Te,onBlur:Fe},{...t,rawControl:()=>M.getControl(!0),before:void 0,after:void 0})];return!0===a.value&&n.push(Pl("div",{ref:x,class:j.value+" scroll",style:e.popupContentStyle,...J.value,onClick:er,onScrollPassive:P},ke())),Pl(md,{ref:S,modelValue:r.value,position:!0===e.useInput?"top":void 0,transitionShow:h,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:ze,onBeforeHide:Re,onHide:Oe,onShow:Pe},(()=>Pl("div",{class:"q-select__dialog"+(!0===$.value?" q-select__dialog--dark q-dark":"")+(!0===u.value?" q-select__dialog--focused":"")},n)))}():Pl(Xc,{ref:k,class:j.value,style:e.popupContentStyle,modelValue:a.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==D.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:$.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:ee.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...J.value,onScrollPassive:P,onBeforeShow:ze,onBeforeHide:qe,onShow:Le},ke);!0===M.hasPopupOpen&&(M.hasPopupOpen=!1)},controlEvents:{onFocusin(e){M.onControlFocusin(e)},onFocusout(e){M.onControlFocusout(e,(()=>{Be(),Ae()}))},onClick(e){if(er(e),!0!==p&&!0===a.value)return Ae(),void(null!==w.value&&w.value.focus());Ve(e)}},getControl:n=>{const o=!0===e.hideSelected?[]:void 0!==t["selected-item"]?Z.value.map((e=>t["selected-item"](e))).slice():void 0!==t.selected?[].concat(t.selected()):!0===e.useChips?Z.value.map(((t,n)=>Pl(hc,{key:"option-"+n,removable:!0===M.editable.value&&!0!==le.value(t.opt),dense:!0,textColor:e.color,tabindex:Q.value,onRemove(){t.removeAtIndex(n)}},(()=>Pl("span",{class:"ellipsis",[!0===t.html?"innerHTML":"textContent"]:oe.value(t.opt)}))))):[Pl("span",{[!0===K.value?"innerHTML":"textContent"]:H.value})],l=!0===n||!0!==r.value||!0!==p;if(!0===e.useInput)o.push(function(t,n){const o=!0===n?{...G.value,...M.splitAttrs.attributes.value}:void 0,l={ref:!0===n?w:void 0,key:"i_t",class:N.value,style:e.inputStyle,value:void 0!==s.value?s.value:"",type:"search",...o,id:!0===n?M.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":!0===t||!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...re.value};return!0!==t&&!0===p&&(!0===Array.isArray(l.class)?l.class=[...l.class,"no-pointer-events"]:l.class+=" no-pointer-events"),Pl("input",l)}(n,l));else if(!0===M.editable.value){const t=!0===l?G.value:void 0;o.push(Pl("input",{ref:!0===l?w:void 0,key:"d_t",class:"q-select__focus-target",id:!0===l?M.targetUid.value:void 0,value:H.value,readonly:!0,"data-autofocus":!0===n||!0===e.autofocus||void 0,...t,onKeydown:_e,onKeyup:ge,onKeypress:ye})),!0===l&&"string"==typeof e.autocomplete&&e.autocomplete.length>0&&o.push(Pl("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:be}))}if(void 0!==C.value&&!0!==e.disable&&ae.value.length>0){const t=ae.value.map((e=>Pl("option",{value:e,selected:!0})));o.push(Pl("select",{class:"hidden",name:C.value,multiple:e.multiple},t))}return Pl("div",{class:"q-field__native row items-center",...!0===e.useInput||!0!==l?void 0:M.splitAttrs.attributes.value},o)},getInnerAppend:()=>!0!==e.loading&&!0!==c.value&&!0!==e.hideDropdownIcon?[Pl(su,{class:"q-select__dropdown-icon"+(!0===a.value?" rotate-180":""),name:Y.value})]:null}),sc(M)}});
+/*!
+ * shared v9.2.2
+ * (c) 2022 kazuya kawaguchi
+ * Released under the MIT License.
+ */const Id="undefined"!=typeof window,$d="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,zd=e=>$d?Symbol(e):e,Nd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),jd=e=>"number"==typeof e&&isFinite(e),Dd=e=>"[object RegExp]"===np(e),Ud=e=>op(e)&&0===Object.keys(e).length;function Hd(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Wd=Object.assign;function Kd(e){return e.replace(/