*/let q;const V=e=>q=e,_e=Symbol("pinia");function C(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var E;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(E||(E={}));const j=typeof window<"u",ce=(()=>typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null})();function Fe(e,{autoBom:o=!1}={}){return o&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?newBlob([String.fromCharCode(65279),e],{type:e.type}):e}functionte(e,o,n){constt=newXMLHttpRequest;t.open("GET",e),t.responseType="blob",t.onload=function(){we(t.response,o,n)},t.onerror=function(){console.error("could not download file")},t.send()}functionbe(e){consto=newXMLHttpRequest;o.open("HEAD",e,!1);try{o.send()}catch{}returno.status>=200&&o.status<=299}functionM(e){try{e.dispatchEvent(newMouseEvent("click"))}catch{constn=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}constH=typeofnavigator=="object"?navigator:{userAgent:""},ve=(()=>/Macintosh/.test(H.userAgent)&&/AppleWebKit/.test(H.userAgent)&&!/Safari/.test(H.userAgent))(),we=j?typeofHTMLAnchorElement<"u"&&"download"inHTMLAnchorElement.prototype&&!ve?Ve:"msSaveOrOpenBlob"inH?De:Ne:()=>{};functionVe(e,o="download",n){constt=document.createElement("a");t.download=o,t.rel="noopener",typeofe=="string"?(t.href=e,t.origin!==location.origin?be(t.href)?te(e,o,n):(t.target="_blank",M(t)):M(t)):(t.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(t.href)},4e4),setTimeout(function(){M(t)},0))}functionDe(e,o="download",n){if(typeofe=="string")if(be(e))te(e,o,n);else{constt=document.createElement("a");t.href=e,t.target="_blank",setTimeout(function(){M(t)})}elsenavigator.msSaveOrOpenBlob(Fe(e,n),o)}functionNe(e,o,n,t){if(t=t||open("","_blank"),t&&(t.document.title=t.document.body.innerText="downloading..."),typeofe=="string")returnte(e,o,n);consts=e.type==="application/octet-stream",a=/constructor/i.test(String(ce.HTMLElement))||"safari"ince,r=/CriOS\/[\d]+/.test(navigator.userAgent);if((r||s&&a||ve)&&typeofFileReader<"u"){consti=newFileReader;i.onloadend=function(){letu=i.result;if(typeofu!="string")throwt=null,newError("Wrong reader.result type");u=r?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),t?t.location.href=u:location.assign(u),t=null},i.readAsDataURL(e)}else{consti=URL.createObjectURL(e);t?t.location.assign(i):location.href=i,t=null,setTimeout(function(){URL.revokeObjectURL(i)},4e4)}}functionm(e,o){constn="\u{1F34D} "+e;typeof__VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,o):o==="error"?console.error(n):o==="warn"?console.warn(n):console.log(n)}functionne(e){return"_a"ine&&"install"ine}functionSe(){if(!("clipboard"innavigator))returnm("Your browser doesn't support the Clipboard API","error"),!0}functionIe(e){returneinstanceofError&&e.message.toLowerCase().includes("document is not focused")?(m('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}asyncfunctionMe(e){if(!Se())try{awaitnavigator.clipboard.writeText(JSON.stringify(e.state.value)),m("Global state copied to clipboard.")}catch(o){if(Ie(o))return;m("Failed to serialize the state. Check the console for more details.","error"),console.error(o)}}asyncfunctionHe(e){if(!Se())try{e.state.value=JSON.parse(awaitnavigator.clipboard.readText()),m("Global state pasted from clipboard.")}catch(o){if(Ie(o))return;m("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(o)}}asyncfunctionGe(e){try{we(newBlob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(o){m("Failed to export the state as JSON. Check the console for more details.","error")