diff --git a/library/i18n/index.js b/library/i18n/index.js index 51d06f013..b2357aa2d 100644 --- a/library/i18n/index.js +++ b/library/i18n/index.js @@ -76,6 +76,29 @@ export const SUPPORTED_LOCALES = ['ar', 'de', 'en', 'es', 'fr', 'hi', 'it', 'pt' export const RTL_LOCALES = new Set(['ar']) +/** + * The locale a ?lang= / ?locale= link is asking for, or '' if the URL names none. + * + * ★ EXPORTED BECAUSE A SECOND CONSUMER NEEDS THE SAME FACT. detectLocale() uses this for the UI + * chrome, and regions-dashboard needs it for the API call that fetches region and country NAMES: + * the prayer API localises its labels from its own lang parameter, so if the chrome reads the URL + * and the data call does not, a shared ?lang=ar link renders Arabic chrome around English region + * names. MEASURED before this: region-dashboards rendered 597 Arabic chrome characters through + * profile-config and only 309 through ?lang=ar, the gap being the seven region names in the + * chooser legend and the seven in the table. + * + * Both spellings are accepted because both are in use in this codebase (`lang` in profile configs, + * `locale` in the i18n layer) and guessing wrong is a silent no-op. Kept here, as one copy, rather + * than re-read in the plugin: two copies of one fact drift, which is how the asset-path bug and + * the PosterWall fallback table both went wrong. + */ +export function localeFromUrl() { + try { + const q = new URLSearchParams(window.location.search) + return (q.get('lang') || q.get('locale') || '').split('-')[0].toLowerCase() + } catch { return '' } // no window (SSR/tests) +} + export function detectLocale() { // ★ URL FIRST — otherwise the translations are UNREACHABLE in a dropped tree. // The host page is the intended source (Polylang sets on WordPress), @@ -90,12 +113,7 @@ export function detectLocale() { // path intact for WordPress. Both spellings are accepted because both are in use // across this codebase (`lang` in profile configs, `locale` in the i18n layer), // and guessing wrong is a silent no-op. - const fromUrl = (() => { - try { - const q = new URLSearchParams(window.location.search) - return (q.get('lang') || q.get('locale') || '').split('-')[0].toLowerCase() - } catch { return '' } // no window (SSR/tests) — fall through - })() + const fromUrl = localeFromUrl() if (SUPPORTED_LOCALES.includes(fromUrl)) return fromUrl const raw = document?.documentElement?.lang || '' diff --git a/plugin-designs/regions-dashboard/region-dashboards.vue b/plugin-designs/regions-dashboard/region-dashboards.vue index ee3a680e3..cf7f4d808 100644 --- a/plugin-designs/regions-dashboard/region-dashboards.vue +++ b/plugin-designs/regions-dashboard/region-dashboards.vue @@ -29,7 +29,7 @@ import { useShadowStyles } from '@map/composables/useShadowStyles.js' // ar renders right-to-left. RTL_LOCALES is the shared set and :dir on our own root is the // house pattern (doxa-simple-map.vue:18, :246, :1346) — an EMBEDDED element must not reach for // document.documentElement.dir, which belongs to the host page. -import { RTL_LOCALES } from '@map/i18n/index.js' +import { RTL_LOCALES, localeFromUrl } from '@map/i18n/index.js' import { resolveAssetsBase } from '@map/utils/embedBase.js' import { useDocumentFont, BEBAS_NEUE_FACES, POPPINS_FACES, FIGTREE_FACES, OSWALD_FACES } from '@map/composables/useDocumentFont.js' import FilterDropdown from '@map/components/search/FilterDropdown.vue' @@ -81,8 +81,16 @@ const researchUrl = computed(() => cfg.value.researchUrl || 'https://doxa.life/ // English, because this read only cfg.languageCode while the locale arrives as // cfg.locale (ProfileLoader's contract, ProfileLoader.vue:156 accepts locale OR lang). // Falling through to the same keys means translating the chrome also translates the data. +// ★ AND THE URL, LAST. The prayer API localises its LABELS from its own lang parameter, so the +// region and country NAMES follow whatever this resolves to. Reading only props and profile-config +// meant a SHARED LINK — /region-dashboards/?lang=ar, the URL a person actually sends someone — +// translated the chrome through detectLocale() and then asked the API in English. MEASURED: 597 +// Arabic chrome characters via profile-config against 309 via ?lang=ar on this leaf, and the whole +// gap was the seven region names in the chooser legend plus the seven in the table. +// localeFromUrl() is the library's own reader, imported rather than re-implemented, so the data +// call and the chrome can never disagree about what the URL asked for. const languageCode = computed(() => - props.languageCode || cfg.value.languageCode || cfg.value.locale || cfg.value.lang || '') + props.languageCode || cfg.value.languageCode || cfg.value.locale || cfg.value.lang || localeFromUrl() || '') const instanceId = computed(() => cfg.value.instanceId || '') // THE CAP-4 ASSET-PATH LESSON (BUG-UPG100MFE-ASSET-PATH, and it bit again here): DataTable // injects the vendored Tabulator from a path RELATIVE to the document. Nested inside the diff --git a/public/doxa-maps/all-people-groups/all-people-groups.js b/public/doxa-maps/all-people-groups/all-people-groups.js index 01c228274..355456cc0 100644 --- a/public/doxa-maps/all-people-groups/all-people-groups.js +++ b/public/doxa-maps/all-people-groups/all-people-groups.js @@ -1,4 +1,4 @@ -(function(){"use strict";var _t=typeof document<"u"?document.currentScript:null;const Gy="modulepreload",By=function(e){return"/"+e},jy={},Zc=function(o,t,n){let a=Promise.resolve();function s(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return a.then(r=>{for(const i of r||[])i.status==="rejected"&&s(i.reason);return o().catch(s)})};/** +(function(){"use strict";var _t=typeof document<"u"?document.currentScript:null;const By="modulepreload",jy=function(e){return"/"+e},Uy={},Zc=function(o,t,n){let a=Promise.resolve();function s(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return a.then(r=>{for(const i of r||[])i.status==="rejected"&&s(i.reason);return o().catch(s)})};/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -6,14 +6,14 @@ * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Fe;class cr{constructor(o=!1){this.detached=o,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!o&&Fe&&(Fe.active?(this.parent=Fe,this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let o,t;if(this.scopes){const n=this.scopes.slice();for(o=0,t=n.length;o0&&--this._on===0){if(Fe===this)Fe=this.prevScope;else{let o=Fe;for(;o;){if(o.prevScope===this){o.prevScope=this.prevScope;break}o=o.prevScope}}this.prevScope=void 0}}stop(o){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t0)return;if(Vt){let o=Vt;for(Vt=void 0;o;){const t=o.next;o.next=void 0,o.flags&=-9,o=t}}let e;for(;zt;){let o=zt;for(zt=void 0;o;){const t=o.next;if(o.next=void 0,o.flags&=-9,o.flags&1)try{o.trigger()}catch(n){e||(e=n)}o=t}}if(e)throw e}function hr(e){for(let o=e.deps;o;o=o.nextDep)o.version=-1,o.prevActiveLink=o.dep.activeLink,o.dep.activeLink=o}function fr(e){let o,t=e.depsTail,n=t;for(;n;){const a=n.prevDep;n.version===-1?(n===t&&(t=a),ka(n),pu(n)):o=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=o,e.depsTail=t}function Sa(e){for(let o=e.deps;o;o=o.nextDep)if(o.dep.version!==o.version||o.dep.computed&&($r(o.dep.computed)||o.dep.version!==o.version))return!0;return!!e._dirty}function $r(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt)||(e.globalVersion=Kt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Sa(e))))return;e.flags|=2;const o=e.dep,t=ke,n=po;ke=e,po=!0;try{hr(e);const a=e.fn(e._value);(o.version===0||vo(a,e._value))&&(e.flags|=128,e._value=a,o.version++)}catch(a){throw o.version++,a}finally{ke=t,po=n,fr(e),e.flags&=-3}}function ka(e,o=!1){const{dep:t,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n,!n&&t.computed)){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)ka(s,!0)}!o&&!--t.sc&&t.map&&t.map.delete(t.key)}function pu(e){const{prevDep:o,nextDep:t}=e;o&&(o.nextDep=t,e.prevDep=void 0),t&&(t.prevDep=o,e.nextDep=void 0)}let po=!0;const mr=[];function Ao(){mr.push(po),po=!1}function So(){const e=mr.pop();po=e===void 0?!0:e}function _r(e){const{cleanup:o}=e;if(e.cleanup=void 0,o){const t=ke;ke=void 0;try{o()}finally{ke=t}}}let Kt=0;class gu{constructor(o,t){this.sub=o,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class La{constructor(o){this.computed=o,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(o){if(!ke||!po||ke===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==ke)t=this.activeLink=new gu(ke,this),ke.deps?(t.prevDep=ke.depsTail,ke.depsTail.nextDep=t,ke.depsTail=t):ke.deps=ke.depsTail=t,br(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const n=t.nextDep;n.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=n),t.prevDep=ke.depsTail,t.nextDep=void 0,ke.depsTail.nextDep=t,ke.depsTail=t,ke.deps===t&&(ke.deps=n)}return t}trigger(o){this.version++,Kt++,this.notify(o)}notify(o){va();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{Aa()}}}function br(e){if(e.dep.sc++,e.sub.flags&4){const o=e.dep.computed;if(o&&!e.dep.subs){o.flags|=20;for(let n=o.deps;n;n=n.nextDep)br(n)}const t=e.dep.subs;t!==e&&(e.prevSub=t,t&&(t.nextSub=e)),e.dep.subs=e}}const En=new WeakMap,lt=Symbol(""),wa=Symbol(""),qt=Symbol("");function We(e,o,t){if(po&&ke){let n=En.get(e);n||En.set(e,n=new Map);let a=n.get(t);a||(n.set(t,a=new La),a.map=n,a.key=t),a.track()}}function xo(e,o,t,n,a,s){const r=En.get(e);if(!r){Kt++;return}const i=l=>{l&&l.trigger()};if(va(),o==="clear")r.forEach(i);else{const l=se(e),c=l&&Sn(t);if(l&&t==="length"){const u=Number(n);r.forEach((d,$)=>{($==="length"||$===qt||!no($)&&$>=u)&&i(d)})}else switch((t!==void 0||r.has(void 0))&&i(r.get(t)),c&&i(r.get(qt)),o){case"add":l?c&&i(r.get("length")):(i(r.get(lt)),Wo(e)&&i(r.get(wa)));break;case"delete":l||(i(r.get(lt)),Wo(e)&&i(r.get(wa)));break;case"set":Wo(e)&&i(r.get(lt));break}}Aa()}function du(e,o){const t=En.get(e);return t&&t.get(o)}function yt(e){const o=he(e);return o===e?o:(We(o,"iterate",qt),ao(e)?o:o.map(go))}function Cn(e){return We(e=he(e),"iterate",qt),e}function ko(e,o){return Io(e)?vt(Mo(e)?go(o):o):go(o)}const hu={__proto__:null,[Symbol.iterator](){return Pa(this,Symbol.iterator,e=>ko(this,e))},concat(...e){return yt(this).concat(...e.map(o=>se(o)?yt(o):o))},entries(){return Pa(this,"entries",e=>(e[1]=ko(this,e[1]),e))},every(e,o){return Ro(this,"every",e,o,void 0,arguments)},filter(e,o){return Ro(this,"filter",e,o,t=>t.map(n=>ko(this,n)),arguments)},find(e,o){return Ro(this,"find",e,o,t=>ko(this,t),arguments)},findIndex(e,o){return Ro(this,"findIndex",e,o,void 0,arguments)},findLast(e,o){return Ro(this,"findLast",e,o,t=>ko(this,t),arguments)},findLastIndex(e,o){return Ro(this,"findLastIndex",e,o,void 0,arguments)},forEach(e,o){return Ro(this,"forEach",e,o,void 0,arguments)},includes(...e){return Ea(this,"includes",e)},indexOf(...e){return Ea(this,"indexOf",e)},join(e){return yt(this).join(e)},lastIndexOf(...e){return Ea(this,"lastIndexOf",e)},map(e,o){return Ro(this,"map",e,o,void 0,arguments)},pop(){return Ht(this,"pop")},push(...e){return Ht(this,"push",e)},reduce(e,...o){return yr(this,"reduce",e,o)},reduceRight(e,...o){return yr(this,"reduceRight",e,o)},shift(){return Ht(this,"shift")},some(e,o){return Ro(this,"some",e,o,void 0,arguments)},splice(...e){return Ht(this,"splice",e)},toReversed(){return yt(this).toReversed()},toSorted(e){return yt(this).toSorted(e)},toSpliced(...e){return yt(this).toSpliced(...e)},unshift(...e){return Ht(this,"unshift",e)},values(){return Pa(this,"values",e=>ko(this,e))}};function Pa(e,o,t){const n=Cn(e),a=n[o]();return n!==e&&!ao(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=t(s.value)),s}),a}const fu=Array.prototype;function Ro(e,o,t,n,a,s){const r=Cn(e),i=r!==e&&!ao(e),l=r[o];if(l!==fu[o]){const d=l.apply(e,s);return i?go(d):d}let c=t;r!==e&&(i?c=function(d,$){return t.call(this,ko(e,d),$,e)}:t.length>2&&(c=function(d,$){return t.call(this,d,$,e)}));const u=l.call(r,c,n);return i&&a?a(u):u}function yr(e,o,t,n){const a=Cn(e),s=a!==e&&!ao(e);let r=t,i=!1;a!==e&&(s?(i=n.length===0,r=function(c,u,d){return i&&(i=!1,c=ko(e,c)),t.call(this,c,ko(e,u),d,e)}):t.length>3&&(r=function(c,u,d){return t.call(this,c,u,d,e)}));const l=a[o](r,...n);return i?ko(e,l):l}function Ea(e,o,t){const n=he(e);We(n,"iterate",qt);const a=n[o](...t);return(a===-1||a===!1)&&In(t[0])?(t[0]=he(t[0]),n[o](...t)):a}function Ht(e,o,t=[]){Ao(),va();const n=he(e)[o].apply(e,t);return Aa(),So(),n}const $u=ha("__proto__,__v_isRef,__isVue"),vr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(no));function mu(e){no(e)||(e=String(e));const o=he(this);return We(o,"has",e),o.hasOwnProperty(e)}class Ar{constructor(o=!1,t=!1){this._isReadonly=o,this._isShallow=t}get(o,t,n){if(t==="__v_skip")return o.__v_skip;const a=this._isReadonly,s=this._isShallow;if(t==="__v_isReactive")return!a;if(t==="__v_isReadonly")return a;if(t==="__v_isShallow")return s;if(t==="__v_raw")return n===(a?s?Er:Pr:s?wr:Lr).get(o)||Object.getPrototypeOf(o)===Object.getPrototypeOf(n)?o:void 0;const r=se(o);if(!a){let l;if(r&&(l=hu[t]))return l;if(t==="hasOwnProperty")return mu}const i=Reflect.get(o,t,Te(o)?o:n);if((no(t)?vr.has(t):$u(t))||(a||We(o,"get",t),s))return i;if(Te(i)){const l=r&&Sn(t)?i:i.value;return a&&be(l)?Ta(l):l}return be(i)?a?Ta(i):Rn(i):i}}class Sr extends Ar{constructor(o=!1){super(!1,o)}set(o,t,n,a){let s=o[t];const r=se(o)&&Sn(t);if(!this._isShallow){const c=Io(s);if(!ao(n)&&!Io(n)&&(s=he(s),n=he(n)),!r&&Te(s)&&!Te(n))return c||(s.value=n),!0}const i=r?Number(t)e,Tn=e=>Reflect.getPrototypeOf(e);function Au(e,o,t){return function(...n){const a=this.__v_raw,s=he(a),r=Wo(s),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...n),u=t?Ca:o?vt:go;return!o&&We(s,"iterate",l?wa:lt),Me(Object.create(c),{next(){const{value:d,done:$}=c.next();return $?{value:d,done:$}:{value:i?[u(d[0]),u(d[1])]:u(d),done:$}}})}}function Nn(e){return function(...o){return e==="delete"?!1:e==="clear"?void 0:this}}function Su(e,o){const t={get(a){const s=this.__v_raw,r=he(s),i=he(a);e||(vo(a,i)&&We(r,"get",a),We(r,"get",i));const{has:l}=Tn(r),c=o?Ca:e?vt:go;if(l.call(r,a))return c(s.get(a));if(l.call(r,i))return c(s.get(i));s!==r&&s.get(a)},get size(){const a=this.__v_raw;return!e&&We(he(a),"iterate",lt),a.size},has(a){const s=this.__v_raw,r=he(s),i=he(a);return e||(vo(a,i)&&We(r,"has",a),We(r,"has",i)),a===i?s.has(a):s.has(a)||s.has(i)},forEach(a,s){const r=this,i=r.__v_raw,l=he(i),c=o?Ca:e?vt:go;return!e&&We(l,"iterate",lt),i.forEach((u,d)=>a.call(s,c(u),c(d),r))}};return Me(t,e?{add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear")}:{add(a){const s=he(this),r=Tn(s),i=he(a),l=!o&&!ao(a)&&!Io(a)?i:a;return r.has.call(s,l)||vo(a,l)&&r.has.call(s,a)||vo(i,l)&&r.has.call(s,i)||(s.add(l),xo(s,"add",l,l)),this},set(a,s){!o&&!ao(s)&&!Io(s)&&(s=he(s));const r=he(this),{has:i,get:l}=Tn(r);let c=i.call(r,a);c||(a=he(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,s),c?vo(s,u)&&xo(r,"set",a,s):xo(r,"add",a,s),this},delete(a){const s=he(this),{has:r,get:i}=Tn(s);let l=r.call(s,a);l||(a=he(a),l=r.call(s,a)),i&&i.call(s,a);const c=s.delete(a);return l&&xo(s,"delete",a,void 0),c},clear(){const a=he(this),s=a.size!==0,r=a.clear();return s&&xo(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=Au(a,e,o)}),t}function xn(e,o){const t=Su(e,o);return(n,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(me(t,a)&&a in n?t:n,a,s)}const ku={get:xn(!1,!1)},Lu={get:xn(!1,!0)},wu={get:xn(!0,!1)},Pu={get:xn(!0,!0)},Lr=new WeakMap,wr=new WeakMap,Pr=new WeakMap,Er=new WeakMap;function Eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rn(e){return Io(e)?e:Mn(e,!1,_u,ku,Lr)}function Cu(e){return Mn(e,!1,yu,Lu,wr)}function Ta(e){return Mn(e,!0,bu,wu,Pr)}function zy(e){return Mn(e,!0,vu,Pu,Er)}function Mn(e,o,t,n,a){if(!be(e)||e.__v_raw&&!(o&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const r=Eu(eu(e));if(r===0)return e;const i=new Proxy(e,r===2?n:t);return a.set(e,i),i}function Mo(e){return Io(e)?Mo(e.__v_raw):!!(e&&e.__v_isReactive)}function Io(e){return!!(e&&e.__v_isReadonly)}function ao(e){return!!(e&&e.__v_isShallow)}function In(e){return e?!!e.__v_raw:!1}function he(e){const o=e&&e.__v_raw;return o?he(o):e}function Wt(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&tr(e,"__v_skip",!0),e}const go=e=>be(e)?Rn(e):e,vt=e=>be(e)?Ta(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function pe(e){return Cr(e,!1)}function Na(e){return Cr(e,!0)}function Cr(e,o){return Te(e)?e:new Tu(e,o)}class Tu{constructor(o,t){this.dep=new La,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?o:he(o),this._value=t?o:go(o),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(o){const t=this._rawValue,n=this.__v_isShallow||ao(o)||Io(o);o=n?o:he(o),vo(o,t)&&(this._rawValue=o,this._value=n?o:go(o),this.dep.trigger())}}function Oo(e){return Te(e)?e.value:e}const Nu={get:(e,o,t)=>o==="__v_raw"?e:Oo(Reflect.get(e,o,t)),set:(e,o,t,n)=>{const a=e[o];return Te(a)&&!Te(t)?(a.value=t,!0):Reflect.set(e,o,t,n)}};function Tr(e){return Mo(e)?e:new Proxy(e,Nu)}function xu(e){const o=se(e)?new Array(e.length):{};for(const t in e)o[t]=Mu(e,t);return o}class Ru{constructor(o,t,n){this._object=o,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=no(t)?t:String(t),this._raw=he(o);let a=!0,s=o;if(!se(o)||no(this._key)||!Sn(this._key))do a=!In(s)||ao(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let o=this._object[this._key];return this._shallow&&(o=Oo(o)),this._value=o===void 0?this._defaultValue:o}set value(o){if(this._shallow&&Te(this._raw[this._key])){const t=this._object[this._key];if(Te(t)){t.value=o;return}}this._object[this._key]=o}get dep(){return du(this._raw,this._key)}}function Mu(e,o,t){return new Ru(e,o,t)}class Iu{constructor(o,t,n){this.fn=o,this.setter=t,this._value=void 0,this.dep=new La(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ke!==this)return dr(this,!0),!0}get value(){const o=this.dep.track();return $r(this),o&&(o.version=this.dep.version),this._value}set value(o){this.setter&&this.setter(o)}}function Ou(e,o,t=!1){let n,a;return le(e)?n=e:(n=e.get,a=e.set),new Iu(n,a,t)}const On={},Dn=new WeakMap;let ct;function Du(e,o=!1,t=ct){if(t){let n=Dn.get(t);n||Dn.set(t,n=[]),n.push(e)}}function Fu(e,o,t=Ae){const{immediate:n,deep:a,once:s,scheduler:r,augmentJob:i,call:l}=t,c=b=>a?b:ao(b)||a===!1||a===0?Yo(b,1):Yo(b);let u,d,$,_,L=!1,S=!1;if(Te(e)?(d=()=>e.value,L=ao(e)):Mo(e)?(d=()=>c(e),L=!0):se(e)?(S=!0,L=e.some(b=>Mo(b)||ao(b)),d=()=>e.map(b=>{if(Te(b))return b.value;if(Mo(b))return c(b);if(le(b))return l?l(b,2):b()})):le(e)?o?d=l?()=>l(e,2):e:d=()=>{if($){Ao();try{$()}finally{So()}}const b=ct;ct=u;try{return l?l(e,3,[_]):e(_)}finally{ct=b}}:d=yo,o&&a){const b=d,E=a===!0?1/0:a;d=()=>Yo(b(),E)}const N=ur(),x=()=>{u.stop(),N&&N.active&&fa(N.effects,u)};if(s&&o){const b=o;o=(...E)=>{const v=b(...E);return x(),v}}let k=S?new Array(e.length).fill(On):On;const y=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(o){const E=u.run();if(b||a||L||(S?E.some((v,P)=>vo(v,k[P])):vo(E,k))){$&&$();const v=ct;ct=u;try{const P=[E,k===On?void 0:S&&k[0]===On?[]:k,_];k=E,l?l(o,3,P):o(...P)}finally{ct=v}}}else u.run()};return i&&i(y),u=new pr(d),u.scheduler=r?()=>r(y,!1):y,_=b=>Du(b,!1,u),$=u.onStop=()=>{const b=Dn.get(u);if(b){if(l)l(b,4);else for(const E of b)E();Dn.delete(u)}},o?n?y(!0):k=u.run():r?r(y.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),x.stop=x,x}function Yo(e,o=1/0,t){if(o<=0||!be(e)||e.__v_skip||(t=t||new Map,(t.get(e)||0)>=o))return e;if(t.set(e,o),o--,Te(e))Yo(e.value,o,t);else if(se(e))for(let n=0;n{Yo(n,o,t)});else if(An(e)){for(const n in e)Yo(e[n],o,t);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Yo(e[n],o,t)}return e}/** +**/let Fe;class cr{constructor(o=!1){this.detached=o,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!o&&Fe&&(Fe.active?(this.parent=Fe,this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let o,t;if(this.scopes){const n=this.scopes.slice();for(o=0,t=n.length;o0&&--this._on===0){if(Fe===this)Fe=this.prevScope;else{let o=Fe;for(;o;){if(o.prevScope===this){o.prevScope=this.prevScope;break}o=o.prevScope}}this.prevScope=void 0}}stop(o){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t0)return;if(Vt){let o=Vt;for(Vt=void 0;o;){const t=o.next;o.next=void 0,o.flags&=-9,o=t}}let e;for(;zt;){let o=zt;for(zt=void 0;o;){const t=o.next;if(o.next=void 0,o.flags&=-9,o.flags&1)try{o.trigger()}catch(n){e||(e=n)}o=t}}if(e)throw e}function hr(e){for(let o=e.deps;o;o=o.nextDep)o.version=-1,o.prevActiveLink=o.dep.activeLink,o.dep.activeLink=o}function fr(e){let o,t=e.depsTail,n=t;for(;n;){const a=n.prevDep;n.version===-1?(n===t&&(t=a),ka(n),pu(n)):o=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=o,e.depsTail=t}function Sa(e){for(let o=e.deps;o;o=o.nextDep)if(o.dep.version!==o.version||o.dep.computed&&($r(o.dep.computed)||o.dep.version!==o.version))return!0;return!!e._dirty}function $r(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt)||(e.globalVersion=Kt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Sa(e))))return;e.flags|=2;const o=e.dep,t=ke,n=po;ke=e,po=!0;try{hr(e);const a=e.fn(e._value);(o.version===0||vo(a,e._value))&&(e.flags|=128,e._value=a,o.version++)}catch(a){throw o.version++,a}finally{ke=t,po=n,fr(e),e.flags&=-3}}function ka(e,o=!1){const{dep:t,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n,!n&&t.computed)){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)ka(s,!0)}!o&&!--t.sc&&t.map&&t.map.delete(t.key)}function pu(e){const{prevDep:o,nextDep:t}=e;o&&(o.nextDep=t,e.prevDep=void 0),t&&(t.prevDep=o,e.nextDep=void 0)}let po=!0;const mr=[];function Ao(){mr.push(po),po=!1}function So(){const e=mr.pop();po=e===void 0?!0:e}function _r(e){const{cleanup:o}=e;if(e.cleanup=void 0,o){const t=ke;ke=void 0;try{o()}finally{ke=t}}}let Kt=0;class gu{constructor(o,t){this.sub=o,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class La{constructor(o){this.computed=o,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(o){if(!ke||!po||ke===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==ke)t=this.activeLink=new gu(ke,this),ke.deps?(t.prevDep=ke.depsTail,ke.depsTail.nextDep=t,ke.depsTail=t):ke.deps=ke.depsTail=t,br(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const n=t.nextDep;n.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=n),t.prevDep=ke.depsTail,t.nextDep=void 0,ke.depsTail.nextDep=t,ke.depsTail=t,ke.deps===t&&(ke.deps=n)}return t}trigger(o){this.version++,Kt++,this.notify(o)}notify(o){va();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{Aa()}}}function br(e){if(e.dep.sc++,e.sub.flags&4){const o=e.dep.computed;if(o&&!e.dep.subs){o.flags|=20;for(let n=o.deps;n;n=n.nextDep)br(n)}const t=e.dep.subs;t!==e&&(e.prevSub=t,t&&(t.nextSub=e)),e.dep.subs=e}}const En=new WeakMap,lt=Symbol(""),wa=Symbol(""),qt=Symbol("");function We(e,o,t){if(po&&ke){let n=En.get(e);n||En.set(e,n=new Map);let a=n.get(t);a||(n.set(t,a=new La),a.map=n,a.key=t),a.track()}}function xo(e,o,t,n,a,s){const r=En.get(e);if(!r){Kt++;return}const i=l=>{l&&l.trigger()};if(va(),o==="clear")r.forEach(i);else{const l=se(e),c=l&&Sn(t);if(l&&t==="length"){const u=Number(n);r.forEach((d,$)=>{($==="length"||$===qt||!no($)&&$>=u)&&i(d)})}else switch((t!==void 0||r.has(void 0))&&i(r.get(t)),c&&i(r.get(qt)),o){case"add":l?c&&i(r.get("length")):(i(r.get(lt)),Wo(e)&&i(r.get(wa)));break;case"delete":l||(i(r.get(lt)),Wo(e)&&i(r.get(wa)));break;case"set":Wo(e)&&i(r.get(lt));break}}Aa()}function du(e,o){const t=En.get(e);return t&&t.get(o)}function yt(e){const o=he(e);return o===e?o:(We(o,"iterate",qt),ao(e)?o:o.map(go))}function Cn(e){return We(e=he(e),"iterate",qt),e}function ko(e,o){return Io(e)?vt(Mo(e)?go(o):o):go(o)}const hu={__proto__:null,[Symbol.iterator](){return Pa(this,Symbol.iterator,e=>ko(this,e))},concat(...e){return yt(this).concat(...e.map(o=>se(o)?yt(o):o))},entries(){return Pa(this,"entries",e=>(e[1]=ko(this,e[1]),e))},every(e,o){return Ro(this,"every",e,o,void 0,arguments)},filter(e,o){return Ro(this,"filter",e,o,t=>t.map(n=>ko(this,n)),arguments)},find(e,o){return Ro(this,"find",e,o,t=>ko(this,t),arguments)},findIndex(e,o){return Ro(this,"findIndex",e,o,void 0,arguments)},findLast(e,o){return Ro(this,"findLast",e,o,t=>ko(this,t),arguments)},findLastIndex(e,o){return Ro(this,"findLastIndex",e,o,void 0,arguments)},forEach(e,o){return Ro(this,"forEach",e,o,void 0,arguments)},includes(...e){return Ea(this,"includes",e)},indexOf(...e){return Ea(this,"indexOf",e)},join(e){return yt(this).join(e)},lastIndexOf(...e){return Ea(this,"lastIndexOf",e)},map(e,o){return Ro(this,"map",e,o,void 0,arguments)},pop(){return Ht(this,"pop")},push(...e){return Ht(this,"push",e)},reduce(e,...o){return yr(this,"reduce",e,o)},reduceRight(e,...o){return yr(this,"reduceRight",e,o)},shift(){return Ht(this,"shift")},some(e,o){return Ro(this,"some",e,o,void 0,arguments)},splice(...e){return Ht(this,"splice",e)},toReversed(){return yt(this).toReversed()},toSorted(e){return yt(this).toSorted(e)},toSpliced(...e){return yt(this).toSpliced(...e)},unshift(...e){return Ht(this,"unshift",e)},values(){return Pa(this,"values",e=>ko(this,e))}};function Pa(e,o,t){const n=Cn(e),a=n[o]();return n!==e&&!ao(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=t(s.value)),s}),a}const fu=Array.prototype;function Ro(e,o,t,n,a,s){const r=Cn(e),i=r!==e&&!ao(e),l=r[o];if(l!==fu[o]){const d=l.apply(e,s);return i?go(d):d}let c=t;r!==e&&(i?c=function(d,$){return t.call(this,ko(e,d),$,e)}:t.length>2&&(c=function(d,$){return t.call(this,d,$,e)}));const u=l.call(r,c,n);return i&&a?a(u):u}function yr(e,o,t,n){const a=Cn(e),s=a!==e&&!ao(e);let r=t,i=!1;a!==e&&(s?(i=n.length===0,r=function(c,u,d){return i&&(i=!1,c=ko(e,c)),t.call(this,c,ko(e,u),d,e)}):t.length>3&&(r=function(c,u,d){return t.call(this,c,u,d,e)}));const l=a[o](r,...n);return i?ko(e,l):l}function Ea(e,o,t){const n=he(e);We(n,"iterate",qt);const a=n[o](...t);return(a===-1||a===!1)&&In(t[0])?(t[0]=he(t[0]),n[o](...t)):a}function Ht(e,o,t=[]){Ao(),va();const n=he(e)[o].apply(e,t);return Aa(),So(),n}const $u=ha("__proto__,__v_isRef,__isVue"),vr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(no));function mu(e){no(e)||(e=String(e));const o=he(this);return We(o,"has",e),o.hasOwnProperty(e)}class Ar{constructor(o=!1,t=!1){this._isReadonly=o,this._isShallow=t}get(o,t,n){if(t==="__v_skip")return o.__v_skip;const a=this._isReadonly,s=this._isShallow;if(t==="__v_isReactive")return!a;if(t==="__v_isReadonly")return a;if(t==="__v_isShallow")return s;if(t==="__v_raw")return n===(a?s?Er:Pr:s?wr:Lr).get(o)||Object.getPrototypeOf(o)===Object.getPrototypeOf(n)?o:void 0;const r=se(o);if(!a){let l;if(r&&(l=hu[t]))return l;if(t==="hasOwnProperty")return mu}const i=Reflect.get(o,t,Te(o)?o:n);if((no(t)?vr.has(t):$u(t))||(a||We(o,"get",t),s))return i;if(Te(i)){const l=r&&Sn(t)?i:i.value;return a&&be(l)?Ta(l):l}return be(i)?a?Ta(i):Rn(i):i}}class Sr extends Ar{constructor(o=!1){super(!1,o)}set(o,t,n,a){let s=o[t];const r=se(o)&&Sn(t);if(!this._isShallow){const c=Io(s);if(!ao(n)&&!Io(n)&&(s=he(s),n=he(n)),!r&&Te(s)&&!Te(n))return c||(s.value=n),!0}const i=r?Number(t)e,Tn=e=>Reflect.getPrototypeOf(e);function Au(e,o,t){return function(...n){const a=this.__v_raw,s=he(a),r=Wo(s),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...n),u=t?Ca:o?vt:go;return!o&&We(s,"iterate",l?wa:lt),Me(Object.create(c),{next(){const{value:d,done:$}=c.next();return $?{value:d,done:$}:{value:i?[u(d[0]),u(d[1])]:u(d),done:$}}})}}function Nn(e){return function(...o){return e==="delete"?!1:e==="clear"?void 0:this}}function Su(e,o){const t={get(a){const s=this.__v_raw,r=he(s),i=he(a);e||(vo(a,i)&&We(r,"get",a),We(r,"get",i));const{has:l}=Tn(r),c=o?Ca:e?vt:go;if(l.call(r,a))return c(s.get(a));if(l.call(r,i))return c(s.get(i));s!==r&&s.get(a)},get size(){const a=this.__v_raw;return!e&&We(he(a),"iterate",lt),a.size},has(a){const s=this.__v_raw,r=he(s),i=he(a);return e||(vo(a,i)&&We(r,"has",a),We(r,"has",i)),a===i?s.has(a):s.has(a)||s.has(i)},forEach(a,s){const r=this,i=r.__v_raw,l=he(i),c=o?Ca:e?vt:go;return!e&&We(l,"iterate",lt),i.forEach((u,d)=>a.call(s,c(u),c(d),r))}};return Me(t,e?{add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear")}:{add(a){const s=he(this),r=Tn(s),i=he(a),l=!o&&!ao(a)&&!Io(a)?i:a;return r.has.call(s,l)||vo(a,l)&&r.has.call(s,a)||vo(i,l)&&r.has.call(s,i)||(s.add(l),xo(s,"add",l,l)),this},set(a,s){!o&&!ao(s)&&!Io(s)&&(s=he(s));const r=he(this),{has:i,get:l}=Tn(r);let c=i.call(r,a);c||(a=he(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,s),c?vo(s,u)&&xo(r,"set",a,s):xo(r,"add",a,s),this},delete(a){const s=he(this),{has:r,get:i}=Tn(s);let l=r.call(s,a);l||(a=he(a),l=r.call(s,a)),i&&i.call(s,a);const c=s.delete(a);return l&&xo(s,"delete",a,void 0),c},clear(){const a=he(this),s=a.size!==0,r=a.clear();return s&&xo(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=Au(a,e,o)}),t}function xn(e,o){const t=Su(e,o);return(n,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(me(t,a)&&a in n?t:n,a,s)}const ku={get:xn(!1,!1)},Lu={get:xn(!1,!0)},wu={get:xn(!0,!1)},Pu={get:xn(!0,!0)},Lr=new WeakMap,wr=new WeakMap,Pr=new WeakMap,Er=new WeakMap;function Eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rn(e){return Io(e)?e:Mn(e,!1,_u,ku,Lr)}function Cu(e){return Mn(e,!1,yu,Lu,wr)}function Ta(e){return Mn(e,!0,bu,wu,Pr)}function Vy(e){return Mn(e,!0,vu,Pu,Er)}function Mn(e,o,t,n,a){if(!be(e)||e.__v_raw&&!(o&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const r=Eu(eu(e));if(r===0)return e;const i=new Proxy(e,r===2?n:t);return a.set(e,i),i}function Mo(e){return Io(e)?Mo(e.__v_raw):!!(e&&e.__v_isReactive)}function Io(e){return!!(e&&e.__v_isReadonly)}function ao(e){return!!(e&&e.__v_isShallow)}function In(e){return e?!!e.__v_raw:!1}function he(e){const o=e&&e.__v_raw;return o?he(o):e}function Wt(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&tr(e,"__v_skip",!0),e}const go=e=>be(e)?Rn(e):e,vt=e=>be(e)?Ta(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function pe(e){return Cr(e,!1)}function Na(e){return Cr(e,!0)}function Cr(e,o){return Te(e)?e:new Tu(e,o)}class Tu{constructor(o,t){this.dep=new La,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?o:he(o),this._value=t?o:go(o),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(o){const t=this._rawValue,n=this.__v_isShallow||ao(o)||Io(o);o=n?o:he(o),vo(o,t)&&(this._rawValue=o,this._value=n?o:go(o),this.dep.trigger())}}function Oo(e){return Te(e)?e.value:e}const Nu={get:(e,o,t)=>o==="__v_raw"?e:Oo(Reflect.get(e,o,t)),set:(e,o,t,n)=>{const a=e[o];return Te(a)&&!Te(t)?(a.value=t,!0):Reflect.set(e,o,t,n)}};function Tr(e){return Mo(e)?e:new Proxy(e,Nu)}function xu(e){const o=se(e)?new Array(e.length):{};for(const t in e)o[t]=Mu(e,t);return o}class Ru{constructor(o,t,n){this._object=o,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=no(t)?t:String(t),this._raw=he(o);let a=!0,s=o;if(!se(o)||no(this._key)||!Sn(this._key))do a=!In(s)||ao(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let o=this._object[this._key];return this._shallow&&(o=Oo(o)),this._value=o===void 0?this._defaultValue:o}set value(o){if(this._shallow&&Te(this._raw[this._key])){const t=this._object[this._key];if(Te(t)){t.value=o;return}}this._object[this._key]=o}get dep(){return du(this._raw,this._key)}}function Mu(e,o,t){return new Ru(e,o,t)}class Iu{constructor(o,t,n){this.fn=o,this.setter=t,this._value=void 0,this.dep=new La(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ke!==this)return dr(this,!0),!0}get value(){const o=this.dep.track();return $r(this),o&&(o.version=this.dep.version),this._value}set value(o){this.setter&&this.setter(o)}}function Ou(e,o,t=!1){let n,a;return le(e)?n=e:(n=e.get,a=e.set),new Iu(n,a,t)}const On={},Dn=new WeakMap;let ct;function Du(e,o=!1,t=ct){if(t){let n=Dn.get(t);n||Dn.set(t,n=[]),n.push(e)}}function Fu(e,o,t=Ae){const{immediate:n,deep:a,once:s,scheduler:r,augmentJob:i,call:l}=t,c=b=>a?b:ao(b)||a===!1||a===0?Yo(b,1):Yo(b);let u,d,$,_,L=!1,S=!1;if(Te(e)?(d=()=>e.value,L=ao(e)):Mo(e)?(d=()=>c(e),L=!0):se(e)?(S=!0,L=e.some(b=>Mo(b)||ao(b)),d=()=>e.map(b=>{if(Te(b))return b.value;if(Mo(b))return c(b);if(le(b))return l?l(b,2):b()})):le(e)?o?d=l?()=>l(e,2):e:d=()=>{if($){Ao();try{$()}finally{So()}}const b=ct;ct=u;try{return l?l(e,3,[_]):e(_)}finally{ct=b}}:d=yo,o&&a){const b=d,E=a===!0?1/0:a;d=()=>Yo(b(),E)}const N=ur(),x=()=>{u.stop(),N&&N.active&&fa(N.effects,u)};if(s&&o){const b=o;o=(...E)=>{const v=b(...E);return x(),v}}let k=S?new Array(e.length).fill(On):On;const y=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(o){const E=u.run();if(b||a||L||(S?E.some((v,P)=>vo(v,k[P])):vo(E,k))){$&&$();const v=ct;ct=u;try{const P=[E,k===On?void 0:S&&k[0]===On?[]:k,_];k=E,l?l(o,3,P):o(...P)}finally{ct=v}}}else u.run()};return i&&i(y),u=new pr(d),u.scheduler=r?()=>r(y,!1):y,_=b=>Du(b,!1,u),$=u.onStop=()=>{const b=Dn.get(u);if(b){if(l)l(b,4);else for(const E of b)E();Dn.delete(u)}},o?n?y(!0):k=u.run():r?r(y.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),x.stop=x,x}function Yo(e,o=1/0,t){if(o<=0||!be(e)||e.__v_skip||(t=t||new Map,(t.get(e)||0)>=o))return e;if(t.set(e,o),o--,Te(e))Yo(e.value,o,t);else if(se(e))for(let n=0;n{Yo(n,o,t)});else if(An(e)){for(const n in e)Yo(e[n],o,t);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Yo(e[n],o,t)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Yt=[];let xa=!1;function Vy(e,...o){if(xa)return;xa=!0,Ao();const t=Yt.length?Yt[Yt.length-1].component:null,n=t&&t.appContext.config.warnHandler,a=Gu();if(n)At(n,t,11,[e+o.map(s=>{var r,i;return(i=(r=s.toString)==null?void 0:r.call(s))!=null?i:JSON.stringify(s)}).join(""),t&&t.proxy,a.map(({vnode:s})=>`at <${Ci(t,s.type)}>`).join(` +**/const Yt=[];let xa=!1;function Ky(e,...o){if(xa)return;xa=!0,Ao();const t=Yt.length?Yt[Yt.length-1].component:null,n=t&&t.appContext.config.warnHandler,a=Gu();if(n)At(n,t,11,[e+o.map(s=>{var r,i;return(i=(r=s.toString)==null?void 0:r.call(s))!=null?i:JSON.stringify(s)}).join(""),t&&t.proxy,a.map(({vnode:s})=>`at <${Ci(t,s.type)}>`).join(` `),a]);else{const s=[`[Vue warn]: ${e}`,...o];a.length&&s.push(` `,...Bu(a)),console.warn(...s)}So(),xa=!1}function Gu(){let e=Yt[Yt.length-1];if(!e)return[];const o=[];for(;e;){const t=o[0];t&&t.vnode===e?t.recurseCount++:o.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return o}function Bu(e){const o=[];return e.forEach((t,n)=>{o.push(...n===0?[]:[` -`],...ju(t))}),o}function ju({vnode:e,recurseCount:o}){const t=o>0?`... (${o} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Ci(e.component,e.type,n)}`,s=">"+t;return e.props?[a,...Uu(e.props),s]:[a+s]}function Uu(e){const o=[],t=Object.keys(e);return t.slice(0,3).forEach(n=>{o.push(...Nr(n,e[n]))}),t.length>3&&o.push(" ..."),o}function Nr(e,o,t){return Se(o)?(o=JSON.stringify(o),t?o:[`${e}=${o}`]):typeof o=="number"||typeof o=="boolean"||o==null?t?o:[`${e}=${o}`]:Te(o)?(o=Nr(e,he(o.value),!0),t?o:[`${e}=Ref<`,o,">"]):le(o)?[`${e}=fn${o.name?`<${o.name}>`:""}`]:(o=he(o),t?o:[`${e}=`,o])}function At(e,o,t,n){try{return n?e(...n):e()}catch(a){Xt(a,o,t)}}function ho(e,o,t,n){if(le(e)){const a=At(e,o,t,n);return a&&er(a)&&a.catch(s=>{Xt(s,o,t)}),a}if(se(e)){const a=[];for(let s=0;s>>1,a=Ye[n],s=Zt(a);s=Zt(t)?Ye.push(e):Ye.splice(Vu(o),0,e),e.flags|=1,Rr()}}function Rr(){Fn||(Fn=xr.then(Or))}function Ku(e){if(!se(e))Xo&&e.id===-1?Xo.splice(kt+1,0,e):e.flags&1||(St.push(e),e.flags|=1);else for(let o=0;oZt(t)-Zt(n));if(St.length=0,Xo){for(let t=0;te.id==null?e.flags&2?-1:1/0:e.id;function Or(e){try{for(Lo=0;Lo{n._d&&Xn(-1);const s=Gn(o),r=Fo.length;let i;try{i=e(...a)}finally{for(let l=Fo.length;l>r;l--)Za();Gn(s),n._d&&Xn(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function ut(e,o,t,n){const a=e.dirs,s=o&&o.dirs;for(let r=0;r1)return t&&le(o)?o.call(n&&n.proxy):o}}function qu(){return!!(jo()||gt)}const Hu=Symbol.for("v-scx"),Wu=()=>Ie(Hu);function Yu(e,o){return Ma(e,null,o)}function fo(e,o,t){return Ma(e,o,t)}function Ma(e,o,t=Ae){const{immediate:n,deep:a,flush:s,once:r}=t,i=Me({},t),l=o&&n||!o&&s!=="post";let c;if(Et){if(s==="sync"){const _=Wu();c=_.__watcherHandles||(_.__watcherHandles=[])}else if(!l){const _=()=>{};return _.stop=yo,_.resume=yo,_.pause=yo,_}}const u=Ke;i.call=(_,L,S)=>ho(_,u,L,S);let d=!1;s==="post"?i.scheduler=_=>{Ze(_,u&&u.suspense)}:s!=="sync"&&(d=!0,i.scheduler=(_,L)=>{L?_():Ra(_)}),i.augmentJob=_=>{o&&(_.flags|=4),d&&(_.flags|=2,u&&(_.id=u.uid,_.i=u))};const $=Fu(e,o,i);return Et&&(c?c.push($):l&&$()),$}function Xu(e,o,t){const n=this.proxy,a=Se(e)?e.includes(".")?Fr(n,e):()=>n[e]:e.bind(n,n);let s;le(o)?s=o:(s=o.handler,t=o);const r=pn(this),i=Ma(a,s.bind(n),t);return r(),i}function Fr(e,o){const t=o.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,pt=e=>e&&(e.disabled||e.disabled===""),Ju=e=>e&&(e.defer||e.defer===""),Br=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ia=(e,o)=>{const t=e&&e.to;return Se(t)?o?o(t):null:t},Zu={name:"Teleport",__isTeleport:!0,process(e,o,t,n,a,s,r,i,l,c){const{mc:u,pc:d,pbc:$,o:{insert:_,querySelector:L,createText:S,createComment:N,parentNode:x}}=c,k=pt(o.props);let{dynamicChildren:y}=o;const b=(P,w,f)=>{P.shapeFlag&16&&u(P.children,w,f,a,s,r,i,l)},E=(P=o)=>{const w=pt(P.props),f=P.target=Ia(P.props,L),F=Oa(f,P,S,_);f&&(r!=="svg"&&Br(f)?r="svg":r!=="mathml"&&jr(f)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(f),w||(b(P,f,F),Qt(P,!1)))},v=P=>{const w=()=>{if(Jo.get(P)===w){if(Jo.delete(P),pt(P.props)){const f=x(P.el)||t;b(P,f,P.anchor),Qt(P,!0)}E(P)}};Jo.set(P,w),Ze(w,s)};if(e==null){const P=o.el=S(""),w=o.anchor=S("");if(_(P,t,n),_(w,t,n),Ju(o.props)||s&&s.pendingBranch){v(o);return}k&&(b(o,t,w),Qt(o,!0)),E()}else{o.el=e.el;const P=o.anchor=e.anchor,w=Jo.get(e);if(w){w.flags|=8,Jo.delete(e),v(o);return}o.targetStart=e.targetStart;const f=o.target=e.target,F=o.targetAnchor=e.targetAnchor,G=pt(e.props),B=G?t:f,W=G?P:F;if(r==="svg"||Br(f)?r="svg":(r==="mathml"||jr(f))&&(r="mathml"),y?($(e.dynamicChildren,y,B,a,s,r,i),Xa(e,o,!0)):l||d(e,o,B,W,a,s,r,i,!1),k)G?o.props&&e.props&&o.props.to!==e.props.to&&(o.props.to=e.props.to):Un(o,t,P,c,1);else if((o.props&&o.props.to)!==(e.props&&e.props.to)){const ee=Ia(o.props,L);ee&&(o.target=ee,Un(o,ee,null,c,0))}else G&&Un(o,f,F,c,1);Qt(o,k)}},remove(e,o,t,{um:n,o:{remove:a}},s){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:$}=e,_=pt($),L=s||!_,S=Jo.get(e);if(S&&(S.flags|=8,Jo.delete(e)),d&&(a(c),a(u)),s&&a(l),!S&&(_||d)&&r&16)for(let N=0;N1){for(const t of e)if(t.type!==wo){o=t;break}}return o}function Ur(e){if(!Kn(e))return jn(e.type)&&e.children?op(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:o,children:t}=e;if(t){if(o&16)return t[0];if(o&32&&le(t.default))return t.default()}}function Fa(e,o){if(e.shapeFlag&6&&e.component){e.transition=o;const t=e.component.subTree;Fa(jn(t.type)&&Ur(t)||t,o)}else e.shapeFlag&128?(e.ssContent.transition=o.clone(e.ssContent),e.ssFallback.transition=o.clone(e.ssFallback)):e.transition=o}function en(e,o){return le(e)?Me({name:e.name},o,{setup:e}):e}function Ga(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zr(e,o){let t;return!!((t=Object.getOwnPropertyDescriptor(e,o))&&!t.configurable)}const zn=new WeakMap;function on(e,o,t,n,a=!1){if(se(e)){e.forEach((S,N)=>on(S,o&&(se(o)?o[N]:o),t,n,a));return}if(Lt(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&on(e,o,t,n.component.subTree);return}const s=n.shapeFlag&4?Qa(n.component):n.el,r=a?null:s,{i,r:l}=e,c=o&&o.r,u=i.refs===Ae?i.refs={}:i.refs,d=i.setupState,$=he(d),_=d===Ae?Zs:S=>zr(u,S)?!1:me($,S),L=(S,N)=>!(N&&zr(u,N));if(c!=null&&c!==l){if(Vr(o),Se(c))u[c]=null,_(c)&&(d[c]=null);else if(Te(c)){const S=o;L(c,S.k)&&(c.value=null),S.k&&(u[S.k]=null)}}if(le(l))At(l,i,12,[r,u]);else{const S=Se(l),N=Te(l);if(S||N){const x=()=>{if(e.f){const k=S?_(l)?d[l]:u[l]:L()||!e.k?l.value:u[e.k];if(a)se(k)&&fa(k,s);else if(se(k))k.includes(s)||k.push(s);else if(S)u[l]=[s],_(l)&&(d[l]=u[l]);else{const y=[s];L(l,e.k)&&(l.value=y),e.k&&(u[e.k]=y)}}else S?(u[l]=r,_(l)&&(d[l]=r)):N&&(L(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const k=()=>{x(),zn.delete(e)};k.id=-1,zn.set(e,k),Ze(k,t)}else Vr(e),x()}}}function Vr(e){const o=zn.get(e);o&&(o.flags|=8,zn.delete(e))}const Kr=e=>e.nodeType===8;wn().requestIdleCallback,wn().cancelIdleCallback;function tp(e,o){if(Kr(e)&&e.data==="["){let t=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(o(n)===!1)break}else if(Kr(n))if(n.data==="]"){if(--t===0)break}else n.data==="["&&t++;n=n.nextSibling}}else o(e)}const Lt=e=>!!e.type.__asyncLoader;function np(e){le(e)&&(e={loader:e});const{loader:o,loadingComponent:t,errorComponent:n,delay:a=200,hydrate:s,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,d=0;const $=()=>(d++,c=null,_()),_=()=>{let L;return c||(L=c=o().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((N,x)=>{l(S,()=>N($()),()=>x(S),d+1)});throw S}).then(S=>L!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return en({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(L,S,N){const x=L.isConnected;let k=!1;(S.bu||(S.bu=[])).push(()=>k=!0);const y=()=>{k||!L.parentNode||x&&!L.isConnected||N()},b=s?()=>{const E=s(y,v=>tp(L,v));E&&(S.bum||(S.bum=[])).push(E)}:y;u?b():_().then(()=>!S.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const L=Ke;if(Ga(L),u)return()=>Vn(u,L);const S=E=>{c=null,Xt(E,L,13,!n)};if(i&&L.suspense||Et)return _().then(E=>()=>Vn(E,L)).catch(E=>(S(E),()=>n?Ne(n,{error:E}):null));const N=pe(!1),x=pe(),k=pe(!!a);let y,b;return Hn(()=>{y!=null&&clearTimeout(y),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{L.isUnmounted||(k.value=!1)},a)),r!=null&&(y=setTimeout(()=>{if(!L.isUnmounted&&!N.value&&!x.value){const E=new Error(`Async component timed out after ${r}ms.`);S(E),x.value=E}},r)),_().then(()=>{L.isUnmounted||(N.value=!0,L.parent&&Kn(L.parent.vnode)&&L.parent.update())}).catch(E=>{if(L.isUnmounted){c=null;return}S(E),x.value=E}),()=>{if(N.value&&u)return Vn(u,L);if(x.value&&n)return Ne(n,{error:x.value});if(t&&!k.value)return Vn(t,L)}}})}function Vn(e,o){const{ref:t,props:n,children:a,ce:s}=o.vnode,r=Ne(e,n,a);return r.ref=t,r.ce=s,delete o.vnode.ce,r}const Kn=e=>e.type.__isKeepAlive;function ap(e,o){qr(e,"a",o)}function sp(e,o){qr(e,"da",o)}function qr(e,o,t=Ke){const n=e.__wdc||(e.__wdc=()=>{let a=t;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(qn(o,n,t),t){let a=t.parent;for(;a&&a.parent;)Kn(a.parent.vnode)&&rp(n,o,t,a),a=a.parent}}function rp(e,o,t,n){const a=qn(o,e,n,!0);Hn(()=>{fa(n[o],a)},t)}function qn(e,o,t=Ke,n=!1){if(t){const a=t[e]||(t[e]=[]),s=o.__weh||(o.__weh=(...r)=>{Ao();const i=pn(t),l=ho(o,t,e,r);return i(),So(),l});return n?a.unshift(s):a.push(s),s}}const Do=e=>(o,t=Ke)=>{(!Et||e==="sp")&&qn(e,(...n)=>o(...n),t)},Hr=Do("bm"),wt=Do("m"),ip=Do("bu"),lp=Do("u"),tn=Do("bum"),Hn=Do("um"),cp=Do("sp"),up=Do("rtg"),pp=Do("rtc");function gp(e,o=Ke){qn("ec",e,o)}const dp="components",Wr=Symbol.for("v-ndc");function Yr(e){return Se(e)?hp(dp,e,!1)||e:e||Wr}function hp(e,o,t=!0,n=!1){const a=Xe||Ke;if(a){const s=a.type;{const i=Ei(s,!1);if(i&&(i===o||i===je(o)||i===Ln(je(o))))return s}const r=Xr(a[e]||s[e],o)||Xr(a.appContext[e],o);return!r&&n?s:r}}function Xr(e,o){return e&&(e[o]||e[je(o)]||e[Ln(je(o))])}function Ba(e,o,t,n){let a;const s=t,r=se(e);if(r||Se(e)){const i=r&&Mo(e);let l=!1,c=!1;i&&(l=!ao(e),c=Io(e),e=Cn(e)),a=new Array(e.length);for(let u=0,d=e.length;uo(i,l,void 0,s));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return ye(),ht(Ve,null,[Ne("slot",c,n)],u?-2:64)}let r=e[o];r&&r._c&&(r._d=!1);const i=Fo.length;ye();let l;try{const c=r&&Jr(r(t)),u=t.key||s||c&&c.key;l=ht(Ve,{key:(u&&!no(u)?u:`_${o}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=Fo.length;u>i;u--)Za();throw c}finally{r&&r._c&&(r._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Jr(e){return e.some(o=>ln(o)?!(o.type===wo||o.type===Ve&&!Jr(o.children)):!0)?e:null}const Ua=e=>e?Li(e)?Qa(e):Ua(e.parent):null,nn=Me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ua(e.parent),$root:e=>Ua(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>oi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ra(e.update)}),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>Xu.bind(e)}),za=(e,o)=>e!==Ae&&!e.__isScriptSetup&&me(e,o),fp={get({_:e},o){if(o==="__v_skip")return!0;const{ctx:t,setupState:n,data:a,props:s,accessCache:r,type:i,appContext:l}=e;if(o[0]!=="$"){const $=r[o];if($!==void 0)switch($){case 1:return n[o];case 2:return a[o];case 4:return t[o];case 3:return s[o]}else{if(za(n,o))return r[o]=1,n[o];if(a!==Ae&&me(a,o))return r[o]=2,a[o];if(me(s,o))return r[o]=3,s[o];if(t!==Ae&&me(t,o))return r[o]=4,t[o];Va&&(r[o]=0)}}const c=nn[o];let u,d;if(c)return o==="$attrs"&&We(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[o]))return u;if(t!==Ae&&me(t,o))return r[o]=4,t[o];if(d=l.config.globalProperties,me(d,o))return d[o]},set({_:e},o,t){const{data:n,setupState:a,ctx:s}=e;return za(a,o)?(a[o]=t,!0):n!==Ae&&me(n,o)?(n[o]=t,!0):me(e.props,o)||o[0]==="$"&&o.slice(1)in e?!1:(s[o]=t,!0)},has({_:{data:e,setupState:o,accessCache:t,ctx:n,appContext:a,props:s,type:r}},i){let l;return!!(t[i]||e!==Ae&&i[0]!=="$"&&me(e,i)||za(o,i)||me(s,i)||me(n,i)||me(nn,i)||me(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,o,t){return t.get!=null?e._.accessCache[o]=0:me(t,"value")&&this.set(e,o,t.value,null),Reflect.defineProperty(e,o,t)}};function Zr(e){return se(e)?e.reduce((o,t)=>(o[t]=null,o),{}):e}let Va=!0;function $p(e){const o=oi(e),t=e.proxy,n=e.ctx;Va=!1,o.beforeCreate&&Qr(o.beforeCreate,e,"bc");const{data:a,computed:s,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:$,beforeUpdate:_,updated:L,activated:S,deactivated:N,beforeDestroy:x,beforeUnmount:k,destroyed:y,unmounted:b,render:E,renderTracked:v,renderTriggered:P,errorCaptured:w,serverPrefetch:f,expose:F,inheritAttrs:G,components:B,directives:W,filters:ee}=o;if(c&&mp(c,n,null),r)for(const H in r){const ue=r[H];le(ue)&&(n[H]=ue.bind(t))}if(a){const H=a.call(t,t);be(H)&&(e.data=Rn(H))}if(Va=!0,s)for(const H in s){const ue=s[H],Ce=le(ue)?ue.bind(t,t):le(ue.get)?ue.get.bind(t,t):yo,Be=!le(ue)&&le(ue.set)?ue.set.bind(t):yo,xe=_e({get:Ce,set:Be});Object.defineProperty(n,H,{enumerable:!0,configurable:!0,get:()=>xe.value,set:we=>xe.value=we})}if(i)for(const H in i)ei(i[H],n,t,H);if(l){const H=le(l)?l.call(t):l;Reflect.ownKeys(H).forEach(ue=>{lo(ue,H[ue])})}u&&Qr(u,e,"c");function q(H,ue){se(ue)?ue.forEach(Ce=>H(Ce.bind(t))):ue&&H(ue.bind(t))}if(q(Hr,d),q(wt,$),q(ip,_),q(lp,L),q(ap,S),q(sp,N),q(gp,w),q(pp,v),q(up,P),q(tn,k),q(Hn,b),q(cp,f),se(F))if(F.length){const H=e.exposed||(e.exposed={});F.forEach(ue=>{Object.defineProperty(H,ue,{get:()=>t[ue],set:Ce=>t[ue]=Ce,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===yo&&(e.render=E),G!=null&&(e.inheritAttrs=G),B&&(e.components=B),W&&(e.directives=W),f&&Ga(e)}function mp(e,o,t=yo){se(e)&&(e=Ka(e));for(const n in e){const a=e[n];let s;be(a)?"default"in a?s=Ie(a.from||n,a.default,!0):s=Ie(a.from||n):s=Ie(a),Te(s)?Object.defineProperty(o,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):o[n]=s}}function Qr(e,o,t){ho(se(e)?e.map(n=>n.bind(o.proxy)):e.bind(o.proxy),o,t)}function ei(e,o,t,n){let a=n.includes(".")?Fr(t,n):()=>t[n];if(Se(e)){const s=o[e];le(s)&&fo(a,s)}else if(le(e))fo(a,e.bind(t));else if(be(e))if(se(e))e.forEach(s=>ei(s,o,t,n));else{const s=le(e.handler)?e.handler.bind(t):o[e.handler];le(s)&&fo(a,s,e)}}function oi(e){const o=e.type,{mixins:t,extends:n}=o,{mixins:a,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,i=s.get(o);let l;return i?l=i:!a.length&&!t&&!n?l=o:(l={},a.length&&a.forEach(c=>Wn(l,c,r,!0)),Wn(l,o,r)),be(o)&&s.set(o,l),l}function Wn(e,o,t,n=!1){const{mixins:a,extends:s}=o;s&&Wn(e,s,t,!0),a&&a.forEach(r=>Wn(e,r,t,!0));for(const r in o)if(!(n&&r==="expose")){const i=_p[r]||t&&t[r];e[r]=i?i(e[r],o[r]):o[r]}return e}const _p={data:ti,props:ni,emits:ni,methods:an,computed:an,beforeCreate:Je,created:Je,beforeMount:Je,mounted:Je,beforeUpdate:Je,updated:Je,beforeDestroy:Je,beforeUnmount:Je,destroyed:Je,unmounted:Je,activated:Je,deactivated:Je,errorCaptured:Je,serverPrefetch:Je,components:an,directives:an,watch:yp,provide:ti,inject:bp};function ti(e,o){return o?e?function(){return Me(le(e)?e.call(this,this):e,le(o)?o.call(this,this):o)}:o:e}function bp(e,o){return an(Ka(e),Ka(o))}function Ka(e){if(se(e)){const o={};for(let t=0;to==="modelValue"||o==="model-value"?e.modelModifiers:e[`${o}Modifiers`]||e[`${je(o)}Modifiers`]||e[`${io(o)}Modifiers`];function kp(e,o,...t){if(e.isUnmounted)return;const n=e.vnode.props||Ae;let a=t;const s=o.startsWith("update:"),r=s&&Sp(n,o.slice(7));r&&(r.trim&&(a=t.map(u=>Se(u)?u.trim():u)),r.number&&(a=a.map(nu)));let i,l=n[i=$a(o)]||n[i=$a(je(o))];!l&&s&&(l=n[i=$a(io(o))]),l&&ho(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ho(c,e,6,a)}}const Lp=new WeakMap;function si(e,o,t=!1){const n=t?Lp:o.emitsCache,a=n.get(e);if(a!==void 0)return a;const s=e.emits;let r={},i=!1;if(!le(e)){const l=c=>{const u=si(c,o,!0);u&&(i=!0,Me(r,u))};!t&&o.mixins.length&&o.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(be(e)&&n.set(e,null),null):(se(s)?s.forEach(l=>r[l]=null):Me(r,s),be(e)&&n.set(e,r),r)}function Yn(e,o){return!e||!bn(o)?!1:(o=o.slice(2),o=o==="Once"?o:o.replace(/Once$/,""),me(e,o[0].toLowerCase()+o.slice(1))||me(e,io(o))||me(e,o))}function Ky(){}function ri(e){const{type:o,vnode:t,proxy:n,withProxy:a,propsOptions:[s],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:d,data:$,setupState:_,ctx:L,inheritAttrs:S}=e,N=Gn(e);let x,k;try{if(t.shapeFlag&4){const b=a||n,E=b;x=Po(c.call(E,b,u,d,_,$,L)),k=i}else{const b=o;x=Po(b.length>1?b(d,{attrs:i,slots:r,emit:l}):b(d,null)),k=o.props?i:wp(i)}}catch(b){Fo.length=0,Xt(b,e,1),x=Ne(wo)}let y=x;if(k&&S!==!1){const b=Object.keys(k),{shapeFlag:E}=y;b.length&&E&7&&(s&&b.some(yn)&&(k=Pp(k,s)),y=Pt(y,k,!1,!0))}if(t.dirs&&(y=Pt(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(t.dirs):t.dirs),t.transition){const b=jn(y.type)&&Ur(y)||y;Fa(b,t.transition)}return x=y,Gn(N),x}const wp=e=>{let o;for(const t in e)(t==="class"||t==="style"||bn(t))&&((o||(o={}))[t]=e[t]);return o},Pp=(e,o)=>{const t={};for(const n in e)(!yn(n)||!(n.slice(9)in o))&&(t[n]=e[n]);return t};function Ep(e,o,t){const{props:n,children:a,component:s}=e,{props:r,children:i,patchFlag:l}=o,c=s.emitsOptions;if(o.dirs||o.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return n?ii(n,r,c):!!r;if(l&8){const u=o.dynamicProps;for(let d=0;dObject.create(ci),pi=e=>Object.getPrototypeOf(e)===ci;function Tp(e,o,t,n=!1){const a={},s=ui();e.propsDefaults=Object.create(null),gi(e,o,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);t?e.props=n?a:Cu(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function Np(e,o,t,n){const{props:a,attrs:s,vnode:{patchFlag:r}}=e,i=he(a),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[$,_]=di(d,o,!0);Me(r,$),_&&i.push(..._)};!t&&o.mixins.length&&o.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return be(e)&&n.set(e,bt),bt;if(se(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Wa=e=>se(e)?e.map(Po):[Po(e)],Rp=(e,o,t)=>{if(o._n)return o;const n=Bn((...a)=>Wa(o(...a)),t);return n._c=!1,n},fi=(e,o,t)=>{const n=e._ctx;for(const a in e){if(Ha(a))continue;const s=e[a];if(le(s))o[a]=Rp(a,s,n);else if(s!=null){const r=Wa(s);o[a]=()=>r}}},$i=(e,o)=>{const t=Wa(o);e.slots.default=()=>t},mi=(e,o,t)=>{for(const n in o)(t||!Ha(n))&&(e[n]=o[n])},Mp=(e,o,t)=>{const n=e.slots=ui();if(e.vnode.shapeFlag&32){const a=o._;a?(mi(n,o,t),t&&tr(n,"_",a,!0)):fi(o,n)}else o&&$i(e,o)},Ip=(e,o,t)=>{const{vnode:n,slots:a}=e;let s=!0,r=Ae;if(n.shapeFlag&32){const i=o._;i?t&&i===1?s=!1:mi(a,o,t):(s=!o.$stable,fi(o,a)),r=o}else o&&($i(e,o),r={default:1});if(s)for(const i in a)!Ha(i)&&r[i]==null&&delete a[i]},Ze=Bp;function Op(e){return Dp(e)}function Dp(e,o){const t=wn();t.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:$,setScopeId:_=yo,insertStaticContent:L}=e,S=(h,A,m,R=null,D=null,O=null,V=void 0,z=null,p=!!A.dynamicChildren)=>{if(h===A)return;h&&!cn(h,A)&&(R=J(h),we(h,D,O,!0),h=null),A.patchFlag===-2&&(p=!1,A.dynamicChildren=null);const{type:g,ref:T,shapeFlag:M}=A;switch(g){case sn:N(h,A,m,R);break;case wo:x(h,A,m,R);break;case Ja:h==null&&k(A,m,R,V);break;case Ve:B(h,A,m,R,D,O,V,z,p);break;default:M&1?E(h,A,m,R,D,O,V,z,p):M&6?W(h,A,m,R,D,O,V,z,p):(M&64||M&128)&&g.process(h,A,m,R,D,O,V,z,p,$e)}T!=null&&D?on(T,h&&h.ref,O,A||h,!A):T==null&&h&&h.ref!=null&&on(h.ref,null,O,h,!0)},N=(h,A,m,R)=>{if(h==null)n(A.el=i(A.children),m,R);else{const D=A.el=h.el;A.children!==h.children&&c(D,A.children)}},x=(h,A,m,R)=>{h==null?n(A.el=l(A.children||""),m,R):A.el=h.el},k=(h,A,m,R)=>{[h.el,h.anchor]=L(h.children,A,m,R,h.el,h.anchor)},y=({el:h,anchor:A},m,R)=>{let D;for(;h&&h!==A;)D=$(h),n(h,m,R),h=D;n(A,m,R)},b=({el:h,anchor:A})=>{let m;for(;h&&h!==A;)m=$(h),a(h),h=m;a(A)},E=(h,A,m,R,D,O,V,z,p)=>{if(A.type==="svg"?V="svg":A.type==="math"&&(V="mathml"),h==null)v(A,m,R,D,O,V,z,p);else{const g=h.el&&h.el._isVueCE?h.el:null;try{g&&g._beginPatch(),f(h,A,D,O,V,z,p)}finally{g&&g._endPatch()}}},v=(h,A,m,R,D,O,V,z)=>{let p,g;const{props:T,shapeFlag:M,transition:K,dirs:j}=h;if(p=h.el=r(h.type,O,T&&T.is,T),M&8?u(p,h.children):M&16&&w(h.children,p,null,R,D,Ya(h,O),V,z),j&&ut(h,null,R,"created"),P(p,h,h.scopeId,V,R),T){for(const I in T)I!=="value"&&!jt(I)&&s(p,I,null,T[I],O,R);"value"in T&&s(p,"value",null,T.value,O),(g=T.onVnodeBeforeMount)&&Eo(g,R,h)}j&&ut(h,null,R,"beforeMount");const C=Fp(D,K);C&&K.beforeEnter(p),n(p,A,m),((g=T&&T.onVnodeMounted)||C||j)&&Ze(()=>{try{g&&Eo(g,R,h),C&&K.enter(p),j&&ut(h,null,R,"mounted")}finally{}},D)},P=(h,A,m,R,D)=>{if(m&&_(h,m),R)for(let O=0;O{for(let g=p;g{const z=A.el=h.el;let{patchFlag:p,dynamicChildren:g,dirs:T}=A;p|=h.patchFlag&16;const M=h.props||Ae,K=A.props||Ae;let j;if(m&&dt(m,!1),(j=K.onVnodeBeforeUpdate)&&Eo(j,m,A,h),T&&ut(A,h,m,"beforeUpdate"),m&&dt(m,!0),g&&(!h.dynamicChildren||h.dynamicChildren.length!==g.length)&&(p=0,V=!1,g=null),(M.innerHTML&&K.innerHTML==null||M.textContent&&K.textContent==null)&&u(z,""),g?F(h.dynamicChildren,g,z,m,R,Ya(A,D),O):V||ue(h,A,z,null,m,R,Ya(A,D),O,!1),p>0){if(p&16)G(z,M,K,m,D);else if(p&2&&M.class!==K.class&&s(z,"class",null,K.class,D),p&4&&s(z,"style",M.style,K.style,D),p&8){const C=A.dynamicProps;for(let I=0;I{j&&Eo(j,m,A,h),T&&ut(A,h,m,"updated")},R)},F=(h,A,m,R,D,O,V)=>{for(let z=0;z{if(A!==m){if(A!==Ae)for(const O in A)!jt(O)&&!(O in m)&&s(h,O,A[O],null,D,R);for(const O in m){if(jt(O))continue;const V=m[O],z=A[O];V!==z&&O!=="value"&&s(h,O,z,V,D,R)}"value"in m&&s(h,"value",A.value,m.value,D)}},B=(h,A,m,R,D,O,V,z,p)=>{const g=A.el=h?h.el:i(""),T=A.anchor=h?h.anchor:i("");let{patchFlag:M,dynamicChildren:K,slotScopeIds:j}=A;j&&(z=z?z.concat(j):j),h==null?(n(g,m,R),n(T,m,R),w(A.children||[],m,T,D,O,V,z,p)):M>0&&M&64&&K&&h.dynamicChildren&&h.dynamicChildren.length===K.length?(F(h.dynamicChildren,K,m,D,O,V,z),(A.key!=null||D&&A===D.subTree)&&Xa(h,A,!0)):ue(h,A,m,T,D,O,V,z,p)},W=(h,A,m,R,D,O,V,z,p)=>{A.slotScopeIds=z,h==null?A.shapeFlag&512?D.ctx.activate(A,m,R,V,p):ee(A,m,R,D,O,V,p):U(h,A,p)},ee=(h,A,m,R,D,O,V)=>{const z=h.component=qp(h,R,D);if(Kn(h)&&(z.ctx.renderer=$e),Hp(z,!1,V),z.asyncDep){if(D&&D.registerDep(z,q,V),!h.el){const p=z.subTree=Ne(wo);x(null,p,A,m),h.placeholder=p.el}}else q(z,h,A,m,D,O,V)},U=(h,A,m)=>{const R=A.component=h.component;if(Ep(h,A,m))if(R.asyncDep&&!R.asyncResolved){H(R,A,m);return}else R.next=A,R.update();else A.el=h.el,R.vnode=A},q=(h,A,m,R,D,O,V)=>{const z=()=>{if(h.isMounted){let{next:M,bu:K,u:j,parent:C,vnode:I}=h;{const He=_i(h);if(He){M&&(M.el=I.el,H(h,M,V)),He.asyncDep.then(()=>{Ze(()=>{h.isUnmounted||g()},D)});return}}let te=M,ge;dt(h,!1),M?(M.el=I.el,H(h,M,V)):M=I,K&&ma(K),(ge=M.props&&M.props.onVnodeBeforeUpdate)&&Eo(ge,C,M,I),dt(h,!0);const Pe=ri(h),eo=h.subTree;h.subTree=Pe,S(eo,Pe,d(eo.el),J(eo),h,D,O),M.el=Pe.el,te===null&&Cp(h,Pe.el),j&&Ze(j,D),(ge=M.props&&M.props.onVnodeUpdated)&&Ze(()=>Eo(ge,C,M,I),D)}else{let M;const{el:K,props:j}=A,{bm:C,m:I,parent:te,root:ge,type:Pe}=h,eo=Lt(A);dt(h,!1),C&&ma(C),!eo&&(M=j&&j.onVnodeBeforeMount)&&Eo(M,te,A),dt(h,!0);{ge.ce&&ge.ce._hasShadowRoot()&&ge.ce._injectChildStyle(Pe,h.parent?h.parent.type:void 0);const He=h.subTree=ri(h);S(null,He,m,R,h,D,O),A.el=He.el}if(I&&Ze(I,D),!eo&&(M=j&&j.onVnodeMounted)){const He=A;Ze(()=>Eo(M,te,He),D)}(A.shapeFlag&256||te&&Lt(te.vnode)&&te.vnode.shapeFlag&256)&&h.a&&Ze(h.a,D),h.isMounted=!0,A=m=R=null}};h.scope.on();const p=h.effect=new pr(z);h.scope.off();const g=h.update=p.run.bind(p),T=h.job=p.runIfDirty.bind(p);T.i=h,T.id=h.uid,p.scheduler=()=>Ra(T),dt(h,!0),g()},H=(h,A,m)=>{A.component=h;const R=h.vnode.props;h.vnode=A,h.next=null,Np(h,A.props,R,m),Ip(h,A.children,m),Ao(),Mr(h),So()},ue=(h,A,m,R,D,O,V,z,p=!1)=>{const g=h&&h.children,T=h?h.shapeFlag:0,M=A.children,{patchFlag:K,shapeFlag:j}=A;if(K>0){if(K&128){Be(g,M,m,R,D,O,V,z,p);return}else if(K&256){Ce(g,M,m,R,D,O,V,z,p);return}}j&8?(T&16&&ne(g,D,O),M!==g&&u(m,M)):T&16?j&16?Be(g,M,m,R,D,O,V,z,p):ne(g,D,O,!0):(T&8&&u(m,""),j&16&&w(M,m,R,D,O,V,z,p))},Ce=(h,A,m,R,D,O,V,z,p)=>{h=h||bt,A=A||bt;const g=h.length,T=A.length,M=Math.min(g,T);let K;for(K=0;KT?ne(h,D,O,!0,!1,M):w(A,m,R,D,O,V,z,p,M)},Be=(h,A,m,R,D,O,V,z,p)=>{let g=0;const T=A.length;let M=h.length-1,K=T-1;for(;g<=M&&g<=K;){const j=h[g],C=A[g]=p?Bo(A[g]):Po(A[g]);if(cn(j,C))S(j,C,m,null,D,O,V,z,p);else break;g++}for(;g<=M&&g<=K;){const j=h[M],C=A[K]=p?Bo(A[K]):Po(A[K]);if(cn(j,C))S(j,C,m,null,D,O,V,z,p);else break;M--,K--}if(g>M){if(g<=K){const j=K+1,C=jK)for(;g<=M;)we(h[g],D,O,!0),g++;else{const j=g,C=g,I=new Map;for(g=C;g<=K;g++){const ro=A[g]=p?Bo(A[g]):Po(A[g]);ro.key!=null&&I.set(ro.key,g)}let te,ge=0;const Pe=K-C+1;let eo=!1,He=0;const mt=new Array(Pe);for(g=0;g=Pe){we(ro,D,O,!0);continue}let No;if(ro.key!=null)No=I.get(ro.key);else for(te=C;te<=K;te++)if(mt[te-C]===0&&cn(ro,A[te])){No=te;break}No===void 0?we(ro,D,O,!0):(mt[No-C]=g+1,No>=He?He=No:eo=!0,S(ro,A[No],m,null,D,O,V,z,p),ge++)}const Js=eo?Gp(mt):bt;for(te=Js.length-1,g=Pe-1;g>=0;g--){const ro=C+g,No=A[ro],Xc=A[ro+1],Jc=ro+1{const{el:O,type:V,transition:z,children:p,shapeFlag:g}=h;if(g&6){xe(h.component.subTree,A,m,R);return}if(g&128){h.suspense.move(A,m,R);return}if(g&64){V.move(h,A,m,$e);return}if(V===Ve){n(O,A,m);for(let M=0;Mz.enter(O),D));else{const{leave:M,delayLeave:K,afterLeave:j}=z,C=()=>{h.ctx.isUnmounted?a(O):n(O,A,m)},I=()=>{const te=O._isLeaving||!!O[Da];O._isLeaving&&O[Da](!0),z.persisted&&!te?C():M(O,()=>{C(),j&&j()})};K?K(O,C,I):I()}else n(O,A,m)},we=(h,A,m,R=!1,D=!1)=>{const{type:O,props:V,ref:z,children:p,dynamicChildren:g,shapeFlag:T,patchFlag:M,dirs:K,cacheIndex:j,memo:C}=h;if(M===-2&&(D=!1),z!=null&&(Ao(),on(z,null,m,h,!0),So()),j!=null&&(A.renderCache[j]=void 0),T&256){A.ctx.deactivate(h);return}const I=T&1&&K,te=!Lt(h);let ge;if(te&&(ge=V&&V.onVnodeBeforeUnmount)&&Eo(ge,A,h),T&6)X(h.component,m,R);else{if(T&128){h.suspense.unmount(m,R);return}I&&ut(h,null,A,"beforeUnmount"),T&64?h.type.remove(h,A,m,$e,R):g&&!g.hasOnce&&(O!==Ve||M>0&&M&64)?ne(g,A,m,!1,!0):(O===Ve&&M&384||!D&&T&16)&&ne(p,A,m),R&&Z(h)}const Pe=C!=null&&j==null;(te&&(ge=V&&V.onVnodeUnmounted)||I||Pe)&&Ze(()=>{ge&&Eo(ge,A,h),I&&ut(h,null,A,"unmounted"),Pe&&(h.el=null)},m)},Z=h=>{const{type:A,el:m,anchor:R,transition:D}=h;if(A===Ve){ae(m,R);return}if(A===Ja){b(h);return}const O=()=>{a(m),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(h.shapeFlag&1&&D&&!D.persisted){const{leave:V,delayLeave:z}=D,p=()=>V(m,O);z?z(h.el,O,p):p()}else O()},ae=(h,A)=>{let m;for(;h!==A;)m=$(h),a(h),h=m;a(A)},X=(h,A,m)=>{const{bum:R,scope:D,job:O,subTree:V,um:z,m:p,a:g}=h;bi(p),bi(g),R&&ma(R),D.stop(),O&&(O.flags|=8,we(V,h,A,m)),z&&Ze(z,A),Ze(()=>{h.isUnmounted=!0},A)},ne=(h,A,m,R=!1,D=!1,O=0)=>{for(let V=O;V{if(h.shapeFlag&6)return J(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const A=$(h.anchor||h.el),m=A&&A[Gr];return m?$(m):A};let oe=!1;const Q=(h,A,m)=>{let R;h==null?A._vnode&&(we(A._vnode,null,null,!0),R=A._vnode.component):S(A._vnode||null,h,A,null,null,null,m),A._vnode=h,oe||(oe=!0,Mr(R),Ir(),oe=!1)},$e={p:S,um:we,m:xe,r:Z,mt:ee,mc:w,pc:ue,pbc:F,n:J,o:e};return{render:Q,hydrate:void 0,createApp:Ap(Q)}}function Ya({type:e,props:o},t){return t==="svg"&&e==="foreignObject"||t==="mathml"&&e==="annotation-xml"&&o&&o.encoding&&o.encoding.includes("html")?void 0:t}function dt({effect:e,job:o},t){t?(e.flags|=32,o.flags|=4):(e.flags&=-33,o.flags&=-5)}function Fp(e,o){return(!e||e&&!e.pendingBranch)&&o&&!o.persisted}function Xa(e,o,t=!1){const n=e.children,a=o.children;if(se(n)&&se(a))for(let s=0;s>1,e[t[i]]0&&(o[n]=t[s-1]),t[s]=n)}}for(s=t.length,r=t[s-1];s-- >0;)t[s]=r,r=o[r];return t}function _i(e){const o=e.subTree.component;if(o)return o.asyncDep&&!o.asyncResolved?o:_i(o)}function bi(e){if(e)for(let o=0;oe.__isSuspense;function Bp(e,o){o&&o.pendingBranch?se(e)?o.effects.push(...e):o.effects.push(e):Ku(e)}const Ve=Symbol.for("v-fgt"),sn=Symbol.for("v-txt"),wo=Symbol.for("v-cmt"),Ja=Symbol.for("v-stc"),Fo=[];let so=null;function ye(e=!1){Fo.push(so=e?null:[])}function Za(){Fo.pop(),so=Fo[Fo.length-1]||null}let rn=1;function Xn(e,o=!1){rn+=e,e<0&&so&&o&&(so.hasOnce=!0)}function Ai(e){return e.dynamicChildren=rn>0?so||bt:null,Za(),rn>0&&so&&so.push(e),e}function Re(e,o,t,n,a,s){return Ai(re(e,o,t,n,a,s,!0))}function ht(e,o,t,n,a){return Ai(Ne(e,o,t,n,a,!0))}function ln(e){return e?e.__v_isVNode===!0:!1}function cn(e,o){return e.type===o.type&&e.key===o.key}const Si=({key:e})=>e??null,Jn=({ref:e,ref_key:o,ref_for:t})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Te(e)||le(e)?{i:Xe,r:e,k:o,f:!!t}:e:null);function re(e,o=null,t=null,n=0,a=null,s=e===Ve?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:o,key:o&&Si(o),ref:o&&Jn(o),scopeId:Dr,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Xe};return i?(Zn(l,t),s&128&&e.normalize(l)):t&&(l.shapeFlag|=Se(t)?8:16),rn>0&&!r&&so&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&so.push(l),l}const Ne=jp;function jp(e,o=null,t=null,n=0,a=null,s=!1){if((!e||e===Wr)&&(e=wo),ln(e)){const i=Pt(e,o,!0);return t&&Zn(i,t),rn>0&&!s&&so&&(i.shapeFlag&6?so[so.indexOf(e)]=i:so.push(i)),i.patchFlag=-2,i}if(Qp(e)&&(e=e.__vccOpts),o){o=Up(o);let{class:i,style:l}=o;i&&!Se(i)&&(o.class=oo(i)),be(l)&&(In(l)&&!se(l)&&(l=Me({},l)),o.style=Ut(l))}const r=Se(e)?1:vi(e)?128:jn(e)?64:be(e)?4:le(e)?2:0;return re(e,o,t,n,a,r,s,!0)}function Up(e){return e?In(e)||pi(e)?Me({},e):e:null}function Pt(e,o,t=!1,n=!1){const{props:a,ref:s,patchFlag:r,children:i,transition:l}=e,c=o?zp(a||{},o):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Si(c),ref:o&&o.ref?t&&s?se(s)?s.concat(Jn(o)):[s,Jn(o)]:Jn(o):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:o&&e.type!==Ve?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Fa(u,l.clone(u)),u}function $o(e=" ",o=0){return Ne(sn,null,e,o)}function Go(e="",o=!1){return o?(ye(),ht(wo,null,e)):Ne(wo,null,e)}function Po(e){return e==null||typeof e=="boolean"?Ne(wo):se(e)?Ne(Ve,null,e.slice()):ln(e)?Bo(e):Ne(sn,null,String(e))}function Bo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function Zn(e,o){let t=0;const{shapeFlag:n}=e;if(o==null)o=null;else if(se(o))t=16;else if(typeof o=="object")if(n&65){const a=o.default;a&&(a._c&&(a._d=!1),Zn(e,a()),a._c&&(a._d=!0));return}else{t=32;const a=o._;!a&&!pi(o)?o._ctx=Xe:a===3&&Xe&&(Xe.slots._===1?o._=1:(o._=2,e.patchFlag|=1024))}else if(le(o)){if(n&65){Zn(e,{default:o});return}o={default:o,_ctx:Xe},t=32}else o=String(o),n&64?(t=16,o=[$o(o)]):t=8;e.children=o,e.shapeFlag|=t}function zp(...e){const o={};for(let t=0;tKe||Xe;let Qn,un;{const e=wn(),o=(t,n)=>{let a;return(a=e[t])||(a=e[t]=[]),a.push(n),s=>{a.length>1?a.forEach(r=>r(s)):a[0](s)}};Qn=o("__VUE_INSTANCE_SETTERS__",t=>Ke=t),un=o("__VUE_SSR_SETTERS__",t=>Et=t)}const pn=e=>{const o=Ke;return Qn(e),e.scope.on(),()=>{e.scope.off(),Qn(o)}},ki=()=>{Ke&&Ke.scope.off(),Qn(null)};function Li(e){return e.vnode.shapeFlag&4}let Et=!1;function Hp(e,o=!1,t=!1){o&&un(o);const{props:n,children:a}=e.vnode,s=Li(e);Tp(e,n,s,o),Mp(e,a,t||o);const r=s?Wp(e,o):void 0;return o&&un(!1),r}function Wp(e,o){const t=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fp);const{setup:n}=t;if(n){Ao();const a=e.setupContext=n.length>1?Xp(e):null,s=pn(e),r=At(n,e,0,[e.props,a]),i=er(r);if(So(),s(),(i||e.sp)&&!Lt(e)&&Ga(e),i){if(r.then(ki,ki),o)return r.then(l=>{un(!0);try{wi(e,l,o)}finally{un(!1)}}).catch(l=>{Xt(l,e,0)});e.asyncDep=r}else wi(e,r)}else Pi(e)}function wi(e,o,t){le(o)?e.type.__ssrInlineRender?e.ssrRender=o:e.render=o:be(o)&&(e.setupState=Tr(o)),Pi(e)}function Pi(e,o,t){const n=e.type;e.render||(e.render=n.render||yo);{const a=pn(e);Ao();try{$p(e)}finally{So(),a()}}}const Yp={get(e,o){return We(e,"get",""),e[o]}};function Xp(e){const o=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Yp),slots:e.slots,emit:e.emit,expose:o}}function Qa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Tr(Wt(e.exposed)),{get(o,t){if(t in o)return o[t];if(t in nn)return nn[t](e)},has(o,t){return t in o||t in nn}})):e.proxy}const Jp=/(?:^|[-_])\w/g,Zp=e=>e.replace(Jp,o=>o.toUpperCase()).replace(/[-_]/g,"");function Ei(e,o=!0){return le(e)?e.displayName||e.name:e.name||o&&e.__name}function Ci(e,o,t=!1){let n=Ei(o);if(!n&&o.__file){const a=o.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=s=>{for(const r in s)if(s[r]===o)return r};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Zp(n):t?"App":"Anonymous"}function Qp(e){return le(e)&&"__vccOpts"in e}const _e=(e,o)=>Ou(e,o,Et);function Ti(e,o,t){try{Xn(-1);const n=arguments.length;return n===2?be(o)&&!se(o)?ln(o)?Ne(e,null,[o]):Ne(e,o):Ne(e,null,o):(n>3?t=Array.prototype.slice.call(arguments,2):n===3&&ln(t)&&(t=[t]),Ne(e,o,t))}finally{Xn(1)}}const eg="3.5.42";/** +`],...ju(t))}),o}function ju({vnode:e,recurseCount:o}){const t=o>0?`... (${o} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Ci(e.component,e.type,n)}`,s=">"+t;return e.props?[a,...Uu(e.props),s]:[a+s]}function Uu(e){const o=[],t=Object.keys(e);return t.slice(0,3).forEach(n=>{o.push(...Nr(n,e[n]))}),t.length>3&&o.push(" ..."),o}function Nr(e,o,t){return Se(o)?(o=JSON.stringify(o),t?o:[`${e}=${o}`]):typeof o=="number"||typeof o=="boolean"||o==null?t?o:[`${e}=${o}`]:Te(o)?(o=Nr(e,he(o.value),!0),t?o:[`${e}=Ref<`,o,">"]):le(o)?[`${e}=fn${o.name?`<${o.name}>`:""}`]:(o=he(o),t?o:[`${e}=`,o])}function At(e,o,t,n){try{return n?e(...n):e()}catch(a){Xt(a,o,t)}}function ho(e,o,t,n){if(le(e)){const a=At(e,o,t,n);return a&&er(a)&&a.catch(s=>{Xt(s,o,t)}),a}if(se(e)){const a=[];for(let s=0;s>>1,a=Ye[n],s=Zt(a);s=Zt(t)?Ye.push(e):Ye.splice(Vu(o),0,e),e.flags|=1,Rr()}}function Rr(){Fn||(Fn=xr.then(Or))}function Ku(e){if(!se(e))Xo&&e.id===-1?Xo.splice(kt+1,0,e):e.flags&1||(St.push(e),e.flags|=1);else for(let o=0;oZt(t)-Zt(n));if(St.length=0,Xo){for(let t=0;te.id==null?e.flags&2?-1:1/0:e.id;function Or(e){try{for(Lo=0;Lo{n._d&&Xn(-1);const s=Gn(o),r=Fo.length;let i;try{i=e(...a)}finally{for(let l=Fo.length;l>r;l--)Za();Gn(s),n._d&&Xn(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function ut(e,o,t,n){const a=e.dirs,s=o&&o.dirs;for(let r=0;r1)return t&&le(o)?o.call(n&&n.proxy):o}}function qu(){return!!(jo()||gt)}const Hu=Symbol.for("v-scx"),Wu=()=>Ie(Hu);function Yu(e,o){return Ma(e,null,o)}function fo(e,o,t){return Ma(e,o,t)}function Ma(e,o,t=Ae){const{immediate:n,deep:a,flush:s,once:r}=t,i=Me({},t),l=o&&n||!o&&s!=="post";let c;if(Et){if(s==="sync"){const _=Wu();c=_.__watcherHandles||(_.__watcherHandles=[])}else if(!l){const _=()=>{};return _.stop=yo,_.resume=yo,_.pause=yo,_}}const u=Ke;i.call=(_,L,S)=>ho(_,u,L,S);let d=!1;s==="post"?i.scheduler=_=>{Ze(_,u&&u.suspense)}:s!=="sync"&&(d=!0,i.scheduler=(_,L)=>{L?_():Ra(_)}),i.augmentJob=_=>{o&&(_.flags|=4),d&&(_.flags|=2,u&&(_.id=u.uid,_.i=u))};const $=Fu(e,o,i);return Et&&(c?c.push($):l&&$()),$}function Xu(e,o,t){const n=this.proxy,a=Se(e)?e.includes(".")?Fr(n,e):()=>n[e]:e.bind(n,n);let s;le(o)?s=o:(s=o.handler,t=o);const r=pn(this),i=Ma(a,s.bind(n),t);return r(),i}function Fr(e,o){const t=o.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,pt=e=>e&&(e.disabled||e.disabled===""),Ju=e=>e&&(e.defer||e.defer===""),Br=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ia=(e,o)=>{const t=e&&e.to;return Se(t)?o?o(t):null:t},Zu={name:"Teleport",__isTeleport:!0,process(e,o,t,n,a,s,r,i,l,c){const{mc:u,pc:d,pbc:$,o:{insert:_,querySelector:L,createText:S,createComment:N,parentNode:x}}=c,k=pt(o.props);let{dynamicChildren:y}=o;const b=(P,w,f)=>{P.shapeFlag&16&&u(P.children,w,f,a,s,r,i,l)},E=(P=o)=>{const w=pt(P.props),f=P.target=Ia(P.props,L),F=Oa(f,P,S,_);f&&(r!=="svg"&&Br(f)?r="svg":r!=="mathml"&&jr(f)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(f),w||(b(P,f,F),Qt(P,!1)))},v=P=>{const w=()=>{if(Jo.get(P)===w){if(Jo.delete(P),pt(P.props)){const f=x(P.el)||t;b(P,f,P.anchor),Qt(P,!0)}E(P)}};Jo.set(P,w),Ze(w,s)};if(e==null){const P=o.el=S(""),w=o.anchor=S("");if(_(P,t,n),_(w,t,n),Ju(o.props)||s&&s.pendingBranch){v(o);return}k&&(b(o,t,w),Qt(o,!0)),E()}else{o.el=e.el;const P=o.anchor=e.anchor,w=Jo.get(e);if(w){w.flags|=8,Jo.delete(e),v(o);return}o.targetStart=e.targetStart;const f=o.target=e.target,F=o.targetAnchor=e.targetAnchor,G=pt(e.props),B=G?t:f,W=G?P:F;if(r==="svg"||Br(f)?r="svg":(r==="mathml"||jr(f))&&(r="mathml"),y?($(e.dynamicChildren,y,B,a,s,r,i),Xa(e,o,!0)):l||d(e,o,B,W,a,s,r,i,!1),k)G?o.props&&e.props&&o.props.to!==e.props.to&&(o.props.to=e.props.to):Un(o,t,P,c,1);else if((o.props&&o.props.to)!==(e.props&&e.props.to)){const ee=Ia(o.props,L);ee&&(o.target=ee,Un(o,ee,null,c,0))}else G&&Un(o,f,F,c,1);Qt(o,k)}},remove(e,o,t,{um:n,o:{remove:a}},s){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:$}=e,_=pt($),L=s||!_,S=Jo.get(e);if(S&&(S.flags|=8,Jo.delete(e)),d&&(a(c),a(u)),s&&a(l),!S&&(_||d)&&r&16)for(let N=0;N1){for(const t of e)if(t.type!==wo){o=t;break}}return o}function Ur(e){if(!Kn(e))return jn(e.type)&&e.children?op(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:o,children:t}=e;if(t){if(o&16)return t[0];if(o&32&&le(t.default))return t.default()}}function Fa(e,o){if(e.shapeFlag&6&&e.component){e.transition=o;const t=e.component.subTree;Fa(jn(t.type)&&Ur(t)||t,o)}else e.shapeFlag&128?(e.ssContent.transition=o.clone(e.ssContent),e.ssFallback.transition=o.clone(e.ssFallback)):e.transition=o}function en(e,o){return le(e)?Me({name:e.name},o,{setup:e}):e}function Ga(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zr(e,o){let t;return!!((t=Object.getOwnPropertyDescriptor(e,o))&&!t.configurable)}const zn=new WeakMap;function on(e,o,t,n,a=!1){if(se(e)){e.forEach((S,N)=>on(S,o&&(se(o)?o[N]:o),t,n,a));return}if(Lt(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&on(e,o,t,n.component.subTree);return}const s=n.shapeFlag&4?Qa(n.component):n.el,r=a?null:s,{i,r:l}=e,c=o&&o.r,u=i.refs===Ae?i.refs={}:i.refs,d=i.setupState,$=he(d),_=d===Ae?Zs:S=>zr(u,S)?!1:me($,S),L=(S,N)=>!(N&&zr(u,N));if(c!=null&&c!==l){if(Vr(o),Se(c))u[c]=null,_(c)&&(d[c]=null);else if(Te(c)){const S=o;L(c,S.k)&&(c.value=null),S.k&&(u[S.k]=null)}}if(le(l))At(l,i,12,[r,u]);else{const S=Se(l),N=Te(l);if(S||N){const x=()=>{if(e.f){const k=S?_(l)?d[l]:u[l]:L()||!e.k?l.value:u[e.k];if(a)se(k)&&fa(k,s);else if(se(k))k.includes(s)||k.push(s);else if(S)u[l]=[s],_(l)&&(d[l]=u[l]);else{const y=[s];L(l,e.k)&&(l.value=y),e.k&&(u[e.k]=y)}}else S?(u[l]=r,_(l)&&(d[l]=r)):N&&(L(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const k=()=>{x(),zn.delete(e)};k.id=-1,zn.set(e,k),Ze(k,t)}else Vr(e),x()}}}function Vr(e){const o=zn.get(e);o&&(o.flags|=8,zn.delete(e))}const Kr=e=>e.nodeType===8;wn().requestIdleCallback,wn().cancelIdleCallback;function tp(e,o){if(Kr(e)&&e.data==="["){let t=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(o(n)===!1)break}else if(Kr(n))if(n.data==="]"){if(--t===0)break}else n.data==="["&&t++;n=n.nextSibling}}else o(e)}const Lt=e=>!!e.type.__asyncLoader;function np(e){le(e)&&(e={loader:e});const{loader:o,loadingComponent:t,errorComponent:n,delay:a=200,hydrate:s,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,d=0;const $=()=>(d++,c=null,_()),_=()=>{let L;return c||(L=c=o().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((N,x)=>{l(S,()=>N($()),()=>x(S),d+1)});throw S}).then(S=>L!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return en({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(L,S,N){const x=L.isConnected;let k=!1;(S.bu||(S.bu=[])).push(()=>k=!0);const y=()=>{k||!L.parentNode||x&&!L.isConnected||N()},b=s?()=>{const E=s(y,v=>tp(L,v));E&&(S.bum||(S.bum=[])).push(E)}:y;u?b():_().then(()=>!S.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const L=Ke;if(Ga(L),u)return()=>Vn(u,L);const S=E=>{c=null,Xt(E,L,13,!n)};if(i&&L.suspense||Et)return _().then(E=>()=>Vn(E,L)).catch(E=>(S(E),()=>n?Ne(n,{error:E}):null));const N=pe(!1),x=pe(),k=pe(!!a);let y,b;return Hn(()=>{y!=null&&clearTimeout(y),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{L.isUnmounted||(k.value=!1)},a)),r!=null&&(y=setTimeout(()=>{if(!L.isUnmounted&&!N.value&&!x.value){const E=new Error(`Async component timed out after ${r}ms.`);S(E),x.value=E}},r)),_().then(()=>{L.isUnmounted||(N.value=!0,L.parent&&Kn(L.parent.vnode)&&L.parent.update())}).catch(E=>{if(L.isUnmounted){c=null;return}S(E),x.value=E}),()=>{if(N.value&&u)return Vn(u,L);if(x.value&&n)return Ne(n,{error:x.value});if(t&&!k.value)return Vn(t,L)}}})}function Vn(e,o){const{ref:t,props:n,children:a,ce:s}=o.vnode,r=Ne(e,n,a);return r.ref=t,r.ce=s,delete o.vnode.ce,r}const Kn=e=>e.type.__isKeepAlive;function ap(e,o){qr(e,"a",o)}function sp(e,o){qr(e,"da",o)}function qr(e,o,t=Ke){const n=e.__wdc||(e.__wdc=()=>{let a=t;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(qn(o,n,t),t){let a=t.parent;for(;a&&a.parent;)Kn(a.parent.vnode)&&rp(n,o,t,a),a=a.parent}}function rp(e,o,t,n){const a=qn(o,e,n,!0);Hn(()=>{fa(n[o],a)},t)}function qn(e,o,t=Ke,n=!1){if(t){const a=t[e]||(t[e]=[]),s=o.__weh||(o.__weh=(...r)=>{Ao();const i=pn(t),l=ho(o,t,e,r);return i(),So(),l});return n?a.unshift(s):a.push(s),s}}const Do=e=>(o,t=Ke)=>{(!Et||e==="sp")&&qn(e,(...n)=>o(...n),t)},Hr=Do("bm"),wt=Do("m"),ip=Do("bu"),lp=Do("u"),tn=Do("bum"),Hn=Do("um"),cp=Do("sp"),up=Do("rtg"),pp=Do("rtc");function gp(e,o=Ke){qn("ec",e,o)}const dp="components",Wr=Symbol.for("v-ndc");function Yr(e){return Se(e)?hp(dp,e,!1)||e:e||Wr}function hp(e,o,t=!0,n=!1){const a=Xe||Ke;if(a){const s=a.type;{const i=Ei(s,!1);if(i&&(i===o||i===je(o)||i===Ln(je(o))))return s}const r=Xr(a[e]||s[e],o)||Xr(a.appContext[e],o);return!r&&n?s:r}}function Xr(e,o){return e&&(e[o]||e[je(o)]||e[Ln(je(o))])}function Ba(e,o,t,n){let a;const s=t,r=se(e);if(r||Se(e)){const i=r&&Mo(e);let l=!1,c=!1;i&&(l=!ao(e),c=Io(e),e=Cn(e)),a=new Array(e.length);for(let u=0,d=e.length;uo(i,l,void 0,s));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return ye(),ht(Ve,null,[Ne("slot",c,n)],u?-2:64)}let r=e[o];r&&r._c&&(r._d=!1);const i=Fo.length;ye();let l;try{const c=r&&Jr(r(t)),u=t.key||s||c&&c.key;l=ht(Ve,{key:(u&&!no(u)?u:`_${o}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=Fo.length;u>i;u--)Za();throw c}finally{r&&r._c&&(r._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Jr(e){return e.some(o=>ln(o)?!(o.type===wo||o.type===Ve&&!Jr(o.children)):!0)?e:null}const Ua=e=>e?Li(e)?Qa(e):Ua(e.parent):null,nn=Me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ua(e.parent),$root:e=>Ua(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>oi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ra(e.update)}),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>Xu.bind(e)}),za=(e,o)=>e!==Ae&&!e.__isScriptSetup&&me(e,o),fp={get({_:e},o){if(o==="__v_skip")return!0;const{ctx:t,setupState:n,data:a,props:s,accessCache:r,type:i,appContext:l}=e;if(o[0]!=="$"){const $=r[o];if($!==void 0)switch($){case 1:return n[o];case 2:return a[o];case 4:return t[o];case 3:return s[o]}else{if(za(n,o))return r[o]=1,n[o];if(a!==Ae&&me(a,o))return r[o]=2,a[o];if(me(s,o))return r[o]=3,s[o];if(t!==Ae&&me(t,o))return r[o]=4,t[o];Va&&(r[o]=0)}}const c=nn[o];let u,d;if(c)return o==="$attrs"&&We(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[o]))return u;if(t!==Ae&&me(t,o))return r[o]=4,t[o];if(d=l.config.globalProperties,me(d,o))return d[o]},set({_:e},o,t){const{data:n,setupState:a,ctx:s}=e;return za(a,o)?(a[o]=t,!0):n!==Ae&&me(n,o)?(n[o]=t,!0):me(e.props,o)||o[0]==="$"&&o.slice(1)in e?!1:(s[o]=t,!0)},has({_:{data:e,setupState:o,accessCache:t,ctx:n,appContext:a,props:s,type:r}},i){let l;return!!(t[i]||e!==Ae&&i[0]!=="$"&&me(e,i)||za(o,i)||me(s,i)||me(n,i)||me(nn,i)||me(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,o,t){return t.get!=null?e._.accessCache[o]=0:me(t,"value")&&this.set(e,o,t.value,null),Reflect.defineProperty(e,o,t)}};function Zr(e){return se(e)?e.reduce((o,t)=>(o[t]=null,o),{}):e}let Va=!0;function $p(e){const o=oi(e),t=e.proxy,n=e.ctx;Va=!1,o.beforeCreate&&Qr(o.beforeCreate,e,"bc");const{data:a,computed:s,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:$,beforeUpdate:_,updated:L,activated:S,deactivated:N,beforeDestroy:x,beforeUnmount:k,destroyed:y,unmounted:b,render:E,renderTracked:v,renderTriggered:P,errorCaptured:w,serverPrefetch:f,expose:F,inheritAttrs:G,components:B,directives:W,filters:ee}=o;if(c&&mp(c,n,null),r)for(const H in r){const ue=r[H];le(ue)&&(n[H]=ue.bind(t))}if(a){const H=a.call(t,t);be(H)&&(e.data=Rn(H))}if(Va=!0,s)for(const H in s){const ue=s[H],Ce=le(ue)?ue.bind(t,t):le(ue.get)?ue.get.bind(t,t):yo,Be=!le(ue)&&le(ue.set)?ue.set.bind(t):yo,xe=_e({get:Ce,set:Be});Object.defineProperty(n,H,{enumerable:!0,configurable:!0,get:()=>xe.value,set:we=>xe.value=we})}if(i)for(const H in i)ei(i[H],n,t,H);if(l){const H=le(l)?l.call(t):l;Reflect.ownKeys(H).forEach(ue=>{lo(ue,H[ue])})}u&&Qr(u,e,"c");function q(H,ue){se(ue)?ue.forEach(Ce=>H(Ce.bind(t))):ue&&H(ue.bind(t))}if(q(Hr,d),q(wt,$),q(ip,_),q(lp,L),q(ap,S),q(sp,N),q(gp,w),q(pp,v),q(up,P),q(tn,k),q(Hn,b),q(cp,f),se(F))if(F.length){const H=e.exposed||(e.exposed={});F.forEach(ue=>{Object.defineProperty(H,ue,{get:()=>t[ue],set:Ce=>t[ue]=Ce,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===yo&&(e.render=E),G!=null&&(e.inheritAttrs=G),B&&(e.components=B),W&&(e.directives=W),f&&Ga(e)}function mp(e,o,t=yo){se(e)&&(e=Ka(e));for(const n in e){const a=e[n];let s;be(a)?"default"in a?s=Ie(a.from||n,a.default,!0):s=Ie(a.from||n):s=Ie(a),Te(s)?Object.defineProperty(o,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):o[n]=s}}function Qr(e,o,t){ho(se(e)?e.map(n=>n.bind(o.proxy)):e.bind(o.proxy),o,t)}function ei(e,o,t,n){let a=n.includes(".")?Fr(t,n):()=>t[n];if(Se(e)){const s=o[e];le(s)&&fo(a,s)}else if(le(e))fo(a,e.bind(t));else if(be(e))if(se(e))e.forEach(s=>ei(s,o,t,n));else{const s=le(e.handler)?e.handler.bind(t):o[e.handler];le(s)&&fo(a,s,e)}}function oi(e){const o=e.type,{mixins:t,extends:n}=o,{mixins:a,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,i=s.get(o);let l;return i?l=i:!a.length&&!t&&!n?l=o:(l={},a.length&&a.forEach(c=>Wn(l,c,r,!0)),Wn(l,o,r)),be(o)&&s.set(o,l),l}function Wn(e,o,t,n=!1){const{mixins:a,extends:s}=o;s&&Wn(e,s,t,!0),a&&a.forEach(r=>Wn(e,r,t,!0));for(const r in o)if(!(n&&r==="expose")){const i=_p[r]||t&&t[r];e[r]=i?i(e[r],o[r]):o[r]}return e}const _p={data:ti,props:ni,emits:ni,methods:an,computed:an,beforeCreate:Je,created:Je,beforeMount:Je,mounted:Je,beforeUpdate:Je,updated:Je,beforeDestroy:Je,beforeUnmount:Je,destroyed:Je,unmounted:Je,activated:Je,deactivated:Je,errorCaptured:Je,serverPrefetch:Je,components:an,directives:an,watch:yp,provide:ti,inject:bp};function ti(e,o){return o?e?function(){return Me(le(e)?e.call(this,this):e,le(o)?o.call(this,this):o)}:o:e}function bp(e,o){return an(Ka(e),Ka(o))}function Ka(e){if(se(e)){const o={};for(let t=0;to==="modelValue"||o==="model-value"?e.modelModifiers:e[`${o}Modifiers`]||e[`${je(o)}Modifiers`]||e[`${io(o)}Modifiers`];function kp(e,o,...t){if(e.isUnmounted)return;const n=e.vnode.props||Ae;let a=t;const s=o.startsWith("update:"),r=s&&Sp(n,o.slice(7));r&&(r.trim&&(a=t.map(u=>Se(u)?u.trim():u)),r.number&&(a=a.map(nu)));let i,l=n[i=$a(o)]||n[i=$a(je(o))];!l&&s&&(l=n[i=$a(io(o))]),l&&ho(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ho(c,e,6,a)}}const Lp=new WeakMap;function si(e,o,t=!1){const n=t?Lp:o.emitsCache,a=n.get(e);if(a!==void 0)return a;const s=e.emits;let r={},i=!1;if(!le(e)){const l=c=>{const u=si(c,o,!0);u&&(i=!0,Me(r,u))};!t&&o.mixins.length&&o.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(be(e)&&n.set(e,null),null):(se(s)?s.forEach(l=>r[l]=null):Me(r,s),be(e)&&n.set(e,r),r)}function Yn(e,o){return!e||!bn(o)?!1:(o=o.slice(2),o=o==="Once"?o:o.replace(/Once$/,""),me(e,o[0].toLowerCase()+o.slice(1))||me(e,io(o))||me(e,o))}function qy(){}function ri(e){const{type:o,vnode:t,proxy:n,withProxy:a,propsOptions:[s],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:d,data:$,setupState:_,ctx:L,inheritAttrs:S}=e,N=Gn(e);let x,k;try{if(t.shapeFlag&4){const b=a||n,E=b;x=Po(c.call(E,b,u,d,_,$,L)),k=i}else{const b=o;x=Po(b.length>1?b(d,{attrs:i,slots:r,emit:l}):b(d,null)),k=o.props?i:wp(i)}}catch(b){Fo.length=0,Xt(b,e,1),x=Ne(wo)}let y=x;if(k&&S!==!1){const b=Object.keys(k),{shapeFlag:E}=y;b.length&&E&7&&(s&&b.some(yn)&&(k=Pp(k,s)),y=Pt(y,k,!1,!0))}if(t.dirs&&(y=Pt(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(t.dirs):t.dirs),t.transition){const b=jn(y.type)&&Ur(y)||y;Fa(b,t.transition)}return x=y,Gn(N),x}const wp=e=>{let o;for(const t in e)(t==="class"||t==="style"||bn(t))&&((o||(o={}))[t]=e[t]);return o},Pp=(e,o)=>{const t={};for(const n in e)(!yn(n)||!(n.slice(9)in o))&&(t[n]=e[n]);return t};function Ep(e,o,t){const{props:n,children:a,component:s}=e,{props:r,children:i,patchFlag:l}=o,c=s.emitsOptions;if(o.dirs||o.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return n?ii(n,r,c):!!r;if(l&8){const u=o.dynamicProps;for(let d=0;dObject.create(ci),pi=e=>Object.getPrototypeOf(e)===ci;function Tp(e,o,t,n=!1){const a={},s=ui();e.propsDefaults=Object.create(null),gi(e,o,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);t?e.props=n?a:Cu(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function Np(e,o,t,n){const{props:a,attrs:s,vnode:{patchFlag:r}}=e,i=he(a),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[$,_]=di(d,o,!0);Me(r,$),_&&i.push(..._)};!t&&o.mixins.length&&o.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return be(e)&&n.set(e,bt),bt;if(se(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Wa=e=>se(e)?e.map(Po):[Po(e)],Rp=(e,o,t)=>{if(o._n)return o;const n=Bn((...a)=>Wa(o(...a)),t);return n._c=!1,n},fi=(e,o,t)=>{const n=e._ctx;for(const a in e){if(Ha(a))continue;const s=e[a];if(le(s))o[a]=Rp(a,s,n);else if(s!=null){const r=Wa(s);o[a]=()=>r}}},$i=(e,o)=>{const t=Wa(o);e.slots.default=()=>t},mi=(e,o,t)=>{for(const n in o)(t||!Ha(n))&&(e[n]=o[n])},Mp=(e,o,t)=>{const n=e.slots=ui();if(e.vnode.shapeFlag&32){const a=o._;a?(mi(n,o,t),t&&tr(n,"_",a,!0)):fi(o,n)}else o&&$i(e,o)},Ip=(e,o,t)=>{const{vnode:n,slots:a}=e;let s=!0,r=Ae;if(n.shapeFlag&32){const i=o._;i?t&&i===1?s=!1:mi(a,o,t):(s=!o.$stable,fi(o,a)),r=o}else o&&($i(e,o),r={default:1});if(s)for(const i in a)!Ha(i)&&r[i]==null&&delete a[i]},Ze=Bp;function Op(e){return Dp(e)}function Dp(e,o){const t=wn();t.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:$,setScopeId:_=yo,insertStaticContent:L}=e,S=(h,A,m,R=null,D=null,O=null,V=void 0,z=null,p=!!A.dynamicChildren)=>{if(h===A)return;h&&!cn(h,A)&&(R=J(h),we(h,D,O,!0),h=null),A.patchFlag===-2&&(p=!1,A.dynamicChildren=null);const{type:g,ref:T,shapeFlag:M}=A;switch(g){case sn:N(h,A,m,R);break;case wo:x(h,A,m,R);break;case Ja:h==null&&k(A,m,R,V);break;case Ve:B(h,A,m,R,D,O,V,z,p);break;default:M&1?E(h,A,m,R,D,O,V,z,p):M&6?W(h,A,m,R,D,O,V,z,p):(M&64||M&128)&&g.process(h,A,m,R,D,O,V,z,p,$e)}T!=null&&D?on(T,h&&h.ref,O,A||h,!A):T==null&&h&&h.ref!=null&&on(h.ref,null,O,h,!0)},N=(h,A,m,R)=>{if(h==null)n(A.el=i(A.children),m,R);else{const D=A.el=h.el;A.children!==h.children&&c(D,A.children)}},x=(h,A,m,R)=>{h==null?n(A.el=l(A.children||""),m,R):A.el=h.el},k=(h,A,m,R)=>{[h.el,h.anchor]=L(h.children,A,m,R,h.el,h.anchor)},y=({el:h,anchor:A},m,R)=>{let D;for(;h&&h!==A;)D=$(h),n(h,m,R),h=D;n(A,m,R)},b=({el:h,anchor:A})=>{let m;for(;h&&h!==A;)m=$(h),a(h),h=m;a(A)},E=(h,A,m,R,D,O,V,z,p)=>{if(A.type==="svg"?V="svg":A.type==="math"&&(V="mathml"),h==null)v(A,m,R,D,O,V,z,p);else{const g=h.el&&h.el._isVueCE?h.el:null;try{g&&g._beginPatch(),f(h,A,D,O,V,z,p)}finally{g&&g._endPatch()}}},v=(h,A,m,R,D,O,V,z)=>{let p,g;const{props:T,shapeFlag:M,transition:K,dirs:j}=h;if(p=h.el=r(h.type,O,T&&T.is,T),M&8?u(p,h.children):M&16&&w(h.children,p,null,R,D,Ya(h,O),V,z),j&&ut(h,null,R,"created"),P(p,h,h.scopeId,V,R),T){for(const I in T)I!=="value"&&!jt(I)&&s(p,I,null,T[I],O,R);"value"in T&&s(p,"value",null,T.value,O),(g=T.onVnodeBeforeMount)&&Eo(g,R,h)}j&&ut(h,null,R,"beforeMount");const C=Fp(D,K);C&&K.beforeEnter(p),n(p,A,m),((g=T&&T.onVnodeMounted)||C||j)&&Ze(()=>{try{g&&Eo(g,R,h),C&&K.enter(p),j&&ut(h,null,R,"mounted")}finally{}},D)},P=(h,A,m,R,D)=>{if(m&&_(h,m),R)for(let O=0;O{for(let g=p;g{const z=A.el=h.el;let{patchFlag:p,dynamicChildren:g,dirs:T}=A;p|=h.patchFlag&16;const M=h.props||Ae,K=A.props||Ae;let j;if(m&&dt(m,!1),(j=K.onVnodeBeforeUpdate)&&Eo(j,m,A,h),T&&ut(A,h,m,"beforeUpdate"),m&&dt(m,!0),g&&(!h.dynamicChildren||h.dynamicChildren.length!==g.length)&&(p=0,V=!1,g=null),(M.innerHTML&&K.innerHTML==null||M.textContent&&K.textContent==null)&&u(z,""),g?F(h.dynamicChildren,g,z,m,R,Ya(A,D),O):V||ue(h,A,z,null,m,R,Ya(A,D),O,!1),p>0){if(p&16)G(z,M,K,m,D);else if(p&2&&M.class!==K.class&&s(z,"class",null,K.class,D),p&4&&s(z,"style",M.style,K.style,D),p&8){const C=A.dynamicProps;for(let I=0;I{j&&Eo(j,m,A,h),T&&ut(A,h,m,"updated")},R)},F=(h,A,m,R,D,O,V)=>{for(let z=0;z{if(A!==m){if(A!==Ae)for(const O in A)!jt(O)&&!(O in m)&&s(h,O,A[O],null,D,R);for(const O in m){if(jt(O))continue;const V=m[O],z=A[O];V!==z&&O!=="value"&&s(h,O,z,V,D,R)}"value"in m&&s(h,"value",A.value,m.value,D)}},B=(h,A,m,R,D,O,V,z,p)=>{const g=A.el=h?h.el:i(""),T=A.anchor=h?h.anchor:i("");let{patchFlag:M,dynamicChildren:K,slotScopeIds:j}=A;j&&(z=z?z.concat(j):j),h==null?(n(g,m,R),n(T,m,R),w(A.children||[],m,T,D,O,V,z,p)):M>0&&M&64&&K&&h.dynamicChildren&&h.dynamicChildren.length===K.length?(F(h.dynamicChildren,K,m,D,O,V,z),(A.key!=null||D&&A===D.subTree)&&Xa(h,A,!0)):ue(h,A,m,T,D,O,V,z,p)},W=(h,A,m,R,D,O,V,z,p)=>{A.slotScopeIds=z,h==null?A.shapeFlag&512?D.ctx.activate(A,m,R,V,p):ee(A,m,R,D,O,V,p):U(h,A,p)},ee=(h,A,m,R,D,O,V)=>{const z=h.component=qp(h,R,D);if(Kn(h)&&(z.ctx.renderer=$e),Hp(z,!1,V),z.asyncDep){if(D&&D.registerDep(z,q,V),!h.el){const p=z.subTree=Ne(wo);x(null,p,A,m),h.placeholder=p.el}}else q(z,h,A,m,D,O,V)},U=(h,A,m)=>{const R=A.component=h.component;if(Ep(h,A,m))if(R.asyncDep&&!R.asyncResolved){H(R,A,m);return}else R.next=A,R.update();else A.el=h.el,R.vnode=A},q=(h,A,m,R,D,O,V)=>{const z=()=>{if(h.isMounted){let{next:M,bu:K,u:j,parent:C,vnode:I}=h;{const He=_i(h);if(He){M&&(M.el=I.el,H(h,M,V)),He.asyncDep.then(()=>{Ze(()=>{h.isUnmounted||g()},D)});return}}let te=M,ge;dt(h,!1),M?(M.el=I.el,H(h,M,V)):M=I,K&&ma(K),(ge=M.props&&M.props.onVnodeBeforeUpdate)&&Eo(ge,C,M,I),dt(h,!0);const Pe=ri(h),eo=h.subTree;h.subTree=Pe,S(eo,Pe,d(eo.el),J(eo),h,D,O),M.el=Pe.el,te===null&&Cp(h,Pe.el),j&&Ze(j,D),(ge=M.props&&M.props.onVnodeUpdated)&&Ze(()=>Eo(ge,C,M,I),D)}else{let M;const{el:K,props:j}=A,{bm:C,m:I,parent:te,root:ge,type:Pe}=h,eo=Lt(A);dt(h,!1),C&&ma(C),!eo&&(M=j&&j.onVnodeBeforeMount)&&Eo(M,te,A),dt(h,!0);{ge.ce&&ge.ce._hasShadowRoot()&&ge.ce._injectChildStyle(Pe,h.parent?h.parent.type:void 0);const He=h.subTree=ri(h);S(null,He,m,R,h,D,O),A.el=He.el}if(I&&Ze(I,D),!eo&&(M=j&&j.onVnodeMounted)){const He=A;Ze(()=>Eo(M,te,He),D)}(A.shapeFlag&256||te&&Lt(te.vnode)&&te.vnode.shapeFlag&256)&&h.a&&Ze(h.a,D),h.isMounted=!0,A=m=R=null}};h.scope.on();const p=h.effect=new pr(z);h.scope.off();const g=h.update=p.run.bind(p),T=h.job=p.runIfDirty.bind(p);T.i=h,T.id=h.uid,p.scheduler=()=>Ra(T),dt(h,!0),g()},H=(h,A,m)=>{A.component=h;const R=h.vnode.props;h.vnode=A,h.next=null,Np(h,A.props,R,m),Ip(h,A.children,m),Ao(),Mr(h),So()},ue=(h,A,m,R,D,O,V,z,p=!1)=>{const g=h&&h.children,T=h?h.shapeFlag:0,M=A.children,{patchFlag:K,shapeFlag:j}=A;if(K>0){if(K&128){Be(g,M,m,R,D,O,V,z,p);return}else if(K&256){Ce(g,M,m,R,D,O,V,z,p);return}}j&8?(T&16&&ne(g,D,O),M!==g&&u(m,M)):T&16?j&16?Be(g,M,m,R,D,O,V,z,p):ne(g,D,O,!0):(T&8&&u(m,""),j&16&&w(M,m,R,D,O,V,z,p))},Ce=(h,A,m,R,D,O,V,z,p)=>{h=h||bt,A=A||bt;const g=h.length,T=A.length,M=Math.min(g,T);let K;for(K=0;KT?ne(h,D,O,!0,!1,M):w(A,m,R,D,O,V,z,p,M)},Be=(h,A,m,R,D,O,V,z,p)=>{let g=0;const T=A.length;let M=h.length-1,K=T-1;for(;g<=M&&g<=K;){const j=h[g],C=A[g]=p?Bo(A[g]):Po(A[g]);if(cn(j,C))S(j,C,m,null,D,O,V,z,p);else break;g++}for(;g<=M&&g<=K;){const j=h[M],C=A[K]=p?Bo(A[K]):Po(A[K]);if(cn(j,C))S(j,C,m,null,D,O,V,z,p);else break;M--,K--}if(g>M){if(g<=K){const j=K+1,C=jK)for(;g<=M;)we(h[g],D,O,!0),g++;else{const j=g,C=g,I=new Map;for(g=C;g<=K;g++){const ro=A[g]=p?Bo(A[g]):Po(A[g]);ro.key!=null&&I.set(ro.key,g)}let te,ge=0;const Pe=K-C+1;let eo=!1,He=0;const mt=new Array(Pe);for(g=0;g=Pe){we(ro,D,O,!0);continue}let No;if(ro.key!=null)No=I.get(ro.key);else for(te=C;te<=K;te++)if(mt[te-C]===0&&cn(ro,A[te])){No=te;break}No===void 0?we(ro,D,O,!0):(mt[No-C]=g+1,No>=He?He=No:eo=!0,S(ro,A[No],m,null,D,O,V,z,p),ge++)}const Js=eo?Gp(mt):bt;for(te=Js.length-1,g=Pe-1;g>=0;g--){const ro=C+g,No=A[ro],Xc=A[ro+1],Jc=ro+1{const{el:O,type:V,transition:z,children:p,shapeFlag:g}=h;if(g&6){xe(h.component.subTree,A,m,R);return}if(g&128){h.suspense.move(A,m,R);return}if(g&64){V.move(h,A,m,$e);return}if(V===Ve){n(O,A,m);for(let M=0;Mz.enter(O),D));else{const{leave:M,delayLeave:K,afterLeave:j}=z,C=()=>{h.ctx.isUnmounted?a(O):n(O,A,m)},I=()=>{const te=O._isLeaving||!!O[Da];O._isLeaving&&O[Da](!0),z.persisted&&!te?C():M(O,()=>{C(),j&&j()})};K?K(O,C,I):I()}else n(O,A,m)},we=(h,A,m,R=!1,D=!1)=>{const{type:O,props:V,ref:z,children:p,dynamicChildren:g,shapeFlag:T,patchFlag:M,dirs:K,cacheIndex:j,memo:C}=h;if(M===-2&&(D=!1),z!=null&&(Ao(),on(z,null,m,h,!0),So()),j!=null&&(A.renderCache[j]=void 0),T&256){A.ctx.deactivate(h);return}const I=T&1&&K,te=!Lt(h);let ge;if(te&&(ge=V&&V.onVnodeBeforeUnmount)&&Eo(ge,A,h),T&6)X(h.component,m,R);else{if(T&128){h.suspense.unmount(m,R);return}I&&ut(h,null,A,"beforeUnmount"),T&64?h.type.remove(h,A,m,$e,R):g&&!g.hasOnce&&(O!==Ve||M>0&&M&64)?ne(g,A,m,!1,!0):(O===Ve&&M&384||!D&&T&16)&&ne(p,A,m),R&&Z(h)}const Pe=C!=null&&j==null;(te&&(ge=V&&V.onVnodeUnmounted)||I||Pe)&&Ze(()=>{ge&&Eo(ge,A,h),I&&ut(h,null,A,"unmounted"),Pe&&(h.el=null)},m)},Z=h=>{const{type:A,el:m,anchor:R,transition:D}=h;if(A===Ve){ae(m,R);return}if(A===Ja){b(h);return}const O=()=>{a(m),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(h.shapeFlag&1&&D&&!D.persisted){const{leave:V,delayLeave:z}=D,p=()=>V(m,O);z?z(h.el,O,p):p()}else O()},ae=(h,A)=>{let m;for(;h!==A;)m=$(h),a(h),h=m;a(A)},X=(h,A,m)=>{const{bum:R,scope:D,job:O,subTree:V,um:z,m:p,a:g}=h;bi(p),bi(g),R&&ma(R),D.stop(),O&&(O.flags|=8,we(V,h,A,m)),z&&Ze(z,A),Ze(()=>{h.isUnmounted=!0},A)},ne=(h,A,m,R=!1,D=!1,O=0)=>{for(let V=O;V{if(h.shapeFlag&6)return J(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const A=$(h.anchor||h.el),m=A&&A[Gr];return m?$(m):A};let oe=!1;const Q=(h,A,m)=>{let R;h==null?A._vnode&&(we(A._vnode,null,null,!0),R=A._vnode.component):S(A._vnode||null,h,A,null,null,null,m),A._vnode=h,oe||(oe=!0,Mr(R),Ir(),oe=!1)},$e={p:S,um:we,m:xe,r:Z,mt:ee,mc:w,pc:ue,pbc:F,n:J,o:e};return{render:Q,hydrate:void 0,createApp:Ap(Q)}}function Ya({type:e,props:o},t){return t==="svg"&&e==="foreignObject"||t==="mathml"&&e==="annotation-xml"&&o&&o.encoding&&o.encoding.includes("html")?void 0:t}function dt({effect:e,job:o},t){t?(e.flags|=32,o.flags|=4):(e.flags&=-33,o.flags&=-5)}function Fp(e,o){return(!e||e&&!e.pendingBranch)&&o&&!o.persisted}function Xa(e,o,t=!1){const n=e.children,a=o.children;if(se(n)&&se(a))for(let s=0;s>1,e[t[i]]0&&(o[n]=t[s-1]),t[s]=n)}}for(s=t.length,r=t[s-1];s-- >0;)t[s]=r,r=o[r];return t}function _i(e){const o=e.subTree.component;if(o)return o.asyncDep&&!o.asyncResolved?o:_i(o)}function bi(e){if(e)for(let o=0;oe.__isSuspense;function Bp(e,o){o&&o.pendingBranch?se(e)?o.effects.push(...e):o.effects.push(e):Ku(e)}const Ve=Symbol.for("v-fgt"),sn=Symbol.for("v-txt"),wo=Symbol.for("v-cmt"),Ja=Symbol.for("v-stc"),Fo=[];let so=null;function ye(e=!1){Fo.push(so=e?null:[])}function Za(){Fo.pop(),so=Fo[Fo.length-1]||null}let rn=1;function Xn(e,o=!1){rn+=e,e<0&&so&&o&&(so.hasOnce=!0)}function Ai(e){return e.dynamicChildren=rn>0?so||bt:null,Za(),rn>0&&so&&so.push(e),e}function Re(e,o,t,n,a,s){return Ai(re(e,o,t,n,a,s,!0))}function ht(e,o,t,n,a){return Ai(Ne(e,o,t,n,a,!0))}function ln(e){return e?e.__v_isVNode===!0:!1}function cn(e,o){return e.type===o.type&&e.key===o.key}const Si=({key:e})=>e??null,Jn=({ref:e,ref_key:o,ref_for:t})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Te(e)||le(e)?{i:Xe,r:e,k:o,f:!!t}:e:null);function re(e,o=null,t=null,n=0,a=null,s=e===Ve?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:o,key:o&&Si(o),ref:o&&Jn(o),scopeId:Dr,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Xe};return i?(Zn(l,t),s&128&&e.normalize(l)):t&&(l.shapeFlag|=Se(t)?8:16),rn>0&&!r&&so&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&so.push(l),l}const Ne=jp;function jp(e,o=null,t=null,n=0,a=null,s=!1){if((!e||e===Wr)&&(e=wo),ln(e)){const i=Pt(e,o,!0);return t&&Zn(i,t),rn>0&&!s&&so&&(i.shapeFlag&6?so[so.indexOf(e)]=i:so.push(i)),i.patchFlag=-2,i}if(Qp(e)&&(e=e.__vccOpts),o){o=Up(o);let{class:i,style:l}=o;i&&!Se(i)&&(o.class=oo(i)),be(l)&&(In(l)&&!se(l)&&(l=Me({},l)),o.style=Ut(l))}const r=Se(e)?1:vi(e)?128:jn(e)?64:be(e)?4:le(e)?2:0;return re(e,o,t,n,a,r,s,!0)}function Up(e){return e?In(e)||pi(e)?Me({},e):e:null}function Pt(e,o,t=!1,n=!1){const{props:a,ref:s,patchFlag:r,children:i,transition:l}=e,c=o?zp(a||{},o):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Si(c),ref:o&&o.ref?t&&s?se(s)?s.concat(Jn(o)):[s,Jn(o)]:Jn(o):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:o&&e.type!==Ve?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Fa(u,l.clone(u)),u}function $o(e=" ",o=0){return Ne(sn,null,e,o)}function Go(e="",o=!1){return o?(ye(),ht(wo,null,e)):Ne(wo,null,e)}function Po(e){return e==null||typeof e=="boolean"?Ne(wo):se(e)?Ne(Ve,null,e.slice()):ln(e)?Bo(e):Ne(sn,null,String(e))}function Bo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function Zn(e,o){let t=0;const{shapeFlag:n}=e;if(o==null)o=null;else if(se(o))t=16;else if(typeof o=="object")if(n&65){const a=o.default;a&&(a._c&&(a._d=!1),Zn(e,a()),a._c&&(a._d=!0));return}else{t=32;const a=o._;!a&&!pi(o)?o._ctx=Xe:a===3&&Xe&&(Xe.slots._===1?o._=1:(o._=2,e.patchFlag|=1024))}else if(le(o)){if(n&65){Zn(e,{default:o});return}o={default:o,_ctx:Xe},t=32}else o=String(o),n&64?(t=16,o=[$o(o)]):t=8;e.children=o,e.shapeFlag|=t}function zp(...e){const o={};for(let t=0;tKe||Xe;let Qn,un;{const e=wn(),o=(t,n)=>{let a;return(a=e[t])||(a=e[t]=[]),a.push(n),s=>{a.length>1?a.forEach(r=>r(s)):a[0](s)}};Qn=o("__VUE_INSTANCE_SETTERS__",t=>Ke=t),un=o("__VUE_SSR_SETTERS__",t=>Et=t)}const pn=e=>{const o=Ke;return Qn(e),e.scope.on(),()=>{e.scope.off(),Qn(o)}},ki=()=>{Ke&&Ke.scope.off(),Qn(null)};function Li(e){return e.vnode.shapeFlag&4}let Et=!1;function Hp(e,o=!1,t=!1){o&&un(o);const{props:n,children:a}=e.vnode,s=Li(e);Tp(e,n,s,o),Mp(e,a,t||o);const r=s?Wp(e,o):void 0;return o&&un(!1),r}function Wp(e,o){const t=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fp);const{setup:n}=t;if(n){Ao();const a=e.setupContext=n.length>1?Xp(e):null,s=pn(e),r=At(n,e,0,[e.props,a]),i=er(r);if(So(),s(),(i||e.sp)&&!Lt(e)&&Ga(e),i){if(r.then(ki,ki),o)return r.then(l=>{un(!0);try{wi(e,l,o)}finally{un(!1)}}).catch(l=>{Xt(l,e,0)});e.asyncDep=r}else wi(e,r)}else Pi(e)}function wi(e,o,t){le(o)?e.type.__ssrInlineRender?e.ssrRender=o:e.render=o:be(o)&&(e.setupState=Tr(o)),Pi(e)}function Pi(e,o,t){const n=e.type;e.render||(e.render=n.render||yo);{const a=pn(e);Ao();try{$p(e)}finally{So(),a()}}}const Yp={get(e,o){return We(e,"get",""),e[o]}};function Xp(e){const o=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Yp),slots:e.slots,emit:e.emit,expose:o}}function Qa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Tr(Wt(e.exposed)),{get(o,t){if(t in o)return o[t];if(t in nn)return nn[t](e)},has(o,t){return t in o||t in nn}})):e.proxy}const Jp=/(?:^|[-_])\w/g,Zp=e=>e.replace(Jp,o=>o.toUpperCase()).replace(/[-_]/g,"");function Ei(e,o=!0){return le(e)?e.displayName||e.name:e.name||o&&e.__name}function Ci(e,o,t=!1){let n=Ei(o);if(!n&&o.__file){const a=o.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=s=>{for(const r in s)if(s[r]===o)return r};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Zp(n):t?"App":"Anonymous"}function Qp(e){return le(e)&&"__vccOpts"in e}const _e=(e,o)=>Ou(e,o,Et);function Ti(e,o,t){try{Xn(-1);const n=arguments.length;return n===2?be(o)&&!se(o)?ln(o)?Ne(e,null,[o]):Ne(e,o):Ne(e,null,o):(n>3?t=Array.prototype.slice.call(arguments,2):n===3&&ln(t)&&(t=[t]),Ne(e,o,t))}finally{Xn(1)}}const eg="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -39,7 +39,7 @@ * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const h_="9.14.5";function f_(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(zo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(zo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(zo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zo().__INTLIFY_PROD_DEVTOOLS__=!1)}const $_=Hm.__EXTEND_POINT__,Ko=aa($_);Ko(),Ko(),Ko(),Ko(),Ko(),Ko(),Ko(),Ko(),Ko();const Yl=bo.__EXTEND_POINT__,to=aa(Yl),Ge={UNEXPECTED_RETURN_TYPE:Yl,INVALID_ARGUMENT:to(),MUST_BE_CALL_SETUP_TOP:to(),NOT_INSTALLED:to(),NOT_AVAILABLE_IN_LEGACY_MODE:to(),REQUIRED_VALUE:to(),INVALID_VALUE:to(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:to(),NOT_INSTALLED_WITH_PROVIDE:to(),UNEXPECTED_ERROR:to(),NOT_COMPATIBLE_LEGACY_VUE_I18N:to(),BRIDGE_SUPPORT_VUE_2_ONLY:to(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:to(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:to(),__EXTEND_POINT__:to()};function ze(e,...o){return Nt(e,null,void 0)}const As=Qo("__translateVNode"),Ss=Qo("__datetimeParts"),ks=Qo("__numberParts"),Xl=Qo("__setPluralRules"),Jl=Qo("__injectWithOption"),Ls=Qo("__dispose");function mn(e){if(!fe(e)||Co(e))return e;for(const o in e)if(mo(e,o))if(!o.includes("."))fe(e[o])&&mn(e[o]);else{const t=o.split("."),n=t.length-1;let a=e,s=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||ve(),ra(c,r[l])):ra(c,r)}else Y(i)&&ra(JSON.parse(i),r)}),a==null&&s)for(const i in r)mo(r,i)&&mn(r[i]);return r}function Zl(e){return e.type}function Ql(e,o,t){let n=fe(o.messages)?o.messages:ve();"__i18nGlobal"in t&&(n=ua(e.locale.value,{messages:n,__i18n:t.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(fe(o.datetimeFormats)){const s=Object.keys(o.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,o.datetimeFormats[r])})}if(fe(o.numberFormats)){const s=Object.keys(o.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,o.numberFormats[r])})}}}function ec(e){return Ne(sn,null,e,0)}const oc="__INTLIFY_META__",tc=()=>[],m_=()=>!1;let nc=0;function ac(e){return(o,t,n,a)=>e(t,n,jo()||void 0,a)}const __=()=>{const e=jo();let o=null;return e&&(o=Zl(e)[oc])?{[oc]:o}:null};function ws(e={},o){const{__root:t,__injectWithOption:n}=e,a=t===void 0,s=e.flatJson,r=ta?pe:Na,i=!!e.translateExistCompatible;let l=de(e.inheritLocale)?e.inheritLocale:!0;const c=r(t&&l?t.locale.value:Y(e.locale)?e.locale:Mt),u=r(t&&l?t.fallbackLocale.value:Y(e.fallbackLocale)||Ee(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=r(ua(c.value,e)),$=r(ce(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),_=r(ce(e.numberFormats)?e.numberFormats:{[c.value]:{}});let L=t?t.missingWarn:de(e.missingWarn)||et(e.missingWarn)?e.missingWarn:!0,S=t?t.fallbackWarn:de(e.fallbackWarn)||et(e.fallbackWarn)?e.fallbackWarn:!0,N=t?t.fallbackRoot:de(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,k=Le(e.missing)?e.missing:null,y=Le(e.missing)?ac(e.missing):null,b=Le(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:de(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const P=t?t.modifiers:ce(e.modifiers)?e.modifiers:{};let w=e.pluralRules||t&&t.pluralRules,f;f=(()=>{a&&Ml(null);const C={version:h_,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:P,pluralRules:w,missing:y===null?void 0:y,missingWarn:L,fallbackWarn:S,fallbackFormat:x,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:E,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=$.value,C.numberFormats=_.value,C.__datetimeFormatters=ce(f)?f.__datetimeFormatters:void 0,C.__numberFormatters=ce(f)?f.__numberFormatters:void 0;const I=a_(C);return a&&Ml(I),I})(),$n(f,c.value,u.value);function G(){return[c.value,u.value,d.value,$.value,_.value]}const B=_e({get:()=>c.value,set:C=>{c.value=C,f.locale=c.value}}),W=_e({get:()=>u.value,set:C=>{u.value=C,f.fallbackLocale=u.value,$n(f,c.value,C)}}),ee=_e(()=>d.value),U=_e(()=>$.value),q=_e(()=>_.value);function H(){return Le(b)?b:null}function ue(C){b=C,f.postTranslation=C}function Ce(){return k}function Be(C){C!==null&&(y=ac(C)),k=C,f.missing=y}const xe=(C,I,te,ge,Pe,eo)=>{G();let He;try{__INTLIFY_PROD_DEVTOOLS__,a||(f.fallbackContext=t?n_():void 0),He=C(f)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(f.fallbackContext=void 0)}if(te!=="translate exists"&&Oe(He)&&He===ca||te==="translate exists"&&!He){const[mt,Js]=I();return t&&N?ge(t):Pe(mt)}else{if(eo(He))return He;throw ze(Ge.UNEXPECTED_RETURN_TYPE)}};function we(...C){return xe(I=>Reflect.apply(Bl,null,[I,...C]),()=>bs(...C),"translate",I=>Reflect.apply(I.t,I,[...C]),I=>I,I=>Y(I))}function Z(...C){const[I,te,ge]=C;if(ge&&!fe(ge))throw ze(Ge.INVALID_ARGUMENT);return we(I,te,qe({resolvedMessage:!0},ge||{}))}function ae(...C){return xe(I=>Reflect.apply(zl,null,[I,...C]),()=>ys(...C),"datetime format",I=>Reflect.apply(I.d,I,[...C]),()=>wl,I=>Y(I))}function X(...C){return xe(I=>Reflect.apply(ql,null,[I,...C]),()=>vs(...C),"number format",I=>Reflect.apply(I.n,I,[...C]),()=>wl,I=>Y(I))}function ne(C){return C.map(I=>Y(I)||Oe(I)||de(I)?ec(String(I)):I)}const oe={normalize:ne,interpolate:C=>C,type:"vnode"};function Q(...C){return xe(I=>{let te;const ge=I;try{ge.processor=oe,te=Reflect.apply(Bl,null,[ge,...C])}finally{ge.processor=null}return te},()=>bs(...C),"translate",I=>I[As](...C),I=>[ec(I)],I=>Ee(I))}function $e(...C){return xe(I=>Reflect.apply(ql,null,[I,...C]),()=>vs(...C),"number format",I=>I[ks](...C),tc,I=>Y(I)||Ee(I))}function De(...C){return xe(I=>Reflect.apply(zl,null,[I,...C]),()=>ys(...C),"datetime format",I=>I[Ss](...C),tc,I=>Y(I)||Ee(I))}function h(C){w=C,f.pluralRules=w}function A(C,I){return xe(()=>{if(!C)return!1;const te=Y(I)?I:c.value,ge=D(te),Pe=f.messageResolver(ge,C);return i?Pe!=null:Co(Pe)||co(Pe)||Y(Pe)},()=>[C],"translate exists",te=>Reflect.apply(te.te,te,[C,I]),m_,te=>de(te))}function m(C){let I=null;const te=kl(f,u.value,c.value);for(let ge=0;ge{l&&(c.value=C,f.locale=C,$n(f,c.value,u.value))}),fo(t.fallbackLocale,C=>{l&&(u.value=C,f.fallbackLocale=C,$n(f,c.value,u.value))}));const j={id:nc,locale:B,fallbackLocale:W,get inheritLocale(){return l},set inheritLocale(C){l=C,C&&t&&(c.value=t.locale.value,u.value=t.fallbackLocale.value,$n(f,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:ee,get modifiers(){return P},get pluralRules(){return w||{}},get isGlobal(){return a},get missingWarn(){return L},set missingWarn(C){L=C,f.missingWarn=L},get fallbackWarn(){return S},set fallbackWarn(C){S=C,f.fallbackWarn=S},get fallbackRoot(){return N},set fallbackRoot(C){N=C},get fallbackFormat(){return x},set fallbackFormat(C){x=C,f.fallbackFormat=x},get warnHtmlMessage(){return E},set warnHtmlMessage(C){E=C,f.warnHtmlMessage=C},get escapeParameter(){return v},set escapeParameter(C){v=C,f.escapeParameter=C},t:we,getLocaleMessage:D,setLocaleMessage:O,mergeLocaleMessage:V,getPostTranslationHandler:H,setPostTranslationHandler:ue,getMissingHandler:Ce,setMissingHandler:Be,[Xl]:h};return j.datetimeFormats=U,j.numberFormats=q,j.rt=Z,j.te=A,j.tm=R,j.d=ae,j.n=X,j.getDateTimeFormat=z,j.setDateTimeFormat=p,j.mergeDateTimeFormat=g,j.getNumberFormat=T,j.setNumberFormat=M,j.mergeNumberFormat=K,j[Jl]=n,j[As]=Q,j[Ss]=De,j[ks]=$e,j}function b_(e){const o=Y(e.locale)?e.locale:Mt,t=Y(e.fallbackLocale)||Ee(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,n=Le(e.missing)?e.missing:void 0,a=de(e.silentTranslationWarn)||et(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=de(e.silentFallbackWarn)||et(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=de(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=ce(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Le(e.postTranslation)?e.postTranslation:void 0,d=Y(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,$=!!e.escapeParameterHtml,_=de(e.sync)?e.sync:!0;let L=e.messages;if(ce(e.sharedMessages)){const v=e.sharedMessages;L=Object.keys(v).reduce((w,f)=>{const F=w[f]||(w[f]={});return qe(F,v[f]),w},L||{})}const{__i18n:S,__root:N,__injectWithOption:x}=e,k=e.datetimeFormats,y=e.numberFormats,b=e.flatJson,E=e.translateExistCompatible;return{locale:o,fallbackLocale:t,messages:L,flatJson:b,datetimeFormats:k,numberFormats:y,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:$,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:E,__i18n:S,__root:N,__injectWithOption:x}}function Ps(e={},o){{const t=ws(b_(e)),{__extender:n}=e,a={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return de(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=de(s)?!s:s},get silentFallbackWarn(){return de(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=de(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){const[r,i,l]=s,c={};let u=null,d=null;if(!Y(r))throw ze(Ge.INVALID_ARGUMENT);const $=r;return Y(i)?c.locale=i:Ee(i)?u=i:ce(i)&&(d=i),Ee(l)?u=l:ce(l)&&(d=l),Reflect.apply(t.t,t,[$,u||d||{},c])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[r,i,l]=s,c={plural:1};let u=null,d=null;if(!Y(r))throw ze(Ge.INVALID_ARGUMENT);const $=r;return Y(i)?c.locale=i:Oe(i)?c.plural=i:Ee(i)?u=i:ce(i)&&(d=i),Y(l)?c.locale=l:Ee(l)?u=l:ce(l)&&(d=l),Reflect.apply(t.t,t,[$,u||d||{},c])},te(s,r){return t.te(s,r)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,r){t.setLocaleMessage(s,r)},mergeLocaleMessage(s,r){t.mergeLocaleMessage(s,r)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,r){t.setDateTimeFormat(s,r)},mergeDateTimeFormat(s,r){t.mergeDateTimeFormat(s,r)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,r){t.setNumberFormat(s,r)},mergeNumberFormat(s,r){t.mergeNumberFormat(s,r)},getChoiceIndex(s,r){return-1}};return a.__extender=n,a}}const Es={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function y_({slots:e},o){return o.length===1&&o[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ve?a.children:[a]],[]):o.reduce((t,n)=>{const a=e[n];return a&&(t[n]=a()),t},ve())}function sc(e){return Ve}const rc=en({name:"i18n-t",props:qe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Oe(e)||!isNaN(e)}},Es),setup(e,o){const{slots:t,attrs:n}=o,a=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(t).filter(d=>d!=="_"),r=ve();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=Y(e.plural)?+e.plural:e.plural);const i=y_(o,s),l=a[As](e.keypath,i,r),c=qe(ve(),n),u=Y(e.tag)||fe(e.tag)?e.tag:sc();return Ti(u,c,l)}}});function v_(e){return Ee(e)&&!Y(e[0])}function ic(e,o,t,n){const{slots:a,attrs:s}=o;return()=>{const r={part:!0};let i=ve();e.locale&&(r.locale=e.locale),Y(e.format)?r.key=e.format:fe(e.format)&&(Y(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce(($,_)=>t.includes(_)?qe(ve(),$,{[_]:e.format[_]}):$,ve()));const l=n(e.value,r,i);let c=[r.key];Ee(l)?c=l.map(($,_)=>{const L=a[$.type],S=L?L({[$.type]:$.value,index:_,parts:l}):[$.value];return v_(S)&&(S[0].key=`${$.type}-${_}`),S}):Y(l)&&(c=[l]);const u=qe(ve(),s),d=Y(e.tag)||fe(e.tag)?e.tag:sc();return Ti(d,u,c)}}const lc=en({name:"i18n-n",props:qe({value:{type:Number,required:!0},format:{type:[String,Object]}},Es),setup(e,o){const t=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return ic(e,o,Hl,(...n)=>t[ks](...n))}}),cc=en({name:"i18n-d",props:qe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Es),setup(e,o){const t=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return ic(e,o,Vl,(...n)=>t[Ss](...n))}});function A_(e,o){const t=e;if(e.mode==="composition")return t.__getInstance(o)||e.global;{const n=t.__getInstance(o);return n!=null?n.__composer:e.global.__composer}}function S_(e){const o=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw ze(Ge.UNEXPECTED_ERROR);const u=A_(e,i.$),d=uc(c);return[Reflect.apply(u.t,u,[...pc(d)]),u]};return{created:(r,i)=>{const[l,c]=o(i);ta&&e.global===c&&(r.__i18nWatcher=fo(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{ta&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=uc(i);r.textContent=Reflect.apply(l.t,l,[...pc(c)])}},getSSRProps:r=>{const[i]=o(r);return{textContent:i}}}}function uc(e){if(Y(e))return{path:e};if(ce(e)){if(!("path"in e))throw ze(Ge.REQUIRED_VALUE,"path");return e}else throw ze(Ge.INVALID_VALUE)}function pc(e){const{path:o,locale:t,args:n,choice:a,plural:s}=e,r={},i=n||{};return Y(t)&&(r.locale=t),Oe(a)&&(r.plural=a),Oe(s)&&(r.plural=s),[o,i,r]}function k_(e,o,...t){const n=ce(t[0])?t[0]:{},a=!!n.useI18nComponentName;(de(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":rc.name,"I18nT"].forEach(r=>e.component(r,rc)),[lc.name,"I18nN"].forEach(r=>e.component(r,lc)),[cc.name,"I18nD"].forEach(r=>e.component(r,cc))),e.directive("t",S_(o))}function L_(e,o,t){return{beforeCreate(){const n=jo();if(!n)throw ze(Ge.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=o,this===this.$root)this.$i18n=gc(e,s);else{s.__injectWithOption=!0,s.__extender=t.__vueI18nExtend,this.$i18n=Ps(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=gc(e,a);else{this.$i18n=Ps({__i18n:a.__i18n,__injectWithOption:!0,__extender:t.__vueI18nExtend,__root:o});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ql(o,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),t.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=jo();if(!n)throw ze(Ge.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),t.__deleteInstance(n),delete this.$i18n}}}function gc(e,o){e.locale=o.locale||e.locale,e.fallbackLocale=o.fallbackLocale||e.fallbackLocale,e.missing=o.missing||e.missing,e.silentTranslationWarn=o.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=o.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=o.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=o.postTranslation||e.postTranslation,e.warnHtmlInMessage=o.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=o.escapeParameterHtml||e.escapeParameterHtml,e.sync=o.sync||e.sync,e.__composer[Xl](o.pluralizationRules||e.pluralizationRules);const t=ua(e.locale,{messages:o.messages,__i18n:o.__i18n});return Object.keys(t).forEach(n=>e.mergeLocaleMessage(n,t[n])),o.datetimeFormats&&Object.keys(o.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,o.datetimeFormats[n])),o.numberFormats&&Object.keys(o.numberFormats).forEach(n=>e.mergeNumberFormat(n,o.numberFormats[n])),e}const w_=Qo("global-vue-i18n");function P_(e={},o){const t=__VUE_I18N_LEGACY_API__&&de(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=de(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&t?!!e.allowComposition:!0,s=new Map,[r,i]=E_(e,t),l=Qo("");function c($){return s.get($)||null}function u($,_){s.set($,_)}function d($){s.delete($)}{const $={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},get allowComposition(){return a},async install(_,...L){if(_.__VUE_I18N_SYMBOL__=l,_.provide(_.__VUE_I18N_SYMBOL__,$),ce(L[0])){const x=L[0];$.__composerExtend=x.__composerExtend,$.__vueI18nExtend=x.__vueI18nExtend}let S=null;!t&&n&&(S=D_(_,$.global)),__VUE_I18N_FULL_INSTALL__&&k_(_,$,...L),__VUE_I18N_LEGACY_API__&&t&&_.mixin(L_(i,i.__composer,$));const N=_.unmount;_.unmount=()=>{S&&S(),$.dispose(),N()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:d};return $}}function Ot(e={}){const o=jo();if(o==null)throw ze(Ge.MUST_BE_CALL_SETUP_TOP);if(!o.isCE&&o.appContext.app!=null&&!o.appContext.app.__VUE_I18N_SYMBOL__)throw ze(Ge.NOT_INSTALLED);const t=C_(o),n=N_(t),a=Zl(o),s=T_(e,a);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!e.__useComponent){if(!t.allowComposition)throw ze(Ge.NOT_AVAILABLE_IN_LEGACY_MODE);return I_(o,s,n,e)}if(s==="global")return Ql(n,e,a),n;if(s==="parent"){let l=x_(t,o,e.__useComponent);return l==null&&(l=n),l}const r=t;let i=r.__getInstance(o);if(i==null){const l=qe({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=ws(l),r.__composerExtend&&(i[Ls]=r.__composerExtend(i)),M_(r,o,i),r.__setInstance(o,i)}return i}function E_(e,o,t){const n=ba();{const a=__VUE_I18N_LEGACY_API__&&o?n.run(()=>Ps(e)):n.run(()=>ws(e));if(a==null)throw ze(Ge.UNEXPECTED_ERROR);return[n,a]}}function C_(e){{const o=Ie(e.isCE?w_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!o)throw ze(e.isCE?Ge.NOT_INSTALLED_WITH_PROVIDE:Ge.UNEXPECTED_ERROR);return o}}function T_(e,o){return na(e)?"__i18n"in o?"local":"global":e.useScope?e.useScope:"local"}function N_(e){return e.mode==="composition"?e.global:e.global.__composer}function x_(e,o,t=!1){let n=null;const a=o.root;let s=R_(o,t);for(;s!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(s);i!=null&&(n=i.__composer,t&&n&&!n[Jl]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function R_(e,o=!1){return e==null?null:o&&e.vnode.ctx||e.parent}function M_(e,o,t){wt(()=>{},o),Hn(()=>{const n=t;e.__deleteInstance(o);const a=n[Ls];a&&(a(),delete n[Ls])},o)}function I_(e,o,t,n={}){const a=o==="local",s=Na(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ze(Ge.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=de(n.inheritLocale)?n.inheritLocale:!Y(n.locale),i=pe(!a||r?t.locale.value:Y(n.locale)?n.locale:Mt),l=pe(!a||r?t.fallbackLocale.value:Y(n.fallbackLocale)||Ee(n.fallbackLocale)||ce(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=pe(ua(i.value,n)),u=pe(ce(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=pe(ce(n.numberFormats)?n.numberFormats:{[i.value]:{}}),$=a?t.missingWarn:de(n.missingWarn)||et(n.missingWarn)?n.missingWarn:!0,_=a?t.fallbackWarn:de(n.fallbackWarn)||et(n.fallbackWarn)?n.fallbackWarn:!0,L=a?t.fallbackRoot:de(n.fallbackRoot)?n.fallbackRoot:!0,S=!!n.fallbackFormat,N=Le(n.missing)?n.missing:null,x=Le(n.postTranslation)?n.postTranslation:null,k=a?t.warnHtmlMessage:de(n.warnHtmlMessage)?n.warnHtmlMessage:!0,y=!!n.escapeParameter,b=a?t.modifiers:ce(n.modifiers)?n.modifiers:{},E=n.pluralRules||a&&t.pluralRules;function v(){return[i.value,l.value,c.value,u.value,d.value]}const P=_e({get:()=>s.value?s.value.locale.value:i.value,set:m=>{s.value&&(s.value.locale.value=m),i.value=m}}),w=_e({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:m=>{s.value&&(s.value.fallbackLocale.value=m),l.value=m}}),f=_e(()=>s.value?s.value.messages.value:c.value),F=_e(()=>u.value),G=_e(()=>d.value);function B(){return s.value?s.value.getPostTranslationHandler():x}function W(m){s.value&&s.value.setPostTranslationHandler(m)}function ee(){return s.value?s.value.getMissingHandler():N}function U(m){s.value&&s.value.setMissingHandler(m)}function q(m){return v(),m()}function H(...m){return s.value?q(()=>Reflect.apply(s.value.t,null,[...m])):q(()=>"")}function ue(...m){return s.value?Reflect.apply(s.value.rt,null,[...m]):""}function Ce(...m){return s.value?q(()=>Reflect.apply(s.value.d,null,[...m])):q(()=>"")}function Be(...m){return s.value?q(()=>Reflect.apply(s.value.n,null,[...m])):q(()=>"")}function xe(m){return s.value?s.value.tm(m):{}}function we(m,R){return s.value?s.value.te(m,R):!1}function Z(m){return s.value?s.value.getLocaleMessage(m):{}}function ae(m,R){s.value&&(s.value.setLocaleMessage(m,R),c.value[m]=R)}function X(m,R){s.value&&s.value.mergeLocaleMessage(m,R)}function ne(m){return s.value?s.value.getDateTimeFormat(m):{}}function J(m,R){s.value&&(s.value.setDateTimeFormat(m,R),u.value[m]=R)}function oe(m,R){s.value&&s.value.mergeDateTimeFormat(m,R)}function Q(m){return s.value?s.value.getNumberFormat(m):{}}function $e(m,R){s.value&&(s.value.setNumberFormat(m,R),d.value[m]=R)}function De(m,R){s.value&&s.value.mergeNumberFormat(m,R)}const h={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:w,messages:f,datetimeFormats:F,numberFormats:G,get inheritLocale(){return s.value?s.value.inheritLocale:r},set inheritLocale(m){s.value&&(s.value.inheritLocale=m)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:E},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:$},set missingWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackWarn(){return s.value?s.value.fallbackWarn:_},set fallbackWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackRoot(){return s.value?s.value.fallbackRoot:L},set fallbackRoot(m){s.value&&(s.value.fallbackRoot=m)},get fallbackFormat(){return s.value?s.value.fallbackFormat:S},set fallbackFormat(m){s.value&&(s.value.fallbackFormat=m)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:k},set warnHtmlMessage(m){s.value&&(s.value.warnHtmlMessage=m)},get escapeParameter(){return s.value?s.value.escapeParameter:y},set escapeParameter(m){s.value&&(s.value.escapeParameter=m)},t:H,getPostTranslationHandler:B,setPostTranslationHandler:W,getMissingHandler:ee,setMissingHandler:U,rt:ue,d:Ce,n:Be,tm:xe,te:we,getLocaleMessage:Z,setLocaleMessage:ae,mergeLocaleMessage:X,getDateTimeFormat:ne,setDateTimeFormat:J,mergeDateTimeFormat:oe,getNumberFormat:Q,setNumberFormat:$e,mergeNumberFormat:De};function A(m){m.locale.value=i.value,m.fallbackLocale.value=l.value,Object.keys(c.value).forEach(R=>{m.mergeLocaleMessage(R,c.value[R])}),Object.keys(u.value).forEach(R=>{m.mergeDateTimeFormat(R,u.value[R])}),Object.keys(d.value).forEach(R=>{m.mergeNumberFormat(R,d.value[R])}),m.escapeParameter=y,m.fallbackFormat=S,m.fallbackRoot=L,m.fallbackWarn=_,m.missingWarn=$,m.warnHtmlMessage=k}return Hr(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ze(Ge.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const m=s.value=e.proxy.$i18n.__composer;o==="global"?(i.value=m.locale.value,l.value=m.fallbackLocale.value,c.value=m.messages.value,u.value=m.datetimeFormats.value,d.value=m.numberFormats.value):a&&A(m)}),h}const O_=["locale","fallbackLocale","availableLocales"],dc=["t","rt","d","n","tm","te"];function D_(e,o){const t=Object.create(null);return O_.forEach(a=>{const s=Object.getOwnPropertyDescriptor(o,a);if(!s)throw ze(Ge.UNEXPECTED_ERROR);const r=Te(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(t,a,r)}),e.config.globalProperties.$i18n=t,dc.forEach(a=>{const s=Object.getOwnPropertyDescriptor(o,a);if(!s||!s.value)throw ze(Ge.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,dc.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(f_(),__INTLIFY_JIT_COMPILATION__?Cl(c_):Cl(l_),Qm(Rm),e_(kl),__INTLIFY_PROD_DEVTOOLS__){const e=zo();e.__INTLIFY__=!0,Um(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const F_=Object.assign({"./locales/ar/allPeopleGroups.json":Gg,"./locales/ar/aria.json":Bg,"./locales/ar/buttons.json":jg,"./locales/ar/connectivity.json":Ug,"./locales/ar/controls.json":zg,"./locales/ar/dashboard.json":Vg,"./locales/ar/detail.json":Kg,"./locales/ar/gospel.json":qg,"./locales/ar/grid.json":Hg,"./locales/ar/legend.json":Wg,"./locales/ar/messages.json":Yg,"./locales/ar/options.json":Xg,"./locales/ar/popup.json":Jg,"./locales/ar/prayerLaps.json":Zg,"./locales/ar/regions.json":Qg,"./locales/ar/search.json":ed,"./locales/ar/studio.json":od,"./locales/ar/tabs.json":td,"./locales/ar/vision.json":nd,"./locales/de/allPeopleGroups.json":ad,"./locales/de/aria.json":sd,"./locales/de/buttons.json":rd,"./locales/de/connectivity.json":id,"./locales/de/controls.json":ld,"./locales/de/dashboard.json":cd,"./locales/de/detail.json":ud,"./locales/de/gospel.json":pd,"./locales/de/grid.json":gd,"./locales/de/legend.json":dd,"./locales/de/messages.json":hd,"./locales/de/options.json":fd,"./locales/de/popup.json":$d,"./locales/de/prayerLaps.json":md,"./locales/de/regions.json":_d,"./locales/de/search.json":bd,"./locales/de/studio.json":yd,"./locales/de/tabs.json":vd,"./locales/de/vision.json":Ad,"./locales/en/allPeopleGroups.json":Sd,"./locales/en/aria.json":kd,"./locales/en/buttons.json":Ld,"./locales/en/connectivity.json":wd,"./locales/en/controls.json":Pd,"./locales/en/dashboard.json":Ed,"./locales/en/detail.json":Cd,"./locales/en/gospel.json":Td,"./locales/en/grid.json":Nd,"./locales/en/legend.json":xd,"./locales/en/messages.json":Rd,"./locales/en/options.json":Md,"./locales/en/popup.json":Id,"./locales/en/prayerLaps.json":Od,"./locales/en/regions.json":Dd,"./locales/en/search.json":Fd,"./locales/en/studio.json":Gd,"./locales/en/tabs.json":Bd,"./locales/en/vision.json":jd,"./locales/es/allPeopleGroups.json":Ud,"./locales/es/aria.json":zd,"./locales/es/buttons.json":Vd,"./locales/es/connectivity.json":Kd,"./locales/es/controls.json":qd,"./locales/es/dashboard.json":Hd,"./locales/es/detail.json":Wd,"./locales/es/gospel.json":Yd,"./locales/es/grid.json":Xd,"./locales/es/legend.json":Jd,"./locales/es/messages.json":Zd,"./locales/es/options.json":Qd,"./locales/es/popup.json":eh,"./locales/es/prayerLaps.json":oh,"./locales/es/regions.json":th,"./locales/es/search.json":nh,"./locales/es/studio.json":ah,"./locales/es/tabs.json":sh,"./locales/es/vision.json":rh,"./locales/fr/allPeopleGroups.json":ih,"./locales/fr/aria.json":lh,"./locales/fr/buttons.json":ch,"./locales/fr/connectivity.json":uh,"./locales/fr/controls.json":ph,"./locales/fr/dashboard.json":gh,"./locales/fr/detail.json":dh,"./locales/fr/gospel.json":hh,"./locales/fr/grid.json":fh,"./locales/fr/legend.json":$h,"./locales/fr/messages.json":mh,"./locales/fr/options.json":_h,"./locales/fr/popup.json":bh,"./locales/fr/prayerLaps.json":yh,"./locales/fr/regions.json":vh,"./locales/fr/search.json":Ah,"./locales/fr/studio.json":Sh,"./locales/fr/tabs.json":kh,"./locales/fr/vision.json":Lh,"./locales/hi/allPeopleGroups.json":wh,"./locales/hi/aria.json":Ph,"./locales/hi/buttons.json":Eh,"./locales/hi/connectivity.json":Ch,"./locales/hi/controls.json":Th,"./locales/hi/dashboard.json":Nh,"./locales/hi/detail.json":xh,"./locales/hi/gospel.json":Rh,"./locales/hi/grid.json":Mh,"./locales/hi/legend.json":Ih,"./locales/hi/messages.json":Oh,"./locales/hi/options.json":Dh,"./locales/hi/popup.json":Fh,"./locales/hi/prayerLaps.json":Gh,"./locales/hi/regions.json":Bh,"./locales/hi/search.json":jh,"./locales/hi/studio.json":Uh,"./locales/hi/tabs.json":zh,"./locales/hi/vision.json":Vh,"./locales/it/allPeopleGroups.json":Kh,"./locales/it/aria.json":qh,"./locales/it/buttons.json":Hh,"./locales/it/connectivity.json":Wh,"./locales/it/controls.json":Yh,"./locales/it/dashboard.json":Xh,"./locales/it/detail.json":Jh,"./locales/it/gospel.json":Zh,"./locales/it/grid.json":Qh,"./locales/it/legend.json":ef,"./locales/it/messages.json":of,"./locales/it/options.json":tf,"./locales/it/popup.json":nf,"./locales/it/prayerLaps.json":af,"./locales/it/regions.json":sf,"./locales/it/search.json":rf,"./locales/it/studio.json":lf,"./locales/it/tabs.json":cf,"./locales/it/vision.json":uf,"./locales/pt/allPeopleGroups.json":pf,"./locales/pt/aria.json":gf,"./locales/pt/buttons.json":df,"./locales/pt/connectivity.json":hf,"./locales/pt/controls.json":ff,"./locales/pt/dashboard.json":$f,"./locales/pt/detail.json":mf,"./locales/pt/gospel.json":_f,"./locales/pt/grid.json":bf,"./locales/pt/legend.json":yf,"./locales/pt/messages.json":vf,"./locales/pt/options.json":Af,"./locales/pt/popup.json":Sf,"./locales/pt/prayerLaps.json":kf,"./locales/pt/regions.json":Lf,"./locales/pt/search.json":wf,"./locales/pt/studio.json":Pf,"./locales/pt/tabs.json":Ef,"./locales/pt/vision.json":Cf,"./locales/ro/allPeopleGroups.json":Tf,"./locales/ro/aria.json":Nf,"./locales/ro/buttons.json":xf,"./locales/ro/connectivity.json":Rf,"./locales/ro/controls.json":Mf,"./locales/ro/dashboard.json":If,"./locales/ro/detail.json":Of,"./locales/ro/gospel.json":Df,"./locales/ro/grid.json":Ff,"./locales/ro/legend.json":Gf,"./locales/ro/messages.json":Bf,"./locales/ro/options.json":jf,"./locales/ro/popup.json":Uf,"./locales/ro/prayerLaps.json":zf,"./locales/ro/regions.json":Vf,"./locales/ro/search.json":Kf,"./locales/ro/studio.json":qf,"./locales/ro/tabs.json":Hf,"./locales/ro/vision.json":Wf,"./locales/ru/allPeopleGroups.json":Yf,"./locales/ru/aria.json":Xf,"./locales/ru/buttons.json":Jf,"./locales/ru/connectivity.json":Zf,"./locales/ru/controls.json":Qf,"./locales/ru/dashboard.json":e$,"./locales/ru/detail.json":o$,"./locales/ru/gospel.json":t$,"./locales/ru/grid.json":n$,"./locales/ru/legend.json":a$,"./locales/ru/messages.json":s$,"./locales/ru/options.json":r$,"./locales/ru/popup.json":i$,"./locales/ru/prayerLaps.json":l$,"./locales/ru/regions.json":c$,"./locales/ru/search.json":u$,"./locales/ru/studio.json":p$,"./locales/ru/tabs.json":g$,"./locales/ru/vision.json":d$,"./locales/zh/allPeopleGroups.json":h$,"./locales/zh/aria.json":f$,"./locales/zh/buttons.json":$$,"./locales/zh/connectivity.json":m$,"./locales/zh/controls.json":_$,"./locales/zh/dashboard.json":b$,"./locales/zh/detail.json":y$,"./locales/zh/gospel.json":v$,"./locales/zh/grid.json":A$,"./locales/zh/legend.json":S$,"./locales/zh/messages.json":k$,"./locales/zh/options.json":L$,"./locales/zh/popup.json":w$,"./locales/zh/prayerLaps.json":P$,"./locales/zh/regions.json":E$,"./locales/zh/search.json":C$,"./locales/zh/studio.json":T$,"./locales/zh/tabs.json":N$,"./locales/zh/vision.json":x$}),Dt={};for(const[e,o]of Object.entries(F_)){const t=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!t)continue;const[,n,a]=t;Dt[n]??(Dt[n]={}),Dt[n][a]=o}Dt.en;const pa=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],G_=new Set(["ar"]);function B_(){var n;const e=(()=>{try{const a=new URLSearchParams(window.location.search);return(a.get("lang")||a.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}})();if(pa.includes(e))return e;const t=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return pa.includes(t)?t:"en"}function j_(){const e=B_();try{G_.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const o=P_({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Dt,missingWarn:!1,fallbackWarn:!1});fo(o.global.locale,n=>hc(n),{immediate:!0});const t=o.install.bind(o);return o.install=(n,...a)=>{const s=t(n,...a);return n.provide("appI18n",o),s},o}const U_="__DOXA_PAGE_LOCALE";function hc(e){const o=String(e||"").split("-")[0].toLowerCase();if(pa.includes(o))try{typeof window<"u"&&(window[U_]=o)}catch{}}function Ft(e,o){const t=o||z_(e);wt(()=>{var i;const n=jo();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${t}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",t),r.textContent=e,s.appendChild(r)})}function z_(e){let o=0;for(let t=0;to[w]||w,n=()=>!1;try{const w=Ot();t=w.t,n=w.te}catch{}const a=Ie("uiStore",null),s=Ie("profileConfig",null),r=_e(()=>(a==null?void 0:a.theme)==="dark"),i=_e(()=>{var F;const w=(F=s==null?void 0:s.value)==null?void 0:F.pinHintLabel;if(w)return w;const f="Tap a coloured dot — someone still needs prayer";try{return n("messages.pinHint.tapDot")?t("messages.pinHint.tapDot"):f}catch{return f}}),l=pe(!1),c=pe(null);let u=null,d=null,$=null,_=null,L=null,S=null,N=[],x=null,k=null;function y(){l.value=!1}function b(w,f){var G;let F=w==null?void 0:w.parentElement;for(let B=0;F&&B<12;B++,F=F.parentElement){if(F===f||(G=F.classList)!=null&&G.contains("profile-loader"))return null;let W="";try{W=getComputedStyle(F).position}catch{}if(W&&W!=="static"){const ee=F.getBoundingClientRect();if(ee.height>=120&&ee.width>=160)return F}}return null}function E(w){var F;const f=(F=_==null?void 0:_.querySelector)==null?void 0:F.call(_,".legend-mobile-sheet");if(!f)return 1/0;if(L&&S!==f){try{L.disconnect()}catch{}L=null}if(!L&&typeof ResizeObserver<"u")try{L=new ResizeObserver(()=>v()),L.observe(f),S=f}catch{L=null}try{const G=f.getBoundingClientRect();return!(G.height>16)||!(G.width>16)||w.right<=G.left||G.right<=w.left?1/0:G.top}catch{return 1/0}}function v(){const w=c.value;if(w)try{w.style.removeProperty("--pin-hint-lift");const f=w.getBoundingClientRect();if(!f.height)return;const F=Math.min(window.innerHeight,E(f)),G=Math.round(f.bottom-F);G>0&&w.style.setProperty("--pin-hint-lift",G+8+"px")}catch{}}function P(w){const f=c.value;if(!f||!(w!=null&&w.querySelector))return;let F=0;try{const B=w.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(B){const W=B.getBoundingClientRect(),ee=f.parentElement,U=ee?ee.getBoundingClientRect():null;if(F=U?Math.max(W.height||0,U.bottom-W.top):W.height||0,k!==B&&typeof ResizeObserver<"u"){if($)try{$.disconnect()}catch{}k=B,$=new ResizeObserver(()=>P(w)),$.observe(B)}}}catch{}const G=Math.min(Math.max(Math.ceil(F)||20,20),72);f.style.setProperty("--pin-hint-attrib-clear",G+"px"),v()}return wt(()=>{var G,B,W;const w=jo(),f=(W=(B=(G=w==null?void 0:w.proxy)==null?void 0:G.$el)==null?void 0:B.getRootNode)==null?void 0:W.call(B);if(!f||typeof f.querySelector!="function")return;_=f;let F=0;u=setInterval(()=>{F++;const ee=f.querySelector("canvas");ee?(clearInterval(u),u=null,l.value=!0,Jt(()=>{const U=b(ee,f),q=c.value;if(U&&q&&q.parentElement!==U)try{U.appendChild(q),d=U}catch{}P(f),v(),N.push(setTimeout(v,1200),setTimeout(v,3e3),setTimeout(v,6e3));try{const H=c.value&&c.value.offsetParent||null;if(H&&typeof ResizeObserver<"u"){if(x)try{x.disconnect()}catch{}x=new ResizeObserver(()=>v()),x.observe(H)}}catch{}})):F>40&&(clearInterval(u),u=null)},300)}),tn(()=>{var w;if(u&&clearInterval(u),$){try{$.disconnect()}catch{}$=null}if(k=null,x){try{x.disconnect()}catch{}x=null}if(L){try{L.disconnect()}catch{}L=null}S=null;for(const f of N)clearTimeout(f);if(N=[],_=null,d&&((w=c.value)==null?void 0:w.parentElement)===d)try{d.removeChild(c.value)}catch{}d=null}),Ft(` + */const h_="9.14.5";function f_(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(zo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(zo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(zo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zo().__INTLIFY_PROD_DEVTOOLS__=!1)}const $_=Hm.__EXTEND_POINT__,Ko=aa($_);Ko(),Ko(),Ko(),Ko(),Ko(),Ko(),Ko(),Ko(),Ko();const Yl=bo.__EXTEND_POINT__,to=aa(Yl),Ge={UNEXPECTED_RETURN_TYPE:Yl,INVALID_ARGUMENT:to(),MUST_BE_CALL_SETUP_TOP:to(),NOT_INSTALLED:to(),NOT_AVAILABLE_IN_LEGACY_MODE:to(),REQUIRED_VALUE:to(),INVALID_VALUE:to(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:to(),NOT_INSTALLED_WITH_PROVIDE:to(),UNEXPECTED_ERROR:to(),NOT_COMPATIBLE_LEGACY_VUE_I18N:to(),BRIDGE_SUPPORT_VUE_2_ONLY:to(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:to(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:to(),__EXTEND_POINT__:to()};function ze(e,...o){return Nt(e,null,void 0)}const As=Qo("__translateVNode"),Ss=Qo("__datetimeParts"),ks=Qo("__numberParts"),Xl=Qo("__setPluralRules"),Jl=Qo("__injectWithOption"),Ls=Qo("__dispose");function mn(e){if(!fe(e)||Co(e))return e;for(const o in e)if(mo(e,o))if(!o.includes("."))fe(e[o])&&mn(e[o]);else{const t=o.split("."),n=t.length-1;let a=e,s=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||ve(),ra(c,r[l])):ra(c,r)}else Y(i)&&ra(JSON.parse(i),r)}),a==null&&s)for(const i in r)mo(r,i)&&mn(r[i]);return r}function Zl(e){return e.type}function Ql(e,o,t){let n=fe(o.messages)?o.messages:ve();"__i18nGlobal"in t&&(n=ua(e.locale.value,{messages:n,__i18n:t.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(fe(o.datetimeFormats)){const s=Object.keys(o.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,o.datetimeFormats[r])})}if(fe(o.numberFormats)){const s=Object.keys(o.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,o.numberFormats[r])})}}}function ec(e){return Ne(sn,null,e,0)}const oc="__INTLIFY_META__",tc=()=>[],m_=()=>!1;let nc=0;function ac(e){return(o,t,n,a)=>e(t,n,jo()||void 0,a)}const __=()=>{const e=jo();let o=null;return e&&(o=Zl(e)[oc])?{[oc]:o}:null};function ws(e={},o){const{__root:t,__injectWithOption:n}=e,a=t===void 0,s=e.flatJson,r=ta?pe:Na,i=!!e.translateExistCompatible;let l=de(e.inheritLocale)?e.inheritLocale:!0;const c=r(t&&l?t.locale.value:Y(e.locale)?e.locale:Mt),u=r(t&&l?t.fallbackLocale.value:Y(e.fallbackLocale)||Ee(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=r(ua(c.value,e)),$=r(ce(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),_=r(ce(e.numberFormats)?e.numberFormats:{[c.value]:{}});let L=t?t.missingWarn:de(e.missingWarn)||et(e.missingWarn)?e.missingWarn:!0,S=t?t.fallbackWarn:de(e.fallbackWarn)||et(e.fallbackWarn)?e.fallbackWarn:!0,N=t?t.fallbackRoot:de(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,k=Le(e.missing)?e.missing:null,y=Le(e.missing)?ac(e.missing):null,b=Le(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:de(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const P=t?t.modifiers:ce(e.modifiers)?e.modifiers:{};let w=e.pluralRules||t&&t.pluralRules,f;f=(()=>{a&&Ml(null);const C={version:h_,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:P,pluralRules:w,missing:y===null?void 0:y,missingWarn:L,fallbackWarn:S,fallbackFormat:x,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:E,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=$.value,C.numberFormats=_.value,C.__datetimeFormatters=ce(f)?f.__datetimeFormatters:void 0,C.__numberFormatters=ce(f)?f.__numberFormatters:void 0;const I=a_(C);return a&&Ml(I),I})(),$n(f,c.value,u.value);function G(){return[c.value,u.value,d.value,$.value,_.value]}const B=_e({get:()=>c.value,set:C=>{c.value=C,f.locale=c.value}}),W=_e({get:()=>u.value,set:C=>{u.value=C,f.fallbackLocale=u.value,$n(f,c.value,C)}}),ee=_e(()=>d.value),U=_e(()=>$.value),q=_e(()=>_.value);function H(){return Le(b)?b:null}function ue(C){b=C,f.postTranslation=C}function Ce(){return k}function Be(C){C!==null&&(y=ac(C)),k=C,f.missing=y}const xe=(C,I,te,ge,Pe,eo)=>{G();let He;try{__INTLIFY_PROD_DEVTOOLS__,a||(f.fallbackContext=t?n_():void 0),He=C(f)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(f.fallbackContext=void 0)}if(te!=="translate exists"&&Oe(He)&&He===ca||te==="translate exists"&&!He){const[mt,Js]=I();return t&&N?ge(t):Pe(mt)}else{if(eo(He))return He;throw ze(Ge.UNEXPECTED_RETURN_TYPE)}};function we(...C){return xe(I=>Reflect.apply(Bl,null,[I,...C]),()=>bs(...C),"translate",I=>Reflect.apply(I.t,I,[...C]),I=>I,I=>Y(I))}function Z(...C){const[I,te,ge]=C;if(ge&&!fe(ge))throw ze(Ge.INVALID_ARGUMENT);return we(I,te,qe({resolvedMessage:!0},ge||{}))}function ae(...C){return xe(I=>Reflect.apply(zl,null,[I,...C]),()=>ys(...C),"datetime format",I=>Reflect.apply(I.d,I,[...C]),()=>wl,I=>Y(I))}function X(...C){return xe(I=>Reflect.apply(ql,null,[I,...C]),()=>vs(...C),"number format",I=>Reflect.apply(I.n,I,[...C]),()=>wl,I=>Y(I))}function ne(C){return C.map(I=>Y(I)||Oe(I)||de(I)?ec(String(I)):I)}const oe={normalize:ne,interpolate:C=>C,type:"vnode"};function Q(...C){return xe(I=>{let te;const ge=I;try{ge.processor=oe,te=Reflect.apply(Bl,null,[ge,...C])}finally{ge.processor=null}return te},()=>bs(...C),"translate",I=>I[As](...C),I=>[ec(I)],I=>Ee(I))}function $e(...C){return xe(I=>Reflect.apply(ql,null,[I,...C]),()=>vs(...C),"number format",I=>I[ks](...C),tc,I=>Y(I)||Ee(I))}function De(...C){return xe(I=>Reflect.apply(zl,null,[I,...C]),()=>ys(...C),"datetime format",I=>I[Ss](...C),tc,I=>Y(I)||Ee(I))}function h(C){w=C,f.pluralRules=w}function A(C,I){return xe(()=>{if(!C)return!1;const te=Y(I)?I:c.value,ge=D(te),Pe=f.messageResolver(ge,C);return i?Pe!=null:Co(Pe)||co(Pe)||Y(Pe)},()=>[C],"translate exists",te=>Reflect.apply(te.te,te,[C,I]),m_,te=>de(te))}function m(C){let I=null;const te=kl(f,u.value,c.value);for(let ge=0;ge{l&&(c.value=C,f.locale=C,$n(f,c.value,u.value))}),fo(t.fallbackLocale,C=>{l&&(u.value=C,f.fallbackLocale=C,$n(f,c.value,u.value))}));const j={id:nc,locale:B,fallbackLocale:W,get inheritLocale(){return l},set inheritLocale(C){l=C,C&&t&&(c.value=t.locale.value,u.value=t.fallbackLocale.value,$n(f,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:ee,get modifiers(){return P},get pluralRules(){return w||{}},get isGlobal(){return a},get missingWarn(){return L},set missingWarn(C){L=C,f.missingWarn=L},get fallbackWarn(){return S},set fallbackWarn(C){S=C,f.fallbackWarn=S},get fallbackRoot(){return N},set fallbackRoot(C){N=C},get fallbackFormat(){return x},set fallbackFormat(C){x=C,f.fallbackFormat=x},get warnHtmlMessage(){return E},set warnHtmlMessage(C){E=C,f.warnHtmlMessage=C},get escapeParameter(){return v},set escapeParameter(C){v=C,f.escapeParameter=C},t:we,getLocaleMessage:D,setLocaleMessage:O,mergeLocaleMessage:V,getPostTranslationHandler:H,setPostTranslationHandler:ue,getMissingHandler:Ce,setMissingHandler:Be,[Xl]:h};return j.datetimeFormats=U,j.numberFormats=q,j.rt=Z,j.te=A,j.tm=R,j.d=ae,j.n=X,j.getDateTimeFormat=z,j.setDateTimeFormat=p,j.mergeDateTimeFormat=g,j.getNumberFormat=T,j.setNumberFormat=M,j.mergeNumberFormat=K,j[Jl]=n,j[As]=Q,j[Ss]=De,j[ks]=$e,j}function b_(e){const o=Y(e.locale)?e.locale:Mt,t=Y(e.fallbackLocale)||Ee(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,n=Le(e.missing)?e.missing:void 0,a=de(e.silentTranslationWarn)||et(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=de(e.silentFallbackWarn)||et(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=de(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=ce(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Le(e.postTranslation)?e.postTranslation:void 0,d=Y(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,$=!!e.escapeParameterHtml,_=de(e.sync)?e.sync:!0;let L=e.messages;if(ce(e.sharedMessages)){const v=e.sharedMessages;L=Object.keys(v).reduce((w,f)=>{const F=w[f]||(w[f]={});return qe(F,v[f]),w},L||{})}const{__i18n:S,__root:N,__injectWithOption:x}=e,k=e.datetimeFormats,y=e.numberFormats,b=e.flatJson,E=e.translateExistCompatible;return{locale:o,fallbackLocale:t,messages:L,flatJson:b,datetimeFormats:k,numberFormats:y,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:$,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:E,__i18n:S,__root:N,__injectWithOption:x}}function Ps(e={},o){{const t=ws(b_(e)),{__extender:n}=e,a={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return de(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=de(s)?!s:s},get silentFallbackWarn(){return de(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=de(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){const[r,i,l]=s,c={};let u=null,d=null;if(!Y(r))throw ze(Ge.INVALID_ARGUMENT);const $=r;return Y(i)?c.locale=i:Ee(i)?u=i:ce(i)&&(d=i),Ee(l)?u=l:ce(l)&&(d=l),Reflect.apply(t.t,t,[$,u||d||{},c])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[r,i,l]=s,c={plural:1};let u=null,d=null;if(!Y(r))throw ze(Ge.INVALID_ARGUMENT);const $=r;return Y(i)?c.locale=i:Oe(i)?c.plural=i:Ee(i)?u=i:ce(i)&&(d=i),Y(l)?c.locale=l:Ee(l)?u=l:ce(l)&&(d=l),Reflect.apply(t.t,t,[$,u||d||{},c])},te(s,r){return t.te(s,r)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,r){t.setLocaleMessage(s,r)},mergeLocaleMessage(s,r){t.mergeLocaleMessage(s,r)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,r){t.setDateTimeFormat(s,r)},mergeDateTimeFormat(s,r){t.mergeDateTimeFormat(s,r)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,r){t.setNumberFormat(s,r)},mergeNumberFormat(s,r){t.mergeNumberFormat(s,r)},getChoiceIndex(s,r){return-1}};return a.__extender=n,a}}const Es={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function y_({slots:e},o){return o.length===1&&o[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ve?a.children:[a]],[]):o.reduce((t,n)=>{const a=e[n];return a&&(t[n]=a()),t},ve())}function sc(e){return Ve}const rc=en({name:"i18n-t",props:qe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Oe(e)||!isNaN(e)}},Es),setup(e,o){const{slots:t,attrs:n}=o,a=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(t).filter(d=>d!=="_"),r=ve();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=Y(e.plural)?+e.plural:e.plural);const i=y_(o,s),l=a[As](e.keypath,i,r),c=qe(ve(),n),u=Y(e.tag)||fe(e.tag)?e.tag:sc();return Ti(u,c,l)}}});function v_(e){return Ee(e)&&!Y(e[0])}function ic(e,o,t,n){const{slots:a,attrs:s}=o;return()=>{const r={part:!0};let i=ve();e.locale&&(r.locale=e.locale),Y(e.format)?r.key=e.format:fe(e.format)&&(Y(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce(($,_)=>t.includes(_)?qe(ve(),$,{[_]:e.format[_]}):$,ve()));const l=n(e.value,r,i);let c=[r.key];Ee(l)?c=l.map(($,_)=>{const L=a[$.type],S=L?L({[$.type]:$.value,index:_,parts:l}):[$.value];return v_(S)&&(S[0].key=`${$.type}-${_}`),S}):Y(l)&&(c=[l]);const u=qe(ve(),s),d=Y(e.tag)||fe(e.tag)?e.tag:sc();return Ti(d,u,c)}}const lc=en({name:"i18n-n",props:qe({value:{type:Number,required:!0},format:{type:[String,Object]}},Es),setup(e,o){const t=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return ic(e,o,Hl,(...n)=>t[ks](...n))}}),cc=en({name:"i18n-d",props:qe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Es),setup(e,o){const t=e.i18n||Ot({useScope:e.scope,__useComponent:!0});return ic(e,o,Vl,(...n)=>t[Ss](...n))}});function A_(e,o){const t=e;if(e.mode==="composition")return t.__getInstance(o)||e.global;{const n=t.__getInstance(o);return n!=null?n.__composer:e.global.__composer}}function S_(e){const o=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw ze(Ge.UNEXPECTED_ERROR);const u=A_(e,i.$),d=uc(c);return[Reflect.apply(u.t,u,[...pc(d)]),u]};return{created:(r,i)=>{const[l,c]=o(i);ta&&e.global===c&&(r.__i18nWatcher=fo(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{ta&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=uc(i);r.textContent=Reflect.apply(l.t,l,[...pc(c)])}},getSSRProps:r=>{const[i]=o(r);return{textContent:i}}}}function uc(e){if(Y(e))return{path:e};if(ce(e)){if(!("path"in e))throw ze(Ge.REQUIRED_VALUE,"path");return e}else throw ze(Ge.INVALID_VALUE)}function pc(e){const{path:o,locale:t,args:n,choice:a,plural:s}=e,r={},i=n||{};return Y(t)&&(r.locale=t),Oe(a)&&(r.plural=a),Oe(s)&&(r.plural=s),[o,i,r]}function k_(e,o,...t){const n=ce(t[0])?t[0]:{},a=!!n.useI18nComponentName;(de(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":rc.name,"I18nT"].forEach(r=>e.component(r,rc)),[lc.name,"I18nN"].forEach(r=>e.component(r,lc)),[cc.name,"I18nD"].forEach(r=>e.component(r,cc))),e.directive("t",S_(o))}function L_(e,o,t){return{beforeCreate(){const n=jo();if(!n)throw ze(Ge.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=o,this===this.$root)this.$i18n=gc(e,s);else{s.__injectWithOption=!0,s.__extender=t.__vueI18nExtend,this.$i18n=Ps(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=gc(e,a);else{this.$i18n=Ps({__i18n:a.__i18n,__injectWithOption:!0,__extender:t.__vueI18nExtend,__root:o});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ql(o,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),t.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=jo();if(!n)throw ze(Ge.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),t.__deleteInstance(n),delete this.$i18n}}}function gc(e,o){e.locale=o.locale||e.locale,e.fallbackLocale=o.fallbackLocale||e.fallbackLocale,e.missing=o.missing||e.missing,e.silentTranslationWarn=o.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=o.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=o.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=o.postTranslation||e.postTranslation,e.warnHtmlInMessage=o.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=o.escapeParameterHtml||e.escapeParameterHtml,e.sync=o.sync||e.sync,e.__composer[Xl](o.pluralizationRules||e.pluralizationRules);const t=ua(e.locale,{messages:o.messages,__i18n:o.__i18n});return Object.keys(t).forEach(n=>e.mergeLocaleMessage(n,t[n])),o.datetimeFormats&&Object.keys(o.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,o.datetimeFormats[n])),o.numberFormats&&Object.keys(o.numberFormats).forEach(n=>e.mergeNumberFormat(n,o.numberFormats[n])),e}const w_=Qo("global-vue-i18n");function P_(e={},o){const t=__VUE_I18N_LEGACY_API__&&de(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=de(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&t?!!e.allowComposition:!0,s=new Map,[r,i]=E_(e,t),l=Qo("");function c($){return s.get($)||null}function u($,_){s.set($,_)}function d($){s.delete($)}{const $={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},get allowComposition(){return a},async install(_,...L){if(_.__VUE_I18N_SYMBOL__=l,_.provide(_.__VUE_I18N_SYMBOL__,$),ce(L[0])){const x=L[0];$.__composerExtend=x.__composerExtend,$.__vueI18nExtend=x.__vueI18nExtend}let S=null;!t&&n&&(S=D_(_,$.global)),__VUE_I18N_FULL_INSTALL__&&k_(_,$,...L),__VUE_I18N_LEGACY_API__&&t&&_.mixin(L_(i,i.__composer,$));const N=_.unmount;_.unmount=()=>{S&&S(),$.dispose(),N()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:d};return $}}function Ot(e={}){const o=jo();if(o==null)throw ze(Ge.MUST_BE_CALL_SETUP_TOP);if(!o.isCE&&o.appContext.app!=null&&!o.appContext.app.__VUE_I18N_SYMBOL__)throw ze(Ge.NOT_INSTALLED);const t=C_(o),n=N_(t),a=Zl(o),s=T_(e,a);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!e.__useComponent){if(!t.allowComposition)throw ze(Ge.NOT_AVAILABLE_IN_LEGACY_MODE);return I_(o,s,n,e)}if(s==="global")return Ql(n,e,a),n;if(s==="parent"){let l=x_(t,o,e.__useComponent);return l==null&&(l=n),l}const r=t;let i=r.__getInstance(o);if(i==null){const l=qe({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=ws(l),r.__composerExtend&&(i[Ls]=r.__composerExtend(i)),M_(r,o,i),r.__setInstance(o,i)}return i}function E_(e,o,t){const n=ba();{const a=__VUE_I18N_LEGACY_API__&&o?n.run(()=>Ps(e)):n.run(()=>ws(e));if(a==null)throw ze(Ge.UNEXPECTED_ERROR);return[n,a]}}function C_(e){{const o=Ie(e.isCE?w_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!o)throw ze(e.isCE?Ge.NOT_INSTALLED_WITH_PROVIDE:Ge.UNEXPECTED_ERROR);return o}}function T_(e,o){return na(e)?"__i18n"in o?"local":"global":e.useScope?e.useScope:"local"}function N_(e){return e.mode==="composition"?e.global:e.global.__composer}function x_(e,o,t=!1){let n=null;const a=o.root;let s=R_(o,t);for(;s!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(s);i!=null&&(n=i.__composer,t&&n&&!n[Jl]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function R_(e,o=!1){return e==null?null:o&&e.vnode.ctx||e.parent}function M_(e,o,t){wt(()=>{},o),Hn(()=>{const n=t;e.__deleteInstance(o);const a=n[Ls];a&&(a(),delete n[Ls])},o)}function I_(e,o,t,n={}){const a=o==="local",s=Na(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ze(Ge.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=de(n.inheritLocale)?n.inheritLocale:!Y(n.locale),i=pe(!a||r?t.locale.value:Y(n.locale)?n.locale:Mt),l=pe(!a||r?t.fallbackLocale.value:Y(n.fallbackLocale)||Ee(n.fallbackLocale)||ce(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=pe(ua(i.value,n)),u=pe(ce(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=pe(ce(n.numberFormats)?n.numberFormats:{[i.value]:{}}),$=a?t.missingWarn:de(n.missingWarn)||et(n.missingWarn)?n.missingWarn:!0,_=a?t.fallbackWarn:de(n.fallbackWarn)||et(n.fallbackWarn)?n.fallbackWarn:!0,L=a?t.fallbackRoot:de(n.fallbackRoot)?n.fallbackRoot:!0,S=!!n.fallbackFormat,N=Le(n.missing)?n.missing:null,x=Le(n.postTranslation)?n.postTranslation:null,k=a?t.warnHtmlMessage:de(n.warnHtmlMessage)?n.warnHtmlMessage:!0,y=!!n.escapeParameter,b=a?t.modifiers:ce(n.modifiers)?n.modifiers:{},E=n.pluralRules||a&&t.pluralRules;function v(){return[i.value,l.value,c.value,u.value,d.value]}const P=_e({get:()=>s.value?s.value.locale.value:i.value,set:m=>{s.value&&(s.value.locale.value=m),i.value=m}}),w=_e({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:m=>{s.value&&(s.value.fallbackLocale.value=m),l.value=m}}),f=_e(()=>s.value?s.value.messages.value:c.value),F=_e(()=>u.value),G=_e(()=>d.value);function B(){return s.value?s.value.getPostTranslationHandler():x}function W(m){s.value&&s.value.setPostTranslationHandler(m)}function ee(){return s.value?s.value.getMissingHandler():N}function U(m){s.value&&s.value.setMissingHandler(m)}function q(m){return v(),m()}function H(...m){return s.value?q(()=>Reflect.apply(s.value.t,null,[...m])):q(()=>"")}function ue(...m){return s.value?Reflect.apply(s.value.rt,null,[...m]):""}function Ce(...m){return s.value?q(()=>Reflect.apply(s.value.d,null,[...m])):q(()=>"")}function Be(...m){return s.value?q(()=>Reflect.apply(s.value.n,null,[...m])):q(()=>"")}function xe(m){return s.value?s.value.tm(m):{}}function we(m,R){return s.value?s.value.te(m,R):!1}function Z(m){return s.value?s.value.getLocaleMessage(m):{}}function ae(m,R){s.value&&(s.value.setLocaleMessage(m,R),c.value[m]=R)}function X(m,R){s.value&&s.value.mergeLocaleMessage(m,R)}function ne(m){return s.value?s.value.getDateTimeFormat(m):{}}function J(m,R){s.value&&(s.value.setDateTimeFormat(m,R),u.value[m]=R)}function oe(m,R){s.value&&s.value.mergeDateTimeFormat(m,R)}function Q(m){return s.value?s.value.getNumberFormat(m):{}}function $e(m,R){s.value&&(s.value.setNumberFormat(m,R),d.value[m]=R)}function De(m,R){s.value&&s.value.mergeNumberFormat(m,R)}const h={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:w,messages:f,datetimeFormats:F,numberFormats:G,get inheritLocale(){return s.value?s.value.inheritLocale:r},set inheritLocale(m){s.value&&(s.value.inheritLocale=m)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:E},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:$},set missingWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackWarn(){return s.value?s.value.fallbackWarn:_},set fallbackWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackRoot(){return s.value?s.value.fallbackRoot:L},set fallbackRoot(m){s.value&&(s.value.fallbackRoot=m)},get fallbackFormat(){return s.value?s.value.fallbackFormat:S},set fallbackFormat(m){s.value&&(s.value.fallbackFormat=m)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:k},set warnHtmlMessage(m){s.value&&(s.value.warnHtmlMessage=m)},get escapeParameter(){return s.value?s.value.escapeParameter:y},set escapeParameter(m){s.value&&(s.value.escapeParameter=m)},t:H,getPostTranslationHandler:B,setPostTranslationHandler:W,getMissingHandler:ee,setMissingHandler:U,rt:ue,d:Ce,n:Be,tm:xe,te:we,getLocaleMessage:Z,setLocaleMessage:ae,mergeLocaleMessage:X,getDateTimeFormat:ne,setDateTimeFormat:J,mergeDateTimeFormat:oe,getNumberFormat:Q,setNumberFormat:$e,mergeNumberFormat:De};function A(m){m.locale.value=i.value,m.fallbackLocale.value=l.value,Object.keys(c.value).forEach(R=>{m.mergeLocaleMessage(R,c.value[R])}),Object.keys(u.value).forEach(R=>{m.mergeDateTimeFormat(R,u.value[R])}),Object.keys(d.value).forEach(R=>{m.mergeNumberFormat(R,d.value[R])}),m.escapeParameter=y,m.fallbackFormat=S,m.fallbackRoot=L,m.fallbackWarn=_,m.missingWarn=$,m.warnHtmlMessage=k}return Hr(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ze(Ge.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const m=s.value=e.proxy.$i18n.__composer;o==="global"?(i.value=m.locale.value,l.value=m.fallbackLocale.value,c.value=m.messages.value,u.value=m.datetimeFormats.value,d.value=m.numberFormats.value):a&&A(m)}),h}const O_=["locale","fallbackLocale","availableLocales"],dc=["t","rt","d","n","tm","te"];function D_(e,o){const t=Object.create(null);return O_.forEach(a=>{const s=Object.getOwnPropertyDescriptor(o,a);if(!s)throw ze(Ge.UNEXPECTED_ERROR);const r=Te(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(t,a,r)}),e.config.globalProperties.$i18n=t,dc.forEach(a=>{const s=Object.getOwnPropertyDescriptor(o,a);if(!s||!s.value)throw ze(Ge.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,dc.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(f_(),__INTLIFY_JIT_COMPILATION__?Cl(c_):Cl(l_),Qm(Rm),e_(kl),__INTLIFY_PROD_DEVTOOLS__){const e=zo();e.__INTLIFY__=!0,Um(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const F_=Object.assign({"./locales/ar/allPeopleGroups.json":Gg,"./locales/ar/aria.json":Bg,"./locales/ar/buttons.json":jg,"./locales/ar/connectivity.json":Ug,"./locales/ar/controls.json":zg,"./locales/ar/dashboard.json":Vg,"./locales/ar/detail.json":Kg,"./locales/ar/gospel.json":qg,"./locales/ar/grid.json":Hg,"./locales/ar/legend.json":Wg,"./locales/ar/messages.json":Yg,"./locales/ar/options.json":Xg,"./locales/ar/popup.json":Jg,"./locales/ar/prayerLaps.json":Zg,"./locales/ar/regions.json":Qg,"./locales/ar/search.json":ed,"./locales/ar/studio.json":od,"./locales/ar/tabs.json":td,"./locales/ar/vision.json":nd,"./locales/de/allPeopleGroups.json":ad,"./locales/de/aria.json":sd,"./locales/de/buttons.json":rd,"./locales/de/connectivity.json":id,"./locales/de/controls.json":ld,"./locales/de/dashboard.json":cd,"./locales/de/detail.json":ud,"./locales/de/gospel.json":pd,"./locales/de/grid.json":gd,"./locales/de/legend.json":dd,"./locales/de/messages.json":hd,"./locales/de/options.json":fd,"./locales/de/popup.json":$d,"./locales/de/prayerLaps.json":md,"./locales/de/regions.json":_d,"./locales/de/search.json":bd,"./locales/de/studio.json":yd,"./locales/de/tabs.json":vd,"./locales/de/vision.json":Ad,"./locales/en/allPeopleGroups.json":Sd,"./locales/en/aria.json":kd,"./locales/en/buttons.json":Ld,"./locales/en/connectivity.json":wd,"./locales/en/controls.json":Pd,"./locales/en/dashboard.json":Ed,"./locales/en/detail.json":Cd,"./locales/en/gospel.json":Td,"./locales/en/grid.json":Nd,"./locales/en/legend.json":xd,"./locales/en/messages.json":Rd,"./locales/en/options.json":Md,"./locales/en/popup.json":Id,"./locales/en/prayerLaps.json":Od,"./locales/en/regions.json":Dd,"./locales/en/search.json":Fd,"./locales/en/studio.json":Gd,"./locales/en/tabs.json":Bd,"./locales/en/vision.json":jd,"./locales/es/allPeopleGroups.json":Ud,"./locales/es/aria.json":zd,"./locales/es/buttons.json":Vd,"./locales/es/connectivity.json":Kd,"./locales/es/controls.json":qd,"./locales/es/dashboard.json":Hd,"./locales/es/detail.json":Wd,"./locales/es/gospel.json":Yd,"./locales/es/grid.json":Xd,"./locales/es/legend.json":Jd,"./locales/es/messages.json":Zd,"./locales/es/options.json":Qd,"./locales/es/popup.json":eh,"./locales/es/prayerLaps.json":oh,"./locales/es/regions.json":th,"./locales/es/search.json":nh,"./locales/es/studio.json":ah,"./locales/es/tabs.json":sh,"./locales/es/vision.json":rh,"./locales/fr/allPeopleGroups.json":ih,"./locales/fr/aria.json":lh,"./locales/fr/buttons.json":ch,"./locales/fr/connectivity.json":uh,"./locales/fr/controls.json":ph,"./locales/fr/dashboard.json":gh,"./locales/fr/detail.json":dh,"./locales/fr/gospel.json":hh,"./locales/fr/grid.json":fh,"./locales/fr/legend.json":$h,"./locales/fr/messages.json":mh,"./locales/fr/options.json":_h,"./locales/fr/popup.json":bh,"./locales/fr/prayerLaps.json":yh,"./locales/fr/regions.json":vh,"./locales/fr/search.json":Ah,"./locales/fr/studio.json":Sh,"./locales/fr/tabs.json":kh,"./locales/fr/vision.json":Lh,"./locales/hi/allPeopleGroups.json":wh,"./locales/hi/aria.json":Ph,"./locales/hi/buttons.json":Eh,"./locales/hi/connectivity.json":Ch,"./locales/hi/controls.json":Th,"./locales/hi/dashboard.json":Nh,"./locales/hi/detail.json":xh,"./locales/hi/gospel.json":Rh,"./locales/hi/grid.json":Mh,"./locales/hi/legend.json":Ih,"./locales/hi/messages.json":Oh,"./locales/hi/options.json":Dh,"./locales/hi/popup.json":Fh,"./locales/hi/prayerLaps.json":Gh,"./locales/hi/regions.json":Bh,"./locales/hi/search.json":jh,"./locales/hi/studio.json":Uh,"./locales/hi/tabs.json":zh,"./locales/hi/vision.json":Vh,"./locales/it/allPeopleGroups.json":Kh,"./locales/it/aria.json":qh,"./locales/it/buttons.json":Hh,"./locales/it/connectivity.json":Wh,"./locales/it/controls.json":Yh,"./locales/it/dashboard.json":Xh,"./locales/it/detail.json":Jh,"./locales/it/gospel.json":Zh,"./locales/it/grid.json":Qh,"./locales/it/legend.json":ef,"./locales/it/messages.json":of,"./locales/it/options.json":tf,"./locales/it/popup.json":nf,"./locales/it/prayerLaps.json":af,"./locales/it/regions.json":sf,"./locales/it/search.json":rf,"./locales/it/studio.json":lf,"./locales/it/tabs.json":cf,"./locales/it/vision.json":uf,"./locales/pt/allPeopleGroups.json":pf,"./locales/pt/aria.json":gf,"./locales/pt/buttons.json":df,"./locales/pt/connectivity.json":hf,"./locales/pt/controls.json":ff,"./locales/pt/dashboard.json":$f,"./locales/pt/detail.json":mf,"./locales/pt/gospel.json":_f,"./locales/pt/grid.json":bf,"./locales/pt/legend.json":yf,"./locales/pt/messages.json":vf,"./locales/pt/options.json":Af,"./locales/pt/popup.json":Sf,"./locales/pt/prayerLaps.json":kf,"./locales/pt/regions.json":Lf,"./locales/pt/search.json":wf,"./locales/pt/studio.json":Pf,"./locales/pt/tabs.json":Ef,"./locales/pt/vision.json":Cf,"./locales/ro/allPeopleGroups.json":Tf,"./locales/ro/aria.json":Nf,"./locales/ro/buttons.json":xf,"./locales/ro/connectivity.json":Rf,"./locales/ro/controls.json":Mf,"./locales/ro/dashboard.json":If,"./locales/ro/detail.json":Of,"./locales/ro/gospel.json":Df,"./locales/ro/grid.json":Ff,"./locales/ro/legend.json":Gf,"./locales/ro/messages.json":Bf,"./locales/ro/options.json":jf,"./locales/ro/popup.json":Uf,"./locales/ro/prayerLaps.json":zf,"./locales/ro/regions.json":Vf,"./locales/ro/search.json":Kf,"./locales/ro/studio.json":qf,"./locales/ro/tabs.json":Hf,"./locales/ro/vision.json":Wf,"./locales/ru/allPeopleGroups.json":Yf,"./locales/ru/aria.json":Xf,"./locales/ru/buttons.json":Jf,"./locales/ru/connectivity.json":Zf,"./locales/ru/controls.json":Qf,"./locales/ru/dashboard.json":e$,"./locales/ru/detail.json":o$,"./locales/ru/gospel.json":t$,"./locales/ru/grid.json":n$,"./locales/ru/legend.json":a$,"./locales/ru/messages.json":s$,"./locales/ru/options.json":r$,"./locales/ru/popup.json":i$,"./locales/ru/prayerLaps.json":l$,"./locales/ru/regions.json":c$,"./locales/ru/search.json":u$,"./locales/ru/studio.json":p$,"./locales/ru/tabs.json":g$,"./locales/ru/vision.json":d$,"./locales/zh/allPeopleGroups.json":h$,"./locales/zh/aria.json":f$,"./locales/zh/buttons.json":$$,"./locales/zh/connectivity.json":m$,"./locales/zh/controls.json":_$,"./locales/zh/dashboard.json":b$,"./locales/zh/detail.json":y$,"./locales/zh/gospel.json":v$,"./locales/zh/grid.json":A$,"./locales/zh/legend.json":S$,"./locales/zh/messages.json":k$,"./locales/zh/options.json":L$,"./locales/zh/popup.json":w$,"./locales/zh/prayerLaps.json":P$,"./locales/zh/regions.json":E$,"./locales/zh/search.json":C$,"./locales/zh/studio.json":T$,"./locales/zh/tabs.json":N$,"./locales/zh/vision.json":x$}),Dt={};for(const[e,o]of Object.entries(F_)){const t=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!t)continue;const[,n,a]=t;Dt[n]??(Dt[n]={}),Dt[n][a]=o}Dt.en;const pa=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],G_=new Set(["ar"]);function B_(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function j_(){var n;const e=B_();if(pa.includes(e))return e;const t=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return pa.includes(t)?t:"en"}function U_(){const e=j_();try{G_.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const o=P_({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Dt,missingWarn:!1,fallbackWarn:!1});fo(o.global.locale,n=>hc(n),{immediate:!0});const t=o.install.bind(o);return o.install=(n,...a)=>{const s=t(n,...a);return n.provide("appI18n",o),s},o}const z_="__DOXA_PAGE_LOCALE";function hc(e){const o=String(e||"").split("-")[0].toLowerCase();if(pa.includes(o))try{typeof window<"u"&&(window[z_]=o)}catch{}}function Ft(e,o){const t=o||V_(e);wt(()=>{var i;const n=jo();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${t}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",t),r.textContent=e,s.appendChild(r)})}function V_(e){let o=0;for(let t=0;to[w]||w,n=()=>!1;try{const w=Ot();t=w.t,n=w.te}catch{}const a=Ie("uiStore",null),s=Ie("profileConfig",null),r=_e(()=>(a==null?void 0:a.theme)==="dark"),i=_e(()=>{var F;const w=(F=s==null?void 0:s.value)==null?void 0:F.pinHintLabel;if(w)return w;const f="Tap a coloured dot — someone still needs prayer";try{return n("messages.pinHint.tapDot")?t("messages.pinHint.tapDot"):f}catch{return f}}),l=pe(!1),c=pe(null);let u=null,d=null,$=null,_=null,L=null,S=null,N=[],x=null,k=null;function y(){l.value=!1}function b(w,f){var G;let F=w==null?void 0:w.parentElement;for(let B=0;F&&B<12;B++,F=F.parentElement){if(F===f||(G=F.classList)!=null&&G.contains("profile-loader"))return null;let W="";try{W=getComputedStyle(F).position}catch{}if(W&&W!=="static"){const ee=F.getBoundingClientRect();if(ee.height>=120&&ee.width>=160)return F}}return null}function E(w){var F;const f=(F=_==null?void 0:_.querySelector)==null?void 0:F.call(_,".legend-mobile-sheet");if(!f)return 1/0;if(L&&S!==f){try{L.disconnect()}catch{}L=null}if(!L&&typeof ResizeObserver<"u")try{L=new ResizeObserver(()=>v()),L.observe(f),S=f}catch{L=null}try{const G=f.getBoundingClientRect();return!(G.height>16)||!(G.width>16)||w.right<=G.left||G.right<=w.left?1/0:G.top}catch{return 1/0}}function v(){const w=c.value;if(w)try{w.style.removeProperty("--pin-hint-lift");const f=w.getBoundingClientRect();if(!f.height)return;const F=Math.min(window.innerHeight,E(f)),G=Math.round(f.bottom-F);G>0&&w.style.setProperty("--pin-hint-lift",G+8+"px")}catch{}}function P(w){const f=c.value;if(!f||!(w!=null&&w.querySelector))return;let F=0;try{const B=w.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(B){const W=B.getBoundingClientRect(),ee=f.parentElement,U=ee?ee.getBoundingClientRect():null;if(F=U?Math.max(W.height||0,U.bottom-W.top):W.height||0,k!==B&&typeof ResizeObserver<"u"){if($)try{$.disconnect()}catch{}k=B,$=new ResizeObserver(()=>P(w)),$.observe(B)}}}catch{}const G=Math.min(Math.max(Math.ceil(F)||20,20),72);f.style.setProperty("--pin-hint-attrib-clear",G+"px"),v()}return wt(()=>{var G,B,W;const w=jo(),f=(W=(B=(G=w==null?void 0:w.proxy)==null?void 0:G.$el)==null?void 0:B.getRootNode)==null?void 0:W.call(B);if(!f||typeof f.querySelector!="function")return;_=f;let F=0;u=setInterval(()=>{F++;const ee=f.querySelector("canvas");ee?(clearInterval(u),u=null,l.value=!0,Jt(()=>{const U=b(ee,f),q=c.value;if(U&&q&&q.parentElement!==U)try{U.appendChild(q),d=U}catch{}P(f),v(),N.push(setTimeout(v,1200),setTimeout(v,3e3),setTimeout(v,6e3));try{const H=c.value&&c.value.offsetParent||null;if(H&&typeof ResizeObserver<"u"){if(x)try{x.disconnect()}catch{}x=new ResizeObserver(()=>v()),x.observe(H)}}catch{}})):F>40&&(clearInterval(u),u=null)},300)}),tn(()=>{var w;if(u&&clearInterval(u),$){try{$.disconnect()}catch{}$=null}if(k=null,x){try{x.disconnect()}catch{}x=null}if(L){try{L.disconnect()}catch{}L=null}S=null;for(const f of N)clearTimeout(f);if(N=[],_=null,d&&((w=c.value)==null?void 0:w.parentElement)===d)try{d.removeChild(c.value)}catch{}d=null}),Ft(` .pin-hint { position: absolute; left: 50%; bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%); z-index: 2147482000; pointer-events: none; @@ -70,9 +70,9 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(w,f)=>l.value?(ye(),Re("div",{key:0,ref_key:"hintEl",ref:c,class:oo(["pin-hint",{dark:r.value}]),role:"status"},[re("span",V_,[f[0]||(f[0]=re("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),$o(" "+Ue(i.value)+" ",1),re("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:y},"×")])],2)):Go("",!0)}};let q_=0;const H_=is("ui",{state:()=>({_storeInstanceId:++q_,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>o=>e.toasts.filter(t=>t.type===o),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>o=>e.openModals.includes(o),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>o=>e.loadingStates.get(o)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const t=this.isDarkTheme;document.documentElement.setAttribute("data-theme",t?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let o;e<768?o="mobile":e<1024?o="tablet":e<1920?o="desktop":o="wide",o!==this.breakpoint&&(this.breakpoint=o)},updateWindowSize(e,o){this.windowSize.width=e,this.windowSize.height=o,this.updateBreakpoint(e)},showToast(e){const{message:o,type:t="info",duration:n=this.toastDuration,action:a=null,persistent:s=!1}=e,r={id:this.nextToastId++,message:o,type:t,duration:n,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(r),!s&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.id},showSuccess(e,o={}){return this.showToast({message:e,type:"success",...o})},showError(e,o={}){return this.showToast({message:e,type:"error",duration:7e3,...o})},showWarning(e,o={}){return this.showToast({message:e,type:"warning",...o})},showInfo(e,o={}){return this.showToast({message:e,type:"info",...o})},removeToast(e){const o=this.toasts.findIndex(t=>t.id===e);o!==-1&&this.toasts.splice(o,1)},clearAllToasts(){this.toasts=[]},openModal(e,o={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,o),this.focusTrapActive=!0)},closeModal(e=null){if(e){const o=this.openModals.indexOf(e);o!==-1&&(this.openModals.splice(o,1),this.modalData.delete(e))}else{const o=this.openModals.pop();o&&this.modalData.delete(o)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,o=!0){o?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,o="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(t=>{for(const n of t)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",t.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",t=>{this.reducedMotion=t.matches,document.documentElement.setAttribute("data-reduced-motion",t.matches)}))}}}),W_=is("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>o=>e.maps[o],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>o=>o in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>o=>e.fullscreenMapId===o},actions:{registerMap(e,o,t={}){let n=1.5;t.zoom!==void 0?n=t.zoom:o&&typeof o.getZoom=="function"&&(n=o.getZoom());let a=[0,0];if(t.center)a=t.center;else if(o&&typeof o.getCenter=="function"){const s=o.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:o,config:t,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const o=this.maps[e];o&&(o.isReady=!0)},updateMapState(e,o){const t=this.maps[e];t&&Object.assign(t,o)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const o=this.allMapIds;this.activeMapId=o.length>0?o[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,o){this.globalFilters[e]=o},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,o=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=o,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,o){this.clusterFilterProperty=e||null,this.clusterFilterValue=o||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const o=JSON.parse(e);this.preferences={...this.preferences,...o}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,o){this.preferences[e]=o,this.preferences.autoSavePreferences&&this.savePreferences()}}}),Y_=is("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,o){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const t=await o();this.sources[e]=Wt({features:t,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(t){console.error(`[dataStore] Failed to load source "${e}":`,t),this.loadingStates[e]={isLoading:!1,error:t}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,o){this.sources[e]=Wt({features:o.normalizedData||[],timestamp:o.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>o=>{var t;return((t=e.sources[o])==null?void 0:t.features)??null},isLoading:e=>o=>{var t;return((t=e.loadingStates[o])==null?void 0:t.isLoading)??!1},getError:e=>o=>{var t;return((t=e.loadingStates[o])==null?void 0:t.error)??null}}}),fc={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","imb_gsec","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},X_=".profile-loader[data-v-45d151f8]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-45d151f8]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",J_=(e,o)=>{const t=e.__vccOpts||e;for(const[n,a]of o)t[n]=a;return t},Z_={class:"profile-loader"},Q_={key:0,class:"profile-error"},eb={key:1,class:"profile-error"},ob=J_({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var E;const t=e,n=Ie("profileConfig",null),a=_e(()=>{var P;if(!t.profileConfig)return null;let v;try{v=JSON.parse(t.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",t.profileConfig),null}if(v&&v.assetsBase===void 0){const w=(P=n==null?void 0:n.value)==null?void 0:P.assetsBase;typeof w=="string"&&w&&(v.assetsBase=w)}return v}),s=_e(()=>{var v;return((v=a.value)==null?void 0:v.profile)||null}),r=Dg(),i=_e(()=>{var P;const v=(P=a.value)==null?void 0:P.tk;return typeof v=="string"&&v?v:r.value||""});fo(()=>{var v;return(v=a.value)==null?void 0:v.tk},v=>{typeof v=="string"&&v&&Zi(v)},{immediate:!0});const l=_e(()=>{var v;return((v=a.value)==null?void 0:v.dataSource)||fc.activeSource||"doxa-csv"}),c=_e(()=>{var v;return((v=a.value)==null?void 0:v.colorSet)||"default"}),u=_e(()=>!1),d=_e(()=>{var v;return((v=a.value)==null?void 0:v.pinHint)!==!1}),$=_e(()=>{var P,w;const v=(((P=a.value)==null?void 0:P.locale)||((w=a.value)==null?void 0:w.lang)||"").split("-")[0].toLowerCase();return pa.includes(v)?v:""}),_=Ie("appI18n",null);Yu(()=>{$.value&&(_&&(_.global.locale.value=$.value),hc($.value))});const L=_e(()=>{var v,P;return $.value||((P=(v=_==null?void 0:_.global)==null?void 0:v.locale)==null?void 0:P.value)||"en"}),S=_e(()=>{var v;return((v=a.value)==null?void 0:v.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),N=Ie("profileModules",null);if(!N)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const x=_e(()=>{if(!s.value)return null;const v=`./${s.value}.vue`;return N[v]?Fg(N[v]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(N)),null)});lo("mapboxToken",i),lo("dataSource",l),lo("colorSet",c),lo("profileConfig",a),lo("instanceId",S),lo("lang",L);const k=H_(),y=W_(),b=Y_();try{const v=typeof localStorage<"u"?localStorage.getItem("theme"):null;v&&((E=k.setTheme)==null||E.call(k,v))}catch{}return lo("uiStore",k),lo("mapStore",y),lo("dataStore",b),(v,P)=>(ye(),Re("div",Z_,[a.value?x.value?(ye(),ht(Yr(x.value),{key:2})):(ye(),Re("div",eb,[re("p",null,[P[1]||(P[1]=$o("⚠️ Profile ",-1)),re("strong",null,'"'+Ue(s.value)+'"',1),P[2]||(P[2]=$o(" not found.",-1))])])):(ye(),Re("div",Q_,[...P[0]||(P[0]=[re("p",null,[$o("⚠️ "),re("strong",null,"doxa-map"),$o(": missing or invalid "),re("code",null,"profile-config"),$o(" prop.")],-1),re("p",null,[$o("Example: "),re("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),x.value&&u.value?(ye(),ht(Yr(Oo(null)),{key:3})):Go("",!0),x.value&&d.value?(ye(),ht(K_,{key:4})):Go("",!0)]))}},[["styles",[X_]],["__scopeId","data-v-45d151f8"]]),tb=Object.assign({"./all-people-groups.vue":()=>Zc(()=>Promise.resolve().then(()=>Fy),void 0)}),nb=kg(ob,{configureApp(e){e.use(Tg());const o=j_();e.use(o),e.provide("appI18n",o),e.provide("profileModules",tb)}});typeof customElements<"u"&&!customElements.get("all-people-groups")&&customElements.define("all-people-groups",nb);const ab="rgba(120, 128, 134, 0.28)",$c="36px",mc=()=>{};function sb(e,o={}){const{enabled:t=!0}=o;if(!t||!e)return mc;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return mc;const a=k=>k.classList.contains("map-scroll-edge--left");for(const k of n)k.style.background=`linear-gradient(${a(k)?"to right":"to left"}, ${ab} ${$c}, transparent ${$c})`,k.style.opacity="0",k.style.transition="opacity 0.16s ease",k.style.userSelect="none",k.style.webkitUserSelect="none";const s=k=>{k.style.opacity="1"},r=k=>{k.style.opacity="0"},i=()=>n.find(k=>!a(k))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const k of n)l.has(k)||r(k)},$=()=>{const k=i();k&&(s(k),u&&clearTimeout(u),u=setTimeout(d,250))},_=()=>$(),L=k=>{if(!(k.touches&&k.touches.length===1))return;const y=k.target;y&&y.classList&&y.classList.contains("map-scroll-edge")||$()},S=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",_,{passive:!0}),e.addEventListener("touchmove",L,{passive:!0}),e.addEventListener("touchend",S,{passive:!0}),e.addEventListener("touchcancel",S,{passive:!0});const N=()=>{c||$()};typeof window<"u"&&window.addEventListener("scroll",N,{passive:!0});const x=[];for(const k of n){const y=()=>{l.add(k),s(k)},b=()=>{l.delete(k),r(k)},E=()=>{c=!0,s(k)},v=()=>{c=!1,r(k)};k.addEventListener("mouseenter",y),k.addEventListener("mouseleave",b),k.addEventListener("touchstart",E,{passive:!0}),k.addEventListener("touchend",v,{passive:!0}),x.push(()=>{k.removeEventListener("mouseenter",y),k.removeEventListener("mouseleave",b),k.removeEventListener("touchstart",E),k.removeEventListener("touchend",v)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",_),e.removeEventListener("touchmove",L),e.removeEventListener("touchend",S),e.removeEventListener("touchcancel",S),typeof window<"u"&&window.removeEventListener("scroll",N);for(const y of x)y();for(const y of n)r(y)}}const rb=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function ib(e,o="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const t=rb[e];return t?o==="maplibre"?{style:t.maplibre,lightPreset:void 0,paint:t.paint}:{style:t.mapbox,lightPreset:t.lightPreset,paint:t.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function lb(e,o){if(!e||!Array.isArray(o))return[];const t=[];for(const n of o)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),t.push(n.layer+"."+n.prop)}catch{}return t}const cb=["mapbox","maplibre"],_c="mapbox";function ub(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function bc(e){const o=ub(e),t=o==null?void 0:o.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(t||n||a||_c).toLowerCase().trim();return cb.includes(s)?s:_c}const yc={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function pb(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function gb(e){if(typeof window>"u")return!1;const o=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let t=!1;for(const n of o)if(!(!n||!n.setRTLTextPlugin))try{if(pb(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(yc.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(yc.mapbox,null,!0);t=!0}catch{}return t}const db=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,vc=new WeakMap;function hb(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function Ac(e,o){if(!e||!o)return 0;const t=String(o).split("-")[0].toLowerCase();try{if(!hb(e))return typeof e.setLanguage=="function"&&e.setLanguage(t),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=vc.get(e);a||(a=new Map,vc.set(e,a));let s=0;for(const r of n.layers){if(r.type!=="symbol"||!r.layout||r.layout["text-field"]==null)continue;const i=r.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(r.id))continue}else{if(!db.test(l))continue;a.set(r.id,i)}const c=t==="en"?a.get(r.id):["coalesce",["get","name:"+t],["get","name:latin"],["get","name"]];e.setLayoutProperty(r.id,"text-field",c),s++}return s}catch{return 0}}const Gt={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function Sc(e){if(typeof window>"u")return;const o=window,t=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(o.__doxaLogoOwner&&o.__doxaLogoOwner!==e){e.once("load",t),t();return}o.__doxaLogoOwner=e,e.once("remove",()=>{o.__doxaLogoOwner===e&&(o.__doxaLogoOwner=null)})}const fb=Gt.mapbox.css,$b="https://tiles.openfreemap.org/styles/liberty",mb="https://tiles.openfreemap.org/styles/fiord";function Cs(e){var t;const o=((t=Gt[e])==null?void 0:t.global)||Gt.mapbox.global;return typeof window<"u"?window[o]:void 0}async function _b(e){const o=Gt[e]||Gt.mapbox;if(Cs(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${o.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=o.css,document.head.appendChild(n)}const t=document.querySelector(`script[src="${o.js}"]`);if(t){if(Cs(e))return;await new Promise(n=>{t.addEventListener("load",n,{once:!0}),t.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const s=document.createElement("script");s.src=o.js,s.async=!1,s.addEventListener("load",n,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function bb(e,o){if(!e)return;const t=e.getRootNode();if(!(t instanceof ShadowRoot))return;const n=r=>new Promise(i=>setTimeout(i,r)),a=t.querySelector(`link[href="${o}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(r=>{a.addEventListener("load",r,{once:!0}),a.addEventListener("error",r,{once:!0})}),n(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=o,await Promise.race([new Promise(r=>{s.addEventListener("load",r,{once:!0}),s.addEventListener("error",r,{once:!0}),t.prepend(s)}),n(2e3)])}function yb(e,o){return typeof e=="string"&&/^https?:\/\//.test(e)?e:o==="night"||o==="dusk"?mb:$b}const vb=85.0511,Ts=-2,Ab=0,Sb=-60;function kc(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function kb(e,o,t,n){if(!e||e<=0||!o||o<=0)return Ab;const a=Math.log2(e/512),s=kc(n)-kc(vb),r=Math.log2(o/(512*s)),i=Math.max(a,r);return Math.max(Ts,Math.min(i,(t??18)-1))}function Lb({containerRef:e,accessToken:o,style:t,config:n=void 0,provider:a=void 0,center:s=[20,10],zoom:r=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:d=18,pitch:$=0,bearing:_=0,renderWorldCopies:L=!0,showEdgeBorders:S=!0,southCutoff:N=Sb,maxBounds:x=void 0}){const k=Na(null),y=pe(!1);let b=null,E=null,v=null,P=null;try{P=Ie("profileConfig",null)}catch{}a=a||bc(P);const w=a==="maplibre";let f=null;try{f=Ie("lang",null)}catch{}const F=()=>{const W=f&&typeof f=="object"&&"value"in f?f.value:f;if(typeof W=="string"&&W)return W;const ee=P&&typeof P=="object"&&"value"in P?P.value:P;if(ee&&(ee.locale||ee.lang))return String(ee.locale||ee.lang);try{const U=new URLSearchParams(location.search);return U.get("lang")||U.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function G(){var J;const W=ib(t,a),ee=W.style||t;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const U=()=>!e.value;if(await _b(a),U())return;const q=Cs(a);if(!q){console.error(`[useMapInstance] ${w?"maplibregl":"mapboxgl"} is not available. Add the ${w?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(gb(q),!w){if(!o&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(o=window.MAP_TOKEN),!o){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!o.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',o.slice(0,10)+"...");return}}if(await bb(e.value,w?Gt.maplibre.css:fb),U()||(await new Promise(oe=>requestAnimationFrame(oe)),U()))return;const H=e.value,ue=H.clientWidth,Ce=H.clientHeight;if(ue===0||Ce===0){console.error(`[useMapInstance] Container has ZERO dimensions (${ue}×${Ce}). Map will be invisible. Check that parent elements have CSS sizing.`);let oe=H.parentElement,Q=0;for(;oe&&Q<5;)oe=oe.parentElement,Q++}const Be=o;w||(q.accessToken=Be);const xe=()=>typeof window<"u"&&window.innerWidth>=1024,we=(oe,Q)=>{if(u)return typeof c=="number"?c:Ts;if(!xe())return Ts;const $e=kb(oe,Q,d,N);return typeof c=="number"?Math.max(c,$e):$e},Z=we(H.clientWidth,H.clientHeight),ae=W.lightPreset||(()=>{var oe;try{const Q=typeof n=="function"?n():n;return(oe=Q==null?void 0:Q.basemap)==null?void 0:oe.lightPreset}catch{return}})();if(w){k.value=new q.Map({container:e.value,style:yb(ee,ae),center:s,zoom:r,minZoom:Z,maxZoom:d,pitch:$,bearing:_,dragRotate:!1,renderWorldCopies:L,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...x?{maxBounds:x}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Sc(k.value);try{e.value.__doxaMap=k.value}catch{}}else{const oe=typeof n=="function"?n():n;k.value=new q.Map({accessToken:Be,container:e.value,style:ee,...oe?{config:oe}:{},center:s,zoom:r,minZoom:Z,maxZoom:d,pitch:$,bearing:_,dragRotate:!1,touchPitch:!1,renderWorldCopies:L,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...x?{maxBounds:x}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Sc(k.value);try{e.value.__doxaMap=k.value}catch{}}try{let oe=!1;k.value.on("error",Q=>{var h,A;const $e=((h=Q==null?void 0:Q.error)==null?void 0:h.status)??(Q==null?void 0:Q.status),De=String(((A=Q==null?void 0:Q.error)==null?void 0:A.url)||(Q==null?void 0:Q.sourceId)||"");$e!==401&&$e!==403||oe||(oe=!0,console.error(`[doxa-maps] Mapbox returned ${$e} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(De?` First failing request: ${De.slice(0,120)}`:"")))})}catch{}try{k.value.touchZoomRotate.disableRotation()}catch{}v=sb(((J=e.value)==null?void 0:J.parentElement)||null,{enabled:S});let X=Z,ne=null;b=()=>{const oe=k.value;if(!oe)return;const Q=we(H.clientWidth,H.clientHeight);Q!==X&&(X=Q,oe.setMinZoom(Q)),oe.getZoom(){ne=null;const $e=k.value;if(!$e)return;const De=we(H.clientWidth,H.clientHeight);if($e.getZoom(){ne&&(clearTimeout(ne),ne=null)},k.value.on("resize",b),typeof window<"u"&&(window.addEventListener("resize",b),window.addEventListener("orientationchange",b)),k.value.on("style.load",()=>{if(k.value&&Ac(k.value,F()),W.paint&&k.value){const oe=lb(k.value,W.paint);console.info("[useMapInstance] style paint applied ("+a+"):",oe.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var oe;(oe=k.value)==null||oe.resize(),k.value&&k.value.setMinZoom(we(H.clientWidth,H.clientHeight)),y.value=!0})})}function B(){if(k.value){if(b&&(k.value.off("resize",b),typeof window<"u"&&(window.removeEventListener("resize",b),window.removeEventListener("orientationchange",b)),b=null),E){try{E()}catch{}E=null}v&&(v(),v=null),k.value.remove(),k.value=null,y.value=!1}}if(f&&typeof f=="object"&&"value"in f)try{fo(f,()=>{k.value&&y.value&&Ac(k.value,F())})}catch{}return{map:k,isMapReady:y,initializeMap:G,destroy:B}}const Lc="doxa-prayed-local",wb=7*24*60*60*1e3;function Pb(){try{const e=localStorage.getItem(Lc);if(!e)return{};const o=JSON.parse(e);return o&&typeof o=="object"?o:{}}catch{return{}}}function Eb(e){try{localStorage.setItem(Lc,JSON.stringify(e))}catch{}}function Cb(){const e=Date.now(),o=Pb();let t=!1;for(const[n,a]of Object.entries(o))(typeof a!="number"||e-a>wb)&&(delete o[n],t=!0);return t&&Eb(o),new Set(Object.keys(o))}function Tb(e){const o=Cb();return!o.size||!Array.isArray(e)?e:e.map(t=>(Number(t&&t.peoplePraying)||0)>0||!t||!o.has(t.slug)?t:{...t,peoplePraying:1})}const at={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"},wc={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"},Ns="languageFamily",Nb="#000000",st={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},xb=st;function xs(e){return st[e]||Nb}const Rb=(()=>{const e=t=>String(t||"").toLowerCase().trim(),o={};for(const t of Object.keys(st))o[e(t)]=t;return o})(),Mb={"tai-kadai":"Kra-Dai",none:"Unknown"};function Rs(e){if(!e)return"Unknown";const o=String(e).trim(),t=o.toLowerCase();return Mb[t]||Rb[t]||o}function Pc(e){var o;return xs(e.languageFamily||((o=e._normalized)==null?void 0:o.languageFamily))}function Ms(){const e=["match",["get",Ns]];return Object.entries(st).forEach(([o,t])=>{e.push(o,t)}),e.push("#95a5a6"),e}const Ec=Ms,Ib=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:xb,PALETTE:st,PROPERTY_KEY:Ns,applyColor:Ms,buildColorExpression:Ec,canonicalFamilyName:Rs,default:{name:"Language Family",propertyKey:Ns,palette:st,colors:st,getColor:Pc,applyColor:Ms,buildColorExpression:Ec,getLanguageFamilyColor:xs,canonicalFamilyName:Rs},defaultFamilyColor:"#95a5a6",getColor:Pc,getLanguageFamilyColor:xs,languageFamilyColors:st},Symbol.toStringTag,{value:"Module"})),Cc="adoptionStatus",qo={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},Ob=qo,Is={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},Db=Is;function Tc(e){var n;const o=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return o===!0||o===1||typeof o=="number"&&o>0||typeof o=="object"&&(o==null?void 0:o.value)?qo.hasAdoption:qo.notAdopted}function Os({colorSource:e="properties"}={}){const o=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",o,!0],qo.hasAdoption,["==",o,1],qo.hasAdoption,qo.notAdopted]}const Nc=Os,Fb=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Ob,ADOPTION_LABELS:Db,LABELS:Is,PALETTE:qo,PROPERTY_KEY:Cc,applyColor:Os,buildColorExpression:Nc,default:{name:"Adoption Progress",propertyKey:Cc,palette:qo,colors:qo,labels:Is,getColor:Tc,applyColor:Os,buildColorExpression:Nc},getColor:Tc},Symbol.toStringTag,{value:"Module"})),xc="engagementStatus",Ho={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},Gb=Ho,Ds={notEngaged:"Unengaged",hasEngagement:"Engaged"},Bb=Ds;function Rc(e){var n;const o=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return o===!0||o===1||typeof o=="number"&&o>0||typeof o=="object"&&(o==null?void 0:o.value)?Ho.hasEngagement:Ho.notEngaged}function Fs({colorSource:e="properties"}={}){const o=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",o,!0],Ho.hasEngagement,["==",o,1],Ho.hasEngagement,Ho.notEngaged]}const Mc=Fs,jb=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Gb,ENGAGEMENT_LABELS:Bb,LABELS:Ds,PALETTE:Ho,PROPERTY_KEY:xc,applyColor:Fs,buildColorExpression:Mc,default:{name:"Engagement Progress",propertyKey:xc,palette:Ho,colors:Ho,labels:Ds,getColor:Rc,applyColor:Fs,buildColorExpression:Mc},getColor:Rc},Symbol.toStringTag,{value:"Module"})),Ic="peoplePraying",ga=144,rt={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},Ub=rt,Gs={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},zb=Gs;function da(e){var n;const o=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,t=Number(o)||0;return t>=ga?"fullPrayer":t>0?"hasPrayer":"noPrayer"}function Bs(e){return rt[da(e)]}function Oc(e){var t;const o=(e==null?void 0:e.peoplePraying)??((t=e==null?void 0:e._raw)==null?void 0:t.people_praying)??null;return o!==null&&o>0}function Dc(e){return da(e)==="fullPrayer"}function Fc(e){return Bs(e)}function js({colorSource:e="properties"}={}){const o=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",o,ga],rt.fullPrayer,[">",o,0],rt.hasPrayer,rt.noPrayer]}const Gc=js,Vb=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:ga,LABELS:Gs,PALETTE:rt,PRAYER_COLORS:Ub,PRAYER_LABELS:zb,PROPERTY_KEY:Ic,applyColor:js,buildColorExpression:Gc,checkHasFullPrayer:Dc,checkHasPrayer:Oc,default:{name:"Prayer Progress",propertyKey:Ic,palette:rt,colors:rt,labels:Gs,threshold:ga,getColor:Fc,applyColor:js,buildColorExpression:Gc,getPrayerLevel:da,getPrayerColor:Bs,checkHasPrayer:Oc,checkHasFullPrayer:Dc},getColor:Fc,getPrayerColor:Bs,getPrayerLevel:da},Symbol.toStringTag,{value:"Module"})),Bc="religion",Us="#94a3b8",zs={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},uo={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function jc(e){if(!e||typeof e!="string")return"U";const o=e.charAt(0).toUpperCase();return zs[o]?o:"U"}function Uc(e){var t,n,a;const o=(e==null?void 0:e.religion)||((n=(t=e==null?void 0:e._raw)==null?void 0:t.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return uo[jc(o)]||Us}function Vs(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",uo.C,"M",uo.M,"H",uo.H,"B",uo.B,"E",uo.E,"J",uo.J,"S",uo.S,"N",uo.N,"O",uo.O,Us]}const zc=Vs,Kb=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:uo,PROPERTY_KEY:Bc,RELIGION_FAMILIES:zs,applyColor:Vs,buildColorExpression:zc,default:{name:"Religion",propertyKey:Bc,palette:uo,families:zs,getColor:Uc,applyColor:Vs,buildColorExpression:zc,fallback:Us},getColor:Uc,getReligionFamily:jc},Symbol.toStringTag,{value:"Module"})),Vc="region",Ks="#6d766e",Kc={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},_n={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},qs=Object.keys(_n);function qc(e){var t,n,a;const o=(e==null?void 0:e.region)||((n=(t=e==null?void 0:e._raw)==null?void 0:t.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return _n[o]||Ks}function Hs(){const e=["match",["coalesce",["get","region"],""]];for(const o of qs)e.push(o,_n[o]);return e.push(Ks),e}const Hc=Hs,qb=Object.assign({"./adoption.js":Fb,"./engagement.js":jb,"./language-family.js":Ib,"./prayer-progress.js":Vb,"./religion.js":Kb,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:_n,PROPERTY_KEY:Vc,REGION_ORDER:qs,WAGF_REGIONS:Kc,applyColor:Hs,buildColorExpression:Hc,default:{name:"WAGF Region",propertyKey:Vc,palette:_n,regions:Kc,order:qs,getColor:qc,applyColor:Hs,buildColorExpression:Hc,fallback:Ks},getColor:qc},Symbol.toStringTag,{value:"Module"}))}),Hb=e=>e.replace(/-([a-z0-9])/g,(o,t)=>t.toUpperCase()),Wb=e=>e.replace(/-/g,"_").toUpperCase(),Yb={...{STATUS:"status",CUSTOM:"custom"}};function Xb(e){for(const o of Object.keys(e).sort()){const t=o.split("/").pop().replace(/\.js$/,"");if(t.startsWith("_")||t.startsWith(".")||!e[o].default)continue;const a=Hb(t);Yb[Wb(t)]=a}}Xb(qb);function Ws(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const Jb=[[/ sign language$/i,"Sign Language"]];function Zb(e){var i,l;const o=Ws(e.languageFamily);if(o)return o;const t=String(((l=(i=e._raw)==null?void 0:i.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(t&&wc[t])return wc[t];const n=Ws(e.language||e.primary_language);if(!n||typeof n!="string")return"";const a=n.trim(),s=a.split(",").map(c=>c.trim()).filter(Boolean);if(s.length>=2){const c=[...s].reverse().join(" ");if(at[c])return at[c];if(s.length>=3){const u=[s[1],s[0]].join(" ");if(at[u])return at[u]}}if(at[a])return at[a];const r=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(r!==a&&at[r])return at[r];for(const[c,u]of Jb)if(c.test(a))return u;return""}function Qb(e){const{mapId:o="unknown",dataSourceId:t="doxa-csv",dataSourceManager:n=null,dataStore:a=null,markRaw:s=P=>P}=e;n||console.error("useMapData: dataSourceManager is required!");const r=pe(!1),i=pe(null),l=pe(!1),c=pe([]),u=pe([]),d=pe(null),$=pe([]),_=pe([]),L=pe([]),S=pe(null);async function N(){if(!n)throw new Error("dataSourceManager is required for useMapData");r.value=!0,i.value=null;try{if(await n.init(),a&&a.hasSourceData&&a.hasSourceData(t)){const U=a.getSourceData(t);u.value=s(U.normalizedData||[])}else{const U=await n.setActiveSource(t);for(const q of U){const H=Ws(q.language||q.primary_language);H&&(q.language=H);const ue=Zb(q);q.languageFamily=Rs(ue)}u.value=s(U),a&&a.cacheSourceData&&a.cacheSourceData(t,{normalizedData:U,timestamp:Date.now()})}c.value=s(Tb(u.value.map(U=>({id:U.uniqueId,slug:U.slug||"",rop3:U.peopleGroupId,peopleId3:U.peopleId3,name:U.name,language:U.language,languageFamily:U.languageFamily,country:U.country,population:U.population,status:U.engagementStatus||U.status,latitude:U.latitude,longitude:U.longitude,lng:U.longitude,lat:U.latitude,description:U.description,imageUrl:U.imageUrl,doxaRegion:U.doxaRegion||U.wagfRegion||"",peoplePraying:U.peoplePraying??null,_normalized:U}))));const P=n.getDataByLanguageFamily();$.value=Object.entries(P).map(([U,q])=>{const H=q.reduce((ue,Ce)=>{const Be=parseInt(Ce.population)||0;return ue+Be},0);return{name:U,count:q.length,peopleGroupCount:q.length,population:H,groups:q}}).sort((U,q)=>q.count-U.count);const w=n.getDataByRegion();_.value=Object.entries(w).map(([U,q])=>{const H=q.reduce((ue,Ce)=>{const Be=parseInt(Ce.population)||0;return ue+Be},0);return{name:U,count:q.length,peopleGroupCount:q.length,population:H,groups:q}}).sort((U,q)=>U.name.localeCompare(q.name));const f={bible:{count:0,population:0,groups:[]},jesusFilm:{count:0,population:0,groups:[]},radio:{count:0,population:0,groups:[]},gospel:{count:0,population:0,groups:[]},audio:{count:0,population:0,groups:[]},stories:{count:0,population:0,groups:[]},hasResources:{count:0,population:0,groups:[]},noResources:{count:0,population:0,groups:[]}};u.value.forEach(U=>{const q=parseInt(U.population)||0;let H=!1;U.bible==="Available"&&(f.bible.count++,f.bible.population+=q,f.bible.groups.push(U),H=!0),U.jesusFilm==="Available"&&(f.jesusFilm.count++,f.jesusFilm.population+=q,f.jesusFilm.groups.push(U),H=!0),U.radio==="Available"&&(f.radio.count++,f.radio.population+=q,f.radio.groups.push(U),H=!0),U.gospel==="Available"&&(f.gospel.count++,f.gospel.population+=q,f.gospel.groups.push(U),H=!0),U.audio==="Available"&&(f.audio.count++,f.audio.population+=q,f.audio.groups.push(U),H=!0),U.stories==="Available"&&(f.stories.count++,f.stories.population+=q,f.stories.groups.push(U),H=!0),H?(f.hasResources.count++,f.hasResources.population+=q,f.hasResources.groups.push(U)):(f.noResources.count++,f.noResources.population+=q,f.noResources.groups.push(U))});const F=u.value.length,G=u.value.reduce((U,q)=>U+(parseInt(q.population)||0),0),B={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},W={bible:{count:F-f.bible.count,population:G-f.bible.population},jesusFilm:{count:F-f.jesusFilm.count,population:G-f.jesusFilm.population},radio:{count:F-f.radio.count,population:G-f.radio.population},gospel:{count:F-f.gospel.count,population:G-f.gospel.population},audio:{count:F-f.audio.count,population:G-f.audio.population},stories:{count:F-f.stories.count,population:G-f.stories.population}},ee="#2c3e50";return L.value=[{name:B.bible,key:"bible",count:f.bible.count,population:f.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:W.bible.count,population:W.bible.population,color:ee}]},{name:B.jesusFilm,key:"jesusFilm",count:f.jesusFilm.count,population:f.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:W.jesusFilm.count,population:W.jesusFilm.population,color:ee}]},{name:B.radio,key:"radio",count:f.radio.count,population:f.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:W.radio.count,population:W.radio.population,color:ee}]},{name:B.gospel,key:"gospel",count:f.gospel.count,population:f.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:W.gospel.count,population:W.gospel.population,color:ee}]},{name:B.audio,key:"audio",count:f.audio.count,population:f.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:W.audio.count,population:W.audio.population,color:ee}]},{name:B.stories,key:"stories",count:f.stories.count,population:f.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:W.stories.count,population:W.stories.population,color:ee}]},{name:B.hasResources,key:"hasResources",count:f.hasResources.count,population:f.hasResources.population,isParent:!0,children:[{name:B.noResources,key:"noResources",count:f.noResources.count,population:f.noResources.population,color:ee}]}],S.value=n.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:$.value,doxaRegionsData:_.value,resourcesData:L.value,stats:S.value}}catch(P){throw console.error(`Failed to load data for map "${o}":`,P),i.value=P.message||"Failed to load data",P}finally{r.value=!1}}async function x(){var P,w,f;try{const F={},G=u.value||[];for(const B of G){const W=B.countryIso||((w=(P=B._raw)==null?void 0:P.country_code)==null?void 0:w.value)||"",ee=(f=B._raw)==null?void 0:f.wagf_region,U=B.doxaRegion||B.wagfRegion||(ee&&typeof ee=="object"?ee.value:"")||"";W&&U&&!F[W]&&(F[W]=U)}return d.value={isoToRegion:F},d.value}catch(F){throw console.error(`Error building regions data for map "${o}":`,F),i.value=F.message||"Failed to build regions",F}}function k(){return n?n.getDataByLanguageFamily():{}}function y(){return n?n.getDataByRegion():{}}function b(P){return k()[P]||[]}function E(P){return y()[P]||[]}function v(){c.value=[],u.value=[],d.value=null,$.value=[],_.value=[],L.value=[],S.value=null,l.value=!1,i.value=null}return{isLoading:r,isInitialized:l,error:i,peopleGroups:c,normalizedPeopleGroups:u,regionsData:d,languageFamiliesData:$,doxaRegionsData:_,resourcesData:L,stats:S,loadData:N,loadRegionsData:x,getDataByLanguageFamily:k,getDataByRegion:y,getPeopleGroupsByFamily:b,getPeopleGroupsByRegion:E,clearData:v}}const Ys={};function ey(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:_t&&_t.tagName.toUpperCase()==="SCRIPT"&&_t.src||new URL("all-people-groups.js",document.baseURI).href}<"u"&&(Ys==null?void 0:Ys.VITE_API_BASE_URL)||""}class Wc{constructor(o={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=o.locale||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=fc,this.sourcesConfig}getActiveSourceId(){var o;return((o=this.sourcesConfig)==null?void 0:o.activeSource)||"doxa-csv"}getSourceConfig(o){var t,n;return(n=(t=this.sourcesConfig)==null?void 0:t.sources)==null?void 0:n[o]}async setActiveSource(o){const t=this.getSourceConfig(o);if(!t)throw new Error(`Source not found: ${o}`);if(this.activeSource=t,this.cacheEnabled&&this.cache.has(o)){const n=this.cache.get(o);return this.normalizedData=n.normalizedData,this.dataByUniqueId=n.dataByUniqueId,this.normalizedData}return t.type==="csv"?await this.loadCSVData(t):t.type==="api"?await this.loadAPIData(t):t.type==="rest-api"&&await this.loadRestApiData(t),this.cacheEnabled&&this.cache.set(o,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(o=null){o?this.cache.delete(o):this.cache.clear()}isCached(o){return this.cache.has(o)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(o){const t=[],n=[];let a="",s=!1,r=[],i=!0;for(let l=0;ll.value?(ye(),Re("div",{key:0,ref_key:"hintEl",ref:c,class:oo(["pin-hint",{dark:r.value}]),role:"status"},[re("span",K_,[f[0]||(f[0]=re("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),$o(" "+Ue(i.value)+" ",1),re("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:y},"×")])],2)):Go("",!0)}};let H_=0;const W_=is("ui",{state:()=>({_storeInstanceId:++H_,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>o=>e.toasts.filter(t=>t.type===o),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>o=>e.openModals.includes(o),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>o=>e.loadingStates.get(o)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const t=this.isDarkTheme;document.documentElement.setAttribute("data-theme",t?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let o;e<768?o="mobile":e<1024?o="tablet":e<1920?o="desktop":o="wide",o!==this.breakpoint&&(this.breakpoint=o)},updateWindowSize(e,o){this.windowSize.width=e,this.windowSize.height=o,this.updateBreakpoint(e)},showToast(e){const{message:o,type:t="info",duration:n=this.toastDuration,action:a=null,persistent:s=!1}=e,r={id:this.nextToastId++,message:o,type:t,duration:n,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(r),!s&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.id},showSuccess(e,o={}){return this.showToast({message:e,type:"success",...o})},showError(e,o={}){return this.showToast({message:e,type:"error",duration:7e3,...o})},showWarning(e,o={}){return this.showToast({message:e,type:"warning",...o})},showInfo(e,o={}){return this.showToast({message:e,type:"info",...o})},removeToast(e){const o=this.toasts.findIndex(t=>t.id===e);o!==-1&&this.toasts.splice(o,1)},clearAllToasts(){this.toasts=[]},openModal(e,o={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,o),this.focusTrapActive=!0)},closeModal(e=null){if(e){const o=this.openModals.indexOf(e);o!==-1&&(this.openModals.splice(o,1),this.modalData.delete(e))}else{const o=this.openModals.pop();o&&this.modalData.delete(o)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,o=!0){o?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,o="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(t=>{for(const n of t)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",t.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",t=>{this.reducedMotion=t.matches,document.documentElement.setAttribute("data-reduced-motion",t.matches)}))}}}),Y_=is("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>o=>e.maps[o],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>o=>o in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>o=>e.fullscreenMapId===o},actions:{registerMap(e,o,t={}){let n=1.5;t.zoom!==void 0?n=t.zoom:o&&typeof o.getZoom=="function"&&(n=o.getZoom());let a=[0,0];if(t.center)a=t.center;else if(o&&typeof o.getCenter=="function"){const s=o.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:o,config:t,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const o=this.maps[e];o&&(o.isReady=!0)},updateMapState(e,o){const t=this.maps[e];t&&Object.assign(t,o)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const o=this.allMapIds;this.activeMapId=o.length>0?o[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,o){this.globalFilters[e]=o},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,o=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=o,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,o){this.clusterFilterProperty=e||null,this.clusterFilterValue=o||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const o=JSON.parse(e);this.preferences={...this.preferences,...o}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,o){this.preferences[e]=o,this.preferences.autoSavePreferences&&this.savePreferences()}}}),X_=is("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,o){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const t=await o();this.sources[e]=Wt({features:t,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(t){console.error(`[dataStore] Failed to load source "${e}":`,t),this.loadingStates[e]={isLoading:!1,error:t}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,o){this.sources[e]=Wt({features:o.normalizedData||[],timestamp:o.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>o=>{var t;return((t=e.sources[o])==null?void 0:t.features)??null},isLoading:e=>o=>{var t;return((t=e.loadingStates[o])==null?void 0:t.isLoading)??!1},getError:e=>o=>{var t;return((t=e.loadingStates[o])==null?void 0:t.error)??null}}}),fc={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","imb_gsec","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},J_=".profile-loader[data-v-45d151f8]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-45d151f8]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",Z_=(e,o)=>{const t=e.__vccOpts||e;for(const[n,a]of o)t[n]=a;return t},Q_={class:"profile-loader"},eb={key:0,class:"profile-error"},ob={key:1,class:"profile-error"},tb=Z_({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var E;const t=e,n=Ie("profileConfig",null),a=_e(()=>{var P;if(!t.profileConfig)return null;let v;try{v=JSON.parse(t.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",t.profileConfig),null}if(v&&v.assetsBase===void 0){const w=(P=n==null?void 0:n.value)==null?void 0:P.assetsBase;typeof w=="string"&&w&&(v.assetsBase=w)}return v}),s=_e(()=>{var v;return((v=a.value)==null?void 0:v.profile)||null}),r=Dg(),i=_e(()=>{var P;const v=(P=a.value)==null?void 0:P.tk;return typeof v=="string"&&v?v:r.value||""});fo(()=>{var v;return(v=a.value)==null?void 0:v.tk},v=>{typeof v=="string"&&v&&Zi(v)},{immediate:!0});const l=_e(()=>{var v;return((v=a.value)==null?void 0:v.dataSource)||fc.activeSource||"doxa-csv"}),c=_e(()=>{var v;return((v=a.value)==null?void 0:v.colorSet)||"default"}),u=_e(()=>!1),d=_e(()=>{var v;return((v=a.value)==null?void 0:v.pinHint)!==!1}),$=_e(()=>{var P,w;const v=(((P=a.value)==null?void 0:P.locale)||((w=a.value)==null?void 0:w.lang)||"").split("-")[0].toLowerCase();return pa.includes(v)?v:""}),_=Ie("appI18n",null);Yu(()=>{$.value&&(_&&(_.global.locale.value=$.value),hc($.value))});const L=_e(()=>{var v,P;return $.value||((P=(v=_==null?void 0:_.global)==null?void 0:v.locale)==null?void 0:P.value)||"en"}),S=_e(()=>{var v;return((v=a.value)==null?void 0:v.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),N=Ie("profileModules",null);if(!N)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const x=_e(()=>{if(!s.value)return null;const v=`./${s.value}.vue`;return N[v]?Fg(N[v]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(N)),null)});lo("mapboxToken",i),lo("dataSource",l),lo("colorSet",c),lo("profileConfig",a),lo("instanceId",S),lo("lang",L);const k=W_(),y=Y_(),b=X_();try{const v=typeof localStorage<"u"?localStorage.getItem("theme"):null;v&&((E=k.setTheme)==null||E.call(k,v))}catch{}return lo("uiStore",k),lo("mapStore",y),lo("dataStore",b),(v,P)=>(ye(),Re("div",Q_,[a.value?x.value?(ye(),ht(Yr(x.value),{key:2})):(ye(),Re("div",ob,[re("p",null,[P[1]||(P[1]=$o("⚠️ Profile ",-1)),re("strong",null,'"'+Ue(s.value)+'"',1),P[2]||(P[2]=$o(" not found.",-1))])])):(ye(),Re("div",eb,[...P[0]||(P[0]=[re("p",null,[$o("⚠️ "),re("strong",null,"doxa-map"),$o(": missing or invalid "),re("code",null,"profile-config"),$o(" prop.")],-1),re("p",null,[$o("Example: "),re("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),x.value&&u.value?(ye(),ht(Yr(Oo(null)),{key:3})):Go("",!0),x.value&&d.value?(ye(),ht(q_,{key:4})):Go("",!0)]))}},[["styles",[J_]],["__scopeId","data-v-45d151f8"]]),nb=Object.assign({"./all-people-groups.vue":()=>Zc(()=>Promise.resolve().then(()=>Gy),void 0)}),ab=kg(tb,{configureApp(e){e.use(Tg());const o=U_();e.use(o),e.provide("appI18n",o),e.provide("profileModules",nb)}});typeof customElements<"u"&&!customElements.get("all-people-groups")&&customElements.define("all-people-groups",ab);const sb="rgba(120, 128, 134, 0.28)",$c="36px",mc=()=>{};function rb(e,o={}){const{enabled:t=!0}=o;if(!t||!e)return mc;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return mc;const a=k=>k.classList.contains("map-scroll-edge--left");for(const k of n)k.style.background=`linear-gradient(${a(k)?"to right":"to left"}, ${sb} ${$c}, transparent ${$c})`,k.style.opacity="0",k.style.transition="opacity 0.16s ease",k.style.userSelect="none",k.style.webkitUserSelect="none";const s=k=>{k.style.opacity="1"},r=k=>{k.style.opacity="0"},i=()=>n.find(k=>!a(k))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const k of n)l.has(k)||r(k)},$=()=>{const k=i();k&&(s(k),u&&clearTimeout(u),u=setTimeout(d,250))},_=()=>$(),L=k=>{if(!(k.touches&&k.touches.length===1))return;const y=k.target;y&&y.classList&&y.classList.contains("map-scroll-edge")||$()},S=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",_,{passive:!0}),e.addEventListener("touchmove",L,{passive:!0}),e.addEventListener("touchend",S,{passive:!0}),e.addEventListener("touchcancel",S,{passive:!0});const N=()=>{c||$()};typeof window<"u"&&window.addEventListener("scroll",N,{passive:!0});const x=[];for(const k of n){const y=()=>{l.add(k),s(k)},b=()=>{l.delete(k),r(k)},E=()=>{c=!0,s(k)},v=()=>{c=!1,r(k)};k.addEventListener("mouseenter",y),k.addEventListener("mouseleave",b),k.addEventListener("touchstart",E,{passive:!0}),k.addEventListener("touchend",v,{passive:!0}),x.push(()=>{k.removeEventListener("mouseenter",y),k.removeEventListener("mouseleave",b),k.removeEventListener("touchstart",E),k.removeEventListener("touchend",v)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",_),e.removeEventListener("touchmove",L),e.removeEventListener("touchend",S),e.removeEventListener("touchcancel",S),typeof window<"u"&&window.removeEventListener("scroll",N);for(const y of x)y();for(const y of n)r(y)}}const ib=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function lb(e,o="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const t=ib[e];return t?o==="maplibre"?{style:t.maplibre,lightPreset:void 0,paint:t.paint}:{style:t.mapbox,lightPreset:t.lightPreset,paint:t.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function cb(e,o){if(!e||!Array.isArray(o))return[];const t=[];for(const n of o)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),t.push(n.layer+"."+n.prop)}catch{}return t}const ub=["mapbox","maplibre"],_c="mapbox";function pb(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function bc(e){const o=pb(e),t=o==null?void 0:o.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(t||n||a||_c).toLowerCase().trim();return ub.includes(s)?s:_c}const yc={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function gb(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function db(e){if(typeof window>"u")return!1;const o=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let t=!1;for(const n of o)if(!(!n||!n.setRTLTextPlugin))try{if(gb(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(yc.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(yc.mapbox,null,!0);t=!0}catch{}return t}const hb=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,vc=new WeakMap;function fb(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function Ac(e,o){if(!e||!o)return 0;const t=String(o).split("-")[0].toLowerCase();try{if(!fb(e))return typeof e.setLanguage=="function"&&e.setLanguage(t),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=vc.get(e);a||(a=new Map,vc.set(e,a));let s=0;for(const r of n.layers){if(r.type!=="symbol"||!r.layout||r.layout["text-field"]==null)continue;const i=r.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(r.id))continue}else{if(!hb.test(l))continue;a.set(r.id,i)}const c=t==="en"?a.get(r.id):["coalesce",["get","name:"+t],["get","name:latin"],["get","name"]];e.setLayoutProperty(r.id,"text-field",c),s++}return s}catch{return 0}}const Gt={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function Sc(e){if(typeof window>"u")return;const o=window,t=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(o.__doxaLogoOwner&&o.__doxaLogoOwner!==e){e.once("load",t),t();return}o.__doxaLogoOwner=e,e.once("remove",()=>{o.__doxaLogoOwner===e&&(o.__doxaLogoOwner=null)})}const $b=Gt.mapbox.css,mb="https://tiles.openfreemap.org/styles/liberty",_b="https://tiles.openfreemap.org/styles/fiord";function Cs(e){var t;const o=((t=Gt[e])==null?void 0:t.global)||Gt.mapbox.global;return typeof window<"u"?window[o]:void 0}async function bb(e){const o=Gt[e]||Gt.mapbox;if(Cs(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${o.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=o.css,document.head.appendChild(n)}const t=document.querySelector(`script[src="${o.js}"]`);if(t){if(Cs(e))return;await new Promise(n=>{t.addEventListener("load",n,{once:!0}),t.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const s=document.createElement("script");s.src=o.js,s.async=!1,s.addEventListener("load",n,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function yb(e,o){if(!e)return;const t=e.getRootNode();if(!(t instanceof ShadowRoot))return;const n=r=>new Promise(i=>setTimeout(i,r)),a=t.querySelector(`link[href="${o}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(r=>{a.addEventListener("load",r,{once:!0}),a.addEventListener("error",r,{once:!0})}),n(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=o,await Promise.race([new Promise(r=>{s.addEventListener("load",r,{once:!0}),s.addEventListener("error",r,{once:!0}),t.prepend(s)}),n(2e3)])}function vb(e,o){return typeof e=="string"&&/^https?:\/\//.test(e)?e:o==="night"||o==="dusk"?_b:mb}const Ab=85.0511,Ts=-2,Sb=0,kb=-60;function kc(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Lb(e,o,t,n){if(!e||e<=0||!o||o<=0)return Sb;const a=Math.log2(e/512),s=kc(n)-kc(Ab),r=Math.log2(o/(512*s)),i=Math.max(a,r);return Math.max(Ts,Math.min(i,(t??18)-1))}function wb({containerRef:e,accessToken:o,style:t,config:n=void 0,provider:a=void 0,center:s=[20,10],zoom:r=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:d=18,pitch:$=0,bearing:_=0,renderWorldCopies:L=!0,showEdgeBorders:S=!0,southCutoff:N=kb,maxBounds:x=void 0}){const k=Na(null),y=pe(!1);let b=null,E=null,v=null,P=null;try{P=Ie("profileConfig",null)}catch{}a=a||bc(P);const w=a==="maplibre";let f=null;try{f=Ie("lang",null)}catch{}const F=()=>{const W=f&&typeof f=="object"&&"value"in f?f.value:f;if(typeof W=="string"&&W)return W;const ee=P&&typeof P=="object"&&"value"in P?P.value:P;if(ee&&(ee.locale||ee.lang))return String(ee.locale||ee.lang);try{const U=new URLSearchParams(location.search);return U.get("lang")||U.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function G(){var J;const W=lb(t,a),ee=W.style||t;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const U=()=>!e.value;if(await bb(a),U())return;const q=Cs(a);if(!q){console.error(`[useMapInstance] ${w?"maplibregl":"mapboxgl"} is not available. Add the ${w?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(db(q),!w){if(!o&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(o=window.MAP_TOKEN),!o){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!o.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',o.slice(0,10)+"...");return}}if(await yb(e.value,w?Gt.maplibre.css:$b),U()||(await new Promise(oe=>requestAnimationFrame(oe)),U()))return;const H=e.value,ue=H.clientWidth,Ce=H.clientHeight;if(ue===0||Ce===0){console.error(`[useMapInstance] Container has ZERO dimensions (${ue}×${Ce}). Map will be invisible. Check that parent elements have CSS sizing.`);let oe=H.parentElement,Q=0;for(;oe&&Q<5;)oe=oe.parentElement,Q++}const Be=o;w||(q.accessToken=Be);const xe=()=>typeof window<"u"&&window.innerWidth>=1024,we=(oe,Q)=>{if(u)return typeof c=="number"?c:Ts;if(!xe())return Ts;const $e=Lb(oe,Q,d,N);return typeof c=="number"?Math.max(c,$e):$e},Z=we(H.clientWidth,H.clientHeight),ae=W.lightPreset||(()=>{var oe;try{const Q=typeof n=="function"?n():n;return(oe=Q==null?void 0:Q.basemap)==null?void 0:oe.lightPreset}catch{return}})();if(w){k.value=new q.Map({container:e.value,style:vb(ee,ae),center:s,zoom:r,minZoom:Z,maxZoom:d,pitch:$,bearing:_,dragRotate:!1,renderWorldCopies:L,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...x?{maxBounds:x}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Sc(k.value);try{e.value.__doxaMap=k.value}catch{}}else{const oe=typeof n=="function"?n():n;k.value=new q.Map({accessToken:Be,container:e.value,style:ee,...oe?{config:oe}:{},center:s,zoom:r,minZoom:Z,maxZoom:d,pitch:$,bearing:_,dragRotate:!1,touchPitch:!1,renderWorldCopies:L,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...x?{maxBounds:x}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Sc(k.value);try{e.value.__doxaMap=k.value}catch{}}try{let oe=!1;k.value.on("error",Q=>{var h,A;const $e=((h=Q==null?void 0:Q.error)==null?void 0:h.status)??(Q==null?void 0:Q.status),De=String(((A=Q==null?void 0:Q.error)==null?void 0:A.url)||(Q==null?void 0:Q.sourceId)||"");$e!==401&&$e!==403||oe||(oe=!0,console.error(`[doxa-maps] Mapbox returned ${$e} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(De?` First failing request: ${De.slice(0,120)}`:"")))})}catch{}try{k.value.touchZoomRotate.disableRotation()}catch{}v=rb(((J=e.value)==null?void 0:J.parentElement)||null,{enabled:S});let X=Z,ne=null;b=()=>{const oe=k.value;if(!oe)return;const Q=we(H.clientWidth,H.clientHeight);Q!==X&&(X=Q,oe.setMinZoom(Q)),oe.getZoom(){ne=null;const $e=k.value;if(!$e)return;const De=we(H.clientWidth,H.clientHeight);if($e.getZoom(){ne&&(clearTimeout(ne),ne=null)},k.value.on("resize",b),typeof window<"u"&&(window.addEventListener("resize",b),window.addEventListener("orientationchange",b)),k.value.on("style.load",()=>{if(k.value&&Ac(k.value,F()),W.paint&&k.value){const oe=cb(k.value,W.paint);console.info("[useMapInstance] style paint applied ("+a+"):",oe.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var oe;(oe=k.value)==null||oe.resize(),k.value&&k.value.setMinZoom(we(H.clientWidth,H.clientHeight)),y.value=!0})})}function B(){if(k.value){if(b&&(k.value.off("resize",b),typeof window<"u"&&(window.removeEventListener("resize",b),window.removeEventListener("orientationchange",b)),b=null),E){try{E()}catch{}E=null}v&&(v(),v=null),k.value.remove(),k.value=null,y.value=!1}}if(f&&typeof f=="object"&&"value"in f)try{fo(f,()=>{k.value&&y.value&&Ac(k.value,F())})}catch{}return{map:k,isMapReady:y,initializeMap:G,destroy:B}}const Lc="doxa-prayed-local",Pb=7*24*60*60*1e3;function Eb(){try{const e=localStorage.getItem(Lc);if(!e)return{};const o=JSON.parse(e);return o&&typeof o=="object"?o:{}}catch{return{}}}function Cb(e){try{localStorage.setItem(Lc,JSON.stringify(e))}catch{}}function Tb(){const e=Date.now(),o=Eb();let t=!1;for(const[n,a]of Object.entries(o))(typeof a!="number"||e-a>Pb)&&(delete o[n],t=!0);return t&&Cb(o),new Set(Object.keys(o))}function Nb(e){const o=Tb();return!o.size||!Array.isArray(e)?e:e.map(t=>(Number(t&&t.peoplePraying)||0)>0||!t||!o.has(t.slug)?t:{...t,peoplePraying:1})}const at={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"},wc={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"},Ns="languageFamily",xb="#000000",st={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},Rb=st;function xs(e){return st[e]||xb}const Mb=(()=>{const e=t=>String(t||"").toLowerCase().trim(),o={};for(const t of Object.keys(st))o[e(t)]=t;return o})(),Ib={"tai-kadai":"Kra-Dai",none:"Unknown"};function Rs(e){if(!e)return"Unknown";const o=String(e).trim(),t=o.toLowerCase();return Ib[t]||Mb[t]||o}function Pc(e){var o;return xs(e.languageFamily||((o=e._normalized)==null?void 0:o.languageFamily))}function Ms(){const e=["match",["get",Ns]];return Object.entries(st).forEach(([o,t])=>{e.push(o,t)}),e.push("#95a5a6"),e}const Ec=Ms,Ob=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Rb,PALETTE:st,PROPERTY_KEY:Ns,applyColor:Ms,buildColorExpression:Ec,canonicalFamilyName:Rs,default:{name:"Language Family",propertyKey:Ns,palette:st,colors:st,getColor:Pc,applyColor:Ms,buildColorExpression:Ec,getLanguageFamilyColor:xs,canonicalFamilyName:Rs},defaultFamilyColor:"#95a5a6",getColor:Pc,getLanguageFamilyColor:xs,languageFamilyColors:st},Symbol.toStringTag,{value:"Module"})),Cc="adoptionStatus",qo={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},Db=qo,Is={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},Fb=Is;function Tc(e){var n;const o=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return o===!0||o===1||typeof o=="number"&&o>0||typeof o=="object"&&(o==null?void 0:o.value)?qo.hasAdoption:qo.notAdopted}function Os({colorSource:e="properties"}={}){const o=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",o,!0],qo.hasAdoption,["==",o,1],qo.hasAdoption,qo.notAdopted]}const Nc=Os,Gb=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Db,ADOPTION_LABELS:Fb,LABELS:Is,PALETTE:qo,PROPERTY_KEY:Cc,applyColor:Os,buildColorExpression:Nc,default:{name:"Adoption Progress",propertyKey:Cc,palette:qo,colors:qo,labels:Is,getColor:Tc,applyColor:Os,buildColorExpression:Nc},getColor:Tc},Symbol.toStringTag,{value:"Module"})),xc="engagementStatus",Ho={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},Bb=Ho,Ds={notEngaged:"Unengaged",hasEngagement:"Engaged"},jb=Ds;function Rc(e){var n;const o=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return o===!0||o===1||typeof o=="number"&&o>0||typeof o=="object"&&(o==null?void 0:o.value)?Ho.hasEngagement:Ho.notEngaged}function Fs({colorSource:e="properties"}={}){const o=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",o,!0],Ho.hasEngagement,["==",o,1],Ho.hasEngagement,Ho.notEngaged]}const Mc=Fs,Ub=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Bb,ENGAGEMENT_LABELS:jb,LABELS:Ds,PALETTE:Ho,PROPERTY_KEY:xc,applyColor:Fs,buildColorExpression:Mc,default:{name:"Engagement Progress",propertyKey:xc,palette:Ho,colors:Ho,labels:Ds,getColor:Rc,applyColor:Fs,buildColorExpression:Mc},getColor:Rc},Symbol.toStringTag,{value:"Module"})),Ic="peoplePraying",ga=144,rt={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},zb=rt,Gs={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},Vb=Gs;function da(e){var n;const o=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,t=Number(o)||0;return t>=ga?"fullPrayer":t>0?"hasPrayer":"noPrayer"}function Bs(e){return rt[da(e)]}function Oc(e){var t;const o=(e==null?void 0:e.peoplePraying)??((t=e==null?void 0:e._raw)==null?void 0:t.people_praying)??null;return o!==null&&o>0}function Dc(e){return da(e)==="fullPrayer"}function Fc(e){return Bs(e)}function js({colorSource:e="properties"}={}){const o=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",o,ga],rt.fullPrayer,[">",o,0],rt.hasPrayer,rt.noPrayer]}const Gc=js,Kb=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:ga,LABELS:Gs,PALETTE:rt,PRAYER_COLORS:zb,PRAYER_LABELS:Vb,PROPERTY_KEY:Ic,applyColor:js,buildColorExpression:Gc,checkHasFullPrayer:Dc,checkHasPrayer:Oc,default:{name:"Prayer Progress",propertyKey:Ic,palette:rt,colors:rt,labels:Gs,threshold:ga,getColor:Fc,applyColor:js,buildColorExpression:Gc,getPrayerLevel:da,getPrayerColor:Bs,checkHasPrayer:Oc,checkHasFullPrayer:Dc},getColor:Fc,getPrayerColor:Bs,getPrayerLevel:da},Symbol.toStringTag,{value:"Module"})),Bc="religion",Us="#94a3b8",zs={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},uo={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function jc(e){if(!e||typeof e!="string")return"U";const o=e.charAt(0).toUpperCase();return zs[o]?o:"U"}function Uc(e){var t,n,a;const o=(e==null?void 0:e.religion)||((n=(t=e==null?void 0:e._raw)==null?void 0:t.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return uo[jc(o)]||Us}function Vs(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",uo.C,"M",uo.M,"H",uo.H,"B",uo.B,"E",uo.E,"J",uo.J,"S",uo.S,"N",uo.N,"O",uo.O,Us]}const zc=Vs,qb=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:uo,PROPERTY_KEY:Bc,RELIGION_FAMILIES:zs,applyColor:Vs,buildColorExpression:zc,default:{name:"Religion",propertyKey:Bc,palette:uo,families:zs,getColor:Uc,applyColor:Vs,buildColorExpression:zc,fallback:Us},getColor:Uc,getReligionFamily:jc},Symbol.toStringTag,{value:"Module"})),Vc="region",Ks="#6d766e",Kc={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},_n={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},qs=Object.keys(_n);function qc(e){var t,n,a;const o=(e==null?void 0:e.region)||((n=(t=e==null?void 0:e._raw)==null?void 0:t.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return _n[o]||Ks}function Hs(){const e=["match",["coalesce",["get","region"],""]];for(const o of qs)e.push(o,_n[o]);return e.push(Ks),e}const Hc=Hs,Hb=Object.assign({"./adoption.js":Gb,"./engagement.js":Ub,"./language-family.js":Ob,"./prayer-progress.js":Kb,"./religion.js":qb,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:_n,PROPERTY_KEY:Vc,REGION_ORDER:qs,WAGF_REGIONS:Kc,applyColor:Hs,buildColorExpression:Hc,default:{name:"WAGF Region",propertyKey:Vc,palette:_n,regions:Kc,order:qs,getColor:qc,applyColor:Hs,buildColorExpression:Hc,fallback:Ks},getColor:qc},Symbol.toStringTag,{value:"Module"}))}),Wb=e=>e.replace(/-([a-z0-9])/g,(o,t)=>t.toUpperCase()),Yb=e=>e.replace(/-/g,"_").toUpperCase(),Xb={...{STATUS:"status",CUSTOM:"custom"}};function Jb(e){for(const o of Object.keys(e).sort()){const t=o.split("/").pop().replace(/\.js$/,"");if(t.startsWith("_")||t.startsWith(".")||!e[o].default)continue;const a=Wb(t);Xb[Yb(t)]=a}}Jb(Hb);function Ws(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const Zb=[[/ sign language$/i,"Sign Language"]];function Qb(e){var i,l;const o=Ws(e.languageFamily);if(o)return o;const t=String(((l=(i=e._raw)==null?void 0:i.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(t&&wc[t])return wc[t];const n=Ws(e.language||e.primary_language);if(!n||typeof n!="string")return"";const a=n.trim(),s=a.split(",").map(c=>c.trim()).filter(Boolean);if(s.length>=2){const c=[...s].reverse().join(" ");if(at[c])return at[c];if(s.length>=3){const u=[s[1],s[0]].join(" ");if(at[u])return at[u]}}if(at[a])return at[a];const r=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(r!==a&&at[r])return at[r];for(const[c,u]of Zb)if(c.test(a))return u;return""}function ey(e){const{mapId:o="unknown",dataSourceId:t="doxa-csv",dataSourceManager:n=null,dataStore:a=null,markRaw:s=P=>P}=e;n||console.error("useMapData: dataSourceManager is required!");const r=pe(!1),i=pe(null),l=pe(!1),c=pe([]),u=pe([]),d=pe(null),$=pe([]),_=pe([]),L=pe([]),S=pe(null);async function N(){if(!n)throw new Error("dataSourceManager is required for useMapData");r.value=!0,i.value=null;try{if(await n.init(),a&&a.hasSourceData&&a.hasSourceData(t)){const U=a.getSourceData(t);u.value=s(U.normalizedData||[])}else{const U=await n.setActiveSource(t);for(const q of U){const H=Ws(q.language||q.primary_language);H&&(q.language=H);const ue=Qb(q);q.languageFamily=Rs(ue)}u.value=s(U),a&&a.cacheSourceData&&a.cacheSourceData(t,{normalizedData:U,timestamp:Date.now()})}c.value=s(Nb(u.value.map(U=>({id:U.uniqueId,slug:U.slug||"",rop3:U.peopleGroupId,peopleId3:U.peopleId3,name:U.name,language:U.language,languageFamily:U.languageFamily,country:U.country,population:U.population,status:U.engagementStatus||U.status,latitude:U.latitude,longitude:U.longitude,lng:U.longitude,lat:U.latitude,description:U.description,imageUrl:U.imageUrl,doxaRegion:U.doxaRegion||U.wagfRegion||"",peoplePraying:U.peoplePraying??null,_normalized:U}))));const P=n.getDataByLanguageFamily();$.value=Object.entries(P).map(([U,q])=>{const H=q.reduce((ue,Ce)=>{const Be=parseInt(Ce.population)||0;return ue+Be},0);return{name:U,count:q.length,peopleGroupCount:q.length,population:H,groups:q}}).sort((U,q)=>q.count-U.count);const w=n.getDataByRegion();_.value=Object.entries(w).map(([U,q])=>{const H=q.reduce((ue,Ce)=>{const Be=parseInt(Ce.population)||0;return ue+Be},0);return{name:U,count:q.length,peopleGroupCount:q.length,population:H,groups:q}}).sort((U,q)=>U.name.localeCompare(q.name));const f={bible:{count:0,population:0,groups:[]},jesusFilm:{count:0,population:0,groups:[]},radio:{count:0,population:0,groups:[]},gospel:{count:0,population:0,groups:[]},audio:{count:0,population:0,groups:[]},stories:{count:0,population:0,groups:[]},hasResources:{count:0,population:0,groups:[]},noResources:{count:0,population:0,groups:[]}};u.value.forEach(U=>{const q=parseInt(U.population)||0;let H=!1;U.bible==="Available"&&(f.bible.count++,f.bible.population+=q,f.bible.groups.push(U),H=!0),U.jesusFilm==="Available"&&(f.jesusFilm.count++,f.jesusFilm.population+=q,f.jesusFilm.groups.push(U),H=!0),U.radio==="Available"&&(f.radio.count++,f.radio.population+=q,f.radio.groups.push(U),H=!0),U.gospel==="Available"&&(f.gospel.count++,f.gospel.population+=q,f.gospel.groups.push(U),H=!0),U.audio==="Available"&&(f.audio.count++,f.audio.population+=q,f.audio.groups.push(U),H=!0),U.stories==="Available"&&(f.stories.count++,f.stories.population+=q,f.stories.groups.push(U),H=!0),H?(f.hasResources.count++,f.hasResources.population+=q,f.hasResources.groups.push(U)):(f.noResources.count++,f.noResources.population+=q,f.noResources.groups.push(U))});const F=u.value.length,G=u.value.reduce((U,q)=>U+(parseInt(q.population)||0),0),B={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},W={bible:{count:F-f.bible.count,population:G-f.bible.population},jesusFilm:{count:F-f.jesusFilm.count,population:G-f.jesusFilm.population},radio:{count:F-f.radio.count,population:G-f.radio.population},gospel:{count:F-f.gospel.count,population:G-f.gospel.population},audio:{count:F-f.audio.count,population:G-f.audio.population},stories:{count:F-f.stories.count,population:G-f.stories.population}},ee="#2c3e50";return L.value=[{name:B.bible,key:"bible",count:f.bible.count,population:f.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:W.bible.count,population:W.bible.population,color:ee}]},{name:B.jesusFilm,key:"jesusFilm",count:f.jesusFilm.count,population:f.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:W.jesusFilm.count,population:W.jesusFilm.population,color:ee}]},{name:B.radio,key:"radio",count:f.radio.count,population:f.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:W.radio.count,population:W.radio.population,color:ee}]},{name:B.gospel,key:"gospel",count:f.gospel.count,population:f.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:W.gospel.count,population:W.gospel.population,color:ee}]},{name:B.audio,key:"audio",count:f.audio.count,population:f.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:W.audio.count,population:W.audio.population,color:ee}]},{name:B.stories,key:"stories",count:f.stories.count,population:f.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:W.stories.count,population:W.stories.population,color:ee}]},{name:B.hasResources,key:"hasResources",count:f.hasResources.count,population:f.hasResources.population,isParent:!0,children:[{name:B.noResources,key:"noResources",count:f.noResources.count,population:f.noResources.population,color:ee}]}],S.value=n.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:$.value,doxaRegionsData:_.value,resourcesData:L.value,stats:S.value}}catch(P){throw console.error(`Failed to load data for map "${o}":`,P),i.value=P.message||"Failed to load data",P}finally{r.value=!1}}async function x(){var P,w,f;try{const F={},G=u.value||[];for(const B of G){const W=B.countryIso||((w=(P=B._raw)==null?void 0:P.country_code)==null?void 0:w.value)||"",ee=(f=B._raw)==null?void 0:f.wagf_region,U=B.doxaRegion||B.wagfRegion||(ee&&typeof ee=="object"?ee.value:"")||"";W&&U&&!F[W]&&(F[W]=U)}return d.value={isoToRegion:F},d.value}catch(F){throw console.error(`Error building regions data for map "${o}":`,F),i.value=F.message||"Failed to build regions",F}}function k(){return n?n.getDataByLanguageFamily():{}}function y(){return n?n.getDataByRegion():{}}function b(P){return k()[P]||[]}function E(P){return y()[P]||[]}function v(){c.value=[],u.value=[],d.value=null,$.value=[],_.value=[],L.value=[],S.value=null,l.value=!1,i.value=null}return{isLoading:r,isInitialized:l,error:i,peopleGroups:c,normalizedPeopleGroups:u,regionsData:d,languageFamiliesData:$,doxaRegionsData:_,resourcesData:L,stats:S,loadData:N,loadRegionsData:x,getDataByLanguageFamily:k,getDataByRegion:y,getPeopleGroupsByFamily:b,getPeopleGroupsByRegion:E,clearData:v}}const Ys={};function oy(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:_t&&_t.tagName.toUpperCase()==="SCRIPT"&&_t.src||new URL("all-people-groups.js",document.baseURI).href}<"u"&&(Ys==null?void 0:Ys.VITE_API_BASE_URL)||""}class Wc{constructor(o={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=o.locale||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=fc,this.sourcesConfig}getActiveSourceId(){var o;return((o=this.sourcesConfig)==null?void 0:o.activeSource)||"doxa-csv"}getSourceConfig(o){var t,n;return(n=(t=this.sourcesConfig)==null?void 0:t.sources)==null?void 0:n[o]}async setActiveSource(o){const t=this.getSourceConfig(o);if(!t)throw new Error(`Source not found: ${o}`);if(this.activeSource=t,this.cacheEnabled&&this.cache.has(o)){const n=this.cache.get(o);return this.normalizedData=n.normalizedData,this.dataByUniqueId=n.dataByUniqueId,this.normalizedData}return t.type==="csv"?await this.loadCSVData(t):t.type==="api"?await this.loadAPIData(t):t.type==="rest-api"&&await this.loadRestApiData(t),this.cacheEnabled&&this.cache.set(o,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(o=null){o?this.cache.delete(o):this.cache.clear()}isCached(o){return this.cache.has(o)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(o){const t=[],n=[];let a="",s=!1,r=[],i=!0;for(let l=0;l0){if(r.push(a.trim()),a="",i)n.push(...r),i=!1;else if(r.length>1){const d={};n.forEach(($,_)=>{d[$]=r[_]||""}),t.push(d)}r=[]}}else a+=c}if((a||r.length>0)&&(r.push(a.trim()),!i&&r.length>1)){const l={};n.forEach((c,u)=>{l[c]=r[u]||""}),t.push(l)}return{headers:n,data:t}}async loadCSVData(o){try{const n=await(await fetch(this.baseUrl+o.path)).text(),{headers:a,data:s}=this.parseCSV(n);return this.rawData=s,this.validateFieldMappings(o.fieldMappings,a,o.name),this.normalizeData(o),this.normalizedData}catch(t){throw console.error("Failed to load CSV data:",t),t}}validateFieldMappings(o,t,n){const a=new Set(t.map(r=>r.trim())),s=[];for(const[r,i]of Object.entries(o||{}))if(Array.isArray(i))for(const l of i)a.has(l)||s.push({systemField:r,sourceField:l,isComposite:!0});else i&&!a.has(i)&&s.push({systemField:r,sourceField:i,isComposite:!1});s.length>0&&console.warn(`[DataSourceManager] ${n}: missing CSV columns:`,s)}async loadAPIData(o){try{const n=await(await fetch(o.url||o.endpoint)).json();return this.rawData=Array.isArray(n)?n:n.posts||n.data||n.peopleGroups||n.results||[],this.normalizeData(o),this.normalizedData}catch(t){throw console.error("Failed to load API data:",t),t}}async loadRestApiData(o){var l,c;const t=ey(),n=((l=o.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=o.defaultFields)==null?void 0:c.join(","))||"",s=[];a&&s.push(`fields=${a}`);const r={...o.queryParams||{}};this.locale&&(r.lang=this.locale);for(const[u,d]of Object.entries(r))s.push(`${u}=${encodeURIComponent(d)}`);const i=`${t}${n}?${s.join("&")}`;try{const u=await fetch(i);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const d=u.headers.get("content-type")||"";if(!d.includes("application/json"))throw new Error(`API returned "${d}" instead of JSON. Server at ${t} may be down or misconfigured.`);const $=await u.json();return this.rawData=Array.isArray($)?$:$.posts||$.data||$.results||[],this.normalizeData(o),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${o.id}:`,u),u}}normalizeData(o){const t=o.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const n of this.rawData){const a={};for(const[l,c]of Object.entries(t))if(Array.isArray(c)){const u=c.map(d=>this.getFieldValue(n,d));a[l]=u.join("_")}else a[l]=this.getFieldValue(n,c);if(a.latitude=parseFloat(a.latitude)||0,a.longitude=parseFloat(a.longitude)||0,a.latitude===0&&a.longitude===0)continue;a.populationNum=this.parsePopulation(a.population),a.imageUrl=this.getImageUrl(a,o.imageConfig);const s=a.engagementStatus;s!=null&&(typeof s=="object"&&"value"in s?(a.engagementStatusLabel=s.label||s.value,a.engagementStatus=s.value==="engaged"):a.engagementStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const r=a.adoptionStatus;r!=null&&(a.adoptionStatus=r===!0||r===1||r==="1"||r==="true"||typeof r=="object"&&!!(r!=null&&r.value)||typeof r=="number"&&r>0||typeof r=="string"&&parseInt(r,10)>0);const i=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of i){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=n,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(o,t){if(!t)return"";if(o[t]!==void 0)return o[t];const n=t.trim();if(o[n]!==void 0)return o[n];for(const a of Object.keys(o))if(a.trim()===n||a.includes(n)||n.includes(a.trim()))return o[a];return""}parsePopulation(o){if(!o)return 0;const t=String(o).replace(/,/g,"").trim(),n=parseInt(t,10);return isNaN(n)?0:n}getImageUrl(o,t){if(!t)return"";const n=t.placeholderUrl||"",a=o[t.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:n}getData(){return this.normalizedData}getByUniqueId(o){return this.dataByUniqueId.get(o)}getByCoordinates(o,t,n=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-o)t.peopleGroupId===o)}getLanguageFamilies(){const o=new Set;return this.normalizedData.forEach(t=>{t.languageFamily&&o.add(t.languageFamily)}),Array.from(o).sort()}getDataByLanguageFamily(){const o={};return this.normalizedData.forEach(t=>{const n=t.languageFamily||"Unknown";o[n]||(o[n]=[]),o[n].push(t)}),o}getDataByRegion(){const o={};return this.normalizedData.forEach(t=>{const n=t.doxaRegion||"Unknown";o[n]||(o[n]=[]),o[n].push(t)}),o}getStats(){return{totalRecords:this.normalizedData.length,withPeopleId3:this.normalizedData.filter(o=>o.peopleId3).length,withPhotos:this.normalizedData.filter(o=>o.imageUrl&&!String(o.imageUrl).includes("NoImageAvailable")).length,languageFamilies:this.getLanguageFamilies().length,countries:new Set(this.normalizedData.map(o=>o.country)).size,regions:Object.keys(this.getDataByRegion()).length}}}new Wc;const oy={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){const o=pe(null);return lo("mapToolbar",{el:o}),Ft(` +`&&l++,a||r.length>0){if(r.push(a.trim()),a="",i)n.push(...r),i=!1;else if(r.length>1){const d={};n.forEach(($,_)=>{d[$]=r[_]||""}),t.push(d)}r=[]}}else a+=c}if((a||r.length>0)&&(r.push(a.trim()),!i&&r.length>1)){const l={};n.forEach((c,u)=>{l[c]=r[u]||""}),t.push(l)}return{headers:n,data:t}}async loadCSVData(o){try{const n=await(await fetch(this.baseUrl+o.path)).text(),{headers:a,data:s}=this.parseCSV(n);return this.rawData=s,this.validateFieldMappings(o.fieldMappings,a,o.name),this.normalizeData(o),this.normalizedData}catch(t){throw console.error("Failed to load CSV data:",t),t}}validateFieldMappings(o,t,n){const a=new Set(t.map(r=>r.trim())),s=[];for(const[r,i]of Object.entries(o||{}))if(Array.isArray(i))for(const l of i)a.has(l)||s.push({systemField:r,sourceField:l,isComposite:!0});else i&&!a.has(i)&&s.push({systemField:r,sourceField:i,isComposite:!1});s.length>0&&console.warn(`[DataSourceManager] ${n}: missing CSV columns:`,s)}async loadAPIData(o){try{const n=await(await fetch(o.url||o.endpoint)).json();return this.rawData=Array.isArray(n)?n:n.posts||n.data||n.peopleGroups||n.results||[],this.normalizeData(o),this.normalizedData}catch(t){throw console.error("Failed to load API data:",t),t}}async loadRestApiData(o){var l,c;const t=oy(),n=((l=o.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=o.defaultFields)==null?void 0:c.join(","))||"",s=[];a&&s.push(`fields=${a}`);const r={...o.queryParams||{}};this.locale&&(r.lang=this.locale);for(const[u,d]of Object.entries(r))s.push(`${u}=${encodeURIComponent(d)}`);const i=`${t}${n}?${s.join("&")}`;try{const u=await fetch(i);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const d=u.headers.get("content-type")||"";if(!d.includes("application/json"))throw new Error(`API returned "${d}" instead of JSON. Server at ${t} may be down or misconfigured.`);const $=await u.json();return this.rawData=Array.isArray($)?$:$.posts||$.data||$.results||[],this.normalizeData(o),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${o.id}:`,u),u}}normalizeData(o){const t=o.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const n of this.rawData){const a={};for(const[l,c]of Object.entries(t))if(Array.isArray(c)){const u=c.map(d=>this.getFieldValue(n,d));a[l]=u.join("_")}else a[l]=this.getFieldValue(n,c);if(a.latitude=parseFloat(a.latitude)||0,a.longitude=parseFloat(a.longitude)||0,a.latitude===0&&a.longitude===0)continue;a.populationNum=this.parsePopulation(a.population),a.imageUrl=this.getImageUrl(a,o.imageConfig);const s=a.engagementStatus;s!=null&&(typeof s=="object"&&"value"in s?(a.engagementStatusLabel=s.label||s.value,a.engagementStatus=s.value==="engaged"):a.engagementStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const r=a.adoptionStatus;r!=null&&(a.adoptionStatus=r===!0||r===1||r==="1"||r==="true"||typeof r=="object"&&!!(r!=null&&r.value)||typeof r=="number"&&r>0||typeof r=="string"&&parseInt(r,10)>0);const i=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of i){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=n,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(o,t){if(!t)return"";if(o[t]!==void 0)return o[t];const n=t.trim();if(o[n]!==void 0)return o[n];for(const a of Object.keys(o))if(a.trim()===n||a.includes(n)||n.includes(a.trim()))return o[a];return""}parsePopulation(o){if(!o)return 0;const t=String(o).replace(/,/g,"").trim(),n=parseInt(t,10);return isNaN(n)?0:n}getImageUrl(o,t){if(!t)return"";const n=t.placeholderUrl||"",a=o[t.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:n}getData(){return this.normalizedData}getByUniqueId(o){return this.dataByUniqueId.get(o)}getByCoordinates(o,t,n=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-o)t.peopleGroupId===o)}getLanguageFamilies(){const o=new Set;return this.normalizedData.forEach(t=>{t.languageFamily&&o.add(t.languageFamily)}),Array.from(o).sort()}getDataByLanguageFamily(){const o={};return this.normalizedData.forEach(t=>{const n=t.languageFamily||"Unknown";o[n]||(o[n]=[]),o[n].push(t)}),o}getDataByRegion(){const o={};return this.normalizedData.forEach(t=>{const n=t.doxaRegion||"Unknown";o[n]||(o[n]=[]),o[n].push(t)}),o}getStats(){return{totalRecords:this.normalizedData.length,withPeopleId3:this.normalizedData.filter(o=>o.peopleId3).length,withPhotos:this.normalizedData.filter(o=>o.imageUrl&&!String(o.imageUrl).includes("NoImageAvailable")).length,languageFamilies:this.getLanguageFamilies().length,countries:new Set(this.normalizedData.map(o=>o.country)).size,regions:Object.keys(this.getDataByRegion()).length}}}new Wc;const ty={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){const o=pe(null);return lo("mapToolbar",{el:o}),Ft(` .map-toolbar { position: absolute; top: 6px; @@ -89,7 +89,7 @@ .map-toolbar { top: 72px; gap: 6px; } .map-toolbar.map-toolbar--no-geocoder { top: 6px; gap: 6px; } } -`,"map-toolbar"),(t,n)=>(ye(),Re("div",{ref_key:"toolbarEl",ref:o,class:oo(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder}])},[ja(t.$slots,"default")],2))}},ty=_t&&_t.tagName.toUpperCase()==="SCRIPT"&&_t.src||new URL("all-people-groups.js",document.baseURI).href,it=e=>String(e||"").trim().replace(/\/+$/,"");function Yc(){try{const o=String(ty||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!o||o[2]!==o[3]?null:o[1]||null}catch{return null}}function ny(e){const o=e==null?void 0:e.embedBaseUrl;if(typeof o=="string"&&o.trim())return it(o);if(typeof window<"u"){const t=window.MAP_EMBED_BASE_URL;if(typeof t=="string"&&t.trim())return it(t)}return it(Yc()||"")}function ay(e){const o=e==null?void 0:e.assetsBase;if(typeof o=="string"&&o.trim()){const n=it(o);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const t=it((e==null?void 0:e.treeBase)||"")||it(Yc()||"");if(t)try{const n=typeof document<"u"?document.baseURI:void 0;return it(new URL(t+"/assets",n).href)}catch{return it(t+"/assets")}return"./assets"}function sy({shareUrl:e,embedPath:o,profileConfig:t}={}){const n=t||null,a=typeof window<"u",s=e||(n==null?void 0:n.shareUrl);if(typeof s=="string"&&s.trim())return s.trim();const r=String(o||(n==null?void 0:n.shareEmbedPath)||"").trim();if(r){if(/^https?:\/\//i.test(r))return r;if(r.startsWith("/"))return a?window.location.origin+r:r;const i=ny(n),l=r.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const ry=["title","aria-label","disabled"],iy={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e){return Ft(` +`,"map-toolbar"),(t,n)=>(ye(),Re("div",{ref_key:"toolbarEl",ref:o,class:oo(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder}])},[ja(t.$slots,"default")],2))}},ny=_t&&_t.tagName.toUpperCase()==="SCRIPT"&&_t.src||new URL("all-people-groups.js",document.baseURI).href,it=e=>String(e||"").trim().replace(/\/+$/,"");function Yc(){try{const o=String(ny||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!o||o[2]!==o[3]?null:o[1]||null}catch{return null}}function ay(e){const o=e==null?void 0:e.embedBaseUrl;if(typeof o=="string"&&o.trim())return it(o);if(typeof window<"u"){const t=window.MAP_EMBED_BASE_URL;if(typeof t=="string"&&t.trim())return it(t)}return it(Yc()||"")}function sy(e){const o=e==null?void 0:e.assetsBase;if(typeof o=="string"&&o.trim()){const n=it(o);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const t=it((e==null?void 0:e.treeBase)||"")||it(Yc()||"");if(t)try{const n=typeof document<"u"?document.baseURI:void 0;return it(new URL(t+"/assets",n).href)}catch{return it(t+"/assets")}return"./assets"}function ry({shareUrl:e,embedPath:o,profileConfig:t}={}){const n=t||null,a=typeof window<"u",s=e||(n==null?void 0:n.shareUrl);if(typeof s=="string"&&s.trim())return s.trim();const r=String(o||(n==null?void 0:n.shareEmbedPath)||"").trim();if(r){if(/^https?:\/\//i.test(r))return r;if(r.startsWith("/"))return a?window.location.origin+r:r;const i=ay(n),l=r.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const iy=["title","aria-label","disabled"],ly={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e){return Ft(` .mcb{ width:var(--map-btn-size,40px);height:var(--map-btn-size,40px); background:#fff; @@ -115,7 +115,7 @@ .mcb.dark:hover:not(:disabled){background:#4e594f;box-shadow:0 2px 8px rgba(0,0,0,0.5);} .mcb.dark.active{background:#4e594f;color:#92b195;} @media(max-width:767px){.mcb{width:36px;height:36px;}} -`,"map-control-button"),(o,t)=>(ye(),Re("button",{class:oo(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:t[0]||(t[0]=n=>o.$emit("click"))},[ja(o.$slots,"default")],10,ry))}},ly=["aria-label"],cy={class:"mcm-header"},uy={class:"mcm-title"},py={class:"mcm-body"},gy=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",Xs="doxa-map-menu-open",dy={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:o}){Ft(` +`,"map-control-button"),(o,t)=>(ye(),Re("button",{class:oo(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:t[0]||(t[0]=n=>o.$emit("click"))},[ja(o.$slots,"default")],10,iy))}},cy=["aria-label"],uy={class:"mcm-header"},py={class:"mcm-title"},gy={class:"mcm-body"},dy=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",Xs="doxa-map-menu-open",hy={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:o}){Ft(` .mcm{position:absolute;z-index:var(--z-menu,3000);display:flex;flex-direction:column;box-sizing:border-box; background:#161b22;border:1px solid #30363d;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,0.45); color:#e6edf3;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:13px; @@ -131,7 +131,7 @@ .mcm.light .mcm-close{background:rgba(208,215,222,0.4);border-color:#d0d7de;color:#57606a;} .mcm.light .mcm-close:hover{color:#3b463d;background:rgba(59,70,61,0.12);border-color:#3b463d;} .mcm-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;} -`,"map-control-menu");const t=e,n=o,a=Ie("mapToolbar",null),s=pe(null),r=pe(null),i=pe({});function l(){var f;const _=(f=a==null?void 0:a.el)==null?void 0:f.value,L=s.value;if(!_||!L){i.value={};return}const S=L.getBoundingClientRect(),N=_.getBoundingClientRect(),x=(N.left+N.right)/2>(S.left+S.right)/2,k=8,y=12,b=x?S.right-N.left+k:N.right-S.left+k,E=Math.max(200,Math.min(t.width,S.width-b-y)),v=Math.max(0,N.top-S.top);let w=L.getAttribute&&L.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-N.top-y):Math.max(120,S.height-v-y);t.matchToolbar&&(w=Math.max(120,Math.min(w,N.height))),t.maxHeight&&(w=Math.min(w,t.maxHeight)),i.value={top:`${Math.round(v)}px`,[x?"right":"left"]:`${Math.round(b)}px`,width:`${Math.round(E)}px`,maxHeight:`${Math.round(w)}px`,...t.height?{height:`${Math.round(Math.min(t.height,w))}px`}:{}}}function c(_){t.open&&_.detail!==r.value&&n("close")}fo(()=>t.open,async _=>{var L;if(_){await Jt(),l();try{(L=s.value)==null||L.dispatchEvent(new CustomEvent(Xs,{detail:r.value}))}catch{}}});function u(){t.open&&l()}function d(_){_.key==="Escape"&&t.open&&n("close")}function $(_){var S;if(!t.open)return;const L=_.composedPath?_.composedPath():[_.target];r.value&&L.includes(r.value)||(S=a==null?void 0:a.el)!=null&&S.value&&L.includes(a.el.value)||L.some(N=>{var x,k,y,b;return((k=(x=N==null?void 0:N.classList)==null?void 0:x.contains)==null?void 0:k.call(x,"mapboxgl-canvas"))||((b=(y=N==null?void 0:N.classList)==null?void 0:y.contains)==null?void 0:b.call(y,"maplibregl-canvas"))})&&n("close")}return wt(()=>{var _,L,S;s.value=((L=(_=a==null?void 0:a.el)==null?void 0:_.value)==null?void 0:L.closest(gy))||null,(S=s.value)==null||S.addEventListener(Xs,c),window.addEventListener("resize",u),document.addEventListener("click",$,!0),document.addEventListener("keydown",d)}),tn(()=>{var _;(_=s.value)==null||_.removeEventListener(Xs,c),window.removeEventListener("resize",u),document.removeEventListener("click",$,!0),document.removeEventListener("keydown",d)}),(_,L)=>(ye(),ht(ep,{to:s.value,disabled:!s.value},[e.open?(ye(),Re("div",{key:0,ref_key:"el",ref:r,class:oo(["mcm",{light:!e.isDark}]),style:Ut(i.value),role:"dialog","aria-label":e.title},[re("div",cy,[re("span",uy,Ue(e.title),1),re("button",{class:"mcm-close",type:"button","aria-label":"Close",onClick:L[0]||(L[0]=S=>n("close"))},[...L[1]||(L[1]=[re("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[re("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),re("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])])]),re("div",py,[ja(_.$slots,"default")])],14,ly)):Go("",!0)],8,["to","disabled"]))}},hy={class:"share-steps"},fy={class:"share-tabs"},$y={key:0,class:"share-body"},my={class:"share-url-box"},_y={class:"share-url-text"},by={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},yy={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},vy={key:1,class:"share-body"},Ay={class:"share-size-pills"},Sy=["onClick"],ky={class:"share-code-box"},Ly={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},wy={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Py={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){Ft(` +`,"map-control-menu");const t=e,n=o,a=Ie("mapToolbar",null),s=pe(null),r=pe(null),i=pe({});function l(){var f;const _=(f=a==null?void 0:a.el)==null?void 0:f.value,L=s.value;if(!_||!L){i.value={};return}const S=L.getBoundingClientRect(),N=_.getBoundingClientRect(),x=(N.left+N.right)/2>(S.left+S.right)/2,k=8,y=12,b=x?S.right-N.left+k:N.right-S.left+k,E=Math.max(200,Math.min(t.width,S.width-b-y)),v=Math.max(0,N.top-S.top);let w=L.getAttribute&&L.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-N.top-y):Math.max(120,S.height-v-y);t.matchToolbar&&(w=Math.max(120,Math.min(w,N.height))),t.maxHeight&&(w=Math.min(w,t.maxHeight)),i.value={top:`${Math.round(v)}px`,[x?"right":"left"]:`${Math.round(b)}px`,width:`${Math.round(E)}px`,maxHeight:`${Math.round(w)}px`,...t.height?{height:`${Math.round(Math.min(t.height,w))}px`}:{}}}function c(_){t.open&&_.detail!==r.value&&n("close")}fo(()=>t.open,async _=>{var L;if(_){await Jt(),l();try{(L=s.value)==null||L.dispatchEvent(new CustomEvent(Xs,{detail:r.value}))}catch{}}});function u(){t.open&&l()}function d(_){_.key==="Escape"&&t.open&&n("close")}function $(_){var S;if(!t.open)return;const L=_.composedPath?_.composedPath():[_.target];r.value&&L.includes(r.value)||(S=a==null?void 0:a.el)!=null&&S.value&&L.includes(a.el.value)||L.some(N=>{var x,k,y,b;return((k=(x=N==null?void 0:N.classList)==null?void 0:x.contains)==null?void 0:k.call(x,"mapboxgl-canvas"))||((b=(y=N==null?void 0:N.classList)==null?void 0:y.contains)==null?void 0:b.call(y,"maplibregl-canvas"))})&&n("close")}return wt(()=>{var _,L,S;s.value=((L=(_=a==null?void 0:a.el)==null?void 0:_.value)==null?void 0:L.closest(dy))||null,(S=s.value)==null||S.addEventListener(Xs,c),window.addEventListener("resize",u),document.addEventListener("click",$,!0),document.addEventListener("keydown",d)}),tn(()=>{var _;(_=s.value)==null||_.removeEventListener(Xs,c),window.removeEventListener("resize",u),document.removeEventListener("click",$,!0),document.removeEventListener("keydown",d)}),(_,L)=>(ye(),ht(ep,{to:s.value,disabled:!s.value},[e.open?(ye(),Re("div",{key:0,ref_key:"el",ref:r,class:oo(["mcm",{light:!e.isDark}]),style:Ut(i.value),role:"dialog","aria-label":e.title},[re("div",uy,[re("span",py,Ue(e.title),1),re("button",{class:"mcm-close",type:"button","aria-label":"Close",onClick:L[0]||(L[0]=S=>n("close"))},[...L[1]||(L[1]=[re("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[re("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),re("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])])]),re("div",gy,[ja(_.$slots,"default")])],14,cy)):Go("",!0)],8,["to","disabled"]))}},fy={class:"share-steps"},$y={class:"share-tabs"},my={key:0,class:"share-body"},_y={class:"share-url-box"},by={class:"share-url-text"},yy={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},vy={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Ay={key:1,class:"share-body"},Sy={class:"share-size-pills"},ky=["onClick"],Ly={class:"share-code-box"},wy={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Py={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Ey={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){Ft(` .share-wrap{position:relative;display:inline-block;border-radius:50%;} .share-wrap::before{content:'';position:absolute;inset:-2px;border-radius:50%;padding:2px;pointer-events:none; background:conic-gradient(#ff6b6b,#ffd166,#6bd67b,#4dabf7,#9775fa,#f783ac,#ff6b6b); @@ -383,7 +383,7 @@ border-color:rgba(46,164,79,0.30); color:#2ea44f; } -`,"share-button");const{t:o,tm:t,rt:n}=Ot(),a=e,s=pe(null),r=pe(!1),i=pe(null),l=pe(null),c=pe("link"),u=pe(!1),d=pe(!1),$=pe("medium"),_={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},L=Ie("profileConfig",null),S=_e(()=>sy({embedPath:a.embedPath,profileConfig:Oo(L)||null})),N=_e(()=>{const F=_[$.value].height;return''});function x(){r.value=!r.value,r.value&&(c.value="link",u.value=!1,d.value=!1)}function k(){r.value=!1}async function y(F){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(F),!0}catch{}try{const G=document.createElement("textarea");G.value=F,G.setAttribute("readonly",""),G.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(G),G.select();const B=document.execCommand("copy");return document.body.removeChild(G),B}catch{return!1}}async function b(){await y(S.value)&&(u.value=!0,setTimeout(()=>{u.value=!1},2e3))}async function E(){await y(N.value)&&(d.value=!0,setTimeout(()=>{d.value=!1},2e3))}const v=Ie("mapToolbar",null),P=pe(null);lo("mapToolbar",v||{el:P});const w=!v;function f(F){if(s.value=F||null,!w||!F){F||(P.value=null);return}const G=F.offsetParent||F.parentElement;G&&!G.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&G.setAttribute("data-map-area","share-fallback"),P.value=F}return(F,G)=>(ye(),Re("div",{ref:f,class:"share-wrap","data-share-root":""},[Ne(iy,{ref_key:"btnEl",ref:l,"is-dark":e.isDark,active:r.value,title:Oo(o)("buttons.share"),onClick:x},{default:Bn(()=>[...G[2]||(G[2]=[re("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[re("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),re("polyline",{points:"16 6 12 2 8 6"}),re("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),Ne(dy,{open:r.value,title:Oo(o)("buttons.share"),"is-dark":e.isDark,onClose:k},{default:Bn(()=>[re("div",{ref_key:"popoverEl",ref:i,class:oo(["share-pop",{light:!e.isDark}])},[re("ul",hy,[(ye(!0),Re(Ve,null,Ba(Oo(t)("buttons.shareSteps"),(B,W)=>(ye(),Re("li",{key:W},Ue(Oo(n)(B)),1))),128))]),re("div",fy,[re("button",{class:oo(["share-tab",{active:c.value==="link"}]),onClick:G[0]||(G[0]=B=>c.value="link")},"Embed link",2),re("button",{class:oo(["share-tab",{active:c.value==="embed"}]),onClick:G[1]||(G[1]=B=>c.value="embed")},"Add to Your Website",2)]),c.value==="link"?(ye(),Re("div",$y,[re("div",my,[re("div",_y,Ue(S.value),1)]),re("button",{class:oo(["share-primary-btn",{copied:u.value}]),onClick:b},[u.value?(ye(),Re("svg",yy,[...G[4]||(G[4]=[re("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(ye(),Re("svg",by,[...G[3]||(G[3]=[re("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),re("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),$o(" "+Ue(u.value?"Copied!":"Copy Link"),1)],2)])):Go("",!0),c.value==="embed"?(ye(),Re("div",vy,[G[7]||(G[7]=re("div",{class:"share-embed-desc"}," Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets). ",-1)),re("div",Ay,[(ye(),Re(Ve,null,Ba(_,(B,W)=>re("button",{key:W,class:oo(["share-size-pill",{active:$.value===W}]),onClick:ee=>$.value=W},Ue(B.label),11,Sy)),64))]),re("div",ky,Ue(N.value),1),re("button",{class:oo(["share-secondary-btn",{copied:d.value}]),onClick:E},[d.value?(ye(),Re("svg",wy,[...G[6]||(G[6]=[re("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(ye(),Re("svg",Ly,[...G[5]||(G[5]=[re("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),re("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),$o(" "+Ue(d.value?"Copied!":"Copy Code"),1)],2)])):Go("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},Ey={class:"apg-root"},Cy={key:0,class:"apg-loading"},Ty={key:1,class:"apg-error"},Ny={key:2,class:"apg-legend"},xy={class:"apg-legend-title"},Ry={class:"apg-legend-sub"},My=["onClick"],Iy={class:"apg-count"},Oy={class:"apg-hint"},Dy="all-people-groups/all-people-groups/index.html",Fy=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"all-people-groups",setup(e){var we;Ft(` +`,"share-button");const{t:o,tm:t,rt:n}=Ot(),a=e,s=pe(null),r=pe(!1),i=pe(null),l=pe(null),c=pe("link"),u=pe(!1),d=pe(!1),$=pe("medium"),_={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},L=Ie("profileConfig",null),S=_e(()=>ry({embedPath:a.embedPath,profileConfig:Oo(L)||null})),N=_e(()=>{const F=_[$.value].height;return''});function x(){r.value=!r.value,r.value&&(c.value="link",u.value=!1,d.value=!1)}function k(){r.value=!1}async function y(F){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(F),!0}catch{}try{const G=document.createElement("textarea");G.value=F,G.setAttribute("readonly",""),G.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(G),G.select();const B=document.execCommand("copy");return document.body.removeChild(G),B}catch{return!1}}async function b(){await y(S.value)&&(u.value=!0,setTimeout(()=>{u.value=!1},2e3))}async function E(){await y(N.value)&&(d.value=!0,setTimeout(()=>{d.value=!1},2e3))}const v=Ie("mapToolbar",null),P=pe(null);lo("mapToolbar",v||{el:P});const w=!v;function f(F){if(s.value=F||null,!w||!F){F||(P.value=null);return}const G=F.offsetParent||F.parentElement;G&&!G.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&G.setAttribute("data-map-area","share-fallback"),P.value=F}return(F,G)=>(ye(),Re("div",{ref:f,class:"share-wrap","data-share-root":""},[Ne(ly,{ref_key:"btnEl",ref:l,"is-dark":e.isDark,active:r.value,title:Oo(o)("buttons.share"),onClick:x},{default:Bn(()=>[...G[2]||(G[2]=[re("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[re("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),re("polyline",{points:"16 6 12 2 8 6"}),re("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),Ne(hy,{open:r.value,title:Oo(o)("buttons.share"),"is-dark":e.isDark,onClose:k},{default:Bn(()=>[re("div",{ref_key:"popoverEl",ref:i,class:oo(["share-pop",{light:!e.isDark}])},[re("ul",fy,[(ye(!0),Re(Ve,null,Ba(Oo(t)("buttons.shareSteps"),(B,W)=>(ye(),Re("li",{key:W},Ue(Oo(n)(B)),1))),128))]),re("div",$y,[re("button",{class:oo(["share-tab",{active:c.value==="link"}]),onClick:G[0]||(G[0]=B=>c.value="link")},"Embed link",2),re("button",{class:oo(["share-tab",{active:c.value==="embed"}]),onClick:G[1]||(G[1]=B=>c.value="embed")},"Add to Your Website",2)]),c.value==="link"?(ye(),Re("div",my,[re("div",_y,[re("div",by,Ue(S.value),1)]),re("button",{class:oo(["share-primary-btn",{copied:u.value}]),onClick:b},[u.value?(ye(),Re("svg",vy,[...G[4]||(G[4]=[re("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(ye(),Re("svg",yy,[...G[3]||(G[3]=[re("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),re("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),$o(" "+Ue(u.value?"Copied!":"Copy Link"),1)],2)])):Go("",!0),c.value==="embed"?(ye(),Re("div",Ay,[G[7]||(G[7]=re("div",{class:"share-embed-desc"}," Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets). ",-1)),re("div",Sy,[(ye(),Re(Ve,null,Ba(_,(B,W)=>re("button",{key:W,class:oo(["share-size-pill",{active:$.value===W}]),onClick:ee=>$.value=W},Ue(B.label),11,ky)),64))]),re("div",Ly,Ue(N.value),1),re("button",{class:oo(["share-secondary-btn",{copied:d.value}]),onClick:E},[d.value?(ye(),Re("svg",Py,[...G[6]||(G[6]=[re("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(ye(),Re("svg",wy,[...G[5]||(G[5]=[re("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),re("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),$o(" "+Ue(d.value?"Copied!":"Copy Code"),1)],2)])):Go("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},Cy={class:"apg-root"},Ty={key:0,class:"apg-loading"},Ny={key:1,class:"apg-error"},xy={key:2,class:"apg-legend"},Ry={class:"apg-legend-title"},My={class:"apg-legend-sub"},Iy=["onClick"],Oy={class:"apg-count"},Dy={class:"apg-hint"},Fy="all-people-groups/all-people-groups/index.html",Gy=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"all-people-groups",setup(e){var we;Ft(` .apg-root { position:absolute;inset:0;overflow:hidden; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif; } .apg-canvas { position:absolute;inset:0; } @@ -414,10 +414,10 @@ .apg-pop .meta { color:#4b5563;margin-top:4px; } .apg-pop a { display:inline-block;margin-top:7px;font-weight:700;color:#b45309;text-decoration:none; } .apg-pop a:hover { text-decoration:underline; } -`,"all-people-groups");const o=Ie("profileConfig"),t=Ie("mapboxToken"),n=Ie("dataSource"),a=Ie("dataStore"),s=Ie("mapStore"),r=_e(()=>{var Z;return((Z=o.value)==null?void 0:Z.isDark)===!0}),i=bc(o),l=_e(()=>ay((o==null?void 0:o.value)||{})),c={title:"All People Groups",locations:"{n} group–country locations",doxa:"DOXA people groups",frontier:"Frontier — nothing started",unreached:"Unreached — work beginning",reached:"Reached — church is there",hint:"Click a row to see all of them · click again for everything",loading:"Loading every people group…",loadError:"The map could not be loaded.",pray:"Pray for them →",population:"pop {n}"};let u=null;try{u=Ot()}catch{}function d(Z,ae){const X="allPeopleGroups."+Z;if(u&&u.te&&u.te(X))return u.t(X,ae||{});let ne=c[Z];if(ae)for(const J in ae)ne=String(ne).split("{"+J+"}").join(String(ae[J]));return ne}const $=_e(()=>u&&u.locale&&u.locale.value||"en"),_=Z=>{try{return Number(Z).toLocaleString($.value)}catch{return Number(Z).toLocaleString()}},L=[{id:"doxa",color:"#111827"},{id:"frontier",color:"#e0392b"},{id:"unreached",color:"#e6a800"},{id:"reached",color:"#23a45a"}],S=Object.fromEntries(L.map(Z=>[Z.id,Z.color])),N=pe({doxa:0,frontier:0,unreached:0,reached:0}),x=pe(!1);function k(Z,ae){if(ae.has(String(Z.ROP3Code||"")))return"doxa";const X=Number(Z.GSEC);return!Number.isFinite(X)||X<=1?"frontier":X<=3?"unreached":"reached"}function y(){var X;let Z="";try{Z=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const ae=(X=o==null?void 0:o.value)==null?void 0:X.utmSource;return encodeURIComponent(String(Z||ae||"agwm"))}const b=pe(null),E=pe(!1),v=pe(null),{map:P,initializeMap:w,destroy:f}=Lb({containerRef:b,accessToken:t.value,provider:i,style:((we=o==null?void 0:o.value)==null?void 0:we.style)??"paper",center:[20,12],zoom:1.6}),F=new Wc,G=Qb({mapId:"all-people-groups",dataSourceId:n.value,dataSourceManager:F,dataStore:a,markRaw:Z=>Z});let B=[],W=new Map;function ee(Z){return String(Z??"").replace(/[&<>"']/g,ae=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[ae])}async function U(){const Z=l.value,ae=await fetch(`${Z}/people-groups/people-groups-points.json`);if(ae.ok){const J=await ae.json(),oe=J.dicts||{};return(J.rows||[]).map(Q=>({lng:Q[0],lat:Q[1],gsec:Q[2],rop3:Q[3],name:Q[4],country:(oe.country||[])[Q[5]]||"",population:Q[6],language:(oe.language||[])[Q[7]]||"",religion:(oe.religion||[])[Q[8]]||"",evangelical:(oe.evangelical||[])[Q[9]]||""}))}const X=await fetch(`${Z}/people-groups/people-groups-slim.json`);if(!X.ok)throw new Error(`people-groups-points.json ${ae.status}`);return((await X.json()).rows||[]).map(J=>({lng:Number(J.Long),lat:Number(J.Lat),gsec:J.GSEC,rop3:String(J.ROP3Code||""),name:J.Name||"",country:J.CountryName||"",population:Number(J.Population)||0,language:J.LanguageName||"",religion:J.ReligionName||"",evangelical:J.EvangelicalLevel||""}))}function q(Z,ae){const X=[],ne={doxa:0,frontier:0,unreached:0,reached:0};for(const J of Z){const oe=Number(J.lat),Q=Number(J.lng);if(!Number.isFinite(oe)||!Number.isFinite(Q)||oe===0&&Q===0)continue;const $e=k({ROP3Code:J.rop3,GSEC:J.gsec},ae);ne[$e]++,X.push({type:"Feature",geometry:{type:"Point",coordinates:[Q,oe]},properties:{name:J.name,country:J.country,population:Number(J.population)||0,gsec:J.gsec,evangelical:J.evangelical,language:J.language,religion:J.religion,rop3:String(J.rop3||""),category:$e}})}return N.value=ne,B=X,{type:"FeatureCollection",features:X}}async function H(){let Z=[];try{await G.loadData(),Z=G.normalizedPeopleGroups.value||[]}catch(X){console.warn("[all-people-groups] DOXA overlay unavailable (map still renders by GSEC):",X)}const ae=new Set;for(const X of Z){const ne=String(X.peopleGroupId||X.rop3||X.peopleGroupCountry||"");ne&&(ae.add(ne),W.has(ne)||W.set(ne,{slug:X.slug||"",name:X.name||""}))}return ae}function ue(Z){const ae=P.value;ae.addSource("apg",{type:"geojson",data:Z}),ae.addLayer({id:"apg-pins",type:"circle",source:"apg",layout:{"circle-sort-key":["match",["get","category"],"doxa",4,"frontier",3,"unreached",2,1]},paint:{"circle-color":["match",["get","category"],"doxa",S.doxa,"frontier",S.frontier,"unreached",S.unreached,S.reached],"circle-stroke-color":"#1f2937","circle-stroke-width":["interpolate",["linear"],["zoom"],0,.3,6,.6,12,1],"circle-stroke-opacity":.55,"circle-radius":["interpolate",["linear"],["zoom"],0,2.2,4,3.4,8,6,12,9],"circle-opacity":.92}}),ae.on("mouseenter","apg-pins",()=>{ae.getCanvas().style.cursor="pointer"}),ae.on("mouseleave","apg-pins",()=>{ae.getCanvas().style.cursor=""}),ae.on("click","apg-pins",X=>{const ne=X.features&&X.features[0];if(!ne)return;const J=ne.properties,oe=J.category==="doxa"?W.get(J.rop3):null,Q=L.find(h=>h.id===J.category),$e=oe&&oe.slug?`${ee(d("pray"))}`:"",De=i==="maplibre"?window.maplibregl:window.mapboxgl;new De.Popup({closeButton:!0,maxWidth:"290px"}).setLngLat(X.lngLat).setHTML(`
+`,"all-people-groups");const o=Ie("profileConfig"),t=Ie("mapboxToken"),n=Ie("dataSource"),a=Ie("dataStore"),s=Ie("mapStore"),r=_e(()=>{var Z;return((Z=o.value)==null?void 0:Z.isDark)===!0}),i=bc(o),l=_e(()=>sy((o==null?void 0:o.value)||{})),c={title:"All People Groups",locations:"{n} group–country locations",doxa:"DOXA people groups",frontier:"Frontier — nothing started",unreached:"Unreached — work beginning",reached:"Reached — church is there",hint:"Click a row to see all of them · click again for everything",loading:"Loading every people group…",loadError:"The map could not be loaded.",pray:"Pray for them →",population:"pop {n}"};let u=null;try{u=Ot()}catch{}function d(Z,ae){const X="allPeopleGroups."+Z;if(u&&u.te&&u.te(X))return u.t(X,ae||{});let ne=c[Z];if(ae)for(const J in ae)ne=String(ne).split("{"+J+"}").join(String(ae[J]));return ne}const $=_e(()=>u&&u.locale&&u.locale.value||"en"),_=Z=>{try{return Number(Z).toLocaleString($.value)}catch{return Number(Z).toLocaleString()}},L=[{id:"doxa",color:"#111827"},{id:"frontier",color:"#e0392b"},{id:"unreached",color:"#e6a800"},{id:"reached",color:"#23a45a"}],S=Object.fromEntries(L.map(Z=>[Z.id,Z.color])),N=pe({doxa:0,frontier:0,unreached:0,reached:0}),x=pe(!1);function k(Z,ae){if(ae.has(String(Z.ROP3Code||"")))return"doxa";const X=Number(Z.GSEC);return!Number.isFinite(X)||X<=1?"frontier":X<=3?"unreached":"reached"}function y(){var X;let Z="";try{Z=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const ae=(X=o==null?void 0:o.value)==null?void 0:X.utmSource;return encodeURIComponent(String(Z||ae||"agwm"))}const b=pe(null),E=pe(!1),v=pe(null),{map:P,initializeMap:w,destroy:f}=wb({containerRef:b,accessToken:t.value,provider:i,style:((we=o==null?void 0:o.value)==null?void 0:we.style)??"paper",center:[20,12],zoom:1.6}),F=new Wc,G=ey({mapId:"all-people-groups",dataSourceId:n.value,dataSourceManager:F,dataStore:a,markRaw:Z=>Z});let B=[],W=new Map;function ee(Z){return String(Z??"").replace(/[&<>"']/g,ae=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[ae])}async function U(){const Z=l.value,ae=await fetch(`${Z}/people-groups/people-groups-points.json`);if(ae.ok){const J=await ae.json(),oe=J.dicts||{};return(J.rows||[]).map(Q=>({lng:Q[0],lat:Q[1],gsec:Q[2],rop3:Q[3],name:Q[4],country:(oe.country||[])[Q[5]]||"",population:Q[6],language:(oe.language||[])[Q[7]]||"",religion:(oe.religion||[])[Q[8]]||"",evangelical:(oe.evangelical||[])[Q[9]]||""}))}const X=await fetch(`${Z}/people-groups/people-groups-slim.json`);if(!X.ok)throw new Error(`people-groups-points.json ${ae.status}`);return((await X.json()).rows||[]).map(J=>({lng:Number(J.Long),lat:Number(J.Lat),gsec:J.GSEC,rop3:String(J.ROP3Code||""),name:J.Name||"",country:J.CountryName||"",population:Number(J.Population)||0,language:J.LanguageName||"",religion:J.ReligionName||"",evangelical:J.EvangelicalLevel||""}))}function q(Z,ae){const X=[],ne={doxa:0,frontier:0,unreached:0,reached:0};for(const J of Z){const oe=Number(J.lat),Q=Number(J.lng);if(!Number.isFinite(oe)||!Number.isFinite(Q)||oe===0&&Q===0)continue;const $e=k({ROP3Code:J.rop3,GSEC:J.gsec},ae);ne[$e]++,X.push({type:"Feature",geometry:{type:"Point",coordinates:[Q,oe]},properties:{name:J.name,country:J.country,population:Number(J.population)||0,gsec:J.gsec,evangelical:J.evangelical,language:J.language,religion:J.religion,rop3:String(J.rop3||""),category:$e}})}return N.value=ne,B=X,{type:"FeatureCollection",features:X}}async function H(){let Z=[];try{await G.loadData(),Z=G.normalizedPeopleGroups.value||[]}catch(X){console.warn("[all-people-groups] DOXA overlay unavailable (map still renders by GSEC):",X)}const ae=new Set;for(const X of Z){const ne=String(X.peopleGroupId||X.rop3||X.peopleGroupCountry||"");ne&&(ae.add(ne),W.has(ne)||W.set(ne,{slug:X.slug||"",name:X.name||""}))}return ae}function ue(Z){const ae=P.value;ae.addSource("apg",{type:"geojson",data:Z}),ae.addLayer({id:"apg-pins",type:"circle",source:"apg",layout:{"circle-sort-key":["match",["get","category"],"doxa",4,"frontier",3,"unreached",2,1]},paint:{"circle-color":["match",["get","category"],"doxa",S.doxa,"frontier",S.frontier,"unreached",S.unreached,S.reached],"circle-stroke-color":"#1f2937","circle-stroke-width":["interpolate",["linear"],["zoom"],0,.3,6,.6,12,1],"circle-stroke-opacity":.55,"circle-radius":["interpolate",["linear"],["zoom"],0,2.2,4,3.4,8,6,12,9],"circle-opacity":.92}}),ae.on("mouseenter","apg-pins",()=>{ae.getCanvas().style.cursor="pointer"}),ae.on("mouseleave","apg-pins",()=>{ae.getCanvas().style.cursor=""}),ae.on("click","apg-pins",X=>{const ne=X.features&&X.features[0];if(!ne)return;const J=ne.properties,oe=J.category==="doxa"?W.get(J.rop3):null,Q=L.find(h=>h.id===J.category),$e=oe&&oe.slug?`${ee(d("pray"))}`:"",De=i==="maplibre"?window.maplibregl:window.mapboxgl;new De.Popup({closeButton:!0,maxWidth:"290px"}).setLngLat(X.lngLat).setHTML(`
${ee(J.name)} ${ee(d(Q.id).split(" — ")[0])}
${ee(J.country)} · ${ee(d("population",{n:_(J.population)}))}
${ee(J.evangelical||"GSEC "+J.gsec)}
${ee(J.language)}${J.religion?" · "+ee(J.religion):""}
${$e} -
`).addTo(ae)})}const Ce=pe(null);function Be(Z){const ae=P.value;if(!ae||!ae.getLayer("apg-pins"))return;if(Ce.value===Z){Ce.value=null,ae.setFilter("apg-pins",null),ae.fitBounds([[-170,-55],[179,72]],{padding:20,duration:900});return}Ce.value=Z,ae.setFilter("apg-pins",["==",["get","category"],Z]);let X=180,ne=85,J=-180,oe=-85,Q=0;for(const $e of B){if($e.properties.category!==Z)continue;const[De,h]=$e.geometry.coordinates;DeJ&&(J=De),hoe&&(oe=h),Q++}Q&&ae.fitBounds([[X,ne],[J,oe]],{padding:60,duration:900,maxZoom:6})}wt(async()=>{const Z=U().catch(X=>(v.value=String((X==null?void 0:X.message)||X),null)),ae=H();try{await w()}catch(X){v.value=String((X==null?void 0:X.message)||X);return}if(!P.value){b.value&&(v.value="Map failed to initialize — check token and container");return}P.value.once("style.load",async()=>{var X;try{const ne=await Z;if(!ne||!P.value)return;try{P.value.setProjection("mercator")}catch{}ue(q(ne,new Set)),(X=s==null?void 0:s.registerMap)==null||X.call(s,"all-people-groups",P.value),E.value=!0;const J=await ae;J.size&&P.value&&P.value.getSource("apg")&&P.value.getSource("apg").setData(q(ne,J)),x.value=!0}catch(ne){v.value=String((ne==null?void 0:ne.message)||ne)}})}),tn(()=>{var Z;(Z=s==null?void 0:s.unregisterMap)==null||Z.call(s,"all-people-groups"),f()});const xe=_e(()=>N.value.doxa+N.value.frontier+N.value.unreached+N.value.reached);return(Z,ae)=>(ye(),Re("div",Ey,[!E.value&&!v.value?(ye(),Re("div",Cy,Ue(d("loading")),1)):Go("",!0),v.value?(ye(),Re("div",Ty,Ue(d("loadError"))+" "+Ue(v.value),1)):Go("",!0),re("div",{ref_key:"mapContainer",ref:b,class:"apg-canvas"},null,512),Ne(oy,{"has-geocoder":!1},{default:Bn(()=>[Ne(Py,{"is-dark":r.value,"embed-path":Dy},null,8,["is-dark"])]),_:1}),E.value?(ye(),Re("div",Ny,[re("div",xy,Ue(d("title")),1),re("div",Ry,Ue(d("locations",{n:_(xe.value)})),1),(ye(),Re(Ve,null,Ba(L,X=>re("div",{key:X.id,class:oo(["apg-row",{active:Ce.value===X.id}]),onClick:ne=>Be(X.id)},[re("span",{class:"apg-dot",style:Ut({background:X.color})},null,4),$o(" "+Ue(d(X.id))+" ",1),re("span",Iy,Ue(X.id==="doxa"&&!x.value?"…":_(N.value[X.id]||0)),1)],10,My)),64)),re("div",Oy,Ue(d("hint")),1)])):Go("",!0)]))}}},Symbol.toStringTag,{value:"Module"}))})(); +
`).addTo(ae)})}const Ce=pe(null);function Be(Z){const ae=P.value;if(!ae||!ae.getLayer("apg-pins"))return;if(Ce.value===Z){Ce.value=null,ae.setFilter("apg-pins",null),ae.fitBounds([[-170,-55],[179,72]],{padding:20,duration:900});return}Ce.value=Z,ae.setFilter("apg-pins",["==",["get","category"],Z]);let X=180,ne=85,J=-180,oe=-85,Q=0;for(const $e of B){if($e.properties.category!==Z)continue;const[De,h]=$e.geometry.coordinates;DeJ&&(J=De),hoe&&(oe=h),Q++}Q&&ae.fitBounds([[X,ne],[J,oe]],{padding:60,duration:900,maxZoom:6})}wt(async()=>{const Z=U().catch(X=>(v.value=String((X==null?void 0:X.message)||X),null)),ae=H();try{await w()}catch(X){v.value=String((X==null?void 0:X.message)||X);return}if(!P.value){b.value&&(v.value="Map failed to initialize — check token and container");return}P.value.once("style.load",async()=>{var X;try{const ne=await Z;if(!ne||!P.value)return;try{P.value.setProjection("mercator")}catch{}ue(q(ne,new Set)),(X=s==null?void 0:s.registerMap)==null||X.call(s,"all-people-groups",P.value),E.value=!0;const J=await ae;J.size&&P.value&&P.value.getSource("apg")&&P.value.getSource("apg").setData(q(ne,J)),x.value=!0}catch(ne){v.value=String((ne==null?void 0:ne.message)||ne)}})}),tn(()=>{var Z;(Z=s==null?void 0:s.unregisterMap)==null||Z.call(s,"all-people-groups"),f()});const xe=_e(()=>N.value.doxa+N.value.frontier+N.value.unreached+N.value.reached);return(Z,ae)=>(ye(),Re("div",Cy,[!E.value&&!v.value?(ye(),Re("div",Ty,Ue(d("loading")),1)):Go("",!0),v.value?(ye(),Re("div",Ny,Ue(d("loadError"))+" "+Ue(v.value),1)):Go("",!0),re("div",{ref_key:"mapContainer",ref:b,class:"apg-canvas"},null,512),Ne(ty,{"has-geocoder":!1},{default:Bn(()=>[Ne(Ey,{"is-dark":r.value,"embed-path":Fy},null,8,["is-dark"])]),_:1}),E.value?(ye(),Re("div",xy,[re("div",Ry,Ue(d("title")),1),re("div",My,Ue(d("locations",{n:_(xe.value)})),1),(ye(),Re(Ve,null,Ba(L,X=>re("div",{key:X.id,class:oo(["apg-row",{active:Ce.value===X.id}]),onClick:ne=>Be(X.id)},[re("span",{class:"apg-dot",style:Ut({background:X.color})},null,4),$o(" "+Ue(d(X.id))+" ",1),re("span",Oy,Ue(X.id==="doxa"&&!x.value?"…":_(N.value[X.id]||0)),1)],10,Iy)),64)),re("div",Dy,Ue(d("hint")),1)])):Go("",!0)]))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/public/doxa-maps/all-people-groups/all-people-groups/index.html b/public/doxa-maps/all-people-groups/all-people-groups/index.html index 33ec22c85..51db86867 100644 --- a/public/doxa-maps/all-people-groups/all-people-groups/index.html +++ b/public/doxa-maps/all-people-groups/all-people-groups/index.html @@ -29,7 +29,7 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + \n\n" + "script": "\n\n\n\n" }, "bundle": "all-people-groups" } @@ -39,7 +39,7 @@ "bundle": "big-picture", "scriptUrl": "./big-picture/big-picture.js", "output": "doxa-maps/big-picture/big-picture.js", - "integrity": "sha384-LJXi3Gt0KWHiSDqvUWGeJgvq/r71K6UlZpZJcOYmk8V3v05vl/ZlfSPh8vQ4QUh7", + "integrity": "sha384-q7Aer788BmKJMEZQNhsPdOUTlnxEE1+LGpEekFTuwOCfnotLiKQQQ9KgTuxycdeN", "elements": [ "bp-big-picture", "bp-research-header", @@ -61,7 +61,7 @@ "scriptUrl": "./big-picture/big-picture.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -105,7 +105,7 @@ "bundle": "cities-internet", "scriptUrl": "./cities-internet/cities-internet.js", "output": "doxa-maps/cities-internet/cities-internet.js", - "integrity": "sha384-to5VPU6sRsiSsrGWUOe58CahHZCMdQfp1WLuOG325uIQ+7UfpJMx1VH17xAz/GaK", + "integrity": "sha384-x6/RVXhemCFRQzweuQteBIuFUchqn6Di+Ape0WbARx+ciOcuDaauKRIDQjw0aTvX", "elements": [ "cities-internet-map" ], @@ -121,7 +121,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -135,7 +135,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -149,7 +149,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] @@ -158,7 +158,7 @@ "bundle": "country-posters", "scriptUrl": "./country-posters/country-posters.js", "output": "doxa-maps/country-posters/country-posters.js", - "integrity": "sha384-HDrGqlveN1nUN57SZJlfu7d16yNlmysDWYIdaGtIeTkxL+fbaYNje9qKF+j8jQrb", + "integrity": "sha384-ehoJ18r22QegJBTfr7jNt2+51KUuZTT5iayY+Elbtr07XWq6+sMqkSm6Jr4k5wIV", "elements": [ "country-posters-map" ], @@ -178,7 +178,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -192,7 +192,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -206,7 +206,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -215,7 +215,7 @@ "bundle": "dashboard-plus-grid", "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "output": "doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js", - "integrity": "sha384-eFZgF4nONb6AhyCtlLYnlaeOq73lqNw2J/zk6CrMWdDUtLWpBrT9EMCqiI5qWtJ3", + "integrity": "sha384-RCM6Za38yPKwIORPQbRaPSN47uzLEsVWVcvsCVL/roSGSubydJElh8rjcqhhliz8", "elements": [ "dashboard-plus-grid" ], @@ -235,7 +235,7 @@ "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -259,7 +259,7 @@ "bundle": "demo-map", "scriptUrl": "./demo-map/demo-map.js", "output": "doxa-maps/demo-map/demo-map.js", - "integrity": "sha384-gHvPsjsiILFQMAHyTn2th8qgbK3UgSmc93TrTnKAidFA5qswnMPDQATgdquQFGAR", + "integrity": "sha384-0V1FEOWrA5LLqa78Lv8qp5mp6e6LsvYn09LrZpn8M0ekv36An5WHOuFuINpw6f9k", "elements": [ "demo-map" ], @@ -275,7 +275,7 @@ "scriptUrl": "./demo-map/demo-map.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -354,7 +354,7 @@ "bundle": "doxa-research-map", "scriptUrl": "./doxa-research-map/doxa-research-map.js", "output": "doxa-maps/doxa-research-map/doxa-research-map.js", - "integrity": "sha384-KfDmvtZAIj2C/j1rd3Ykj7lHxAgMA3OTNrofqyJTi+BMdNowQNkSVs6Z3Jgg7tfR", + "integrity": "sha384-3Hza1CBXXC7Rb0iZ+jLLvXxC2ns+DzOkwpxP7S54U/nW/030UO69J0fB4s6ECaqo", "elements": [ "doxa-research-map" ], @@ -370,7 +370,7 @@ "scriptUrl": "./doxa-research-map/doxa-research-map.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -396,7 +396,7 @@ "bundle": "doxa-simple-map", "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "output": "doxa-maps/doxa-simple-map/doxa-simple-map.js", - "integrity": "sha384-DgqOY1kT3MInesvWJ8XqXdIg5xRuXj2wQa7qPo32gtvcRS3N5XZTUbP4ZmO1KaMf", + "integrity": "sha384-qhMyecjzho+0OgUenSmy3larlkmVvv4bs2JUnYhclhG6OIb27lO3Eqz4wnAhJn+H", "elements": [ "doxa-map", "doxa-simple-map" @@ -413,7 +413,7 @@ "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -579,7 +579,7 @@ "bundle": "gospel-resources", "scriptUrl": "./gospel-resources/gospel-resources.js", "output": "doxa-maps/gospel-resources/gospel-resources.js", - "integrity": "sha384-+NFlplj7hABypva56Rnn2nyLeAQxVd5rkx/EYxG+nogpN/TckKojaiV6iB+DHpRa", + "integrity": "sha384-hrJsMtyDCjtO3rYEZ/28KrhIc25zNTzBfuAn5n9O+iGyJcro48VJWuF9zHC2eFdq", "elements": [ "gospel-resources-map" ], @@ -599,7 +599,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -613,7 +613,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -627,7 +627,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -641,7 +641,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -655,7 +655,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -664,7 +664,7 @@ "bundle": "my-upg-100-list", "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "output": "doxa-maps/my-upg-100-list/my-upg-100-list.js", - "integrity": "sha384-PxH+kx2zJFiCxPgTlBumSCXUaWPBOO8y5Djbt5K+nSFSsBSyIHWc2NQCytdw5TCL", + "integrity": "sha384-wDsuy1vAX4EYyHNciiwo7s+com7Jl352qBCXh9Ui47Sfz9RRoW3o3xxxCwgPhfeh", "elements": [ "my-upg-100-list-map" ], @@ -684,7 +684,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -698,7 +698,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -712,7 +712,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -721,7 +721,7 @@ "bundle": "people-groups-grid", "scriptUrl": "./people-groups-grid/people-groups-grid.js", "output": "doxa-maps/people-groups-grid/people-groups-grid.js", - "integrity": "sha384-B78GyuKG7smBsxAGpu3np8AX08grWzpMSSU33c5L8XCMNIy72pKDVvHql1aikAgi", + "integrity": "sha384-tVa/HxW3wa72j4dc1FD2qxiF0xREDaoAXl4wJA8wllHhkz+3oSY1a7QIjdBaX+sB", "elements": [ "people-groups-grid" ], @@ -737,7 +737,7 @@ "scriptUrl": "./people-groups-grid/people-groups-grid.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -837,7 +837,7 @@ "bundle": "pplr-data-maps", "scriptUrl": "./pplr-data-maps/pplr-data-maps.js", "output": "doxa-maps/pplr-data-maps/pplr-data-maps.js", - "integrity": "sha384-vrNLiLTAX/G7l3hlfUDb5YunuuFTJiJKa0GZ1fLMXlaYohbbTux0QrL5hAxFWWuE", + "integrity": "sha384-rsKBf96uZyOcNH7/KIuIbp6Qw2gZeWGaJDAic9CpoBtV/6qMx8Ycp2r1d2KhaYB9", "elements": [ "pplr-data-maps" ], @@ -853,7 +853,7 @@ "scriptUrl": "./pplr-data-maps/pplr-data-maps.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "bundle": "pplr-data-maps" } @@ -863,7 +863,7 @@ "bundle": "prayer-walk-planner", "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "output": "doxa-maps/prayer-walk-planner/prayer-walk-planner.js", - "integrity": "sha384-jlJGHLys2p2juKNP4Adoy+PG/5vB56OMiY5DCHzca62+JscjOY93dq25wrpe3HC7", + "integrity": "sha384-dfPL+bJ7P6ywr1rkzVXcWvD3ouRW7CBsNpUQcAEEcIJhc77BuDaBAxTy3McLlkqs", "elements": [ "prayer-walk-planner" ], @@ -879,7 +879,7 @@ "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -888,7 +888,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "doxa-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-GVpZCfgiyFEfvKxBE0y4950u+5wE/OI30Op7GjLEEKwELHN2O9DbXwzS7FwI+42d", + "integrity": "sha384-z8Ko/zmxXLQcVlTX8BTZybSULiih2wQIG2onqVFAgiOL6mWyZ9YV7u+d5itpm2Vq", "elements": [ "regions-dashboard" ], @@ -908,7 +908,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -922,7 +922,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -936,7 +936,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -945,7 +945,7 @@ "bundle": "research-dashboard", "scriptUrl": "./research-dashboard/research-dashboard.js", "output": "doxa-maps/research-dashboard/research-dashboard.js", - "integrity": "sha384-22VYCRtqX6GeyDscFK9DZ6ziL55qmfOvYch9zsaBbEq+5poxsrEmqabuUADGvPrB", + "integrity": "sha384-DmuvUUxq04QyXdAt9iE0OJr45I7AkA45e84W4tzzEf2bdGDXaVzRMfZvIHSOnQcn", "elements": [ "research-dashboard-map" ], @@ -961,7 +961,7 @@ "scriptUrl": "./research-dashboard/research-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "bundle": "research-dashboard" } @@ -1059,7 +1059,7 @@ "bundle": "upg-neighbor", "scriptUrl": "./upg-neighbor/upg-neighbor.js", "output": "doxa-maps/upg-neighbor/upg-neighbor.js", - "integrity": "sha384-2q1XQDCYFkcp0j9RTIVZDkMIHUQmQuOVfK7JrkWyOp9lKNv2nRrfFQ7R9i1ly2T1", + "integrity": "sha384-7Satbn+kVP9RAkGHCO/k+jplVcv1WmutQirbE1MyFdTzIRPAA6Cn7N8bY6omFfOc", "elements": [ "upg-neighbor" ], @@ -1075,7 +1075,7 @@ "scriptUrl": "./upg-neighbor/upg-neighbor.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -1157,7 +1157,7 @@ "bundle": "wall-of-people-groups", "scriptUrl": "./wall-of-people-groups/wall-of-people-groups.js", "output": "doxa-maps/wall-of-people-groups/wall-of-people-groups.js", - "integrity": "sha384-dIwKgGUIgpAkAq8rO1P8DEssasjx2o9TGpNuJebLbg/R9igbiwnFMX8Lu+Rh0D2+", + "integrity": "sha384-DOIkqsbncq+++8y2PXQAFZXc7V/pfTDqMgYj+sxZR+os/sVrbdPqin0PJoHi6w1I", "elements": [ "wall-of-people-groups" ], @@ -1173,7 +1173,7 @@ "scriptUrl": "./wall-of-people-groups/wall-of-people-groups.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "bundle": "wall-of-people-groups" } diff --git a/public/doxa-maps/doxa-research-map/doxa-research-map.js b/public/doxa-maps/doxa-research-map/doxa-research-map.js index 5f161d605..555c19613 100644 --- a/public/doxa-maps/doxa-research-map/doxa-research-map.js +++ b/public/doxa-maps/doxa-research-map/doxa-research-map.js @@ -1,4 +1,4 @@ -(function(){"use strict";var kf;var Un=typeof document<"u"?document.currentScript:null;const gE="modulepreload",fE=function(e){return"/"+e},hE={},lo=function(t,o,n){let a=Promise.resolve();function s(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return a.then(r=>{for(const i of r||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})},Rr="affinityBlock",Vn="#95a5a6",Io={A001:"Arab World",A002:"East Asian Peoples",A003:"Eurasian Peoples",A004:"Horn of Africa Peoples",A005:"Jewish",A006:"Malay Peoples",A007:"Persian-Median Peoples",A008:"South Asian Peoples",A009:"North American Peoples",A010:"Pacific Islanders",A011:"Southeast Asian Peoples",A012:"Sub-Saharan Peoples",A013:"Tibetan-Himalayan Peoples",A014:"Turkic Peoples",A015:"Latin-Caribbean Americans",A017:"Deaf",A018:"Tibetan Peoples",A019:"Himalayan Peoples"},$s={A001:"#E74C3C",A002:"#3498DB",A003:"#2ECC71",A004:"#F39C12",A005:"#9B59B6",A006:"#1ABC9C",A007:"#E67E22",A008:"#34495E",A009:"#95A5A6",A010:"#5DADE2",A011:"#16A085",A012:"#C0392B",A013:"#8E44AD",A014:"#D35400",A015:"#27AE60",A017:"#000000",A018:"#6C3483",A019:"#A569BD"},on=$s,Jl=Object.entries(Io).reduce((e,[t,o])=>(e[o]=t,e),{}),Mr=Object.entries(Io).reduce((e,[t,o])=>(e[o]=on[t],e),{}),Ql=Io;function Fr(e){return Io[e]||"Unknown"}function Ir(e){return on[e]||Vn}function ec(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?on[e]||Vn:Mr[e]||Vn:Vn}function tc(){return Object.entries(Io).map(([e,t])=>({code:e,name:t,color:on[e]}))}function oc(e){return{code:e,name:Io[e]||"Unknown",color:on[e]||Vn}}function nc(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Ir(t)}function ac(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Fr(t)}function Or(){const e=["match",["get",Rr]];return Object.entries(on).forEach(([t,o])=>{e.push(t,o)}),e.push(Vn),e}const sc=Or,jf=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:on,AFFINITY_BLOCK_COLORS_BY_NAME:Mr,AFFINITY_BLOCK_NAMES:Io,AFFINITY_BLOCK_NAME_TO_CODE:Jl,NAMES:Ql,PALETTE:$s,PROPERTY_KEY:Rr,affinityBlockCodeLookup:Io,affinityBlockCodeToColor:on,affinityBlockCodeToName:Io,affinityBlockColors:Mr,affinityBlockNameToCode:Jl,applyColor:Or,buildColorExpression:sc,default:{name:"Affinity Block",propertyKey:Rr,palette:$s,colors:$s,names:Ql,getColor:nc,applyColor:Or,buildColorExpression:sc,getName:ac,getAffinityBlockName:Fr,getAffinityBlockColor:ec,getAffinityBlockColorByCode:Ir,getAffinityBlocksArray:tc,getAffinityBlockData:oc},getAffinityBlockColor:ec,getAffinityBlockColorByCode:Ir,getAffinityBlockData:oc,getAffinityBlockName:Fr,getAffinityBlocksArray:tc,getColor:nc,getName:ac},Symbol.toStringTag,{value:"Module"}));function zf(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n{e.push(t,o)}),e.push(Br),e}const cc=zr,Vf=Object.freeze(Object.defineProperty({__proto__:null,DOXA_REGION_COLORS:Uf,PALETTE:ys,PROPERTY_KEY:Dr,REGION_COLOR_ALIASES:jr,SLUG_PALETTE:_s,applyColor:zr,buildColorExpression:cc,default:{name:"DOXA Region",propertyKey:Dr,palette:ys,colors:ys,slugColors:_s,aliases:jr,fallback:Br,getColor:lc,applyColor:zr,buildColorExpression:cc,getRegionColor:ic,getRegionColorBySlug:Gr},getColor:lc,getRegionColor:ic,getRegionColorBySlug:Gr},Symbol.toStringTag,{value:"Module"})),uc="resourceType",nn={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},Kf=nn,va=["bible","jesusFilm","radio","gospel","audio","stories"],Ur={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},Hf=Ur;function wa(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function pc(e){var t;for(const o of va)if((e[o]||((t=e._raw)==null?void 0:t[wa(o)]))==="Available")return nn.hasResources;return nn.noResources}function dc(e){var t;for(const o of va)if((e[o]||((t=e._raw)==null?void 0:t[wa(o)]))==="Available")return!0;return!1}function gc(e){var t;for(const o of va)if((e[o]||((t=e._raw)==null?void 0:t[wa(o)]))==="Available")return o;return"noResources"}function Vr(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],nn.hasResources,nn.noResources]}const fc=Vr,qf=Object.freeze(Object.defineProperty({__proto__:null,NAMES:Ur,PALETTE:nn,PROPERTY_KEY:uc,RESOURCE_COLORS:Kf,RESOURCE_NAMES:Hf,RESOURCE_PRIORITY:va,applyColor:Vr,buildColorExpression:fc,default:{name:"Gospel Resources",propertyKey:uc,palette:nn,colors:nn,names:Ur,priority:va,getColor:pc,applyColor:Vr,buildColorExpression:fc,hasAnyResource:dc,getResourceType:gc,getCSVColumn:wa},getCSVColumn:wa,getColor:pc,getResourceType:gc,hasAnyResource:dc},Symbol.toStringTag,{value:"Module"}));/** +(function(){"use strict";var kf;var Un=typeof document<"u"?document.currentScript:null;const fE="modulepreload",hE=function(e){return"/"+e},mE={},lo=function(t,o,n){let a=Promise.resolve();function s(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return a.then(r=>{for(const i of r||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})},Rr="affinityBlock",Vn="#95a5a6",Io={A001:"Arab World",A002:"East Asian Peoples",A003:"Eurasian Peoples",A004:"Horn of Africa Peoples",A005:"Jewish",A006:"Malay Peoples",A007:"Persian-Median Peoples",A008:"South Asian Peoples",A009:"North American Peoples",A010:"Pacific Islanders",A011:"Southeast Asian Peoples",A012:"Sub-Saharan Peoples",A013:"Tibetan-Himalayan Peoples",A014:"Turkic Peoples",A015:"Latin-Caribbean Americans",A017:"Deaf",A018:"Tibetan Peoples",A019:"Himalayan Peoples"},$s={A001:"#E74C3C",A002:"#3498DB",A003:"#2ECC71",A004:"#F39C12",A005:"#9B59B6",A006:"#1ABC9C",A007:"#E67E22",A008:"#34495E",A009:"#95A5A6",A010:"#5DADE2",A011:"#16A085",A012:"#C0392B",A013:"#8E44AD",A014:"#D35400",A015:"#27AE60",A017:"#000000",A018:"#6C3483",A019:"#A569BD"},on=$s,Jl=Object.entries(Io).reduce((e,[t,o])=>(e[o]=t,e),{}),Mr=Object.entries(Io).reduce((e,[t,o])=>(e[o]=on[t],e),{}),Ql=Io;function Fr(e){return Io[e]||"Unknown"}function Ir(e){return on[e]||Vn}function ec(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?on[e]||Vn:Mr[e]||Vn:Vn}function tc(){return Object.entries(Io).map(([e,t])=>({code:e,name:t,color:on[e]}))}function oc(e){return{code:e,name:Io[e]||"Unknown",color:on[e]||Vn}}function nc(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Ir(t)}function ac(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Fr(t)}function Or(){const e=["match",["get",Rr]];return Object.entries(on).forEach(([t,o])=>{e.push(t,o)}),e.push(Vn),e}const sc=Or,jf=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:on,AFFINITY_BLOCK_COLORS_BY_NAME:Mr,AFFINITY_BLOCK_NAMES:Io,AFFINITY_BLOCK_NAME_TO_CODE:Jl,NAMES:Ql,PALETTE:$s,PROPERTY_KEY:Rr,affinityBlockCodeLookup:Io,affinityBlockCodeToColor:on,affinityBlockCodeToName:Io,affinityBlockColors:Mr,affinityBlockNameToCode:Jl,applyColor:Or,buildColorExpression:sc,default:{name:"Affinity Block",propertyKey:Rr,palette:$s,colors:$s,names:Ql,getColor:nc,applyColor:Or,buildColorExpression:sc,getName:ac,getAffinityBlockName:Fr,getAffinityBlockColor:ec,getAffinityBlockColorByCode:Ir,getAffinityBlocksArray:tc,getAffinityBlockData:oc},getAffinityBlockColor:ec,getAffinityBlockColorByCode:Ir,getAffinityBlockData:oc,getAffinityBlockName:Fr,getAffinityBlocksArray:tc,getColor:nc,getName:ac},Symbol.toStringTag,{value:"Module"}));function zf(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n{e.push(t,o)}),e.push(Br),e}const cc=zr,Vf=Object.freeze(Object.defineProperty({__proto__:null,DOXA_REGION_COLORS:Uf,PALETTE:ys,PROPERTY_KEY:Dr,REGION_COLOR_ALIASES:jr,SLUG_PALETTE:_s,applyColor:zr,buildColorExpression:cc,default:{name:"DOXA Region",propertyKey:Dr,palette:ys,colors:ys,slugColors:_s,aliases:jr,fallback:Br,getColor:lc,applyColor:zr,buildColorExpression:cc,getRegionColor:ic,getRegionColorBySlug:Gr},getColor:lc,getRegionColor:ic,getRegionColorBySlug:Gr},Symbol.toStringTag,{value:"Module"})),uc="resourceType",nn={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},Kf=nn,va=["bible","jesusFilm","radio","gospel","audio","stories"],Ur={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},Hf=Ur;function wa(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function pc(e){var t;for(const o of va)if((e[o]||((t=e._raw)==null?void 0:t[wa(o)]))==="Available")return nn.hasResources;return nn.noResources}function dc(e){var t;for(const o of va)if((e[o]||((t=e._raw)==null?void 0:t[wa(o)]))==="Available")return!0;return!1}function gc(e){var t;for(const o of va)if((e[o]||((t=e._raw)==null?void 0:t[wa(o)]))==="Available")return o;return"noResources"}function Vr(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],nn.hasResources,nn.noResources]}const fc=Vr,qf=Object.freeze(Object.defineProperty({__proto__:null,NAMES:Ur,PALETTE:nn,PROPERTY_KEY:uc,RESOURCE_COLORS:Kf,RESOURCE_NAMES:Hf,RESOURCE_PRIORITY:va,applyColor:Vr,buildColorExpression:fc,default:{name:"Gospel Resources",propertyKey:uc,palette:nn,colors:nn,names:Ur,priority:va,getColor:pc,applyColor:Vr,buildColorExpression:fc,hasAnyResource:dc,getResourceType:gc,getCSVColumn:wa},getCSVColumn:wa,getColor:pc,getResourceType:gc,hasAnyResource:dc},Symbol.toStringTag,{value:"Module"}));/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -6,14 +6,14 @@ * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let _t;class Lc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&_t&&(_t.active?(this.parent=_t,this.index=(_t.scopes||(_t.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(_t===this)_t=this.prevScope;else{let t=_t;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Aa){let t=Aa;for(Aa=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;La;){let t=La;for(La=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function Ec(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Tc(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),oi(n),sh(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function ti(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Nc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Nc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Sa)||(e.globalVersion=Sa,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ti(e))))return;e.flags|=2;const t=e.dep,o=rt,n=co;rt=e,co=!0;try{Ec(e);const a=e.fn(e._value);(t.version===0||yo(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{rt=o,co=n,Tc(e),e.flags&=-3}}function oi(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let s=o.computed.deps;s;s=s.nextDep)oi(s,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function sh(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let co=!0;const Rc=[];function _o(){Rc.push(co),co=!1}function vo(){const e=Rc.pop();co=e===void 0?!0:e}function Mc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=rt;rt=void 0;try{t()}finally{rt=o}}}let Sa=0;class rh{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ni{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!rt||!co||rt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==rt)o=this.activeLink=new rh(rt,this),rt.deps?(o.prevDep=rt.depsTail,rt.depsTail.nextDep=o,rt.depsTail=o):rt.deps=rt.depsTail=o,Fc(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=rt.depsTail,o.nextDep=void 0,rt.depsTail.nextDep=o,rt.depsTail=o,rt.deps===o&&(rt.deps=n)}return o}trigger(t){this.version++,Sa++,this.notify(t)}notify(t){Qr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{ei()}}}function Fc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Fc(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Es=new WeakMap,wn=Symbol(""),ai=Symbol(""),Pa=Symbol("");function Rt(e,t,o){if(co&&rt){let n=Es.get(e);n||Es.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new ni),a.map=n,a.key=o),a.track()}}function Bo(e,t,o,n,a,s){const r=Es.get(e);if(!r){Sa++;return}const i=l=>{l&&l.trigger()};if(Qr(),t==="clear")r.forEach(i);else{const l=Ee(e),c=l&&xs(o);if(l&&o==="length"){const u=Number(n);r.forEach((p,d)=>{(d==="length"||d===Pa||!Kt(d)&&d>=u)&&i(p)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(Pa)),t){case"add":l?c&&i(r.get("length")):(i(r.get(wn)),an(e)&&i(r.get(ai)));break;case"delete":l||(i(r.get(wn)),an(e)&&i(r.get(ai)));break;case"set":an(e)&&i(r.get(wn));break}}ei()}function ih(e,t){const o=Es.get(e);return o&&o.get(t)}function Hn(e){const t=Ve(e);return t===e?t:(Rt(t,"iterate",Pa),Ht(e)?t:t.map(uo))}function Ts(e){return Rt(e=Ve(e),"iterate",Pa),e}function wo(e,t){return zo(e)?Yn(jo(e)?uo(t):t):uo(t)}const lh={__proto__:null,[Symbol.iterator](){return si(this,Symbol.iterator,e=>wo(this,e))},concat(...e){return Hn(this).concat(...e.map(t=>Ee(t)?Hn(t):t))},entries(){return si(this,"entries",e=>(e[1]=wo(this,e[1]),e))},every(e,t){return Go(this,"every",e,t,void 0,arguments)},filter(e,t){return Go(this,"filter",e,t,o=>o.map(n=>wo(this,n)),arguments)},find(e,t){return Go(this,"find",e,t,o=>wo(this,o),arguments)},findIndex(e,t){return Go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Go(this,"findLast",e,t,o=>wo(this,o),arguments)},findLastIndex(e,t){return Go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Go(this,"forEach",e,t,void 0,arguments)},includes(...e){return ri(this,"includes",e)},indexOf(...e){return ri(this,"indexOf",e)},join(e){return Hn(this).join(e)},lastIndexOf(...e){return ri(this,"lastIndexOf",e)},map(e,t){return Go(this,"map",e,t,void 0,arguments)},pop(){return Ca(this,"pop")},push(...e){return Ca(this,"push",e)},reduce(e,...t){return Ic(this,"reduce",e,t)},reduceRight(e,...t){return Ic(this,"reduceRight",e,t)},shift(){return Ca(this,"shift")},some(e,t){return Go(this,"some",e,t,void 0,arguments)},splice(...e){return Ca(this,"splice",e)},toReversed(){return Hn(this).toReversed()},toSorted(e){return Hn(this).toSorted(e)},toSpliced(...e){return Hn(this).toSpliced(...e)},unshift(...e){return Ca(this,"unshift",e)},values(){return si(this,"values",e=>wo(this,e))}};function si(e,t,o){const n=Ts(e),a=n[t]();return n!==e&&!Ht(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=o(s.value)),s}),a}const ch=Array.prototype;function Go(e,t,o,n,a,s){const r=Ts(e),i=r!==e&&!Ht(e),l=r[t];if(l!==ch[t]){const p=l.apply(e,s);return i?uo(p):p}let c=o;r!==e&&(i?c=function(p,d){return o.call(this,wo(e,p),d,e)}:o.length>2&&(c=function(p,d){return o.call(this,p,d,e)}));const u=l.call(r,c,n);return i&&a?a(u):u}function Ic(e,t,o,n){const a=Ts(e),s=a!==e&&!Ht(e);let r=o,i=!1;a!==e&&(s?(i=n.length===0,r=function(c,u,p){return i&&(i=!1,c=wo(e,c)),o.call(this,c,wo(e,u),p,e)}):o.length>3&&(r=function(c,u,p){return o.call(this,c,u,p,e)}));const l=a[t](r,...n);return i?wo(e,l):l}function ri(e,t,o){const n=Ve(e);Rt(n,"iterate",Pa);const a=n[t](...o);return(a===-1||a===!1)&&Is(o[0])?(o[0]=Ve(o[0]),n[t](...o)):a}function Ca(e,t,o=[]){_o(),Qr();const n=Ve(e)[t].apply(e,o);return ei(),vo(),n}const uh=Kr("__proto__,__v_isRef,__isVue"),Oc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Kt));function ph(e){Kt(e)||(e=String(e));const t=Ve(this);return Rt(t,"has",e),t.hasOwnProperty(e)}class Dc{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(a?s?Vc:Uc:s?zc:jc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=Ee(t);if(!a){let l;if(r&&(l=lh[o]))return l;if(o==="hasOwnProperty")return ph}const i=Reflect.get(t,o,ut(t)?t:n);if((Kt(o)?Oc.has(o):uh(o))||(a||Rt(t,"get",o),s))return i;if(ut(i)){const l=r&&xs(o)?i:i.value;return a&&Qe(l)?kn(l):l}return Qe(i)?a?kn(i):qn(i):i}}class Bc extends Dc{constructor(t=!1){super(!1,t)}set(t,o,n,a){let s=t[o];const r=Ee(t)&&xs(o);if(!this._isShallow){const c=zo(s);if(!Ht(n)&&!zo(n)&&(s=Ve(s),n=Ve(n)),!r&&ut(s)&&!ut(n))return c||(s.value=n),!0}const i=r?Number(o)e,Ns=e=>Reflect.getPrototypeOf(e);function mh(e,t,o){return function(...n){const a=this.__v_raw,s=Ve(a),r=an(s),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...n),u=o?ii:t?Yn:uo;return!t&&Rt(s,"iterate",l?ai:wn),ft(Object.create(c),{next(){const{value:p,done:d}=c.next();return d?{value:p,done:d}:{value:i?[u(p[0]),u(p[1])]:u(p),done:d}}})}}function Rs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bh(e,t){const o={get(a){const s=this.__v_raw,r=Ve(s),i=Ve(a);e||(yo(a,i)&&Rt(r,"get",a),Rt(r,"get",i));const{has:l}=Ns(r),c=t?ii:e?Yn:uo;if(l.call(r,a))return c(s.get(a));if(l.call(r,i))return c(s.get(i));s!==r&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Rt(Ve(a),"iterate",wn),a.size},has(a){const s=this.__v_raw,r=Ve(s),i=Ve(a);return e||(yo(a,i)&&Rt(r,"has",a),Rt(r,"has",i)),a===i?s.has(a):s.has(a)||s.has(i)},forEach(a,s){const r=this,i=r.__v_raw,l=Ve(i),c=t?ii:e?Yn:uo;return!e&&Rt(l,"iterate",wn),i.forEach((u,p)=>a.call(s,c(u),c(p),r))}};return ft(o,e?{add:Rs("add"),set:Rs("set"),delete:Rs("delete"),clear:Rs("clear")}:{add(a){const s=Ve(this),r=Ns(s),i=Ve(a),l=!t&&!Ht(a)&&!zo(a)?i:a;return r.has.call(s,l)||yo(a,l)&&r.has.call(s,a)||yo(i,l)&&r.has.call(s,i)||(s.add(l),Bo(s,"add",l,l)),this},set(a,s){!t&&!Ht(s)&&!zo(s)&&(s=Ve(s));const r=Ve(this),{has:i,get:l}=Ns(r);let c=i.call(r,a);c||(a=Ve(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,s),c?yo(s,u)&&Bo(r,"set",a,s):Bo(r,"add",a,s),this},delete(a){const s=Ve(this),{has:r,get:i}=Ns(s);let l=r.call(s,a);l||(a=Ve(a),l=r.call(s,a)),i&&i.call(s,a);const c=s.delete(a);return l&&Bo(s,"delete",a,void 0),c},clear(){const a=Ve(this),s=a.size!==0,r=a.clear();return s&&Bo(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=mh(a,e,t)}),o}function Ms(e,t){const o=bh(e,t);return(n,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Je(o,a)&&a in n?o:n,a,s)}const $h={get:Ms(!1,!1)},yh={get:Ms(!1,!0)},_h={get:Ms(!0,!1)},vh={get:Ms(!0,!0)},jc=new WeakMap,zc=new WeakMap,Uc=new WeakMap,Vc=new WeakMap;function wh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qn(e){return zo(e)?e:Fs(e,!1,dh,$h,jc)}function kh(e){return Fs(e,!1,fh,yh,zc)}function kn(e){return Fs(e,!0,gh,_h,Uc)}function LE(e){return Fs(e,!0,hh,vh,Vc)}function Fs(e,t,o,n,a){if(!Qe(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const r=wh(Yf(e));if(r===0)return e;const i=new Proxy(e,r===2?n:o);return a.set(e,i),i}function jo(e){return zo(e)?jo(e.__v_raw):!!(e&&e.__v_isReactive)}function zo(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Is(e){return e?!!e.__v_raw:!1}function Ve(e){const t=e&&e.__v_raw;return t?Ve(t):e}function Wn(e){return!Je(e,"__v_skip")&&Object.isExtensible(e)&&yc(e,"__v_skip",!0),e}const uo=e=>Qe(e)?qn(e):e,Yn=e=>Qe(e)?kn(e):e;function ut(e){return e?e.__v_isRef===!0:!1}function ge(e){return Kc(e,!1)}function Ea(e){return Kc(e,!0)}function Kc(e,t){return ut(e)?e:new xh(e,t)}class xh{constructor(t,o){this.dep=new ni,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Ve(t),this._value=o?t:uo(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ht(t)||zo(t);t=n?t:Ve(t),yo(t,o)&&(this._rawValue=t,this._value=n?t:uo(t),this.dep.trigger())}}function ue(e){return ut(e)?e.value:e}const Lh={get:(e,t,o)=>t==="__v_raw"?e:ue(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return ut(a)&&!ut(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Hc(e){return jo(e)?e:new Proxy(e,Lh)}function Ah(e){const t=Ee(e)?new Array(e.length):{};for(const o in e)t[o]=qc(e,o);return t}class Sh{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Kt(o)?o:String(o),this._raw=Ve(t);let a=!0,s=t;if(!Ee(t)||Kt(this._key)||!xs(this._key))do a=!Is(s)||Ht(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ue(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ut(this._raw[this._key])){const o=this._object[this._key];if(ut(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return ih(this._raw,this._key)}}class Ph{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Os(e,t,o){return ut(e)?e:De(e)?new Ph(e):Qe(e)&&arguments.length>1?qc(e,t,o):ge(e)}function qc(e,t,o){return new Sh(e,t,o)}class Ch{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new ni(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Sa-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&rt!==this)return Cc(this,!0),!0}get value(){const t=this.dep.track();return Nc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Eh(e,t,o=!1){let n,a;return De(e)?n=e:(n=e.get,a=e.set),new Ch(n,a,o)}const Ds={},Bs=new WeakMap;let xn;function Th(e,t=!1,o=xn){if(o){let n=Bs.get(o);n||Bs.set(o,n=[]),n.push(e)}}function Nh(e,t,o=at){const{immediate:n,deep:a,once:s,scheduler:r,augmentJob:i,call:l}=o,c=x=>a?x:Ht(x)||a===!1||a===0?Uo(x,1):Uo(x);let u,p,d,A,k=!1,f=!1;if(ut(e)?(p=()=>e.value,k=Ht(e)):jo(e)?(p=()=>c(e),k=!0):Ee(e)?(f=!0,k=e.some(x=>jo(x)||Ht(x)),p=()=>e.map(x=>{if(ut(x))return x.value;if(jo(x))return c(x);if(De(x))return l?l(x,2):x()})):De(e)?t?p=l?()=>l(e,2):e:p=()=>{if(d){_o();try{d()}finally{vo()}}const x=xn;xn=u;try{return l?l(e,3,[A]):e(A)}finally{xn=x}}:p=$o,t&&a){const x=p,E=a===!0?1/0:a;p=()=>Uo(x(),E)}const w=Ac(),y=()=>{u.stop(),w&&w.active&&Hr(w.effects,u)};if(s&&t){const x=t;t=(...E)=>{const m=x(...E);return y(),m}}let h=f?new Array(e.length).fill(Ds):Ds;const $=x=>{if(!(!(u.flags&1)||!u.dirty&&!x))if(t){const E=u.run();if(x||a||k||(f?E.some((m,b)=>yo(m,h[b])):yo(E,h))){d&&d();const m=xn;xn=u;try{const b=[E,h===Ds?void 0:f&&h[0]===Ds?[]:h,A];h=E,l?l(t,3,b):t(...b)}finally{xn=m}}}else u.run()};return i&&i($),u=new Sc(p),u.scheduler=r?()=>r($,!1):$,A=x=>Th(x,!1,u),d=u.onStop=()=>{const x=Bs.get(u);if(x){if(l)l(x,4);else for(const E of x)E();Bs.delete(u)}},t?n?$(!0):h=u.run():r?r($.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Uo(e,t=1/0,o){if(t<=0||!Qe(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,ut(e))Uo(e.value,t,o);else if(Ee(e))for(let n=0;n{Uo(n,t,o)});else if(ks(e)){for(const n in e)Uo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Uo(e[n],t,o)}return e}/** +**/let _t;class Lc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&_t&&(_t.active?(this.parent=_t,this.index=(_t.scopes||(_t.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(_t===this)_t=this.prevScope;else{let t=_t;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Aa){let t=Aa;for(Aa=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;La;){let t=La;for(La=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function Ec(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Tc(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),oi(n),sh(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function ti(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Nc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Nc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Sa)||(e.globalVersion=Sa,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ti(e))))return;e.flags|=2;const t=e.dep,o=rt,n=co;rt=e,co=!0;try{Ec(e);const a=e.fn(e._value);(t.version===0||yo(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{rt=o,co=n,Tc(e),e.flags&=-3}}function oi(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let s=o.computed.deps;s;s=s.nextDep)oi(s,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function sh(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let co=!0;const Rc=[];function _o(){Rc.push(co),co=!1}function vo(){const e=Rc.pop();co=e===void 0?!0:e}function Mc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=rt;rt=void 0;try{t()}finally{rt=o}}}let Sa=0;class rh{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ni{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!rt||!co||rt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==rt)o=this.activeLink=new rh(rt,this),rt.deps?(o.prevDep=rt.depsTail,rt.depsTail.nextDep=o,rt.depsTail=o):rt.deps=rt.depsTail=o,Fc(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=rt.depsTail,o.nextDep=void 0,rt.depsTail.nextDep=o,rt.depsTail=o,rt.deps===o&&(rt.deps=n)}return o}trigger(t){this.version++,Sa++,this.notify(t)}notify(t){Qr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{ei()}}}function Fc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Fc(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Es=new WeakMap,wn=Symbol(""),ai=Symbol(""),Pa=Symbol("");function Rt(e,t,o){if(co&&rt){let n=Es.get(e);n||Es.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new ni),a.map=n,a.key=o),a.track()}}function Bo(e,t,o,n,a,s){const r=Es.get(e);if(!r){Sa++;return}const i=l=>{l&&l.trigger()};if(Qr(),t==="clear")r.forEach(i);else{const l=Ee(e),c=l&&xs(o);if(l&&o==="length"){const u=Number(n);r.forEach((p,d)=>{(d==="length"||d===Pa||!Kt(d)&&d>=u)&&i(p)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(Pa)),t){case"add":l?c&&i(r.get("length")):(i(r.get(wn)),an(e)&&i(r.get(ai)));break;case"delete":l||(i(r.get(wn)),an(e)&&i(r.get(ai)));break;case"set":an(e)&&i(r.get(wn));break}}ei()}function ih(e,t){const o=Es.get(e);return o&&o.get(t)}function Hn(e){const t=Ve(e);return t===e?t:(Rt(t,"iterate",Pa),Ht(e)?t:t.map(uo))}function Ts(e){return Rt(e=Ve(e),"iterate",Pa),e}function wo(e,t){return zo(e)?Yn(jo(e)?uo(t):t):uo(t)}const lh={__proto__:null,[Symbol.iterator](){return si(this,Symbol.iterator,e=>wo(this,e))},concat(...e){return Hn(this).concat(...e.map(t=>Ee(t)?Hn(t):t))},entries(){return si(this,"entries",e=>(e[1]=wo(this,e[1]),e))},every(e,t){return Go(this,"every",e,t,void 0,arguments)},filter(e,t){return Go(this,"filter",e,t,o=>o.map(n=>wo(this,n)),arguments)},find(e,t){return Go(this,"find",e,t,o=>wo(this,o),arguments)},findIndex(e,t){return Go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Go(this,"findLast",e,t,o=>wo(this,o),arguments)},findLastIndex(e,t){return Go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Go(this,"forEach",e,t,void 0,arguments)},includes(...e){return ri(this,"includes",e)},indexOf(...e){return ri(this,"indexOf",e)},join(e){return Hn(this).join(e)},lastIndexOf(...e){return ri(this,"lastIndexOf",e)},map(e,t){return Go(this,"map",e,t,void 0,arguments)},pop(){return Ca(this,"pop")},push(...e){return Ca(this,"push",e)},reduce(e,...t){return Ic(this,"reduce",e,t)},reduceRight(e,...t){return Ic(this,"reduceRight",e,t)},shift(){return Ca(this,"shift")},some(e,t){return Go(this,"some",e,t,void 0,arguments)},splice(...e){return Ca(this,"splice",e)},toReversed(){return Hn(this).toReversed()},toSorted(e){return Hn(this).toSorted(e)},toSpliced(...e){return Hn(this).toSpliced(...e)},unshift(...e){return Ca(this,"unshift",e)},values(){return si(this,"values",e=>wo(this,e))}};function si(e,t,o){const n=Ts(e),a=n[t]();return n!==e&&!Ht(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=o(s.value)),s}),a}const ch=Array.prototype;function Go(e,t,o,n,a,s){const r=Ts(e),i=r!==e&&!Ht(e),l=r[t];if(l!==ch[t]){const p=l.apply(e,s);return i?uo(p):p}let c=o;r!==e&&(i?c=function(p,d){return o.call(this,wo(e,p),d,e)}:o.length>2&&(c=function(p,d){return o.call(this,p,d,e)}));const u=l.call(r,c,n);return i&&a?a(u):u}function Ic(e,t,o,n){const a=Ts(e),s=a!==e&&!Ht(e);let r=o,i=!1;a!==e&&(s?(i=n.length===0,r=function(c,u,p){return i&&(i=!1,c=wo(e,c)),o.call(this,c,wo(e,u),p,e)}):o.length>3&&(r=function(c,u,p){return o.call(this,c,u,p,e)}));const l=a[t](r,...n);return i?wo(e,l):l}function ri(e,t,o){const n=Ve(e);Rt(n,"iterate",Pa);const a=n[t](...o);return(a===-1||a===!1)&&Is(o[0])?(o[0]=Ve(o[0]),n[t](...o)):a}function Ca(e,t,o=[]){_o(),Qr();const n=Ve(e)[t].apply(e,o);return ei(),vo(),n}const uh=Kr("__proto__,__v_isRef,__isVue"),Oc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Kt));function ph(e){Kt(e)||(e=String(e));const t=Ve(this);return Rt(t,"has",e),t.hasOwnProperty(e)}class Dc{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(a?s?Vc:Uc:s?zc:jc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=Ee(t);if(!a){let l;if(r&&(l=lh[o]))return l;if(o==="hasOwnProperty")return ph}const i=Reflect.get(t,o,ut(t)?t:n);if((Kt(o)?Oc.has(o):uh(o))||(a||Rt(t,"get",o),s))return i;if(ut(i)){const l=r&&xs(o)?i:i.value;return a&&Qe(l)?kn(l):l}return Qe(i)?a?kn(i):qn(i):i}}class Bc extends Dc{constructor(t=!1){super(!1,t)}set(t,o,n,a){let s=t[o];const r=Ee(t)&&xs(o);if(!this._isShallow){const c=zo(s);if(!Ht(n)&&!zo(n)&&(s=Ve(s),n=Ve(n)),!r&&ut(s)&&!ut(n))return c||(s.value=n),!0}const i=r?Number(o)e,Ns=e=>Reflect.getPrototypeOf(e);function mh(e,t,o){return function(...n){const a=this.__v_raw,s=Ve(a),r=an(s),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...n),u=o?ii:t?Yn:uo;return!t&&Rt(s,"iterate",l?ai:wn),ft(Object.create(c),{next(){const{value:p,done:d}=c.next();return d?{value:p,done:d}:{value:i?[u(p[0]),u(p[1])]:u(p),done:d}}})}}function Rs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bh(e,t){const o={get(a){const s=this.__v_raw,r=Ve(s),i=Ve(a);e||(yo(a,i)&&Rt(r,"get",a),Rt(r,"get",i));const{has:l}=Ns(r),c=t?ii:e?Yn:uo;if(l.call(r,a))return c(s.get(a));if(l.call(r,i))return c(s.get(i));s!==r&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Rt(Ve(a),"iterate",wn),a.size},has(a){const s=this.__v_raw,r=Ve(s),i=Ve(a);return e||(yo(a,i)&&Rt(r,"has",a),Rt(r,"has",i)),a===i?s.has(a):s.has(a)||s.has(i)},forEach(a,s){const r=this,i=r.__v_raw,l=Ve(i),c=t?ii:e?Yn:uo;return!e&&Rt(l,"iterate",wn),i.forEach((u,p)=>a.call(s,c(u),c(p),r))}};return ft(o,e?{add:Rs("add"),set:Rs("set"),delete:Rs("delete"),clear:Rs("clear")}:{add(a){const s=Ve(this),r=Ns(s),i=Ve(a),l=!t&&!Ht(a)&&!zo(a)?i:a;return r.has.call(s,l)||yo(a,l)&&r.has.call(s,a)||yo(i,l)&&r.has.call(s,i)||(s.add(l),Bo(s,"add",l,l)),this},set(a,s){!t&&!Ht(s)&&!zo(s)&&(s=Ve(s));const r=Ve(this),{has:i,get:l}=Ns(r);let c=i.call(r,a);c||(a=Ve(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,s),c?yo(s,u)&&Bo(r,"set",a,s):Bo(r,"add",a,s),this},delete(a){const s=Ve(this),{has:r,get:i}=Ns(s);let l=r.call(s,a);l||(a=Ve(a),l=r.call(s,a)),i&&i.call(s,a);const c=s.delete(a);return l&&Bo(s,"delete",a,void 0),c},clear(){const a=Ve(this),s=a.size!==0,r=a.clear();return s&&Bo(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=mh(a,e,t)}),o}function Ms(e,t){const o=bh(e,t);return(n,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Je(o,a)&&a in n?o:n,a,s)}const $h={get:Ms(!1,!1)},yh={get:Ms(!1,!0)},_h={get:Ms(!0,!1)},vh={get:Ms(!0,!0)},jc=new WeakMap,zc=new WeakMap,Uc=new WeakMap,Vc=new WeakMap;function wh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qn(e){return zo(e)?e:Fs(e,!1,dh,$h,jc)}function kh(e){return Fs(e,!1,fh,yh,zc)}function kn(e){return Fs(e,!0,gh,_h,Uc)}function AE(e){return Fs(e,!0,hh,vh,Vc)}function Fs(e,t,o,n,a){if(!Qe(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const r=wh(Yf(e));if(r===0)return e;const i=new Proxy(e,r===2?n:o);return a.set(e,i),i}function jo(e){return zo(e)?jo(e.__v_raw):!!(e&&e.__v_isReactive)}function zo(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Is(e){return e?!!e.__v_raw:!1}function Ve(e){const t=e&&e.__v_raw;return t?Ve(t):e}function Wn(e){return!Je(e,"__v_skip")&&Object.isExtensible(e)&&yc(e,"__v_skip",!0),e}const uo=e=>Qe(e)?qn(e):e,Yn=e=>Qe(e)?kn(e):e;function ut(e){return e?e.__v_isRef===!0:!1}function ge(e){return Kc(e,!1)}function Ea(e){return Kc(e,!0)}function Kc(e,t){return ut(e)?e:new xh(e,t)}class xh{constructor(t,o){this.dep=new ni,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Ve(t),this._value=o?t:uo(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ht(t)||zo(t);t=n?t:Ve(t),yo(t,o)&&(this._rawValue=t,this._value=n?t:uo(t),this.dep.trigger())}}function ue(e){return ut(e)?e.value:e}const Lh={get:(e,t,o)=>t==="__v_raw"?e:ue(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return ut(a)&&!ut(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Hc(e){return jo(e)?e:new Proxy(e,Lh)}function Ah(e){const t=Ee(e)?new Array(e.length):{};for(const o in e)t[o]=qc(e,o);return t}class Sh{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Kt(o)?o:String(o),this._raw=Ve(t);let a=!0,s=t;if(!Ee(t)||Kt(this._key)||!xs(this._key))do a=!Is(s)||Ht(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ue(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ut(this._raw[this._key])){const o=this._object[this._key];if(ut(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return ih(this._raw,this._key)}}class Ph{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Os(e,t,o){return ut(e)?e:De(e)?new Ph(e):Qe(e)&&arguments.length>1?qc(e,t,o):ge(e)}function qc(e,t,o){return new Sh(e,t,o)}class Ch{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new ni(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Sa-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&rt!==this)return Cc(this,!0),!0}get value(){const t=this.dep.track();return Nc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Eh(e,t,o=!1){let n,a;return De(e)?n=e:(n=e.get,a=e.set),new Ch(n,a,o)}const Ds={},Bs=new WeakMap;let xn;function Th(e,t=!1,o=xn){if(o){let n=Bs.get(o);n||Bs.set(o,n=[]),n.push(e)}}function Nh(e,t,o=at){const{immediate:n,deep:a,once:s,scheduler:r,augmentJob:i,call:l}=o,c=x=>a?x:Ht(x)||a===!1||a===0?Uo(x,1):Uo(x);let u,p,d,A,k=!1,f=!1;if(ut(e)?(p=()=>e.value,k=Ht(e)):jo(e)?(p=()=>c(e),k=!0):Ee(e)?(f=!0,k=e.some(x=>jo(x)||Ht(x)),p=()=>e.map(x=>{if(ut(x))return x.value;if(jo(x))return c(x);if(De(x))return l?l(x,2):x()})):De(e)?t?p=l?()=>l(e,2):e:p=()=>{if(d){_o();try{d()}finally{vo()}}const x=xn;xn=u;try{return l?l(e,3,[A]):e(A)}finally{xn=x}}:p=$o,t&&a){const x=p,E=a===!0?1/0:a;p=()=>Uo(x(),E)}const w=Ac(),y=()=>{u.stop(),w&&w.active&&Hr(w.effects,u)};if(s&&t){const x=t;t=(...E)=>{const m=x(...E);return y(),m}}let h=f?new Array(e.length).fill(Ds):Ds;const $=x=>{if(!(!(u.flags&1)||!u.dirty&&!x))if(t){const E=u.run();if(x||a||k||(f?E.some((m,b)=>yo(m,h[b])):yo(E,h))){d&&d();const m=xn;xn=u;try{const b=[E,h===Ds?void 0:f&&h[0]===Ds?[]:h,A];h=E,l?l(t,3,b):t(...b)}finally{xn=m}}}else u.run()};return i&&i($),u=new Sc(p),u.scheduler=r?()=>r($,!1):$,A=x=>Th(x,!1,u),d=u.onStop=()=>{const x=Bs.get(u);if(x){if(l)l(x,4);else for(const E of x)E();Bs.delete(u)}},t?n?$(!0):h=u.run():r?r($.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Uo(e,t=1/0,o){if(t<=0||!Qe(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,ut(e))Uo(e.value,t,o);else if(Ee(e))for(let n=0;n{Uo(n,t,o)});else if(ks(e)){for(const n in e)Uo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Uo(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Ta=[];let li=!1;function AE(e,...t){if(li)return;li=!0,_o();const o=Ta.length?Ta[Ta.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=Rh();if(n)Xn(n,o,11,[e+t.map(s=>{var r,i;return(i=(r=s.toString)==null?void 0:r.call(s))!=null?i:JSON.stringify(s)}).join(""),o&&o.proxy,a.map(({vnode:s})=>`at <${Xu(o,s.type)}>`).join(` +**/const Ta=[];let li=!1;function SE(e,...t){if(li)return;li=!0,_o();const o=Ta.length?Ta[Ta.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=Rh();if(n)Xn(n,o,11,[e+t.map(s=>{var r,i;return(i=(r=s.toString)==null?void 0:r.call(s))!=null?i:JSON.stringify(s)}).join(""),o&&o.proxy,a.map(({vnode:s})=>`at <${Xu(o,s.type)}>`).join(` `),a]);else{const s=[`[Vue warn]: ${e}`,...t];a.length&&s.push(` `,...Mh(a)),console.warn(...s)}vo(),li=!1}function Rh(){let e=Ta[Ta.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Mh(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Fh(o))}),t}function Fh({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Xu(e.component,e.type,n)}`,s=">"+o;return e.props?[a,...Ih(e.props),s]:[a+s]}function Ih(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Wc(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Wc(e,t,o){return st(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ut(t)?(t=Wc(e,Ve(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):De(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ve(t),o?t:[`${e}=`,t])}function Xn(e,t,o,n){try{return n?e(...n):e()}catch(a){Na(a,t,o)}}function eo(e,t,o,n){if(De(e)){const a=Xn(e,t,o,n);return a&&bc(a)&&a.catch(s=>{Na(s,t,o)}),a}if(Ee(e)){const a=[];for(let s=0;s>>1,a=Ot[n],s=Ra(a);s=Ra(o)?Ot.push(e):Ot.splice(Dh(t),0,e),e.flags|=1,Xc()}}function Xc(){Gs||(Gs=Yc.then(Qc))}function Bh(e){if(!Ee(e))sn&&e.id===-1?sn.splice(Jn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1);else for(let t=0;tRa(o)-Ra(n));if(Zn.length=0,sn){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Qc(e){try{for(ko=0;ko{n._d&&Zs(-1);const s=js(t),r=Ho.length;let i;try{i=e(...a)}finally{for(let l=Ho.length;l>r;l--)Li();js(s),n._d&&Zs(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function to(e,t){if(Pt===null)return e;const o=tr(Pt),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&De(t)?t.call(n&&n.proxy):t}}function Gh(){return!!(po()||Sn)}const jh=Symbol.for("v-scx"),zh=()=>Te(jh);function Uh(e,t){return ui(e,null,t)}function Me(e,t,o){return ui(e,t,o)}function ui(e,t,o=at){const{immediate:n,deep:a,flush:s,once:r}=o,i=ft({},o),l=t&&n||!t&&s!=="post";let c;if(ea){if(s==="sync"){const A=zh();c=A.__watcherHandles||(A.__watcherHandles=[])}else if(!l){const A=()=>{};return A.stop=$o,A.resume=$o,A.pause=$o,A}}const u=Et;i.call=(A,k,f)=>eo(A,u,k,f);let p=!1;s==="post"?i.scheduler=A=>{Bt(A,u&&u.suspense)}:s!=="sync"&&(p=!0,i.scheduler=(A,k)=>{k?A():ci(A)}),i.augmentJob=A=>{t&&(A.flags|=4),p&&(A.flags|=2,u&&(A.id=u.uid,A.i=u))};const d=Nh(e,t,i);return ea&&(c?c.push(d):l&&d()),d}function Vh(e,t,o){const n=this.proxy,a=st(e)?e.includes(".")?tu(n,e):()=>n[e]:e.bind(n,n);let s;De(t)?s=t:(s=t.handler,o=t);const r=qa(this),i=ui(a,s.bind(n),o);return r(),i}function tu(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,An=e=>e&&(e.disabled||e.disabled===""),Kh=e=>e&&(e.defer||e.defer===""),nu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,au=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pi=(e,t)=>{const o=e&&e.to;return st(o)?t?t(o):null:o},Hh={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,s,r,i,l,c){const{mc:u,pc:p,pbc:d,o:{insert:A,querySelector:k,createText:f,createComment:w,parentNode:y}}=c,h=An(t.props);let{dynamicChildren:$}=t;const x=(b,g,_)=>{b.shapeFlag&16&&u(b.children,g,_,a,s,r,i,l)},E=(b=t)=>{const g=An(b.props),_=b.target=pi(b.props,k),T=di(_,b,f,A);_&&(r!=="svg"&&nu(_)?r="svg":r!=="mathml"&&au(_)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(_),g||(x(b,_,T),Ma(b,!1)))},m=b=>{const g=()=>{if(rn.get(b)===g){if(rn.delete(b),An(b.props)){const _=y(b.el)||o;x(b,_,b.anchor),Ma(b,!0)}E(b)}};rn.set(b,g),Bt(g,s)};if(e==null){const b=t.el=f(""),g=t.anchor=f("");if(A(b,o,n),A(g,o,n),Kh(t.props)||s&&s.pendingBranch){m(t);return}h&&(x(t,o,g),Ma(t,!0)),E()}else{t.el=e.el;const b=t.anchor=e.anchor,g=rn.get(e);if(g){g.flags|=8,rn.delete(e),m(t);return}t.targetStart=e.targetStart;const _=t.target=e.target,T=t.targetAnchor=e.targetAnchor,B=An(e.props),V=B?o:_,j=B?b:T;if(r==="svg"||nu(_)?r="svg":(r==="mathml"||au(_))&&(r="mathml"),$?(d(e.dynamicChildren,$,V,a,s,r,i),xi(e,t,!0)):l||p(e,t,V,j,a,s,r,i,!1),h)B?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Us(t,o,b,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=pi(t.props,k);G&&(t.target=G,Us(t,G,null,c,0))}else B&&Us(t,_,T,c,1);Ma(t,h)}},remove(e,t,o,{um:n,o:{remove:a}},s){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:d}=e,A=An(d),k=s||!A,f=rn.get(e);if(f&&(f.flags|=8,rn.delete(e)),p&&(a(c),a(u)),s&&a(l),!f&&(A||p)&&r&16)for(let w=0;w{e.isMounted=!0}),qt(()=>{e.isUnmounting=!0}),e}const no=[Function,Array],su={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:no,onEnter:no,onAfterEnter:no,onEnterCancelled:no,onBeforeLeave:no,onLeave:no,onAfterLeave:no,onLeaveCancelled:no,onBeforeAppear:no,onAppear:no,onAfterAppear:no,onAppearCancelled:no},ru=e=>{const t=e.subTree;return t.component?ru(t.component):t},Xh={name:"BaseTransition",props:su,setup(e,{slots:t}){const o=po(),n=Yh();return()=>{const a=t.default&&cu(t.default(),!0),s=a&&a.length?iu(a):o.subTree?xe():void 0;if(!s)return;const r=Ve(e),{mode:i}=r;if(n.isLeaving)return fi(s);const l=Vs(s);if(!l)return fi(s);let c=gi(l,r,n,o,p=>c=p);l.type!==Ft&&Ia(l,c);let u=o.subTree&&Vs(o.subTree);if(u&&u.type!==Ft&&!Cn(u,l)&&ru(o).type!==Ft){let p=gi(u,r,n,o);if(Ia(u,p),i==="out-in"&&l.type!==Ft)return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,o.job.flags&8||o.update(),delete p.afterLeave,u=void 0},fi(s);i==="in-out"&&l.type!==Ft?p.delayLeave=(d,A,k)=>{const f=lu(n,u);f[String(u.key)]=u,d[oo]=()=>{A(),d[oo]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{k(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function iu(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==Ft){t=o;break}}return t}const Zh=Xh;function lu(e,t){const{leavingVNodes:o}=e;let n=o.get(t.type);return n||(n=Object.create(null),o.set(t.type,n)),n}function gi(e,t,o,n,a){const{appear:s,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:p,onBeforeLeave:d,onLeave:A,onAfterLeave:k,onLeaveCancelled:f,onBeforeAppear:w,onAppear:y,onAfterAppear:h,onAppearCancelled:$}=t,x=String(e.key),E=lu(o,e),m=(_,T)=>{_&&eo(_,n,9,T)},b=(_,T)=>{const B=T[1];m(_,T),Ee(_)?_.every(V=>V.length<=1)&&B():_.length<=1&&B()},g={mode:r,persisted:i,beforeEnter(_){let T=l;if(!o.isMounted)if(s)T=w||l;else return;_[oo]&&_[oo](!0);const B=E[x];B&&Cn(e,B)&&B.el[oo]&&B.el[oo](),m(T,[_])},enter(_){if(E[x]===e)return;let T=c,B=u,V=p;if(!o.isMounted)if(s)T=y||c,B=h||u,V=$||p;else return;let j=!1;_[Fa]=C=>{j||(j=!0,C?m(V,[_]):m(B,[_]),g.delayedLeave&&g.delayedLeave(),_[Fa]=void 0)};const G=_[Fa].bind(null,!1);T?b(T,[_,G]):G()},leave(_,T){const B=String(e.key);if(_[Fa]&&_[Fa](!0),o.isUnmounting)return T();m(d,[_]);let V=!1;_[oo]=G=>{V||(V=!0,T(),G?m(f,[_]):m(k,[_]),_[oo]=void 0,E[B]===e&&delete E[B])};const j=_[oo].bind(null,!1);E[B]=e,A?b(A,[_,j]):j()},clone(_){const T=gi(_,t,o,n,a);return a&&a(T),T}};return g}function fi(e){if(Ba(e))return e=ln(e),e.children=null,e}function Vs(e){if(!Ba(e))return zs(e.type)&&e.children?iu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&De(o.default))return o.default()}}function Ia(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Ia(zs(o.type)&&Vs(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function cu(e,t=!1,o){let n=[],a=0;for(let s=0;s1)for(let s=0;sDa(f,t&&(Ee(t)?t[w]:t),o,n,a));return}if(Qn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Da(e,t,o,n.component.subTree);return}const s=n.shapeFlag&4?tr(n.component):n.el,r=a?null:s,{i,r:l}=e,c=t&&t.r,u=i.refs===at?i.refs={}:i.refs,p=i.setupState,d=Ve(p),A=p===at?hc:f=>uu(u,f)?!1:Je(d,f),k=(f,w)=>!(w&&uu(u,w));if(c!=null&&c!==l){if(pu(t),st(c))u[c]=null,A(c)&&(p[c]=null);else if(ut(c)){const f=t;k(c,f.k)&&(c.value=null),f.k&&(u[f.k]=null)}}if(De(l))Xn(l,i,12,[r,u]);else{const f=st(l),w=ut(l);if(f||w){const y=()=>{if(e.f){const h=f?A(l)?p[l]:u[l]:k()||!e.k?l.value:u[e.k];if(a)Ee(h)&&Hr(h,s);else if(Ee(h))h.includes(s)||h.push(s);else if(f)u[l]=[s],A(l)&&(p[l]=u[l]);else{const $=[s];k(l,e.k)&&(l.value=$),e.k&&(u[e.k]=$)}}else f?(u[l]=r,A(l)&&(p[l]=r)):w&&(k(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const h=()=>{y(),Ks.delete(e)};h.id=-1,Ks.set(e,h),Bt(h,o)}else pu(e),y()}}}function pu(e){const t=Ks.get(e);t&&(t.flags|=8,Ks.delete(e))}const du=e=>e.nodeType===8;Cs().requestIdleCallback,Cs().cancelIdleCallback;function Jh(e,t){if(du(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(du(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const Qn=e=>!!e.type.__asyncLoader;function Qh(e){De(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:s,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,p=0;const d=()=>(p++,c=null,A()),A=()=>{let k;return c||(k=c=t().catch(f=>{if(f=f instanceof Error?f:new Error(String(f)),l)return new Promise((w,y)=>{l(f,()=>w(d()),()=>y(f),p+1)});throw f}).then(f=>k!==c&&c?c:(f&&(f.__esModule||f[Symbol.toStringTag]==="Module")&&(f=f.default),u=f,f)))};return Oa({name:"AsyncComponentWrapper",__asyncLoader:A,__asyncHydrate(k,f,w){const y=k.isConnected;let h=!1;(f.bu||(f.bu=[])).push(()=>h=!0);const $=()=>{h||!k.parentNode||y&&!k.isConnected||w()},x=s?()=>{const E=s($,m=>Jh(k,m));E&&(f.bum||(f.bum=[])).push(E)}:$;u?x():A().then(()=>!f.isUnmounted&&x())},get __asyncResolved(){return u},setup(){const k=Et;if(hi(k),u)return()=>Hs(u,k);const f=E=>{c=null,Na(E,k,13,!n)};if(i&&k.suspense||ea)return A().then(E=>()=>Hs(E,k)).catch(E=>(f(E),()=>n?et(n,{error:E}):null));const w=ge(!1),y=ge(),h=ge(!!a);let $,x;return Ga(()=>{$!=null&&clearTimeout($),x!=null&&clearTimeout(x)}),a&&(x=setTimeout(()=>{k.isUnmounted||(h.value=!1)},a)),r!=null&&($=setTimeout(()=>{if(!k.isUnmounted&&!w.value&&!y.value){const E=new Error(`Async component timed out after ${r}ms.`);f(E),y.value=E}},r)),A().then(()=>{k.isUnmounted||(w.value=!0,k.parent&&Ba(k.parent.vnode)&&k.parent.update())}).catch(E=>{if(k.isUnmounted){c=null;return}f(E),y.value=E}),()=>{if(w.value&&u)return Hs(u,k);if(y.value&&n)return et(n,{error:y.value});if(o&&!h.value)return Hs(o,k)}}})}function Hs(e,t){const{ref:o,props:n,children:a,ce:s}=t.vnode,r=et(e,n,a);return r.ref=o,r.ce=s,delete t.vnode.ce,r}const Ba=e=>e.type.__isKeepAlive;function em(e,t){gu(e,"a",t)}function tm(e,t){gu(e,"da",t)}function gu(e,t,o=Et){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(qs(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Ba(a.parent.vnode)&&om(n,t,o,a),a=a.parent}}function om(e,t,o,n){const a=qs(t,e,n,!0);Ga(()=>{Hr(n[t],a)},o)}function qs(e,t,o=Et,n=!1){if(o){const a=o[e]||(o[e]=[]),s=t.__weh||(t.__weh=(...r)=>{_o();const i=qa(o),l=eo(t,o,e,r);return i(),vo(),l});return n?a.unshift(s):a.push(s),s}}const Vo=e=>(t,o=Et)=>{(!ea||e==="sp")&&qs(e,(...n)=>t(...n),o)},fu=Vo("bm"),ao=Vo("m"),nm=Vo("bu"),am=Vo("u"),qt=Vo("bum"),Ga=Vo("um"),sm=Vo("sp"),rm=Vo("rtg"),im=Vo("rtc");function lm(e,t=Et){qs("ec",e,t)}const cm="components",hu=Symbol.for("v-ndc");function mu(e){return st(e)?um(cm,e,!1)||e:e||hu}function um(e,t,o=!0,n=!1){const a=Pt||Et;if(a){const s=a.type;{const i=Yu(s,!1);if(i&&(i===t||i===xt(t)||i===As(xt(t))))return s}const r=bu(a[e]||s[e],t)||bu(a.appContext[e],t);return!r&&n?s:r}}function bu(e,t){return e&&(e[t]||e[xt(t)]||e[As(xt(t))])}function Ct(e,t,o,n){let a;const s=o,r=Ee(e);if(r||st(e)){const i=r&&jo(e);let l=!1,c=!1;i&&(l=!Ht(e),c=zo(e),e=Ts(e)),a=new Array(e.length);for(let u=0,p=e.length;ut(i,l,void 0,s));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),Z(),We(ze,null,[et("slot",c,n&&n())],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const i=Ho.length;Z();let l;try{const c=r&&$u(r(o)),u=o.key||s||c&&c.key;l=We(ze,{key:(u&&!Kt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=Ho.length;u>i;u--)Li();throw c}finally{r&&r._c&&(r._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function $u(e){return e.some(t=>Ka(t)?!(t.type===Ft||t.type===ze&&!$u(t.children)):!0)?e:null}const mi=e=>e?Hu(e)?tr(e):mi(e.parent):null,ja=ft(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=>mi(e.parent),$root:e=>mi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wu(e),$forceUpdate:e=>e.f||(e.f=()=>{ci(e.update)}),$nextTick:e=>e.n||(e.n=Mt.bind(e.proxy)),$watch:e=>Vh.bind(e)}),bi=(e,t)=>e!==at&&!e.__isScriptSetup&&Je(e,t),pm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:s,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const d=r[t];if(d!==void 0)switch(d){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return s[t]}else{if(bi(n,t))return r[t]=1,n[t];if(a!==at&&Je(a,t))return r[t]=2,a[t];if(Je(s,t))return r[t]=3,s[t];if(o!==at&&Je(o,t))return r[t]=4,o[t];$i&&(r[t]=0)}}const c=ja[t];let u,p;if(c)return t==="$attrs"&&Rt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==at&&Je(o,t))return r[t]=4,o[t];if(p=l.config.globalProperties,Je(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:s}=e;return bi(a,t)?(a[t]=o,!0):n!==at&&Je(n,t)?(n[t]=o,!0):Je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:s,type:r}},i){let l;return!!(o[i]||e!==at&&i[0]!=="$"&&Je(e,i)||bi(t,i)||Je(s,i)||Je(n,i)||Je(ja,i)||Je(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Je(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function yu(e){return Ee(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let $i=!0;function dm(e){const t=wu(e),o=e.proxy,n=e.ctx;$i=!1,t.beforeCreate&&_u(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:d,beforeUpdate:A,updated:k,activated:f,deactivated:w,beforeDestroy:y,beforeUnmount:h,destroyed:$,unmounted:x,render:E,renderTracked:m,renderTriggered:b,errorCaptured:g,serverPrefetch:_,expose:T,inheritAttrs:B,components:V,directives:j,filters:G}=t;if(c&&gm(c,n,null),r)for(const M in r){const z=r[M];De(z)&&(n[M]=z.bind(o))}if(a){const M=a.call(o,o);Qe(M)&&(e.data=qn(M))}if($i=!0,s)for(const M in s){const z=s[M],K=De(z)?z.bind(o,o):De(z.get)?z.get.bind(o,o):$o,J=!De(z)&&De(z.set)?z.set.bind(o):$o,ce=ee({get:K,set:J});Object.defineProperty(n,M,{enumerable:!0,configurable:!0,get:()=>ce.value,set:H=>ce.value=H})}if(i)for(const M in i)vu(i[M],n,o,M);if(l){const M=De(l)?l.call(o):l;Reflect.ownKeys(M).forEach(z=>{vt(z,M[z])})}u&&_u(u,e,"c");function L(M,z){Ee(z)?z.forEach(K=>M(K.bind(o))):z&&M(z.bind(o))}if(L(fu,p),L(ao,d),L(nm,A),L(am,k),L(em,f),L(tm,w),L(lm,g),L(im,m),L(rm,b),L(qt,h),L(Ga,x),L(sm,_),Ee(T))if(T.length){const M=e.exposed||(e.exposed={});T.forEach(z=>{Object.defineProperty(M,z,{get:()=>o[z],set:K=>o[z]=K,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===$o&&(e.render=E),B!=null&&(e.inheritAttrs=B),V&&(e.components=V),j&&(e.directives=j),_&&hi(e)}function gm(e,t,o=$o){Ee(e)&&(e=yi(e));for(const n in e){const a=e[n];let s;Qe(a)?"default"in a?s=Te(a.from||n,a.default,!0):s=Te(a.from||n):s=Te(a),ut(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):t[n]=s}}function _u(e,t,o){eo(Ee(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function vu(e,t,o,n){let a=n.includes(".")?tu(o,n):()=>o[n];if(st(e)){const s=t[e];De(s)&&Me(a,s)}else if(De(e))Me(a,e.bind(o));else if(Qe(e))if(Ee(e))e.forEach(s=>vu(s,t,o,n));else{const s=De(e.handler)?e.handler.bind(o):t[e.handler];De(s)&&Me(a,s,e)}}function wu(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,i=s.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Ws(l,c,r,!0)),Ws(l,t,r)),Qe(t)&&s.set(t,l),l}function Ws(e,t,o,n=!1){const{mixins:a,extends:s}=t;s&&Ws(e,s,o,!0),a&&a.forEach(r=>Ws(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=fm[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const fm={data:ku,props:xu,emits:xu,methods:za,computed:za,beforeCreate:Dt,created:Dt,beforeMount:Dt,mounted:Dt,beforeUpdate:Dt,updated:Dt,beforeDestroy:Dt,beforeUnmount:Dt,destroyed:Dt,unmounted:Dt,activated:Dt,deactivated:Dt,errorCaptured:Dt,serverPrefetch:Dt,components:za,directives:za,watch:mm,provide:ku,inject:hm};function ku(e,t){return t?e?function(){return ft(De(e)?e.call(this,this):e,De(t)?t.call(this,this):t)}:t:e}function hm(e,t){return za(yi(e),yi(t))}function yi(e){if(Ee(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function _m(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||at;let a=o;const s=t.startsWith("update:"),r=s&&ym(n,t.slice(7));r&&(r.trim&&(a=o.map(u=>st(u)?u.trim():u)),r.number&&(a=a.map(Ps)));let i,l=n[i=qr(t)]||n[i=qr(xt(t))];!l&&s&&(l=n[i=qr(Qt(t))]),l&&eo(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,eo(c,e,6,a)}}const vm=new WeakMap;function Au(e,t,o=!1){const n=o?vm:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const s=e.emits;let r={},i=!1;if(!De(e)){const l=c=>{const u=Au(c,t,!0);u&&(i=!0,ft(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(Qe(e)&&n.set(e,null),null):(Ee(s)?s.forEach(l=>r[l]=null):ft(r,s),Qe(e)&&n.set(e,r),r)}function Ys(e,t){return!e||!vs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Je(e,t[0].toLowerCase()+t.slice(1))||Je(e,Qt(t))||Je(e,t))}function SE(){}function Su(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[s],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:p,data:d,setupState:A,ctx:k,inheritAttrs:f}=e,w=js(e);let y,h;try{if(o.shapeFlag&4){const x=a||n,E=x;y=xo(c.call(E,x,u,p,A,d,k)),h=i}else{const x=t;y=xo(x.length>1?x(p,{attrs:i,slots:r,emit:l}):x(p,null)),h=t.props?i:wm(i)}}catch(x){Ho.length=0,Na(x,e,1),y=et(Ft)}let $=y;if(h&&f!==!1){const x=Object.keys(h),{shapeFlag:E}=$;x.length&&E&7&&(s&&x.some(ws)&&(h=km(h,s)),$=ln($,h,!1,!0))}if(o.dirs&&($=ln($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(o.dirs):o.dirs),o.transition){const x=zs($.type)&&Vs($)||$;Ia(x,o.transition)}return y=$,js(w),y}const wm=e=>{let t;for(const o in e)(o==="class"||o==="style"||vs(o))&&((t||(t={}))[o]=e[o]);return t},km=(e,t)=>{const o={};for(const n in e)(!ws(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function xm(e,t,o){const{props:n,children:a,component:s}=e,{props:r,children:i,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Pu(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(Eu),Nu=e=>Object.getPrototypeOf(e)===Eu;function Am(e,t,o,n=!1){const a={},s=Tu();e.propsDefaults=Object.create(null),Ru(e,t,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);o?e.props=n?a:kh(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function Sm(e,t,o,n){const{props:a,attrs:s,vnode:{patchFlag:r}}=e,i=Ve(a),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[d,A]=Mu(p,t,!0);ft(r,d),A&&i.push(...A)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Qe(e)&&n.set(e,Kn),Kn;if(Ee(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",wi=e=>Ee(e)?e.map(xo):[xo(e)],Cm=(e,t,o)=>{if(t._n)return t;const n=Ut((...a)=>wi(t(...a)),o);return n._c=!1,n},Iu=(e,t,o)=>{const n=e._ctx;for(const a in e){if(vi(a))continue;const s=e[a];if(De(s))t[a]=Cm(a,s,n);else if(s!=null){const r=wi(s);t[a]=()=>r}}},Ou=(e,t)=>{const o=wi(t);e.slots.default=()=>o},Du=(e,t,o)=>{for(const n in t)(o||!vi(n))&&(e[n]=t[n])},Em=(e,t,o)=>{const n=e.slots=Tu();if(e.vnode.shapeFlag&32){const a=t._;a?(Du(n,t,o),o&&yc(n,"_",a,!0)):Iu(t,n)}else t&&Ou(e,t)},Tm=(e,t,o)=>{const{vnode:n,slots:a}=e;let s=!0,r=at;if(n.shapeFlag&32){const i=t._;i?o&&i===1?s=!1:Du(a,t,o):(s=!t.$stable,Iu(t,a)),r=t}else t&&(Ou(e,t),r={default:1});if(s)for(const i in a)!vi(i)&&r[i]==null&&delete a[i]},Bt=Im;function Nm(e){return Rm(e)}function Rm(e,t){const o=Cs();o.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:d,setScopeId:A=$o,insertStaticContent:k}=e,f=(P,O,I,X=null,Q=null,U=null,de=void 0,ne=null,v=!!O.dynamicChildren)=>{if(P===O)return;P&&!Cn(P,O)&&(X=ye(P),H(P,Q,U,!0),P=null),O.patchFlag===-2&&(v=!1,O.dynamicChildren=null);const{type:S,ref:D,shapeFlag:te}=O;switch(S){case Ua:w(P,O,I,X);break;case Ft:y(P,O,I,X);break;case Xs:P==null&&h(O,I,X,de);break;case ze:V(P,O,I,X,Q,U,de,ne,v);break;default:te&1?E(P,O,I,X,Q,U,de,ne,v):te&6?j(P,O,I,X,Q,U,de,ne,v):(te&64||te&128)&&S.process(P,O,I,X,Q,U,de,ne,v,pe)}D!=null&&Q?Da(D,P&&P.ref,U,O||P,!O):D==null&&P&&P.ref!=null&&Da(P.ref,null,U,P,!0)},w=(P,O,I,X)=>{if(P==null)n(O.el=i(O.children),I,X);else{const Q=O.el=P.el;O.children!==P.children&&c(Q,O.children)}},y=(P,O,I,X)=>{P==null?n(O.el=l(O.children||""),I,X):O.el=P.el},h=(P,O,I,X)=>{[P.el,P.anchor]=k(P.children,O,I,X,P.el,P.anchor)},$=({el:P,anchor:O},I,X)=>{let Q;for(;P&&P!==O;)Q=d(P),n(P,I,X),P=Q;n(O,I,X)},x=({el:P,anchor:O})=>{let I;for(;P&&P!==O;)I=d(P),a(P),P=I;a(O)},E=(P,O,I,X,Q,U,de,ne,v)=>{if(O.type==="svg"?de="svg":O.type==="math"&&(de="mathml"),P==null)m(O,I,X,Q,U,de,ne,v);else{const S=P.el&&P.el._isVueCE?P.el:null;try{S&&S._beginPatch(),_(P,O,Q,U,de,ne,v)}finally{S&&S._endPatch()}}},m=(P,O,I,X,Q,U,de,ne)=>{let v,S;const{props:D,shapeFlag:te,transition:me,dirs:le}=P;if(v=P.el=r(P.type,U,D&&D.is,D),te&8?u(v,P.children):te&16&&g(P.children,v,null,X,Q,ki(P,U),de,ne),le&&Ln(P,null,X,"created"),b(v,P,P.scopeId,de,X),D){for(const ie in D)ie!=="value"&&!xa(ie)&&s(v,ie,null,D[ie],U,X);"value"in D&&s(v,"value",null,D.value,U),(S=D.onVnodeBeforeMount)&&Lo(S,X,P)}le&&Ln(P,null,X,"beforeMount");const Y=Mm(Q,me);Y&&me.beforeEnter(v),n(v,O,I),((S=D&&D.onVnodeMounted)||Y||le)&&Bt(()=>{try{S&&Lo(S,X,P),Y&&me.enter(v),le&&Ln(P,null,X,"mounted")}finally{}},Q)},b=(P,O,I,X,Q)=>{if(I&&A(P,I),X)for(let U=0;U{for(let S=v;S{const ne=O.el=P.el;let{patchFlag:v,dynamicChildren:S,dirs:D}=O;v|=P.patchFlag&16;const te=P.props||at,me=O.props||at;let le;if(I&&Pn(I,!1),(le=me.onVnodeBeforeUpdate)&&Lo(le,I,O,P),D&&Ln(O,P,I,"beforeUpdate"),I&&Pn(I,!0),S&&(!P.dynamicChildren||P.dynamicChildren.length!==S.length)&&(v=0,de=!1,S=null),(te.innerHTML&&me.innerHTML==null||te.textContent&&me.textContent==null)&&u(ne,""),S?T(P.dynamicChildren,S,ne,I,X,ki(O,Q),U):de||z(P,O,ne,null,I,X,ki(O,Q),U,!1),v>0){if(v&16)B(ne,te,me,I,Q);else if(v&2&&te.class!==me.class&&s(ne,"class",null,me.class,Q),v&4&&s(ne,"style",te.style,me.style,Q),v&8){const Y=O.dynamicProps;for(let ie=0;ie{le&&Lo(le,I,O,P),D&&Ln(O,P,I,"updated")},X)},T=(P,O,I,X,Q,U,de)=>{for(let ne=0;ne{if(O!==I){if(O!==at)for(const U in O)!xa(U)&&!(U in I)&&s(P,U,O[U],null,Q,X);for(const U in I){if(xa(U))continue;const de=I[U],ne=O[U];de!==ne&&U!=="value"&&s(P,U,ne,de,Q,X)}"value"in I&&s(P,"value",O.value,I.value,Q)}},V=(P,O,I,X,Q,U,de,ne,v)=>{const S=O.el=P?P.el:i(""),D=O.anchor=P?P.anchor:i("");let{patchFlag:te,dynamicChildren:me,slotScopeIds:le}=O;le&&(ne=ne?ne.concat(le):le),P==null?(n(S,I,X),n(D,I,X),g(O.children||[],I,D,Q,U,de,ne,v)):te>0&&te&64&&me&&P.dynamicChildren&&P.dynamicChildren.length===me.length?(T(P.dynamicChildren,me,I,Q,U,de,ne),(O.key!=null||Q&&O===Q.subTree)&&xi(P,O,!0)):z(P,O,I,D,Q,U,de,ne,v)},j=(P,O,I,X,Q,U,de,ne,v)=>{O.slotScopeIds=ne,P==null?O.shapeFlag&512?Q.ctx.activate(O,I,X,de,v):G(O,I,X,Q,U,de,v):C(P,O,v)},G=(P,O,I,X,Q,U,de)=>{const ne=P.component=Um(P,X,Q);if(Ba(P)&&(ne.ctx.renderer=pe),Vm(ne,!1,de),ne.asyncDep){if(Q&&Q.registerDep(ne,L,de),!P.el){const v=ne.subTree=et(Ft);y(null,v,O,I),P.placeholder=v.el}}else L(ne,P,O,I,Q,U,de)},C=(P,O,I)=>{const X=O.component=P.component;if(xm(P,O,I))if(X.asyncDep&&!X.asyncResolved){M(X,O,I);return}else X.next=O,X.update();else O.el=P.el,X.vnode=O},L=(P,O,I,X,Q,U,de)=>{const ne=()=>{if(P.isMounted){let{next:te,bu:me,u:le,parent:Y,vnode:ie}=P;{const tt=Bu(P);if(tt){te&&(te.el=ie.el,M(P,te,de)),tt.asyncDep.then(()=>{Bt(()=>{P.isUnmounted||S()},Q)});return}}let _e=te,Ne;Pn(P,!1),te?(te.el=ie.el,M(P,te,de)):te=ie,me&&Ss(me),(Ne=te.props&&te.props.onVnodeBeforeUpdate)&&Lo(Ne,Y,te,ie),Pn(P,!0);const He=Su(P),lt=P.subTree;P.subTree=He,f(lt,He,p(lt.el),ye(lt),P,Q,U),te.el=He.el,_e===null&&Lm(P,He.el),le&&Bt(le,Q),(Ne=te.props&&te.props.onVnodeUpdated)&&Bt(()=>Lo(Ne,Y,te,ie),Q)}else{let te;const{el:me,props:le}=O,{bm:Y,m:ie,parent:_e,root:Ne,type:He}=P,lt=Qn(O);Pn(P,!1),Y&&Ss(Y),!lt&&(te=le&&le.onVnodeBeforeMount)&&Lo(te,_e,O),Pn(P,!0);{Ne.ce&&Ne.ce._hasShadowRoot()&&Ne.ce._injectChildStyle(He,P.parent?P.parent.type:void 0);const tt=P.subTree=Su(P);f(null,tt,I,X,P,Q,U),O.el=tt.el}if(ie&&Bt(ie,Q),!lt&&(te=le&&le.onVnodeMounted)){const tt=O;Bt(()=>Lo(te,_e,tt),Q)}(O.shapeFlag&256||_e&&Qn(_e.vnode)&&_e.vnode.shapeFlag&256)&&P.a&&Bt(P.a,Q),P.isMounted=!0,O=I=X=null}};P.scope.on();const v=P.effect=new Sc(ne);P.scope.off();const S=P.update=v.run.bind(v),D=P.job=v.runIfDirty.bind(v);D.i=P,D.id=P.uid,v.scheduler=()=>ci(D),Pn(P,!0),S()},M=(P,O,I)=>{O.component=P;const X=P.vnode.props;P.vnode=O,P.next=null,Sm(P,O.props,X,I),Tm(P,O.children,I),_o(),Zc(P),vo()},z=(P,O,I,X,Q,U,de,ne,v=!1)=>{const S=P&&P.children,D=P?P.shapeFlag:0,te=O.children,{patchFlag:me,shapeFlag:le}=O;if(me>0){if(me&128){J(S,te,I,X,Q,U,de,ne,v);return}else if(me&256){K(S,te,I,X,Q,U,de,ne,v);return}}le&8?(D&16&&Ae(S,Q,U),te!==S&&u(I,te)):D&16?le&16?J(S,te,I,X,Q,U,de,ne,v):Ae(S,Q,U,!0):(D&8&&u(I,""),le&16&&g(te,I,X,Q,U,de,ne,v))},K=(P,O,I,X,Q,U,de,ne,v)=>{P=P||Kn,O=O||Kn;const S=P.length,D=O.length,te=Math.min(S,D);let me;for(me=0;meD?Ae(P,Q,U,!0,!1,te):g(O,I,X,Q,U,de,ne,v,te)},J=(P,O,I,X,Q,U,de,ne,v)=>{let S=0;const D=O.length;let te=P.length-1,me=D-1;for(;S<=te&&S<=me;){const le=P[S],Y=O[S]=v?qo(O[S]):xo(O[S]);if(Cn(le,Y))f(le,Y,I,null,Q,U,de,ne,v);else break;S++}for(;S<=te&&S<=me;){const le=P[te],Y=O[me]=v?qo(O[me]):xo(O[me]);if(Cn(le,Y))f(le,Y,I,null,Q,U,de,ne,v);else break;te--,me--}if(S>te){if(S<=me){const le=me+1,Y=leme)for(;S<=te;)H(P[S],Q,U,!0),S++;else{const le=S,Y=S,ie=new Map;for(S=Y;S<=me;S++){const we=O[S]=v?qo(O[S]):xo(O[S]);we.key!=null&&ie.set(we.key,S)}let _e,Ne=0;const He=me-Y+1;let lt=!1,tt=0;const q=new Array(He);for(S=0;S=He){H(we,Q,U,!0);continue}let Pe;if(we.key!=null)Pe=ie.get(we.key);else for(_e=Y;_e<=me;_e++)if(q[_e-Y]===0&&Cn(we,O[_e])){Pe=_e;break}Pe===void 0?H(we,Q,U,!0):(q[Pe-Y]=S+1,Pe>=tt?tt=Pe:lt=!0,f(we,O[Pe],I,null,Q,U,de,ne,v),Ne++)}const ae=lt?Fm(q):Kn;for(_e=ae.length-1,S=He-1;S>=0;S--){const we=Y+S,Pe=O[we],Fe=O[we+1],gt=we+1{const{el:U,type:de,transition:ne,children:v,shapeFlag:S}=P;if(S&6){ce(P.component.subTree,O,I,X);return}if(S&128){P.suspense.move(O,I,X);return}if(S&64){de.move(P,O,I,pe);return}if(de===ze){n(U,O,I);for(let te=0;tene.enter(U),Q));else{const{leave:te,delayLeave:me,afterLeave:le}=ne,Y=()=>{P.ctx.isUnmounted?a(U):n(U,O,I)},ie=()=>{const _e=U._isLeaving||!!U[oo];U._isLeaving&&U[oo](!0),ne.persisted&&!_e?Y():te(U,()=>{Y(),le&&le()})};me?me(U,Y,ie):ie()}else n(U,O,I)},H=(P,O,I,X=!1,Q=!1)=>{const{type:U,props:de,ref:ne,children:v,dynamicChildren:S,shapeFlag:D,patchFlag:te,dirs:me,cacheIndex:le,memo:Y}=P;if(te===-2&&(Q=!1),ne!=null&&(_o(),Da(ne,null,I,P,!0),vo()),le!=null&&(O.renderCache[le]=void 0),D&256){O.ctx.deactivate(P);return}const ie=D&1&&me,_e=!Qn(P);let Ne;if(_e&&(Ne=de&&de.onVnodeBeforeUnmount)&&Lo(Ne,O,P),D&6)he(P.component,I,X);else{if(D&128){P.suspense.unmount(I,X);return}ie&&Ln(P,null,O,"beforeUnmount"),D&64?P.type.remove(P,O,I,pe,X):S&&!S.hasOnce&&(U!==ze||te>0&&te&64)?Ae(S,O,I,!1,!0):(U===ze&&te&384||!Q&&D&16)&&Ae(v,O,I),X&&be(P)}const He=Y!=null&&le==null;(_e&&(Ne=de&&de.onVnodeUnmounted)||ie||He)&&Bt(()=>{Ne&&Lo(Ne,O,P),ie&&Ln(P,null,O,"unmounted"),He&&(P.el=null)},I)},be=P=>{const{type:O,el:I,anchor:X,transition:Q}=P;if(O===ze){ve(I,X);return}if(O===Xs){x(P);return}const U=()=>{a(I),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(P.shapeFlag&1&&Q&&!Q.persisted){const{leave:de,delayLeave:ne}=Q,v=()=>de(I,U);ne?ne(P.el,U,v):v()}else U()},ve=(P,O)=>{let I;for(;P!==O;)I=d(P),a(P),P=I;a(O)},he=(P,O,I)=>{const{bum:X,scope:Q,job:U,subTree:de,um:ne,m:v,a:S}=P;Gu(v),Gu(S),X&&Ss(X),Q.stop(),U&&(U.flags|=8,H(de,P,O,I)),ne&&Bt(ne,O),Bt(()=>{P.isUnmounted=!0},O)},Ae=(P,O,I,X=!1,Q=!1,U=0)=>{for(let de=U;de{if(P.shapeFlag&6)return ye(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const O=d(P.anchor||P.el),I=O&&O[ou];return I?d(I):O};let oe=!1;const fe=(P,O,I)=>{let X;P==null?O._vnode&&(H(O._vnode,null,null,!0),X=O._vnode.component):f(O._vnode||null,P,O,null,null,null,I),O._vnode=P,oe||(oe=!0,Zc(X),Jc(),oe=!1)},pe={p:f,um:H,m:ce,r:be,mt:G,mc:g,pc:z,pbc:T,n:ye,o:e};return{render:fe,hydrate:void 0,createApp:$m(fe)}}function ki({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function Pn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xi(e,t,o=!1){const n=e.children,a=t.children;if(Ee(n)&&Ee(a))for(let s=0;s>1,e[o[i]]0&&(t[n]=o[s-1]),o[s]=n)}}for(s=o.length,r=o[s-1];s-- >0;)o[s]=r,r=t[r];return o}function Bu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bu(t)}function Gu(e){if(e)for(let t=0;te.__isSuspense;function Im(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):Bh(e)}const ze=Symbol.for("v-fgt"),Ua=Symbol.for("v-txt"),Ft=Symbol.for("v-cmt"),Xs=Symbol.for("v-stc"),Ho=[];let Wt=null;function Z(e=!1){Ho.push(Wt=e?null:[])}function Li(){Ho.pop(),Wt=Ho[Ho.length-1]||null}let Va=1;function Zs(e,t=!1){Va+=e,e<0&&Wt&&t&&(Wt.hasOnce=!0)}function Uu(e){return e.dynamicChildren=Va>0?Wt||Kn:null,Li(),Va>0&&Wt&&Wt.push(e),e}function re(e,t,o,n,a,s){return Uu(R(e,t,o,n,a,s,!0))}function We(e,t,o,n,a){return Uu(et(e,t,o,n,a,!0))}function Ka(e){return e?e.__v_isVNode===!0:!1}function Cn(e,t){return e.type===t.type&&e.key===t.key}const Vu=({key:e})=>e??null,Js=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?st(e)||ut(e)||De(e)?{i:Pt,r:e,k:t,f:!!o}:e:null);function R(e,t=null,o=null,n=0,a=null,s=e===ze?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vu(t),ref:t&&Js(t),scopeId:eu,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Pt};return i?(Qs(l,o),s&128&&e.normalize(l)):o&&(l.shapeFlag|=st(o)?8:16),Va>0&&!r&&Wt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Wt.push(l),l}const et=Om;function Om(e,t=null,o=null,n=0,a=null,s=!1){if((!e||e===hu)&&(e=Ft),Ka(e)){const i=ln(e,t,!0);return o&&Qs(i,o),Va>0&&!s&&Wt&&(i.shapeFlag&6?Wt[Wt.indexOf(e)]=i:Wt.push(i)),i.patchFlag=-2,i}if(Xm(e)&&(e=e.__vccOpts),t){t=Dm(t);let{class:i,style:l}=t;i&&!st(i)&&(t.class=Re(i)),Qe(l)&&(Is(l)&&!Ee(l)&&(l=ft({},l)),t.style=Ye(l))}const r=st(e)?1:zu(e)?128:zs(e)?64:Qe(e)?4:De(e)?2:0;return R(e,t,o,n,a,r,s,!0)}function Dm(e){return e?Is(e)||Nu(e)?ft({},e):e:null}function ln(e,t,o=!1,n=!1){const{props:a,ref:s,patchFlag:r,children:i,transition:l}=e,c=t?Gm(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Vu(c),ref:t&&t.ref?o&&s?Ee(s)?s.concat(Js(t)):[s,Js(t)]:Js(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Ia(u,l.clone(u)),u}function bt(e=" ",t=0){return et(Ua,null,e,t)}function Bm(e,t){const o=et(Xs,null,e);return o.staticCount=t,o}function xe(e="",t=!1){return t?(Z(),We(Ft,null,e)):et(Ft,null,e)}function xo(e){return e==null||typeof e=="boolean"?et(Ft):Ee(e)?et(ze,null,e.slice()):Ka(e)?qo(e):et(Ua,null,String(e))}function qo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ln(e)}function Qs(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ee(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Qs(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Nu(t)?t._ctx=Pt:a===3&&Pt&&(Pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(De(t)){if(n&65){Qs(e,{default:t});return}t={default:t,_ctx:Pt},o=32}else t=String(t),n&64?(o=16,t=[bt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Gm(...e){const t={};for(let o=0;oEt||Pt;let er,Ha;{const e=Cs(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),s=>{a.length>1?a.forEach(r=>r(s)):a[0](s)}};er=t("__VUE_INSTANCE_SETTERS__",o=>Et=o),Ha=t("__VUE_SSR_SETTERS__",o=>ea=o)}const qa=e=>{const t=Et;return er(e),e.scope.on(),()=>{e.scope.off(),er(t)}},Ku=()=>{Et&&Et.scope.off(),er(null)};function Hu(e){return e.vnode.shapeFlag&4}let ea=!1;function Vm(e,t=!1,o=!1){t&&Ha(t);const{props:n,children:a}=e.vnode,s=Hu(e);Am(e,n,s,t),Em(e,a,o||t);const r=s?Km(e,t):void 0;return t&&Ha(!1),r}function Km(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pm);const{setup:n}=o;if(n){_o();const a=e.setupContext=n.length>1?qm(e):null,s=qa(e),r=Xn(n,e,0,[e.props,a]),i=bc(r);if(vo(),s(),(i||e.sp)&&!Qn(e)&&hi(e),i){if(r.then(Ku,Ku),t)return r.then(l=>{Ha(!0);try{qu(e,l,t)}finally{Ha(!1)}}).catch(l=>{Na(l,e,0)});e.asyncDep=r}else qu(e,r)}else Wu(e)}function qu(e,t,o){De(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Qe(t)&&(e.setupState=Hc(t)),Wu(e)}function Wu(e,t,o){const n=e.type;e.render||(e.render=n.render||$o);{const a=qa(e);_o();try{dm(e)}finally{vo(),a()}}}const Hm={get(e,t){return Rt(e,"get",""),e[t]}};function qm(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Hm),slots:e.slots,emit:e.emit,expose:t}}function tr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Hc(Wn(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in ja)return ja[o](e)},has(t,o){return o in t||o in ja}})):e.proxy}const Wm=/(?:^|[-_])\w/g,Ym=e=>e.replace(Wm,t=>t.toUpperCase()).replace(/[-_]/g,"");function Yu(e,t=!0){return De(e)?e.displayName||e.name:e.name||t&&e.__name}function Xu(e,t,o=!1){let n=Yu(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=s=>{for(const r in s)if(s[r]===t)return r};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Ym(n):o?"App":"Anonymous"}function Xm(e){return De(e)&&"__vccOpts"in e}const ee=(e,t)=>Eh(e,t,ea);function Ai(e,t,o){try{Zs(-1);const n=arguments.length;return n===2?Qe(t)&&!Ee(t)?Ka(t)?et(e,null,[t]):et(e,t):et(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Ka(o)&&(o=[o]),et(e,t,o))}finally{Zs(1)}}const Zm="3.5.42";/** +`],...Fh(o))}),t}function Fh({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Xu(e.component,e.type,n)}`,s=">"+o;return e.props?[a,...Ih(e.props),s]:[a+s]}function Ih(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Wc(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Wc(e,t,o){return st(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ut(t)?(t=Wc(e,Ve(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):De(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ve(t),o?t:[`${e}=`,t])}function Xn(e,t,o,n){try{return n?e(...n):e()}catch(a){Na(a,t,o)}}function eo(e,t,o,n){if(De(e)){const a=Xn(e,t,o,n);return a&&bc(a)&&a.catch(s=>{Na(s,t,o)}),a}if(Ee(e)){const a=[];for(let s=0;s>>1,a=Ot[n],s=Ra(a);s=Ra(o)?Ot.push(e):Ot.splice(Dh(t),0,e),e.flags|=1,Xc()}}function Xc(){Gs||(Gs=Yc.then(Qc))}function Bh(e){if(!Ee(e))sn&&e.id===-1?sn.splice(Jn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1);else for(let t=0;tRa(o)-Ra(n));if(Zn.length=0,sn){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Qc(e){try{for(ko=0;ko{n._d&&Zs(-1);const s=js(t),r=Ho.length;let i;try{i=e(...a)}finally{for(let l=Ho.length;l>r;l--)Li();js(s),n._d&&Zs(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function to(e,t){if(Pt===null)return e;const o=tr(Pt),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&De(t)?t.call(n&&n.proxy):t}}function Gh(){return!!(po()||Sn)}const jh=Symbol.for("v-scx"),zh=()=>Te(jh);function Uh(e,t){return ui(e,null,t)}function Me(e,t,o){return ui(e,t,o)}function ui(e,t,o=at){const{immediate:n,deep:a,flush:s,once:r}=o,i=ft({},o),l=t&&n||!t&&s!=="post";let c;if(ea){if(s==="sync"){const A=zh();c=A.__watcherHandles||(A.__watcherHandles=[])}else if(!l){const A=()=>{};return A.stop=$o,A.resume=$o,A.pause=$o,A}}const u=Et;i.call=(A,k,f)=>eo(A,u,k,f);let p=!1;s==="post"?i.scheduler=A=>{Bt(A,u&&u.suspense)}:s!=="sync"&&(p=!0,i.scheduler=(A,k)=>{k?A():ci(A)}),i.augmentJob=A=>{t&&(A.flags|=4),p&&(A.flags|=2,u&&(A.id=u.uid,A.i=u))};const d=Nh(e,t,i);return ea&&(c?c.push(d):l&&d()),d}function Vh(e,t,o){const n=this.proxy,a=st(e)?e.includes(".")?tu(n,e):()=>n[e]:e.bind(n,n);let s;De(t)?s=t:(s=t.handler,o=t);const r=qa(this),i=ui(a,s.bind(n),o);return r(),i}function tu(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,An=e=>e&&(e.disabled||e.disabled===""),Kh=e=>e&&(e.defer||e.defer===""),nu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,au=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pi=(e,t)=>{const o=e&&e.to;return st(o)?t?t(o):null:o},Hh={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,s,r,i,l,c){const{mc:u,pc:p,pbc:d,o:{insert:A,querySelector:k,createText:f,createComment:w,parentNode:y}}=c,h=An(t.props);let{dynamicChildren:$}=t;const x=(b,g,_)=>{b.shapeFlag&16&&u(b.children,g,_,a,s,r,i,l)},E=(b=t)=>{const g=An(b.props),_=b.target=pi(b.props,k),T=di(_,b,f,A);_&&(r!=="svg"&&nu(_)?r="svg":r!=="mathml"&&au(_)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(_),g||(x(b,_,T),Ma(b,!1)))},m=b=>{const g=()=>{if(rn.get(b)===g){if(rn.delete(b),An(b.props)){const _=y(b.el)||o;x(b,_,b.anchor),Ma(b,!0)}E(b)}};rn.set(b,g),Bt(g,s)};if(e==null){const b=t.el=f(""),g=t.anchor=f("");if(A(b,o,n),A(g,o,n),Kh(t.props)||s&&s.pendingBranch){m(t);return}h&&(x(t,o,g),Ma(t,!0)),E()}else{t.el=e.el;const b=t.anchor=e.anchor,g=rn.get(e);if(g){g.flags|=8,rn.delete(e),m(t);return}t.targetStart=e.targetStart;const _=t.target=e.target,T=t.targetAnchor=e.targetAnchor,B=An(e.props),V=B?o:_,j=B?b:T;if(r==="svg"||nu(_)?r="svg":(r==="mathml"||au(_))&&(r="mathml"),$?(d(e.dynamicChildren,$,V,a,s,r,i),xi(e,t,!0)):l||p(e,t,V,j,a,s,r,i,!1),h)B?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Us(t,o,b,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=pi(t.props,k);G&&(t.target=G,Us(t,G,null,c,0))}else B&&Us(t,_,T,c,1);Ma(t,h)}},remove(e,t,o,{um:n,o:{remove:a}},s){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:d}=e,A=An(d),k=s||!A,f=rn.get(e);if(f&&(f.flags|=8,rn.delete(e)),p&&(a(c),a(u)),s&&a(l),!f&&(A||p)&&r&16)for(let w=0;w{e.isMounted=!0}),qt(()=>{e.isUnmounting=!0}),e}const no=[Function,Array],su={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:no,onEnter:no,onAfterEnter:no,onEnterCancelled:no,onBeforeLeave:no,onLeave:no,onAfterLeave:no,onLeaveCancelled:no,onBeforeAppear:no,onAppear:no,onAfterAppear:no,onAppearCancelled:no},ru=e=>{const t=e.subTree;return t.component?ru(t.component):t},Xh={name:"BaseTransition",props:su,setup(e,{slots:t}){const o=po(),n=Yh();return()=>{const a=t.default&&cu(t.default(),!0),s=a&&a.length?iu(a):o.subTree?xe():void 0;if(!s)return;const r=Ve(e),{mode:i}=r;if(n.isLeaving)return fi(s);const l=Vs(s);if(!l)return fi(s);let c=gi(l,r,n,o,p=>c=p);l.type!==Ft&&Ia(l,c);let u=o.subTree&&Vs(o.subTree);if(u&&u.type!==Ft&&!Cn(u,l)&&ru(o).type!==Ft){let p=gi(u,r,n,o);if(Ia(u,p),i==="out-in"&&l.type!==Ft)return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,o.job.flags&8||o.update(),delete p.afterLeave,u=void 0},fi(s);i==="in-out"&&l.type!==Ft?p.delayLeave=(d,A,k)=>{const f=lu(n,u);f[String(u.key)]=u,d[oo]=()=>{A(),d[oo]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{k(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function iu(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==Ft){t=o;break}}return t}const Zh=Xh;function lu(e,t){const{leavingVNodes:o}=e;let n=o.get(t.type);return n||(n=Object.create(null),o.set(t.type,n)),n}function gi(e,t,o,n,a){const{appear:s,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:p,onBeforeLeave:d,onLeave:A,onAfterLeave:k,onLeaveCancelled:f,onBeforeAppear:w,onAppear:y,onAfterAppear:h,onAppearCancelled:$}=t,x=String(e.key),E=lu(o,e),m=(_,T)=>{_&&eo(_,n,9,T)},b=(_,T)=>{const B=T[1];m(_,T),Ee(_)?_.every(V=>V.length<=1)&&B():_.length<=1&&B()},g={mode:r,persisted:i,beforeEnter(_){let T=l;if(!o.isMounted)if(s)T=w||l;else return;_[oo]&&_[oo](!0);const B=E[x];B&&Cn(e,B)&&B.el[oo]&&B.el[oo](),m(T,[_])},enter(_){if(E[x]===e)return;let T=c,B=u,V=p;if(!o.isMounted)if(s)T=y||c,B=h||u,V=$||p;else return;let j=!1;_[Fa]=C=>{j||(j=!0,C?m(V,[_]):m(B,[_]),g.delayedLeave&&g.delayedLeave(),_[Fa]=void 0)};const G=_[Fa].bind(null,!1);T?b(T,[_,G]):G()},leave(_,T){const B=String(e.key);if(_[Fa]&&_[Fa](!0),o.isUnmounting)return T();m(d,[_]);let V=!1;_[oo]=G=>{V||(V=!0,T(),G?m(f,[_]):m(k,[_]),_[oo]=void 0,E[B]===e&&delete E[B])};const j=_[oo].bind(null,!1);E[B]=e,A?b(A,[_,j]):j()},clone(_){const T=gi(_,t,o,n,a);return a&&a(T),T}};return g}function fi(e){if(Ba(e))return e=ln(e),e.children=null,e}function Vs(e){if(!Ba(e))return zs(e.type)&&e.children?iu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&De(o.default))return o.default()}}function Ia(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Ia(zs(o.type)&&Vs(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function cu(e,t=!1,o){let n=[],a=0;for(let s=0;s1)for(let s=0;sDa(f,t&&(Ee(t)?t[w]:t),o,n,a));return}if(Qn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Da(e,t,o,n.component.subTree);return}const s=n.shapeFlag&4?tr(n.component):n.el,r=a?null:s,{i,r:l}=e,c=t&&t.r,u=i.refs===at?i.refs={}:i.refs,p=i.setupState,d=Ve(p),A=p===at?hc:f=>uu(u,f)?!1:Je(d,f),k=(f,w)=>!(w&&uu(u,w));if(c!=null&&c!==l){if(pu(t),st(c))u[c]=null,A(c)&&(p[c]=null);else if(ut(c)){const f=t;k(c,f.k)&&(c.value=null),f.k&&(u[f.k]=null)}}if(De(l))Xn(l,i,12,[r,u]);else{const f=st(l),w=ut(l);if(f||w){const y=()=>{if(e.f){const h=f?A(l)?p[l]:u[l]:k()||!e.k?l.value:u[e.k];if(a)Ee(h)&&Hr(h,s);else if(Ee(h))h.includes(s)||h.push(s);else if(f)u[l]=[s],A(l)&&(p[l]=u[l]);else{const $=[s];k(l,e.k)&&(l.value=$),e.k&&(u[e.k]=$)}}else f?(u[l]=r,A(l)&&(p[l]=r)):w&&(k(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const h=()=>{y(),Ks.delete(e)};h.id=-1,Ks.set(e,h),Bt(h,o)}else pu(e),y()}}}function pu(e){const t=Ks.get(e);t&&(t.flags|=8,Ks.delete(e))}const du=e=>e.nodeType===8;Cs().requestIdleCallback,Cs().cancelIdleCallback;function Jh(e,t){if(du(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(du(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const Qn=e=>!!e.type.__asyncLoader;function Qh(e){De(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:s,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,p=0;const d=()=>(p++,c=null,A()),A=()=>{let k;return c||(k=c=t().catch(f=>{if(f=f instanceof Error?f:new Error(String(f)),l)return new Promise((w,y)=>{l(f,()=>w(d()),()=>y(f),p+1)});throw f}).then(f=>k!==c&&c?c:(f&&(f.__esModule||f[Symbol.toStringTag]==="Module")&&(f=f.default),u=f,f)))};return Oa({name:"AsyncComponentWrapper",__asyncLoader:A,__asyncHydrate(k,f,w){const y=k.isConnected;let h=!1;(f.bu||(f.bu=[])).push(()=>h=!0);const $=()=>{h||!k.parentNode||y&&!k.isConnected||w()},x=s?()=>{const E=s($,m=>Jh(k,m));E&&(f.bum||(f.bum=[])).push(E)}:$;u?x():A().then(()=>!f.isUnmounted&&x())},get __asyncResolved(){return u},setup(){const k=Et;if(hi(k),u)return()=>Hs(u,k);const f=E=>{c=null,Na(E,k,13,!n)};if(i&&k.suspense||ea)return A().then(E=>()=>Hs(E,k)).catch(E=>(f(E),()=>n?et(n,{error:E}):null));const w=ge(!1),y=ge(),h=ge(!!a);let $,x;return Ga(()=>{$!=null&&clearTimeout($),x!=null&&clearTimeout(x)}),a&&(x=setTimeout(()=>{k.isUnmounted||(h.value=!1)},a)),r!=null&&($=setTimeout(()=>{if(!k.isUnmounted&&!w.value&&!y.value){const E=new Error(`Async component timed out after ${r}ms.`);f(E),y.value=E}},r)),A().then(()=>{k.isUnmounted||(w.value=!0,k.parent&&Ba(k.parent.vnode)&&k.parent.update())}).catch(E=>{if(k.isUnmounted){c=null;return}f(E),y.value=E}),()=>{if(w.value&&u)return Hs(u,k);if(y.value&&n)return et(n,{error:y.value});if(o&&!h.value)return Hs(o,k)}}})}function Hs(e,t){const{ref:o,props:n,children:a,ce:s}=t.vnode,r=et(e,n,a);return r.ref=o,r.ce=s,delete t.vnode.ce,r}const Ba=e=>e.type.__isKeepAlive;function em(e,t){gu(e,"a",t)}function tm(e,t){gu(e,"da",t)}function gu(e,t,o=Et){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(qs(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Ba(a.parent.vnode)&&om(n,t,o,a),a=a.parent}}function om(e,t,o,n){const a=qs(t,e,n,!0);Ga(()=>{Hr(n[t],a)},o)}function qs(e,t,o=Et,n=!1){if(o){const a=o[e]||(o[e]=[]),s=t.__weh||(t.__weh=(...r)=>{_o();const i=qa(o),l=eo(t,o,e,r);return i(),vo(),l});return n?a.unshift(s):a.push(s),s}}const Vo=e=>(t,o=Et)=>{(!ea||e==="sp")&&qs(e,(...n)=>t(...n),o)},fu=Vo("bm"),ao=Vo("m"),nm=Vo("bu"),am=Vo("u"),qt=Vo("bum"),Ga=Vo("um"),sm=Vo("sp"),rm=Vo("rtg"),im=Vo("rtc");function lm(e,t=Et){qs("ec",e,t)}const cm="components",hu=Symbol.for("v-ndc");function mu(e){return st(e)?um(cm,e,!1)||e:e||hu}function um(e,t,o=!0,n=!1){const a=Pt||Et;if(a){const s=a.type;{const i=Yu(s,!1);if(i&&(i===t||i===xt(t)||i===As(xt(t))))return s}const r=bu(a[e]||s[e],t)||bu(a.appContext[e],t);return!r&&n?s:r}}function bu(e,t){return e&&(e[t]||e[xt(t)]||e[As(xt(t))])}function Ct(e,t,o,n){let a;const s=o,r=Ee(e);if(r||st(e)){const i=r&&jo(e);let l=!1,c=!1;i&&(l=!Ht(e),c=zo(e),e=Ts(e)),a=new Array(e.length);for(let u=0,p=e.length;ut(i,l,void 0,s));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),Z(),We(ze,null,[et("slot",c,n&&n())],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const i=Ho.length;Z();let l;try{const c=r&&$u(r(o)),u=o.key||s||c&&c.key;l=We(ze,{key:(u&&!Kt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=Ho.length;u>i;u--)Li();throw c}finally{r&&r._c&&(r._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function $u(e){return e.some(t=>Ka(t)?!(t.type===Ft||t.type===ze&&!$u(t.children)):!0)?e:null}const mi=e=>e?Hu(e)?tr(e):mi(e.parent):null,ja=ft(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=>mi(e.parent),$root:e=>mi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wu(e),$forceUpdate:e=>e.f||(e.f=()=>{ci(e.update)}),$nextTick:e=>e.n||(e.n=Mt.bind(e.proxy)),$watch:e=>Vh.bind(e)}),bi=(e,t)=>e!==at&&!e.__isScriptSetup&&Je(e,t),pm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:s,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const d=r[t];if(d!==void 0)switch(d){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return s[t]}else{if(bi(n,t))return r[t]=1,n[t];if(a!==at&&Je(a,t))return r[t]=2,a[t];if(Je(s,t))return r[t]=3,s[t];if(o!==at&&Je(o,t))return r[t]=4,o[t];$i&&(r[t]=0)}}const c=ja[t];let u,p;if(c)return t==="$attrs"&&Rt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==at&&Je(o,t))return r[t]=4,o[t];if(p=l.config.globalProperties,Je(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:s}=e;return bi(a,t)?(a[t]=o,!0):n!==at&&Je(n,t)?(n[t]=o,!0):Je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:s,type:r}},i){let l;return!!(o[i]||e!==at&&i[0]!=="$"&&Je(e,i)||bi(t,i)||Je(s,i)||Je(n,i)||Je(ja,i)||Je(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Je(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function yu(e){return Ee(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let $i=!0;function dm(e){const t=wu(e),o=e.proxy,n=e.ctx;$i=!1,t.beforeCreate&&_u(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:d,beforeUpdate:A,updated:k,activated:f,deactivated:w,beforeDestroy:y,beforeUnmount:h,destroyed:$,unmounted:x,render:E,renderTracked:m,renderTriggered:b,errorCaptured:g,serverPrefetch:_,expose:T,inheritAttrs:B,components:V,directives:j,filters:G}=t;if(c&&gm(c,n,null),r)for(const M in r){const z=r[M];De(z)&&(n[M]=z.bind(o))}if(a){const M=a.call(o,o);Qe(M)&&(e.data=qn(M))}if($i=!0,s)for(const M in s){const z=s[M],K=De(z)?z.bind(o,o):De(z.get)?z.get.bind(o,o):$o,J=!De(z)&&De(z.set)?z.set.bind(o):$o,ce=ee({get:K,set:J});Object.defineProperty(n,M,{enumerable:!0,configurable:!0,get:()=>ce.value,set:H=>ce.value=H})}if(i)for(const M in i)vu(i[M],n,o,M);if(l){const M=De(l)?l.call(o):l;Reflect.ownKeys(M).forEach(z=>{vt(z,M[z])})}u&&_u(u,e,"c");function L(M,z){Ee(z)?z.forEach(K=>M(K.bind(o))):z&&M(z.bind(o))}if(L(fu,p),L(ao,d),L(nm,A),L(am,k),L(em,f),L(tm,w),L(lm,g),L(im,m),L(rm,b),L(qt,h),L(Ga,x),L(sm,_),Ee(T))if(T.length){const M=e.exposed||(e.exposed={});T.forEach(z=>{Object.defineProperty(M,z,{get:()=>o[z],set:K=>o[z]=K,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===$o&&(e.render=E),B!=null&&(e.inheritAttrs=B),V&&(e.components=V),j&&(e.directives=j),_&&hi(e)}function gm(e,t,o=$o){Ee(e)&&(e=yi(e));for(const n in e){const a=e[n];let s;Qe(a)?"default"in a?s=Te(a.from||n,a.default,!0):s=Te(a.from||n):s=Te(a),ut(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):t[n]=s}}function _u(e,t,o){eo(Ee(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function vu(e,t,o,n){let a=n.includes(".")?tu(o,n):()=>o[n];if(st(e)){const s=t[e];De(s)&&Me(a,s)}else if(De(e))Me(a,e.bind(o));else if(Qe(e))if(Ee(e))e.forEach(s=>vu(s,t,o,n));else{const s=De(e.handler)?e.handler.bind(o):t[e.handler];De(s)&&Me(a,s,e)}}function wu(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,i=s.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Ws(l,c,r,!0)),Ws(l,t,r)),Qe(t)&&s.set(t,l),l}function Ws(e,t,o,n=!1){const{mixins:a,extends:s}=t;s&&Ws(e,s,o,!0),a&&a.forEach(r=>Ws(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=fm[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const fm={data:ku,props:xu,emits:xu,methods:za,computed:za,beforeCreate:Dt,created:Dt,beforeMount:Dt,mounted:Dt,beforeUpdate:Dt,updated:Dt,beforeDestroy:Dt,beforeUnmount:Dt,destroyed:Dt,unmounted:Dt,activated:Dt,deactivated:Dt,errorCaptured:Dt,serverPrefetch:Dt,components:za,directives:za,watch:mm,provide:ku,inject:hm};function ku(e,t){return t?e?function(){return ft(De(e)?e.call(this,this):e,De(t)?t.call(this,this):t)}:t:e}function hm(e,t){return za(yi(e),yi(t))}function yi(e){if(Ee(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function _m(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||at;let a=o;const s=t.startsWith("update:"),r=s&&ym(n,t.slice(7));r&&(r.trim&&(a=o.map(u=>st(u)?u.trim():u)),r.number&&(a=a.map(Ps)));let i,l=n[i=qr(t)]||n[i=qr(xt(t))];!l&&s&&(l=n[i=qr(Qt(t))]),l&&eo(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,eo(c,e,6,a)}}const vm=new WeakMap;function Au(e,t,o=!1){const n=o?vm:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const s=e.emits;let r={},i=!1;if(!De(e)){const l=c=>{const u=Au(c,t,!0);u&&(i=!0,ft(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(Qe(e)&&n.set(e,null),null):(Ee(s)?s.forEach(l=>r[l]=null):ft(r,s),Qe(e)&&n.set(e,r),r)}function Ys(e,t){return!e||!vs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Je(e,t[0].toLowerCase()+t.slice(1))||Je(e,Qt(t))||Je(e,t))}function PE(){}function Su(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[s],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:p,data:d,setupState:A,ctx:k,inheritAttrs:f}=e,w=js(e);let y,h;try{if(o.shapeFlag&4){const x=a||n,E=x;y=xo(c.call(E,x,u,p,A,d,k)),h=i}else{const x=t;y=xo(x.length>1?x(p,{attrs:i,slots:r,emit:l}):x(p,null)),h=t.props?i:wm(i)}}catch(x){Ho.length=0,Na(x,e,1),y=et(Ft)}let $=y;if(h&&f!==!1){const x=Object.keys(h),{shapeFlag:E}=$;x.length&&E&7&&(s&&x.some(ws)&&(h=km(h,s)),$=ln($,h,!1,!0))}if(o.dirs&&($=ln($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(o.dirs):o.dirs),o.transition){const x=zs($.type)&&Vs($)||$;Ia(x,o.transition)}return y=$,js(w),y}const wm=e=>{let t;for(const o in e)(o==="class"||o==="style"||vs(o))&&((t||(t={}))[o]=e[o]);return t},km=(e,t)=>{const o={};for(const n in e)(!ws(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function xm(e,t,o){const{props:n,children:a,component:s}=e,{props:r,children:i,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Pu(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(Eu),Nu=e=>Object.getPrototypeOf(e)===Eu;function Am(e,t,o,n=!1){const a={},s=Tu();e.propsDefaults=Object.create(null),Ru(e,t,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);o?e.props=n?a:kh(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function Sm(e,t,o,n){const{props:a,attrs:s,vnode:{patchFlag:r}}=e,i=Ve(a),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[d,A]=Mu(p,t,!0);ft(r,d),A&&i.push(...A)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Qe(e)&&n.set(e,Kn),Kn;if(Ee(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",wi=e=>Ee(e)?e.map(xo):[xo(e)],Cm=(e,t,o)=>{if(t._n)return t;const n=Ut((...a)=>wi(t(...a)),o);return n._c=!1,n},Iu=(e,t,o)=>{const n=e._ctx;for(const a in e){if(vi(a))continue;const s=e[a];if(De(s))t[a]=Cm(a,s,n);else if(s!=null){const r=wi(s);t[a]=()=>r}}},Ou=(e,t)=>{const o=wi(t);e.slots.default=()=>o},Du=(e,t,o)=>{for(const n in t)(o||!vi(n))&&(e[n]=t[n])},Em=(e,t,o)=>{const n=e.slots=Tu();if(e.vnode.shapeFlag&32){const a=t._;a?(Du(n,t,o),o&&yc(n,"_",a,!0)):Iu(t,n)}else t&&Ou(e,t)},Tm=(e,t,o)=>{const{vnode:n,slots:a}=e;let s=!0,r=at;if(n.shapeFlag&32){const i=t._;i?o&&i===1?s=!1:Du(a,t,o):(s=!t.$stable,Iu(t,a)),r=t}else t&&(Ou(e,t),r={default:1});if(s)for(const i in a)!vi(i)&&r[i]==null&&delete a[i]},Bt=Im;function Nm(e){return Rm(e)}function Rm(e,t){const o=Cs();o.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:d,setScopeId:A=$o,insertStaticContent:k}=e,f=(P,O,I,X=null,Q=null,U=null,de=void 0,ne=null,v=!!O.dynamicChildren)=>{if(P===O)return;P&&!Cn(P,O)&&(X=ye(P),H(P,Q,U,!0),P=null),O.patchFlag===-2&&(v=!1,O.dynamicChildren=null);const{type:S,ref:D,shapeFlag:te}=O;switch(S){case Ua:w(P,O,I,X);break;case Ft:y(P,O,I,X);break;case Xs:P==null&&h(O,I,X,de);break;case ze:V(P,O,I,X,Q,U,de,ne,v);break;default:te&1?E(P,O,I,X,Q,U,de,ne,v):te&6?j(P,O,I,X,Q,U,de,ne,v):(te&64||te&128)&&S.process(P,O,I,X,Q,U,de,ne,v,pe)}D!=null&&Q?Da(D,P&&P.ref,U,O||P,!O):D==null&&P&&P.ref!=null&&Da(P.ref,null,U,P,!0)},w=(P,O,I,X)=>{if(P==null)n(O.el=i(O.children),I,X);else{const Q=O.el=P.el;O.children!==P.children&&c(Q,O.children)}},y=(P,O,I,X)=>{P==null?n(O.el=l(O.children||""),I,X):O.el=P.el},h=(P,O,I,X)=>{[P.el,P.anchor]=k(P.children,O,I,X,P.el,P.anchor)},$=({el:P,anchor:O},I,X)=>{let Q;for(;P&&P!==O;)Q=d(P),n(P,I,X),P=Q;n(O,I,X)},x=({el:P,anchor:O})=>{let I;for(;P&&P!==O;)I=d(P),a(P),P=I;a(O)},E=(P,O,I,X,Q,U,de,ne,v)=>{if(O.type==="svg"?de="svg":O.type==="math"&&(de="mathml"),P==null)m(O,I,X,Q,U,de,ne,v);else{const S=P.el&&P.el._isVueCE?P.el:null;try{S&&S._beginPatch(),_(P,O,Q,U,de,ne,v)}finally{S&&S._endPatch()}}},m=(P,O,I,X,Q,U,de,ne)=>{let v,S;const{props:D,shapeFlag:te,transition:me,dirs:le}=P;if(v=P.el=r(P.type,U,D&&D.is,D),te&8?u(v,P.children):te&16&&g(P.children,v,null,X,Q,ki(P,U),de,ne),le&&Ln(P,null,X,"created"),b(v,P,P.scopeId,de,X),D){for(const ie in D)ie!=="value"&&!xa(ie)&&s(v,ie,null,D[ie],U,X);"value"in D&&s(v,"value",null,D.value,U),(S=D.onVnodeBeforeMount)&&Lo(S,X,P)}le&&Ln(P,null,X,"beforeMount");const Y=Mm(Q,me);Y&&me.beforeEnter(v),n(v,O,I),((S=D&&D.onVnodeMounted)||Y||le)&&Bt(()=>{try{S&&Lo(S,X,P),Y&&me.enter(v),le&&Ln(P,null,X,"mounted")}finally{}},Q)},b=(P,O,I,X,Q)=>{if(I&&A(P,I),X)for(let U=0;U{for(let S=v;S{const ne=O.el=P.el;let{patchFlag:v,dynamicChildren:S,dirs:D}=O;v|=P.patchFlag&16;const te=P.props||at,me=O.props||at;let le;if(I&&Pn(I,!1),(le=me.onVnodeBeforeUpdate)&&Lo(le,I,O,P),D&&Ln(O,P,I,"beforeUpdate"),I&&Pn(I,!0),S&&(!P.dynamicChildren||P.dynamicChildren.length!==S.length)&&(v=0,de=!1,S=null),(te.innerHTML&&me.innerHTML==null||te.textContent&&me.textContent==null)&&u(ne,""),S?T(P.dynamicChildren,S,ne,I,X,ki(O,Q),U):de||z(P,O,ne,null,I,X,ki(O,Q),U,!1),v>0){if(v&16)B(ne,te,me,I,Q);else if(v&2&&te.class!==me.class&&s(ne,"class",null,me.class,Q),v&4&&s(ne,"style",te.style,me.style,Q),v&8){const Y=O.dynamicProps;for(let ie=0;ie{le&&Lo(le,I,O,P),D&&Ln(O,P,I,"updated")},X)},T=(P,O,I,X,Q,U,de)=>{for(let ne=0;ne{if(O!==I){if(O!==at)for(const U in O)!xa(U)&&!(U in I)&&s(P,U,O[U],null,Q,X);for(const U in I){if(xa(U))continue;const de=I[U],ne=O[U];de!==ne&&U!=="value"&&s(P,U,ne,de,Q,X)}"value"in I&&s(P,"value",O.value,I.value,Q)}},V=(P,O,I,X,Q,U,de,ne,v)=>{const S=O.el=P?P.el:i(""),D=O.anchor=P?P.anchor:i("");let{patchFlag:te,dynamicChildren:me,slotScopeIds:le}=O;le&&(ne=ne?ne.concat(le):le),P==null?(n(S,I,X),n(D,I,X),g(O.children||[],I,D,Q,U,de,ne,v)):te>0&&te&64&&me&&P.dynamicChildren&&P.dynamicChildren.length===me.length?(T(P.dynamicChildren,me,I,Q,U,de,ne),(O.key!=null||Q&&O===Q.subTree)&&xi(P,O,!0)):z(P,O,I,D,Q,U,de,ne,v)},j=(P,O,I,X,Q,U,de,ne,v)=>{O.slotScopeIds=ne,P==null?O.shapeFlag&512?Q.ctx.activate(O,I,X,de,v):G(O,I,X,Q,U,de,v):C(P,O,v)},G=(P,O,I,X,Q,U,de)=>{const ne=P.component=Um(P,X,Q);if(Ba(P)&&(ne.ctx.renderer=pe),Vm(ne,!1,de),ne.asyncDep){if(Q&&Q.registerDep(ne,L,de),!P.el){const v=ne.subTree=et(Ft);y(null,v,O,I),P.placeholder=v.el}}else L(ne,P,O,I,Q,U,de)},C=(P,O,I)=>{const X=O.component=P.component;if(xm(P,O,I))if(X.asyncDep&&!X.asyncResolved){M(X,O,I);return}else X.next=O,X.update();else O.el=P.el,X.vnode=O},L=(P,O,I,X,Q,U,de)=>{const ne=()=>{if(P.isMounted){let{next:te,bu:me,u:le,parent:Y,vnode:ie}=P;{const tt=Bu(P);if(tt){te&&(te.el=ie.el,M(P,te,de)),tt.asyncDep.then(()=>{Bt(()=>{P.isUnmounted||S()},Q)});return}}let _e=te,Ne;Pn(P,!1),te?(te.el=ie.el,M(P,te,de)):te=ie,me&&Ss(me),(Ne=te.props&&te.props.onVnodeBeforeUpdate)&&Lo(Ne,Y,te,ie),Pn(P,!0);const He=Su(P),lt=P.subTree;P.subTree=He,f(lt,He,p(lt.el),ye(lt),P,Q,U),te.el=He.el,_e===null&&Lm(P,He.el),le&&Bt(le,Q),(Ne=te.props&&te.props.onVnodeUpdated)&&Bt(()=>Lo(Ne,Y,te,ie),Q)}else{let te;const{el:me,props:le}=O,{bm:Y,m:ie,parent:_e,root:Ne,type:He}=P,lt=Qn(O);Pn(P,!1),Y&&Ss(Y),!lt&&(te=le&&le.onVnodeBeforeMount)&&Lo(te,_e,O),Pn(P,!0);{Ne.ce&&Ne.ce._hasShadowRoot()&&Ne.ce._injectChildStyle(He,P.parent?P.parent.type:void 0);const tt=P.subTree=Su(P);f(null,tt,I,X,P,Q,U),O.el=tt.el}if(ie&&Bt(ie,Q),!lt&&(te=le&&le.onVnodeMounted)){const tt=O;Bt(()=>Lo(te,_e,tt),Q)}(O.shapeFlag&256||_e&&Qn(_e.vnode)&&_e.vnode.shapeFlag&256)&&P.a&&Bt(P.a,Q),P.isMounted=!0,O=I=X=null}};P.scope.on();const v=P.effect=new Sc(ne);P.scope.off();const S=P.update=v.run.bind(v),D=P.job=v.runIfDirty.bind(v);D.i=P,D.id=P.uid,v.scheduler=()=>ci(D),Pn(P,!0),S()},M=(P,O,I)=>{O.component=P;const X=P.vnode.props;P.vnode=O,P.next=null,Sm(P,O.props,X,I),Tm(P,O.children,I),_o(),Zc(P),vo()},z=(P,O,I,X,Q,U,de,ne,v=!1)=>{const S=P&&P.children,D=P?P.shapeFlag:0,te=O.children,{patchFlag:me,shapeFlag:le}=O;if(me>0){if(me&128){J(S,te,I,X,Q,U,de,ne,v);return}else if(me&256){K(S,te,I,X,Q,U,de,ne,v);return}}le&8?(D&16&&Ae(S,Q,U),te!==S&&u(I,te)):D&16?le&16?J(S,te,I,X,Q,U,de,ne,v):Ae(S,Q,U,!0):(D&8&&u(I,""),le&16&&g(te,I,X,Q,U,de,ne,v))},K=(P,O,I,X,Q,U,de,ne,v)=>{P=P||Kn,O=O||Kn;const S=P.length,D=O.length,te=Math.min(S,D);let me;for(me=0;meD?Ae(P,Q,U,!0,!1,te):g(O,I,X,Q,U,de,ne,v,te)},J=(P,O,I,X,Q,U,de,ne,v)=>{let S=0;const D=O.length;let te=P.length-1,me=D-1;for(;S<=te&&S<=me;){const le=P[S],Y=O[S]=v?qo(O[S]):xo(O[S]);if(Cn(le,Y))f(le,Y,I,null,Q,U,de,ne,v);else break;S++}for(;S<=te&&S<=me;){const le=P[te],Y=O[me]=v?qo(O[me]):xo(O[me]);if(Cn(le,Y))f(le,Y,I,null,Q,U,de,ne,v);else break;te--,me--}if(S>te){if(S<=me){const le=me+1,Y=leme)for(;S<=te;)H(P[S],Q,U,!0),S++;else{const le=S,Y=S,ie=new Map;for(S=Y;S<=me;S++){const we=O[S]=v?qo(O[S]):xo(O[S]);we.key!=null&&ie.set(we.key,S)}let _e,Ne=0;const He=me-Y+1;let lt=!1,tt=0;const q=new Array(He);for(S=0;S=He){H(we,Q,U,!0);continue}let Pe;if(we.key!=null)Pe=ie.get(we.key);else for(_e=Y;_e<=me;_e++)if(q[_e-Y]===0&&Cn(we,O[_e])){Pe=_e;break}Pe===void 0?H(we,Q,U,!0):(q[Pe-Y]=S+1,Pe>=tt?tt=Pe:lt=!0,f(we,O[Pe],I,null,Q,U,de,ne,v),Ne++)}const ae=lt?Fm(q):Kn;for(_e=ae.length-1,S=He-1;S>=0;S--){const we=Y+S,Pe=O[we],Fe=O[we+1],gt=we+1{const{el:U,type:de,transition:ne,children:v,shapeFlag:S}=P;if(S&6){ce(P.component.subTree,O,I,X);return}if(S&128){P.suspense.move(O,I,X);return}if(S&64){de.move(P,O,I,pe);return}if(de===ze){n(U,O,I);for(let te=0;tene.enter(U),Q));else{const{leave:te,delayLeave:me,afterLeave:le}=ne,Y=()=>{P.ctx.isUnmounted?a(U):n(U,O,I)},ie=()=>{const _e=U._isLeaving||!!U[oo];U._isLeaving&&U[oo](!0),ne.persisted&&!_e?Y():te(U,()=>{Y(),le&&le()})};me?me(U,Y,ie):ie()}else n(U,O,I)},H=(P,O,I,X=!1,Q=!1)=>{const{type:U,props:de,ref:ne,children:v,dynamicChildren:S,shapeFlag:D,patchFlag:te,dirs:me,cacheIndex:le,memo:Y}=P;if(te===-2&&(Q=!1),ne!=null&&(_o(),Da(ne,null,I,P,!0),vo()),le!=null&&(O.renderCache[le]=void 0),D&256){O.ctx.deactivate(P);return}const ie=D&1&&me,_e=!Qn(P);let Ne;if(_e&&(Ne=de&&de.onVnodeBeforeUnmount)&&Lo(Ne,O,P),D&6)he(P.component,I,X);else{if(D&128){P.suspense.unmount(I,X);return}ie&&Ln(P,null,O,"beforeUnmount"),D&64?P.type.remove(P,O,I,pe,X):S&&!S.hasOnce&&(U!==ze||te>0&&te&64)?Ae(S,O,I,!1,!0):(U===ze&&te&384||!Q&&D&16)&&Ae(v,O,I),X&&be(P)}const He=Y!=null&&le==null;(_e&&(Ne=de&&de.onVnodeUnmounted)||ie||He)&&Bt(()=>{Ne&&Lo(Ne,O,P),ie&&Ln(P,null,O,"unmounted"),He&&(P.el=null)},I)},be=P=>{const{type:O,el:I,anchor:X,transition:Q}=P;if(O===ze){ve(I,X);return}if(O===Xs){x(P);return}const U=()=>{a(I),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(P.shapeFlag&1&&Q&&!Q.persisted){const{leave:de,delayLeave:ne}=Q,v=()=>de(I,U);ne?ne(P.el,U,v):v()}else U()},ve=(P,O)=>{let I;for(;P!==O;)I=d(P),a(P),P=I;a(O)},he=(P,O,I)=>{const{bum:X,scope:Q,job:U,subTree:de,um:ne,m:v,a:S}=P;Gu(v),Gu(S),X&&Ss(X),Q.stop(),U&&(U.flags|=8,H(de,P,O,I)),ne&&Bt(ne,O),Bt(()=>{P.isUnmounted=!0},O)},Ae=(P,O,I,X=!1,Q=!1,U=0)=>{for(let de=U;de{if(P.shapeFlag&6)return ye(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const O=d(P.anchor||P.el),I=O&&O[ou];return I?d(I):O};let oe=!1;const fe=(P,O,I)=>{let X;P==null?O._vnode&&(H(O._vnode,null,null,!0),X=O._vnode.component):f(O._vnode||null,P,O,null,null,null,I),O._vnode=P,oe||(oe=!0,Zc(X),Jc(),oe=!1)},pe={p:f,um:H,m:ce,r:be,mt:G,mc:g,pc:z,pbc:T,n:ye,o:e};return{render:fe,hydrate:void 0,createApp:$m(fe)}}function ki({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function Pn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xi(e,t,o=!1){const n=e.children,a=t.children;if(Ee(n)&&Ee(a))for(let s=0;s>1,e[o[i]]0&&(t[n]=o[s-1]),o[s]=n)}}for(s=o.length,r=o[s-1];s-- >0;)o[s]=r,r=t[r];return o}function Bu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bu(t)}function Gu(e){if(e)for(let t=0;te.__isSuspense;function Im(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):Bh(e)}const ze=Symbol.for("v-fgt"),Ua=Symbol.for("v-txt"),Ft=Symbol.for("v-cmt"),Xs=Symbol.for("v-stc"),Ho=[];let Wt=null;function Z(e=!1){Ho.push(Wt=e?null:[])}function Li(){Ho.pop(),Wt=Ho[Ho.length-1]||null}let Va=1;function Zs(e,t=!1){Va+=e,e<0&&Wt&&t&&(Wt.hasOnce=!0)}function Uu(e){return e.dynamicChildren=Va>0?Wt||Kn:null,Li(),Va>0&&Wt&&Wt.push(e),e}function re(e,t,o,n,a,s){return Uu(R(e,t,o,n,a,s,!0))}function We(e,t,o,n,a){return Uu(et(e,t,o,n,a,!0))}function Ka(e){return e?e.__v_isVNode===!0:!1}function Cn(e,t){return e.type===t.type&&e.key===t.key}const Vu=({key:e})=>e??null,Js=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?st(e)||ut(e)||De(e)?{i:Pt,r:e,k:t,f:!!o}:e:null);function R(e,t=null,o=null,n=0,a=null,s=e===ze?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vu(t),ref:t&&Js(t),scopeId:eu,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Pt};return i?(Qs(l,o),s&128&&e.normalize(l)):o&&(l.shapeFlag|=st(o)?8:16),Va>0&&!r&&Wt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Wt.push(l),l}const et=Om;function Om(e,t=null,o=null,n=0,a=null,s=!1){if((!e||e===hu)&&(e=Ft),Ka(e)){const i=ln(e,t,!0);return o&&Qs(i,o),Va>0&&!s&&Wt&&(i.shapeFlag&6?Wt[Wt.indexOf(e)]=i:Wt.push(i)),i.patchFlag=-2,i}if(Xm(e)&&(e=e.__vccOpts),t){t=Dm(t);let{class:i,style:l}=t;i&&!st(i)&&(t.class=Re(i)),Qe(l)&&(Is(l)&&!Ee(l)&&(l=ft({},l)),t.style=Ye(l))}const r=st(e)?1:zu(e)?128:zs(e)?64:Qe(e)?4:De(e)?2:0;return R(e,t,o,n,a,r,s,!0)}function Dm(e){return e?Is(e)||Nu(e)?ft({},e):e:null}function ln(e,t,o=!1,n=!1){const{props:a,ref:s,patchFlag:r,children:i,transition:l}=e,c=t?Gm(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Vu(c),ref:t&&t.ref?o&&s?Ee(s)?s.concat(Js(t)):[s,Js(t)]:Js(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Ia(u,l.clone(u)),u}function bt(e=" ",t=0){return et(Ua,null,e,t)}function Bm(e,t){const o=et(Xs,null,e);return o.staticCount=t,o}function xe(e="",t=!1){return t?(Z(),We(Ft,null,e)):et(Ft,null,e)}function xo(e){return e==null||typeof e=="boolean"?et(Ft):Ee(e)?et(ze,null,e.slice()):Ka(e)?qo(e):et(Ua,null,String(e))}function qo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ln(e)}function Qs(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ee(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Qs(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Nu(t)?t._ctx=Pt:a===3&&Pt&&(Pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(De(t)){if(n&65){Qs(e,{default:t});return}t={default:t,_ctx:Pt},o=32}else t=String(t),n&64?(o=16,t=[bt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Gm(...e){const t={};for(let o=0;oEt||Pt;let er,Ha;{const e=Cs(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),s=>{a.length>1?a.forEach(r=>r(s)):a[0](s)}};er=t("__VUE_INSTANCE_SETTERS__",o=>Et=o),Ha=t("__VUE_SSR_SETTERS__",o=>ea=o)}const qa=e=>{const t=Et;return er(e),e.scope.on(),()=>{e.scope.off(),er(t)}},Ku=()=>{Et&&Et.scope.off(),er(null)};function Hu(e){return e.vnode.shapeFlag&4}let ea=!1;function Vm(e,t=!1,o=!1){t&&Ha(t);const{props:n,children:a}=e.vnode,s=Hu(e);Am(e,n,s,t),Em(e,a,o||t);const r=s?Km(e,t):void 0;return t&&Ha(!1),r}function Km(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pm);const{setup:n}=o;if(n){_o();const a=e.setupContext=n.length>1?qm(e):null,s=qa(e),r=Xn(n,e,0,[e.props,a]),i=bc(r);if(vo(),s(),(i||e.sp)&&!Qn(e)&&hi(e),i){if(r.then(Ku,Ku),t)return r.then(l=>{Ha(!0);try{qu(e,l,t)}finally{Ha(!1)}}).catch(l=>{Na(l,e,0)});e.asyncDep=r}else qu(e,r)}else Wu(e)}function qu(e,t,o){De(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Qe(t)&&(e.setupState=Hc(t)),Wu(e)}function Wu(e,t,o){const n=e.type;e.render||(e.render=n.render||$o);{const a=qa(e);_o();try{dm(e)}finally{vo(),a()}}}const Hm={get(e,t){return Rt(e,"get",""),e[t]}};function qm(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Hm),slots:e.slots,emit:e.emit,expose:t}}function tr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Hc(Wn(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in ja)return ja[o](e)},has(t,o){return o in t||o in ja}})):e.proxy}const Wm=/(?:^|[-_])\w/g,Ym=e=>e.replace(Wm,t=>t.toUpperCase()).replace(/[-_]/g,"");function Yu(e,t=!0){return De(e)?e.displayName||e.name:e.name||t&&e.__name}function Xu(e,t,o=!1){let n=Yu(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=s=>{for(const r in s)if(s[r]===t)return r};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Ym(n):o?"App":"Anonymous"}function Xm(e){return De(e)&&"__vccOpts"in e}const ee=(e,t)=>Eh(e,t,ea);function Ai(e,t,o){try{Zs(-1);const n=arguments.length;return n===2?Qe(t)&&!Ee(t)?Ka(t)?et(e,null,[t]):et(e,t):et(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Ka(o)&&(o=[o]),et(e,t,o))}finally{Zs(1)}}const Zm="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -40,7 +40,7 @@ * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const b1="9.14.5";function $1(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Xo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Xo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Xo().__INTLIFY_PROD_DEVTOOLS__=!1)}const y1=Xv.__EXTEND_POINT__,Jo=ur(y1);Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo();const Ad=ho.__EXTEND_POINT__,Vt=ur(Ad),wt={UNEXPECTED_RETURN_TYPE:Ad,INVALID_ARGUMENT:Vt(),MUST_BE_CALL_SETUP_TOP:Vt(),NOT_INSTALLED:Vt(),NOT_AVAILABLE_IN_LEGACY_MODE:Vt(),REQUIRED_VALUE:Vt(),INVALID_VALUE:Vt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vt(),NOT_INSTALLED_WITH_PROVIDE:Vt(),UNEXPECTED_ERROR:Vt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vt(),BRIDGE_SUPPORT_VUE_2_ONLY:Vt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vt(),__EXTEND_POINT__:Vt()};function Lt(e,...t){return aa(e,null,void 0)}const Ji=dn("__translateVNode"),Qi=dn("__datetimeParts"),el=dn("__numberParts"),Sd=dn("__setPluralRules"),Pd=dn("__injectWithOption"),tl=dn("__dispose");function as(e){if(!Xe(e)||So(e))return e;for(const t in e)if(go(e,t))if(!t.includes("."))Xe(e[t])&&as(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,s=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||nt(),dr(c,r[l])):dr(c,r)}else Le(i)&&dr(JSON.parse(i),r)}),a==null&&s)for(const i in r)go(r,i)&&as(r[i]);return r}function Cd(e){return e.type}function Ed(e,t,o){let n=Xe(t.messages)?t.messages:nt();"__i18nGlobal"in o&&(n=mr(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(Xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function Td(e){return et(Ua,null,e,0)}const Nd="__INTLIFY_META__",Rd=()=>[],_1=()=>!1;let Md=0;function Fd(e){return(t,o,n,a)=>e(o,n,po()||void 0,a)}const v1=()=>{const e=po();let t=null;return e&&(t=Cd(e)[Nd])?{[Nd]:t}:null};function ol(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,s=e.flatJson,r=lr?ge:Ea,i=!!e.translateExistCompatible;let l=Ue(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:Le(e.locale)?e.locale:ia),u=r(o&&l?o.fallbackLocale.value:Le(e.fallbackLocale)||dt(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=r(mr(c.value,e)),d=r(je(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),A=r(je(e.numberFormats)?e.numberFormats:{[c.value]:{}});let k=o?o.missingWarn:Ue(e.missingWarn)||gn(e.missingWarn)?e.missingWarn:!0,f=o?o.fallbackWarn:Ue(e.fallbackWarn)||gn(e.fallbackWarn)?e.fallbackWarn:!0,w=o?o.fallbackRoot:Ue(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,h=it(e.missing)?e.missing:null,$=it(e.missing)?Fd(e.missing):null,x=it(e.postTranslation)?e.postTranslation:null,E=o?o.warnHtmlMessage:Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const b=o?o.modifiers:je(e.modifiers)?e.modifiers:{};let g=e.pluralRules||o&&o.pluralRules,_;_=(()=>{a&&pd(null);const Y={version:b1,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:b,pluralRules:g,missing:$===null?void 0:$,missingWarn:k,fallbackWarn:f,fallbackFormat:y,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:E,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};Y.datetimeFormats=d.value,Y.numberFormats=A.value,Y.__datetimeFormatters=je(_)?_.__datetimeFormatters:void 0,Y.__numberFormatters=je(_)?_.__numberFormatters:void 0;const ie=i1(Y);return a&&pd(ie),ie})(),ns(_,c.value,u.value);function B(){return[c.value,u.value,p.value,d.value,A.value]}const V=ee({get:()=>c.value,set:Y=>{c.value=Y,_.locale=c.value}}),j=ee({get:()=>u.value,set:Y=>{u.value=Y,_.fallbackLocale=u.value,ns(_,c.value,Y)}}),G=ee(()=>p.value),C=ee(()=>d.value),L=ee(()=>A.value);function M(){return it(x)?x:null}function z(Y){x=Y,_.postTranslation=Y}function K(){return h}function J(Y){Y!==null&&($=Fd(Y)),h=Y,_.missing=$}const ce=(Y,ie,_e,Ne,He,lt)=>{B();let tt;try{__INTLIFY_PROD_DEVTOOLS__,a||(_.fallbackContext=o?r1():void 0),tt=Y(_)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(_.fallbackContext=void 0)}if(_e!=="translate exists"&&$t(tt)&&tt===hr||_e==="translate exists"&&!tt){const[q,ae]=ie();return o&&w?Ne(o):He(q)}else{if(lt(tt))return tt;throw Lt(wt.UNEXPECTED_RETURN_TYPE)}};function H(...Y){return ce(ie=>Reflect.apply(bd,null,[ie,...Y]),()=>Yi(...Y),"translate",ie=>Reflect.apply(ie.t,ie,[...Y]),ie=>ie,ie=>Le(ie))}function be(...Y){const[ie,_e,Ne]=Y;if(Ne&&!Xe(Ne))throw Lt(wt.INVALID_ARGUMENT);return H(ie,_e,Tt({resolvedMessage:!0},Ne||{}))}function ve(...Y){return ce(ie=>Reflect.apply(_d,null,[ie,...Y]),()=>Xi(...Y),"datetime format",ie=>Reflect.apply(ie.d,ie,[...Y]),()=>nd,ie=>Le(ie))}function he(...Y){return ce(ie=>Reflect.apply(kd,null,[ie,...Y]),()=>Zi(...Y),"number format",ie=>Reflect.apply(ie.n,ie,[...Y]),()=>nd,ie=>Le(ie))}function Ae(Y){return Y.map(ie=>Le(ie)||$t(ie)||Ue(ie)?Td(String(ie)):ie)}const oe={normalize:Ae,interpolate:Y=>Y,type:"vnode"};function fe(...Y){return ce(ie=>{let _e;const Ne=ie;try{Ne.processor=oe,_e=Reflect.apply(bd,null,[Ne,...Y])}finally{Ne.processor=null}return _e},()=>Yi(...Y),"translate",ie=>ie[Ji](...Y),ie=>[Td(ie)],ie=>dt(ie))}function pe(...Y){return ce(ie=>Reflect.apply(kd,null,[ie,...Y]),()=>Zi(...Y),"number format",ie=>ie[el](...Y),Rd,ie=>Le(ie)||dt(ie))}function Se(...Y){return ce(ie=>Reflect.apply(_d,null,[ie,...Y]),()=>Xi(...Y),"datetime format",ie=>ie[Qi](...Y),Rd,ie=>Le(ie)||dt(ie))}function P(Y){g=Y,_.pluralRules=g}function O(Y,ie){return ce(()=>{if(!Y)return!1;const _e=Le(ie)?ie:c.value,Ne=Q(_e),He=_.messageResolver(Ne,Y);return i?He!=null:So(He)||so(He)||Le(He)},()=>[Y],"translate exists",_e=>Reflect.apply(_e.te,_e,[Y,ie]),_1,_e=>Ue(_e))}function I(Y){let ie=null;const _e=td(_,u.value,c.value);for(let Ne=0;Ne<_e.length;Ne++){const He=p.value[_e[Ne]]||{},lt=_.messageResolver(He,Y);if(lt!=null){ie=lt;break}}return ie}function X(Y){const ie=I(Y);return ie??(o?o.tm(Y)||{}:{})}function Q(Y){return p.value[Y]||{}}function U(Y,ie){if(s){const _e={[Y]:ie};for(const Ne in _e)go(_e,Ne)&&as(_e[Ne]);ie=_e[Y]}p.value[Y]=ie,_.messages=p.value}function de(Y,ie){p.value[Y]=p.value[Y]||{};const _e={[Y]:ie};if(s)for(const Ne in _e)go(_e,Ne)&&as(_e[Ne]);ie=_e[Y],dr(ie,p.value[Y]),_.messages=p.value}function ne(Y){return d.value[Y]||{}}function v(Y,ie){d.value[Y]=ie,_.datetimeFormats=d.value,wd(_,Y,ie)}function S(Y,ie){d.value[Y]=Tt(d.value[Y]||{},ie),_.datetimeFormats=d.value,wd(_,Y,ie)}function D(Y){return A.value[Y]||{}}function te(Y,ie){A.value[Y]=ie,_.numberFormats=A.value,Ld(_,Y,ie)}function me(Y,ie){A.value[Y]=Tt(A.value[Y]||{},ie),_.numberFormats=A.value,Ld(_,Y,ie)}Md++,o&&lr&&(Me(o.locale,Y=>{l&&(c.value=Y,_.locale=Y,ns(_,c.value,u.value))}),Me(o.fallbackLocale,Y=>{l&&(u.value=Y,_.fallbackLocale=Y,ns(_,c.value,u.value))}));const le={id:Md,locale:V,fallbackLocale:j,get inheritLocale(){return l},set inheritLocale(Y){l=Y,Y&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,ns(_,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:G,get modifiers(){return b},get pluralRules(){return g||{}},get isGlobal(){return a},get missingWarn(){return k},set missingWarn(Y){k=Y,_.missingWarn=k},get fallbackWarn(){return f},set fallbackWarn(Y){f=Y,_.fallbackWarn=f},get fallbackRoot(){return w},set fallbackRoot(Y){w=Y},get fallbackFormat(){return y},set fallbackFormat(Y){y=Y,_.fallbackFormat=y},get warnHtmlMessage(){return E},set warnHtmlMessage(Y){E=Y,_.warnHtmlMessage=Y},get escapeParameter(){return m},set escapeParameter(Y){m=Y,_.escapeParameter=Y},t:H,getLocaleMessage:Q,setLocaleMessage:U,mergeLocaleMessage:de,getPostTranslationHandler:M,setPostTranslationHandler:z,getMissingHandler:K,setMissingHandler:J,[Sd]:P};return le.datetimeFormats=C,le.numberFormats=L,le.rt=be,le.te=O,le.tm=X,le.d=ve,le.n=he,le.getDateTimeFormat=ne,le.setDateTimeFormat=v,le.mergeDateTimeFormat=S,le.getNumberFormat=D,le.setNumberFormat=te,le.mergeNumberFormat=me,le[Pd]=n,le[Ji]=fe,le[Qi]=Se,le[el]=pe,le}function w1(e){const t=Le(e.locale)?e.locale:ia,o=Le(e.fallbackLocale)||dt(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=it(e.missing)?e.missing:void 0,a=Ue(e.silentTranslationWarn)||gn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ue(e.silentFallbackWarn)||gn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Ue(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=je(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=it(e.postTranslation)?e.postTranslation:void 0,p=Le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,A=Ue(e.sync)?e.sync:!0;let k=e.messages;if(je(e.sharedMessages)){const m=e.sharedMessages;k=Object.keys(m).reduce((g,_)=>{const T=g[_]||(g[_]={});return Tt(T,m[_]),g},k||{})}const{__i18n:f,__root:w,__injectWithOption:y}=e,h=e.datetimeFormats,$=e.numberFormats,x=e.flatJson,E=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:k,flatJson:x,datetimeFormats:h,numberFormats:$,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:A,translateExistCompatible:E,__i18n:f,__root:w,__injectWithOption:y}}function nl(e={},t){{const o=ol(w1(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(s){o.locale.value=s},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(s){o.fallbackLocale.value=s},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return o.getMissingHandler()},set missing(s){o.setMissingHandler(s)},get silentTranslationWarn(){return Ue(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(s){o.missingWarn=Ue(s)?!s:s},get silentFallbackWarn(){return Ue(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(s){o.fallbackWarn=Ue(s)?!s:s},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(s){o.fallbackFormat=s},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(s){o.setPostTranslationHandler(s)},get sync(){return o.inheritLocale},set sync(s){o.inheritLocale=s},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){o.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(s){o.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...s){const[r,i,l]=s,c={};let u=null,p=null;if(!Le(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return Le(i)?c.locale=i:dt(i)?u=i:je(i)&&(p=i),dt(l)?u=l:je(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},rt(...s){return Reflect.apply(o.rt,o,[...s])},tc(...s){const[r,i,l]=s,c={plural:1};let u=null,p=null;if(!Le(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return Le(i)?c.locale=i:$t(i)?c.plural=i:dt(i)?u=i:je(i)&&(p=i),Le(l)?c.locale=l:dt(l)?u=l:je(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},te(s,r){return o.te(s,r)},tm(s){return o.tm(s)},getLocaleMessage(s){return o.getLocaleMessage(s)},setLocaleMessage(s,r){o.setLocaleMessage(s,r)},mergeLocaleMessage(s,r){o.mergeLocaleMessage(s,r)},d(...s){return Reflect.apply(o.d,o,[...s])},getDateTimeFormat(s){return o.getDateTimeFormat(s)},setDateTimeFormat(s,r){o.setDateTimeFormat(s,r)},mergeDateTimeFormat(s,r){o.mergeDateTimeFormat(s,r)},n(...s){return Reflect.apply(o.n,o,[...s])},getNumberFormat(s){return o.getNumberFormat(s)},setNumberFormat(s,r){o.setNumberFormat(s,r)},mergeNumberFormat(s,r){o.mergeNumberFormat(s,r)},getChoiceIndex(s,r){return-1}};return a.__extender=n,a}}const al={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function k1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===ze?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},nt())}function Id(e){return ze}const Od=Oa({name:"i18n-t",props:Tt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>$t(e)||!isNaN(e)}},al),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||mt({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(o).filter(p=>p!=="_"),r=nt();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=Le(e.plural)?+e.plural:e.plural);const i=k1(t,s),l=a[Ji](e.keypath,i,r),c=Tt(nt(),n),u=Le(e.tag)||Xe(e.tag)?e.tag:Id();return Ai(u,c,l)}}});function x1(e){return dt(e)&&!Le(e[0])}function Dd(e,t,o,n){const{slots:a,attrs:s}=t;return()=>{const r={part:!0};let i=nt();e.locale&&(r.locale=e.locale),Le(e.format)?r.key=e.format:Xe(e.format)&&(Le(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((d,A)=>o.includes(A)?Tt(nt(),d,{[A]:e.format[A]}):d,nt()));const l=n(e.value,r,i);let c=[r.key];dt(l)?c=l.map((d,A)=>{const k=a[d.type],f=k?k({[d.type]:d.value,index:A,parts:l}):[d.value];return x1(f)&&(f[0].key=`${d.type}-${A}`),f}):Le(l)&&(c=[l]);const u=Tt(nt(),s),p=Le(e.tag)||Xe(e.tag)?e.tag:Id();return Ai(p,u,c)}}const Bd=Oa({name:"i18n-n",props:Tt({value:{type:Number,required:!0},format:{type:[String,Object]}},al),setup(e,t){const o=e.i18n||mt({useScope:e.scope,__useComponent:!0});return Dd(e,t,xd,(...n)=>o[el](...n))}}),Gd=Oa({name:"i18n-d",props:Tt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},al),setup(e,t){const o=e.i18n||mt({useScope:e.scope,__useComponent:!0});return Dd(e,t,vd,(...n)=>o[Qi](...n))}});function L1(e,t){const o=e;if(e.mode==="composition")return o.__getInstance(t)||e.global;{const n=o.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function A1(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw Lt(wt.UNEXPECTED_ERROR);const u=L1(e,i.$),p=jd(c);return[Reflect.apply(u.t,u,[...zd(p)]),u]};return{created:(r,i)=>{const[l,c]=t(i);lr&&e.global===c&&(r.__i18nWatcher=Me(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{lr&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=jd(i);r.textContent=Reflect.apply(l.t,l,[...zd(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function jd(e){if(Le(e))return{path:e};if(je(e)){if(!("path"in e))throw Lt(wt.REQUIRED_VALUE,"path");return e}else throw Lt(wt.INVALID_VALUE)}function zd(e){const{path:t,locale:o,args:n,choice:a,plural:s}=e,r={},i=n||{};return Le(o)&&(r.locale=o),$t(a)&&(r.plural=a),$t(s)&&(r.plural=s),[t,i,r]}function S1(e,t,...o){const n=je(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Ue(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Od.name,"I18nT"].forEach(r=>e.component(r,Od)),[Bd.name,"I18nN"].forEach(r=>e.component(r,Bd)),[Gd.name,"I18nD"].forEach(r=>e.component(r,Gd))),e.directive("t",A1(t))}function P1(e,t,o){return{beforeCreate(){const n=po();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=Ud(e,s);else{s.__injectWithOption=!0,s.__extender=o.__vueI18nExtend,this.$i18n=nl(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Ud(e,a);else{this.$i18n=nl({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ed(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=po();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Ud(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Sd](t.pluralizationRules||e.pluralizationRules);const o=mr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(n=>e.mergeLocaleMessage(n,o[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const C1=dn("global-vue-i18n");function E1(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ue(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ue(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,s=new Map,[r,i]=T1(e,o),l=dn("");function c(d){return s.get(d)||null}function u(d,A){s.set(d,A)}function p(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(A,...k){if(A.__VUE_I18N_SYMBOL__=l,A.provide(A.__VUE_I18N_SYMBOL__,d),je(k[0])){const y=k[0];d.__composerExtend=y.__composerExtend,d.__vueI18nExtend=y.__vueI18nExtend}let f=null;!o&&n&&(f=G1(A,d.global)),__VUE_I18N_FULL_INSTALL__&&S1(A,d,...k),__VUE_I18N_LEGACY_API__&&o&&A.mixin(P1(i,i.__composer,d));const w=A.unmount;A.unmount=()=>{f&&f(),d.dispose(),w()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:p};return d}}function mt(e={}){const t=po();if(t==null)throw Lt(wt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(wt.NOT_INSTALLED);const o=N1(t),n=M1(o),a=Cd(t),s=R1(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Lt(wt.NOT_AVAILABLE_IN_LEGACY_MODE);return D1(t,s,n,e)}if(s==="global")return Ed(n,e,a),n;if(s==="parent"){let l=F1(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=Tt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=ol(l),r.__composerExtend&&(i[tl]=r.__composerExtend(i)),O1(r,t,i),r.__setInstance(t,i)}return i}function T1(e,t,o){const n=Zr();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>nl(e)):n.run(()=>ol(e));if(a==null)throw Lt(wt.UNEXPECTED_ERROR);return[n,a]}}function N1(e){{const t=Te(e.isCE?C1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?wt.NOT_INSTALLED_WITH_PROVIDE:wt.UNEXPECTED_ERROR);return t}}function R1(e,t){return cr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function M1(e){return e.mode==="composition"?e.global:e.global.__composer}function F1(e,t,o=!1){let n=null;const a=t.root;let s=I1(t,o);for(;s!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(s);i!=null&&(n=i.__composer,o&&n&&!n[Pd]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function I1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function O1(e,t,o){ao(()=>{},t),Ga(()=>{const n=o;e.__deleteInstance(t);const a=n[tl];a&&(a(),delete n[tl])},t)}function D1(e,t,o,n={}){const a=t==="local",s=Ea(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Lt(wt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ue(n.inheritLocale)?n.inheritLocale:!Le(n.locale),i=ge(!a||r?o.locale.value:Le(n.locale)?n.locale:ia),l=ge(!a||r?o.fallbackLocale.value:Le(n.fallbackLocale)||dt(n.fallbackLocale)||je(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ge(mr(i.value,n)),u=ge(je(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=ge(je(n.numberFormats)?n.numberFormats:{[i.value]:{}}),d=a?o.missingWarn:Ue(n.missingWarn)||gn(n.missingWarn)?n.missingWarn:!0,A=a?o.fallbackWarn:Ue(n.fallbackWarn)||gn(n.fallbackWarn)?n.fallbackWarn:!0,k=a?o.fallbackRoot:Ue(n.fallbackRoot)?n.fallbackRoot:!0,f=!!n.fallbackFormat,w=it(n.missing)?n.missing:null,y=it(n.postTranslation)?n.postTranslation:null,h=a?o.warnHtmlMessage:Ue(n.warnHtmlMessage)?n.warnHtmlMessage:!0,$=!!n.escapeParameter,x=a?o.modifiers:je(n.modifiers)?n.modifiers:{},E=n.pluralRules||a&&o.pluralRules;function m(){return[i.value,l.value,c.value,u.value,p.value]}const b=ee({get:()=>s.value?s.value.locale.value:i.value,set:I=>{s.value&&(s.value.locale.value=I),i.value=I}}),g=ee({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:I=>{s.value&&(s.value.fallbackLocale.value=I),l.value=I}}),_=ee(()=>s.value?s.value.messages.value:c.value),T=ee(()=>u.value),B=ee(()=>p.value);function V(){return s.value?s.value.getPostTranslationHandler():y}function j(I){s.value&&s.value.setPostTranslationHandler(I)}function G(){return s.value?s.value.getMissingHandler():w}function C(I){s.value&&s.value.setMissingHandler(I)}function L(I){return m(),I()}function M(...I){return s.value?L(()=>Reflect.apply(s.value.t,null,[...I])):L(()=>"")}function z(...I){return s.value?Reflect.apply(s.value.rt,null,[...I]):""}function K(...I){return s.value?L(()=>Reflect.apply(s.value.d,null,[...I])):L(()=>"")}function J(...I){return s.value?L(()=>Reflect.apply(s.value.n,null,[...I])):L(()=>"")}function ce(I){return s.value?s.value.tm(I):{}}function H(I,X){return s.value?s.value.te(I,X):!1}function be(I){return s.value?s.value.getLocaleMessage(I):{}}function ve(I,X){s.value&&(s.value.setLocaleMessage(I,X),c.value[I]=X)}function he(I,X){s.value&&s.value.mergeLocaleMessage(I,X)}function Ae(I){return s.value?s.value.getDateTimeFormat(I):{}}function ye(I,X){s.value&&(s.value.setDateTimeFormat(I,X),u.value[I]=X)}function oe(I,X){s.value&&s.value.mergeDateTimeFormat(I,X)}function fe(I){return s.value?s.value.getNumberFormat(I):{}}function pe(I,X){s.value&&(s.value.setNumberFormat(I,X),p.value[I]=X)}function Se(I,X){s.value&&s.value.mergeNumberFormat(I,X)}const P={get id(){return s.value?s.value.id:-1},locale:b,fallbackLocale:g,messages:_,datetimeFormats:T,numberFormats:B,get inheritLocale(){return s.value?s.value.inheritLocale:r},set inheritLocale(I){s.value&&(s.value.inheritLocale=I)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:x},get pluralRules(){return s.value?s.value.pluralRules:E},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackWarn(){return s.value?s.value.fallbackWarn:A},set fallbackWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackRoot(){return s.value?s.value.fallbackRoot:k},set fallbackRoot(I){s.value&&(s.value.fallbackRoot=I)},get fallbackFormat(){return s.value?s.value.fallbackFormat:f},set fallbackFormat(I){s.value&&(s.value.fallbackFormat=I)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:h},set warnHtmlMessage(I){s.value&&(s.value.warnHtmlMessage=I)},get escapeParameter(){return s.value?s.value.escapeParameter:$},set escapeParameter(I){s.value&&(s.value.escapeParameter=I)},t:M,getPostTranslationHandler:V,setPostTranslationHandler:j,getMissingHandler:G,setMissingHandler:C,rt:z,d:K,n:J,tm:ce,te:H,getLocaleMessage:be,setLocaleMessage:ve,mergeLocaleMessage:he,getDateTimeFormat:Ae,setDateTimeFormat:ye,mergeDateTimeFormat:oe,getNumberFormat:fe,setNumberFormat:pe,mergeNumberFormat:Se};function O(I){I.locale.value=i.value,I.fallbackLocale.value=l.value,Object.keys(c.value).forEach(X=>{I.mergeLocaleMessage(X,c.value[X])}),Object.keys(u.value).forEach(X=>{I.mergeDateTimeFormat(X,u.value[X])}),Object.keys(p.value).forEach(X=>{I.mergeNumberFormat(X,p.value[X])}),I.escapeParameter=$,I.fallbackFormat=f,I.fallbackRoot=k,I.fallbackWarn=A,I.missingWarn=d,I.warnHtmlMessage=h}return fu(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Lt(wt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const I=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=I.locale.value,l.value=I.fallbackLocale.value,c.value=I.messages.value,u.value=I.datetimeFormats.value,p.value=I.numberFormats.value):a&&O(I)}),P}const B1=["locale","fallbackLocale","availableLocales"],Vd=["t","rt","d","n","tm","te"];function G1(e,t){const o=Object.create(null);return B1.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Lt(wt.UNEXPECTED_ERROR);const r=ut(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(o,a,r)}),e.config.globalProperties.$i18n=o,Vd.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Lt(wt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,Vd.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if($1(),__INTLIFY_JIT_COMPILATION__?rd(d1):rd(p1),o1(Iv),n1(td),__INTLIFY_PROD_DEVTOOLS__){const e=Xo();e.__INTLIFY__=!0,Kv(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const j1=Object.assign({"./locales/ar/allPeopleGroups.json":Ub,"./locales/ar/aria.json":Vb,"./locales/ar/buttons.json":Kb,"./locales/ar/connectivity.json":Hb,"./locales/ar/controls.json":qb,"./locales/ar/dashboard.json":Wb,"./locales/ar/detail.json":Yb,"./locales/ar/gospel.json":Xb,"./locales/ar/grid.json":Zb,"./locales/ar/legend.json":Jb,"./locales/ar/messages.json":Qb,"./locales/ar/options.json":e$,"./locales/ar/popup.json":t$,"./locales/ar/prayerLaps.json":o$,"./locales/ar/regions.json":n$,"./locales/ar/search.json":a$,"./locales/ar/studio.json":s$,"./locales/ar/tabs.json":r$,"./locales/ar/vision.json":i$,"./locales/de/allPeopleGroups.json":l$,"./locales/de/aria.json":c$,"./locales/de/buttons.json":u$,"./locales/de/connectivity.json":p$,"./locales/de/controls.json":d$,"./locales/de/dashboard.json":g$,"./locales/de/detail.json":f$,"./locales/de/gospel.json":h$,"./locales/de/grid.json":m$,"./locales/de/legend.json":b$,"./locales/de/messages.json":$$,"./locales/de/options.json":y$,"./locales/de/popup.json":_$,"./locales/de/prayerLaps.json":v$,"./locales/de/regions.json":w$,"./locales/de/search.json":k$,"./locales/de/studio.json":x$,"./locales/de/tabs.json":L$,"./locales/de/vision.json":A$,"./locales/en/allPeopleGroups.json":S$,"./locales/en/aria.json":P$,"./locales/en/buttons.json":C$,"./locales/en/connectivity.json":E$,"./locales/en/controls.json":T$,"./locales/en/dashboard.json":N$,"./locales/en/detail.json":R$,"./locales/en/gospel.json":M$,"./locales/en/grid.json":F$,"./locales/en/legend.json":I$,"./locales/en/messages.json":O$,"./locales/en/options.json":D$,"./locales/en/popup.json":B$,"./locales/en/prayerLaps.json":G$,"./locales/en/regions.json":j$,"./locales/en/search.json":z$,"./locales/en/studio.json":U$,"./locales/en/tabs.json":V$,"./locales/en/vision.json":K$,"./locales/es/allPeopleGroups.json":H$,"./locales/es/aria.json":q$,"./locales/es/buttons.json":W$,"./locales/es/connectivity.json":Y$,"./locales/es/controls.json":X$,"./locales/es/dashboard.json":Z$,"./locales/es/detail.json":J$,"./locales/es/gospel.json":Q$,"./locales/es/grid.json":ey,"./locales/es/legend.json":ty,"./locales/es/messages.json":oy,"./locales/es/options.json":ny,"./locales/es/popup.json":ay,"./locales/es/prayerLaps.json":sy,"./locales/es/regions.json":ry,"./locales/es/search.json":iy,"./locales/es/studio.json":ly,"./locales/es/tabs.json":cy,"./locales/es/vision.json":uy,"./locales/fr/allPeopleGroups.json":py,"./locales/fr/aria.json":dy,"./locales/fr/buttons.json":gy,"./locales/fr/connectivity.json":fy,"./locales/fr/controls.json":hy,"./locales/fr/dashboard.json":my,"./locales/fr/detail.json":by,"./locales/fr/gospel.json":$y,"./locales/fr/grid.json":yy,"./locales/fr/legend.json":_y,"./locales/fr/messages.json":vy,"./locales/fr/options.json":wy,"./locales/fr/popup.json":ky,"./locales/fr/prayerLaps.json":xy,"./locales/fr/regions.json":Ly,"./locales/fr/search.json":Ay,"./locales/fr/studio.json":Sy,"./locales/fr/tabs.json":Py,"./locales/fr/vision.json":Cy,"./locales/hi/allPeopleGroups.json":Ey,"./locales/hi/aria.json":Ty,"./locales/hi/buttons.json":Ny,"./locales/hi/connectivity.json":Ry,"./locales/hi/controls.json":My,"./locales/hi/dashboard.json":Fy,"./locales/hi/detail.json":Iy,"./locales/hi/gospel.json":Oy,"./locales/hi/grid.json":Dy,"./locales/hi/legend.json":By,"./locales/hi/messages.json":Gy,"./locales/hi/options.json":jy,"./locales/hi/popup.json":zy,"./locales/hi/prayerLaps.json":Uy,"./locales/hi/regions.json":Vy,"./locales/hi/search.json":Ky,"./locales/hi/studio.json":Hy,"./locales/hi/tabs.json":qy,"./locales/hi/vision.json":Wy,"./locales/it/allPeopleGroups.json":Yy,"./locales/it/aria.json":Xy,"./locales/it/buttons.json":Zy,"./locales/it/connectivity.json":Jy,"./locales/it/controls.json":Qy,"./locales/it/dashboard.json":e_,"./locales/it/detail.json":t_,"./locales/it/gospel.json":o_,"./locales/it/grid.json":n_,"./locales/it/legend.json":a_,"./locales/it/messages.json":s_,"./locales/it/options.json":r_,"./locales/it/popup.json":i_,"./locales/it/prayerLaps.json":l_,"./locales/it/regions.json":c_,"./locales/it/search.json":u_,"./locales/it/studio.json":p_,"./locales/it/tabs.json":d_,"./locales/it/vision.json":g_,"./locales/pt/allPeopleGroups.json":f_,"./locales/pt/aria.json":h_,"./locales/pt/buttons.json":m_,"./locales/pt/connectivity.json":b_,"./locales/pt/controls.json":$_,"./locales/pt/dashboard.json":y_,"./locales/pt/detail.json":__,"./locales/pt/gospel.json":v_,"./locales/pt/grid.json":w_,"./locales/pt/legend.json":k_,"./locales/pt/messages.json":x_,"./locales/pt/options.json":L_,"./locales/pt/popup.json":A_,"./locales/pt/prayerLaps.json":S_,"./locales/pt/regions.json":P_,"./locales/pt/search.json":C_,"./locales/pt/studio.json":E_,"./locales/pt/tabs.json":T_,"./locales/pt/vision.json":N_,"./locales/ro/allPeopleGroups.json":R_,"./locales/ro/aria.json":M_,"./locales/ro/buttons.json":F_,"./locales/ro/connectivity.json":I_,"./locales/ro/controls.json":O_,"./locales/ro/dashboard.json":D_,"./locales/ro/detail.json":B_,"./locales/ro/gospel.json":G_,"./locales/ro/grid.json":j_,"./locales/ro/legend.json":z_,"./locales/ro/messages.json":U_,"./locales/ro/options.json":V_,"./locales/ro/popup.json":K_,"./locales/ro/prayerLaps.json":H_,"./locales/ro/regions.json":q_,"./locales/ro/search.json":W_,"./locales/ro/studio.json":Y_,"./locales/ro/tabs.json":X_,"./locales/ro/vision.json":Z_,"./locales/ru/allPeopleGroups.json":J_,"./locales/ru/aria.json":Q_,"./locales/ru/buttons.json":e0,"./locales/ru/connectivity.json":t0,"./locales/ru/controls.json":o0,"./locales/ru/dashboard.json":n0,"./locales/ru/detail.json":a0,"./locales/ru/gospel.json":s0,"./locales/ru/grid.json":r0,"./locales/ru/legend.json":i0,"./locales/ru/messages.json":l0,"./locales/ru/options.json":c0,"./locales/ru/popup.json":u0,"./locales/ru/prayerLaps.json":p0,"./locales/ru/regions.json":d0,"./locales/ru/search.json":g0,"./locales/ru/studio.json":f0,"./locales/ru/tabs.json":h0,"./locales/ru/vision.json":m0,"./locales/zh/allPeopleGroups.json":b0,"./locales/zh/aria.json":$0,"./locales/zh/buttons.json":y0,"./locales/zh/connectivity.json":_0,"./locales/zh/controls.json":v0,"./locales/zh/dashboard.json":w0,"./locales/zh/detail.json":k0,"./locales/zh/gospel.json":x0,"./locales/zh/grid.json":L0,"./locales/zh/legend.json":A0,"./locales/zh/messages.json":S0,"./locales/zh/options.json":P0,"./locales/zh/popup.json":C0,"./locales/zh/prayerLaps.json":E0,"./locales/zh/regions.json":T0,"./locales/zh/search.json":N0,"./locales/zh/studio.json":R0,"./locales/zh/tabs.json":M0,"./locales/zh/vision.json":F0}),Mn={};for(const[e,t]of Object.entries(j1)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;Mn[n]??(Mn[n]={}),Mn[n][a]=t}Mn.en;const ss=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],z1=new Set(["ar"]);function Kd(){var n;const e=(()=>{try{const a=new URLSearchParams(window.location.search);return(a.get("lang")||a.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}})();if(ss.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return ss.includes(o)?o:"en"}function U1(){const e=Kd();try{z1.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const t=E1({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Mn,missingWarn:!1,fallbackWarn:!1});Me(t.global.locale,n=>qd(n),{immediate:!0});const o=t.install.bind(t);return t.install=(n,...a)=>{const s=o(n,...a);return n.provide("appI18n",t),s},t}const Hd="__DOXA_PAGE_LOCALE";function qd(e){const t=String(e||"").split("-")[0].toLowerCase();if(ss.includes(t))try{typeof window<"u"&&(window[Hd]=t)}catch{}}function V1(){try{return typeof window<"u"&&window[Hd]||""}catch{return""}}function rs(e,t){const o=a=>{let s=Mn[a];for(const r of String(e).split(".")){if(!s||typeof s!="object")return;s=s[r]}return typeof s=="string"?s:void 0},n=t||V1()||Kd();return o(n)??o("en")}function kt(e,t){const o=t||K1(e);ao(()=>{var i;const n=po();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,s.appendChild(r)})}function K1(e){let t=0;for(let o=0;ot[g]||g,n=()=>!1;try{const g=mt();o=g.t,n=g.te}catch{}const a=Te("uiStore",null),s=Te("profileConfig",null),r=ee(()=>(a==null?void 0:a.theme)==="dark"),i=ee(()=>{var T;const g=(T=s==null?void 0:s.value)==null?void 0:T.pinHintLabel;if(g)return g;const _="Tap a coloured dot — someone still needs prayer";try{return n("messages.pinHint.tapDot")?o("messages.pinHint.tapDot"):_}catch{return _}}),l=ge(!1),c=ge(null);let u=null,p=null,d=null,A=null,k=null,f=null,w=[],y=null,h=null;function $(){l.value=!1}function x(g,_){var B;let T=g==null?void 0:g.parentElement;for(let V=0;T&&V<12;V++,T=T.parentElement){if(T===_||(B=T.classList)!=null&&B.contains("profile-loader"))return null;let j="";try{j=getComputedStyle(T).position}catch{}if(j&&j!=="static"){const G=T.getBoundingClientRect();if(G.height>=120&&G.width>=160)return T}}return null}function E(g){var T;const _=(T=A==null?void 0:A.querySelector)==null?void 0:T.call(A,".legend-mobile-sheet");if(!_)return 1/0;if(k&&f!==_){try{k.disconnect()}catch{}k=null}if(!k&&typeof ResizeObserver<"u")try{k=new ResizeObserver(()=>m()),k.observe(_),f=_}catch{k=null}try{const B=_.getBoundingClientRect();return!(B.height>16)||!(B.width>16)||g.right<=B.left||B.right<=g.left?1/0:B.top}catch{return 1/0}}function m(){const g=c.value;if(g)try{g.style.removeProperty("--pin-hint-lift");const _=g.getBoundingClientRect();if(!_.height)return;const T=Math.min(window.innerHeight,E(_)),B=Math.round(_.bottom-T);B>0&&g.style.setProperty("--pin-hint-lift",B+8+"px")}catch{}}function b(g){const _=c.value;if(!_||!(g!=null&&g.querySelector))return;let T=0;try{const V=g.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(V){const j=V.getBoundingClientRect(),G=_.parentElement,C=G?G.getBoundingClientRect():null;if(T=C?Math.max(j.height||0,C.bottom-j.top):j.height||0,h!==V&&typeof ResizeObserver<"u"){if(d)try{d.disconnect()}catch{}h=V,d=new ResizeObserver(()=>b(g)),d.observe(V)}}}catch{}const B=Math.min(Math.max(Math.ceil(T)||20,20),72);_.style.setProperty("--pin-hint-attrib-clear",B+"px"),m()}return ao(()=>{var B,V,j;const g=po(),_=(j=(V=(B=g==null?void 0:g.proxy)==null?void 0:B.$el)==null?void 0:V.getRootNode)==null?void 0:j.call(V);if(!_||typeof _.querySelector!="function")return;A=_;let T=0;u=setInterval(()=>{T++;const G=_.querySelector("canvas");G?(clearInterval(u),u=null,l.value=!0,Mt(()=>{const C=x(G,_),L=c.value;if(C&&L&&L.parentElement!==C)try{C.appendChild(L),p=C}catch{}b(_),m(),w.push(setTimeout(m,1200),setTimeout(m,3e3),setTimeout(m,6e3));try{const M=c.value&&c.value.offsetParent||null;if(M&&typeof ResizeObserver<"u"){if(y)try{y.disconnect()}catch{}y=new ResizeObserver(()=>m()),y.observe(M)}}catch{}})):T>40&&(clearInterval(u),u=null)},300)}),qt(()=>{var g;if(u&&clearInterval(u),d){try{d.disconnect()}catch{}d=null}if(h=null,y){try{y.disconnect()}catch{}y=null}if(k){try{k.disconnect()}catch{}k=null}f=null;for(const _ of w)clearTimeout(_);if(w=[],A=null,p&&((g=c.value)==null?void 0:g.parentElement)===p)try{p.removeChild(c.value)}catch{}p=null}),kt(` + */const b1="9.14.5";function $1(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Xo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Xo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Xo().__INTLIFY_PROD_DEVTOOLS__=!1)}const y1=Xv.__EXTEND_POINT__,Jo=ur(y1);Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo();const Ad=ho.__EXTEND_POINT__,Vt=ur(Ad),wt={UNEXPECTED_RETURN_TYPE:Ad,INVALID_ARGUMENT:Vt(),MUST_BE_CALL_SETUP_TOP:Vt(),NOT_INSTALLED:Vt(),NOT_AVAILABLE_IN_LEGACY_MODE:Vt(),REQUIRED_VALUE:Vt(),INVALID_VALUE:Vt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vt(),NOT_INSTALLED_WITH_PROVIDE:Vt(),UNEXPECTED_ERROR:Vt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vt(),BRIDGE_SUPPORT_VUE_2_ONLY:Vt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vt(),__EXTEND_POINT__:Vt()};function Lt(e,...t){return aa(e,null,void 0)}const Ji=dn("__translateVNode"),Qi=dn("__datetimeParts"),el=dn("__numberParts"),Sd=dn("__setPluralRules"),Pd=dn("__injectWithOption"),tl=dn("__dispose");function as(e){if(!Xe(e)||So(e))return e;for(const t in e)if(go(e,t))if(!t.includes("."))Xe(e[t])&&as(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,s=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||nt(),dr(c,r[l])):dr(c,r)}else Le(i)&&dr(JSON.parse(i),r)}),a==null&&s)for(const i in r)go(r,i)&&as(r[i]);return r}function Cd(e){return e.type}function Ed(e,t,o){let n=Xe(t.messages)?t.messages:nt();"__i18nGlobal"in o&&(n=mr(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(Xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function Td(e){return et(Ua,null,e,0)}const Nd="__INTLIFY_META__",Rd=()=>[],_1=()=>!1;let Md=0;function Fd(e){return(t,o,n,a)=>e(o,n,po()||void 0,a)}const v1=()=>{const e=po();let t=null;return e&&(t=Cd(e)[Nd])?{[Nd]:t}:null};function ol(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,s=e.flatJson,r=lr?ge:Ea,i=!!e.translateExistCompatible;let l=Ue(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:Le(e.locale)?e.locale:ia),u=r(o&&l?o.fallbackLocale.value:Le(e.fallbackLocale)||dt(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=r(mr(c.value,e)),d=r(je(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),A=r(je(e.numberFormats)?e.numberFormats:{[c.value]:{}});let k=o?o.missingWarn:Ue(e.missingWarn)||gn(e.missingWarn)?e.missingWarn:!0,f=o?o.fallbackWarn:Ue(e.fallbackWarn)||gn(e.fallbackWarn)?e.fallbackWarn:!0,w=o?o.fallbackRoot:Ue(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,h=it(e.missing)?e.missing:null,$=it(e.missing)?Fd(e.missing):null,x=it(e.postTranslation)?e.postTranslation:null,E=o?o.warnHtmlMessage:Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const b=o?o.modifiers:je(e.modifiers)?e.modifiers:{};let g=e.pluralRules||o&&o.pluralRules,_;_=(()=>{a&&pd(null);const Y={version:b1,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:b,pluralRules:g,missing:$===null?void 0:$,missingWarn:k,fallbackWarn:f,fallbackFormat:y,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:E,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};Y.datetimeFormats=d.value,Y.numberFormats=A.value,Y.__datetimeFormatters=je(_)?_.__datetimeFormatters:void 0,Y.__numberFormatters=je(_)?_.__numberFormatters:void 0;const ie=i1(Y);return a&&pd(ie),ie})(),ns(_,c.value,u.value);function B(){return[c.value,u.value,p.value,d.value,A.value]}const V=ee({get:()=>c.value,set:Y=>{c.value=Y,_.locale=c.value}}),j=ee({get:()=>u.value,set:Y=>{u.value=Y,_.fallbackLocale=u.value,ns(_,c.value,Y)}}),G=ee(()=>p.value),C=ee(()=>d.value),L=ee(()=>A.value);function M(){return it(x)?x:null}function z(Y){x=Y,_.postTranslation=Y}function K(){return h}function J(Y){Y!==null&&($=Fd(Y)),h=Y,_.missing=$}const ce=(Y,ie,_e,Ne,He,lt)=>{B();let tt;try{__INTLIFY_PROD_DEVTOOLS__,a||(_.fallbackContext=o?r1():void 0),tt=Y(_)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(_.fallbackContext=void 0)}if(_e!=="translate exists"&&$t(tt)&&tt===hr||_e==="translate exists"&&!tt){const[q,ae]=ie();return o&&w?Ne(o):He(q)}else{if(lt(tt))return tt;throw Lt(wt.UNEXPECTED_RETURN_TYPE)}};function H(...Y){return ce(ie=>Reflect.apply(bd,null,[ie,...Y]),()=>Yi(...Y),"translate",ie=>Reflect.apply(ie.t,ie,[...Y]),ie=>ie,ie=>Le(ie))}function be(...Y){const[ie,_e,Ne]=Y;if(Ne&&!Xe(Ne))throw Lt(wt.INVALID_ARGUMENT);return H(ie,_e,Tt({resolvedMessage:!0},Ne||{}))}function ve(...Y){return ce(ie=>Reflect.apply(_d,null,[ie,...Y]),()=>Xi(...Y),"datetime format",ie=>Reflect.apply(ie.d,ie,[...Y]),()=>nd,ie=>Le(ie))}function he(...Y){return ce(ie=>Reflect.apply(kd,null,[ie,...Y]),()=>Zi(...Y),"number format",ie=>Reflect.apply(ie.n,ie,[...Y]),()=>nd,ie=>Le(ie))}function Ae(Y){return Y.map(ie=>Le(ie)||$t(ie)||Ue(ie)?Td(String(ie)):ie)}const oe={normalize:Ae,interpolate:Y=>Y,type:"vnode"};function fe(...Y){return ce(ie=>{let _e;const Ne=ie;try{Ne.processor=oe,_e=Reflect.apply(bd,null,[Ne,...Y])}finally{Ne.processor=null}return _e},()=>Yi(...Y),"translate",ie=>ie[Ji](...Y),ie=>[Td(ie)],ie=>dt(ie))}function pe(...Y){return ce(ie=>Reflect.apply(kd,null,[ie,...Y]),()=>Zi(...Y),"number format",ie=>ie[el](...Y),Rd,ie=>Le(ie)||dt(ie))}function Se(...Y){return ce(ie=>Reflect.apply(_d,null,[ie,...Y]),()=>Xi(...Y),"datetime format",ie=>ie[Qi](...Y),Rd,ie=>Le(ie)||dt(ie))}function P(Y){g=Y,_.pluralRules=g}function O(Y,ie){return ce(()=>{if(!Y)return!1;const _e=Le(ie)?ie:c.value,Ne=Q(_e),He=_.messageResolver(Ne,Y);return i?He!=null:So(He)||so(He)||Le(He)},()=>[Y],"translate exists",_e=>Reflect.apply(_e.te,_e,[Y,ie]),_1,_e=>Ue(_e))}function I(Y){let ie=null;const _e=td(_,u.value,c.value);for(let Ne=0;Ne<_e.length;Ne++){const He=p.value[_e[Ne]]||{},lt=_.messageResolver(He,Y);if(lt!=null){ie=lt;break}}return ie}function X(Y){const ie=I(Y);return ie??(o?o.tm(Y)||{}:{})}function Q(Y){return p.value[Y]||{}}function U(Y,ie){if(s){const _e={[Y]:ie};for(const Ne in _e)go(_e,Ne)&&as(_e[Ne]);ie=_e[Y]}p.value[Y]=ie,_.messages=p.value}function de(Y,ie){p.value[Y]=p.value[Y]||{};const _e={[Y]:ie};if(s)for(const Ne in _e)go(_e,Ne)&&as(_e[Ne]);ie=_e[Y],dr(ie,p.value[Y]),_.messages=p.value}function ne(Y){return d.value[Y]||{}}function v(Y,ie){d.value[Y]=ie,_.datetimeFormats=d.value,wd(_,Y,ie)}function S(Y,ie){d.value[Y]=Tt(d.value[Y]||{},ie),_.datetimeFormats=d.value,wd(_,Y,ie)}function D(Y){return A.value[Y]||{}}function te(Y,ie){A.value[Y]=ie,_.numberFormats=A.value,Ld(_,Y,ie)}function me(Y,ie){A.value[Y]=Tt(A.value[Y]||{},ie),_.numberFormats=A.value,Ld(_,Y,ie)}Md++,o&&lr&&(Me(o.locale,Y=>{l&&(c.value=Y,_.locale=Y,ns(_,c.value,u.value))}),Me(o.fallbackLocale,Y=>{l&&(u.value=Y,_.fallbackLocale=Y,ns(_,c.value,u.value))}));const le={id:Md,locale:V,fallbackLocale:j,get inheritLocale(){return l},set inheritLocale(Y){l=Y,Y&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,ns(_,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:G,get modifiers(){return b},get pluralRules(){return g||{}},get isGlobal(){return a},get missingWarn(){return k},set missingWarn(Y){k=Y,_.missingWarn=k},get fallbackWarn(){return f},set fallbackWarn(Y){f=Y,_.fallbackWarn=f},get fallbackRoot(){return w},set fallbackRoot(Y){w=Y},get fallbackFormat(){return y},set fallbackFormat(Y){y=Y,_.fallbackFormat=y},get warnHtmlMessage(){return E},set warnHtmlMessage(Y){E=Y,_.warnHtmlMessage=Y},get escapeParameter(){return m},set escapeParameter(Y){m=Y,_.escapeParameter=Y},t:H,getLocaleMessage:Q,setLocaleMessage:U,mergeLocaleMessage:de,getPostTranslationHandler:M,setPostTranslationHandler:z,getMissingHandler:K,setMissingHandler:J,[Sd]:P};return le.datetimeFormats=C,le.numberFormats=L,le.rt=be,le.te=O,le.tm=X,le.d=ve,le.n=he,le.getDateTimeFormat=ne,le.setDateTimeFormat=v,le.mergeDateTimeFormat=S,le.getNumberFormat=D,le.setNumberFormat=te,le.mergeNumberFormat=me,le[Pd]=n,le[Ji]=fe,le[Qi]=Se,le[el]=pe,le}function w1(e){const t=Le(e.locale)?e.locale:ia,o=Le(e.fallbackLocale)||dt(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=it(e.missing)?e.missing:void 0,a=Ue(e.silentTranslationWarn)||gn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ue(e.silentFallbackWarn)||gn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Ue(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=je(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=it(e.postTranslation)?e.postTranslation:void 0,p=Le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,A=Ue(e.sync)?e.sync:!0;let k=e.messages;if(je(e.sharedMessages)){const m=e.sharedMessages;k=Object.keys(m).reduce((g,_)=>{const T=g[_]||(g[_]={});return Tt(T,m[_]),g},k||{})}const{__i18n:f,__root:w,__injectWithOption:y}=e,h=e.datetimeFormats,$=e.numberFormats,x=e.flatJson,E=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:k,flatJson:x,datetimeFormats:h,numberFormats:$,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:A,translateExistCompatible:E,__i18n:f,__root:w,__injectWithOption:y}}function nl(e={},t){{const o=ol(w1(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(s){o.locale.value=s},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(s){o.fallbackLocale.value=s},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return o.getMissingHandler()},set missing(s){o.setMissingHandler(s)},get silentTranslationWarn(){return Ue(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(s){o.missingWarn=Ue(s)?!s:s},get silentFallbackWarn(){return Ue(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(s){o.fallbackWarn=Ue(s)?!s:s},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(s){o.fallbackFormat=s},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(s){o.setPostTranslationHandler(s)},get sync(){return o.inheritLocale},set sync(s){o.inheritLocale=s},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){o.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(s){o.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...s){const[r,i,l]=s,c={};let u=null,p=null;if(!Le(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return Le(i)?c.locale=i:dt(i)?u=i:je(i)&&(p=i),dt(l)?u=l:je(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},rt(...s){return Reflect.apply(o.rt,o,[...s])},tc(...s){const[r,i,l]=s,c={plural:1};let u=null,p=null;if(!Le(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return Le(i)?c.locale=i:$t(i)?c.plural=i:dt(i)?u=i:je(i)&&(p=i),Le(l)?c.locale=l:dt(l)?u=l:je(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},te(s,r){return o.te(s,r)},tm(s){return o.tm(s)},getLocaleMessage(s){return o.getLocaleMessage(s)},setLocaleMessage(s,r){o.setLocaleMessage(s,r)},mergeLocaleMessage(s,r){o.mergeLocaleMessage(s,r)},d(...s){return Reflect.apply(o.d,o,[...s])},getDateTimeFormat(s){return o.getDateTimeFormat(s)},setDateTimeFormat(s,r){o.setDateTimeFormat(s,r)},mergeDateTimeFormat(s,r){o.mergeDateTimeFormat(s,r)},n(...s){return Reflect.apply(o.n,o,[...s])},getNumberFormat(s){return o.getNumberFormat(s)},setNumberFormat(s,r){o.setNumberFormat(s,r)},mergeNumberFormat(s,r){o.mergeNumberFormat(s,r)},getChoiceIndex(s,r){return-1}};return a.__extender=n,a}}const al={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function k1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===ze?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},nt())}function Id(e){return ze}const Od=Oa({name:"i18n-t",props:Tt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>$t(e)||!isNaN(e)}},al),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||mt({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(o).filter(p=>p!=="_"),r=nt();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=Le(e.plural)?+e.plural:e.plural);const i=k1(t,s),l=a[Ji](e.keypath,i,r),c=Tt(nt(),n),u=Le(e.tag)||Xe(e.tag)?e.tag:Id();return Ai(u,c,l)}}});function x1(e){return dt(e)&&!Le(e[0])}function Dd(e,t,o,n){const{slots:a,attrs:s}=t;return()=>{const r={part:!0};let i=nt();e.locale&&(r.locale=e.locale),Le(e.format)?r.key=e.format:Xe(e.format)&&(Le(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((d,A)=>o.includes(A)?Tt(nt(),d,{[A]:e.format[A]}):d,nt()));const l=n(e.value,r,i);let c=[r.key];dt(l)?c=l.map((d,A)=>{const k=a[d.type],f=k?k({[d.type]:d.value,index:A,parts:l}):[d.value];return x1(f)&&(f[0].key=`${d.type}-${A}`),f}):Le(l)&&(c=[l]);const u=Tt(nt(),s),p=Le(e.tag)||Xe(e.tag)?e.tag:Id();return Ai(p,u,c)}}const Bd=Oa({name:"i18n-n",props:Tt({value:{type:Number,required:!0},format:{type:[String,Object]}},al),setup(e,t){const o=e.i18n||mt({useScope:e.scope,__useComponent:!0});return Dd(e,t,xd,(...n)=>o[el](...n))}}),Gd=Oa({name:"i18n-d",props:Tt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},al),setup(e,t){const o=e.i18n||mt({useScope:e.scope,__useComponent:!0});return Dd(e,t,vd,(...n)=>o[Qi](...n))}});function L1(e,t){const o=e;if(e.mode==="composition")return o.__getInstance(t)||e.global;{const n=o.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function A1(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw Lt(wt.UNEXPECTED_ERROR);const u=L1(e,i.$),p=jd(c);return[Reflect.apply(u.t,u,[...zd(p)]),u]};return{created:(r,i)=>{const[l,c]=t(i);lr&&e.global===c&&(r.__i18nWatcher=Me(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{lr&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=jd(i);r.textContent=Reflect.apply(l.t,l,[...zd(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function jd(e){if(Le(e))return{path:e};if(je(e)){if(!("path"in e))throw Lt(wt.REQUIRED_VALUE,"path");return e}else throw Lt(wt.INVALID_VALUE)}function zd(e){const{path:t,locale:o,args:n,choice:a,plural:s}=e,r={},i=n||{};return Le(o)&&(r.locale=o),$t(a)&&(r.plural=a),$t(s)&&(r.plural=s),[t,i,r]}function S1(e,t,...o){const n=je(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Ue(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Od.name,"I18nT"].forEach(r=>e.component(r,Od)),[Bd.name,"I18nN"].forEach(r=>e.component(r,Bd)),[Gd.name,"I18nD"].forEach(r=>e.component(r,Gd))),e.directive("t",A1(t))}function P1(e,t,o){return{beforeCreate(){const n=po();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=Ud(e,s);else{s.__injectWithOption=!0,s.__extender=o.__vueI18nExtend,this.$i18n=nl(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Ud(e,a);else{this.$i18n=nl({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ed(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=po();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Ud(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Sd](t.pluralizationRules||e.pluralizationRules);const o=mr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(n=>e.mergeLocaleMessage(n,o[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const C1=dn("global-vue-i18n");function E1(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ue(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ue(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,s=new Map,[r,i]=T1(e,o),l=dn("");function c(d){return s.get(d)||null}function u(d,A){s.set(d,A)}function p(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(A,...k){if(A.__VUE_I18N_SYMBOL__=l,A.provide(A.__VUE_I18N_SYMBOL__,d),je(k[0])){const y=k[0];d.__composerExtend=y.__composerExtend,d.__vueI18nExtend=y.__vueI18nExtend}let f=null;!o&&n&&(f=G1(A,d.global)),__VUE_I18N_FULL_INSTALL__&&S1(A,d,...k),__VUE_I18N_LEGACY_API__&&o&&A.mixin(P1(i,i.__composer,d));const w=A.unmount;A.unmount=()=>{f&&f(),d.dispose(),w()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:p};return d}}function mt(e={}){const t=po();if(t==null)throw Lt(wt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(wt.NOT_INSTALLED);const o=N1(t),n=M1(o),a=Cd(t),s=R1(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Lt(wt.NOT_AVAILABLE_IN_LEGACY_MODE);return D1(t,s,n,e)}if(s==="global")return Ed(n,e,a),n;if(s==="parent"){let l=F1(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=Tt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=ol(l),r.__composerExtend&&(i[tl]=r.__composerExtend(i)),O1(r,t,i),r.__setInstance(t,i)}return i}function T1(e,t,o){const n=Zr();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>nl(e)):n.run(()=>ol(e));if(a==null)throw Lt(wt.UNEXPECTED_ERROR);return[n,a]}}function N1(e){{const t=Te(e.isCE?C1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?wt.NOT_INSTALLED_WITH_PROVIDE:wt.UNEXPECTED_ERROR);return t}}function R1(e,t){return cr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function M1(e){return e.mode==="composition"?e.global:e.global.__composer}function F1(e,t,o=!1){let n=null;const a=t.root;let s=I1(t,o);for(;s!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(s);i!=null&&(n=i.__composer,o&&n&&!n[Pd]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function I1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function O1(e,t,o){ao(()=>{},t),Ga(()=>{const n=o;e.__deleteInstance(t);const a=n[tl];a&&(a(),delete n[tl])},t)}function D1(e,t,o,n={}){const a=t==="local",s=Ea(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Lt(wt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ue(n.inheritLocale)?n.inheritLocale:!Le(n.locale),i=ge(!a||r?o.locale.value:Le(n.locale)?n.locale:ia),l=ge(!a||r?o.fallbackLocale.value:Le(n.fallbackLocale)||dt(n.fallbackLocale)||je(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ge(mr(i.value,n)),u=ge(je(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=ge(je(n.numberFormats)?n.numberFormats:{[i.value]:{}}),d=a?o.missingWarn:Ue(n.missingWarn)||gn(n.missingWarn)?n.missingWarn:!0,A=a?o.fallbackWarn:Ue(n.fallbackWarn)||gn(n.fallbackWarn)?n.fallbackWarn:!0,k=a?o.fallbackRoot:Ue(n.fallbackRoot)?n.fallbackRoot:!0,f=!!n.fallbackFormat,w=it(n.missing)?n.missing:null,y=it(n.postTranslation)?n.postTranslation:null,h=a?o.warnHtmlMessage:Ue(n.warnHtmlMessage)?n.warnHtmlMessage:!0,$=!!n.escapeParameter,x=a?o.modifiers:je(n.modifiers)?n.modifiers:{},E=n.pluralRules||a&&o.pluralRules;function m(){return[i.value,l.value,c.value,u.value,p.value]}const b=ee({get:()=>s.value?s.value.locale.value:i.value,set:I=>{s.value&&(s.value.locale.value=I),i.value=I}}),g=ee({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:I=>{s.value&&(s.value.fallbackLocale.value=I),l.value=I}}),_=ee(()=>s.value?s.value.messages.value:c.value),T=ee(()=>u.value),B=ee(()=>p.value);function V(){return s.value?s.value.getPostTranslationHandler():y}function j(I){s.value&&s.value.setPostTranslationHandler(I)}function G(){return s.value?s.value.getMissingHandler():w}function C(I){s.value&&s.value.setMissingHandler(I)}function L(I){return m(),I()}function M(...I){return s.value?L(()=>Reflect.apply(s.value.t,null,[...I])):L(()=>"")}function z(...I){return s.value?Reflect.apply(s.value.rt,null,[...I]):""}function K(...I){return s.value?L(()=>Reflect.apply(s.value.d,null,[...I])):L(()=>"")}function J(...I){return s.value?L(()=>Reflect.apply(s.value.n,null,[...I])):L(()=>"")}function ce(I){return s.value?s.value.tm(I):{}}function H(I,X){return s.value?s.value.te(I,X):!1}function be(I){return s.value?s.value.getLocaleMessage(I):{}}function ve(I,X){s.value&&(s.value.setLocaleMessage(I,X),c.value[I]=X)}function he(I,X){s.value&&s.value.mergeLocaleMessage(I,X)}function Ae(I){return s.value?s.value.getDateTimeFormat(I):{}}function ye(I,X){s.value&&(s.value.setDateTimeFormat(I,X),u.value[I]=X)}function oe(I,X){s.value&&s.value.mergeDateTimeFormat(I,X)}function fe(I){return s.value?s.value.getNumberFormat(I):{}}function pe(I,X){s.value&&(s.value.setNumberFormat(I,X),p.value[I]=X)}function Se(I,X){s.value&&s.value.mergeNumberFormat(I,X)}const P={get id(){return s.value?s.value.id:-1},locale:b,fallbackLocale:g,messages:_,datetimeFormats:T,numberFormats:B,get inheritLocale(){return s.value?s.value.inheritLocale:r},set inheritLocale(I){s.value&&(s.value.inheritLocale=I)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:x},get pluralRules(){return s.value?s.value.pluralRules:E},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackWarn(){return s.value?s.value.fallbackWarn:A},set fallbackWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackRoot(){return s.value?s.value.fallbackRoot:k},set fallbackRoot(I){s.value&&(s.value.fallbackRoot=I)},get fallbackFormat(){return s.value?s.value.fallbackFormat:f},set fallbackFormat(I){s.value&&(s.value.fallbackFormat=I)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:h},set warnHtmlMessage(I){s.value&&(s.value.warnHtmlMessage=I)},get escapeParameter(){return s.value?s.value.escapeParameter:$},set escapeParameter(I){s.value&&(s.value.escapeParameter=I)},t:M,getPostTranslationHandler:V,setPostTranslationHandler:j,getMissingHandler:G,setMissingHandler:C,rt:z,d:K,n:J,tm:ce,te:H,getLocaleMessage:be,setLocaleMessage:ve,mergeLocaleMessage:he,getDateTimeFormat:Ae,setDateTimeFormat:ye,mergeDateTimeFormat:oe,getNumberFormat:fe,setNumberFormat:pe,mergeNumberFormat:Se};function O(I){I.locale.value=i.value,I.fallbackLocale.value=l.value,Object.keys(c.value).forEach(X=>{I.mergeLocaleMessage(X,c.value[X])}),Object.keys(u.value).forEach(X=>{I.mergeDateTimeFormat(X,u.value[X])}),Object.keys(p.value).forEach(X=>{I.mergeNumberFormat(X,p.value[X])}),I.escapeParameter=$,I.fallbackFormat=f,I.fallbackRoot=k,I.fallbackWarn=A,I.missingWarn=d,I.warnHtmlMessage=h}return fu(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Lt(wt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const I=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=I.locale.value,l.value=I.fallbackLocale.value,c.value=I.messages.value,u.value=I.datetimeFormats.value,p.value=I.numberFormats.value):a&&O(I)}),P}const B1=["locale","fallbackLocale","availableLocales"],Vd=["t","rt","d","n","tm","te"];function G1(e,t){const o=Object.create(null);return B1.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Lt(wt.UNEXPECTED_ERROR);const r=ut(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(o,a,r)}),e.config.globalProperties.$i18n=o,Vd.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Lt(wt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,Vd.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if($1(),__INTLIFY_JIT_COMPILATION__?rd(d1):rd(p1),o1(Iv),n1(td),__INTLIFY_PROD_DEVTOOLS__){const e=Xo();e.__INTLIFY__=!0,Kv(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const j1=Object.assign({"./locales/ar/allPeopleGroups.json":Ub,"./locales/ar/aria.json":Vb,"./locales/ar/buttons.json":Kb,"./locales/ar/connectivity.json":Hb,"./locales/ar/controls.json":qb,"./locales/ar/dashboard.json":Wb,"./locales/ar/detail.json":Yb,"./locales/ar/gospel.json":Xb,"./locales/ar/grid.json":Zb,"./locales/ar/legend.json":Jb,"./locales/ar/messages.json":Qb,"./locales/ar/options.json":e$,"./locales/ar/popup.json":t$,"./locales/ar/prayerLaps.json":o$,"./locales/ar/regions.json":n$,"./locales/ar/search.json":a$,"./locales/ar/studio.json":s$,"./locales/ar/tabs.json":r$,"./locales/ar/vision.json":i$,"./locales/de/allPeopleGroups.json":l$,"./locales/de/aria.json":c$,"./locales/de/buttons.json":u$,"./locales/de/connectivity.json":p$,"./locales/de/controls.json":d$,"./locales/de/dashboard.json":g$,"./locales/de/detail.json":f$,"./locales/de/gospel.json":h$,"./locales/de/grid.json":m$,"./locales/de/legend.json":b$,"./locales/de/messages.json":$$,"./locales/de/options.json":y$,"./locales/de/popup.json":_$,"./locales/de/prayerLaps.json":v$,"./locales/de/regions.json":w$,"./locales/de/search.json":k$,"./locales/de/studio.json":x$,"./locales/de/tabs.json":L$,"./locales/de/vision.json":A$,"./locales/en/allPeopleGroups.json":S$,"./locales/en/aria.json":P$,"./locales/en/buttons.json":C$,"./locales/en/connectivity.json":E$,"./locales/en/controls.json":T$,"./locales/en/dashboard.json":N$,"./locales/en/detail.json":R$,"./locales/en/gospel.json":M$,"./locales/en/grid.json":F$,"./locales/en/legend.json":I$,"./locales/en/messages.json":O$,"./locales/en/options.json":D$,"./locales/en/popup.json":B$,"./locales/en/prayerLaps.json":G$,"./locales/en/regions.json":j$,"./locales/en/search.json":z$,"./locales/en/studio.json":U$,"./locales/en/tabs.json":V$,"./locales/en/vision.json":K$,"./locales/es/allPeopleGroups.json":H$,"./locales/es/aria.json":q$,"./locales/es/buttons.json":W$,"./locales/es/connectivity.json":Y$,"./locales/es/controls.json":X$,"./locales/es/dashboard.json":Z$,"./locales/es/detail.json":J$,"./locales/es/gospel.json":Q$,"./locales/es/grid.json":ey,"./locales/es/legend.json":ty,"./locales/es/messages.json":oy,"./locales/es/options.json":ny,"./locales/es/popup.json":ay,"./locales/es/prayerLaps.json":sy,"./locales/es/regions.json":ry,"./locales/es/search.json":iy,"./locales/es/studio.json":ly,"./locales/es/tabs.json":cy,"./locales/es/vision.json":uy,"./locales/fr/allPeopleGroups.json":py,"./locales/fr/aria.json":dy,"./locales/fr/buttons.json":gy,"./locales/fr/connectivity.json":fy,"./locales/fr/controls.json":hy,"./locales/fr/dashboard.json":my,"./locales/fr/detail.json":by,"./locales/fr/gospel.json":$y,"./locales/fr/grid.json":yy,"./locales/fr/legend.json":_y,"./locales/fr/messages.json":vy,"./locales/fr/options.json":wy,"./locales/fr/popup.json":ky,"./locales/fr/prayerLaps.json":xy,"./locales/fr/regions.json":Ly,"./locales/fr/search.json":Ay,"./locales/fr/studio.json":Sy,"./locales/fr/tabs.json":Py,"./locales/fr/vision.json":Cy,"./locales/hi/allPeopleGroups.json":Ey,"./locales/hi/aria.json":Ty,"./locales/hi/buttons.json":Ny,"./locales/hi/connectivity.json":Ry,"./locales/hi/controls.json":My,"./locales/hi/dashboard.json":Fy,"./locales/hi/detail.json":Iy,"./locales/hi/gospel.json":Oy,"./locales/hi/grid.json":Dy,"./locales/hi/legend.json":By,"./locales/hi/messages.json":Gy,"./locales/hi/options.json":jy,"./locales/hi/popup.json":zy,"./locales/hi/prayerLaps.json":Uy,"./locales/hi/regions.json":Vy,"./locales/hi/search.json":Ky,"./locales/hi/studio.json":Hy,"./locales/hi/tabs.json":qy,"./locales/hi/vision.json":Wy,"./locales/it/allPeopleGroups.json":Yy,"./locales/it/aria.json":Xy,"./locales/it/buttons.json":Zy,"./locales/it/connectivity.json":Jy,"./locales/it/controls.json":Qy,"./locales/it/dashboard.json":e_,"./locales/it/detail.json":t_,"./locales/it/gospel.json":o_,"./locales/it/grid.json":n_,"./locales/it/legend.json":a_,"./locales/it/messages.json":s_,"./locales/it/options.json":r_,"./locales/it/popup.json":i_,"./locales/it/prayerLaps.json":l_,"./locales/it/regions.json":c_,"./locales/it/search.json":u_,"./locales/it/studio.json":p_,"./locales/it/tabs.json":d_,"./locales/it/vision.json":g_,"./locales/pt/allPeopleGroups.json":f_,"./locales/pt/aria.json":h_,"./locales/pt/buttons.json":m_,"./locales/pt/connectivity.json":b_,"./locales/pt/controls.json":$_,"./locales/pt/dashboard.json":y_,"./locales/pt/detail.json":__,"./locales/pt/gospel.json":v_,"./locales/pt/grid.json":w_,"./locales/pt/legend.json":k_,"./locales/pt/messages.json":x_,"./locales/pt/options.json":L_,"./locales/pt/popup.json":A_,"./locales/pt/prayerLaps.json":S_,"./locales/pt/regions.json":P_,"./locales/pt/search.json":C_,"./locales/pt/studio.json":E_,"./locales/pt/tabs.json":T_,"./locales/pt/vision.json":N_,"./locales/ro/allPeopleGroups.json":R_,"./locales/ro/aria.json":M_,"./locales/ro/buttons.json":F_,"./locales/ro/connectivity.json":I_,"./locales/ro/controls.json":O_,"./locales/ro/dashboard.json":D_,"./locales/ro/detail.json":B_,"./locales/ro/gospel.json":G_,"./locales/ro/grid.json":j_,"./locales/ro/legend.json":z_,"./locales/ro/messages.json":U_,"./locales/ro/options.json":V_,"./locales/ro/popup.json":K_,"./locales/ro/prayerLaps.json":H_,"./locales/ro/regions.json":q_,"./locales/ro/search.json":W_,"./locales/ro/studio.json":Y_,"./locales/ro/tabs.json":X_,"./locales/ro/vision.json":Z_,"./locales/ru/allPeopleGroups.json":J_,"./locales/ru/aria.json":Q_,"./locales/ru/buttons.json":e0,"./locales/ru/connectivity.json":t0,"./locales/ru/controls.json":o0,"./locales/ru/dashboard.json":n0,"./locales/ru/detail.json":a0,"./locales/ru/gospel.json":s0,"./locales/ru/grid.json":r0,"./locales/ru/legend.json":i0,"./locales/ru/messages.json":l0,"./locales/ru/options.json":c0,"./locales/ru/popup.json":u0,"./locales/ru/prayerLaps.json":p0,"./locales/ru/regions.json":d0,"./locales/ru/search.json":g0,"./locales/ru/studio.json":f0,"./locales/ru/tabs.json":h0,"./locales/ru/vision.json":m0,"./locales/zh/allPeopleGroups.json":b0,"./locales/zh/aria.json":$0,"./locales/zh/buttons.json":y0,"./locales/zh/connectivity.json":_0,"./locales/zh/controls.json":v0,"./locales/zh/dashboard.json":w0,"./locales/zh/detail.json":k0,"./locales/zh/gospel.json":x0,"./locales/zh/grid.json":L0,"./locales/zh/legend.json":A0,"./locales/zh/messages.json":S0,"./locales/zh/options.json":P0,"./locales/zh/popup.json":C0,"./locales/zh/prayerLaps.json":E0,"./locales/zh/regions.json":T0,"./locales/zh/search.json":N0,"./locales/zh/studio.json":R0,"./locales/zh/tabs.json":M0,"./locales/zh/vision.json":F0}),Mn={};for(const[e,t]of Object.entries(j1)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;Mn[n]??(Mn[n]={}),Mn[n][a]=t}Mn.en;const ss=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],z1=new Set(["ar"]);function U1(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function Kd(){var n;const e=U1();if(ss.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return ss.includes(o)?o:"en"}function V1(){const e=Kd();try{z1.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const t=E1({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Mn,missingWarn:!1,fallbackWarn:!1});Me(t.global.locale,n=>qd(n),{immediate:!0});const o=t.install.bind(t);return t.install=(n,...a)=>{const s=o(n,...a);return n.provide("appI18n",t),s},t}const Hd="__DOXA_PAGE_LOCALE";function qd(e){const t=String(e||"").split("-")[0].toLowerCase();if(ss.includes(t))try{typeof window<"u"&&(window[Hd]=t)}catch{}}function K1(){try{return typeof window<"u"&&window[Hd]||""}catch{return""}}function rs(e,t){const o=a=>{let s=Mn[a];for(const r of String(e).split(".")){if(!s||typeof s!="object")return;s=s[r]}return typeof s=="string"?s:void 0},n=t||K1()||Kd();return o(n)??o("en")}function kt(e,t){const o=t||H1(e);ao(()=>{var i;const n=po();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,s.appendChild(r)})}function H1(e){let t=0;for(let o=0;ot[g]||g,n=()=>!1;try{const g=mt();o=g.t,n=g.te}catch{}const a=Te("uiStore",null),s=Te("profileConfig",null),r=ee(()=>(a==null?void 0:a.theme)==="dark"),i=ee(()=>{var T;const g=(T=s==null?void 0:s.value)==null?void 0:T.pinHintLabel;if(g)return g;const _="Tap a coloured dot — someone still needs prayer";try{return n("messages.pinHint.tapDot")?o("messages.pinHint.tapDot"):_}catch{return _}}),l=ge(!1),c=ge(null);let u=null,p=null,d=null,A=null,k=null,f=null,w=[],y=null,h=null;function $(){l.value=!1}function x(g,_){var B;let T=g==null?void 0:g.parentElement;for(let V=0;T&&V<12;V++,T=T.parentElement){if(T===_||(B=T.classList)!=null&&B.contains("profile-loader"))return null;let j="";try{j=getComputedStyle(T).position}catch{}if(j&&j!=="static"){const G=T.getBoundingClientRect();if(G.height>=120&&G.width>=160)return T}}return null}function E(g){var T;const _=(T=A==null?void 0:A.querySelector)==null?void 0:T.call(A,".legend-mobile-sheet");if(!_)return 1/0;if(k&&f!==_){try{k.disconnect()}catch{}k=null}if(!k&&typeof ResizeObserver<"u")try{k=new ResizeObserver(()=>m()),k.observe(_),f=_}catch{k=null}try{const B=_.getBoundingClientRect();return!(B.height>16)||!(B.width>16)||g.right<=B.left||B.right<=g.left?1/0:B.top}catch{return 1/0}}function m(){const g=c.value;if(g)try{g.style.removeProperty("--pin-hint-lift");const _=g.getBoundingClientRect();if(!_.height)return;const T=Math.min(window.innerHeight,E(_)),B=Math.round(_.bottom-T);B>0&&g.style.setProperty("--pin-hint-lift",B+8+"px")}catch{}}function b(g){const _=c.value;if(!_||!(g!=null&&g.querySelector))return;let T=0;try{const V=g.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(V){const j=V.getBoundingClientRect(),G=_.parentElement,C=G?G.getBoundingClientRect():null;if(T=C?Math.max(j.height||0,C.bottom-j.top):j.height||0,h!==V&&typeof ResizeObserver<"u"){if(d)try{d.disconnect()}catch{}h=V,d=new ResizeObserver(()=>b(g)),d.observe(V)}}}catch{}const B=Math.min(Math.max(Math.ceil(T)||20,20),72);_.style.setProperty("--pin-hint-attrib-clear",B+"px"),m()}return ao(()=>{var B,V,j;const g=po(),_=(j=(V=(B=g==null?void 0:g.proxy)==null?void 0:B.$el)==null?void 0:V.getRootNode)==null?void 0:j.call(V);if(!_||typeof _.querySelector!="function")return;A=_;let T=0;u=setInterval(()=>{T++;const G=_.querySelector("canvas");G?(clearInterval(u),u=null,l.value=!0,Mt(()=>{const C=x(G,_),L=c.value;if(C&&L&&L.parentElement!==C)try{C.appendChild(L),p=C}catch{}b(_),m(),w.push(setTimeout(m,1200),setTimeout(m,3e3),setTimeout(m,6e3));try{const M=c.value&&c.value.offsetParent||null;if(M&&typeof ResizeObserver<"u"){if(y)try{y.disconnect()}catch{}y=new ResizeObserver(()=>m()),y.observe(M)}}catch{}})):T>40&&(clearInterval(u),u=null)},300)}),qt(()=>{var g;if(u&&clearInterval(u),d){try{d.disconnect()}catch{}d=null}if(h=null,y){try{y.disconnect()}catch{}y=null}if(k){try{k.disconnect()}catch{}k=null}f=null;for(const _ of w)clearTimeout(_);if(w=[],A=null,p&&((g=c.value)==null?void 0:g.parentElement)===p)try{p.removeChild(c.value)}catch{}p=null}),kt(` .pin-hint { position: absolute; left: 50%; bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%); z-index: 2147482000; pointer-events: none; @@ -71,7 +71,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(g,_)=>l.value?(Z(),re("div",{key:0,ref_key:"hintEl",ref:c,class:Re(["pin-hint",{dark:r.value}]),role:"status"},[R("span",H1,[_[0]||(_[0]=R("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),bt(" "+$e(i.value)+" ",1),R("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:$},"×")])],2)):xe("",!0)}},br="mapbox://styles/mapbox/standard",W1=br,Y1=br,X1=!1,Wd={lightPreset:"night",theme:"default"},Z1={lightPreset:"day",theme:"monochrome"};function J1(e){return e?/affinity|region|language/i.test(String(e))?"light":"dark":null}function Q1(e){let t=!1;const o=new WeakSet;function n(){return!1}function a(){return n()?"night":"day"}let s="dark";function r(y){return J1(y)}function i(y,h){y!=="light"&&y!=="dark"||(s=y,h&&f(h))}function l(){return{...s==="light"?Z1:Wd}}function c(){return br}function u(){return{basemap:l()}}function p(y,h){try{return typeof y.getConfigProperty=="function"?y.getConfigProperty("basemap",h):void 0}catch{return}}function d(y){return!!y&&typeof y.setConfigProperty=="function"&&typeof y.getConfigProperty=="function"}function A(y,h=!1){if(!d(y))return!1;const $=l();let x=!1;try{for(const[E,m]of Object.entries($))!h&&p(y,E)===m||(y.setConfigProperty("basemap",E,m),x=!0)}catch(E){console.warn("[useMapTheme] setConfigProperty failed:",E)}return x}function k(y){if(!o.has(y)&&(o.add(y),!!d(y)))try{y.on("style.load",()=>A(y)),y.on("styledata",()=>A(y))}catch{}}function f(y){if(!y)return;if(k(y),A(y)&&!t){t=!0;try{y.once("idle",()=>{t=!1,A(y,!0)})}catch{t=!1}}}function w(y){e.toggleTheme(),f(y)}return{setLook:i,lookFor:r,STANDARD_STYLE:br,LIGHT_STYLE:W1,DARK_STYLE:Y1,isDarkTheme:n,lightPreset:a,basemapConfig:l,bootStyle:c,bootConfig:u,applyTheme:f,swapTheme:w}}let ew=0;const tw=Oi("ui",{state:()=>({_storeInstanceId:++ew,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:a=null,persistent:s=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(r),!s&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),ow=Oi("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),nw=Oi("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const o=await t();this.sources[e]=Wn({features:o,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(o){console.error(`[dataStore] Failed to load source "${e}":`,o),this.loadingStates[e]={isLoading:!1,error:o}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Wn({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var o;return((o=e.sources[t])==null?void 0:o.features)??null},isLoading:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.isLoading)??!1},getError:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.error)??null}}}),Fn={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","imb_gsec","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},aw=".profile-loader[data-v-45d151f8]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-45d151f8]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",jt=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},sw={class:"profile-loader"},rw={key:0,class:"profile-error"},iw={key:1,class:"profile-error"},lw=jt({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var E;const o=e,n=Te("profileConfig",null),a=ee(()=>{var b;if(!o.profileConfig)return null;let m;try{m=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(m&&m.assetsBase===void 0){const g=(b=n==null?void 0:n.value)==null?void 0:b.assetsBase;typeof g=="string"&&g&&(m.assetsBase=g)}return m}),s=ee(()=>{var m;return((m=a.value)==null?void 0:m.profile)||null}),r=zb(),i=ee(()=>{var b;const m=(b=a.value)==null?void 0:b.tk;return typeof m=="string"&&m?m:r.value||""});Me(()=>{var m;return(m=a.value)==null?void 0:m.tk},m=>{typeof m=="string"&&m&&Cp(m)},{immediate:!0});const l=ee(()=>{var m;return((m=a.value)==null?void 0:m.dataSource)||Fn.activeSource||"doxa-csv"}),c=ee(()=>{var m;return((m=a.value)==null?void 0:m.colorSet)||"default"}),u=ee(()=>!1),p=ee(()=>{var m;return((m=a.value)==null?void 0:m.pinHint)!==!1}),d=ee(()=>{var b,g;const m=(((b=a.value)==null?void 0:b.locale)||((g=a.value)==null?void 0:g.lang)||"").split("-")[0].toLowerCase();return ss.includes(m)?m:""}),A=Te("appI18n",null);Uh(()=>{d.value&&(A&&(A.global.locale.value=d.value),qd(d.value))});const k=ee(()=>{var m,b;return d.value||((b=(m=A==null?void 0:A.global)==null?void 0:m.locale)==null?void 0:b.value)||"en"}),f=ee(()=>{var m;return((m=a.value)==null?void 0:m.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),w=Te("profileModules",null);if(!w)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const y=ee(()=>{if(!s.value)return null;const m=`./${s.value}.vue`;return w[m]?es(w[m]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(w)),null)});vt("mapboxToken",i),vt("dataSource",l),vt("colorSet",c),vt("profileConfig",a),vt("instanceId",f),vt("lang",k);const h=tw(),$=ow(),x=nw();try{const m=typeof localStorage<"u"?localStorage.getItem("theme"):null;m&&((E=h.setTheme)==null||E.call(h,m))}catch{}return vt("uiStore",h),vt("mapStore",$),vt("dataStore",x),(m,b)=>(Z(),re("div",sw,[a.value?y.value?(Z(),We(mu(y.value),{key:2})):(Z(),re("div",iw,[R("p",null,[b[1]||(b[1]=bt("⚠️ Profile ",-1)),R("strong",null,'"'+$e(s.value)+'"',1),b[2]||(b[2]=bt(" not found.",-1))])])):(Z(),re("div",rw,[...b[0]||(b[0]=[R("p",null,[bt("⚠️ "),R("strong",null,"doxa-map"),bt(": missing or invalid "),R("code",null,"profile-config"),bt(" prop.")],-1),R("p",null,[bt("Example: "),R("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),y.value&&u.value?(Z(),We(mu(ue(null)),{key:3})):xe("",!0),y.value&&p.value?(Z(),We(q1,{key:4})):xe("",!0)]))}},[["styles",[aw]],["__scopeId","data-v-45d151f8"]]),Yd="adoptionStatus",Qo={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},sl=Qo,rl={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},cw=rl;function Xd(e){var n;const t=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Qo.hasAdoption:Qo.notAdopted}function il({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Qo.hasAdoption,["==",t,1],Qo.hasAdoption,Qo.notAdopted]}const Zd=il,uw=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:sl,ADOPTION_LABELS:cw,LABELS:rl,PALETTE:Qo,PROPERTY_KEY:Yd,applyColor:il,buildColorExpression:Zd,default:{name:"Adoption Progress",propertyKey:Yd,palette:Qo,colors:Qo,labels:rl,getColor:Xd,applyColor:il,buildColorExpression:Zd},getColor:Xd},Symbol.toStringTag,{value:"Module"})),Jd="engagementStatus",en={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},ll=en,cl={notEngaged:"Unengaged",hasEngagement:"Engaged"},pw=cl;function Qd(e){var n;const t=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?en.hasEngagement:en.notEngaged}function ul({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],en.hasEngagement,["==",t,1],en.hasEngagement,en.notEngaged]}const eg=ul,dw=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:ll,ENGAGEMENT_LABELS:pw,LABELS:cl,PALETTE:en,PROPERTY_KEY:Jd,applyColor:ul,buildColorExpression:eg,default:{name:"Engagement Progress",propertyKey:Jd,palette:en,colors:en,labels:cl,getColor:Qd,applyColor:ul,buildColorExpression:eg},getColor:Qd},Symbol.toStringTag,{value:"Module"})),pl="languageFamily",gw="#000000",bn={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},tg=bn;function mo(e){return bn[e]||gw}const fw=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(bn))t[e(o)]=o;return t})(),hw={"tai-kadai":"Kra-Dai",none:"Unknown"};function $r(e){if(!e)return"Unknown";const t=String(e).trim(),o=t.toLowerCase();return hw[o]||fw[o]||t}function og(e){var t;return mo(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function dl(){const e=["match",["get",pl]];return Object.entries(bn).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const ng=dl,mw=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:tg,PALETTE:bn,PROPERTY_KEY:pl,applyColor:dl,buildColorExpression:ng,canonicalFamilyName:$r,default:{name:"Language Family",propertyKey:pl,palette:bn,colors:bn,getColor:og,applyColor:dl,buildColorExpression:ng,getLanguageFamilyColor:mo,canonicalFamilyName:$r},defaultFamilyColor:"#95a5a6",getColor:og,getLanguageFamilyColor:mo,languageFamilyColors:bn},Symbol.toStringTag,{value:"Module"})),ag="peoplePraying",Co=144,$n={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},In=$n,gl={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},bw=gl;function yr(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,o=Number(t)||0;return o>=Co?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function fl(e){return $n[yr(e)]}function sg(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null;return t!==null&&t>0}function rg(e){return yr(e)==="fullPrayer"}function ig(e){return fl(e)}function hl({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Co],$n.fullPrayer,[">",t,0],$n.hasPrayer,$n.noPrayer]}const lg=hl,$w=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Co,LABELS:gl,PALETTE:$n,PRAYER_COLORS:In,PRAYER_LABELS:bw,PROPERTY_KEY:ag,applyColor:hl,buildColorExpression:lg,checkHasFullPrayer:rg,checkHasPrayer:sg,default:{name:"Prayer Progress",propertyKey:ag,palette:$n,colors:$n,labels:gl,threshold:Co,getColor:ig,applyColor:hl,buildColorExpression:lg,getPrayerLevel:yr,getPrayerColor:fl,checkHasPrayer:sg,checkHasFullPrayer:rg},getColor:ig,getPrayerColor:fl,getPrayerLevel:yr},Symbol.toStringTag,{value:"Module"})),cg="religion",ml="#94a3b8",ro={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Yt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function is(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return ro[t]?t:"U"}function ug(e){var o,n,a;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Yt[is(t)]||ml}function bl(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Yt.C,"M",Yt.M,"H",Yt.H,"B",Yt.B,"E",Yt.E,"J",Yt.J,"S",Yt.S,"N",Yt.N,"O",Yt.O,ml]}const pg=bl,yw=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Yt,PROPERTY_KEY:cg,RELIGION_FAMILIES:ro,applyColor:bl,buildColorExpression:pg,default:{name:"Religion",propertyKey:cg,palette:Yt,families:ro,getColor:ug,applyColor:bl,buildColorExpression:pg,fallback:ml},getColor:ug,getReligionFamily:is},Symbol.toStringTag,{value:"Module"})),dg="region",$l="#6d766e",gg={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},ls={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},yl=Object.keys(ls);function fg(e){var o,n,a;const t=(e==null?void 0:e.region)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return ls[t]||$l}function _l(){const e=["match",["coalesce",["get","region"],""]];for(const t of yl)e.push(t,ls[t]);return e.push($l),e}const hg=_l,_w=Object.assign({"./adoption.js":uw,"./engagement.js":dw,"./language-family.js":mw,"./prayer-progress.js":$w,"./religion.js":yw,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:ls,PROPERTY_KEY:dg,REGION_ORDER:yl,WAGF_REGIONS:gg,applyColor:_l,buildColorExpression:hg,default:{name:"WAGF Region",propertyKey:dg,palette:ls,regions:gg,order:yl,getColor:fg,applyColor:_l,buildColorExpression:hg,fallback:$l},getColor:fg},Symbol.toStringTag,{value:"Module"}))}),vw=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),ww=e=>e.replace(/-/g,"_").toUpperCase(),ca={...{STATUS:"status",CUSTOM:"custom"}},vl={};function mg(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const a=vw(o);ca[ww(o)]=a,vl[a]=n}}mg(_w);function kw(e){e&&mg(e)}function Eo(e){return vl[e]||vl[ca.LANGUAGE_FAMILY]}function xw(e,t={}){return Eo(e).applyColor(t)}const Lw=Object.assign({"./research-map.vue":()=>lo(()=>Promise.resolve().then(()=>$P),void 0)});if(kw(Object.assign({"./src/colors/affinity-block.js":jf,"./src/colors/doxa-region.js":Vf,"./src/colors/resource.js":qf})),typeof window<"u"&&((kf=window.mapboxgl)!=null&&kf.setRTLTextPlugin))try{window.mapboxgl.setRTLTextPlugin("https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",null,!0)}catch{}function Aw(){return Lb(lw,{configureApp(e){e.use(Fb());const t=U1();e.use(t),e.provide("appI18n",t),e.provide("profileModules",Lw)}})}const Sw=Aw();typeof customElements<"u"&&(customElements.get("doxa-research-map")||customElements.define("doxa-research-map",Sw));const Pw="rgba(120, 128, 134, 0.28)",bg="36px",$g=()=>{};function Cw(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return $g;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return $g;const a=h=>h.classList.contains("map-scroll-edge--left");for(const h of n)h.style.background=`linear-gradient(${a(h)?"to right":"to left"}, ${Pw} ${bg}, transparent ${bg})`,h.style.opacity="0",h.style.transition="opacity 0.16s ease",h.style.userSelect="none",h.style.webkitUserSelect="none";const s=h=>{h.style.opacity="1"},r=h=>{h.style.opacity="0"},i=()=>n.find(h=>!a(h))||null,l=new Set;let c=!1,u=null;const p=()=>{for(const h of n)l.has(h)||r(h)},d=()=>{const h=i();h&&(s(h),u&&clearTimeout(u),u=setTimeout(p,250))},A=()=>d(),k=h=>{if(!(h.touches&&h.touches.length===1))return;const $=h.target;$&&$.classList&&$.classList.contains("map-scroll-edge")||d()},f=()=>{u&&clearTimeout(u),p()};e.addEventListener("wheel",A,{passive:!0}),e.addEventListener("touchmove",k,{passive:!0}),e.addEventListener("touchend",f,{passive:!0}),e.addEventListener("touchcancel",f,{passive:!0});const w=()=>{c||d()};typeof window<"u"&&window.addEventListener("scroll",w,{passive:!0});const y=[];for(const h of n){const $=()=>{l.add(h),s(h)},x=()=>{l.delete(h),r(h)},E=()=>{c=!0,s(h)},m=()=>{c=!1,r(h)};h.addEventListener("mouseenter",$),h.addEventListener("mouseleave",x),h.addEventListener("touchstart",E,{passive:!0}),h.addEventListener("touchend",m,{passive:!0}),y.push(()=>{h.removeEventListener("mouseenter",$),h.removeEventListener("mouseleave",x),h.removeEventListener("touchstart",E),h.removeEventListener("touchend",m)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",A),e.removeEventListener("touchmove",k),e.removeEventListener("touchend",f),e.removeEventListener("touchcancel",f),typeof window<"u"&&window.removeEventListener("scroll",w);for(const $ of y)$();for(const $ of n)r($)}}const Ew=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function Tw(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const o=Ew[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function Nw(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const Rw=["mapbox","maplibre"],yg="mapbox";function Mw(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function _g(e){const t=Mw(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(o||n||a||yg).toLowerCase().trim();return Rw.includes(s)?s:yg}function Fw(e){return e==="maplibre"?"MapLibre":"Mapbox"}function vg(e){return typeof window<"u"&&!!window.mapboxgl&&e instanceof window.mapboxgl.Map}function To(e,t="circle"){return vg(e)?{[`${t}-emissive-strength`]:1}:{}}const wg={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function Iw(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function Ow(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if(Iw(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(wg.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(wg.mapbox,null,!0);o=!0}catch{}return o}const Dw=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,kg=new WeakMap;function Bw(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function xg(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!Bw(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=kg.get(e);a||(a=new Map,kg.set(e,a));let s=0;for(const r of n.layers){if(r.type!=="symbol"||!r.layout||r.layout["text-field"]==null)continue;const i=r.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(r.id))continue}else{if(!Dw.test(l))continue;a.set(r.id,i)}const c=o==="en"?a.get(r.id):["coalesce",["get","name:"+o],["get","name:latin"],["get","name"]];e.setLayoutProperty(r.id,"text-field",c),s++}return s}catch{return 0}}const ua={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function Lg(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const Gw=ua.mapbox.css,jw="https://tiles.openfreemap.org/styles/liberty",zw="https://tiles.openfreemap.org/styles/fiord";function wl(e){var o;const t=((o=ua[e])==null?void 0:o.global)||ua.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Uw(e){const t=ua[e]||ua.mapbox;if(wl(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(wl(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const s=document.createElement("script");s.src=t.js,s.async=!1,s.addEventListener("load",n,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function Vw(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=r=>new Promise(i=>setTimeout(i,r)),a=o.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(r=>{a.addEventListener("load",r,{once:!0}),a.addEventListener("error",r,{once:!0})}),n(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=t,await Promise.race([new Promise(r=>{s.addEventListener("load",r,{once:!0}),s.addEventListener("error",r,{once:!0}),o.prepend(s)}),n(2e3)])}function Kw(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?zw:jw}const Hw=85.0511,kl=-2,qw=0,Ww=-60;function Ag(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Yw(e,t,o,n){if(!e||e<=0||!t||t<=0)return qw;const a=Math.log2(e/512),s=Ag(n)-Ag(Hw),r=Math.log2(t/(512*s)),i=Math.max(a,r);return Math.max(kl,Math.min(i,(o??18)-1))}function Xw({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:a=void 0,center:s=[20,10],zoom:r=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:p=18,pitch:d=0,bearing:A=0,renderWorldCopies:k=!0,showEdgeBorders:f=!0,southCutoff:w=Ww,maxBounds:y=void 0}){const h=Ea(null),$=ge(!1);let x=null,E=null,m=null,b=null;try{b=Te("profileConfig",null)}catch{}a=a||_g(b);const g=a==="maplibre";let _=null;try{_=Te("lang",null)}catch{}const T=()=>{const j=_&&typeof _=="object"&&"value"in _?_.value:_;if(typeof j=="string"&&j)return j;const G=b&&typeof b=="object"&&"value"in b?b.value:b;if(G&&(G.locale||G.lang))return String(G.locale||G.lang);try{const C=new URLSearchParams(location.search);return C.get("lang")||C.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function B(){var ye;const j=Tw(o,a),G=j.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const C=()=>!e.value;if(await Uw(a),C())return;const L=wl(a);if(!L){console.error(`[useMapInstance] ${g?"maplibregl":"mapboxgl"} is not available. Add the ${g?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(Ow(L),!g){if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await Vw(e.value,g?ua.maplibre.css:Gw),C()||(await new Promise(oe=>requestAnimationFrame(oe)),C()))return;const M=e.value,z=M.clientWidth,K=M.clientHeight;if(z===0||K===0){console.error(`[useMapInstance] Container has ZERO dimensions (${z}×${K}). Map will be invisible. Check that parent elements have CSS sizing.`);let oe=M.parentElement,fe=0;for(;oe&&fe<5;)oe=oe.parentElement,fe++}const J=t;g||(L.accessToken=J);const ce=()=>typeof window<"u"&&window.innerWidth>=1024,H=(oe,fe)=>{if(u)return typeof c=="number"?c:kl;if(!ce())return kl;const pe=Yw(oe,fe,p,w);return typeof c=="number"?Math.max(c,pe):pe},be=H(M.clientWidth,M.clientHeight),ve=j.lightPreset||(()=>{var oe;try{const fe=typeof n=="function"?n():n;return(oe=fe==null?void 0:fe.basemap)==null?void 0:oe.lightPreset}catch{return}})();if(g){h.value=new L.Map({container:e.value,style:Kw(G,ve),center:s,zoom:r,minZoom:be,maxZoom:p,pitch:d,bearing:A,dragRotate:!1,renderWorldCopies:k,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...y?{maxBounds:y}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Lg(h.value);try{e.value.__doxaMap=h.value}catch{}}else{const oe=typeof n=="function"?n():n;h.value=new L.Map({accessToken:J,container:e.value,style:G,...oe?{config:oe}:{},center:s,zoom:r,minZoom:be,maxZoom:p,pitch:d,bearing:A,dragRotate:!1,touchPitch:!1,renderWorldCopies:k,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...y?{maxBounds:y}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Lg(h.value);try{e.value.__doxaMap=h.value}catch{}}try{let oe=!1;h.value.on("error",fe=>{var P,O;const pe=((P=fe==null?void 0:fe.error)==null?void 0:P.status)??(fe==null?void 0:fe.status),Se=String(((O=fe==null?void 0:fe.error)==null?void 0:O.url)||(fe==null?void 0:fe.sourceId)||"");pe!==401&&pe!==403||oe||(oe=!0,console.error(`[doxa-maps] Mapbox returned ${pe} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(Se?` First failing request: ${Se.slice(0,120)}`:"")))})}catch{}try{h.value.touchZoomRotate.disableRotation()}catch{}m=Cw(((ye=e.value)==null?void 0:ye.parentElement)||null,{enabled:f});let he=be,Ae=null;x=()=>{const oe=h.value;if(!oe)return;const fe=H(M.clientWidth,M.clientHeight);fe!==he&&(he=fe,oe.setMinZoom(fe)),oe.getZoom(){Ae=null;const pe=h.value;if(!pe)return;const Se=H(M.clientWidth,M.clientHeight);if(pe.getZoom(){Ae&&(clearTimeout(Ae),Ae=null)},h.value.on("resize",x),typeof window<"u"&&(window.addEventListener("resize",x),window.addEventListener("orientationchange",x)),h.value.on("style.load",()=>{if(h.value&&xg(h.value,T()),j.paint&&h.value){const oe=Nw(h.value,j.paint);console.info("[useMapInstance] style paint applied ("+a+"):",oe.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var oe;(oe=h.value)==null||oe.resize(),h.value&&h.value.setMinZoom(H(M.clientWidth,M.clientHeight)),$.value=!0})})}function V(){if(h.value){if(x&&(h.value.off("resize",x),typeof window<"u"&&(window.removeEventListener("resize",x),window.removeEventListener("orientationchange",x)),x=null),E){try{E()}catch{}E=null}m&&(m(),m=null),h.value.remove(),h.value=null,$.value=!1}}if(_&&typeof _=="object"&&"value"in _)try{Me(_,()=>{h.value&&$.value&&xg(h.value,T())})}catch{}return{map:h,isMapReady:$,initializeMap:B,destroy:V}}const Zw=Un&&Un.tagName.toUpperCase()==="SCRIPT"&&Un.src||new URL("doxa-research-map.js",document.baseURI).href,On=e=>String(e||"").trim().replace(/\/+$/,"");function Sg(){try{const t=String(Zw||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Jw(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return On(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return On(o)}return On(Sg()||"")}function Pg(e){const t=On("")||On(Sg()||"");if(t)try{const o=typeof document<"u"?document.baseURI:void 0;return On(new URL(t+"/assets",o).href)}catch{return On(t+"/assets")}return"./assets"}function Qw({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",s=e||(n==null?void 0:n.shareUrl);if(typeof s=="string"&&s.trim())return s.trim();const r=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(r){if(/^https?:\/\//i.test(r))return r;if(r.startsWith("/"))return a?window.location.origin+r:r;const i=Jw(n),l=r.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const ek={Africa:{zoom:1.3,center:[16.6512,26.3538]},Asia:{zoom:.8,center:[98.2654,49.9282]},Europe:{zoom:1.4,center:[22.7826,70.1026]},"Latin America & Caribbean":{zoom:1.8,center:[-60.4619,10.1428]},"Middle East":{zoom:1.7,center:[22.9056,39.5752]},"No WAGF Region/Bloc":{zoom:.6,center:[-8.2363,44.2392]},"North America & Non-Spanish Caribbean":{zoom:2.1,center:[-68.1935,31.4282]},Oceania:{zoom:1.5,center:[161.6257,-.668]}},Cg={circleRadius:{standard:["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],highlighted:["interpolate",["linear"],["zoom"],0,4,4,5,8,12,12,20],faded:["interpolate",["linear"],["zoom"],0,2,4,2.5,8,5,12,8],compact:["interpolate",["linear"],["zoom"],0,2,4,3,8,6,12,10],large:["interpolate",["linear"],["zoom"],0,4,4,6,8,14,12,24],touchTarget:["interpolate",["linear"],["zoom"],0,12,2,15,4,19,6,20,8,21,10,22,12,24,14,28]}};function tk(e){return ek[e]||null}function xl(e="standard"){return Cg.circleRadius[e]||Cg.circleRadius.standard}function Eg(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,s=Te("uiStore"),{t:r,locale:i}=mt(),l=ge([]);function c($){const x=n($.languageFamily),E="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg";let m=$.imageUrl;(!m||m.includes("NoImageAvailable"))&&(m=E);const b=($.name||"U")[0].toUpperCase(),g=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"],_=b.charCodeAt(0)%g.length;return` +`,"pin-hint"),(g,_)=>l.value?(Z(),re("div",{key:0,ref_key:"hintEl",ref:c,class:Re(["pin-hint",{dark:r.value}]),role:"status"},[R("span",q1,[_[0]||(_[0]=R("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),bt(" "+$e(i.value)+" ",1),R("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:$},"×")])],2)):xe("",!0)}},br="mapbox://styles/mapbox/standard",Y1=br,X1=br,Z1=!1,Wd={lightPreset:"night",theme:"default"},J1={lightPreset:"day",theme:"monochrome"};function Q1(e){return e?/affinity|region|language/i.test(String(e))?"light":"dark":null}function ew(e){let t=!1;const o=new WeakSet;function n(){return!1}function a(){return n()?"night":"day"}let s="dark";function r(y){return Q1(y)}function i(y,h){y!=="light"&&y!=="dark"||(s=y,h&&f(h))}function l(){return{...s==="light"?J1:Wd}}function c(){return br}function u(){return{basemap:l()}}function p(y,h){try{return typeof y.getConfigProperty=="function"?y.getConfigProperty("basemap",h):void 0}catch{return}}function d(y){return!!y&&typeof y.setConfigProperty=="function"&&typeof y.getConfigProperty=="function"}function A(y,h=!1){if(!d(y))return!1;const $=l();let x=!1;try{for(const[E,m]of Object.entries($))!h&&p(y,E)===m||(y.setConfigProperty("basemap",E,m),x=!0)}catch(E){console.warn("[useMapTheme] setConfigProperty failed:",E)}return x}function k(y){if(!o.has(y)&&(o.add(y),!!d(y)))try{y.on("style.load",()=>A(y)),y.on("styledata",()=>A(y))}catch{}}function f(y){if(!y)return;if(k(y),A(y)&&!t){t=!0;try{y.once("idle",()=>{t=!1,A(y,!0)})}catch{t=!1}}}function w(y){e.toggleTheme(),f(y)}return{setLook:i,lookFor:r,STANDARD_STYLE:br,LIGHT_STYLE:Y1,DARK_STYLE:X1,isDarkTheme:n,lightPreset:a,basemapConfig:l,bootStyle:c,bootConfig:u,applyTheme:f,swapTheme:w}}let tw=0;const ow=Oi("ui",{state:()=>({_storeInstanceId:++tw,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:a=null,persistent:s=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(r),!s&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),nw=Oi("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),aw=Oi("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const o=await t();this.sources[e]=Wn({features:o,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(o){console.error(`[dataStore] Failed to load source "${e}":`,o),this.loadingStates[e]={isLoading:!1,error:o}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Wn({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var o;return((o=e.sources[t])==null?void 0:o.features)??null},isLoading:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.isLoading)??!1},getError:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.error)??null}}}),Fn={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","imb_gsec","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},sw=".profile-loader[data-v-45d151f8]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-45d151f8]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",jt=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},rw={class:"profile-loader"},iw={key:0,class:"profile-error"},lw={key:1,class:"profile-error"},cw=jt({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var E;const o=e,n=Te("profileConfig",null),a=ee(()=>{var b;if(!o.profileConfig)return null;let m;try{m=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(m&&m.assetsBase===void 0){const g=(b=n==null?void 0:n.value)==null?void 0:b.assetsBase;typeof g=="string"&&g&&(m.assetsBase=g)}return m}),s=ee(()=>{var m;return((m=a.value)==null?void 0:m.profile)||null}),r=zb(),i=ee(()=>{var b;const m=(b=a.value)==null?void 0:b.tk;return typeof m=="string"&&m?m:r.value||""});Me(()=>{var m;return(m=a.value)==null?void 0:m.tk},m=>{typeof m=="string"&&m&&Cp(m)},{immediate:!0});const l=ee(()=>{var m;return((m=a.value)==null?void 0:m.dataSource)||Fn.activeSource||"doxa-csv"}),c=ee(()=>{var m;return((m=a.value)==null?void 0:m.colorSet)||"default"}),u=ee(()=>!1),p=ee(()=>{var m;return((m=a.value)==null?void 0:m.pinHint)!==!1}),d=ee(()=>{var b,g;const m=(((b=a.value)==null?void 0:b.locale)||((g=a.value)==null?void 0:g.lang)||"").split("-")[0].toLowerCase();return ss.includes(m)?m:""}),A=Te("appI18n",null);Uh(()=>{d.value&&(A&&(A.global.locale.value=d.value),qd(d.value))});const k=ee(()=>{var m,b;return d.value||((b=(m=A==null?void 0:A.global)==null?void 0:m.locale)==null?void 0:b.value)||"en"}),f=ee(()=>{var m;return((m=a.value)==null?void 0:m.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),w=Te("profileModules",null);if(!w)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const y=ee(()=>{if(!s.value)return null;const m=`./${s.value}.vue`;return w[m]?es(w[m]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(w)),null)});vt("mapboxToken",i),vt("dataSource",l),vt("colorSet",c),vt("profileConfig",a),vt("instanceId",f),vt("lang",k);const h=ow(),$=nw(),x=aw();try{const m=typeof localStorage<"u"?localStorage.getItem("theme"):null;m&&((E=h.setTheme)==null||E.call(h,m))}catch{}return vt("uiStore",h),vt("mapStore",$),vt("dataStore",x),(m,b)=>(Z(),re("div",rw,[a.value?y.value?(Z(),We(mu(y.value),{key:2})):(Z(),re("div",lw,[R("p",null,[b[1]||(b[1]=bt("⚠️ Profile ",-1)),R("strong",null,'"'+$e(s.value)+'"',1),b[2]||(b[2]=bt(" not found.",-1))])])):(Z(),re("div",iw,[...b[0]||(b[0]=[R("p",null,[bt("⚠️ "),R("strong",null,"doxa-map"),bt(": missing or invalid "),R("code",null,"profile-config"),bt(" prop.")],-1),R("p",null,[bt("Example: "),R("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),y.value&&u.value?(Z(),We(mu(ue(null)),{key:3})):xe("",!0),y.value&&p.value?(Z(),We(W1,{key:4})):xe("",!0)]))}},[["styles",[sw]],["__scopeId","data-v-45d151f8"]]),Yd="adoptionStatus",Qo={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},sl=Qo,rl={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},uw=rl;function Xd(e){var n;const t=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Qo.hasAdoption:Qo.notAdopted}function il({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Qo.hasAdoption,["==",t,1],Qo.hasAdoption,Qo.notAdopted]}const Zd=il,pw=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:sl,ADOPTION_LABELS:uw,LABELS:rl,PALETTE:Qo,PROPERTY_KEY:Yd,applyColor:il,buildColorExpression:Zd,default:{name:"Adoption Progress",propertyKey:Yd,palette:Qo,colors:Qo,labels:rl,getColor:Xd,applyColor:il,buildColorExpression:Zd},getColor:Xd},Symbol.toStringTag,{value:"Module"})),Jd="engagementStatus",en={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},ll=en,cl={notEngaged:"Unengaged",hasEngagement:"Engaged"},dw=cl;function Qd(e){var n;const t=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?en.hasEngagement:en.notEngaged}function ul({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],en.hasEngagement,["==",t,1],en.hasEngagement,en.notEngaged]}const eg=ul,gw=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:ll,ENGAGEMENT_LABELS:dw,LABELS:cl,PALETTE:en,PROPERTY_KEY:Jd,applyColor:ul,buildColorExpression:eg,default:{name:"Engagement Progress",propertyKey:Jd,palette:en,colors:en,labels:cl,getColor:Qd,applyColor:ul,buildColorExpression:eg},getColor:Qd},Symbol.toStringTag,{value:"Module"})),pl="languageFamily",fw="#000000",bn={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},tg=bn;function mo(e){return bn[e]||fw}const hw=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(bn))t[e(o)]=o;return t})(),mw={"tai-kadai":"Kra-Dai",none:"Unknown"};function $r(e){if(!e)return"Unknown";const t=String(e).trim(),o=t.toLowerCase();return mw[o]||hw[o]||t}function og(e){var t;return mo(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function dl(){const e=["match",["get",pl]];return Object.entries(bn).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const ng=dl,bw=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:tg,PALETTE:bn,PROPERTY_KEY:pl,applyColor:dl,buildColorExpression:ng,canonicalFamilyName:$r,default:{name:"Language Family",propertyKey:pl,palette:bn,colors:bn,getColor:og,applyColor:dl,buildColorExpression:ng,getLanguageFamilyColor:mo,canonicalFamilyName:$r},defaultFamilyColor:"#95a5a6",getColor:og,getLanguageFamilyColor:mo,languageFamilyColors:bn},Symbol.toStringTag,{value:"Module"})),ag="peoplePraying",Co=144,$n={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},In=$n,gl={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},$w=gl;function yr(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,o=Number(t)||0;return o>=Co?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function fl(e){return $n[yr(e)]}function sg(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null;return t!==null&&t>0}function rg(e){return yr(e)==="fullPrayer"}function ig(e){return fl(e)}function hl({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Co],$n.fullPrayer,[">",t,0],$n.hasPrayer,$n.noPrayer]}const lg=hl,yw=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Co,LABELS:gl,PALETTE:$n,PRAYER_COLORS:In,PRAYER_LABELS:$w,PROPERTY_KEY:ag,applyColor:hl,buildColorExpression:lg,checkHasFullPrayer:rg,checkHasPrayer:sg,default:{name:"Prayer Progress",propertyKey:ag,palette:$n,colors:$n,labels:gl,threshold:Co,getColor:ig,applyColor:hl,buildColorExpression:lg,getPrayerLevel:yr,getPrayerColor:fl,checkHasPrayer:sg,checkHasFullPrayer:rg},getColor:ig,getPrayerColor:fl,getPrayerLevel:yr},Symbol.toStringTag,{value:"Module"})),cg="religion",ml="#94a3b8",ro={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Yt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function is(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return ro[t]?t:"U"}function ug(e){var o,n,a;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Yt[is(t)]||ml}function bl(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Yt.C,"M",Yt.M,"H",Yt.H,"B",Yt.B,"E",Yt.E,"J",Yt.J,"S",Yt.S,"N",Yt.N,"O",Yt.O,ml]}const pg=bl,_w=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Yt,PROPERTY_KEY:cg,RELIGION_FAMILIES:ro,applyColor:bl,buildColorExpression:pg,default:{name:"Religion",propertyKey:cg,palette:Yt,families:ro,getColor:ug,applyColor:bl,buildColorExpression:pg,fallback:ml},getColor:ug,getReligionFamily:is},Symbol.toStringTag,{value:"Module"})),dg="region",$l="#6d766e",gg={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},ls={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},yl=Object.keys(ls);function fg(e){var o,n,a;const t=(e==null?void 0:e.region)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return ls[t]||$l}function _l(){const e=["match",["coalesce",["get","region"],""]];for(const t of yl)e.push(t,ls[t]);return e.push($l),e}const hg=_l,vw=Object.assign({"./adoption.js":pw,"./engagement.js":gw,"./language-family.js":bw,"./prayer-progress.js":yw,"./religion.js":_w,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:ls,PROPERTY_KEY:dg,REGION_ORDER:yl,WAGF_REGIONS:gg,applyColor:_l,buildColorExpression:hg,default:{name:"WAGF Region",propertyKey:dg,palette:ls,regions:gg,order:yl,getColor:fg,applyColor:_l,buildColorExpression:hg,fallback:$l},getColor:fg},Symbol.toStringTag,{value:"Module"}))}),ww=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),kw=e=>e.replace(/-/g,"_").toUpperCase(),ca={...{STATUS:"status",CUSTOM:"custom"}},vl={};function mg(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const a=ww(o);ca[kw(o)]=a,vl[a]=n}}mg(vw);function xw(e){e&&mg(e)}function Eo(e){return vl[e]||vl[ca.LANGUAGE_FAMILY]}function Lw(e,t={}){return Eo(e).applyColor(t)}const Aw=Object.assign({"./research-map.vue":()=>lo(()=>Promise.resolve().then(()=>yP),void 0)});if(xw(Object.assign({"./src/colors/affinity-block.js":jf,"./src/colors/doxa-region.js":Vf,"./src/colors/resource.js":qf})),typeof window<"u"&&((kf=window.mapboxgl)!=null&&kf.setRTLTextPlugin))try{window.mapboxgl.setRTLTextPlugin("https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",null,!0)}catch{}function Sw(){return Lb(cw,{configureApp(e){e.use(Fb());const t=V1();e.use(t),e.provide("appI18n",t),e.provide("profileModules",Aw)}})}const Pw=Sw();typeof customElements<"u"&&(customElements.get("doxa-research-map")||customElements.define("doxa-research-map",Pw));const Cw="rgba(120, 128, 134, 0.28)",bg="36px",$g=()=>{};function Ew(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return $g;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return $g;const a=h=>h.classList.contains("map-scroll-edge--left");for(const h of n)h.style.background=`linear-gradient(${a(h)?"to right":"to left"}, ${Cw} ${bg}, transparent ${bg})`,h.style.opacity="0",h.style.transition="opacity 0.16s ease",h.style.userSelect="none",h.style.webkitUserSelect="none";const s=h=>{h.style.opacity="1"},r=h=>{h.style.opacity="0"},i=()=>n.find(h=>!a(h))||null,l=new Set;let c=!1,u=null;const p=()=>{for(const h of n)l.has(h)||r(h)},d=()=>{const h=i();h&&(s(h),u&&clearTimeout(u),u=setTimeout(p,250))},A=()=>d(),k=h=>{if(!(h.touches&&h.touches.length===1))return;const $=h.target;$&&$.classList&&$.classList.contains("map-scroll-edge")||d()},f=()=>{u&&clearTimeout(u),p()};e.addEventListener("wheel",A,{passive:!0}),e.addEventListener("touchmove",k,{passive:!0}),e.addEventListener("touchend",f,{passive:!0}),e.addEventListener("touchcancel",f,{passive:!0});const w=()=>{c||d()};typeof window<"u"&&window.addEventListener("scroll",w,{passive:!0});const y=[];for(const h of n){const $=()=>{l.add(h),s(h)},x=()=>{l.delete(h),r(h)},E=()=>{c=!0,s(h)},m=()=>{c=!1,r(h)};h.addEventListener("mouseenter",$),h.addEventListener("mouseleave",x),h.addEventListener("touchstart",E,{passive:!0}),h.addEventListener("touchend",m,{passive:!0}),y.push(()=>{h.removeEventListener("mouseenter",$),h.removeEventListener("mouseleave",x),h.removeEventListener("touchstart",E),h.removeEventListener("touchend",m)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",A),e.removeEventListener("touchmove",k),e.removeEventListener("touchend",f),e.removeEventListener("touchcancel",f),typeof window<"u"&&window.removeEventListener("scroll",w);for(const $ of y)$();for(const $ of n)r($)}}const Tw=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function Nw(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const o=Tw[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function Rw(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const Mw=["mapbox","maplibre"],yg="mapbox";function Fw(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function _g(e){const t=Fw(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(o||n||a||yg).toLowerCase().trim();return Mw.includes(s)?s:yg}function Iw(e){return e==="maplibre"?"MapLibre":"Mapbox"}function vg(e){return typeof window<"u"&&!!window.mapboxgl&&e instanceof window.mapboxgl.Map}function To(e,t="circle"){return vg(e)?{[`${t}-emissive-strength`]:1}:{}}const wg={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function Ow(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function Dw(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if(Ow(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(wg.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(wg.mapbox,null,!0);o=!0}catch{}return o}const Bw=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,kg=new WeakMap;function Gw(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function xg(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!Gw(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=kg.get(e);a||(a=new Map,kg.set(e,a));let s=0;for(const r of n.layers){if(r.type!=="symbol"||!r.layout||r.layout["text-field"]==null)continue;const i=r.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(r.id))continue}else{if(!Bw.test(l))continue;a.set(r.id,i)}const c=o==="en"?a.get(r.id):["coalesce",["get","name:"+o],["get","name:latin"],["get","name"]];e.setLayoutProperty(r.id,"text-field",c),s++}return s}catch{return 0}}const ua={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function Lg(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const jw=ua.mapbox.css,zw="https://tiles.openfreemap.org/styles/liberty",Uw="https://tiles.openfreemap.org/styles/fiord";function wl(e){var o;const t=((o=ua[e])==null?void 0:o.global)||ua.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Vw(e){const t=ua[e]||ua.mapbox;if(wl(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(wl(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const s=document.createElement("script");s.src=t.js,s.async=!1,s.addEventListener("load",n,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function Kw(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=r=>new Promise(i=>setTimeout(i,r)),a=o.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(r=>{a.addEventListener("load",r,{once:!0}),a.addEventListener("error",r,{once:!0})}),n(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=t,await Promise.race([new Promise(r=>{s.addEventListener("load",r,{once:!0}),s.addEventListener("error",r,{once:!0}),o.prepend(s)}),n(2e3)])}function Hw(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?Uw:zw}const qw=85.0511,kl=-2,Ww=0,Yw=-60;function Ag(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Xw(e,t,o,n){if(!e||e<=0||!t||t<=0)return Ww;const a=Math.log2(e/512),s=Ag(n)-Ag(qw),r=Math.log2(t/(512*s)),i=Math.max(a,r);return Math.max(kl,Math.min(i,(o??18)-1))}function Zw({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:a=void 0,center:s=[20,10],zoom:r=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:p=18,pitch:d=0,bearing:A=0,renderWorldCopies:k=!0,showEdgeBorders:f=!0,southCutoff:w=Yw,maxBounds:y=void 0}){const h=Ea(null),$=ge(!1);let x=null,E=null,m=null,b=null;try{b=Te("profileConfig",null)}catch{}a=a||_g(b);const g=a==="maplibre";let _=null;try{_=Te("lang",null)}catch{}const T=()=>{const j=_&&typeof _=="object"&&"value"in _?_.value:_;if(typeof j=="string"&&j)return j;const G=b&&typeof b=="object"&&"value"in b?b.value:b;if(G&&(G.locale||G.lang))return String(G.locale||G.lang);try{const C=new URLSearchParams(location.search);return C.get("lang")||C.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function B(){var ye;const j=Nw(o,a),G=j.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const C=()=>!e.value;if(await Vw(a),C())return;const L=wl(a);if(!L){console.error(`[useMapInstance] ${g?"maplibregl":"mapboxgl"} is not available. Add the ${g?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(Dw(L),!g){if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await Kw(e.value,g?ua.maplibre.css:jw),C()||(await new Promise(oe=>requestAnimationFrame(oe)),C()))return;const M=e.value,z=M.clientWidth,K=M.clientHeight;if(z===0||K===0){console.error(`[useMapInstance] Container has ZERO dimensions (${z}×${K}). Map will be invisible. Check that parent elements have CSS sizing.`);let oe=M.parentElement,fe=0;for(;oe&&fe<5;)oe=oe.parentElement,fe++}const J=t;g||(L.accessToken=J);const ce=()=>typeof window<"u"&&window.innerWidth>=1024,H=(oe,fe)=>{if(u)return typeof c=="number"?c:kl;if(!ce())return kl;const pe=Xw(oe,fe,p,w);return typeof c=="number"?Math.max(c,pe):pe},be=H(M.clientWidth,M.clientHeight),ve=j.lightPreset||(()=>{var oe;try{const fe=typeof n=="function"?n():n;return(oe=fe==null?void 0:fe.basemap)==null?void 0:oe.lightPreset}catch{return}})();if(g){h.value=new L.Map({container:e.value,style:Hw(G,ve),center:s,zoom:r,minZoom:be,maxZoom:p,pitch:d,bearing:A,dragRotate:!1,renderWorldCopies:k,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...y?{maxBounds:y}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Lg(h.value);try{e.value.__doxaMap=h.value}catch{}}else{const oe=typeof n=="function"?n():n;h.value=new L.Map({accessToken:J,container:e.value,style:G,...oe?{config:oe}:{},center:s,zoom:r,minZoom:be,maxZoom:p,pitch:d,bearing:A,dragRotate:!1,touchPitch:!1,renderWorldCopies:k,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...y?{maxBounds:y}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Lg(h.value);try{e.value.__doxaMap=h.value}catch{}}try{let oe=!1;h.value.on("error",fe=>{var P,O;const pe=((P=fe==null?void 0:fe.error)==null?void 0:P.status)??(fe==null?void 0:fe.status),Se=String(((O=fe==null?void 0:fe.error)==null?void 0:O.url)||(fe==null?void 0:fe.sourceId)||"");pe!==401&&pe!==403||oe||(oe=!0,console.error(`[doxa-maps] Mapbox returned ${pe} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(Se?` First failing request: ${Se.slice(0,120)}`:"")))})}catch{}try{h.value.touchZoomRotate.disableRotation()}catch{}m=Ew(((ye=e.value)==null?void 0:ye.parentElement)||null,{enabled:f});let he=be,Ae=null;x=()=>{const oe=h.value;if(!oe)return;const fe=H(M.clientWidth,M.clientHeight);fe!==he&&(he=fe,oe.setMinZoom(fe)),oe.getZoom(){Ae=null;const pe=h.value;if(!pe)return;const Se=H(M.clientWidth,M.clientHeight);if(pe.getZoom(){Ae&&(clearTimeout(Ae),Ae=null)},h.value.on("resize",x),typeof window<"u"&&(window.addEventListener("resize",x),window.addEventListener("orientationchange",x)),h.value.on("style.load",()=>{if(h.value&&xg(h.value,T()),j.paint&&h.value){const oe=Rw(h.value,j.paint);console.info("[useMapInstance] style paint applied ("+a+"):",oe.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var oe;(oe=h.value)==null||oe.resize(),h.value&&h.value.setMinZoom(H(M.clientWidth,M.clientHeight)),$.value=!0})})}function V(){if(h.value){if(x&&(h.value.off("resize",x),typeof window<"u"&&(window.removeEventListener("resize",x),window.removeEventListener("orientationchange",x)),x=null),E){try{E()}catch{}E=null}m&&(m(),m=null),h.value.remove(),h.value=null,$.value=!1}}if(_&&typeof _=="object"&&"value"in _)try{Me(_,()=>{h.value&&$.value&&xg(h.value,T())})}catch{}return{map:h,isMapReady:$,initializeMap:B,destroy:V}}const Jw=Un&&Un.tagName.toUpperCase()==="SCRIPT"&&Un.src||new URL("doxa-research-map.js",document.baseURI).href,On=e=>String(e||"").trim().replace(/\/+$/,"");function Sg(){try{const t=String(Jw||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Qw(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return On(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return On(o)}return On(Sg()||"")}function Pg(e){const t=On("")||On(Sg()||"");if(t)try{const o=typeof document<"u"?document.baseURI:void 0;return On(new URL(t+"/assets",o).href)}catch{return On(t+"/assets")}return"./assets"}function ek({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",s=e||(n==null?void 0:n.shareUrl);if(typeof s=="string"&&s.trim())return s.trim();const r=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(r){if(/^https?:\/\//i.test(r))return r;if(r.startsWith("/"))return a?window.location.origin+r:r;const i=Qw(n),l=r.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const tk={Africa:{zoom:1.3,center:[16.6512,26.3538]},Asia:{zoom:.8,center:[98.2654,49.9282]},Europe:{zoom:1.4,center:[22.7826,70.1026]},"Latin America & Caribbean":{zoom:1.8,center:[-60.4619,10.1428]},"Middle East":{zoom:1.7,center:[22.9056,39.5752]},"No WAGF Region/Bloc":{zoom:.6,center:[-8.2363,44.2392]},"North America & Non-Spanish Caribbean":{zoom:2.1,center:[-68.1935,31.4282]},Oceania:{zoom:1.5,center:[161.6257,-.668]}},Cg={circleRadius:{standard:["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],highlighted:["interpolate",["linear"],["zoom"],0,4,4,5,8,12,12,20],faded:["interpolate",["linear"],["zoom"],0,2,4,2.5,8,5,12,8],compact:["interpolate",["linear"],["zoom"],0,2,4,3,8,6,12,10],large:["interpolate",["linear"],["zoom"],0,4,4,6,8,14,12,24],touchTarget:["interpolate",["linear"],["zoom"],0,12,2,15,4,19,6,20,8,21,10,22,12,24,14,28]}};function ok(e){return tk[e]||null}function xl(e="standard"){return Cg.circleRadius[e]||Cg.circleRadius.standard}function Eg(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,s=Te("uiStore"),{t:r,locale:i}=mt(),l=ge([]);function c($){const x=n($.languageFamily),E="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg";let m=$.imageUrl;(!m||m.includes("NoImageAvailable"))&&(m=E);const b=($.name||"U")[0].toUpperCase(),g=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"],_=b.charCodeAt(0)%g.length;return`
${T}

- `}function p($){const x=t();if(!x)return;const E=$||"language-family-pins";if(!x.getLayer(E))return;const m=b=>{try{const g=b.features[0],_=g.properties,T=g.geometry.coordinates.slice();for(;Math.abs(b.lngLat.lng-T[0])>180;)T[0]+=b.lngLat.lng>T[0]?360:-360;if(s&&s.legendMode!==void 0){s.selectPeopleGroup(g),s.isMobile&&s.legendState==="collapsed"&&s.setLegendState("open"),s.isMobile||window.dispatchEvent(new CustomEvent("dxm:openDesktopLegend",{detail:{mapId:o}}));return}new mapboxgl.Popup({maxWidth:"320px",className:"people-group-popup"}).setLngLat(T).setHTML(c(_)).addTo(x)}catch(g){console.error(` [${o}] Pin click handler error:`,g)}};x.on("click",E,m),l.value.push({event:"click",layer:E,handler:m})}function d(){const $=t();if(!$)return;const x="regions-fill";if(!$.getLayer(x))return;const E=m=>{const b=["language-family-pins","language-family-pins-hitbox","people-groups-pins"];for(const g of b)if($.getLayer(g)){const _=$.queryRenderedFeatures(m.point,{layers:[g]});if(_&&_.length>0)return}if(m.features&&m.features.length>0){const g=m.features[0].properties;new mapboxgl.Popup().setLngLat(m.lngLat).setHTML(u(g)).addTo($)}};$.on("click",x,E),l.value.push({event:"click",layer:x,handler:E})}function A(){const $=t();if(!$)return;const x="clusters";if(!$.getLayer(x))return;const E=m=>{const b=$.queryRenderedFeatures(m.point,{layers:[x]});if(!b.length)return;const g=b[0].properties.cluster_id,_=b[0].source;$.getSource(_).getClusterExpansionZoom(g,(T,B)=>{T||$.easeTo({center:b[0].geometry.coordinates,zoom:B})})};$.on("click",x,E),l.value.push({event:"click",layer:x,handler:E})}function k($){const x=t();if(!x||!x.getLayer($))return;const E=()=>{x.getCanvas().style.cursor="pointer"},m=()=>{x.getCanvas().style.cursor=""};x.on("mouseenter",$,E),x.on("mouseleave",$,m),l.value.push({event:"mouseenter",layer:$,handler:E}),l.value.push({event:"mouseleave",layer:$,handler:m})}function f(){p(),k("language-family-pins"),p("language-family-pins-hitbox"),k("language-family-pins-hitbox"),A(),k("clusters")}function w(){d(),k("regions-fill")}function y(){const $=t();$&&($.getLayer("language-family-pins")&&f(),$.getLayer("regions-fill")&&w(),$.getLayer("people-groups-pins")&&(p(),k("people-groups-pins")))}function h(){const $=t();if($){for(const{event:x,layer:E,handler:m}of l.value)try{$.off(x,E,m)}catch{}l.value=[]}}return{attachAllEventHandlers:y,attachLanguageFamilyEvents:f,attachRegionEvents:w,attachPinClickHandler:p,attachRegionClickHandler:d,attachClusterClickHandler:A,attachCursorHandlers:k,detachAllEventHandlers:h,generatePinPopupContent:c,generateRegionPopupContent:u,registeredHandlers:l}}const Ze={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"},Ll=[">",["to-number",["get","peoplePraying"],0],0],Al={0:.25,8:.4,14:.5},pa={0:.1,8:.18,14:.22},da={0:1.2,8:1.6,14:2},Tg=["interpolate",["linear"],["zoom"],0,["case",Ll,Al[0],pa[0]],8,["case",Ll,Al[8],pa[8]],14,["case",Ll,Al[14],pa[14]]],ok=["interpolate",["linear"],["zoom"],0,da[0],8,da[8],14,da[14]],Ng=["==",["to-number",["get","peoplePraying"],0],0],nk={prayer:[Ng],prayerProgress:[Ng],engagement:[["all",["!=",["get","engagementStatus"],!0],["!=",["get","engagementStatus"],1]]],adoption:[["all",["!=",["get","adoptionStatus"],!0],["!=",["get","adoptionStatus"],1]]]};function ak(e){const t=nk[e]||[];if(!t.length)return ok;const o=t.length===1?t[0]:["any",...t];return["interpolate",["linear"],["zoom"],0,["case",o,pa[0],da[0]],8,["case",o,pa[8],da[8]],14,["case",o,pa[14],da[14]]]}const sk=[[/ sign language$/i,"Sign Language"]];function rk(e){if(!e||typeof e!="string")return null;const t=e.trim(),o=t.split(",").map(a=>a.trim()).filter(Boolean);if(o.length>=2){const a=[...o].reverse().join(" ");if(Ze[a])return Ze[a];if(o.length>=3){const s=[o[1],o[0]].join(" ");if(Ze[s])return Ze[s]}}if(Ze[t])return Ze[t];const n=t.replace(/\s*\(.*?\)\s*$/,"").trim();if(n!==t&&Ze[n])return Ze[n];for(const[a,s]of sk)if(a.test(t))return s;return null}function ik(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,s=()=>{const oe=t();return oe?Ve(oe):null},r=Eg({getMap:s,mapId:o,getLanguageFamilyColor:n,getNormalizedPeopleGroups:a}),i=ge({languageFamilyPins:!1,regions:!1,peopleGroups:!1,familyConnections:!1}),l=ge({});function c(oe,fe="languageFamily"){const pe=s();if(!pe||!(oe!=null&&oe.length))return;const Se=xw(fe),P=oe.map(U=>{var de,ne,v,S,D,te,me,le,Y,ie,_e,Ne,He,lt,tt,q,ae,we,Pe;return{type:"Feature",properties:{uniqueId:U.id||U.uniqueId,slug:U.slug||((de=U._normalized)==null?void 0:de.slug)||"",rop3:U.rop3||U.peopleGroupId,peopleId3:U.peopleId3||"",name:U.name,language:U.language,languageFamily:U.languageFamily||((ne=U._normalized)==null?void 0:ne.languageFamily)||rk(U.language)||"Unknown",affinityBlock:U.affinityBlock||U.affbloc||U.Affbloc||((v=U._normalized)==null?void 0:v.affinityBlock)||"Unknown",affinityBlockLabel:U.affinityBlockLabel||((S=U._normalized)==null?void 0:S.affinityBlockLabel)||"",cluster:U.cluster||((D=U._normalized)==null?void 0:D.cluster)||"",clusterLabel:U.clusterLabel||((te=U._normalized)==null?void 0:te.clusterLabel)||"",peopleGroup:U.peopleGroup||((me=U._normalized)==null?void 0:me.peopleGroup)||"",peopleGroupLabel:U.peopleGroupLabel||((le=U._normalized)==null?void 0:le.peopleGroupLabel)||"",doxaRegion:U.doxaRegion||((Y=U._normalized)==null?void 0:Y.doxaRegion)||"Unknown",wagfBlock:U.wagfBlock||((ie=U._normalized)==null?void 0:ie.wagfBlock)||"",wagfBlockLabel:U.wagfBlockLabel||((_e=U._normalized)==null?void 0:_e.wagfBlockLabel)||"",wagfRegionLabel:U.wagfRegionLabel||((Ne=U._normalized)==null?void 0:Ne.wagfRegionLabel)||"",country:U.country,countryIso:U.countryIso,countryIsoLabel:U.countryIsoLabel,countryName:U.countryName,religion:U.religion,religionCode:U.religionCode,religionLabel:U.religionLabel,religionName:U.religionName,population:U.population,status:U.status,description:U.description||"",imageUrl:U.imageUrl||"",peoplePraying:Number(U.peoplePraying??((He=U._normalized)==null?void 0:He.peoplePraying)??0),engagementStatus:U.engagementStatus===!0||U.engagementStatus===1||!1,adoptionStatus:U.adoptionStatus===!0||U.adoptionStatus===1||!1,bible:U.bible||((lt=U._normalized)==null?void 0:lt.bible)||"Not Available",jesusFilm:U.jesusFilm||((tt=U._normalized)==null?void 0:tt.jesusFilm)||"Not Available",radio:U.radio||((q=U._normalized)==null?void 0:q.radio)||"Not Available",gospel:U.gospel||((ae=U._normalized)==null?void 0:ae.gospel)||"Not Available",audio:U.audio||((we=U._normalized)==null?void 0:we.audio)||"Not Available",stories:U.stories||((Pe=U._normalized)==null?void 0:Pe.stories)||"Not Available",lng:parseFloat(U.longitude||U.lng)||0},geometry:{type:"Point",coordinates:[parseFloat(U.longitude||U.lng),parseFloat(U.latitude||U.lat)]}}}).filter(U=>!isNaN(U.geometry.coordinates[0])&&!isNaN(U.geometry.coordinates[1])),O=.04,I=U=>`${U.geometry.coordinates[0]},${U.geometry.coordinates[1]}`,X=new Map;for(const U of P){const de=I(U);X.has(de)||X.set(de,[]),X.get(de).push(U)}for(const U of X.values()){if(U.length<2)continue;const[de,ne]=U[0].geometry.coordinates,v=U.length;for(let S=0;S",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"],"circle-opacity":1,"circle-stroke-opacity":1,"circle-opacity-transition":{duration:250}}}),pe.addLayer({id:"language-family-pins-hitbox",type:"circle",source:"language-families",paint:{"circle-radius":xl("touchTarget"),"circle-color":"rgba(0,0,0,0)","circle-stroke-width":0,"circle-opacity":0}}),i.value.languageFamilyPins=!0,r.attachLanguageFamilyEvents()}function u(oe,fe="doxa-regions"){const pe=s();if(!pe)return;pe.getLayer("regions-fill")&&pe.removeLayer("regions-fill"),pe.getLayer("regions-border")&&pe.removeLayer("regions-border"),pe.getSource("regions")&&pe.removeSource("regions");const Se={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},P="#cccccc",O=oe&&oe.isoToRegion?oe.isoToRegion:{},I=[],X={};for(const[ne,v]of Object.entries(O)){const S=Se[String(v).toLowerCase()];S&&I.push(ne,S),X[v]||(X[v]=[]),X[v].push(ne)}l.value=X;const Q=I.length?["match",["get","iso_3166_1_alpha_3"],...I,P]:P,U=pe.getLayer("language-family-pins-shadow")?"language-family-pins-shadow":pe.getLayer("language-family-pins")?"language-family-pins":void 0,de=(()=>{var ne,v,S;try{return!!((S=(v=(ne=pe.getContainer)==null?void 0:ne.call(pe))==null?void 0:v.classList)!=null&&S.contains("maplibregl-map"))}catch{return!1}})();de?(pe.addSource("regions",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),fetch(`${Pg()}/boundaries/world-adm0.geojson`).then(ne=>ne.json()).then(ne=>{for(const S of ne.features||[])S.properties&&S.properties.iso3&&(S.properties.iso_3166_1_alpha_3=S.properties.iso3);const v=pe.getSource("regions");v&&v.setData(ne)}).catch(ne=>console.warn("[map-layers] region boundaries failed to load",ne))):pe.addSource("regions",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"}),pe.addLayer({id:"regions-fill",type:"fill",source:"regions",...de?{}:{"source-layer":"country_boundaries"},paint:{"fill-color":Q,"fill-opacity":fe==="none"?.1:.7,"fill-antialias":!0,...To(pe,"fill"),"fill-opacity-transition":{duration:300}}},U),pe.addLayer({id:"regions-border",type:"line",source:"regions",...de?{}:{"source-layer":"country_boundaries"},paint:{"line-color":Q,"line-width":1,"line-opacity":.9,...To(pe,"line")}},U),i.value.regions=!0,r.attachRegionEvents()}function p(oe,fe){const pe=s();if(!pe||!oe||!(fe!=null&&fe.length))return;d();const Se=fe.filter(Q=>{var de;return(Q.languageFamily||((de=Q._normalized)==null?void 0:de.languageFamily)||"Unknown")===oe});if(Se.length<2)return;const P=n(oe),O=[],I=15,X=[...Se].sort((Q,U)=>(Q.longitude||Q.lng)-(U.longitude||U.lng));for(let Q=0;Q=",["get","peoplePraying"],Co],"#15803d",[">",["get","peoplePraying"],0],"#d97706","rgba(0,0,0,0)"]}const z=[0,5,2,6,4,7,5,9,6,12,7,14,8,18,10,25,12,32,14,40];function K(oe,fe){const pe=["interpolate",["linear"],["zoom"]];for(let Se=0;Se",["get","peoplePraying"],0],pe=M();if(!g.every(P=>oe.getLayer(P))){for(const P of g)if(oe.getLayer(P))try{oe.removeLayer(P)}catch{}oe.addLayer({id:E,type:"circle",source:"language-families",filter:fe,paint:{"circle-radius":K(z,1),"circle-color":pe,"circle-blur":.3,"circle-opacity":.45,"circle-stroke-width":0,...To(oe)}},"language-family-pins");for(const P of b)oe.addLayer({id:P,type:"circle",source:"language-families",filter:fe,paint:{"circle-radius":K(z,1),"circle-radius-transition":G,"circle-color":"rgba(0,0,0,0)","circle-blur":0,"circle-opacity":1,"circle-stroke-width":2.5,"circle-stroke-color":pe,"circle-stroke-opacity":0,"circle-stroke-opacity-transition":G,...To(oe)}},"language-family-pins")}}function ce(){const oe=s();if(oe)for(const fe of g)oe.getLayer(fe)&&oe.removeLayer(fe)}function H(oe){const fe=s();if(!fe)return;const pe=[">",["get","peoplePraying"],0],Se=oe?["all",pe,oe]:pe;for(const P of g)if(fe.getLayer(P))try{fe.setFilter(P,Se)}catch{}}function be(){const oe=s();if(oe){if(J(),h&&(cancelAnimationFrame(h),h=null),$=!0,oe.getLayer("language-family-pins"))try{oe.setLayoutProperty("language-family-pins","circle-sort-key",["case",[">=",["get","peoplePraying"],Co],1,[">",["get","peoplePraying"],0],1,3])}catch{}he(oe),ve()}}function ve(){h&&(cancelAnimationFrame(h),h=null);const oe=++x;let fe=performance.now(),pe=-1/0;function Se(P){if(!$||oe!==x)return;const O=s();if(!O||!g.some(X=>O.getLayer(X))){h=null;return}if(P-pe"u")return;const fe=typeof oe.getContainer=="function"?oe.getContainer():null;if(fe)try{L=new IntersectionObserver(pe=>{for(const Se of pe)C=Se.isIntersecting},{threshold:0}),L.observe(fe)}catch{L=null,C=!0}}function Ae(){if(L){try{L.disconnect()}catch{}L=null}C=!0}function ye(){$=!1,h&&(cancelAnimationFrame(h),h=null),Ae();try{ce();const oe=s();oe&&oe.getLayer("language-family-pins")&&oe.setLayoutProperty("language-family-pins","circle-sort-key",void 0)}catch{}}return{layersAdded:i,regionIsoMap:l,addLanguageFamilyLayer:c,addRegionsLayer:u,addFamilyConnectionLines:p,removeFamilyConnectionLines:d,updateLayerSource:A,removeLayer:k,hasLayer:f,setPaintProperty:w,mapEvents:r,startPrayerGlow:be,stopPrayerGlow:ye,syncGlowFilter:H,cleanup:y}}const bo={style:"mapbox://styles/mapbox/standard",center:[20,10],zoom:1.8,minZoom:.5,maxZoom:22,pitch:20,bearing:0,projection:"mercator",renderWorldCopies:!0};function lk(e={}){const{getMap:t=()=>null,mapId:o="unknown",mapStore:n=null,regionsGeoData:a=null,defaultCenter:s=(bo==null?void 0:bo.center)||[20,10],defaultZoom:r=bo==null?void 0:bo.zoom}=e,i={speed:.5,essential:!0,curve:1.2};function l(G,C,L={x:150,y:0}){const M=t();if(!M)return G;try{const z=M.getCanvas(),K=z.width,J=z.height,ce=M.project(G),H=window.devicePixelRatio||1,be=(L.x||0)*H,ve=(L.y||0)*H,he={x:ce.x-be,y:ce.y-ve},Ae=M.unproject(he);return[Ae.lng,Ae.lat]}catch{return G}}function c(G,C=[]){const L=t();if(!L)return;let M=null,z=5;const K=C.filter(ce=>ce.languageFamily===G);if(K.length>0){let ce=1/0,H=-1/0,be=1/0,ve=-1/0;if(K.forEach(he=>{he.longitude&&he.latitude&&(ce=Math.min(ce,he.longitude),H=Math.max(H,he.longitude),be=Math.min(be,he.latitude),ve=Math.max(ve,he.latitude))}),ce!==1/0){M=[(ce+H)/2,(be+ve)/2];const he=H-ce,Ae=ve-be,ye=Math.max(he,Ae);ye>50?z=2:ye>20?z=3:ye>10?z=4:ye>5?z=5:z=6}}if(!M)return;const J=l(M);L.flyTo({center:J,zoom:z,...i})}function u(G){const C=t();if(!C)return;let L=null,M=4;const z=tk(G);if(z)L=z.center,M=z.zoom||4;else if(a!=null&&a.features){const J=a.features.find(ce=>{var H,be;return((H=ce.properties)==null?void 0:H.region)===G||((be=ce.properties)==null?void 0:be.name)===G});J&&(L=p(J))}if(!L)return;const K=l(L);C.flyTo({center:K,zoom:M,...i})}function p(G){if(!G||!G.geometry)return null;const{type:C,coordinates:L}=G.geometry;let M=[];if(C==="Polygon"?M=L[0]||[]:C==="MultiPolygon"&&L.forEach(J=>{M=M.concat(J[0]||[])}),M.length===0)return null;let z=0,K=0;return M.forEach(J=>{z+=J[0],K+=J[1]}),[z/M.length,K/M.length]}function d(G,C={}){const L=t();if(!L)return;const M={center:G,...i,...C};L.flyTo(M)}function A(G,C){const L=t();if(!L||(G==null?void 0:G.longitude)==null||(G==null?void 0:G.latitude)==null)return;const M=C??Math.min(L.getZoom()+2,8);d([G.longitude,G.latitude],{zoom:M})}function k(G,C={top:40,right:40,bottom:40,left:40},L={}){const M=t();if(!M||!G)return;const z=L.maxZoom??4,K=L.duration??900;M.fitBounds(G,{padding:C,maxZoom:z,duration:K,...i,...L})}function f(){const G=t();G&&G.flyTo({center:s,zoom:r,...i})}const w=80,y=800,h=5,$=5,x=110,E=1.2;function m(G){const C=G.filter(Number.isFinite).slice().sort((P,O)=>P-O),L=C.length;if(!L)return null;let M=-1,z=0;for(let P=0;PM&&(M=I,z=P)}const K=(z+1)%L,J=new Array(L);for(let P=0;P0&&O((P+180)%360+360)%360-180,Ae=he(be),ye=24,oe=360/ye,fe=new Array(ye).fill(0);for(const P of C){let O=Math.floor(((P+180)%360+360)%360/oe);O>=ye&&(O=ye-1),fe[O]++}let pe=0;for(let P=1;Pfe[pe]&&(pe=P);return{center:he(-180+(pe+.5)*oe),minLng:Ae,maxLng:Ae+(ve-be),span:ve-be}}function b(G){try{const C=G.getContainer&&G.getContainer().clientWidth||0,L=C>0?Math.log2(C/512):E,M=typeof G.getMinZoom=="function"?G.getMinZoom():L;return Math.max(M,L)}catch{return E}}function g(G,C,L,M){G.easeTo({center:[C,(L+M)/2],zoom:b(G),duration:y,essential:!0})}function _(G,C,L){if(L>x)return!0;try{const M=typeof G.cameraForBounds=="function"?G.cameraForBounds(C,{padding:w,maxZoom:h}):null;return M==null?!0:typeof M.zoom=="number"&&M.zoom<=b(G)+.05}catch{return!1}}function T(G,C){if(!Array.isArray(G))return G;switch(G[0]){case"get":return C==null?void 0:C[G[1]];case"literal":return G[1];case"has":return C!=null&&G[1]in C;case"!has":return C==null||!(G[1]in C);case"!":return!T(G[1],C);case"coalesce":{for(let M=1;M2){const K=Number(T(G[2],C));return Number.isFinite(K)?K:0}return NaN}case"to-string":{const M=T(G[1],C);return M==null?"":String(M)}case"to-boolean":return!!T(G[1],C);case"slice":{const M=T(G[1],C),z=T(G[2],C),K=G.length>3?T(G[3],C):void 0;return typeof M!="string"?"":K!=null?M.slice(z,K):M.slice(z)}default:return G}}function B(G,C){if(G===!0)return!0;if(G===!1)return!1;if(!Array.isArray(G))return!!G;const L=G[0];if(L==="all"){for(let M=1;M"||L===">="||L==="<"||L==="<="){const M=typeof G[1]=="string"?C==null?void 0:C[G[1]]:T(G[1],C),z=T(G[2],C);switch(L){case"==":return M===z||M==null&&z==null;case"!=":return!(M===z||M==null&&z==null);case">":return M>z;case">=":return M>=z;case"<":return M{const X=(I==null?void 0:I.properties)||{};return X.region===P||X.name===P||X.id===P});if(O){const I=[];let X=1/0,Q=-1/0;const U=ne=>{for(const v of ne)Array.isArray(v[0])?U(v):Number.isFinite(v[0])&&Number.isFinite(v[1])&&(I.push(v[0]),v[1]Q&&(Q=v[1]))};(fe=O.geometry)!=null&&fe.coordinates&&U(O.geometry.coordinates);const de=m(I);if(de&&Number.isFinite(X)){const ne=[[de.minLng,X],[de.maxLng,Q]];_(L,ne,de.span)?g(L,de.center,X,Q):L.fitBounds(ne,{padding:w,maxZoom:h,duration:y,essential:!0});return}}}const M=C.sourceId??"language-families";if(!L.getSource(M))return;const z=C.matchExpr??G.filter;if(!z)return;const K=V(L,M);if(!K.length)return;const J=[];let ce=1/0,H=-1/0,be=0,ve=0,he=0;const Ae=new Set;for(const Se of K){const P=Se==null?void 0:Se.properties;if(!B(z,P))continue;const O=P==null?void 0:P.uniqueId;if(O!=null){if(Ae.has(O))continue;Ae.add(O)}const I=(pe=Se.geometry)==null?void 0:pe.coordinates;if(!Array.isArray(I)||I.length<2)continue;const X=I[0],Q=I[1];!Number.isFinite(X)||!Number.isFinite(Q)||(be===0&&(ve=X,he=Q),J.push(X),QH&&(H=Q),be++)}if(be===0)return;if(be===1){L.flyTo({center:[ve,he],zoom:$,duration:y,essential:!0});return}const ye=m(J)||{center:0,minLng:0,maxLng:0,span:0},oe=[[ye.minLng,ce],[ye.maxLng,H]];if(_(L,oe,ye.span)){g(L,ye.center,ce,H);return}try{L.fitBounds(oe,{padding:w,maxZoom:h,duration:y,essential:!0})}catch{}}return{getOffsetCenter:l,slowFlyToFamily:c,slowFlyToRegion:u,flyTo:d,flyToCoords:A,fitBounds:k,resetView:f,zoomToLegendRow:j,calculateRegionCenterFromPolygon:p}}const _r="#1a1a1a",tn="selected-pin-highlight";function ck(e=_r){const t=document.createElement("div");t.className="map-go-pin-wrapper";const o=`pinGrad-${Math.random().toString(36).slice(2,8)}`;return t.innerHTML=` + `}function p($){const x=t();if(!x)return;const E=$||"language-family-pins";if(!x.getLayer(E))return;const m=b=>{try{const g=b.features[0],_=g.properties,T=g.geometry.coordinates.slice();for(;Math.abs(b.lngLat.lng-T[0])>180;)T[0]+=b.lngLat.lng>T[0]?360:-360;if(s&&s.legendMode!==void 0){s.selectPeopleGroup(g),s.isMobile&&s.legendState==="collapsed"&&s.setLegendState("open"),s.isMobile||window.dispatchEvent(new CustomEvent("dxm:openDesktopLegend",{detail:{mapId:o}}));return}new mapboxgl.Popup({maxWidth:"320px",className:"people-group-popup"}).setLngLat(T).setHTML(c(_)).addTo(x)}catch(g){console.error(` [${o}] Pin click handler error:`,g)}};x.on("click",E,m),l.value.push({event:"click",layer:E,handler:m})}function d(){const $=t();if(!$)return;const x="regions-fill";if(!$.getLayer(x))return;const E=m=>{const b=["language-family-pins","language-family-pins-hitbox","people-groups-pins"];for(const g of b)if($.getLayer(g)){const _=$.queryRenderedFeatures(m.point,{layers:[g]});if(_&&_.length>0)return}if(m.features&&m.features.length>0){const g=m.features[0].properties;new mapboxgl.Popup().setLngLat(m.lngLat).setHTML(u(g)).addTo($)}};$.on("click",x,E),l.value.push({event:"click",layer:x,handler:E})}function A(){const $=t();if(!$)return;const x="clusters";if(!$.getLayer(x))return;const E=m=>{const b=$.queryRenderedFeatures(m.point,{layers:[x]});if(!b.length)return;const g=b[0].properties.cluster_id,_=b[0].source;$.getSource(_).getClusterExpansionZoom(g,(T,B)=>{T||$.easeTo({center:b[0].geometry.coordinates,zoom:B})})};$.on("click",x,E),l.value.push({event:"click",layer:x,handler:E})}function k($){const x=t();if(!x||!x.getLayer($))return;const E=()=>{x.getCanvas().style.cursor="pointer"},m=()=>{x.getCanvas().style.cursor=""};x.on("mouseenter",$,E),x.on("mouseleave",$,m),l.value.push({event:"mouseenter",layer:$,handler:E}),l.value.push({event:"mouseleave",layer:$,handler:m})}function f(){p(),k("language-family-pins"),p("language-family-pins-hitbox"),k("language-family-pins-hitbox"),A(),k("clusters")}function w(){d(),k("regions-fill")}function y(){const $=t();$&&($.getLayer("language-family-pins")&&f(),$.getLayer("regions-fill")&&w(),$.getLayer("people-groups-pins")&&(p(),k("people-groups-pins")))}function h(){const $=t();if($){for(const{event:x,layer:E,handler:m}of l.value)try{$.off(x,E,m)}catch{}l.value=[]}}return{attachAllEventHandlers:y,attachLanguageFamilyEvents:f,attachRegionEvents:w,attachPinClickHandler:p,attachRegionClickHandler:d,attachClusterClickHandler:A,attachCursorHandlers:k,detachAllEventHandlers:h,generatePinPopupContent:c,generateRegionPopupContent:u,registeredHandlers:l}}const Ze={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"},Ll=[">",["to-number",["get","peoplePraying"],0],0],Al={0:.25,8:.4,14:.5},pa={0:.1,8:.18,14:.22},da={0:1.2,8:1.6,14:2},Tg=["interpolate",["linear"],["zoom"],0,["case",Ll,Al[0],pa[0]],8,["case",Ll,Al[8],pa[8]],14,["case",Ll,Al[14],pa[14]]],nk=["interpolate",["linear"],["zoom"],0,da[0],8,da[8],14,da[14]],Ng=["==",["to-number",["get","peoplePraying"],0],0],ak={prayer:[Ng],prayerProgress:[Ng],engagement:[["all",["!=",["get","engagementStatus"],!0],["!=",["get","engagementStatus"],1]]],adoption:[["all",["!=",["get","adoptionStatus"],!0],["!=",["get","adoptionStatus"],1]]]};function sk(e){const t=ak[e]||[];if(!t.length)return nk;const o=t.length===1?t[0]:["any",...t];return["interpolate",["linear"],["zoom"],0,["case",o,pa[0],da[0]],8,["case",o,pa[8],da[8]],14,["case",o,pa[14],da[14]]]}const rk=[[/ sign language$/i,"Sign Language"]];function ik(e){if(!e||typeof e!="string")return null;const t=e.trim(),o=t.split(",").map(a=>a.trim()).filter(Boolean);if(o.length>=2){const a=[...o].reverse().join(" ");if(Ze[a])return Ze[a];if(o.length>=3){const s=[o[1],o[0]].join(" ");if(Ze[s])return Ze[s]}}if(Ze[t])return Ze[t];const n=t.replace(/\s*\(.*?\)\s*$/,"").trim();if(n!==t&&Ze[n])return Ze[n];for(const[a,s]of rk)if(a.test(t))return s;return null}function lk(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,s=()=>{const oe=t();return oe?Ve(oe):null},r=Eg({getMap:s,mapId:o,getLanguageFamilyColor:n,getNormalizedPeopleGroups:a}),i=ge({languageFamilyPins:!1,regions:!1,peopleGroups:!1,familyConnections:!1}),l=ge({});function c(oe,fe="languageFamily"){const pe=s();if(!pe||!(oe!=null&&oe.length))return;const Se=Lw(fe),P=oe.map(U=>{var de,ne,v,S,D,te,me,le,Y,ie,_e,Ne,He,lt,tt,q,ae,we,Pe;return{type:"Feature",properties:{uniqueId:U.id||U.uniqueId,slug:U.slug||((de=U._normalized)==null?void 0:de.slug)||"",rop3:U.rop3||U.peopleGroupId,peopleId3:U.peopleId3||"",name:U.name,language:U.language,languageFamily:U.languageFamily||((ne=U._normalized)==null?void 0:ne.languageFamily)||ik(U.language)||"Unknown",affinityBlock:U.affinityBlock||U.affbloc||U.Affbloc||((v=U._normalized)==null?void 0:v.affinityBlock)||"Unknown",affinityBlockLabel:U.affinityBlockLabel||((S=U._normalized)==null?void 0:S.affinityBlockLabel)||"",cluster:U.cluster||((D=U._normalized)==null?void 0:D.cluster)||"",clusterLabel:U.clusterLabel||((te=U._normalized)==null?void 0:te.clusterLabel)||"",peopleGroup:U.peopleGroup||((me=U._normalized)==null?void 0:me.peopleGroup)||"",peopleGroupLabel:U.peopleGroupLabel||((le=U._normalized)==null?void 0:le.peopleGroupLabel)||"",doxaRegion:U.doxaRegion||((Y=U._normalized)==null?void 0:Y.doxaRegion)||"Unknown",wagfBlock:U.wagfBlock||((ie=U._normalized)==null?void 0:ie.wagfBlock)||"",wagfBlockLabel:U.wagfBlockLabel||((_e=U._normalized)==null?void 0:_e.wagfBlockLabel)||"",wagfRegionLabel:U.wagfRegionLabel||((Ne=U._normalized)==null?void 0:Ne.wagfRegionLabel)||"",country:U.country,countryIso:U.countryIso,countryIsoLabel:U.countryIsoLabel,countryName:U.countryName,religion:U.religion,religionCode:U.religionCode,religionLabel:U.religionLabel,religionName:U.religionName,population:U.population,status:U.status,description:U.description||"",imageUrl:U.imageUrl||"",peoplePraying:Number(U.peoplePraying??((He=U._normalized)==null?void 0:He.peoplePraying)??0),engagementStatus:U.engagementStatus===!0||U.engagementStatus===1||!1,adoptionStatus:U.adoptionStatus===!0||U.adoptionStatus===1||!1,bible:U.bible||((lt=U._normalized)==null?void 0:lt.bible)||"Not Available",jesusFilm:U.jesusFilm||((tt=U._normalized)==null?void 0:tt.jesusFilm)||"Not Available",radio:U.radio||((q=U._normalized)==null?void 0:q.radio)||"Not Available",gospel:U.gospel||((ae=U._normalized)==null?void 0:ae.gospel)||"Not Available",audio:U.audio||((we=U._normalized)==null?void 0:we.audio)||"Not Available",stories:U.stories||((Pe=U._normalized)==null?void 0:Pe.stories)||"Not Available",lng:parseFloat(U.longitude||U.lng)||0},geometry:{type:"Point",coordinates:[parseFloat(U.longitude||U.lng),parseFloat(U.latitude||U.lat)]}}}).filter(U=>!isNaN(U.geometry.coordinates[0])&&!isNaN(U.geometry.coordinates[1])),O=.04,I=U=>`${U.geometry.coordinates[0]},${U.geometry.coordinates[1]}`,X=new Map;for(const U of P){const de=I(U);X.has(de)||X.set(de,[]),X.get(de).push(U)}for(const U of X.values()){if(U.length<2)continue;const[de,ne]=U[0].geometry.coordinates,v=U.length;for(let S=0;S",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"],"circle-opacity":1,"circle-stroke-opacity":1,"circle-opacity-transition":{duration:250}}}),pe.addLayer({id:"language-family-pins-hitbox",type:"circle",source:"language-families",paint:{"circle-radius":xl("touchTarget"),"circle-color":"rgba(0,0,0,0)","circle-stroke-width":0,"circle-opacity":0}}),i.value.languageFamilyPins=!0,r.attachLanguageFamilyEvents()}function u(oe,fe="doxa-regions"){const pe=s();if(!pe)return;pe.getLayer("regions-fill")&&pe.removeLayer("regions-fill"),pe.getLayer("regions-border")&&pe.removeLayer("regions-border"),pe.getSource("regions")&&pe.removeSource("regions");const Se={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},P="#cccccc",O=oe&&oe.isoToRegion?oe.isoToRegion:{},I=[],X={};for(const[ne,v]of Object.entries(O)){const S=Se[String(v).toLowerCase()];S&&I.push(ne,S),X[v]||(X[v]=[]),X[v].push(ne)}l.value=X;const Q=I.length?["match",["get","iso_3166_1_alpha_3"],...I,P]:P,U=pe.getLayer("language-family-pins-shadow")?"language-family-pins-shadow":pe.getLayer("language-family-pins")?"language-family-pins":void 0,de=(()=>{var ne,v,S;try{return!!((S=(v=(ne=pe.getContainer)==null?void 0:ne.call(pe))==null?void 0:v.classList)!=null&&S.contains("maplibregl-map"))}catch{return!1}})();de?(pe.addSource("regions",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),fetch(`${Pg()}/boundaries/world-adm0.geojson`).then(ne=>ne.json()).then(ne=>{for(const S of ne.features||[])S.properties&&S.properties.iso3&&(S.properties.iso_3166_1_alpha_3=S.properties.iso3);const v=pe.getSource("regions");v&&v.setData(ne)}).catch(ne=>console.warn("[map-layers] region boundaries failed to load",ne))):pe.addSource("regions",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"}),pe.addLayer({id:"regions-fill",type:"fill",source:"regions",...de?{}:{"source-layer":"country_boundaries"},paint:{"fill-color":Q,"fill-opacity":fe==="none"?.1:.7,"fill-antialias":!0,...To(pe,"fill"),"fill-opacity-transition":{duration:300}}},U),pe.addLayer({id:"regions-border",type:"line",source:"regions",...de?{}:{"source-layer":"country_boundaries"},paint:{"line-color":Q,"line-width":1,"line-opacity":.9,...To(pe,"line")}},U),i.value.regions=!0,r.attachRegionEvents()}function p(oe,fe){const pe=s();if(!pe||!oe||!(fe!=null&&fe.length))return;d();const Se=fe.filter(Q=>{var de;return(Q.languageFamily||((de=Q._normalized)==null?void 0:de.languageFamily)||"Unknown")===oe});if(Se.length<2)return;const P=n(oe),O=[],I=15,X=[...Se].sort((Q,U)=>(Q.longitude||Q.lng)-(U.longitude||U.lng));for(let Q=0;Q=",["get","peoplePraying"],Co],"#15803d",[">",["get","peoplePraying"],0],"#d97706","rgba(0,0,0,0)"]}const z=[0,5,2,6,4,7,5,9,6,12,7,14,8,18,10,25,12,32,14,40];function K(oe,fe){const pe=["interpolate",["linear"],["zoom"]];for(let Se=0;Se",["get","peoplePraying"],0],pe=M();if(!g.every(P=>oe.getLayer(P))){for(const P of g)if(oe.getLayer(P))try{oe.removeLayer(P)}catch{}oe.addLayer({id:E,type:"circle",source:"language-families",filter:fe,paint:{"circle-radius":K(z,1),"circle-color":pe,"circle-blur":.3,"circle-opacity":.45,"circle-stroke-width":0,...To(oe)}},"language-family-pins");for(const P of b)oe.addLayer({id:P,type:"circle",source:"language-families",filter:fe,paint:{"circle-radius":K(z,1),"circle-radius-transition":G,"circle-color":"rgba(0,0,0,0)","circle-blur":0,"circle-opacity":1,"circle-stroke-width":2.5,"circle-stroke-color":pe,"circle-stroke-opacity":0,"circle-stroke-opacity-transition":G,...To(oe)}},"language-family-pins")}}function ce(){const oe=s();if(oe)for(const fe of g)oe.getLayer(fe)&&oe.removeLayer(fe)}function H(oe){const fe=s();if(!fe)return;const pe=[">",["get","peoplePraying"],0],Se=oe?["all",pe,oe]:pe;for(const P of g)if(fe.getLayer(P))try{fe.setFilter(P,Se)}catch{}}function be(){const oe=s();if(oe){if(J(),h&&(cancelAnimationFrame(h),h=null),$=!0,oe.getLayer("language-family-pins"))try{oe.setLayoutProperty("language-family-pins","circle-sort-key",["case",[">=",["get","peoplePraying"],Co],1,[">",["get","peoplePraying"],0],1,3])}catch{}he(oe),ve()}}function ve(){h&&(cancelAnimationFrame(h),h=null);const oe=++x;let fe=performance.now(),pe=-1/0;function Se(P){if(!$||oe!==x)return;const O=s();if(!O||!g.some(X=>O.getLayer(X))){h=null;return}if(P-pe"u")return;const fe=typeof oe.getContainer=="function"?oe.getContainer():null;if(fe)try{L=new IntersectionObserver(pe=>{for(const Se of pe)C=Se.isIntersecting},{threshold:0}),L.observe(fe)}catch{L=null,C=!0}}function Ae(){if(L){try{L.disconnect()}catch{}L=null}C=!0}function ye(){$=!1,h&&(cancelAnimationFrame(h),h=null),Ae();try{ce();const oe=s();oe&&oe.getLayer("language-family-pins")&&oe.setLayoutProperty("language-family-pins","circle-sort-key",void 0)}catch{}}return{layersAdded:i,regionIsoMap:l,addLanguageFamilyLayer:c,addRegionsLayer:u,addFamilyConnectionLines:p,removeFamilyConnectionLines:d,updateLayerSource:A,removeLayer:k,hasLayer:f,setPaintProperty:w,mapEvents:r,startPrayerGlow:be,stopPrayerGlow:ye,syncGlowFilter:H,cleanup:y}}const bo={style:"mapbox://styles/mapbox/standard",center:[20,10],zoom:1.8,minZoom:.5,maxZoom:22,pitch:20,bearing:0,projection:"mercator",renderWorldCopies:!0};function ck(e={}){const{getMap:t=()=>null,mapId:o="unknown",mapStore:n=null,regionsGeoData:a=null,defaultCenter:s=(bo==null?void 0:bo.center)||[20,10],defaultZoom:r=bo==null?void 0:bo.zoom}=e,i={speed:.5,essential:!0,curve:1.2};function l(G,C,L={x:150,y:0}){const M=t();if(!M)return G;try{const z=M.getCanvas(),K=z.width,J=z.height,ce=M.project(G),H=window.devicePixelRatio||1,be=(L.x||0)*H,ve=(L.y||0)*H,he={x:ce.x-be,y:ce.y-ve},Ae=M.unproject(he);return[Ae.lng,Ae.lat]}catch{return G}}function c(G,C=[]){const L=t();if(!L)return;let M=null,z=5;const K=C.filter(ce=>ce.languageFamily===G);if(K.length>0){let ce=1/0,H=-1/0,be=1/0,ve=-1/0;if(K.forEach(he=>{he.longitude&&he.latitude&&(ce=Math.min(ce,he.longitude),H=Math.max(H,he.longitude),be=Math.min(be,he.latitude),ve=Math.max(ve,he.latitude))}),ce!==1/0){M=[(ce+H)/2,(be+ve)/2];const he=H-ce,Ae=ve-be,ye=Math.max(he,Ae);ye>50?z=2:ye>20?z=3:ye>10?z=4:ye>5?z=5:z=6}}if(!M)return;const J=l(M);L.flyTo({center:J,zoom:z,...i})}function u(G){const C=t();if(!C)return;let L=null,M=4;const z=ok(G);if(z)L=z.center,M=z.zoom||4;else if(a!=null&&a.features){const J=a.features.find(ce=>{var H,be;return((H=ce.properties)==null?void 0:H.region)===G||((be=ce.properties)==null?void 0:be.name)===G});J&&(L=p(J))}if(!L)return;const K=l(L);C.flyTo({center:K,zoom:M,...i})}function p(G){if(!G||!G.geometry)return null;const{type:C,coordinates:L}=G.geometry;let M=[];if(C==="Polygon"?M=L[0]||[]:C==="MultiPolygon"&&L.forEach(J=>{M=M.concat(J[0]||[])}),M.length===0)return null;let z=0,K=0;return M.forEach(J=>{z+=J[0],K+=J[1]}),[z/M.length,K/M.length]}function d(G,C={}){const L=t();if(!L)return;const M={center:G,...i,...C};L.flyTo(M)}function A(G,C){const L=t();if(!L||(G==null?void 0:G.longitude)==null||(G==null?void 0:G.latitude)==null)return;const M=C??Math.min(L.getZoom()+2,8);d([G.longitude,G.latitude],{zoom:M})}function k(G,C={top:40,right:40,bottom:40,left:40},L={}){const M=t();if(!M||!G)return;const z=L.maxZoom??4,K=L.duration??900;M.fitBounds(G,{padding:C,maxZoom:z,duration:K,...i,...L})}function f(){const G=t();G&&G.flyTo({center:s,zoom:r,...i})}const w=80,y=800,h=5,$=5,x=110,E=1.2;function m(G){const C=G.filter(Number.isFinite).slice().sort((P,O)=>P-O),L=C.length;if(!L)return null;let M=-1,z=0;for(let P=0;PM&&(M=I,z=P)}const K=(z+1)%L,J=new Array(L);for(let P=0;P0&&O((P+180)%360+360)%360-180,Ae=he(be),ye=24,oe=360/ye,fe=new Array(ye).fill(0);for(const P of C){let O=Math.floor(((P+180)%360+360)%360/oe);O>=ye&&(O=ye-1),fe[O]++}let pe=0;for(let P=1;Pfe[pe]&&(pe=P);return{center:he(-180+(pe+.5)*oe),minLng:Ae,maxLng:Ae+(ve-be),span:ve-be}}function b(G){try{const C=G.getContainer&&G.getContainer().clientWidth||0,L=C>0?Math.log2(C/512):E,M=typeof G.getMinZoom=="function"?G.getMinZoom():L;return Math.max(M,L)}catch{return E}}function g(G,C,L,M){G.easeTo({center:[C,(L+M)/2],zoom:b(G),duration:y,essential:!0})}function _(G,C,L){if(L>x)return!0;try{const M=typeof G.cameraForBounds=="function"?G.cameraForBounds(C,{padding:w,maxZoom:h}):null;return M==null?!0:typeof M.zoom=="number"&&M.zoom<=b(G)+.05}catch{return!1}}function T(G,C){if(!Array.isArray(G))return G;switch(G[0]){case"get":return C==null?void 0:C[G[1]];case"literal":return G[1];case"has":return C!=null&&G[1]in C;case"!has":return C==null||!(G[1]in C);case"!":return!T(G[1],C);case"coalesce":{for(let M=1;M2){const K=Number(T(G[2],C));return Number.isFinite(K)?K:0}return NaN}case"to-string":{const M=T(G[1],C);return M==null?"":String(M)}case"to-boolean":return!!T(G[1],C);case"slice":{const M=T(G[1],C),z=T(G[2],C),K=G.length>3?T(G[3],C):void 0;return typeof M!="string"?"":K!=null?M.slice(z,K):M.slice(z)}default:return G}}function B(G,C){if(G===!0)return!0;if(G===!1)return!1;if(!Array.isArray(G))return!!G;const L=G[0];if(L==="all"){for(let M=1;M"||L===">="||L==="<"||L==="<="){const M=typeof G[1]=="string"?C==null?void 0:C[G[1]]:T(G[1],C),z=T(G[2],C);switch(L){case"==":return M===z||M==null&&z==null;case"!=":return!(M===z||M==null&&z==null);case">":return M>z;case">=":return M>=z;case"<":return M{const X=(I==null?void 0:I.properties)||{};return X.region===P||X.name===P||X.id===P});if(O){const I=[];let X=1/0,Q=-1/0;const U=ne=>{for(const v of ne)Array.isArray(v[0])?U(v):Number.isFinite(v[0])&&Number.isFinite(v[1])&&(I.push(v[0]),v[1]Q&&(Q=v[1]))};(fe=O.geometry)!=null&&fe.coordinates&&U(O.geometry.coordinates);const de=m(I);if(de&&Number.isFinite(X)){const ne=[[de.minLng,X],[de.maxLng,Q]];_(L,ne,de.span)?g(L,de.center,X,Q):L.fitBounds(ne,{padding:w,maxZoom:h,duration:y,essential:!0});return}}}const M=C.sourceId??"language-families";if(!L.getSource(M))return;const z=C.matchExpr??G.filter;if(!z)return;const K=V(L,M);if(!K.length)return;const J=[];let ce=1/0,H=-1/0,be=0,ve=0,he=0;const Ae=new Set;for(const Se of K){const P=Se==null?void 0:Se.properties;if(!B(z,P))continue;const O=P==null?void 0:P.uniqueId;if(O!=null){if(Ae.has(O))continue;Ae.add(O)}const I=(pe=Se.geometry)==null?void 0:pe.coordinates;if(!Array.isArray(I)||I.length<2)continue;const X=I[0],Q=I[1];!Number.isFinite(X)||!Number.isFinite(Q)||(be===0&&(ve=X,he=Q),J.push(X),QH&&(H=Q),be++)}if(be===0)return;if(be===1){L.flyTo({center:[ve,he],zoom:$,duration:y,essential:!0});return}const ye=m(J)||{center:0,minLng:0,maxLng:0,span:0},oe=[[ye.minLng,ce],[ye.maxLng,H]];if(_(L,oe,ye.span)){g(L,ye.center,ce,H);return}try{L.fitBounds(oe,{padding:w,maxZoom:h,duration:y,essential:!0})}catch{}}return{getOffsetCenter:l,slowFlyToFamily:c,slowFlyToRegion:u,flyTo:d,flyToCoords:A,fitBounds:k,resetView:f,zoomToLegendRow:j,calculateRegionCenterFromPolygon:p}}const _r="#1a1a1a",tn="selected-pin-highlight";function uk(e=_r){const t=document.createElement("div");t.className="map-go-pin-wrapper";const o=`pinGrad-${Math.random().toString(36).slice(2,8)}`;return t.innerHTML=` ${No(n(P))}`,{autoprint:!0}),i(P,x)}async function L(A,{columns:P,title:x}={}){if(o())return;const g="List";r(A,g,"fetch","fetching records",30);try{const h=await u(A),b=P||[{key:"name",head:"Name",cls:"c-name"},{key:"country_code_label",head:"Country"},{key:"population",head:"People",cls:"c-num",num:!0},{key:"religion_label",head:"Religion"}],_=b.map(y=>`${No(y.head)}`).join("")+'✓',O=h.map(y=>""+b.map(I=>{const z=y[I.key]??y[`${I.key}_label`]??"—",W=I.num&&Number.isFinite(Number(z))?Number(z).toLocaleString(a()):z;return`${No(W)}`}).join("")+'□').join("");r(A,g,"render",`laying out ${h.length} rows`,70);const w=x||`${n(A)} — ${h.length}`;hn(`${No(w)}

${No(w)}

${h.length} entries · pray for them by name

${_}${O}
`,{autoprint:!0}),i(A,g)}catch(h){l(A,g,h)}}async function T(A){if(o())return;const P="Card Deck";r(A,P,"fetch","fetching records",30);try{const x=await u(A),[{createCardRenderer:g},h]=await Promise.all([dt(()=>Promise.resolve().then(()=>sc),void 0),e.strings?e.strings():dt(()=>Promise.resolve().then(()=>mc),void 0).then(_=>_.default||_)]);r(A,P,"render",`laying out ${x.length} cards`,70);const b=g({strings:h,lang:a(),stock:s()});hn(b.buildDeck(A,x),{autoprint:!0}),i(A,P)}catch(x){l(A,P,x)}}async function S(A,{mapSvg:P=""}={}){if(o())return;const x="Prayer Packet";r(A,x,"fetch","fetching people groups",30);try{const g=await u(A),[{createPacketRenderer:h},b]=await Promise.all([dt(()=>Promise.resolve().then(()=>wy),void 0),e.strings?e.strings():dt(()=>Promise.resolve().then(()=>mc),void 0).then(w=>w.default||w)]),_=h({strings:b,lang:a()}),O=new Map(g.filter(w=>w.image_url).map(w=>[w.slug,w.image_url]));r(A,x,"render",`printing ${g.length} people groups`,70),hn(_.buildPacket(A,g,O,P),{autoprint:!0}),i(A,x)}catch(g){l(A,x,g)}}return{exportState:t,dismiss:c,printPoster:f,printList:L,printCardDeck:T,printPacket:S}}function nb(e){const t=(e==null?void 0:e.parentElement)||e;if(!t||!t.ownerDocument)return{x:0,y:0};const o=t.ownerDocument.createElement("div");o.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",t.appendChild(o);const n=o.getBoundingClientRect();return o.remove(),{x:n.left,y:n.top}}function Kl(e){const t=pe(null),o=jo({position:"fixed",inset:"0"}),n=()=>{var u,f;const s=t.value;if(!s)return;const r=nb(s),i=s.ownerDocument||(typeof document<"u"?document:null),l=((u=i==null?void 0:i.documentElement)==null?void 0:u.clientWidth)||0,c=((f=i==null?void 0:i.documentElement)==null?void 0:f.clientHeight)||0;o.value={position:"fixed",top:`${-r.y}px`,left:`${-r.x}px`,right:"auto",bottom:"auto",width:`${l}px`,height:`${c}px`,boxSizing:"border-box"}};ct(e,s=>{s&&requestAnimationFrame(()=>{n(),requestAnimationFrame(n)})},{flush:"post"});const a=()=>{e.value&&n()};return typeof window<"u"&&window.addEventListener("resize",a),Yt(()=>{typeof window<"u"&&window.removeEventListener("resize",a)}),{scrimRef:t,scrimStyle:o}}const sb={class:"wall-h"},ab={key:0,class:"wall-tag"},rb=["innerHTML"],ib={class:"sec-name"},lb={class:"sec-count"},cb={key:1,class:"perrow"},ub=["for"],pb=["id"],db=["value"],gb=["data-list-id"],hb=["aria-label","onClick"],fb={class:"hcount"},$b={class:"hlabel"},mb={class:"main"},_b={key:0,class:"ph is-soon"},bb={class:"ph-label"},yb={key:0,class:"ph-count"},vb={class:"ph-soon"},wb=["src","alt","role","tabindex","title","onClick","onKeydown","onError"],Lb={key:2,class:"ph"},xb={class:"ph-label"},Pb={key:0,class:"ph-count"},kb={class:"tape pfs"},Ab=["onClick"],Sb=["onClick"],Eb=["aria-expanded","onClick"],Rb=["aria-label"],Tb=["onClick"],Cb={class:"modal",role:"dialog","aria-live":"polite"},Ob={class:"modal-kind"},Mb={class:"modal-title"},Nb={class:"modal-err"},Ib={class:"modal-soon"},Fb={class:"bar"},Db={class:"modal-phase"},Gb={class:"modal-hint"},Xl=2,Jl=5,Yl=2,Zl="doxa-maps:poster-wall:per-row",Ub=210,Bb={__name:"PosterWall",props:{items:{type:Array,required:!0},groupBy:{type:Function,default:()=>"All"},instanceId:{type:String,default:"poster-wall"},isDark:{type:Boolean,default:!1},assetsBase:{type:String,default:"./assets"},eventName:{type:String,default:"doxa-poster-wall:show-on-map"},heading:{type:String,default:"Prayer Lists & Posters"},tag:{type:String,default:""},intro:{type:String,default:""},unit:{type:String,default:"UPG"},itemNoun:{type:String,default:"list"},itemNounPlural:{type:String,default:""},collapsible:{type:Boolean,default:!1},collapsedBy:{type:Function,default:()=>!1},unsupported:{type:Function,default:()=>null},downloadPrefix:{type:String,default:"doxa"},prayerListSoonMessage:{type:String,default:"Coming soon — the prayer list for each people group is in build."},records:{type:Function,default:null},cardStock:{type:String,default:"poker"},cardStocks:{type:[Boolean,Array],default:!1},posterAction:{type:String,default:"download"},previewAction:{type:String,default:"none"},hidePrayerListWhenSoon:{type:Boolean,default:!1},embedded:{type:Boolean,default:!1},sectionHeads:{type:Boolean,default:!0},columns:{type:Number,default:0},columnsControl:{type:Boolean,default:!1}},setup(e){const t=e,o=pe(a()??(t.columns||Yl));ct(()=>t.columns,F=>{a()==null&&(o.value=F||Yl)}),ct(o,F=>{Number.isFinite(F)&&F>=Xl&&F<=Jl&&s(F)});const n=[2,3,4,5];function a(){try{const F=window.localStorage.getItem(Zl),H=Number(F);return Number.isFinite(H)&&H>=Xl&&H<=Jl?H:null}catch{return null}}function s(F){try{window.localStorage.setItem(Zl,String(F))}catch{}}const r=pe(typeof window<"u"?window.innerWidth:1280);if(typeof window<"u"){const F=()=>{r.value=window.innerWidth};window.addEventListener("resize",F),Yt(()=>window.removeEventListener("resize",F))}const i=re(()=>{if(!(o.value>0))return{};const F=Math.max(0,r.value-36),H=Math.max(1,Math.floor(F/Ub));return{gridTemplateColumns:`repeat(${Math.min(o.value,H)}, minmax(0, 1fr))`}}),l=re(()=>t.itemNounPlural||`${t.itemNoun}s`),c=re(()=>String(t.assetsBase||"./assets").replace(/\/+$/,"")),u=re(()=>{const F=String(Hl()||"").replace(/\/+$/,"");return F?`${F}/assets`:""}),f=pe({}),$=F=>`${f.value[F]?u.value:c.value}/previews/${F}.webp`;function L(F){const H=u.value;if(!f.value[F]&&H&&H!==c.value){f.value={...f.value,[F]:1};return}h.value={...h.value,[F]:!0}}const T=re(()=>{const F=new Map;for(const H of t.items||[]){if(!H||!H.id)continue;const Z=t.groupBy(H)||"Other";F.has(Z)||F.set(Z,[]),F.get(Z).push(H)}return[...F.entries()].map(([H,Z])=>({name:H,items:Z.slice().sort((q,_e)=>(_e.count||0)-(q.count||0)),total:Z.reduce((q,_e)=>q+(_e.count||0),0)})).sort((H,Z)=>Z.total-H.total)}),S=re(()=>{const F={};for(const H of T.value)F[H.name]=!!t.collapsedBy(H);return F}),A=pe({}),P=F=>t.collapsible?F in A.value?!!A.value[F]:!!S.value[F]:!1,x=F=>{A.value={...A.value,[F]:!P(F)}},g=pe(null),h=pe({});function b(F){const H=g.value===F.id;g.value=H?null:F.id,window.dispatchEvent(new CustomEvent(t.eventName,{detail:{instanceId:t.instanceId,listId:H?null:F.id,label:H?null:F.label}}))}const _=pe(null),{scrimRef:O,scrimStyle:w}=Kl(_);async function y(F){if(_.value)return;const H=t.unsupported(F);if(H){_.value={label:F.label,kind:"Poster",phase:"soon",message:H,pct:0};return}_.value={label:F.label,kind:"Poster",phase:"fetch",message:"fetching poster",pct:20};try{let Z=null;try{Z=await fetch(`${c.value}/posters/${F.id}.webp`)}catch{}if(!Z||!Z.ok){_.value={..._.value,phase:"render",message:"generating the poster",pct:45};const q=await fetch(`${c.value}/posters/${F.id}.html`);if(!q.ok)throw new Error(`poster not found (${q.status})`);const{rasterPoster:_e,looksRendered:m}=await dt(async()=>{const{rasterPoster:v,looksRendered:M}=await Promise.resolve().then(()=>ec);return{rasterPoster:v,looksRendered:M}},void 0),k=await _e(await q.text(),{scale:2});if(!await m(k))throw new Error("the generated poster rendered blank");await ie(k,F);return}await ie(await Z.blob(),F)}catch(Z){_.value={label:F.label,kind:"Poster",phase:"error",message:String((Z==null?void 0:Z.message)||Z).slice(0,140),pct:0}}}const I=F=>String(F).split(".").pop().replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/^./,H=>H.toUpperCase());let z=F=>I(F),W="en";try{const F=dn();z=F.t,W=F.locale}catch{}const R=pe(t.cardStock),K=pe([]);t.cardStocks&&dt(async()=>{const{STOCK:F}=await Promise.resolve().then(()=>sc);return{STOCK:F}},void 0).then(({STOCK:F})=>{var Z;const H=Array.isArray(t.cardStocks)?t.cardStocks:Object.keys(F);K.value=H.filter(q=>F[q]).map(q=>({id:q,label:F[q].label})),K.value.some(q=>q.id===R.value)||(R.value=((Z=K.value[0])==null?void 0:Z.id)||t.cardStock)}).catch(()=>{});const oe=ob({state:_,records:t.records?F=>t.records(F):null,lang:()=>{const F=W&&(W.value??W);return typeof F=="string"&&F||"en"},stock:()=>R.value,label:F=>(F==null?void 0:F.label)||(F==null?void 0:F.id)||""}),Y=re(()=>typeof t.records=="function"),se=re(()=>t.previewAction==="print"),de=pe(null);function He(F,H){var q,_e,m;de.value=de.value===F?null:F;const Z=(_e=(q=H==null?void 0:H.currentTarget)==null?void 0:q.closest)==null?void 0:_e.call(q,".pfs");Z&&((m=Z.parentElement)==null||m.style.setProperty("--pstocks-gap",`${Z.offsetHeight}px`))}function at(F,H){R.value=H,de.value=null,oe.printCardDeck(F)}function ne(F){if(!Y.value){_.value={label:F.label,kind:"Prayer List",phase:"soon",message:t.prayerListSoonMessage,pct:0};return}oe.printList(F)}async function ie(F,H){if(t.posterAction==="print"){_.value={..._.value,phase:"save",message:"opening the print dialog",pct:80};const{openPrintFrame:Z}=await dt(async()=>{const{openPrintFrame:_e}=await Promise.resolve().then(()=>tb);return{openPrintFrame:_e}},void 0),q=URL.createObjectURL(F);fe.push(q),Z(''+xe(`${t.downloadPrefix} — ${H.label||H.id}`)+`${xe(H.label||H.id)}`,{autoprint:!0})}else _.value={..._.value,phase:"save",message:"saving",pct:80},ve(F,`${t.downloadPrefix}-${H.id}-poster.webp`);_.value={..._.value,phase:"done",message:t.posterAction==="print"?"print dialog opened":"saved",pct:100},setTimeout(()=>{_.value=null},900)}const fe=[];Yt(()=>{for(const F of fe.splice(0))try{URL.revokeObjectURL(F)}catch{}});const xe=F=>String(F??"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""");function ve(F,H){const Z=document.createElement("a");Z.href=URL.createObjectURL(F),Z.download=H,document.body.appendChild(Z),Z.click(),Z.remove(),setTimeout(()=>URL.revokeObjectURL(Z.href),4e3)}function Ne(){_.value=null}return Mo(`.wall{--wall-pad-top:22px;position:absolute;inset:0;overflow-y:auto;padding:var(--wall-pad-top) 18px 44px;background:#f6f7f9;color:#0f1419;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.wall.is-dark{background:#0a1410;color:#e5e7eb}.wall--embedded{--wall-pad-top:0px;position:static;inset:auto;overflow-y:visible;padding:0;background:transparent}.wall--embedded.is-dark{background:transparent}.wall-h{margin:0 0 6px;font-size:19px;font-weight:700;text-align:center}.wall-tag{margin:0 auto 12px;width:fit-content;padding:3px 11px;border-radius:999px;background:rgba(16,185,129,.13);color:#0b7a5b;border:1px solid rgba(16,185,129,.28);font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.is-dark .wall-tag{background:rgba(16,185,129,.16);color:#6ee7b7;border-color:rgba(110,231,183,.32)}.wall-sub{margin:0 auto 22px;max-width:620px;font-size:12.5px;line-height:1.55;text-align:center;opacity:.75}.wall-sub strong{font-weight:700;opacity:1;color:inherit}.grid{display:grid;gap:56px 30px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));max-width:1180px;margin:0 auto}.perrow{display:flex;align-items:center;justify-content:flex-end;gap:8px;max-width:1180px;margin:0 auto 12px;font:inherit;font-size:13px}.perrow__label{color:#6d766e}.perrow__select{font:inherit;font-size:13px;padding:2px 6px;border:1px solid #cbd2d9;border-radius:6px;background:#fff;color:inherit;cursor:pointer}.is-dark .perrow__label{color:#9fb3a6}.is-dark .perrow__select{background:#132019;border-color:rgba(110,231,183,.20)}.card{--card-pad-top:24px;--tape-overlap:16px;position:relative;background:#fff;border:1px solid #e3e6ea;border-radius:3px;padding:var(--card-pad-top) 12px 26px;box-shadow:0 1px 3px rgba(0,0,0,.10),0 6px 18px rgba(0,0,0,.07);transition:transform .16s ease,box-shadow .16s ease}.card:hover,.card:focus-within{transform:translateY(-3px);box-shadow:0 3px 8px rgba(0,0,0,.14),0 12px 28px rgba(0,0,0,.10);outline:2px solid #2f6fdb;outline-offset:2px}.is-dark .card:hover,.is-dark .card:focus-within{outline-color:#5aa0ff}@media (hover:none){.card:hover,.card:focus-within{transform:none;outline:none}}.is-dark .card{background:#132019;border-color:rgba(110,231,183,.20)}.tape{box-sizing:border-box;position:absolute;left:50%;transform:translateX(-50%);z-index:2;font-size:10.5px;font-weight:600;letter-spacing:.02em;cursor:pointer;border:1px solid rgba(0,0,0,.08);background:#eef2f6;color:#23303c}.is-dark .tape{background:#1d2b23;color:#cfe9d9;border-color:rgba(255,255,255,.10)}.tape-h{top:calc(var(--card-pad-top,24px) - var(--tape-overlap,16px));transform:translateX(-50%);width:82%;padding:4px 8px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:5px}.tape-h:hover{background:#e2e8ee}.hcount{font-weight:800;font-variant-numeric:tabular-nums}.hsep{opacity:.45}.hlabel{font-weight:600}.card.is-last{box-shadow:0 0 0 2px #10b981,0 6px 18px rgba(0,0,0,.10)}.card.is-last .tape-h{background:#10b981;color:#04241a;border-color:#10b981}.pfs{position:absolute;top:calc(100% - var(--tape-overlap,16px));left:50%;transform:translateX(-50%);width:82%;max-width:82%;min-width:0;box-sizing:border-box;margin:0;padding:0 4px 3px;border:1px solid rgba(0,0,0,.14);border-radius:2px;background:#fff;display:flex;flex-wrap:wrap;gap:2px;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.10)}.pfs > .pbtn{flex:0 1 auto;min-width:0;white-space:normal;overflow-wrap:break-word;text-align:center;line-height:1.2}.is-dark .pfs{background:#132019;border-color:rgba(110,231,183,.24)}.pstocks{top:100%;margin-top:calc(var(--pstocks-gap,20px) / 2);width:92%;max-width:92%;box-sizing:border-box;padding:3px;border-radius:2px;background:#fff;display:flex;flex-wrap:wrap;gap:3px;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.10);cursor:default}.is-dark .pstocks{background:#132019;border-color:rgba(110,231,183,.24)}.pfs > legend{margin:0 auto;padding:0 5px;font-size:8px;text-transform:uppercase;letter-spacing:.6px;font-weight:700;color:#8a93a0}.is-dark .pfs > legend{color:#7f9c8c}.pbtn{position:relative;flex:1;border:0;background:none;color:#5b6672;font:inherit;font-size:10.5px;font-weight:600;padding:2px 6px 3px;cursor:pointer;white-space:nowrap;transition:color .15s}.pbtn::after{content:"";position:absolute;left:6px;right:6px;bottom:0;height:2px;border-radius:2px;background:transparent;transition:background .15s}.pbtn:hover{color:#10b981}.pbtn:hover::after{background:#10b981}.pbtn-deck[aria-expanded="true"]{color:#10b981}.pbtn-deck::before{content:"\\25B8";display:inline-block;margin-right:3px;font-size:8px;transition:transform .15s}.pbtn-deck[aria-expanded="true"]::before{transform:rotate(90deg)}.pstock{flex:0 1 auto;min-width:0;max-width:100%;border:1px solid #d8dde3;border-radius:3px;background:#fff;color:#5b6672;font:inherit;font-size:9.5px;font-weight:600;padding:2px 5px;cursor:pointer;line-height:1.25;white-space:normal;overflow-wrap:break-word}.pstock:hover{border-color:#10b981;color:#10b981}.pstock.is-on{border-color:#10b981;color:#0b7a5b;background:rgba(16,185,129,.10)}@media (pointer:coarse){.pbtn{min-height:24px}.pstock{min-height:24px}.tape-h{min-height:24px}}.img.is-clickable{cursor:zoom-in}.img.is-clickable:hover{outline:2px solid #38bdf8;outline-offset:-2px}.img.is-clickable:focus-visible{outline:2px solid #38bdf8;outline-offset:-2px}.is-dark .pstock{background:#12211a;border-color:#2c4a3b;color:#9fb3a8}.is-dark .pbtn{color:#9fb3a8}.sec{max-width:1180px;margin:0 auto;padding-bottom:44px}.sec-head{display:flex;align-items:baseline;gap:10px;margin:0 2px 14px;padding:11px 10px 9px;border-bottom:1px solid rgba(0,0,0,.10);position:sticky;top:0;z-index:6;background:#f6f7f9;box-shadow:0 6px 10px -8px rgba(0,0,0,.35);border-radius:4px 4px 0 0}.is-dark .sec-head{border-bottom-color:rgba(255,255,255,.12);background:#0a1410;box-shadow:0 6px 10px -8px rgba(0,0,0,.7)}.sec-head::before{content:"";position:absolute;left:-20px;right:-20px;bottom:100%;height:var(--wall-pad-top,0px);background:inherit;pointer-events:none}.wall--embedded .sec-head::before{display:none}.sec-head.is-shut{border-bottom-color:transparent;margin-bottom:6px}.sec-head.is-toggle{cursor:pointer;user-select:none;width:100%;text-align:left;border-top:0;border-left:0;border-right:0;font:inherit;color:inherit}.sec-head.is-toggle:hover .sec-name{color:#10b981}.sec-caret{display:inline-block;width:12px;font-size:10px;opacity:.55;transition:transform .18s ease}.sec-caret.is-open{transform:rotate(90deg)}.sec-name{margin:0;font-size:15px;font-weight:700;letter-spacing:.01em}.sec-count{font-size:11px;opacity:.6;font-variant-numeric:tabular-nums}.main{--banner-pad-top:24px;--banner-pad-bottom:24px;position:relative;aspect-ratio:1/1;border:1px solid #dfe3e7;overflow:visible;padding:var(--banner-pad-top) 10px var(--banner-pad-bottom);background:#fbfcfd;display:flex;align-items:center;justify-content:center}.is-dark .main{background:#0c1712;border-color:rgba(255,255,255,.08)}.img{width:100%;height:100%;object-fit:contain;display:block}.ph{padding:14px 10px;text-align:center}.ph-label{font-size:12.5px;font-weight:700;line-height:1.3}.ph-count{margin-top:5px;font-size:11px;opacity:.7}.ph-note{margin-top:10px;font-size:9.5px;text-transform:uppercase;letter-spacing:.09em;opacity:.45}.ph.is-soon{background:rgba(245,158,11,.06)}.ph-soon{margin-top:9px;font-size:10px;line-height:1.45;color:#8a6414}.is-dark .ph-soon{color:#e8b862}.modal-scrim{position:fixed;inset:0;z-index:1000;background:rgba(8,12,16,.55);display:grid;place-items:center;padding:22px}.modal{width:min(340px,100%);background:#fff;color:#0f1419;border-radius:14px;padding:20px 22px;box-shadow:0 10px 40px rgba(0,0,0,.35);text-align:center}.is-dark .modal{background:#132019;color:#e5e7eb}.modal-kind{font-size:10px;text-transform:uppercase;letter-spacing:.1em;opacity:.55}.modal-title{margin:3px 0 14px;font-size:15px;font-weight:700;line-height:1.3}.bar{height:5px;border-radius:99px;background:rgba(0,0,0,.10);overflow:hidden}.is-dark .bar{background:rgba(255,255,255,.12)}.bar-fill{height:100%;background:#10b981;border-radius:99px;transition:width .25s ease}.modal-phase{margin-top:10px;font-size:12.5px;font-weight:600}.modal-hint{margin-top:6px;font-size:11px;line-height:1.5;opacity:.62}.modal-soon{font-size:13px;line-height:1.5;color:#5f5849;margin:6px 0 14px}.modal-err{font-size:12.5px;line-height:1.55;color:#b42318;margin-bottom:14px}.is-dark .modal-err{color:#fda29b}.modal-btn{border:1px solid rgba(0,0,0,.14);background:transparent;color:inherit;font:inherit;font-size:12.5px;padding:6px 18px;border-radius:8px;cursor:pointer}.modal-btn:hover{background:rgba(0,0,0,.06)}`,"doxa-poster-wall"),(F,H)=>(ee(),ae("div",{class:Ge(["wall",{"is-dark":e.isDark,"wall--embedded":e.embedded}])},[G("h2",sb,Q(e.heading),1),e.tag?(ee(),ae("div",ab,Q(e.tag),1)):Se("",!0),e.intro?(ee(),ae("p",{key:1,class:"wall-sub",innerHTML:e.intro},null,8,rb)):Se("",!0),(ee(!0),ae(Le,null,ot(T.value,Z=>(ee(),ae("section",{key:Z.name,class:"sec"},[e.sectionHeads?(ee(),po(Ns(e.collapsible?"button":"div"),{key:0,class:Ge(["sec-head",{"is-toggle":e.collapsible,"is-shut":e.collapsible&&P(Z.name)}]),type:e.collapsible?"button":null,"aria-expanded":e.collapsible?String(!P(Z.name)):null,onClick:q=>e.collapsible&&x(Z.name)},{default:gr(()=>[e.collapsible?(ee(),ae("span",{key:0,class:Ge(["sec-caret",{"is-open":!P(Z.name)}])},"▶",2)):Se("",!0),G("h3",ib,Q(Z.name),1),G("span",lb,Q(Z.total.toLocaleString())+" people groups · "+Q(Z.items.length)+" "+Q(Z.items.length===1?e.itemNoun:l.value),1)]),_:2},1032,["class","type","aria-expanded","onClick"])):Se("",!0),e.columnsControl&&!P(Z.name)?(ee(),ae("div",cb,[G("label",{class:"perrow__label",for:`perrow-${e.instanceId}-${Z.name}`},Q(je(z)("buttons.postersPerRow")),9,ub),Rs(G("select",{id:`perrow-${e.instanceId}-${Z.name}`,class:"perrow__select","onUpdate:modelValue":H[0]||(H[0]=q=>o.value=q)},[(ee(),ae(Le,null,ot(n,q=>G("option",{key:q,value:q},Q(q),9,db)),64))],8,pb),[[zp,o.value,void 0,{number:!0}]])])):Se("",!0),Rs(G("div",{class:"grid",style:qt(i.value)},[(ee(!0),ae(Le,null,ot(Z.items,q=>(ee(),ae("div",{key:q.id,class:Ge(["card",{"is-last":g.value===q.id}]),"data-list-id":q.id},[G("button",{type:"button",class:"tape tape-h","aria-label":je(z)("buttons.showOnMapAria",{label:q.label}),onClick:_e=>b(q)},[G("span",fb,Q(q.count)+" "+Q(e.unit),1),H[2]||(H[2]=G("span",{class:"hsep"},"·",-1)),G("span",$b,Q(je(z)("buttons.showOnMap")),1)],8,hb),G("div",mb,[e.unsupported(q)?(ee(),ae("div",_b,[G("div",bb,Q(q.label),1),q.count?(ee(),ae("div",yb,Q(q.count.toLocaleString())+" people groups",1)):Se("",!0),G("div",vb,Q(e.unsupported(q)),1)])):h.value[q.id]?(ee(),ae("div",Lb,[G("div",xb,Q(q.label),1),q.count?(ee(),ae("div",Pb,Q(q.count.toLocaleString())+" people groups",1)):Se("",!0),H[3]||(H[3]=G("div",{class:"ph-note"},"preview unavailable",-1))])):(ee(),ae("img",{key:1,class:Ge(["img",{"is-clickable":se.value}]),src:$(q.id),alt:se.value?`${q.label} — prayer poster (click to preview and print)`:`${q.label} — prayer poster`,loading:"lazy",decoding:"async",role:se.value?"button":null,tabindex:se.value?0:null,title:se.value?je(z)("buttons.previewPrintPoster",{label:q.label}):null,onClick:_e=>se.value&&y(q),onKeydown:[bi(Po(_e=>se.value&&y(q),["prevent"]),["enter"]),bi(Po(_e=>se.value&&y(q),["prevent"]),["space"])],onError:_e=>L(q.id)},null,42,wb)),G("fieldset",kb,[G("legend",null,Q(je(z)("buttons.printOptions")),1),e.hidePrayerListWhenSoon&&!Y.value?Se("",!0):(ee(),ae("button",{key:0,type:"button",class:"pbtn",onClick:_e=>ne(q)},Q(je(z)("buttons.prayerList")),9,Ab)),G("button",{type:"button",class:"pbtn",onClick:_e=>y(q)},Q(je(z)("buttons.posterMap")),9,Sb),Y.value?(ee(),ae("button",{key:1,type:"button",class:"pbtn pbtn-deck","aria-expanded":String(de.value===q.id),onClick:Po(_e=>He(q.id,_e),["stop"])},Q(je(z)("buttons.cardDeck")),9,Eb)):Se("",!0)]),Y.value&&K.value.length&&de.value===q.id?(ee(),ae("div",{key:3,class:"tape pstocks",role:"group","aria-label":je(z)("buttons.cardStockAria")},[(ee(!0),ae(Le,null,ot(K.value,_e=>(ee(),ae("button",{key:_e.id,type:"button",class:Ge(["pstock",{"is-on":R.value===_e.id}]),onClick:Po(m=>at(q,_e.id),["stop"])},Q(_e.label),11,Tb))),128))],8,Rb)):Se("",!0)])],10,gb))),128))],4),[[li,!P(Z.name)]])]))),128)),_.value?(ee(),ae("div",{key:2,ref_key:"scrimRef",ref:O,style:qt(je(w)),class:"modal-scrim",onClick:H[1]||(H[1]=Po(Z=>_.value.phase==="error"&&Ne(),["self"]))},[G("div",Cb,[G("div",Ob,Q(_.value.kind),1),G("div",Mb,Q(_.value.label),1),_.value.phase==="error"?(ee(),ae(Le,{key:0},[G("div",Nb,Q(_.value.message),1),G("button",{type:"button",class:"modal-btn",onClick:Ne},Q(je(z)("buttons.close")),1)],64)):_.value.phase==="soon"?(ee(),ae(Le,{key:1},[G("div",Ib,Q(_.value.message),1),G("button",{type:"button",class:"modal-btn",onClick:Ne},Q(je(z)("buttons.close")),1)],64)):(ee(),ae(Le,{key:2},[G("div",Fb,[G("div",{class:"bar-fill",style:qt({width:_.value.pct+"%"})},null,4)]),G("div",Db,Q(_.value.message),1),G("div",Gb,Q(je(z)("buttons.renderingLocal")),1)],64))])],4)):Se("",!0)],2))}},zb="A printable sheet for each population centre where unengaged people groups live — named from a cited gazetteer, never inferred.",jb=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"city-poster-wall",setup(e){const t=Ze("profileConfig",pe(null)),o=re(()=>{var l;return((l=t.value)==null?void 0:l.isDark)===!0}),n=re(()=>cs(t.value)),a=pe([]);Jt(async()=>{try{const l=await fetch(`${n.value}/tables/key-cities.json`);l.ok&&(a.value=(await l.json()).rows||[])}catch{}});const s=re(()=>a.value.filter(l=>l.poster_id).map(l=>({id:l.poster_id,label:l.place_name,count:l.people_group_count,region:l.region,bbox:null}))),r=l=>l.region||"Other",i=l=>l.total<20;return(l,c)=>(ee(),po(Bb,{items:s.value,"group-by":r,"is-dark":o.value,"assets-base":n.value,"event-name":"doxa-key-cities:show-on-map",heading:"Key City Posters",tag:"Prayer Mobilization",intro:zb,unit:"UPG","item-noun":"city","item-noun-plural":"cities",collapsible:!0,"collapsed-by":i,"prayer-list-soon-message":"Coming soon — a prayer list for each city, naming every unengaged people group in it.","download-prefix":"doxa-city"},null,8,["items","is-dark","assets-base"]))}}},Symbol.toStringTag,{value:"Module"})),Vb={class:"dt-head"},Wb={class:"dt-title"},Hb={class:"dt-count"},qb={key:0,class:"dt-grain"},Kb={class:"dt-actions"},Xb={key:0,class:"dt-err"},Jb={class:"dt-wrap"},Yb={class:"dt-hint"},Zb={class:"dt-sheet",role:"dialog","aria-label":"Row detail"},Qb={class:"dt-sheet-head"},ey={class:"dt-dl"},ty=["href"],oy={key:1},ny={key:2},sy={key:2,class:"dt-caveats"},ay={class:"dt-cav-k"},ry={__name:"DataTable",props:{table:{type:Object,required:!0},assetsBase:{type:String,default:"./assets"},isDark:{type:Boolean,default:!1},height:{type:String,default:"560px"},frozen:{type:Number,default:1},pageSize:{type:Number,default:50}},emits:["row-click"],setup(e,{emit:t}){const o=e,n=t,a=pe(!1),s=pe(null),{scrimRef:r,scrimStyle:i}=Kl(s),l=pe(null),c=jo(null),u=pe(null),f=pe(!1),$=re(()=>String(o.assetsBase||"./assets").replace(/\/+$/,"")),L=re(()=>{var y;return((y=o.table)==null?void 0:y.meta)||{}}),T=re(()=>{var y;return(((y=o.table)==null?void 0:y.rows)||[]).length}),S=re(()=>Object.entries(L.value).filter(([y,I])=>typeof I=="string"&&/caveat|meaning|note|boundary|measures|does_not/i.test(y)).map(([y,I])=>({key:y.replace(/_/g," "),text:I})));let A=null;function P(){return window.Tabulator?Promise.resolve(window.Tabulator):A||(A=new Promise((y,I)=>{const z=document.createElement("script");z.src=`${$.value}/vendor/tabulator/tabulator.min.js`,z.onload=()=>y(window.Tabulator),z.onerror=()=>I(new Error("Tabulator failed to load — is public/assets/vendor/tabulator/ present?")),document.head.appendChild(z)}),A)}async function x(y){if(!(!y||y.querySelector("style[data-tabulator]")))try{const I=await fetch(`${$.value}/vendor/tabulator/tabulator.min.css`);if(!I.ok)return;const z=document.createElement("style");z.setAttribute("data-tabulator",""),z.textContent=await I.text(),y.appendChild(z)}catch{}}function g(y){var R,K;if(!l.value)return;a.value=typeof window<"u"&&window.innerWidth<700;const I=((R=o.table)==null?void 0:R.columns)||[],W=(a.value?I.slice(0,3):I).map((oe,Y)=>({title:oe.title,field:oe.field,headerFilter:oe.type==="boolean"?"tickCross":"input",headerFilterPlaceholder:"filter…",sorter:oe.type==="number"?"number":oe.type==="boolean"?"boolean":"string",formatter:oe.type==="boolean"?"tickCross":void 0,.../_url$/.test(oe.field)?{formatter:"link",formatterParams:{target:"_blank",label:()=>"open"}}:{},frozen:!a.value&&Y{s.value=Y.getData(),n("row-click",Y.getData())}),c.value.on("tableBuilt",()=>{f.value=!0})}const h=y=>{var I,z;return((z=(((I=o.table)==null?void 0:I.columns)||[]).find(W=>W.field===y))==null?void 0:z.title)||y.replace(/_/g," ")},b=y=>typeof y=="string"&&y.includes(", ")&&y.length>40?y.split(", "):null,_=y=>typeof y=="string"&&/^https?:\/\//.test(y),O=re(()=>s.value?Object.entries(s.value).filter(([,y])=>y!==""&&y!==null&&y!==void 0):[]);function w(y){var I;try{(I=c.value)==null||I.download(y,`${(L.value.title||"table").replace(/\W+/g,"-").toLowerCase()}.${y}`)}catch(z){u.value=String(z.message||z)}}return Jt(async()=>{var y,I;try{await x((I=(y=l.value)==null?void 0:y.getRootNode)==null?void 0:I.call(y)),g(await P())}catch(z){u.value=String(z.message||z)}}),Yt(()=>{var y;try{(y=c.value)==null||y.destroy()}catch{}}),ct(()=>o.table,()=>{var y,I;try{(I=c.value)==null||I.replaceData(((y=o.table)==null?void 0:y.rows)||[])}catch{}}),Mo(".dt .tabulator{border:1px solid #d1d4cd;background:#fff;font-size:14px}.dt .tabulator .tabulator-header{background:#f3f3f1;border-bottom:1px solid #d1d4cd;color:#3b463d}.dt .tabulator .tabulator-header .tabulator-col{background:#f3f3f1;border-right:1px solid #d1d4cd;color:#3b463d}.dt .tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover{background:#e9ebe6}.dt .tabulator .tabulator-col-title{color:#3b463d;font-weight:700}.dt .tabulator .tabulator-header .tabulator-col .tabulator-header-filter input,.dt .tabulator .tabulator-header .tabulator-col .tabulator-header-filter select{background:#fff;border:1px solid #d1d4cd;border-radius:5px;color:#3b463d;padding:3px 6px}.dt .tabulator .tabulator-row{background:#fff;color:#3b463d;border-bottom:1px solid #e6e8e3}.dt .tabulator .tabulator-row.tabulator-row-even{background:#faf9f7}.dt .tabulator .tabulator-row:hover{background:#e9ebe6}.dt .tabulator .tabulator-row .tabulator-cell{border-right:1px solid #e6e8e3;color:#3b463d}.dt .tabulator .tabulator-row .tabulator-cell a{color:#4a7a52;font-weight:600}.dt .tabulator .tabulator-footer{background:#f3f3f1;border-top:1px solid #d1d4cd;color:#3b463d}.dt .tabulator .tabulator-footer .tabulator-paginator{color:#3b463d}.dt .tabulator .tabulator-footer .tabulator-paginator label{color:#3b463d}.dt .tabulator .tabulator-footer .tabulator-paginator select{background:#fff;border:1px solid #d1d4cd;border-radius:5px;color:#3b463d}.dt .tabulator .tabulator-footer .tabulator-page{border:1px solid #d1d4cd;background:#fff;color:#3b463d;border-radius:5px}.dt .tabulator .tabulator-footer .tabulator-page.active{background:#92b195;border-color:#92b195;color:#fff}.dt .tabulator .tabulator-footer .tabulator-page:not(disabled):hover{background:#e9ebe6;color:#3b463d}.dt .tabulator .tabulator-footer .tabulator-page:disabled{opacity:.45}.dt,.dt *{box-sizing:border-box}.dt{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.dt-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px}.dt-title{font-size:15px;font-weight:700;margin:0}.dt-count{font-size:11.5px;opacity:.6;font-variant-numeric:tabular-nums}.dt-grain{font-size:11px;opacity:.55}.dt-actions{margin-left:auto;display:flex;gap:6px}.dt-btn{font:600 11.5px inherit;padding:5px 11px;border-radius:6px;cursor:pointer;border:1px solid rgba(0,0,0,.16);background:transparent;color:inherit}.dt-btn:hover{background:rgba(0,0,0,.05)}.dt-err{padding:10px 12px;border-radius:8px;background:rgba(220,38,38,.10);color:#a12020;font-size:12.5px}.dt-caveats{margin-top:10px;padding:10px 12px;border-radius:8px;background:rgba(0,0,0,.04);font-size:11.5px;line-height:1.6;opacity:.85}.is-dark .dt-caveats{background:rgba(255,255,255,.06)}.dt-cav-k{font-weight:700;text-transform:capitalize}.dt-scrim{position:fixed;inset:0;z-index:1200;background:rgba(8,12,16,.55);display:flex;align-items:flex-end;justify-content:center}@media(min-width:700px){.dt-scrim{align-items:center}}.dt-sheet{width:100%;max-width:560px;max-height:82vh;overflow-y:auto;background:#fff;color:#0f1419;border-radius:14px 14px 0 0;padding:16px 18px 26px;box-shadow:0 -6px 30px rgba(0,0,0,.3)}@media(min-width:700px){.dt-sheet{border-radius:14px}}.is-dark .dt-sheet{background:#132019;color:#e5e7eb}.dt-sheet-head{display:flex;align-items:center;gap:12px;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid rgba(0,0,0,.10);font-size:15px}.dt-close{margin-left:auto;font:600 12px inherit;padding:7px 14px;border-radius:8px;cursor:pointer;min-height:36px;border:1px solid rgba(0,0,0,.16);background:transparent;color:inherit}.dt-dl{display:grid;grid-template-columns:minmax(96px,34%) 1fr;gap:7px 12px;margin:0;font-size:12.5px}.dt-dl dt{font-weight:700;opacity:.72;text-transform:capitalize}.dt-dl dd{margin:0;word-break:break-word}.dt-dl ul{margin:0;padding-left:16px}.dt-dl a{color:#0b7a5b;font-weight:600}.dt-hint{font-size:11px;opacity:.6;margin:6px 0 0}.dt-wrap{width:100%;overflow:hidden;border:1px solid rgba(0,0,0,.10);border-radius:8px}.is-dark .dt-wrap{border-color:rgba(255,255,255,.12)}","doxa-data-table"),(y,I)=>{var z,W;return ee(),ae("div",{class:Ge(["dt",{"is-dark":e.isDark}])},[G("div",Vb,[G("h3",Wb,Q(L.value.title||"Data"),1),G("span",Hb,Q(T.value.toLocaleString())+" rows",1),L.value.grain?(ee(),ae("span",qb,"· "+Q(L.value.grain),1)):Se("",!0),G("span",Kb,[G("button",{type:"button",class:"dt-btn",onClick:I[0]||(I[0]=R=>w("csv"))},"CSV"),G("button",{type:"button",class:"dt-btn",onClick:I[1]||(I[1]=R=>w("json"))},"JSON")])]),u.value?(ee(),ae("div",Xb,Q(u.value),1)):Se("",!0),G("div",Jb,[G("div",{ref_key:"host",ref:l},null,512)]),G("p",Yb,"Tap any row for its full detail"+Q(a.value?"":" — every field, including the lists the table flattens")+".",1),s.value?(ee(),ae("div",{key:1,ref_key:"scrimRef",ref:r,style:qt(je(i)),class:"dt-scrim",onClick:I[3]||(I[3]=Po(R=>s.value=null,["self"]))},[G("div",Zb,[G("div",Qb,[G("strong",null,Q(s.value[(W=(((z=e.table)==null?void 0:z.columns)||[])[0])==null?void 0:W.field]||"Detail"),1),G("button",{type:"button",class:"dt-close",onClick:I[2]||(I[2]=R=>s.value=null)},"Close")]),G("dl",ey,[(ee(!0),ae(Le,null,ot(O.value,([R,K])=>(ee(),ae(Le,{key:R},[G("dt",null,Q(h(R)),1),G("dd",null,[_(K)?(ee(),ae("a",{key:0,href:K,target:"_blank",rel:"noopener"},Q(K),9,ty)):b(K)?(ee(),ae("ul",oy,[(ee(!0),ae(Le,null,ot(b(K),(oe,Y)=>(ee(),ae("li",{key:Y},Q(oe),1))),128))])):(ee(),ae("span",ny,Q(K===!0?"yes":K===!1?"no":K),1))])],64))),128))])])],4)):Se("",!0),S.value.length?(ee(),ae("div",sy,[(ee(!0),ae(Le,null,ot(S.value,R=>(ee(),ae("div",{key:R.key},[G("span",ay,Q(R.key)+":",1),De(" "+Q(R.text),1)]))),128))])):Se("",!0)],2)}}},iy={class:"ct-tabs"},ly=["onClick"],cy={key:0,class:"ct-n"},uy={key:0,class:"ct-err"},py={key:1,class:"ct-load"},dy=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"data-tables",setup(e){const t=Ze("profileConfig",pe(null)),o=re(()=>{var $;return(($=t.value)==null?void 0:$.isDark)===!0}),n=re(()=>cs(t.value)),a=[{id:"cities",label:"Key Cities",file:"key-cities"},{id:"langcity",label:"Languages Here",file:"languages-per-city"},{id:"languages",label:"By Country",file:"languages-by-country"},{id:"operators",label:"ISPs & Carriers",file:"network-operators"},{id:"messaging",label:"Messaging Apps",file:"messaging-channels"}],s=pe("cities"),r=re(()=>a.find($=>$.id===s.value)||a[0]),i=pe({}),l=pe(!1),c=pe(null);async function u($){if(!i.value[$]){l.value=!0,c.value=null;try{const L=await fetch(`${n.value}/tables/${$}.json`);if(!L.ok)throw new Error(`table not found (${L.status})`);i.value={...i.value,[$]:await L.json()}}catch(L){c.value=String(L.message||L)}finally{l.value=!1}}}ct(r,$=>$&&u($.file),{immediate:!0});const f=re(()=>{var $;return i.value[($=r.value)==null?void 0:$.file]||null});return Mo(".ct{position:absolute;inset:0;overflow-y:auto;padding:18px;background:#f6f7f9;color:#0f1419;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.ct.is-dark{background:#0a1410;color:#e5e7eb}.ct-h{margin:0 0 4px;font-size:18px;font-weight:700}.ct-sub{margin:0 0 14px;font-size:12.5px;opacity:.72;line-height:1.5}.ct-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.ct-tab{font:600 12px inherit;padding:7px 14px;border-radius:999px;cursor:pointer;border:1px solid rgba(0,0,0,.14);background:transparent;color:inherit}.ct-tab.on{background:#10b981;border-color:#10b981;color:#04241a}.ct-load{padding:22px;text-align:center;font-size:12.5px;opacity:.6}.ct-err{padding:11px 13px;border-radius:8px;background:rgba(220,38,38,.10);color:#a12020;font-size:12.5px}.ct-n{font-size:10.5px;opacity:.6;margin-left:5px;font-variant-numeric:tabular-nums}","doxa-keycities-tables"),($,L)=>(ee(),ae("div",{class:Ge(["ct",{"is-dark":o.value}])},[L[0]||(L[0]=G("h2",{class:"ct-h"},"Key Cities Data",-1)),L[1]||(L[1]=G("p",{class:"ct-sub"}," Every located centre, the languages spoken there, and the channels that reach them. Sort, filter and export any table; each carries its own sources and limits. ",-1)),G("div",iy,[(ee(),ae(Le,null,ot(a,T=>G("button",{key:T.id,type:"button",class:Ge(["ct-tab",{on:s.value===T.id}]),onClick:S=>s.value=T.id},[De(Q(T.label),1),i.value[T.file]?(ee(),ae("span",cy,Q((i.value[T.file].rows||[]).length.toLocaleString()),1)):Se("",!0)],10,ly)),64))]),c.value?(ee(),ae("div",uy,Q(c.value),1)):f.value?(ee(),po(ry,{key:r.value.id,table:f.value,"assets-base":n.value,"is-dark":o.value,height:"600px"},null,8,["table","assets-base","is-dark"])):(ee(),ae("div",py,"Loading "+Q(r.value.label)+"…",1))],2))}}},Symbol.toStringTag,{value:"Module"}));function Ql(e){const t=(e.match(//)||[])[0];if(!t)throw new Error("poster HTML contains no ");const n=((e.match(/`}const xa={poker:{w:2.5,h:3.5,label:"Card 2.5 × 3.5 in"},pokerLandscape:{w:3.5,h:2.5,label:"Card 3.5 × 2.5 in (landscape)",side:!0},postcard:{w:4,h:6,label:"Postcard 4 × 6 in"},postcardLandscape:{w:6,h:4,label:"Postcard 6 × 4 in (landscape)",side:!0},a6:{w:4.13,h:5.83,label:"A6 105 × 148 mm"}},nc=96;function _y({strings:e,lang:t="en",stock:o="poker",siteBase:n="https://pray.doxa.life"}={}){const a=e.en,s=e[t]||{},r=x=>s[x]!==void 0?s[x]:a[x],i=x=>String(x??"").replace(/&/g,"&").replace(//g,">").replace(/"/g,"""),l=(x,g)=>{const h=x[`${g}_label`];if(h)return String(h);const b=x[g];return b&&typeof b=="object"?String(b.label??b.value??""):b==null?"":String(b)},c=x=>Number.isFinite(Number(x))?Number(x).toLocaleString(t):"—",u=xa[o]||xa.poker,f=Math.round(u.w*nc),$=Math.round(u.h*nc),L=u.side===!0,T=x=>t==="en"?`${n}/${x}`:`${n}/${t}/${x}`;function S(){return` +`,"pin-hint"),(w,y)=>l.value?(ee(),ae("div",{key:0,ref_key:"hintEl",ref:c,class:Ge(["pin-hint",{dark:r.value}]),role:"status"},[G("span",g_,[y[0]||(y[0]=G("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),De(" "+Q(i.value)+" ",1),G("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:g},"×")])],2)):Se("",!0)}};let f_=0;const $_=ea("ui",{state:()=>({_storeInstanceId:++f_,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:a=null,persistent:s=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(r),!s&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),m_=ea("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),__=ea("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const o=await t();this.sources[e]=_o({features:o,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(o){console.error(`[dataStore] Failed to load source "${e}":`,o),this.loadingStates[e]={isLoading:!1,error:o}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=_o({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var o;return((o=e.sources[t])==null?void 0:o.features)??null},isLoading:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.isLoading)??!1},getError:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.error)??null}}}),b_={activeSource:"pray-tools"},y_=".profile-loader[data-v-45d151f8]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-45d151f8]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",v_=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},w_={class:"profile-loader"},L_={key:0,class:"profile-error"},x_={key:1,class:"profile-error"},P_=v_({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var b;const o=e,n=Ze("profileConfig",null),a=re(()=>{var O;if(!o.profileConfig)return null;let _;try{_=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(_&&_.assetsBase===void 0){const w=(O=n==null?void 0:n.value)==null?void 0:O.assetsBase;typeof w=="string"&&w&&(_.assetsBase=w)}return _}),s=re(()=>{var _;return((_=a.value)==null?void 0:_.profile)||null}),r=ad(),i=re(()=>{var O;const _=(O=a.value)==null?void 0:O.tk;return typeof _=="string"&&_?_:r.value||""});ot(()=>{var _;return(_=a.value)==null?void 0:_.tk},_=>{typeof _=="string"&&_&&Ri(_)},{immediate:!0});const l=re(()=>{var _;return((_=a.value)==null?void 0:_.dataSource)||b_.activeSource}),c=re(()=>{var _;return((_=a.value)==null?void 0:_.colorSet)||"default"}),u=re(()=>!1),f=re(()=>{var _;return((_=a.value)==null?void 0:_.pinHint)!==!1}),$=re(()=>{var O,w;const _=(((O=a.value)==null?void 0:O.locale)||((w=a.value)==null?void 0:w.lang)||"").split("-")[0].toLowerCase();return cs.includes(_)?_:""}),L=Ze("appI18n",null);mu(()=>{$.value&&(L&&(L.global.locale.value=$.value),Hl($.value))});const C=re(()=>{var _,O;return $.value||((O=(_=L==null?void 0:L.global)==null?void 0:_.locale)==null?void 0:O.value)||"en"}),S=re(()=>{var _;return((_=a.value)==null?void 0:_.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),A=Ze("profileModules",null);if(!A)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const P=re(()=>{if(!s.value)return null;const _=`./${s.value}.vue`;return A[_]?rd(A[_]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(A)),null)});At("mapboxToken",i),At("dataSource",l),At("colorSet",c),At("profileConfig",a),At("instanceId",S),At("lang",C);const x=$_(),g=m_(),h=__();try{const _=typeof localStorage<"u"?localStorage.getItem("theme"):null;_&&((b=x.setTheme)==null||b.call(x,_))}catch{}return At("uiStore",x),At("mapStore",g),At("dataStore",h),(_,O)=>(ee(),ae("div",w_,[a.value?P.value?(ee(),po(Is(P.value),{key:2})):(ee(),ae("div",x_,[G("p",null,[O[1]||(O[1]=De("⚠️ Profile ",-1)),G("strong",null,'"'+Q(s.value)+'"',1),O[2]||(O[2]=De(" not found.",-1))])])):(ee(),ae("div",L_,[...O[0]||(O[0]=[G("p",null,[De("⚠️ "),G("strong",null,"doxa-map"),De(": missing or invalid "),G("code",null,"profile-config"),De(" prop.")],-1),G("p",null,[De("Example: "),G("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),P.value&&u.value?(ee(),po(Is(je(null)),{key:3})):Se("",!0),P.value&&f.value?(ee(),po(h_,{key:4})):Se("",!0)]))}},[["styles",[y_]],["__scopeId","data-v-45d151f8"]]),k_=Object.assign({"./cities-list.vue":()=>dt(()=>Promise.resolve().then(()=>U_),void 0),"./cities-map.vue":()=>dt(()=>Promise.resolve().then(()=>nb),void 0),"./city-poster-wall.vue":()=>dt(()=>Promise.resolve().then(()=>Hb),void 0),"./data-tables.vue":()=>dt(()=>Promise.resolve().then(()=>fy),void 0)});function A_(){return Bp(P_,{configureApp(e){e.use(Zp()),e.use(u_()),e.provide("profileModules",k_)}})}const S_=A_();typeof customElements<"u"&&(customElements.get("key-cities-map")||customElements.define("key-cities-map",S_));const E_=ds&&ds.tagName.toUpperCase()==="SCRIPT"&&ds.src||new URL("key-cities.js",document.baseURI).href,gn=e=>String(e||"").trim().replace(/\/+$/,"");function ql(){try{const t=String(E_||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function us(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=gn(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const o=gn((e==null?void 0:e.treeBase)||"")||gn(ql()||"");if(o)try{const n=typeof document<"u"?document.baseURI:void 0;return gn(new URL(o+"/assets",n).href)}catch{return gn(o+"/assets")}return"./assets"}const R_={class:"kc-sub"},C_={key:0,class:"caveat"},T_={class:"kc-tabs"},O_=["onClick"],M_=["onClick"],N_={class:"sec-name"},I_={class:"sec-meta"},F_={class:"r-meta"},D_={class:"r-num"},G_={class:"caveat"},U_=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"cities-list",setup(e){const t=Ze("profileConfig",pe(null)),o=re(()=>{var P;return((P=t.value)==null?void 0:P.isDark)===!0}),n=re(()=>us(t.value)),a=pe({rows:[]}),s=pe(null);Yt(async()=>{try{const P=await fetch(`${n.value}/tables/key-cities.json`);if(!P.ok)throw new Error(`table not found (${P.status})`);a.value=await P.json()}catch(P){s.value=String(P.message||P)}});const r=re(()=>a.value.rows||[]),i=re(()=>r.value.filter(P=>P.named)),l=pe("named"),c=[{id:"named",label:"Named population centres"},{id:"multi",label:"Multi-group clusters"},{id:"all",label:"All locations"}],u=re(()=>l.value==="named"?i.value:l.value==="multi"?r.value.filter(P=>P.is_population_centre):r.value),f=re(()=>{const P=new Map;for(const x of u.value){const g=x.region||"Other";P.has(g)||P.set(g,[]),P.get(g).push(x)}return[...P.entries()].map(([x,g])=>({name:x,items:g.slice().sort((h,b)=>b.people_group_count-h.people_group_count),groups:g.reduce((h,b)=>h+b.people_group_count,0)})).sort((x,g)=>g.groups-x.groups)}),$=pe({}),L=P=>!!$.value[P],C=P=>{$.value={...$.value,[P]:!$.value[P]}},S=P=>(Number(P)||0).toLocaleString();Mo(".kc{position:absolute;inset:0;overflow-y:auto;padding:20px 18px 44px;background:#f6f7f9;color:#0f1419;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.kc.is-dark{background:#0a1410;color:#e5e7eb}.kc-h{margin:0 0 4px;font-size:19px;font-weight:700;text-align:center}.kc-sub{margin:0 auto 14px;max-width:660px;font-size:12.5px;line-height:1.55;text-align:center;opacity:.78}.kc-tabs{display:flex;gap:8px;justify-content:center;margin-bottom:16px;flex-wrap:wrap}.kc-tab{font:600 12px inherit;padding:6px 14px;border-radius:999px;cursor:pointer;border:1px solid rgba(0,0,0,.14);background:transparent;color:inherit}.kc-tab.on{background:#10b981;border-color:#10b981;color:#04241a}.sec{max-width:1080px;margin:0 auto;padding-bottom:34px}.sec-head{position:sticky;top:0;z-index:6;background:#f6f7f9;display:flex;align-items:baseline;gap:10px;padding:10px;margin:0 2px 10px;border-bottom:1px solid rgba(0,0,0,.10);cursor:pointer;user-select:none;width:100%;text-align:left;border-top:0;border-left:0;border-right:0;font:inherit;color:inherit;box-shadow:0 6px 10px -8px rgba(0,0,0,.35);border-radius:4px 4px 0 0}.is-dark .sec-head{background:#0a1410;border-bottom-color:rgba(255,255,255,.12)}.sec-caret{width:12px;font-size:10px;opacity:.55;transition:transform .18s}.sec-caret.open{transform:rotate(90deg)}.sec-name{margin:0;font-size:15px;font-weight:700}.sec-meta{font-size:11px;opacity:.6;font-variant-numeric:tabular-nums}.row{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:9px 10px;border-bottom:1px solid rgba(0,0,0,.06)}.is-dark .row{border-bottom-color:rgba(255,255,255,.07)}.r-name{font-size:13.5px;font-weight:700}.r-unnamed{font-weight:600;opacity:.55;font-style:italic}.r-meta{font-size:11px;opacity:.66;margin-top:2px;line-height:1.45}.r-num{font-size:12.5px;font-variant-numeric:tabular-nums;text-align:right}.pill{font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap}.pill.ok{background:rgba(16,185,129,.15);color:#0b7a5b}.pill.mid{background:rgba(245,158,11,.16);color:#8a6414}.pill.low{background:rgba(220,38,38,.13);color:#a12020}.pill.unk{background:rgba(0,0,0,.07);color:#6b7280}.is-dark .pill.unk{background:rgba(255,255,255,.10);color:#9ca3af}.caveat{max-width:1080px;margin:16px auto 0;padding:12px 14px;border-radius:8px;background:rgba(0,0,0,.04);font-size:11.5px;line-height:1.65;opacity:.85}.is-dark .caveat{background:rgba(255,255,255,.06)}","doxa-key-cities");const A=P=>P==="yes"?"ok":P==="partial"?"mid":P==="no"?"low":"unk";return(P,x)=>(ee(),ae("div",{class:Ge(["kc",{"is-dark":o.value}])},[x[12]||(x[12]=G("h2",{class:"kc-h"},"Key Cities",-1)),G("p",R_," Where the unengaged people groups live — "+Q(S(i.value.length))+" population centres named from a cited gazetteer, across "+Q(S(r.value.length))+" located clusters. ",1),s.value?(ee(),ae("div",C_,Q(s.value),1)):Se("",!0),G("div",T_,[(ee(),ae(Le,null,nt(c,g=>G("button",{key:g.id,type:"button",class:Ge(["kc-tab",{on:l.value===g.id}]),onClick:h=>l.value=g.id},Q(g.label),11,O_)),64))]),(ee(!0),ae(Le,null,nt(f.value,g=>(ee(),ae("section",{key:g.name,class:"sec"},[G("button",{type:"button",class:"sec-head",onClick:h=>C(g.name)},[G("span",{class:Ge(["sec-caret",{open:!L(g.name)}])},"▶",2),G("h3",N_,Q(g.name),1),G("span",I_,Q(g.items.length)+" locations · "+Q(S(g.groups))+" people groups ",1)],8,M_),Cs(G("div",null,[(ee(!0),ae(Le,null,nt(g.items,h=>(ee(),ae("div",{key:h.lat+","+h.lng,class:"row"},[G("div",null,[G("div",{class:Ge(h.place_name?"r-name":"r-unnamed")},Q(h.place_name||`unnamed location — ${h.lat}, ${h.lng}`),3),G("div",F_,[De(Q(h.country),1),h.admin_state?(ee(),ae(Le,{key:0},[De(" · "+Q(h.admin_state),1)],64)):Se("",!0),De(" · "+Q(h.people_group_count)+" group"+Q(h.people_group_count===1?"":"s")+" ",1),h.languages?(ee(),ae(Le,{key:1},[De(" · "+Q(h.languages.split(", ").slice(0,3).join(", ")),1)],64)):Se("",!0)])]),G("div",D_,Q(S(h.upg_population)),1),G("span",{class:Ge(["pill",A(h.country_internet_access)])},Q(h.country_internet_pct!=null?h.country_internet_pct+"%":"unknown"),3)]))),128))],512),[[li,!L(g.name)]])]))),128)),G("div",G_,[x[0]||(x[0]=G("b",null,"What a row is.",-1)),x[1]||(x[1]=De(" A cluster of people-group centroids within ~25km — ",-1)),x[2]||(x[2]=G("b",null,"not",-1)),De(" a municipal boundary. Pins mark where a people group is centred, not a settlement, so clusters are never named by inference: the "+Q(S(i.value.length))+" multi-group centres were resolved by ",1),x[3]||(x[3]=G("b",null,"Nominatim/OpenStreetMap",-1)),x[4]||(x[4]=De(" (ODbL, cited per row) and the rest stay unnamed rather than guessed. ",-1)),x[5]||(x[5]=G("br",null,null,-1)),x[6]||(x[6]=G("br",null,null,-1)),x[7]||(x[7]=G("b",null,"Internet figures are NATIONAL",-1)),x[8]||(x[8]=De(", shown as context. Per-city connectivity is not publicly available at this scale, and a national figure must not be read as a city measurement. ",-1)),x[9]||(x[9]=G("br",null,null,-1)),x[10]||(x[10]=G("br",null,null,-1)),x[11]||(x[11]=De(" This page carries people-group locations and connectivity only — no church, believer or meeting-point data, by design. ",-1))])],2))}}},Symbol.toStringTag,{value:"Module"})),Kl={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function B_(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function z_(e,{weight:t="regular",mapbox:o}={}){return B_(e)?{"text-font":[Kl[t]||Kl.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}const wa={boundaries:{label:"geoBoundaries",href:"https://www.geoboundaries.org",title:"Country and administrative boundaries — geoBoundaries gbOpen (mixed upstream licences; see docs)"},mapbox:{label:"Mapbox",href:"https://www.mapbox.com/about/maps/"},osm:{label:"© OpenStreetMap",href:"https://www.openstreetmap.org/copyright"}};function j_(e,t={}){if(!e||typeof e.addControl!="function")return null;const{boundaries:o=!0,basemap:n=!0}=t,a=document.createElement("div");a.className="doxa-attribution mapboxgl-ctrl",a.style.cssText=["font:11px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif","background:rgba(255,255,255,.82)","color:#3a4048","padding:2px 6px","border-radius:3px 0 0 0","pointer-events:auto","max-width:min(92vw,420px)"].join(";");const s=[];o&&s.push(wa.boundaries),n&&(s.push(wa.mapbox),s.push(wa.osm)),a.innerHTML=s.map(i=>`${i.label}`).join(" · ");const r={onAdd:()=>a,onRemove:()=>{a.parentNode&&a.parentNode.removeChild(a)},getDefaultPosition:()=>"bottom-right"};return e.addControl(r,"bottom-right"),r}const V_={class:"gm-legend"},W_={class:"gm-keys"},H_={key:0,class:"gm-err"},q_={key:1,class:"gm-sheet"},K_={class:"gm-sh-head"},X_={class:"gm-sh-name"},Y_={class:"gm-stat"},J_={key:0,class:"gm-stat"},Z_={class:"gm-stat"},Q_={class:"gm-stat"},eb={class:"gm-stat"},tb={key:1,class:"gm-list"},ob={key:2,class:"gm-list"},nb=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"cities-map",setup(e){const t=Ze("profileConfig",pe(null)),o=re(()=>{var g;return((g=t.value)==null?void 0:g.isDark)===!0}),n=re(()=>{var g;return((g=t.value)==null?void 0:g.tk)||window.DOXA_TOKEN||""}),a=re(()=>us(t.value)),s=pe(null),r=jo(null),i=pe([]),l=pe(null),c=pe(null),u=[{id:"named",label:"named centre",color:"#0b7a5b"},{id:"multi",label:"multi-group",color:"#e07a2b"},{id:"single",label:"single group",color:"#9aa2ad"}],f=re(()=>i.value.filter(g=>Number.isFinite(g.lat)&&Number.isFinite(g.lng))),$=pe([]),L=re(()=>$.value.filter(g=>Number.isFinite(Number(g.lat))&&Number.isFinite(Number(g.lng))));async function C(){const g=await fetch(`${a.value}/tables/key-cities.json`);if(!g.ok)throw new Error(`key-cities table not found (${g.status})`);i.value=(await g.json()).rows||[];try{const h=await fetch(`${a.value}/tables/key-cities-admin-n.json`);h.ok&&($.value=(await h.json()).rows||[])}catch{}}function S(g){const h={type:"FeatureCollection",features:f.value.map(b=>({type:"Feature",properties:{name:b.place_name||"",band:b.named?"named":b.is_population_centre?"multi":"single",groups:b.people_group_count,_row:JSON.stringify({place_name:b.place_name,country:b.country,admin_state:b.admin_state,people_group_count:b.people_group_count,people_groups:b.people_groups,languages:b.languages,upg_population:b.upg_population,lat:b.lat,lng:b.lng,named:b.named,country_internet_pct:b.country_internet_pct,poster_id:b.poster_id})},geometry:{type:"Point",coordinates:[b.lng,b.lat]}}))};if(g.getSource("kc-src")){g.getSource("kc-src").setData(h);return}g.addSource("kc-src",{type:"geojson",data:h}),g.addLayer({id:"kc-pts",type:"circle",source:"kc-src",paint:{"circle-radius":["interpolate",["linear"],["get","groups"],1,3.5,5,6,14,11],"circle-color":["match",["get","band"],"named","#0b7a5b","multi","#e07a2b","#9aa2ad"],"circle-opacity":.85,"circle-stroke-width":1,"circle-stroke-color":"rgba(255,255,255,0.85)"}}),g.addLayer({id:"kc-hit",type:"circle",source:"kc-src",paint:{"circle-radius":14,"circle-opacity":0}}),g.on("click","kc-hit",b=>{var O,w,y;const _=(y=(w=(O=b.features)==null?void 0:O[0])==null?void 0:w.properties)==null?void 0:y._row;if(_)try{l.value=JSON.parse(_)}catch{}}),g.on("mouseenter","kc-hit",()=>{g.getCanvas().style.cursor="pointer"}),x(g),g.on("mouseleave","kc-hit",()=>{g.getCanvas().style.cursor=""})}Yt(async()=>{const g=window.mapboxgl;if(!g||!s.value){c.value="mapbox-gl not loaded";return}try{await C();const h=new g.Map({container:s.value,style:o.value?"mapbox://styles/mapbox/dark-v11":"mapbox://styles/mapbox/light-v11",accessToken:n.value,center:[42,18],zoom:1.3,projection:"mercator",attributionControl:!1});r.value=_o(h),j_(h,{boundaries:!0}),h.once("load",()=>S(h))}catch(h){c.value=String(h.message||h)}}),Jt(()=>{var g;try{(g=r.value)==null||g.remove()}catch{}});const A=g=>(Number(g)||0).toLocaleString();function P(g,h,b){if(g.hasImage&&g.hasImage(h))return;const _=44,O=document.createElement("canvas");O.width=_,O.height=_;const w=O.getContext("2d"),y=_/2,I=_/2,z=_*.44,W=z*.42;w.beginPath();for(let K=0;K<10;K++){const oe=K%2===0?z:W,J=Math.PI/5*K-Math.PI/2,se=y+oe*Math.cos(J),de=I+oe*Math.sin(J);K===0?w.moveTo(se,de):w.lineTo(se,de)}w.closePath(),w.fillStyle=b,w.fill(),w.lineWidth=2.4,w.strokeStyle="rgba(255,255,255,0.95)",w.stroke();const R=w.getImageData(0,0,_,_);g.addImage(h,{width:_,height:_,data:new Uint8Array(R.data.buffer)})}function x(g){if(!L.value.length)return;P(g,"city-star","#b8860b");const h={type:"FeatureCollection",features:L.value.map(b=>({type:"Feature",properties:{name:b.place_name||"",tier:b.key_tier||"candidate",groups:Number(b.people_group_count)||0,_row:JSON.stringify({place_name:b.place_name,country:b.country,admin_state:b.admin_n,admin_n_level:b.admin_n_level,key_tier:b.key_tier,people_group_count:b.people_group_count,people_groups:b.people_groups,languages:b.languages,upg_population:b.upg_population,lat:b.lat,lng:b.lng,verification_tier:b.verification_tier,verification_meaning:b.verification_meaning})},geometry:{type:"Point",coordinates:[Number(b.lng),Number(b.lat)]}}))};if(g.getSource("kc-star-src")){g.getSource("kc-star-src").setData(h);return}g.addSource("kc-star-src",{type:"geojson",data:h}),g.addLayer({id:"kc-stars",type:"symbol",source:"kc-star-src",layout:{"icon-image":"city-star","icon-size":["match",["get","tier"],"key-high",.55,"key",.44,.34],"icon-allow-overlap":!0,"text-field":["case",["==",["get","tier"],"key-high"],["get","name"],""],...z_(g),"text-size":11,"text-offset":[0,1.25],"text-anchor":"top","text-optional":!0},paint:{"text-color":"#5b4708","text-halo-color":"rgba(255,255,255,0.92)","text-halo-width":1.4}}),g.on("click","kc-stars",b=>{var O,w,y;const _=(y=(w=(O=b.features)==null?void 0:O[0])==null?void 0:w.properties)==null?void 0:y._row;if(_)try{l.value=JSON.parse(_)}catch{}}),g.on("mouseenter","kc-stars",()=>{g.getCanvas().style.cursor="pointer"})}return Mo(".gm{position:absolute;inset:0;overflow:hidden}.gm-map{position:absolute;inset:0}.gm-legend{position:absolute;top:8px;left:8px;right:8px;z-index:4;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.94);color:#0f1419;font:12px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:0 2px 10px rgba(0,0,0,.16)}.is-dark .gm-legend{background:rgba(19,32,25,.95);color:#e5e7eb}.gm-title{font-weight:700;font-size:12.5px;margin-bottom:5px}.gm-keys{display:flex;flex-wrap:wrap;gap:5px 12px}.gm-key{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}.gm-sw{width:12px;height:12px;border-radius:3px;flex:none}.gm-caveat{margin-top:5px;font-size:10.5px;opacity:.72;line-height:1.4}.gm-sheet{position:absolute;left:0;right:0;bottom:0;z-index:6;max-height:62%;overflow-y:auto;background:#fff;color:#0f1419;border-radius:14px 14px 0 0;padding:14px 16px 22px;font:13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:0 -6px 26px rgba(0,0,0,.28)}@media(min-width:700px){.gm-sheet{left:auto;right:14px;bottom:14px;width:330px;border-radius:12px}}.is-dark .gm-sheet{background:#132019;color:#e5e7eb}.gm-sh-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.gm-sh-name{font-weight:800;font-size:15px}.gm-x{margin-left:auto;border:1px solid rgba(0,0,0,.16);background:transparent;color:inherit;font:600 12px inherit;padding:6px 12px;border-radius:8px;cursor:pointer;min-height:34px}.gm-stat{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px solid rgba(0,0,0,.07);font-variant-numeric:tabular-nums}.is-dark .gm-stat{border-bottom-color:rgba(255,255,255,.09)}.gm-stat b{font-weight:700}.gm-list{margin-top:9px}.gm-list-h{font-weight:700;font-size:12px;margin-bottom:3px}.gm-list ul{margin:0;padding-left:17px;font-size:12px;line-height:1.5}.gm-note{margin-top:9px;font-size:11px;line-height:1.5;opacity:.75}.gm-err{position:absolute;top:50%;left:0;right:0;text-align:center;font-size:13px;opacity:.7}","doxa-cities-map"),(g,h)=>(ee(),ae("div",{class:Ge(["gm",{"is-dark":o.value}])},[G("div",{ref_key:"mapEl",ref:s,class:"gm-map"},null,512),G("div",V_,[h[1]||(h[1]=G("div",{class:"gm-title"},"Where the unengaged people groups live",-1)),G("div",W_,[(ee(),ae(Le,null,nt(u,b=>G("span",{key:b.id,class:"gm-key"},[G("i",{class:"gm-sw",style:qt({background:b.color})},null,4),De(Q(b.label),1)])),64))]),h[2]||(h[2]=G("div",{class:"gm-caveat"}," A point is a cluster of people-group centroids within ~25km, not a municipal boundary. Named points come from a cited gazetteer. ",-1))]),c.value?(ee(),ae("div",H_,Q(c.value),1)):Se("",!0),l.value?(ee(),ae("div",q_,[G("div",K_,[G("span",X_,Q(l.value.place_name||`unnamed location — ${l.value.lat}, ${l.value.lng}`),1),G("button",{type:"button",class:"gm-x",onClick:h[0]||(h[0]=b=>l.value=null)},"Close")]),G("div",Y_,[h[3]||(h[3]=G("span",null,"Country",-1)),G("b",null,Q(l.value.country),1)]),l.value.admin_state?(ee(),ae("div",J_,[h[4]||(h[4]=G("span",null,"Admin area",-1)),G("b",null,Q(l.value.admin_state),1)])):Se("",!0),G("div",Z_,[h[5]||(h[5]=G("span",null,"People groups",-1)),G("b",null,Q(A(l.value.people_group_count)),1)]),G("div",Q_,[h[6]||(h[6]=G("span",null,"UPG population",-1)),G("b",null,Q(A(l.value.upg_population)),1)]),G("div",eb,[h[7]||(h[7]=G("span",null,"Country internet",-1)),G("b",null,Q(l.value.country_internet_pct!=null?l.value.country_internet_pct+"%":"unknown"),1)]),l.value.people_groups?(ee(),ae("div",tb,[h[8]||(h[8]=G("div",{class:"gm-list-h"},"People groups here",-1)),G("ul",null,[(ee(!0),ae(Le,null,nt(String(l.value.people_groups).split(", "),(b,_)=>(ee(),ae("li",{key:_},Q(b),1))),128))])])):Se("",!0),l.value.languages?(ee(),ae("div",ob,[h[9]||(h[9]=G("div",{class:"gm-list-h"},"Languages",-1)),G("ul",null,[(ee(!0),ae(Le,null,nt(String(l.value.languages).split(", "),(b,_)=>(ee(),ae("li",{key:_},Q(b),1))),128))])])):Se("",!0),h[10]||(h[10]=G("p",{class:"gm-note"}," A cluster of people-group centroids within ~25km, not a municipal boundary. Named points come from a cited gazetteer (Nominatim/OSM); unnamed ones show coordinates rather than an invented placename. Internet figures are NATIONAL. ",-1))])):Se("",!0)],2))}}},Symbol.toStringTag,{value:"Module"}));function hn(e,{autoprint:t=!1}={}){const o=document.createElement("iframe");o.setAttribute("aria-hidden","true"),o.style.cssText="position:fixed;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0",document.body.appendChild(o);const n=o.contentDocument;if(!n)return o.remove(),null;n.open(),n.write(e),t&&n.write('\n\n" + "script": "\n\n\n\n" }, "bundle": "all-people-groups" } @@ -39,7 +39,7 @@ "bundle": "big-picture", "scriptUrl": "./big-picture/big-picture.js", "output": "doxa-maps/big-picture/big-picture.js", - "integrity": "sha384-LJXi3Gt0KWHiSDqvUWGeJgvq/r71K6UlZpZJcOYmk8V3v05vl/ZlfSPh8vQ4QUh7", + "integrity": "sha384-q7Aer788BmKJMEZQNhsPdOUTlnxEE1+LGpEekFTuwOCfnotLiKQQQ9KgTuxycdeN", "elements": [ "bp-big-picture", "bp-research-header", @@ -61,7 +61,7 @@ "scriptUrl": "./big-picture/big-picture.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -105,7 +105,7 @@ "bundle": "cities-internet", "scriptUrl": "./cities-internet/cities-internet.js", "output": "doxa-maps/cities-internet/cities-internet.js", - "integrity": "sha384-to5VPU6sRsiSsrGWUOe58CahHZCMdQfp1WLuOG325uIQ+7UfpJMx1VH17xAz/GaK", + "integrity": "sha384-x6/RVXhemCFRQzweuQteBIuFUchqn6Di+Ape0WbARx+ciOcuDaauKRIDQjw0aTvX", "elements": [ "cities-internet-map" ], @@ -121,7 +121,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -135,7 +135,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -149,7 +149,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] @@ -158,7 +158,7 @@ "bundle": "country-posters", "scriptUrl": "./country-posters/country-posters.js", "output": "doxa-maps/country-posters/country-posters.js", - "integrity": "sha384-HDrGqlveN1nUN57SZJlfu7d16yNlmysDWYIdaGtIeTkxL+fbaYNje9qKF+j8jQrb", + "integrity": "sha384-ehoJ18r22QegJBTfr7jNt2+51KUuZTT5iayY+Elbtr07XWq6+sMqkSm6Jr4k5wIV", "elements": [ "country-posters-map" ], @@ -178,7 +178,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -192,7 +192,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -206,7 +206,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -215,7 +215,7 @@ "bundle": "dashboard-plus-grid", "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "output": "doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js", - "integrity": "sha384-eFZgF4nONb6AhyCtlLYnlaeOq73lqNw2J/zk6CrMWdDUtLWpBrT9EMCqiI5qWtJ3", + "integrity": "sha384-RCM6Za38yPKwIORPQbRaPSN47uzLEsVWVcvsCVL/roSGSubydJElh8rjcqhhliz8", "elements": [ "dashboard-plus-grid" ], @@ -235,7 +235,7 @@ "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -259,7 +259,7 @@ "bundle": "demo-map", "scriptUrl": "./demo-map/demo-map.js", "output": "doxa-maps/demo-map/demo-map.js", - "integrity": "sha384-gHvPsjsiILFQMAHyTn2th8qgbK3UgSmc93TrTnKAidFA5qswnMPDQATgdquQFGAR", + "integrity": "sha384-0V1FEOWrA5LLqa78Lv8qp5mp6e6LsvYn09LrZpn8M0ekv36An5WHOuFuINpw6f9k", "elements": [ "demo-map" ], @@ -275,7 +275,7 @@ "scriptUrl": "./demo-map/demo-map.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -354,7 +354,7 @@ "bundle": "doxa-research-map", "scriptUrl": "./doxa-research-map/doxa-research-map.js", "output": "doxa-maps/doxa-research-map/doxa-research-map.js", - "integrity": "sha384-KfDmvtZAIj2C/j1rd3Ykj7lHxAgMA3OTNrofqyJTi+BMdNowQNkSVs6Z3Jgg7tfR", + "integrity": "sha384-3Hza1CBXXC7Rb0iZ+jLLvXxC2ns+DzOkwpxP7S54U/nW/030UO69J0fB4s6ECaqo", "elements": [ "doxa-research-map" ], @@ -370,7 +370,7 @@ "scriptUrl": "./doxa-research-map/doxa-research-map.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -396,7 +396,7 @@ "bundle": "doxa-simple-map", "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "output": "doxa-maps/doxa-simple-map/doxa-simple-map.js", - "integrity": "sha384-DgqOY1kT3MInesvWJ8XqXdIg5xRuXj2wQa7qPo32gtvcRS3N5XZTUbP4ZmO1KaMf", + "integrity": "sha384-qhMyecjzho+0OgUenSmy3larlkmVvv4bs2JUnYhclhG6OIb27lO3Eqz4wnAhJn+H", "elements": [ "doxa-map", "doxa-simple-map" @@ -413,7 +413,7 @@ "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -579,7 +579,7 @@ "bundle": "gospel-resources", "scriptUrl": "./gospel-resources/gospel-resources.js", "output": "doxa-maps/gospel-resources/gospel-resources.js", - "integrity": "sha384-+NFlplj7hABypva56Rnn2nyLeAQxVd5rkx/EYxG+nogpN/TckKojaiV6iB+DHpRa", + "integrity": "sha384-hrJsMtyDCjtO3rYEZ/28KrhIc25zNTzBfuAn5n9O+iGyJcro48VJWuF9zHC2eFdq", "elements": [ "gospel-resources-map" ], @@ -599,7 +599,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -613,7 +613,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -627,7 +627,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -641,7 +641,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -655,7 +655,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -664,7 +664,7 @@ "bundle": "my-upg-100-list", "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "output": "doxa-maps/my-upg-100-list/my-upg-100-list.js", - "integrity": "sha384-PxH+kx2zJFiCxPgTlBumSCXUaWPBOO8y5Djbt5K+nSFSsBSyIHWc2NQCytdw5TCL", + "integrity": "sha384-wDsuy1vAX4EYyHNciiwo7s+com7Jl352qBCXh9Ui47Sfz9RRoW3o3xxxCwgPhfeh", "elements": [ "my-upg-100-list-map" ], @@ -684,7 +684,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -698,7 +698,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -712,7 +712,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -721,7 +721,7 @@ "bundle": "people-groups-grid", "scriptUrl": "./people-groups-grid/people-groups-grid.js", "output": "doxa-maps/people-groups-grid/people-groups-grid.js", - "integrity": "sha384-B78GyuKG7smBsxAGpu3np8AX08grWzpMSSU33c5L8XCMNIy72pKDVvHql1aikAgi", + "integrity": "sha384-tVa/HxW3wa72j4dc1FD2qxiF0xREDaoAXl4wJA8wllHhkz+3oSY1a7QIjdBaX+sB", "elements": [ "people-groups-grid" ], @@ -737,7 +737,7 @@ "scriptUrl": "./people-groups-grid/people-groups-grid.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -837,7 +837,7 @@ "bundle": "pplr-data-maps", "scriptUrl": "./pplr-data-maps/pplr-data-maps.js", "output": "doxa-maps/pplr-data-maps/pplr-data-maps.js", - "integrity": "sha384-vrNLiLTAX/G7l3hlfUDb5YunuuFTJiJKa0GZ1fLMXlaYohbbTux0QrL5hAxFWWuE", + "integrity": "sha384-rsKBf96uZyOcNH7/KIuIbp6Qw2gZeWGaJDAic9CpoBtV/6qMx8Ycp2r1d2KhaYB9", "elements": [ "pplr-data-maps" ], @@ -853,7 +853,7 @@ "scriptUrl": "./pplr-data-maps/pplr-data-maps.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "bundle": "pplr-data-maps" } @@ -863,7 +863,7 @@ "bundle": "prayer-walk-planner", "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "output": "doxa-maps/prayer-walk-planner/prayer-walk-planner.js", - "integrity": "sha384-jlJGHLys2p2juKNP4Adoy+PG/5vB56OMiY5DCHzca62+JscjOY93dq25wrpe3HC7", + "integrity": "sha384-dfPL+bJ7P6ywr1rkzVXcWvD3ouRW7CBsNpUQcAEEcIJhc77BuDaBAxTy3McLlkqs", "elements": [ "prayer-walk-planner" ], @@ -879,7 +879,7 @@ "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -888,7 +888,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "doxa-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-GVpZCfgiyFEfvKxBE0y4950u+5wE/OI30Op7GjLEEKwELHN2O9DbXwzS7FwI+42d", + "integrity": "sha384-z8Ko/zmxXLQcVlTX8BTZybSULiih2wQIG2onqVFAgiOL6mWyZ9YV7u+d5itpm2Vq", "elements": [ "regions-dashboard" ], @@ -908,7 +908,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -922,7 +922,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -936,7 +936,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] @@ -945,7 +945,7 @@ "bundle": "research-dashboard", "scriptUrl": "./research-dashboard/research-dashboard.js", "output": "doxa-maps/research-dashboard/research-dashboard.js", - "integrity": "sha384-22VYCRtqX6GeyDscFK9DZ6ziL55qmfOvYch9zsaBbEq+5poxsrEmqabuUADGvPrB", + "integrity": "sha384-DmuvUUxq04QyXdAt9iE0OJr45I7AkA45e84W4tzzEf2bdGDXaVzRMfZvIHSOnQcn", "elements": [ "research-dashboard-map" ], @@ -961,7 +961,7 @@ "scriptUrl": "./research-dashboard/research-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "bundle": "research-dashboard" } @@ -1059,7 +1059,7 @@ "bundle": "upg-neighbor", "scriptUrl": "./upg-neighbor/upg-neighbor.js", "output": "doxa-maps/upg-neighbor/upg-neighbor.js", - "integrity": "sha384-2q1XQDCYFkcp0j9RTIVZDkMIHUQmQuOVfK7JrkWyOp9lKNv2nRrfFQ7R9i1ly2T1", + "integrity": "sha384-7Satbn+kVP9RAkGHCO/k+jplVcv1WmutQirbE1MyFdTzIRPAA6Cn7N8bY6omFfOc", "elements": [ "upg-neighbor" ], @@ -1075,7 +1075,7 @@ "scriptUrl": "./upg-neighbor/upg-neighbor.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" }, "instances": [ { @@ -1157,7 +1157,7 @@ "bundle": "wall-of-people-groups", "scriptUrl": "./wall-of-people-groups/wall-of-people-groups.js", "output": "doxa-maps/wall-of-people-groups/wall-of-people-groups.js", - "integrity": "sha384-dIwKgGUIgpAkAq8rO1P8DEssasjx2o9TGpNuJebLbg/R9igbiwnFMX8Lu+Rh0D2+", + "integrity": "sha384-DOIkqsbncq+++8y2PXQAFZXc7V/pfTDqMgYj+sxZR+os/sVrbdPqin0PJoHi6w1I", "elements": [ "wall-of-people-groups" ], @@ -1173,7 +1173,7 @@ "scriptUrl": "./wall-of-people-groups/wall-of-people-groups.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "bundle": "wall-of-people-groups" } diff --git a/public/doxa-maps/my-upg-100-list/my-upg-100-list.js b/public/doxa-maps/my-upg-100-list/my-upg-100-list.js index 83ba62296..b718712ae 100644 --- a/public/doxa-maps/my-upg-100-list/my-upg-100-list.js +++ b/public/doxa-maps/my-upg-100-list/my-upg-100-list.js @@ -1,4 +1,4 @@ -(function(){"use strict";var Td;var ln=typeof document<"u"?document.currentScript:null;const bA="modulepreload",$A=function(e){return"/"+e},_A={},_t=function(t,o,n){let a=Promise.resolve();function s(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return a.then(r=>{for(const i of r||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})};/** +(function(){"use strict";var Td;var ln=typeof document<"u"?document.currentScript:null;const $A="modulepreload",_A=function(e){return"/"+e},yA={},_t=function(t,o,n){let a=Promise.resolve();function s(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return a.then(r=>{for(const i of r||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})};/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -6,14 +6,14 @@ * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let yt;class Wi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&yt&&(yt.active?(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(yt===this)yt=this.prevScope;else{let t=yt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Hn){let t=Hn;for(Hn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;zn;){let t=zn;for(zn=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function Ji(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qi(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Hs(n),qd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function zs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(el(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function el(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Vn)||(e.globalVersion=Vn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!zs(e))))return;e.flags|=2;const t=e.dep,o=st,n=Xt;st=e,Xt=!0;try{Ji(e);const a=e.fn(e._value);(t.version===0||ao(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{st=o,Xt=n,Qi(e),e.flags&=-3}}function Hs(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let s=o.computed.deps;s;s=s.nextDep)Hs(s,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function qd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Xt=!0;const tl=[];function so(){tl.push(Xt),Xt=!1}function ro(){const e=tl.pop();Xt=e===void 0?!0:e}function ol(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=st;st=void 0;try{t()}finally{st=o}}}let Vn=0;class Yd{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!st||!Xt||st===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==st)o=this.activeLink=new Yd(st,this),st.deps?(o.prevDep=st.depsTail,st.depsTail.nextDep=o,st.depsTail=o):st.deps=st.depsTail=o,nl(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=st.depsTail,o.nextDep=void 0,st.depsTail.nextDep=o,st.depsTail=o,st.deps===o&&(st.deps=n)}return o}trigger(t){this.version++,Vn++,this.notify(t)}notify(t){js();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Us()}}}function nl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)nl(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Oa=new WeakMap,Yo=Symbol(""),Ks=Symbol(""),Kn=Symbol("");function Nt(e,t,o){if(Xt&&st){let n=Oa.get(e);n||Oa.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Vs),a.map=n,a.key=o),a.track()}}function _o(e,t,o,n,a,s){const r=Oa.get(e);if(!r){Vn++;return}const i=l=>{l&&l.trigger()};if(js(),t==="clear")r.forEach(i);else{const l=Se(e),c=l&&Ca(o);if(l&&o==="length"){const u=Number(n);r.forEach((p,d)=>{(d==="length"||d===Kn||!jt(d)&&d>=u)&&i(p)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(Kn)),t){case"add":l?c&&i(r.get("length")):(i(r.get(Yo)),Mo(e)&&i(r.get(Ks)));break;case"delete":l||(i(r.get(Yo)),Mo(e)&&i(r.get(Ks)));break;case"set":Mo(e)&&i(r.get(Yo));break}}Us()}function Xd(e,t){const o=Oa.get(e);return o&&o.get(t)}function un(e){const t=ze(e);return t===e?t:(Nt(t,"iterate",Kn),zt(e)?t:t.map(Zt))}function Ia(e){return Nt(e=ze(e),"iterate",Kn),e}function io(e,t){return wo(e)?dn(vo(e)?Zt(t):t):Zt(t)}const Zd={__proto__:null,[Symbol.iterator](){return Ws(this,Symbol.iterator,e=>io(this,e))},concat(...e){return un(this).concat(...e.map(t=>Se(t)?un(t):t))},entries(){return Ws(this,"entries",e=>(e[1]=io(this,e[1]),e))},every(e,t){return yo(this,"every",e,t,void 0,arguments)},filter(e,t){return yo(this,"filter",e,t,o=>o.map(n=>io(this,n)),arguments)},find(e,t){return yo(this,"find",e,t,o=>io(this,o),arguments)},findIndex(e,t){return yo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yo(this,"findLast",e,t,o=>io(this,o),arguments)},findLastIndex(e,t){return yo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yo(this,"forEach",e,t,void 0,arguments)},includes(...e){return qs(this,"includes",e)},indexOf(...e){return qs(this,"indexOf",e)},join(e){return un(this).join(e)},lastIndexOf(...e){return qs(this,"lastIndexOf",e)},map(e,t){return yo(this,"map",e,t,void 0,arguments)},pop(){return Wn(this,"pop")},push(...e){return Wn(this,"push",e)},reduce(e,...t){return al(this,"reduce",e,t)},reduceRight(e,...t){return al(this,"reduceRight",e,t)},shift(){return Wn(this,"shift")},some(e,t){return yo(this,"some",e,t,void 0,arguments)},splice(...e){return Wn(this,"splice",e)},toReversed(){return un(this).toReversed()},toSorted(e){return un(this).toSorted(e)},toSpliced(...e){return un(this).toSpliced(...e)},unshift(...e){return Wn(this,"unshift",e)},values(){return Ws(this,"values",e=>io(this,e))}};function Ws(e,t,o){const n=Ia(e),a=n[t]();return n!==e&&!zt(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=o(s.value)),s}),a}const Jd=Array.prototype;function yo(e,t,o,n,a,s){const r=Ia(e),i=r!==e&&!zt(e),l=r[t];if(l!==Jd[t]){const p=l.apply(e,s);return i?Zt(p):p}let c=o;r!==e&&(i?c=function(p,d){return o.call(this,io(e,p),d,e)}:o.length>2&&(c=function(p,d){return o.call(this,p,d,e)}));const u=l.call(r,c,n);return i&&a?a(u):u}function al(e,t,o,n){const a=Ia(e),s=a!==e&&!zt(e);let r=o,i=!1;a!==e&&(s?(i=n.length===0,r=function(c,u,p){return i&&(i=!1,c=io(e,c)),o.call(this,c,io(e,u),p,e)}):o.length>3&&(r=function(c,u,p){return o.call(this,c,u,p,e)}));const l=a[t](r,...n);return i?io(e,l):l}function qs(e,t,o){const n=ze(e);Nt(n,"iterate",Kn);const a=n[t](...o);return(a===-1||a===!1)&&ja(o[0])?(o[0]=ze(o[0]),n[t](...o)):a}function Wn(e,t,o=[]){so(),js();const n=ze(e)[t].apply(e,o);return Us(),ro(),n}const Qd=Os("__proto__,__v_isRef,__isVue"),sl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jt));function eg(e){jt(e)||(e=String(e));const t=ze(this);return Nt(t,"has",e),t.hasOwnProperty(e)}class rl{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(a?s?dl:pl:s?ul:cl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=Se(t);if(!a){let l;if(r&&(l=Zd[o]))return l;if(o==="hasOwnProperty")return eg}const i=Reflect.get(t,o,ct(t)?t:n);if((jt(o)?sl.has(o):Qd(o))||(a||Nt(t,"get",o),s))return i;if(ct(i)){const l=r&&Ca(o)?i:i.value;return a&&Ze(l)?Xs(l):l}return Ze(i)?a?Xs(i):pn(i):i}}class il extends rl{constructor(t=!1){super(!1,t)}set(t,o,n,a){let s=t[o];const r=Se(t)&&Ca(o);if(!this._isShallow){const c=wo(s);if(!zt(n)&&!wo(n)&&(s=ze(s),n=ze(n)),!r&&ct(s)&&!ct(n))return c||(s.value=n),!0}const i=r?Number(o)e,Fa=e=>Reflect.getPrototypeOf(e);function sg(e,t,o){return function(...n){const a=this.__v_raw,s=ze(a),r=Mo(s),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...n),u=o?Ys:t?dn:Zt;return!t&&Nt(s,"iterate",l?Ks:Yo),gt(Object.create(c),{next(){const{value:p,done:d}=c.next();return d?{value:p,done:d}:{value:i?[u(p[0]),u(p[1])]:u(p),done:d}}})}}function Da(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function rg(e,t){const o={get(a){const s=this.__v_raw,r=ze(s),i=ze(a);e||(ao(a,i)&&Nt(r,"get",a),Nt(r,"get",i));const{has:l}=Fa(r),c=t?Ys:e?dn:Zt;if(l.call(r,a))return c(s.get(a));if(l.call(r,i))return c(s.get(i));s!==r&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Nt(ze(a),"iterate",Yo),a.size},has(a){const s=this.__v_raw,r=ze(s),i=ze(a);return e||(ao(a,i)&&Nt(r,"has",a),Nt(r,"has",i)),a===i?s.has(a):s.has(a)||s.has(i)},forEach(a,s){const r=this,i=r.__v_raw,l=ze(i),c=t?Ys:e?dn:Zt;return!e&&Nt(l,"iterate",Yo),i.forEach((u,p)=>a.call(s,c(u),c(p),r))}};return gt(o,e?{add:Da("add"),set:Da("set"),delete:Da("delete"),clear:Da("clear")}:{add(a){const s=ze(this),r=Fa(s),i=ze(a),l=!t&&!zt(a)&&!wo(a)?i:a;return r.has.call(s,l)||ao(a,l)&&r.has.call(s,a)||ao(i,l)&&r.has.call(s,i)||(s.add(l),_o(s,"add",l,l)),this},set(a,s){!t&&!zt(s)&&!wo(s)&&(s=ze(s));const r=ze(this),{has:i,get:l}=Fa(r);let c=i.call(r,a);c||(a=ze(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,s),c?ao(s,u)&&_o(r,"set",a,s):_o(r,"add",a,s),this},delete(a){const s=ze(this),{has:r,get:i}=Fa(s);let l=r.call(s,a);l||(a=ze(a),l=r.call(s,a)),i&&i.call(s,a);const c=s.delete(a);return l&&_o(s,"delete",a,void 0),c},clear(){const a=ze(this),s=a.size!==0,r=a.clear();return s&&_o(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=sg(a,e,t)}),o}function Ga(e,t){const o=rg(e,t);return(n,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Ye(o,a)&&a in n?o:n,a,s)}const ig={get:Ga(!1,!1)},lg={get:Ga(!1,!0)},cg={get:Ga(!0,!1)},ug={get:Ga(!0,!0)},cl=new WeakMap,ul=new WeakMap,pl=new WeakMap,dl=new WeakMap;function pg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pn(e){return wo(e)?e:Ba(e,!1,tg,ig,cl)}function dg(e){return Ba(e,!1,ng,lg,ul)}function Xs(e){return Ba(e,!0,og,cg,pl)}function vA(e){return Ba(e,!0,ag,ug,dl)}function Ba(e,t,o,n,a){if(!Ze(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const r=pg(Fd(e));if(r===0)return e;const i=new Proxy(e,r===2?n:o);return a.set(e,i),i}function vo(e){return wo(e)?vo(e.__v_raw):!!(e&&e.__v_isReactive)}function wo(e){return!!(e&&e.__v_isReadonly)}function zt(e){return!!(e&&e.__v_isShallow)}function ja(e){return e?!!e.__v_raw:!1}function ze(e){const t=e&&e.__v_raw;return t?ze(t):e}function Xo(e){return!Ye(e,"__v_skip")&&Object.isExtensible(e)&&Gi(e,"__v_skip",!0),e}const Zt=e=>Ze(e)?pn(e):e,dn=e=>Ze(e)?Xs(e):e;function ct(e){return e?e.__v_isRef===!0:!1}function he(e){return gl(e,!1)}function gn(e){return gl(e,!0)}function gl(e,t){return ct(e)?e:new gg(e,t)}class gg{constructor(t,o){this.dep=new Vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:ze(t),this._value=o?t:Zt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||zt(t)||wo(t);t=n?t:ze(t),ao(t,o)&&(this._rawValue=t,this._value=n?t:Zt(t),this.dep.trigger())}}function me(e){return ct(e)?e.value:e}const hg={get:(e,t,o)=>t==="__v_raw"?e:me(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return ct(a)&&!ct(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function hl(e){return vo(e)?e:new Proxy(e,hg)}function fg(e){const t=Se(e)?new Array(e.length):{};for(const o in e)t[o]=fl(e,o);return t}class mg{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=jt(o)?o:String(o),this._raw=ze(t);let a=!0,s=t;if(!Se(t)||jt(this._key)||!Ca(this._key))do a=!ja(s)||zt(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=me(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ct(this._raw[this._key])){const o=this._object[this._key];if(ct(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Xd(this._raw,this._key)}}class bg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function $g(e,t,o){return ct(e)?e:Re(e)?new bg(e):Ze(e)&&arguments.length>1?fl(e,t,o):he(e)}function fl(e,t,o){return new mg(e,t,o)}class _g{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&st!==this)return Zi(this,!0),!0}get value(){const t=this.dep.track();return el(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yg(e,t,o=!1){let n,a;return Re(e)?n=e:(n=e.get,a=e.set),new _g(n,a,o)}const Ua={},za=new WeakMap;let Zo;function vg(e,t=!1,o=Zo){if(o){let n=za.get(o);n||za.set(o,n=[]),n.push(e)}}function wg(e,t,o=tt){const{immediate:n,deep:a,once:s,scheduler:r,augmentJob:i,call:l}=o,c=b=>a?b:zt(b)||a===!1||a===0?ko(b,1):ko(b);let u,p,d,v,x=!1,h=!1;if(ct(e)?(p=()=>e.value,x=zt(e)):vo(e)?(p=()=>c(e),x=!0):Se(e)?(h=!0,x=e.some(b=>vo(b)||zt(b)),p=()=>e.map(b=>{if(ct(b))return b.value;if(vo(b))return c(b);if(Re(b))return l?l(b,2):b()})):Re(e)?t?p=l?()=>l(e,2):e:p=()=>{if(d){so();try{d()}finally{ro()}}const b=Zo;Zo=u;try{return l?l(e,3,[v]):e(v)}finally{Zo=b}}:p=no,t&&a){const b=p,k=a===!0?1/0:a;p=()=>ko(b(),k)}const g=qi(),f=()=>{u.stop(),g&&g.active&&Is(g.effects,u)};if(s&&t){const b=t;t=(...k)=>{const w=b(...k);return f(),w}}let m=h?new Array(e.length).fill(Ua):Ua;const $=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const k=u.run();if(b||a||x||(h?k.some((w,A)=>ao(w,m[A])):ao(k,m))){d&&d();const w=Zo;Zo=u;try{const A=[k,m===Ua?void 0:h&&m[0]===Ua?[]:m,v];m=k,l?l(t,3,A):t(...A)}finally{Zo=w}}}else u.run()};return i&&i($),u=new Yi(p),u.scheduler=r?()=>r($,!1):$,v=b=>vg(b,!1,u),d=u.onStop=()=>{const b=za.get(u);if(b){if(l)l(b,4);else for(const k of b)k();za.delete(u)}},t?n?$(!0):m=u.run():r?r($.bind(null,!0),!0):u.run(),f.pause=u.pause.bind(u),f.resume=u.resume.bind(u),f.stop=f,f}function ko(e,t=1/0,o){if(t<=0||!Ze(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,ct(e))ko(e.value,t,o);else if(Se(e))for(let n=0;n{ko(n,t,o)});else if(Ea(e)){for(const n in e)ko(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ko(e[n],t,o)}return e}/** +**/let yt;class Wi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&yt&&(yt.active?(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(yt===this)yt=this.prevScope;else{let t=yt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Hn){let t=Hn;for(Hn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;zn;){let t=zn;for(zn=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function Ji(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qi(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Hs(n),qd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function zs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(el(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function el(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Vn)||(e.globalVersion=Vn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!zs(e))))return;e.flags|=2;const t=e.dep,o=st,n=Xt;st=e,Xt=!0;try{Ji(e);const a=e.fn(e._value);(t.version===0||ao(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{st=o,Xt=n,Qi(e),e.flags&=-3}}function Hs(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let s=o.computed.deps;s;s=s.nextDep)Hs(s,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function qd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Xt=!0;const tl=[];function so(){tl.push(Xt),Xt=!1}function ro(){const e=tl.pop();Xt=e===void 0?!0:e}function ol(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=st;st=void 0;try{t()}finally{st=o}}}let Vn=0;class Yd{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!st||!Xt||st===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==st)o=this.activeLink=new Yd(st,this),st.deps?(o.prevDep=st.depsTail,st.depsTail.nextDep=o,st.depsTail=o):st.deps=st.depsTail=o,nl(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=st.depsTail,o.nextDep=void 0,st.depsTail.nextDep=o,st.depsTail=o,st.deps===o&&(st.deps=n)}return o}trigger(t){this.version++,Vn++,this.notify(t)}notify(t){js();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Us()}}}function nl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)nl(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Oa=new WeakMap,Yo=Symbol(""),Ks=Symbol(""),Kn=Symbol("");function Nt(e,t,o){if(Xt&&st){let n=Oa.get(e);n||Oa.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Vs),a.map=n,a.key=o),a.track()}}function _o(e,t,o,n,a,s){const r=Oa.get(e);if(!r){Vn++;return}const i=l=>{l&&l.trigger()};if(js(),t==="clear")r.forEach(i);else{const l=Se(e),c=l&&Ca(o);if(l&&o==="length"){const u=Number(n);r.forEach((p,d)=>{(d==="length"||d===Kn||!jt(d)&&d>=u)&&i(p)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(Kn)),t){case"add":l?c&&i(r.get("length")):(i(r.get(Yo)),Mo(e)&&i(r.get(Ks)));break;case"delete":l||(i(r.get(Yo)),Mo(e)&&i(r.get(Ks)));break;case"set":Mo(e)&&i(r.get(Yo));break}}Us()}function Xd(e,t){const o=Oa.get(e);return o&&o.get(t)}function un(e){const t=ze(e);return t===e?t:(Nt(t,"iterate",Kn),zt(e)?t:t.map(Zt))}function Ia(e){return Nt(e=ze(e),"iterate",Kn),e}function io(e,t){return wo(e)?dn(vo(e)?Zt(t):t):Zt(t)}const Zd={__proto__:null,[Symbol.iterator](){return Ws(this,Symbol.iterator,e=>io(this,e))},concat(...e){return un(this).concat(...e.map(t=>Se(t)?un(t):t))},entries(){return Ws(this,"entries",e=>(e[1]=io(this,e[1]),e))},every(e,t){return yo(this,"every",e,t,void 0,arguments)},filter(e,t){return yo(this,"filter",e,t,o=>o.map(n=>io(this,n)),arguments)},find(e,t){return yo(this,"find",e,t,o=>io(this,o),arguments)},findIndex(e,t){return yo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yo(this,"findLast",e,t,o=>io(this,o),arguments)},findLastIndex(e,t){return yo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yo(this,"forEach",e,t,void 0,arguments)},includes(...e){return qs(this,"includes",e)},indexOf(...e){return qs(this,"indexOf",e)},join(e){return un(this).join(e)},lastIndexOf(...e){return qs(this,"lastIndexOf",e)},map(e,t){return yo(this,"map",e,t,void 0,arguments)},pop(){return Wn(this,"pop")},push(...e){return Wn(this,"push",e)},reduce(e,...t){return al(this,"reduce",e,t)},reduceRight(e,...t){return al(this,"reduceRight",e,t)},shift(){return Wn(this,"shift")},some(e,t){return yo(this,"some",e,t,void 0,arguments)},splice(...e){return Wn(this,"splice",e)},toReversed(){return un(this).toReversed()},toSorted(e){return un(this).toSorted(e)},toSpliced(...e){return un(this).toSpliced(...e)},unshift(...e){return Wn(this,"unshift",e)},values(){return Ws(this,"values",e=>io(this,e))}};function Ws(e,t,o){const n=Ia(e),a=n[t]();return n!==e&&!zt(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=o(s.value)),s}),a}const Jd=Array.prototype;function yo(e,t,o,n,a,s){const r=Ia(e),i=r!==e&&!zt(e),l=r[t];if(l!==Jd[t]){const p=l.apply(e,s);return i?Zt(p):p}let c=o;r!==e&&(i?c=function(p,d){return o.call(this,io(e,p),d,e)}:o.length>2&&(c=function(p,d){return o.call(this,p,d,e)}));const u=l.call(r,c,n);return i&&a?a(u):u}function al(e,t,o,n){const a=Ia(e),s=a!==e&&!zt(e);let r=o,i=!1;a!==e&&(s?(i=n.length===0,r=function(c,u,p){return i&&(i=!1,c=io(e,c)),o.call(this,c,io(e,u),p,e)}):o.length>3&&(r=function(c,u,p){return o.call(this,c,u,p,e)}));const l=a[t](r,...n);return i?io(e,l):l}function qs(e,t,o){const n=ze(e);Nt(n,"iterate",Kn);const a=n[t](...o);return(a===-1||a===!1)&&ja(o[0])?(o[0]=ze(o[0]),n[t](...o)):a}function Wn(e,t,o=[]){so(),js();const n=ze(e)[t].apply(e,o);return Us(),ro(),n}const Qd=Os("__proto__,__v_isRef,__isVue"),sl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jt));function eg(e){jt(e)||(e=String(e));const t=ze(this);return Nt(t,"has",e),t.hasOwnProperty(e)}class rl{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(a?s?dl:pl:s?ul:cl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=Se(t);if(!a){let l;if(r&&(l=Zd[o]))return l;if(o==="hasOwnProperty")return eg}const i=Reflect.get(t,o,ct(t)?t:n);if((jt(o)?sl.has(o):Qd(o))||(a||Nt(t,"get",o),s))return i;if(ct(i)){const l=r&&Ca(o)?i:i.value;return a&&Ze(l)?Xs(l):l}return Ze(i)?a?Xs(i):pn(i):i}}class il extends rl{constructor(t=!1){super(!1,t)}set(t,o,n,a){let s=t[o];const r=Se(t)&&Ca(o);if(!this._isShallow){const c=wo(s);if(!zt(n)&&!wo(n)&&(s=ze(s),n=ze(n)),!r&&ct(s)&&!ct(n))return c||(s.value=n),!0}const i=r?Number(o)e,Fa=e=>Reflect.getPrototypeOf(e);function sg(e,t,o){return function(...n){const a=this.__v_raw,s=ze(a),r=Mo(s),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...n),u=o?Ys:t?dn:Zt;return!t&&Nt(s,"iterate",l?Ks:Yo),gt(Object.create(c),{next(){const{value:p,done:d}=c.next();return d?{value:p,done:d}:{value:i?[u(p[0]),u(p[1])]:u(p),done:d}}})}}function Da(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function rg(e,t){const o={get(a){const s=this.__v_raw,r=ze(s),i=ze(a);e||(ao(a,i)&&Nt(r,"get",a),Nt(r,"get",i));const{has:l}=Fa(r),c=t?Ys:e?dn:Zt;if(l.call(r,a))return c(s.get(a));if(l.call(r,i))return c(s.get(i));s!==r&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Nt(ze(a),"iterate",Yo),a.size},has(a){const s=this.__v_raw,r=ze(s),i=ze(a);return e||(ao(a,i)&&Nt(r,"has",a),Nt(r,"has",i)),a===i?s.has(a):s.has(a)||s.has(i)},forEach(a,s){const r=this,i=r.__v_raw,l=ze(i),c=t?Ys:e?dn:Zt;return!e&&Nt(l,"iterate",Yo),i.forEach((u,p)=>a.call(s,c(u),c(p),r))}};return gt(o,e?{add:Da("add"),set:Da("set"),delete:Da("delete"),clear:Da("clear")}:{add(a){const s=ze(this),r=Fa(s),i=ze(a),l=!t&&!zt(a)&&!wo(a)?i:a;return r.has.call(s,l)||ao(a,l)&&r.has.call(s,a)||ao(i,l)&&r.has.call(s,i)||(s.add(l),_o(s,"add",l,l)),this},set(a,s){!t&&!zt(s)&&!wo(s)&&(s=ze(s));const r=ze(this),{has:i,get:l}=Fa(r);let c=i.call(r,a);c||(a=ze(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,s),c?ao(s,u)&&_o(r,"set",a,s):_o(r,"add",a,s),this},delete(a){const s=ze(this),{has:r,get:i}=Fa(s);let l=r.call(s,a);l||(a=ze(a),l=r.call(s,a)),i&&i.call(s,a);const c=s.delete(a);return l&&_o(s,"delete",a,void 0),c},clear(){const a=ze(this),s=a.size!==0,r=a.clear();return s&&_o(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=sg(a,e,t)}),o}function Ga(e,t){const o=rg(e,t);return(n,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Ye(o,a)&&a in n?o:n,a,s)}const ig={get:Ga(!1,!1)},lg={get:Ga(!1,!0)},cg={get:Ga(!0,!1)},ug={get:Ga(!0,!0)},cl=new WeakMap,ul=new WeakMap,pl=new WeakMap,dl=new WeakMap;function pg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pn(e){return wo(e)?e:Ba(e,!1,tg,ig,cl)}function dg(e){return Ba(e,!1,ng,lg,ul)}function Xs(e){return Ba(e,!0,og,cg,pl)}function wA(e){return Ba(e,!0,ag,ug,dl)}function Ba(e,t,o,n,a){if(!Ze(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const r=pg(Fd(e));if(r===0)return e;const i=new Proxy(e,r===2?n:o);return a.set(e,i),i}function vo(e){return wo(e)?vo(e.__v_raw):!!(e&&e.__v_isReactive)}function wo(e){return!!(e&&e.__v_isReadonly)}function zt(e){return!!(e&&e.__v_isShallow)}function ja(e){return e?!!e.__v_raw:!1}function ze(e){const t=e&&e.__v_raw;return t?ze(t):e}function Xo(e){return!Ye(e,"__v_skip")&&Object.isExtensible(e)&&Gi(e,"__v_skip",!0),e}const Zt=e=>Ze(e)?pn(e):e,dn=e=>Ze(e)?Xs(e):e;function ct(e){return e?e.__v_isRef===!0:!1}function he(e){return gl(e,!1)}function gn(e){return gl(e,!0)}function gl(e,t){return ct(e)?e:new gg(e,t)}class gg{constructor(t,o){this.dep=new Vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:ze(t),this._value=o?t:Zt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||zt(t)||wo(t);t=n?t:ze(t),ao(t,o)&&(this._rawValue=t,this._value=n?t:Zt(t),this.dep.trigger())}}function me(e){return ct(e)?e.value:e}const hg={get:(e,t,o)=>t==="__v_raw"?e:me(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return ct(a)&&!ct(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function hl(e){return vo(e)?e:new Proxy(e,hg)}function fg(e){const t=Se(e)?new Array(e.length):{};for(const o in e)t[o]=fl(e,o);return t}class mg{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=jt(o)?o:String(o),this._raw=ze(t);let a=!0,s=t;if(!Se(t)||jt(this._key)||!Ca(this._key))do a=!ja(s)||zt(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=me(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ct(this._raw[this._key])){const o=this._object[this._key];if(ct(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Xd(this._raw,this._key)}}class bg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function $g(e,t,o){return ct(e)?e:Re(e)?new bg(e):Ze(e)&&arguments.length>1?fl(e,t,o):he(e)}function fl(e,t,o){return new mg(e,t,o)}class _g{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&st!==this)return Zi(this,!0),!0}get value(){const t=this.dep.track();return el(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yg(e,t,o=!1){let n,a;return Re(e)?n=e:(n=e.get,a=e.set),new _g(n,a,o)}const Ua={},za=new WeakMap;let Zo;function vg(e,t=!1,o=Zo){if(o){let n=za.get(o);n||za.set(o,n=[]),n.push(e)}}function wg(e,t,o=tt){const{immediate:n,deep:a,once:s,scheduler:r,augmentJob:i,call:l}=o,c=b=>a?b:zt(b)||a===!1||a===0?ko(b,1):ko(b);let u,p,d,v,x=!1,h=!1;if(ct(e)?(p=()=>e.value,x=zt(e)):vo(e)?(p=()=>c(e),x=!0):Se(e)?(h=!0,x=e.some(b=>vo(b)||zt(b)),p=()=>e.map(b=>{if(ct(b))return b.value;if(vo(b))return c(b);if(Re(b))return l?l(b,2):b()})):Re(e)?t?p=l?()=>l(e,2):e:p=()=>{if(d){so();try{d()}finally{ro()}}const b=Zo;Zo=u;try{return l?l(e,3,[v]):e(v)}finally{Zo=b}}:p=no,t&&a){const b=p,k=a===!0?1/0:a;p=()=>ko(b(),k)}const g=qi(),f=()=>{u.stop(),g&&g.active&&Is(g.effects,u)};if(s&&t){const b=t;t=(...k)=>{const w=b(...k);return f(),w}}let m=h?new Array(e.length).fill(Ua):Ua;const $=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const k=u.run();if(b||a||x||(h?k.some((w,A)=>ao(w,m[A])):ao(k,m))){d&&d();const w=Zo;Zo=u;try{const A=[k,m===Ua?void 0:h&&m[0]===Ua?[]:m,v];m=k,l?l(t,3,A):t(...A)}finally{Zo=w}}}else u.run()};return i&&i($),u=new Yi(p),u.scheduler=r?()=>r($,!1):$,v=b=>vg(b,!1,u),d=u.onStop=()=>{const b=za.get(u);if(b){if(l)l(b,4);else for(const k of b)k();za.delete(u)}},t?n?$(!0):m=u.run():r?r($.bind(null,!0),!0):u.run(),f.pause=u.pause.bind(u),f.resume=u.resume.bind(u),f.stop=f,f}function ko(e,t=1/0,o){if(t<=0||!Ze(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,ct(e))ko(e.value,t,o);else if(Se(e))for(let n=0;n{ko(n,t,o)});else if(Ea(e)){for(const n in e)ko(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ko(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const qn=[];let Zs=!1;function wA(e,...t){if(Zs)return;Zs=!0,so();const o=qn.length?qn[qn.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=kg();if(n)hn(n,o,11,[e+t.map(s=>{var r,i;return(i=(r=s.toString)==null?void 0:r.call(s))!=null?i:JSON.stringify(s)}).join(""),o&&o.proxy,a.map(({vnode:s})=>`at <${hc(o,s.type)}>`).join(` +**/const qn=[];let Zs=!1;function kA(e,...t){if(Zs)return;Zs=!0,so();const o=qn.length?qn[qn.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=kg();if(n)hn(n,o,11,[e+t.map(s=>{var r,i;return(i=(r=s.toString)==null?void 0:r.call(s))!=null?i:JSON.stringify(s)}).join(""),o&&o.proxy,a.map(({vnode:s})=>`at <${hc(o,s.type)}>`).join(` `),a]);else{const s=[`[Vue warn]: ${e}`,...t];a.length&&s.push(` `,...xg(a)),console.warn(...s)}ro(),Zs=!1}function kg(){let e=qn[qn.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function xg(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Lg(o))}),t}function Lg({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${hc(e.component,e.type,n)}`,s=">"+o;return e.props?[a,...Ag(e.props),s]:[a+s]}function Ag(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...ml(n,e[n]))}),o.length>3&&t.push(" ..."),t}function ml(e,t,o){return at(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ct(t)?(t=ml(e,ze(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Re(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ze(t),o?t:[`${e}=`,t])}function hn(e,t,o,n){try{return n?e(...n):e()}catch(a){Yn(a,t,o)}}function Jt(e,t,o,n){if(Re(e)){const a=hn(e,t,o,n);return a&&Fi(a)&&a.catch(s=>{Yn(s,t,o)}),a}if(Se(e)){const a=[];for(let s=0;s>>1,a=Ot[n],s=Xn(a);s=Xn(o)?Ot.push(e):Ot.splice(Pg(t),0,e),e.flags|=1,$l()}}function $l(){Ha||(Ha=bl.then(vl))}function Eg(e){if(!Se(e))Io&&e.id===-1?Io.splice(mn+1,0,e):e.flags&1||(fn.push(e),e.flags|=1);else for(let t=0;tXn(o)-Xn(n));if(fn.length=0,Io){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function vl(e){try{for(lo=0;lo{n._d&&os(-1);const s=Va(t),r=Lo.length;let i;try{i=e(...a)}finally{for(let l=Lo.length;l>r;l--)fr();Va(s),n._d&&os(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function kl(e,t){if(Pt===null)return e;const o=rs(Pt),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&Re(t)?t.call(n&&n.proxy):t}}function Cg(){return!!(So()||en)}const Tg=Symbol.for("v-scx"),Rg=()=>je(Tg);function Ng(e,t){return Qs(e,null,t)}function ot(e,t,o){return Qs(e,t,o)}function Qs(e,t,o=tt){const{immediate:n,deep:a,flush:s,once:r}=o,i=gt({},o),l=t&&n||!t&&s!=="post";let c;if(yn){if(s==="sync"){const v=Rg();c=v.__watcherHandles||(v.__watcherHandles=[])}else if(!l){const v=()=>{};return v.stop=no,v.resume=no,v.pause=no,v}}const u=Tt;i.call=(v,x,h)=>Jt(v,u,x,h);let p=!1;s==="post"?i.scheduler=v=>{Dt(v,u&&u.suspense)}:s!=="sync"&&(p=!0,i.scheduler=(v,x)=>{x?v():Js(v)}),i.augmentJob=v=>{t&&(v.flags|=4),p&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const d=wg(e,t,i);return yn&&(c?c.push(d):l&&d()),d}function Mg(e,t,o){const n=this.proxy,a=at(e)?e.includes(".")?xl(n,e):()=>n[e]:e.bind(n,n);let s;Re(t)?s=t:(s=t.handler,o=t);const r=ia(this),i=Qs(a,s.bind(n),o);return r(),i}function xl(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,Qo=e=>e&&(e.disabled||e.disabled===""),Og=e=>e&&(e.defer||e.defer===""),Al=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,er=(e,t)=>{const o=e&&e.to;return at(o)?t?t(o):null:o},Ig={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,s,r,i,l,c){const{mc:u,pc:p,pbc:d,o:{insert:v,querySelector:x,createText:h,createComment:g,parentNode:f}}=c,m=Qo(t.props);let{dynamicChildren:$}=t;const b=(A,L,S)=>{A.shapeFlag&16&&u(A.children,L,S,a,s,r,i,l)},k=(A=t)=>{const L=Qo(A.props),S=A.target=er(A.props,x),j=tr(S,A,h,v);S&&(r!=="svg"&&Al(S)?r="svg":r!=="mathml"&&Sl(S)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(S),L||(b(A,S,j),Zn(A,!1)))},w=A=>{const L=()=>{if(Fo.get(A)===L){if(Fo.delete(A),Qo(A.props)){const S=f(A.el)||o;b(A,S,A.anchor),Zn(A,!0)}k(A)}};Fo.set(A,L),Dt(L,s)};if(e==null){const A=t.el=h(""),L=t.anchor=h("");if(v(A,o,n),v(L,o,n),Og(t.props)||s&&s.pendingBranch){w(t);return}m&&(b(t,o,L),Zn(t,!0)),k()}else{t.el=e.el;const A=t.anchor=e.anchor,L=Fo.get(e);if(L){L.flags|=8,Fo.delete(e),w(t);return}t.targetStart=e.targetStart;const S=t.target=e.target,j=t.targetAnchor=e.targetAnchor,D=Qo(e.props),Z=D?o:S,F=D?A:j;if(r==="svg"||Al(S)?r="svg":(r==="mathml"||Sl(S))&&(r="mathml"),$?(d(e.dynamicChildren,$,Z,a,s,r,i),hr(e,t,!0)):l||p(e,t,Z,F,a,s,r,i,!1),m)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Wa(t,o,A,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=er(t.props,x);U&&(t.target=U,Wa(t,U,null,c,0))}else D&&Wa(t,S,j,c,1);Zn(t,m)}},remove(e,t,o,{um:n,o:{remove:a}},s){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:d}=e,v=Qo(d),x=s||!v,h=Fo.get(e);if(h&&(h.flags|=8,Fo.delete(e)),p&&(a(c),a(u)),s&&a(l),!h&&(v||p)&&r&16)for(let g=0;g1){for(const o of e)if(o.type!==po){t=o;break}}return t}function Pl(e){if(!Xa(e))return Ka(e.type)&&e.children?Gg(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&Re(o.default))return o.default()}}function nr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;nr(Ka(o.type)&&Pl(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jn(e,t){return Re(e)?gt({name:e.name},t,{setup:e}):e}function ar(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function El(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const qa=new WeakMap;function Qn(e,t,o,n,a=!1){if(Se(e)){e.forEach((h,g)=>Qn(h,t&&(Se(t)?t[g]:t),o,n,a));return}if(bn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Qn(e,t,o,n.component.subTree);return}const s=n.shapeFlag&4?rs(n.component):n.el,r=a?null:s,{i,r:l}=e,c=t&&t.r,u=i.refs===tt?i.refs={}:i.refs,p=i.setupState,d=ze(p),v=p===tt?Oi:h=>El(u,h)?!1:Ye(d,h),x=(h,g)=>!(g&&El(u,g));if(c!=null&&c!==l){if(Cl(t),at(c))u[c]=null,v(c)&&(p[c]=null);else if(ct(c)){const h=t;x(c,h.k)&&(c.value=null),h.k&&(u[h.k]=null)}}if(Re(l))hn(l,i,12,[r,u]);else{const h=at(l),g=ct(l);if(h||g){const f=()=>{if(e.f){const m=h?v(l)?p[l]:u[l]:x()||!e.k?l.value:u[e.k];if(a)Se(m)&&Is(m,s);else if(Se(m))m.includes(s)||m.push(s);else if(h)u[l]=[s],v(l)&&(p[l]=u[l]);else{const $=[s];x(l,e.k)&&(l.value=$),e.k&&(u[e.k]=$)}}else h?(u[l]=r,v(l)&&(p[l]=r)):g&&(x(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const m=()=>{f(),qa.delete(e)};m.id=-1,qa.set(e,m),Dt(m,o)}else Cl(e),f()}}}function Cl(e){const t=qa.get(e);t&&(t.flags|=8,qa.delete(e))}const Tl=e=>e.nodeType===8;Ma().requestIdleCallback,Ma().cancelIdleCallback;function Bg(e,t){if(Tl(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Tl(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const bn=e=>!!e.type.__asyncLoader;function jg(e){Re(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:s,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,p=0;const d=()=>(p++,c=null,v()),v=()=>{let x;return c||(x=c=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((g,f)=>{l(h,()=>g(d()),()=>f(h),p+1)});throw h}).then(h=>x!==c&&c?c:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),u=h,h)))};return Jn({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(x,h,g){const f=x.isConnected;let m=!1;(h.bu||(h.bu=[])).push(()=>m=!0);const $=()=>{m||!x.parentNode||f&&!x.isConnected||g()},b=s?()=>{const k=s($,w=>Bg(x,w));k&&(h.bum||(h.bum=[])).push(k)}:$;u?b():v().then(()=>!h.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const x=Tt;if(ar(x),u)return()=>Ya(u,x);const h=k=>{c=null,Yn(k,x,13,!n)};if(i&&x.suspense||yn)return v().then(k=>()=>Ya(k,x)).catch(k=>(h(k),()=>n?Xe(n,{error:k}):null));const g=he(!1),f=he(),m=he(!!a);let $,b;return Ja(()=>{$!=null&&clearTimeout($),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{x.isUnmounted||(m.value=!1)},a)),r!=null&&($=setTimeout(()=>{if(!x.isUnmounted&&!g.value&&!f.value){const k=new Error(`Async component timed out after ${r}ms.`);h(k),f.value=k}},r)),v().then(()=>{x.isUnmounted||(g.value=!0,x.parent&&Xa(x.parent.vnode)&&x.parent.update())}).catch(k=>{if(x.isUnmounted){c=null;return}h(k),f.value=k}),()=>{if(g.value&&u)return Ya(u,x);if(f.value&&n)return Xe(n,{error:f.value});if(o&&!m.value)return Ya(o,x)}}})}function Ya(e,t){const{ref:o,props:n,children:a,ce:s}=t.vnode,r=Xe(e,n,a);return r.ref=o,r.ce=s,delete t.vnode.ce,r}const Xa=e=>e.type.__isKeepAlive;function Ug(e,t){Rl(e,"a",t)}function zg(e,t){Rl(e,"da",t)}function Rl(e,t,o=Tt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Za(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Xa(a.parent.vnode)&&Hg(n,t,o,a),a=a.parent}}function Hg(e,t,o,n){const a=Za(t,e,n,!0);Ja(()=>{Is(n[t],a)},o)}function Za(e,t,o=Tt,n=!1){if(o){const a=o[e]||(o[e]=[]),s=t.__weh||(t.__weh=(...r)=>{so();const i=ia(o),l=Jt(t,o,e,r);return i(),ro(),l});return n?a.unshift(s):a.push(s),s}}const xo=e=>(t,o=Tt)=>{(!yn||e==="sp")&&Za(e,(...n)=>t(...n),o)},Nl=xo("bm"),uo=xo("m"),Vg=xo("bu"),Kg=xo("u"),Wt=xo("bum"),Ja=xo("um"),Wg=xo("sp"),qg=xo("rtg"),Yg=xo("rtc");function Xg(e,t=Tt){Za("ec",e,t)}const Zg="components",Ml=Symbol.for("v-ndc");function sr(e){return at(e)?Jg(Zg,e,!1)||e:e||Ml}function Jg(e,t,o=!0,n=!1){const a=Pt||Tt;if(a){const s=a.type;{const i=gc(s,!1);if(i&&(i===t||i===xt(t)||i===Ra(xt(t))))return s}const r=Ol(a[e]||s[e],t)||Ol(a.appContext[e],t);return!r&&n?s:r}}function Ol(e,t){return e&&(e[t]||e[xt(t)]||e[Ra(xt(t))])}function Et(e,t,o,n){let a;const s=o,r=Se(e);if(r||at(e)){const i=r&&vo(e);let l=!1,c=!1;i&&(l=!zt(e),c=wo(e),e=Ia(e)),a=new Array(e.length);for(let u=0,p=e.length;ut(i,l,void 0,s));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),H(),dt(Ge,null,[Xe("slot",c,n)],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const i=Lo.length;H();let l;try{const c=r&&Il(r(o)),u=o.key||s||c&&c.key;l=dt(Ge,{key:(u&&!jt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=Lo.length;u>i;u--)fr();throw c}finally{r&&r._c&&(r._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Il(e){return e.some(t=>aa(t)?!(t.type===po||t.type===Ge&&!Il(t.children)):!0)?e:null}const rr=e=>e?uc(e)?rs(e):rr(e.parent):null,ea=gt(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=>rr(e.parent),$root:e=>rr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Bl(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=co.bind(e.proxy)),$watch:e=>Mg.bind(e)}),ir=(e,t)=>e!==tt&&!e.__isScriptSetup&&Ye(e,t),Qg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:s,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const d=r[t];if(d!==void 0)switch(d){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return s[t]}else{if(ir(n,t))return r[t]=1,n[t];if(a!==tt&&Ye(a,t))return r[t]=2,a[t];if(Ye(s,t))return r[t]=3,s[t];if(o!==tt&&Ye(o,t))return r[t]=4,o[t];lr&&(r[t]=0)}}const c=ea[t];let u,p;if(c)return t==="$attrs"&&Nt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==tt&&Ye(o,t))return r[t]=4,o[t];if(p=l.config.globalProperties,Ye(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:s}=e;return ir(a,t)?(a[t]=o,!0):n!==tt&&Ye(n,t)?(n[t]=o,!0):Ye(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:s,type:r}},i){let l;return!!(o[i]||e!==tt&&i[0]!=="$"&&Ye(e,i)||ir(t,i)||Ye(s,i)||Ye(n,i)||Ye(ea,i)||Ye(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ye(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Fl(e){return Se(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let lr=!0;function eh(e){const t=Bl(e),o=e.proxy,n=e.ctx;lr=!1,t.beforeCreate&&Dl(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:d,beforeUpdate:v,updated:x,activated:h,deactivated:g,beforeDestroy:f,beforeUnmount:m,destroyed:$,unmounted:b,render:k,renderTracked:w,renderTriggered:A,errorCaptured:L,serverPrefetch:S,expose:j,inheritAttrs:D,components:Z,directives:F,filters:U}=t;if(c&&th(c,n,null),r)for(const z in r){const N=r[z];Re(N)&&(n[z]=N.bind(o))}if(a){const z=a.call(o,o);Ze(z)&&(e.data=pn(z))}if(lr=!0,s)for(const z in s){const N=s[z],X=Re(N)?N.bind(o,o):Re(N.get)?N.get.bind(o,o):no,re=!Re(N)&&Re(N.set)?N.set.bind(o):no,oe=J({get:X,set:re});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>oe.value,set:se=>oe.value=se})}if(i)for(const z in i)Gl(i[z],n,o,z);if(l){const z=Re(l)?l.call(o):l;Reflect.ownKeys(z).forEach(N=>{It(N,z[N])})}u&&Dl(u,e,"c");function E(z,N){Se(N)?N.forEach(X=>z(X.bind(o))):N&&z(N.bind(o))}if(E(Nl,p),E(uo,d),E(Vg,v),E(Kg,x),E(Ug,h),E(zg,g),E(Xg,L),E(Yg,w),E(qg,A),E(Wt,m),E(Ja,b),E(Wg,S),Se(j))if(j.length){const z=e.exposed||(e.exposed={});j.forEach(N=>{Object.defineProperty(z,N,{get:()=>o[N],set:X=>o[N]=X,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===no&&(e.render=k),D!=null&&(e.inheritAttrs=D),Z&&(e.components=Z),F&&(e.directives=F),S&&ar(e)}function th(e,t,o=no){Se(e)&&(e=cr(e));for(const n in e){const a=e[n];let s;Ze(a)?"default"in a?s=je(a.from||n,a.default,!0):s=je(a.from||n):s=je(a),ct(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):t[n]=s}}function Dl(e,t,o){Jt(Se(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Gl(e,t,o,n){let a=n.includes(".")?xl(o,n):()=>o[n];if(at(e)){const s=t[e];Re(s)&&ot(a,s)}else if(Re(e))ot(a,e.bind(o));else if(Ze(e))if(Se(e))e.forEach(s=>Gl(s,t,o,n));else{const s=Re(e.handler)?e.handler.bind(o):t[e.handler];Re(s)&&ot(a,s,e)}}function Bl(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,i=s.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Qa(l,c,r,!0)),Qa(l,t,r)),Ze(t)&&s.set(t,l),l}function Qa(e,t,o,n=!1){const{mixins:a,extends:s}=t;s&&Qa(e,s,o,!0),a&&a.forEach(r=>Qa(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=oh[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const oh={data:jl,props:Ul,emits:Ul,methods:ta,computed:ta,beforeCreate:Ft,created:Ft,beforeMount:Ft,mounted:Ft,beforeUpdate:Ft,updated:Ft,beforeDestroy:Ft,beforeUnmount:Ft,destroyed:Ft,unmounted:Ft,activated:Ft,deactivated:Ft,errorCaptured:Ft,serverPrefetch:Ft,components:ta,directives:ta,watch:ah,provide:jl,inject:nh};function jl(e,t){return t?e?function(){return gt(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function nh(e,t){return ta(cr(e),cr(t))}function cr(e){if(Se(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Ut(t)}Modifiers`];function lh(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||tt;let a=o;const s=t.startsWith("update:"),r=s&&ih(n,t.slice(7));r&&(r.trim&&(a=o.map(u=>at(u)?u.trim():u)),r.number&&(a=a.map(Bi)));let i,l=n[i=Fs(t)]||n[i=Fs(xt(t))];!l&&s&&(l=n[i=Fs(Ut(t))]),l&&Jt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Jt(c,e,6,a)}}const ch=new WeakMap;function Hl(e,t,o=!1){const n=o?ch:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const s=e.emits;let r={},i=!1;if(!Re(e)){const l=c=>{const u=Hl(c,t,!0);u&&(i=!0,gt(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(Ze(e)&&n.set(e,null),null):(Se(s)?s.forEach(l=>r[l]=null):gt(r,s),Ze(e)&&n.set(e,r),r)}function es(e,t){return!e||!Sa(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ye(e,t[0].toLowerCase()+t.slice(1))||Ye(e,Ut(t))||Ye(e,t))}function kA(){}function Vl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[s],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:p,data:d,setupState:v,ctx:x,inheritAttrs:h}=e,g=Va(e);let f,m;try{if(o.shapeFlag&4){const b=a||n,k=b;f=go(c.call(k,b,u,p,v,d,x)),m=i}else{const b=t;f=go(b.length>1?b(p,{attrs:i,slots:r,emit:l}):b(p,null)),m=t.props?i:uh(i)}}catch(b){Lo.length=0,Yn(b,e,1),f=Xe(po)}let $=f;if(m&&h!==!1){const b=Object.keys(m),{shapeFlag:k}=$;b.length&&k&7&&(s&&b.some(Pa)&&(m=ph(m,s)),$=_n($,m,!1,!0))}if(o.dirs&&($=_n($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(o.dirs):o.dirs),o.transition){const b=Ka($.type)&&Pl($)||$;nr(b,o.transition)}return f=$,Va(g),f}const uh=e=>{let t;for(const o in e)(o==="class"||o==="style"||Sa(o))&&((t||(t={}))[o]=e[o]);return t},ph=(e,t)=>{const o={};for(const n in e)(!Pa(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function dh(e,t,o){const{props:n,children:a,component:s}=e,{props:r,children:i,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Kl(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(ql),Xl=e=>Object.getPrototypeOf(e)===ql;function hh(e,t,o,n=!1){const a={},s=Yl();e.propsDefaults=Object.create(null),Zl(e,t,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);o?e.props=n?a:dg(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function fh(e,t,o,n){const{props:a,attrs:s,vnode:{patchFlag:r}}=e,i=ze(a),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[d,v]=Jl(p,t,!0);gt(r,d),v&&i.push(...v)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ze(e)&&n.set(e,cn),cn;if(Se(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",dr=e=>Se(e)?e.map(go):[go(e)],bh=(e,t,o)=>{if(t._n)return t;const n=Ht((...a)=>dr(t(...a)),o);return n._c=!1,n},ec=(e,t,o)=>{const n=e._ctx;for(const a in e){if(pr(a))continue;const s=e[a];if(Re(s))t[a]=bh(a,s,n);else if(s!=null){const r=dr(s);t[a]=()=>r}}},tc=(e,t)=>{const o=dr(t);e.slots.default=()=>o},oc=(e,t,o)=>{for(const n in t)(o||!pr(n))&&(e[n]=t[n])},$h=(e,t,o)=>{const n=e.slots=Yl();if(e.vnode.shapeFlag&32){const a=t._;a?(oc(n,t,o),o&&Gi(n,"_",a,!0)):ec(t,n)}else t&&tc(e,t)},_h=(e,t,o)=>{const{vnode:n,slots:a}=e;let s=!0,r=tt;if(n.shapeFlag&32){const i=t._;i?o&&i===1?s=!1:oc(a,t,o):(s=!t.$stable,ec(t,a)),r=t}else t&&(tc(e,t),r={default:1});if(s)for(const i in a)!pr(i)&&r[i]==null&&delete a[i]},Dt=xh;function yh(e){return vh(e)}function vh(e,t){const o=Ma();o.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:d,setScopeId:v=no,insertStaticContent:x}=e,h=(P,R,C,q=null,ae=null,ne=null,pe=void 0,ie=null,_=!!R.dynamicChildren)=>{if(P===R)return;P&&!sa(P,R)&&(q=V(P),se(P,ae,ne,!0),P=null),R.patchFlag===-2&&(_=!1,R.dynamicChildren=null);const{type:y,ref:I,shapeFlag:K}=R;switch(y){case oa:g(P,R,C,q);break;case po:f(P,R,C,q);break;case ts:P==null&&m(R,C,q,pe);break;case Ge:Z(P,R,C,q,ae,ne,pe,ie,_);break;default:K&1?k(P,R,C,q,ae,ne,pe,ie,_):K&6?F(P,R,C,q,ae,ne,pe,ie,_):(K&64||K&128)&&y.process(P,R,C,q,ae,ne,pe,ie,_,ue)}I!=null&&ae?Qn(I,P&&P.ref,ne,R||P,!R):I==null&&P&&P.ref!=null&&Qn(P.ref,null,ne,P,!0)},g=(P,R,C,q)=>{if(P==null)n(R.el=i(R.children),C,q);else{const ae=R.el=P.el;R.children!==P.children&&c(ae,R.children)}},f=(P,R,C,q)=>{P==null?n(R.el=l(R.children||""),C,q):R.el=P.el},m=(P,R,C,q)=>{[P.el,P.anchor]=x(P.children,R,C,q,P.el,P.anchor)},$=({el:P,anchor:R},C,q)=>{let ae;for(;P&&P!==R;)ae=d(P),n(P,C,q),P=ae;n(R,C,q)},b=({el:P,anchor:R})=>{let C;for(;P&&P!==R;)C=d(P),a(P),P=C;a(R)},k=(P,R,C,q,ae,ne,pe,ie,_)=>{if(R.type==="svg"?pe="svg":R.type==="math"&&(pe="mathml"),P==null)w(R,C,q,ae,ne,pe,ie,_);else{const y=P.el&&P.el._isVueCE?P.el:null;try{y&&y._beginPatch(),S(P,R,ae,ne,pe,ie,_)}finally{y&&y._endPatch()}}},w=(P,R,C,q,ae,ne,pe,ie)=>{let _,y;const{props:I,shapeFlag:K,transition:ge,dirs:le}=P;if(_=P.el=r(P.type,ne,I&&I.is,I),K&8?u(_,P.children):K&16&&L(P.children,_,null,q,ae,gr(P,ne),pe,ie),le&&Jo(P,null,q,"created"),A(_,P,P.scopeId,pe,q),I){for(const Q in I)Q!=="value"&&!Un(Q)&&s(_,Q,null,I[Q],ne,q);"value"in I&&s(_,"value",null,I.value,ne),(y=I.onVnodeBeforeMount)&&ho(y,q,P)}le&&Jo(P,null,q,"beforeMount");const B=wh(ae,ge);B&&ge.beforeEnter(_),n(_,R,C),((y=I&&I.onVnodeMounted)||B||le)&&Dt(()=>{try{y&&ho(y,q,P),B&&ge.enter(_),le&&Jo(P,null,q,"mounted")}finally{}},ae)},A=(P,R,C,q,ae)=>{if(C&&v(P,C),q)for(let ne=0;ne{for(let y=_;y{const ie=R.el=P.el;let{patchFlag:_,dynamicChildren:y,dirs:I}=R;_|=P.patchFlag&16;const K=P.props||tt,ge=R.props||tt;let le;if(C&&tn(C,!1),(le=ge.onVnodeBeforeUpdate)&&ho(le,C,R,P),I&&Jo(R,P,C,"beforeUpdate"),C&&tn(C,!0),y&&(!P.dynamicChildren||P.dynamicChildren.length!==y.length)&&(_=0,pe=!1,y=null),(K.innerHTML&&ge.innerHTML==null||K.textContent&&ge.textContent==null)&&u(ie,""),y?j(P.dynamicChildren,y,ie,C,q,gr(R,ae),ne):pe||N(P,R,ie,null,C,q,gr(R,ae),ne,!1),_>0){if(_&16)D(ie,K,ge,C,ae);else if(_&2&&K.class!==ge.class&&s(ie,"class",null,ge.class,ae),_&4&&s(ie,"style",K.style,ge.style,ae),_&8){const B=R.dynamicProps;for(let Q=0;Q{le&&ho(le,C,R,P),I&&Jo(R,P,C,"updated")},q)},j=(P,R,C,q,ae,ne,pe)=>{for(let ie=0;ie{if(R!==C){if(R!==tt)for(const ne in R)!Un(ne)&&!(ne in C)&&s(P,ne,R[ne],null,ae,q);for(const ne in C){if(Un(ne))continue;const pe=C[ne],ie=R[ne];pe!==ie&&ne!=="value"&&s(P,ne,ie,pe,ae,q)}"value"in C&&s(P,"value",R.value,C.value,ae)}},Z=(P,R,C,q,ae,ne,pe,ie,_)=>{const y=R.el=P?P.el:i(""),I=R.anchor=P?P.anchor:i("");let{patchFlag:K,dynamicChildren:ge,slotScopeIds:le}=R;le&&(ie=ie?ie.concat(le):le),P==null?(n(y,C,q),n(I,C,q),L(R.children||[],C,I,ae,ne,pe,ie,_)):K>0&&K&64&&ge&&P.dynamicChildren&&P.dynamicChildren.length===ge.length?(j(P.dynamicChildren,ge,C,ae,ne,pe,ie),(R.key!=null||ae&&R===ae.subTree)&&hr(P,R,!0)):N(P,R,C,I,ae,ne,pe,ie,_)},F=(P,R,C,q,ae,ne,pe,ie,_)=>{R.slotScopeIds=ie,P==null?R.shapeFlag&512?ae.ctx.activate(R,C,q,pe,_):U(R,C,q,ae,ne,pe,_):M(P,R,_)},U=(P,R,C,q,ae,ne,pe)=>{const ie=P.component=Th(P,q,ae);if(Xa(P)&&(ie.ctx.renderer=ue),Rh(ie,!1,pe),ie.asyncDep){if(ae&&ae.registerDep(ie,E,pe),!P.el){const _=ie.subTree=Xe(po);f(null,_,R,C),P.placeholder=_.el}}else E(ie,P,R,C,ae,ne,pe)},M=(P,R,C)=>{const q=R.component=P.component;if(dh(P,R,C))if(q.asyncDep&&!q.asyncResolved){z(q,R,C);return}else q.next=R,q.update();else R.el=P.el,q.vnode=R},E=(P,R,C,q,ae,ne,pe)=>{const ie=()=>{if(P.isMounted){let{next:K,bu:ge,u:le,parent:B,vnode:Q}=P;{const Qe=nc(P);if(Qe){K&&(K.el=Q.el,z(P,K,pe)),Qe.asyncDep.then(()=>{Dt(()=>{P.isUnmounted||y()},ae)});return}}let xe=K,Ce;tn(P,!1),K?(K.el=Q.el,z(P,K,pe)):K=Q,ge&&Na(ge),(Ce=K.props&&K.props.onVnodeBeforeUpdate)&&ho(Ce,B,K,Q),tn(P,!0);const He=Vl(P),it=P.subTree;P.subTree=He,h(it,He,p(it.el),V(it),P,ae,ne),K.el=He.el,xe===null&&gh(P,He.el),le&&Dt(le,ae),(Ce=K.props&&K.props.onVnodeUpdated)&&Dt(()=>ho(Ce,B,K,Q),ae)}else{let K;const{el:ge,props:le}=R,{bm:B,m:Q,parent:xe,root:Ce,type:He}=P,it=bn(R);tn(P,!1),B&&Na(B),!it&&(K=le&&le.onVnodeBeforeMount)&&ho(K,xe,R),tn(P,!0);{Ce.ce&&Ce.ce._hasShadowRoot()&&Ce.ce._injectChildStyle(He,P.parent?P.parent.type:void 0);const Qe=P.subTree=Vl(P);h(null,Qe,C,q,P,ae,ne),R.el=Qe.el}if(Q&&Dt(Q,ae),!it&&(K=le&&le.onVnodeMounted)){const Qe=R;Dt(()=>ho(K,xe,Qe),ae)}(R.shapeFlag&256||xe&&bn(xe.vnode)&&xe.vnode.shapeFlag&256)&&P.a&&Dt(P.a,ae),P.isMounted=!0,R=C=q=null}};P.scope.on();const _=P.effect=new Yi(ie);P.scope.off();const y=P.update=_.run.bind(_),I=P.job=_.runIfDirty.bind(_);I.i=P,I.id=P.uid,_.scheduler=()=>Js(I),tn(P,!0),y()},z=(P,R,C)=>{R.component=P;const q=P.vnode.props;P.vnode=R,P.next=null,fh(P,R.props,q,C),_h(P,R.children,C),so(),_l(P),ro()},N=(P,R,C,q,ae,ne,pe,ie,_=!1)=>{const y=P&&P.children,I=P?P.shapeFlag:0,K=R.children,{patchFlag:ge,shapeFlag:le}=R;if(ge>0){if(ge&128){re(y,K,C,q,ae,ne,pe,ie,_);return}else if(ge&256){X(y,K,C,q,ae,ne,pe,ie,_);return}}le&8?(I&16&&Ne(y,ae,ne),K!==y&&u(C,K)):I&16?le&16?re(y,K,C,q,ae,ne,pe,ie,_):Ne(y,ae,ne,!0):(I&8&&u(C,""),le&16&&L(K,C,q,ae,ne,pe,ie,_))},X=(P,R,C,q,ae,ne,pe,ie,_)=>{P=P||cn,R=R||cn;const y=P.length,I=R.length,K=Math.min(y,I);let ge;for(ge=0;geI?Ne(P,ae,ne,!0,!1,K):L(R,C,q,ae,ne,pe,ie,_,K)},re=(P,R,C,q,ae,ne,pe,ie,_)=>{let y=0;const I=R.length;let K=P.length-1,ge=I-1;for(;y<=K&&y<=ge;){const le=P[y],B=R[y]=_?Ao(R[y]):go(R[y]);if(sa(le,B))h(le,B,C,null,ae,ne,pe,ie,_);else break;y++}for(;y<=K&&y<=ge;){const le=P[K],B=R[ge]=_?Ao(R[ge]):go(R[ge]);if(sa(le,B))h(le,B,C,null,ae,ne,pe,ie,_);else break;K--,ge--}if(y>K){if(y<=ge){const le=ge+1,B=lege)for(;y<=K;)se(P[y],ae,ne,!0),y++;else{const le=y,B=y,Q=new Map;for(y=B;y<=ge;y++){const _e=R[y]=_?Ao(R[y]):go(R[y]);_e.key!=null&&Q.set(_e.key,y)}let xe,Ce=0;const He=ge-B+1;let it=!1,Qe=0;const O=new Array(He);for(y=0;y=He){se(_e,ae,ne,!0);continue}let Le;if(_e.key!=null)Le=Q.get(_e.key);else for(xe=B;xe<=ge;xe++)if(O[xe-B]===0&&sa(_e,R[xe])){Le=xe;break}Le===void 0?se(_e,ae,ne,!0):(O[Le-B]=y+1,Le>=Qe?Qe=Le:it=!0,h(_e,R[Le],C,null,ae,ne,pe,ie,_),Ce++)}const Y=it?kh(O):cn;for(xe=Y.length-1,y=He-1;y>=0;y--){const _e=B+y,Le=R[_e],Ee=R[_e+1],pt=_e+1{const{el:ne,type:pe,transition:ie,children:_,shapeFlag:y}=P;if(y&6){oe(P.component.subTree,R,C,q);return}if(y&128){P.suspense.move(R,C,q);return}if(y&64){pe.move(P,R,C,ue);return}if(pe===Ge){n(ne,R,C);for(let K=0;K<_.length;K++)oe(_[K],R,C,q);n(P.anchor,R,C);return}if(pe===ts){$(P,R,C);return}if(q!==2&&y&1&&ie)if(q===0)ie.persisted&&!ne[or]?n(ne,R,C):(ie.beforeEnter(ne),n(ne,R,C),Dt(()=>ie.enter(ne),ae));else{const{leave:K,delayLeave:ge,afterLeave:le}=ie,B=()=>{P.ctx.isUnmounted?a(ne):n(ne,R,C)},Q=()=>{const xe=ne._isLeaving||!!ne[or];ne._isLeaving&&ne[or](!0),ie.persisted&&!xe?B():K(ne,()=>{B(),le&&le()})};ge?ge(ne,B,Q):Q()}else n(ne,R,C)},se=(P,R,C,q=!1,ae=!1)=>{const{type:ne,props:pe,ref:ie,children:_,dynamicChildren:y,shapeFlag:I,patchFlag:K,dirs:ge,cacheIndex:le,memo:B}=P;if(K===-2&&(ae=!1),ie!=null&&(so(),Qn(ie,null,C,P,!0),ro()),le!=null&&(R.renderCache[le]=void 0),I&256){R.ctx.deactivate(P);return}const Q=I&1&&ge,xe=!bn(P);let Ce;if(xe&&(Ce=pe&&pe.onVnodeBeforeUnmount)&&ho(Ce,R,P),I&6)fe(P.component,C,q);else{if(I&128){P.suspense.unmount(C,q);return}Q&&Jo(P,null,R,"beforeUnmount"),I&64?P.type.remove(P,R,C,ue,q):y&&!y.hasOnce&&(ne!==Ge||K>0&&K&64)?Ne(y,R,C,!1,!0):(ne===Ge&&K&384||!ae&&I&16)&&Ne(_,R,C),q&&ve(P)}const He=B!=null&&le==null;(xe&&(Ce=pe&&pe.onVnodeUnmounted)||Q||He)&&Dt(()=>{Ce&&ho(Ce,R,P),Q&&Jo(P,null,R,"unmounted"),He&&(P.el=null)},C)},ve=P=>{const{type:R,el:C,anchor:q,transition:ae}=P;if(R===Ge){Ae(C,q);return}if(R===ts){b(P);return}const ne=()=>{a(C),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(P.shapeFlag&1&&ae&&!ae.persisted){const{leave:pe,delayLeave:ie}=ae,_=()=>pe(C,ne);ie?ie(P.el,ne,_):_()}else ne()},Ae=(P,R)=>{let C;for(;P!==R;)C=d(P),a(P),P=C;a(R)},fe=(P,R,C)=>{const{bum:q,scope:ae,job:ne,subTree:pe,um:ie,m:_,a:y}=P;ac(_),ac(y),q&&Na(q),ae.stop(),ne&&(ne.flags|=8,se(pe,P,R,C)),ie&&Dt(ie,R),Dt(()=>{P.isUnmounted=!0},R)},Ne=(P,R,C,q=!1,ae=!1,ne=0)=>{for(let pe=ne;pe{if(P.shapeFlag&6)return V(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const R=d(P.anchor||P.el),C=R&&R[Ll];return C?d(C):R};let de=!1;const be=(P,R,C)=>{let q;P==null?R._vnode&&(se(R._vnode,null,null,!0),q=R._vnode.component):h(R._vnode||null,P,R,null,null,null,C),R._vnode=P,de||(de=!0,_l(q),yl(),de=!1)},ue={p:h,um:se,m:oe,r:ve,mt:U,mc:L,pc:N,pbc:j,n:V,o:e};return{render:be,hydrate:void 0,createApp:rh(be)}}function gr({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function tn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hr(e,t,o=!1){const n=e.children,a=t.children;if(Se(n)&&Se(a))for(let s=0;s>1,e[o[i]]0&&(t[n]=o[s-1]),o[s]=n)}}for(s=o.length,r=o[s-1];s-- >0;)o[s]=r,r=t[r];return o}function nc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nc(t)}function ac(e){if(e)for(let t=0;te.__isSuspense;function xh(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):Eg(e)}const Ge=Symbol.for("v-fgt"),oa=Symbol.for("v-txt"),po=Symbol.for("v-cmt"),ts=Symbol.for("v-stc"),Lo=[];let Vt=null;function H(e=!1){Lo.push(Vt=e?null:[])}function fr(){Lo.pop(),Vt=Lo[Lo.length-1]||null}let na=1;function os(e,t=!1){na+=e,e<0&&Vt&&t&&(Vt.hasOnce=!0)}function ic(e){return e.dynamicChildren=na>0?Vt||cn:null,fr(),na>0&&Vt&&Vt.push(e),e}function ee(e,t,o,n,a,s){return ic(T(e,t,o,n,a,s,!0))}function dt(e,t,o,n,a){return ic(Xe(e,t,o,n,a,!0))}function aa(e){return e?e.__v_isVNode===!0:!1}function sa(e,t){return e.type===t.type&&e.key===t.key}const lc=({key:e})=>e??null,ns=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?at(e)||ct(e)||Re(e)?{i:Pt,r:e,k:t,f:!!o}:e:null);function T(e,t=null,o=null,n=0,a=null,s=e===Ge?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lc(t),ref:t&&ns(t),scopeId:wl,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Pt};return i?(as(l,o),s&128&&e.normalize(l)):o&&(l.shapeFlag|=at(o)?8:16),na>0&&!r&&Vt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Vt.push(l),l}const Xe=Lh;function Lh(e,t=null,o=null,n=0,a=null,s=!1){if((!e||e===Ml)&&(e=po),aa(e)){const i=_n(e,t,!0);return o&&as(i,o),na>0&&!s&&Vt&&(i.shapeFlag&6?Vt[Vt.indexOf(e)]=i:Vt.push(i)),i.patchFlag=-2,i}if(Dh(e)&&(e=e.__vccOpts),t){t=Ah(t);let{class:i,style:l}=t;i&&!at(i)&&(t.class=De(i)),Ze(l)&&(ja(l)&&!Se(l)&&(l=gt({},l)),t.style=lt(l))}const r=at(e)?1:rc(e)?128:Ka(e)?64:Ze(e)?4:Re(e)?2:0;return T(e,t,o,n,a,r,s,!0)}function Ah(e){return e?ja(e)||Xl(e)?gt({},e):e:null}function _n(e,t,o=!1,n=!1){const{props:a,ref:s,patchFlag:r,children:i,transition:l}=e,c=t?Ph(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&lc(c),ref:t&&t.ref?o&&s?Se(s)?s.concat(ns(t)):[s,ns(t)]:ns(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_n(e.ssContent),ssFallback:e.ssFallback&&_n(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&nr(u,l.clone(u)),u}function Ct(e=" ",t=0){return Xe(oa,null,e,t)}function Sh(e,t){const o=Xe(ts,null,e);return o.staticCount=t,o}function we(e="",t=!1){return t?(H(),dt(po,null,e)):Xe(po,null,e)}function go(e){return e==null||typeof e=="boolean"?Xe(po):Se(e)?Xe(Ge,null,e.slice()):aa(e)?Ao(e):Xe(oa,null,String(e))}function Ao(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_n(e)}function as(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Se(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),as(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Xl(t)?t._ctx=Pt:a===3&&Pt&&(Pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Re(t)){if(n&65){as(e,{default:t});return}t={default:t,_ctx:Pt},o=32}else t=String(t),n&64?(o=16,t=[Ct(t)]):o=8;e.children=t,e.shapeFlag|=o}function Ph(...e){const t={};for(let o=0;oTt||Pt;let ss,ra;{const e=Ma(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),s=>{a.length>1?a.forEach(r=>r(s)):a[0](s)}};ss=t("__VUE_INSTANCE_SETTERS__",o=>Tt=o),ra=t("__VUE_SSR_SETTERS__",o=>yn=o)}const ia=e=>{const t=Tt;return ss(e),e.scope.on(),()=>{e.scope.off(),ss(t)}},cc=()=>{Tt&&Tt.scope.off(),ss(null)};function uc(e){return e.vnode.shapeFlag&4}let yn=!1;function Rh(e,t=!1,o=!1){t&&ra(t);const{props:n,children:a}=e.vnode,s=uc(e);hh(e,n,s,t),$h(e,a,o||t);const r=s?Nh(e,t):void 0;return t&&ra(!1),r}function Nh(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Qg);const{setup:n}=o;if(n){so();const a=e.setupContext=n.length>1?Oh(e):null,s=ia(e),r=hn(n,e,0,[e.props,a]),i=Fi(r);if(ro(),s(),(i||e.sp)&&!bn(e)&&ar(e),i){if(r.then(cc,cc),t)return r.then(l=>{ra(!0);try{pc(e,l,t)}finally{ra(!1)}}).catch(l=>{Yn(l,e,0)});e.asyncDep=r}else pc(e,r)}else dc(e)}function pc(e,t,o){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ze(t)&&(e.setupState=hl(t)),dc(e)}function dc(e,t,o){const n=e.type;e.render||(e.render=n.render||no);{const a=ia(e);so();try{eh(e)}finally{ro(),a()}}}const Mh={get(e,t){return Nt(e,"get",""),e[t]}};function Oh(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Mh),slots:e.slots,emit:e.emit,expose:t}}function rs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hl(Xo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in ea)return ea[o](e)},has(t,o){return o in t||o in ea}})):e.proxy}const Ih=/(?:^|[-_])\w/g,Fh=e=>e.replace(Ih,t=>t.toUpperCase()).replace(/[-_]/g,"");function gc(e,t=!0){return Re(e)?e.displayName||e.name:e.name||t&&e.__name}function hc(e,t,o=!1){let n=gc(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=s=>{for(const r in s)if(s[r]===t)return r};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Fh(n):o?"App":"Anonymous"}function Dh(e){return Re(e)&&"__vccOpts"in e}const J=(e,t)=>yg(e,t,yn);function fc(e,t,o){try{os(-1);const n=arguments.length;return n===2?Ze(t)&&!Se(t)?aa(t)?Xe(e,null,[t]):Xe(e,t):Xe(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&aa(o)&&(o=[o]),Xe(e,t,o))}finally{os(1)}}const Gh="3.5.42";/** +`],...Lg(o))}),t}function Lg({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${hc(e.component,e.type,n)}`,s=">"+o;return e.props?[a,...Ag(e.props),s]:[a+s]}function Ag(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...ml(n,e[n]))}),o.length>3&&t.push(" ..."),t}function ml(e,t,o){return at(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ct(t)?(t=ml(e,ze(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Re(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ze(t),o?t:[`${e}=`,t])}function hn(e,t,o,n){try{return n?e(...n):e()}catch(a){Yn(a,t,o)}}function Jt(e,t,o,n){if(Re(e)){const a=hn(e,t,o,n);return a&&Fi(a)&&a.catch(s=>{Yn(s,t,o)}),a}if(Se(e)){const a=[];for(let s=0;s>>1,a=Ot[n],s=Xn(a);s=Xn(o)?Ot.push(e):Ot.splice(Pg(t),0,e),e.flags|=1,$l()}}function $l(){Ha||(Ha=bl.then(vl))}function Eg(e){if(!Se(e))Io&&e.id===-1?Io.splice(mn+1,0,e):e.flags&1||(fn.push(e),e.flags|=1);else for(let t=0;tXn(o)-Xn(n));if(fn.length=0,Io){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function vl(e){try{for(lo=0;lo{n._d&&os(-1);const s=Va(t),r=Lo.length;let i;try{i=e(...a)}finally{for(let l=Lo.length;l>r;l--)fr();Va(s),n._d&&os(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function kl(e,t){if(Pt===null)return e;const o=rs(Pt),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&Re(t)?t.call(n&&n.proxy):t}}function Cg(){return!!(So()||en)}const Tg=Symbol.for("v-scx"),Rg=()=>je(Tg);function Ng(e,t){return Qs(e,null,t)}function ot(e,t,o){return Qs(e,t,o)}function Qs(e,t,o=tt){const{immediate:n,deep:a,flush:s,once:r}=o,i=gt({},o),l=t&&n||!t&&s!=="post";let c;if(yn){if(s==="sync"){const v=Rg();c=v.__watcherHandles||(v.__watcherHandles=[])}else if(!l){const v=()=>{};return v.stop=no,v.resume=no,v.pause=no,v}}const u=Tt;i.call=(v,x,h)=>Jt(v,u,x,h);let p=!1;s==="post"?i.scheduler=v=>{Dt(v,u&&u.suspense)}:s!=="sync"&&(p=!0,i.scheduler=(v,x)=>{x?v():Js(v)}),i.augmentJob=v=>{t&&(v.flags|=4),p&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const d=wg(e,t,i);return yn&&(c?c.push(d):l&&d()),d}function Mg(e,t,o){const n=this.proxy,a=at(e)?e.includes(".")?xl(n,e):()=>n[e]:e.bind(n,n);let s;Re(t)?s=t:(s=t.handler,o=t);const r=ia(this),i=Qs(a,s.bind(n),o);return r(),i}function xl(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,Qo=e=>e&&(e.disabled||e.disabled===""),Og=e=>e&&(e.defer||e.defer===""),Al=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,er=(e,t)=>{const o=e&&e.to;return at(o)?t?t(o):null:o},Ig={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,s,r,i,l,c){const{mc:u,pc:p,pbc:d,o:{insert:v,querySelector:x,createText:h,createComment:g,parentNode:f}}=c,m=Qo(t.props);let{dynamicChildren:$}=t;const b=(A,L,S)=>{A.shapeFlag&16&&u(A.children,L,S,a,s,r,i,l)},k=(A=t)=>{const L=Qo(A.props),S=A.target=er(A.props,x),j=tr(S,A,h,v);S&&(r!=="svg"&&Al(S)?r="svg":r!=="mathml"&&Sl(S)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(S),L||(b(A,S,j),Zn(A,!1)))},w=A=>{const L=()=>{if(Fo.get(A)===L){if(Fo.delete(A),Qo(A.props)){const S=f(A.el)||o;b(A,S,A.anchor),Zn(A,!0)}k(A)}};Fo.set(A,L),Dt(L,s)};if(e==null){const A=t.el=h(""),L=t.anchor=h("");if(v(A,o,n),v(L,o,n),Og(t.props)||s&&s.pendingBranch){w(t);return}m&&(b(t,o,L),Zn(t,!0)),k()}else{t.el=e.el;const A=t.anchor=e.anchor,L=Fo.get(e);if(L){L.flags|=8,Fo.delete(e),w(t);return}t.targetStart=e.targetStart;const S=t.target=e.target,j=t.targetAnchor=e.targetAnchor,D=Qo(e.props),Z=D?o:S,F=D?A:j;if(r==="svg"||Al(S)?r="svg":(r==="mathml"||Sl(S))&&(r="mathml"),$?(d(e.dynamicChildren,$,Z,a,s,r,i),hr(e,t,!0)):l||p(e,t,Z,F,a,s,r,i,!1),m)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Wa(t,o,A,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=er(t.props,x);U&&(t.target=U,Wa(t,U,null,c,0))}else D&&Wa(t,S,j,c,1);Zn(t,m)}},remove(e,t,o,{um:n,o:{remove:a}},s){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:d}=e,v=Qo(d),x=s||!v,h=Fo.get(e);if(h&&(h.flags|=8,Fo.delete(e)),p&&(a(c),a(u)),s&&a(l),!h&&(v||p)&&r&16)for(let g=0;g1){for(const o of e)if(o.type!==po){t=o;break}}return t}function Pl(e){if(!Xa(e))return Ka(e.type)&&e.children?Gg(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&Re(o.default))return o.default()}}function nr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;nr(Ka(o.type)&&Pl(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jn(e,t){return Re(e)?gt({name:e.name},t,{setup:e}):e}function ar(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function El(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const qa=new WeakMap;function Qn(e,t,o,n,a=!1){if(Se(e)){e.forEach((h,g)=>Qn(h,t&&(Se(t)?t[g]:t),o,n,a));return}if(bn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Qn(e,t,o,n.component.subTree);return}const s=n.shapeFlag&4?rs(n.component):n.el,r=a?null:s,{i,r:l}=e,c=t&&t.r,u=i.refs===tt?i.refs={}:i.refs,p=i.setupState,d=ze(p),v=p===tt?Oi:h=>El(u,h)?!1:Ye(d,h),x=(h,g)=>!(g&&El(u,g));if(c!=null&&c!==l){if(Cl(t),at(c))u[c]=null,v(c)&&(p[c]=null);else if(ct(c)){const h=t;x(c,h.k)&&(c.value=null),h.k&&(u[h.k]=null)}}if(Re(l))hn(l,i,12,[r,u]);else{const h=at(l),g=ct(l);if(h||g){const f=()=>{if(e.f){const m=h?v(l)?p[l]:u[l]:x()||!e.k?l.value:u[e.k];if(a)Se(m)&&Is(m,s);else if(Se(m))m.includes(s)||m.push(s);else if(h)u[l]=[s],v(l)&&(p[l]=u[l]);else{const $=[s];x(l,e.k)&&(l.value=$),e.k&&(u[e.k]=$)}}else h?(u[l]=r,v(l)&&(p[l]=r)):g&&(x(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const m=()=>{f(),qa.delete(e)};m.id=-1,qa.set(e,m),Dt(m,o)}else Cl(e),f()}}}function Cl(e){const t=qa.get(e);t&&(t.flags|=8,qa.delete(e))}const Tl=e=>e.nodeType===8;Ma().requestIdleCallback,Ma().cancelIdleCallback;function Bg(e,t){if(Tl(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Tl(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const bn=e=>!!e.type.__asyncLoader;function jg(e){Re(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:s,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,p=0;const d=()=>(p++,c=null,v()),v=()=>{let x;return c||(x=c=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((g,f)=>{l(h,()=>g(d()),()=>f(h),p+1)});throw h}).then(h=>x!==c&&c?c:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),u=h,h)))};return Jn({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(x,h,g){const f=x.isConnected;let m=!1;(h.bu||(h.bu=[])).push(()=>m=!0);const $=()=>{m||!x.parentNode||f&&!x.isConnected||g()},b=s?()=>{const k=s($,w=>Bg(x,w));k&&(h.bum||(h.bum=[])).push(k)}:$;u?b():v().then(()=>!h.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const x=Tt;if(ar(x),u)return()=>Ya(u,x);const h=k=>{c=null,Yn(k,x,13,!n)};if(i&&x.suspense||yn)return v().then(k=>()=>Ya(k,x)).catch(k=>(h(k),()=>n?Xe(n,{error:k}):null));const g=he(!1),f=he(),m=he(!!a);let $,b;return Ja(()=>{$!=null&&clearTimeout($),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{x.isUnmounted||(m.value=!1)},a)),r!=null&&($=setTimeout(()=>{if(!x.isUnmounted&&!g.value&&!f.value){const k=new Error(`Async component timed out after ${r}ms.`);h(k),f.value=k}},r)),v().then(()=>{x.isUnmounted||(g.value=!0,x.parent&&Xa(x.parent.vnode)&&x.parent.update())}).catch(k=>{if(x.isUnmounted){c=null;return}h(k),f.value=k}),()=>{if(g.value&&u)return Ya(u,x);if(f.value&&n)return Xe(n,{error:f.value});if(o&&!m.value)return Ya(o,x)}}})}function Ya(e,t){const{ref:o,props:n,children:a,ce:s}=t.vnode,r=Xe(e,n,a);return r.ref=o,r.ce=s,delete t.vnode.ce,r}const Xa=e=>e.type.__isKeepAlive;function Ug(e,t){Rl(e,"a",t)}function zg(e,t){Rl(e,"da",t)}function Rl(e,t,o=Tt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Za(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Xa(a.parent.vnode)&&Hg(n,t,o,a),a=a.parent}}function Hg(e,t,o,n){const a=Za(t,e,n,!0);Ja(()=>{Is(n[t],a)},o)}function Za(e,t,o=Tt,n=!1){if(o){const a=o[e]||(o[e]=[]),s=t.__weh||(t.__weh=(...r)=>{so();const i=ia(o),l=Jt(t,o,e,r);return i(),ro(),l});return n?a.unshift(s):a.push(s),s}}const xo=e=>(t,o=Tt)=>{(!yn||e==="sp")&&Za(e,(...n)=>t(...n),o)},Nl=xo("bm"),uo=xo("m"),Vg=xo("bu"),Kg=xo("u"),Wt=xo("bum"),Ja=xo("um"),Wg=xo("sp"),qg=xo("rtg"),Yg=xo("rtc");function Xg(e,t=Tt){Za("ec",e,t)}const Zg="components",Ml=Symbol.for("v-ndc");function sr(e){return at(e)?Jg(Zg,e,!1)||e:e||Ml}function Jg(e,t,o=!0,n=!1){const a=Pt||Tt;if(a){const s=a.type;{const i=gc(s,!1);if(i&&(i===t||i===xt(t)||i===Ra(xt(t))))return s}const r=Ol(a[e]||s[e],t)||Ol(a.appContext[e],t);return!r&&n?s:r}}function Ol(e,t){return e&&(e[t]||e[xt(t)]||e[Ra(xt(t))])}function Et(e,t,o,n){let a;const s=o,r=Se(e);if(r||at(e)){const i=r&&vo(e);let l=!1,c=!1;i&&(l=!zt(e),c=wo(e),e=Ia(e)),a=new Array(e.length);for(let u=0,p=e.length;ut(i,l,void 0,s));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),H(),dt(Ge,null,[Xe("slot",c,n)],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const i=Lo.length;H();let l;try{const c=r&&Il(r(o)),u=o.key||s||c&&c.key;l=dt(Ge,{key:(u&&!jt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=Lo.length;u>i;u--)fr();throw c}finally{r&&r._c&&(r._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Il(e){return e.some(t=>aa(t)?!(t.type===po||t.type===Ge&&!Il(t.children)):!0)?e:null}const rr=e=>e?uc(e)?rs(e):rr(e.parent):null,ea=gt(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=>rr(e.parent),$root:e=>rr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Bl(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=co.bind(e.proxy)),$watch:e=>Mg.bind(e)}),ir=(e,t)=>e!==tt&&!e.__isScriptSetup&&Ye(e,t),Qg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:s,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const d=r[t];if(d!==void 0)switch(d){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return s[t]}else{if(ir(n,t))return r[t]=1,n[t];if(a!==tt&&Ye(a,t))return r[t]=2,a[t];if(Ye(s,t))return r[t]=3,s[t];if(o!==tt&&Ye(o,t))return r[t]=4,o[t];lr&&(r[t]=0)}}const c=ea[t];let u,p;if(c)return t==="$attrs"&&Nt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==tt&&Ye(o,t))return r[t]=4,o[t];if(p=l.config.globalProperties,Ye(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:s}=e;return ir(a,t)?(a[t]=o,!0):n!==tt&&Ye(n,t)?(n[t]=o,!0):Ye(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:s,type:r}},i){let l;return!!(o[i]||e!==tt&&i[0]!=="$"&&Ye(e,i)||ir(t,i)||Ye(s,i)||Ye(n,i)||Ye(ea,i)||Ye(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ye(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Fl(e){return Se(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let lr=!0;function eh(e){const t=Bl(e),o=e.proxy,n=e.ctx;lr=!1,t.beforeCreate&&Dl(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:d,beforeUpdate:v,updated:x,activated:h,deactivated:g,beforeDestroy:f,beforeUnmount:m,destroyed:$,unmounted:b,render:k,renderTracked:w,renderTriggered:A,errorCaptured:L,serverPrefetch:S,expose:j,inheritAttrs:D,components:Z,directives:F,filters:U}=t;if(c&&th(c,n,null),r)for(const z in r){const N=r[z];Re(N)&&(n[z]=N.bind(o))}if(a){const z=a.call(o,o);Ze(z)&&(e.data=pn(z))}if(lr=!0,s)for(const z in s){const N=s[z],X=Re(N)?N.bind(o,o):Re(N.get)?N.get.bind(o,o):no,re=!Re(N)&&Re(N.set)?N.set.bind(o):no,oe=J({get:X,set:re});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>oe.value,set:se=>oe.value=se})}if(i)for(const z in i)Gl(i[z],n,o,z);if(l){const z=Re(l)?l.call(o):l;Reflect.ownKeys(z).forEach(N=>{It(N,z[N])})}u&&Dl(u,e,"c");function E(z,N){Se(N)?N.forEach(X=>z(X.bind(o))):N&&z(N.bind(o))}if(E(Nl,p),E(uo,d),E(Vg,v),E(Kg,x),E(Ug,h),E(zg,g),E(Xg,L),E(Yg,w),E(qg,A),E(Wt,m),E(Ja,b),E(Wg,S),Se(j))if(j.length){const z=e.exposed||(e.exposed={});j.forEach(N=>{Object.defineProperty(z,N,{get:()=>o[N],set:X=>o[N]=X,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===no&&(e.render=k),D!=null&&(e.inheritAttrs=D),Z&&(e.components=Z),F&&(e.directives=F),S&&ar(e)}function th(e,t,o=no){Se(e)&&(e=cr(e));for(const n in e){const a=e[n];let s;Ze(a)?"default"in a?s=je(a.from||n,a.default,!0):s=je(a.from||n):s=je(a),ct(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):t[n]=s}}function Dl(e,t,o){Jt(Se(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Gl(e,t,o,n){let a=n.includes(".")?xl(o,n):()=>o[n];if(at(e)){const s=t[e];Re(s)&&ot(a,s)}else if(Re(e))ot(a,e.bind(o));else if(Ze(e))if(Se(e))e.forEach(s=>Gl(s,t,o,n));else{const s=Re(e.handler)?e.handler.bind(o):t[e.handler];Re(s)&&ot(a,s,e)}}function Bl(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,i=s.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Qa(l,c,r,!0)),Qa(l,t,r)),Ze(t)&&s.set(t,l),l}function Qa(e,t,o,n=!1){const{mixins:a,extends:s}=t;s&&Qa(e,s,o,!0),a&&a.forEach(r=>Qa(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=oh[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const oh={data:jl,props:Ul,emits:Ul,methods:ta,computed:ta,beforeCreate:Ft,created:Ft,beforeMount:Ft,mounted:Ft,beforeUpdate:Ft,updated:Ft,beforeDestroy:Ft,beforeUnmount:Ft,destroyed:Ft,unmounted:Ft,activated:Ft,deactivated:Ft,errorCaptured:Ft,serverPrefetch:Ft,components:ta,directives:ta,watch:ah,provide:jl,inject:nh};function jl(e,t){return t?e?function(){return gt(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function nh(e,t){return ta(cr(e),cr(t))}function cr(e){if(Se(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Ut(t)}Modifiers`];function lh(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||tt;let a=o;const s=t.startsWith("update:"),r=s&&ih(n,t.slice(7));r&&(r.trim&&(a=o.map(u=>at(u)?u.trim():u)),r.number&&(a=a.map(Bi)));let i,l=n[i=Fs(t)]||n[i=Fs(xt(t))];!l&&s&&(l=n[i=Fs(Ut(t))]),l&&Jt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Jt(c,e,6,a)}}const ch=new WeakMap;function Hl(e,t,o=!1){const n=o?ch:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const s=e.emits;let r={},i=!1;if(!Re(e)){const l=c=>{const u=Hl(c,t,!0);u&&(i=!0,gt(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(Ze(e)&&n.set(e,null),null):(Se(s)?s.forEach(l=>r[l]=null):gt(r,s),Ze(e)&&n.set(e,r),r)}function es(e,t){return!e||!Sa(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ye(e,t[0].toLowerCase()+t.slice(1))||Ye(e,Ut(t))||Ye(e,t))}function xA(){}function Vl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[s],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:p,data:d,setupState:v,ctx:x,inheritAttrs:h}=e,g=Va(e);let f,m;try{if(o.shapeFlag&4){const b=a||n,k=b;f=go(c.call(k,b,u,p,v,d,x)),m=i}else{const b=t;f=go(b.length>1?b(p,{attrs:i,slots:r,emit:l}):b(p,null)),m=t.props?i:uh(i)}}catch(b){Lo.length=0,Yn(b,e,1),f=Xe(po)}let $=f;if(m&&h!==!1){const b=Object.keys(m),{shapeFlag:k}=$;b.length&&k&7&&(s&&b.some(Pa)&&(m=ph(m,s)),$=_n($,m,!1,!0))}if(o.dirs&&($=_n($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(o.dirs):o.dirs),o.transition){const b=Ka($.type)&&Pl($)||$;nr(b,o.transition)}return f=$,Va(g),f}const uh=e=>{let t;for(const o in e)(o==="class"||o==="style"||Sa(o))&&((t||(t={}))[o]=e[o]);return t},ph=(e,t)=>{const o={};for(const n in e)(!Pa(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function dh(e,t,o){const{props:n,children:a,component:s}=e,{props:r,children:i,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Kl(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(ql),Xl=e=>Object.getPrototypeOf(e)===ql;function hh(e,t,o,n=!1){const a={},s=Yl();e.propsDefaults=Object.create(null),Zl(e,t,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);o?e.props=n?a:dg(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function fh(e,t,o,n){const{props:a,attrs:s,vnode:{patchFlag:r}}=e,i=ze(a),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[d,v]=Jl(p,t,!0);gt(r,d),v&&i.push(...v)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ze(e)&&n.set(e,cn),cn;if(Se(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",dr=e=>Se(e)?e.map(go):[go(e)],bh=(e,t,o)=>{if(t._n)return t;const n=Ht((...a)=>dr(t(...a)),o);return n._c=!1,n},ec=(e,t,o)=>{const n=e._ctx;for(const a in e){if(pr(a))continue;const s=e[a];if(Re(s))t[a]=bh(a,s,n);else if(s!=null){const r=dr(s);t[a]=()=>r}}},tc=(e,t)=>{const o=dr(t);e.slots.default=()=>o},oc=(e,t,o)=>{for(const n in t)(o||!pr(n))&&(e[n]=t[n])},$h=(e,t,o)=>{const n=e.slots=Yl();if(e.vnode.shapeFlag&32){const a=t._;a?(oc(n,t,o),o&&Gi(n,"_",a,!0)):ec(t,n)}else t&&tc(e,t)},_h=(e,t,o)=>{const{vnode:n,slots:a}=e;let s=!0,r=tt;if(n.shapeFlag&32){const i=t._;i?o&&i===1?s=!1:oc(a,t,o):(s=!t.$stable,ec(t,a)),r=t}else t&&(tc(e,t),r={default:1});if(s)for(const i in a)!pr(i)&&r[i]==null&&delete a[i]},Dt=xh;function yh(e){return vh(e)}function vh(e,t){const o=Ma();o.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:d,setScopeId:v=no,insertStaticContent:x}=e,h=(P,R,C,q=null,ae=null,ne=null,pe=void 0,ie=null,_=!!R.dynamicChildren)=>{if(P===R)return;P&&!sa(P,R)&&(q=V(P),se(P,ae,ne,!0),P=null),R.patchFlag===-2&&(_=!1,R.dynamicChildren=null);const{type:y,ref:I,shapeFlag:K}=R;switch(y){case oa:g(P,R,C,q);break;case po:f(P,R,C,q);break;case ts:P==null&&m(R,C,q,pe);break;case Ge:Z(P,R,C,q,ae,ne,pe,ie,_);break;default:K&1?k(P,R,C,q,ae,ne,pe,ie,_):K&6?F(P,R,C,q,ae,ne,pe,ie,_):(K&64||K&128)&&y.process(P,R,C,q,ae,ne,pe,ie,_,ue)}I!=null&&ae?Qn(I,P&&P.ref,ne,R||P,!R):I==null&&P&&P.ref!=null&&Qn(P.ref,null,ne,P,!0)},g=(P,R,C,q)=>{if(P==null)n(R.el=i(R.children),C,q);else{const ae=R.el=P.el;R.children!==P.children&&c(ae,R.children)}},f=(P,R,C,q)=>{P==null?n(R.el=l(R.children||""),C,q):R.el=P.el},m=(P,R,C,q)=>{[P.el,P.anchor]=x(P.children,R,C,q,P.el,P.anchor)},$=({el:P,anchor:R},C,q)=>{let ae;for(;P&&P!==R;)ae=d(P),n(P,C,q),P=ae;n(R,C,q)},b=({el:P,anchor:R})=>{let C;for(;P&&P!==R;)C=d(P),a(P),P=C;a(R)},k=(P,R,C,q,ae,ne,pe,ie,_)=>{if(R.type==="svg"?pe="svg":R.type==="math"&&(pe="mathml"),P==null)w(R,C,q,ae,ne,pe,ie,_);else{const y=P.el&&P.el._isVueCE?P.el:null;try{y&&y._beginPatch(),S(P,R,ae,ne,pe,ie,_)}finally{y&&y._endPatch()}}},w=(P,R,C,q,ae,ne,pe,ie)=>{let _,y;const{props:I,shapeFlag:K,transition:ge,dirs:le}=P;if(_=P.el=r(P.type,ne,I&&I.is,I),K&8?u(_,P.children):K&16&&L(P.children,_,null,q,ae,gr(P,ne),pe,ie),le&&Jo(P,null,q,"created"),A(_,P,P.scopeId,pe,q),I){for(const Q in I)Q!=="value"&&!Un(Q)&&s(_,Q,null,I[Q],ne,q);"value"in I&&s(_,"value",null,I.value,ne),(y=I.onVnodeBeforeMount)&&ho(y,q,P)}le&&Jo(P,null,q,"beforeMount");const B=wh(ae,ge);B&&ge.beforeEnter(_),n(_,R,C),((y=I&&I.onVnodeMounted)||B||le)&&Dt(()=>{try{y&&ho(y,q,P),B&&ge.enter(_),le&&Jo(P,null,q,"mounted")}finally{}},ae)},A=(P,R,C,q,ae)=>{if(C&&v(P,C),q)for(let ne=0;ne{for(let y=_;y{const ie=R.el=P.el;let{patchFlag:_,dynamicChildren:y,dirs:I}=R;_|=P.patchFlag&16;const K=P.props||tt,ge=R.props||tt;let le;if(C&&tn(C,!1),(le=ge.onVnodeBeforeUpdate)&&ho(le,C,R,P),I&&Jo(R,P,C,"beforeUpdate"),C&&tn(C,!0),y&&(!P.dynamicChildren||P.dynamicChildren.length!==y.length)&&(_=0,pe=!1,y=null),(K.innerHTML&&ge.innerHTML==null||K.textContent&&ge.textContent==null)&&u(ie,""),y?j(P.dynamicChildren,y,ie,C,q,gr(R,ae),ne):pe||N(P,R,ie,null,C,q,gr(R,ae),ne,!1),_>0){if(_&16)D(ie,K,ge,C,ae);else if(_&2&&K.class!==ge.class&&s(ie,"class",null,ge.class,ae),_&4&&s(ie,"style",K.style,ge.style,ae),_&8){const B=R.dynamicProps;for(let Q=0;Q{le&&ho(le,C,R,P),I&&Jo(R,P,C,"updated")},q)},j=(P,R,C,q,ae,ne,pe)=>{for(let ie=0;ie{if(R!==C){if(R!==tt)for(const ne in R)!Un(ne)&&!(ne in C)&&s(P,ne,R[ne],null,ae,q);for(const ne in C){if(Un(ne))continue;const pe=C[ne],ie=R[ne];pe!==ie&&ne!=="value"&&s(P,ne,ie,pe,ae,q)}"value"in C&&s(P,"value",R.value,C.value,ae)}},Z=(P,R,C,q,ae,ne,pe,ie,_)=>{const y=R.el=P?P.el:i(""),I=R.anchor=P?P.anchor:i("");let{patchFlag:K,dynamicChildren:ge,slotScopeIds:le}=R;le&&(ie=ie?ie.concat(le):le),P==null?(n(y,C,q),n(I,C,q),L(R.children||[],C,I,ae,ne,pe,ie,_)):K>0&&K&64&&ge&&P.dynamicChildren&&P.dynamicChildren.length===ge.length?(j(P.dynamicChildren,ge,C,ae,ne,pe,ie),(R.key!=null||ae&&R===ae.subTree)&&hr(P,R,!0)):N(P,R,C,I,ae,ne,pe,ie,_)},F=(P,R,C,q,ae,ne,pe,ie,_)=>{R.slotScopeIds=ie,P==null?R.shapeFlag&512?ae.ctx.activate(R,C,q,pe,_):U(R,C,q,ae,ne,pe,_):M(P,R,_)},U=(P,R,C,q,ae,ne,pe)=>{const ie=P.component=Th(P,q,ae);if(Xa(P)&&(ie.ctx.renderer=ue),Rh(ie,!1,pe),ie.asyncDep){if(ae&&ae.registerDep(ie,E,pe),!P.el){const _=ie.subTree=Xe(po);f(null,_,R,C),P.placeholder=_.el}}else E(ie,P,R,C,ae,ne,pe)},M=(P,R,C)=>{const q=R.component=P.component;if(dh(P,R,C))if(q.asyncDep&&!q.asyncResolved){z(q,R,C);return}else q.next=R,q.update();else R.el=P.el,q.vnode=R},E=(P,R,C,q,ae,ne,pe)=>{const ie=()=>{if(P.isMounted){let{next:K,bu:ge,u:le,parent:B,vnode:Q}=P;{const Qe=nc(P);if(Qe){K&&(K.el=Q.el,z(P,K,pe)),Qe.asyncDep.then(()=>{Dt(()=>{P.isUnmounted||y()},ae)});return}}let xe=K,Ce;tn(P,!1),K?(K.el=Q.el,z(P,K,pe)):K=Q,ge&&Na(ge),(Ce=K.props&&K.props.onVnodeBeforeUpdate)&&ho(Ce,B,K,Q),tn(P,!0);const He=Vl(P),it=P.subTree;P.subTree=He,h(it,He,p(it.el),V(it),P,ae,ne),K.el=He.el,xe===null&&gh(P,He.el),le&&Dt(le,ae),(Ce=K.props&&K.props.onVnodeUpdated)&&Dt(()=>ho(Ce,B,K,Q),ae)}else{let K;const{el:ge,props:le}=R,{bm:B,m:Q,parent:xe,root:Ce,type:He}=P,it=bn(R);tn(P,!1),B&&Na(B),!it&&(K=le&&le.onVnodeBeforeMount)&&ho(K,xe,R),tn(P,!0);{Ce.ce&&Ce.ce._hasShadowRoot()&&Ce.ce._injectChildStyle(He,P.parent?P.parent.type:void 0);const Qe=P.subTree=Vl(P);h(null,Qe,C,q,P,ae,ne),R.el=Qe.el}if(Q&&Dt(Q,ae),!it&&(K=le&&le.onVnodeMounted)){const Qe=R;Dt(()=>ho(K,xe,Qe),ae)}(R.shapeFlag&256||xe&&bn(xe.vnode)&&xe.vnode.shapeFlag&256)&&P.a&&Dt(P.a,ae),P.isMounted=!0,R=C=q=null}};P.scope.on();const _=P.effect=new Yi(ie);P.scope.off();const y=P.update=_.run.bind(_),I=P.job=_.runIfDirty.bind(_);I.i=P,I.id=P.uid,_.scheduler=()=>Js(I),tn(P,!0),y()},z=(P,R,C)=>{R.component=P;const q=P.vnode.props;P.vnode=R,P.next=null,fh(P,R.props,q,C),_h(P,R.children,C),so(),_l(P),ro()},N=(P,R,C,q,ae,ne,pe,ie,_=!1)=>{const y=P&&P.children,I=P?P.shapeFlag:0,K=R.children,{patchFlag:ge,shapeFlag:le}=R;if(ge>0){if(ge&128){re(y,K,C,q,ae,ne,pe,ie,_);return}else if(ge&256){X(y,K,C,q,ae,ne,pe,ie,_);return}}le&8?(I&16&&Ne(y,ae,ne),K!==y&&u(C,K)):I&16?le&16?re(y,K,C,q,ae,ne,pe,ie,_):Ne(y,ae,ne,!0):(I&8&&u(C,""),le&16&&L(K,C,q,ae,ne,pe,ie,_))},X=(P,R,C,q,ae,ne,pe,ie,_)=>{P=P||cn,R=R||cn;const y=P.length,I=R.length,K=Math.min(y,I);let ge;for(ge=0;geI?Ne(P,ae,ne,!0,!1,K):L(R,C,q,ae,ne,pe,ie,_,K)},re=(P,R,C,q,ae,ne,pe,ie,_)=>{let y=0;const I=R.length;let K=P.length-1,ge=I-1;for(;y<=K&&y<=ge;){const le=P[y],B=R[y]=_?Ao(R[y]):go(R[y]);if(sa(le,B))h(le,B,C,null,ae,ne,pe,ie,_);else break;y++}for(;y<=K&&y<=ge;){const le=P[K],B=R[ge]=_?Ao(R[ge]):go(R[ge]);if(sa(le,B))h(le,B,C,null,ae,ne,pe,ie,_);else break;K--,ge--}if(y>K){if(y<=ge){const le=ge+1,B=lege)for(;y<=K;)se(P[y],ae,ne,!0),y++;else{const le=y,B=y,Q=new Map;for(y=B;y<=ge;y++){const _e=R[y]=_?Ao(R[y]):go(R[y]);_e.key!=null&&Q.set(_e.key,y)}let xe,Ce=0;const He=ge-B+1;let it=!1,Qe=0;const O=new Array(He);for(y=0;y=He){se(_e,ae,ne,!0);continue}let Le;if(_e.key!=null)Le=Q.get(_e.key);else for(xe=B;xe<=ge;xe++)if(O[xe-B]===0&&sa(_e,R[xe])){Le=xe;break}Le===void 0?se(_e,ae,ne,!0):(O[Le-B]=y+1,Le>=Qe?Qe=Le:it=!0,h(_e,R[Le],C,null,ae,ne,pe,ie,_),Ce++)}const Y=it?kh(O):cn;for(xe=Y.length-1,y=He-1;y>=0;y--){const _e=B+y,Le=R[_e],Ee=R[_e+1],pt=_e+1{const{el:ne,type:pe,transition:ie,children:_,shapeFlag:y}=P;if(y&6){oe(P.component.subTree,R,C,q);return}if(y&128){P.suspense.move(R,C,q);return}if(y&64){pe.move(P,R,C,ue);return}if(pe===Ge){n(ne,R,C);for(let K=0;K<_.length;K++)oe(_[K],R,C,q);n(P.anchor,R,C);return}if(pe===ts){$(P,R,C);return}if(q!==2&&y&1&&ie)if(q===0)ie.persisted&&!ne[or]?n(ne,R,C):(ie.beforeEnter(ne),n(ne,R,C),Dt(()=>ie.enter(ne),ae));else{const{leave:K,delayLeave:ge,afterLeave:le}=ie,B=()=>{P.ctx.isUnmounted?a(ne):n(ne,R,C)},Q=()=>{const xe=ne._isLeaving||!!ne[or];ne._isLeaving&&ne[or](!0),ie.persisted&&!xe?B():K(ne,()=>{B(),le&&le()})};ge?ge(ne,B,Q):Q()}else n(ne,R,C)},se=(P,R,C,q=!1,ae=!1)=>{const{type:ne,props:pe,ref:ie,children:_,dynamicChildren:y,shapeFlag:I,patchFlag:K,dirs:ge,cacheIndex:le,memo:B}=P;if(K===-2&&(ae=!1),ie!=null&&(so(),Qn(ie,null,C,P,!0),ro()),le!=null&&(R.renderCache[le]=void 0),I&256){R.ctx.deactivate(P);return}const Q=I&1&&ge,xe=!bn(P);let Ce;if(xe&&(Ce=pe&&pe.onVnodeBeforeUnmount)&&ho(Ce,R,P),I&6)fe(P.component,C,q);else{if(I&128){P.suspense.unmount(C,q);return}Q&&Jo(P,null,R,"beforeUnmount"),I&64?P.type.remove(P,R,C,ue,q):y&&!y.hasOnce&&(ne!==Ge||K>0&&K&64)?Ne(y,R,C,!1,!0):(ne===Ge&&K&384||!ae&&I&16)&&Ne(_,R,C),q&&ve(P)}const He=B!=null&&le==null;(xe&&(Ce=pe&&pe.onVnodeUnmounted)||Q||He)&&Dt(()=>{Ce&&ho(Ce,R,P),Q&&Jo(P,null,R,"unmounted"),He&&(P.el=null)},C)},ve=P=>{const{type:R,el:C,anchor:q,transition:ae}=P;if(R===Ge){Ae(C,q);return}if(R===ts){b(P);return}const ne=()=>{a(C),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(P.shapeFlag&1&&ae&&!ae.persisted){const{leave:pe,delayLeave:ie}=ae,_=()=>pe(C,ne);ie?ie(P.el,ne,_):_()}else ne()},Ae=(P,R)=>{let C;for(;P!==R;)C=d(P),a(P),P=C;a(R)},fe=(P,R,C)=>{const{bum:q,scope:ae,job:ne,subTree:pe,um:ie,m:_,a:y}=P;ac(_),ac(y),q&&Na(q),ae.stop(),ne&&(ne.flags|=8,se(pe,P,R,C)),ie&&Dt(ie,R),Dt(()=>{P.isUnmounted=!0},R)},Ne=(P,R,C,q=!1,ae=!1,ne=0)=>{for(let pe=ne;pe{if(P.shapeFlag&6)return V(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const R=d(P.anchor||P.el),C=R&&R[Ll];return C?d(C):R};let de=!1;const be=(P,R,C)=>{let q;P==null?R._vnode&&(se(R._vnode,null,null,!0),q=R._vnode.component):h(R._vnode||null,P,R,null,null,null,C),R._vnode=P,de||(de=!0,_l(q),yl(),de=!1)},ue={p:h,um:se,m:oe,r:ve,mt:U,mc:L,pc:N,pbc:j,n:V,o:e};return{render:be,hydrate:void 0,createApp:rh(be)}}function gr({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function tn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hr(e,t,o=!1){const n=e.children,a=t.children;if(Se(n)&&Se(a))for(let s=0;s>1,e[o[i]]0&&(t[n]=o[s-1]),o[s]=n)}}for(s=o.length,r=o[s-1];s-- >0;)o[s]=r,r=t[r];return o}function nc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nc(t)}function ac(e){if(e)for(let t=0;te.__isSuspense;function xh(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):Eg(e)}const Ge=Symbol.for("v-fgt"),oa=Symbol.for("v-txt"),po=Symbol.for("v-cmt"),ts=Symbol.for("v-stc"),Lo=[];let Vt=null;function H(e=!1){Lo.push(Vt=e?null:[])}function fr(){Lo.pop(),Vt=Lo[Lo.length-1]||null}let na=1;function os(e,t=!1){na+=e,e<0&&Vt&&t&&(Vt.hasOnce=!0)}function ic(e){return e.dynamicChildren=na>0?Vt||cn:null,fr(),na>0&&Vt&&Vt.push(e),e}function ee(e,t,o,n,a,s){return ic(T(e,t,o,n,a,s,!0))}function dt(e,t,o,n,a){return ic(Xe(e,t,o,n,a,!0))}function aa(e){return e?e.__v_isVNode===!0:!1}function sa(e,t){return e.type===t.type&&e.key===t.key}const lc=({key:e})=>e??null,ns=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?at(e)||ct(e)||Re(e)?{i:Pt,r:e,k:t,f:!!o}:e:null);function T(e,t=null,o=null,n=0,a=null,s=e===Ge?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lc(t),ref:t&&ns(t),scopeId:wl,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Pt};return i?(as(l,o),s&128&&e.normalize(l)):o&&(l.shapeFlag|=at(o)?8:16),na>0&&!r&&Vt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Vt.push(l),l}const Xe=Lh;function Lh(e,t=null,o=null,n=0,a=null,s=!1){if((!e||e===Ml)&&(e=po),aa(e)){const i=_n(e,t,!0);return o&&as(i,o),na>0&&!s&&Vt&&(i.shapeFlag&6?Vt[Vt.indexOf(e)]=i:Vt.push(i)),i.patchFlag=-2,i}if(Dh(e)&&(e=e.__vccOpts),t){t=Ah(t);let{class:i,style:l}=t;i&&!at(i)&&(t.class=De(i)),Ze(l)&&(ja(l)&&!Se(l)&&(l=gt({},l)),t.style=lt(l))}const r=at(e)?1:rc(e)?128:Ka(e)?64:Ze(e)?4:Re(e)?2:0;return T(e,t,o,n,a,r,s,!0)}function Ah(e){return e?ja(e)||Xl(e)?gt({},e):e:null}function _n(e,t,o=!1,n=!1){const{props:a,ref:s,patchFlag:r,children:i,transition:l}=e,c=t?Ph(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&lc(c),ref:t&&t.ref?o&&s?Se(s)?s.concat(ns(t)):[s,ns(t)]:ns(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_n(e.ssContent),ssFallback:e.ssFallback&&_n(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&nr(u,l.clone(u)),u}function Ct(e=" ",t=0){return Xe(oa,null,e,t)}function Sh(e,t){const o=Xe(ts,null,e);return o.staticCount=t,o}function we(e="",t=!1){return t?(H(),dt(po,null,e)):Xe(po,null,e)}function go(e){return e==null||typeof e=="boolean"?Xe(po):Se(e)?Xe(Ge,null,e.slice()):aa(e)?Ao(e):Xe(oa,null,String(e))}function Ao(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_n(e)}function as(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Se(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),as(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Xl(t)?t._ctx=Pt:a===3&&Pt&&(Pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Re(t)){if(n&65){as(e,{default:t});return}t={default:t,_ctx:Pt},o=32}else t=String(t),n&64?(o=16,t=[Ct(t)]):o=8;e.children=t,e.shapeFlag|=o}function Ph(...e){const t={};for(let o=0;oTt||Pt;let ss,ra;{const e=Ma(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),s=>{a.length>1?a.forEach(r=>r(s)):a[0](s)}};ss=t("__VUE_INSTANCE_SETTERS__",o=>Tt=o),ra=t("__VUE_SSR_SETTERS__",o=>yn=o)}const ia=e=>{const t=Tt;return ss(e),e.scope.on(),()=>{e.scope.off(),ss(t)}},cc=()=>{Tt&&Tt.scope.off(),ss(null)};function uc(e){return e.vnode.shapeFlag&4}let yn=!1;function Rh(e,t=!1,o=!1){t&&ra(t);const{props:n,children:a}=e.vnode,s=uc(e);hh(e,n,s,t),$h(e,a,o||t);const r=s?Nh(e,t):void 0;return t&&ra(!1),r}function Nh(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Qg);const{setup:n}=o;if(n){so();const a=e.setupContext=n.length>1?Oh(e):null,s=ia(e),r=hn(n,e,0,[e.props,a]),i=Fi(r);if(ro(),s(),(i||e.sp)&&!bn(e)&&ar(e),i){if(r.then(cc,cc),t)return r.then(l=>{ra(!0);try{pc(e,l,t)}finally{ra(!1)}}).catch(l=>{Yn(l,e,0)});e.asyncDep=r}else pc(e,r)}else dc(e)}function pc(e,t,o){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ze(t)&&(e.setupState=hl(t)),dc(e)}function dc(e,t,o){const n=e.type;e.render||(e.render=n.render||no);{const a=ia(e);so();try{eh(e)}finally{ro(),a()}}}const Mh={get(e,t){return Nt(e,"get",""),e[t]}};function Oh(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Mh),slots:e.slots,emit:e.emit,expose:t}}function rs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hl(Xo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in ea)return ea[o](e)},has(t,o){return o in t||o in ea}})):e.proxy}const Ih=/(?:^|[-_])\w/g,Fh=e=>e.replace(Ih,t=>t.toUpperCase()).replace(/[-_]/g,"");function gc(e,t=!0){return Re(e)?e.displayName||e.name:e.name||t&&e.__name}function hc(e,t,o=!1){let n=gc(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=s=>{for(const r in s)if(s[r]===t)return r};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Fh(n):o?"App":"Anonymous"}function Dh(e){return Re(e)&&"__vccOpts"in e}const J=(e,t)=>yg(e,t,yn);function fc(e,t,o){try{os(-1);const n=arguments.length;return n===2?Ze(t)&&!Se(t)?aa(t)?Xe(e,null,[t]):Xe(e,t):Xe(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&aa(o)&&(o=[o]),Xe(e,t,o))}finally{os(1)}}const Gh="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -39,7 +39,7 @@ * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const o0="9.14.5";function n0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Eo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Eo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Eo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Eo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Eo().__INTLIFY_PROD_DEVTOOLS__=!1)}const a0=Oy.__EXTEND_POINT__,To=gs(a0);To(),To(),To(),To(),To(),To(),To(),To(),To();const Gu=to.__EXTEND_POINT__,Bt=gs(Gu),wt={UNEXPECTED_RETURN_TYPE:Gu,INVALID_ARGUMENT:Bt(),MUST_BE_CALL_SETUP_TOP:Bt(),NOT_INSTALLED:Bt(),NOT_AVAILABLE_IN_LEGACY_MODE:Bt(),REQUIRED_VALUE:Bt(),INVALID_VALUE:Bt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Bt(),NOT_INSTALLED_WITH_PROVIDE:Bt(),UNEXPECTED_ERROR:Bt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Bt(),BRIDGE_SUPPORT_VUE_2_ONLY:Bt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Bt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Bt(),__EXTEND_POINT__:Bt()};function Lt(e,...t){return kn(e,null,void 0)}const Gr=Go("__translateVNode"),Br=Go("__datetimeParts"),jr=Go("__numberParts"),Bu=Go("__setPluralRules"),ju=Go("__injectWithOption"),Ur=Go("__dispose");function ha(e){if(!Ke(e)||fo(e))return e;for(const t in e)if(Qt(e,t))if(!t.includes("."))Ke(e[t])&&ha(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,s=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||et(),fs(c,r[l])):fs(c,r)}else ye(i)&&fs(JSON.parse(i),r)}),a==null&&s)for(const i in r)Qt(r,i)&&ha(r[i]);return r}function Uu(e){return e.type}function zu(e,t,o){let n=Ke(t.messages)?t.messages:et();"__i18nGlobal"in o&&(n=_s(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(Ke(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Ke(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function Hu(e){return Xe(oa,null,e,0)}const Vu="__INTLIFY_META__",Ku=()=>[],s0=()=>!1;let Wu=0;function qu(e){return(t,o,n,a)=>e(o,n,So()||void 0,a)}const r0=()=>{const e=So();let t=null;return e&&(t=Uu(e)[Vu])?{[Vu]:t}:null};function zr(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,s=e.flatJson,r=ps?he:gn,i=!!e.translateExistCompatible;let l=Ue(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:ye(e.locale)?e.locale:An),u=r(o&&l?o.fallbackLocale.value:ye(e.fallbackLocale)||ut(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=r(_s(c.value,e)),d=r(Fe(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),v=r(Fe(e.numberFormats)?e.numberFormats:{[c.value]:{}});let x=o?o.missingWarn:Ue(e.missingWarn)||Bo(e.missingWarn)?e.missingWarn:!0,h=o?o.fallbackWarn:Ue(e.fallbackWarn)||Bo(e.fallbackWarn)?e.fallbackWarn:!0,g=o?o.fallbackRoot:Ue(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.fallbackFormat,m=rt(e.missing)?e.missing:null,$=rt(e.missing)?qu(e.missing):null,b=rt(e.postTranslation)?e.postTranslation:null,k=o?o.warnHtmlMessage:Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const A=o?o.modifiers:Fe(e.modifiers)?e.modifiers:{};let L=e.pluralRules||o&&o.pluralRules,S;S=(()=>{a&&xu(null);const B={version:o0,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:A,pluralRules:L,missing:$===null?void 0:$,missingWarn:x,fallbackWarn:h,fallbackFormat:f,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:k,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};B.datetimeFormats=d.value,B.numberFormats=v.value,B.__datetimeFormatters=Fe(S)?S.__datetimeFormatters:void 0,B.__numberFormatters=Fe(S)?S.__numberFormatters:void 0;const Q=Ky(B);return a&&xu(Q),Q})(),ga(S,c.value,u.value);function D(){return[c.value,u.value,p.value,d.value,v.value]}const Z=J({get:()=>c.value,set:B=>{c.value=B,S.locale=c.value}}),F=J({get:()=>u.value,set:B=>{u.value=B,S.fallbackLocale=u.value,ga(S,c.value,B)}}),U=J(()=>p.value),M=J(()=>d.value),E=J(()=>v.value);function z(){return rt(b)?b:null}function N(B){b=B,S.postTranslation=B}function X(){return m}function re(B){B!==null&&($=qu(B)),m=B,S.missing=$}const oe=(B,Q,xe,Ce,He,it)=>{D();let Qe;try{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=o?Vy():void 0),Qe=B(S)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(xe!=="translate exists"&&bt(Qe)&&Qe===$s||xe==="translate exists"&&!Qe){const[O,Y]=Q();return o&&g?Ce(o):He(O)}else{if(it(Qe))return Qe;throw Lt(wt.UNEXPECTED_RETURN_TYPE)}};function se(...B){return oe(Q=>Reflect.apply(Cu,null,[Q,...B]),()=>Ir(...B),"translate",Q=>Reflect.apply(Q.t,Q,[...B]),Q=>Q,Q=>ye(Q))}function ve(...B){const[Q,xe,Ce]=B;if(Ce&&!Ke(Ce))throw Lt(wt.INVALID_ARGUMENT);return se(Q,xe,Rt({resolvedMessage:!0},Ce||{}))}function Ae(...B){return oe(Q=>Reflect.apply(Nu,null,[Q,...B]),()=>Fr(...B),"datetime format",Q=>Reflect.apply(Q.d,Q,[...B]),()=>mu,Q=>ye(Q))}function fe(...B){return oe(Q=>Reflect.apply(Iu,null,[Q,...B]),()=>Dr(...B),"number format",Q=>Reflect.apply(Q.n,Q,[...B]),()=>mu,Q=>ye(Q))}function Ne(B){return B.map(Q=>ye(Q)||bt(Q)||Ue(Q)?Hu(String(Q)):Q)}const de={normalize:Ne,interpolate:B=>B,type:"vnode"};function be(...B){return oe(Q=>{let xe;const Ce=Q;try{Ce.processor=de,xe=Reflect.apply(Cu,null,[Ce,...B])}finally{Ce.processor=null}return xe},()=>Ir(...B),"translate",Q=>Q[Gr](...B),Q=>[Hu(Q)],Q=>ut(Q))}function ue(...B){return oe(Q=>Reflect.apply(Iu,null,[Q,...B]),()=>Dr(...B),"number format",Q=>Q[jr](...B),Ku,Q=>ye(Q)||ut(Q))}function Me(...B){return oe(Q=>Reflect.apply(Nu,null,[Q,...B]),()=>Fr(...B),"datetime format",Q=>Q[Br](...B),Ku,Q=>ye(Q)||ut(Q))}function P(B){L=B,S.pluralRules=L}function R(B,Q){return oe(()=>{if(!B)return!1;const xe=ye(Q)?Q:c.value,Ce=ae(xe),He=S.messageResolver(Ce,B);return i?He!=null:fo(He)||qt(He)||ye(He)},()=>[B],"translate exists",xe=>Reflect.apply(xe.te,xe,[B,Q]),s0,xe=>Ue(xe))}function C(B){let Q=null;const xe=hu(S,u.value,c.value);for(let Ce=0;Ce{l&&(c.value=B,S.locale=B,ga(S,c.value,u.value))}),ot(o.fallbackLocale,B=>{l&&(u.value=B,S.fallbackLocale=B,ga(S,c.value,u.value))}));const le={id:Wu,locale:Z,fallbackLocale:F,get inheritLocale(){return l},set inheritLocale(B){l=B,B&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,ga(S,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:U,get modifiers(){return A},get pluralRules(){return L||{}},get isGlobal(){return a},get missingWarn(){return x},set missingWarn(B){x=B,S.missingWarn=x},get fallbackWarn(){return h},set fallbackWarn(B){h=B,S.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(B){g=B},get fallbackFormat(){return f},set fallbackFormat(B){f=B,S.fallbackFormat=f},get warnHtmlMessage(){return k},set warnHtmlMessage(B){k=B,S.warnHtmlMessage=B},get escapeParameter(){return w},set escapeParameter(B){w=B,S.escapeParameter=B},t:se,getLocaleMessage:ae,setLocaleMessage:ne,mergeLocaleMessage:pe,getPostTranslationHandler:z,setPostTranslationHandler:N,getMissingHandler:X,setMissingHandler:re,[Bu]:P};return le.datetimeFormats=M,le.numberFormats=E,le.rt=ve,le.te=R,le.tm=q,le.d=Ae,le.n=fe,le.getDateTimeFormat=ie,le.setDateTimeFormat=_,le.mergeDateTimeFormat=y,le.getNumberFormat=I,le.setNumberFormat=K,le.mergeNumberFormat=ge,le[ju]=n,le[Gr]=be,le[Br]=Me,le[jr]=ue,le}function i0(e){const t=ye(e.locale)?e.locale:An,o=ye(e.fallbackLocale)||ut(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=rt(e.missing)?e.missing:void 0,a=Ue(e.silentTranslationWarn)||Bo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ue(e.silentFallbackWarn)||Bo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Ue(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Fe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=rt(e.postTranslation)?e.postTranslation:void 0,p=ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,v=Ue(e.sync)?e.sync:!0;let x=e.messages;if(Fe(e.sharedMessages)){const w=e.sharedMessages;x=Object.keys(w).reduce((L,S)=>{const j=L[S]||(L[S]={});return Rt(j,w[S]),L},x||{})}const{__i18n:h,__root:g,__injectWithOption:f}=e,m=e.datetimeFormats,$=e.numberFormats,b=e.flatJson,k=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:x,flatJson:b,datetimeFormats:m,numberFormats:$,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:v,translateExistCompatible:k,__i18n:h,__root:g,__injectWithOption:f}}function Hr(e={},t){{const o=zr(i0(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(s){o.locale.value=s},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(s){o.fallbackLocale.value=s},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return o.getMissingHandler()},set missing(s){o.setMissingHandler(s)},get silentTranslationWarn(){return Ue(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(s){o.missingWarn=Ue(s)?!s:s},get silentFallbackWarn(){return Ue(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(s){o.fallbackWarn=Ue(s)?!s:s},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(s){o.fallbackFormat=s},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(s){o.setPostTranslationHandler(s)},get sync(){return o.inheritLocale},set sync(s){o.inheritLocale=s},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){o.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(s){o.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...s){const[r,i,l]=s,c={};let u=null,p=null;if(!ye(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return ye(i)?c.locale=i:ut(i)?u=i:Fe(i)&&(p=i),ut(l)?u=l:Fe(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},rt(...s){return Reflect.apply(o.rt,o,[...s])},tc(...s){const[r,i,l]=s,c={plural:1};let u=null,p=null;if(!ye(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return ye(i)?c.locale=i:bt(i)?c.plural=i:ut(i)?u=i:Fe(i)&&(p=i),ye(l)?c.locale=l:ut(l)?u=l:Fe(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},te(s,r){return o.te(s,r)},tm(s){return o.tm(s)},getLocaleMessage(s){return o.getLocaleMessage(s)},setLocaleMessage(s,r){o.setLocaleMessage(s,r)},mergeLocaleMessage(s,r){o.mergeLocaleMessage(s,r)},d(...s){return Reflect.apply(o.d,o,[...s])},getDateTimeFormat(s){return o.getDateTimeFormat(s)},setDateTimeFormat(s,r){o.setDateTimeFormat(s,r)},mergeDateTimeFormat(s,r){o.mergeDateTimeFormat(s,r)},n(...s){return Reflect.apply(o.n,o,[...s])},getNumberFormat(s){return o.getNumberFormat(s)},setNumberFormat(s,r){o.setNumberFormat(s,r)},mergeNumberFormat(s,r){o.mergeNumberFormat(s,r)},getChoiceIndex(s,r){return-1}};return a.__extender=n,a}}const Vr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function l0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ge?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},et())}function Yu(e){return Ge}const Xu=Jn({name:"i18n-t",props:Rt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>bt(e)||!isNaN(e)}},Vr),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||ht({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(o).filter(p=>p!=="_"),r=et();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=ye(e.plural)?+e.plural:e.plural);const i=l0(t,s),l=a[Gr](e.keypath,i,r),c=Rt(et(),n),u=ye(e.tag)||Ke(e.tag)?e.tag:Yu();return fc(u,c,l)}}});function c0(e){return ut(e)&&!ye(e[0])}function Zu(e,t,o,n){const{slots:a,attrs:s}=t;return()=>{const r={part:!0};let i=et();e.locale&&(r.locale=e.locale),ye(e.format)?r.key=e.format:Ke(e.format)&&(ye(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((d,v)=>o.includes(v)?Rt(et(),d,{[v]:e.format[v]}):d,et()));const l=n(e.value,r,i);let c=[r.key];ut(l)?c=l.map((d,v)=>{const x=a[d.type],h=x?x({[d.type]:d.value,index:v,parts:l}):[d.value];return c0(h)&&(h[0].key=`${d.type}-${v}`),h}):ye(l)&&(c=[l]);const u=Rt(et(),s),p=ye(e.tag)||Ke(e.tag)?e.tag:Yu();return fc(p,u,c)}}const Ju=Jn({name:"i18n-n",props:Rt({value:{type:Number,required:!0},format:{type:[String,Object]}},Vr),setup(e,t){const o=e.i18n||ht({useScope:e.scope,__useComponent:!0});return Zu(e,t,Fu,(...n)=>o[jr](...n))}}),Qu=Jn({name:"i18n-d",props:Rt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Vr),setup(e,t){const o=e.i18n||ht({useScope:e.scope,__useComponent:!0});return Zu(e,t,Mu,(...n)=>o[Br](...n))}});function u0(e,t){const o=e;if(e.mode==="composition")return o.__getInstance(t)||e.global;{const n=o.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function p0(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw Lt(wt.UNEXPECTED_ERROR);const u=u0(e,i.$),p=ep(c);return[Reflect.apply(u.t,u,[...tp(p)]),u]};return{created:(r,i)=>{const[l,c]=t(i);ps&&e.global===c&&(r.__i18nWatcher=ot(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{ps&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=ep(i);r.textContent=Reflect.apply(l.t,l,[...tp(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function ep(e){if(ye(e))return{path:e};if(Fe(e)){if(!("path"in e))throw Lt(wt.REQUIRED_VALUE,"path");return e}else throw Lt(wt.INVALID_VALUE)}function tp(e){const{path:t,locale:o,args:n,choice:a,plural:s}=e,r={},i=n||{};return ye(o)&&(r.locale=o),bt(a)&&(r.plural=a),bt(s)&&(r.plural=s),[t,i,r]}function d0(e,t,...o){const n=Fe(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Ue(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Xu.name,"I18nT"].forEach(r=>e.component(r,Xu)),[Ju.name,"I18nN"].forEach(r=>e.component(r,Ju)),[Qu.name,"I18nD"].forEach(r=>e.component(r,Qu))),e.directive("t",p0(t))}function g0(e,t,o){return{beforeCreate(){const n=So();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=op(e,s);else{s.__injectWithOption=!0,s.__extender=o.__vueI18nExtend,this.$i18n=Hr(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=op(e,a);else{this.$i18n=Hr({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&zu(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=So();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function op(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Bu](t.pluralizationRules||e.pluralizationRules);const o=_s(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(n=>e.mergeLocaleMessage(n,o[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const h0=Go("global-vue-i18n");function f0(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ue(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ue(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,s=new Map,[r,i]=m0(e,o),l=Go("");function c(d){return s.get(d)||null}function u(d,v){s.set(d,v)}function p(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(v,...x){if(v.__VUE_I18N_SYMBOL__=l,v.provide(v.__VUE_I18N_SYMBOL__,d),Fe(x[0])){const f=x[0];d.__composerExtend=f.__composerExtend,d.__vueI18nExtend=f.__vueI18nExtend}let h=null;!o&&n&&(h=L0(v,d.global)),__VUE_I18N_FULL_INSTALL__&&d0(v,d,...x),__VUE_I18N_LEGACY_API__&&o&&v.mixin(g0(i,i.__composer,d));const g=v.unmount;v.unmount=()=>{h&&h(),d.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:p};return d}}function ht(e={}){const t=So();if(t==null)throw Lt(wt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(wt.NOT_INSTALLED);const o=b0(t),n=_0(o),a=Uu(t),s=$0(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Lt(wt.NOT_AVAILABLE_IN_LEGACY_MODE);return k0(t,s,n,e)}if(s==="global")return zu(n,e,a),n;if(s==="parent"){let l=y0(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=Rt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=zr(l),r.__composerExtend&&(i[Ur]=r.__composerExtend(i)),w0(r,t,i),r.__setInstance(t,i)}return i}function m0(e,t,o){const n=Gs();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Hr(e)):n.run(()=>zr(e));if(a==null)throw Lt(wt.UNEXPECTED_ERROR);return[n,a]}}function b0(e){{const t=je(e.isCE?h0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?wt.NOT_INSTALLED_WITH_PROVIDE:wt.UNEXPECTED_ERROR);return t}}function $0(e,t){return ds(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _0(e){return e.mode==="composition"?e.global:e.global.__composer}function y0(e,t,o=!1){let n=null;const a=t.root;let s=v0(t,o);for(;s!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(s);i!=null&&(n=i.__composer,o&&n&&!n[ju]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function v0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function w0(e,t,o){uo(()=>{},t),Ja(()=>{const n=o;e.__deleteInstance(t);const a=n[Ur];a&&(a(),delete n[Ur])},t)}function k0(e,t,o,n={}){const a=t==="local",s=gn(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Lt(wt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ue(n.inheritLocale)?n.inheritLocale:!ye(n.locale),i=he(!a||r?o.locale.value:ye(n.locale)?n.locale:An),l=he(!a||r?o.fallbackLocale.value:ye(n.fallbackLocale)||ut(n.fallbackLocale)||Fe(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=he(_s(i.value,n)),u=he(Fe(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=he(Fe(n.numberFormats)?n.numberFormats:{[i.value]:{}}),d=a?o.missingWarn:Ue(n.missingWarn)||Bo(n.missingWarn)?n.missingWarn:!0,v=a?o.fallbackWarn:Ue(n.fallbackWarn)||Bo(n.fallbackWarn)?n.fallbackWarn:!0,x=a?o.fallbackRoot:Ue(n.fallbackRoot)?n.fallbackRoot:!0,h=!!n.fallbackFormat,g=rt(n.missing)?n.missing:null,f=rt(n.postTranslation)?n.postTranslation:null,m=a?o.warnHtmlMessage:Ue(n.warnHtmlMessage)?n.warnHtmlMessage:!0,$=!!n.escapeParameter,b=a?o.modifiers:Fe(n.modifiers)?n.modifiers:{},k=n.pluralRules||a&&o.pluralRules;function w(){return[i.value,l.value,c.value,u.value,p.value]}const A=J({get:()=>s.value?s.value.locale.value:i.value,set:C=>{s.value&&(s.value.locale.value=C),i.value=C}}),L=J({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:C=>{s.value&&(s.value.fallbackLocale.value=C),l.value=C}}),S=J(()=>s.value?s.value.messages.value:c.value),j=J(()=>u.value),D=J(()=>p.value);function Z(){return s.value?s.value.getPostTranslationHandler():f}function F(C){s.value&&s.value.setPostTranslationHandler(C)}function U(){return s.value?s.value.getMissingHandler():g}function M(C){s.value&&s.value.setMissingHandler(C)}function E(C){return w(),C()}function z(...C){return s.value?E(()=>Reflect.apply(s.value.t,null,[...C])):E(()=>"")}function N(...C){return s.value?Reflect.apply(s.value.rt,null,[...C]):""}function X(...C){return s.value?E(()=>Reflect.apply(s.value.d,null,[...C])):E(()=>"")}function re(...C){return s.value?E(()=>Reflect.apply(s.value.n,null,[...C])):E(()=>"")}function oe(C){return s.value?s.value.tm(C):{}}function se(C,q){return s.value?s.value.te(C,q):!1}function ve(C){return s.value?s.value.getLocaleMessage(C):{}}function Ae(C,q){s.value&&(s.value.setLocaleMessage(C,q),c.value[C]=q)}function fe(C,q){s.value&&s.value.mergeLocaleMessage(C,q)}function Ne(C){return s.value?s.value.getDateTimeFormat(C):{}}function V(C,q){s.value&&(s.value.setDateTimeFormat(C,q),u.value[C]=q)}function de(C,q){s.value&&s.value.mergeDateTimeFormat(C,q)}function be(C){return s.value?s.value.getNumberFormat(C):{}}function ue(C,q){s.value&&(s.value.setNumberFormat(C,q),p.value[C]=q)}function Me(C,q){s.value&&s.value.mergeNumberFormat(C,q)}const P={get id(){return s.value?s.value.id:-1},locale:A,fallbackLocale:L,messages:S,datetimeFormats:j,numberFormats:D,get inheritLocale(){return s.value?s.value.inheritLocale:r},set inheritLocale(C){s.value&&(s.value.inheritLocale=C)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:k},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(C){s.value&&(s.value.missingWarn=C)},get fallbackWarn(){return s.value?s.value.fallbackWarn:v},set fallbackWarn(C){s.value&&(s.value.missingWarn=C)},get fallbackRoot(){return s.value?s.value.fallbackRoot:x},set fallbackRoot(C){s.value&&(s.value.fallbackRoot=C)},get fallbackFormat(){return s.value?s.value.fallbackFormat:h},set fallbackFormat(C){s.value&&(s.value.fallbackFormat=C)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:m},set warnHtmlMessage(C){s.value&&(s.value.warnHtmlMessage=C)},get escapeParameter(){return s.value?s.value.escapeParameter:$},set escapeParameter(C){s.value&&(s.value.escapeParameter=C)},t:z,getPostTranslationHandler:Z,setPostTranslationHandler:F,getMissingHandler:U,setMissingHandler:M,rt:N,d:X,n:re,tm:oe,te:se,getLocaleMessage:ve,setLocaleMessage:Ae,mergeLocaleMessage:fe,getDateTimeFormat:Ne,setDateTimeFormat:V,mergeDateTimeFormat:de,getNumberFormat:be,setNumberFormat:ue,mergeNumberFormat:Me};function R(C){C.locale.value=i.value,C.fallbackLocale.value=l.value,Object.keys(c.value).forEach(q=>{C.mergeLocaleMessage(q,c.value[q])}),Object.keys(u.value).forEach(q=>{C.mergeDateTimeFormat(q,u.value[q])}),Object.keys(p.value).forEach(q=>{C.mergeNumberFormat(q,p.value[q])}),C.escapeParameter=$,C.fallbackFormat=h,C.fallbackRoot=x,C.fallbackWarn=v,C.missingWarn=d,C.warnHtmlMessage=m}return Nl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Lt(wt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=C.locale.value,l.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,p.value=C.numberFormats.value):a&&R(C)}),P}const x0=["locale","fallbackLocale","availableLocales"],np=["t","rt","d","n","tm","te"];function L0(e,t){const o=Object.create(null);return x0.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Lt(wt.UNEXPECTED_ERROR);const r=ct(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(o,a,r)}),e.config.globalProperties.$i18n=o,np.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Lt(wt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,np.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(n0(),__INTLIFY_JIT_COMPILATION__?_u(Zy):_u(Xy),jy(vy),Uy(hu),__INTLIFY_PROD_DEVTOOLS__){const e=Eo();e.__INTLIFY__=!0,Cy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const A0=Object.assign({"./locales/ar/allPeopleGroups.json":Pf,"./locales/ar/aria.json":Ef,"./locales/ar/buttons.json":Cf,"./locales/ar/connectivity.json":Tf,"./locales/ar/controls.json":Rf,"./locales/ar/dashboard.json":Nf,"./locales/ar/detail.json":Mf,"./locales/ar/gospel.json":Of,"./locales/ar/grid.json":If,"./locales/ar/legend.json":Ff,"./locales/ar/messages.json":Df,"./locales/ar/options.json":Gf,"./locales/ar/popup.json":Bf,"./locales/ar/prayerLaps.json":jf,"./locales/ar/regions.json":Uf,"./locales/ar/search.json":zf,"./locales/ar/studio.json":Hf,"./locales/ar/tabs.json":Vf,"./locales/ar/vision.json":Kf,"./locales/de/allPeopleGroups.json":Wf,"./locales/de/aria.json":qf,"./locales/de/buttons.json":Yf,"./locales/de/connectivity.json":Xf,"./locales/de/controls.json":Zf,"./locales/de/dashboard.json":Jf,"./locales/de/detail.json":Qf,"./locales/de/gospel.json":em,"./locales/de/grid.json":tm,"./locales/de/legend.json":om,"./locales/de/messages.json":nm,"./locales/de/options.json":am,"./locales/de/popup.json":sm,"./locales/de/prayerLaps.json":rm,"./locales/de/regions.json":im,"./locales/de/search.json":lm,"./locales/de/studio.json":cm,"./locales/de/tabs.json":um,"./locales/de/vision.json":pm,"./locales/en/allPeopleGroups.json":dm,"./locales/en/aria.json":gm,"./locales/en/buttons.json":hm,"./locales/en/connectivity.json":fm,"./locales/en/controls.json":mm,"./locales/en/dashboard.json":bm,"./locales/en/detail.json":$m,"./locales/en/gospel.json":_m,"./locales/en/grid.json":ym,"./locales/en/legend.json":vm,"./locales/en/messages.json":wm,"./locales/en/options.json":km,"./locales/en/popup.json":xm,"./locales/en/prayerLaps.json":Lm,"./locales/en/regions.json":Am,"./locales/en/search.json":Sm,"./locales/en/studio.json":Pm,"./locales/en/tabs.json":Em,"./locales/en/vision.json":Cm,"./locales/es/allPeopleGroups.json":Tm,"./locales/es/aria.json":Rm,"./locales/es/buttons.json":Nm,"./locales/es/connectivity.json":Mm,"./locales/es/controls.json":Om,"./locales/es/dashboard.json":Im,"./locales/es/detail.json":Fm,"./locales/es/gospel.json":Dm,"./locales/es/grid.json":Gm,"./locales/es/legend.json":Bm,"./locales/es/messages.json":jm,"./locales/es/options.json":Um,"./locales/es/popup.json":zm,"./locales/es/prayerLaps.json":Hm,"./locales/es/regions.json":Vm,"./locales/es/search.json":Km,"./locales/es/studio.json":Wm,"./locales/es/tabs.json":qm,"./locales/es/vision.json":Ym,"./locales/fr/allPeopleGroups.json":Xm,"./locales/fr/aria.json":Zm,"./locales/fr/buttons.json":Jm,"./locales/fr/connectivity.json":Qm,"./locales/fr/controls.json":eb,"./locales/fr/dashboard.json":tb,"./locales/fr/detail.json":ob,"./locales/fr/gospel.json":nb,"./locales/fr/grid.json":ab,"./locales/fr/legend.json":sb,"./locales/fr/messages.json":rb,"./locales/fr/options.json":ib,"./locales/fr/popup.json":lb,"./locales/fr/prayerLaps.json":cb,"./locales/fr/regions.json":ub,"./locales/fr/search.json":pb,"./locales/fr/studio.json":db,"./locales/fr/tabs.json":gb,"./locales/fr/vision.json":hb,"./locales/hi/allPeopleGroups.json":fb,"./locales/hi/aria.json":mb,"./locales/hi/buttons.json":bb,"./locales/hi/connectivity.json":$b,"./locales/hi/controls.json":_b,"./locales/hi/dashboard.json":yb,"./locales/hi/detail.json":vb,"./locales/hi/gospel.json":wb,"./locales/hi/grid.json":kb,"./locales/hi/legend.json":xb,"./locales/hi/messages.json":Lb,"./locales/hi/options.json":Ab,"./locales/hi/popup.json":Sb,"./locales/hi/prayerLaps.json":Pb,"./locales/hi/regions.json":Eb,"./locales/hi/search.json":Cb,"./locales/hi/studio.json":Tb,"./locales/hi/tabs.json":Rb,"./locales/hi/vision.json":Nb,"./locales/it/allPeopleGroups.json":Mb,"./locales/it/aria.json":Ob,"./locales/it/buttons.json":Ib,"./locales/it/connectivity.json":Fb,"./locales/it/controls.json":Db,"./locales/it/dashboard.json":Gb,"./locales/it/detail.json":Bb,"./locales/it/gospel.json":jb,"./locales/it/grid.json":Ub,"./locales/it/legend.json":zb,"./locales/it/messages.json":Hb,"./locales/it/options.json":Vb,"./locales/it/popup.json":Kb,"./locales/it/prayerLaps.json":Wb,"./locales/it/regions.json":qb,"./locales/it/search.json":Yb,"./locales/it/studio.json":Xb,"./locales/it/tabs.json":Zb,"./locales/it/vision.json":Jb,"./locales/pt/allPeopleGroups.json":Qb,"./locales/pt/aria.json":e$,"./locales/pt/buttons.json":t$,"./locales/pt/connectivity.json":o$,"./locales/pt/controls.json":n$,"./locales/pt/dashboard.json":a$,"./locales/pt/detail.json":s$,"./locales/pt/gospel.json":r$,"./locales/pt/grid.json":i$,"./locales/pt/legend.json":l$,"./locales/pt/messages.json":c$,"./locales/pt/options.json":u$,"./locales/pt/popup.json":p$,"./locales/pt/prayerLaps.json":d$,"./locales/pt/regions.json":g$,"./locales/pt/search.json":h$,"./locales/pt/studio.json":f$,"./locales/pt/tabs.json":m$,"./locales/pt/vision.json":b$,"./locales/ro/allPeopleGroups.json":$$,"./locales/ro/aria.json":_$,"./locales/ro/buttons.json":y$,"./locales/ro/connectivity.json":v$,"./locales/ro/controls.json":w$,"./locales/ro/dashboard.json":k$,"./locales/ro/detail.json":x$,"./locales/ro/gospel.json":L$,"./locales/ro/grid.json":A$,"./locales/ro/legend.json":S$,"./locales/ro/messages.json":P$,"./locales/ro/options.json":E$,"./locales/ro/popup.json":C$,"./locales/ro/prayerLaps.json":T$,"./locales/ro/regions.json":R$,"./locales/ro/search.json":N$,"./locales/ro/studio.json":M$,"./locales/ro/tabs.json":O$,"./locales/ro/vision.json":I$,"./locales/ru/allPeopleGroups.json":F$,"./locales/ru/aria.json":D$,"./locales/ru/buttons.json":G$,"./locales/ru/connectivity.json":B$,"./locales/ru/controls.json":j$,"./locales/ru/dashboard.json":U$,"./locales/ru/detail.json":z$,"./locales/ru/gospel.json":H$,"./locales/ru/grid.json":V$,"./locales/ru/legend.json":K$,"./locales/ru/messages.json":W$,"./locales/ru/options.json":q$,"./locales/ru/popup.json":Y$,"./locales/ru/prayerLaps.json":X$,"./locales/ru/regions.json":Z$,"./locales/ru/search.json":J$,"./locales/ru/studio.json":Q$,"./locales/ru/tabs.json":e_,"./locales/ru/vision.json":t_,"./locales/zh/allPeopleGroups.json":o_,"./locales/zh/aria.json":n_,"./locales/zh/buttons.json":a_,"./locales/zh/connectivity.json":s_,"./locales/zh/controls.json":r_,"./locales/zh/dashboard.json":i_,"./locales/zh/detail.json":l_,"./locales/zh/gospel.json":c_,"./locales/zh/grid.json":u_,"./locales/zh/legend.json":p_,"./locales/zh/messages.json":d_,"./locales/zh/options.json":g_,"./locales/zh/popup.json":h_,"./locales/zh/prayerLaps.json":f_,"./locales/zh/regions.json":m_,"./locales/zh/search.json":b_,"./locales/zh/studio.json":$_,"./locales/zh/tabs.json":__,"./locales/zh/vision.json":y_}),Pn={};for(const[e,t]of Object.entries(A0)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;Pn[n]??(Pn[n]={}),Pn[n][a]=t}Pn.en;const ys=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],S0=new Set(["ar"]);function P0(){var n;const e=(()=>{try{const a=new URLSearchParams(window.location.search);return(a.get("lang")||a.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}})();if(ys.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return ys.includes(o)?o:"en"}function E0(){const e=P0();try{S0.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const t=f0({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Pn,missingWarn:!1,fallbackWarn:!1});ot(t.global.locale,n=>ap(n),{immediate:!0});const o=t.install.bind(t);return t.install=(n,...a)=>{const s=o(n,...a);return n.provide("appI18n",t),s},t}const C0="__DOXA_PAGE_LOCALE";function ap(e){const t=String(e||"").split("-")[0].toLowerCase();if(ys.includes(t))try{typeof window<"u"&&(window[C0]=t)}catch{}}function At(e,t){const o=t||T0(e);uo(()=>{var i;const n=So();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,s.appendChild(r)})}function T0(e){let t=0;for(let o=0;ot[L]||L,n=()=>!1;try{const L=ht();o=L.t,n=L.te}catch{}const a=je("uiStore",null),s=je("profileConfig",null),r=J(()=>(a==null?void 0:a.theme)==="dark"),i=J(()=>{var j;const L=(j=s==null?void 0:s.value)==null?void 0:j.pinHintLabel;if(L)return L;const S="Tap a coloured dot — someone still needs prayer";try{return n("messages.pinHint.tapDot")?o("messages.pinHint.tapDot"):S}catch{return S}}),l=he(!1),c=he(null);let u=null,p=null,d=null,v=null,x=null,h=null,g=[],f=null,m=null;function $(){l.value=!1}function b(L,S){var D;let j=L==null?void 0:L.parentElement;for(let Z=0;j&&Z<12;Z++,j=j.parentElement){if(j===S||(D=j.classList)!=null&&D.contains("profile-loader"))return null;let F="";try{F=getComputedStyle(j).position}catch{}if(F&&F!=="static"){const U=j.getBoundingClientRect();if(U.height>=120&&U.width>=160)return j}}return null}function k(L){var j;const S=(j=v==null?void 0:v.querySelector)==null?void 0:j.call(v,".legend-mobile-sheet");if(!S)return 1/0;if(x&&h!==S){try{x.disconnect()}catch{}x=null}if(!x&&typeof ResizeObserver<"u")try{x=new ResizeObserver(()=>w()),x.observe(S),h=S}catch{x=null}try{const D=S.getBoundingClientRect();return!(D.height>16)||!(D.width>16)||L.right<=D.left||D.right<=L.left?1/0:D.top}catch{return 1/0}}function w(){const L=c.value;if(L)try{L.style.removeProperty("--pin-hint-lift");const S=L.getBoundingClientRect();if(!S.height)return;const j=Math.min(window.innerHeight,k(S)),D=Math.round(S.bottom-j);D>0&&L.style.setProperty("--pin-hint-lift",D+8+"px")}catch{}}function A(L){const S=c.value;if(!S||!(L!=null&&L.querySelector))return;let j=0;try{const Z=L.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(Z){const F=Z.getBoundingClientRect(),U=S.parentElement,M=U?U.getBoundingClientRect():null;if(j=M?Math.max(F.height||0,M.bottom-F.top):F.height||0,m!==Z&&typeof ResizeObserver<"u"){if(d)try{d.disconnect()}catch{}m=Z,d=new ResizeObserver(()=>A(L)),d.observe(Z)}}}catch{}const D=Math.min(Math.max(Math.ceil(j)||20,20),72);S.style.setProperty("--pin-hint-attrib-clear",D+"px"),w()}return uo(()=>{var D,Z,F;const L=So(),S=(F=(Z=(D=L==null?void 0:L.proxy)==null?void 0:D.$el)==null?void 0:Z.getRootNode)==null?void 0:F.call(Z);if(!S||typeof S.querySelector!="function")return;v=S;let j=0;u=setInterval(()=>{j++;const U=S.querySelector("canvas");U?(clearInterval(u),u=null,l.value=!0,co(()=>{const M=b(U,S),E=c.value;if(M&&E&&E.parentElement!==M)try{M.appendChild(E),p=M}catch{}A(S),w(),g.push(setTimeout(w,1200),setTimeout(w,3e3),setTimeout(w,6e3));try{const z=c.value&&c.value.offsetParent||null;if(z&&typeof ResizeObserver<"u"){if(f)try{f.disconnect()}catch{}f=new ResizeObserver(()=>w()),f.observe(z)}}catch{}})):j>40&&(clearInterval(u),u=null)},300)}),Wt(()=>{var L;if(u&&clearInterval(u),d){try{d.disconnect()}catch{}d=null}if(m=null,f){try{f.disconnect()}catch{}f=null}if(x){try{x.disconnect()}catch{}x=null}h=null;for(const S of g)clearTimeout(S);if(g=[],v=null,p&&((L=c.value)==null?void 0:L.parentElement)===p)try{p.removeChild(c.value)}catch{}p=null}),At(` + */const o0="9.14.5";function n0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Eo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Eo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Eo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Eo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Eo().__INTLIFY_PROD_DEVTOOLS__=!1)}const a0=Oy.__EXTEND_POINT__,To=gs(a0);To(),To(),To(),To(),To(),To(),To(),To(),To();const Gu=to.__EXTEND_POINT__,Bt=gs(Gu),wt={UNEXPECTED_RETURN_TYPE:Gu,INVALID_ARGUMENT:Bt(),MUST_BE_CALL_SETUP_TOP:Bt(),NOT_INSTALLED:Bt(),NOT_AVAILABLE_IN_LEGACY_MODE:Bt(),REQUIRED_VALUE:Bt(),INVALID_VALUE:Bt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Bt(),NOT_INSTALLED_WITH_PROVIDE:Bt(),UNEXPECTED_ERROR:Bt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Bt(),BRIDGE_SUPPORT_VUE_2_ONLY:Bt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Bt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Bt(),__EXTEND_POINT__:Bt()};function Lt(e,...t){return kn(e,null,void 0)}const Gr=Go("__translateVNode"),Br=Go("__datetimeParts"),jr=Go("__numberParts"),Bu=Go("__setPluralRules"),ju=Go("__injectWithOption"),Ur=Go("__dispose");function ha(e){if(!Ke(e)||fo(e))return e;for(const t in e)if(Qt(e,t))if(!t.includes("."))Ke(e[t])&&ha(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,s=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||et(),fs(c,r[l])):fs(c,r)}else ye(i)&&fs(JSON.parse(i),r)}),a==null&&s)for(const i in r)Qt(r,i)&&ha(r[i]);return r}function Uu(e){return e.type}function zu(e,t,o){let n=Ke(t.messages)?t.messages:et();"__i18nGlobal"in o&&(n=_s(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(Ke(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Ke(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function Hu(e){return Xe(oa,null,e,0)}const Vu="__INTLIFY_META__",Ku=()=>[],s0=()=>!1;let Wu=0;function qu(e){return(t,o,n,a)=>e(o,n,So()||void 0,a)}const r0=()=>{const e=So();let t=null;return e&&(t=Uu(e)[Vu])?{[Vu]:t}:null};function zr(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,s=e.flatJson,r=ps?he:gn,i=!!e.translateExistCompatible;let l=Ue(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:ye(e.locale)?e.locale:An),u=r(o&&l?o.fallbackLocale.value:ye(e.fallbackLocale)||ut(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=r(_s(c.value,e)),d=r(Fe(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),v=r(Fe(e.numberFormats)?e.numberFormats:{[c.value]:{}});let x=o?o.missingWarn:Ue(e.missingWarn)||Bo(e.missingWarn)?e.missingWarn:!0,h=o?o.fallbackWarn:Ue(e.fallbackWarn)||Bo(e.fallbackWarn)?e.fallbackWarn:!0,g=o?o.fallbackRoot:Ue(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.fallbackFormat,m=rt(e.missing)?e.missing:null,$=rt(e.missing)?qu(e.missing):null,b=rt(e.postTranslation)?e.postTranslation:null,k=o?o.warnHtmlMessage:Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const A=o?o.modifiers:Fe(e.modifiers)?e.modifiers:{};let L=e.pluralRules||o&&o.pluralRules,S;S=(()=>{a&&xu(null);const B={version:o0,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:A,pluralRules:L,missing:$===null?void 0:$,missingWarn:x,fallbackWarn:h,fallbackFormat:f,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:k,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};B.datetimeFormats=d.value,B.numberFormats=v.value,B.__datetimeFormatters=Fe(S)?S.__datetimeFormatters:void 0,B.__numberFormatters=Fe(S)?S.__numberFormatters:void 0;const Q=Ky(B);return a&&xu(Q),Q})(),ga(S,c.value,u.value);function D(){return[c.value,u.value,p.value,d.value,v.value]}const Z=J({get:()=>c.value,set:B=>{c.value=B,S.locale=c.value}}),F=J({get:()=>u.value,set:B=>{u.value=B,S.fallbackLocale=u.value,ga(S,c.value,B)}}),U=J(()=>p.value),M=J(()=>d.value),E=J(()=>v.value);function z(){return rt(b)?b:null}function N(B){b=B,S.postTranslation=B}function X(){return m}function re(B){B!==null&&($=qu(B)),m=B,S.missing=$}const oe=(B,Q,xe,Ce,He,it)=>{D();let Qe;try{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=o?Vy():void 0),Qe=B(S)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(xe!=="translate exists"&&bt(Qe)&&Qe===$s||xe==="translate exists"&&!Qe){const[O,Y]=Q();return o&&g?Ce(o):He(O)}else{if(it(Qe))return Qe;throw Lt(wt.UNEXPECTED_RETURN_TYPE)}};function se(...B){return oe(Q=>Reflect.apply(Cu,null,[Q,...B]),()=>Ir(...B),"translate",Q=>Reflect.apply(Q.t,Q,[...B]),Q=>Q,Q=>ye(Q))}function ve(...B){const[Q,xe,Ce]=B;if(Ce&&!Ke(Ce))throw Lt(wt.INVALID_ARGUMENT);return se(Q,xe,Rt({resolvedMessage:!0},Ce||{}))}function Ae(...B){return oe(Q=>Reflect.apply(Nu,null,[Q,...B]),()=>Fr(...B),"datetime format",Q=>Reflect.apply(Q.d,Q,[...B]),()=>mu,Q=>ye(Q))}function fe(...B){return oe(Q=>Reflect.apply(Iu,null,[Q,...B]),()=>Dr(...B),"number format",Q=>Reflect.apply(Q.n,Q,[...B]),()=>mu,Q=>ye(Q))}function Ne(B){return B.map(Q=>ye(Q)||bt(Q)||Ue(Q)?Hu(String(Q)):Q)}const de={normalize:Ne,interpolate:B=>B,type:"vnode"};function be(...B){return oe(Q=>{let xe;const Ce=Q;try{Ce.processor=de,xe=Reflect.apply(Cu,null,[Ce,...B])}finally{Ce.processor=null}return xe},()=>Ir(...B),"translate",Q=>Q[Gr](...B),Q=>[Hu(Q)],Q=>ut(Q))}function ue(...B){return oe(Q=>Reflect.apply(Iu,null,[Q,...B]),()=>Dr(...B),"number format",Q=>Q[jr](...B),Ku,Q=>ye(Q)||ut(Q))}function Me(...B){return oe(Q=>Reflect.apply(Nu,null,[Q,...B]),()=>Fr(...B),"datetime format",Q=>Q[Br](...B),Ku,Q=>ye(Q)||ut(Q))}function P(B){L=B,S.pluralRules=L}function R(B,Q){return oe(()=>{if(!B)return!1;const xe=ye(Q)?Q:c.value,Ce=ae(xe),He=S.messageResolver(Ce,B);return i?He!=null:fo(He)||qt(He)||ye(He)},()=>[B],"translate exists",xe=>Reflect.apply(xe.te,xe,[B,Q]),s0,xe=>Ue(xe))}function C(B){let Q=null;const xe=hu(S,u.value,c.value);for(let Ce=0;Ce{l&&(c.value=B,S.locale=B,ga(S,c.value,u.value))}),ot(o.fallbackLocale,B=>{l&&(u.value=B,S.fallbackLocale=B,ga(S,c.value,u.value))}));const le={id:Wu,locale:Z,fallbackLocale:F,get inheritLocale(){return l},set inheritLocale(B){l=B,B&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,ga(S,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:U,get modifiers(){return A},get pluralRules(){return L||{}},get isGlobal(){return a},get missingWarn(){return x},set missingWarn(B){x=B,S.missingWarn=x},get fallbackWarn(){return h},set fallbackWarn(B){h=B,S.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(B){g=B},get fallbackFormat(){return f},set fallbackFormat(B){f=B,S.fallbackFormat=f},get warnHtmlMessage(){return k},set warnHtmlMessage(B){k=B,S.warnHtmlMessage=B},get escapeParameter(){return w},set escapeParameter(B){w=B,S.escapeParameter=B},t:se,getLocaleMessage:ae,setLocaleMessage:ne,mergeLocaleMessage:pe,getPostTranslationHandler:z,setPostTranslationHandler:N,getMissingHandler:X,setMissingHandler:re,[Bu]:P};return le.datetimeFormats=M,le.numberFormats=E,le.rt=ve,le.te=R,le.tm=q,le.d=Ae,le.n=fe,le.getDateTimeFormat=ie,le.setDateTimeFormat=_,le.mergeDateTimeFormat=y,le.getNumberFormat=I,le.setNumberFormat=K,le.mergeNumberFormat=ge,le[ju]=n,le[Gr]=be,le[Br]=Me,le[jr]=ue,le}function i0(e){const t=ye(e.locale)?e.locale:An,o=ye(e.fallbackLocale)||ut(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=rt(e.missing)?e.missing:void 0,a=Ue(e.silentTranslationWarn)||Bo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ue(e.silentFallbackWarn)||Bo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Ue(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Fe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=rt(e.postTranslation)?e.postTranslation:void 0,p=ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,v=Ue(e.sync)?e.sync:!0;let x=e.messages;if(Fe(e.sharedMessages)){const w=e.sharedMessages;x=Object.keys(w).reduce((L,S)=>{const j=L[S]||(L[S]={});return Rt(j,w[S]),L},x||{})}const{__i18n:h,__root:g,__injectWithOption:f}=e,m=e.datetimeFormats,$=e.numberFormats,b=e.flatJson,k=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:x,flatJson:b,datetimeFormats:m,numberFormats:$,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:v,translateExistCompatible:k,__i18n:h,__root:g,__injectWithOption:f}}function Hr(e={},t){{const o=zr(i0(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(s){o.locale.value=s},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(s){o.fallbackLocale.value=s},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return o.getMissingHandler()},set missing(s){o.setMissingHandler(s)},get silentTranslationWarn(){return Ue(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(s){o.missingWarn=Ue(s)?!s:s},get silentFallbackWarn(){return Ue(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(s){o.fallbackWarn=Ue(s)?!s:s},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(s){o.fallbackFormat=s},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(s){o.setPostTranslationHandler(s)},get sync(){return o.inheritLocale},set sync(s){o.inheritLocale=s},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){o.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(s){o.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...s){const[r,i,l]=s,c={};let u=null,p=null;if(!ye(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return ye(i)?c.locale=i:ut(i)?u=i:Fe(i)&&(p=i),ut(l)?u=l:Fe(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},rt(...s){return Reflect.apply(o.rt,o,[...s])},tc(...s){const[r,i,l]=s,c={plural:1};let u=null,p=null;if(!ye(r))throw Lt(wt.INVALID_ARGUMENT);const d=r;return ye(i)?c.locale=i:bt(i)?c.plural=i:ut(i)?u=i:Fe(i)&&(p=i),ye(l)?c.locale=l:ut(l)?u=l:Fe(l)&&(p=l),Reflect.apply(o.t,o,[d,u||p||{},c])},te(s,r){return o.te(s,r)},tm(s){return o.tm(s)},getLocaleMessage(s){return o.getLocaleMessage(s)},setLocaleMessage(s,r){o.setLocaleMessage(s,r)},mergeLocaleMessage(s,r){o.mergeLocaleMessage(s,r)},d(...s){return Reflect.apply(o.d,o,[...s])},getDateTimeFormat(s){return o.getDateTimeFormat(s)},setDateTimeFormat(s,r){o.setDateTimeFormat(s,r)},mergeDateTimeFormat(s,r){o.mergeDateTimeFormat(s,r)},n(...s){return Reflect.apply(o.n,o,[...s])},getNumberFormat(s){return o.getNumberFormat(s)},setNumberFormat(s,r){o.setNumberFormat(s,r)},mergeNumberFormat(s,r){o.mergeNumberFormat(s,r)},getChoiceIndex(s,r){return-1}};return a.__extender=n,a}}const Vr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function l0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ge?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},et())}function Yu(e){return Ge}const Xu=Jn({name:"i18n-t",props:Rt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>bt(e)||!isNaN(e)}},Vr),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||ht({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(o).filter(p=>p!=="_"),r=et();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=ye(e.plural)?+e.plural:e.plural);const i=l0(t,s),l=a[Gr](e.keypath,i,r),c=Rt(et(),n),u=ye(e.tag)||Ke(e.tag)?e.tag:Yu();return fc(u,c,l)}}});function c0(e){return ut(e)&&!ye(e[0])}function Zu(e,t,o,n){const{slots:a,attrs:s}=t;return()=>{const r={part:!0};let i=et();e.locale&&(r.locale=e.locale),ye(e.format)?r.key=e.format:Ke(e.format)&&(ye(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((d,v)=>o.includes(v)?Rt(et(),d,{[v]:e.format[v]}):d,et()));const l=n(e.value,r,i);let c=[r.key];ut(l)?c=l.map((d,v)=>{const x=a[d.type],h=x?x({[d.type]:d.value,index:v,parts:l}):[d.value];return c0(h)&&(h[0].key=`${d.type}-${v}`),h}):ye(l)&&(c=[l]);const u=Rt(et(),s),p=ye(e.tag)||Ke(e.tag)?e.tag:Yu();return fc(p,u,c)}}const Ju=Jn({name:"i18n-n",props:Rt({value:{type:Number,required:!0},format:{type:[String,Object]}},Vr),setup(e,t){const o=e.i18n||ht({useScope:e.scope,__useComponent:!0});return Zu(e,t,Fu,(...n)=>o[jr](...n))}}),Qu=Jn({name:"i18n-d",props:Rt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Vr),setup(e,t){const o=e.i18n||ht({useScope:e.scope,__useComponent:!0});return Zu(e,t,Mu,(...n)=>o[Br](...n))}});function u0(e,t){const o=e;if(e.mode==="composition")return o.__getInstance(t)||e.global;{const n=o.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function p0(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw Lt(wt.UNEXPECTED_ERROR);const u=u0(e,i.$),p=ep(c);return[Reflect.apply(u.t,u,[...tp(p)]),u]};return{created:(r,i)=>{const[l,c]=t(i);ps&&e.global===c&&(r.__i18nWatcher=ot(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{ps&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=ep(i);r.textContent=Reflect.apply(l.t,l,[...tp(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function ep(e){if(ye(e))return{path:e};if(Fe(e)){if(!("path"in e))throw Lt(wt.REQUIRED_VALUE,"path");return e}else throw Lt(wt.INVALID_VALUE)}function tp(e){const{path:t,locale:o,args:n,choice:a,plural:s}=e,r={},i=n||{};return ye(o)&&(r.locale=o),bt(a)&&(r.plural=a),bt(s)&&(r.plural=s),[t,i,r]}function d0(e,t,...o){const n=Fe(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Ue(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Xu.name,"I18nT"].forEach(r=>e.component(r,Xu)),[Ju.name,"I18nN"].forEach(r=>e.component(r,Ju)),[Qu.name,"I18nD"].forEach(r=>e.component(r,Qu))),e.directive("t",p0(t))}function g0(e,t,o){return{beforeCreate(){const n=So();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=op(e,s);else{s.__injectWithOption=!0,s.__extender=o.__vueI18nExtend,this.$i18n=Hr(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=op(e,a);else{this.$i18n=Hr({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&zu(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=So();if(!n)throw Lt(wt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function op(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Bu](t.pluralizationRules||e.pluralizationRules);const o=_s(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(n=>e.mergeLocaleMessage(n,o[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const h0=Go("global-vue-i18n");function f0(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ue(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ue(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,s=new Map,[r,i]=m0(e,o),l=Go("");function c(d){return s.get(d)||null}function u(d,v){s.set(d,v)}function p(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(v,...x){if(v.__VUE_I18N_SYMBOL__=l,v.provide(v.__VUE_I18N_SYMBOL__,d),Fe(x[0])){const f=x[0];d.__composerExtend=f.__composerExtend,d.__vueI18nExtend=f.__vueI18nExtend}let h=null;!o&&n&&(h=L0(v,d.global)),__VUE_I18N_FULL_INSTALL__&&d0(v,d,...x),__VUE_I18N_LEGACY_API__&&o&&v.mixin(g0(i,i.__composer,d));const g=v.unmount;v.unmount=()=>{h&&h(),d.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:p};return d}}function ht(e={}){const t=So();if(t==null)throw Lt(wt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(wt.NOT_INSTALLED);const o=b0(t),n=_0(o),a=Uu(t),s=$0(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Lt(wt.NOT_AVAILABLE_IN_LEGACY_MODE);return k0(t,s,n,e)}if(s==="global")return zu(n,e,a),n;if(s==="parent"){let l=y0(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=Rt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=zr(l),r.__composerExtend&&(i[Ur]=r.__composerExtend(i)),w0(r,t,i),r.__setInstance(t,i)}return i}function m0(e,t,o){const n=Gs();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Hr(e)):n.run(()=>zr(e));if(a==null)throw Lt(wt.UNEXPECTED_ERROR);return[n,a]}}function b0(e){{const t=je(e.isCE?h0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?wt.NOT_INSTALLED_WITH_PROVIDE:wt.UNEXPECTED_ERROR);return t}}function $0(e,t){return ds(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _0(e){return e.mode==="composition"?e.global:e.global.__composer}function y0(e,t,o=!1){let n=null;const a=t.root;let s=v0(t,o);for(;s!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(s);i!=null&&(n=i.__composer,o&&n&&!n[ju]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function v0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function w0(e,t,o){uo(()=>{},t),Ja(()=>{const n=o;e.__deleteInstance(t);const a=n[Ur];a&&(a(),delete n[Ur])},t)}function k0(e,t,o,n={}){const a=t==="local",s=gn(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Lt(wt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ue(n.inheritLocale)?n.inheritLocale:!ye(n.locale),i=he(!a||r?o.locale.value:ye(n.locale)?n.locale:An),l=he(!a||r?o.fallbackLocale.value:ye(n.fallbackLocale)||ut(n.fallbackLocale)||Fe(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=he(_s(i.value,n)),u=he(Fe(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=he(Fe(n.numberFormats)?n.numberFormats:{[i.value]:{}}),d=a?o.missingWarn:Ue(n.missingWarn)||Bo(n.missingWarn)?n.missingWarn:!0,v=a?o.fallbackWarn:Ue(n.fallbackWarn)||Bo(n.fallbackWarn)?n.fallbackWarn:!0,x=a?o.fallbackRoot:Ue(n.fallbackRoot)?n.fallbackRoot:!0,h=!!n.fallbackFormat,g=rt(n.missing)?n.missing:null,f=rt(n.postTranslation)?n.postTranslation:null,m=a?o.warnHtmlMessage:Ue(n.warnHtmlMessage)?n.warnHtmlMessage:!0,$=!!n.escapeParameter,b=a?o.modifiers:Fe(n.modifiers)?n.modifiers:{},k=n.pluralRules||a&&o.pluralRules;function w(){return[i.value,l.value,c.value,u.value,p.value]}const A=J({get:()=>s.value?s.value.locale.value:i.value,set:C=>{s.value&&(s.value.locale.value=C),i.value=C}}),L=J({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:C=>{s.value&&(s.value.fallbackLocale.value=C),l.value=C}}),S=J(()=>s.value?s.value.messages.value:c.value),j=J(()=>u.value),D=J(()=>p.value);function Z(){return s.value?s.value.getPostTranslationHandler():f}function F(C){s.value&&s.value.setPostTranslationHandler(C)}function U(){return s.value?s.value.getMissingHandler():g}function M(C){s.value&&s.value.setMissingHandler(C)}function E(C){return w(),C()}function z(...C){return s.value?E(()=>Reflect.apply(s.value.t,null,[...C])):E(()=>"")}function N(...C){return s.value?Reflect.apply(s.value.rt,null,[...C]):""}function X(...C){return s.value?E(()=>Reflect.apply(s.value.d,null,[...C])):E(()=>"")}function re(...C){return s.value?E(()=>Reflect.apply(s.value.n,null,[...C])):E(()=>"")}function oe(C){return s.value?s.value.tm(C):{}}function se(C,q){return s.value?s.value.te(C,q):!1}function ve(C){return s.value?s.value.getLocaleMessage(C):{}}function Ae(C,q){s.value&&(s.value.setLocaleMessage(C,q),c.value[C]=q)}function fe(C,q){s.value&&s.value.mergeLocaleMessage(C,q)}function Ne(C){return s.value?s.value.getDateTimeFormat(C):{}}function V(C,q){s.value&&(s.value.setDateTimeFormat(C,q),u.value[C]=q)}function de(C,q){s.value&&s.value.mergeDateTimeFormat(C,q)}function be(C){return s.value?s.value.getNumberFormat(C):{}}function ue(C,q){s.value&&(s.value.setNumberFormat(C,q),p.value[C]=q)}function Me(C,q){s.value&&s.value.mergeNumberFormat(C,q)}const P={get id(){return s.value?s.value.id:-1},locale:A,fallbackLocale:L,messages:S,datetimeFormats:j,numberFormats:D,get inheritLocale(){return s.value?s.value.inheritLocale:r},set inheritLocale(C){s.value&&(s.value.inheritLocale=C)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:k},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(C){s.value&&(s.value.missingWarn=C)},get fallbackWarn(){return s.value?s.value.fallbackWarn:v},set fallbackWarn(C){s.value&&(s.value.missingWarn=C)},get fallbackRoot(){return s.value?s.value.fallbackRoot:x},set fallbackRoot(C){s.value&&(s.value.fallbackRoot=C)},get fallbackFormat(){return s.value?s.value.fallbackFormat:h},set fallbackFormat(C){s.value&&(s.value.fallbackFormat=C)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:m},set warnHtmlMessage(C){s.value&&(s.value.warnHtmlMessage=C)},get escapeParameter(){return s.value?s.value.escapeParameter:$},set escapeParameter(C){s.value&&(s.value.escapeParameter=C)},t:z,getPostTranslationHandler:Z,setPostTranslationHandler:F,getMissingHandler:U,setMissingHandler:M,rt:N,d:X,n:re,tm:oe,te:se,getLocaleMessage:ve,setLocaleMessage:Ae,mergeLocaleMessage:fe,getDateTimeFormat:Ne,setDateTimeFormat:V,mergeDateTimeFormat:de,getNumberFormat:be,setNumberFormat:ue,mergeNumberFormat:Me};function R(C){C.locale.value=i.value,C.fallbackLocale.value=l.value,Object.keys(c.value).forEach(q=>{C.mergeLocaleMessage(q,c.value[q])}),Object.keys(u.value).forEach(q=>{C.mergeDateTimeFormat(q,u.value[q])}),Object.keys(p.value).forEach(q=>{C.mergeNumberFormat(q,p.value[q])}),C.escapeParameter=$,C.fallbackFormat=h,C.fallbackRoot=x,C.fallbackWarn=v,C.missingWarn=d,C.warnHtmlMessage=m}return Nl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Lt(wt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=C.locale.value,l.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,p.value=C.numberFormats.value):a&&R(C)}),P}const x0=["locale","fallbackLocale","availableLocales"],np=["t","rt","d","n","tm","te"];function L0(e,t){const o=Object.create(null);return x0.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Lt(wt.UNEXPECTED_ERROR);const r=ct(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(o,a,r)}),e.config.globalProperties.$i18n=o,np.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Lt(wt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,np.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(n0(),__INTLIFY_JIT_COMPILATION__?_u(Zy):_u(Xy),jy(vy),Uy(hu),__INTLIFY_PROD_DEVTOOLS__){const e=Eo();e.__INTLIFY__=!0,Cy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const A0=Object.assign({"./locales/ar/allPeopleGroups.json":Pf,"./locales/ar/aria.json":Ef,"./locales/ar/buttons.json":Cf,"./locales/ar/connectivity.json":Tf,"./locales/ar/controls.json":Rf,"./locales/ar/dashboard.json":Nf,"./locales/ar/detail.json":Mf,"./locales/ar/gospel.json":Of,"./locales/ar/grid.json":If,"./locales/ar/legend.json":Ff,"./locales/ar/messages.json":Df,"./locales/ar/options.json":Gf,"./locales/ar/popup.json":Bf,"./locales/ar/prayerLaps.json":jf,"./locales/ar/regions.json":Uf,"./locales/ar/search.json":zf,"./locales/ar/studio.json":Hf,"./locales/ar/tabs.json":Vf,"./locales/ar/vision.json":Kf,"./locales/de/allPeopleGroups.json":Wf,"./locales/de/aria.json":qf,"./locales/de/buttons.json":Yf,"./locales/de/connectivity.json":Xf,"./locales/de/controls.json":Zf,"./locales/de/dashboard.json":Jf,"./locales/de/detail.json":Qf,"./locales/de/gospel.json":em,"./locales/de/grid.json":tm,"./locales/de/legend.json":om,"./locales/de/messages.json":nm,"./locales/de/options.json":am,"./locales/de/popup.json":sm,"./locales/de/prayerLaps.json":rm,"./locales/de/regions.json":im,"./locales/de/search.json":lm,"./locales/de/studio.json":cm,"./locales/de/tabs.json":um,"./locales/de/vision.json":pm,"./locales/en/allPeopleGroups.json":dm,"./locales/en/aria.json":gm,"./locales/en/buttons.json":hm,"./locales/en/connectivity.json":fm,"./locales/en/controls.json":mm,"./locales/en/dashboard.json":bm,"./locales/en/detail.json":$m,"./locales/en/gospel.json":_m,"./locales/en/grid.json":ym,"./locales/en/legend.json":vm,"./locales/en/messages.json":wm,"./locales/en/options.json":km,"./locales/en/popup.json":xm,"./locales/en/prayerLaps.json":Lm,"./locales/en/regions.json":Am,"./locales/en/search.json":Sm,"./locales/en/studio.json":Pm,"./locales/en/tabs.json":Em,"./locales/en/vision.json":Cm,"./locales/es/allPeopleGroups.json":Tm,"./locales/es/aria.json":Rm,"./locales/es/buttons.json":Nm,"./locales/es/connectivity.json":Mm,"./locales/es/controls.json":Om,"./locales/es/dashboard.json":Im,"./locales/es/detail.json":Fm,"./locales/es/gospel.json":Dm,"./locales/es/grid.json":Gm,"./locales/es/legend.json":Bm,"./locales/es/messages.json":jm,"./locales/es/options.json":Um,"./locales/es/popup.json":zm,"./locales/es/prayerLaps.json":Hm,"./locales/es/regions.json":Vm,"./locales/es/search.json":Km,"./locales/es/studio.json":Wm,"./locales/es/tabs.json":qm,"./locales/es/vision.json":Ym,"./locales/fr/allPeopleGroups.json":Xm,"./locales/fr/aria.json":Zm,"./locales/fr/buttons.json":Jm,"./locales/fr/connectivity.json":Qm,"./locales/fr/controls.json":eb,"./locales/fr/dashboard.json":tb,"./locales/fr/detail.json":ob,"./locales/fr/gospel.json":nb,"./locales/fr/grid.json":ab,"./locales/fr/legend.json":sb,"./locales/fr/messages.json":rb,"./locales/fr/options.json":ib,"./locales/fr/popup.json":lb,"./locales/fr/prayerLaps.json":cb,"./locales/fr/regions.json":ub,"./locales/fr/search.json":pb,"./locales/fr/studio.json":db,"./locales/fr/tabs.json":gb,"./locales/fr/vision.json":hb,"./locales/hi/allPeopleGroups.json":fb,"./locales/hi/aria.json":mb,"./locales/hi/buttons.json":bb,"./locales/hi/connectivity.json":$b,"./locales/hi/controls.json":_b,"./locales/hi/dashboard.json":yb,"./locales/hi/detail.json":vb,"./locales/hi/gospel.json":wb,"./locales/hi/grid.json":kb,"./locales/hi/legend.json":xb,"./locales/hi/messages.json":Lb,"./locales/hi/options.json":Ab,"./locales/hi/popup.json":Sb,"./locales/hi/prayerLaps.json":Pb,"./locales/hi/regions.json":Eb,"./locales/hi/search.json":Cb,"./locales/hi/studio.json":Tb,"./locales/hi/tabs.json":Rb,"./locales/hi/vision.json":Nb,"./locales/it/allPeopleGroups.json":Mb,"./locales/it/aria.json":Ob,"./locales/it/buttons.json":Ib,"./locales/it/connectivity.json":Fb,"./locales/it/controls.json":Db,"./locales/it/dashboard.json":Gb,"./locales/it/detail.json":Bb,"./locales/it/gospel.json":jb,"./locales/it/grid.json":Ub,"./locales/it/legend.json":zb,"./locales/it/messages.json":Hb,"./locales/it/options.json":Vb,"./locales/it/popup.json":Kb,"./locales/it/prayerLaps.json":Wb,"./locales/it/regions.json":qb,"./locales/it/search.json":Yb,"./locales/it/studio.json":Xb,"./locales/it/tabs.json":Zb,"./locales/it/vision.json":Jb,"./locales/pt/allPeopleGroups.json":Qb,"./locales/pt/aria.json":e$,"./locales/pt/buttons.json":t$,"./locales/pt/connectivity.json":o$,"./locales/pt/controls.json":n$,"./locales/pt/dashboard.json":a$,"./locales/pt/detail.json":s$,"./locales/pt/gospel.json":r$,"./locales/pt/grid.json":i$,"./locales/pt/legend.json":l$,"./locales/pt/messages.json":c$,"./locales/pt/options.json":u$,"./locales/pt/popup.json":p$,"./locales/pt/prayerLaps.json":d$,"./locales/pt/regions.json":g$,"./locales/pt/search.json":h$,"./locales/pt/studio.json":f$,"./locales/pt/tabs.json":m$,"./locales/pt/vision.json":b$,"./locales/ro/allPeopleGroups.json":$$,"./locales/ro/aria.json":_$,"./locales/ro/buttons.json":y$,"./locales/ro/connectivity.json":v$,"./locales/ro/controls.json":w$,"./locales/ro/dashboard.json":k$,"./locales/ro/detail.json":x$,"./locales/ro/gospel.json":L$,"./locales/ro/grid.json":A$,"./locales/ro/legend.json":S$,"./locales/ro/messages.json":P$,"./locales/ro/options.json":E$,"./locales/ro/popup.json":C$,"./locales/ro/prayerLaps.json":T$,"./locales/ro/regions.json":R$,"./locales/ro/search.json":N$,"./locales/ro/studio.json":M$,"./locales/ro/tabs.json":O$,"./locales/ro/vision.json":I$,"./locales/ru/allPeopleGroups.json":F$,"./locales/ru/aria.json":D$,"./locales/ru/buttons.json":G$,"./locales/ru/connectivity.json":B$,"./locales/ru/controls.json":j$,"./locales/ru/dashboard.json":U$,"./locales/ru/detail.json":z$,"./locales/ru/gospel.json":H$,"./locales/ru/grid.json":V$,"./locales/ru/legend.json":K$,"./locales/ru/messages.json":W$,"./locales/ru/options.json":q$,"./locales/ru/popup.json":Y$,"./locales/ru/prayerLaps.json":X$,"./locales/ru/regions.json":Z$,"./locales/ru/search.json":J$,"./locales/ru/studio.json":Q$,"./locales/ru/tabs.json":e_,"./locales/ru/vision.json":t_,"./locales/zh/allPeopleGroups.json":o_,"./locales/zh/aria.json":n_,"./locales/zh/buttons.json":a_,"./locales/zh/connectivity.json":s_,"./locales/zh/controls.json":r_,"./locales/zh/dashboard.json":i_,"./locales/zh/detail.json":l_,"./locales/zh/gospel.json":c_,"./locales/zh/grid.json":u_,"./locales/zh/legend.json":p_,"./locales/zh/messages.json":d_,"./locales/zh/options.json":g_,"./locales/zh/popup.json":h_,"./locales/zh/prayerLaps.json":f_,"./locales/zh/regions.json":m_,"./locales/zh/search.json":b_,"./locales/zh/studio.json":$_,"./locales/zh/tabs.json":__,"./locales/zh/vision.json":y_}),Pn={};for(const[e,t]of Object.entries(A0)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;Pn[n]??(Pn[n]={}),Pn[n][a]=t}Pn.en;const ys=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],S0=new Set(["ar"]);function P0(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function E0(){var n;const e=P0();if(ys.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return ys.includes(o)?o:"en"}function C0(){const e=E0();try{S0.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const t=f0({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Pn,missingWarn:!1,fallbackWarn:!1});ot(t.global.locale,n=>ap(n),{immediate:!0});const o=t.install.bind(t);return t.install=(n,...a)=>{const s=o(n,...a);return n.provide("appI18n",t),s},t}const T0="__DOXA_PAGE_LOCALE";function ap(e){const t=String(e||"").split("-")[0].toLowerCase();if(ys.includes(t))try{typeof window<"u"&&(window[T0]=t)}catch{}}function At(e,t){const o=t||R0(e);uo(()=>{var i;const n=So();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,s.appendChild(r)})}function R0(e){let t=0;for(let o=0;ot[L]||L,n=()=>!1;try{const L=ht();o=L.t,n=L.te}catch{}const a=je("uiStore",null),s=je("profileConfig",null),r=J(()=>(a==null?void 0:a.theme)==="dark"),i=J(()=>{var j;const L=(j=s==null?void 0:s.value)==null?void 0:j.pinHintLabel;if(L)return L;const S="Tap a coloured dot — someone still needs prayer";try{return n("messages.pinHint.tapDot")?o("messages.pinHint.tapDot"):S}catch{return S}}),l=he(!1),c=he(null);let u=null,p=null,d=null,v=null,x=null,h=null,g=[],f=null,m=null;function $(){l.value=!1}function b(L,S){var D;let j=L==null?void 0:L.parentElement;for(let Z=0;j&&Z<12;Z++,j=j.parentElement){if(j===S||(D=j.classList)!=null&&D.contains("profile-loader"))return null;let F="";try{F=getComputedStyle(j).position}catch{}if(F&&F!=="static"){const U=j.getBoundingClientRect();if(U.height>=120&&U.width>=160)return j}}return null}function k(L){var j;const S=(j=v==null?void 0:v.querySelector)==null?void 0:j.call(v,".legend-mobile-sheet");if(!S)return 1/0;if(x&&h!==S){try{x.disconnect()}catch{}x=null}if(!x&&typeof ResizeObserver<"u")try{x=new ResizeObserver(()=>w()),x.observe(S),h=S}catch{x=null}try{const D=S.getBoundingClientRect();return!(D.height>16)||!(D.width>16)||L.right<=D.left||D.right<=L.left?1/0:D.top}catch{return 1/0}}function w(){const L=c.value;if(L)try{L.style.removeProperty("--pin-hint-lift");const S=L.getBoundingClientRect();if(!S.height)return;const j=Math.min(window.innerHeight,k(S)),D=Math.round(S.bottom-j);D>0&&L.style.setProperty("--pin-hint-lift",D+8+"px")}catch{}}function A(L){const S=c.value;if(!S||!(L!=null&&L.querySelector))return;let j=0;try{const Z=L.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(Z){const F=Z.getBoundingClientRect(),U=S.parentElement,M=U?U.getBoundingClientRect():null;if(j=M?Math.max(F.height||0,M.bottom-F.top):F.height||0,m!==Z&&typeof ResizeObserver<"u"){if(d)try{d.disconnect()}catch{}m=Z,d=new ResizeObserver(()=>A(L)),d.observe(Z)}}}catch{}const D=Math.min(Math.max(Math.ceil(j)||20,20),72);S.style.setProperty("--pin-hint-attrib-clear",D+"px"),w()}return uo(()=>{var D,Z,F;const L=So(),S=(F=(Z=(D=L==null?void 0:L.proxy)==null?void 0:D.$el)==null?void 0:Z.getRootNode)==null?void 0:F.call(Z);if(!S||typeof S.querySelector!="function")return;v=S;let j=0;u=setInterval(()=>{j++;const U=S.querySelector("canvas");U?(clearInterval(u),u=null,l.value=!0,co(()=>{const M=b(U,S),E=c.value;if(M&&E&&E.parentElement!==M)try{M.appendChild(E),p=M}catch{}A(S),w(),g.push(setTimeout(w,1200),setTimeout(w,3e3),setTimeout(w,6e3));try{const z=c.value&&c.value.offsetParent||null;if(z&&typeof ResizeObserver<"u"){if(f)try{f.disconnect()}catch{}f=new ResizeObserver(()=>w()),f.observe(z)}}catch{}})):j>40&&(clearInterval(u),u=null)},300)}),Wt(()=>{var L;if(u&&clearInterval(u),d){try{d.disconnect()}catch{}d=null}if(m=null,f){try{f.disconnect()}catch{}f=null}if(x){try{x.disconnect()}catch{}x=null}h=null;for(const S of g)clearTimeout(S);if(g=[],v=null,p&&((L=c.value)==null?void 0:L.parentElement)===p)try{p.removeChild(c.value)}catch{}p=null}),At(` .pin-hint { position: absolute; left: 50%; bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%); z-index: 2147482000; pointer-events: none; @@ -70,7 +70,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(L,S)=>l.value?(H(),ee("div",{key:0,ref_key:"hintEl",ref:c,class:De(["pin-hint",{dark:r.value}]),role:"status"},[T("span",R0,[S[0]||(S[0]=T("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),Ct(" "+ce(i.value)+" ",1),T("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:$},"×")])],2)):we("",!0)}},M0=!1;let O0=0;const I0=xr("ui",{state:()=>({_storeInstanceId:++O0,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:a=null,persistent:s=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(r),!s&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),F0=xr("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),D0=xr("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const o=await t();this.sources[e]=Xo({features:o,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(o){console.error(`[dataStore] Failed to load source "${e}":`,o),this.loadingStates[e]={isLoading:!1,error:o}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Xo({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var o;return((o=e.sources[t])==null?void 0:o.features)??null},isLoading:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.isLoading)??!1},getError:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.error)??null}}}),fa={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","imb_gsec","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},G0=".profile-loader[data-v-45d151f8]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-45d151f8]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",En=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},B0={class:"profile-loader"},j0={key:0,class:"profile-error"},U0={key:1,class:"profile-error"},z0=En({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var k;const o=e,n=je("profileConfig",null),a=J(()=>{var A;if(!o.profileConfig)return null;let w;try{w=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(w&&w.assetsBase===void 0){const L=(A=n==null?void 0:n.value)==null?void 0:A.assetsBase;typeof L=="string"&&L&&(w.assetsBase=L)}return w}),s=J(()=>{var w;return((w=a.value)==null?void 0:w.profile)||null}),r=Sf(),i=J(()=>{var A;const w=(A=a.value)==null?void 0:A.tk;return typeof w=="string"&&w?w:r.value||""});ot(()=>{var w;return(w=a.value)==null?void 0:w.tk},w=>{typeof w=="string"&&w&&jc(w)},{immediate:!0});const l=J(()=>{var w;return((w=a.value)==null?void 0:w.dataSource)||fa.activeSource}),c=J(()=>{var w;return((w=a.value)==null?void 0:w.colorSet)||"default"}),u=J(()=>!1),p=J(()=>{var w;return((w=a.value)==null?void 0:w.pinHint)!==!1}),d=J(()=>{var A,L;const w=(((A=a.value)==null?void 0:A.locale)||((L=a.value)==null?void 0:L.lang)||"").split("-")[0].toLowerCase();return ys.includes(w)?w:""}),v=je("appI18n",null);Ng(()=>{d.value&&(v&&(v.global.locale.value=d.value),ap(d.value))});const x=J(()=>{var w,A;return d.value||((A=(w=v==null?void 0:v.global)==null?void 0:w.locale)==null?void 0:A.value)||"en"}),h=J(()=>{var w;return((w=a.value)==null?void 0:w.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),g=je("profileModules",null);if(!g)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const f=J(()=>{if(!s.value)return null;const w=`./${s.value}.vue`;return g[w]?Uc(g[w]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys(g)),null)});It("mapboxToken",i),It("dataSource",l),It("colorSet",c),It("profileConfig",a),It("instanceId",h),It("lang",x);const m=I0(),$=F0(),b=D0();try{const w=typeof localStorage<"u"?localStorage.getItem("theme"):null;w&&((k=m.setTheme)==null||k.call(m,w))}catch{}return It("uiStore",m),It("mapStore",$),It("dataStore",b),(w,A)=>(H(),ee("div",B0,[a.value?f.value?(H(),dt(sr(f.value),{key:2})):(H(),ee("div",U0,[T("p",null,[A[1]||(A[1]=Ct("⚠️ Profile ",-1)),T("strong",null,'"'+ce(s.value)+'"',1),A[2]||(A[2]=Ct(" not found.",-1))])])):(H(),ee("div",j0,[...A[0]||(A[0]=[T("p",null,[Ct("⚠️ "),T("strong",null,"doxa-map"),Ct(": missing or invalid "),T("code",null,"profile-config"),Ct(" prop.")],-1),T("p",null,[Ct("Example: "),T("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),f.value&&u.value?(H(),dt(sr(me(null)),{key:3})):we("",!0),f.value&&p.value?(H(),dt(N0,{key:4})):we("",!0)]))}},[["styles",[G0]],["__scopeId","data-v-45d151f8"]]),H0=Object.assign({"./poster-wall.vue":()=>_t(()=>Promise.resolve().then(()=>B1),void 0),"./upg-100-list.vue":()=>_t(()=>Promise.resolve().then(()=>vL),void 0),"./upg-100-mfe.vue":()=>_t(()=>Promise.resolve().then(()=>ZL),void 0)});if(typeof window<"u"&&((Td=window.mapboxgl)!=null&&Td.setRTLTextPlugin))try{window.mapboxgl.setRTLTextPlugin("https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",null,!0)}catch{}function V0(){return cf(z0,{configureApp(e){e.use(yf()),e.use(E0()),e.provide("profileModules",H0)}})}const K0=V0();typeof customElements<"u"&&(customElements.get("my-upg-100-list-map")||customElements.define("my-upg-100-list-map",K0));function ma(e,{autoprint:t=!1}={}){const o=document.createElement("iframe");o.setAttribute("aria-hidden","true"),o.style.cssText="position:fixed;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0",document.body.appendChild(o);const n=o.contentDocument;if(!n)return o.remove(),null;n.open(),n.write(e),t&&n.write(' - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +