Files

29 lines
88 KiB
JavaScript

import{s as wr,u as we,c as ne,r as Mt,n as Nn,i as Ee,d as Tn,h as Rn,p as gt,a as wt,w as Mn,e as wn,m as Ze,g as Pr,b as ze,f as Pn,t as Ir,j as kr,o as Dr,k as Fr,l as qt}from"./arco.718bb75f.js";import{i as jr}from"./chart.031c4a92.js";/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const Me=typeof window<"u";function Ur(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const V=Object.assign;function _t(e,t){const n={};for(const r in t){const o=t[r];n[r]=se(o)?o.map(e):e(o)}return n}const He=()=>{},se=Array.isArray,xr=/\/$/,$r=e=>e.replace(xr,"");function vt(e,t,n="/"){let r,o={},s="",a="";const f=t.indexOf("#");let i=t.indexOf("?");return f<i&&f>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,f>-1?f:t.length),o=e(s)),f>-1&&(r=r||t.slice(0,f),a=t.slice(f,t.length)),r=Vr(r!=null?r:t,n),{fullPath:r+(s&&"?")+s+a,path:r,query:o,hash:a}}function Gr(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qt(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wr(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Pe(t.matched[r],n.matched[o])&&In(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pe(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function In(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Br(e[n],t[n]))return!1;return!0}function Br(e,t){return se(e)?Jt(e,t):se(t)?Jt(t,e):e===t}function Jt(e,t){return se(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Vr(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var qe;(function(e){e.pop="pop",e.push="push"})(qe||(qe={}));var Xe;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Xe||(Xe={}));function Kr(e){if(!e)if(Me){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),$r(e)}const Hr=/^[^#]+#/;function Xr(e,t){return e.replace(Hr,"#")+t}function Yr(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const st=()=>({left:window.pageXOffset,top:window.pageYOffset});function qr(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Yr(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Zt(e,t){return(history.state?history.state.position-t:-1)+e}const Ct=new Map;function Qr(e,t){Ct.set(e,t)}function Jr(e){const t=Ct.get(e);return Ct.delete(e),t}let Zr=()=>location.protocol+"//"+location.host;function kn(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let f=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(f);return i[0]!=="/"&&(i="/"+i),Qt(i,"")}return Qt(n,e)+r+o}function zr(e,t,n,r){let o=[],s=[],a=null;const f=({state:m})=>{const y=kn(e,location),A=n.value,T=t.value;let O=0;if(m){if(n.value=y,t.value=m,a&&a===A){a=null;return}O=T?m.position-T.position:0}else r(y);o.forEach(h=>{h(n.value,A,{delta:O,type:qe.pop,direction:O?O>0?Xe.forward:Xe.back:Xe.unknown})})};function i(){a=n.value}function u(m){o.push(m);const y=()=>{const A=o.indexOf(m);A>-1&&o.splice(A,1)};return s.push(y),y}function l(){const{history:m}=window;!m.state||m.replaceState(V({},m.state,{scroll:st()}),"")}function p(){for(const m of s)m();s=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",l),{pauseListeners:i,listen:u,destroy:p}}function zt(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?st():null}}function eo(e){const{history:t,location:n}=window,r={value:kn(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,u,l){const p=e.indexOf("#"),m=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+i:Zr()+e+i;try{t[l?"replaceState":"pushState"](u,"",m),o.value=u}catch(y){console.error(y),n[l?"replace":"assign"](m)}}function a(i,u){const l=V({},t.state,zt(o.value.back,i,o.value.forward,!0),u,{position:o.value.position});s(i,l,!0),r.value=i}function f(i,u){const l=V({},o.value,t.state,{forward:i,scroll:st()});s(l.current,l,!0);const p=V({},zt(r.value,i,null),{position:l.position+1},u);s(i,p,!1),r.value=i}return{location:r,state:o,push:f,replace:a}}function to(e){e=Kr(e);const t=eo(e),n=zr(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=V({location:"",base:e,go:r,createHref:Xr.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 Xi(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),to(e)}function no(e){return typeof e=="string"||e&&typeof e=="object"}function Dn(e){return typeof e=="string"||typeof e=="symbol"}const me={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fn=Symbol("");var en;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(en||(en={}));function Ie(e,t){return V(new Error,{type:e,[Fn]:!0},t)}function ce(e,t){return e instanceof Error&&Fn in e&&(t==null||!!(e.type&t))}const tn="[^/]+?",ro={sensitive:!1,strict:!1,start:!0,end:!0},oo=/[.+*?^${}()[\]/\\]/g;function so(e,t){const n=V({},ro,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let p=0;p<u.length;p++){const m=u[p];let y=40+(n.sensitive?.25:0);if(m.type===0)p||(o+="/"),o+=m.value.replace(oo,"\\$&"),y+=40;else if(m.type===1){const{value:A,repeatable:T,optional:O,regexp:h}=m;s.push({name:A,repeatable:T,optional:O});const E=h||tn;if(E!==tn){y+=10;try{new RegExp(`(${E})`)}catch(d){throw new Error(`Invalid custom RegExp for param "${A}" (${E}): `+d.message)}}let N=T?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;p||(N=O&&u.length<2?`(?:/${N})`:"/"+N),O&&(N+="?"),o+=N,y+=20,O&&(y+=-8),T&&(y+=-20),E===".*"&&(y+=-50)}l.push(y)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function f(u){const l=u.match(a),p={};if(!l)return null;for(let m=1;m<l.length;m++){const y=l[m]||"",A=s[m-1];p[A.name]=y&&A.repeatable?y.split("/"):y}return p}function i(u){let l="",p=!1;for(const m of e){(!p||!l.endsWith("/"))&&(l+="/"),p=!1;for(const y of m)if(y.type===0)l+=y.value;else if(y.type===1){const{value:A,repeatable:T,optional:O}=y,h=A in u?u[A]:"";if(se(h)&&!T)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const E=se(h)?h.join("/"):h;if(!E)if(O)m.length<2&&(l.endsWith("/")?l=l.slice(0,-1):p=!0);else throw new Error(`Missing required param "${A}"`);l+=E}}return l||"/"}return{re:a,score:r,keys:s,parse:f,stringify:i}}function io(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function ao(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=io(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(nn(r))return 1;if(nn(o))return-1}return o.length-r.length}function nn(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const lo={type:0,value:""},uo=/[a-zA-Z0-9_]/;function co(e){if(!e)return[[]];if(e==="/")return[[lo]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${u}": ${y}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let f=0,i,u="",l="";function p(){!u||(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),u="")}function m(){u+=i}for(;f<e.length;){if(i=e[f++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(u&&p(),a()):i===":"?(p(),n=1):m();break;case 4:m(),n=r;break;case 1:i==="("?n=2:uo.test(i)?m():(p(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&f--);break;case 2:i===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+i:n=3:l+=i;break;case 3:p(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&f--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),p(),a(),o}function fo(e,t,n){const r=so(co(e.path),n),o=V(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function ho(e,t){const n=[],r=new Map;t=sn({strict:!1,end:!0,sensitive:!1},t);function o(l){return r.get(l)}function s(l,p,m){const y=!m,A=mo(l);A.aliasOf=m&&m.record;const T=sn(t,l),O=[A];if("alias"in l){const N=typeof l.alias=="string"?[l.alias]:l.alias;for(const d of N)O.push(V({},A,{components:m?m.record.components:A.components,path:d,aliasOf:m?m.record:A}))}let h,E;for(const N of O){const{path:d}=N;if(p&&d[0]!=="/"){const _=p.record.path,C=_[_.length-1]==="/"?"":"/";N.path=p.record.path+(d&&C+d)}if(h=fo(N,p,T),m?m.alias.push(h):(E=E||h,E!==h&&E.alias.push(h),y&&l.name&&!on(h)&&a(l.name)),A.children){const _=A.children;for(let C=0;C<_.length;C++)s(_[C],h,m&&m.children[C])}m=m||h,(h.record.components&&Object.keys(h.record.components).length||h.record.name||h.record.redirect)&&i(h)}return E?()=>{a(E)}:He}function a(l){if(Dn(l)){const p=r.get(l);p&&(r.delete(l),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(l);p>-1&&(n.splice(p,1),l.record.name&&r.delete(l.record.name),l.children.forEach(a),l.alias.forEach(a))}}function f(){return n}function i(l){let p=0;for(;p<n.length&&ao(l,n[p])>=0&&(l.record.path!==n[p].record.path||!jn(l,n[p]));)p++;n.splice(p,0,l),l.record.name&&!on(l)&&r.set(l.record.name,l)}function u(l,p){let m,y={},A,T;if("name"in l&&l.name){if(m=r.get(l.name),!m)throw Ie(1,{location:l});T=m.record.name,y=V(rn(p.params,m.keys.filter(E=>!E.optional).map(E=>E.name)),l.params&&rn(l.params,m.keys.map(E=>E.name))),A=m.stringify(y)}else if("path"in l)A=l.path,m=n.find(E=>E.re.test(A)),m&&(y=m.parse(A),T=m.record.name);else{if(m=p.name?r.get(p.name):n.find(E=>E.re.test(p.path)),!m)throw Ie(1,{location:l,currentLocation:p});T=m.record.name,y=V({},p.params,l.params),A=m.stringify(y)}const O=[];let h=m;for(;h;)O.unshift(h.record),h=h.parent;return{name:T,path:A,params:y,matched:O,meta:go(O)}}return e.forEach(l=>s(l)),{addRoute:s,resolve:u,removeRoute:a,getRoutes:f,getRecordMatcher:o}}function rn(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function mo(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:po(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function po(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function on(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function go(e){return e.reduce((t,n)=>V(t,n.meta),{})}function sn(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function jn(e,t){return t.children.some(n=>n===e||jn(e,n))}const Un=/#/g,_o=/&/g,vo=/\//g,Eo=/=/g,So=/\?/g,xn=/\+/g,yo=/%5B/g,Co=/%5D/g,$n=/%5E/g,Lo=/%60/g,Gn=/%7B/g,bo=/%7C/g,Wn=/%7D/g,Ao=/%20/g;function Pt(e){return encodeURI(""+e).replace(bo,"|").replace(yo,"[").replace(Co,"]")}function Oo(e){return Pt(e).replace(Gn,"{").replace(Wn,"}").replace($n,"^")}function Lt(e){return Pt(e).replace(xn,"%2B").replace(Ao,"+").replace(Un,"%23").replace(_o,"%26").replace(Lo,"`").replace(Gn,"{").replace(Wn,"}").replace($n,"^")}function No(e){return Lt(e).replace(Eo,"%3D")}function To(e){return Pt(e).replace(Un,"%23").replace(So,"%3F")}function Ro(e){return e==null?"":To(e).replace(vo,"%2F")}function et(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Mo(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(xn," "),a=s.indexOf("="),f=et(a<0?s:s.slice(0,a)),i=a<0?null:et(s.slice(a+1));if(f in t){let u=t[f];se(u)||(u=t[f]=[u]),u.push(i)}else t[f]=i}return t}function an(e){let t="";for(let n in e){const r=e[n];if(n=No(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(se(r)?r.map(s=>s&&Lt(s)):[r&&Lt(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function wo(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=se(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Po=Symbol(""),ln=Symbol(""),it=Symbol(""),It=Symbol(""),bt=Symbol("");function Ve(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function ge(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,f)=>{const i=p=>{p===!1?f(Ie(4,{from:n,to:t})):p instanceof Error?f(p):no(p)?f(Ie(2,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),a())},u=e.call(r&&r.instances[o],t,n,i);let l=Promise.resolve(u);e.length<3&&(l=l.then(i)),l.catch(p=>f(p))})}function Et(e,t,n,r){const o=[];for(const s of e)for(const a in s.components){let f=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Io(f)){const u=(f.__vccOpts||f)[t];u&&o.push(ge(u,n,r,s,a))}else{let i=f();o.push(()=>i.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const l=Ur(u)?u.default:u;s.components[a]=l;const m=(l.__vccOpts||l)[t];return m&&ge(m,n,r,s,a)()}))}}return o}function Io(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function un(e){const t=Ee(it),n=Ee(It),r=ne(()=>t.resolve(we(e.to))),o=ne(()=>{const{matched:i}=r.value,{length:u}=i,l=i[u-1],p=n.matched;if(!l||!p.length)return-1;const m=p.findIndex(Pe.bind(null,l));if(m>-1)return m;const y=cn(i[u-2]);return u>1&&cn(l)===y&&p[p.length-1].path!==y?p.findIndex(Pe.bind(null,i[u-2])):m}),s=ne(()=>o.value>-1&&jo(n.params,r.value.params)),a=ne(()=>o.value>-1&&o.value===n.matched.length-1&&In(n.params,r.value.params));function f(i={}){return Fo(i)?t[we(e.replace)?"replace":"push"](we(e.to)).catch(He):Promise.resolve()}return{route:r,href:ne(()=>r.value.href),isActive:s,isExactActive:a,navigate:f}}const ko=Tn({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:un,setup(e,{slots:t}){const n=Mt(un(e)),{options:r}=Ee(it),o=ne(()=>({[fn(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[fn(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Rn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Do=ko;function Fo(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function jo(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!se(o)||o.length!==r.length||r.some((s,a)=>s!==o[a]))return!1}return!0}function cn(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fn=(e,t,n)=>e!=null?e:t!=null?t:n,Uo=Tn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ee(bt),o=ne(()=>e.route||r.value),s=Ee(ln,0),a=ne(()=>{let u=we(s);const{matched:l}=o.value;let p;for(;(p=l[u])&&!p.components;)u++;return u}),f=ne(()=>o.value.matched[a.value]);gt(ln,ne(()=>a.value+1)),gt(Po,f),gt(bt,o);const i=wt();return Mn(()=>[i.value,f.value,e.name],([u,l,p],[m,y,A])=>{l&&(l.instances[p]=u,y&&y!==l&&u&&u===m&&(l.leaveGuards.size||(l.leaveGuards=y.leaveGuards),l.updateGuards.size||(l.updateGuards=y.updateGuards))),u&&l&&(!y||!Pe(l,y)||!m)&&(l.enterCallbacks[p]||[]).forEach(T=>T(u))},{flush:"post"}),()=>{const u=o.value,l=e.name,p=f.value,m=p&&p.components[l];if(!m)return dn(n.default,{Component:m,route:u});const y=p.props[l],A=y?y===!0?u.params:typeof y=="function"?y(u):y:null,O=Rn(m,V({},A,t,{onVnodeUnmounted:h=>{h.component.isUnmounted&&(p.instances[l]=null)},ref:i}));return dn(n.default,{Component:O,route:u})||O}}});function dn(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const xo=Uo;function Yi(e){const t=ho(e.routes,e),n=e.parseQuery||Mo,r=e.stringifyQuery||an,o=e.history,s=Ve(),a=Ve(),f=Ve(),i=wr(me);let u=me;Me&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=_t.bind(null,b=>""+b),p=_t.bind(null,Ro),m=_t.bind(null,et);function y(b,P){let R,I;return Dn(b)?(R=t.getRecordMatcher(b),I=P):I=b,t.addRoute(I,R)}function A(b){const P=t.getRecordMatcher(b);P&&t.removeRoute(P)}function T(){return t.getRoutes().map(b=>b.record)}function O(b){return!!t.getRecordMatcher(b)}function h(b,P){if(P=V({},P||i.value),typeof b=="string"){const U=vt(n,b,P.path),c=t.resolve({path:U.path},P),g=o.createHref(U.fullPath);return V(U,c,{params:m(c.params),hash:et(U.hash),redirectedFrom:void 0,href:g})}let R;if("path"in b)R=V({},b,{path:vt(n,b.path,P.path).path});else{const U=V({},b.params);for(const c in U)U[c]==null&&delete U[c];R=V({},b,{params:p(b.params)}),P.params=p(P.params)}const I=t.resolve(R,P),W=b.hash||"";I.params=l(m(I.params));const Y=Gr(r,V({},b,{hash:Oo(W),path:I.path})),x=o.createHref(Y);return V({fullPath:Y,hash:W,query:r===an?wo(b.query):b.query||{}},I,{redirectedFrom:void 0,href:x})}function E(b){return typeof b=="string"?vt(n,b,i.value.path):V({},b)}function N(b,P){if(u!==b)return Ie(8,{from:P,to:b})}function d(b){return S(b)}function _(b){return d(V(E(b),{replace:!0}))}function C(b){const P=b.matched[b.matched.length-1];if(P&&P.redirect){const{redirect:R}=P;let I=typeof R=="function"?R(b):R;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=E(I):{path:I},I.params={}),V({query:b.query,hash:b.hash,params:"path"in I?{}:b.params},I)}}function S(b,P){const R=u=h(b),I=i.value,W=b.state,Y=b.force,x=b.replace===!0,U=C(R);if(U)return S(V(E(U),{state:typeof U=="object"?V({},W,U.state):W,force:Y,replace:x}),P||R);const c=R;c.redirectedFrom=P;let g;return!Y&&Wr(r,I,R)&&(g=Ie(16,{to:c,from:I}),Je(I,I,!0,!1)),(g?Promise.resolve(g):$(c,I)).catch(L=>ce(L)?ce(L,2)?L:Ne(L):Oe(L,c,I)).then(L=>{if(L){if(ce(L,2))return S(V({replace:x},E(L.to),{state:typeof L.to=="object"?V({},W,L.to.state):W,force:Y}),P||c)}else L=H(c,I,!0,x,W);return K(c,I,L),L})}function k(b,P){const R=N(b,P);return R?Promise.reject(R):Promise.resolve()}function $(b,P){let R;const[I,W,Y]=$o(b,P);R=Et(I.reverse(),"beforeRouteLeave",b,P);for(const U of I)U.leaveGuards.forEach(c=>{R.push(ge(c,b,P))});const x=k.bind(null,b,P);return R.push(x),Te(R).then(()=>{R=[];for(const U of s.list())R.push(ge(U,b,P));return R.push(x),Te(R)}).then(()=>{R=Et(W,"beforeRouteUpdate",b,P);for(const U of W)U.updateGuards.forEach(c=>{R.push(ge(c,b,P))});return R.push(x),Te(R)}).then(()=>{R=[];for(const U of b.matched)if(U.beforeEnter&&!P.matched.includes(U))if(se(U.beforeEnter))for(const c of U.beforeEnter)R.push(ge(c,b,P));else R.push(ge(U.beforeEnter,b,P));return R.push(x),Te(R)}).then(()=>(b.matched.forEach(U=>U.enterCallbacks={}),R=Et(Y,"beforeRouteEnter",b,P),R.push(x),Te(R))).then(()=>{R=[];for(const U of a.list())R.push(ge(U,b,P));return R.push(x),Te(R)}).catch(U=>ce(U,8)?U:Promise.reject(U))}function K(b,P,R){for(const I of f.list())I(b,P,R)}function H(b,P,R,I,W){const Y=N(b,P);if(Y)return Y;const x=P===me,U=Me?history.state:{};R&&(I||x?o.replace(b.fullPath,V({scroll:x&&U&&U.scroll},W)):o.push(b.fullPath,W)),i.value=b,Je(b,P,R,x),Ne()}let ee;function ue(){ee||(ee=o.listen((b,P,R)=>{if(!Be.listening)return;const I=h(b),W=C(I);if(W){S(V(W,{replace:!0}),I).catch(He);return}u=I;const Y=i.value;Me&&Qr(Zt(Y.fullPath,R.delta),st()),$(I,Y).catch(x=>ce(x,12)?x:ce(x,2)?(S(x.to,I).then(U=>{ce(U,20)&&!R.delta&&R.type===qe.pop&&o.go(-1,!1)}).catch(He),Promise.reject()):(R.delta&&o.go(-R.delta,!1),Oe(x,I,Y))).then(x=>{x=x||H(I,Y,!1),x&&(R.delta&&!ce(x,8)?o.go(-R.delta,!1):R.type===qe.pop&&ce(x,20)&&o.go(-1,!1)),K(I,Y,x)}).catch(He)}))}let te=Ve(),Q=Ve(),Ae;function Oe(b,P,R){Ne(b);const I=Q.list();return I.length?I.forEach(W=>W(b,P,R)):console.error(b),Promise.reject(b)}function pt(){return Ae&&i.value!==me?Promise.resolve():new Promise((b,P)=>{te.add([b,P])})}function Ne(b){return Ae||(Ae=!b,ue(),te.list().forEach(([P,R])=>b?R(b):P()),te.reset()),b}function Je(b,P,R,I){const{scrollBehavior:W}=e;if(!Me||!W)return Promise.resolve();const Y=!R&&Jr(Zt(b.fullPath,0))||(I||!R)&&history.state&&history.state.scroll||null;return Nn().then(()=>W(b,P,Y)).then(x=>x&&qr(x)).catch(x=>Oe(x,b,P))}const $e=b=>o.go(b);let Ge;const We=new Set,Be={currentRoute:i,listening:!0,addRoute:y,removeRoute:A,hasRoute:O,getRoutes:T,resolve:h,options:e,push:d,replace:_,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:s.add,beforeResolve:a.add,afterEach:f.add,onError:Q.add,isReady:pt,install(b){const P=this;b.component("RouterLink",Do),b.component("RouterView",xo),b.config.globalProperties.$router=P,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>we(i)}),Me&&!Ge&&i.value===me&&(Ge=!0,d(o.location).catch(W=>{}));const R={};for(const W in me)R[W]=ne(()=>i.value[W]);b.provide(it,P),b.provide(It,Mt(R)),b.provide(bt,i);const I=b.unmount;We.add(b),b.unmount=function(){We.delete(b),We.size<1&&(u=me,ee&&ee(),ee=null,i.value=me,Ge=!1,Ae=!1),I()}}};return Be}function Te(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function $o(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const f=t.matched[a];f&&(e.matched.find(u=>Pe(u,f))?r.push(f):n.push(f));const i=e.matched[a];i&&(t.matched.find(u=>Pe(u,i))||o.push(i))}return[n,r,o]}function qi(){return Ee(it)}function Qi(){return Ee(It)}/*!
* pinia v2.0.28
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/let Bn;const at=e=>Bn=e,Vn=Symbol();function At(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ye;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ye||(Ye={}));function Ji(){const e=wn(!0),t=e.run(()=>wt({}));let n=[],r=[];const o=Ze({install(s){at(o),o._a=s,s.provide(Vn,o),s.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(s){return!this._a&&!jr?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Kn=()=>{};function hn(e,t,n,r=Kn){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&kr()&&Dr(o),o}function Re(e,...t){e.slice().forEach(n=>{n(...t)})}function Ot(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];At(o)&&At(r)&&e.hasOwnProperty(n)&&!ze(r)&&!Pn(r)?e[n]=Ot(o,r):e[n]=r}return e}const Go=Symbol();function Wo(e){return!At(e)||!e.hasOwnProperty(Go)}const{assign:_e}=Object;function Bo(e){return!!(ze(e)&&e.effect)}function Vo(e,t,n,r){const{state:o,actions:s,getters:a}=t,f=n.state.value[e];let i;function u(){f||(n.state.value[e]=o?o():{});const l=Fr(n.state.value[e]);return _e(l,s,Object.keys(a||{}).reduce((p,m)=>(p[m]=Ze(ne(()=>{at(n);const y=n._s.get(e);return a[m].call(y,y)})),p),{}))}return i=Hn(e,u,t,n,r,!0),i.$reset=function(){const p=o?o():{};this.$patch(m=>{_e(m,p)})},i}function Hn(e,t,n={},r,o,s){let a;const f=_e({actions:{}},n),i={deep:!0};let u,l,p=Ze([]),m=Ze([]),y;const A=r.state.value[e];!s&&!A&&(r.state.value[e]={}),wt({});let T;function O(S){let k;u=l=!1,typeof S=="function"?(S(r.state.value[e]),k={type:Ye.patchFunction,storeId:e,events:y}):(Ot(r.state.value[e],S),k={type:Ye.patchObject,payload:S,storeId:e,events:y});const $=T=Symbol();Nn().then(()=>{T===$&&(u=!0)}),l=!0,Re(p,k,r.state.value[e])}const h=Kn;function E(){a.stop(),p=[],m=[],r._s.delete(e)}function N(S,k){return function(){at(r);const $=Array.from(arguments),K=[],H=[];function ee(Q){K.push(Q)}function ue(Q){H.push(Q)}Re(m,{args:$,name:S,store:_,after:ee,onError:ue});let te;try{te=k.apply(this&&this.$id===e?this:_,$)}catch(Q){throw Re(H,Q),Q}return te instanceof Promise?te.then(Q=>(Re(K,Q),Q)).catch(Q=>(Re(H,Q),Promise.reject(Q))):(Re(K,te),te)}}const d={_p:r,$id:e,$onAction:hn.bind(null,m),$patch:O,$reset:h,$subscribe(S,k={}){const $=hn(p,S,k.detached,()=>K()),K=a.run(()=>Mn(()=>r.state.value[e],H=>{(k.flush==="sync"?l:u)&&S({storeId:e,type:Ye.direct,events:y},H)},_e({},i,k)));return $},$dispose:E},_=Mt(d);r._s.set(e,_);const C=r._e.run(()=>(a=wn(),a.run(()=>t())));for(const S in C){const k=C[S];if(ze(k)&&!Bo(k)||Pn(k))s||(A&&Wo(k)&&(ze(k)?k.value=A[S]:Ot(k,A[S])),r.state.value[e][S]=k);else if(typeof k=="function"){const $=N(S,k);C[S]=$,f.actions[S]=k}}return _e(_,C),_e(Ir(_),C),Object.defineProperty(_,"$state",{get:()=>r.state.value[e],set:S=>{O(k=>{_e(k,S)})}}),r._p.forEach(S=>{_e(_,a.run(()=>S({store:_,app:r._a,pinia:r,options:f})))}),A&&s&&n.hydrate&&n.hydrate(_.$state,A),u=!0,l=!0,_}function Zi(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function a(f,i){const u=Pr();return f=f||u&&Ee(Vn,null),f&&at(f),f=Bn,f._s.has(r)||(s?Hn(r,t,o,f):Vo(r,o,f)),f._s.get(r)}return a.$id=r,a}var kt={exports:{}},G={};/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(G,"__esModule",{value:!0});const Ko=typeof window<"u";let Ho,Xo;const Yo=/\{([0-9a-zA-Z]+)\}/g;function qo(e,...t){return t.length===1&&Dt(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Yo,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Qo=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Jo=e=>Qo?Symbol(e):e,Zo=(e,t,n)=>Xn({l:e,k:t,s:n}),Xn=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),zo=e=>typeof e=="number"&&isFinite(e),es=e=>lt(e)==="[object Date]",ts=e=>lt(e)==="[object RegExp]",ns=e=>jt(e)&&Object.keys(e).length===0;function rs(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const os=Object.assign;let mn;const ss=()=>mn||(mn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof qt<"u"?qt:{});function is(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const as=Object.prototype.hasOwnProperty;function ls(e,t){return as.call(e,t)}const Yn=Array.isArray,Nt=e=>typeof e=="function",us=e=>typeof e=="string",cs=e=>typeof e=="boolean",fs=e=>typeof e=="symbol",Dt=e=>e!==null&&typeof e=="object",ds=e=>Dt(e)&&Nt(e.then)&&Nt(e.catch),Ft=Object.prototype.toString,lt=e=>Ft.call(e),jt=e=>lt(e)==="[object Object]",hs=e=>e==null?"":Yn(e)||jt(e)&&e.toString===Ft?JSON.stringify(e,null,2):String(e),pn=2;function ms(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const s=[];for(let a=0;a<r.length;a++)if(o+=r[a].length+1,o>=t){for(let f=a-pn;f<=a+pn||n>o;f++){if(f<0||f>=r.length)continue;const i=f+1;s.push(`${i}${" ".repeat(3-String(i).length)}| ${r[f]}`);const u=r[f].length;if(f===a){const l=t-(o-u)+1,p=Math.max(1,n>o?u-l:n-t);s.push(" | "+" ".repeat(l)+"^".repeat(p))}else if(f>a){if(n>o){const l=Math.max(Math.min(n-o,u),1);s.push(" | "+"^".repeat(l))}o+=u+1}}break}return s.join(`
`)}function ps(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}G.assign=os;G.createEmitter=ps;G.escapeHtml=is;G.format=qo;G.friendlyJSONstringify=Xn;G.generateCodeFrame=ms;G.generateFormatCacheKey=Zo;G.getGlobalThis=ss;G.hasOwn=ls;G.inBrowser=Ko;G.isArray=Yn;G.isBoolean=cs;G.isDate=es;G.isEmptyObject=ns;G.isFunction=Nt;G.isNumber=zo;G.isObject=Dt;G.isPlainObject=jt;G.isPromise=ds;G.isRegExp=ts;G.isString=us;G.isSymbol=fs;G.makeSymbol=Jo;G.mark=Ho;G.measure=Xo;G.objectToString=Ft;G.toDisplayString=hs;G.toTypeString=lt;G.warn=rs;(function(e){e.exports=G})(kt);var gs={exports:{}},D={},qn={exports:{}},oe={},ut={},Ut={},ct={},xt={},gn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");xt.encode=function(e){if(0<=e&&e<gn.length)return gn[e];throw new TypeError("Must be between 0 and 63: "+e)};xt.decode=function(e){var t=65,n=90,r=97,o=122,s=48,a=57,f=43,i=47,u=26,l=52;return t<=e&&e<=n?e-t:r<=e&&e<=o?e-r+u:s<=e&&e<=a?e-s+l:e==f?62:e==i?63:-1};var Qn=xt,$t=5,Jn=1<<$t,Zn=Jn-1,zn=Jn;function _s(e){return e<0?(-e<<1)+1:(e<<1)+0}function vs(e){var t=(e&1)===1,n=e>>1;return t?-n:n}ct.encode=function(t){var n="",r,o=_s(t);do r=o&Zn,o>>>=$t,o>0&&(r|=zn),n+=Qn.encode(r);while(o>0);return n};ct.decode=function(t,n,r){var o=t.length,s=0,a=0,f,i;do{if(n>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(i=Qn.decode(t.charCodeAt(n++)),i===-1)throw new Error("Invalid base64 digit: "+t.charAt(n-1));f=!!(i&zn),i&=Zn,s=s+(i<<a),a+=$t}while(f);r.value=vs(s),r.rest=n};var Ue={};(function(e){function t(d,_,C){if(_ in d)return d[_];if(arguments.length===3)return C;throw new Error('"'+_+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(d){var _=d.match(n);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}e.urlParse=o;function s(d){var _="";return d.scheme&&(_+=d.scheme+":"),_+="//",d.auth&&(_+=d.auth+"@"),d.host&&(_+=d.host),d.port&&(_+=":"+d.port),d.path&&(_+=d.path),_}e.urlGenerate=s;function a(d){var _=d,C=o(d);if(C){if(!C.path)return d;_=C.path}for(var S=e.isAbsolute(_),k=_.split(/\/+/),$,K=0,H=k.length-1;H>=0;H--)$=k[H],$==="."?k.splice(H,1):$===".."?K++:K>0&&($===""?(k.splice(H+1,K),K=0):(k.splice(H,2),K--));return _=k.join("/"),_===""&&(_=S?"/":"."),C?(C.path=_,s(C)):_}e.normalize=a;function f(d,_){d===""&&(d="."),_===""&&(_=".");var C=o(_),S=o(d);if(S&&(d=S.path||"/"),C&&!C.scheme)return S&&(C.scheme=S.scheme),s(C);if(C||_.match(r))return _;if(S&&!S.host&&!S.path)return S.host=_,s(S);var k=_.charAt(0)==="/"?_:a(d.replace(/\/+$/,"")+"/"+_);return S?(S.path=k,s(S)):k}e.join=f,e.isAbsolute=function(d){return d.charAt(0)==="/"||n.test(d)};function i(d,_){d===""&&(d="."),d=d.replace(/\/$/,"");for(var C=0;_.indexOf(d+"/")!==0;){var S=d.lastIndexOf("/");if(S<0||(d=d.slice(0,S),d.match(/^([^\/]+:\/)?\/*$/)))return _;++C}return Array(C+1).join("../")+_.substr(d.length+1)}e.relative=i;var u=function(){var d=Object.create(null);return!("__proto__"in d)}();function l(d){return d}function p(d){return y(d)?"$"+d:d}e.toSetString=u?l:p;function m(d){return y(d)?d.slice(1):d}e.fromSetString=u?l:m;function y(d){if(!d)return!1;var _=d.length;if(_<9||d.charCodeAt(_-1)!==95||d.charCodeAt(_-2)!==95||d.charCodeAt(_-3)!==111||d.charCodeAt(_-4)!==116||d.charCodeAt(_-5)!==111||d.charCodeAt(_-6)!==114||d.charCodeAt(_-7)!==112||d.charCodeAt(_-8)!==95||d.charCodeAt(_-9)!==95)return!1;for(var C=_-10;C>=0;C--)if(d.charCodeAt(C)!==36)return!1;return!0}function A(d,_,C){var S=O(d.source,_.source);return S!==0||(S=d.originalLine-_.originalLine,S!==0)||(S=d.originalColumn-_.originalColumn,S!==0||C)||(S=d.generatedColumn-_.generatedColumn,S!==0)||(S=d.generatedLine-_.generatedLine,S!==0)?S:O(d.name,_.name)}e.compareByOriginalPositions=A;function T(d,_,C){var S=d.generatedLine-_.generatedLine;return S!==0||(S=d.generatedColumn-_.generatedColumn,S!==0||C)||(S=O(d.source,_.source),S!==0)||(S=d.originalLine-_.originalLine,S!==0)||(S=d.originalColumn-_.originalColumn,S!==0)?S:O(d.name,_.name)}e.compareByGeneratedPositionsDeflated=T;function O(d,_){return d===_?0:d===null?1:_===null?-1:d>_?1:-1}function h(d,_){var C=d.generatedLine-_.generatedLine;return C!==0||(C=d.generatedColumn-_.generatedColumn,C!==0)||(C=O(d.source,_.source),C!==0)||(C=d.originalLine-_.originalLine,C!==0)||(C=d.originalColumn-_.originalColumn,C!==0)?C:O(d.name,_.name)}e.compareByGeneratedPositionsInflated=h;function E(d){return JSON.parse(d.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=E;function N(d,_,C){if(_=_||"",d&&(d[d.length-1]!=="/"&&_[0]!=="/"&&(d+="/"),_=d+_),C){var S=o(C);if(!S)throw new Error("sourceMapURL could not be parsed");if(S.path){var k=S.path.lastIndexOf("/");k>=0&&(S.path=S.path.substring(0,k+1))}_=f(s(S),_)}return a(_)}e.computeSourceURL=N})(Ue);var Gt={},Wt=Ue,Bt=Object.prototype.hasOwnProperty,be=typeof Map<"u";function de(){this._array=[],this._set=be?new Map:Object.create(null)}de.fromArray=function(t,n){for(var r=new de,o=0,s=t.length;o<s;o++)r.add(t[o],n);return r};de.prototype.size=function(){return be?this._set.size:Object.getOwnPropertyNames(this._set).length};de.prototype.add=function(t,n){var r=be?t:Wt.toSetString(t),o=be?this.has(t):Bt.call(this._set,r),s=this._array.length;(!o||n)&&this._array.push(t),o||(be?this._set.set(t,s):this._set[r]=s)};de.prototype.has=function(t){if(be)return this._set.has(t);var n=Wt.toSetString(t);return Bt.call(this._set,n)};de.prototype.indexOf=function(t){if(be){var n=this._set.get(t);if(n>=0)return n}else{var r=Wt.toSetString(t);if(Bt.call(this._set,r))return this._set[r]}throw new Error('"'+t+'" is not in the set.')};de.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};de.prototype.toArray=function(){return this._array.slice()};Gt.ArraySet=de;var er={},tr=Ue;function Es(e,t){var n=e.generatedLine,r=t.generatedLine,o=e.generatedColumn,s=t.generatedColumn;return r>n||r==n&&s>=o||tr.compareByGeneratedPositionsInflated(e,t)<=0}function ft(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}ft.prototype.unsortedForEach=function(t,n){this._array.forEach(t,n)};ft.prototype.add=function(t){Es(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};ft.prototype.toArray=function(){return this._sorted||(this._array.sort(tr.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};er.MappingList=ft;var Ke=ct,q=Ue,tt=Gt.ArraySet,Ss=er.MappingList;function re(e){e||(e={}),this._file=q.getArg(e,"file",null),this._sourceRoot=q.getArg(e,"sourceRoot",null),this._skipValidation=q.getArg(e,"skipValidation",!1),this._sources=new tt,this._names=new tt,this._mappings=new Ss,this._sourcesContents=null}re.prototype._version=3;re.fromSourceMap=function(t){var n=t.sourceRoot,r=new re({file:t.file,sourceRoot:n});return t.eachMapping(function(o){var s={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(s.source=o.source,n!=null&&(s.source=q.relative(n,s.source)),s.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(s.name=o.name)),r.addMapping(s)}),t.sources.forEach(function(o){var s=o;n!==null&&(s=q.relative(n,o)),r._sources.has(s)||r._sources.add(s);var a=t.sourceContentFor(o);a!=null&&r.setSourceContent(o,a)}),r};re.prototype.addMapping=function(t){var n=q.getArg(t,"generated"),r=q.getArg(t,"original",null),o=q.getArg(t,"source",null),s=q.getArg(t,"name",null);this._skipValidation||this._validateMapping(n,r,o,s),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:o,name:s})};re.prototype.setSourceContent=function(t,n){var r=t;this._sourceRoot!=null&&(r=q.relative(this._sourceRoot,r)),n!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[q.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[q.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};re.prototype.applySourceMap=function(t,n,r){var o=n;if(n==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=t.file}var s=this._sourceRoot;s!=null&&(o=q.relative(s,o));var a=new tt,f=new tt;this._mappings.unsortedForEach(function(i){if(i.source===o&&i.originalLine!=null){var u=t.originalPositionFor({line:i.originalLine,column:i.originalColumn});u.source!=null&&(i.source=u.source,r!=null&&(i.source=q.join(r,i.source)),s!=null&&(i.source=q.relative(s,i.source)),i.originalLine=u.line,i.originalColumn=u.column,u.name!=null&&(i.name=u.name))}var l=i.source;l!=null&&!a.has(l)&&a.add(l);var p=i.name;p!=null&&!f.has(p)&&f.add(p)},this),this._sources=a,this._names=f,t.sources.forEach(function(i){var u=t.sourceContentFor(i);u!=null&&(r!=null&&(i=q.join(r,i)),s!=null&&(i=q.relative(s,i)),this.setSourceContent(i,u))},this)};re.prototype._validateMapping=function(t,n,r,o){if(n&&typeof n.line!="number"&&typeof n.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!n&&!r&&!o)){if(t&&"line"in t&&"column"in t&&n&&"line"in n&&"column"in n&&t.line>0&&t.column>=0&&n.line>0&&n.column>=0&&r)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:r,original:n,name:o}))}};re.prototype._serializeMappings=function(){for(var t=0,n=1,r=0,o=0,s=0,a=0,f="",i,u,l,p,m=this._mappings.toArray(),y=0,A=m.length;y<A;y++){if(u=m[y],i="",u.generatedLine!==n)for(t=0;u.generatedLine!==n;)i+=";",n++;else if(y>0){if(!q.compareByGeneratedPositionsInflated(u,m[y-1]))continue;i+=","}i+=Ke.encode(u.generatedColumn-t),t=u.generatedColumn,u.source!=null&&(p=this._sources.indexOf(u.source),i+=Ke.encode(p-a),a=p,i+=Ke.encode(u.originalLine-1-o),o=u.originalLine-1,i+=Ke.encode(u.originalColumn-r),r=u.originalColumn,u.name!=null&&(l=this._names.indexOf(u.name),i+=Ke.encode(l-s),s=l)),f+=i}return f};re.prototype._generateSourcesContent=function(t,n){return t.map(function(r){if(!this._sourcesContents)return null;n!=null&&(r=q.relative(n,r));var o=q.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};re.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};re.prototype.toString=function(){return JSON.stringify(this.toJSON())};Ut.SourceMapGenerator=re;var dt={},nr={};(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,o,s,a,f){var i=Math.floor((r-n)/2)+n,u=a(o,s[i],!0);return u===0?i:u>0?r-i>1?t(i,r,o,s,a,f):f==e.LEAST_UPPER_BOUND?r<s.length?r:-1:i:i-n>1?t(n,i,o,s,a,f):f==e.LEAST_UPPER_BOUND?i:n<0?-1:n}e.search=function(r,o,s,a){if(o.length===0)return-1;var f=t(-1,o.length,r,o,s,a||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&s(o[f],o[f-1],!0)===0;)--f;return f}})(nr);var rr={};function St(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ys(e,t){return Math.round(e+Math.random()*(t-e))}function Tt(e,t,n,r){if(n<r){var o=ys(n,r),s=n-1;St(e,o,r);for(var a=e[r],f=n;f<r;f++)t(e[f],a)<=0&&(s+=1,St(e,s,f));St(e,s+1,f);var i=s+1;Tt(e,t,n,i-1),Tt(e,t,i+1,r)}}rr.quickSort=function(e,t){Tt(e,t,0,e.length-1)};var w=Ue,Vt=nr,ke=Gt.ArraySet,Cs=ct,Qe=rr.quickSort;function X(e,t){var n=e;return typeof e=="string"&&(n=w.parseSourceMapInput(e)),n.sections!=null?new ie(n,t):new J(n,t)}X.fromSourceMap=function(e,t){return J.fromSourceMap(e,t)};X.prototype._version=3;X.prototype.__generatedMappings=null;Object.defineProperty(X.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});X.prototype.__originalMappings=null;Object.defineProperty(X.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});X.prototype._charIsMappingSeparator=function(t,n){var r=t.charAt(n);return r===";"||r===","};X.prototype._parseMappings=function(t,n){throw new Error("Subclasses must implement _parseMappings")};X.GENERATED_ORDER=1;X.ORIGINAL_ORDER=2;X.GREATEST_LOWER_BOUND=1;X.LEAST_UPPER_BOUND=2;X.prototype.eachMapping=function(t,n,r){var o=n||null,s=r||X.GENERATED_ORDER,a;switch(s){case X.GENERATED_ORDER:a=this._generatedMappings;break;case X.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var f=this.sourceRoot;a.map(function(i){var u=i.source===null?null:this._sources.at(i.source);return u=w.computeSourceURL(f,u,this._sourceMapURL),{source:u,generatedLine:i.generatedLine,generatedColumn:i.generatedColumn,originalLine:i.originalLine,originalColumn:i.originalColumn,name:i.name===null?null:this._names.at(i.name)}},this).forEach(t,o)};X.prototype.allGeneratedPositionsFor=function(t){var n=w.getArg(t,"line"),r={source:w.getArg(t,"source"),originalLine:n,originalColumn:w.getArg(t,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var o=[],s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",w.compareByOriginalPositions,Vt.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(t.column===void 0)for(var f=a.originalLine;a&&a.originalLine===f;)o.push({line:w.getArg(a,"generatedLine",null),column:w.getArg(a,"generatedColumn",null),lastColumn:w.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var i=a.originalColumn;a&&a.originalLine===n&&a.originalColumn==i;)o.push({line:w.getArg(a,"generatedLine",null),column:w.getArg(a,"generatedColumn",null),lastColumn:w.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return o};dt.SourceMapConsumer=X;function J(e,t){var n=e;typeof e=="string"&&(n=w.parseSourceMapInput(e));var r=w.getArg(n,"version"),o=w.getArg(n,"sources"),s=w.getArg(n,"names",[]),a=w.getArg(n,"sourceRoot",null),f=w.getArg(n,"sourcesContent",null),i=w.getArg(n,"mappings"),u=w.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);a&&(a=w.normalize(a)),o=o.map(String).map(w.normalize).map(function(l){return a&&w.isAbsolute(a)&&w.isAbsolute(l)?w.relative(a,l):l}),this._names=ke.fromArray(s.map(String),!0),this._sources=ke.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(l){return w.computeSourceURL(a,l,t)}),this.sourceRoot=a,this.sourcesContent=f,this._mappings=i,this._sourceMapURL=t,this.file=u}J.prototype=Object.create(X.prototype);J.prototype.consumer=X;J.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=w.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var n;for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1};J.fromSourceMap=function(t,n){var r=Object.create(J.prototype),o=r._names=ke.fromArray(t._names.toArray(),!0),s=r._sources=ke.fromArray(t._sources.toArray(),!0);r.sourceRoot=t._sourceRoot,r.sourcesContent=t._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=t._file,r._sourceMapURL=n,r._absoluteSources=r._sources.toArray().map(function(y){return w.computeSourceURL(r.sourceRoot,y,n)});for(var a=t._mappings.toArray().slice(),f=r.__generatedMappings=[],i=r.__originalMappings=[],u=0,l=a.length;u<l;u++){var p=a[u],m=new or;m.generatedLine=p.generatedLine,m.generatedColumn=p.generatedColumn,p.source&&(m.source=s.indexOf(p.source),m.originalLine=p.originalLine,m.originalColumn=p.originalColumn,p.name&&(m.name=o.indexOf(p.name)),i.push(m)),f.push(m)}return Qe(r.__originalMappings,w.compareByOriginalPositions),r};J.prototype._version=3;Object.defineProperty(J.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function or(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}J.prototype._parseMappings=function(t,n){for(var r=1,o=0,s=0,a=0,f=0,i=0,u=t.length,l=0,p={},m={},y=[],A=[],T,O,h,E,N;l<u;)if(t.charAt(l)===";")r++,l++,o=0;else if(t.charAt(l)===",")l++;else{for(T=new or,T.generatedLine=r,E=l;E<u&&!this._charIsMappingSeparator(t,E);E++);if(O=t.slice(l,E),h=p[O],h)l+=O.length;else{for(h=[];l<E;)Cs.decode(t,l,m),N=m.value,l=m.rest,h.push(N);if(h.length===2)throw new Error("Found a source, but no line and column");if(h.length===3)throw new Error("Found a source and line, but no column");p[O]=h}T.generatedColumn=o+h[0],o=T.generatedColumn,h.length>1&&(T.source=f+h[1],f+=h[1],T.originalLine=s+h[2],s=T.originalLine,T.originalLine+=1,T.originalColumn=a+h[3],a=T.originalColumn,h.length>4&&(T.name=i+h[4],i+=h[4])),A.push(T),typeof T.originalLine=="number"&&y.push(T)}Qe(A,w.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,Qe(y,w.compareByOriginalPositions),this.__originalMappings=y};J.prototype._findMapping=function(t,n,r,o,s,a){if(t[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[r]);if(t[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[o]);return Vt.search(t,n,s,a)};J.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var n=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var r=this._generatedMappings[t+1];if(n.generatedLine===r.generatedLine){n.lastGeneratedColumn=r.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}};J.prototype.originalPositionFor=function(t){var n={generatedLine:w.getArg(t,"line"),generatedColumn:w.getArg(t,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",w.compareByGeneratedPositionsDeflated,w.getArg(t,"bias",X.GREATEST_LOWER_BOUND));if(r>=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var s=w.getArg(o,"source",null);s!==null&&(s=this._sources.at(s),s=w.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=w.getArg(o,"name",null);return a!==null&&(a=this._names.at(a)),{source:s,line:w.getArg(o,"originalLine",null),column:w.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};J.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};J.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var o=t;this.sourceRoot!=null&&(o=w.relative(this.sourceRoot,o));var s;if(this.sourceRoot!=null&&(s=w.urlParse(this.sourceRoot))){var a=o.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!s.path||s.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')};J.prototype.generatedPositionFor=function(t){var n=w.getArg(t,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:w.getArg(t,"line"),originalColumn:w.getArg(t,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",w.compareByOriginalPositions,w.getArg(t,"bias",X.GREATEST_LOWER_BOUND));if(o>=0){var s=this._originalMappings[o];if(s.source===r.source)return{line:w.getArg(s,"generatedLine",null),column:w.getArg(s,"generatedColumn",null),lastColumn:w.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};dt.BasicSourceMapConsumer=J;function ie(e,t){var n=e;typeof e=="string"&&(n=w.parseSourceMapInput(e));var r=w.getArg(n,"version"),o=w.getArg(n,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new ke,this._names=new ke;var s={line:-1,column:0};this._sections=o.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var f=w.getArg(a,"offset"),i=w.getArg(f,"line"),u=w.getArg(f,"column");if(i<s.line||i===s.line&&u<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=f,{generatedOffset:{generatedLine:i+1,generatedColumn:u+1},consumer:new X(w.getArg(a,"map"),t)}})}ie.prototype=Object.create(X.prototype);ie.prototype.constructor=X;ie.prototype._version=3;Object.defineProperty(ie.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}});ie.prototype.originalPositionFor=function(t){var n={generatedLine:w.getArg(t,"line"),generatedColumn:w.getArg(t,"column")},r=Vt.search(n,this._sections,function(s,a){var f=s.generatedLine-a.generatedOffset.generatedLine;return f||s.generatedColumn-a.generatedOffset.generatedColumn}),o=this._sections[r];return o?o.consumer.originalPositionFor({line:n.generatedLine-(o.generatedOffset.generatedLine-1),column:n.generatedColumn-(o.generatedOffset.generatedLine===n.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};ie.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};ie.prototype.sourceContentFor=function(t,n){for(var r=0;r<this._sections.length;r++){var o=this._sections[r],s=o.consumer.sourceContentFor(t,!0);if(s)return s}if(n)return null;throw new Error('"'+t+'" is not in the SourceMap.')};ie.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(w.getArg(t,"source"))!==-1){var o=r.consumer.generatedPositionFor(t);if(o){var s={line:o.line+(r.generatedOffset.generatedLine-1),column:o.column+(r.generatedOffset.generatedLine===o.line?r.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};ie.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var o=this._sections[r],s=o.consumer._generatedMappings,a=0;a<s.length;a++){var f=s[a],i=o.consumer._sources.at(f.source);i=w.computeSourceURL(o.consumer.sourceRoot,i,this._sourceMapURL),this._sources.add(i),i=this._sources.indexOf(i);var u=null;f.name&&(u=o.consumer._names.at(f.name),this._names.add(u),u=this._names.indexOf(u));var l={source:i,generatedLine:f.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:f.generatedColumn+(o.generatedOffset.generatedLine===f.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:f.originalLine,originalColumn:f.originalColumn,name:u};this.__generatedMappings.push(l),typeof l.originalLine=="number"&&this.__originalMappings.push(l)}Qe(this.__generatedMappings,w.compareByGeneratedPositionsDeflated),Qe(this.__originalMappings,w.compareByOriginalPositions)};dt.IndexedSourceMapConsumer=ie;var sr={},Ls=Ut.SourceMapGenerator,nt=Ue,bs=/(\r?\n)/,As=10,xe="$$$isSourceNode$$$";function z(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=e==null?null:e,this.column=t==null?null:t,this.source=n==null?null:n,this.name=o==null?null:o,this[xe]=!0,r!=null&&this.add(r)}z.fromStringWithSourceMap=function(t,n,r){var o=new z,s=t.split(bs),a=0,f=function(){var m=A(),y=A()||"";return m+y;function A(){return a<s.length?s[a++]:void 0}},i=1,u=0,l=null;return n.eachMapping(function(m){if(l!==null)if(i<m.generatedLine)p(l,f()),i++,u=0;else{var y=s[a]||"",A=y.substr(0,m.generatedColumn-u);s[a]=y.substr(m.generatedColumn-u),u=m.generatedColumn,p(l,A),l=m;return}for(;i<m.generatedLine;)o.add(f()),i++;if(u<m.generatedColumn){var y=s[a]||"";o.add(y.substr(0,m.generatedColumn)),s[a]=y.substr(m.generatedColumn),u=m.generatedColumn}l=m},this),a<s.length&&(l&&p(l,f()),o.add(s.splice(a).join(""))),n.sources.forEach(function(m){var y=n.sourceContentFor(m);y!=null&&(r!=null&&(m=nt.join(r,m)),o.setSourceContent(m,y))}),o;function p(m,y){if(m===null||m.source===void 0)o.add(y);else{var A=r?nt.join(r,m.source):m.source;o.add(new z(m.originalLine,m.originalColumn,A,y,m.name))}}};z.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(n){this.add(n)},this);else if(t[xe]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};z.prototype.prepend=function(t){if(Array.isArray(t))for(var n=t.length-1;n>=0;n--)this.prepend(t[n]);else if(t[xe]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};z.prototype.walk=function(t){for(var n,r=0,o=this.children.length;r<o;r++)n=this.children[r],n[xe]?n.walk(t):n!==""&&t(n,{source:this.source,line:this.line,column:this.column,name:this.name})};z.prototype.join=function(t){var n,r,o=this.children.length;if(o>0){for(n=[],r=0;r<o-1;r++)n.push(this.children[r]),n.push(t);n.push(this.children[r]),this.children=n}return this};z.prototype.replaceRight=function(t,n){var r=this.children[this.children.length-1];return r[xe]?r.replaceRight(t,n):typeof r=="string"?this.children[this.children.length-1]=r.replace(t,n):this.children.push("".replace(t,n)),this};z.prototype.setSourceContent=function(t,n){this.sourceContents[nt.toSetString(t)]=n};z.prototype.walkSourceContents=function(t){for(var n=0,r=this.children.length;n<r;n++)this.children[n][xe]&&this.children[n].walkSourceContents(t);for(var o=Object.keys(this.sourceContents),n=0,r=o.length;n<r;n++)t(nt.fromSetString(o[n]),this.sourceContents[o[n]])};z.prototype.toString=function(){var t="";return this.walk(function(n){t+=n}),t};z.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},r=new Ls(t),o=!1,s=null,a=null,f=null,i=null;return this.walk(function(u,l){n.code+=u,l.source!==null&&l.line!==null&&l.column!==null?((s!==l.source||a!==l.line||f!==l.column||i!==l.name)&&r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:n.line,column:n.column},name:l.name}),s=l.source,a=l.line,f=l.column,i=l.name,o=!0):o&&(r.addMapping({generated:{line:n.line,column:n.column}}),s=null,o=!1);for(var p=0,m=u.length;p<m;p++)u.charCodeAt(p)===As?(n.line++,n.column=0,p+1===m?(s=null,o=!1):o&&r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:n.line,column:n.column},name:l.name})):n.column++}),this.walkSourceContents(function(u,l){r.setSourceContent(u,l)}),{code:n.code,map:r}};sr.SourceNode=z;ut.SourceMapGenerator=Ut.SourceMapGenerator;ut.SourceMapConsumer=dt.SourceMapConsumer;ut.SourceNode=sr.SourceNode;/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(oe,"__esModule",{value:!0});var rt=kt.exports,Os=ut;const F={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},Ns={[F.EXPECTED_TOKEN]:"Expected token: '{0}'",[F.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[F.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[F.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[F.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[F.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[F.EMPTY_PLACEHOLDER]:"Empty placeholder",[F.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[F.INVALID_LINKED_FORMAT]:"Invalid linked format",[F.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[F.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[F.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[F.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function Kt(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=e,f=new SyntaxError(String(a));return f.code=e,t&&(f.location=t),f.domain=r,f}function Ts(e){throw e}const ir={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ar(e,t,n){return{line:e,column:t,offset:n}}function ot(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const fe=" ",Rs="\r",Z=`
`,Ms=String.fromCharCode(8232),ws=String.fromCharCode(8233);function Ps(e){const t=e;let n=0,r=1,o=1,s=0;const a=S=>t[S]===Rs&&t[S+1]===Z,f=S=>t[S]===Z,i=S=>t[S]===ws,u=S=>t[S]===Ms,l=S=>a(S)||f(S)||i(S)||u(S),p=()=>n,m=()=>r,y=()=>o,A=()=>s,T=S=>a(S)||i(S)||u(S)?Z:t[S],O=()=>T(n),h=()=>T(n+s);function E(){return s=0,l(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function N(){return a(n+s)&&s++,s++,t[n+s]}function d(){n=0,r=1,o=1,s=0}function _(S=0){s=S}function C(){const S=n+s;for(;S!==n;)E();s=0}return{index:p,line:m,column:y,peekOffset:A,charAt:T,currentChar:O,currentPeek:h,next:E,peek:N,reset:d,resetPeek:_,skipToPeek:C}}const pe=void 0,_n="'",Is="tokenizer";function ks(e,t={}){const n=t.location!==!1,r=Ps(e),o=()=>r.index(),s=()=>ar(r.line(),r.column(),r.index()),a=s(),f=o(),i={currentType:14,offset:f,startLoc:a,endLoc:a,lastType:14,lastOffset:f,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>i,{onError:l}=t;function p(c,g,L,...M){const j=u();if(g.column+=L,g.offset+=L,l){const B=ot(j.startLoc,g),he=Kt(c,B,{domain:Is,args:M});l(he)}}function m(c,g,L){c.endLoc=s(),c.currentType=g;const M={type:g};return n&&(M.loc=ot(c.startLoc,c.endLoc)),L!=null&&(M.value=L),M}const y=c=>m(c,14);function A(c,g){return c.currentChar()===g?(c.next(),g):(p(F.EXPECTED_TOKEN,s(),0,g),"")}function T(c){let g="";for(;c.currentPeek()===fe||c.currentPeek()===Z;)g+=c.currentPeek(),c.peek();return g}function O(c){const g=T(c);return c.skipToPeek(),g}function h(c){if(c===pe)return!1;const g=c.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function E(c){if(c===pe)return!1;const g=c.charCodeAt(0);return g>=48&&g<=57}function N(c,g){const{currentType:L}=g;if(L!==2)return!1;T(c);const M=h(c.currentPeek());return c.resetPeek(),M}function d(c,g){const{currentType:L}=g;if(L!==2)return!1;T(c);const M=c.currentPeek()==="-"?c.peek():c.currentPeek(),j=E(M);return c.resetPeek(),j}function _(c,g){const{currentType:L}=g;if(L!==2)return!1;T(c);const M=c.currentPeek()===_n;return c.resetPeek(),M}function C(c,g){const{currentType:L}=g;if(L!==8)return!1;T(c);const M=c.currentPeek()===".";return c.resetPeek(),M}function S(c,g){const{currentType:L}=g;if(L!==9)return!1;T(c);const M=h(c.currentPeek());return c.resetPeek(),M}function k(c,g){const{currentType:L}=g;if(!(L===8||L===12))return!1;T(c);const M=c.currentPeek()===":";return c.resetPeek(),M}function $(c,g){const{currentType:L}=g;if(L!==10)return!1;const M=()=>{const B=c.currentPeek();return B==="{"?h(c.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===fe||!B?!1:B===Z?(c.peek(),M()):h(B)},j=M();return c.resetPeek(),j}function K(c){T(c);const g=c.currentPeek()==="|";return c.resetPeek(),g}function H(c){const g=T(c),L=c.currentPeek()==="%"&&c.peek()==="{";return c.resetPeek(),{isModulo:L,hasSpace:g.length>0}}function ee(c,g=!0){const L=(j=!1,B="",he=!1)=>{const ye=c.currentPeek();return ye==="{"?B==="%"?!1:j:ye==="@"||!ye?B==="%"?!0:j:ye==="%"?(c.peek(),L(j,"%",!0)):ye==="|"?B==="%"||he?!0:!(B===fe||B===Z):ye===fe?(c.peek(),L(!0,fe,he)):ye===Z?(c.peek(),L(!0,Z,he)):!0},M=L();return g&&c.resetPeek(),M}function ue(c,g){const L=c.currentChar();return L===pe?pe:g(L)?(c.next(),L):null}function te(c){return ue(c,L=>{const M=L.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36})}function Q(c){return ue(c,L=>{const M=L.charCodeAt(0);return M>=48&&M<=57})}function Ae(c){return ue(c,L=>{const M=L.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102})}function Oe(c){let g="",L="";for(;g=Q(c);)L+=g;return L}function pt(c){O(c);const g=c.currentChar();return g!=="%"&&p(F.EXPECTED_TOKEN,s(),0,g),c.next(),"%"}function Ne(c){let g="";for(;;){const L=c.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L==="%")if(ee(c))g+=L,c.next();else break;else if(L===fe||L===Z)if(ee(c))g+=L,c.next();else{if(K(c))break;g+=L,c.next()}else g+=L,c.next()}return g}function Je(c){O(c);let g="",L="";for(;g=te(c);)L+=g;return c.currentChar()===pe&&p(F.UNTERMINATED_CLOSING_BRACE,s(),0),L}function $e(c){O(c);let g="";return c.currentChar()==="-"?(c.next(),g+=`-${Oe(c)}`):g+=Oe(c),c.currentChar()===pe&&p(F.UNTERMINATED_CLOSING_BRACE,s(),0),g}function Ge(c){O(c),A(c,"'");let g="",L="";const M=B=>B!==_n&&B!==Z;for(;g=ue(c,M);)g==="\\"?L+=We(c):L+=g;const j=c.currentChar();return j===Z||j===pe?(p(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),j===Z&&(c.next(),A(c,"'")),L):(A(c,"'"),L)}function We(c){const g=c.currentChar();switch(g){case"\\":case"'":return c.next(),`\\${g}`;case"u":return Be(c,g,4);case"U":return Be(c,g,6);default:return p(F.UNKNOWN_ESCAPE_SEQUENCE,s(),0,g),""}}function Be(c,g,L){A(c,g);let M="";for(let j=0;j<L;j++){const B=Ae(c);if(!B){p(F.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${g}${M}${c.currentChar()}`);break}M+=B}return`\\${g}${M}`}function b(c){O(c);let g="",L="";const M=j=>j!=="{"&&j!=="}"&&j!==fe&&j!==Z;for(;g=ue(c,M);)L+=g;return L}function P(c){let g="",L="";for(;g=te(c);)L+=g;return L}function R(c){const g=(L=!1,M)=>{const j=c.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||!j||j===fe?M:j===Z?(M+=j,c.next(),g(L,M)):(M+=j,c.next(),g(!0,M))};return g(!1,"")}function I(c){O(c);const g=A(c,"|");return O(c),g}function W(c,g){let L=null;switch(c.currentChar()){case"{":return g.braceNest>=1&&p(F.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),c.next(),L=m(g,2,"{"),O(c),g.braceNest++,L;case"}":return g.braceNest>0&&g.currentType===2&&p(F.EMPTY_PLACEHOLDER,s(),0),c.next(),L=m(g,3,"}"),g.braceNest--,g.braceNest>0&&O(c),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),L;case"@":return g.braceNest>0&&p(F.UNTERMINATED_CLOSING_BRACE,s(),0),L=Y(c,g)||y(g),g.braceNest=0,L;default:let j=!0,B=!0,he=!0;if(K(c))return g.braceNest>0&&p(F.UNTERMINATED_CLOSING_BRACE,s(),0),L=m(g,1,I(c)),g.braceNest=0,g.inLinked=!1,L;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return p(F.UNTERMINATED_CLOSING_BRACE,s(),0),g.braceNest=0,x(c,g);if(j=N(c,g))return L=m(g,5,Je(c)),O(c),L;if(B=d(c,g))return L=m(g,6,$e(c)),O(c),L;if(he=_(c,g))return L=m(g,7,Ge(c)),O(c),L;if(!j&&!B&&!he)return L=m(g,13,b(c)),p(F.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,L.value),O(c),L;break}return L}function Y(c,g){const{currentType:L}=g;let M=null;const j=c.currentChar();switch((L===8||L===9||L===12||L===10)&&(j===Z||j===fe)&&p(F.INVALID_LINKED_FORMAT,s(),0),j){case"@":return c.next(),M=m(g,8,"@"),g.inLinked=!0,M;case".":return O(c),c.next(),m(g,9,".");case":":return O(c),c.next(),m(g,10,":");default:return K(c)?(M=m(g,1,I(c)),g.braceNest=0,g.inLinked=!1,M):C(c,g)||k(c,g)?(O(c),Y(c,g)):S(c,g)?(O(c),m(g,12,P(c))):$(c,g)?(O(c),j==="{"?W(c,g)||M:m(g,11,R(c))):(L===8&&p(F.INVALID_LINKED_FORMAT,s(),0),g.braceNest=0,g.inLinked=!1,x(c,g))}}function x(c,g){let L={type:14};if(g.braceNest>0)return W(c,g)||y(g);if(g.inLinked)return Y(c,g)||y(g);switch(c.currentChar()){case"{":return W(c,g)||y(g);case"}":return p(F.UNBALANCED_CLOSING_BRACE,s(),0),c.next(),m(g,3,"}");case"@":return Y(c,g)||y(g);default:if(K(c))return L=m(g,1,I(c)),g.braceNest=0,g.inLinked=!1,L;const{isModulo:j,hasSpace:B}=H(c);if(j)return B?m(g,0,Ne(c)):m(g,4,pt(c));if(ee(c))return m(g,0,Ne(c));break}return L}function U(){const{currentType:c,offset:g,startLoc:L,endLoc:M}=i;return i.lastType=c,i.lastOffset=g,i.lastStartLoc=L,i.lastEndLoc=M,i.offset=o(),i.startLoc=s(),r.currentChar()===pe?m(i,14):x(r,i)}return{nextToken:U,currentOffset:o,currentPosition:s,context:u}}const lr="parser",Ds=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Fs(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function ur(e={}){const t=e.location!==!1,{onError:n}=e;function r(h,E,N,d,..._){const C=h.currentPosition();if(C.offset+=d,C.column+=d,n){const S=ot(N,C),k=Kt(E,S,{domain:lr,args:_});n(k)}}function o(h,E,N){const d={type:h,start:E,end:E};return t&&(d.loc={start:N,end:N}),d}function s(h,E,N,d){h.end=E,d&&(h.type=d),t&&h.loc&&(h.loc.end=N)}function a(h,E){const N=h.context(),d=o(3,N.offset,N.startLoc);return d.value=E,s(d,h.currentOffset(),h.currentPosition()),d}function f(h,E){const N=h.context(),{lastOffset:d,lastStartLoc:_}=N,C=o(5,d,_);return C.index=parseInt(E,10),h.nextToken(),s(C,h.currentOffset(),h.currentPosition()),C}function i(h,E){const N=h.context(),{lastOffset:d,lastStartLoc:_}=N,C=o(4,d,_);return C.key=E,h.nextToken(),s(C,h.currentOffset(),h.currentPosition()),C}function u(h,E){const N=h.context(),{lastOffset:d,lastStartLoc:_}=N,C=o(9,d,_);return C.value=E.replace(Ds,Fs),h.nextToken(),s(C,h.currentOffset(),h.currentPosition()),C}function l(h){const E=h.nextToken(),N=h.context(),{lastOffset:d,lastStartLoc:_}=N,C=o(8,d,_);return E.type!==12?(r(h,F.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),C.value="",s(C,d,_),{nextConsumeToken:E,node:C}):(E.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,ae(E)),C.value=E.value||"",s(C,h.currentOffset(),h.currentPosition()),{node:C})}function p(h,E){const N=h.context(),d=o(7,N.offset,N.startLoc);return d.value=E,s(d,h.currentOffset(),h.currentPosition()),d}function m(h){const E=h.context(),N=o(6,E.offset,E.startLoc);let d=h.nextToken();if(d.type===9){const _=l(h);N.modifier=_.node,d=_.nextConsumeToken||h.nextToken()}switch(d.type!==10&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae(d)),d=h.nextToken(),d.type===2&&(d=h.nextToken()),d.type){case 11:d.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae(d)),N.key=p(h,d.value||"");break;case 5:d.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae(d)),N.key=i(h,d.value||"");break;case 6:d.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae(d)),N.key=f(h,d.value||"");break;case 7:d.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae(d)),N.key=u(h,d.value||"");break;default:r(h,F.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const _=h.context(),C=o(7,_.offset,_.startLoc);return C.value="",s(C,_.offset,_.startLoc),N.key=C,s(N,_.offset,_.startLoc),{nextConsumeToken:d,node:N}}return s(N,h.currentOffset(),h.currentPosition()),{node:N}}function y(h){const E=h.context(),N=E.currentType===1?h.currentOffset():E.offset,d=E.currentType===1?E.endLoc:E.startLoc,_=o(2,N,d);_.items=[];let C=null;do{const $=C||h.nextToken();switch(C=null,$.type){case 0:$.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae($)),_.items.push(a(h,$.value||""));break;case 6:$.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae($)),_.items.push(f(h,$.value||""));break;case 5:$.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae($)),_.items.push(i(h,$.value||""));break;case 7:$.value==null&&r(h,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,ae($)),_.items.push(u(h,$.value||""));break;case 8:const K=m(h);_.items.push(K.node),C=K.nextConsumeToken||null;break}}while(E.currentType!==14&&E.currentType!==1);const S=E.currentType===1?E.lastOffset:h.currentOffset(),k=E.currentType===1?E.lastEndLoc:h.currentPosition();return s(_,S,k),_}function A(h,E,N,d){const _=h.context();let C=d.items.length===0;const S=o(1,E,N);S.cases=[],S.cases.push(d);do{const k=y(h);C||(C=k.items.length===0),S.cases.push(k)}while(_.currentType!==14);return C&&r(h,F.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),s(S,h.currentOffset(),h.currentPosition()),S}function T(h){const E=h.context(),{offset:N,startLoc:d}=E,_=y(h);return E.currentType===14?_:A(h,N,d,_)}function O(h){const E=ks(h,rt.assign({},e)),N=E.context(),d=o(0,N.offset,N.startLoc);return t&&d.loc&&(d.loc.source=h),d.body=T(E),N.currentType!==14&&r(E,F.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,h[N.offset]||""),s(d,E.currentOffset(),E.currentPosition()),d}return{parse:O}}function ae(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function js(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function vn(e,t){for(let n=0;n<e.length;n++)Ht(e[n],t)}function Ht(e,t){switch(e.type){case 1:vn(e.cases,t),t.helper("plural");break;case 2:vn(e.items,t);break;case 6:Ht(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Us(e,t={}){const n=js(e);n.helper("normalize"),e.body&&Ht(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function xs(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:s}=t,a={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0},f=()=>a;function i(O,h){a.code+=O,a.map&&(h&&h.loc&&h.loc!==ir&&T(h.loc.start,Ks(h)),Hs(a,O))}function u(O,h=!0){const E=h?o:"";i(s?E+" ".repeat(O):E)}function l(O=!0){const h=++a.indentLevel;O&&u(h)}function p(O=!0){const h=--a.indentLevel;O&&u(h)}function m(){u(a.indentLevel)}const y=O=>`_${O}`,A=()=>a.needIndent;function T(O,h){a.map.addMapping({name:h,source:a.filename,original:{line:O.line,column:O.column-1},generated:{line:a.line,column:a.column-1}})}return n&&(a.map=new Os.SourceMapGenerator,a.map.setSourceContent(r,a.source)),{context:f,push:i,indent:l,deindent:p,newline:m,helper:y,needIndent:A}}function $s(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),De(e,t.key),t.modifier?(e.push(", "),De(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Gs(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(De(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function Ws(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(De(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function Bs(e,t){t.body?De(e,t.body):e.push("null")}function De(e,t){const{helper:n}=e;switch(t.type){case 0:Bs(e,t);break;case 1:Ws(e,t);break;case 2:Gs(e,t);break;case 6:$s(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Vs=(e,t={})=>{const n=rt.isString(t.mode)?t.mode:"normal",r=rt.isString(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,a=t.needIndent?t.needIndent:n!=="arrow",f=e.helpers||[],i=xs(e,{mode:n,filename:r,sourceMap:o,breakLineCode:s,needIndent:a});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),f.length>0&&(i.push(`const { ${f.map(p=>`${p}: _${p}`).join(", ")} } = ctx`),i.newline()),i.push("return "),De(i,e),i.deindent(a),i.push("}");const{code:u,map:l}=i.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function Ks(e){switch(e.type){case 3:case 9:case 8:case 7:return e.value;case 5:return e.index.toString();case 4:return e.key;default:return}}function Hs(e,t,n=t.length){let r=0,o=-1;for(let s=0;s<n;s++)t.charCodeAt(s)===10&&(r++,o=s);return e.offset+=n,e.line+=r,e.column=o===-1?e.column+n:n-o,e}function Xs(e,t={}){const n=rt.assign({},t),o=ur(n).parse(e);return Us(o,n),Vs(o,n)}oe.CompileErrorCodes=F;oe.ERROR_DOMAIN=lr;oe.LocationStub=ir;oe.baseCompile=Xs;oe.createCompileError=Kt;oe.createLocation=ot;oe.createParser=ur;oe.createPosition=ar;oe.defaultOnError=Ts;oe.errorMessages=Ns;(function(e){e.exports=oe})(qn);var cr={exports:{}},Xt={};/*!
* devtools-if v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(Xt,"__esModule",{value:!0});const Ys={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};Xt.IntlifyDevToolsHooks=Ys;(function(e){e.exports=Xt})(cr);/*!
* core-base v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(D,"__esModule",{value:!0});var Fe=qn.exports,v=kt.exports,fr=cr.exports;const Se=[];Se[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Se[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Se[2]={w:[2],i:[3,0],[0]:[3,0]};Se[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Se[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Se[5]={["'"]:[4,0],o:8,l:[5,0]};Se[6]={['"']:[4,0],o:8,l:[6,0]};const qs=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Qs(e){return qs.test(e)}function Js(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Zs(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function zs(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Qs(t)?Js(t):"*"+t}function dr(e){const t=[];let n=-1,r=0,o=0,s,a,f,i,u,l,p;const m=[];m[0]=()=>{a===void 0?a=f:a+=f},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,r=4,m[0]();else{if(o=0,a===void 0||(a=zs(a),a===!1))return!1;m[1]()}};function y(){const A=e[n+1];if(r===5&&A==="'"||r===6&&A==='"')return n++,f="\\"+A,m[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&y())){if(i=Zs(s),p=Se[r],u=p[i]||p.l||8,u===8||(r=u[0],u[1]!==void 0&&(l=m[u[1]],l&&(f=s,l()===!1))))return;if(r===7)return t}}const En=new Map;function hr(e,t){return v.isObject(e)?e[t]:null}function ei(e,t){if(!v.isObject(e))return null;let n=En.get(t);if(n||(n=dr(t),n&&En.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=o[n[s]];if(a===void 0)return null;o=a,s++}return o}const ti=e=>e,ni=e=>"",mr="text",ri=e=>e.length===0?"":e.join(""),oi=v.toDisplayString;function Sn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function si(e){const t=v.isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(v.isNumber(e.named.count)||v.isNumber(e.named.n))?v.isNumber(e.named.count)?e.named.count:v.isNumber(e.named.n)?e.named.n:t:t}function ii(e,t){t.count||(t.count=e),t.n||(t.n=e)}function pr(e={}){const t=e.locale,n=si(e),r=v.isObject(e.pluralRules)&&v.isString(t)&&v.isFunction(e.pluralRules[t])?e.pluralRules[t]:Sn,o=v.isObject(e.pluralRules)&&v.isString(t)&&v.isFunction(e.pluralRules[t])?Sn:void 0,s=h=>h[r(n,h.length,o)],a=e.list||[],f=h=>a[h],i=e.named||{};v.isNumber(e.pluralIndex)&&ii(n,i);const u=h=>i[h];function l(h){const E=v.isFunction(e.messages)?e.messages(h):v.isObject(e.messages)?e.messages[h]:!1;return E||(e.parent?e.parent.message(h):ni)}const p=h=>e.modifiers?e.modifiers[h]:ti,m=v.isPlainObject(e.processor)&&v.isFunction(e.processor.normalize)?e.processor.normalize:ri,y=v.isPlainObject(e.processor)&&v.isFunction(e.processor.interpolate)?e.processor.interpolate:oi,A=v.isPlainObject(e.processor)&&v.isString(e.processor.type)?e.processor.type:mr,O={list:f,named:u,plural:s,linked:(h,...E)=>{const[N,d]=E;let _="text",C="";E.length===1?v.isObject(N)?(C=N.modifier||C,_=N.type||_):v.isString(N)&&(C=N||C):E.length===2&&(v.isString(N)&&(C=N||C),v.isString(d)&&(_=d||_));let S=l(h)(O);return _==="vnode"&&v.isArray(S)&&C&&(S=S[0]),C?p(C)(S,_):S},message:l,type:A,interpolate:y,normalize:m};return O}let je=null;function ai(e){je=e}function li(){return je}function ui(e,t,n){je&&je.emit(fr.IntlifyDevToolsHooks.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ci=fi(fr.IntlifyDevToolsHooks.FunctionTranslate);function fi(e){return t=>je&&je.emit(e,t)}const Ce={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},di={[Ce.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ce.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ce.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ce.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ce.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ce.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function hi(e,...t){return v.format(di[e],...t)}function gr(e,t,n){return[...new Set([n,...v.isArray(t)?t:v.isObject(t)?Object.keys(t):v.isString(t)?[t]:[n]])]}function mi(e,t,n){const r=v.isString(n)?n:Yt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;v.isArray(a);)a=yn(s,a,t);const f=v.isArray(t)||!v.isPlainObject(t)?t:t.default?t.default:null;a=v.isString(f)?[f]:f,v.isArray(a)&&yn(s,a,!1),o.__localeChainCache.set(r,s)}return s}function yn(e,t,n){let r=!0;for(let o=0;o<t.length&&v.isBoolean(r);o++){const s=t[o];v.isString(s)&&(r=pi(e,t[o],n))}return r}function pi(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=gi(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function gi(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(v.isArray(n)||v.isPlainObject(n))&&n[o]&&(r=n[o])}return r}const _r="9.2.2",ht=-1,Yt="en-US",_i="",Cn=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function vi(){return{upper:(e,t)=>t==="text"&&v.isString(e)?e.toUpperCase():t==="vnode"&&v.isObject(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&v.isString(e)?e.toLowerCase():t==="vnode"&&v.isObject(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&v.isString(e)?Cn(e):t==="vnode"&&v.isObject(e)&&"__v_isVNode"in e?Cn(e.children):e}}let vr;function Ei(e){vr=e}let Er;function Si(e){Er=e}let Sr;function yi(e){Sr=e}let yr=null;const Ci=e=>{yr=e},Li=()=>yr;let Cr=null;const bi=e=>{Cr=e},Ai=()=>Cr;let Ln=0;function Oi(e={}){const t=v.isString(e.version)?e.version:_r,n=v.isString(e.locale)?e.locale:Yt,r=v.isArray(e.fallbackLocale)||v.isPlainObject(e.fallbackLocale)||v.isString(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,o=v.isPlainObject(e.messages)?e.messages:{[n]:{}},s=v.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=v.isPlainObject(e.numberFormats)?e.numberFormats:{[n]:{}},f=v.assign({},e.modifiers||{},vi()),i=e.pluralRules||{},u=v.isFunction(e.missing)?e.missing:null,l=v.isBoolean(e.missingWarn)||v.isRegExp(e.missingWarn)?e.missingWarn:!0,p=v.isBoolean(e.fallbackWarn)||v.isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,y=!!e.unresolving,A=v.isFunction(e.postTranslation)?e.postTranslation:null,T=v.isPlainObject(e.processor)?e.processor:null,O=v.isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter,E=v.isFunction(e.messageCompiler)?e.messageCompiler:vr,N=v.isFunction(e.messageResolver)?e.messageResolver:Er||hr,d=v.isFunction(e.localeFallbacker)?e.localeFallbacker:Sr||gr,_=v.isObject(e.fallbackContext)?e.fallbackContext:void 0,C=v.isFunction(e.onWarn)?e.onWarn:v.warn,S=e,k=v.isObject(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,$=v.isObject(S.__numberFormatters)?S.__numberFormatters:new Map,K=v.isObject(S.__meta)?S.__meta:{};Ln++;const H={version:t,cid:Ln,locale:n,fallbackLocale:r,messages:o,modifiers:f,pluralRules:i,missing:u,missingWarn:l,fallbackWarn:p,fallbackFormat:m,unresolving:y,postTranslation:A,processor:T,warnHtmlMessage:O,escapeParameter:h,messageCompiler:E,messageResolver:N,localeFallbacker:d,fallbackContext:_,onWarn:C,__meta:K};return H.datetimeFormats=s,H.numberFormats=a,H.__datetimeFormatters=k,H.__numberFormatters=$,H}function Ni(e,t){return e instanceof RegExp?e.test(t):e}function Ti(e,t){return e instanceof RegExp?e.test(t):e}function mt(e,t,n,r,o){const{missing:s,onWarn:a}=e;if(s!==null){const f=s(e,n,t,o);return v.isString(f)?f:t}else return t}function Ri(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const Mi=e=>e;let Rt=Object.create(null);function wi(){Rt=Object.create(null)}function Pi(e,t={}){{const r=(t.onCacheKey||Mi)(e),o=Rt[r];if(o)return o;let s=!1;const a=t.onError||Fe.defaultOnError;t.onError=u=>{s=!0,a(u)};const{code:f}=Fe.baseCompile(e,t),i=new Function(`return ${f}`)();return s?i:Rt[r]=i}}let Lr=Fe.CompileErrorCodes.__EXTEND_POINT__;const yt=()=>++Lr,le={INVALID_ARGUMENT:Lr,INVALID_DATE_ARGUMENT:yt(),INVALID_ISO_DATE_ARGUMENT:yt(),__EXTEND_POINT__:yt()};function Le(e){return Fe.createCompileError(e,null,void 0)}le.INVALID_ARGUMENT+"",le.INVALID_DATE_ARGUMENT+"",le.INVALID_ISO_DATE_ARGUMENT+"";const bn=()=>"",ve=e=>v.isFunction(e);function Ii(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:a,messages:f}=e,[i,u]=Or(...t),l=v.isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn,p=v.isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=v.isBoolean(u.escapeParameter)?u.escapeParameter:e.escapeParameter,y=!!u.resolvedMessage,A=v.isString(u.default)||v.isBoolean(u.default)?v.isBoolean(u.default)?s?i:()=>i:u.default:n?s?i:()=>i:"",T=n||A!=="",O=v.isString(u.locale)?u.locale:e.locale;m&&ki(u);let[h,E,N]=y?[i,O,f[O]||{}]:br(e,i,O,a,p,l),d=h,_=i;if(!y&&!(v.isString(d)||ve(d))&&T&&(d=A,_=d),!y&&(!(v.isString(d)||ve(d))||!v.isString(E)))return o?ht:i;let C=!1;const S=()=>{C=!0},k=ve(d)?d:Ar(e,i,E,d,_,S);if(C)return d;const $=ji(e,E,N,u),K=pr($),H=Di(e,k,K);return r?r(H,i):H}function ki(e){v.isArray(e.list)?e.list=e.list.map(t=>v.isString(t)?v.escapeHtml(t):t):v.isObject(e.named)&&Object.keys(e.named).forEach(t=>{v.isString(e.named[t])&&(e.named[t]=v.escapeHtml(e.named[t]))})}function br(e,t,n,r,o,s){const{messages:a,onWarn:f,messageResolver:i,localeFallbacker:u}=e,l=u(e,r,n);let p={},m,y=null;const A="translate";for(let T=0;T<l.length&&(m=l[T],p=a[m]||{},(y=i(p,t))===null&&(y=p[t]),!(v.isString(y)||v.isFunction(y)));T++){const O=mt(e,t,m,s,A);O!==t&&(y=O)}return[y,m,p]}function Ar(e,t,n,r,o,s){const{messageCompiler:a,warnHtmlMessage:f}=e;if(ve(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(a==null){const u=()=>r;return u.locale=n,u.key=t,u}const i=a(r,Fi(e,n,o,r,f,s));return i.locale=n,i.key=t,i.source=r,i}function Di(e,t,n){return t(n)}function Or(...e){const[t,n,r]=e,o={};if(!v.isString(t)&&!v.isNumber(t)&&!ve(t))throw Le(le.INVALID_ARGUMENT);const s=v.isNumber(t)?String(t):(ve(t),t);return v.isNumber(n)?o.plural=n:v.isString(n)?o.default=n:v.isPlainObject(n)&&!v.isEmptyObject(n)?o.named=n:v.isArray(n)&&(o.list=n),v.isNumber(r)?o.plural=r:v.isString(r)?o.default=r:v.isPlainObject(r)&&v.assign(o,r),[s,o]}function Fi(e,t,n,r,o,s){return{warnHtmlMessage:o,onError:a=>{throw s&&s(a),a},onCacheKey:a=>v.generateFormatCacheKey(t,n,a)}}function ji(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:f,fallbackWarn:i,missingWarn:u,fallbackContext:l}=e,m={locale:t,modifiers:o,pluralRules:s,messages:y=>{let A=a(n,y);if(A==null&&l){const[,,T]=br(l,y,t,f,i,u);A=a(T,y)}if(v.isString(A)){let T=!1;const h=Ar(e,y,t,A,y,()=>{T=!0});return T?bn:h}else return ve(A)?A:bn}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),v.isNumber(r.plural)&&(m.pluralIndex=r.plural),m}function Ui(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:f}=e,[i,u,l,p]=Tr(...t),m=v.isBoolean(l.missingWarn)?l.missingWarn:e.missingWarn;v.isBoolean(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const y=!!l.part,A=v.isString(l.locale)?l.locale:e.locale,T=a(e,o,A);if(!v.isString(i)||i==="")return new Intl.DateTimeFormat(A,p).format(u);let O={},h,E=null;const N="datetime format";for(let C=0;C<T.length&&(h=T[C],O=n[h]||{},E=O[i],!v.isPlainObject(E));C++)mt(e,i,h,m,N);if(!v.isPlainObject(E)||!v.isString(h))return r?ht:i;let d=`${h}__${i}`;v.isEmptyObject(p)||(d=`${d}__${JSON.stringify(p)}`);let _=f.get(d);return _||(_=new Intl.DateTimeFormat(h,v.assign({},E,p)),f.set(d,_)),y?_.formatToParts(u):_.format(u)}const Nr=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Tr(...e){const[t,n,r,o]=e,s={};let a={},f;if(v.isString(t)){const i=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!i)throw Le(le.INVALID_ISO_DATE_ARGUMENT);const u=i[3]?i[3].trim().startsWith("T")?`${i[1].trim()}${i[3].trim()}`:`${i[1].trim()}T${i[3].trim()}`:i[1].trim();f=new Date(u);try{f.toISOString()}catch{throw Le(le.INVALID_ISO_DATE_ARGUMENT)}}else if(v.isDate(t)){if(isNaN(t.getTime()))throw Le(le.INVALID_DATE_ARGUMENT);f=t}else if(v.isNumber(t))f=t;else throw Le(le.INVALID_ARGUMENT);return v.isString(n)?s.key=n:v.isPlainObject(n)&&Object.keys(n).forEach(i=>{Nr.includes(i)?a[i]=n[i]:s[i]=n[i]}),v.isString(r)?s.locale=r:v.isPlainObject(r)&&(a=r),v.isPlainObject(o)&&(a=o),[s.key||"",f,s,a]}function xi(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;!r.__datetimeFormatters.has(s)||r.__datetimeFormatters.delete(s)}}function $i(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:f}=e,[i,u,l,p]=Mr(...t),m=v.isBoolean(l.missingWarn)?l.missingWarn:e.missingWarn;v.isBoolean(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const y=!!l.part,A=v.isString(l.locale)?l.locale:e.locale,T=a(e,o,A);if(!v.isString(i)||i==="")return new Intl.NumberFormat(A,p).format(u);let O={},h,E=null;const N="number format";for(let C=0;C<T.length&&(h=T[C],O=n[h]||{},E=O[i],!v.isPlainObject(E));C++)mt(e,i,h,m,N);if(!v.isPlainObject(E)||!v.isString(h))return r?ht:i;let d=`${h}__${i}`;v.isEmptyObject(p)||(d=`${d}__${JSON.stringify(p)}`);let _=f.get(d);return _||(_=new Intl.NumberFormat(h,v.assign({},E,p)),f.set(d,_)),y?_.formatToParts(u):_.format(u)}const Rr=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Mr(...e){const[t,n,r,o]=e,s={};let a={};if(!v.isNumber(t))throw Le(le.INVALID_ARGUMENT);const f=t;return v.isString(n)?s.key=n:v.isPlainObject(n)&&Object.keys(n).forEach(i=>{Rr.includes(i)?a[i]=n[i]:s[i]=n[i]}),v.isString(r)?s.locale=r:v.isPlainObject(r)&&(a=r),v.isPlainObject(o)&&(a=o),[s.key||"",f,s,a]}function Gi(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;!r.__numberFormatters.has(s)||r.__numberFormatters.delete(s)}}D.CompileErrorCodes=Fe.CompileErrorCodes;D.createCompileError=Fe.createCompileError;D.CoreErrorCodes=le;D.CoreWarnCodes=Ce;D.DATETIME_FORMAT_OPTIONS_KEYS=Nr;D.DEFAULT_LOCALE=Yt;D.DEFAULT_MESSAGE_DATA_TYPE=mr;D.MISSING_RESOLVE_VALUE=_i;D.NOT_REOSLVED=ht;D.NUMBER_FORMAT_OPTIONS_KEYS=Rr;D.VERSION=_r;D.clearCompileCache=wi;D.clearDateTimeFormat=xi;D.clearNumberFormat=Gi;D.compileToFunction=Pi;D.createCoreContext=Oi;D.createCoreError=Le;D.createMessageContext=pr;D.datetime=Ui;D.fallbackWithLocaleChain=mi;D.fallbackWithSimple=gr;D.getAdditionalMeta=Li;D.getDevToolsHook=li;D.getFallbackContext=Ai;D.getWarnMessage=hi;D.handleMissing=mt;D.initI18nDevTools=ui;D.isMessageFunction=ve;D.isTranslateFallbackWarn=Ni;D.isTranslateMissingWarn=Ti;D.number=$i;D.parse=dr;D.parseDateTimeArgs=Tr;D.parseNumberArgs=Mr;D.parseTranslateArgs=Or;D.registerLocaleFallbacker=yi;D.registerMessageCompiler=Ei;D.registerMessageResolver=Si;D.resolveValue=ei;D.resolveWithKeyValue=hr;D.setAdditionalMeta=Ci;D.setDevToolsHook=ai;D.setFallbackContext=bi;D.translate=Ii;D.translateDevTools=ci;D.updateFallbackLocale=Ri;(function(e){e.exports=D})(gs);var An;const Wi=typeof window<"u";Wi&&((An=window==null?void 0:window.navigator)==null?void 0:An.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function On(e){return typeof e=="function"?e():we(e)}function Bi(e,t){function n(...r){e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})}return n}function Vi(e,t={}){let n,r;return s=>{const a=On(e),f=On(t.maxWait);if(n&&clearTimeout(n),a<=0||f!==void 0&&f<=0)return r&&(clearTimeout(r),r=null),s();f&&!r&&(r=setTimeout(()=>{n&&clearTimeout(n),r=null,s()},f)),n=setTimeout(()=>{r&&clearTimeout(r),r=null,s()},a)}}function zi(e,t=200,n={}){return Bi(Vi(t,n),e)}export{Yi as a,Xi as b,Ji as c,Zi as d,gs as e,qi as f,Qi as g,kt as s,zi as u};