diff --git a/roll-for-the-galaxy/assets/index-CYjBJSUP.js b/roll-for-the-galaxy/assets/index-2eqa-5nI.js similarity index 71% rename from roll-for-the-galaxy/assets/index-CYjBJSUP.js rename to roll-for-the-galaxy/assets/index-2eqa-5nI.js index 21e0843..f53e3d1 100644 --- a/roll-for-the-galaxy/assets/index-CYjBJSUP.js +++ b/roll-for-the-galaxy/assets/index-2eqa-5nI.js @@ -1,32 +1,32 @@ -var Vd=Object.defineProperty;var Hd=(e,t,n)=>t in e?Vd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Yt=(e,t,n)=>(Hd(e,typeof t!="symbol"?t+"":t,n),n),Io=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var En=(e,t,n)=>(Io(e,t,"read from private field"),n?n.call(e):t.get(e)),Hn=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Bn=(e,t,n,s)=>(Io(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n);var dr=(e,t,n)=>(Io(e,t,"access private method"),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Bi(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const ye={},Jn=[],Pt=()=>{},Bd=()=>!1,jd=/^on[^a-z]/,Jr=e=>jd.test(e),ji=e=>e.startsWith("onUpdate:"),Be=Object.assign,Wi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Wd=Object.prototype.hasOwnProperty,he=(e,t)=>Wd.call(e,t),J=Array.isArray,es=e=>sr(e)==="[object Map]",tu=e=>sr(e)==="[object Set]",Bl=e=>sr(e)==="[object Date]",se=e=>typeof e=="function",Ne=e=>typeof e=="string",rs=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",nu=e=>(ve(e)||se(e))&&se(e.then)&&se(e.catch),su=Object.prototype.toString,sr=e=>su.call(e),Ud=e=>sr(e).slice(8,-1),ru=e=>sr(e)==="[object Object]",Ui=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lr=Bi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),eo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gd=/-(\w)/g,Dt=eo(e=>e.replace(Gd,(t,n)=>n?n.toUpperCase():"")),Kd=/\B([A-Z])/g,vs=eo(e=>e.replace(Kd,"-$1").toLowerCase()),to=eo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Do=eo(e=>e?`on${to(e)}`:""),kn=(e,t)=>!Object.is(e,t),Pr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},oi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let jl;const ii=()=>jl||(jl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gi(e){if(J(e)){const t={};for(let n=0;n{if(n){const s=n.split(qd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function bs(e){let t="";if(Ne(e))t=e;else if(J(e))for(let n=0;nNe(e)?e:e==null?"":J(e)||ve(e)&&(e.toString===su||!se(e.toString))?JSON.stringify(e,iu,2):String(e),iu=(e,t)=>t&&t.__v_isRef?iu(e,t.value):es(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:tu(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!J(t)&&!ru(t)?String(t):t;let ot;class lu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ot,!t&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},cu=e=>(e.w&un)>0,uu=e=>(e.n&un)>0,sh=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(u==="length"||!rs(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":J(e)?Ui(n)&&l.push(i.get("length")):(l.push(i.get(In)),es(e)&&l.push(i.get(ai)));break;case"delete":J(e)||(l.push(i.get(In)),es(e)&&l.push(i.get(ai)));break;case"set":es(e)&&l.push(i.get(In));break}if(l.length===1)l[0]&&ci(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);ci(Yi(a))}}function ci(e,t){const n=J(e)?e:[...e];for(const s of n)s.computed&&Ul(s);for(const s of n)s.computed||Ul(s)}function Ul(e,t){(e!==_t||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function oh(e,t){var n;return(n=Fr.get(e))==null?void 0:n.get(t)}const ih=Bi("__proto__,__v_isRef,__isVue"),hu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rs)),Gl=lh();function lh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=pe(this);for(let o=0,i=this.length;o{e[t]=function(...n){Es();const s=pe(this)[t].apply(this,n);return ys(),s}}),e}function ah(e){const t=pe(this);return nt(t,"has",e),t.hasOwnProperty(e)}class pu{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&s===(r?o?yh:vu:o?gu:_u).get(t))return t;const i=J(t);if(!r){if(i&&he(Gl,n))return Reflect.get(Gl,n,s);if(n==="hasOwnProperty")return ah}const l=Reflect.get(t,n,s);return(rs(n)?hu.has(n):ih(n))||(r||nt(t,"get",n),o)?l:Pe(l)?i&&Ui(n)?l:l.value:ve(l)?r?Eu(l):rr(l):l}}class mu extends pu{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(os(o)&&Pe(o)&&!Pe(s))return!1;if(!this._shallow&&(!Vr(s)&&!os(s)&&(o=pe(o),s=pe(s)),!J(t)&&Pe(o)&&!Pe(s)))return o.value=s,!0;const i=J(t)&&Ui(n)?Number(n)e,no=e=>Reflect.getPrototypeOf(e);function hr(e,t,n=!1,s=!1){e=e.__v_raw;const r=pe(e),o=pe(t);n||(kn(t,o)&&nt(r,"get",t),nt(r,"get",o));const{has:i}=no(r),l=s?Xi:n?Ji:Ws;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function pr(e,t=!1){const n=this.__v_raw,s=pe(n),r=pe(e);return t||(kn(e,r)&&nt(s,"has",e),nt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function mr(e,t=!1){return e=e.__v_raw,!t&&nt(pe(e),"iterate",In),Reflect.get(e,"size",e)}function Kl(e){e=pe(e);const t=pe(this);return no(t).has.call(t,e)||(t.add(e),Ft(t,"add",e,e)),this}function Yl(e,t){t=pe(t);const n=pe(this),{has:s,get:r}=no(n);let o=s.call(n,e);o||(e=pe(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?kn(t,i)&&Ft(n,"set",e,t):Ft(n,"add",e,t),this}function ql(e){const t=pe(this),{has:n,get:s}=no(t);let r=n.call(t,e);r||(e=pe(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ft(t,"delete",e,void 0),o}function Xl(){const e=pe(this),t=e.size!==0,n=e.clear();return t&&Ft(e,"clear",void 0,void 0),n}function _r(e,t){return function(s,r){const o=this,i=o.__v_raw,l=pe(i),a=t?Xi:e?Ji:Ws;return!e&&nt(l,"iterate",In),i.forEach((c,u)=>s.call(r,a(c),a(u),o))}}function gr(e,t,n){return function(...s){const r=this.__v_raw,o=pe(r),i=es(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?Xi:t?Ji:Ws;return!t&&nt(o,"iterate",a?ai:In),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function qt(e){return function(...t){return e==="delete"?!1:this}}function hh(){const e={get(o){return hr(this,o)},get size(){return mr(this)},has:pr,add:Kl,set:Yl,delete:ql,clear:Xl,forEach:_r(!1,!1)},t={get(o){return hr(this,o,!1,!0)},get size(){return mr(this)},has:pr,add:Kl,set:Yl,delete:ql,clear:Xl,forEach:_r(!1,!0)},n={get(o){return hr(this,o,!0)},get size(){return mr(this,!0)},has(o){return pr.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:_r(!0,!1)},s={get(o){return hr(this,o,!0,!0)},get size(){return mr(this,!0)},has(o){return pr.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:_r(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=gr(o,!1,!1),n[o]=gr(o,!0,!1),t[o]=gr(o,!1,!0),s[o]=gr(o,!0,!0)}),[e,n,t,s]}const[ph,mh,_h,gh]=hh();function Zi(e,t){const n=t?e?gh:_h:e?mh:ph;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(he(n,r)&&r in s?n:s,r,o)}const vh={get:Zi(!1,!1)},bh={get:Zi(!1,!0)},Eh={get:Zi(!0,!1)},_u=new WeakMap,gu=new WeakMap,vu=new WeakMap,yh=new WeakMap;function Th(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wh(e){return e.__v_skip||!Object.isExtensible(e)?0:Th(Ud(e))}function rr(e){return os(e)?e:Qi(e,!1,uh,vh,_u)}function bu(e){return Qi(e,!1,dh,bh,gu)}function Eu(e){return Qi(e,!0,fh,Eh,vu)}function Qi(e,t,n,s,r){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=wh(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function on(e){return os(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function os(e){return!!(e&&e.__v_isReadonly)}function Vr(e){return!!(e&&e.__v_isShallow)}function yu(e){return on(e)||os(e)}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function so(e){return xr(e,"__v_skip",!0),e}const Ws=e=>ve(e)?rr(e):e,Ji=e=>ve(e)?Eu(e):e;function Tu(e){rn&&_t&&(e=pe(e),du(e.dep||(e.dep=Yi())))}function wu(e,t){e=pe(e);const n=e.dep;n&&ci(n)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function Ct(e){return Au(e,!1)}function Ah(e){return Au(e,!0)}function Au(e,t){return Pe(e)?e:new Sh(e,t)}class Sh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pe(t),this._value=n?t:Ws(t)}get value(){return Tu(this),this._value}set value(t){const n=this.__v_isShallow||Vr(t)||os(t);t=n?t:pe(t),kn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ws(t),wu(this))}}function ts(e){return Pe(e)?e.value:e}const Oh={get:(e,t,n)=>ts(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Pe(r)&&!Pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Su(e){return on(e)?e:new Proxy(e,Oh)}function Ch(e){const t=J(e)?new Array(e.length):{};for(const n in e)t[n]=Ph(e,n);return t}class Lh{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return oh(pe(this._object),this._key)}}function Ph(e,t,n){const s=e[t];return Pe(s)?s:new Lh(e,t,n)}class Nh{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new qi(t,()=>{this._dirty||(this._dirty=!0,wu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=pe(this);return Tu(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function $h(e,t,n=!1){let s,r;const o=se(e);return o?(s=e,r=Pt):(s=e.get,r=e.set),new Nh(s,r,o||!r,n)}function ln(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){ro(o,t,n)}return r}function bt(e,t,n,s){if(se(e)){const o=ln(e,t,n,s);return o&&nu(o)&&o.catch(i=>{ro(i,t,n)}),o}const r=[];for(let o=0;o>>1,r=Ue[s],o=Gs(r);oLt&&Ue.splice(t,1)}function kh(e){J(e)?ns.push(...e):(!zt||!zt.includes(e,e.allowRecurse?wn+1:wn))&&ns.push(e),Cu()}function Zl(e,t=Us?Lt+1:0){for(;tGs(n)-Gs(s)),wn=0;wne.id==null?1/0:e.id,Mh=(e,t)=>{const n=Gs(e)-Gs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pu(e){ui=!1,Us=!0,Ue.sort(Mh);try{for(Lt=0;LtNe(m)?m.trim():m)),f&&(r=n.map(oi))}let l,a=s[l=Do(t)]||s[l=Do(Dt(t))];!a&&o&&(a=s[l=Do(vs(t))]),a&&bt(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,bt(c,e,6,r)}}function Nu(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!se(e)){const a=c=>{const u=Nu(c,t,!0);u&&(l=!0,Be(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ve(e)&&s.set(e,null),null):(J(o)?o.forEach(a=>i[a]=null):Be(i,o),ve(e)&&s.set(e,i),i)}function oo(e,t){return!e||!Jr(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,vs(t))||he(e,t))}let ze=null,io=null;function Hr(e){const t=ze;return ze=e,io=e&&e.type.__scopeId||null,t}function lo(e){io=e}function ao(){io=null}function gt(e,t=ze,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&aa(-1);const o=Hr(t);let i;try{i=e(...r)}finally{Hr(o),s._d&&aa(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ro(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:m,ctx:E,inheritAttrs:b}=e;let C,A;const L=Hr(e);try{if(n.shapeFlag&4){const T=r||s;C=Ot(u.call(T,T,f,o,m,d,E)),A=a}else{const T=t;C=Ot(T.length>1?T(o,{attrs:a,slots:l,emit:c}):T(o,null)),A=t.props?a:zh(a)}}catch(T){xs.length=0,ro(T,e,1),C=ce(fn)}let z=C;if(A&&b!==!1){const T=Object.keys(A),{shapeFlag:k}=z;T.length&&k&7&&(i&&T.some(ji)&&(A=Fh(A,i)),z=is(z,A))}return n.dirs&&(z=is(z),z.dirs=z.dirs?z.dirs.concat(n.dirs):n.dirs),n.transition&&(z.transition=n.transition),C=z,Hr(L),C}const zh=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jr(n))&&((t||(t={}))[n]=e[n]);return t},Fh=(e,t)=>{const n={};for(const s in e)(!ji(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vh(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Ql(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Wh(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):kh(e)}function Uh(e,t){return rl(e,null,{flush:"post"})}const vr={};function an(e,t,n){return rl(e,t,n)}function rl(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=ye){var l;const a=au()===((l=De)==null?void 0:l.scope)?De:null;let c,u=!1,f=!1;if(Pe(e)?(c=()=>e.value,u=Vr(e)):on(e)?(c=()=>e,s=!0):J(e)?(f=!0,u=e.some(T=>on(T)||Vr(T)),c=()=>e.map(T=>{if(Pe(T))return T.value;if(on(T))return On(T);if(se(T))return ln(T,a,2)})):se(e)?t?c=()=>ln(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),bt(e,a,3,[m])}:c=Pt,t&&s){const T=c;c=()=>On(T())}let d,m=T=>{d=L.onStop=()=>{ln(T,a,4)}},E;if(qs)if(m=Pt,t?n&&bt(t,a,3,[c(),f?[]:void 0,m]):c(),r==="sync"){const T=xp();E=T.__watcherHandles||(T.__watcherHandles=[])}else return Pt;let b=f?new Array(e.length).fill(vr):vr;const C=()=>{if(L.active)if(t){const T=L.run();(s||u||(f?T.some((k,H)=>kn(k,b[H])):kn(T,b)))&&(d&&d(),bt(t,a,3,[T,b===vr?void 0:f&&b[0]===vr?[]:b,m]),b=T)}else L.run()};C.allowRecurse=!!t;let A;r==="sync"?A=C:r==="post"?A=()=>et(C,a&&a.suspense):(C.pre=!0,a&&(C.id=a.uid),A=()=>nl(C));const L=new qi(c,A);t?n?C():b=L.run():r==="post"?et(L.run.bind(L),a&&a.suspense):L.run();const z=()=>{L.stop(),a&&a.scope&&Wi(a.scope.effects,L)};return E&&E.push(z),z}function Gh(e,t,n){const s=this.proxy,r=Ne(e)?e.includes(".")?Du(s,e):()=>s[e]:e.bind(s,s);let o;se(t)?o=t:(o=t.handler,n=t);const i=De;ls(this);const l=rl(r,o.bind(s),n);return i?ls(i):Dn(),l}function Du(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{On(n,t)});else if(ru(e))for(const n in e)On(e[n],t);return e}function xt(e,t){const n=ze;if(n===null)return e;const s=po(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o!!e.type.__asyncLoader,Ru=e=>e.type.__isKeepAlive;function Kh(e,t){ku(e,"a",t)}function Yh(e,t){ku(e,"da",t)}function ku(e,t,n=De){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(co(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ru(r.parent.vnode)&&qh(s,t,n,r),r=r.parent}}function qh(e,t,n,s){const r=co(t,e,s,!0);uo(()=>{Wi(s[t],r)},n)}function co(e,t,n=De,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Es(),ls(n);const l=bt(t,n,e,i);return Dn(),ys(),l});return s?r.unshift(o):r.push(o),o}}const Wt=e=>(t,n=De)=>(!qs||e==="sp")&&co(e,(...s)=>t(...s),n),Xh=Wt("bm"),ol=Wt("m"),Zh=Wt("bu"),Qh=Wt("u"),Jh=Wt("bum"),uo=Wt("um"),ep=Wt("sp"),tp=Wt("rtg"),np=Wt("rtc");function sp(e,t=De){co("ec",e,t)}function Nt(e,t,n,s){let r;const o=n&&n[s];if(J(e)||Ne(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,a=i.length;ljr(t)?!(t.type===fn||t.type===ne&&!Mu(t.children)):!0)?e:null}const fi=e=>e?Ku(e)?po(e)||e.proxy:fi(e.parent):null,Ms=Be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fi(e.parent),$root:e=>fi(e.root),$emit:e=>e.emit,$options:e=>il(e),$forceUpdate:e=>e.f||(e.f=()=>nl(e.update)),$nextTick:e=>e.n||(e.n=tl.bind(e.proxy)),$watch:e=>Gh.bind(e)}),Mo=(e,t)=>e!==ye&&!e.__isScriptSetup&&he(e,t),rp={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Mo(s,t))return i[t]=1,s[t];if(r!==ye&&he(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&he(c,t))return i[t]=3,o[t];if(n!==ye&&he(n,t))return i[t]=4,n[t];di&&(i[t]=0)}}const u=Ms[t];let f,d;if(u)return t==="$attrs"&&nt(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ye&&he(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,he(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Mo(r,t)?(r[t]=n,!0):s!==ye&&he(s,t)?(s[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ye&&he(e,i)||Mo(t,i)||(l=o[0])&&he(l,i)||he(s,i)||he(Ms,i)||he(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ea(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let di=!0;function op(e){const t=il(e),n=e.proxy,s=e.ctx;di=!1,t.beforeCreate&&ta(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:m,updated:E,activated:b,deactivated:C,beforeDestroy:A,beforeUnmount:L,destroyed:z,unmounted:T,render:k,renderTracked:H,renderTriggered:R,errorCaptured:U,serverPrefetch:q,expose:ee,inheritAttrs:re,components:le,directives:de,filters:Fe}=t;if(c&&ip(c,s,null),i)for(const oe in i){const ae=i[oe];se(ae)&&(s[oe]=ae.bind(n))}if(r){const oe=r.call(n,n);ve(oe)&&(e.data=rr(oe))}if(di=!0,o)for(const oe in o){const ae=o[oe],be=se(ae)?ae.bind(n,n):se(ae.get)?ae.get.bind(n,n):Pt,je=!se(ae)&&se(ae.set)?ae.set.bind(n):Pt,We=He({get:be,set:je});Object.defineProperty(s,oe,{enumerable:!0,configurable:!0,get:()=>We.value,set:Ce=>We.value=Ce})}if(l)for(const oe in l)xu(l[oe],s,n,oe);if(a){const oe=se(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(ae=>{Nr(ae,oe[ae])})}u&&ta(u,e,"c");function te(oe,ae){J(ae)?ae.forEach(be=>oe(be.bind(n))):ae&&oe(ae.bind(n))}if(te(Xh,f),te(ol,d),te(Zh,m),te(Qh,E),te(Kh,b),te(Yh,C),te(sp,U),te(np,H),te(tp,R),te(Jh,L),te(uo,T),te(ep,q),J(ee))if(ee.length){const oe=e.exposed||(e.exposed={});ee.forEach(ae=>{Object.defineProperty(oe,ae,{get:()=>n[ae],set:be=>n[ae]=be})})}else e.exposed||(e.exposed={});k&&e.render===Pt&&(e.render=k),re!=null&&(e.inheritAttrs=re),le&&(e.components=le),de&&(e.directives=de)}function ip(e,t,n=Pt){J(e)&&(e=hi(e));for(const s in e){const r=e[s];let o;ve(r)?"default"in r?o=ut(r.from||s,r.default,!0):o=ut(r.from||s):o=ut(r),Pe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function ta(e,t,n){bt(J(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function xu(e,t,n,s){const r=s.includes(".")?Du(n,s):()=>n[s];if(Ne(e)){const o=t[e];se(o)&&an(r,o)}else if(se(e))an(r,e.bind(n));else if(ve(e))if(J(e))e.forEach(o=>xu(o,t,n,s));else{const o=se(e.handler)?e.handler.bind(n):t[e.handler];se(o)&&an(r,o,e)}}function il(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>Br(a,c,i,!0)),Br(a,t,i)),ve(t)&&o.set(t,a),a}function Br(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Br(e,o,n,!0),r&&r.forEach(i=>Br(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=lp[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const lp={data:na,props:sa,emits:sa,methods:Rs,computed:Rs,beforeCreate:qe,created:qe,beforeMount:qe,mounted:qe,beforeUpdate:qe,updated:qe,beforeDestroy:qe,beforeUnmount:qe,destroyed:qe,unmounted:qe,activated:qe,deactivated:qe,errorCaptured:qe,serverPrefetch:qe,components:Rs,directives:Rs,watch:cp,provide:na,inject:ap};function na(e,t){return t?e?function(){return Be(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function ap(e,t){return Rs(hi(e),hi(t))}function hi(e){if(J(e)){const t={};for(let n=0;n1)return n&&se(t)?t.call(s&&s.proxy):t}}function dp(){return!!(De||ze||Ks)}function hp(e,t,n,s=!1){const r={},o={};xr(o,fo,1),e.propsDefaults=Object.create(null),Fu(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:bu(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function pp(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=pe(r),[a]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,m]=Vu(f,t,!0);Be(i,d),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return ve(e)&&s.set(e,Jn),Jn;if(J(o))for(let u=0;u-1,m[1]=b<0||E-1||he(m,"default"))&&l.push(f)}}}const c=[i,l];return ve(e)&&s.set(e,c),c}function ra(e){return e[0]!=="$"}function oa(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ia(e,t){return oa(e)===oa(t)}function la(e,t){return J(t)?t.findIndex(n=>ia(n,e)):se(t)&&ia(t,e)?0:-1}const Hu=e=>e[0]==="_"||e==="$stable",ll=e=>J(e)?e.map(Ot):[Ot(e)],mp=(e,t,n)=>{if(t._n)return t;const s=gt((...r)=>ll(t(...r)),n);return s._c=!1,s},Bu=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Hu(r))continue;const o=e[r];if(se(o))t[r]=mp(r,o,s);else if(o!=null){const i=ll(o);t[r]=()=>i}}},ju=(e,t)=>{const n=ll(t);e.slots.default=()=>n},_p=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pe(t),xr(t,"_",n)):Bu(t,e.slots={})}else e.slots={},t&&ju(e,t);xr(e.slots,fo,1)},gp=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ye;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Be(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Bu(t,r)),i=t}else t&&(ju(e,t),i={default:1});if(o)for(const l in r)!Hu(l)&&i[l]==null&&delete r[l]};function mi(e,t,n,s,r=!1){if(J(e)){e.forEach((d,m)=>mi(d,t&&(J(t)?t[m]:t),n,s,r));return}if(ks(s)&&!r)return;const o=s.shapeFlag&4?po(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ye?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(Ne(c)?(u[c]=null,he(f,c)&&(f[c]=null)):Pe(c)&&(c.value=null)),se(a))ln(a,l,12,[i,u]);else{const d=Ne(a),m=Pe(a);if(d||m){const E=()=>{if(e.f){const b=d?he(f,a)?f[a]:u[a]:a.value;r?J(b)&&Wi(b,o):J(b)?b.includes(o)||b.push(o):d?(u[a]=[o],he(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,he(f,a)&&(f[a]=i)):m&&(a.value=i,e.k&&(u[e.k]=i))};i?(E.id=-1,et(E,n)):E()}}}const et=Wh;function vp(e){return bp(e)}function bp(e,t){const n=ii();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:m=Pt,insertStaticContent:E}=e,b=(h,p,v,w=null,O=null,P=null,V=!1,I=null,D=!!p.dynamicChildren)=>{if(h===p)return;h&&!Ls(h,p)&&(w=S(h),Ce(h,O,P,!0),h=null),p.patchFlag===-2&&(D=!1,p.dynamicChildren=null);const{type:N,ref:X,shapeFlag:x}=p;switch(N){case or:C(h,p,v,w);break;case fn:A(h,p,v,w);break;case $r:h==null&&L(p,v,w,V);break;case ne:le(h,p,v,w,O,P,V,I,D);break;default:x&1?k(h,p,v,w,O,P,V,I,D):x&6?de(h,p,v,w,O,P,V,I,D):(x&64||x&128)&&N.process(h,p,v,w,O,P,V,I,D,M)}X!=null&&O&&mi(X,h&&h.ref,P,p||h,!p)},C=(h,p,v,w)=>{if(h==null)s(p.el=l(p.children),v,w);else{const O=p.el=h.el;p.children!==h.children&&c(O,p.children)}},A=(h,p,v,w)=>{h==null?s(p.el=a(p.children||""),v,w):p.el=h.el},L=(h,p,v,w)=>{[h.el,h.anchor]=E(h.children,p,v,w,h.el,h.anchor)},z=({el:h,anchor:p},v,w)=>{let O;for(;h&&h!==p;)O=d(h),s(h,v,w),h=O;s(p,v,w)},T=({el:h,anchor:p})=>{let v;for(;h&&h!==p;)v=d(h),r(h),h=v;r(p)},k=(h,p,v,w,O,P,V,I,D)=>{V=V||p.type==="svg",h==null?H(p,v,w,O,P,V,I,D):q(h,p,O,P,V,I,D)},H=(h,p,v,w,O,P,V,I)=>{let D,N;const{type:X,props:x,shapeFlag:g,transition:y,dirs:W}=h;if(D=h.el=i(h.type,P,x&&x.is,x),g&8?u(D,h.children):g&16&&U(h.children,D,null,w,O,P&&X!=="foreignObject",V,I),W&&yn(h,null,w,"created"),R(D,h,h.scopeId,V,w),x){for(const ie in x)ie!=="value"&&!Lr(ie)&&o(D,ie,null,x[ie],P,h.children,w,O,Te);"value"in x&&o(D,"value",null,x.value),(N=x.onVnodeBeforeMount)&&St(N,w,h)}W&&yn(h,null,w,"beforeMount");const Q=Ep(O,y);Q&&y.beforeEnter(D),s(D,p,v),((N=x&&x.onVnodeMounted)||Q||W)&&et(()=>{N&&St(N,w,h),Q&&y.enter(D),W&&yn(h,null,w,"mounted")},O)},R=(h,p,v,w,O)=>{if(v&&m(h,v),w)for(let P=0;P{for(let N=D;N{const I=p.el=h.el;let{patchFlag:D,dynamicChildren:N,dirs:X}=p;D|=h.patchFlag&16;const x=h.props||ye,g=p.props||ye;let y;v&&Tn(v,!1),(y=g.onVnodeBeforeUpdate)&&St(y,v,p,h),X&&yn(p,h,v,"beforeUpdate"),v&&Tn(v,!0);const W=O&&p.type!=="foreignObject";if(N?ee(h.dynamicChildren,N,I,v,w,W,P):V||ae(h,p,I,null,v,w,W,P,!1),D>0){if(D&16)re(I,p,x,g,v,w,O);else if(D&2&&x.class!==g.class&&o(I,"class",null,g.class,O),D&4&&o(I,"style",x.style,g.style,O),D&8){const Q=p.dynamicProps;for(let ie=0;ie{y&&St(y,v,p,h),X&&yn(p,h,v,"updated")},w)},ee=(h,p,v,w,O,P,V)=>{for(let I=0;I{if(v!==w){if(v!==ye)for(const I in v)!Lr(I)&&!(I in w)&&o(h,I,v[I],null,V,p.children,O,P,Te);for(const I in w){if(Lr(I))continue;const D=w[I],N=v[I];D!==N&&I!=="value"&&o(h,I,N,D,V,p.children,O,P,Te)}"value"in w&&o(h,"value",v.value,w.value)}},le=(h,p,v,w,O,P,V,I,D)=>{const N=p.el=h?h.el:l(""),X=p.anchor=h?h.anchor:l("");let{patchFlag:x,dynamicChildren:g,slotScopeIds:y}=p;y&&(I=I?I.concat(y):y),h==null?(s(N,v,w),s(X,v,w),U(p.children,v,X,O,P,V,I,D)):x>0&&x&64&&g&&h.dynamicChildren?(ee(h.dynamicChildren,g,v,O,P,V,I),(p.key!=null||O&&p===O.subTree)&&Wu(h,p,!0)):ae(h,p,v,X,O,P,V,I,D)},de=(h,p,v,w,O,P,V,I,D)=>{p.slotScopeIds=I,h==null?p.shapeFlag&512?O.ctx.activate(p,v,w,V,D):Fe(p,v,w,O,P,V,D):Oe(h,p,D)},Fe=(h,p,v,w,O,P,V)=>{const I=h.component=Pp(h,w,O);if(Ru(h)&&(I.ctx.renderer=M),Np(I),I.asyncDep){if(O&&O.registerDep(I,te),!h.el){const D=I.subTree=ce(fn);A(null,D,p,v)}return}te(I,h,p,v,O,P,V)},Oe=(h,p,v)=>{const w=p.component=h.component;if(Vh(h,p,v))if(w.asyncDep&&!w.asyncResolved){oe(w,p,v);return}else w.next=p,Rh(w.update),w.update();else p.el=h.el,w.vnode=p},te=(h,p,v,w,O,P,V)=>{const I=()=>{if(h.isMounted){let{next:X,bu:x,u:g,parent:y,vnode:W}=h,Q=X,ie;Tn(h,!1),X?(X.el=W.el,oe(h,X,V)):X=W,x&&Pr(x),(ie=X.props&&X.props.onVnodeBeforeUpdate)&&St(ie,y,X,W),Tn(h,!0);const Ee=Ro(h),ke=h.subTree;h.subTree=Ee,b(ke,Ee,f(ke.el),S(ke),h,O,P),X.el=Ee.el,Q===null&&Hh(h,Ee.el),g&&et(g,O),(ie=X.props&&X.props.onVnodeUpdated)&&et(()=>St(ie,y,X,W),O)}else{let X;const{el:x,props:g}=p,{bm:y,m:W,parent:Q}=h,ie=ks(p);if(Tn(h,!1),y&&Pr(y),!ie&&(X=g&&g.onVnodeBeforeMount)&&St(X,Q,p),Tn(h,!0),x&&ue){const Ee=()=>{h.subTree=Ro(h),ue(x,h.subTree,h,O,null)};ie?p.type.__asyncLoader().then(()=>!h.isUnmounted&&Ee()):Ee()}else{const Ee=h.subTree=Ro(h);b(null,Ee,v,w,h,O,P),p.el=Ee.el}if(W&&et(W,O),!ie&&(X=g&&g.onVnodeMounted)){const Ee=p;et(()=>St(X,Q,Ee),O)}(p.shapeFlag&256||Q&&ks(Q.vnode)&&Q.vnode.shapeFlag&256)&&h.a&&et(h.a,O),h.isMounted=!0,p=v=w=null}},D=h.effect=new qi(I,()=>nl(N),h.scope),N=h.update=()=>D.run();N.id=h.uid,Tn(h,!0),N()},oe=(h,p,v)=>{p.component=h;const w=h.vnode.props;h.vnode=p,h.next=null,pp(h,p.props,w,v),gp(h,p.children,v),Es(),Zl(),ys()},ae=(h,p,v,w,O,P,V,I,D=!1)=>{const N=h&&h.children,X=h?h.shapeFlag:0,x=p.children,{patchFlag:g,shapeFlag:y}=p;if(g>0){if(g&128){je(N,x,v,w,O,P,V,I,D);return}else if(g&256){be(N,x,v,w,O,P,V,I,D);return}}y&8?(X&16&&Te(N,O,P),x!==N&&u(v,x)):X&16?y&16?je(N,x,v,w,O,P,V,I,D):Te(N,O,P,!0):(X&8&&u(v,""),y&16&&U(x,v,w,O,P,V,I,D))},be=(h,p,v,w,O,P,V,I,D)=>{h=h||Jn,p=p||Jn;const N=h.length,X=p.length,x=Math.min(N,X);let g;for(g=0;gX?Te(h,O,P,!0,!1,x):U(p,v,w,O,P,V,I,D,x)},je=(h,p,v,w,O,P,V,I,D)=>{let N=0;const X=p.length;let x=h.length-1,g=X-1;for(;N<=x&&N<=g;){const y=h[N],W=p[N]=D?tn(p[N]):Ot(p[N]);if(Ls(y,W))b(y,W,v,null,O,P,V,I,D);else break;N++}for(;N<=x&&N<=g;){const y=h[x],W=p[g]=D?tn(p[g]):Ot(p[g]);if(Ls(y,W))b(y,W,v,null,O,P,V,I,D);else break;x--,g--}if(N>x){if(N<=g){const y=g+1,W=yg)for(;N<=x;)Ce(h[N],O,P,!0),N++;else{const y=N,W=N,Q=new Map;for(N=W;N<=g;N++){const rt=p[N]=D?tn(p[N]):Ot(p[N]);rt.key!=null&&Q.set(rt.key,N)}let ie,Ee=0;const ke=g-W+1;let Kt=!1,$o=0;const Cs=new Array(ke);for(N=0;N=ke){Ce(rt,O,P,!0);continue}let At;if(rt.key!=null)At=Q.get(rt.key);else for(ie=W;ie<=g;ie++)if(Cs[ie-W]===0&&Ls(rt,p[ie])){At=ie;break}At===void 0?Ce(rt,O,P,!0):(Cs[At-W]=N+1,At>=$o?$o=At:Kt=!0,b(rt,p[At],v,null,O,P,V,I,D),Ee++)}const Vl=Kt?yp(Cs):Jn;for(ie=Vl.length-1,N=ke-1;N>=0;N--){const rt=W+N,At=p[rt],Hl=rt+1{const{el:P,type:V,transition:I,children:D,shapeFlag:N}=h;if(N&6){We(h.component.subTree,p,v,w);return}if(N&128){h.suspense.move(p,v,w);return}if(N&64){V.move(h,p,v,M);return}if(V===ne){s(P,p,v);for(let x=0;xI.enter(P),O);else{const{leave:x,delayLeave:g,afterLeave:y}=I,W=()=>s(P,p,v),Q=()=>{x(P,()=>{W(),y&&y()})};g?g(P,W,Q):Q()}else s(P,p,v)},Ce=(h,p,v,w=!1,O=!1)=>{const{type:P,props:V,ref:I,children:D,dynamicChildren:N,shapeFlag:X,patchFlag:x,dirs:g}=h;if(I!=null&&mi(I,null,v,h,!0),X&256){p.ctx.deactivate(h);return}const y=X&1&&g,W=!ks(h);let Q;if(W&&(Q=V&&V.onVnodeBeforeUnmount)&&St(Q,p,h),X&6)Qe(h.component,v,w);else{if(X&128){h.suspense.unmount(v,w);return}y&&yn(h,null,p,"beforeUnmount"),X&64?h.type.remove(h,p,v,O,M,w):N&&(P!==ne||x>0&&x&64)?Te(N,p,v,!1,!0):(P===ne&&x&384||!O&&X&16)&&Te(D,p,v),w&&st(h)}(W&&(Q=V&&V.onVnodeUnmounted)||y)&&et(()=>{Q&&St(Q,p,h),y&&yn(h,null,p,"unmounted")},v)},st=h=>{const{type:p,el:v,anchor:w,transition:O}=h;if(p===ne){Ye(v,w);return}if(p===$r){T(h);return}const P=()=>{r(v),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(h.shapeFlag&1&&O&&!O.persisted){const{leave:V,delayLeave:I}=O,D=()=>V(v,P);I?I(h.el,P,D):D()}else P()},Ye=(h,p)=>{let v;for(;h!==p;)v=d(h),r(h),h=v;r(p)},Qe=(h,p,v)=>{const{bum:w,scope:O,update:P,subTree:V,um:I}=h;w&&Pr(w),O.stop(),P&&(P.active=!1,Ce(V,h,p,v)),I&&et(I,p),et(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},Te=(h,p,v,w=!1,O=!1,P=0)=>{for(let V=P;Vh.shapeFlag&6?S(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),F=(h,p,v)=>{h==null?p._vnode&&Ce(p._vnode,null,null,!0):b(p._vnode||null,h,p,null,null,null,v),Zl(),Lu(),p._vnode=h},M={p:b,um:Ce,m:We,r:st,mt:Fe,mc:U,pc:ae,pbc:ee,n:S,o:e};let Y,ue;return t&&([Y,ue]=t(M)),{render:F,hydrate:Y,createApp:fp(F,Y)}}function Tn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ep(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wu(e,t,n=!1){const s=e.children,r=t.children;if(J(s)&&J(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Tp=e=>e.__isTeleport,ne=Symbol.for("v-fgt"),or=Symbol.for("v-txt"),fn=Symbol.for("v-cmt"),$r=Symbol.for("v-stc"),xs=[];let vt=null;function j(e=!1){xs.push(vt=e?null:[])}function wp(){xs.pop(),vt=xs[xs.length-1]||null}let Ys=1;function aa(e){Ys+=e}function Uu(e){return e.dynamicChildren=Ys>0?vt||Jn:null,wp(),Ys>0&&vt&&vt.push(e),e}function G(e,t,n,s,r,o){return Uu(_(e,t,n,s,r,o,!0))}function Rt(e,t,n,s,r){return Uu(ce(e,t,n,s,r,!0))}function jr(e){return e?e.__v_isVNode===!0:!1}function Ls(e,t){return e.type===t.type&&e.key===t.key}const fo="__vInternal",Gu=({key:e})=>e??null,Ir=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||Pe(e)||se(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function _(e,t=null,n=null,s=0,r=null,o=e===ne?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gu(t),ref:t&&Ir(t),scopeId:io,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ze};return l?(al(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Ne(n)?8:16),Ys>0&&!i&&vt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&vt.push(a),a}const ce=Ap;function Ap(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===$u)&&(e=fn),jr(e)){const l=is(e,t,!0);return n&&al(l,n),Ys>0&&!o&&vt&&(l.shapeFlag&6?vt[vt.indexOf(e)]=l:vt.push(l)),l.patchFlag|=-2,l}if(kp(e)&&(e=e.__vccOpts),t){t=Sp(t);let{class:l,style:a}=t;l&&!Ne(l)&&(t.class=bs(l)),ve(a)&&(yu(a)&&!J(a)&&(a=Be({},a)),t.style=Gi(a))}const i=Ne(e)?1:jh(e)?128:Tp(e)?64:ve(e)?4:se(e)?2:0;return _(e,t,n,s,r,i,o,!0)}function Sp(e){return e?yu(e)||fo in e?Be({},e):e:null}function is(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Op(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Gu(l),ref:t&&t.ref?n&&r?J(r)?r.concat(Ir(t)):[r,Ir(t)]:Ir(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ne?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&is(e.ssContent),ssFallback:e.ssFallback&&is(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Me(e=" ",t=0){return ce(or,null,e,t)}function Ge(e="",t=!1){return t?(j(),Rt(fn,null,e)):ce(fn,null,e)}function Ot(e){return e==null||typeof e=="boolean"?ce(fn):J(e)?ce(ne,null,e.slice()):typeof e=="object"?tn(e):ce(or,null,String(e))}function tn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:is(e)}function al(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),al(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(fo in t)?t._ctx=ze:r===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),s&64?(n=16,t=[Me(t)]):n=8);e.children=t,e.shapeFlag|=n}function Op(...e){const t={};for(let n=0;nDe||ze;let cl,jn,ca="__VUE_INSTANCE_SETTERS__";(jn=ii()[ca])||(jn=ii()[ca]=[]),jn.push(e=>De=e),cl=e=>{jn.length>1?jn.forEach(t=>t(e)):jn[0](e)};const ls=e=>{cl(e),e.scope.on()},Dn=()=>{De&&De.scope.off(),cl(null)};function Ku(e){return e.vnode.shapeFlag&4}let qs=!1;function Np(e,t=!1){qs=t;const{props:n,children:s}=e.vnode,r=Ku(e);hp(e,n,r,t),_p(e,s);const o=r?$p(e,t):void 0;return qs=!1,o}function $p(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=so(new Proxy(e.ctx,rp));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Dp(e):null;ls(e),Es();const o=ln(s,e,0,[e.props,r]);if(ys(),Dn(),nu(o)){if(o.then(Dn,Dn),t)return o.then(i=>{ua(e,i,t)}).catch(i=>{ro(i,e,0)});e.asyncDep=o}else ua(e,o,t)}else Yu(e,t)}function ua(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=Su(t)),Yu(e,n)}let fa;function Yu(e,t,n){const s=e.type;if(!e.render){if(!t&&fa&&!s.render){const r=s.template||il(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=Be(Be({isCustomElement:o,delimiters:l},i),a);s.render=fa(r,c)}}e.render=s.render||Pt}{ls(e),Es();try{op(e)}finally{ys(),Dn()}}}function Ip(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return nt(e,"get","$attrs"),t[n]}}))}function Dp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ip(e)},slots:e.slots,emit:e.emit,expose:t}}function po(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Su(so(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ms)return Ms[n](e)},has(t,n){return n in t||n in Ms}}))}function Rp(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function kp(e){return se(e)&&"__vccOpts"in e}const He=(e,t)=>$h(e,t,qs);function mo(e,t,n){const s=arguments.length;return s===2?ve(t)&&!J(t)?jr(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&jr(n)&&(n=[n]),ce(e,t,n))}const Mp=Symbol.for("v-scx"),xp=()=>ut(Mp),zp="3.3.8",Fp="http://www.w3.org/2000/svg",An=typeof document<"u"?document:null,da=An&&An.createElement("template"),Vp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?An.createElementNS(Fp,e):An.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{da.innerHTML=s?`${e}`:e;const l=da.content;if(s){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Hp=Symbol("_vtc");function Bp(e,t,n){const s=e[Hp];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jp=Symbol("_vod");function Wp(e,t,n){const s=e.style,r=Ne(n);if(n&&!r){if(t&&!Ne(t))for(const o in t)n[o]==null&&_i(s,o,"");for(const o in n)_i(s,o,n[o])}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),jp in e&&(s.display=o)}}const ha=/\s*!important$/;function _i(e,t,n){if(J(n))n.forEach(s=>_i(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Up(e,t);ha.test(n)?e.setProperty(vs(s),n.replace(ha,""),"important"):e[s]=n}}const pa=["Webkit","Moz","ms"],xo={};function Up(e,t){const n=xo[t];if(n)return n;let s=Dt(t);if(s!=="filter"&&s in e)return xo[t]=s;s=to(s);for(let r=0;rzo||(Zp.then(()=>zo=0),zo=Date.now());function Jp(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;bt(em(s,n.value),t,5,[s])};return n.value=e,n.attached=Qp(),n}function em(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const va=/^on[a-z]/,tm=(e,t,n,s,r=!1,o,i,l,a)=>{t==="class"?Bp(e,s,r):t==="style"?Wp(e,n,s):Jr(t)?ji(t)||qp(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):nm(e,t,s,r))?Kp(e,t,s,o,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Gp(e,t,s,r))};function nm(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&va.test(t)&&se(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||va.test(t)&&Ne(n)?!1:t in e}function sm(e){const t=ho();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>vi(o,r))},s=()=>{const r=e(t.proxy);gi(t.subTree,r),n(r)};Uh(s),ol(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),uo(()=>r.disconnect())})}function gi(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{gi(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)vi(e.el,t);else if(e.type===ne)e.children.forEach(n=>gi(n,t));else if(e.type===$r){let{el:n,anchor:s}=e;for(;n&&(vi(n,t),n!==s);)n=n.nextSibling}}function vi(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const Wr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>Pr(t,n):t};function rm(e){e.target.composing=!0}function ba(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ss=Symbol("_assign"),Xt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ss]=Wr(r);const o=s||r.props&&r.props.type==="number";Sn(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=oi(l)),e[ss](l)}),n&&Sn(e,"change",()=>{e.value=e.value.trim()}),t||(Sn(e,"compositionstart",rm),Sn(e,"compositionend",ba),Sn(e,"change",ba))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e[ss]=Wr(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&oi(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},om={created(e,{value:t},n){e.checked=zr(t,n.props.value),e[ss]=Wr(n),Sn(e,"change",()=>{e[ss](im(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[ss]=Wr(s),t!==n&&(e.checked=zr(t,s.props.value))}};function im(e){return"_value"in e?e._value:e.value}const lm=["ctrl","shift","alt","meta"],am={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lm.some(n=>e[`${n}Key`]&&!t.includes(n))},Dr=(e,t)=>(n,...s)=>{for(let r=0;r{const t=um().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=dm(s);if(!r)return;const o=t._component;!se(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function dm(e){return Ne(e)?document.querySelector(e):e}var hm=!1;/*! +var Vd=Object.defineProperty;var Hd=(e,t,n)=>t in e?Vd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Yt=(e,t,n)=>(Hd(e,typeof t!="symbol"?t+"":t,n),n),Io=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var En=(e,t,n)=>(Io(e,t,"read from private field"),n?n.call(e):t.get(e)),Hn=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Bn=(e,t,n,s)=>(Io(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n);var dr=(e,t,n)=>(Io(e,t,"access private method"),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Bi(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const ye={},Jn=[],Pt=()=>{},Bd=()=>!1,jd=/^on[^a-z]/,Jr=e=>jd.test(e),ji=e=>e.startsWith("onUpdate:"),Be=Object.assign,Wi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Wd=Object.prototype.hasOwnProperty,he=(e,t)=>Wd.call(e,t),J=Array.isArray,es=e=>sr(e)==="[object Map]",su=e=>sr(e)==="[object Set]",Wl=e=>sr(e)==="[object Date]",se=e=>typeof e=="function",Ne=e=>typeof e=="string",rs=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",ru=e=>(ve(e)||se(e))&&se(e.then)&&se(e.catch),ou=Object.prototype.toString,sr=e=>ou.call(e),Ud=e=>sr(e).slice(8,-1),iu=e=>sr(e)==="[object Object]",Ui=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lr=Bi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),eo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gd=/-(\w)/g,Dt=eo(e=>e.replace(Gd,(t,n)=>n?n.toUpperCase():"")),Kd=/\B([A-Z])/g,vs=eo(e=>e.replace(Kd,"-$1").toLowerCase()),to=eo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Do=eo(e=>e?`on${to(e)}`:""),kn=(e,t)=>!Object.is(e,t),Pr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},oi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ul;const ii=()=>Ul||(Ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gi(e){if(J(e)){const t={};for(let n=0;n{if(n){const s=n.split(qd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function bs(e){let t="";if(Ne(e))t=e;else if(J(e))for(let n=0;nNe(e)?e:e==null?"":J(e)||ve(e)&&(e.toString===ou||!se(e.toString))?JSON.stringify(e,au,2):String(e),au=(e,t)=>t&&t.__v_isRef?au(e,t.value):es(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:su(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!J(t)&&!iu(t)?String(t):t;let ot;class cu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ot,!t&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},fu=e=>(e.w&un)>0,du=e=>(e.n&un)>0,sh=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(u==="length"||!rs(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":J(e)?Ui(n)&&l.push(i.get("length")):(l.push(i.get(In)),es(e)&&l.push(i.get(ai)));break;case"delete":J(e)||(l.push(i.get(In)),es(e)&&l.push(i.get(ai)));break;case"set":es(e)&&l.push(i.get(In));break}if(l.length===1)l[0]&&ci(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);ci(Yi(a))}}function ci(e,t){const n=J(e)?e:[...e];for(const s of n)s.computed&&Kl(s);for(const s of n)s.computed||Kl(s)}function Kl(e,t){(e!==_t||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function oh(e,t){var n;return(n=Fr.get(e))==null?void 0:n.get(t)}const ih=Bi("__proto__,__v_isRef,__isVue"),mu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rs)),Yl=lh();function lh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=pe(this);for(let o=0,i=this.length;o{e[t]=function(...n){Es();const s=pe(this)[t].apply(this,n);return ys(),s}}),e}function ah(e){const t=pe(this);return nt(t,"has",e),t.hasOwnProperty(e)}class _u{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&s===(r?o?yh:Eu:o?bu:vu).get(t))return t;const i=J(t);if(!r){if(i&&he(Yl,n))return Reflect.get(Yl,n,s);if(n==="hasOwnProperty")return ah}const l=Reflect.get(t,n,s);return(rs(n)?mu.has(n):ih(n))||(r||nt(t,"get",n),o)?l:Pe(l)?i&&Ui(n)?l:l.value:ve(l)?r?Tu(l):rr(l):l}}class gu extends _u{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(os(o)&&Pe(o)&&!Pe(s))return!1;if(!this._shallow&&(!Vr(s)&&!os(s)&&(o=pe(o),s=pe(s)),!J(t)&&Pe(o)&&!Pe(s)))return o.value=s,!0;const i=J(t)&&Ui(n)?Number(n)e,no=e=>Reflect.getPrototypeOf(e);function hr(e,t,n=!1,s=!1){e=e.__v_raw;const r=pe(e),o=pe(t);n||(kn(t,o)&&nt(r,"get",t),nt(r,"get",o));const{has:i}=no(r),l=s?Xi:n?Ji:Ws;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function pr(e,t=!1){const n=this.__v_raw,s=pe(n),r=pe(e);return t||(kn(e,r)&&nt(s,"has",e),nt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function mr(e,t=!1){return e=e.__v_raw,!t&&nt(pe(e),"iterate",In),Reflect.get(e,"size",e)}function ql(e){e=pe(e);const t=pe(this);return no(t).has.call(t,e)||(t.add(e),Ft(t,"add",e,e)),this}function Xl(e,t){t=pe(t);const n=pe(this),{has:s,get:r}=no(n);let o=s.call(n,e);o||(e=pe(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?kn(t,i)&&Ft(n,"set",e,t):Ft(n,"add",e,t),this}function Zl(e){const t=pe(this),{has:n,get:s}=no(t);let r=n.call(t,e);r||(e=pe(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ft(t,"delete",e,void 0),o}function Ql(){const e=pe(this),t=e.size!==0,n=e.clear();return t&&Ft(e,"clear",void 0,void 0),n}function _r(e,t){return function(s,r){const o=this,i=o.__v_raw,l=pe(i),a=t?Xi:e?Ji:Ws;return!e&&nt(l,"iterate",In),i.forEach((c,u)=>s.call(r,a(c),a(u),o))}}function gr(e,t,n){return function(...s){const r=this.__v_raw,o=pe(r),i=es(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?Xi:t?Ji:Ws;return!t&&nt(o,"iterate",a?ai:In),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function qt(e){return function(...t){return e==="delete"?!1:this}}function hh(){const e={get(o){return hr(this,o)},get size(){return mr(this)},has:pr,add:ql,set:Xl,delete:Zl,clear:Ql,forEach:_r(!1,!1)},t={get(o){return hr(this,o,!1,!0)},get size(){return mr(this)},has:pr,add:ql,set:Xl,delete:Zl,clear:Ql,forEach:_r(!1,!0)},n={get(o){return hr(this,o,!0)},get size(){return mr(this,!0)},has(o){return pr.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:_r(!0,!1)},s={get(o){return hr(this,o,!0,!0)},get size(){return mr(this,!0)},has(o){return pr.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:_r(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=gr(o,!1,!1),n[o]=gr(o,!0,!1),t[o]=gr(o,!1,!0),s[o]=gr(o,!0,!0)}),[e,n,t,s]}const[ph,mh,_h,gh]=hh();function Zi(e,t){const n=t?e?gh:_h:e?mh:ph;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(he(n,r)&&r in s?n:s,r,o)}const vh={get:Zi(!1,!1)},bh={get:Zi(!1,!0)},Eh={get:Zi(!0,!1)},vu=new WeakMap,bu=new WeakMap,Eu=new WeakMap,yh=new WeakMap;function Th(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wh(e){return e.__v_skip||!Object.isExtensible(e)?0:Th(Ud(e))}function rr(e){return os(e)?e:Qi(e,!1,uh,vh,vu)}function yu(e){return Qi(e,!1,dh,bh,bu)}function Tu(e){return Qi(e,!0,fh,Eh,Eu)}function Qi(e,t,n,s,r){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=wh(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function on(e){return os(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function os(e){return!!(e&&e.__v_isReadonly)}function Vr(e){return!!(e&&e.__v_isShallow)}function wu(e){return on(e)||os(e)}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function so(e){return xr(e,"__v_skip",!0),e}const Ws=e=>ve(e)?rr(e):e,Ji=e=>ve(e)?Tu(e):e;function Au(e){rn&&_t&&(e=pe(e),pu(e.dep||(e.dep=Yi())))}function Su(e,t){e=pe(e);const n=e.dep;n&&ci(n)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function Ct(e){return Ou(e,!1)}function Ah(e){return Ou(e,!0)}function Ou(e,t){return Pe(e)?e:new Sh(e,t)}class Sh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pe(t),this._value=n?t:Ws(t)}get value(){return Au(this),this._value}set value(t){const n=this.__v_isShallow||Vr(t)||os(t);t=n?t:pe(t),kn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ws(t),Su(this))}}function ts(e){return Pe(e)?e.value:e}const Oh={get:(e,t,n)=>ts(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Pe(r)&&!Pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Cu(e){return on(e)?e:new Proxy(e,Oh)}function Ch(e){const t=J(e)?new Array(e.length):{};for(const n in e)t[n]=Ph(e,n);return t}class Lh{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return oh(pe(this._object),this._key)}}function Ph(e,t,n){const s=e[t];return Pe(s)?s:new Lh(e,t,n)}class Nh{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new qi(t,()=>{this._dirty||(this._dirty=!0,Su(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=pe(this);return Au(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function $h(e,t,n=!1){let s,r;const o=se(e);return o?(s=e,r=Pt):(s=e.get,r=e.set),new Nh(s,r,o||!r,n)}function ln(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){ro(o,t,n)}return r}function bt(e,t,n,s){if(se(e)){const o=ln(e,t,n,s);return o&&ru(o)&&o.catch(i=>{ro(i,t,n)}),o}const r=[];for(let o=0;o>>1,r=Ue[s],o=Gs(r);oLt&&Ue.splice(t,1)}function kh(e){J(e)?ns.push(...e):(!zt||!zt.includes(e,e.allowRecurse?wn+1:wn))&&ns.push(e),Pu()}function Jl(e,t=Us?Lt+1:0){for(;tGs(n)-Gs(s)),wn=0;wne.id==null?1/0:e.id,Mh=(e,t)=>{const n=Gs(e)-Gs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function $u(e){ui=!1,Us=!0,Ue.sort(Mh);try{for(Lt=0;LtNe(m)?m.trim():m)),f&&(r=n.map(oi))}let l,a=s[l=Do(t)]||s[l=Do(Dt(t))];!a&&o&&(a=s[l=Do(vs(t))]),a&&bt(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,bt(c,e,6,r)}}function Iu(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!se(e)){const a=c=>{const u=Iu(c,t,!0);u&&(l=!0,Be(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ve(e)&&s.set(e,null),null):(J(o)?o.forEach(a=>i[a]=null):Be(i,o),ve(e)&&s.set(e,i),i)}function oo(e,t){return!e||!Jr(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,vs(t))||he(e,t))}let ze=null,io=null;function Hr(e){const t=ze;return ze=e,io=e&&e.type.__scopeId||null,t}function lo(e){io=e}function ao(){io=null}function gt(e,t=ze,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ua(-1);const o=Hr(t);let i;try{i=e(...r)}finally{Hr(o),s._d&&ua(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ro(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:m,ctx:E,inheritAttrs:b}=e;let C,A;const L=Hr(e);try{if(n.shapeFlag&4){const T=r||s;C=Ot(u.call(T,T,f,o,m,d,E)),A=a}else{const T=t;C=Ot(T.length>1?T(o,{attrs:a,slots:l,emit:c}):T(o,null)),A=t.props?a:zh(a)}}catch(T){xs.length=0,ro(T,e,1),C=ce(fn)}let z=C;if(A&&b!==!1){const T=Object.keys(A),{shapeFlag:k}=z;T.length&&k&7&&(i&&T.some(ji)&&(A=Fh(A,i)),z=is(z,A))}return n.dirs&&(z=is(z),z.dirs=z.dirs?z.dirs.concat(n.dirs):n.dirs),n.transition&&(z.transition=n.transition),C=z,Hr(L),C}const zh=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jr(n))&&((t||(t={}))[n]=e[n]);return t},Fh=(e,t)=>{const n={};for(const s in e)(!ji(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vh(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?ea(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Wh(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):kh(e)}function Uh(e,t){return rl(e,null,{flush:"post"})}const vr={};function an(e,t,n){return rl(e,t,n)}function rl(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=ye){var l;const a=uu()===((l=De)==null?void 0:l.scope)?De:null;let c,u=!1,f=!1;if(Pe(e)?(c=()=>e.value,u=Vr(e)):on(e)?(c=()=>e,s=!0):J(e)?(f=!0,u=e.some(T=>on(T)||Vr(T)),c=()=>e.map(T=>{if(Pe(T))return T.value;if(on(T))return On(T);if(se(T))return ln(T,a,2)})):se(e)?t?c=()=>ln(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),bt(e,a,3,[m])}:c=Pt,t&&s){const T=c;c=()=>On(T())}let d,m=T=>{d=L.onStop=()=>{ln(T,a,4)}},E;if(qs)if(m=Pt,t?n&&bt(t,a,3,[c(),f?[]:void 0,m]):c(),r==="sync"){const T=xp();E=T.__watcherHandles||(T.__watcherHandles=[])}else return Pt;let b=f?new Array(e.length).fill(vr):vr;const C=()=>{if(L.active)if(t){const T=L.run();(s||u||(f?T.some((k,H)=>kn(k,b[H])):kn(T,b)))&&(d&&d(),bt(t,a,3,[T,b===vr?void 0:f&&b[0]===vr?[]:b,m]),b=T)}else L.run()};C.allowRecurse=!!t;let A;r==="sync"?A=C:r==="post"?A=()=>et(C,a&&a.suspense):(C.pre=!0,a&&(C.id=a.uid),A=()=>nl(C));const L=new qi(c,A);t?n?C():b=L.run():r==="post"?et(L.run.bind(L),a&&a.suspense):L.run();const z=()=>{L.stop(),a&&a.scope&&Wi(a.scope.effects,L)};return E&&E.push(z),z}function Gh(e,t,n){const s=this.proxy,r=Ne(e)?e.includes(".")?ku(s,e):()=>s[e]:e.bind(s,s);let o;se(t)?o=t:(o=t.handler,n=t);const i=De;ls(this);const l=rl(r,o.bind(s),n);return i?ls(i):Dn(),l}function ku(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{On(n,t)});else if(iu(e))for(const n in e)On(e[n],t);return e}function xt(e,t){const n=ze;if(n===null)return e;const s=po(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o!!e.type.__asyncLoader,Mu=e=>e.type.__isKeepAlive;function Kh(e,t){xu(e,"a",t)}function Yh(e,t){xu(e,"da",t)}function xu(e,t,n=De){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(co(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Mu(r.parent.vnode)&&qh(s,t,n,r),r=r.parent}}function qh(e,t,n,s){const r=co(t,e,s,!0);uo(()=>{Wi(s[t],r)},n)}function co(e,t,n=De,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Es(),ls(n);const l=bt(t,n,e,i);return Dn(),ys(),l});return s?r.unshift(o):r.push(o),o}}const Wt=e=>(t,n=De)=>(!qs||e==="sp")&&co(e,(...s)=>t(...s),n),Xh=Wt("bm"),ol=Wt("m"),Zh=Wt("bu"),Qh=Wt("u"),Jh=Wt("bum"),uo=Wt("um"),ep=Wt("sp"),tp=Wt("rtg"),np=Wt("rtc");function sp(e,t=De){co("ec",e,t)}function Nt(e,t,n,s){let r;const o=n&&n[s];if(J(e)||Ne(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,a=i.length;ljr(t)?!(t.type===fn||t.type===ne&&!zu(t.children)):!0)?e:null}const fi=e=>e?qu(e)?po(e)||e.proxy:fi(e.parent):null,Ms=Be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fi(e.parent),$root:e=>fi(e.root),$emit:e=>e.emit,$options:e=>il(e),$forceUpdate:e=>e.f||(e.f=()=>nl(e.update)),$nextTick:e=>e.n||(e.n=tl.bind(e.proxy)),$watch:e=>Gh.bind(e)}),Mo=(e,t)=>e!==ye&&!e.__isScriptSetup&&he(e,t),rp={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Mo(s,t))return i[t]=1,s[t];if(r!==ye&&he(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&he(c,t))return i[t]=3,o[t];if(n!==ye&&he(n,t))return i[t]=4,n[t];di&&(i[t]=0)}}const u=Ms[t];let f,d;if(u)return t==="$attrs"&&nt(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ye&&he(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,he(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Mo(r,t)?(r[t]=n,!0):s!==ye&&he(s,t)?(s[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ye&&he(e,i)||Mo(t,i)||(l=o[0])&&he(l,i)||he(s,i)||he(Ms,i)||he(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function na(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let di=!0;function op(e){const t=il(e),n=e.proxy,s=e.ctx;di=!1,t.beforeCreate&&sa(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:m,updated:E,activated:b,deactivated:C,beforeDestroy:A,beforeUnmount:L,destroyed:z,unmounted:T,render:k,renderTracked:H,renderTriggered:R,errorCaptured:U,serverPrefetch:q,expose:ee,inheritAttrs:re,components:le,directives:de,filters:Fe}=t;if(c&&ip(c,s,null),i)for(const oe in i){const ae=i[oe];se(ae)&&(s[oe]=ae.bind(n))}if(r){const oe=r.call(n,n);ve(oe)&&(e.data=rr(oe))}if(di=!0,o)for(const oe in o){const ae=o[oe],be=se(ae)?ae.bind(n,n):se(ae.get)?ae.get.bind(n,n):Pt,je=!se(ae)&&se(ae.set)?ae.set.bind(n):Pt,We=He({get:be,set:je});Object.defineProperty(s,oe,{enumerable:!0,configurable:!0,get:()=>We.value,set:Ce=>We.value=Ce})}if(l)for(const oe in l)Fu(l[oe],s,n,oe);if(a){const oe=se(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(ae=>{Nr(ae,oe[ae])})}u&&sa(u,e,"c");function te(oe,ae){J(ae)?ae.forEach(be=>oe(be.bind(n))):ae&&oe(ae.bind(n))}if(te(Xh,f),te(ol,d),te(Zh,m),te(Qh,E),te(Kh,b),te(Yh,C),te(sp,U),te(np,H),te(tp,R),te(Jh,L),te(uo,T),te(ep,q),J(ee))if(ee.length){const oe=e.exposed||(e.exposed={});ee.forEach(ae=>{Object.defineProperty(oe,ae,{get:()=>n[ae],set:be=>n[ae]=be})})}else e.exposed||(e.exposed={});k&&e.render===Pt&&(e.render=k),re!=null&&(e.inheritAttrs=re),le&&(e.components=le),de&&(e.directives=de)}function ip(e,t,n=Pt){J(e)&&(e=hi(e));for(const s in e){const r=e[s];let o;ve(r)?"default"in r?o=ut(r.from||s,r.default,!0):o=ut(r.from||s):o=ut(r),Pe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function sa(e,t,n){bt(J(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fu(e,t,n,s){const r=s.includes(".")?ku(n,s):()=>n[s];if(Ne(e)){const o=t[e];se(o)&&an(r,o)}else if(se(e))an(r,e.bind(n));else if(ve(e))if(J(e))e.forEach(o=>Fu(o,t,n,s));else{const o=se(e.handler)?e.handler.bind(n):t[e.handler];se(o)&&an(r,o,e)}}function il(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>Br(a,c,i,!0)),Br(a,t,i)),ve(t)&&o.set(t,a),a}function Br(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Br(e,o,n,!0),r&&r.forEach(i=>Br(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=lp[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const lp={data:ra,props:oa,emits:oa,methods:Rs,computed:Rs,beforeCreate:qe,created:qe,beforeMount:qe,mounted:qe,beforeUpdate:qe,updated:qe,beforeDestroy:qe,beforeUnmount:qe,destroyed:qe,unmounted:qe,activated:qe,deactivated:qe,errorCaptured:qe,serverPrefetch:qe,components:Rs,directives:Rs,watch:cp,provide:ra,inject:ap};function ra(e,t){return t?e?function(){return Be(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function ap(e,t){return Rs(hi(e),hi(t))}function hi(e){if(J(e)){const t={};for(let n=0;n1)return n&&se(t)?t.call(s&&s.proxy):t}}function dp(){return!!(De||ze||Ks)}function hp(e,t,n,s=!1){const r={},o={};xr(o,fo,1),e.propsDefaults=Object.create(null),Hu(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:yu(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function pp(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=pe(r),[a]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,m]=Bu(f,t,!0);Be(i,d),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return ve(e)&&s.set(e,Jn),Jn;if(J(o))for(let u=0;u-1,m[1]=b<0||E-1||he(m,"default"))&&l.push(f)}}}const c=[i,l];return ve(e)&&s.set(e,c),c}function ia(e){return e[0]!=="$"}function la(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function aa(e,t){return la(e)===la(t)}function ca(e,t){return J(t)?t.findIndex(n=>aa(n,e)):se(t)&&aa(t,e)?0:-1}const ju=e=>e[0]==="_"||e==="$stable",ll=e=>J(e)?e.map(Ot):[Ot(e)],mp=(e,t,n)=>{if(t._n)return t;const s=gt((...r)=>ll(t(...r)),n);return s._c=!1,s},Wu=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ju(r))continue;const o=e[r];if(se(o))t[r]=mp(r,o,s);else if(o!=null){const i=ll(o);t[r]=()=>i}}},Uu=(e,t)=>{const n=ll(t);e.slots.default=()=>n},_p=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pe(t),xr(t,"_",n)):Wu(t,e.slots={})}else e.slots={},t&&Uu(e,t);xr(e.slots,fo,1)},gp=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ye;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Be(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Wu(t,r)),i=t}else t&&(Uu(e,t),i={default:1});if(o)for(const l in r)!ju(l)&&i[l]==null&&delete r[l]};function mi(e,t,n,s,r=!1){if(J(e)){e.forEach((d,m)=>mi(d,t&&(J(t)?t[m]:t),n,s,r));return}if(ks(s)&&!r)return;const o=s.shapeFlag&4?po(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ye?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(Ne(c)?(u[c]=null,he(f,c)&&(f[c]=null)):Pe(c)&&(c.value=null)),se(a))ln(a,l,12,[i,u]);else{const d=Ne(a),m=Pe(a);if(d||m){const E=()=>{if(e.f){const b=d?he(f,a)?f[a]:u[a]:a.value;r?J(b)&&Wi(b,o):J(b)?b.includes(o)||b.push(o):d?(u[a]=[o],he(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,he(f,a)&&(f[a]=i)):m&&(a.value=i,e.k&&(u[e.k]=i))};i?(E.id=-1,et(E,n)):E()}}}const et=Wh;function vp(e){return bp(e)}function bp(e,t){const n=ii();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:m=Pt,insertStaticContent:E}=e,b=(h,p,v,w=null,O=null,P=null,V=!1,I=null,D=!!p.dynamicChildren)=>{if(h===p)return;h&&!Ls(h,p)&&(w=S(h),Ce(h,O,P,!0),h=null),p.patchFlag===-2&&(D=!1,p.dynamicChildren=null);const{type:N,ref:X,shapeFlag:x}=p;switch(N){case or:C(h,p,v,w);break;case fn:A(h,p,v,w);break;case $r:h==null&&L(p,v,w,V);break;case ne:le(h,p,v,w,O,P,V,I,D);break;default:x&1?k(h,p,v,w,O,P,V,I,D):x&6?de(h,p,v,w,O,P,V,I,D):(x&64||x&128)&&N.process(h,p,v,w,O,P,V,I,D,M)}X!=null&&O&&mi(X,h&&h.ref,P,p||h,!p)},C=(h,p,v,w)=>{if(h==null)s(p.el=l(p.children),v,w);else{const O=p.el=h.el;p.children!==h.children&&c(O,p.children)}},A=(h,p,v,w)=>{h==null?s(p.el=a(p.children||""),v,w):p.el=h.el},L=(h,p,v,w)=>{[h.el,h.anchor]=E(h.children,p,v,w,h.el,h.anchor)},z=({el:h,anchor:p},v,w)=>{let O;for(;h&&h!==p;)O=d(h),s(h,v,w),h=O;s(p,v,w)},T=({el:h,anchor:p})=>{let v;for(;h&&h!==p;)v=d(h),r(h),h=v;r(p)},k=(h,p,v,w,O,P,V,I,D)=>{V=V||p.type==="svg",h==null?H(p,v,w,O,P,V,I,D):q(h,p,O,P,V,I,D)},H=(h,p,v,w,O,P,V,I)=>{let D,N;const{type:X,props:x,shapeFlag:g,transition:y,dirs:W}=h;if(D=h.el=i(h.type,P,x&&x.is,x),g&8?u(D,h.children):g&16&&U(h.children,D,null,w,O,P&&X!=="foreignObject",V,I),W&&yn(h,null,w,"created"),R(D,h,h.scopeId,V,w),x){for(const ie in x)ie!=="value"&&!Lr(ie)&&o(D,ie,null,x[ie],P,h.children,w,O,Te);"value"in x&&o(D,"value",null,x.value),(N=x.onVnodeBeforeMount)&&St(N,w,h)}W&&yn(h,null,w,"beforeMount");const Q=Ep(O,y);Q&&y.beforeEnter(D),s(D,p,v),((N=x&&x.onVnodeMounted)||Q||W)&&et(()=>{N&&St(N,w,h),Q&&y.enter(D),W&&yn(h,null,w,"mounted")},O)},R=(h,p,v,w,O)=>{if(v&&m(h,v),w)for(let P=0;P{for(let N=D;N{const I=p.el=h.el;let{patchFlag:D,dynamicChildren:N,dirs:X}=p;D|=h.patchFlag&16;const x=h.props||ye,g=p.props||ye;let y;v&&Tn(v,!1),(y=g.onVnodeBeforeUpdate)&&St(y,v,p,h),X&&yn(p,h,v,"beforeUpdate"),v&&Tn(v,!0);const W=O&&p.type!=="foreignObject";if(N?ee(h.dynamicChildren,N,I,v,w,W,P):V||ae(h,p,I,null,v,w,W,P,!1),D>0){if(D&16)re(I,p,x,g,v,w,O);else if(D&2&&x.class!==g.class&&o(I,"class",null,g.class,O),D&4&&o(I,"style",x.style,g.style,O),D&8){const Q=p.dynamicProps;for(let ie=0;ie{y&&St(y,v,p,h),X&&yn(p,h,v,"updated")},w)},ee=(h,p,v,w,O,P,V)=>{for(let I=0;I{if(v!==w){if(v!==ye)for(const I in v)!Lr(I)&&!(I in w)&&o(h,I,v[I],null,V,p.children,O,P,Te);for(const I in w){if(Lr(I))continue;const D=w[I],N=v[I];D!==N&&I!=="value"&&o(h,I,N,D,V,p.children,O,P,Te)}"value"in w&&o(h,"value",v.value,w.value)}},le=(h,p,v,w,O,P,V,I,D)=>{const N=p.el=h?h.el:l(""),X=p.anchor=h?h.anchor:l("");let{patchFlag:x,dynamicChildren:g,slotScopeIds:y}=p;y&&(I=I?I.concat(y):y),h==null?(s(N,v,w),s(X,v,w),U(p.children,v,X,O,P,V,I,D)):x>0&&x&64&&g&&h.dynamicChildren?(ee(h.dynamicChildren,g,v,O,P,V,I),(p.key!=null||O&&p===O.subTree)&&Gu(h,p,!0)):ae(h,p,v,X,O,P,V,I,D)},de=(h,p,v,w,O,P,V,I,D)=>{p.slotScopeIds=I,h==null?p.shapeFlag&512?O.ctx.activate(p,v,w,V,D):Fe(p,v,w,O,P,V,D):Oe(h,p,D)},Fe=(h,p,v,w,O,P,V)=>{const I=h.component=Pp(h,w,O);if(Mu(h)&&(I.ctx.renderer=M),Np(I),I.asyncDep){if(O&&O.registerDep(I,te),!h.el){const D=I.subTree=ce(fn);A(null,D,p,v)}return}te(I,h,p,v,O,P,V)},Oe=(h,p,v)=>{const w=p.component=h.component;if(Vh(h,p,v))if(w.asyncDep&&!w.asyncResolved){oe(w,p,v);return}else w.next=p,Rh(w.update),w.update();else p.el=h.el,w.vnode=p},te=(h,p,v,w,O,P,V)=>{const I=()=>{if(h.isMounted){let{next:X,bu:x,u:g,parent:y,vnode:W}=h,Q=X,ie;Tn(h,!1),X?(X.el=W.el,oe(h,X,V)):X=W,x&&Pr(x),(ie=X.props&&X.props.onVnodeBeforeUpdate)&&St(ie,y,X,W),Tn(h,!0);const Ee=Ro(h),ke=h.subTree;h.subTree=Ee,b(ke,Ee,f(ke.el),S(ke),h,O,P),X.el=Ee.el,Q===null&&Hh(h,Ee.el),g&&et(g,O),(ie=X.props&&X.props.onVnodeUpdated)&&et(()=>St(ie,y,X,W),O)}else{let X;const{el:x,props:g}=p,{bm:y,m:W,parent:Q}=h,ie=ks(p);if(Tn(h,!1),y&&Pr(y),!ie&&(X=g&&g.onVnodeBeforeMount)&&St(X,Q,p),Tn(h,!0),x&&ue){const Ee=()=>{h.subTree=Ro(h),ue(x,h.subTree,h,O,null)};ie?p.type.__asyncLoader().then(()=>!h.isUnmounted&&Ee()):Ee()}else{const Ee=h.subTree=Ro(h);b(null,Ee,v,w,h,O,P),p.el=Ee.el}if(W&&et(W,O),!ie&&(X=g&&g.onVnodeMounted)){const Ee=p;et(()=>St(X,Q,Ee),O)}(p.shapeFlag&256||Q&&ks(Q.vnode)&&Q.vnode.shapeFlag&256)&&h.a&&et(h.a,O),h.isMounted=!0,p=v=w=null}},D=h.effect=new qi(I,()=>nl(N),h.scope),N=h.update=()=>D.run();N.id=h.uid,Tn(h,!0),N()},oe=(h,p,v)=>{p.component=h;const w=h.vnode.props;h.vnode=p,h.next=null,pp(h,p.props,w,v),gp(h,p.children,v),Es(),Jl(),ys()},ae=(h,p,v,w,O,P,V,I,D=!1)=>{const N=h&&h.children,X=h?h.shapeFlag:0,x=p.children,{patchFlag:g,shapeFlag:y}=p;if(g>0){if(g&128){je(N,x,v,w,O,P,V,I,D);return}else if(g&256){be(N,x,v,w,O,P,V,I,D);return}}y&8?(X&16&&Te(N,O,P),x!==N&&u(v,x)):X&16?y&16?je(N,x,v,w,O,P,V,I,D):Te(N,O,P,!0):(X&8&&u(v,""),y&16&&U(x,v,w,O,P,V,I,D))},be=(h,p,v,w,O,P,V,I,D)=>{h=h||Jn,p=p||Jn;const N=h.length,X=p.length,x=Math.min(N,X);let g;for(g=0;gX?Te(h,O,P,!0,!1,x):U(p,v,w,O,P,V,I,D,x)},je=(h,p,v,w,O,P,V,I,D)=>{let N=0;const X=p.length;let x=h.length-1,g=X-1;for(;N<=x&&N<=g;){const y=h[N],W=p[N]=D?tn(p[N]):Ot(p[N]);if(Ls(y,W))b(y,W,v,null,O,P,V,I,D);else break;N++}for(;N<=x&&N<=g;){const y=h[x],W=p[g]=D?tn(p[g]):Ot(p[g]);if(Ls(y,W))b(y,W,v,null,O,P,V,I,D);else break;x--,g--}if(N>x){if(N<=g){const y=g+1,W=yg)for(;N<=x;)Ce(h[N],O,P,!0),N++;else{const y=N,W=N,Q=new Map;for(N=W;N<=g;N++){const rt=p[N]=D?tn(p[N]):Ot(p[N]);rt.key!=null&&Q.set(rt.key,N)}let ie,Ee=0;const ke=g-W+1;let Kt=!1,$o=0;const Cs=new Array(ke);for(N=0;N=ke){Ce(rt,O,P,!0);continue}let At;if(rt.key!=null)At=Q.get(rt.key);else for(ie=W;ie<=g;ie++)if(Cs[ie-W]===0&&Ls(rt,p[ie])){At=ie;break}At===void 0?Ce(rt,O,P,!0):(Cs[At-W]=N+1,At>=$o?$o=At:Kt=!0,b(rt,p[At],v,null,O,P,V,I,D),Ee++)}const Bl=Kt?yp(Cs):Jn;for(ie=Bl.length-1,N=ke-1;N>=0;N--){const rt=W+N,At=p[rt],jl=rt+1{const{el:P,type:V,transition:I,children:D,shapeFlag:N}=h;if(N&6){We(h.component.subTree,p,v,w);return}if(N&128){h.suspense.move(p,v,w);return}if(N&64){V.move(h,p,v,M);return}if(V===ne){s(P,p,v);for(let x=0;xI.enter(P),O);else{const{leave:x,delayLeave:g,afterLeave:y}=I,W=()=>s(P,p,v),Q=()=>{x(P,()=>{W(),y&&y()})};g?g(P,W,Q):Q()}else s(P,p,v)},Ce=(h,p,v,w=!1,O=!1)=>{const{type:P,props:V,ref:I,children:D,dynamicChildren:N,shapeFlag:X,patchFlag:x,dirs:g}=h;if(I!=null&&mi(I,null,v,h,!0),X&256){p.ctx.deactivate(h);return}const y=X&1&&g,W=!ks(h);let Q;if(W&&(Q=V&&V.onVnodeBeforeUnmount)&&St(Q,p,h),X&6)Qe(h.component,v,w);else{if(X&128){h.suspense.unmount(v,w);return}y&&yn(h,null,p,"beforeUnmount"),X&64?h.type.remove(h,p,v,O,M,w):N&&(P!==ne||x>0&&x&64)?Te(N,p,v,!1,!0):(P===ne&&x&384||!O&&X&16)&&Te(D,p,v),w&&st(h)}(W&&(Q=V&&V.onVnodeUnmounted)||y)&&et(()=>{Q&&St(Q,p,h),y&&yn(h,null,p,"unmounted")},v)},st=h=>{const{type:p,el:v,anchor:w,transition:O}=h;if(p===ne){Ye(v,w);return}if(p===$r){T(h);return}const P=()=>{r(v),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(h.shapeFlag&1&&O&&!O.persisted){const{leave:V,delayLeave:I}=O,D=()=>V(v,P);I?I(h.el,P,D):D()}else P()},Ye=(h,p)=>{let v;for(;h!==p;)v=d(h),r(h),h=v;r(p)},Qe=(h,p,v)=>{const{bum:w,scope:O,update:P,subTree:V,um:I}=h;w&&Pr(w),O.stop(),P&&(P.active=!1,Ce(V,h,p,v)),I&&et(I,p),et(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},Te=(h,p,v,w=!1,O=!1,P=0)=>{for(let V=P;Vh.shapeFlag&6?S(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),F=(h,p,v)=>{h==null?p._vnode&&Ce(p._vnode,null,null,!0):b(p._vnode||null,h,p,null,null,null,v),Jl(),Nu(),p._vnode=h},M={p:b,um:Ce,m:We,r:st,mt:Fe,mc:U,pc:ae,pbc:ee,n:S,o:e};let Y,ue;return t&&([Y,ue]=t(M)),{render:F,hydrate:Y,createApp:fp(F,Y)}}function Tn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ep(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Gu(e,t,n=!1){const s=e.children,r=t.children;if(J(s)&&J(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Tp=e=>e.__isTeleport,ne=Symbol.for("v-fgt"),or=Symbol.for("v-txt"),fn=Symbol.for("v-cmt"),$r=Symbol.for("v-stc"),xs=[];let vt=null;function j(e=!1){xs.push(vt=e?null:[])}function wp(){xs.pop(),vt=xs[xs.length-1]||null}let Ys=1;function ua(e){Ys+=e}function Ku(e){return e.dynamicChildren=Ys>0?vt||Jn:null,wp(),Ys>0&&vt&&vt.push(e),e}function G(e,t,n,s,r,o){return Ku(_(e,t,n,s,r,o,!0))}function Rt(e,t,n,s,r){return Ku(ce(e,t,n,s,r,!0))}function jr(e){return e?e.__v_isVNode===!0:!1}function Ls(e,t){return e.type===t.type&&e.key===t.key}const fo="__vInternal",Yu=({key:e})=>e??null,Ir=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||Pe(e)||se(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function _(e,t=null,n=null,s=0,r=null,o=e===ne?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yu(t),ref:t&&Ir(t),scopeId:io,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ze};return l?(al(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Ne(n)?8:16),Ys>0&&!i&&vt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&vt.push(a),a}const ce=Ap;function Ap(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Du)&&(e=fn),jr(e)){const l=is(e,t,!0);return n&&al(l,n),Ys>0&&!o&&vt&&(l.shapeFlag&6?vt[vt.indexOf(e)]=l:vt.push(l)),l.patchFlag|=-2,l}if(kp(e)&&(e=e.__vccOpts),t){t=Sp(t);let{class:l,style:a}=t;l&&!Ne(l)&&(t.class=bs(l)),ve(a)&&(wu(a)&&!J(a)&&(a=Be({},a)),t.style=Gi(a))}const i=Ne(e)?1:jh(e)?128:Tp(e)?64:ve(e)?4:se(e)?2:0;return _(e,t,n,s,r,i,o,!0)}function Sp(e){return e?wu(e)||fo in e?Be({},e):e:null}function is(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Op(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Yu(l),ref:t&&t.ref?n&&r?J(r)?r.concat(Ir(t)):[r,Ir(t)]:Ir(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ne?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&is(e.ssContent),ssFallback:e.ssFallback&&is(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Me(e=" ",t=0){return ce(or,null,e,t)}function Ge(e="",t=!1){return t?(j(),Rt(fn,null,e)):ce(fn,null,e)}function Ot(e){return e==null||typeof e=="boolean"?ce(fn):J(e)?ce(ne,null,e.slice()):typeof e=="object"?tn(e):ce(or,null,String(e))}function tn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:is(e)}function al(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),al(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(fo in t)?t._ctx=ze:r===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),s&64?(n=16,t=[Me(t)]):n=8);e.children=t,e.shapeFlag|=n}function Op(...e){const t={};for(let n=0;nDe||ze;let cl,jn,fa="__VUE_INSTANCE_SETTERS__";(jn=ii()[fa])||(jn=ii()[fa]=[]),jn.push(e=>De=e),cl=e=>{jn.length>1?jn.forEach(t=>t(e)):jn[0](e)};const ls=e=>{cl(e),e.scope.on()},Dn=()=>{De&&De.scope.off(),cl(null)};function qu(e){return e.vnode.shapeFlag&4}let qs=!1;function Np(e,t=!1){qs=t;const{props:n,children:s}=e.vnode,r=qu(e);hp(e,n,r,t),_p(e,s);const o=r?$p(e,t):void 0;return qs=!1,o}function $p(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=so(new Proxy(e.ctx,rp));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Dp(e):null;ls(e),Es();const o=ln(s,e,0,[e.props,r]);if(ys(),Dn(),ru(o)){if(o.then(Dn,Dn),t)return o.then(i=>{da(e,i,t)}).catch(i=>{ro(i,e,0)});e.asyncDep=o}else da(e,o,t)}else Xu(e,t)}function da(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=Cu(t)),Xu(e,n)}let ha;function Xu(e,t,n){const s=e.type;if(!e.render){if(!t&&ha&&!s.render){const r=s.template||il(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=Be(Be({isCustomElement:o,delimiters:l},i),a);s.render=ha(r,c)}}e.render=s.render||Pt}{ls(e),Es();try{op(e)}finally{ys(),Dn()}}}function Ip(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return nt(e,"get","$attrs"),t[n]}}))}function Dp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ip(e)},slots:e.slots,emit:e.emit,expose:t}}function po(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Cu(so(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ms)return Ms[n](e)},has(t,n){return n in t||n in Ms}}))}function Rp(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function kp(e){return se(e)&&"__vccOpts"in e}const He=(e,t)=>$h(e,t,qs);function mo(e,t,n){const s=arguments.length;return s===2?ve(t)&&!J(t)?jr(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&jr(n)&&(n=[n]),ce(e,t,n))}const Mp=Symbol.for("v-scx"),xp=()=>ut(Mp),zp="3.3.8",Fp="http://www.w3.org/2000/svg",An=typeof document<"u"?document:null,pa=An&&An.createElement("template"),Vp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?An.createElementNS(Fp,e):An.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{pa.innerHTML=s?`${e}`:e;const l=pa.content;if(s){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Hp=Symbol("_vtc");function Bp(e,t,n){const s=e[Hp];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jp=Symbol("_vod");function Wp(e,t,n){const s=e.style,r=Ne(n);if(n&&!r){if(t&&!Ne(t))for(const o in t)n[o]==null&&_i(s,o,"");for(const o in n)_i(s,o,n[o])}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),jp in e&&(s.display=o)}}const ma=/\s*!important$/;function _i(e,t,n){if(J(n))n.forEach(s=>_i(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Up(e,t);ma.test(n)?e.setProperty(vs(s),n.replace(ma,""),"important"):e[s]=n}}const _a=["Webkit","Moz","ms"],xo={};function Up(e,t){const n=xo[t];if(n)return n;let s=Dt(t);if(s!=="filter"&&s in e)return xo[t]=s;s=to(s);for(let r=0;r<_a.length;r++){const o=_a[r]+s;if(o in e)return xo[t]=o}return t}const ga="http://www.w3.org/1999/xlink";function Gp(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ga,t.slice(6,t.length)):e.setAttributeNS(ga,t,n);else{const o=Jd(t);n==null||o&&!lu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function Kp(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const c=l==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=lu(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Sn(e,t,n,s){e.addEventListener(t,n,s)}function Yp(e,t,n,s){e.removeEventListener(t,n,s)}const va=Symbol("_vei");function qp(e,t,n,s,r=null){const o=e[va]||(e[va]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=Xp(t);if(s){const c=o[t]=Jp(s,r);Sn(e,l,c,a)}else i&&(Yp(e,l,i,a),o[t]=void 0)}}const ba=/(?:Once|Passive|Capture)$/;function Xp(e){let t;if(ba.test(e)){t={};let s;for(;s=e.match(ba);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):vs(e.slice(2)),t]}let zo=0;const Zp=Promise.resolve(),Qp=()=>zo||(Zp.then(()=>zo=0),zo=Date.now());function Jp(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;bt(em(s,n.value),t,5,[s])};return n.value=e,n.attached=Qp(),n}function em(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ea=/^on[a-z]/,tm=(e,t,n,s,r=!1,o,i,l,a)=>{t==="class"?Bp(e,s,r):t==="style"?Wp(e,n,s):Jr(t)?ji(t)||qp(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):nm(e,t,s,r))?Kp(e,t,s,o,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Gp(e,t,s,r))};function nm(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ea.test(t)&&se(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ea.test(t)&&Ne(n)?!1:t in e}function sm(e){const t=ho();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>vi(o,r))},s=()=>{const r=e(t.proxy);gi(t.subTree,r),n(r)};Uh(s),ol(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),uo(()=>r.disconnect())})}function gi(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{gi(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)vi(e.el,t);else if(e.type===ne)e.children.forEach(n=>gi(n,t));else if(e.type===$r){let{el:n,anchor:s}=e;for(;n&&(vi(n,t),n!==s);)n=n.nextSibling}}function vi(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const Wr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>Pr(t,n):t};function rm(e){e.target.composing=!0}function ya(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ss=Symbol("_assign"),Xt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ss]=Wr(r);const o=s||r.props&&r.props.type==="number";Sn(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=oi(l)),e[ss](l)}),n&&Sn(e,"change",()=>{e.value=e.value.trim()}),t||(Sn(e,"compositionstart",rm),Sn(e,"compositionend",ya),Sn(e,"change",ya))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e[ss]=Wr(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&oi(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},om={created(e,{value:t},n){e.checked=zr(t,n.props.value),e[ss]=Wr(n),Sn(e,"change",()=>{e[ss](im(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[ss]=Wr(s),t!==n&&(e.checked=zr(t,s.props.value))}};function im(e){return"_value"in e?e._value:e.value}const lm=["ctrl","shift","alt","meta"],am={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lm.some(n=>e[`${n}Key`]&&!t.includes(n))},Dr=(e,t)=>(n,...s)=>{for(let r=0;r{const t=um().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=dm(s);if(!r)return;const o=t._component;!se(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function dm(e){return Ne(e)?document.querySelector(e):e}var hm=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let qu;const _o=e=>qu=e,Xu=Symbol();function bi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zs||(zs={}));function pm(){const e=Ki(!0),t=e.run(()=>Ct({}));let n=[],s=[];const r=so({install(o){_o(r),r._a=o,o.provide(Xu,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!hm?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Zu=()=>{};function ya(e,t,n,s=Zu){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&au()&&nh(r),r}function Wn(e,...t){e.slice().forEach(n=>{n(...t)})}const mm=e=>e();function Ei(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];bi(r)&&bi(s)&&e.hasOwnProperty(n)&&!Pe(s)&&!on(s)?e[n]=Ei(r,s):e[n]=s}return e}const _m=Symbol();function gm(e){return!bi(e)||!e.hasOwnProperty(_m)}const{assign:en}=Object;function vm(e){return!!(Pe(e)&&e.effect)}function bm(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=r?r():{});const u=Ch(n.state.value[e]);return en(u,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=so(He(()=>{_o(n);const m=n._s.get(e);return i[d].call(m,m)})),f),{}))}return a=Qu(e,c,t,n,s,!0),a}function Qu(e,t,n={},s,r,o){let i;const l=en({actions:{}},n),a={deep:!0};let c,u,f=[],d=[],m;const E=s.state.value[e];!o&&!E&&(s.state.value[e]={}),Ct({});let b;function C(U){let q;c=u=!1,typeof U=="function"?(U(s.state.value[e]),q={type:zs.patchFunction,storeId:e,events:m}):(Ei(s.state.value[e],U),q={type:zs.patchObject,payload:U,storeId:e,events:m});const ee=b=Symbol();tl().then(()=>{b===ee&&(c=!0)}),u=!0,Wn(f,q,s.state.value[e])}const A=o?function(){const{state:q}=n,ee=q?q():{};this.$patch(re=>{en(re,ee)})}:Zu;function L(){i.stop(),f=[],d=[],s._s.delete(e)}function z(U,q){return function(){_o(s);const ee=Array.from(arguments),re=[],le=[];function de(te){re.push(te)}function Fe(te){le.push(te)}Wn(d,{args:ee,name:U,store:k,after:de,onError:Fe});let Oe;try{Oe=q.apply(this&&this.$id===e?this:k,ee)}catch(te){throw Wn(le,te),te}return Oe instanceof Promise?Oe.then(te=>(Wn(re,te),te)).catch(te=>(Wn(le,te),Promise.reject(te))):(Wn(re,Oe),Oe)}}const T={_p:s,$id:e,$onAction:ya.bind(null,d),$patch:C,$reset:A,$subscribe(U,q={}){const ee=ya(f,U,q.detached,()=>re()),re=i.run(()=>an(()=>s.state.value[e],le=>{(q.flush==="sync"?u:c)&&U({storeId:e,type:zs.direct,events:m},le)},en({},a,q)));return ee},$dispose:L},k=rr(T);s._s.set(e,k);const R=(s._a&&s._a.runWithContext||mm)(()=>s._e.run(()=>(i=Ki()).run(t)));for(const U in R){const q=R[U];if(Pe(q)&&!vm(q)||on(q))o||(E&&gm(q)&&(Pe(q)?q.value=E[U]:Ei(q,E[U])),s.state.value[e][U]=q);else if(typeof q=="function"){const ee=z(U,q);R[U]=ee,l.actions[U]=q}}return en(k,R),en(pe(k),R),Object.defineProperty(k,"$state",{get:()=>s.state.value[e],set:U=>{C(q=>{en(q,U)})}}),s._p.forEach(U=>{en(k,i.run(()=>U({store:k,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(k.$state,E),c=!0,u=!0,k}function Em(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,a){const c=dp();return l=l||(c?ut(Xu,null):null),l&&_o(l),l=qu,l._s.has(s)||(o?Qu(s,t,r,l):bm(s,r,l)),l._s.get(s)}return i.$id=s,i}function ym(e){return typeof e=="object"&&e!==null}function Ta(e,t){return e=ym(e)?e:Object.create(null),new Proxy(e,{get(n,s,r){return s==="key"?Reflect.get(n,s,r):Reflect.get(n,s,r)||Reflect.get(t,s,r)}})}function Tm(e,t){return t.reduce((n,s)=>n==null?void 0:n[s],e)}function wm(e,t,n){return t.slice(0,-1).reduce((s,r)=>/^(__proto__)$/.test(r)?{}:s[r]=s[r]||{},e)[t[t.length-1]]=n,e}function Am(e,t){return t.reduce((n,s)=>{const r=s.split(".");return wm(n,r,Tm(e,r))},{})}function wa(e,{storage:t,serializer:n,key:s,debug:r}){try{const o=t==null?void 0:t.getItem(s);o&&e.$patch(n==null?void 0:n.deserialize(o))}catch(o){r&&console.error(o)}}function Aa(e,{storage:t,serializer:n,key:s,paths:r,debug:o}){try{const i=Array.isArray(r)?Am(e,r):e;t.setItem(s,n.serialize(i))}catch(i){o&&console.error(i)}}function Sm(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:s=n},store:r,pinia:o}=t;if(!s)return;if(!(r.$id in o.state.value)){const l=o._s.get(r.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const i=(Array.isArray(s)?s.map(l=>Ta(l,e)):[Ta(s,e)]).map(({storage:l=localStorage,beforeRestore:a=null,afterRestore:c=null,serializer:u={serialize:JSON.stringify,deserialize:JSON.parse},key:f=r.$id,paths:d=null,debug:m=!1})=>{var E;return{storage:l,beforeRestore:a,afterRestore:c,serializer:u,key:((E=e.key)!=null?E:b=>b)(typeof f=="string"?f:f(r.$id)),paths:d,debug:m}});r.$persist=()=>{i.forEach(l=>{Aa(r.$state,l)})},r.$hydrate=({runHooks:l=!0}={})=>{i.forEach(a=>{const{beforeRestore:c,afterRestore:u}=a;l&&(c==null||c(t)),wa(r,a),l&&(u==null||u(t))})},i.forEach(l=>{const{beforeRestore:a,afterRestore:c}=l;a==null||a(t),wa(r,l),c==null||c(t),r.$subscribe((u,f)=>{Aa(f,l)},{detached:!0})})}}var Om=Sm();/*! + */let Zu;const _o=e=>Zu=e,Qu=Symbol();function bi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zs||(zs={}));function pm(){const e=Ki(!0),t=e.run(()=>Ct({}));let n=[],s=[];const r=so({install(o){_o(r),r._a=o,o.provide(Qu,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!hm?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Ju=()=>{};function wa(e,t,n,s=Ju){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&uu()&&nh(r),r}function Wn(e,...t){e.slice().forEach(n=>{n(...t)})}const mm=e=>e();function Ei(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];bi(r)&&bi(s)&&e.hasOwnProperty(n)&&!Pe(s)&&!on(s)?e[n]=Ei(r,s):e[n]=s}return e}const _m=Symbol();function gm(e){return!bi(e)||!e.hasOwnProperty(_m)}const{assign:en}=Object;function vm(e){return!!(Pe(e)&&e.effect)}function bm(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=r?r():{});const u=Ch(n.state.value[e]);return en(u,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=so(He(()=>{_o(n);const m=n._s.get(e);return i[d].call(m,m)})),f),{}))}return a=ef(e,c,t,n,s,!0),a}function ef(e,t,n={},s,r,o){let i;const l=en({actions:{}},n),a={deep:!0};let c,u,f=[],d=[],m;const E=s.state.value[e];!o&&!E&&(s.state.value[e]={}),Ct({});let b;function C(U){let q;c=u=!1,typeof U=="function"?(U(s.state.value[e]),q={type:zs.patchFunction,storeId:e,events:m}):(Ei(s.state.value[e],U),q={type:zs.patchObject,payload:U,storeId:e,events:m});const ee=b=Symbol();tl().then(()=>{b===ee&&(c=!0)}),u=!0,Wn(f,q,s.state.value[e])}const A=o?function(){const{state:q}=n,ee=q?q():{};this.$patch(re=>{en(re,ee)})}:Ju;function L(){i.stop(),f=[],d=[],s._s.delete(e)}function z(U,q){return function(){_o(s);const ee=Array.from(arguments),re=[],le=[];function de(te){re.push(te)}function Fe(te){le.push(te)}Wn(d,{args:ee,name:U,store:k,after:de,onError:Fe});let Oe;try{Oe=q.apply(this&&this.$id===e?this:k,ee)}catch(te){throw Wn(le,te),te}return Oe instanceof Promise?Oe.then(te=>(Wn(re,te),te)).catch(te=>(Wn(le,te),Promise.reject(te))):(Wn(re,Oe),Oe)}}const T={_p:s,$id:e,$onAction:wa.bind(null,d),$patch:C,$reset:A,$subscribe(U,q={}){const ee=wa(f,U,q.detached,()=>re()),re=i.run(()=>an(()=>s.state.value[e],le=>{(q.flush==="sync"?u:c)&&U({storeId:e,type:zs.direct,events:m},le)},en({},a,q)));return ee},$dispose:L},k=rr(T);s._s.set(e,k);const R=(s._a&&s._a.runWithContext||mm)(()=>s._e.run(()=>(i=Ki()).run(t)));for(const U in R){const q=R[U];if(Pe(q)&&!vm(q)||on(q))o||(E&&gm(q)&&(Pe(q)?q.value=E[U]:Ei(q,E[U])),s.state.value[e][U]=q);else if(typeof q=="function"){const ee=z(U,q);R[U]=ee,l.actions[U]=q}}return en(k,R),en(pe(k),R),Object.defineProperty(k,"$state",{get:()=>s.state.value[e],set:U=>{C(q=>{en(q,U)})}}),s._p.forEach(U=>{en(k,i.run(()=>U({store:k,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(k.$state,E),c=!0,u=!0,k}function Em(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,a){const c=dp();return l=l||(c?ut(Qu,null):null),l&&_o(l),l=Zu,l._s.has(s)||(o?ef(s,t,r,l):bm(s,r,l)),l._s.get(s)}return i.$id=s,i}function ym(e){return typeof e=="object"&&e!==null}function Aa(e,t){return e=ym(e)?e:Object.create(null),new Proxy(e,{get(n,s,r){return s==="key"?Reflect.get(n,s,r):Reflect.get(n,s,r)||Reflect.get(t,s,r)}})}function Tm(e,t){return t.reduce((n,s)=>n==null?void 0:n[s],e)}function wm(e,t,n){return t.slice(0,-1).reduce((s,r)=>/^(__proto__)$/.test(r)?{}:s[r]=s[r]||{},e)[t[t.length-1]]=n,e}function Am(e,t){return t.reduce((n,s)=>{const r=s.split(".");return wm(n,r,Tm(e,r))},{})}function Sa(e,{storage:t,serializer:n,key:s,debug:r}){try{const o=t==null?void 0:t.getItem(s);o&&e.$patch(n==null?void 0:n.deserialize(o))}catch(o){r&&console.error(o)}}function Oa(e,{storage:t,serializer:n,key:s,paths:r,debug:o}){try{const i=Array.isArray(r)?Am(e,r):e;t.setItem(s,n.serialize(i))}catch(i){o&&console.error(i)}}function Sm(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:s=n},store:r,pinia:o}=t;if(!s)return;if(!(r.$id in o.state.value)){const l=o._s.get(r.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const i=(Array.isArray(s)?s.map(l=>Aa(l,e)):[Aa(s,e)]).map(({storage:l=localStorage,beforeRestore:a=null,afterRestore:c=null,serializer:u={serialize:JSON.stringify,deserialize:JSON.parse},key:f=r.$id,paths:d=null,debug:m=!1})=>{var E;return{storage:l,beforeRestore:a,afterRestore:c,serializer:u,key:((E=e.key)!=null?E:b=>b)(typeof f=="string"?f:f(r.$id)),paths:d,debug:m}});r.$persist=()=>{i.forEach(l=>{Oa(r.$state,l)})},r.$hydrate=({runHooks:l=!0}={})=>{i.forEach(a=>{const{beforeRestore:c,afterRestore:u}=a;l&&(c==null||c(t)),Sa(r,a),l&&(u==null||u(t))})},i.forEach(l=>{const{beforeRestore:a,afterRestore:c}=l;a==null||a(t),Sa(r,l),c==null||c(t),r.$subscribe((u,f)=>{Oa(f,l)},{detached:!0})})}}var Om=Sm();/*! * shared v9.7.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */const yi=typeof window<"u",mn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Cm=(e,t,n)=>Lm({l:e,k:t,s:n}),Lm=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xe=e=>typeof e=="number"&&isFinite(e),Pm=e=>ef(e)==="[object Date]",Ur=e=>ef(e)==="[object RegExp]",go=e=>fe(e)&&Object.keys(e).length===0,Ke=Object.assign;let Sa;const ul=()=>Sa||(Sa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Oa(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Nm=Object.prototype.hasOwnProperty;function Xs(e,t){return Nm.call(e,t)}const Re=Array.isArray,Ie=e=>typeof e=="function",K=e=>typeof e=="string",Le=e=>typeof e=="boolean",_e=e=>e!==null&&typeof e=="object",Ju=Object.prototype.toString,ef=e=>Ju.call(e),fe=e=>{if(!_e(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},$m=e=>e==null?"":Re(e)||fe(e)&&e.toString===Ju?JSON.stringify(e,null,2):String(e);function Im(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}function fl(e){let t=e;return()=>++t}function Dm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const br=e=>!_e(e)||Re(e);function Fs(e,t){if(br(e)||br(t))throw new Error("Invalid value");for(const n in e)Xs(e,n)&&(br(e[n])||br(t[n])?t[n]=e[n]:Fs(e[n],t[n]))}/*! + */const yi=typeof window<"u",mn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Cm=(e,t,n)=>Lm({l:e,k:t,s:n}),Lm=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xe=e=>typeof e=="number"&&isFinite(e),Pm=e=>nf(e)==="[object Date]",Ur=e=>nf(e)==="[object RegExp]",go=e=>fe(e)&&Object.keys(e).length===0,Ke=Object.assign;let Ca;const ul=()=>Ca||(Ca=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function La(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Nm=Object.prototype.hasOwnProperty;function Xs(e,t){return Nm.call(e,t)}const Re=Array.isArray,Ie=e=>typeof e=="function",K=e=>typeof e=="string",Le=e=>typeof e=="boolean",_e=e=>e!==null&&typeof e=="object",tf=Object.prototype.toString,nf=e=>tf.call(e),fe=e=>{if(!_e(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},$m=e=>e==null?"":Re(e)||fe(e)&&e.toString===tf?JSON.stringify(e,null,2):String(e);function Im(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}function fl(e){let t=e;return()=>++t}function Dm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const br=e=>!_e(e)||Re(e);function Fs(e,t){if(br(e)||br(t))throw new Error("Invalid value");for(const n in e)Xs(e,n)&&(br(e[n])||br(t[n])?t[n]=e[n]:Fs(e[n],t[n]))}/*! * message-compiler v9.7.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */const Rm=/\{([0-9a-zA-Z]+)\}/g;function km(e,...t){return t.length===1&&Mm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Rm,(n,s)=>t.hasOwnProperty(s)?t[s]:"")}const Mm=e=>e!==null&&typeof e=="object",Ve={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},xm={[Ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function tf(e,t,n={}){const{domain:s,messages:r,args:o}=n,i=km((r||xm)[e]||"",...o||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=s,l}/*! + */const Rm=/\{([0-9a-zA-Z]+)\}/g;function km(e,...t){return t.length===1&&Mm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Rm,(n,s)=>t.hasOwnProperty(s)?t[s]:"")}const Mm=e=>e!==null&&typeof e=="object",Ve={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},xm={[Ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function sf(e,t,n={}){const{domain:s,messages:r,args:o}=n,i=km((r||xm)[e]||"",...o||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=s,l}/*! * core-base v9.7.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */function zm(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ul().__INTLIFY_PROD_DEVTOOLS__=!1)}const _n=[];_n[0]={w:[0],i:[3,0],"[":[4],o:[7]};_n[1]={w:[1],".":[2],"[":[4],o:[7]};_n[2]={w:[2],i:[3,0],0:[3,0]};_n[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};_n[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};_n[5]={"'":[4,0],o:8,l:[5,0]};_n[6]={'"':[4,0],o:8,l:[6,0]};const Fm=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vm(e){return Fm.test(e)}function Hm(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 Bm(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 jm(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Vm(t)?Hm(t):"*"+t}function Wm(e){const t=[];let n=-1,s=0,r=0,o,i,l,a,c,u,f;const d=[];d[0]=()=>{i===void 0?i=l:i+=l},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,s=4,d[0]();else{if(r=0,i===void 0||(i=jm(i),i===!1))return!1;d[1]()}};function m(){const E=e[n+1];if(s===5&&E==="'"||s===6&&E==='"')return n++,l="\\"+E,d[0](),!0}for(;s!==null;)if(n++,o=e[n],!(o==="\\"&&m())){if(a=Bm(o),f=_n[s],c=f[a]||f.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(l=o,u()===!1))))return;if(s===7)return t}}const Ca=new Map;function Um(e,t){return _e(e)?e[t]:null}function Gm(e,t){if(!_e(e))return null;let n=Ca.get(t);if(n||(n=Wm(t),n&&Ca.set(t,n)),!n)return null;const s=n.length;let r=e,o=0;for(;oe,Ym=e=>"",qm="text",Xm=e=>e.length===0?"":Im(e),Zm=$m;function La(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Qm(e){const t=xe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xe(e.named.count)||xe(e.named.n))?xe(e.named.count)?e.named.count:xe(e.named.n)?e.named.n:t:t}function Jm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function e_(e={}){const t=e.locale,n=Qm(e),s=_e(e.pluralRules)&&K(t)&&Ie(e.pluralRules[t])?e.pluralRules[t]:La,r=_e(e.pluralRules)&&K(t)&&Ie(e.pluralRules[t])?La:void 0,o=A=>A[s(n,A.length,r)],i=e.list||[],l=A=>i[A],a=e.named||{};xe(e.pluralIndex)&&Jm(n,a);const c=A=>a[A];function u(A){const L=Ie(e.messages)?e.messages(A):_e(e.messages)?e.messages[A]:!1;return L||(e.parent?e.parent.message(A):Ym)}const f=A=>e.modifiers?e.modifiers[A]:Km,d=fe(e.processor)&&Ie(e.processor.normalize)?e.processor.normalize:Xm,m=fe(e.processor)&&Ie(e.processor.interpolate)?e.processor.interpolate:Zm,E=fe(e.processor)&&K(e.processor.type)?e.processor.type:qm,C={list:l,named:c,plural:o,linked:(A,...L)=>{const[z,T]=L;let k="text",H="";L.length===1?_e(z)?(H=z.modifier||H,k=z.type||k):K(z)&&(H=z||H):L.length===2&&(K(z)&&(H=z||H),K(T)&&(k=T||k));const R=u(A)(C),U=k==="vnode"&&Re(R)&&H?R[0]:R;return H?f(H)(U,k):U},message:u,type:E,interpolate:m,normalize:d,values:Ke({},i,a)};return C}let Zs=null;function t_(e){Zs=e}function n_(e,t,n){Zs&&Zs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const s_=r_("function:translate");function r_(e){return t=>Zs&&Zs.emit(e,t)}const o_={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,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};function dl(e,t){return t.locale!=null?Pa(t.locale):Pa(e.locale)}let Fo;function Pa(e){return K(e)?e:Fo!=null&&e.resolvedOnce?Fo:Fo=e()}function i_(e,t,n){return[...new Set([n,...Re(t)?t:_e(t)?Object.keys(t):K(t)?[t]:[n]])]}function nf(e,t,n){const s=K(n)?n:Gr,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(s);if(!o){o=[];let i=[n];for(;Re(i);)i=Na(o,i,t);const l=Re(t)||!fe(t)?t:t.default?t.default:null;i=K(l)?[l]:l,Re(i)&&Na(o,i,!1),r.__localeChainCache.set(s,o)}return o}function Na(e,t,n){let s=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function u_(){return{upper:(e,t)=>t==="text"&&K(e)?e.toUpperCase():t==="vnode"&&_e(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&K(e)?e.toLowerCase():t==="vnode"&&_e(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&K(e)?Ia(e):t==="vnode"&&_e(e)&&"__v_isVNode"in e?Ia(e.children):e}}let f_,sf;function d_(e){sf=e}let rf;function h_(e){rf=e}let of=null;const p_=e=>{of=e},m_=()=>of;let lf=null;const Da=e=>{lf=e},__=()=>lf;let Ra=0;function g_(e={}){const t=Ie(e.onWarn)?e.onWarn:Dm,n=K(e.version)?e.version:c_,s=K(e.locale)||Ie(e.locale)?e.locale:Gr,r=Ie(s)?Gr:s,o=Re(e.fallbackLocale)||fe(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=fe(e.messages)?e.messages:{[r]:{}},l=fe(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},a=fe(e.numberFormats)?e.numberFormats:{[r]:{}},c=Ke({},e.modifiers||{},u_()),u=e.pluralRules||{},f=Ie(e.missing)?e.missing:null,d=Le(e.missingWarn)||Ur(e.missingWarn)?e.missingWarn:!0,m=Le(e.fallbackWarn)||Ur(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,b=!!e.unresolving,C=Ie(e.postTranslation)?e.postTranslation:null,A=fe(e.processor)?e.processor:null,L=Le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,z=!!e.escapeParameter,T=Ie(e.messageCompiler)?e.messageCompiler:f_,k=Ie(e.messageResolver)?e.messageResolver:sf||Um,H=Ie(e.localeFallbacker)?e.localeFallbacker:rf||i_,R=_e(e.fallbackContext)?e.fallbackContext:void 0,U=e,q=_e(U.__datetimeFormatters)?U.__datetimeFormatters:new Map,ee=_e(U.__numberFormatters)?U.__numberFormatters:new Map,re=_e(U.__meta)?U.__meta:{};Ra++;const le={version:n,cid:Ra,locale:s,fallbackLocale:o,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:m,fallbackFormat:E,unresolving:b,postTranslation:C,processor:A,warnHtmlMessage:L,escapeParameter:z,messageCompiler:T,messageResolver:k,localeFallbacker:H,fallbackContext:R,onWarn:t,__meta:re};return le.datetimeFormats=l,le.numberFormats=a,le.__datetimeFormatters=q,le.__numberFormatters=ee,__INTLIFY_PROD_DEVTOOLS__&&n_(le,n,re),le}function hl(e,t,n,s,r){const{missing:o,onWarn:i}=e;if(o!==null){const l=o(e,n,t,r);return K(l)?l:t}else return t}function Ps(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const af=Ve.__EXTEND_POINT__,Er=fl(af),Cn={INVALID_ARGUMENT:af,INVALID_DATE_ARGUMENT:Er(),INVALID_ISO_DATE_ARGUMENT:Er(),NOT_SUPPORT_NON_STRING_MESSAGE:Er(),__EXTEND_POINT__:Er()};function Zn(e){return tf(e,null,void 0)}const as=e=>_e(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e),ka=()=>"",ct=e=>Ie(e);function Ma(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:o,fallbackLocale:i,messages:l}=e,[a,c]=Ti(...t),u=Le(c.missingWarn)?c.missingWarn:e.missingWarn,f=Le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,E=K(c.default)||Le(c.default)?Le(c.default)?o?a:()=>a:c.default:n?o?a:()=>a:"",b=n||E!=="",C=dl(e,c);d&&v_(c);let[A,L,z]=m?[a,C,l[C]||{}]:cf(e,a,C,i,f,u),T=A,k=a;if(!m&&!(K(T)||as(T)||ct(T))&&b&&(T=E,k=T),!m&&(!(K(T)||as(T)||ct(T))||!K(L)))return r?vo:a;let H=!1;const R=()=>{H=!0},U=ct(T)?T:uf(e,a,L,T,k,R);if(H)return T;const q=y_(e,L,z,c),ee=e_(q),re=b_(e,U,ee),le=s?s(re,a):re;if(__INTLIFY_PROD_DEVTOOLS__){const de={timestamp:Date.now(),key:K(a)?a:ct(T)?T.key:"",locale:L||(ct(T)?T.locale:""),format:K(T)?T:ct(T)?T.source:"",message:le};de.meta=Ke({},e.__meta,m_()||{}),s_(de)}return le}function v_(e){Re(e.list)?e.list=e.list.map(t=>K(t)?Oa(t):t):_e(e.named)&&Object.keys(e.named).forEach(t=>{K(e.named[t])&&(e.named[t]=Oa(e.named[t]))})}function cf(e,t,n,s,r,o){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:c}=e,u=c(e,s,n);let f={},d,m=null;const E="translate";for(let b=0;bs;return c.locale=n,c.key=t,c}const a=i(s,E_(e,n,r,s,l,o));return a.locale=n,a.key=t,a.source=s,a}function b_(e,t,n){return t(n)}function Ti(...e){const[t,n,s]=e,r={};if(!K(t)&&!xe(t)&&!ct(t)&&!as(t))throw Zn(Cn.INVALID_ARGUMENT);const o=xe(t)?String(t):(ct(t),t);return xe(n)?r.plural=n:K(n)?r.default=n:fe(n)&&!go(n)?r.named=n:Re(n)&&(r.list=n),xe(s)?r.plural=s:K(s)?r.default=s:fe(s)&&Ke(r,s),[o,r]}function E_(e,t,n,s,r,o){return{locale:t,key:n,warnHtmlMessage:r,onError:i=>{throw o&&o(i),i},onCacheKey:i=>Cm(t,n,i)}}function y_(e,t,n,s){const{modifiers:r,pluralRules:o,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:r,pluralRules:o,messages:m=>{let E=i(n,m);if(E==null&&u){const[,,b]=cf(u,m,t,l,a,c);E=i(b,m)}if(K(E)||as(E)){let b=!1;const A=uf(e,m,t,E,m,()=>{b=!0});return b?ka:A}else return ct(E)?E:ka}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),xe(s.plural)&&(d.pluralIndex=s.plural),d}function xa(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[a,c,u,f]=wi(...t),d=Le(u.missingWarn)?u.missingWarn:e.missingWarn;Le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,E=dl(e,u),b=i(e,r,E);if(!K(a)||a==="")return new Intl.DateTimeFormat(E,f).format(c);let C={},A,L=null;const z="datetime format";for(let H=0;H{ff.includes(a)?i[a]=n[a]:o[a]=n[a]}),K(s)?o.locale=s:fe(s)&&(i=s),fe(r)&&(i=r),[o.key||"",l,o,i]}function za(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__datetimeFormatters.has(o)&&s.__datetimeFormatters.delete(o)}}function Fa(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:l}=e,[a,c,u,f]=Ai(...t),d=Le(u.missingWarn)?u.missingWarn:e.missingWarn;Le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,E=dl(e,u),b=i(e,r,E);if(!K(a)||a==="")return new Intl.NumberFormat(E,f).format(c);let C={},A,L=null;const z="number format";for(let H=0;H{df.includes(a)?i[a]=n[a]:o[a]=n[a]}),K(s)?o.locale=s:fe(s)&&(i=s),fe(r)&&(i=r),[o.key||"",l,o,i]}function Va(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__numberFormatters.has(o)&&s.__numberFormatters.delete(o)}}zm();/*! + */function zm(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ul().__INTLIFY_PROD_DEVTOOLS__=!1)}const _n=[];_n[0]={w:[0],i:[3,0],"[":[4],o:[7]};_n[1]={w:[1],".":[2],"[":[4],o:[7]};_n[2]={w:[2],i:[3,0],0:[3,0]};_n[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};_n[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};_n[5]={"'":[4,0],o:8,l:[5,0]};_n[6]={'"':[4,0],o:8,l:[6,0]};const Fm=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vm(e){return Fm.test(e)}function Hm(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 Bm(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 jm(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Vm(t)?Hm(t):"*"+t}function Wm(e){const t=[];let n=-1,s=0,r=0,o,i,l,a,c,u,f;const d=[];d[0]=()=>{i===void 0?i=l:i+=l},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,s=4,d[0]();else{if(r=0,i===void 0||(i=jm(i),i===!1))return!1;d[1]()}};function m(){const E=e[n+1];if(s===5&&E==="'"||s===6&&E==='"')return n++,l="\\"+E,d[0](),!0}for(;s!==null;)if(n++,o=e[n],!(o==="\\"&&m())){if(a=Bm(o),f=_n[s],c=f[a]||f.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(l=o,u()===!1))))return;if(s===7)return t}}const Pa=new Map;function Um(e,t){return _e(e)?e[t]:null}function Gm(e,t){if(!_e(e))return null;let n=Pa.get(t);if(n||(n=Wm(t),n&&Pa.set(t,n)),!n)return null;const s=n.length;let r=e,o=0;for(;oe,Ym=e=>"",qm="text",Xm=e=>e.length===0?"":Im(e),Zm=$m;function Na(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Qm(e){const t=xe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xe(e.named.count)||xe(e.named.n))?xe(e.named.count)?e.named.count:xe(e.named.n)?e.named.n:t:t}function Jm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function e_(e={}){const t=e.locale,n=Qm(e),s=_e(e.pluralRules)&&K(t)&&Ie(e.pluralRules[t])?e.pluralRules[t]:Na,r=_e(e.pluralRules)&&K(t)&&Ie(e.pluralRules[t])?Na:void 0,o=A=>A[s(n,A.length,r)],i=e.list||[],l=A=>i[A],a=e.named||{};xe(e.pluralIndex)&&Jm(n,a);const c=A=>a[A];function u(A){const L=Ie(e.messages)?e.messages(A):_e(e.messages)?e.messages[A]:!1;return L||(e.parent?e.parent.message(A):Ym)}const f=A=>e.modifiers?e.modifiers[A]:Km,d=fe(e.processor)&&Ie(e.processor.normalize)?e.processor.normalize:Xm,m=fe(e.processor)&&Ie(e.processor.interpolate)?e.processor.interpolate:Zm,E=fe(e.processor)&&K(e.processor.type)?e.processor.type:qm,C={list:l,named:c,plural:o,linked:(A,...L)=>{const[z,T]=L;let k="text",H="";L.length===1?_e(z)?(H=z.modifier||H,k=z.type||k):K(z)&&(H=z||H):L.length===2&&(K(z)&&(H=z||H),K(T)&&(k=T||k));const R=u(A)(C),U=k==="vnode"&&Re(R)&&H?R[0]:R;return H?f(H)(U,k):U},message:u,type:E,interpolate:m,normalize:d,values:Ke({},i,a)};return C}let Zs=null;function t_(e){Zs=e}function n_(e,t,n){Zs&&Zs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const s_=r_("function:translate");function r_(e){return t=>Zs&&Zs.emit(e,t)}const o_={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,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};function dl(e,t){return t.locale!=null?$a(t.locale):$a(e.locale)}let Fo;function $a(e){return K(e)?e:Fo!=null&&e.resolvedOnce?Fo:Fo=e()}function i_(e,t,n){return[...new Set([n,...Re(t)?t:_e(t)?Object.keys(t):K(t)?[t]:[n]])]}function rf(e,t,n){const s=K(n)?n:Gr,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(s);if(!o){o=[];let i=[n];for(;Re(i);)i=Ia(o,i,t);const l=Re(t)||!fe(t)?t:t.default?t.default:null;i=K(l)?[l]:l,Re(i)&&Ia(o,i,!1),r.__localeChainCache.set(s,o)}return o}function Ia(e,t,n){let s=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function u_(){return{upper:(e,t)=>t==="text"&&K(e)?e.toUpperCase():t==="vnode"&&_e(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&K(e)?e.toLowerCase():t==="vnode"&&_e(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&K(e)?Ra(e):t==="vnode"&&_e(e)&&"__v_isVNode"in e?Ra(e.children):e}}let f_,of;function d_(e){of=e}let lf;function h_(e){lf=e}let af=null;const p_=e=>{af=e},m_=()=>af;let cf=null;const ka=e=>{cf=e},__=()=>cf;let Ma=0;function g_(e={}){const t=Ie(e.onWarn)?e.onWarn:Dm,n=K(e.version)?e.version:c_,s=K(e.locale)||Ie(e.locale)?e.locale:Gr,r=Ie(s)?Gr:s,o=Re(e.fallbackLocale)||fe(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=fe(e.messages)?e.messages:{[r]:{}},l=fe(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},a=fe(e.numberFormats)?e.numberFormats:{[r]:{}},c=Ke({},e.modifiers||{},u_()),u=e.pluralRules||{},f=Ie(e.missing)?e.missing:null,d=Le(e.missingWarn)||Ur(e.missingWarn)?e.missingWarn:!0,m=Le(e.fallbackWarn)||Ur(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,b=!!e.unresolving,C=Ie(e.postTranslation)?e.postTranslation:null,A=fe(e.processor)?e.processor:null,L=Le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,z=!!e.escapeParameter,T=Ie(e.messageCompiler)?e.messageCompiler:f_,k=Ie(e.messageResolver)?e.messageResolver:of||Um,H=Ie(e.localeFallbacker)?e.localeFallbacker:lf||i_,R=_e(e.fallbackContext)?e.fallbackContext:void 0,U=e,q=_e(U.__datetimeFormatters)?U.__datetimeFormatters:new Map,ee=_e(U.__numberFormatters)?U.__numberFormatters:new Map,re=_e(U.__meta)?U.__meta:{};Ma++;const le={version:n,cid:Ma,locale:s,fallbackLocale:o,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:m,fallbackFormat:E,unresolving:b,postTranslation:C,processor:A,warnHtmlMessage:L,escapeParameter:z,messageCompiler:T,messageResolver:k,localeFallbacker:H,fallbackContext:R,onWarn:t,__meta:re};return le.datetimeFormats=l,le.numberFormats=a,le.__datetimeFormatters=q,le.__numberFormatters=ee,__INTLIFY_PROD_DEVTOOLS__&&n_(le,n,re),le}function hl(e,t,n,s,r){const{missing:o,onWarn:i}=e;if(o!==null){const l=o(e,n,t,r);return K(l)?l:t}else return t}function Ps(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const uf=Ve.__EXTEND_POINT__,Er=fl(uf),Cn={INVALID_ARGUMENT:uf,INVALID_DATE_ARGUMENT:Er(),INVALID_ISO_DATE_ARGUMENT:Er(),NOT_SUPPORT_NON_STRING_MESSAGE:Er(),__EXTEND_POINT__:Er()};function Zn(e){return sf(e,null,void 0)}const as=e=>_e(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e),xa=()=>"",ct=e=>Ie(e);function za(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:o,fallbackLocale:i,messages:l}=e,[a,c]=Ti(...t),u=Le(c.missingWarn)?c.missingWarn:e.missingWarn,f=Le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,E=K(c.default)||Le(c.default)?Le(c.default)?o?a:()=>a:c.default:n?o?a:()=>a:"",b=n||E!=="",C=dl(e,c);d&&v_(c);let[A,L,z]=m?[a,C,l[C]||{}]:ff(e,a,C,i,f,u),T=A,k=a;if(!m&&!(K(T)||as(T)||ct(T))&&b&&(T=E,k=T),!m&&(!(K(T)||as(T)||ct(T))||!K(L)))return r?vo:a;let H=!1;const R=()=>{H=!0},U=ct(T)?T:df(e,a,L,T,k,R);if(H)return T;const q=y_(e,L,z,c),ee=e_(q),re=b_(e,U,ee),le=s?s(re,a):re;if(__INTLIFY_PROD_DEVTOOLS__){const de={timestamp:Date.now(),key:K(a)?a:ct(T)?T.key:"",locale:L||(ct(T)?T.locale:""),format:K(T)?T:ct(T)?T.source:"",message:le};de.meta=Ke({},e.__meta,m_()||{}),s_(de)}return le}function v_(e){Re(e.list)?e.list=e.list.map(t=>K(t)?La(t):t):_e(e.named)&&Object.keys(e.named).forEach(t=>{K(e.named[t])&&(e.named[t]=La(e.named[t]))})}function ff(e,t,n,s,r,o){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:c}=e,u=c(e,s,n);let f={},d,m=null;const E="translate";for(let b=0;bs;return c.locale=n,c.key=t,c}const a=i(s,E_(e,n,r,s,l,o));return a.locale=n,a.key=t,a.source=s,a}function b_(e,t,n){return t(n)}function Ti(...e){const[t,n,s]=e,r={};if(!K(t)&&!xe(t)&&!ct(t)&&!as(t))throw Zn(Cn.INVALID_ARGUMENT);const o=xe(t)?String(t):(ct(t),t);return xe(n)?r.plural=n:K(n)?r.default=n:fe(n)&&!go(n)?r.named=n:Re(n)&&(r.list=n),xe(s)?r.plural=s:K(s)?r.default=s:fe(s)&&Ke(r,s),[o,r]}function E_(e,t,n,s,r,o){return{locale:t,key:n,warnHtmlMessage:r,onError:i=>{throw o&&o(i),i},onCacheKey:i=>Cm(t,n,i)}}function y_(e,t,n,s){const{modifiers:r,pluralRules:o,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:r,pluralRules:o,messages:m=>{let E=i(n,m);if(E==null&&u){const[,,b]=ff(u,m,t,l,a,c);E=i(b,m)}if(K(E)||as(E)){let b=!1;const A=df(e,m,t,E,m,()=>{b=!0});return b?xa:A}else return ct(E)?E:xa}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),xe(s.plural)&&(d.pluralIndex=s.plural),d}function Fa(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[a,c,u,f]=wi(...t),d=Le(u.missingWarn)?u.missingWarn:e.missingWarn;Le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,E=dl(e,u),b=i(e,r,E);if(!K(a)||a==="")return new Intl.DateTimeFormat(E,f).format(c);let C={},A,L=null;const z="datetime format";for(let H=0;H{hf.includes(a)?i[a]=n[a]:o[a]=n[a]}),K(s)?o.locale=s:fe(s)&&(i=s),fe(r)&&(i=r),[o.key||"",l,o,i]}function Va(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__datetimeFormatters.has(o)&&s.__datetimeFormatters.delete(o)}}function Ha(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:l}=e,[a,c,u,f]=Ai(...t),d=Le(u.missingWarn)?u.missingWarn:e.missingWarn;Le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,E=dl(e,u),b=i(e,r,E);if(!K(a)||a==="")return new Intl.NumberFormat(E,f).format(c);let C={},A,L=null;const z="number format";for(let H=0;H{pf.includes(a)?i[a]=n[a]:o[a]=n[a]}),K(s)?o.locale=s:fe(s)&&(i=s),fe(r)&&(i=r),[o.key||"",l,o,i]}function Ba(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__numberFormatters.has(o)&&s.__numberFormatters.delete(o)}}zm();/*! * vue-i18n v9.7.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */const T_="9.7.0";function w_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ul().__INTLIFY_PROD_DEVTOOLS__=!1)}const hf=o_.__EXTEND_POINT__,Zt=fl(hf);Zt(),Zt(),Zt(),Zt(),Zt(),Zt(),Zt(),Zt();const pf=Cn.__EXTEND_POINT__,Je=fl(pf),dt={UNEXPECTED_RETURN_TYPE:pf,INVALID_ARGUMENT:Je(),MUST_BE_CALL_SETUP_TOP:Je(),NOT_INSTALLED:Je(),NOT_AVAILABLE_IN_LEGACY_MODE:Je(),REQUIRED_VALUE:Je(),INVALID_VALUE:Je(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Je(),NOT_INSTALLED_WITH_PROVIDE:Je(),UNEXPECTED_ERROR:Je(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Je(),BRIDGE_SUPPORT_VUE_2_ONLY:Je(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Je(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Je(),__EXTEND_POINT__:Je()};function Et(e,...t){return tf(e,null,void 0)}const Si=mn("__translateVNode"),Oi=mn("__datetimeParts"),Ci=mn("__numberParts"),A_=mn("__setPluralRules"),S_=mn("__injectWithOption"),Li=mn("__dispose");function Qs(e){if(!_e(e))return e;for(const t in e)if(Xs(e,t))if(!t.includes("."))_e(e[t])&&Qs(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,o=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(i[a]=i[a]||{},Fs(c,i[a])):Fs(c,i)}else K(l)&&Fs(JSON.parse(l),i)}),r==null&&o)for(const l in i)Xs(i,l)&&Qs(i[l]);return i}function _f(e){return e.type}function O_(e,t,n){let s=_e(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=mf(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(o=>{e.mergeLocaleMessage(o,s[o])});{if(_e(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(_e(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ha(e){return ce(or,null,e,0)}const Ba="__INTLIFY_META__",ja=()=>[],C_=()=>!1;let Wa=0;function Ua(e){return(t,n,s,r)=>e(n,s,ho()||void 0,r)}const L_=()=>{const e=ho();let t=null;return e&&(t=_f(e)[Ba])?{[Ba]:t}:null};function gf(e={},t){const{__root:n,__injectWithOption:s}=e,r=n===void 0,o=e.flatJson;let i=Le(e.inheritLocale)?e.inheritLocale:!0;const l=Ct(n&&i?n.locale.value:K(e.locale)?e.locale:Gr),a=Ct(n&&i?n.fallbackLocale.value:K(e.fallbackLocale)||Re(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=Ct(mf(l.value,e)),u=Ct(fe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=Ct(fe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let d=n?n.missingWarn:Le(e.missingWarn)||Ur(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:Le(e.fallbackWarn)||Ur(e.fallbackWarn)?e.fallbackWarn:!0,E=n?n.fallbackRoot:Le(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,C=Ie(e.missing)?e.missing:null,A=Ie(e.missing)?Ua(e.missing):null,L=Ie(e.postTranslation)?e.postTranslation:null,z=n?n.warnHtmlMessage:Le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const k=n?n.modifiers:fe(e.modifiers)?e.modifiers:{};let H=e.pluralRules||n&&n.pluralRules,R;R=(()=>{r&&Da(null);const g={version:T_,locale:l.value,fallbackLocale:a.value,messages:c.value,modifiers:k,pluralRules:H,missing:A===null?void 0:A,missingWarn:d,fallbackWarn:m,fallbackFormat:b,unresolving:!0,postTranslation:L===null?void 0:L,warnHtmlMessage:z,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};g.datetimeFormats=u.value,g.numberFormats=f.value,g.__datetimeFormatters=fe(R)?R.__datetimeFormatters:void 0,g.__numberFormatters=fe(R)?R.__numberFormatters:void 0;const y=g_(g);return r&&Da(y),y})(),Ps(R,l.value,a.value);function q(){return[l.value,a.value,c.value,u.value,f.value]}const ee=He({get:()=>l.value,set:g=>{l.value=g,R.locale=l.value}}),re=He({get:()=>a.value,set:g=>{a.value=g,R.fallbackLocale=a.value,Ps(R,l.value,g)}}),le=He(()=>c.value),de=He(()=>u.value),Fe=He(()=>f.value);function Oe(){return Ie(L)?L:null}function te(g){L=g,R.postTranslation=g}function oe(){return C}function ae(g){g!==null&&(A=Ua(g)),C=g,R.missing=A}const be=(g,y,W,Q,ie,Ee)=>{q();let ke;try{__INTLIFY_PROD_DEVTOOLS__,r||(R.fallbackContext=n?__():void 0),ke=g(R)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(R.fallbackContext=void 0)}if(W!=="translate exists"&&xe(ke)&&ke===vo||W==="translate exists"&&!ke){const[Kt,$o]=y();return n&&E?Q(n):ie(Kt)}else{if(Ee(ke))return ke;throw Et(dt.UNEXPECTED_RETURN_TYPE)}};function je(...g){return be(y=>Reflect.apply(Ma,null,[y,...g]),()=>Ti(...g),"translate",y=>Reflect.apply(y.t,y,[...g]),y=>y,y=>K(y))}function We(...g){const[y,W,Q]=g;if(Q&&!_e(Q))throw Et(dt.INVALID_ARGUMENT);return je(y,W,Ke({resolvedMessage:!0},Q||{}))}function Ce(...g){return be(y=>Reflect.apply(xa,null,[y,...g]),()=>wi(...g),"datetime format",y=>Reflect.apply(y.d,y,[...g]),()=>$a,y=>K(y))}function st(...g){return be(y=>Reflect.apply(Fa,null,[y,...g]),()=>Ai(...g),"number format",y=>Reflect.apply(y.n,y,[...g]),()=>$a,y=>K(y))}function Ye(g){return g.map(y=>K(y)||xe(y)||Le(y)?Ha(String(y)):y)}const Te={normalize:Ye,interpolate:g=>g,type:"vnode"};function S(...g){return be(y=>{let W;const Q=y;try{Q.processor=Te,W=Reflect.apply(Ma,null,[Q,...g])}finally{Q.processor=null}return W},()=>Ti(...g),"translate",y=>y[Si](...g),y=>[Ha(y)],y=>Re(y))}function F(...g){return be(y=>Reflect.apply(Fa,null,[y,...g]),()=>Ai(...g),"number format",y=>y[Ci](...g),ja,y=>K(y)||Re(y))}function M(...g){return be(y=>Reflect.apply(xa,null,[y,...g]),()=>wi(...g),"datetime format",y=>y[Oi](...g),ja,y=>K(y)||Re(y))}function Y(g){H=g,R.pluralRules=H}function ue(g,y){return be(()=>{if(!g)return!1;const W=K(y)?y:l.value,Q=v(W),ie=R.messageResolver(Q,g);return as(ie)||ct(ie)||K(ie)},()=>[g],"translate exists",W=>Reflect.apply(W.te,W,[g,y]),C_,W=>Le(W))}function h(g){let y=null;const W=nf(R,a.value,l.value);for(let Q=0;Q{i&&(l.value=g,R.locale=g,Ps(R,l.value,a.value))}),an(n.fallbackLocale,g=>{i&&(a.value=g,R.fallbackLocale=g,Ps(R,l.value,a.value))}));const x={id:Wa,locale:ee,fallbackLocale:re,get inheritLocale(){return i},set inheritLocale(g){i=g,g&&n&&(l.value=n.locale.value,a.value=n.fallbackLocale.value,Ps(R,l.value,a.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:le,get modifiers(){return k},get pluralRules(){return H||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(g){d=g,R.missingWarn=d},get fallbackWarn(){return m},set fallbackWarn(g){m=g,R.fallbackWarn=m},get fallbackRoot(){return E},set fallbackRoot(g){E=g},get fallbackFormat(){return b},set fallbackFormat(g){b=g,R.fallbackFormat=b},get warnHtmlMessage(){return z},set warnHtmlMessage(g){z=g,R.warnHtmlMessage=g},get escapeParameter(){return T},set escapeParameter(g){T=g,R.escapeParameter=g},t:je,getLocaleMessage:v,setLocaleMessage:w,mergeLocaleMessage:O,getPostTranslationHandler:Oe,setPostTranslationHandler:te,getMissingHandler:oe,setMissingHandler:ae,[A_]:Y};return x.datetimeFormats=de,x.numberFormats=Fe,x.rt=We,x.te=ue,x.tm=p,x.d=Ce,x.n=st,x.getDateTimeFormat=P,x.setDateTimeFormat=V,x.mergeDateTimeFormat=I,x.getNumberFormat=D,x.setNumberFormat=N,x.mergeNumberFormat=X,x[S_]=s,x[Si]=S,x[Oi]=M,x[Ci]=F,x}const pl={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function P_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===ne?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function vf(e){return ne}const N_=ge({name:"i18n-t",props:Ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xe(e)||!isNaN(e)}},pl),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||Ae({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=K(e.plural)?+e.plural:e.plural);const l=P_(t,o),a=r[Si](e.keypath,l,i),c=Ke({},s),u=K(e.tag)||_e(e.tag)?e.tag:vf();return mo(u,c,a)}}}),Ga=N_;function $_(e){return Re(e)&&!K(e[0])}function bf(e,t,n,s){const{slots:r,attrs:o}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),K(e.format)?i.key=e.format:_e(e.format)&&(K(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((d,m)=>n.includes(m)?Ke({},d,{[m]:e.format[m]}):d,{}));const a=s(e.value,i,l);let c=[i.key];Re(a)?c=a.map((d,m)=>{const E=r[d.type],b=E?E({[d.type]:d.value,index:m,parts:a}):[d.value];return $_(b)&&(b[0].key=`${d.type}-${m}`),b}):K(a)&&(c=[a]);const u=Ke({},o),f=K(e.tag)||_e(e.tag)?e.tag:vf();return mo(f,u,c)}}const I_=ge({name:"i18n-n",props:Ke({value:{type:Number,required:!0},format:{type:[String,Object]}},pl),setup(e,t){const n=e.i18n||Ae({useScope:"parent",__useComponent:!0});return bf(e,t,df,(...s)=>n[Ci](...s))}}),Ka=I_,D_=ge({name:"i18n-d",props:Ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pl),setup(e,t){const n=e.i18n||Ae({useScope:"parent",__useComponent:!0});return bf(e,t,ff,(...s)=>n[Oi](...s))}}),Ya=D_;function R_(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function k_(e){const t=i=>{const{instance:l,modifiers:a,value:c}=i;if(!l||!l.$)throw Et(dt.UNEXPECTED_ERROR);const u=R_(e,l.$),f=qa(c);return[Reflect.apply(u.t,u,[...Xa(f)]),u]};return{created:(i,l)=>{const[a,c]=t(l);yi&&e.global===c&&(i.__i18nWatcher=an(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=a},unmounted:i=>{yi&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const a=i.__composer,c=qa(l);i.textContent=Reflect.apply(a.t,a,[...Xa(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function qa(e){if(K(e))return{path:e};if(fe(e)){if(!("path"in e))throw Et(dt.REQUIRED_VALUE,"path");return e}else throw Et(dt.INVALID_VALUE)}function Xa(e){const{path:t,locale:n,args:s,choice:r,plural:o}=e,i={},l=s||{};return K(n)&&(i.locale=n),xe(r)&&(i.plural=r),xe(o)&&(i.plural=o),[t,l,i]}function M_(e,t,...n){const s=fe(n[0])?n[0]:{},r=!!s.useI18nComponentName;(Le(s.globalInstall)?s.globalInstall:!0)&&([r?"i18n":Ga.name,"I18nT"].forEach(i=>e.component(i,Ga)),[Ka.name,"I18nN"].forEach(i=>e.component(i,Ka)),[Ya.name,"I18nD"].forEach(i=>e.component(i,Ya))),e.directive("t",k_(t))}const x_=mn("global-vue-i18n");function z_(e={},t){const n=Le(e.globalInjection)?e.globalInjection:!0,s=!0,r=new Map,[o,i]=F_(e),l=mn("");function a(f){return r.get(f)||null}function c(f,d){r.set(f,d)}function u(f){r.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return s},async install(d,...m){if(d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,f),fe(m[0])){const C=m[0];f.__composerExtend=C.__composerExtend,f.__vueI18nExtend=C.__vueI18nExtend}let E=null;n&&(E=K_(d,f.global)),M_(d,f,...m);const b=d.unmount;d.unmount=()=>{E&&E(),f.dispose(),b()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:c,__deleteInstance:u};return f}}function Ae(e={}){const t=ho();if(t==null)throw Et(dt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Et(dt.NOT_INSTALLED);const n=V_(t),s=B_(n),r=_f(t),o=H_(e,r);if(o==="global")return O_(s,e,r),s;if(o==="parent"){let a=j_(n,t,e.__useComponent);return a==null&&(a=s),a}const i=n;let l=i.__getInstance(t);if(l==null){const a=Ke({},e);"__i18n"in r&&(a.__i18n=r.__i18n),s&&(a.__root=s),l=gf(a),i.__composerExtend&&(l[Li]=i.__composerExtend(l)),U_(i,t,l),i.__setInstance(t,l)}return l}function F_(e,t,n){const s=Ki();{const r=s.run(()=>gf(e));if(r==null)throw Et(dt.UNEXPECTED_ERROR);return[s,r]}}function V_(e){{const t=ut(e.isCE?x_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Et(e.isCE?dt.NOT_INSTALLED_WITH_PROVIDE:dt.UNEXPECTED_ERROR);return t}}function H_(e,t){return go(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function B_(e){return e.mode==="composition"?e.global:e.global.__composer}function j_(e,t,n=!1){let s=null;const r=t.root;let o=W_(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(s=i.__getInstance(o)),s!=null||r===o)break;o=o.parent}return s}function W_(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function U_(e,t,n){ol(()=>{},t),uo(()=>{const s=n;e.__deleteInstance(t);const r=s[Li];r&&(r(),delete s[Li])},t)}const G_=["locale","fallbackLocale","availableLocales"],Za=["t","rt","d","n","tm","te"];function K_(e,t){const n=Object.create(null);return G_.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw Et(dt.UNEXPECTED_ERROR);const i=Pe(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,Za.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw Et(dt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,o)}),()=>{delete e.config.globalProperties.$i18n,Za.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}w_();d_(Gm);h_(nf);if(__INTLIFY_PROD_DEVTOOLS__){const e=ul();e.__INTLIFY__=!0,t_(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Y_=ge({name:"AppHome",setup(){const{t:e}=Ae();return{t:e}}}),q_="/roll-for-the-galaxy/assets/game-roll-for-the-galaxy-CHGGFEKh.webp",X_="/roll-for-the-galaxy/assets/kofi_button_dark-coki-fwW.png",Se=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ts=e=>(lo("data-v-1c8d13e1"),e=e(),ao(),e),Z_=Ts(()=>_("div",{class:"float-end m-2 w-25"},[_("a",{href:"https://boardgamegeek.com/boardgame/132531/roll-galaxy",target:"_blank",rel:"noopener"},[_("img",{src:q_,class:"rounded shadow w-100",alt:""})])],-1)),Q_=["innerHTML"],J_=["innerHTML"],eg={class:"text-muted fst-italic"},tg=Ts(()=>_("a",{href:"https://boardgamegeek.com/thread/3178925/brdgmme-roll-galaxy-solo-helper-web-application",target:"_blank",rel:"noopener"},"Board Game Geek Thread",-1)),ng=Ts(()=>_("a",{href:"https://github.com/brdgm/roll-for-the-galaxy-solo-helper",target:"_blank",rel:"noopener"},"GitHub",-1)),sg={class:"disclaimer"},rg=Ts(()=>_("a",{href:"https://www.riograndegames.com/",target:"_blank",rel:"noopener"},"Rio Grande Games",-1)),og=Ts(()=>_("a",{href:"https://www.riograndegames.com/games/roll-for-the-galaxy/",target:"_blank",rel:"noopener"},"Roll for the Galaxy",-1)),ig={href:"#","data-bs-toggle":"modal","data-bs-target":"#creditsModal"},lg=Ts(()=>_("a",{href:"https://ko-fi.com/brdgm_me",target:"_blank",rel:"noopener"},[_("img",{class:"kofi-button",src:X_,alt:"Support me on Ko-fi"})],-1));function ag(e,t,n,s,r,o){const i=we("router-link");return j(),G(ne,null,[Z_,_("h1",null,B(e.t("home.title")),1),_("p",{innerHTML:e.t("home.play1")},null,8,Q_),_("p",{innerHTML:e.t("home.play2")},null,8,J_),_("p",eg,[Me(B(e.t("home.feedback"))+" ",1),tg,Me(" | "),ng]),ce(i,{to:"/setupGame",class:"btn btn-primary btn-lg mt-3"},{default:gt(()=>[Me(B(e.t("action.playGame")),1)]),_:1}),_("p",sg,[Me(" This is not an official Rio Grande Games product and has no affiliation with "),rg,Me(". All art in this app is from "),og,Me(". See "),_("a",ig,B(e.t("footer.credits")),1),Me(". "),lg])],64)}const cg=Se(Y_,[["render",ag],["__scopeId","data-v-1c8d13e1"]]),ug=ge({name:"NotFound",setup(){const{t:e}=Ae();return{t:e}}});function fg(e,t,n,s,r,o){const i=we("router-link");return j(),G(ne,null,[_("h1",null,B(e.t("notfound.title")),1),ce(i,{to:"/",class:"btn btn-primary mt-3"},{default:gt(()=>[Me(B(e.t("action.backToHome")),1)]),_:1})],64)}const dg=Se(ug,[["render",fg]]),Ef="@brdgm/roll-for-the-galaxy-solo-helper",hg="1.0.5",pg="Roll for the Galaxy Solo Helper";var Ln=(e=>(e[e.NORMAL=1]="NORMAL",e[e.ADVANCED=2]="ADVANCED",e[e.EXPERT=3]="EXPERT",e[e.PROFESSIONAL=4]="PROFESSIONAL",e))(Ln||{}),cn=(e=>(e[e.NORMAL_D10=1]="NORMAL_D10",e[e.HARD_D8=2]="HARD_D8",e[e.INSANE_D6=3]="INSANE_D6",e))(cn||{});const Tt=Em(`${Ef}.state`,{state:()=>({language:"en",baseFontSize:1,setup:{difficultyLevel:Ln.NORMAL,objectiveDifficultyLevel:cn.NORMAL_D10,modules:[]},rounds:[]}),actions:{resetGame(){this.rounds=[]},storeRound(e){this.rounds=this.rounds.filter(t=>t.round!=e.round),this.rounds.push(e)}},persist:!0}),mg=ge({name:"ModalDialog",setup(){const{t:e}=Ae();return{t:e}},props:{id:{type:String,required:!0},title:{type:String,required:!1},centered:{type:Boolean,required:!1,default:!0},scrollable:{type:Boolean,required:!1},sizeSm:{type:Boolean,required:!1},sizeLg:{type:Boolean,required:!1},sizeXl:{type:Boolean,required:!1},fullscreen:{type:Boolean,required:!1},fullscreenSmDown:{type:Boolean,required:!1},fullscreenMdDown:{type:Boolean,required:!1},fullscreenLgDown:{type:Boolean,required:!1},fullscreenXlDown:{type:Boolean,required:!1},fullscreenXxlDown:{type:Boolean,required:!1},closeI18nKey:{type:String,required:!1,default:"action.close"}}}),_g=["id"],gg={class:"modal-content"},vg={class:"modal-header"},bg={class:"modal-title"},Eg=["aria-label"],yg={class:"modal-body"},Tg={class:"modal-footer"},wg={class:"btn btn-secondary","data-bs-dismiss":"modal"};function Ag(e,t,n,s,r,o){return j(),G("div",{class:"modal",id:e.id,tabindex:"-1","aria-hidden":"true"},[_("div",{class:bs(["modal-dialog",{"modal-dialog-centered":e.centered,"modal-dialog-scrollable":e.scrollable,"modal-sm":e.sizeSm,"modal-lg":e.sizeLg,"modal-xl":e.sizeXl,"modal-fullscreen":e.fullscreen,"modal-fullscreen-sm-down":e.fullscreenSmDown,"modal-fullscreen-md-down":e.fullscreenMdDown,"modal-fullscreen-lg-down":e.fullscreenLgDown,"modal-fullscreen-xl-down":e.fullscreenXlDown,"modal-fullscreen-xxl-down":e.fullscreenXxlDown}])},[_("div",gg,[_("div",vg,[ko(e.$slots,"header",{},()=>[_("h5",bg,B(e.title),1),_("button",{class:"btn-close","data-bs-dismiss":"modal","aria-label":e.t(e.closeI18nKey)},null,8,Eg)])]),_("div",yg,[ko(e.$slots,"body")]),_("div",Tg,[ko(e.$slots,"footer",{},()=>[_("button",wg,B(e.t(e.closeI18nKey)),1)])])])],2)],8,_g)}const ml=Se(mg,[["render",Ag]]),Sg=ge({name:"FooterButtons",components:{ModalDialog:ml},props:{backLabel:{type:String,required:!1},backButtonRouteTo:{type:String,required:!1},endGameLabel:{type:String,required:!1},endGameConfirmMessage:{type:String,required:!1},cancelLabel:{type:String,required:!1}},emits:["endGame"],methods:{endGame(){this.$emit("endGame")}}}),Og={class:"end-game-buttons"},Cg={key:1,class:"btn btn-secondary btn-sm","data-bs-toggle":"modal","data-bs-target":"#endGameModal"},Lg={class:"btn btn-secondary","data-bs-dismiss":"modal"};function Pg(e,t,n,s,r,o){const i=we("router-link"),l=we("ModalDialog");return j(),G(ne,null,[_("div",Og,[e.backButtonRouteTo&&e.backLabel?(j(),Rt(i,{key:0,to:e.backButtonRouteTo,class:"btn btn-secondary btn-sm me-2"},{default:gt(()=>[Me(B(e.backLabel),1)]),_:1},8,["to"])):Ge("",!0),e.endGameLabel?(j(),G("button",Cg,B(e.endGameLabel),1)):Ge("",!0)]),e.endGameLabel?(j(),Rt(l,{key:0,id:"endGameModal",title:e.endGameLabel},{body:gt(()=>[_("p",null,B(e.endGameConfirmMessage),1)]),footer:gt(()=>[_("button",{class:"btn btn-danger",onClick:t[0]||(t[0]=(...a)=>e.endGame&&e.endGame(...a)),"data-bs-dismiss":"modal"},B(e.endGameLabel),1),_("button",Lg,B(e.cancelLabel),1)]),_:1},8,["title"])):Ge("",!0)],64)}const Ng=Se(Sg,[["render",Pg],["__scopeId","data-v-2b8ca59d"]]),$g=ge({name:"FooterButtons",components:{CommonsFooterButtons:Ng},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},props:{endGameButtonType:{type:String,required:!1},backButtonRouteTo:{type:String,required:!1}},computed:{endGameConfirmMessage(){return this.endGameButtonType=="abortGame"||this.$route.name=="EndGameScoring"?`action.${this.endGameButtonType}Confirm`:"action.endGameGoToScoringConfirm"}},methods:{endGame(){this.endGameButtonType=="abortGame"||this.$route.name=="EndGameScoring"?(this.state.resetGame(),this.$router.push("/")):this.$router.push("/scoring")}}});function Ig(e,t,n,s,r,o){const i=we("CommonsFooterButtons");return j(),Rt(i,{backLabel:e.t("action.back"),backButtonRouteTo:e.backButtonRouteTo,endGameLabel:e.t("action."+e.endGameButtonType),endGameConfirmMessage:e.t(e.endGameConfirmMessage),cancelLabel:e.t("action.cancel"),onEndGame:e.endGame},null,8,["backLabel","backButtonRouteTo","endGameLabel","endGameConfirmMessage","cancelLabel","onEndGame"])}const bo=Se($g,[["render",Ig]]);var cs=(e=>(e.OBJECTIVE="objective",e))(cs||{});function Dg(e,t){const n=e.indexOf(t);n>=0?e.splice(n,1):e.push(t)}const Rg=ge({name:"ModuleSetup",setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},computed:{hasObjectiveModule(){return this.state.setup.modules.includes(cs.OBJECTIVE)}},methods:{toggleObjectiveModule(){Dg(this.state.setup.modules,cs.OBJECTIVE)}}}),kg={class:"mt-4 mb-3"},Mg={class:"row"},xg={class:"col"},zg={class:"form-check form-switch"},Fg=["checked"],Vg=["innerHTML"];function Hg(e,t,n,s,r,o){return j(),G(ne,null,[_("h3",kg,B(e.t("setup.modules.title")),1),_("div",Mg,[_("div",xg,[_("div",zg,[_("input",{class:"form-check-input",type:"checkbox",id:"moduleObjective",checked:e.hasObjectiveModule,onInput:t[0]||(t[0]=(...i)=>e.toggleObjectiveModule&&e.toggleObjectiveModule(...i))},null,40,Fg),_("label",{class:"form-check-label",for:"moduleObjective",innerHTML:e.t("setup.modules.objective")},null,8,Vg)])])])],64)}const Bg=Se(Rg,[["render",Hg]]),jg=ge({name:"DifficultyLevel",setup(){const{t:e}=Ae(),t=Tt(),n=Ct(t.setup.difficultyLevel);return{t:e,state:t,difficultyLevel:n}},methods:{updateDifficultyLevel(e){this.difficultyLevel=parseInt(e.target.value),this.state.setup.difficultyLevel=this.difficultyLevel}}}),Wg={class:"mt-4 mb-3"},Ug={class:"row"},Gg={class:"col-1 text-end"},Kg={for:"difficultyLevel",class:"form-label"},Yg={class:"col-8 col-md-4"},qg=["value"],Xg={class:"col-1"},Zg={for:"difficultyLevel",class:"form-label"},Qg={class:"row"},Jg={class:"col-11 offset-1"},e0=_("br",null,null,-1);function t0(e,t,n,s,r,o){return j(),G(ne,null,[_("h3",Wg,B(e.t("setup.difficultyLevel.title")),1),_("div",Ug,[_("div",Gg,[_("label",Kg,B(e.t("setup.difficultyLevel.easy")),1)]),_("div",Yg,[_("input",{type:"range",class:"form-range",min:"1",max:"4",id:"difficultyLevel",value:e.difficultyLevel,onInput:t[0]||(t[0]=i=>e.updateDifficultyLevel(i))},null,40,qg)]),_("div",Xg,[_("label",Zg,B(e.t("setup.difficultyLevel.hard")),1)])]),_("div",Qg,[_("div",Jg,[_("i",null,[Me(B(e.t("difficultyLevel."+e.difficultyLevel)),1),e0,Me(" "+B(e.t("difficultyLevelExplanation."+e.difficultyLevel)),1)])])])],64)}const n0=Se(jg,[["render",t0]]);function yf(e){switch(e){case cn.NORMAL_D10:return 10;case cn.HARD_D8:return 8;case cn.INSANE_D6:return 6;default:throw new Error(`Unexpected difficulty level: ${e}`)}}function Tf(e){switch(e){case cn.NORMAL_D10:return 2;case cn.HARD_D8:return 3;case cn.INSANE_D6:return 4;default:throw new Error(`Unexpected difficulty level: ${e}`)}}const s0=ge({name:"ObjectiveDifficultyLevel",setup(){const{t:e}=Ae(),t=Tt(),n=Ct(t.setup.objectiveDifficultyLevel);return{t:e,state:t,objectiveDifficultyLevel:n}},methods:{updateDifficultyLevel(e){this.objectiveDifficultyLevel=parseInt(e.target.value),this.state.setup.objectiveDifficultyLevel=this.objectiveDifficultyLevel},getDiceRoll(e){return yf(e)},getMaxCount(e){return Tf(e)}}}),r0={class:"mt-4 mb-3"},o0={class:"row"},i0={class:"col-1 text-end"},l0={for:"difficultyLevel",class:"form-label"},a0={class:"col-8 col-md-4"},c0=["value"],u0={class:"col-1"},f0={for:"difficultyLevel",class:"form-label"},d0={class:"row"},h0={class:"col-11 offset-1"};function p0(e,t,n,s,r,o){return j(),G(ne,null,[_("h3",r0,B(e.t("setup.objectiveDifficultyLevel.title")),1),_("div",o0,[_("div",i0,[_("label",l0,B(e.t("setup.objectiveDifficultyLevel.easy")),1)]),_("div",a0,[_("input",{type:"range",class:"form-range",min:"1",max:"3",id:"difficultyLevel",value:e.objectiveDifficultyLevel,onInput:t[0]||(t[0]=i=>e.updateDifficultyLevel(i))},null,40,c0)]),_("div",u0,[_("label",f0,B(e.t("setup.objectiveDifficultyLevel.hard")),1)])]),_("div",d0,[_("div",h0,[_("i",null,B(e.t("objectiveDifficultyLevel."+e.objectiveDifficultyLevel,{diceRoll:e.getDiceRoll(e.objectiveDifficultyLevel),maxCount:e.getMaxCount(e.objectiveDifficultyLevel)})),1)])])],64)}const m0=Se(s0,[["render",p0]]),_0=ge({name:"SetupGame",components:{FooterButtons:bo,ModuleSetup:Bg,DifficultyLevel:n0,ObjectiveDifficultyLevel:m0},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},computed:{hasObjectiveModule(){return this.state.setup.modules.includes(cs.OBJECTIVE)}},methods:{startGame(){this.state.resetGame(),this.$router.push("/round/1/selectPhase")}}}),g0={class:"mt-4 mb-3"},v0=["innerHTML"],b0=["innerHTML"],E0=["innerHTML"],y0=["innerHTML"];function T0(e,t,n,s,r,o){const i=we("ModuleSetup"),l=we("DifficultyLevel"),a=we("ObjectiveDifficultyLevel"),c=we("FooterButtons");return j(),G(ne,null,[_("h1",null,B(e.t("setup.title")),1),_("h3",g0,B(e.t("setup.general.title")),1),_("ul",null,[_("li",{innerHTML:e.t("setup.general.setup2Players")},null,8,v0),_("li",{innerHTML:e.t("setup.general.botPlayerMat")},null,8,b0),_("li",{innerHTML:e.t("setup.general.botNoHomeWorld")},null,8,E0),_("li",{innerHTML:e.t("setup.general.botDrawTiles")},null,8,y0)]),ce(i),ce(l),e.hasObjectiveModule?(j(),Rt(a,{key:0})):Ge("",!0),_("button",{class:"btn btn-primary btn-lg mt-4",onClick:t[0]||(t[0]=u=>e.startGame())},B(e.t("action.startGame")),1),ce(c,{endGameButtonType:"abortGame"})],64)}const w0=Se(_0,[["render",T0]]);/*! + */const T_="9.7.0";function w_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ul().__INTLIFY_PROD_DEVTOOLS__=!1)}const mf=o_.__EXTEND_POINT__,Zt=fl(mf);Zt(),Zt(),Zt(),Zt(),Zt(),Zt(),Zt(),Zt();const _f=Cn.__EXTEND_POINT__,Je=fl(_f),dt={UNEXPECTED_RETURN_TYPE:_f,INVALID_ARGUMENT:Je(),MUST_BE_CALL_SETUP_TOP:Je(),NOT_INSTALLED:Je(),NOT_AVAILABLE_IN_LEGACY_MODE:Je(),REQUIRED_VALUE:Je(),INVALID_VALUE:Je(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Je(),NOT_INSTALLED_WITH_PROVIDE:Je(),UNEXPECTED_ERROR:Je(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Je(),BRIDGE_SUPPORT_VUE_2_ONLY:Je(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Je(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Je(),__EXTEND_POINT__:Je()};function Et(e,...t){return sf(e,null,void 0)}const Si=mn("__translateVNode"),Oi=mn("__datetimeParts"),Ci=mn("__numberParts"),A_=mn("__setPluralRules"),S_=mn("__injectWithOption"),Li=mn("__dispose");function Qs(e){if(!_e(e))return e;for(const t in e)if(Xs(e,t))if(!t.includes("."))_e(e[t])&&Qs(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,o=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(i[a]=i[a]||{},Fs(c,i[a])):Fs(c,i)}else K(l)&&Fs(JSON.parse(l),i)}),r==null&&o)for(const l in i)Xs(i,l)&&Qs(i[l]);return i}function vf(e){return e.type}function O_(e,t,n){let s=_e(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=gf(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(o=>{e.mergeLocaleMessage(o,s[o])});{if(_e(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(_e(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function ja(e){return ce(or,null,e,0)}const Wa="__INTLIFY_META__",Ua=()=>[],C_=()=>!1;let Ga=0;function Ka(e){return(t,n,s,r)=>e(n,s,ho()||void 0,r)}const L_=()=>{const e=ho();let t=null;return e&&(t=vf(e)[Wa])?{[Wa]:t}:null};function bf(e={},t){const{__root:n,__injectWithOption:s}=e,r=n===void 0,o=e.flatJson;let i=Le(e.inheritLocale)?e.inheritLocale:!0;const l=Ct(n&&i?n.locale.value:K(e.locale)?e.locale:Gr),a=Ct(n&&i?n.fallbackLocale.value:K(e.fallbackLocale)||Re(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=Ct(gf(l.value,e)),u=Ct(fe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=Ct(fe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let d=n?n.missingWarn:Le(e.missingWarn)||Ur(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:Le(e.fallbackWarn)||Ur(e.fallbackWarn)?e.fallbackWarn:!0,E=n?n.fallbackRoot:Le(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,C=Ie(e.missing)?e.missing:null,A=Ie(e.missing)?Ka(e.missing):null,L=Ie(e.postTranslation)?e.postTranslation:null,z=n?n.warnHtmlMessage:Le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const k=n?n.modifiers:fe(e.modifiers)?e.modifiers:{};let H=e.pluralRules||n&&n.pluralRules,R;R=(()=>{r&&ka(null);const g={version:T_,locale:l.value,fallbackLocale:a.value,messages:c.value,modifiers:k,pluralRules:H,missing:A===null?void 0:A,missingWarn:d,fallbackWarn:m,fallbackFormat:b,unresolving:!0,postTranslation:L===null?void 0:L,warnHtmlMessage:z,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};g.datetimeFormats=u.value,g.numberFormats=f.value,g.__datetimeFormatters=fe(R)?R.__datetimeFormatters:void 0,g.__numberFormatters=fe(R)?R.__numberFormatters:void 0;const y=g_(g);return r&&ka(y),y})(),Ps(R,l.value,a.value);function q(){return[l.value,a.value,c.value,u.value,f.value]}const ee=He({get:()=>l.value,set:g=>{l.value=g,R.locale=l.value}}),re=He({get:()=>a.value,set:g=>{a.value=g,R.fallbackLocale=a.value,Ps(R,l.value,g)}}),le=He(()=>c.value),de=He(()=>u.value),Fe=He(()=>f.value);function Oe(){return Ie(L)?L:null}function te(g){L=g,R.postTranslation=g}function oe(){return C}function ae(g){g!==null&&(A=Ka(g)),C=g,R.missing=A}const be=(g,y,W,Q,ie,Ee)=>{q();let ke;try{__INTLIFY_PROD_DEVTOOLS__,r||(R.fallbackContext=n?__():void 0),ke=g(R)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(R.fallbackContext=void 0)}if(W!=="translate exists"&&xe(ke)&&ke===vo||W==="translate exists"&&!ke){const[Kt,$o]=y();return n&&E?Q(n):ie(Kt)}else{if(Ee(ke))return ke;throw Et(dt.UNEXPECTED_RETURN_TYPE)}};function je(...g){return be(y=>Reflect.apply(za,null,[y,...g]),()=>Ti(...g),"translate",y=>Reflect.apply(y.t,y,[...g]),y=>y,y=>K(y))}function We(...g){const[y,W,Q]=g;if(Q&&!_e(Q))throw Et(dt.INVALID_ARGUMENT);return je(y,W,Ke({resolvedMessage:!0},Q||{}))}function Ce(...g){return be(y=>Reflect.apply(Fa,null,[y,...g]),()=>wi(...g),"datetime format",y=>Reflect.apply(y.d,y,[...g]),()=>Da,y=>K(y))}function st(...g){return be(y=>Reflect.apply(Ha,null,[y,...g]),()=>Ai(...g),"number format",y=>Reflect.apply(y.n,y,[...g]),()=>Da,y=>K(y))}function Ye(g){return g.map(y=>K(y)||xe(y)||Le(y)?ja(String(y)):y)}const Te={normalize:Ye,interpolate:g=>g,type:"vnode"};function S(...g){return be(y=>{let W;const Q=y;try{Q.processor=Te,W=Reflect.apply(za,null,[Q,...g])}finally{Q.processor=null}return W},()=>Ti(...g),"translate",y=>y[Si](...g),y=>[ja(y)],y=>Re(y))}function F(...g){return be(y=>Reflect.apply(Ha,null,[y,...g]),()=>Ai(...g),"number format",y=>y[Ci](...g),Ua,y=>K(y)||Re(y))}function M(...g){return be(y=>Reflect.apply(Fa,null,[y,...g]),()=>wi(...g),"datetime format",y=>y[Oi](...g),Ua,y=>K(y)||Re(y))}function Y(g){H=g,R.pluralRules=H}function ue(g,y){return be(()=>{if(!g)return!1;const W=K(y)?y:l.value,Q=v(W),ie=R.messageResolver(Q,g);return as(ie)||ct(ie)||K(ie)},()=>[g],"translate exists",W=>Reflect.apply(W.te,W,[g,y]),C_,W=>Le(W))}function h(g){let y=null;const W=rf(R,a.value,l.value);for(let Q=0;Q{i&&(l.value=g,R.locale=g,Ps(R,l.value,a.value))}),an(n.fallbackLocale,g=>{i&&(a.value=g,R.fallbackLocale=g,Ps(R,l.value,a.value))}));const x={id:Ga,locale:ee,fallbackLocale:re,get inheritLocale(){return i},set inheritLocale(g){i=g,g&&n&&(l.value=n.locale.value,a.value=n.fallbackLocale.value,Ps(R,l.value,a.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:le,get modifiers(){return k},get pluralRules(){return H||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(g){d=g,R.missingWarn=d},get fallbackWarn(){return m},set fallbackWarn(g){m=g,R.fallbackWarn=m},get fallbackRoot(){return E},set fallbackRoot(g){E=g},get fallbackFormat(){return b},set fallbackFormat(g){b=g,R.fallbackFormat=b},get warnHtmlMessage(){return z},set warnHtmlMessage(g){z=g,R.warnHtmlMessage=g},get escapeParameter(){return T},set escapeParameter(g){T=g,R.escapeParameter=g},t:je,getLocaleMessage:v,setLocaleMessage:w,mergeLocaleMessage:O,getPostTranslationHandler:Oe,setPostTranslationHandler:te,getMissingHandler:oe,setMissingHandler:ae,[A_]:Y};return x.datetimeFormats=de,x.numberFormats=Fe,x.rt=We,x.te=ue,x.tm=p,x.d=Ce,x.n=st,x.getDateTimeFormat=P,x.setDateTimeFormat=V,x.mergeDateTimeFormat=I,x.getNumberFormat=D,x.setNumberFormat=N,x.mergeNumberFormat=X,x[S_]=s,x[Si]=S,x[Oi]=M,x[Ci]=F,x}const pl={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function P_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===ne?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function Ef(e){return ne}const N_=ge({name:"i18n-t",props:Ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xe(e)||!isNaN(e)}},pl),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||Ae({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=K(e.plural)?+e.plural:e.plural);const l=P_(t,o),a=r[Si](e.keypath,l,i),c=Ke({},s),u=K(e.tag)||_e(e.tag)?e.tag:Ef();return mo(u,c,a)}}}),Ya=N_;function $_(e){return Re(e)&&!K(e[0])}function yf(e,t,n,s){const{slots:r,attrs:o}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),K(e.format)?i.key=e.format:_e(e.format)&&(K(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((d,m)=>n.includes(m)?Ke({},d,{[m]:e.format[m]}):d,{}));const a=s(e.value,i,l);let c=[i.key];Re(a)?c=a.map((d,m)=>{const E=r[d.type],b=E?E({[d.type]:d.value,index:m,parts:a}):[d.value];return $_(b)&&(b[0].key=`${d.type}-${m}`),b}):K(a)&&(c=[a]);const u=Ke({},o),f=K(e.tag)||_e(e.tag)?e.tag:Ef();return mo(f,u,c)}}const I_=ge({name:"i18n-n",props:Ke({value:{type:Number,required:!0},format:{type:[String,Object]}},pl),setup(e,t){const n=e.i18n||Ae({useScope:"parent",__useComponent:!0});return yf(e,t,pf,(...s)=>n[Ci](...s))}}),qa=I_,D_=ge({name:"i18n-d",props:Ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pl),setup(e,t){const n=e.i18n||Ae({useScope:"parent",__useComponent:!0});return yf(e,t,hf,(...s)=>n[Oi](...s))}}),Xa=D_;function R_(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function k_(e){const t=i=>{const{instance:l,modifiers:a,value:c}=i;if(!l||!l.$)throw Et(dt.UNEXPECTED_ERROR);const u=R_(e,l.$),f=Za(c);return[Reflect.apply(u.t,u,[...Qa(f)]),u]};return{created:(i,l)=>{const[a,c]=t(l);yi&&e.global===c&&(i.__i18nWatcher=an(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=a},unmounted:i=>{yi&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const a=i.__composer,c=Za(l);i.textContent=Reflect.apply(a.t,a,[...Qa(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Za(e){if(K(e))return{path:e};if(fe(e)){if(!("path"in e))throw Et(dt.REQUIRED_VALUE,"path");return e}else throw Et(dt.INVALID_VALUE)}function Qa(e){const{path:t,locale:n,args:s,choice:r,plural:o}=e,i={},l=s||{};return K(n)&&(i.locale=n),xe(r)&&(i.plural=r),xe(o)&&(i.plural=o),[t,l,i]}function M_(e,t,...n){const s=fe(n[0])?n[0]:{},r=!!s.useI18nComponentName;(Le(s.globalInstall)?s.globalInstall:!0)&&([r?"i18n":Ya.name,"I18nT"].forEach(i=>e.component(i,Ya)),[qa.name,"I18nN"].forEach(i=>e.component(i,qa)),[Xa.name,"I18nD"].forEach(i=>e.component(i,Xa))),e.directive("t",k_(t))}const x_=mn("global-vue-i18n");function z_(e={},t){const n=Le(e.globalInjection)?e.globalInjection:!0,s=!0,r=new Map,[o,i]=F_(e),l=mn("");function a(f){return r.get(f)||null}function c(f,d){r.set(f,d)}function u(f){r.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return s},async install(d,...m){if(d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,f),fe(m[0])){const C=m[0];f.__composerExtend=C.__composerExtend,f.__vueI18nExtend=C.__vueI18nExtend}let E=null;n&&(E=K_(d,f.global)),M_(d,f,...m);const b=d.unmount;d.unmount=()=>{E&&E(),f.dispose(),b()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:c,__deleteInstance:u};return f}}function Ae(e={}){const t=ho();if(t==null)throw Et(dt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Et(dt.NOT_INSTALLED);const n=V_(t),s=B_(n),r=vf(t),o=H_(e,r);if(o==="global")return O_(s,e,r),s;if(o==="parent"){let a=j_(n,t,e.__useComponent);return a==null&&(a=s),a}const i=n;let l=i.__getInstance(t);if(l==null){const a=Ke({},e);"__i18n"in r&&(a.__i18n=r.__i18n),s&&(a.__root=s),l=bf(a),i.__composerExtend&&(l[Li]=i.__composerExtend(l)),U_(i,t,l),i.__setInstance(t,l)}return l}function F_(e,t,n){const s=Ki();{const r=s.run(()=>bf(e));if(r==null)throw Et(dt.UNEXPECTED_ERROR);return[s,r]}}function V_(e){{const t=ut(e.isCE?x_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Et(e.isCE?dt.NOT_INSTALLED_WITH_PROVIDE:dt.UNEXPECTED_ERROR);return t}}function H_(e,t){return go(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function B_(e){return e.mode==="composition"?e.global:e.global.__composer}function j_(e,t,n=!1){let s=null;const r=t.root;let o=W_(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(s=i.__getInstance(o)),s!=null||r===o)break;o=o.parent}return s}function W_(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function U_(e,t,n){ol(()=>{},t),uo(()=>{const s=n;e.__deleteInstance(t);const r=s[Li];r&&(r(),delete s[Li])},t)}const G_=["locale","fallbackLocale","availableLocales"],Ja=["t","rt","d","n","tm","te"];function K_(e,t){const n=Object.create(null);return G_.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw Et(dt.UNEXPECTED_ERROR);const i=Pe(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,Ja.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw Et(dt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,o)}),()=>{delete e.config.globalProperties.$i18n,Ja.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}w_();d_(Gm);h_(rf);if(__INTLIFY_PROD_DEVTOOLS__){const e=ul();e.__INTLIFY__=!0,t_(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Y_=ge({name:"AppHome",setup(){const{t:e}=Ae();return{t:e}}}),q_="/roll-for-the-galaxy/assets/game-roll-for-the-galaxy-CHGGFEKh.webp",X_="/roll-for-the-galaxy/assets/kofi_button_dark-coki-fwW.png",Se=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ts=e=>(lo("data-v-1c8d13e1"),e=e(),ao(),e),Z_=Ts(()=>_("div",{class:"float-end m-2 w-25"},[_("a",{href:"https://boardgamegeek.com/boardgame/132531/roll-galaxy",target:"_blank",rel:"noopener"},[_("img",{src:q_,class:"rounded shadow w-100",alt:""})])],-1)),Q_=["innerHTML"],J_=["innerHTML"],eg={class:"text-muted fst-italic"},tg=Ts(()=>_("a",{href:"https://boardgamegeek.com/thread/3178925/brdgmme-roll-galaxy-solo-helper-web-application",target:"_blank",rel:"noopener"},"Board Game Geek Thread",-1)),ng=Ts(()=>_("a",{href:"https://github.com/brdgm/roll-for-the-galaxy-solo-helper",target:"_blank",rel:"noopener"},"GitHub",-1)),sg={class:"disclaimer"},rg=Ts(()=>_("a",{href:"https://www.riograndegames.com/",target:"_blank",rel:"noopener"},"Rio Grande Games",-1)),og=Ts(()=>_("a",{href:"https://www.riograndegames.com/games/roll-for-the-galaxy/",target:"_blank",rel:"noopener"},"Roll for the Galaxy",-1)),ig={href:"#","data-bs-toggle":"modal","data-bs-target":"#creditsModal"},lg=Ts(()=>_("a",{href:"https://ko-fi.com/brdgm_me",target:"_blank",rel:"noopener"},[_("img",{class:"kofi-button",src:X_,alt:"Support me on Ko-fi"})],-1));function ag(e,t,n,s,r,o){const i=we("router-link");return j(),G(ne,null,[Z_,_("h1",null,B(e.t("home.title")),1),_("p",{innerHTML:e.t("home.play1")},null,8,Q_),_("p",{innerHTML:e.t("home.play2")},null,8,J_),_("p",eg,[Me(B(e.t("home.feedback"))+" ",1),tg,Me(" | "),ng]),ce(i,{to:"/setupGame",class:"btn btn-primary btn-lg mt-3"},{default:gt(()=>[Me(B(e.t("action.playGame")),1)]),_:1}),_("p",sg,[Me(" This is not an official Rio Grande Games product and has no affiliation with "),rg,Me(". All art in this app is from "),og,Me(". See "),_("a",ig,B(e.t("footer.credits")),1),Me(". "),lg])],64)}const cg=Se(Y_,[["render",ag],["__scopeId","data-v-1c8d13e1"]]),ug=ge({name:"NotFound",setup(){const{t:e}=Ae();return{t:e}}});function fg(e,t,n,s,r,o){const i=we("router-link");return j(),G(ne,null,[_("h1",null,B(e.t("notfound.title")),1),ce(i,{to:"/",class:"btn btn-primary mt-3"},{default:gt(()=>[Me(B(e.t("action.backToHome")),1)]),_:1})],64)}const dg=Se(ug,[["render",fg]]),Tf="@brdgm/roll-for-the-galaxy-solo-helper",hg="1.0.6",pg="Roll for the Galaxy Solo Helper";var Ln=(e=>(e[e.NORMAL=1]="NORMAL",e[e.ADVANCED=2]="ADVANCED",e[e.EXPERT=3]="EXPERT",e[e.PROFESSIONAL=4]="PROFESSIONAL",e))(Ln||{}),cn=(e=>(e[e.NORMAL_D10=1]="NORMAL_D10",e[e.HARD_D8=2]="HARD_D8",e[e.INSANE_D6=3]="INSANE_D6",e))(cn||{});const Tt=Em(`${Tf}.state`,{state:()=>({language:"en",baseFontSize:1,setup:{difficultyLevel:Ln.NORMAL,objectiveDifficultyLevel:cn.NORMAL_D10,modules:[]},rounds:[]}),actions:{resetGame(){this.rounds=[]},storeRound(e){this.rounds=this.rounds.filter(t=>t.round!=e.round),this.rounds.push(e)}},persist:!0}),mg=ge({name:"ModalDialog",setup(){const{t:e}=Ae();return{t:e}},props:{id:{type:String,required:!0},title:{type:String,required:!1},centered:{type:Boolean,required:!1,default:!0},scrollable:{type:Boolean,required:!1},sizeSm:{type:Boolean,required:!1},sizeLg:{type:Boolean,required:!1},sizeXl:{type:Boolean,required:!1},fullscreen:{type:Boolean,required:!1},fullscreenSmDown:{type:Boolean,required:!1},fullscreenMdDown:{type:Boolean,required:!1},fullscreenLgDown:{type:Boolean,required:!1},fullscreenXlDown:{type:Boolean,required:!1},fullscreenXxlDown:{type:Boolean,required:!1},closeI18nKey:{type:String,required:!1,default:"action.close"}}}),_g=["id"],gg={class:"modal-content"},vg={class:"modal-header"},bg={class:"modal-title"},Eg=["aria-label"],yg={class:"modal-body"},Tg={class:"modal-footer"},wg={class:"btn btn-secondary","data-bs-dismiss":"modal"};function Ag(e,t,n,s,r,o){return j(),G("div",{class:"modal",id:e.id,tabindex:"-1","aria-hidden":"true"},[_("div",{class:bs(["modal-dialog",{"modal-dialog-centered":e.centered,"modal-dialog-scrollable":e.scrollable,"modal-sm":e.sizeSm,"modal-lg":e.sizeLg,"modal-xl":e.sizeXl,"modal-fullscreen":e.fullscreen,"modal-fullscreen-sm-down":e.fullscreenSmDown,"modal-fullscreen-md-down":e.fullscreenMdDown,"modal-fullscreen-lg-down":e.fullscreenLgDown,"modal-fullscreen-xl-down":e.fullscreenXlDown,"modal-fullscreen-xxl-down":e.fullscreenXxlDown}])},[_("div",gg,[_("div",vg,[ko(e.$slots,"header",{},()=>[_("h5",bg,B(e.title),1),_("button",{class:"btn-close","data-bs-dismiss":"modal","aria-label":e.t(e.closeI18nKey)},null,8,Eg)])]),_("div",yg,[ko(e.$slots,"body")]),_("div",Tg,[ko(e.$slots,"footer",{},()=>[_("button",wg,B(e.t(e.closeI18nKey)),1)])])])],2)],8,_g)}const ml=Se(mg,[["render",Ag]]),Sg=ge({name:"FooterButtons",components:{ModalDialog:ml},props:{backLabel:{type:String,required:!1},backButtonRouteTo:{type:String,required:!1},endGameLabel:{type:String,required:!1},endGameConfirmMessage:{type:String,required:!1},cancelLabel:{type:String,required:!1}},emits:["endGame"],methods:{endGame(){this.$emit("endGame")}}}),Og={class:"end-game-buttons"},Cg={key:1,class:"btn btn-secondary btn-sm","data-bs-toggle":"modal","data-bs-target":"#endGameModal"},Lg={class:"btn btn-secondary","data-bs-dismiss":"modal"};function Pg(e,t,n,s,r,o){const i=we("router-link"),l=we("ModalDialog");return j(),G(ne,null,[_("div",Og,[e.backButtonRouteTo&&e.backLabel?(j(),Rt(i,{key:0,to:e.backButtonRouteTo,class:"btn btn-secondary btn-sm me-2"},{default:gt(()=>[Me(B(e.backLabel),1)]),_:1},8,["to"])):Ge("",!0),e.endGameLabel?(j(),G("button",Cg,B(e.endGameLabel),1)):Ge("",!0)]),e.endGameLabel?(j(),Rt(l,{key:0,id:"endGameModal",title:e.endGameLabel},{body:gt(()=>[_("p",null,B(e.endGameConfirmMessage),1)]),footer:gt(()=>[_("button",{class:"btn btn-danger",onClick:t[0]||(t[0]=(...a)=>e.endGame&&e.endGame(...a)),"data-bs-dismiss":"modal"},B(e.endGameLabel),1),_("button",Lg,B(e.cancelLabel),1)]),_:1},8,["title"])):Ge("",!0)],64)}const Ng=Se(Sg,[["render",Pg],["__scopeId","data-v-2b8ca59d"]]),$g=ge({name:"FooterButtons",components:{CommonsFooterButtons:Ng},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},props:{endGameButtonType:{type:String,required:!1},backButtonRouteTo:{type:String,required:!1}},computed:{endGameConfirmMessage(){return this.endGameButtonType=="abortGame"||this.$route.name=="EndGameScoring"?`action.${this.endGameButtonType}Confirm`:"action.endGameGoToScoringConfirm"}},methods:{endGame(){this.endGameButtonType=="abortGame"||this.$route.name=="EndGameScoring"?(this.state.resetGame(),this.$router.push("/")):this.$router.push("/scoring")}}});function Ig(e,t,n,s,r,o){const i=we("CommonsFooterButtons");return j(),Rt(i,{backLabel:e.t("action.back"),backButtonRouteTo:e.backButtonRouteTo,endGameLabel:e.t("action."+e.endGameButtonType),endGameConfirmMessage:e.t(e.endGameConfirmMessage),cancelLabel:e.t("action.cancel"),onEndGame:e.endGame},null,8,["backLabel","backButtonRouteTo","endGameLabel","endGameConfirmMessage","cancelLabel","onEndGame"])}const bo=Se($g,[["render",Ig]]);var cs=(e=>(e.OBJECTIVE="objective",e))(cs||{});function Dg(e,t){const n=e.indexOf(t);n>=0?e.splice(n,1):e.push(t)}const Rg=ge({name:"ModuleSetup",setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},computed:{hasObjectiveModule(){return this.state.setup.modules.includes(cs.OBJECTIVE)}},methods:{toggleObjectiveModule(){Dg(this.state.setup.modules,cs.OBJECTIVE)}}}),kg={class:"mt-4 mb-3"},Mg={class:"row"},xg={class:"col"},zg={class:"form-check form-switch"},Fg=["checked"],Vg=["innerHTML"];function Hg(e,t,n,s,r,o){return j(),G(ne,null,[_("h3",kg,B(e.t("setup.modules.title")),1),_("div",Mg,[_("div",xg,[_("div",zg,[_("input",{class:"form-check-input",type:"checkbox",id:"moduleObjective",checked:e.hasObjectiveModule,onInput:t[0]||(t[0]=(...i)=>e.toggleObjectiveModule&&e.toggleObjectiveModule(...i))},null,40,Fg),_("label",{class:"form-check-label",for:"moduleObjective",innerHTML:e.t("setup.modules.objective")},null,8,Vg)])])])],64)}const Bg=Se(Rg,[["render",Hg]]),jg=ge({name:"DifficultyLevel",setup(){const{t:e}=Ae(),t=Tt(),n=Ct(t.setup.difficultyLevel);return{t:e,state:t,difficultyLevel:n}},methods:{updateDifficultyLevel(e){this.difficultyLevel=parseInt(e.target.value),this.state.setup.difficultyLevel=this.difficultyLevel}}}),Wg={class:"mt-4 mb-3"},Ug={class:"row"},Gg={class:"col-1 text-end"},Kg={for:"difficultyLevel",class:"form-label"},Yg={class:"col-8 col-md-4"},qg=["value"],Xg={class:"col-1"},Zg={for:"difficultyLevel",class:"form-label"},Qg={class:"row"},Jg={class:"col-11 offset-1"},e0=_("br",null,null,-1);function t0(e,t,n,s,r,o){return j(),G(ne,null,[_("h3",Wg,B(e.t("setup.difficultyLevel.title")),1),_("div",Ug,[_("div",Gg,[_("label",Kg,B(e.t("setup.difficultyLevel.easy")),1)]),_("div",Yg,[_("input",{type:"range",class:"form-range",min:"1",max:"4",id:"difficultyLevel",value:e.difficultyLevel,onInput:t[0]||(t[0]=i=>e.updateDifficultyLevel(i))},null,40,qg)]),_("div",Xg,[_("label",Zg,B(e.t("setup.difficultyLevel.hard")),1)])]),_("div",Qg,[_("div",Jg,[_("i",null,[Me(B(e.t("difficultyLevel."+e.difficultyLevel)),1),e0,Me(" "+B(e.t("difficultyLevelExplanation."+e.difficultyLevel)),1)])])])],64)}const n0=Se(jg,[["render",t0]]);function _l(e){switch(e){case cn.NORMAL_D10:return 10;case cn.HARD_D8:return 8;case cn.INSANE_D6:return 6;default:throw new Error(`Unexpected difficulty level: ${e}`)}}function gl(e){switch(e){case cn.NORMAL_D10:return 2;case cn.HARD_D8:return 3;case cn.INSANE_D6:return 4;default:throw new Error(`Unexpected difficulty level: ${e}`)}}const s0=ge({name:"ObjectiveDifficultyLevel",setup(){const{t:e}=Ae(),t=Tt(),n=Ct(t.setup.objectiveDifficultyLevel);return{t:e,state:t,objectiveDifficultyLevel:n}},methods:{updateDifficultyLevel(e){this.objectiveDifficultyLevel=parseInt(e.target.value),this.state.setup.objectiveDifficultyLevel=this.objectiveDifficultyLevel},getDiceRoll(e){return _l(e)},getMaxCount(e){return gl(e)}}}),r0={class:"mt-4 mb-3"},o0={class:"row"},i0={class:"col-1 text-end"},l0={for:"difficultyLevel",class:"form-label"},a0={class:"col-8 col-md-4"},c0=["value"],u0={class:"col-1"},f0={for:"difficultyLevel",class:"form-label"},d0={class:"row"},h0={class:"col-11 offset-1"};function p0(e,t,n,s,r,o){return j(),G(ne,null,[_("h3",r0,B(e.t("setup.objectiveDifficultyLevel.title")),1),_("div",o0,[_("div",i0,[_("label",l0,B(e.t("setup.objectiveDifficultyLevel.easy")),1)]),_("div",a0,[_("input",{type:"range",class:"form-range",min:"1",max:"3",id:"difficultyLevel",value:e.objectiveDifficultyLevel,onInput:t[0]||(t[0]=i=>e.updateDifficultyLevel(i))},null,40,c0)]),_("div",u0,[_("label",f0,B(e.t("setup.objectiveDifficultyLevel.hard")),1)])]),_("div",d0,[_("div",h0,[_("i",null,B(e.t("objectiveDifficultyLevel."+e.objectiveDifficultyLevel,{diceRoll:e.getDiceRoll(e.objectiveDifficultyLevel),maxCount:e.getMaxCount(e.objectiveDifficultyLevel)})),1)])])],64)}const m0=Se(s0,[["render",p0]]),_0=ge({name:"SetupGame",components:{FooterButtons:bo,ModuleSetup:Bg,DifficultyLevel:n0,ObjectiveDifficultyLevel:m0},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},computed:{hasObjectiveModule(){return this.state.setup.modules.includes(cs.OBJECTIVE)}},methods:{startGame(){this.state.resetGame(),this.$router.push("/round/1/selectPhase")}}}),g0={class:"mt-4 mb-3"},v0=["innerHTML"],b0=["innerHTML"],E0=["innerHTML"],y0=["innerHTML"];function T0(e,t,n,s,r,o){const i=we("ModuleSetup"),l=we("DifficultyLevel"),a=we("ObjectiveDifficultyLevel"),c=we("FooterButtons");return j(),G(ne,null,[_("h1",null,B(e.t("setup.title")),1),_("h3",g0,B(e.t("setup.general.title")),1),_("ul",null,[_("li",{innerHTML:e.t("setup.general.setup2Players")},null,8,v0),_("li",{innerHTML:e.t("setup.general.botPlayerMat")},null,8,b0),_("li",{innerHTML:e.t("setup.general.botNoHomeWorld")},null,8,E0),_("li",{innerHTML:e.t("setup.general.botDrawTiles")},null,8,y0)]),ce(i),ce(l),e.hasObjectiveModule?(j(),Rt(a,{key:0})):Ge("",!0),_("button",{class:"btn btn-primary btn-lg mt-4",onClick:t[0]||(t[0]=u=>e.startGame())},B(e.t("action.startGame")),1),ce(c,{endGameButtonType:"abortGame"})],64)}const w0=Se(_0,[["render",T0]]);/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Kn=typeof window<"u";function A0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Vo(e,t){const n={};for(const s in t){const r=t[s];n[s]=yt(r)?r.map(e):e(r)}return n}const Vs=()=>{},yt=Array.isArray,S0=/\/$/,O0=e=>e.replace(S0,"");function Ho(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(s=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=N0(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function C0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function L0(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&us(t.matched[s],n.matched[r])&&wf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function us(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!P0(e[n],t[n]))return!1;return!0}function P0(e,t){return yt(e)?Ja(e,t):yt(t)?Ja(t,e):e===t}function Ja(e,t){return yt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function N0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var Js;(function(e){e.pop="pop",e.push="push"})(Js||(Js={}));var Hs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hs||(Hs={}));function $0(e){if(!e)if(Kn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),O0(e)}const I0=/^[^#]+#/;function D0(e,t){return e.replace(I0,"#")+t}function R0(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Eo=()=>({left:window.pageXOffset,top:window.pageYOffset});function k0(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=R0(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ec(e,t){return(history.state?history.state.position-t:-1)+e}const Pi=new Map;function M0(e,t){Pi.set(e,t)}function x0(e){const t=Pi.get(e);return Pi.delete(e),t}let z0=()=>location.protocol+"//"+location.host;function Af(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),Qa(a,"")}return Qa(n,e)+s+r}function F0(e,t,n,s){let r=[],o=[],i=null;const l=({state:d})=>{const m=Af(e,location),E=n.value,b=t.value;let C=0;if(d){if(n.value=m,t.value=d,i&&i===E){i=null;return}C=b?d.position-b.position:0}else s(m);r.forEach(A=>{A(n.value,E,{delta:C,type:Js.pop,direction:C?C>0?Hs.forward:Hs.back:Hs.unknown})})};function a(){i=n.value}function c(d){r.push(d);const m=()=>{const E=r.indexOf(d);E>-1&&r.splice(E,1)};return o.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(me({},d.state,{scroll:Eo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function tc(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Eo():null}}function V0(e){const{history:t,location:n}=window,s={value:Af(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:z0()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(a,c){const u=me({},t.state,tc(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});o(a,u,!0),s.value=a}function l(a,c){const u=me({},r.value,t.state,{forward:a,scroll:Eo()});o(u.current,u,!0);const f=me({},tc(s.value,a,null),{position:u.position+1},c);o(a,f,!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function H0(e){e=$0(e);const t=V0(e),n=F0(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=me({location:"",base:e,go:s,createHref:D0.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function B0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),H0(e)}function j0(e){return typeof e=="string"||e&&typeof e=="object"}function Sf(e){return typeof e=="string"||typeof e=="symbol"}const Qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Of=Symbol("");var nc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(nc||(nc={}));function fs(e,t){return me(new Error,{type:e,[Of]:!0},t)}function Mt(e,t){return e instanceof Error&&Of in e&&(t==null||!!(e.type&t))}const sc="[^/]+?",W0={sensitive:!1,strict:!1,start:!0,end:!0},U0=/[.+*?^${}()[\]/\\]/g;function G0(e,t){const n=me({},W0,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Y0(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const q0={type:0,value:""},X0=/[a-zA-Z0-9_]/;function Z0(e){if(!e)return[[]];if(e==="/")return[[q0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{i(L)}:Vs}function i(u){if(Sf(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Cf(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ic(u)&&s.set(u.record.name,u)}function c(u,f){let d,m={},E,b;if("name"in u&&u.name){if(d=s.get(u.name),!d)throw fs(1,{location:u});b=d.record.name,m=me(oc(f.params,d.keys.filter(L=>!L.optional).map(L=>L.name)),u.params&&oc(u.params,d.keys.map(L=>L.name))),E=d.stringify(m)}else if("path"in u)E=u.path,d=n.find(L=>L.re.test(E)),d&&(m=d.parse(E),b=d.record.name);else{if(d=f.name?s.get(f.name):n.find(L=>L.re.test(f.path)),!d)throw fs(1,{location:u,currentLocation:f});b=d.record.name,m=me({},f.params,u.params),E=d.stringify(m)}const C=[];let A=d;for(;A;)C.unshift(A.record),A=A.parent;return{name:b,path:E,params:m,matched:C,meta:n1(C)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function oc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function e1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:t1(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 t1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ic(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function n1(e){return e.reduce((t,n)=>me(t,n.meta),{})}function lc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Cf(e,t){return t.children.some(n=>n===e||Cf(e,n))}const Lf=/#/g,s1=/&/g,r1=/\//g,o1=/=/g,i1=/\?/g,Pf=/\+/g,l1=/%5B/g,a1=/%5D/g,Nf=/%5E/g,c1=/%60/g,$f=/%7B/g,u1=/%7C/g,If=/%7D/g,f1=/%20/g;function _l(e){return encodeURI(""+e).replace(u1,"|").replace(l1,"[").replace(a1,"]")}function d1(e){return _l(e).replace($f,"{").replace(If,"}").replace(Nf,"^")}function Ni(e){return _l(e).replace(Pf,"%2B").replace(f1,"+").replace(Lf,"%23").replace(s1,"%26").replace(c1,"`").replace($f,"{").replace(If,"}").replace(Nf,"^")}function h1(e){return Ni(e).replace(o1,"%3D")}function p1(e){return _l(e).replace(Lf,"%23").replace(i1,"%3F")}function m1(e){return e==null?"":p1(e).replace(r1,"%2F")}function Kr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Ni(o)):[s&&Ni(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function g1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=yt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const v1=Symbol(""),cc=Symbol(""),gl=Symbol(""),vl=Symbol(""),$i=Symbol("");function Ns(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function nn(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const a=f=>{f===!1?l(fs(4,{from:n,to:t})):f instanceof Error?l(f):j0(f)?l(fs(2,{from:t,to:f})):(o&&s.enterCallbacks[r]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(s&&s.instances[r],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function Bo(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(b1(l)){const c=(l.__vccOpts||l)[t];c&&r.push(nn(c,n,s,o,i))}else{let a=l();r.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=A0(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&nn(d,n,s,o,i)()}))}}return r}function b1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uc(e){const t=ut(gl),n=ut(vl),s=He(()=>t.resolve(ts(e.to))),r=He(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(us.bind(null,u));if(d>-1)return d;const m=fc(a[c-2]);return c>1&&fc(u)===m&&f[f.length-1].path!==m?f.findIndex(us.bind(null,a[c-2])):d}),o=He(()=>r.value>-1&&w1(n.params,s.value.params)),i=He(()=>r.value>-1&&r.value===n.matched.length-1&&wf(n.params,s.value.params));function l(a={}){return T1(a)?t[ts(e.replace)?"replace":"push"](ts(e.to)).catch(Vs):Promise.resolve()}return{route:s,href:He(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const E1=ge({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:uc,setup(e,{slots:t}){const n=rr(uc(e)),{options:s}=ut(gl),r=He(()=>({[dc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[dc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:mo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),y1=E1;function T1(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 w1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!yt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function fc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const dc=(e,t,n)=>e??t??n,A1=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ut($i),r=He(()=>e.route||s.value),o=ut(cc,0),i=He(()=>{let c=ts(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=He(()=>r.value.matched[i.value]);Nr(cc,He(()=>i.value+1)),Nr(v1,l),Nr($i,r);const a=Ct();return an(()=>[a.value,l.value,e.name],([c,u,f],[d,m,E])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!us(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return hc(n.default,{Component:d,route:c});const m=f.props[u],E=m?m===!0?c.params:typeof m=="function"?m(c):m:null,C=mo(d,me({},E,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return hc(n.default,{Component:C,route:c})||C}}});function hc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const S1=A1;function O1(e){const t=J0(e.routes,e),n=e.parseQuery||_1,s=e.stringifyQuery||ac,r=e.history,o=Ns(),i=Ns(),l=Ns(),a=Ah(Qt);let c=Qt;Kn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Vo.bind(null,S=>""+S),f=Vo.bind(null,m1),d=Vo.bind(null,Kr);function m(S,F){let M,Y;return Sf(S)?(M=t.getRecordMatcher(S),Y=F):Y=S,t.addRoute(Y,M)}function E(S){const F=t.getRecordMatcher(S);F&&t.removeRoute(F)}function b(){return t.getRoutes().map(S=>S.record)}function C(S){return!!t.getRecordMatcher(S)}function A(S,F){if(F=me({},F||a.value),typeof S=="string"){const v=Ho(n,S,F.path),w=t.resolve({path:v.path},F),O=r.createHref(v.fullPath);return me(v,w,{params:d(w.params),hash:Kr(v.hash),redirectedFrom:void 0,href:O})}let M;if("path"in S)M=me({},S,{path:Ho(n,S.path,F.path).path});else{const v=me({},S.params);for(const w in v)v[w]==null&&delete v[w];M=me({},S,{params:f(v)}),F.params=f(F.params)}const Y=t.resolve(M,F),ue=S.hash||"";Y.params=u(d(Y.params));const h=C0(s,me({},S,{hash:d1(ue),path:Y.path})),p=r.createHref(h);return me({fullPath:h,hash:ue,query:s===ac?g1(S.query):S.query||{}},Y,{redirectedFrom:void 0,href:p})}function L(S){return typeof S=="string"?Ho(n,S,a.value.path):me({},S)}function z(S,F){if(c!==S)return fs(8,{from:F,to:S})}function T(S){return R(S)}function k(S){return T(me(L(S),{replace:!0}))}function H(S){const F=S.matched[S.matched.length-1];if(F&&F.redirect){const{redirect:M}=F;let Y=typeof M=="function"?M(S):M;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=L(Y):{path:Y},Y.params={}),me({query:S.query,hash:S.hash,params:"path"in Y?{}:S.params},Y)}}function R(S,F){const M=c=A(S),Y=a.value,ue=S.state,h=S.force,p=S.replace===!0,v=H(M);if(v)return R(me(L(v),{state:typeof v=="object"?me({},ue,v.state):ue,force:h,replace:p}),F||M);const w=M;w.redirectedFrom=F;let O;return!h&&L0(s,Y,M)&&(O=fs(16,{to:w,from:Y}),We(Y,Y,!0,!1)),(O?Promise.resolve(O):ee(w,Y)).catch(P=>Mt(P)?Mt(P,2)?P:je(P):ae(P,w,Y)).then(P=>{if(P){if(Mt(P,2))return R(me({replace:p},L(P.to),{state:typeof P.to=="object"?me({},ue,P.to.state):ue,force:h}),F||w)}else P=le(w,Y,!0,p,ue);return re(w,Y,P),P})}function U(S,F){const M=z(S,F);return M?Promise.reject(M):Promise.resolve()}function q(S){const F=Ye.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(S):S()}function ee(S,F){let M;const[Y,ue,h]=C1(S,F);M=Bo(Y.reverse(),"beforeRouteLeave",S,F);for(const v of Y)v.leaveGuards.forEach(w=>{M.push(nn(w,S,F))});const p=U.bind(null,S,F);return M.push(p),Te(M).then(()=>{M=[];for(const v of o.list())M.push(nn(v,S,F));return M.push(p),Te(M)}).then(()=>{M=Bo(ue,"beforeRouteUpdate",S,F);for(const v of ue)v.updateGuards.forEach(w=>{M.push(nn(w,S,F))});return M.push(p),Te(M)}).then(()=>{M=[];for(const v of h)if(v.beforeEnter)if(yt(v.beforeEnter))for(const w of v.beforeEnter)M.push(nn(w,S,F));else M.push(nn(v.beforeEnter,S,F));return M.push(p),Te(M)}).then(()=>(S.matched.forEach(v=>v.enterCallbacks={}),M=Bo(h,"beforeRouteEnter",S,F),M.push(p),Te(M))).then(()=>{M=[];for(const v of i.list())M.push(nn(v,S,F));return M.push(p),Te(M)}).catch(v=>Mt(v,8)?v:Promise.reject(v))}function re(S,F,M){l.list().forEach(Y=>q(()=>Y(S,F,M)))}function le(S,F,M,Y,ue){const h=z(S,F);if(h)return h;const p=F===Qt,v=Kn?history.state:{};M&&(Y||p?r.replace(S.fullPath,me({scroll:p&&v&&v.scroll},ue)):r.push(S.fullPath,ue)),a.value=S,We(S,F,M,p),je()}let de;function Fe(){de||(de=r.listen((S,F,M)=>{if(!Qe.listening)return;const Y=A(S),ue=H(Y);if(ue){R(me(ue,{replace:!0}),Y).catch(Vs);return}c=Y;const h=a.value;Kn&&M0(ec(h.fullPath,M.delta),Eo()),ee(Y,h).catch(p=>Mt(p,12)?p:Mt(p,2)?(R(p.to,Y).then(v=>{Mt(v,20)&&!M.delta&&M.type===Js.pop&&r.go(-1,!1)}).catch(Vs),Promise.reject()):(M.delta&&r.go(-M.delta,!1),ae(p,Y,h))).then(p=>{p=p||le(Y,h,!1),p&&(M.delta&&!Mt(p,8)?r.go(-M.delta,!1):M.type===Js.pop&&Mt(p,20)&&r.go(-1,!1)),re(Y,h,p)}).catch(Vs)}))}let Oe=Ns(),te=Ns(),oe;function ae(S,F,M){je(S);const Y=te.list();return Y.length?Y.forEach(ue=>ue(S,F,M)):console.error(S),Promise.reject(S)}function be(){return oe&&a.value!==Qt?Promise.resolve():new Promise((S,F)=>{Oe.add([S,F])})}function je(S){return oe||(oe=!S,Fe(),Oe.list().forEach(([F,M])=>S?M(S):F()),Oe.reset()),S}function We(S,F,M,Y){const{scrollBehavior:ue}=e;if(!Kn||!ue)return Promise.resolve();const h=!M&&x0(ec(S.fullPath,0))||(Y||!M)&&history.state&&history.state.scroll||null;return tl().then(()=>ue(S,F,h)).then(p=>p&&k0(p)).catch(p=>ae(p,S,F))}const Ce=S=>r.go(S);let st;const Ye=new Set,Qe={currentRoute:a,listening:!0,addRoute:m,removeRoute:E,hasRoute:C,getRoutes:b,resolve:A,options:e,push:T,replace:k,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:te.add,isReady:be,install(S){const F=this;S.component("RouterLink",y1),S.component("RouterView",S1),S.config.globalProperties.$router=F,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>ts(a)}),Kn&&!st&&a.value===Qt&&(st=!0,T(r.location).catch(ue=>{}));const M={};for(const ue in Qt)Object.defineProperty(M,ue,{get:()=>a.value[ue],enumerable:!0});S.provide(gl,F),S.provide(vl,bu(M)),S.provide($i,a);const Y=S.unmount;Ye.add(S),S.unmount=function(){Ye.delete(S),Ye.size<1&&(c=Qt,de&&de(),de=null,a.value=Qt,st=!1,oe=!1),Y()}}};function Te(S){return S.reduce((F,M)=>F.then(()=>q(M)),Promise.resolve())}return Qe}function C1(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ius(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>us(c,a))||r.push(a))}return[n,s,r]}function Df(){return ut(vl)}function L1(e,t,n){if(!e.find(o=>o.name==n))throw new Error(`Home route not found: ${n}`);const s=O1({history:B0(),routes:e});s.afterEach(o=>{localStorage.setItem(t,o.fullPath)});let r=!0;return s.beforeEach((o,i,l)=>{const a=localStorage.getItem(t);o.name===n&&a&&r?l(a):l(),r=!1}),s}var Vt=(e=>(e.EXPLORE="explore",e.DEVELOP="develop",e.SETTLE="settle",e.PRODUCE="produce",e.SHIP="ship",e))(Vt||{});function Rf(e){return Object.values(Vt).filter(t=>e.playerPhase==t||e.botPhases.includes(t))}class Ut{constructor(t,n){Yt(this,"difficultyLevel");Yt(this,"round");Yt(this,"phase");Yt(this,"selectedPhases");Yt(this,"selectedPhase");Yt(this,"botPhases");Yt(this,"objectiveGain");this.difficultyLevel=n.setup.difficultyLevel,this.round=parseInt(t.params.round),this.phase=parseInt(t.params.phase);const s=n.rounds.find(r=>r.round==this.round);s?(this.selectedPhases=Rf(s),this.selectedPhase=this.selectedPhases[this.phase-1],this.botPhases=s.botPhases,this.objectiveGain=s.objectiveGain??!1):(this.selectedPhases=[],this.selectedPhase=void 0,this.botPhases=[],this.objectiveGain=!1)}}const P1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.81px;%20}%20.cls-5%20{%20fill:%20%23fff;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-1'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpolygon%20class='cls-4'%20points='10.2%206.61%207.19%2010.15%204.17%206.61%207.19%203.03%2010.2%206.61'/%3e%3c/g%3e%3c/svg%3e",N1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4,%20.cls-5%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-7%20{%20fill:%20%23231f20;%20}%20.cls-8%20{%20clip-path:%20url(%23clippath);%20}%20.cls-5%20{%20stroke-width:%20.63px;%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-8'%3e%3cpath%20class='cls-7'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-6'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m7.19,4.76c-1.35,0-2.53.74-3.16,1.83.63,1.1,1.81,1.83,3.16,1.83s2.53-.74,3.16-1.83c-.63-1.09-1.81-1.83-3.16-1.83Z'/%3e%3cpath%20class='cls-5'%20d='m8.47,6.59c0,.71-.57,1.28-1.28,1.28s-1.28-.57-1.28-1.28.57-1.28,1.28-1.28,1.28.57,1.28,1.28Z'/%3e%3c/g%3e%3c/svg%3e",$1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-5%20{%20fill:%20%23fff;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3c/g%3e%3c/svg%3e",I1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.81px;%20}%20.cls-5%20{%20fill:%20%23fff;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m10.06,6.59c0,1.59-1.29,2.87-2.88,2.87s-2.87-1.29-2.87-2.87,1.29-2.87,2.87-2.87,2.88,1.29,2.88,2.87Z'/%3e%3c/g%3e%3c/svg%3e",D1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4,%20.cls-5%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.81px;%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-7%20{%20fill:%20%23231f20;%20}%20.cls-8%20{%20clip-path:%20url(%23clippath);%20}%20.cls-5%20{%20stroke-width:%20.63px;%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-8'%3e%3cpath%20class='cls-7'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-1'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-6'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-5'%20d='m5.9,6.59s-1.29-.64-2.26.32c1.61-1.61,3.22-1.29,3.22-1.29'/%3e%3cpath%20class='cls-4'%20d='m5.9,7.88l-.65-.64,2.26-2.26c1.61-1.61,3.22-1.93,3.22-1.93'/%3e%3cpath%20class='cls-5'%20d='m7.19,7.88s.64,1.29-.32,2.26c1.61-1.61,1.29-3.22,1.29-3.22'/%3e%3cpath%20class='cls-4'%20d='m5.9,7.88l.64.65s.64-.65,2.26-2.26c1.61-1.61,1.93-3.22,1.93-3.22'/%3e%3c/g%3e%3c/svg%3e",R1="/roll-for-the-galaxy/assets/develop-RGpJRZoY.png",k1="/roll-for-the-galaxy/assets/explore-WvjFP5qw.png",M1="/roll-for-the-galaxy/assets/phase-disabled-tDIjelod.psd",x1="/roll-for-the-galaxy/assets/produce-U2lkBpE1.png",z1="/roll-for-the-galaxy/assets/settle-Lpyz8fJ9.png",F1="/roll-for-the-galaxy/assets/ship-OMkfxs8H.png",V1="/roll-for-the-galaxy/assets/develop-UiQWIIqz.png",H1="/roll-for-the-galaxy/assets/explore-Xked01aA.png",B1="/roll-for-the-galaxy/assets/produce-_7D1lQJY.png",j1="/roll-for-the-galaxy/assets/settle-StL_TaeV.png",W1="/roll-for-the-galaxy/assets/ship-YP7BlwED.png",U1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-5%20{%20fill:%20%23fff200;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-6'%20points='7.29%209.95%207.29%207.47%208.86%207.1%208.86%209.66%207.29%209.95'/%3e%3c/g%3e%3c/svg%3e",G1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-5%20{%20fill:%20%238dc63f;%20}%20.cls-5,%20.cls-3,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-6'%20points='5.46%209.53%205.46%206.91%207.09%207.48%207.09%209.99%205.46%209.53'/%3e%3c/g%3e%3c/svg%3e",K1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%236dcff6;%20}%20.cls-1,%20.cls-2,%20.cls-3%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.5px;%20}%20.cls-4,%20.cls-5,%20.cls-2,%20.cls-6%20{%20fill:%20none;%20}%20.cls-4,%20.cls-5,%20.cls-6%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-5%20{%20stroke-width:%20.6px;%20}%20.cls-6%20{%20stroke-width:%20.75px;%20}%20.cls-3%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-2'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-3'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-4'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-6'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-4'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-6'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-4'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-3'%20points='5.46%206.91%205.46%204.31%207.19%204.91%207.19%207.4%205.46%206.91'/%3e%3c/g%3e%3c/svg%3e",Y1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-5%20{%20fill:%20%23dbac78;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-6'%20points='8.92%206.91%207.28%207.4%207.28%204.93%208.92%204.58%208.92%206.91'/%3e%3c/g%3e%3c/svg%3e",q1=ge({name:"AppIcon",props:{type:{type:String,required:!1},name:{type:String,required:!0},extension:{type:String,default:"png"}},computed:{imageUrl(){return this.type?new URL(Object.assign({"/src/assets/icons/phase-dice/develop.svg":P1,"/src/assets/icons/phase-dice/explore.svg":N1,"/src/assets/icons/phase-dice/produce.svg":$1,"/src/assets/icons/phase-dice/settle.svg":I1,"/src/assets/icons/phase-dice/ship.svg":D1,"/src/assets/icons/phase-disabled/develop.png":R1,"/src/assets/icons/phase-disabled/explore.png":k1,"/src/assets/icons/phase-disabled/phase-disabled.psd":M1,"/src/assets/icons/phase-disabled/produce.png":x1,"/src/assets/icons/phase-disabled/settle.png":z1,"/src/assets/icons/phase-disabled/ship.png":F1,"/src/assets/icons/phase/develop.png":V1,"/src/assets/icons/phase/explore.png":H1,"/src/assets/icons/phase/produce.png":B1,"/src/assets/icons/phase/settle.png":j1,"/src/assets/icons/phase/ship.png":W1,"/src/assets/icons/produce-dice/alien.svg":U1,"/src/assets/icons/produce-dice/genes.svg":G1,"/src/assets/icons/produce-dice/novelty.svg":K1,"/src/assets/icons/produce-dice/rare-elements.svg":Y1})[`/src/assets/icons/${this.type}/${this.name}.${this.extension}`],import.meta.url).toString():new URL(Object.assign({})[`/src/assets/icons/${this.name}.${this.extension}`],import.meta.url).toString()}}}),X1=["src"];function Z1(e,t,n,s,r,o){return j(),G("img",{src:e.imageUrl,draggable:"false",alt:""},null,8,X1)}const yo=Se(q1,[["render",Z1]]);function pc(e){let t=Object.keys(e).map(s=>Number.parseInt(s)).filter(s=>!Number.isNaN(s));t.length==0&&(t=Object.values(e));const n=Math.floor(Math.random()*t.length);return t[n]}class Q1{select(){const t=pc(Vt);let n=t;for(;n==t;)n=pc(Vt);return[t,n]}}const J1=ge({name:"PhaseSelection",components:{AppIcon:yo},props:{navigationState:{type:Ut,required:!0}},emits:{selected:(e,t)=>!0},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},data(){return{playerPhase:void 0,botPhases:void 0}},computed:{allPhases(){return Object.values(Vt)}},methods:{selectPlayerPhase(e){this.playerPhase=e,this.botPhases=new Q1().select(),this.$emit("selected",this.playerPhase,this.botPhases)},isDisabled(e){return this.playerPhase&&this.botPhases?!(this.playerPhase==e||this.botPhases.includes(e)):!1}}}),e2={key:0},t2={class:"phaseSelection"},n2={key:1},s2={class:"phaseSelectionDone"},r2={key:0,class:"selected"};function o2(e,t,n,s,r,o){const i=we("AppIcon");return!e.playerPhase&&!e.botPhases?(j(),G("div",e2,[_("div",t2,[(j(!0),G(ne,null,Nt(e.allPhases,l=>(j(),G("div",{class:"phase",key:l},[ce(i,{type:"phase",name:l,onClick:a=>e.selectPlayerPhase(l),class:"phaseIcon"},null,8,["name","onClick"])]))),128))]),_("p",null,B(e.t("roundPhaseSelection.pickPhase")),1)])):(j(),G("div",n2,[_("div",s2,[(j(!0),G(ne,null,Nt(e.allPhases,l=>(j(),G("div",{class:"phase",key:l},[ce(i,{type:e.isDisabled(l)?"phase-disabled":"phase",name:l,class:"phaseIcon"},null,8,["type","name"])]))),128))]),e.playerPhase?(j(),G("p",r2,[Me(B(e.t("roundPhaseSelection.playerSelected"))+" ",1),ce(i,{type:"phase-dice",name:e.playerPhase,extension:"svg",class:"diceIcon"},null,8,["name"]),Me(", "+B(e.t("roundPhaseSelection.botSelected"))+" ",1),(j(!0),G(ne,null,Nt(e.botPhases,l=>(j(),Rt(i,{type:"phase-dice",name:l,extension:"svg",class:"diceIcon",key:l},null,8,["name"]))),128))])):Ge("",!0)]))}const i2=Se(J1,[["render",o2],["__scopeId","data-v-40ad0951"]]);function kf(e){if(e<1)throw new Error(`Unable to roll a dice ${e}`);return Math.floor(Math.random()*e)+1}const l2=ge({name:"RoundPhaseSelection",components:{FooterButtons:bo,PhaseSelection:i2},setup(){const{t:e}=Ae(),t=Df(),n=Tt(),s=new Ut(t,n),r=s.round;return{t:e,state:n,navigationState:s,round:r}},data(){return{selectedPhasesStored:!1}},computed:{backButtonRouteTo(){const e=this.state.rounds.find(t=>t.round==this.round-1);if(e)return`/round/${e.round}/phase/${Rf(e).length}`}},methods:{next(){this.$router.push(`/round/${this.round}/phase/1`)},phasesSelected(e,t){const n={round:this.round,playerPhase:e,botPhases:t};if(this.state.setup.modules.includes(cs.OBJECTIVE)){const s=this.state.rounds.filter(i=>i.rounde.next())},B(e.t("action.next")),1)):Ge("",!0),ce(l,{backButtonRouteTo:e.backButtonRouteTo,endGameButtonType:e.round>1?"endGame":"abortGame"},null,8,["backButtonRouteTo","endGameButtonType"])],64)}const c2=Se(l2,[["render",a2]]),u2=ge({name:"ExploreActions",setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}}}),f2={key:0},d2=["innerHTML"],h2=["innerHTML"],p2={key:1},m2=["innerHTML"],_2=["innerHTML"];function g2(e,t,n,s,r,o){return e.chosenPhase?(j(),G("ul",f2,[_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.drawTile")},null,8,d2),_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.earnMoney",{amount:2})},null,8,h2)])):(j(),G("ul",p2,[_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.drawTile")},null,8,m2),_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.earnMoney",{amount:1})},null,8,_2)]))}const v2=Se(u2,[["render",g2]]),b2=ge({name:"DevelopActions",setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}}}),E2=["innerHTML"],y2=["innerHTML"];function T2(e,t,n,s,r,o){return j(),G(ne,null,[_("ul",null,[_("li",{innerHTML:e.t("roundPhaseExecution.developActions.completeDevelopment")},null,8,E2)]),_("p",{innerHTML:e.t("roundPhaseExecution.developActions.notes")},null,8,y2)],64)}const w2=Se(b2,[["render",T2]]),A2=ge({name:"SettleActions",setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}}}),S2=["innerHTML"],O2=["innerHTML"];function C2(e,t,n,s,r,o){return j(),G(ne,null,[_("ul",null,[_("li",{innerHTML:e.t("roundPhaseExecution.settleActions.completeWorld")},null,8,S2)]),_("p",{innerHTML:e.t("roundPhaseExecution.settleActions.notes")},null,8,O2)],64)}const L2=Se(A2,[["render",C2]]);var $e=(e=>(e.NOVELTY="novelty",e.RARE_ELEMENTS="rare-elements",e.GENES="genes",e.ALIEN="alien",e))($e||{});const P2=ge({name:"ProduceActions",components:{AppIcon:yo},setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}},computed:{produceDiceTypes(){return Object.values($e).reverse()}}}),N2={key:0},$2=["innerHTML"],I2={key:1},D2=["innerHTML"],R2={key:0},k2=["innerHTML"];function M2(e,t,n,s,r,o){const i=we("AppIcon");return j(),G(ne,null,[e.chosenPhase?(j(),G("ul",N2,[_("li",{innerHTML:e.t("roundPhaseExecution.produceActions.produceWorlds",{amount:2},2)},null,8,$2)])):(j(),G("ul",I2,[_("li",{innerHTML:e.t("roundPhaseExecution.produceActions.produceWorlds",{amount:1},1)},null,8,D2)])),_("p",null,[Me(B(e.t("roundPhaseExecution.produceActions.priority"))+" ",1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,(l,a)=>(j(),G(ne,{key:l},[a>0?(j(),G("span",R2," > ")):Ge("",!0),ce(i,{type:"produce-dice",name:l,extension:"svg",class:"diceIcon"},null,8,["name"])],64))),128)),Me(". ")]),_("p",{innerHTML:e.t("roundPhaseExecution.produceActions.notes")},null,8,k2)],64)}const x2=Se(P2,[["render",M2],["__scopeId","data-v-88ca76c2"]]);function z2(e){switch(e){case $e.NOVELTY:return 3;case $e.RARE_ELEMENTS:return 4;case $e.GENES:return 5;case $e.ALIEN:return 6;default:throw new Error(`Unexpected dice type: ${e}`)}}function F2(e,t){switch(t){case Ln.NORMAL:switch(e){case $e.NOVELTY:case $e.RARE_ELEMENTS:return 2;case $e.GENES:case $e.ALIEN:return 3;default:throw new Error(`Unexpected dice type: ${e}`)}case Ln.ADVANCED:switch(e){case $e.NOVELTY:return 2;case $e.RARE_ELEMENTS:return 3;case $e.GENES:return 4;case $e.ALIEN:return 5;default:throw new Error(`Unexpected dice type: ${e}`)}case Ln.EXPERT:case Ln.PROFESSIONAL:switch(e){case $e.NOVELTY:return 3;case $e.RARE_ELEMENTS:return 4;case $e.GENES:return 5;case $e.ALIEN:return 6;default:throw new Error(`Unexpected dice type: ${e}`)}default:throw new Error(`Unexpected difficulty level: ${t}`)}}const V2=ge({name:"ShipActions",components:{AppIcon:yo},setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}},computed:{produceDiceTypes(){return Object.values($e).reverse()}},methods:{getTradeValue(e){return z2(e)},getConsumeVPs(e){return F2(e,this.navigationState.difficultyLevel)}}}),H2={key:0},B2=["innerHTML"],j2=["innerHTML"],W2={key:1},U2=["innerHTML"],G2={"aria-describedby":"priorityCaption"},K2={id:"priorityCaption"},Y2={key:0};function q2(e,t,n,s,r,o){const i=we("AppIcon");return j(),G(ne,null,[e.chosenPhase?(j(),G("ul",H2,[_("li",{innerHTML:e.t("roundPhaseExecution.shipActions.tradeFirst")},null,8,B2),_("li",{innerHTML:e.t("roundPhaseExecution.shipActions.consumeNext")},null,8,j2)])):(j(),G("ul",W2,[_("li",{innerHTML:e.t("roundPhaseExecution.shipActions.tradeOnly")},null,8,U2)])),_("table",G2,[_("tr",null,[_("th",K2,B(e.t("roundPhaseExecution.shipActions.priority")),1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,(l,a)=>(j(),G("td",{key:l},[ce(i,{type:"produce-dice",name:l,extension:"svg",class:"diceIcon"},null,8,["name"]),a ")):Ge("",!0)]))),128))]),_("tr",null,[_("th",null,B(e.t("roundPhaseExecution.shipActions.tradeValue")),1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,l=>(j(),G("td",{key:l}," $"+B(e.getTradeValue(l)),1))),128))]),_("tr",null,[_("th",null,B(e.t("roundPhaseExecution.shipActions.botConsumes")),1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,l=>(j(),G("td",{key:l},B(e.getConsumeVPs(l))+" "+B(e.t("roundPhaseExecution.shipActions.vps")),1))),128))])])],64)}const X2=Se(V2,[["render",q2],["__scopeId","data-v-959ebd9e"]]),Z2=ge({name:"GainObjectiveActions",components:{ModalDialog:ml},setup(){const{t:e}=Ae();return{t:e}},data(){return{tilesLeft:void 0,pickTile:void 0}},watch:{tilesLeft(e){this.pickTile=kf(e)}}}),Q2={class:"alert alert-warning mt-3"},J2=["innerHTML"],ev={class:"btn btn-primary btn-sm ms-2","data-bs-toggle":"modal","data-bs-target":"#modalPickObjectiveTile"},tv=["innerHTML"],nv={class:"btn-group",role:"group","aria-describedby":"objectiveTilesLeftGroup"},sv=["id","value"],rv=["for"],ov={key:0},iv=["innerHTML"];function lv(e,t,n,s,r,o){const i=we("ModalDialog");return j(),G(ne,null,[_("p",Q2,[_("span",{innerHTML:e.t("roundPhaseExecution.gainObjectiveActions.gainObjective")},null,8,J2),_("button",ev,B(e.t("roundPhaseExecution.gainObjectiveActions.pickObjective")),1)]),ce(i,{id:"modalPickObjectiveTile",title:e.t("roundPhaseExecution.gainObjectiveActions.pickObjective")},{body:gt(()=>[_("p",{id:"objectiveTilesLeftGroup",innerHTML:e.t("roundPhaseExecution.gainObjectiveActions.tilesLeft")},null,8,tv),_("div",nv,[(j(),G(ne,null,Nt(6,l=>(j(),G(ne,{key:l},[xt(_("input",{type:"radio",class:"btn-check",name:"tilesLeft",id:`tilesLeft${l}`,autocomplete:"off",value:l,"onUpdate:modelValue":t[0]||(t[0]=a=>e.tilesLeft=a)},null,8,sv),[[om,e.tilesLeft]]),_("label",{class:"btn btn-outline-primary",for:`tilesLeft${l}`},[_("span",null," "+B(l)+" ",1),l==6?(j(),G("span",ov,B(e.t("roundPhaseExecution.gainObjectiveActions.tiles"))+" ",1)):Ge("",!0)],8,rv)],64))),64))]),e.pickTile?(j(),G("p",{key:0,class:"mt-3",innerHTML:e.t("roundPhaseExecution.gainObjectiveActions.picksTile",{tile:e.pickTile})},null,8,iv)):Ge("",!0)]),_:1},8,["title"])],64)}const av=Se(Z2,[["render",lv]]);function cv(e){const t=Object.values(Vt),n=t.indexOf(e);return n==t.length-1?t[0]:t[n+1]}const uv=ge({name:"PhaseExecution",components:{AppIcon:yo,ExploreActions:v2,DevelopActions:w2,SettleActions:L2,ProduceActions:x2,ShipActions:X2,GainObjectiveActions:av},emits:["next"],props:{navigationState:{type:Ut,required:!0}},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},data(){return{alternativeBotPhase:void 0}},computed:{allPhases(){return this.navigationState.selectedPhases},isExploreBotPhase(){return this.selectedBotPhase==Vt.EXPLORE},selectedBotPhase(){return this.alternativeBotPhase?this.alternativeBotPhase:this.navigationState.selectedPhase??Vt.EXPLORE},isLastPhase(){const e=this.navigationState.selectedPhases[this.navigationState.selectedPhases.length-1];return this.navigationState.selectedPhase==e}},methods:{isActive(e){return this.navigationState.selectedPhase==e},isChosenPhase(e){return this.alternativeBotPhase?!1:this.navigationState.botPhases.includes(e)},completed(){this.$emit("next")},notPossible(){this.navigationState.botPhases.includes(this.navigationState.selectedPhase??Vt.EXPLORE)?this.alternativeBotPhase=cv(this.selectedBotPhase):this.$emit("next")}}}),fv={key:0,class:"phaseExecution"};function dv(e,t,n,s,r,o){const i=we("AppIcon"),l=we("GainObjectiveActions");return j(),G(ne,null,[e.navigationState.selectedPhase?(j(),G("div",fv,[(j(!0),G(ne,null,Nt(e.allPhases,a=>(j(),G("div",{class:"phase",key:a},[ce(i,{type:"phase",name:a,class:bs(["phaseIcon",{active:e.isActive(a),inactive:!e.isActive(a)}])},null,8,["name","class"])]))),128)),_("p",null,B(e.t("roundPhaseExecution.botActions")),1),(j(),Rt(Bh(`${e.selectedBotPhase}Actions`),{phase:e.selectedBotPhase,chosenPhase:e.isChosenPhase(e.navigationState.selectedPhase),navigationState:e.navigationState},null,8,["phase","chosenPhase","navigationState"])),e.isLastPhase&&e.navigationState.objectiveGain?(j(),Rt(l,{key:0})):Ge("",!0)])):Ge("",!0),_("button",{class:"btn btn-success btn-lg mt-4",onClick:t[0]||(t[0]=a=>e.completed())},B(e.t("roundPhaseExecution.completed")),1),e.isExploreBotPhase?Ge("",!0):(j(),G("button",{key:1,class:"btn btn-danger btn-lg mt-4 ms-2",onClick:t[1]||(t[1]=a=>e.notPossible())},B(e.t("roundPhaseExecution.notPossible")),1))],64)}const hv=Se(uv,[["render",dv],["__scopeId","data-v-ba93c6a2"]]),pv=ge({name:"RoundPhaseExecution",components:{FooterButtons:bo,PhaseExecution:hv},setup(){const{t:e}=Ae(),t=Df(),n=Tt(),s=new Ut(t,n),r=s.round,o=s.phase;return{t:e,state:n,navigationState:s,round:r,phase:o}},computed:{backButtonRouteTo(){return this.phase>1?`/round/${this.round}/phase/${this.phase-1}`:`/round/${this.round}/selectPhase`}},methods:{next(){this.phase>=this.navigationState.selectedPhases.length?this.$router.push(`/round/${this.round+1}/selectPhase`):this.$router.push(`/round/${this.round}/phase/${this.phase+1}`)}}});function mv(e,t,n,s,r,o){const i=we("PhaseExecution"),l=we("FooterButtons");return j(),G(ne,null,[_("h1",null,B(e.t("roundPhaseExecution.title",{round:e.round,phase:e.phase})),1),ce(i,{navigationState:e.navigationState,onNext:e.next},null,8,["navigationState","onNext"]),ce(l,{backButtonRouteTo:e.backButtonRouteTo,endGameButtonType:e.round>1?"endGame":"abortGame"},null,8,["backButtonRouteTo","endGameButtonType"])],64)}const _v=Se(pv,[["render",mv]]),gv=ge({name:"EndGameScoring",components:{FooterButtons:bo},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},data(){return{playerVPChips:0,playerVPDevelopmentWorlds:0,playerVP6PlusWorlds:0,playerTalentCounters:0,botVPChips:0,botVPDevelopmentWorlds:0,botVP6PlusWorlds:0,botTalentCounters:0}},computed:{totalPlayer(){return this.playerVPChips+this.playerVPDevelopmentWorlds+this.playerVP6PlusWorlds+this.playerTalentCounters},totalBot(){return this.botVPChips+this.botVPDevelopmentWorlds+this.botVP6PlusWorlds+this.botTalentCounters},isObjectivesModule(){return this.state.setup.modules.includes(cs.OBJECTIVE)},isProfessionalDifficultyLevel(){return this.state.setup.difficultyLevel==Ln.PROFESSIONAL}},methods:{inputSelectAll(e){e.target.select()}}}),Mf=e=>(lo("data-v-df84702e"),e=e(),ao(),e),vv={id:"endGameScoringTitle"},bv={"aria-describedby":"endGameScoringTitle"},Ev=Mf(()=>_("th",{scope:"col"},null,-1)),yv={scope:"col"},Tv={scope:"col"},wv={scope:"row"},Av={scope:"row"},Sv={scope:"row"},Ov={key:0},Cv={key:1},Lv={key:0},Pv={scope:"row"},Nv={scope:"row"},$v={class:"mt-3"},Iv={key:0},Dv=Mf(()=>_("br",null,null,-1));function Rv(e,t,n,s,r,o){const i=we("FooterButtons");return j(),G(ne,null,[_("h1",vv,B(e.t("endGameScoring.title")),1),_("table",bv,[_("tr",null,[Ev,_("th",yv,B(e.t("endGameScoring.player")),1),_("th",Tv,B(e.t("endGameScoring.bot")),1)]),_("tr",null,[_("th",wv,B(e.t("endGameScoring.vpChips")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[0]||(t[0]=l=>e.playerVPChips=l),onFocus:t[1]||(t[1]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerVPChips]])]),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[2]||(t[2]=l=>e.botVPChips=l),onFocus:t[3]||(t[3]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botVPChips]])])]),_("tr",null,[_("th",Av,B(e.t("endGameScoring.vpDevelopmentWorld")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[4]||(t[4]=l=>e.playerVPDevelopmentWorlds=l),onFocus:t[5]||(t[5]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerVPDevelopmentWorlds]])]),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[6]||(t[6]=l=>e.botVPDevelopmentWorlds=l),onFocus:t[7]||(t[7]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botVPDevelopmentWorlds]])])]),_("tr",null,[_("th",Sv,B(e.t("endGameScoring.vp6PlusBonus")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[8]||(t[8]=l=>e.playerVP6PlusWorlds=l),onFocus:t[9]||(t[9]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerVP6PlusWorlds]])]),e.isProfessionalDifficultyLevel?(j(),G("td",Ov,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[10]||(t[10]=l=>e.botVP6PlusWorlds=l),onFocus:t[11]||(t[11]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botVP6PlusWorlds]])])):(j(),G("td",Cv))]),e.isObjectivesModule?(j(),G("tr",Lv,[_("th",Pv,B(e.t("endGameScoring.talentCounters")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[12]||(t[12]=l=>e.playerTalentCounters=l),onFocus:t[13]||(t[13]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerTalentCounters]])]),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[14]||(t[14]=l=>e.botTalentCounters=l),onFocus:t[15]||(t[15]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botTalentCounters]])])])):Ge("",!0),_("tr",null,[_("th",Nv,B(e.t("endGameScoring.total")),1),_("td",null,[_("b",null,B(e.totalPlayer)+" "+B(e.t("endGameScoring.vps")),1)]),_("td",null,[_("b",null,B(e.totalBot)+" "+B(e.t("endGameScoring.vps")),1)])])]),_("p",$v,[Me(B(e.t("endGameScoring.difficultyLevel"))+" ",1),_("b",null,B(e.t(`difficultyLevel.${e.state.setup.difficultyLevel}`)),1),e.isObjectivesModule?(j(),G("span",Iv,[Dv,Me(" "+B(e.t("endGameScoring.objectiveDifficultyLevel"))+" ",1),_("b",null,B(e.t(`objectiveDifficultyLevel.${e.state.setup.objectiveDifficultyLevel}`)),1)])):Ge("",!0)]),ce(i,{endGameButtonType:"endGame"})],64)}const kv=Se(gv,[["render",Rv],["__scopeId","data-v-df84702e"]]),Mv=`${Ef}.route`,xv=[{path:"/",name:"AppHome",component:cg},{path:"/setupGame",name:"SetupGame",component:w0},{path:"/round/:round/selectPhase",name:"RoundPhaseSelection",component:c2},{path:"/round/:round/phase/:phase",name:"RoundPhaseExecution",component:_v},{path:"/scoring",name:"EndGameScoring",component:kv},{path:"/:pathMatch(.*)*",name:"NotFound",component:dg}],zv=L1(xv,Mv,"AppHome"),jo=e=>e&&typeof e=="object"&&!Array.isArray(e),Ii=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(jo(e)&&jo(n))for(const s in n)jo(n[s])?(e[s]||Object.assign(e,{[s]:{}}),Ii(e[s],n[s])):Object.assign(e,{[s]:n[s]});return Ii(e,...t)},Fv=Ii({},{de:{gameTitle:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy"])},home:{title:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy Solo Helper"])},play1:e=>{const{normalize:t}=e;return t(["Spiele Roll for the Galaxy gegen einen Bot mit dem inoffiziellen Solo-Modus von Dale Buonocore and Ken Thibodeau."])},play2:e=>{const{normalize:t}=e;return t(["Du kannst mit dem Grundspiel spielen, oder die zusätzlichen Plättchen und Würfel der Erweiterungen Der große Traum und Große Konkurrenz hinzufügen. Von den optionalen Modulen wird nur das Aufgaben-Moduls aus Der große Traum unterstützt."])},feedback:e=>{const{normalize:t}=e;return t(["Discussion and Feedback:"])}},setup:{title:e=>{const{normalize:t}=e;return t(["Spielaufbau"])},general:{title:e=>{const{normalize:t}=e;return t(["Aufbau"])},setup2Players:e=>{const{normalize:t}=e;return t(["Baue das Spiel für 2 Spieler auf."])},botPlayerMat:e=>{const{normalize:t}=e;return t(["Bot benötigt nur eine Ablagetafel und einen Krediteinheiten-Marker (startet auf $1)."])},botNoHomeWorld:e=>{const{normalize:t}=e;return t(["Bot bekommt zum Start keine Heimatwelt und kein Fraktionsplättchen."])},botDrawTiles:e=>{const{normalize:t}=e;return t(["Bot zieht zu Beginn zwei Plättchen: platziere die Welt mit den geringeren Kosten als Welt in seiner Konstruktionszone (bei Gleichstand wähle selbst). Das andere Plättchen lege als Entwicklung in die Konstruktionszone. Wenn Bot eine graue Startwelt gezogen hat, tausche sie durch ein anderes Plättchen aus."])}},modules:{title:e=>{const{normalize:t}=e;return t(["Module"])},objective:e=>{const{normalize:t}=e;return t(["Aufgaben-Modul (Der große Traum-Erweiterung)"])}},difficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Schwierigkeitsgrad"])},easy:e=>{const{normalize:t}=e;return t(["Leicht"])},hard:e=>{const{normalize:t}=e;return t(["Schwer"])}},objectiveDifficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Schwierigkeitsgrad für Aufgaben"])},easy:e=>{const{normalize:t}=e;return t(["Leicht"])},hard:e=>{const{normalize:t}=e;return t(["Schwer"])}}},roundPhaseSelection:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Runde ",n(s("round"))])},pickPhase:e=>{const{normalize:t}=e;return t(["Markiere die gewählte Phase."])},playerSelected:e=>{const{normalize:t}=e;return t(["Spieler:"])},botSelected:e=>{const{normalize:t}=e;return t(["Bot:"])}},roundPhaseExecution:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Runde ",n(s("round"))])},botActions:e=>{const{normalize:t}=e;return t(["Bot-Aktionen:"])},completed:e=>{const{normalize:t}=e;return t(["Bot-Aktionen ausgeführt"])},notPossible:e=>{const{normalize:t}=e;return t(["Nicht möglich"])},exploreActions:{drawTile:e=>{const{normalize:t}=e;return t(["Bot zieht 1 Plättchen und platziert es entweder unter den Stapel der Welten oder Entwicklungen, je nachdem welcher Stapel kleiner ist. Platziere als Welt bei gleich großen Stapeln."])},earnMoney:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot erhält $",n(s("amount")),"."])}},developActions:{completeDevelopment:e=>{const{normalize:t}=e;return t(["Bot stellt seine oberste Entwicklung fertig, wenn er genug Krediteinheiten dafür hat."])},notes:e=>{const{normalize:t}=e;return t(["Bot benötigt keine Entwickler, er zahlt mit Krediteinheiten. Bot ignoriert alle Fähigkeiten und Effekte der Entwicklungen. Die Plättchen zählen nur als Siegpunkte beim Spielende."])}},settleActions:{completeWorld:e=>{const{normalize:t}=e;return t(["Bot stellt seine oberste Welt fertig, wenn er genug Krediteinheiten dafür hat."])},notes:e=>{const{normalize:t}=e;return t(["Bot benötigt keine Siedler, er zahlt mit Krediteinheiten. Bot erhält niemals neue Würfel und profitiert niemals von Soforteffekten der Welten. Die Plättchen zählen nur als Siegpunkte beim Spielende."])}},produceActions:{produceWorlds:e=>{const{normalize:t,interpolate:n,named:s,plural:r}=e;return r([t(["Bot produziert Güter auf seiner ",n(s("amount"))," wertvollsten Welt."]),t(["Bot produziert Güter auf seinen ",n(s("amount"))," wertvollsten Welten."])])},priority:e=>{const{normalize:t}=e;return t(["Priorität:"])},notes:e=>{const{normalize:t}=e;return t(["Verwende Würfel aus dem Vorrat für die produzierten Güter."])}},shipActions:{tradeFirst:e=>{const{normalize:t}=e;return t(["Bot handelt ein Gut von der wertvollsten Welt gegen Krediteinheiten (bis zum Maximum von 10$)."])},consumeNext:e=>{const{normalize:t}=e;return t(["Anschließend verbraucht er das Gut von der zweitwertvollsten Welt (wenn verfügbar) für Siegpunkte. Wenn Bot bereits $10 hat, verbraucht er zweimal."])},tradeOnly:e=>{const{normalize:t}=e;return t(["Bot handelt ein Gut von der wertvollsten Welt gegen Krediteinheiten (bis zum Maximum von 10$). Wenn Bot bereits $10 hat, verbraucht er anstelle ein Gut von der zweitwertvollsten Welt bzw. irgendein verfügbares Gut."])},priority:e=>{const{normalize:t}=e;return t(["Priorität"])},tradeValue:e=>{const{normalize:t}=e;return t(["Handelsertrag"])},botConsumes:e=>{const{normalize:t}=e;return t(["Bot verbraucht"])},vps:e=>{const{normalize:t}=e;return t(["VPs"])}},gainObjectiveActions:{gainObjective:e=>{const{normalize:t}=e;return t(["Bot hat eine der verfügbaren Aufgaben erfüllt!"])},pickObjective:e=>{const{normalize:t}=e;return t(["Aufgabentafel wählen"])},tilesLeft:e=>{const{normalize:t}=e;return t(["Wie viele Aufgabentafeln sind übrig?"])},tiles:e=>{const{normalize:t}=e;return t(["Tafeln"])},picksTile:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot wählt Aufgabentafel Nummer ",n(s("tile"))," und erhält die entsprechenden Leistungsmarker."])}}},endGameScoring:{title:e=>{const{normalize:t}=e;return t(["Spielende"])},player:e=>{const{normalize:t}=e;return t(["Spieler"])},bot:e=>{const{normalize:t}=e;return t(["Bot"])},vpChips:e=>{const{normalize:t}=e;return t(["SP-Chips"])},vpDevelopmentWorld:e=>{const{normalize:t}=e;return t(["Entwicklungen/Welten"])},vp6PlusBonus:e=>{const{normalize:t}=e;return t(["6+ Boni"])},talentCounters:e=>{const{normalize:t}=e;return t(["Leistungsmarker"])},total:e=>{const{normalize:t}=e;return t(["Summe"])},vps:e=>{const{normalize:t}=e;return t(["SPs"])},difficultyLevel:e=>{const{normalize:t}=e;return t(["Schwierigkeitsgrad:"])},objectiveDifficultyLevel:e=>{const{normalize:t}=e;return t(["Aufgaben:"])}},difficultyLevel:{1:e=>{const{normalize:t}=e;return t(["Level 1 - Normal"])},2:e=>{const{normalize:t}=e;return t(["Level 2 - Fortgeschritten"])},3:e=>{const{normalize:t}=e;return t(["Level 3 - Experte"])},4:e=>{const{normalize:t}=e;return t(["Level 4 - Profi"])}},difficultyLevelExplanation:{1:e=>{const{normalize:t}=e;return t(["Güter für 2/2/3/3 SPs verbrauchen"])},2:e=>{const{normalize:t}=e;return t(["Güter für 2/3/4/5 SPs verbrauchen"])},3:e=>{const{normalize:t}=e;return t(["Güter für 3/4/5/6 SPs verbrauchen"])},4:e=>{const{normalize:t}=e;return t(["Güter für 3/4/5/6 SPs verbrauchen, 6+-Wertungen berücksichtigen"])}},objectiveDifficultyLevel:{1:e=>{const{normalize:t}=e;return t(["Normal (1 aus 10-Wahrscheinlichkeit eine Aufgabe zu erfüllen, max. 2)"])},2:e=>{const{normalize:t}=e;return t(["Schwer (1 aus 8-Wahrscheinlichkeit eine Aufgabe zu erfüllen, max. 2)"])},3:e=>{const{normalize:t}=e;return t(["Wahnwitzig (1 aus 6-Wahrscheinlichkeit eine Aufgabe zu erfüllen, max. 2)"])}},notfound:{title:e=>{const{normalize:t}=e;return t(["Nicht gefunden"])}},action:{playGame:e=>{const{normalize:t}=e;return t(["Spielen"])},startGame:e=>{const{normalize:t}=e;return t(["Spiel starten"])},next:e=>{const{normalize:t}=e;return t(["Weiter"])},nextRound:e=>{const{normalize:t}=e;return t(["Nächste Runde"])},abortGame:e=>{const{normalize:t}=e;return t(["Spiel abbrechen"])},abortGameConfirm:e=>{const{normalize:t}=e;return t(["Das aktuelle Spiel wird abgebrochen - bist Du sicher?"])},endGame:e=>{const{normalize:t}=e;return t(["Spiel beenden"])},endGameConfirm:e=>{const{normalize:t}=e;return t(["Dieses Spiel wird beendet - bist Du sicher?"])},endGameGoToScoringConfirm:e=>{const{normalize:t}=e;return t(["Spiel beenden und zur Punkteauswertung gehen?"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},backToHome:e=>{const{normalize:t}=e;return t(["Zurück zum Anfang"])},back:e=>{const{normalize:t}=e;return t(["Zurück"])},close:e=>{const{normalize:t}=e;return t(["Schließen"])}},footer:{credits:e=>{const{normalize:t}=e;return t(["Credits"])}},serviceWorkerUpdatedRefresh:{title:e=>{const{normalize:t}=e;return t(["Applikation neu laden"])},notice:e=>{const{normalize:t}=e;return t(["Die Applikation wurde aktualisiert - möchtest du die Seite neu laden um die neueste Version zu nutzen?"])}}}},{en:{gameTitle:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy"])},home:{title:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy Solo Helper"])},play1:e=>{const{normalize:t}=e;return t(["Play Roll for the Galaxy against a Bot with the unofficial Solo Mode by Dale Buonocore and Ken Thibodeau."])},play2:e=>{const{normalize:t}=e;return t(["You can play with the base game, or with all the additional tiles and dice from the expansion Ambition or Rivalry. From the optional modules, only the Objectives module from the Ambition expansion is supported."])},feedback:e=>{const{normalize:t}=e;return t(["Discussion and Feedback:"])}},setup:{title:e=>{const{normalize:t}=e;return t(["Setup Game"])},general:{title:e=>{const{normalize:t}=e;return t(["Setup"])},setup2Players:e=>{const{normalize:t}=e;return t(["Setup the game for 2 players."])},botPlayerMat:e=>{const{normalize:t}=e;return t(["Bot only needs a player mat and a credit marker (starting at $1)."])},botNoHomeWorld:e=>{const{normalize:t}=e;return t(["Bot does not start with a Home World or Faction tile."])},botDrawTiles:e=>{const{normalize:t}=e;return t(["Bot randomly draws 2 tiles: first, place the lower cost world in his construction zone (you decide which one if equal), then the other tile as a development. If Bot drew a gray starting world, replace it with a different tile."])}},modules:{title:e=>{const{normalize:t}=e;return t(["Modules"])},objective:e=>{const{normalize:t}=e;return t(["Objective Module (Ambition expansion)"])}},difficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Difficulty Level"])},easy:e=>{const{normalize:t}=e;return t(["Easy"])},hard:e=>{const{normalize:t}=e;return t(["Hard"])}},objectiveDifficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Difficulty Level for Objectives"])},easy:e=>{const{normalize:t}=e;return t(["Easy"])},hard:e=>{const{normalize:t}=e;return t(["Hard"])}}},roundPhaseSelection:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Round ",n(s("round"))])},pickPhase:e=>{const{normalize:t}=e;return t(["Pick your selected phase."])},playerSelected:e=>{const{normalize:t}=e;return t(["Player:"])},botSelected:e=>{const{normalize:t}=e;return t(["Bot:"])}},roundPhaseExecution:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Round ",n(s("round"))])},botActions:e=>{const{normalize:t}=e;return t(["Bot actions:"])},completed:e=>{const{normalize:t}=e;return t(["Bot actions completed"])},notPossible:e=>{const{normalize:t}=e;return t(["Not possible"])},exploreActions:{drawTile:e=>{const{normalize:t}=e;return t(["Bot draws 1 tile, places it as either a world or development at the bottom of whichever construction zone stack is the shortest. Place tile as a world in case of a tie."])},earnMoney:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot earns $",n(s("amount")),"."])}},developActions:{completeDevelopment:e=>{const{normalize:t}=e;return t(["Bot completes the top development if he has enough credits to pay for it."])},notes:e=>{const{normalize:t}=e;return t(["Bot spends credits instead of workers. Bot will never benefit from any bonus earned through developments. They will only serve as VPs at game end."])}},settleActions:{completeWorld:e=>{const{normalize:t}=e;return t(["Bot completes his topmost world by paying an amount of credits equal to the world’s value, if he has enough."])},notes:e=>{const{normalize:t}=e;return t(["Bot spends credits instead of workers. Bot will never gain new dice and never benefit from any bonus through worlds. They will only serve as VPs at game end."])}},produceActions:{produceWorlds:e=>{const{normalize:t,interpolate:n,named:s,plural:r}=e;return r([t(["Bot produces on his ",n(s("amount"))," highest color value available world."]),t(["Bot produces on his ",n(s("amount"))," highest color value available worlds."])])},priority:e=>{const{normalize:t}=e;return t(["Priority:"])},notes:e=>{const{normalize:t}=e;return t(["Use any die from the supply to serve as the produced good."])}},shipActions:{tradeFirst:e=>{const{normalize:t}=e;return t(["Bot first trades the good from the highest color value world for credits (up to the maximum 10$)."])},consumeNext:e=>{const{normalize:t}=e;return t(["Bot then consumes the good from the next highest color value world (if available) to gain VPs. If Bot already has $10, he consumes twice."])},tradeOnly:e=>{const{normalize:t}=e;return t(["Bot trades the good from the highest color value world for credits (up to the maximum 10$). If Bot already has $10, he consumes the good from the next highest color value world instead, or any good he has."])},priority:e=>{const{normalize:t}=e;return t(["Priority"])},tradeValue:e=>{const{normalize:t}=e;return t(["Trade value"])},botConsumes:e=>{const{normalize:t}=e;return t(["Bot consumes"])},vps:e=>{const{normalize:t}=e;return t(["VPs"])}},gainObjectiveActions:{gainObjective:e=>{const{normalize:t}=e;return t(["Bot completed an unclaimed objective!"])},pickObjective:e=>{const{normalize:t}=e;return t(["Pick objective tile"])},tilesLeft:e=>{const{normalize:t}=e;return t(["How many objective tiles are left?"])},tiles:e=>{const{normalize:t}=e;return t(["tiles"])},picksTile:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot picks tile number ",n(s("tile"))," and gains talent counters accordingly."])}}},endGameScoring:{title:e=>{const{normalize:t}=e;return t(["End of Game"])},player:e=>{const{normalize:t}=e;return t(["Player"])},bot:e=>{const{normalize:t}=e;return t(["Bot"])},vpChips:e=>{const{normalize:t}=e;return t(["VP Chips"])},vpDevelopmentWorld:e=>{const{normalize:t}=e;return t(["Developments/Worlds"])},vp6PlusBonus:e=>{const{normalize:t}=e;return t(["6+ Bonuses"])},talentCounters:e=>{const{normalize:t}=e;return t(["Talent Counters"])},total:e=>{const{normalize:t}=e;return t(["Total"])},vps:e=>{const{normalize:t}=e;return t(["VPs"])},difficultyLevel:e=>{const{normalize:t}=e;return t(["Difficulty:"])},objectiveDifficultyLevel:e=>{const{normalize:t}=e;return t(["Objectives:"])}},difficultyLevel:{1:e=>{const{normalize:t}=e;return t(["Level 1 - Normal"])},2:e=>{const{normalize:t}=e;return t(["Level 2 - Advanced"])},3:e=>{const{normalize:t}=e;return t(["Level 3 - Expert"])},4:e=>{const{normalize:t}=e;return t(["Level 4 - Professional"])}},difficultyLevelExplanation:{1:e=>{const{normalize:t}=e;return t(["Consume goods for 2/2/3/3 VPs"])},2:e=>{const{normalize:t}=e;return t(["Consume goods for 2/3/4/5 VPs"])},3:e=>{const{normalize:t}=e;return t(["Consume goods for 3/4/5/6 VPs"])},4:e=>{const{normalize:t}=e;return t(["Consume goods for 3/4/5/6 VPs, take 6+ scoring into account"])}},objectiveDifficultyLevel:{1:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Normal (1 out of ",n(s("diceRoll"))," probability to fulfill an objective, max. ",n(s("maxCount")),")"])},2:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Hard (1 out of ",n(s("diceRoll"))," probability to fulfill an objective, max. ",n(s("maxCount")),")"])},3:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Insane (1 out of ",n(s("diceRoll"))," probability to fulfill an objective, max. ",n(s("maxCount")),")"])}},notfound:{title:e=>{const{normalize:t}=e;return t(["Not Found"])}},action:{playGame:e=>{const{normalize:t}=e;return t(["Play Game"])},startGame:e=>{const{normalize:t}=e;return t(["Start Game"])},next:e=>{const{normalize:t}=e;return t(["Next"])},nextRound:e=>{const{normalize:t}=e;return t(["Next Round"])},abortGame:e=>{const{normalize:t}=e;return t(["Abort Game"])},abortGameConfirm:e=>{const{normalize:t}=e;return t(["Aborting the running game - are you sure?"])},endGame:e=>{const{normalize:t}=e;return t(["End Game"])},endGameConfirm:e=>{const{normalize:t}=e;return t(["End this game and return to home screen - are you sure?"])},endGameGoToScoringConfirm:e=>{const{normalize:t}=e;return t(["End this game and go to scoring screen?"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},backToHome:e=>{const{normalize:t}=e;return t(["Back to Home"])},back:e=>{const{normalize:t}=e;return t(["Back"])},close:e=>{const{normalize:t}=e;return t(["Close"])}},footer:{credits:e=>{const{normalize:t}=e;return t(["Credits"])}},serviceWorkerUpdatedRefresh:{title:e=>{const{normalize:t}=e;return t(["Refresh Application"])},notice:e=>{const{normalize:t}=e;return t(["The application was updated - do you want to refresh to use the latest version?"])}}}}),Vv=z_({legacy:!1,locale:"en",fallbackLocale:"en",messages:Fv}),Hv=ge({name:"AppHeader",props:{title:{type:String,require:!0}},emits:{setLocale(e){return e.language.length>0}},setup(){const{locale:e,availableLocales:t}=Ae({inheritLocale:!0,useScope:"global"});return{locale:e,availableLocales:t}},methods:{setLocale(e){this.$emit("setLocale",{language:e})}}}),Bv="data:image/svg+xml,%3csvg%20style='height:%20512px;%20width:%20512px;'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3e%3cpath%20d='M0%200h512v512H0z'%20fill='%23212529'%20fill-opacity='1'%3e%3c/path%3e%3cg%20class=''%20style=''%20transform='translate(0,0)'%3e%3cpath%20d='M35.31%2022.3C27.498%2042.766%2022.138%2064.643%2020%2087.378l103.705%2027.79-4.838%2018.052-99.873-26.763c-.012.954-.035%201.905-.035%202.86%200%2014.055%201.196%2027.83%203.48%2041.23h94.146v18.687H26.393c3.368%2013.324%207.83%2026.207%2013.29%2038.547l79.184-21.216%204.838%2018.05-75.64%2020.27c5.994%2011.096%2012.817%2021.67%2020.396%2031.636l61.933-35.756%209.343%2016.183-59.22%2034.192c7.782%208.728%2016.18%2016.885%2025.132%2024.4l44.73-44.726%2013.214%2013.215-43.055%2043.052c8.963%206.406%2018.374%2012.215%2028.186%2017.357l28.734-49.772%2016.186%209.346-27.987%2048.472c12.545%205.367%2025.63%209.697%2039.156%2012.87.99%203.566%202.08%207.103%203.25%2010.593-12.36%209.993-24.163%2020.49-35.12%2031.728-4.458-2.16-9.46-3.373-14.75-3.373-18.707%200-33.874%2015.164-33.874%2033.873%200%201.715.13%203.402.377%205.05%202.02-11.514%2012.06-20.265%2024.153-20.265%203.103%200%206.068.582%208.8%201.633-10.103%2012.102-19.193%2025.08-26.906%2039.23%2013.897-7.544%2027.684-15.755%2041.15-24.764.96%202.63%201.485%205.468%201.485%208.43%200%2012.122-8.796%2022.184-20.352%2024.168%201.685.258%203.412.393%205.168.393%2018.71%200%2033.873-15.168%2033.873-33.875%200-4.17-.757-8.16-2.134-11.848%2010.033-7.467%2019.823-15.43%2029.26-23.984%202.978%205.705%206.203%2011.034%209.65%2015.818l-43.53%2087.17c48.267%2022.47%20115.7%2022.76%20157.872%200l-42.13-84.36c3.722-4.81%207.21-10.25%2010.426-16.14%208.577%207.617%2017.428%2014.77%2026.483%2021.508-1.375%203.685-2.13%207.67-2.13%2011.836%200%2018.707%2015.165%2033.873%2033.874%2033.873%201.758%200%203.486-.132%205.172-.39-11.56-1.983-20.355-12.045-20.355-24.168%200-2.964.525-5.805%201.49-8.435%2013.464%209.006%2027.247%2017.223%2041.143%2024.767-7.71-14.148-16.78-27.136-26.877-39.238%202.726-1.045%205.682-1.623%208.775-1.623%2012.09%200%2022.13%208.75%2024.15%2020.262.246-1.647.377-3.332.377-5.047%200-18.71-15.166-33.873-33.875-33.873-5.275%200-10.268%201.205-14.72%203.355-10.007-10.27-20.74-19.908-31.946-29.12%201.938-5.52%203.658-11.18%205.132-16.886%207.91-2.368%2015.65-5.14%2023.2-8.283l-28.497-49.356%2016.186-9.346%2029.34%2050.816c9.98-5.11%2019.555-10.9%2028.672-17.308l-44.146-44.147%2013.215-13.216%2045.926%2045.922c9.145-7.557%2017.72-15.785%2025.666-24.6l-60.95-35.19%209.343-16.182%2063.748%2036.804c7.76-10.087%2014.746-20.807%2020.87-32.07l-77.93-20.883%204.837-18.05%2081.534%2021.847c5.588-12.533%2010.157-25.625%2013.584-39.178h-92.836v-18.687h96.777c2.282-13.4%203.48-27.174%203.48-41.23%200-1.19-.025-2.376-.044-3.563L397.652%20133.22l-4.836-18.054L499.09%2086.69c-2.18-22.49-7.52-44.13-15.254-64.39h-.004C457.315%2063.81%20400.24%2096.234%20329.068%20109.32c12.67%2015.603%2020.442%2035.52%2020.442%2057.233%200%2031.196-15.723%2058.718-39.604%2075-21.27-12.407-42.907-28.878-45.52-43.814l17.653-3.81-2.235-10.352c15.67-11.335%2033.936-9.138%2053.433-.01l-18.302-40.414-41.903%209.04-2.846-13.188V139l-80.87%2017.453%2020.458%2030.266c-8.595%2019.678-2.717%2041.68%205.45%2058.56-27.204-15.57-45.592-44.998-45.592-78.73%200-21.713%207.772-41.63%2020.44-57.232C118.904%2096.234%2061.83%2063.81%2035.312%2022.3zm216.45%20132.567c5.244-.056%209.98%203.573%2011.13%208.9%201.312%206.085-2.557%2012.084-8.644%2013.397-6.087%201.313-12.085-2.556-13.398-8.643-1.314-6.085%202.556-12.086%208.642-13.4.76-.163%201.52-.245%202.27-.253z'%20fill='%23fff'%20fill-opacity='1'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",jv=e=>(lo("data-v-26d147cb"),e=e(),ao(),e),Wv={class:"header bg-dark fixed-top"},Uv=jv(()=>_("a",{class:"logo",href:"https://brdgm.me/"},[_("img",{class:"icon",src:Bv,alt:""}),_("div",{class:"title"},"brdgm.me")],-1)),Gv={class:"gameTitle"},Kv={class:"langSelector"},Yv={class:"btn btn-secondary btn-sm dropdown-toggle",id:"dropdownMenuButton1","data-bs-toggle":"dropdown","aria-expanded":"false"},qv={class:"dropdown-menu","aria-labelledby":"dropdownMenuButton1"},Xv=["onClick"];function Zv(e,t,n,s,r,o){return j(),G("div",Wv,[Uv,_("div",Gv,B(e.title),1),_("div",Kv,[_("button",Yv,B(e.locale),1),_("ul",qv,[_("li",null,[(j(!0),G(ne,null,Nt(e.availableLocales,i=>(j(),G("a",{class:bs(["dropdown-item",{active:i==e.locale}]),href:"#",key:i,onClick:Dr(l=>e.setLocale(i),["prevent"])},B(i),11,Xv))),128))])])])])}const Qv=Se(Hv,[["render",Zv],["__scopeId","data-v-26d147cb"]]),Jv=ge({name:"AppFooter",props:{buildNumber:{type:String,require:!0},creditsLabel:{type:String,require:!0},creditsModalId:{type:String,require:!0},zoomEnabled:{type:Boolean,require:!1},baseFontSize:{type:Number,require:!1}},emits:{zoomFontSize(e){return e.baseFontSize>0}},data(){return{currentBaseFontSize:this.baseFontSize??1}},computed:{zoomPercent(){return Math.floor(this.currentBaseFontSize*100)+"%"}},methods:{zoomIn(){this.currentBaseFontSize<3&&(this.currentBaseFontSize+=.1),this.$emit("zoomFontSize",{baseFontSize:this.currentBaseFontSize})},zoomOut(){this.currentBaseFontSize>.51&&(this.currentBaseFontSize-=.1),this.$emit("zoomFontSize",{baseFontSize:this.currentBaseFontSize})},zoomReset(){this.currentBaseFontSize=1,this.$emit("zoomFontSize",{baseFontSize:this.currentBaseFontSize})}}}),bl=e=>(lo("data-v-f4aa44d1"),e=e(),ao(),e),eb={class:"footer bg-dark fixed-bottom"},tb={class:"links"},nb=["data-bs-target"],sb={class:"version"},rb={key:0},ob=bl(()=>_("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-zoom-in",viewBox:"0 0 16 16"},[_("path",{"fill-rule":"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}),_("path",{d:"M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"}),_("path",{"fill-rule":"evenodd",d:"M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z"})],-1)),ib=[ob],lb=bl(()=>_("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-zoom-out",viewBox:"0 0 16 16"},[_("path",{"fill-rule":"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}),_("path",{d:"M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"}),_("path",{"fill-rule":"evenodd",d:"M3 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z"})],-1)),ab=[lb],cb=bl(()=>_("div",{class:"buttons"},null,-1));function ub(e,t,n,s,r,o){return j(),G("div",eb,[_("div",tb,[_("a",{href:"#","data-bs-toggle":"modal","data-bs-target":"#"+e.creditsModalId},B(e.creditsLabel),9,nb),_("span",sb,"v"+B(e.buildNumber),1)]),e.zoomEnabled?(j(),G("div",rb,[_("a",{class:"zoom-icon",onClick:t[0]||(t[0]=Dr((...i)=>e.zoomIn&&e.zoomIn(...i),["prevent"]))},ib),_("a",{class:"zoom-icon",onClick:t[1]||(t[1]=Dr((...i)=>e.zoomReset&&e.zoomReset(...i),["prevent"]))},B(e.zoomPercent),1),_("a",{class:"zoom-icon",onClick:t[2]||(t[2]=Dr((...i)=>e.zoomOut&&e.zoomOut(...i),["prevent"]))},ab)])):Ge("",!0),cb])}const fb=Se(Jv,[["render",ub],["__scopeId","data-v-f4aa44d1"]]);class db extends Error{constructor(t,n,s,r){super(t),this._key=n,this._named=s??{},this._plural=r||0}get key(){return this._key}get named(){return this._named}get plural(){return this._plural}}function hb(e,t){let n;return e instanceof db?n=t(e):e instanceof Error?n=e.message:n=e,n}var Xe="top",it="bottom",lt="right",Ze="left",To="auto",ws=[Xe,it,lt,Ze],Mn="start",ds="end",xf="clippingParents",El="viewport",Yn="popper",zf="reference",Di=ws.reduce(function(e,t){return e.concat([t+"-"+Mn,t+"-"+ds])},[]),yl=[].concat(ws,[To]).reduce(function(e,t){return e.concat([t,t+"-"+Mn,t+"-"+ds])},[]),Ff="beforeRead",Vf="read",Hf="afterRead",Bf="beforeMain",jf="main",Wf="afterMain",Uf="beforeWrite",Gf="write",Kf="afterWrite",Yf=[Ff,Vf,Hf,Bf,jf,Wf,Uf,Gf,Kf];function kt(e){return e?(e.nodeName||"").toLowerCase():null}function at(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function xn(e){var t=at(e).Element;return e instanceof t||e instanceof Element}function ft(e){var t=at(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Tl(e){if(typeof ShadowRoot>"u")return!1;var t=at(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function pb(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},o=t.elements[n];!ft(o)||!kt(o)||(Object.assign(o.style,s),Object.keys(r).forEach(function(i){var l=r[i];l===!1?o.removeAttribute(i):o.setAttribute(i,l===!0?"":l)}))})}function mb(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],o=t.attributes[s]||{},i=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=i.reduce(function(a,c){return a[c]="",a},{});!ft(r)||!kt(r)||(Object.assign(r.style,l),Object.keys(o).forEach(function(a){r.removeAttribute(a)}))})}}const wl={name:"applyStyles",enabled:!0,phase:"write",fn:pb,effect:mb,requires:["computeStyles"]};function $t(e){return e.split("-")[0]}var Rn=Math.max,Yr=Math.min,hs=Math.round;function Ri(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qf(){return!/^((?!chrome|android).)*safari/i.test(Ri())}function ps(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,o=1;t&&ft(e)&&(r=e.offsetWidth>0&&hs(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&hs(s.height)/e.offsetHeight||1);var i=xn(e)?at(e):window,l=i.visualViewport,a=!qf()&&n,c=(s.left+(a&&l?l.offsetLeft:0))/r,u=(s.top+(a&&l?l.offsetTop:0))/o,f=s.width/r,d=s.height/o;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Al(e){var t=ps(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Xf(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Tl(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function jt(e){return at(e).getComputedStyle(e)}function _b(e){return["table","td","th"].indexOf(kt(e))>=0}function gn(e){return((xn(e)?e.ownerDocument:e.document)||window.document).documentElement}function wo(e){return kt(e)==="html"?e:e.assignedSlot||e.parentNode||(Tl(e)?e.host:null)||gn(e)}function mc(e){return!ft(e)||jt(e).position==="fixed"?null:e.offsetParent}function gb(e){var t=/firefox/i.test(Ri()),n=/Trident/i.test(Ri());if(n&&ft(e)){var s=jt(e);if(s.position==="fixed")return null}var r=wo(e);for(Tl(r)&&(r=r.host);ft(r)&&["html","body"].indexOf(kt(r))<0;){var o=jt(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function ir(e){for(var t=at(e),n=mc(e);n&&_b(n)&&jt(n).position==="static";)n=mc(n);return n&&(kt(n)==="html"||kt(n)==="body"&&jt(n).position==="static")?t:n||gb(e)||t}function Sl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Bs(e,t,n){return Rn(e,Yr(t,n))}function vb(e,t,n){var s=Bs(e,t,n);return s>n?n:s}function Zf(){return{top:0,right:0,bottom:0,left:0}}function Qf(e){return Object.assign({},Zf(),e)}function Jf(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var bb=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Qf(typeof t!="number"?t:Jf(t,ws))};function Eb(e){var t,n=e.state,s=e.name,r=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,l=$t(n.placement),a=Sl(l),c=[Ze,lt].indexOf(l)>=0,u=c?"height":"width";if(!(!o||!i)){var f=bb(r.padding,n),d=Al(o),m=a==="y"?Xe:Ze,E=a==="y"?it:lt,b=n.rects.reference[u]+n.rects.reference[a]-i[a]-n.rects.popper[u],C=i[a]-n.rects.reference[a],A=ir(o),L=A?a==="y"?A.clientHeight||0:A.clientWidth||0:0,z=b/2-C/2,T=f[m],k=L-d[u]-f[E],H=L/2-d[u]/2+z,R=Bs(T,H,k),U=a;n.modifiersData[s]=(t={},t[U]=R,t.centerOffset=R-H,t)}}function yb(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Xf(t.elements.popper,r)&&(t.elements.arrow=r))}const ed={name:"arrow",enabled:!0,phase:"main",fn:Eb,effect:yb,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ms(e){return e.split("-")[1]}var Tb={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wb(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:hs(n*r)/r||0,y:hs(s*r)/r||0}}function _c(e){var t,n=e.popper,s=e.popperRect,r=e.placement,o=e.variation,i=e.offsets,l=e.position,a=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=i.x,m=d===void 0?0:d,E=i.y,b=E===void 0?0:E,C=typeof u=="function"?u({x:m,y:b}):{x:m,y:b};m=C.x,b=C.y;var A=i.hasOwnProperty("x"),L=i.hasOwnProperty("y"),z=Ze,T=Xe,k=window;if(c){var H=ir(n),R="clientHeight",U="clientWidth";if(H===at(n)&&(H=gn(n),jt(H).position!=="static"&&l==="absolute"&&(R="scrollHeight",U="scrollWidth")),H=H,r===Xe||(r===Ze||r===lt)&&o===ds){T=it;var q=f&&H===k&&k.visualViewport?k.visualViewport.height:H[R];b-=q-s.height,b*=a?1:-1}if(r===Ze||(r===Xe||r===it)&&o===ds){z=lt;var ee=f&&H===k&&k.visualViewport?k.visualViewport.width:H[U];m-=ee-s.width,m*=a?1:-1}}var re=Object.assign({position:l},c&&Tb),le=u===!0?wb({x:m,y:b},at(n)):{x:m,y:b};if(m=le.x,b=le.y,a){var de;return Object.assign({},re,(de={},de[T]=L?"0":"",de[z]=A?"0":"",de.transform=(k.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",de))}return Object.assign({},re,(t={},t[T]=L?b+"px":"",t[z]=A?m+"px":"",t.transform="",t))}function Ab(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,o=n.adaptive,i=o===void 0?!0:o,l=n.roundOffsets,a=l===void 0?!0:l,c={placement:$t(t.placement),variation:ms(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,_c(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,_c(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ol={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ab,data:{}};var yr={passive:!0};function Sb(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,o=r===void 0?!0:r,i=s.resize,l=i===void 0?!0:i,a=at(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,yr)}),l&&a.addEventListener("resize",n.update,yr),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,yr)}),l&&a.removeEventListener("resize",n.update,yr)}}const Cl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Sb,data:{}};var Ob={left:"right",right:"left",bottom:"top",top:"bottom"};function Rr(e){return e.replace(/left|right|bottom|top/g,function(t){return Ob[t]})}var Cb={start:"end",end:"start"};function gc(e){return e.replace(/start|end/g,function(t){return Cb[t]})}function Ll(e){var t=at(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Pl(e){return ps(gn(e)).left+Ll(e).scrollLeft}function Lb(e,t){var n=at(e),s=gn(e),r=n.visualViewport,o=s.clientWidth,i=s.clientHeight,l=0,a=0;if(r){o=r.width,i=r.height;var c=qf();(c||!c&&t==="fixed")&&(l=r.offsetLeft,a=r.offsetTop)}return{width:o,height:i,x:l+Pl(e),y:a}}function Pb(e){var t,n=gn(e),s=Ll(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=Rn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Rn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-s.scrollLeft+Pl(e),a=-s.scrollTop;return jt(r||n).direction==="rtl"&&(l+=Rn(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:l,y:a}}function Nl(e){var t=jt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function td(e){return["html","body","#document"].indexOf(kt(e))>=0?e.ownerDocument.body:ft(e)&&Nl(e)?e:td(wo(e))}function js(e,t){var n;t===void 0&&(t=[]);var s=td(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=at(s),i=r?[o].concat(o.visualViewport||[],Nl(s)?s:[]):s,l=t.concat(i);return r?l:l.concat(js(wo(i)))}function ki(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Nb(e,t){var n=ps(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function vc(e,t,n){return t===El?ki(Lb(e,n)):xn(t)?Nb(t,n):ki(Pb(gn(e)))}function $b(e){var t=js(wo(e)),n=["absolute","fixed"].indexOf(jt(e).position)>=0,s=n&&ft(e)?ir(e):e;return xn(s)?t.filter(function(r){return xn(r)&&Xf(r,s)&&kt(r)!=="body"}):[]}function Ib(e,t,n,s){var r=t==="clippingParents"?$b(e):[].concat(t),o=[].concat(r,[n]),i=o[0],l=o.reduce(function(a,c){var u=vc(e,c,s);return a.top=Rn(u.top,a.top),a.right=Yr(u.right,a.right),a.bottom=Yr(u.bottom,a.bottom),a.left=Rn(u.left,a.left),a},vc(e,i,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function nd(e){var t=e.reference,n=e.element,s=e.placement,r=s?$t(s):null,o=s?ms(s):null,i=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,a;switch(r){case Xe:a={x:i,y:t.y-n.height};break;case it:a={x:i,y:t.y+t.height};break;case lt:a={x:t.x+t.width,y:l};break;case Ze:a={x:t.x-n.width,y:l};break;default:a={x:t.x,y:t.y}}var c=r?Sl(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Mn:a[c]=a[c]-(t[u]/2-n[u]/2);break;case ds:a[c]=a[c]+(t[u]/2-n[u]/2);break}}return a}function _s(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,o=n.strategy,i=o===void 0?e.strategy:o,l=n.boundary,a=l===void 0?xf:l,c=n.rootBoundary,u=c===void 0?El:c,f=n.elementContext,d=f===void 0?Yn:f,m=n.altBoundary,E=m===void 0?!1:m,b=n.padding,C=b===void 0?0:b,A=Qf(typeof C!="number"?C:Jf(C,ws)),L=d===Yn?zf:Yn,z=e.rects.popper,T=e.elements[E?L:d],k=Ib(xn(T)?T:T.contextElement||gn(e.elements.popper),a,u,i),H=ps(e.elements.reference),R=nd({reference:H,element:z,strategy:"absolute",placement:r}),U=ki(Object.assign({},z,R)),q=d===Yn?U:H,ee={top:k.top-q.top+A.top,bottom:q.bottom-k.bottom+A.bottom,left:k.left-q.left+A.left,right:q.right-k.right+A.right},re=e.modifiersData.offset;if(d===Yn&&re){var le=re[r];Object.keys(ee).forEach(function(de){var Fe=[lt,it].indexOf(de)>=0?1:-1,Oe=[Xe,it].indexOf(de)>=0?"y":"x";ee[de]+=le[Oe]*Fe})}return ee}function Db(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,o=n.rootBoundary,i=n.padding,l=n.flipVariations,a=n.allowedAutoPlacements,c=a===void 0?yl:a,u=ms(s),f=u?l?Di:Di.filter(function(E){return ms(E)===u}):ws,d=f.filter(function(E){return c.indexOf(E)>=0});d.length===0&&(d=f);var m=d.reduce(function(E,b){return E[b]=_s(e,{placement:b,boundary:r,rootBoundary:o,padding:i})[$t(b)],E},{});return Object.keys(m).sort(function(E,b){return m[E]-m[b]})}function Rb(e){if($t(e)===To)return[];var t=Rr(e);return[gc(e),t,gc(t)]}function kb(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,o=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!0:i,a=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,m=n.flipVariations,E=m===void 0?!0:m,b=n.allowedAutoPlacements,C=t.options.placement,A=$t(C),L=A===C,z=a||(L||!E?[Rr(C)]:Rb(C)),T=[C].concat(z).reduce(function(Ye,Qe){return Ye.concat($t(Qe)===To?Db(t,{placement:Qe,boundary:u,rootBoundary:f,padding:c,flipVariations:E,allowedAutoPlacements:b}):Qe)},[]),k=t.rects.reference,H=t.rects.popper,R=new Map,U=!0,q=T[0],ee=0;ee=0,Oe=Fe?"width":"height",te=_s(t,{placement:re,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),oe=Fe?de?lt:Ze:de?it:Xe;k[Oe]>H[Oe]&&(oe=Rr(oe));var ae=Rr(oe),be=[];if(o&&be.push(te[le]<=0),l&&be.push(te[oe]<=0,te[ae]<=0),be.every(function(Ye){return Ye})){q=re,U=!1;break}R.set(re,be)}if(U)for(var je=E?3:1,We=function(Qe){var Te=T.find(function(S){var F=R.get(S);if(F)return F.slice(0,Qe).every(function(M){return M})});if(Te)return q=Te,"break"},Ce=je;Ce>0;Ce--){var st=We(Ce);if(st==="break")break}t.placement!==q&&(t.modifiersData[s]._skip=!0,t.placement=q,t.reset=!0)}}const sd={name:"flip",enabled:!0,phase:"main",fn:kb,requiresIfExists:["offset"],data:{_skip:!1}};function bc(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ec(e){return[Xe,lt,it,Ze].some(function(t){return e[t]>=0})}function Mb(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,i=_s(t,{elementContext:"reference"}),l=_s(t,{altBoundary:!0}),a=bc(i,s),c=bc(l,r,o),u=Ec(a),f=Ec(c);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const rd={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Mb};function xb(e,t,n){var s=$t(e),r=[Ze,Xe].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=o[0],l=o[1];return i=i||0,l=(l||0)*r,[Ze,lt].indexOf(s)>=0?{x:l,y:i}:{x:i,y:l}}function zb(e){var t=e.state,n=e.options,s=e.name,r=n.offset,o=r===void 0?[0,0]:r,i=yl.reduce(function(u,f){return u[f]=xb(f,t.rects,o),u},{}),l=i[t.placement],a=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=c),t.modifiersData[s]=i}const od={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:zb};function Fb(e){var t=e.state,n=e.name;t.modifiersData[n]=nd({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const $l={name:"popperOffsets",enabled:!0,phase:"read",fn:Fb,data:{}};function Vb(e){return e==="x"?"y":"x"}function Hb(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,o=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!1:i,a=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,m=d===void 0?!0:d,E=n.tetherOffset,b=E===void 0?0:E,C=_s(t,{boundary:a,rootBoundary:c,padding:f,altBoundary:u}),A=$t(t.placement),L=ms(t.placement),z=!L,T=Sl(A),k=Vb(T),H=t.modifiersData.popperOffsets,R=t.rects.reference,U=t.rects.popper,q=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,ee=typeof q=="number"?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),re=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(H){if(o){var de,Fe=T==="y"?Xe:Ze,Oe=T==="y"?it:lt,te=T==="y"?"height":"width",oe=H[T],ae=oe+C[Fe],be=oe-C[Oe],je=m?-U[te]/2:0,We=L===Mn?R[te]:U[te],Ce=L===Mn?-U[te]:-R[te],st=t.elements.arrow,Ye=m&&st?Al(st):{width:0,height:0},Qe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zf(),Te=Qe[Fe],S=Qe[Oe],F=Bs(0,R[te],Ye[te]),M=z?R[te]/2-je-F-Te-ee.mainAxis:We-F-Te-ee.mainAxis,Y=z?-R[te]/2+je+F+S+ee.mainAxis:Ce+F+S+ee.mainAxis,ue=t.elements.arrow&&ir(t.elements.arrow),h=ue?T==="y"?ue.clientTop||0:ue.clientLeft||0:0,p=(de=re==null?void 0:re[T])!=null?de:0,v=oe+M-p-h,w=oe+Y-p,O=Bs(m?Yr(ae,v):ae,oe,m?Rn(be,w):be);H[T]=O,le[T]=O-oe}if(l){var P,V=T==="x"?Xe:Ze,I=T==="x"?it:lt,D=H[k],N=k==="y"?"height":"width",X=D+C[V],x=D-C[I],g=[Xe,Ze].indexOf(A)!==-1,y=(P=re==null?void 0:re[k])!=null?P:0,W=g?X:D-R[N]-U[N]-y+ee.altAxis,Q=g?D+R[N]+U[N]-y-ee.altAxis:x,ie=m&&g?vb(W,D,Q):Bs(m?W:X,D,m?Q:x);H[k]=ie,le[k]=ie-D}t.modifiersData[s]=le}}const id={name:"preventOverflow",enabled:!0,phase:"main",fn:Hb,requiresIfExists:["offset"]};function Bb(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jb(e){return e===at(e)||!ft(e)?Ll(e):Bb(e)}function Wb(e){var t=e.getBoundingClientRect(),n=hs(t.width)/e.offsetWidth||1,s=hs(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Ub(e,t,n){n===void 0&&(n=!1);var s=ft(t),r=ft(t)&&Wb(t),o=gn(t),i=ps(e,r,n),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(s||!s&&!n)&&((kt(t)!=="body"||Nl(o))&&(l=jb(t)),ft(t)?(a=ps(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):o&&(a.x=Pl(o))),{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function Gb(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function r(o){n.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(l){if(!n.has(l)){var a=t.get(l);a&&r(a)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||r(o)}),s}function Kb(e){var t=Gb(e);return Yf.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function Yb(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function qb(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var yc={placement:"bottom",modifiers:[],strategy:"absolute"};function Tc(){for(var e=arguments.length,t=new Array(e),n=0;n{},yt=Array.isArray,S0=/\/$/,O0=e=>e.replace(S0,"");function Ho(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(s=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=N0(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function C0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ec(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function L0(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&us(t.matched[s],n.matched[r])&&wf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function us(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!P0(e[n],t[n]))return!1;return!0}function P0(e,t){return yt(e)?tc(e,t):yt(t)?tc(t,e):e===t}function tc(e,t){return yt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function N0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var Js;(function(e){e.pop="pop",e.push="push"})(Js||(Js={}));var Hs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hs||(Hs={}));function $0(e){if(!e)if(Kn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),O0(e)}const I0=/^[^#]+#/;function D0(e,t){return e.replace(I0,"#")+t}function R0(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Eo=()=>({left:window.pageXOffset,top:window.pageYOffset});function k0(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=R0(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function nc(e,t){return(history.state?history.state.position-t:-1)+e}const Pi=new Map;function M0(e,t){Pi.set(e,t)}function x0(e){const t=Pi.get(e);return Pi.delete(e),t}let z0=()=>location.protocol+"//"+location.host;function Af(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),ec(a,"")}return ec(n,e)+s+r}function F0(e,t,n,s){let r=[],o=[],i=null;const l=({state:d})=>{const m=Af(e,location),E=n.value,b=t.value;let C=0;if(d){if(n.value=m,t.value=d,i&&i===E){i=null;return}C=b?d.position-b.position:0}else s(m);r.forEach(A=>{A(n.value,E,{delta:C,type:Js.pop,direction:C?C>0?Hs.forward:Hs.back:Hs.unknown})})};function a(){i=n.value}function c(d){r.push(d);const m=()=>{const E=r.indexOf(d);E>-1&&r.splice(E,1)};return o.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(me({},d.state,{scroll:Eo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function sc(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Eo():null}}function V0(e){const{history:t,location:n}=window,s={value:Af(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:z0()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(a,c){const u=me({},t.state,sc(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});o(a,u,!0),s.value=a}function l(a,c){const u=me({},r.value,t.state,{forward:a,scroll:Eo()});o(u.current,u,!0);const f=me({},sc(s.value,a,null),{position:u.position+1},c);o(a,f,!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function H0(e){e=$0(e);const t=V0(e),n=F0(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=me({location:"",base:e,go:s,createHref:D0.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function B0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),H0(e)}function j0(e){return typeof e=="string"||e&&typeof e=="object"}function Sf(e){return typeof e=="string"||typeof e=="symbol"}const Qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Of=Symbol("");var rc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(rc||(rc={}));function fs(e,t){return me(new Error,{type:e,[Of]:!0},t)}function Mt(e,t){return e instanceof Error&&Of in e&&(t==null||!!(e.type&t))}const oc="[^/]+?",W0={sensitive:!1,strict:!1,start:!0,end:!0},U0=/[.+*?^${}()[\]/\\]/g;function G0(e,t){const n=me({},W0,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Y0(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const q0={type:0,value:""},X0=/[a-zA-Z0-9_]/;function Z0(e){if(!e)return[[]];if(e==="/")return[[q0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{i(L)}:Vs}function i(u){if(Sf(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Cf(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ac(u)&&s.set(u.record.name,u)}function c(u,f){let d,m={},E,b;if("name"in u&&u.name){if(d=s.get(u.name),!d)throw fs(1,{location:u});b=d.record.name,m=me(lc(f.params,d.keys.filter(L=>!L.optional).map(L=>L.name)),u.params&&lc(u.params,d.keys.map(L=>L.name))),E=d.stringify(m)}else if("path"in u)E=u.path,d=n.find(L=>L.re.test(E)),d&&(m=d.parse(E),b=d.record.name);else{if(d=f.name?s.get(f.name):n.find(L=>L.re.test(f.path)),!d)throw fs(1,{location:u,currentLocation:f});b=d.record.name,m=me({},f.params,u.params),E=d.stringify(m)}const C=[];let A=d;for(;A;)C.unshift(A.record),A=A.parent;return{name:b,path:E,params:m,matched:C,meta:n1(C)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function lc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function e1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:t1(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 t1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ac(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function n1(e){return e.reduce((t,n)=>me(t,n.meta),{})}function cc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Cf(e,t){return t.children.some(n=>n===e||Cf(e,n))}const Lf=/#/g,s1=/&/g,r1=/\//g,o1=/=/g,i1=/\?/g,Pf=/\+/g,l1=/%5B/g,a1=/%5D/g,Nf=/%5E/g,c1=/%60/g,$f=/%7B/g,u1=/%7C/g,If=/%7D/g,f1=/%20/g;function vl(e){return encodeURI(""+e).replace(u1,"|").replace(l1,"[").replace(a1,"]")}function d1(e){return vl(e).replace($f,"{").replace(If,"}").replace(Nf,"^")}function Ni(e){return vl(e).replace(Pf,"%2B").replace(f1,"+").replace(Lf,"%23").replace(s1,"%26").replace(c1,"`").replace($f,"{").replace(If,"}").replace(Nf,"^")}function h1(e){return Ni(e).replace(o1,"%3D")}function p1(e){return vl(e).replace(Lf,"%23").replace(i1,"%3F")}function m1(e){return e==null?"":p1(e).replace(r1,"%2F")}function Kr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Ni(o)):[s&&Ni(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function g1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=yt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const v1=Symbol(""),fc=Symbol(""),bl=Symbol(""),El=Symbol(""),$i=Symbol("");function Ns(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function nn(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const a=f=>{f===!1?l(fs(4,{from:n,to:t})):f instanceof Error?l(f):j0(f)?l(fs(2,{from:t,to:f})):(o&&s.enterCallbacks[r]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(s&&s.instances[r],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function Bo(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(b1(l)){const c=(l.__vccOpts||l)[t];c&&r.push(nn(c,n,s,o,i))}else{let a=l();r.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=A0(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&nn(d,n,s,o,i)()}))}}return r}function b1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dc(e){const t=ut(bl),n=ut(El),s=He(()=>t.resolve(ts(e.to))),r=He(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(us.bind(null,u));if(d>-1)return d;const m=hc(a[c-2]);return c>1&&hc(u)===m&&f[f.length-1].path!==m?f.findIndex(us.bind(null,a[c-2])):d}),o=He(()=>r.value>-1&&w1(n.params,s.value.params)),i=He(()=>r.value>-1&&r.value===n.matched.length-1&&wf(n.params,s.value.params));function l(a={}){return T1(a)?t[ts(e.replace)?"replace":"push"](ts(e.to)).catch(Vs):Promise.resolve()}return{route:s,href:He(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const E1=ge({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:dc,setup(e,{slots:t}){const n=rr(dc(e)),{options:s}=ut(bl),r=He(()=>({[pc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[pc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:mo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),y1=E1;function T1(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 w1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!yt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function hc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const pc=(e,t,n)=>e??t??n,A1=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ut($i),r=He(()=>e.route||s.value),o=ut(fc,0),i=He(()=>{let c=ts(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=He(()=>r.value.matched[i.value]);Nr(fc,He(()=>i.value+1)),Nr(v1,l),Nr($i,r);const a=Ct();return an(()=>[a.value,l.value,e.name],([c,u,f],[d,m,E])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!us(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return mc(n.default,{Component:d,route:c});const m=f.props[u],E=m?m===!0?c.params:typeof m=="function"?m(c):m:null,C=mo(d,me({},E,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return mc(n.default,{Component:C,route:c})||C}}});function mc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const S1=A1;function O1(e){const t=J0(e.routes,e),n=e.parseQuery||_1,s=e.stringifyQuery||uc,r=e.history,o=Ns(),i=Ns(),l=Ns(),a=Ah(Qt);let c=Qt;Kn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Vo.bind(null,S=>""+S),f=Vo.bind(null,m1),d=Vo.bind(null,Kr);function m(S,F){let M,Y;return Sf(S)?(M=t.getRecordMatcher(S),Y=F):Y=S,t.addRoute(Y,M)}function E(S){const F=t.getRecordMatcher(S);F&&t.removeRoute(F)}function b(){return t.getRoutes().map(S=>S.record)}function C(S){return!!t.getRecordMatcher(S)}function A(S,F){if(F=me({},F||a.value),typeof S=="string"){const v=Ho(n,S,F.path),w=t.resolve({path:v.path},F),O=r.createHref(v.fullPath);return me(v,w,{params:d(w.params),hash:Kr(v.hash),redirectedFrom:void 0,href:O})}let M;if("path"in S)M=me({},S,{path:Ho(n,S.path,F.path).path});else{const v=me({},S.params);for(const w in v)v[w]==null&&delete v[w];M=me({},S,{params:f(v)}),F.params=f(F.params)}const Y=t.resolve(M,F),ue=S.hash||"";Y.params=u(d(Y.params));const h=C0(s,me({},S,{hash:d1(ue),path:Y.path})),p=r.createHref(h);return me({fullPath:h,hash:ue,query:s===uc?g1(S.query):S.query||{}},Y,{redirectedFrom:void 0,href:p})}function L(S){return typeof S=="string"?Ho(n,S,a.value.path):me({},S)}function z(S,F){if(c!==S)return fs(8,{from:F,to:S})}function T(S){return R(S)}function k(S){return T(me(L(S),{replace:!0}))}function H(S){const F=S.matched[S.matched.length-1];if(F&&F.redirect){const{redirect:M}=F;let Y=typeof M=="function"?M(S):M;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=L(Y):{path:Y},Y.params={}),me({query:S.query,hash:S.hash,params:"path"in Y?{}:S.params},Y)}}function R(S,F){const M=c=A(S),Y=a.value,ue=S.state,h=S.force,p=S.replace===!0,v=H(M);if(v)return R(me(L(v),{state:typeof v=="object"?me({},ue,v.state):ue,force:h,replace:p}),F||M);const w=M;w.redirectedFrom=F;let O;return!h&&L0(s,Y,M)&&(O=fs(16,{to:w,from:Y}),We(Y,Y,!0,!1)),(O?Promise.resolve(O):ee(w,Y)).catch(P=>Mt(P)?Mt(P,2)?P:je(P):ae(P,w,Y)).then(P=>{if(P){if(Mt(P,2))return R(me({replace:p},L(P.to),{state:typeof P.to=="object"?me({},ue,P.to.state):ue,force:h}),F||w)}else P=le(w,Y,!0,p,ue);return re(w,Y,P),P})}function U(S,F){const M=z(S,F);return M?Promise.reject(M):Promise.resolve()}function q(S){const F=Ye.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(S):S()}function ee(S,F){let M;const[Y,ue,h]=C1(S,F);M=Bo(Y.reverse(),"beforeRouteLeave",S,F);for(const v of Y)v.leaveGuards.forEach(w=>{M.push(nn(w,S,F))});const p=U.bind(null,S,F);return M.push(p),Te(M).then(()=>{M=[];for(const v of o.list())M.push(nn(v,S,F));return M.push(p),Te(M)}).then(()=>{M=Bo(ue,"beforeRouteUpdate",S,F);for(const v of ue)v.updateGuards.forEach(w=>{M.push(nn(w,S,F))});return M.push(p),Te(M)}).then(()=>{M=[];for(const v of h)if(v.beforeEnter)if(yt(v.beforeEnter))for(const w of v.beforeEnter)M.push(nn(w,S,F));else M.push(nn(v.beforeEnter,S,F));return M.push(p),Te(M)}).then(()=>(S.matched.forEach(v=>v.enterCallbacks={}),M=Bo(h,"beforeRouteEnter",S,F),M.push(p),Te(M))).then(()=>{M=[];for(const v of i.list())M.push(nn(v,S,F));return M.push(p),Te(M)}).catch(v=>Mt(v,8)?v:Promise.reject(v))}function re(S,F,M){l.list().forEach(Y=>q(()=>Y(S,F,M)))}function le(S,F,M,Y,ue){const h=z(S,F);if(h)return h;const p=F===Qt,v=Kn?history.state:{};M&&(Y||p?r.replace(S.fullPath,me({scroll:p&&v&&v.scroll},ue)):r.push(S.fullPath,ue)),a.value=S,We(S,F,M,p),je()}let de;function Fe(){de||(de=r.listen((S,F,M)=>{if(!Qe.listening)return;const Y=A(S),ue=H(Y);if(ue){R(me(ue,{replace:!0}),Y).catch(Vs);return}c=Y;const h=a.value;Kn&&M0(nc(h.fullPath,M.delta),Eo()),ee(Y,h).catch(p=>Mt(p,12)?p:Mt(p,2)?(R(p.to,Y).then(v=>{Mt(v,20)&&!M.delta&&M.type===Js.pop&&r.go(-1,!1)}).catch(Vs),Promise.reject()):(M.delta&&r.go(-M.delta,!1),ae(p,Y,h))).then(p=>{p=p||le(Y,h,!1),p&&(M.delta&&!Mt(p,8)?r.go(-M.delta,!1):M.type===Js.pop&&Mt(p,20)&&r.go(-1,!1)),re(Y,h,p)}).catch(Vs)}))}let Oe=Ns(),te=Ns(),oe;function ae(S,F,M){je(S);const Y=te.list();return Y.length?Y.forEach(ue=>ue(S,F,M)):console.error(S),Promise.reject(S)}function be(){return oe&&a.value!==Qt?Promise.resolve():new Promise((S,F)=>{Oe.add([S,F])})}function je(S){return oe||(oe=!S,Fe(),Oe.list().forEach(([F,M])=>S?M(S):F()),Oe.reset()),S}function We(S,F,M,Y){const{scrollBehavior:ue}=e;if(!Kn||!ue)return Promise.resolve();const h=!M&&x0(nc(S.fullPath,0))||(Y||!M)&&history.state&&history.state.scroll||null;return tl().then(()=>ue(S,F,h)).then(p=>p&&k0(p)).catch(p=>ae(p,S,F))}const Ce=S=>r.go(S);let st;const Ye=new Set,Qe={currentRoute:a,listening:!0,addRoute:m,removeRoute:E,hasRoute:C,getRoutes:b,resolve:A,options:e,push:T,replace:k,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:te.add,isReady:be,install(S){const F=this;S.component("RouterLink",y1),S.component("RouterView",S1),S.config.globalProperties.$router=F,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>ts(a)}),Kn&&!st&&a.value===Qt&&(st=!0,T(r.location).catch(ue=>{}));const M={};for(const ue in Qt)Object.defineProperty(M,ue,{get:()=>a.value[ue],enumerable:!0});S.provide(bl,F),S.provide(El,yu(M)),S.provide($i,a);const Y=S.unmount;Ye.add(S),S.unmount=function(){Ye.delete(S),Ye.size<1&&(c=Qt,de&&de(),de=null,a.value=Qt,st=!1,oe=!1),Y()}}};function Te(S){return S.reduce((F,M)=>F.then(()=>q(M)),Promise.resolve())}return Qe}function C1(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ius(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>us(c,a))||r.push(a))}return[n,s,r]}function Df(){return ut(El)}function L1(e,t,n){if(!e.find(o=>o.name==n))throw new Error(`Home route not found: ${n}`);const s=O1({history:B0(),routes:e});s.afterEach(o=>{localStorage.setItem(t,o.fullPath)});let r=!0;return s.beforeEach((o,i,l)=>{const a=localStorage.getItem(t);o.name===n&&a&&r?l(a):l(),r=!1}),s}var Vt=(e=>(e.EXPLORE="explore",e.DEVELOP="develop",e.SETTLE="settle",e.PRODUCE="produce",e.SHIP="ship",e))(Vt||{});function Rf(e){return Object.values(Vt).filter(t=>e.playerPhase==t||e.botPhases.includes(t))}class Ut{constructor(t,n){Yt(this,"difficultyLevel");Yt(this,"round");Yt(this,"phase");Yt(this,"selectedPhases");Yt(this,"selectedPhase");Yt(this,"botPhases");Yt(this,"objectiveGain");this.difficultyLevel=n.setup.difficultyLevel,this.round=parseInt(t.params.round),this.phase=parseInt(t.params.phase);const s=n.rounds.find(r=>r.round==this.round);s?(this.selectedPhases=Rf(s),this.selectedPhase=this.selectedPhases[this.phase-1],this.botPhases=s.botPhases,this.objectiveGain=s.objectiveGain??!1):(this.selectedPhases=[],this.selectedPhase=void 0,this.botPhases=[],this.objectiveGain=!1)}}const P1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.81px;%20}%20.cls-5%20{%20fill:%20%23fff;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-1'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpolygon%20class='cls-4'%20points='10.2%206.61%207.19%2010.15%204.17%206.61%207.19%203.03%2010.2%206.61'/%3e%3c/g%3e%3c/svg%3e",N1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4,%20.cls-5%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-7%20{%20fill:%20%23231f20;%20}%20.cls-8%20{%20clip-path:%20url(%23clippath);%20}%20.cls-5%20{%20stroke-width:%20.63px;%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-8'%3e%3cpath%20class='cls-7'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-6'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m7.19,4.76c-1.35,0-2.53.74-3.16,1.83.63,1.1,1.81,1.83,3.16,1.83s2.53-.74,3.16-1.83c-.63-1.09-1.81-1.83-3.16-1.83Z'/%3e%3cpath%20class='cls-5'%20d='m8.47,6.59c0,.71-.57,1.28-1.28,1.28s-1.28-.57-1.28-1.28.57-1.28,1.28-1.28,1.28.57,1.28,1.28Z'/%3e%3c/g%3e%3c/svg%3e",$1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-5%20{%20fill:%20%23fff;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3c/g%3e%3c/svg%3e",I1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.81px;%20}%20.cls-5%20{%20fill:%20%23fff;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m10.06,6.59c0,1.59-1.29,2.87-2.88,2.87s-2.87-1.29-2.87-2.87,1.29-2.87,2.87-2.87,2.88,1.29,2.88,2.87Z'/%3e%3c/g%3e%3c/svg%3e",D1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4,%20.cls-5%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.81px;%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-7%20{%20fill:%20%23231f20;%20}%20.cls-8%20{%20clip-path:%20url(%23clippath);%20}%20.cls-5%20{%20stroke-width:%20.63px;%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-8'%3e%3cpath%20class='cls-7'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-1'%20d='m2.93,1.94h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.63c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-6'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.22c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-5'%20d='m5.9,6.59s-1.29-.64-2.26.32c1.61-1.61,3.22-1.29,3.22-1.29'/%3e%3cpath%20class='cls-4'%20d='m5.9,7.88l-.65-.64,2.26-2.26c1.61-1.61,3.22-1.93,3.22-1.93'/%3e%3cpath%20class='cls-5'%20d='m7.19,7.88s.64,1.29-.32,2.26c1.61-1.61,1.29-3.22,1.29-3.22'/%3e%3cpath%20class='cls-4'%20d='m5.9,7.88l.64.65s.64-.65,2.26-2.26c1.61-1.61,1.93-3.22,1.93-3.22'/%3e%3c/g%3e%3c/svg%3e",R1="/roll-for-the-galaxy/assets/develop-RGpJRZoY.png",k1="/roll-for-the-galaxy/assets/explore-WvjFP5qw.png",M1="/roll-for-the-galaxy/assets/phase-disabled-tDIjelod.psd",x1="/roll-for-the-galaxy/assets/produce-U2lkBpE1.png",z1="/roll-for-the-galaxy/assets/settle-Lpyz8fJ9.png",F1="/roll-for-the-galaxy/assets/ship-OMkfxs8H.png",V1="/roll-for-the-galaxy/assets/develop-UiQWIIqz.png",H1="/roll-for-the-galaxy/assets/explore-Xked01aA.png",B1="/roll-for-the-galaxy/assets/produce-_7D1lQJY.png",j1="/roll-for-the-galaxy/assets/settle-StL_TaeV.png",W1="/roll-for-the-galaxy/assets/ship-YP7BlwED.png",U1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-5%20{%20fill:%20%23fff200;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-6'%20points='7.29%209.95%207.29%207.47%208.86%207.1%208.86%209.66%207.29%209.95'/%3e%3c/g%3e%3c/svg%3e",G1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-5%20{%20fill:%20%238dc63f;%20}%20.cls-5,%20.cls-3,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-6'%20points='5.46%209.53%205.46%206.91%207.09%207.48%207.09%209.99%205.46%209.53'/%3e%3c/g%3e%3c/svg%3e",K1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%236dcff6;%20}%20.cls-1,%20.cls-2,%20.cls-3%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.5px;%20}%20.cls-4,%20.cls-5,%20.cls-2,%20.cls-6%20{%20fill:%20none;%20}%20.cls-4,%20.cls-5,%20.cls-6%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-5%20{%20stroke-width:%20.6px;%20}%20.cls-6%20{%20stroke-width:%20.75px;%20}%20.cls-3%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-2'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-3'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-4'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.57c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-6'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-4'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-6'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-4'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-3'%20points='5.46%206.91%205.46%204.31%207.19%204.91%207.19%207.4%205.46%206.91'/%3e%3c/g%3e%3c/svg%3e",Y1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2013.78%2013.78'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20stroke-width:%20.5px;%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4%20{%20fill:%20none;%20}%20.cls-1,%20.cls-2,%20.cls-4%20{%20stroke:%20%23231f20;%20stroke-linecap:%20round;%20stroke-linejoin:%20round;%20}%20.cls-2%20{%20stroke-width:%20.6px;%20}%20.cls-3,%20.cls-5,%20.cls-6%20{%20stroke-width:%200px;%20}%20.cls-4%20{%20stroke-width:%20.75px;%20}%20.cls-5%20{%20fill:%20%23dbac78;%20}%20.cls-6%20{%20fill:%20%23231f20;%20}%20.cls-7%20{%20clip-path:%20url(%23clippath);%20}%20%3c/style%3e%3cclipPath%20id='clippath'%3e%3crect%20class='cls-3'%20width='13.78'%20height='13.78'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20class='cls-7'%3e%3cpath%20class='cls-6'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-1'%20d='m11.83,10.85c0,.93-.75,1.68-1.68,1.68H2.93c-.93,0-1.68-.75-1.68-1.68V3.62c0-.93.75-1.68,1.68-1.68h7.22c.93,0,1.68.75,1.68,1.68v7.22Z'/%3e%3cpath%20class='cls-5'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-2'%20d='m3.58,1.3h7.22c.93,0,1.68.75,1.68,1.68v7.23c0,.93-.75,1.68-1.68,1.68H3.58c-.93,0-1.68-.75-1.68-1.68V2.98c0-.93.75-1.68,1.68-1.68Z'/%3e%3cpath%20class='cls-4'%20d='m9.08,3.89c0-.45-.85-.81-1.89-.81s-1.89.36-1.89.81.85.81,1.89.81,1.89-.36,1.89-.81Z'/%3e%3cpath%20class='cls-1'%20d='m5.3,6.59c0,.45.85.81,1.89.81s1.89-.36,1.89-.81'/%3e%3cpath%20class='cls-4'%20d='m9.08,9.29c0,.45-.85.81-1.89.81s-1.89-.36-1.89-.81V3.89c0,.45.85.81,1.89.81s1.89-.36,1.89-.81v5.4Z'/%3e%3cline%20class='cls-1'%20x1='7.19'%20y1='4.7'%20x2='7.19'%20y2='10.1'/%3e%3cpolygon%20class='cls-6'%20points='8.92%206.91%207.28%207.4%207.28%204.93%208.92%204.58%208.92%206.91'/%3e%3c/g%3e%3c/svg%3e",q1=ge({name:"AppIcon",props:{type:{type:String,required:!1},name:{type:String,required:!0},extension:{type:String,default:"png"}},computed:{imageUrl(){return this.type?new URL(Object.assign({"/src/assets/icons/phase-dice/develop.svg":P1,"/src/assets/icons/phase-dice/explore.svg":N1,"/src/assets/icons/phase-dice/produce.svg":$1,"/src/assets/icons/phase-dice/settle.svg":I1,"/src/assets/icons/phase-dice/ship.svg":D1,"/src/assets/icons/phase-disabled/develop.png":R1,"/src/assets/icons/phase-disabled/explore.png":k1,"/src/assets/icons/phase-disabled/phase-disabled.psd":M1,"/src/assets/icons/phase-disabled/produce.png":x1,"/src/assets/icons/phase-disabled/settle.png":z1,"/src/assets/icons/phase-disabled/ship.png":F1,"/src/assets/icons/phase/develop.png":V1,"/src/assets/icons/phase/explore.png":H1,"/src/assets/icons/phase/produce.png":B1,"/src/assets/icons/phase/settle.png":j1,"/src/assets/icons/phase/ship.png":W1,"/src/assets/icons/produce-dice/alien.svg":U1,"/src/assets/icons/produce-dice/genes.svg":G1,"/src/assets/icons/produce-dice/novelty.svg":K1,"/src/assets/icons/produce-dice/rare-elements.svg":Y1})[`/src/assets/icons/${this.type}/${this.name}.${this.extension}`],import.meta.url).toString():new URL(Object.assign({})[`/src/assets/icons/${this.name}.${this.extension}`],import.meta.url).toString()}}}),X1=["src"];function Z1(e,t,n,s,r,o){return j(),G("img",{src:e.imageUrl,draggable:"false",alt:""},null,8,X1)}const yo=Se(q1,[["render",Z1]]);function _c(e){let t=Object.keys(e).map(s=>Number.parseInt(s)).filter(s=>!Number.isNaN(s));t.length==0&&(t=Object.values(e));const n=Math.floor(Math.random()*t.length);return t[n]}class Q1{select(){const t=_c(Vt);let n=t;for(;n==t;)n=_c(Vt);return[t,n]}}const J1=ge({name:"PhaseSelection",components:{AppIcon:yo},props:{navigationState:{type:Ut,required:!0}},emits:{selected:(e,t)=>!0},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},data(){return{playerPhase:void 0,botPhases:void 0}},computed:{allPhases(){return Object.values(Vt)}},methods:{selectPlayerPhase(e){this.playerPhase=e,this.botPhases=new Q1().select(),this.$emit("selected",this.playerPhase,this.botPhases)},isDisabled(e){return this.playerPhase&&this.botPhases?!(this.playerPhase==e||this.botPhases.includes(e)):!1}}}),e2={key:0},t2={class:"phaseSelection"},n2={key:1},s2={class:"phaseSelectionDone"},r2={key:0,class:"selected"};function o2(e,t,n,s,r,o){const i=we("AppIcon");return!e.playerPhase&&!e.botPhases?(j(),G("div",e2,[_("div",t2,[(j(!0),G(ne,null,Nt(e.allPhases,l=>(j(),G("div",{class:"phase",key:l},[ce(i,{type:"phase",name:l,onClick:a=>e.selectPlayerPhase(l),class:"phaseIcon"},null,8,["name","onClick"])]))),128))]),_("p",null,B(e.t("roundPhaseSelection.pickPhase")),1)])):(j(),G("div",n2,[_("div",s2,[(j(!0),G(ne,null,Nt(e.allPhases,l=>(j(),G("div",{class:"phase",key:l},[ce(i,{type:e.isDisabled(l)?"phase-disabled":"phase",name:l,class:"phaseIcon"},null,8,["type","name"])]))),128))]),e.playerPhase?(j(),G("p",r2,[Me(B(e.t("roundPhaseSelection.playerSelected"))+" ",1),ce(i,{type:"phase-dice",name:e.playerPhase,extension:"svg",class:"diceIcon"},null,8,["name"]),Me(", "+B(e.t("roundPhaseSelection.botSelected"))+" ",1),(j(!0),G(ne,null,Nt(e.botPhases,l=>(j(),Rt(i,{type:"phase-dice",name:l,extension:"svg",class:"diceIcon",key:l},null,8,["name"]))),128))])):Ge("",!0)]))}const i2=Se(J1,[["render",o2],["__scopeId","data-v-40ad0951"]]);function kf(e){if(e<1)throw new Error(`Unable to roll a dice ${e}`);return Math.floor(Math.random()*e)+1}const l2=ge({name:"RoundPhaseSelection",components:{FooterButtons:bo,PhaseSelection:i2},setup(){const{t:e}=Ae(),t=Df(),n=Tt(),s=new Ut(t,n),r=s.round;return{t:e,state:n,navigationState:s,round:r}},data(){return{selectedPhasesStored:!1}},computed:{backButtonRouteTo(){const e=this.state.rounds.find(t=>t.round==this.round-1);if(e)return`/round/${e.round}/phase/${Rf(e).length}`}},methods:{next(){this.$router.push(`/round/${this.round}/phase/1`)},phasesSelected(e,t){const n={round:this.round,playerPhase:e,botPhases:t};if(this.state.setup.modules.includes(cs.OBJECTIVE)){const s=this.state.rounds.filter(i=>i.rounde.next())},B(e.t("action.next")),1)):Ge("",!0),ce(l,{backButtonRouteTo:e.backButtonRouteTo,endGameButtonType:e.round>1?"endGame":"abortGame"},null,8,["backButtonRouteTo","endGameButtonType"])],64)}const c2=Se(l2,[["render",a2]]),u2=ge({name:"ExploreActions",setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}}}),f2={key:0},d2=["innerHTML"],h2=["innerHTML"],p2={key:1},m2=["innerHTML"],_2=["innerHTML"];function g2(e,t,n,s,r,o){return e.chosenPhase?(j(),G("ul",f2,[_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.drawTile")},null,8,d2),_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.earnMoney",{amount:2})},null,8,h2)])):(j(),G("ul",p2,[_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.drawTile")},null,8,m2),_("li",{innerHTML:e.t("roundPhaseExecution.exploreActions.earnMoney",{amount:1})},null,8,_2)]))}const v2=Se(u2,[["render",g2]]),b2=ge({name:"DevelopActions",setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}}}),E2=["innerHTML"],y2=["innerHTML"];function T2(e,t,n,s,r,o){return j(),G(ne,null,[_("ul",null,[_("li",{innerHTML:e.t("roundPhaseExecution.developActions.completeDevelopment")},null,8,E2)]),_("p",{innerHTML:e.t("roundPhaseExecution.developActions.notes")},null,8,y2)],64)}const w2=Se(b2,[["render",T2]]),A2=ge({name:"SettleActions",setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}}}),S2=["innerHTML"],O2=["innerHTML"];function C2(e,t,n,s,r,o){return j(),G(ne,null,[_("ul",null,[_("li",{innerHTML:e.t("roundPhaseExecution.settleActions.completeWorld")},null,8,S2)]),_("p",{innerHTML:e.t("roundPhaseExecution.settleActions.notes")},null,8,O2)],64)}const L2=Se(A2,[["render",C2]]);var $e=(e=>(e.NOVELTY="novelty",e.RARE_ELEMENTS="rare-elements",e.GENES="genes",e.ALIEN="alien",e))($e||{});const P2=ge({name:"ProduceActions",components:{AppIcon:yo},setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}},computed:{produceDiceTypes(){return Object.values($e).reverse()}}}),N2={key:0},$2=["innerHTML"],I2={key:1},D2=["innerHTML"],R2={key:0},k2=["innerHTML"];function M2(e,t,n,s,r,o){const i=we("AppIcon");return j(),G(ne,null,[e.chosenPhase?(j(),G("ul",N2,[_("li",{innerHTML:e.t("roundPhaseExecution.produceActions.produceWorlds",{amount:2},2)},null,8,$2)])):(j(),G("ul",I2,[_("li",{innerHTML:e.t("roundPhaseExecution.produceActions.produceWorlds",{amount:1},1)},null,8,D2)])),_("p",null,[Me(B(e.t("roundPhaseExecution.produceActions.priority"))+" ",1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,(l,a)=>(j(),G(ne,{key:l},[a>0?(j(),G("span",R2," > ")):Ge("",!0),ce(i,{type:"produce-dice",name:l,extension:"svg",class:"diceIcon"},null,8,["name"])],64))),128)),Me(". ")]),_("p",{innerHTML:e.t("roundPhaseExecution.produceActions.notes")},null,8,k2)],64)}const x2=Se(P2,[["render",M2],["__scopeId","data-v-88ca76c2"]]);function z2(e){switch(e){case $e.NOVELTY:return 3;case $e.RARE_ELEMENTS:return 4;case $e.GENES:return 5;case $e.ALIEN:return 6;default:throw new Error(`Unexpected dice type: ${e}`)}}function F2(e,t){switch(t){case Ln.NORMAL:switch(e){case $e.NOVELTY:case $e.RARE_ELEMENTS:return 2;case $e.GENES:case $e.ALIEN:return 3;default:throw new Error(`Unexpected dice type: ${e}`)}case Ln.ADVANCED:switch(e){case $e.NOVELTY:return 2;case $e.RARE_ELEMENTS:return 3;case $e.GENES:return 4;case $e.ALIEN:return 5;default:throw new Error(`Unexpected dice type: ${e}`)}case Ln.EXPERT:case Ln.PROFESSIONAL:switch(e){case $e.NOVELTY:return 3;case $e.RARE_ELEMENTS:return 4;case $e.GENES:return 5;case $e.ALIEN:return 6;default:throw new Error(`Unexpected dice type: ${e}`)}default:throw new Error(`Unexpected difficulty level: ${t}`)}}const V2=ge({name:"ShipActions",components:{AppIcon:yo},setup(){const{t:e}=Ae();return{t:e}},props:{phase:{type:String,required:!0},chosenPhase:{type:Boolean,required:!0},navigationState:{type:Ut,required:!0}},computed:{produceDiceTypes(){return Object.values($e).reverse()}},methods:{getTradeValue(e){return z2(e)},getConsumeVPs(e){return F2(e,this.navigationState.difficultyLevel)}}}),H2={key:0},B2=["innerHTML"],j2=["innerHTML"],W2={key:1},U2=["innerHTML"],G2={"aria-describedby":"priorityCaption"},K2={id:"priorityCaption"},Y2={key:0};function q2(e,t,n,s,r,o){const i=we("AppIcon");return j(),G(ne,null,[e.chosenPhase?(j(),G("ul",H2,[_("li",{innerHTML:e.t("roundPhaseExecution.shipActions.tradeFirst")},null,8,B2),_("li",{innerHTML:e.t("roundPhaseExecution.shipActions.consumeNext")},null,8,j2)])):(j(),G("ul",W2,[_("li",{innerHTML:e.t("roundPhaseExecution.shipActions.tradeOnly")},null,8,U2)])),_("table",G2,[_("tr",null,[_("th",K2,B(e.t("roundPhaseExecution.shipActions.priority")),1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,(l,a)=>(j(),G("td",{key:l},[ce(i,{type:"produce-dice",name:l,extension:"svg",class:"diceIcon"},null,8,["name"]),a ")):Ge("",!0)]))),128))]),_("tr",null,[_("th",null,B(e.t("roundPhaseExecution.shipActions.tradeValue")),1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,l=>(j(),G("td",{key:l}," $"+B(e.getTradeValue(l)),1))),128))]),_("tr",null,[_("th",null,B(e.t("roundPhaseExecution.shipActions.botConsumes")),1),(j(!0),G(ne,null,Nt(e.produceDiceTypes,l=>(j(),G("td",{key:l},B(e.getConsumeVPs(l))+" "+B(e.t("roundPhaseExecution.shipActions.vps")),1))),128))])])],64)}const X2=Se(V2,[["render",q2],["__scopeId","data-v-959ebd9e"]]),Z2=ge({name:"GainObjectiveActions",components:{ModalDialog:ml},setup(){const{t:e}=Ae();return{t:e}},data(){return{tilesLeft:void 0,pickTile:void 0}},watch:{tilesLeft(e){this.pickTile=kf(e)}}}),Q2={class:"alert alert-warning mt-3"},J2=["innerHTML"],ev={class:"btn btn-primary btn-sm ms-2","data-bs-toggle":"modal","data-bs-target":"#modalPickObjectiveTile"},tv=["innerHTML"],nv={class:"btn-group",role:"group","aria-describedby":"objectiveTilesLeftGroup"},sv=["id","value"],rv=["for"],ov={key:0},iv=["innerHTML"];function lv(e,t,n,s,r,o){const i=we("ModalDialog");return j(),G(ne,null,[_("p",Q2,[_("span",{innerHTML:e.t("roundPhaseExecution.gainObjectiveActions.gainObjective")},null,8,J2),_("button",ev,B(e.t("roundPhaseExecution.gainObjectiveActions.pickObjective")),1)]),ce(i,{id:"modalPickObjectiveTile",title:e.t("roundPhaseExecution.gainObjectiveActions.pickObjective")},{body:gt(()=>[_("p",{id:"objectiveTilesLeftGroup",innerHTML:e.t("roundPhaseExecution.gainObjectiveActions.tilesLeft")},null,8,tv),_("div",nv,[(j(),G(ne,null,Nt(6,l=>(j(),G(ne,{key:l},[xt(_("input",{type:"radio",class:"btn-check",name:"tilesLeft",id:`tilesLeft${l}`,autocomplete:"off",value:l,"onUpdate:modelValue":t[0]||(t[0]=a=>e.tilesLeft=a)},null,8,sv),[[om,e.tilesLeft]]),_("label",{class:"btn btn-outline-primary",for:`tilesLeft${l}`},[_("span",null," "+B(l)+" ",1),l==6?(j(),G("span",ov,B(e.t("roundPhaseExecution.gainObjectiveActions.tiles"))+" ",1)):Ge("",!0)],8,rv)],64))),64))]),e.pickTile?(j(),G("p",{key:0,class:"mt-3",innerHTML:e.t("roundPhaseExecution.gainObjectiveActions.picksTile",{tile:e.pickTile})},null,8,iv)):Ge("",!0)]),_:1},8,["title"])],64)}const av=Se(Z2,[["render",lv]]);function cv(e){const t=Object.values(Vt),n=t.indexOf(e);return n==t.length-1?t[0]:t[n+1]}const uv=ge({name:"PhaseExecution",components:{AppIcon:yo,ExploreActions:v2,DevelopActions:w2,SettleActions:L2,ProduceActions:x2,ShipActions:X2,GainObjectiveActions:av},emits:["next"],props:{navigationState:{type:Ut,required:!0}},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},data(){return{alternativeBotPhase:void 0}},computed:{allPhases(){return this.navigationState.selectedPhases},isExploreBotPhase(){return this.selectedBotPhase==Vt.EXPLORE},selectedBotPhase(){return this.alternativeBotPhase?this.alternativeBotPhase:this.navigationState.selectedPhase??Vt.EXPLORE},isLastPhase(){const e=this.navigationState.selectedPhases[this.navigationState.selectedPhases.length-1];return this.navigationState.selectedPhase==e}},methods:{isActive(e){return this.navigationState.selectedPhase==e},isChosenPhase(e){return this.alternativeBotPhase?!1:this.navigationState.botPhases.includes(e)},completed(){this.$emit("next")},notPossible(){this.navigationState.botPhases.includes(this.navigationState.selectedPhase??Vt.EXPLORE)?this.alternativeBotPhase=cv(this.selectedBotPhase):this.$emit("next")}}}),fv={key:0,class:"phaseExecution"};function dv(e,t,n,s,r,o){const i=we("AppIcon"),l=we("GainObjectiveActions");return j(),G(ne,null,[e.navigationState.selectedPhase?(j(),G("div",fv,[(j(!0),G(ne,null,Nt(e.allPhases,a=>(j(),G("div",{class:"phase",key:a},[ce(i,{type:"phase",name:a,class:bs(["phaseIcon",{active:e.isActive(a),inactive:!e.isActive(a)}])},null,8,["name","class"])]))),128)),_("p",null,B(e.t("roundPhaseExecution.botActions")),1),(j(),Rt(Bh(`${e.selectedBotPhase}Actions`),{phase:e.selectedBotPhase,chosenPhase:e.isChosenPhase(e.navigationState.selectedPhase),navigationState:e.navigationState},null,8,["phase","chosenPhase","navigationState"])),e.isLastPhase&&e.navigationState.objectiveGain?(j(),Rt(l,{key:0})):Ge("",!0)])):Ge("",!0),_("button",{class:"btn btn-success btn-lg mt-4",onClick:t[0]||(t[0]=a=>e.completed())},B(e.t("roundPhaseExecution.completed")),1),e.isExploreBotPhase?Ge("",!0):(j(),G("button",{key:1,class:"btn btn-danger btn-lg mt-4 ms-2",onClick:t[1]||(t[1]=a=>e.notPossible())},B(e.t("roundPhaseExecution.notPossible")),1))],64)}const hv=Se(uv,[["render",dv],["__scopeId","data-v-ba93c6a2"]]),pv=ge({name:"RoundPhaseExecution",components:{FooterButtons:bo,PhaseExecution:hv},setup(){const{t:e}=Ae(),t=Df(),n=Tt(),s=new Ut(t,n),r=s.round,o=s.phase;return{t:e,state:n,navigationState:s,round:r,phase:o}},computed:{backButtonRouteTo(){return this.phase>1?`/round/${this.round}/phase/${this.phase-1}`:`/round/${this.round}/selectPhase`}},methods:{next(){this.phase>=this.navigationState.selectedPhases.length?this.$router.push(`/round/${this.round+1}/selectPhase`):this.$router.push(`/round/${this.round}/phase/${this.phase+1}`)}}});function mv(e,t,n,s,r,o){const i=we("PhaseExecution"),l=we("FooterButtons");return j(),G(ne,null,[_("h1",null,B(e.t("roundPhaseExecution.title",{round:e.round,phase:e.phase})),1),ce(i,{navigationState:e.navigationState,onNext:e.next},null,8,["navigationState","onNext"]),ce(l,{backButtonRouteTo:e.backButtonRouteTo,endGameButtonType:e.round>1?"endGame":"abortGame"},null,8,["backButtonRouteTo","endGameButtonType"])],64)}const _v=Se(pv,[["render",mv]]),gv=ge({name:"EndGameScoring",components:{FooterButtons:bo},setup(){const{t:e}=Ae(),t=Tt();return{t:e,state:t}},data(){return{playerVPChips:0,playerVPDevelopmentWorlds:0,playerVP6PlusWorlds:0,playerTalentCounters:0,botVPChips:0,botVPDevelopmentWorlds:0,botVP6PlusWorlds:0,botTalentCounters:0}},computed:{totalPlayer(){return this.playerVPChips+this.playerVPDevelopmentWorlds+this.playerVP6PlusWorlds+this.playerTalentCounters},totalBot(){return this.botVPChips+this.botVPDevelopmentWorlds+this.botVP6PlusWorlds+this.botTalentCounters},isObjectivesModule(){return this.state.setup.modules.includes(cs.OBJECTIVE)},isProfessionalDifficultyLevel(){return this.state.setup.difficultyLevel==Ln.PROFESSIONAL}},methods:{inputSelectAll(e){e.target.select()},getDiceRoll(e){return _l(e)},getMaxCount(e){return gl(e)}}}),Mf=e=>(lo("data-v-0bd6c355"),e=e(),ao(),e),vv={id:"endGameScoringTitle"},bv={"aria-describedby":"endGameScoringTitle"},Ev=Mf(()=>_("th",{scope:"col"},null,-1)),yv={scope:"col"},Tv={scope:"col"},wv={scope:"row"},Av={scope:"row"},Sv={scope:"row"},Ov={key:0},Cv={key:1},Lv={key:0},Pv={scope:"row"},Nv={scope:"row"},$v={class:"mt-3"},Iv={key:0},Dv=Mf(()=>_("br",null,null,-1));function Rv(e,t,n,s,r,o){const i=we("FooterButtons");return j(),G(ne,null,[_("h1",vv,B(e.t("endGameScoring.title")),1),_("table",bv,[_("tr",null,[Ev,_("th",yv,B(e.t("endGameScoring.player")),1),_("th",Tv,B(e.t("endGameScoring.bot")),1)]),_("tr",null,[_("th",wv,B(e.t("endGameScoring.vpChips")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[0]||(t[0]=l=>e.playerVPChips=l),onFocus:t[1]||(t[1]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerVPChips]])]),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[2]||(t[2]=l=>e.botVPChips=l),onFocus:t[3]||(t[3]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botVPChips]])])]),_("tr",null,[_("th",Av,B(e.t("endGameScoring.vpDevelopmentWorld")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[4]||(t[4]=l=>e.playerVPDevelopmentWorlds=l),onFocus:t[5]||(t[5]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerVPDevelopmentWorlds]])]),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[6]||(t[6]=l=>e.botVPDevelopmentWorlds=l),onFocus:t[7]||(t[7]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botVPDevelopmentWorlds]])])]),_("tr",null,[_("th",Sv,B(e.t("endGameScoring.vp6PlusBonus")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[8]||(t[8]=l=>e.playerVP6PlusWorlds=l),onFocus:t[9]||(t[9]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerVP6PlusWorlds]])]),e.isProfessionalDifficultyLevel?(j(),G("td",Ov,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[10]||(t[10]=l=>e.botVP6PlusWorlds=l),onFocus:t[11]||(t[11]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botVP6PlusWorlds]])])):(j(),G("td",Cv))]),e.isObjectivesModule?(j(),G("tr",Lv,[_("th",Pv,B(e.t("endGameScoring.talentCounters")),1),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[12]||(t[12]=l=>e.playerTalentCounters=l),onFocus:t[13]||(t[13]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.playerTalentCounters]])]),_("td",null,[xt(_("input",{type:"number",min:"0",max:"99",step:"1","onUpdate:modelValue":t[14]||(t[14]=l=>e.botTalentCounters=l),onFocus:t[15]||(t[15]=(...l)=>e.inputSelectAll&&e.inputSelectAll(...l))},null,544),[[Xt,e.botTalentCounters]])])])):Ge("",!0),_("tr",null,[_("th",Nv,B(e.t("endGameScoring.total")),1),_("td",null,[_("b",null,B(e.totalPlayer)+" "+B(e.t("endGameScoring.vps")),1)]),_("td",null,[_("b",null,B(e.totalBot)+" "+B(e.t("endGameScoring.vps")),1)])])]),_("p",$v,[Me(B(e.t("endGameScoring.difficultyLevel"))+" ",1),_("b",null,B(e.t(`difficultyLevel.${e.state.setup.difficultyLevel}`)),1),e.isObjectivesModule?(j(),G("span",Iv,[Dv,Me(" "+B(e.t("endGameScoring.objectiveDifficultyLevel"))+" ",1),_("b",null,B(e.t(`objectiveDifficultyLevel.${e.state.setup.objectiveDifficultyLevel}`,{diceRoll:e.getDiceRoll(e.state.setup.objectiveDifficultyLevel),maxCount:e.getMaxCount(e.state.setup.objectiveDifficultyLevel)})),1)])):Ge("",!0)]),ce(i,{endGameButtonType:"endGame"})],64)}const kv=Se(gv,[["render",Rv],["__scopeId","data-v-0bd6c355"]]),Mv=`${Tf}.route`,xv=[{path:"/",name:"AppHome",component:cg},{path:"/setupGame",name:"SetupGame",component:w0},{path:"/round/:round/selectPhase",name:"RoundPhaseSelection",component:c2},{path:"/round/:round/phase/:phase",name:"RoundPhaseExecution",component:_v},{path:"/scoring",name:"EndGameScoring",component:kv},{path:"/:pathMatch(.*)*",name:"NotFound",component:dg}],zv=L1(xv,Mv,"AppHome"),jo=e=>e&&typeof e=="object"&&!Array.isArray(e),Ii=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(jo(e)&&jo(n))for(const s in n)jo(n[s])?(e[s]||Object.assign(e,{[s]:{}}),Ii(e[s],n[s])):Object.assign(e,{[s]:n[s]});return Ii(e,...t)},Fv=Ii({},{de:{gameTitle:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy"])},home:{title:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy Solo Helper"])},play1:e=>{const{normalize:t}=e;return t(["Spiele Roll for the Galaxy gegen einen Bot mit dem inoffiziellen Solo-Modus von Dale Buonocore and Ken Thibodeau."])},play2:e=>{const{normalize:t}=e;return t(["Du kannst mit dem Grundspiel spielen, oder die zusätzlichen Plättchen und Würfel der Erweiterungen Der große Traum und Große Konkurrenz hinzufügen. Von den optionalen Modulen wird nur das Aufgaben-Moduls aus Der große Traum unterstützt."])},feedback:e=>{const{normalize:t}=e;return t(["Discussion and Feedback:"])}},setup:{title:e=>{const{normalize:t}=e;return t(["Spielaufbau"])},general:{title:e=>{const{normalize:t}=e;return t(["Aufbau"])},setup2Players:e=>{const{normalize:t}=e;return t(["Baue das Spiel für 2 Spieler auf."])},botPlayerMat:e=>{const{normalize:t}=e;return t(["Bot benötigt nur eine Ablagetafel und einen Krediteinheiten-Marker (startet auf $1)."])},botNoHomeWorld:e=>{const{normalize:t}=e;return t(["Bot bekommt zum Start keine Heimatwelt und kein Fraktionsplättchen."])},botDrawTiles:e=>{const{normalize:t}=e;return t(["Bot zieht zu Beginn zwei Plättchen: platziere die Welt mit den geringeren Kosten als Welt in seiner Konstruktionszone (bei Gleichstand wähle selbst). Das andere Plättchen lege als Entwicklung in die Konstruktionszone. Wenn Bot eine graue Startwelt gezogen hat, tausche sie durch ein anderes Plättchen aus."])}},modules:{title:e=>{const{normalize:t}=e;return t(["Module"])},objective:e=>{const{normalize:t}=e;return t(["Aufgaben-Modul (Der große Traum-Erweiterung)"])}},difficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Schwierigkeitsgrad"])},easy:e=>{const{normalize:t}=e;return t(["Leicht"])},hard:e=>{const{normalize:t}=e;return t(["Schwer"])}},objectiveDifficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Schwierigkeitsgrad für Aufgaben"])},easy:e=>{const{normalize:t}=e;return t(["Leicht"])},hard:e=>{const{normalize:t}=e;return t(["Schwer"])}}},roundPhaseSelection:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Runde ",n(s("round"))])},pickPhase:e=>{const{normalize:t}=e;return t(["Markiere die gewählte Phase."])},playerSelected:e=>{const{normalize:t}=e;return t(["Spieler:"])},botSelected:e=>{const{normalize:t}=e;return t(["Bot:"])}},roundPhaseExecution:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Runde ",n(s("round"))])},botActions:e=>{const{normalize:t}=e;return t(["Bot-Aktionen:"])},completed:e=>{const{normalize:t}=e;return t(["Bot-Aktionen ausgeführt"])},notPossible:e=>{const{normalize:t}=e;return t(["Nicht möglich"])},exploreActions:{drawTile:e=>{const{normalize:t}=e;return t(["Bot zieht 1 Plättchen und platziert es entweder unter den Stapel der Welten oder Entwicklungen, je nachdem welcher Stapel kleiner ist. Platziere als Welt bei gleich großen Stapeln."])},earnMoney:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot erhält $",n(s("amount")),"."])}},developActions:{completeDevelopment:e=>{const{normalize:t}=e;return t(["Bot stellt seine oberste Entwicklung fertig, wenn er genug Krediteinheiten dafür hat."])},notes:e=>{const{normalize:t}=e;return t(["Bot benötigt keine Entwickler, er zahlt mit Krediteinheiten. Bot ignoriert alle Fähigkeiten und Effekte der Entwicklungen. Die Plättchen zählen nur als Siegpunkte beim Spielende."])}},settleActions:{completeWorld:e=>{const{normalize:t}=e;return t(["Bot stellt seine oberste Welt fertig, wenn er genug Krediteinheiten dafür hat."])},notes:e=>{const{normalize:t}=e;return t(["Bot benötigt keine Siedler, er zahlt mit Krediteinheiten. Bot erhält niemals neue Würfel und profitiert niemals von Soforteffekten der Welten. Die Plättchen zählen nur als Siegpunkte beim Spielende."])}},produceActions:{produceWorlds:e=>{const{normalize:t,interpolate:n,named:s,plural:r}=e;return r([t(["Bot produziert Güter auf seiner ",n(s("amount"))," wertvollsten Welt."]),t(["Bot produziert Güter auf seinen ",n(s("amount"))," wertvollsten Welten."])])},priority:e=>{const{normalize:t}=e;return t(["Priorität:"])},notes:e=>{const{normalize:t}=e;return t(["Verwende Würfel aus dem Vorrat für die produzierten Güter."])}},shipActions:{tradeFirst:e=>{const{normalize:t}=e;return t(["Bot handelt ein Gut von der wertvollsten Welt gegen Krediteinheiten (bis zum Maximum von 10$)."])},consumeNext:e=>{const{normalize:t}=e;return t(["Anschließend verbraucht er das Gut von der zweitwertvollsten Welt (wenn verfügbar) für Siegpunkte. Wenn Bot bereits $10 hat, verbraucht er zweimal."])},tradeOnly:e=>{const{normalize:t}=e;return t(["Bot handelt ein Gut von der wertvollsten Welt gegen Krediteinheiten (bis zum Maximum von 10$). Wenn Bot bereits $10 hat, verbraucht er anstelle ein Gut von der zweitwertvollsten Welt bzw. irgendein verfügbares Gut."])},priority:e=>{const{normalize:t}=e;return t(["Priorität"])},tradeValue:e=>{const{normalize:t}=e;return t(["Handelsertrag"])},botConsumes:e=>{const{normalize:t}=e;return t(["Bot verbraucht"])},vps:e=>{const{normalize:t}=e;return t(["VPs"])}},gainObjectiveActions:{gainObjective:e=>{const{normalize:t}=e;return t(["Bot hat eine der verfügbaren Aufgaben erfüllt!"])},pickObjective:e=>{const{normalize:t}=e;return t(["Aufgabentafel wählen"])},tilesLeft:e=>{const{normalize:t}=e;return t(["Wie viele Aufgabentafeln sind übrig?"])},tiles:e=>{const{normalize:t}=e;return t(["Tafeln"])},picksTile:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot wählt Aufgabentafel Nummer ",n(s("tile"))," und erhält die entsprechenden Leistungsmarker."])}}},endGameScoring:{title:e=>{const{normalize:t}=e;return t(["Spielende"])},player:e=>{const{normalize:t}=e;return t(["Spieler"])},bot:e=>{const{normalize:t}=e;return t(["Bot"])},vpChips:e=>{const{normalize:t}=e;return t(["SP-Chips"])},vpDevelopmentWorld:e=>{const{normalize:t}=e;return t(["Entwicklungen/Welten"])},vp6PlusBonus:e=>{const{normalize:t}=e;return t(["6+ Boni"])},talentCounters:e=>{const{normalize:t}=e;return t(["Leistungsmarker"])},total:e=>{const{normalize:t}=e;return t(["Summe"])},vps:e=>{const{normalize:t}=e;return t(["SPs"])},difficultyLevel:e=>{const{normalize:t}=e;return t(["Schwierigkeitsgrad:"])},objectiveDifficultyLevel:e=>{const{normalize:t}=e;return t(["Aufgaben:"])}},difficultyLevel:{1:e=>{const{normalize:t}=e;return t(["Level 1 - Normal"])},2:e=>{const{normalize:t}=e;return t(["Level 2 - Fortgeschritten"])},3:e=>{const{normalize:t}=e;return t(["Level 3 - Experte"])},4:e=>{const{normalize:t}=e;return t(["Level 4 - Profi"])}},difficultyLevelExplanation:{1:e=>{const{normalize:t}=e;return t(["Güter für 2/2/3/3 SPs verbrauchen"])},2:e=>{const{normalize:t}=e;return t(["Güter für 2/3/4/5 SPs verbrauchen"])},3:e=>{const{normalize:t}=e;return t(["Güter für 3/4/5/6 SPs verbrauchen"])},4:e=>{const{normalize:t}=e;return t(["Güter für 3/4/5/6 SPs verbrauchen, 6+-Wertungen berücksichtigen"])}},objectiveDifficultyLevel:{1:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Normal (1 aus ",n(s("diceRoll")),"-Wahrscheinlichkeit eine Aufgabe zu erfüllen, max. ",n(s("maxCount")),")"])},2:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Schwer (1 aus ",n(s("diceRoll")),"-Wahrscheinlichkeit eine Aufgabe zu erfüllen, max. ",n(s("maxCount")),")"])},3:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Wahnwitzig (1 aus ",n(s("diceRoll")),"-Wahrscheinlichkeit eine Aufgabe zu erfüllen, max. ",n(s("maxCount")),")"])}},notfound:{title:e=>{const{normalize:t}=e;return t(["Nicht gefunden"])}},action:{playGame:e=>{const{normalize:t}=e;return t(["Spielen"])},startGame:e=>{const{normalize:t}=e;return t(["Spiel starten"])},next:e=>{const{normalize:t}=e;return t(["Weiter"])},nextRound:e=>{const{normalize:t}=e;return t(["Nächste Runde"])},abortGame:e=>{const{normalize:t}=e;return t(["Spiel abbrechen"])},abortGameConfirm:e=>{const{normalize:t}=e;return t(["Das aktuelle Spiel wird abgebrochen - bist Du sicher?"])},endGame:e=>{const{normalize:t}=e;return t(["Spiel beenden"])},endGameConfirm:e=>{const{normalize:t}=e;return t(["Dieses Spiel wird beendet - bist Du sicher?"])},endGameGoToScoringConfirm:e=>{const{normalize:t}=e;return t(["Spiel beenden und zur Punkteauswertung gehen?"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},backToHome:e=>{const{normalize:t}=e;return t(["Zurück zum Anfang"])},back:e=>{const{normalize:t}=e;return t(["Zurück"])},close:e=>{const{normalize:t}=e;return t(["Schließen"])}},footer:{credits:e=>{const{normalize:t}=e;return t(["Credits"])}},serviceWorkerUpdatedRefresh:{title:e=>{const{normalize:t}=e;return t(["Applikation neu laden"])},notice:e=>{const{normalize:t}=e;return t(["Die Applikation wurde aktualisiert - möchtest du die Seite neu laden um die neueste Version zu nutzen?"])}}}},{en:{gameTitle:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy"])},home:{title:e=>{const{normalize:t}=e;return t(["Roll for the Galaxy Solo Helper"])},play1:e=>{const{normalize:t}=e;return t(["Play Roll for the Galaxy against a Bot with the unofficial Solo Mode by Dale Buonocore and Ken Thibodeau."])},play2:e=>{const{normalize:t}=e;return t(["You can play with the base game, or with all the additional tiles and dice from the expansion Ambition or Rivalry. From the optional modules, only the Objectives module from the Ambition expansion is supported."])},feedback:e=>{const{normalize:t}=e;return t(["Discussion and Feedback:"])}},setup:{title:e=>{const{normalize:t}=e;return t(["Setup Game"])},general:{title:e=>{const{normalize:t}=e;return t(["Setup"])},setup2Players:e=>{const{normalize:t}=e;return t(["Setup the game for 2 players."])},botPlayerMat:e=>{const{normalize:t}=e;return t(["Bot only needs a player mat and a credit marker (starting at $1)."])},botNoHomeWorld:e=>{const{normalize:t}=e;return t(["Bot does not start with a Home World or Faction tile."])},botDrawTiles:e=>{const{normalize:t}=e;return t(["Bot randomly draws 2 tiles: first, place the lower cost world in his construction zone (you decide which one if equal), then the other tile as a development. If Bot drew a gray starting world, replace it with a different tile."])}},modules:{title:e=>{const{normalize:t}=e;return t(["Modules"])},objective:e=>{const{normalize:t}=e;return t(["Objective Module (Ambition expansion)"])}},difficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Difficulty Level"])},easy:e=>{const{normalize:t}=e;return t(["Easy"])},hard:e=>{const{normalize:t}=e;return t(["Hard"])}},objectiveDifficultyLevel:{title:e=>{const{normalize:t}=e;return t(["Difficulty Level for Objectives"])},easy:e=>{const{normalize:t}=e;return t(["Easy"])},hard:e=>{const{normalize:t}=e;return t(["Hard"])}}},roundPhaseSelection:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Round ",n(s("round"))])},pickPhase:e=>{const{normalize:t}=e;return t(["Pick your selected phase."])},playerSelected:e=>{const{normalize:t}=e;return t(["Player:"])},botSelected:e=>{const{normalize:t}=e;return t(["Bot:"])}},roundPhaseExecution:{title:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Round ",n(s("round"))])},botActions:e=>{const{normalize:t}=e;return t(["Bot actions:"])},completed:e=>{const{normalize:t}=e;return t(["Bot actions completed"])},notPossible:e=>{const{normalize:t}=e;return t(["Not possible"])},exploreActions:{drawTile:e=>{const{normalize:t}=e;return t(["Bot draws 1 tile, places it as either a world or development at the bottom of whichever construction zone stack is the shortest. Place tile as a world in case of a tie."])},earnMoney:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot earns $",n(s("amount")),"."])}},developActions:{completeDevelopment:e=>{const{normalize:t}=e;return t(["Bot completes the top development if he has enough credits to pay for it."])},notes:e=>{const{normalize:t}=e;return t(["Bot spends credits instead of workers. Bot will never benefit from any bonus earned through developments. They will only serve as VPs at game end."])}},settleActions:{completeWorld:e=>{const{normalize:t}=e;return t(["Bot completes his topmost world by paying an amount of credits equal to the world’s value, if he has enough."])},notes:e=>{const{normalize:t}=e;return t(["Bot spends credits instead of workers. Bot will never gain new dice and never benefit from any bonus through worlds. They will only serve as VPs at game end."])}},produceActions:{produceWorlds:e=>{const{normalize:t,interpolate:n,named:s,plural:r}=e;return r([t(["Bot produces on his ",n(s("amount"))," highest color value available world."]),t(["Bot produces on his ",n(s("amount"))," highest color value available worlds."])])},priority:e=>{const{normalize:t}=e;return t(["Priority:"])},notes:e=>{const{normalize:t}=e;return t(["Use any die from the supply to serve as the produced good."])}},shipActions:{tradeFirst:e=>{const{normalize:t}=e;return t(["Bot first trades the good from the highest color value world for credits (up to the maximum 10$)."])},consumeNext:e=>{const{normalize:t}=e;return t(["Bot then consumes the good from the next highest color value world (if available) to gain VPs. If Bot already has $10, he consumes twice."])},tradeOnly:e=>{const{normalize:t}=e;return t(["Bot trades the good from the highest color value world for credits (up to the maximum 10$). If Bot already has $10, he consumes the good from the next highest color value world instead, or any good he has."])},priority:e=>{const{normalize:t}=e;return t(["Priority"])},tradeValue:e=>{const{normalize:t}=e;return t(["Trade value"])},botConsumes:e=>{const{normalize:t}=e;return t(["Bot consumes"])},vps:e=>{const{normalize:t}=e;return t(["VPs"])}},gainObjectiveActions:{gainObjective:e=>{const{normalize:t}=e;return t(["Bot completed an unclaimed objective!"])},pickObjective:e=>{const{normalize:t}=e;return t(["Pick objective tile"])},tilesLeft:e=>{const{normalize:t}=e;return t(["How many objective tiles are left?"])},tiles:e=>{const{normalize:t}=e;return t(["tiles"])},picksTile:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Bot picks tile number ",n(s("tile"))," and gains talent counters accordingly."])}}},endGameScoring:{title:e=>{const{normalize:t}=e;return t(["End of Game"])},player:e=>{const{normalize:t}=e;return t(["Player"])},bot:e=>{const{normalize:t}=e;return t(["Bot"])},vpChips:e=>{const{normalize:t}=e;return t(["VP Chips"])},vpDevelopmentWorld:e=>{const{normalize:t}=e;return t(["Developments/Worlds"])},vp6PlusBonus:e=>{const{normalize:t}=e;return t(["6+ Bonuses"])},talentCounters:e=>{const{normalize:t}=e;return t(["Talent Counters"])},total:e=>{const{normalize:t}=e;return t(["Total"])},vps:e=>{const{normalize:t}=e;return t(["VPs"])},difficultyLevel:e=>{const{normalize:t}=e;return t(["Difficulty:"])},objectiveDifficultyLevel:e=>{const{normalize:t}=e;return t(["Objectives:"])}},difficultyLevel:{1:e=>{const{normalize:t}=e;return t(["Level 1 - Normal"])},2:e=>{const{normalize:t}=e;return t(["Level 2 - Advanced"])},3:e=>{const{normalize:t}=e;return t(["Level 3 - Expert"])},4:e=>{const{normalize:t}=e;return t(["Level 4 - Professional"])}},difficultyLevelExplanation:{1:e=>{const{normalize:t}=e;return t(["Consume goods for 2/2/3/3 VPs"])},2:e=>{const{normalize:t}=e;return t(["Consume goods for 2/3/4/5 VPs"])},3:e=>{const{normalize:t}=e;return t(["Consume goods for 3/4/5/6 VPs"])},4:e=>{const{normalize:t}=e;return t(["Consume goods for 3/4/5/6 VPs, take 6+ scoring into account"])}},objectiveDifficultyLevel:{1:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Normal (1 out of ",n(s("diceRoll"))," probability to fulfill an objective, max. ",n(s("maxCount")),")"])},2:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Hard (1 out of ",n(s("diceRoll"))," probability to fulfill an objective, max. ",n(s("maxCount")),")"])},3:e=>{const{normalize:t,interpolate:n,named:s}=e;return t(["Insane (1 out of ",n(s("diceRoll"))," probability to fulfill an objective, max. ",n(s("maxCount")),")"])}},notfound:{title:e=>{const{normalize:t}=e;return t(["Not Found"])}},action:{playGame:e=>{const{normalize:t}=e;return t(["Play Game"])},startGame:e=>{const{normalize:t}=e;return t(["Start Game"])},next:e=>{const{normalize:t}=e;return t(["Next"])},nextRound:e=>{const{normalize:t}=e;return t(["Next Round"])},abortGame:e=>{const{normalize:t}=e;return t(["Abort Game"])},abortGameConfirm:e=>{const{normalize:t}=e;return t(["Aborting the running game - are you sure?"])},endGame:e=>{const{normalize:t}=e;return t(["End Game"])},endGameConfirm:e=>{const{normalize:t}=e;return t(["End this game and return to home screen - are you sure?"])},endGameGoToScoringConfirm:e=>{const{normalize:t}=e;return t(["End this game and go to scoring screen?"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},backToHome:e=>{const{normalize:t}=e;return t(["Back to Home"])},back:e=>{const{normalize:t}=e;return t(["Back"])},close:e=>{const{normalize:t}=e;return t(["Close"])}},footer:{credits:e=>{const{normalize:t}=e;return t(["Credits"])}},serviceWorkerUpdatedRefresh:{title:e=>{const{normalize:t}=e;return t(["Refresh Application"])},notice:e=>{const{normalize:t}=e;return t(["The application was updated - do you want to refresh to use the latest version?"])}}}}),Vv=z_({legacy:!1,locale:"en",fallbackLocale:"en",messages:Fv}),Hv=ge({name:"AppHeader",props:{title:{type:String,require:!0}},emits:{setLocale(e){return e.language.length>0}},setup(){const{locale:e,availableLocales:t}=Ae({inheritLocale:!0,useScope:"global"});return{locale:e,availableLocales:t}},methods:{setLocale(e){this.$emit("setLocale",{language:e})}}}),Bv="data:image/svg+xml,%3csvg%20style='height:%20512px;%20width:%20512px;'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3e%3cpath%20d='M0%200h512v512H0z'%20fill='%23212529'%20fill-opacity='1'%3e%3c/path%3e%3cg%20class=''%20style=''%20transform='translate(0,0)'%3e%3cpath%20d='M35.31%2022.3C27.498%2042.766%2022.138%2064.643%2020%2087.378l103.705%2027.79-4.838%2018.052-99.873-26.763c-.012.954-.035%201.905-.035%202.86%200%2014.055%201.196%2027.83%203.48%2041.23h94.146v18.687H26.393c3.368%2013.324%207.83%2026.207%2013.29%2038.547l79.184-21.216%204.838%2018.05-75.64%2020.27c5.994%2011.096%2012.817%2021.67%2020.396%2031.636l61.933-35.756%209.343%2016.183-59.22%2034.192c7.782%208.728%2016.18%2016.885%2025.132%2024.4l44.73-44.726%2013.214%2013.215-43.055%2043.052c8.963%206.406%2018.374%2012.215%2028.186%2017.357l28.734-49.772%2016.186%209.346-27.987%2048.472c12.545%205.367%2025.63%209.697%2039.156%2012.87.99%203.566%202.08%207.103%203.25%2010.593-12.36%209.993-24.163%2020.49-35.12%2031.728-4.458-2.16-9.46-3.373-14.75-3.373-18.707%200-33.874%2015.164-33.874%2033.873%200%201.715.13%203.402.377%205.05%202.02-11.514%2012.06-20.265%2024.153-20.265%203.103%200%206.068.582%208.8%201.633-10.103%2012.102-19.193%2025.08-26.906%2039.23%2013.897-7.544%2027.684-15.755%2041.15-24.764.96%202.63%201.485%205.468%201.485%208.43%200%2012.122-8.796%2022.184-20.352%2024.168%201.685.258%203.412.393%205.168.393%2018.71%200%2033.873-15.168%2033.873-33.875%200-4.17-.757-8.16-2.134-11.848%2010.033-7.467%2019.823-15.43%2029.26-23.984%202.978%205.705%206.203%2011.034%209.65%2015.818l-43.53%2087.17c48.267%2022.47%20115.7%2022.76%20157.872%200l-42.13-84.36c3.722-4.81%207.21-10.25%2010.426-16.14%208.577%207.617%2017.428%2014.77%2026.483%2021.508-1.375%203.685-2.13%207.67-2.13%2011.836%200%2018.707%2015.165%2033.873%2033.874%2033.873%201.758%200%203.486-.132%205.172-.39-11.56-1.983-20.355-12.045-20.355-24.168%200-2.964.525-5.805%201.49-8.435%2013.464%209.006%2027.247%2017.223%2041.143%2024.767-7.71-14.148-16.78-27.136-26.877-39.238%202.726-1.045%205.682-1.623%208.775-1.623%2012.09%200%2022.13%208.75%2024.15%2020.262.246-1.647.377-3.332.377-5.047%200-18.71-15.166-33.873-33.875-33.873-5.275%200-10.268%201.205-14.72%203.355-10.007-10.27-20.74-19.908-31.946-29.12%201.938-5.52%203.658-11.18%205.132-16.886%207.91-2.368%2015.65-5.14%2023.2-8.283l-28.497-49.356%2016.186-9.346%2029.34%2050.816c9.98-5.11%2019.555-10.9%2028.672-17.308l-44.146-44.147%2013.215-13.216%2045.926%2045.922c9.145-7.557%2017.72-15.785%2025.666-24.6l-60.95-35.19%209.343-16.182%2063.748%2036.804c7.76-10.087%2014.746-20.807%2020.87-32.07l-77.93-20.883%204.837-18.05%2081.534%2021.847c5.588-12.533%2010.157-25.625%2013.584-39.178h-92.836v-18.687h96.777c2.282-13.4%203.48-27.174%203.48-41.23%200-1.19-.025-2.376-.044-3.563L397.652%20133.22l-4.836-18.054L499.09%2086.69c-2.18-22.49-7.52-44.13-15.254-64.39h-.004C457.315%2063.81%20400.24%2096.234%20329.068%20109.32c12.67%2015.603%2020.442%2035.52%2020.442%2057.233%200%2031.196-15.723%2058.718-39.604%2075-21.27-12.407-42.907-28.878-45.52-43.814l17.653-3.81-2.235-10.352c15.67-11.335%2033.936-9.138%2053.433-.01l-18.302-40.414-41.903%209.04-2.846-13.188V139l-80.87%2017.453%2020.458%2030.266c-8.595%2019.678-2.717%2041.68%205.45%2058.56-27.204-15.57-45.592-44.998-45.592-78.73%200-21.713%207.772-41.63%2020.44-57.232C118.904%2096.234%2061.83%2063.81%2035.312%2022.3zm216.45%20132.567c5.244-.056%209.98%203.573%2011.13%208.9%201.312%206.085-2.557%2012.084-8.644%2013.397-6.087%201.313-12.085-2.556-13.398-8.643-1.314-6.085%202.556-12.086%208.642-13.4.76-.163%201.52-.245%202.27-.253z'%20fill='%23fff'%20fill-opacity='1'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",jv=e=>(lo("data-v-26d147cb"),e=e(),ao(),e),Wv={class:"header bg-dark fixed-top"},Uv=jv(()=>_("a",{class:"logo",href:"https://brdgm.me/"},[_("img",{class:"icon",src:Bv,alt:""}),_("div",{class:"title"},"brdgm.me")],-1)),Gv={class:"gameTitle"},Kv={class:"langSelector"},Yv={class:"btn btn-secondary btn-sm dropdown-toggle",id:"dropdownMenuButton1","data-bs-toggle":"dropdown","aria-expanded":"false"},qv={class:"dropdown-menu","aria-labelledby":"dropdownMenuButton1"},Xv=["onClick"];function Zv(e,t,n,s,r,o){return j(),G("div",Wv,[Uv,_("div",Gv,B(e.title),1),_("div",Kv,[_("button",Yv,B(e.locale),1),_("ul",qv,[_("li",null,[(j(!0),G(ne,null,Nt(e.availableLocales,i=>(j(),G("a",{class:bs(["dropdown-item",{active:i==e.locale}]),href:"#",key:i,onClick:Dr(l=>e.setLocale(i),["prevent"])},B(i),11,Xv))),128))])])])])}const Qv=Se(Hv,[["render",Zv],["__scopeId","data-v-26d147cb"]]),Jv=ge({name:"AppFooter",props:{buildNumber:{type:String,require:!0},creditsLabel:{type:String,require:!0},creditsModalId:{type:String,require:!0},zoomEnabled:{type:Boolean,require:!1},baseFontSize:{type:Number,require:!1}},emits:{zoomFontSize(e){return e.baseFontSize>0}},data(){return{currentBaseFontSize:this.baseFontSize??1}},computed:{zoomPercent(){return Math.floor(this.currentBaseFontSize*100)+"%"}},methods:{zoomIn(){this.currentBaseFontSize<3&&(this.currentBaseFontSize+=.1),this.$emit("zoomFontSize",{baseFontSize:this.currentBaseFontSize})},zoomOut(){this.currentBaseFontSize>.51&&(this.currentBaseFontSize-=.1),this.$emit("zoomFontSize",{baseFontSize:this.currentBaseFontSize})},zoomReset(){this.currentBaseFontSize=1,this.$emit("zoomFontSize",{baseFontSize:this.currentBaseFontSize})}}}),yl=e=>(lo("data-v-f4aa44d1"),e=e(),ao(),e),eb={class:"footer bg-dark fixed-bottom"},tb={class:"links"},nb=["data-bs-target"],sb={class:"version"},rb={key:0},ob=yl(()=>_("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-zoom-in",viewBox:"0 0 16 16"},[_("path",{"fill-rule":"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}),_("path",{d:"M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"}),_("path",{"fill-rule":"evenodd",d:"M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z"})],-1)),ib=[ob],lb=yl(()=>_("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-zoom-out",viewBox:"0 0 16 16"},[_("path",{"fill-rule":"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}),_("path",{d:"M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"}),_("path",{"fill-rule":"evenodd",d:"M3 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z"})],-1)),ab=[lb],cb=yl(()=>_("div",{class:"buttons"},null,-1));function ub(e,t,n,s,r,o){return j(),G("div",eb,[_("div",tb,[_("a",{href:"#","data-bs-toggle":"modal","data-bs-target":"#"+e.creditsModalId},B(e.creditsLabel),9,nb),_("span",sb,"v"+B(e.buildNumber),1)]),e.zoomEnabled?(j(),G("div",rb,[_("a",{class:"zoom-icon",onClick:t[0]||(t[0]=Dr((...i)=>e.zoomIn&&e.zoomIn(...i),["prevent"]))},ib),_("a",{class:"zoom-icon",onClick:t[1]||(t[1]=Dr((...i)=>e.zoomReset&&e.zoomReset(...i),["prevent"]))},B(e.zoomPercent),1),_("a",{class:"zoom-icon",onClick:t[2]||(t[2]=Dr((...i)=>e.zoomOut&&e.zoomOut(...i),["prevent"]))},ab)])):Ge("",!0),cb])}const fb=Se(Jv,[["render",ub],["__scopeId","data-v-f4aa44d1"]]);class db extends Error{constructor(t,n,s,r){super(t),this._key=n,this._named=s??{},this._plural=r||0}get key(){return this._key}get named(){return this._named}get plural(){return this._plural}}function hb(e,t){let n;return e instanceof db?n=t(e):e instanceof Error?n=e.message:n=e,n}var Xe="top",it="bottom",lt="right",Ze="left",To="auto",ws=[Xe,it,lt,Ze],Mn="start",ds="end",xf="clippingParents",Tl="viewport",Yn="popper",zf="reference",Di=ws.reduce(function(e,t){return e.concat([t+"-"+Mn,t+"-"+ds])},[]),wl=[].concat(ws,[To]).reduce(function(e,t){return e.concat([t,t+"-"+Mn,t+"-"+ds])},[]),Ff="beforeRead",Vf="read",Hf="afterRead",Bf="beforeMain",jf="main",Wf="afterMain",Uf="beforeWrite",Gf="write",Kf="afterWrite",Yf=[Ff,Vf,Hf,Bf,jf,Wf,Uf,Gf,Kf];function kt(e){return e?(e.nodeName||"").toLowerCase():null}function at(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function xn(e){var t=at(e).Element;return e instanceof t||e instanceof Element}function ft(e){var t=at(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Al(e){if(typeof ShadowRoot>"u")return!1;var t=at(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function pb(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},o=t.elements[n];!ft(o)||!kt(o)||(Object.assign(o.style,s),Object.keys(r).forEach(function(i){var l=r[i];l===!1?o.removeAttribute(i):o.setAttribute(i,l===!0?"":l)}))})}function mb(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],o=t.attributes[s]||{},i=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=i.reduce(function(a,c){return a[c]="",a},{});!ft(r)||!kt(r)||(Object.assign(r.style,l),Object.keys(o).forEach(function(a){r.removeAttribute(a)}))})}}const Sl={name:"applyStyles",enabled:!0,phase:"write",fn:pb,effect:mb,requires:["computeStyles"]};function $t(e){return e.split("-")[0]}var Rn=Math.max,Yr=Math.min,hs=Math.round;function Ri(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qf(){return!/^((?!chrome|android).)*safari/i.test(Ri())}function ps(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,o=1;t&&ft(e)&&(r=e.offsetWidth>0&&hs(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&hs(s.height)/e.offsetHeight||1);var i=xn(e)?at(e):window,l=i.visualViewport,a=!qf()&&n,c=(s.left+(a&&l?l.offsetLeft:0))/r,u=(s.top+(a&&l?l.offsetTop:0))/o,f=s.width/r,d=s.height/o;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Ol(e){var t=ps(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Xf(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Al(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function jt(e){return at(e).getComputedStyle(e)}function _b(e){return["table","td","th"].indexOf(kt(e))>=0}function gn(e){return((xn(e)?e.ownerDocument:e.document)||window.document).documentElement}function wo(e){return kt(e)==="html"?e:e.assignedSlot||e.parentNode||(Al(e)?e.host:null)||gn(e)}function gc(e){return!ft(e)||jt(e).position==="fixed"?null:e.offsetParent}function gb(e){var t=/firefox/i.test(Ri()),n=/Trident/i.test(Ri());if(n&&ft(e)){var s=jt(e);if(s.position==="fixed")return null}var r=wo(e);for(Al(r)&&(r=r.host);ft(r)&&["html","body"].indexOf(kt(r))<0;){var o=jt(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function ir(e){for(var t=at(e),n=gc(e);n&&_b(n)&&jt(n).position==="static";)n=gc(n);return n&&(kt(n)==="html"||kt(n)==="body"&&jt(n).position==="static")?t:n||gb(e)||t}function Cl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Bs(e,t,n){return Rn(e,Yr(t,n))}function vb(e,t,n){var s=Bs(e,t,n);return s>n?n:s}function Zf(){return{top:0,right:0,bottom:0,left:0}}function Qf(e){return Object.assign({},Zf(),e)}function Jf(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var bb=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Qf(typeof t!="number"?t:Jf(t,ws))};function Eb(e){var t,n=e.state,s=e.name,r=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,l=$t(n.placement),a=Cl(l),c=[Ze,lt].indexOf(l)>=0,u=c?"height":"width";if(!(!o||!i)){var f=bb(r.padding,n),d=Ol(o),m=a==="y"?Xe:Ze,E=a==="y"?it:lt,b=n.rects.reference[u]+n.rects.reference[a]-i[a]-n.rects.popper[u],C=i[a]-n.rects.reference[a],A=ir(o),L=A?a==="y"?A.clientHeight||0:A.clientWidth||0:0,z=b/2-C/2,T=f[m],k=L-d[u]-f[E],H=L/2-d[u]/2+z,R=Bs(T,H,k),U=a;n.modifiersData[s]=(t={},t[U]=R,t.centerOffset=R-H,t)}}function yb(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Xf(t.elements.popper,r)&&(t.elements.arrow=r))}const ed={name:"arrow",enabled:!0,phase:"main",fn:Eb,effect:yb,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ms(e){return e.split("-")[1]}var Tb={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wb(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:hs(n*r)/r||0,y:hs(s*r)/r||0}}function vc(e){var t,n=e.popper,s=e.popperRect,r=e.placement,o=e.variation,i=e.offsets,l=e.position,a=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=i.x,m=d===void 0?0:d,E=i.y,b=E===void 0?0:E,C=typeof u=="function"?u({x:m,y:b}):{x:m,y:b};m=C.x,b=C.y;var A=i.hasOwnProperty("x"),L=i.hasOwnProperty("y"),z=Ze,T=Xe,k=window;if(c){var H=ir(n),R="clientHeight",U="clientWidth";if(H===at(n)&&(H=gn(n),jt(H).position!=="static"&&l==="absolute"&&(R="scrollHeight",U="scrollWidth")),H=H,r===Xe||(r===Ze||r===lt)&&o===ds){T=it;var q=f&&H===k&&k.visualViewport?k.visualViewport.height:H[R];b-=q-s.height,b*=a?1:-1}if(r===Ze||(r===Xe||r===it)&&o===ds){z=lt;var ee=f&&H===k&&k.visualViewport?k.visualViewport.width:H[U];m-=ee-s.width,m*=a?1:-1}}var re=Object.assign({position:l},c&&Tb),le=u===!0?wb({x:m,y:b},at(n)):{x:m,y:b};if(m=le.x,b=le.y,a){var de;return Object.assign({},re,(de={},de[T]=L?"0":"",de[z]=A?"0":"",de.transform=(k.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",de))}return Object.assign({},re,(t={},t[T]=L?b+"px":"",t[z]=A?m+"px":"",t.transform="",t))}function Ab(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,o=n.adaptive,i=o===void 0?!0:o,l=n.roundOffsets,a=l===void 0?!0:l,c={placement:$t(t.placement),variation:ms(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,vc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,vc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ll={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ab,data:{}};var yr={passive:!0};function Sb(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,o=r===void 0?!0:r,i=s.resize,l=i===void 0?!0:i,a=at(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,yr)}),l&&a.addEventListener("resize",n.update,yr),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,yr)}),l&&a.removeEventListener("resize",n.update,yr)}}const Pl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Sb,data:{}};var Ob={left:"right",right:"left",bottom:"top",top:"bottom"};function Rr(e){return e.replace(/left|right|bottom|top/g,function(t){return Ob[t]})}var Cb={start:"end",end:"start"};function bc(e){return e.replace(/start|end/g,function(t){return Cb[t]})}function Nl(e){var t=at(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function $l(e){return ps(gn(e)).left+Nl(e).scrollLeft}function Lb(e,t){var n=at(e),s=gn(e),r=n.visualViewport,o=s.clientWidth,i=s.clientHeight,l=0,a=0;if(r){o=r.width,i=r.height;var c=qf();(c||!c&&t==="fixed")&&(l=r.offsetLeft,a=r.offsetTop)}return{width:o,height:i,x:l+$l(e),y:a}}function Pb(e){var t,n=gn(e),s=Nl(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=Rn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Rn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-s.scrollLeft+$l(e),a=-s.scrollTop;return jt(r||n).direction==="rtl"&&(l+=Rn(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:l,y:a}}function Il(e){var t=jt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function td(e){return["html","body","#document"].indexOf(kt(e))>=0?e.ownerDocument.body:ft(e)&&Il(e)?e:td(wo(e))}function js(e,t){var n;t===void 0&&(t=[]);var s=td(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=at(s),i=r?[o].concat(o.visualViewport||[],Il(s)?s:[]):s,l=t.concat(i);return r?l:l.concat(js(wo(i)))}function ki(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Nb(e,t){var n=ps(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ec(e,t,n){return t===Tl?ki(Lb(e,n)):xn(t)?Nb(t,n):ki(Pb(gn(e)))}function $b(e){var t=js(wo(e)),n=["absolute","fixed"].indexOf(jt(e).position)>=0,s=n&&ft(e)?ir(e):e;return xn(s)?t.filter(function(r){return xn(r)&&Xf(r,s)&&kt(r)!=="body"}):[]}function Ib(e,t,n,s){var r=t==="clippingParents"?$b(e):[].concat(t),o=[].concat(r,[n]),i=o[0],l=o.reduce(function(a,c){var u=Ec(e,c,s);return a.top=Rn(u.top,a.top),a.right=Yr(u.right,a.right),a.bottom=Yr(u.bottom,a.bottom),a.left=Rn(u.left,a.left),a},Ec(e,i,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function nd(e){var t=e.reference,n=e.element,s=e.placement,r=s?$t(s):null,o=s?ms(s):null,i=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,a;switch(r){case Xe:a={x:i,y:t.y-n.height};break;case it:a={x:i,y:t.y+t.height};break;case lt:a={x:t.x+t.width,y:l};break;case Ze:a={x:t.x-n.width,y:l};break;default:a={x:t.x,y:t.y}}var c=r?Cl(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Mn:a[c]=a[c]-(t[u]/2-n[u]/2);break;case ds:a[c]=a[c]+(t[u]/2-n[u]/2);break}}return a}function _s(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,o=n.strategy,i=o===void 0?e.strategy:o,l=n.boundary,a=l===void 0?xf:l,c=n.rootBoundary,u=c===void 0?Tl:c,f=n.elementContext,d=f===void 0?Yn:f,m=n.altBoundary,E=m===void 0?!1:m,b=n.padding,C=b===void 0?0:b,A=Qf(typeof C!="number"?C:Jf(C,ws)),L=d===Yn?zf:Yn,z=e.rects.popper,T=e.elements[E?L:d],k=Ib(xn(T)?T:T.contextElement||gn(e.elements.popper),a,u,i),H=ps(e.elements.reference),R=nd({reference:H,element:z,strategy:"absolute",placement:r}),U=ki(Object.assign({},z,R)),q=d===Yn?U:H,ee={top:k.top-q.top+A.top,bottom:q.bottom-k.bottom+A.bottom,left:k.left-q.left+A.left,right:q.right-k.right+A.right},re=e.modifiersData.offset;if(d===Yn&&re){var le=re[r];Object.keys(ee).forEach(function(de){var Fe=[lt,it].indexOf(de)>=0?1:-1,Oe=[Xe,it].indexOf(de)>=0?"y":"x";ee[de]+=le[Oe]*Fe})}return ee}function Db(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,o=n.rootBoundary,i=n.padding,l=n.flipVariations,a=n.allowedAutoPlacements,c=a===void 0?wl:a,u=ms(s),f=u?l?Di:Di.filter(function(E){return ms(E)===u}):ws,d=f.filter(function(E){return c.indexOf(E)>=0});d.length===0&&(d=f);var m=d.reduce(function(E,b){return E[b]=_s(e,{placement:b,boundary:r,rootBoundary:o,padding:i})[$t(b)],E},{});return Object.keys(m).sort(function(E,b){return m[E]-m[b]})}function Rb(e){if($t(e)===To)return[];var t=Rr(e);return[bc(e),t,bc(t)]}function kb(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,o=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!0:i,a=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,m=n.flipVariations,E=m===void 0?!0:m,b=n.allowedAutoPlacements,C=t.options.placement,A=$t(C),L=A===C,z=a||(L||!E?[Rr(C)]:Rb(C)),T=[C].concat(z).reduce(function(Ye,Qe){return Ye.concat($t(Qe)===To?Db(t,{placement:Qe,boundary:u,rootBoundary:f,padding:c,flipVariations:E,allowedAutoPlacements:b}):Qe)},[]),k=t.rects.reference,H=t.rects.popper,R=new Map,U=!0,q=T[0],ee=0;ee=0,Oe=Fe?"width":"height",te=_s(t,{placement:re,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),oe=Fe?de?lt:Ze:de?it:Xe;k[Oe]>H[Oe]&&(oe=Rr(oe));var ae=Rr(oe),be=[];if(o&&be.push(te[le]<=0),l&&be.push(te[oe]<=0,te[ae]<=0),be.every(function(Ye){return Ye})){q=re,U=!1;break}R.set(re,be)}if(U)for(var je=E?3:1,We=function(Qe){var Te=T.find(function(S){var F=R.get(S);if(F)return F.slice(0,Qe).every(function(M){return M})});if(Te)return q=Te,"break"},Ce=je;Ce>0;Ce--){var st=We(Ce);if(st==="break")break}t.placement!==q&&(t.modifiersData[s]._skip=!0,t.placement=q,t.reset=!0)}}const sd={name:"flip",enabled:!0,phase:"main",fn:kb,requiresIfExists:["offset"],data:{_skip:!1}};function yc(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Tc(e){return[Xe,lt,it,Ze].some(function(t){return e[t]>=0})}function Mb(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,i=_s(t,{elementContext:"reference"}),l=_s(t,{altBoundary:!0}),a=yc(i,s),c=yc(l,r,o),u=Tc(a),f=Tc(c);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const rd={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Mb};function xb(e,t,n){var s=$t(e),r=[Ze,Xe].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=o[0],l=o[1];return i=i||0,l=(l||0)*r,[Ze,lt].indexOf(s)>=0?{x:l,y:i}:{x:i,y:l}}function zb(e){var t=e.state,n=e.options,s=e.name,r=n.offset,o=r===void 0?[0,0]:r,i=wl.reduce(function(u,f){return u[f]=xb(f,t.rects,o),u},{}),l=i[t.placement],a=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=c),t.modifiersData[s]=i}const od={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:zb};function Fb(e){var t=e.state,n=e.name;t.modifiersData[n]=nd({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Dl={name:"popperOffsets",enabled:!0,phase:"read",fn:Fb,data:{}};function Vb(e){return e==="x"?"y":"x"}function Hb(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,o=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!1:i,a=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,m=d===void 0?!0:d,E=n.tetherOffset,b=E===void 0?0:E,C=_s(t,{boundary:a,rootBoundary:c,padding:f,altBoundary:u}),A=$t(t.placement),L=ms(t.placement),z=!L,T=Cl(A),k=Vb(T),H=t.modifiersData.popperOffsets,R=t.rects.reference,U=t.rects.popper,q=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,ee=typeof q=="number"?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),re=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(H){if(o){var de,Fe=T==="y"?Xe:Ze,Oe=T==="y"?it:lt,te=T==="y"?"height":"width",oe=H[T],ae=oe+C[Fe],be=oe-C[Oe],je=m?-U[te]/2:0,We=L===Mn?R[te]:U[te],Ce=L===Mn?-U[te]:-R[te],st=t.elements.arrow,Ye=m&&st?Ol(st):{width:0,height:0},Qe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zf(),Te=Qe[Fe],S=Qe[Oe],F=Bs(0,R[te],Ye[te]),M=z?R[te]/2-je-F-Te-ee.mainAxis:We-F-Te-ee.mainAxis,Y=z?-R[te]/2+je+F+S+ee.mainAxis:Ce+F+S+ee.mainAxis,ue=t.elements.arrow&&ir(t.elements.arrow),h=ue?T==="y"?ue.clientTop||0:ue.clientLeft||0:0,p=(de=re==null?void 0:re[T])!=null?de:0,v=oe+M-p-h,w=oe+Y-p,O=Bs(m?Yr(ae,v):ae,oe,m?Rn(be,w):be);H[T]=O,le[T]=O-oe}if(l){var P,V=T==="x"?Xe:Ze,I=T==="x"?it:lt,D=H[k],N=k==="y"?"height":"width",X=D+C[V],x=D-C[I],g=[Xe,Ze].indexOf(A)!==-1,y=(P=re==null?void 0:re[k])!=null?P:0,W=g?X:D-R[N]-U[N]-y+ee.altAxis,Q=g?D+R[N]+U[N]-y-ee.altAxis:x,ie=m&&g?vb(W,D,Q):Bs(m?W:X,D,m?Q:x);H[k]=ie,le[k]=ie-D}t.modifiersData[s]=le}}const id={name:"preventOverflow",enabled:!0,phase:"main",fn:Hb,requiresIfExists:["offset"]};function Bb(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jb(e){return e===at(e)||!ft(e)?Nl(e):Bb(e)}function Wb(e){var t=e.getBoundingClientRect(),n=hs(t.width)/e.offsetWidth||1,s=hs(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Ub(e,t,n){n===void 0&&(n=!1);var s=ft(t),r=ft(t)&&Wb(t),o=gn(t),i=ps(e,r,n),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(s||!s&&!n)&&((kt(t)!=="body"||Il(o))&&(l=jb(t)),ft(t)?(a=ps(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):o&&(a.x=$l(o))),{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function Gb(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function r(o){n.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(l){if(!n.has(l)){var a=t.get(l);a&&r(a)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||r(o)}),s}function Kb(e){var t=Gb(e);return Yf.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function Yb(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function qb(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var wc={placement:"bottom",modifiers:[],strategy:"absolute"};function Ac(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),nE=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),sE=e=>{do e+=Math.floor(Math.random()*eE);while(document.getElementById(e));return e},rE=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*tE)},cd=e=>{e.dispatchEvent(new Event(Mi))},Ht=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),dn=e=>Ht(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(ad(e)):null,As=e=>{if(!Ht(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},hn=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",ud=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?ud(e.parentNode):null},qr=()=>{},lr=e=>{e.offsetHeight},fd=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Uo=[],oE=e=>{document.readyState==="loading"?(Uo.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Uo)t()}),Uo.push(e)):e()},ht=()=>document.documentElement.dir==="rtl",mt=e=>{oE(()=>{const t=fd();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},tt=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,dd=(e,t,n=!0)=>{if(!n){tt(e);return}const s=5,r=rE(t)+s;let o=!1;const i=({target:l})=>{l===t&&(o=!0,t.removeEventListener(Mi,i),tt(e))};t.addEventListener(Mi,i),setTimeout(()=>{o||cd(t)},r)},Dl=(e,t,n,s)=>{const r=e.length;let o=e.indexOf(t);return o===-1?!n&&s?e[r-1]:e[0]:(o+=n?1:-1,s&&(o=(o+r)%r),e[Math.max(0,Math.min(o,r-1))])},iE=/[^.]*(?=\..*)\.|.*/,lE=/\..*/,aE=/::\d+$/,Go={};let wc=1;const hd={mouseenter:"mouseover",mouseleave:"mouseout"},cE=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function pd(e,t){return t&&`${t}::${wc++}`||e.uidEvent||wc++}function md(e){const t=pd(e);return e.uidEvent=t,Go[t]=Go[t]||{},Go[t]}function uE(e,t){return function n(s){return Rl(s,{delegateTarget:e}),n.oneOff&&$.off(e,s.type,t),t.apply(e,[s])}}function fE(e,t,n){return function s(r){const o=e.querySelectorAll(t);for(let{target:i}=r;i&&i!==this;i=i.parentNode)for(const l of o)if(l===i)return Rl(r,{delegateTarget:i}),s.oneOff&&$.off(e,r.type,t,n),n.apply(i,[r])}}function _d(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function gd(e,t,n){const s=typeof t=="string",r=s?n:t||n;let o=vd(e);return cE.has(o)||(o=e),[s,r,o]}function Ac(e,t,n,s,r){if(typeof t!="string"||!e)return;let[o,i,l]=gd(t,n,s);t in hd&&(i=(E=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return E.call(this,b)})(i));const a=md(e),c=a[l]||(a[l]={}),u=_d(c,i,o?n:null);if(u){u.oneOff=u.oneOff&&r;return}const f=pd(i,t.replace(iE,"")),d=o?fE(e,n,i):uE(e,i);d.delegationSelector=o?n:null,d.callable=i,d.oneOff=r,d.uidEvent=f,c[f]=d,e.addEventListener(l,d,o)}function xi(e,t,n,s,r){const o=_d(t[n],s,r);o&&(e.removeEventListener(n,o,!!r),delete t[n][o.uidEvent])}function dE(e,t,n,s){const r=t[n]||{};for(const[o,i]of Object.entries(r))o.includes(s)&&xi(e,t,n,i.callable,i.delegationSelector)}function vd(e){return e=e.replace(lE,""),hd[e]||e}const $={on(e,t,n,s){Ac(e,t,n,s,!1)},one(e,t,n,s){Ac(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[r,o,i]=gd(t,n,s),l=i!==t,a=md(e),c=a[i]||{},u=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(c).length)return;xi(e,a,i,o,r?n:null);return}if(u)for(const f of Object.keys(a))dE(e,a,f,t.slice(1));for(const[f,d]of Object.entries(c)){const m=f.replace(aE,"");(!l||t.includes(m))&&xi(e,a,i,d.callable,d.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const s=fd(),r=vd(t),o=t!==r;let i=null,l=!0,a=!0,c=!1;o&&s&&(i=s.Event(t,n),s(e).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented());const u=Rl(new Event(t,{bubbles:l,cancelable:!0}),n);return c&&u.preventDefault(),a&&e.dispatchEvent(u),u.defaultPrevented&&i&&i.preventDefault(),u}};function Rl(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}function Sc(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Ko(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Bt={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Ko(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Ko(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=Sc(e.dataset[s])}return t},getDataAttribute(e,t){return Sc(e.getAttribute(`data-bs-${Ko(t)}`))}};class ar{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const s=Ht(n)?Bt.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Ht(n)?Bt.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const o=t[s],i=Ht(o)?"element":nE(o);if(!new RegExp(r).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${i}" but expected type "${r}".`)}}}const hE="5.3.2";class wt extends ar{constructor(t,n){super(),t=dn(t),t&&(this._element=t,this._config=this._getConfig(n),Wo.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Wo.remove(this._element,this.constructor.DATA_KEY),$.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,s=!0){dd(t,n,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Wo.get(dn(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return hE}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Yo=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?ad(n.trim()):null}return t},Z={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let s=e.parentNode.closest(t);for(;s;)n.push(s),s=s.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!hn(n)&&As(n))},getSelectorFromElement(e){const t=Yo(e);return t&&Z.findOne(t)?t:null},getElementFromSelector(e){const t=Yo(e);return t?Z.findOne(t):null},getMultipleElementsFromSelector(e){const t=Yo(e);return t?Z.find(t):[]}},So=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;$.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),hn(this))return;const o=Z.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(o)[t]()})},pE="alert",mE="bs.alert",bd=`.${mE}`,_E=`close${bd}`,gE=`closed${bd}`,vE="fade",bE="show";class Oo extends wt{static get NAME(){return pE}close(){if($.trigger(this._element,_E).defaultPrevented)return;this._element.classList.remove(bE);const n=this._element.classList.contains(vE);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),$.trigger(this._element,gE),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Oo.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}So(Oo,"close");mt(Oo);const EE="button",yE="bs.button",TE=`.${yE}`,wE=".data-api",AE="active",Oc='[data-bs-toggle="button"]',SE=`click${TE}${wE}`;class Co extends wt{static get NAME(){return EE}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(AE))}static jQueryInterface(t){return this.each(function(){const n=Co.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}$.on(document,SE,Oc,e=>{e.preventDefault();const t=e.target.closest(Oc);Co.getOrCreateInstance(t).toggle()});mt(Co);const OE="swipe",Ss=".bs.swipe",CE=`touchstart${Ss}`,LE=`touchmove${Ss}`,PE=`touchend${Ss}`,NE=`pointerdown${Ss}`,$E=`pointerup${Ss}`,IE="touch",DE="pen",RE="pointer-event",kE=40,ME={endCallback:null,leftCallback:null,rightCallback:null},xE={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Xr extends ar{constructor(t,n){super(),this._element=t,!(!t||!Xr.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ME}static get DefaultType(){return xE}static get NAME(){return OE}dispose(){$.off(this._element,Ss)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),tt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=kE)return;const n=t/this._deltaX;this._deltaX=0,n&&tt(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?($.on(this._element,NE,t=>this._start(t)),$.on(this._element,$E,t=>this._end(t)),this._element.classList.add(RE)):($.on(this._element,CE,t=>this._start(t)),$.on(this._element,LE,t=>this._move(t)),$.on(this._element,PE,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===DE||t.pointerType===IE)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const zE="carousel",FE="bs.carousel",vn=`.${FE}`,Ed=".data-api",VE="ArrowLeft",HE="ArrowRight",BE=500,$s="next",Un="prev",qn="left",kr="right",jE=`slide${vn}`,qo=`slid${vn}`,WE=`keydown${vn}`,UE=`mouseenter${vn}`,GE=`mouseleave${vn}`,KE=`dragstart${vn}`,YE=`load${vn}${Ed}`,qE=`click${vn}${Ed}`,yd="carousel",Tr="active",XE="slide",ZE="carousel-item-end",QE="carousel-item-start",JE="carousel-item-next",ey="carousel-item-prev",Td=".active",wd=".carousel-item",ty=Td+wd,ny=".carousel-item img",sy=".carousel-indicators",ry="[data-bs-slide], [data-bs-slide-to]",oy='[data-bs-ride="carousel"]',iy={[VE]:kr,[HE]:qn},ly={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ay={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class cr extends wt{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Z.findOne(sy,this._element),this._addEventListeners(),this._config.ride===yd&&this.cycle()}static get Default(){return ly}static get DefaultType(){return ay}static get NAME(){return zE}next(){this._slide($s)}nextWhenVisible(){!document.hidden&&As(this._element)&&this.next()}prev(){this._slide(Un)}pause(){this._isSliding&&cd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){$.one(this._element,qo,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){$.one(this._element,qo,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const r=t>s?$s:Un;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&$.on(this._element,WE,t=>this._keydown(t)),this._config.pause==="hover"&&($.on(this._element,UE,()=>this.pause()),$.on(this._element,GE,()=>this._maybeEnableCycle())),this._config.touch&&Xr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of Z.find(ny,this._element))$.on(s,KE,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(qn)),rightCallback:()=>this._slide(this._directionToOrder(kr)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),BE+this._config.interval))}};this._swipeHelper=new Xr(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=iy[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=Z.findOne(Td,this._indicatorsElement);n.classList.remove(Tr),n.removeAttribute("aria-current");const s=Z.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(Tr),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const s=this._getActive(),r=t===$s,o=n||Dl(this._getItems(),s,r,this._config.wrap);if(o===s)return;const i=this._getItemIndex(o),l=m=>$.trigger(this._element,m,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:i});if(l(jE).defaultPrevented||!s||!o)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=o;const u=r?QE:ZE,f=r?JE:ey;o.classList.add(f),lr(o),s.classList.add(u),o.classList.add(u);const d=()=>{o.classList.remove(u,f),o.classList.add(Tr),s.classList.remove(Tr,f,u),this._isSliding=!1,l(qo)};this._queueCallback(d,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(XE)}_getActive(){return Z.findOne(ty,this._element)}_getItems(){return Z.find(wd,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ht()?t===qn?Un:$s:t===qn?$s:Un}_orderToDirection(t){return ht()?t===Un?qn:kr:t===Un?kr:qn}static jQueryInterface(t){return this.each(function(){const n=cr.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}$.on(document,qE,ry,function(e){const t=Z.getElementFromSelector(this);if(!t||!t.classList.contains(yd))return;e.preventDefault();const n=cr.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(Bt.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});$.on(window,YE,()=>{const e=Z.find(oy);for(const t of e)cr.getOrCreateInstance(t)});mt(cr);const cy="collapse",uy="bs.collapse",ur=`.${uy}`,fy=".data-api",dy=`show${ur}`,hy=`shown${ur}`,py=`hide${ur}`,my=`hidden${ur}`,_y=`click${ur}${fy}`,Xo="show",Qn="collapse",wr="collapsing",gy="collapsed",vy=`:scope .${Qn} .${Qn}`,by="collapse-horizontal",Ey="width",yy="height",Ty=".collapse.show, .collapse.collapsing",zi='[data-bs-toggle="collapse"]',wy={parent:null,toggle:!0},Ay={parent:"(null|element)",toggle:"boolean"};class er extends wt{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const s=Z.find(zi);for(const r of s){const o=Z.getSelectorFromElement(r),i=Z.find(o).filter(l=>l===this._element);o!==null&&i.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wy}static get DefaultType(){return Ay}static get NAME(){return cy}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Ty).filter(l=>l!==this._element).map(l=>er.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||$.trigger(this._element,dy).defaultPrevented)return;for(const l of t)l.hide();const s=this._getDimension();this._element.classList.remove(Qn),this._element.classList.add(wr),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(wr),this._element.classList.add(Qn,Xo),this._element.style[s]="",$.trigger(this._element,hy)},i=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||$.trigger(this._element,py).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,lr(this._element),this._element.classList.add(wr),this._element.classList.remove(Qn,Xo);for(const r of this._triggerArray){const o=Z.getElementFromSelector(r);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(wr),this._element.classList.add(Qn),$.trigger(this._element,my)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Xo)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=dn(t.parent),t}_getDimension(){return this._element.classList.contains(by)?Ey:yy}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(zi);for(const n of t){const s=Z.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(t){const n=Z.find(vy,this._config.parent);return Z.find(t,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const s of t)s.classList.toggle(gy,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const s=er.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}$.on(document,_y,zi,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Z.getMultipleElementsFromSelector(this))er.getOrCreateInstance(t,{toggle:!1}).toggle()});mt(er);const Cc="dropdown",Sy="bs.dropdown",Fn=`.${Sy}`,kl=".data-api",Oy="Escape",Lc="Tab",Cy="ArrowUp",Pc="ArrowDown",Ly=2,Py=`hide${Fn}`,Ny=`hidden${Fn}`,$y=`show${Fn}`,Iy=`shown${Fn}`,Ad=`click${Fn}${kl}`,Sd=`keydown${Fn}${kl}`,Dy=`keyup${Fn}${kl}`,Xn="show",Ry="dropup",ky="dropend",My="dropstart",xy="dropup-center",zy="dropdown-center",Pn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Fy=`${Pn}.${Xn}`,Mr=".dropdown-menu",Vy=".navbar",Hy=".navbar-nav",By=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",jy=ht()?"top-end":"top-start",Wy=ht()?"top-start":"top-end",Uy=ht()?"bottom-end":"bottom-start",Gy=ht()?"bottom-start":"bottom-end",Ky=ht()?"left-start":"right-start",Yy=ht()?"right-start":"left-start",qy="top",Xy="bottom",Zy={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Qy={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class It extends wt{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=Z.next(this._element,Mr)[0]||Z.prev(this._element,Mr)[0]||Z.findOne(Mr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Zy}static get DefaultType(){return Qy}static get NAME(){return Cc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(hn(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!$.trigger(this._element,$y,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Hy))for(const s of[].concat(...document.body.children))$.on(s,"mouseover",qr);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Xn),this._element.classList.add(Xn),$.trigger(this._element,Iy,t)}}hide(){if(hn(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!$.trigger(this._element,Py,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))$.off(s,"mouseover",qr);this._popper&&this._popper.destroy(),this._menu.classList.remove(Xn),this._element.classList.remove(Xn),this._element.setAttribute("aria-expanded","false"),Bt.removeDataAttribute(this._menu,"popper"),$.trigger(this._element,Ny,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Ht(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Cc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ld>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Ht(this._config.reference)?t=dn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Il(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Xn)}_getPlacement(){const t=this._parent;if(t.classList.contains(ky))return Ky;if(t.classList.contains(My))return Yy;if(t.classList.contains(xy))return qy;if(t.classList.contains(zy))return Xy;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Ry)?n?Wy:jy:n?Gy:Uy}_detectNavbar(){return this._element.closest(Vy)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Bt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...tt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const s=Z.find(By,this._menu).filter(r=>As(r));s.length&&Dl(s,n,t===Pc,!s.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=It.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Ly||t.type==="keyup"&&t.key!==Lc)return;const n=Z.find(Fy);for(const s of n){const r=It.getInstance(s);if(!r||r._config.autoClose===!1)continue;const o=t.composedPath(),i=o.includes(r._menu);if(o.includes(r._element)||r._config.autoClose==="inside"&&!i||r._config.autoClose==="outside"&&i||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Lc||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const l={relatedTarget:r._element};t.type==="click"&&(l.clickEvent=t),r._completeHide(l)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),s=t.key===Oy,r=[Cy,Pc].includes(t.key);if(!r&&!s||n&&!s)return;t.preventDefault();const o=this.matches(Pn)?this:Z.prev(this,Pn)[0]||Z.next(this,Pn)[0]||Z.findOne(Pn,t.delegateTarget.parentNode),i=It.getOrCreateInstance(o);if(r){t.stopPropagation(),i.show(),i._selectMenuItem(t);return}i._isShown()&&(t.stopPropagation(),i.hide(),o.focus())}}$.on(document,Sd,Pn,It.dataApiKeydownHandler);$.on(document,Sd,Mr,It.dataApiKeydownHandler);$.on(document,Ad,It.clearMenus);$.on(document,Dy,It.clearMenus);$.on(document,Ad,Pn,function(e){e.preventDefault(),It.getOrCreateInstance(this).toggle()});mt(It);const Od="backdrop",Jy="fade",Nc="show",$c=`mousedown.bs.${Od}`,e3={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},t3={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Cd extends ar{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return e3}static get DefaultType(){return t3}static get NAME(){return Od}show(t){if(!this._config.isVisible){tt(t);return}this._append();const n=this._getElement();this._config.isAnimated&&lr(n),n.classList.add(Nc),this._emulateAnimation(()=>{tt(t)})}hide(t){if(!this._config.isVisible){tt(t);return}this._getElement().classList.remove(Nc),this._emulateAnimation(()=>{this.dispose(),tt(t)})}dispose(){this._isAppended&&($.off(this._element,$c),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Jy),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=dn(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),$.on(t,$c,()=>{tt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){dd(t,this._getElement(),this._config.isAnimated)}}const n3="focustrap",s3="bs.focustrap",Zr=`.${s3}`,r3=`focusin${Zr}`,o3=`keydown.tab${Zr}`,i3="Tab",l3="forward",Ic="backward",a3={autofocus:!0,trapElement:null},c3={autofocus:"boolean",trapElement:"element"};class Ld extends ar{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return a3}static get DefaultType(){return c3}static get NAME(){return n3}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),$.off(document,Zr),$.on(document,r3,t=>this._handleFocusin(t)),$.on(document,o3,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,$.off(document,Zr))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const s=Z.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===Ic?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===i3&&(this._lastTabNavDirection=t.shiftKey?Ic:l3)}}const Dc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Rc=".sticky-top",Ar="padding-right",kc="margin-right";class Fi{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ar,n=>n+t),this._setElementAttributes(Dc,Ar,n=>n+t),this._setElementAttributes(Rc,kc,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ar),this._resetElementAttributes(Dc,Ar),this._resetElementAttributes(Rc,kc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,s){const r=this.getWidth(),o=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+r)return;this._saveInitialAttribute(i,n);const l=window.getComputedStyle(i).getPropertyValue(n);i.style.setProperty(n,`${s(Number.parseFloat(l))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,n){const s=t.style.getPropertyValue(n);s&&Bt.setDataAttribute(t,n,s)}_resetElementAttributes(t,n){const s=r=>{const o=Bt.getDataAttribute(r,n);if(o===null){r.style.removeProperty(n);return}Bt.removeDataAttribute(r,n),r.style.setProperty(n,o)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,n){if(Ht(t)){n(t);return}for(const s of Z.find(t,this._element))n(s)}}const u3="modal",f3="bs.modal",pt=`.${f3}`,d3=".data-api",h3="Escape",p3=`hide${pt}`,m3=`hidePrevented${pt}`,Pd=`hidden${pt}`,Nd=`show${pt}`,_3=`shown${pt}`,g3=`resize${pt}`,v3=`click.dismiss${pt}`,b3=`mousedown.dismiss${pt}`,E3=`keydown.dismiss${pt}`,y3=`click${pt}${d3}`,Mc="modal-open",T3="fade",xc="show",Zo="modal-static",w3=".modal.show",A3=".modal-dialog",S3=".modal-body",O3='[data-bs-toggle="modal"]',C3={backdrop:!0,focus:!0,keyboard:!0},L3={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class zn extends wt{constructor(t,n){super(t,n),this._dialog=Z.findOne(A3,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fi,this._addEventListeners()}static get Default(){return C3}static get DefaultType(){return L3}static get NAME(){return u3}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||$.trigger(this._element,Nd,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Mc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||$.trigger(this._element,p3).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(xc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){$.off(window,pt),$.off(this._dialog,pt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Cd({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ld({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=Z.findOne(S3,this._dialog);n&&(n.scrollTop=0),lr(this._element),this._element.classList.add(xc);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,$.trigger(this._element,_3,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){$.on(this._element,E3,t=>{if(t.key===h3){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),$.on(window,g3,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),$.on(this._element,b3,t=>{$.one(this._element,v3,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Mc),this._resetAdjustments(),this._scrollBar.reset(),$.trigger(this._element,Pd)})}_isAnimated(){return this._element.classList.contains(T3)}_triggerBackdropTransition(){if($.trigger(this._element,m3).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Zo)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Zo),this._queueCallback(()=>{this._element.classList.remove(Zo),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!t){const r=ht()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&t){const r=ht()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const s=zn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](n)}})}}$.on(document,y3,O3,function(e){const t=Z.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),$.one(t,Nd,r=>{r.defaultPrevented||$.one(t,Pd,()=>{As(this)&&this.focus()})});const n=Z.findOne(w3);n&&zn.getInstance(n).hide(),zn.getOrCreateInstance(t).toggle(this)});So(zn);mt(zn);const P3="offcanvas",N3="bs.offcanvas",Gt=`.${N3}`,$d=".data-api",$3=`load${Gt}${$d}`,I3="Escape",zc="show",Fc="showing",Vc="hiding",D3="offcanvas-backdrop",Id=".offcanvas.show",R3=`show${Gt}`,k3=`shown${Gt}`,M3=`hide${Gt}`,Hc=`hidePrevented${Gt}`,Dd=`hidden${Gt}`,x3=`resize${Gt}`,z3=`click${Gt}${$d}`,F3=`keydown.dismiss${Gt}`,V3='[data-bs-toggle="offcanvas"]',H3={backdrop:!0,keyboard:!0,scroll:!1},B3={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class pn extends wt{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return H3}static get DefaultType(){return B3}static get NAME(){return P3}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||$.trigger(this._element,R3,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fi().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Fc);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(zc),this._element.classList.remove(Fc),$.trigger(this._element,k3,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||$.trigger(this._element,M3).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Vc),this._backdrop.hide();const n=()=>{this._element.classList.remove(zc,Vc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fi().reset(),$.trigger(this._element,Dd)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){$.trigger(this._element,Hc);return}this.hide()},n=!!this._config.backdrop;return new Cd({className:D3,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Ld({trapElement:this._element})}_addEventListeners(){$.on(this._element,F3,t=>{if(t.key===I3){if(this._config.keyboard){this.hide();return}$.trigger(this._element,Hc)}})}static jQueryInterface(t){return this.each(function(){const n=pn.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}$.on(document,z3,V3,function(e){const t=Z.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),hn(this))return;$.one(t,Dd,()=>{As(this)&&this.focus()});const n=Z.findOne(Id);n&&n!==t&&pn.getInstance(n).hide(),pn.getOrCreateInstance(t).toggle(this)});$.on(window,$3,()=>{for(const e of Z.find(Id))pn.getOrCreateInstance(e).show()});$.on(window,x3,()=>{for(const e of Z.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&pn.getOrCreateInstance(e).hide()});So(pn);mt(pn);const j3=/^aria-[\w-]*$/i,Rd={"*":["class","dir","id","lang","role",j3],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},W3=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),U3=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,G3=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?W3.has(n)?!!U3.test(e.nodeValue):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(n))};function K3(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),o=[].concat(...r.body.querySelectorAll("*"));for(const i of o){const l=i.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),c=[].concat(t["*"]||[],t[l]||[]);for(const u of a)G3(u,c)||i.removeAttribute(u.nodeName)}return r.body.innerHTML}const Y3="TemplateFactory",q3={allowList:Rd,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},X3={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Z3={entry:"(string|element|function|null)",selector:"(string|element)"};class Q3 extends ar{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return q3}static get DefaultType(){return X3}static get NAME(){return Y3}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[r,o]of Object.entries(this._config.content))this._setContent(t,o,r);const n=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,s]of Object.entries(t))super._typeCheckConfig({selector:n,entry:s},Z3)}_setContent(t,n,s){const r=Z.findOne(s,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(Ht(n)){this._putElementInTemplate(dn(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?K3(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return tt(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const J3="tooltip",e8=new Set(["sanitize","allowList","sanitizeFn"]),Qo="fade",t8="modal",Sr="show",n8=".tooltip-inner",Bc=`.${t8}`,jc="hide.bs.modal",Is="hover",Jo="focus",s8="click",r8="manual",o8="hide",i8="hidden",l8="show",a8="shown",c8="inserted",u8="click",f8="focusin",d8="focusout",h8="mouseenter",p8="mouseleave",m8={AUTO:"auto",TOP:"top",RIGHT:ht()?"left":"right",BOTTOM:"bottom",LEFT:ht()?"right":"left"},_8={allowList:Rd,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},g8={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Os extends wt{constructor(t,n){if(typeof ld>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return _8}static get DefaultType(){return g8}static get NAME(){return J3}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),$.off(this._element.closest(Bc),jc,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=$.trigger(this._element,this.constructor.eventName(l8)),s=(ud(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(r),$.trigger(this._element,this.constructor.eventName(c8))),this._popper=this._createPopper(r),r.classList.add(Sr),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))$.on(l,"mouseover",qr);const i=()=>{$.trigger(this._element,this.constructor.eventName(a8)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||$.trigger(this._element,this.constructor.eventName(o8)).defaultPrevented)return;if(this._getTipElement().classList.remove(Sr),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))$.off(r,"mouseover",qr);this._activeTrigger[s8]=!1,this._activeTrigger[Jo]=!1,this._activeTrigger[Is]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),$.trigger(this._element,this.constructor.eventName(i8)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Qo,Sr),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=sE(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(Qo),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Q3({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[n8]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Qo)}_isShown(){return this.tip&&this.tip.classList.contains(Sr)}_createPopper(t){const n=tt(this._config.placement,[this,t,this._element]),s=m8[n.toUpperCase()];return Il(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return tt(t,[this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...tt(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")$.on(this._element,this.constructor.eventName(u8),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==r8){const s=n===Is?this.constructor.eventName(h8):this.constructor.eventName(f8),r=n===Is?this.constructor.eventName(p8):this.constructor.eventName(d8);$.on(this._element,s,this._config.selector,o=>{const i=this._initializeOnDelegatedTarget(o);i._activeTrigger[o.type==="focusin"?Jo:Is]=!0,i._enter()}),$.on(this._element,r,this._config.selector,o=>{const i=this._initializeOnDelegatedTarget(o);i._activeTrigger[o.type==="focusout"?Jo:Is]=i._element.contains(o.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},$.on(this._element.closest(Bc),jc,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=Bt.getDataAttributes(this._element);for(const s of Object.keys(n))e8.has(s)&&delete n[s];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:dn(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(t[n]=s);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=Os.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}mt(Os);const v8="popover",b8=".popover-header",E8=".popover-body",y8={...Os.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},T8={...Os.DefaultType,content:"(null|string|element|function)"};class Ml extends Os{static get Default(){return y8}static get DefaultType(){return T8}static get NAME(){return v8}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[b8]:this._getTitle(),[E8]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Ml.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}mt(Ml);const w8="scrollspy",A8="bs.scrollspy",xl=`.${A8}`,S8=".data-api",O8=`activate${xl}`,Wc=`click${xl}`,C8=`load${xl}${S8}`,L8="dropdown-item",Gn="active",P8='[data-bs-spy="scroll"]',ei="[href]",N8=".nav, .list-group",Uc=".nav-link",$8=".nav-item",I8=".list-group-item",D8=`${Uc}, ${$8} > ${Uc}, ${I8}`,R8=".dropdown",k8=".dropdown-toggle",M8={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},x8={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Lo extends wt{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return M8}static get DefaultType(){return x8}static get NAME(){return w8}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=dn(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&($.off(this._config.target,Wc),$.on(this._config.target,Wc,ei,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=i=>this._targetLinks.get(`#${i.target.id}`),s=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(n(i))},r=(this._rootElement||document.documentElement).scrollTop,o=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const i of t){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&l){if(s(i),!r)return;continue}!o&&!l&&s(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Z.find(ei,this._config.target);for(const n of t){if(!n.hash||hn(n))continue;const s=Z.findOne(decodeURI(n.hash),this._element);As(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Gn),this._activateParents(t),$.trigger(this._element,O8,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(L8)){Z.findOne(k8,t.closest(R8)).classList.add(Gn);return}for(const n of Z.parents(t,N8))for(const s of Z.prev(n,D8))s.classList.add(Gn)}_clearActiveClass(t){t.classList.remove(Gn);const n=Z.find(`${ei}.${Gn}`,t);for(const s of n)s.classList.remove(Gn)}static jQueryInterface(t){return this.each(function(){const n=Lo.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}$.on(window,C8,()=>{for(const e of Z.find(P8))Lo.getOrCreateInstance(e)});mt(Lo);const z8="tab",F8="bs.tab",Vn=`.${F8}`,V8=`hide${Vn}`,H8=`hidden${Vn}`,B8=`show${Vn}`,j8=`shown${Vn}`,W8=`click${Vn}`,U8=`keydown${Vn}`,G8=`load${Vn}`,K8="ArrowLeft",Gc="ArrowRight",Y8="ArrowUp",Kc="ArrowDown",ti="Home",Yc="End",Nn="active",qc="fade",ni="show",q8="dropdown",kd=".dropdown-toggle",X8=".dropdown-menu",si=`:not(${kd})`,Z8='.list-group, .nav, [role="tablist"]',Q8=".nav-item, .list-group-item",J8=`.nav-link${si}, .list-group-item${si}, [role="tab"]${si}`,Md='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ri=`${J8}, ${Md}`,eT=`.${Nn}[data-bs-toggle="tab"], .${Nn}[data-bs-toggle="pill"], .${Nn}[data-bs-toggle="list"]`;class gs extends wt{constructor(t){super(t),this._parent=this._element.closest(Z8),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),$.on(this._element,U8,n=>this._keydown(n)))}static get NAME(){return z8}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?$.trigger(n,V8,{relatedTarget:t}):null;$.trigger(t,B8,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(Nn),this._activate(Z.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ni);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),$.trigger(t,j8,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(qc))}_deactivate(t,n){if(!t)return;t.classList.remove(Nn),t.blur(),this._deactivate(Z.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ni);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),$.trigger(t,H8,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(qc))}_keydown(t){if(![K8,Gc,Y8,Kc,ti,Yc].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(r=>!hn(r));let s;if([ti,Yc].includes(t.key))s=n[t.key===ti?0:n.length-1];else{const r=[Gc,Kc].includes(t.key);s=Dl(n,t.target,r,!0)}s&&(s.focus({preventScroll:!0}),gs.getOrCreateInstance(s).show())}_getChildren(){return Z.find(ri,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",n),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=Z.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const s=this._getOuterElement(t);if(!s.classList.contains(q8))return;const r=(o,i)=>{const l=Z.findOne(o,s);l&&l.classList.toggle(i,n)};r(kd,Nn),r(X8,ni),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,s){t.hasAttribute(n)||t.setAttribute(n,s)}_elemIsActive(t){return t.classList.contains(Nn)}_getInnerElement(t){return t.matches(ri)?t:Z.findOne(ri,t)}_getOuterElement(t){return t.closest(Q8)||t}static jQueryInterface(t){return this.each(function(){const n=gs.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}$.on(document,W8,Md,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!hn(this)&&gs.getOrCreateInstance(this).show()});$.on(window,G8,()=>{for(const e of Z.find(eT))gs.getOrCreateInstance(e)});mt(gs);const tT="toast",nT="bs.toast",bn=`.${nT}`,sT=`mouseover${bn}`,rT=`mouseout${bn}`,oT=`focusin${bn}`,iT=`focusout${bn}`,lT=`hide${bn}`,aT=`hidden${bn}`,cT=`show${bn}`,uT=`shown${bn}`,fT="fade",Xc="hide",Or="show",Cr="showing",dT={animation:"boolean",autohide:"boolean",delay:"number"},hT={animation:!0,autohide:!0,delay:5e3};class Po extends wt{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return hT}static get DefaultType(){return dT}static get NAME(){return tT}show(){if($.trigger(this._element,cT).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(fT);const n=()=>{this._element.classList.remove(Cr),$.trigger(this._element,uT),this._maybeScheduleHide()};this._element.classList.remove(Xc),lr(this._element),this._element.classList.add(Or,Cr),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||$.trigger(this._element,lT).defaultPrevented)return;const n=()=>{this._element.classList.add(Xc),this._element.classList.remove(Cr,Or),$.trigger(this._element,aT)};this._element.classList.add(Cr),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Or),super.dispose()}isShown(){return this._element.classList.contains(Or)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){$.on(this._element,sT,t=>this._onInteraction(t,!0)),$.on(this._element,rT,t=>this._onInteraction(t,!1)),$.on(this._element,oT,t=>this._onInteraction(t,!0)),$.on(this._element,iT,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Po.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}So(Po);mt(Po);function pT(e){xd(e,!1)}function mT(e){return xd(e,!0)}function xd(e,t){const n=document.getElementById(e);if(n)return new zn(n).show(),!0;if(t)return!1;throw new Error(`Modal '#${e}' not found.`)}const _T="modulepreload",gT=function(e){return"/roll-for-the-galaxy/"+e},Zc={},vT=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=gT(o),o in Zc)return;Zc[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!s)for(let u=r.length-1;u>=0;u--){const f=r[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":_T,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};function bT(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:s,onRegistered:r,onRegisteredSW:o,onRegisterError:i}=e;let l,a,c;const u=async(d=!0)=>{await a,await(c==null?void 0:c())};async function f(){if("serviceWorker"in navigator){const{Workbox:d}=await vT(()=>import("./workbox-window.prod.es5-prqDwDSL.js"),__vite__mapDeps([]));l=new d("/roll-for-the-galaxy/service-worker.js",{scope:"/roll-for-the-galaxy/",type:"classic"}),c=async()=>{await(l==null?void 0:l.messageSkipWaiting())};{let m=!1;const E=()=>{m=!0,l==null||l.addEventListener("controlling",b=>{b.isUpdate&&window.location.reload()}),n==null||n()};l.addEventListener("installed",b=>{typeof b.isUpdate>"u"?typeof b.isExternal<"u"?b.isExternal?E():!m&&(s==null||s()):b.isExternal?window.location.reload():!m&&(s==null||s()):b.isUpdate||s==null||s()}),l.addEventListener("waiting",E),l.addEventListener("externalwaiting",E)}l.register({immediate:t}).then(m=>{o?o("/roll-for-the-galaxy/service-worker.js",m):r==null||r(m)}).catch(m=>{i==null||i(m)})}}return a=f(),u}var No={},fr={};Object.defineProperty(fr,"__esModule",{value:!0});fr.SetIntervalAsyncTimer=void 0;const ET=10,yT=2147483647;var $n,sn,tr,nr,Hi,Qr,zd;const Fl=class Fl{constructor(){Hn(this,nr);Hn(this,Qr);Hn(this,$n,void 0);Hn(this,sn,void 0);Hn(this,tr,!1)}static startTimer(t,n,s,...r){var i;s=Math.min(Math.max(Math.trunc(s),ET),yT);const o=new Fl;return dr(i=o,nr,Hi).call(i,t,n,s,s,...r),o}static async stopTimer(t){Bn(t,tr,!0),En(t,$n)&&clearTimeout(En(t,$n)),En(t,sn)&&await En(t,sn)}};$n=new WeakMap,sn=new WeakMap,tr=new WeakMap,nr=new WeakSet,Hi=function(t,n,s,r,...o){Bn(this,$n,setTimeout(async()=>{Bn(this,$n,void 0),Bn(this,sn,dr(this,Qr,zd).call(this,t,n,s,...o)),await En(this,sn),Bn(this,sn,void 0)},r))},Qr=new WeakSet,zd=async function(t,n,s,...r){const o=new Date().getTime();try{await n(...r)}finally{if(!En(this,tr)){const i=new Date().getTime()-o,l=t==="dynamic"?s>i?s-i:0:s;dr(this,nr,Hi).call(this,t,n,s,l,...r)}}};let Vi=Fl;fr.SetIntervalAsyncTimer=Vi;Object.defineProperty(No,"__esModule",{value:!0});No.clearIntervalAsync=void 0;const Qc=fr;async function TT(e){if(!(e instanceof Qc.SetIntervalAsyncTimer))throw new TypeError("First argument is not an instance of SetIntervalAsyncTimer");await Qc.SetIntervalAsyncTimer.stopTimer(e)}No.clearIntervalAsync=TT;var Fd={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.setIntervalAsync=e.clearIntervalAsync=void 0;const t=No;Object.defineProperty(e,"clearIntervalAsync",{enumerable:!0,get:function(){return t.clearIntervalAsync}});const n=fr;function s(r,o,...i){if(typeof r!="function")throw new TypeError("First argument is not a function");if(typeof o!="number")throw new TypeError("Second argument is not a number");return n.SetIntervalAsyncTimer.startTimer("dynamic",r,o,...i)}e.setIntervalAsync=s})(Fd);function wT(e,t,n){const s=n*1e3;t&&Fd.setIntervalAsync(async()=>{if(!(!t.installing&&navigator)||"connection"in navigator&&!navigator.onLine)return;const r=await fetch(e,{cache:"no-store",headers:{cache:"no-store","cache-control":"no-cache"}});(r==null?void 0:r.status)===200&&await t.update()},s)}const zl=ge({name:"App",components:{AppHeader:Qv,AppFooter:fb,ModalDialog:ml},setup(){const{t:e,locale:t}=Ae({inheritLocale:!0,useScope:"global"}),n=Tt(),s=1*60*60,r=bT({onRegisteredSW(o,i){wT(o,i,s)},onNeedRefresh(){mT("serviceWorkerUpdatedRefresh")}});return t.value=n.language,{t:e,state:n,locale:t,updateServiceWorker:r}},data(){return{buildNumber:hg,appTitle:pg,errorMessage:"Error"}},computed:{baseFontSize(){return this.state.baseFontSize}},methods:{setLocale(e){this.locale=e,this.state.language=e},zoomFontSize(e){this.state.baseFontSize=e.baseFontSize}},errorCaptured(e){this.errorMessage=hb(e,t=>this.t(t.key,t.named,t.plural)),pT("errorMessage")}}),Jc=()=>{sm(e=>({12259670:e.baseFontSize}))},eu=zl.setup;zl.setup=eu?(e,t)=>(Jc(),eu(e,t)):Jc;const AT={id:"content-container",class:"container-fluid mt-5 mb-5"},ST={class:"alert alert-danger",role:"alert"},OT=["innerHTML"],CT={class:"btn btn-secondary","data-bs-dismiss":"modal"},LT={href:"https://boardgamegeek.com/boardgame/132531/roll-galaxy",target:"_blank",rel:"noopener"},PT=_("dl",null,[_("dt",null,"Game design"),_("dd",null,"Wei-Hwa Huang, Thomas Lehmann"),_("dt",null,"Graphics design"),_("dd",null,"Martin Hoffmann, Claus Stephan, Mirko Suzuki"),_("dt",null,[_("a",{href:"https://boardgamegeek.com/filepage/124323/solo-rules-rftg-amibtion",target:"_blank",rel:"noopener"},"Solo Mode Design (unofficial)")]),_("dd",null,"Dale Buonocore, Ken Thibodeau"),_("dt",null,"Publisher"),_("dd",null,[_("a",{href:"https://www.riograndegames.com/",target:"_blank",rel:"noopener"},"Rio Grande Games")])],-1),NT={class:"border-top pt-3"},$T=_("dt",null,"Application Development",-1),IT=_("dd",null,"Stefan Seifert",-1),DT=_("dt",null,"Version",-1),RT=_("dt",null,"Source Code (Apache-2.0 License)",-1),kT=_("dd",null,[_("a",{href:"https://github.com/brdgm/roll-for-the-galaxy-solo-helper",target:"_blank",rel:"noopener"},"https://github.com/brdgm/roll-for-the-galaxy-solo-helper")],-1);function MT(e,t,n,s,r,o){const i=we("AppHeader"),l=we("router-view"),a=we("AppFooter"),c=we("ModalDialog");return j(),G(ne,null,[ce(i,{title:e.t("gameTitle"),onSetLocale:t[0]||(t[0]=u=>e.setLocale(u.language))},null,8,["title"]),_("div",AT,[(j(),Rt(l,{key:e.$route.fullPath}))]),ce(a,{"build-number":e.buildNumber,"credits-label":e.t("footer.credits"),"credits-modal-id":"creditsModal","zoom-enabled":"","base-font-size":e.state.baseFontSize,onZoomFontSize:e.zoomFontSize},null,8,["build-number","credits-label","base-font-size","onZoomFontSize"]),ce(c,{id:"errorMessage"},{body:gt(()=>[_("div",ST,B(e.errorMessage),1)]),_:1}),ce(c,{id:"serviceWorkerUpdatedRefresh",title:e.t("serviceWorkerUpdatedRefresh.title")},{body:gt(()=>[_("p",{innerHTML:e.t("serviceWorkerUpdatedRefresh.notice")},null,8,OT)]),footer:gt(()=>[_("button",{class:"btn btn-primary","data-bs-dismiss":"modal",onClick:t[1]||(t[1]=u=>e.updateServiceWorker())},B(e.t("serviceWorkerUpdatedRefresh.title")),1),_("button",CT,B(e.t("action.close")),1)]),_:1},8,["title"]),ce(c,{id:"creditsModal",title:e.t("footer.credits")},{body:gt(()=>[_("h4",null,[_("a",LT,B(e.t("gameTitle")),1)]),PT,_("h4",NT,B(e.appTitle),1),_("dl",null,[$T,IT,DT,_("dd",null,B(e.buildNumber),1),RT,kT])]),_:1},8,["title"])],64)}const xT=Se(zl,[["render",MT]]),zT=pm().use(Om);fm(xT).use(zT).use(zv).use(Vv).mount("#app"); + */const Jt=new Map,Wo={set(e,t,n){Jt.has(e)||Jt.set(e,new Map);const s=Jt.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return Jt.has(e)&&Jt.get(e).get(t)||null},remove(e,t){if(!Jt.has(e))return;const n=Jt.get(e);n.delete(t),n.size===0&&Jt.delete(e)}},eE=1e6,tE=1e3,Mi="transitionend",ad=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),nE=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),sE=e=>{do e+=Math.floor(Math.random()*eE);while(document.getElementById(e));return e},rE=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*tE)},cd=e=>{e.dispatchEvent(new Event(Mi))},Ht=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),dn=e=>Ht(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(ad(e)):null,As=e=>{if(!Ht(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},hn=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",ud=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?ud(e.parentNode):null},qr=()=>{},lr=e=>{e.offsetHeight},fd=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Uo=[],oE=e=>{document.readyState==="loading"?(Uo.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Uo)t()}),Uo.push(e)):e()},ht=()=>document.documentElement.dir==="rtl",mt=e=>{oE(()=>{const t=fd();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},tt=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,dd=(e,t,n=!0)=>{if(!n){tt(e);return}const s=5,r=rE(t)+s;let o=!1;const i=({target:l})=>{l===t&&(o=!0,t.removeEventListener(Mi,i),tt(e))};t.addEventListener(Mi,i),setTimeout(()=>{o||cd(t)},r)},kl=(e,t,n,s)=>{const r=e.length;let o=e.indexOf(t);return o===-1?!n&&s?e[r-1]:e[0]:(o+=n?1:-1,s&&(o=(o+r)%r),e[Math.max(0,Math.min(o,r-1))])},iE=/[^.]*(?=\..*)\.|.*/,lE=/\..*/,aE=/::\d+$/,Go={};let Sc=1;const hd={mouseenter:"mouseover",mouseleave:"mouseout"},cE=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function pd(e,t){return t&&`${t}::${Sc++}`||e.uidEvent||Sc++}function md(e){const t=pd(e);return e.uidEvent=t,Go[t]=Go[t]||{},Go[t]}function uE(e,t){return function n(s){return Ml(s,{delegateTarget:e}),n.oneOff&&$.off(e,s.type,t),t.apply(e,[s])}}function fE(e,t,n){return function s(r){const o=e.querySelectorAll(t);for(let{target:i}=r;i&&i!==this;i=i.parentNode)for(const l of o)if(l===i)return Ml(r,{delegateTarget:i}),s.oneOff&&$.off(e,r.type,t,n),n.apply(i,[r])}}function _d(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function gd(e,t,n){const s=typeof t=="string",r=s?n:t||n;let o=vd(e);return cE.has(o)||(o=e),[s,r,o]}function Oc(e,t,n,s,r){if(typeof t!="string"||!e)return;let[o,i,l]=gd(t,n,s);t in hd&&(i=(E=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return E.call(this,b)})(i));const a=md(e),c=a[l]||(a[l]={}),u=_d(c,i,o?n:null);if(u){u.oneOff=u.oneOff&&r;return}const f=pd(i,t.replace(iE,"")),d=o?fE(e,n,i):uE(e,i);d.delegationSelector=o?n:null,d.callable=i,d.oneOff=r,d.uidEvent=f,c[f]=d,e.addEventListener(l,d,o)}function xi(e,t,n,s,r){const o=_d(t[n],s,r);o&&(e.removeEventListener(n,o,!!r),delete t[n][o.uidEvent])}function dE(e,t,n,s){const r=t[n]||{};for(const[o,i]of Object.entries(r))o.includes(s)&&xi(e,t,n,i.callable,i.delegationSelector)}function vd(e){return e=e.replace(lE,""),hd[e]||e}const $={on(e,t,n,s){Oc(e,t,n,s,!1)},one(e,t,n,s){Oc(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[r,o,i]=gd(t,n,s),l=i!==t,a=md(e),c=a[i]||{},u=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(c).length)return;xi(e,a,i,o,r?n:null);return}if(u)for(const f of Object.keys(a))dE(e,a,f,t.slice(1));for(const[f,d]of Object.entries(c)){const m=f.replace(aE,"");(!l||t.includes(m))&&xi(e,a,i,d.callable,d.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const s=fd(),r=vd(t),o=t!==r;let i=null,l=!0,a=!0,c=!1;o&&s&&(i=s.Event(t,n),s(e).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented());const u=Ml(new Event(t,{bubbles:l,cancelable:!0}),n);return c&&u.preventDefault(),a&&e.dispatchEvent(u),u.defaultPrevented&&i&&i.preventDefault(),u}};function Ml(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}function Cc(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Ko(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Bt={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Ko(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Ko(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=Cc(e.dataset[s])}return t},getDataAttribute(e,t){return Cc(e.getAttribute(`data-bs-${Ko(t)}`))}};class ar{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const s=Ht(n)?Bt.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Ht(n)?Bt.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const o=t[s],i=Ht(o)?"element":nE(o);if(!new RegExp(r).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${i}" but expected type "${r}".`)}}}const hE="5.3.2";class wt extends ar{constructor(t,n){super(),t=dn(t),t&&(this._element=t,this._config=this._getConfig(n),Wo.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Wo.remove(this._element,this.constructor.DATA_KEY),$.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,s=!0){dd(t,n,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Wo.get(dn(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return hE}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Yo=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?ad(n.trim()):null}return t},Z={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let s=e.parentNode.closest(t);for(;s;)n.push(s),s=s.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!hn(n)&&As(n))},getSelectorFromElement(e){const t=Yo(e);return t&&Z.findOne(t)?t:null},getElementFromSelector(e){const t=Yo(e);return t?Z.findOne(t):null},getMultipleElementsFromSelector(e){const t=Yo(e);return t?Z.find(t):[]}},So=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;$.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),hn(this))return;const o=Z.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(o)[t]()})},pE="alert",mE="bs.alert",bd=`.${mE}`,_E=`close${bd}`,gE=`closed${bd}`,vE="fade",bE="show";class Oo extends wt{static get NAME(){return pE}close(){if($.trigger(this._element,_E).defaultPrevented)return;this._element.classList.remove(bE);const n=this._element.classList.contains(vE);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),$.trigger(this._element,gE),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Oo.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}So(Oo,"close");mt(Oo);const EE="button",yE="bs.button",TE=`.${yE}`,wE=".data-api",AE="active",Lc='[data-bs-toggle="button"]',SE=`click${TE}${wE}`;class Co extends wt{static get NAME(){return EE}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(AE))}static jQueryInterface(t){return this.each(function(){const n=Co.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}$.on(document,SE,Lc,e=>{e.preventDefault();const t=e.target.closest(Lc);Co.getOrCreateInstance(t).toggle()});mt(Co);const OE="swipe",Ss=".bs.swipe",CE=`touchstart${Ss}`,LE=`touchmove${Ss}`,PE=`touchend${Ss}`,NE=`pointerdown${Ss}`,$E=`pointerup${Ss}`,IE="touch",DE="pen",RE="pointer-event",kE=40,ME={endCallback:null,leftCallback:null,rightCallback:null},xE={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Xr extends ar{constructor(t,n){super(),this._element=t,!(!t||!Xr.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ME}static get DefaultType(){return xE}static get NAME(){return OE}dispose(){$.off(this._element,Ss)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),tt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=kE)return;const n=t/this._deltaX;this._deltaX=0,n&&tt(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?($.on(this._element,NE,t=>this._start(t)),$.on(this._element,$E,t=>this._end(t)),this._element.classList.add(RE)):($.on(this._element,CE,t=>this._start(t)),$.on(this._element,LE,t=>this._move(t)),$.on(this._element,PE,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===DE||t.pointerType===IE)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const zE="carousel",FE="bs.carousel",vn=`.${FE}`,Ed=".data-api",VE="ArrowLeft",HE="ArrowRight",BE=500,$s="next",Un="prev",qn="left",kr="right",jE=`slide${vn}`,qo=`slid${vn}`,WE=`keydown${vn}`,UE=`mouseenter${vn}`,GE=`mouseleave${vn}`,KE=`dragstart${vn}`,YE=`load${vn}${Ed}`,qE=`click${vn}${Ed}`,yd="carousel",Tr="active",XE="slide",ZE="carousel-item-end",QE="carousel-item-start",JE="carousel-item-next",ey="carousel-item-prev",Td=".active",wd=".carousel-item",ty=Td+wd,ny=".carousel-item img",sy=".carousel-indicators",ry="[data-bs-slide], [data-bs-slide-to]",oy='[data-bs-ride="carousel"]',iy={[VE]:kr,[HE]:qn},ly={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ay={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class cr extends wt{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Z.findOne(sy,this._element),this._addEventListeners(),this._config.ride===yd&&this.cycle()}static get Default(){return ly}static get DefaultType(){return ay}static get NAME(){return zE}next(){this._slide($s)}nextWhenVisible(){!document.hidden&&As(this._element)&&this.next()}prev(){this._slide(Un)}pause(){this._isSliding&&cd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){$.one(this._element,qo,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){$.one(this._element,qo,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const r=t>s?$s:Un;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&$.on(this._element,WE,t=>this._keydown(t)),this._config.pause==="hover"&&($.on(this._element,UE,()=>this.pause()),$.on(this._element,GE,()=>this._maybeEnableCycle())),this._config.touch&&Xr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of Z.find(ny,this._element))$.on(s,KE,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(qn)),rightCallback:()=>this._slide(this._directionToOrder(kr)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),BE+this._config.interval))}};this._swipeHelper=new Xr(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=iy[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=Z.findOne(Td,this._indicatorsElement);n.classList.remove(Tr),n.removeAttribute("aria-current");const s=Z.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(Tr),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const s=this._getActive(),r=t===$s,o=n||kl(this._getItems(),s,r,this._config.wrap);if(o===s)return;const i=this._getItemIndex(o),l=m=>$.trigger(this._element,m,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:i});if(l(jE).defaultPrevented||!s||!o)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=o;const u=r?QE:ZE,f=r?JE:ey;o.classList.add(f),lr(o),s.classList.add(u),o.classList.add(u);const d=()=>{o.classList.remove(u,f),o.classList.add(Tr),s.classList.remove(Tr,f,u),this._isSliding=!1,l(qo)};this._queueCallback(d,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(XE)}_getActive(){return Z.findOne(ty,this._element)}_getItems(){return Z.find(wd,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ht()?t===qn?Un:$s:t===qn?$s:Un}_orderToDirection(t){return ht()?t===Un?qn:kr:t===Un?kr:qn}static jQueryInterface(t){return this.each(function(){const n=cr.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}$.on(document,qE,ry,function(e){const t=Z.getElementFromSelector(this);if(!t||!t.classList.contains(yd))return;e.preventDefault();const n=cr.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(Bt.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});$.on(window,YE,()=>{const e=Z.find(oy);for(const t of e)cr.getOrCreateInstance(t)});mt(cr);const cy="collapse",uy="bs.collapse",ur=`.${uy}`,fy=".data-api",dy=`show${ur}`,hy=`shown${ur}`,py=`hide${ur}`,my=`hidden${ur}`,_y=`click${ur}${fy}`,Xo="show",Qn="collapse",wr="collapsing",gy="collapsed",vy=`:scope .${Qn} .${Qn}`,by="collapse-horizontal",Ey="width",yy="height",Ty=".collapse.show, .collapse.collapsing",zi='[data-bs-toggle="collapse"]',wy={parent:null,toggle:!0},Ay={parent:"(null|element)",toggle:"boolean"};class er extends wt{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const s=Z.find(zi);for(const r of s){const o=Z.getSelectorFromElement(r),i=Z.find(o).filter(l=>l===this._element);o!==null&&i.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wy}static get DefaultType(){return Ay}static get NAME(){return cy}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Ty).filter(l=>l!==this._element).map(l=>er.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||$.trigger(this._element,dy).defaultPrevented)return;for(const l of t)l.hide();const s=this._getDimension();this._element.classList.remove(Qn),this._element.classList.add(wr),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(wr),this._element.classList.add(Qn,Xo),this._element.style[s]="",$.trigger(this._element,hy)},i=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||$.trigger(this._element,py).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,lr(this._element),this._element.classList.add(wr),this._element.classList.remove(Qn,Xo);for(const r of this._triggerArray){const o=Z.getElementFromSelector(r);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(wr),this._element.classList.add(Qn),$.trigger(this._element,my)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Xo)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=dn(t.parent),t}_getDimension(){return this._element.classList.contains(by)?Ey:yy}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(zi);for(const n of t){const s=Z.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(t){const n=Z.find(vy,this._config.parent);return Z.find(t,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const s of t)s.classList.toggle(gy,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const s=er.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}$.on(document,_y,zi,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Z.getMultipleElementsFromSelector(this))er.getOrCreateInstance(t,{toggle:!1}).toggle()});mt(er);const Pc="dropdown",Sy="bs.dropdown",Fn=`.${Sy}`,xl=".data-api",Oy="Escape",Nc="Tab",Cy="ArrowUp",$c="ArrowDown",Ly=2,Py=`hide${Fn}`,Ny=`hidden${Fn}`,$y=`show${Fn}`,Iy=`shown${Fn}`,Ad=`click${Fn}${xl}`,Sd=`keydown${Fn}${xl}`,Dy=`keyup${Fn}${xl}`,Xn="show",Ry="dropup",ky="dropend",My="dropstart",xy="dropup-center",zy="dropdown-center",Pn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Fy=`${Pn}.${Xn}`,Mr=".dropdown-menu",Vy=".navbar",Hy=".navbar-nav",By=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",jy=ht()?"top-end":"top-start",Wy=ht()?"top-start":"top-end",Uy=ht()?"bottom-end":"bottom-start",Gy=ht()?"bottom-start":"bottom-end",Ky=ht()?"left-start":"right-start",Yy=ht()?"right-start":"left-start",qy="top",Xy="bottom",Zy={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Qy={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class It extends wt{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=Z.next(this._element,Mr)[0]||Z.prev(this._element,Mr)[0]||Z.findOne(Mr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Zy}static get DefaultType(){return Qy}static get NAME(){return Pc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(hn(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!$.trigger(this._element,$y,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Hy))for(const s of[].concat(...document.body.children))$.on(s,"mouseover",qr);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Xn),this._element.classList.add(Xn),$.trigger(this._element,Iy,t)}}hide(){if(hn(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!$.trigger(this._element,Py,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))$.off(s,"mouseover",qr);this._popper&&this._popper.destroy(),this._menu.classList.remove(Xn),this._element.classList.remove(Xn),this._element.setAttribute("aria-expanded","false"),Bt.removeDataAttribute(this._menu,"popper"),$.trigger(this._element,Ny,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Ht(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Pc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ld>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Ht(this._config.reference)?t=dn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Rl(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Xn)}_getPlacement(){const t=this._parent;if(t.classList.contains(ky))return Ky;if(t.classList.contains(My))return Yy;if(t.classList.contains(xy))return qy;if(t.classList.contains(zy))return Xy;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Ry)?n?Wy:jy:n?Gy:Uy}_detectNavbar(){return this._element.closest(Vy)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Bt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...tt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const s=Z.find(By,this._menu).filter(r=>As(r));s.length&&kl(s,n,t===$c,!s.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=It.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Ly||t.type==="keyup"&&t.key!==Nc)return;const n=Z.find(Fy);for(const s of n){const r=It.getInstance(s);if(!r||r._config.autoClose===!1)continue;const o=t.composedPath(),i=o.includes(r._menu);if(o.includes(r._element)||r._config.autoClose==="inside"&&!i||r._config.autoClose==="outside"&&i||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Nc||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const l={relatedTarget:r._element};t.type==="click"&&(l.clickEvent=t),r._completeHide(l)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),s=t.key===Oy,r=[Cy,$c].includes(t.key);if(!r&&!s||n&&!s)return;t.preventDefault();const o=this.matches(Pn)?this:Z.prev(this,Pn)[0]||Z.next(this,Pn)[0]||Z.findOne(Pn,t.delegateTarget.parentNode),i=It.getOrCreateInstance(o);if(r){t.stopPropagation(),i.show(),i._selectMenuItem(t);return}i._isShown()&&(t.stopPropagation(),i.hide(),o.focus())}}$.on(document,Sd,Pn,It.dataApiKeydownHandler);$.on(document,Sd,Mr,It.dataApiKeydownHandler);$.on(document,Ad,It.clearMenus);$.on(document,Dy,It.clearMenus);$.on(document,Ad,Pn,function(e){e.preventDefault(),It.getOrCreateInstance(this).toggle()});mt(It);const Od="backdrop",Jy="fade",Ic="show",Dc=`mousedown.bs.${Od}`,e3={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},t3={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Cd extends ar{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return e3}static get DefaultType(){return t3}static get NAME(){return Od}show(t){if(!this._config.isVisible){tt(t);return}this._append();const n=this._getElement();this._config.isAnimated&&lr(n),n.classList.add(Ic),this._emulateAnimation(()=>{tt(t)})}hide(t){if(!this._config.isVisible){tt(t);return}this._getElement().classList.remove(Ic),this._emulateAnimation(()=>{this.dispose(),tt(t)})}dispose(){this._isAppended&&($.off(this._element,Dc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Jy),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=dn(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),$.on(t,Dc,()=>{tt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){dd(t,this._getElement(),this._config.isAnimated)}}const n3="focustrap",s3="bs.focustrap",Zr=`.${s3}`,r3=`focusin${Zr}`,o3=`keydown.tab${Zr}`,i3="Tab",l3="forward",Rc="backward",a3={autofocus:!0,trapElement:null},c3={autofocus:"boolean",trapElement:"element"};class Ld extends ar{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return a3}static get DefaultType(){return c3}static get NAME(){return n3}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),$.off(document,Zr),$.on(document,r3,t=>this._handleFocusin(t)),$.on(document,o3,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,$.off(document,Zr))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const s=Z.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===Rc?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===i3&&(this._lastTabNavDirection=t.shiftKey?Rc:l3)}}const kc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Mc=".sticky-top",Ar="padding-right",xc="margin-right";class Fi{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ar,n=>n+t),this._setElementAttributes(kc,Ar,n=>n+t),this._setElementAttributes(Mc,xc,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ar),this._resetElementAttributes(kc,Ar),this._resetElementAttributes(Mc,xc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,s){const r=this.getWidth(),o=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+r)return;this._saveInitialAttribute(i,n);const l=window.getComputedStyle(i).getPropertyValue(n);i.style.setProperty(n,`${s(Number.parseFloat(l))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,n){const s=t.style.getPropertyValue(n);s&&Bt.setDataAttribute(t,n,s)}_resetElementAttributes(t,n){const s=r=>{const o=Bt.getDataAttribute(r,n);if(o===null){r.style.removeProperty(n);return}Bt.removeDataAttribute(r,n),r.style.setProperty(n,o)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,n){if(Ht(t)){n(t);return}for(const s of Z.find(t,this._element))n(s)}}const u3="modal",f3="bs.modal",pt=`.${f3}`,d3=".data-api",h3="Escape",p3=`hide${pt}`,m3=`hidePrevented${pt}`,Pd=`hidden${pt}`,Nd=`show${pt}`,_3=`shown${pt}`,g3=`resize${pt}`,v3=`click.dismiss${pt}`,b3=`mousedown.dismiss${pt}`,E3=`keydown.dismiss${pt}`,y3=`click${pt}${d3}`,zc="modal-open",T3="fade",Fc="show",Zo="modal-static",w3=".modal.show",A3=".modal-dialog",S3=".modal-body",O3='[data-bs-toggle="modal"]',C3={backdrop:!0,focus:!0,keyboard:!0},L3={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class zn extends wt{constructor(t,n){super(t,n),this._dialog=Z.findOne(A3,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fi,this._addEventListeners()}static get Default(){return C3}static get DefaultType(){return L3}static get NAME(){return u3}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||$.trigger(this._element,Nd,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(zc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||$.trigger(this._element,p3).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Fc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){$.off(window,pt),$.off(this._dialog,pt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Cd({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ld({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=Z.findOne(S3,this._dialog);n&&(n.scrollTop=0),lr(this._element),this._element.classList.add(Fc);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,$.trigger(this._element,_3,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){$.on(this._element,E3,t=>{if(t.key===h3){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),$.on(window,g3,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),$.on(this._element,b3,t=>{$.one(this._element,v3,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(zc),this._resetAdjustments(),this._scrollBar.reset(),$.trigger(this._element,Pd)})}_isAnimated(){return this._element.classList.contains(T3)}_triggerBackdropTransition(){if($.trigger(this._element,m3).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Zo)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Zo),this._queueCallback(()=>{this._element.classList.remove(Zo),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!t){const r=ht()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&t){const r=ht()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const s=zn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](n)}})}}$.on(document,y3,O3,function(e){const t=Z.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),$.one(t,Nd,r=>{r.defaultPrevented||$.one(t,Pd,()=>{As(this)&&this.focus()})});const n=Z.findOne(w3);n&&zn.getInstance(n).hide(),zn.getOrCreateInstance(t).toggle(this)});So(zn);mt(zn);const P3="offcanvas",N3="bs.offcanvas",Gt=`.${N3}`,$d=".data-api",$3=`load${Gt}${$d}`,I3="Escape",Vc="show",Hc="showing",Bc="hiding",D3="offcanvas-backdrop",Id=".offcanvas.show",R3=`show${Gt}`,k3=`shown${Gt}`,M3=`hide${Gt}`,jc=`hidePrevented${Gt}`,Dd=`hidden${Gt}`,x3=`resize${Gt}`,z3=`click${Gt}${$d}`,F3=`keydown.dismiss${Gt}`,V3='[data-bs-toggle="offcanvas"]',H3={backdrop:!0,keyboard:!0,scroll:!1},B3={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class pn extends wt{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return H3}static get DefaultType(){return B3}static get NAME(){return P3}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||$.trigger(this._element,R3,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fi().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Hc);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Vc),this._element.classList.remove(Hc),$.trigger(this._element,k3,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||$.trigger(this._element,M3).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Bc),this._backdrop.hide();const n=()=>{this._element.classList.remove(Vc,Bc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fi().reset(),$.trigger(this._element,Dd)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){$.trigger(this._element,jc);return}this.hide()},n=!!this._config.backdrop;return new Cd({className:D3,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Ld({trapElement:this._element})}_addEventListeners(){$.on(this._element,F3,t=>{if(t.key===I3){if(this._config.keyboard){this.hide();return}$.trigger(this._element,jc)}})}static jQueryInterface(t){return this.each(function(){const n=pn.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}$.on(document,z3,V3,function(e){const t=Z.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),hn(this))return;$.one(t,Dd,()=>{As(this)&&this.focus()});const n=Z.findOne(Id);n&&n!==t&&pn.getInstance(n).hide(),pn.getOrCreateInstance(t).toggle(this)});$.on(window,$3,()=>{for(const e of Z.find(Id))pn.getOrCreateInstance(e).show()});$.on(window,x3,()=>{for(const e of Z.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&pn.getOrCreateInstance(e).hide()});So(pn);mt(pn);const j3=/^aria-[\w-]*$/i,Rd={"*":["class","dir","id","lang","role",j3],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},W3=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),U3=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,G3=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?W3.has(n)?!!U3.test(e.nodeValue):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(n))};function K3(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),o=[].concat(...r.body.querySelectorAll("*"));for(const i of o){const l=i.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),c=[].concat(t["*"]||[],t[l]||[]);for(const u of a)G3(u,c)||i.removeAttribute(u.nodeName)}return r.body.innerHTML}const Y3="TemplateFactory",q3={allowList:Rd,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},X3={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Z3={entry:"(string|element|function|null)",selector:"(string|element)"};class Q3 extends ar{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return q3}static get DefaultType(){return X3}static get NAME(){return Y3}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[r,o]of Object.entries(this._config.content))this._setContent(t,o,r);const n=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,s]of Object.entries(t))super._typeCheckConfig({selector:n,entry:s},Z3)}_setContent(t,n,s){const r=Z.findOne(s,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(Ht(n)){this._putElementInTemplate(dn(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?K3(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return tt(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const J3="tooltip",e8=new Set(["sanitize","allowList","sanitizeFn"]),Qo="fade",t8="modal",Sr="show",n8=".tooltip-inner",Wc=`.${t8}`,Uc="hide.bs.modal",Is="hover",Jo="focus",s8="click",r8="manual",o8="hide",i8="hidden",l8="show",a8="shown",c8="inserted",u8="click",f8="focusin",d8="focusout",h8="mouseenter",p8="mouseleave",m8={AUTO:"auto",TOP:"top",RIGHT:ht()?"left":"right",BOTTOM:"bottom",LEFT:ht()?"right":"left"},_8={allowList:Rd,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},g8={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Os extends wt{constructor(t,n){if(typeof ld>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return _8}static get DefaultType(){return g8}static get NAME(){return J3}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),$.off(this._element.closest(Wc),Uc,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=$.trigger(this._element,this.constructor.eventName(l8)),s=(ud(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(r),$.trigger(this._element,this.constructor.eventName(c8))),this._popper=this._createPopper(r),r.classList.add(Sr),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))$.on(l,"mouseover",qr);const i=()=>{$.trigger(this._element,this.constructor.eventName(a8)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||$.trigger(this._element,this.constructor.eventName(o8)).defaultPrevented)return;if(this._getTipElement().classList.remove(Sr),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))$.off(r,"mouseover",qr);this._activeTrigger[s8]=!1,this._activeTrigger[Jo]=!1,this._activeTrigger[Is]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),$.trigger(this._element,this.constructor.eventName(i8)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Qo,Sr),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=sE(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(Qo),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Q3({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[n8]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Qo)}_isShown(){return this.tip&&this.tip.classList.contains(Sr)}_createPopper(t){const n=tt(this._config.placement,[this,t,this._element]),s=m8[n.toUpperCase()];return Rl(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return tt(t,[this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...tt(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")$.on(this._element,this.constructor.eventName(u8),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==r8){const s=n===Is?this.constructor.eventName(h8):this.constructor.eventName(f8),r=n===Is?this.constructor.eventName(p8):this.constructor.eventName(d8);$.on(this._element,s,this._config.selector,o=>{const i=this._initializeOnDelegatedTarget(o);i._activeTrigger[o.type==="focusin"?Jo:Is]=!0,i._enter()}),$.on(this._element,r,this._config.selector,o=>{const i=this._initializeOnDelegatedTarget(o);i._activeTrigger[o.type==="focusout"?Jo:Is]=i._element.contains(o.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},$.on(this._element.closest(Wc),Uc,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=Bt.getDataAttributes(this._element);for(const s of Object.keys(n))e8.has(s)&&delete n[s];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:dn(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(t[n]=s);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=Os.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}mt(Os);const v8="popover",b8=".popover-header",E8=".popover-body",y8={...Os.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},T8={...Os.DefaultType,content:"(null|string|element|function)"};class zl extends Os{static get Default(){return y8}static get DefaultType(){return T8}static get NAME(){return v8}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[b8]:this._getTitle(),[E8]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=zl.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}mt(zl);const w8="scrollspy",A8="bs.scrollspy",Fl=`.${A8}`,S8=".data-api",O8=`activate${Fl}`,Gc=`click${Fl}`,C8=`load${Fl}${S8}`,L8="dropdown-item",Gn="active",P8='[data-bs-spy="scroll"]',ei="[href]",N8=".nav, .list-group",Kc=".nav-link",$8=".nav-item",I8=".list-group-item",D8=`${Kc}, ${$8} > ${Kc}, ${I8}`,R8=".dropdown",k8=".dropdown-toggle",M8={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},x8={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Lo extends wt{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return M8}static get DefaultType(){return x8}static get NAME(){return w8}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=dn(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&($.off(this._config.target,Gc),$.on(this._config.target,Gc,ei,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=i=>this._targetLinks.get(`#${i.target.id}`),s=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(n(i))},r=(this._rootElement||document.documentElement).scrollTop,o=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const i of t){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&l){if(s(i),!r)return;continue}!o&&!l&&s(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Z.find(ei,this._config.target);for(const n of t){if(!n.hash||hn(n))continue;const s=Z.findOne(decodeURI(n.hash),this._element);As(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Gn),this._activateParents(t),$.trigger(this._element,O8,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(L8)){Z.findOne(k8,t.closest(R8)).classList.add(Gn);return}for(const n of Z.parents(t,N8))for(const s of Z.prev(n,D8))s.classList.add(Gn)}_clearActiveClass(t){t.classList.remove(Gn);const n=Z.find(`${ei}.${Gn}`,t);for(const s of n)s.classList.remove(Gn)}static jQueryInterface(t){return this.each(function(){const n=Lo.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}$.on(window,C8,()=>{for(const e of Z.find(P8))Lo.getOrCreateInstance(e)});mt(Lo);const z8="tab",F8="bs.tab",Vn=`.${F8}`,V8=`hide${Vn}`,H8=`hidden${Vn}`,B8=`show${Vn}`,j8=`shown${Vn}`,W8=`click${Vn}`,U8=`keydown${Vn}`,G8=`load${Vn}`,K8="ArrowLeft",Yc="ArrowRight",Y8="ArrowUp",qc="ArrowDown",ti="Home",Xc="End",Nn="active",Zc="fade",ni="show",q8="dropdown",kd=".dropdown-toggle",X8=".dropdown-menu",si=`:not(${kd})`,Z8='.list-group, .nav, [role="tablist"]',Q8=".nav-item, .list-group-item",J8=`.nav-link${si}, .list-group-item${si}, [role="tab"]${si}`,Md='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ri=`${J8}, ${Md}`,eT=`.${Nn}[data-bs-toggle="tab"], .${Nn}[data-bs-toggle="pill"], .${Nn}[data-bs-toggle="list"]`;class gs extends wt{constructor(t){super(t),this._parent=this._element.closest(Z8),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),$.on(this._element,U8,n=>this._keydown(n)))}static get NAME(){return z8}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?$.trigger(n,V8,{relatedTarget:t}):null;$.trigger(t,B8,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(Nn),this._activate(Z.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ni);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),$.trigger(t,j8,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(Zc))}_deactivate(t,n){if(!t)return;t.classList.remove(Nn),t.blur(),this._deactivate(Z.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ni);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),$.trigger(t,H8,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(Zc))}_keydown(t){if(![K8,Yc,Y8,qc,ti,Xc].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(r=>!hn(r));let s;if([ti,Xc].includes(t.key))s=n[t.key===ti?0:n.length-1];else{const r=[Yc,qc].includes(t.key);s=kl(n,t.target,r,!0)}s&&(s.focus({preventScroll:!0}),gs.getOrCreateInstance(s).show())}_getChildren(){return Z.find(ri,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",n),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=Z.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const s=this._getOuterElement(t);if(!s.classList.contains(q8))return;const r=(o,i)=>{const l=Z.findOne(o,s);l&&l.classList.toggle(i,n)};r(kd,Nn),r(X8,ni),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,s){t.hasAttribute(n)||t.setAttribute(n,s)}_elemIsActive(t){return t.classList.contains(Nn)}_getInnerElement(t){return t.matches(ri)?t:Z.findOne(ri,t)}_getOuterElement(t){return t.closest(Q8)||t}static jQueryInterface(t){return this.each(function(){const n=gs.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}$.on(document,W8,Md,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!hn(this)&&gs.getOrCreateInstance(this).show()});$.on(window,G8,()=>{for(const e of Z.find(eT))gs.getOrCreateInstance(e)});mt(gs);const tT="toast",nT="bs.toast",bn=`.${nT}`,sT=`mouseover${bn}`,rT=`mouseout${bn}`,oT=`focusin${bn}`,iT=`focusout${bn}`,lT=`hide${bn}`,aT=`hidden${bn}`,cT=`show${bn}`,uT=`shown${bn}`,fT="fade",Qc="hide",Or="show",Cr="showing",dT={animation:"boolean",autohide:"boolean",delay:"number"},hT={animation:!0,autohide:!0,delay:5e3};class Po extends wt{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return hT}static get DefaultType(){return dT}static get NAME(){return tT}show(){if($.trigger(this._element,cT).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(fT);const n=()=>{this._element.classList.remove(Cr),$.trigger(this._element,uT),this._maybeScheduleHide()};this._element.classList.remove(Qc),lr(this._element),this._element.classList.add(Or,Cr),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||$.trigger(this._element,lT).defaultPrevented)return;const n=()=>{this._element.classList.add(Qc),this._element.classList.remove(Cr,Or),$.trigger(this._element,aT)};this._element.classList.add(Cr),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Or),super.dispose()}isShown(){return this._element.classList.contains(Or)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){$.on(this._element,sT,t=>this._onInteraction(t,!0)),$.on(this._element,rT,t=>this._onInteraction(t,!1)),$.on(this._element,oT,t=>this._onInteraction(t,!0)),$.on(this._element,iT,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Po.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}So(Po);mt(Po);function pT(e){xd(e,!1)}function mT(e){return xd(e,!0)}function xd(e,t){const n=document.getElementById(e);if(n)return new zn(n).show(),!0;if(t)return!1;throw new Error(`Modal '#${e}' not found.`)}const _T="modulepreload",gT=function(e){return"/roll-for-the-galaxy/"+e},Jc={},vT=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=gT(o),o in Jc)return;Jc[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!s)for(let u=r.length-1;u>=0;u--){const f=r[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":_T,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};function bT(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:s,onRegistered:r,onRegisteredSW:o,onRegisterError:i}=e;let l,a,c;const u=async(d=!0)=>{await a,await(c==null?void 0:c())};async function f(){if("serviceWorker"in navigator){const{Workbox:d}=await vT(()=>import("./workbox-window.prod.es5-prqDwDSL.js"),__vite__mapDeps([]));l=new d("/roll-for-the-galaxy/service-worker.js",{scope:"/roll-for-the-galaxy/",type:"classic"}),c=async()=>{await(l==null?void 0:l.messageSkipWaiting())};{let m=!1;const E=()=>{m=!0,l==null||l.addEventListener("controlling",b=>{b.isUpdate&&window.location.reload()}),n==null||n()};l.addEventListener("installed",b=>{typeof b.isUpdate>"u"?typeof b.isExternal<"u"?b.isExternal?E():!m&&(s==null||s()):b.isExternal?window.location.reload():!m&&(s==null||s()):b.isUpdate||s==null||s()}),l.addEventListener("waiting",E),l.addEventListener("externalwaiting",E)}l.register({immediate:t}).then(m=>{o?o("/roll-for-the-galaxy/service-worker.js",m):r==null||r(m)}).catch(m=>{i==null||i(m)})}}return a=f(),u}var No={},fr={};Object.defineProperty(fr,"__esModule",{value:!0});fr.SetIntervalAsyncTimer=void 0;const ET=10,yT=2147483647;var $n,sn,tr,nr,Hi,Qr,zd;const Hl=class Hl{constructor(){Hn(this,nr);Hn(this,Qr);Hn(this,$n,void 0);Hn(this,sn,void 0);Hn(this,tr,!1)}static startTimer(t,n,s,...r){var i;s=Math.min(Math.max(Math.trunc(s),ET),yT);const o=new Hl;return dr(i=o,nr,Hi).call(i,t,n,s,s,...r),o}static async stopTimer(t){Bn(t,tr,!0),En(t,$n)&&clearTimeout(En(t,$n)),En(t,sn)&&await En(t,sn)}};$n=new WeakMap,sn=new WeakMap,tr=new WeakMap,nr=new WeakSet,Hi=function(t,n,s,r,...o){Bn(this,$n,setTimeout(async()=>{Bn(this,$n,void 0),Bn(this,sn,dr(this,Qr,zd).call(this,t,n,s,...o)),await En(this,sn),Bn(this,sn,void 0)},r))},Qr=new WeakSet,zd=async function(t,n,s,...r){const o=new Date().getTime();try{await n(...r)}finally{if(!En(this,tr)){const i=new Date().getTime()-o,l=t==="dynamic"?s>i?s-i:0:s;dr(this,nr,Hi).call(this,t,n,s,l,...r)}}};let Vi=Hl;fr.SetIntervalAsyncTimer=Vi;Object.defineProperty(No,"__esModule",{value:!0});No.clearIntervalAsync=void 0;const eu=fr;async function TT(e){if(!(e instanceof eu.SetIntervalAsyncTimer))throw new TypeError("First argument is not an instance of SetIntervalAsyncTimer");await eu.SetIntervalAsyncTimer.stopTimer(e)}No.clearIntervalAsync=TT;var Fd={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.setIntervalAsync=e.clearIntervalAsync=void 0;const t=No;Object.defineProperty(e,"clearIntervalAsync",{enumerable:!0,get:function(){return t.clearIntervalAsync}});const n=fr;function s(r,o,...i){if(typeof r!="function")throw new TypeError("First argument is not a function");if(typeof o!="number")throw new TypeError("Second argument is not a number");return n.SetIntervalAsyncTimer.startTimer("dynamic",r,o,...i)}e.setIntervalAsync=s})(Fd);function wT(e,t,n){const s=n*1e3;t&&Fd.setIntervalAsync(async()=>{if(!(!t.installing&&navigator)||"connection"in navigator&&!navigator.onLine)return;const r=await fetch(e,{cache:"no-store",headers:{cache:"no-store","cache-control":"no-cache"}});(r==null?void 0:r.status)===200&&await t.update()},s)}const Vl=ge({name:"App",components:{AppHeader:Qv,AppFooter:fb,ModalDialog:ml},setup(){const{t:e,locale:t}=Ae({inheritLocale:!0,useScope:"global"}),n=Tt(),s=1*60*60,r=bT({onRegisteredSW(o,i){wT(o,i,s)},onNeedRefresh(){mT("serviceWorkerUpdatedRefresh")}});return t.value=n.language,{t:e,state:n,locale:t,updateServiceWorker:r}},data(){return{buildNumber:hg,appTitle:pg,errorMessage:"Error"}},computed:{baseFontSize(){return this.state.baseFontSize}},methods:{setLocale(e){this.locale=e,this.state.language=e},zoomFontSize(e){this.state.baseFontSize=e.baseFontSize}},errorCaptured(e){this.errorMessage=hb(e,t=>this.t(t.key,t.named,t.plural)),pT("errorMessage")}}),tu=()=>{sm(e=>({12259670:e.baseFontSize}))},nu=Vl.setup;Vl.setup=nu?(e,t)=>(tu(),nu(e,t)):tu;const AT={id:"content-container",class:"container-fluid mt-5 mb-5"},ST={class:"alert alert-danger",role:"alert"},OT=["innerHTML"],CT={class:"btn btn-secondary","data-bs-dismiss":"modal"},LT={href:"https://boardgamegeek.com/boardgame/132531/roll-galaxy",target:"_blank",rel:"noopener"},PT=_("dl",null,[_("dt",null,"Game design"),_("dd",null,"Wei-Hwa Huang, Thomas Lehmann"),_("dt",null,"Graphics design"),_("dd",null,"Martin Hoffmann, Claus Stephan, Mirko Suzuki"),_("dt",null,[_("a",{href:"https://boardgamegeek.com/filepage/124323/solo-rules-rftg-amibtion",target:"_blank",rel:"noopener"},"Solo Mode Design (unofficial)")]),_("dd",null,"Dale Buonocore, Ken Thibodeau"),_("dt",null,"Publisher"),_("dd",null,[_("a",{href:"https://www.riograndegames.com/",target:"_blank",rel:"noopener"},"Rio Grande Games")])],-1),NT={class:"border-top pt-3"},$T=_("dt",null,"Application Development",-1),IT=_("dd",null,"Stefan Seifert",-1),DT=_("dt",null,"Version",-1),RT=_("dt",null,"Source Code (Apache-2.0 License)",-1),kT=_("dd",null,[_("a",{href:"https://github.com/brdgm/roll-for-the-galaxy-solo-helper",target:"_blank",rel:"noopener"},"https://github.com/brdgm/roll-for-the-galaxy-solo-helper")],-1);function MT(e,t,n,s,r,o){const i=we("AppHeader"),l=we("router-view"),a=we("AppFooter"),c=we("ModalDialog");return j(),G(ne,null,[ce(i,{title:e.t("gameTitle"),onSetLocale:t[0]||(t[0]=u=>e.setLocale(u.language))},null,8,["title"]),_("div",AT,[(j(),Rt(l,{key:e.$route.fullPath}))]),ce(a,{"build-number":e.buildNumber,"credits-label":e.t("footer.credits"),"credits-modal-id":"creditsModal","zoom-enabled":"","base-font-size":e.state.baseFontSize,onZoomFontSize:e.zoomFontSize},null,8,["build-number","credits-label","base-font-size","onZoomFontSize"]),ce(c,{id:"errorMessage"},{body:gt(()=>[_("div",ST,B(e.errorMessage),1)]),_:1}),ce(c,{id:"serviceWorkerUpdatedRefresh",title:e.t("serviceWorkerUpdatedRefresh.title")},{body:gt(()=>[_("p",{innerHTML:e.t("serviceWorkerUpdatedRefresh.notice")},null,8,OT)]),footer:gt(()=>[_("button",{class:"btn btn-primary","data-bs-dismiss":"modal",onClick:t[1]||(t[1]=u=>e.updateServiceWorker())},B(e.t("serviceWorkerUpdatedRefresh.title")),1),_("button",CT,B(e.t("action.close")),1)]),_:1},8,["title"]),ce(c,{id:"creditsModal",title:e.t("footer.credits")},{body:gt(()=>[_("h4",null,[_("a",LT,B(e.t("gameTitle")),1)]),PT,_("h4",NT,B(e.appTitle),1),_("dl",null,[$T,IT,DT,_("dd",null,B(e.buildNumber),1),RT,kT])]),_:1},8,["title"])],64)}const xT=Se(Vl,[["render",MT]]),zT=pm().use(Om);fm(xT).use(zT).use(zv).use(Vv).mount("#app"); function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/roll-for-the-galaxy/assets/index-ft8252A0.css b/roll-for-the-galaxy/assets/index-hQD-IVgw.css similarity index 99% rename from roll-for-the-galaxy/assets/index-ft8252A0.css rename to roll-for-the-galaxy/assets/index-hQD-IVgw.css index cd9ad20..7f3e338 100644 --- a/roll-for-the-galaxy/assets/index-ft8252A0.css +++ b/roll-for-the-galaxy/assets/index-hQD-IVgw.css @@ -1,4 +1,4 @@ -@charset "UTF-8";.disclaimer[data-v-1c8d13e1]{clear:both;margin-top:4rem;font-size:smaller}.kofi-button[data-v-1c8d13e1]{height:1.4rem}.end-game-buttons[data-v-2b8ca59d]{position:fixed;right:0;bottom:0;z-index:1031}.phaseSelection[data-v-40ad0951],.phaseSelectionDone[data-v-40ad0951]{margin-top:20px;margin-bottom:10px}.phaseSelection .phaseIcon[data-v-40ad0951]{cursor:pointer}.phase[data-v-40ad0951]{display:inline-block}.phase .phaseIcon[data-v-40ad0951]{width:6em;margin-right:1em;margin-bottom:1em}.diceIcon[data-v-40ad0951]{width:2rem}p[data-v-40ad0951]{height:2rem;vertical-align:middle}.diceIcon[data-v-88ca76c2],.diceIcon[data-v-959ebd9e]{width:2rem}table th[data-v-959ebd9e]{padding-right:20px;font-weight:400}.phaseExecution[data-v-ba93c6a2]{margin-top:20px;margin-bottom:10px}.phase[data-v-ba93c6a2]{display:inline-block}.phase .phaseIcon[data-v-ba93c6a2]{width:6em;margin-right:1em;margin-bottom:1em}.phase .phaseIcon.active[data-v-ba93c6a2]{outline:6px solid orange}.phase .phaseIcon.inactive[data-v-ba93c6a2]{opacity:60%}th[data-v-df84702e],td[data-v-df84702e]{text-align:center;padding:.5rem}th[data-v-df84702e]:nth-child(1){text-align:start}tr[data-v-df84702e]:nth-child(2n){background-color:#f2f2f2}th[data-v-df84702e]{white-space:nowrap;vertical-align:middle}input[data-v-df84702e]{width:5rem}.header[data-v-26d147cb]{height:2rem;display:flex;flex-flow:row nowrap;align-items:center}.header .logo[data-v-26d147cb]{display:inline;flex-grow:1;white-space:nowrap}.header .logo .icon[data-v-26d147cb]{width:1.5rem;height:1.5rem;margin-left:.5rem;margin-right:.5rem;margin-top:-.3rem}.header .logo .title[data-v-26d147cb]{color:#fff;font-family:Lucida Console,monospace;font-size:1rem;margin-right:1rem;display:inline}.header a.logo[data-v-26d147cb],.header a.logo[data-v-26d147cb]:hover,.header a.logo[data-v-26d147cb]:visited,.header a.logo[data-v-26d147cb]:active{text-decoration:none}.header .gameTitle[data-v-26d147cb]{color:#e9967a;font-weight:700;display:inline;flex-grow:1;overflow:hidden;white-space:nowrap}.header .langSelector[data-v-26d147cb],.header .langSelector button[data-v-26d147cb]{text-transform:uppercase}.footer[data-v-f4aa44d1]{height:2rem;display:flex;flex-flow:row nowrap;align-items:center;color:#fff;padding-left:.5rem}.footer .links[data-v-f4aa44d1]{display:inline;flex-grow:1}.footer .links a[data-v-f4aa44d1]:link,.footer .links a[data-v-f4aa44d1]:hover,.footer .links a[data-v-f4aa44d1]:visited{text-decoration:none;color:#fff}.footer .links .version[data-v-f4aa44d1]{margin-left:.5rem;font-size:smaller;color:#ccc}.footer .buttons[data-v-f4aa44d1]{display:inline;flex-grow:1;width:10rem}.zoom-icon[data-v-f4aa44d1]{display:inline;margin-left:.25rem;margin-right:.25rem;vertical-align:top;cursor:pointer}a.zoom-icon[data-v-f4aa44d1],a.zoom-icon[data-v-f4aa44d1]:hover,a.zoom-icon[data-v-f4aa44d1]:visited{color:#fff;text-decoration:none}#content-container{font-size:calc(var(--12259670) * 1rem)}#content-container h1{font-size:calc(var(--12259670) * 2.5rem)}#content-container h2{font-size:calc(var(--12259670) * 2rem)}#content-container h3{font-size:calc(var(--12259670) * 1.75rem)}#content-container h4{font-size:calc(var(--12259670) * 1.5rem)}#content-container h5{font-size:calc(var(--12259670) * 1.25rem)}#content-container h6{font-size:calc(var(--12259670) * 1rem)}#content-container .modal{--bs-modal-zindex: 9000}#content-container .nav-tabs{--bs-nav-tabs-link-active-bg: #f8f8f8}#content-container .tab-pane{background-color:#f8f8f8;border-left:1px solid #dee2e6;border-bottom:1px solid #dee2e6;border-right:1px solid #dee2e6;padding:10px}/*! +@charset "UTF-8";.disclaimer[data-v-1c8d13e1]{clear:both;margin-top:4rem;font-size:smaller}.kofi-button[data-v-1c8d13e1]{height:1.4rem}.end-game-buttons[data-v-2b8ca59d]{position:fixed;right:0;bottom:0;z-index:1031}.phaseSelection[data-v-40ad0951],.phaseSelectionDone[data-v-40ad0951]{margin-top:20px;margin-bottom:10px}.phaseSelection .phaseIcon[data-v-40ad0951]{cursor:pointer}.phase[data-v-40ad0951]{display:inline-block}.phase .phaseIcon[data-v-40ad0951]{width:6em;margin-right:1em;margin-bottom:1em}.diceIcon[data-v-40ad0951]{width:2rem}p[data-v-40ad0951]{height:2rem;vertical-align:middle}.diceIcon[data-v-88ca76c2],.diceIcon[data-v-959ebd9e]{width:2rem}table th[data-v-959ebd9e]{padding-right:20px;font-weight:400}.phaseExecution[data-v-ba93c6a2]{margin-top:20px;margin-bottom:10px}.phase[data-v-ba93c6a2]{display:inline-block}.phase .phaseIcon[data-v-ba93c6a2]{width:6em;margin-right:1em;margin-bottom:1em}.phase .phaseIcon.active[data-v-ba93c6a2]{outline:6px solid orange}.phase .phaseIcon.inactive[data-v-ba93c6a2]{opacity:60%}th[data-v-0bd6c355],td[data-v-0bd6c355]{text-align:center;padding:.5rem}th[data-v-0bd6c355]:nth-child(1){text-align:start}tr[data-v-0bd6c355]:nth-child(2n){background-color:#f2f2f2}th[data-v-0bd6c355]{white-space:nowrap;vertical-align:middle}input[data-v-0bd6c355]{width:5rem}.header[data-v-26d147cb]{height:2rem;display:flex;flex-flow:row nowrap;align-items:center}.header .logo[data-v-26d147cb]{display:inline;flex-grow:1;white-space:nowrap}.header .logo .icon[data-v-26d147cb]{width:1.5rem;height:1.5rem;margin-left:.5rem;margin-right:.5rem;margin-top:-.3rem}.header .logo .title[data-v-26d147cb]{color:#fff;font-family:Lucida Console,monospace;font-size:1rem;margin-right:1rem;display:inline}.header a.logo[data-v-26d147cb],.header a.logo[data-v-26d147cb]:hover,.header a.logo[data-v-26d147cb]:visited,.header a.logo[data-v-26d147cb]:active{text-decoration:none}.header .gameTitle[data-v-26d147cb]{color:#e9967a;font-weight:700;display:inline;flex-grow:1;overflow:hidden;white-space:nowrap}.header .langSelector[data-v-26d147cb],.header .langSelector button[data-v-26d147cb]{text-transform:uppercase}.footer[data-v-f4aa44d1]{height:2rem;display:flex;flex-flow:row nowrap;align-items:center;color:#fff;padding-left:.5rem}.footer .links[data-v-f4aa44d1]{display:inline;flex-grow:1}.footer .links a[data-v-f4aa44d1]:link,.footer .links a[data-v-f4aa44d1]:hover,.footer .links a[data-v-f4aa44d1]:visited{text-decoration:none;color:#fff}.footer .links .version[data-v-f4aa44d1]{margin-left:.5rem;font-size:smaller;color:#ccc}.footer .buttons[data-v-f4aa44d1]{display:inline;flex-grow:1;width:10rem}.zoom-icon[data-v-f4aa44d1]{display:inline;margin-left:.25rem;margin-right:.25rem;vertical-align:top;cursor:pointer}a.zoom-icon[data-v-f4aa44d1],a.zoom-icon[data-v-f4aa44d1]:hover,a.zoom-icon[data-v-f4aa44d1]:visited{color:#fff;text-decoration:none}#content-container{font-size:calc(var(--12259670) * 1rem)}#content-container h1{font-size:calc(var(--12259670) * 2.5rem)}#content-container h2{font-size:calc(var(--12259670) * 2rem)}#content-container h3{font-size:calc(var(--12259670) * 1.75rem)}#content-container h4{font-size:calc(var(--12259670) * 1.5rem)}#content-container h5{font-size:calc(var(--12259670) * 1.25rem)}#content-container h6{font-size:calc(var(--12259670) * 1rem)}#content-container .modal{--bs-modal-zindex: 9000}#content-container .nav-tabs{--bs-nav-tabs-link-active-bg: #f8f8f8}#content-container .tab-pane{background-color:#f8f8f8;border-left:1px solid #dee2e6;border-bottom:1px solid #dee2e6;border-right:1px solid #dee2e6;padding:10px}/*! * Bootstrap v5.3.2 (https://getbootstrap.com/) * Copyright 2011-2023 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) diff --git a/roll-for-the-galaxy/index.html b/roll-for-the-galaxy/index.html index 5836dbb..b8394df 100644 --- a/roll-for-the-galaxy/index.html +++ b/roll-for-the-galaxy/index.html @@ -10,8 +10,8 @@ - - + +