(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".profile-loader[data-v-8d448c33]{width:100%;height:100%;position:relative}.profile-error[data-v-8d448c33]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}})(); (function(){"use strict";var gu;var ha=typeof document<"u"?document.currentScript:null;const bv="modulepreload",_v=function(e){return"/"+e},yv={},mu=function(t,o,n){let s=Promise.resolve();function a(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return s.then(r=>{for(const i of r||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};/** * @vue/shared v3.5.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function ma(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const we={},Ao=[],$t=()=>{},sr=()=>!1,kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),En=e=>e.startsWith("onUpdate:"),Ie=Object.assign,ba=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},bu=Object.prototype.hasOwnProperty,Ae=(e,t)=>bu.call(e,t),ce=Array.isArray,ko=e=>Uo(e)==="[object Map]",rr=e=>Uo(e)==="[object Set]",ir=e=>Uo(e)==="[object Date]",de=e=>typeof e=="function",xe=e=>typeof e=="string",lt=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",lr=e=>(ke(e)||de(e))&&de(e.then)&&de(e.catch),cr=Object.prototype.toString,Uo=e=>cr.call(e),_u=e=>Uo(e).slice(8,-1),wn=e=>Uo(e)==="[object Object]",Tn=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Go=ma(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},yu=/-\w/g,je=Cn(e=>e.replace(yu,t=>t.slice(1).toUpperCase())),vu=/\B([A-Z])/g,ft=Cn(e=>e.replace(vu,"-$1").toLowerCase()),Ln=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),_a=Cn(e=>e?`on${Ln(e)}`:""),At=(e,t)=>!Object.is(e,t),Pn=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},ya=e=>{const t=parseFloat(e);return isNaN(t)?e:t},dr=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let fr;const xn=()=>fr||(fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kt(e){if(ce(e)){const t={};for(let o=0;o{if(o){const n=o.split($u);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Re(e){let t="";if(xe(e))t=e;else if(ce(e))for(let o=0;o!!(e&&e.__v_isRef===!0),te=e=>xe(e)?e:e==null?"":ce(e)||ke(e)&&(e.toString===cr||!de(e.toString))?pr(e)?te(e.value):JSON.stringify(e,hr,2):String(e),hr=(e,t)=>pr(t)?hr(e,t.value):ko(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],a)=>(o[Sa(n,a)+" =>"]=s,o),{})}:rr(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Sa(o))}:lt(t)?Sa(t):ke(t)&&!ce(t)&&!wn(t)?String(t):t,Sa=(e,t="")=>{var o;return lt(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** * @vue/reactivity v3.5.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Fe;class mr{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&&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 t,o;if(this.scopes)for(t=0,o=this.scopes.length;t0&&--this._on===0){if(Fe===this)Fe=this.prevScope;else{let t=Fe;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(Vo){let t=Vo;for(Vo=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Ho;){let t=Ho;for(Ho=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 Sr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function $r(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),Ta(n),Cu(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function wa(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ar(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ar(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Wo)||(e.globalVersion=Wo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!wa(e))))return;e.flags|=2;const t=e.dep,o=Te,n=bt;Te=e,bt=!0;try{Sr(e);const s=e.fn(e._value);(t.version===0||At(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Te=o,bt=n,$r(e),e.flags&=-3}}function Ta(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)Ta(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Cu(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let bt=!0;const kr=[];function Et(){kr.push(bt),bt=!1}function wt(){const e=kr.pop();bt=e===void 0?!0:e}function Er(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=Te;Te=void 0;try{t()}finally{Te=o}}}let Wo=0;class Lu{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 Ca{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(!Te||!bt||Te===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==Te)o=this.activeLink=new Lu(Te,this),Te.deps?(o.prevDep=Te.depsTail,Te.depsTail.nextDep=o,Te.depsTail=o):Te.deps=Te.depsTail=o,wr(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=Te.depsTail,o.nextDep=void 0,Te.depsTail.nextDep=o,Te.depsTail=o,Te.deps===o&&(Te.deps=n)}return o}trigger(t){this.version++,Wo++,this.notify(t)}notify(t){ka();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Ea()}}}function wr(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)wr(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Nn=new WeakMap,go=Symbol(""),La=Symbol(""),zo=Symbol("");function Je(e,t,o){if(bt&&Te){let n=Nn.get(e);n||Nn.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new Ca),s.map=n,s.key=o),s.track()}}function Ot(e,t,o,n,s,a){const r=Nn.get(e);if(!r){Wo++;return}const i=l=>{l&&l.trigger()};if(ka(),t==="clear")r.forEach(i);else{const l=ce(e),c=l&&Tn(o);if(l&&o==="length"){const u=Number(n);r.forEach((d,h)=>{(h==="length"||h===zo||!lt(h)&&h>=u)&&i(d)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(zo)),t){case"add":l?c&&i(r.get("length")):(i(r.get(go)),ko(e)&&i(r.get(La)));break;case"delete":l||(i(r.get(go)),ko(e)&&i(r.get(La)));break;case"set":ko(e)&&i(r.get(go));break}}Ea()}function Pu(e,t){const o=Nn.get(e);return o&&o.get(t)}function Eo(e){const t=_e(e);return t===e?t:(Je(t,"iterate",zo),ct(e)?t:t.map(_t))}function Mn(e){return Je(e=_e(e),"iterate",zo),e}function Tt(e,t){return Bt(e)?wo(Dt(e)?_t(t):t):_t(t)}const xu={__proto__:null,[Symbol.iterator](){return Pa(this,Symbol.iterator,e=>Tt(this,e))},concat(...e){return Eo(this).concat(...e.map(t=>ce(t)?Eo(t):t))},entries(){return Pa(this,"entries",e=>(e[1]=Tt(this,e[1]),e))},every(e,t){return Ft(this,"every",e,t,void 0,arguments)},filter(e,t){return Ft(this,"filter",e,t,o=>o.map(n=>Tt(this,n)),arguments)},find(e,t){return Ft(this,"find",e,t,o=>Tt(this,o),arguments)},findIndex(e,t){return Ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ft(this,"findLast",e,t,o=>Tt(this,o),arguments)},findLastIndex(e,t){return Ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return xa(this,"includes",e)},indexOf(...e){return xa(this,"indexOf",e)},join(e){return Eo(this).join(e)},lastIndexOf(...e){return xa(this,"lastIndexOf",e)},map(e,t){return Ft(this,"map",e,t,void 0,arguments)},pop(){return Yo(this,"pop")},push(...e){return Yo(this,"push",e)},reduce(e,...t){return Tr(this,"reduce",e,t)},reduceRight(e,...t){return Tr(this,"reduceRight",e,t)},shift(){return Yo(this,"shift")},some(e,t){return Ft(this,"some",e,t,void 0,arguments)},splice(...e){return Yo(this,"splice",e)},toReversed(){return Eo(this).toReversed()},toSorted(e){return Eo(this).toSorted(e)},toSpliced(...e){return Eo(this).toSpliced(...e)},unshift(...e){return Yo(this,"unshift",e)},values(){return Pa(this,"values",e=>Tt(this,e))}};function Pa(e,t,o){const n=Mn(e),s=n[t]();return n!==e&&!ct(e)&&(s._next=s.next,s.next=()=>{const a=s._next();return a.done||(a.value=o(a.value)),a}),s}const Nu=Array.prototype;function Ft(e,t,o,n,s,a){const r=Mn(e),i=r!==e&&!ct(e),l=r[t];if(l!==Nu[t]){const d=l.apply(e,a);return i?_t(d):d}let c=o;r!==e&&(i?c=function(d,h){return o.call(this,Tt(e,d),h,e)}:o.length>2&&(c=function(d,h){return o.call(this,d,h,e)}));const u=l.call(r,c,n);return i&&s?s(u):u}function Tr(e,t,o,n){const s=Mn(e),a=s!==e&&!ct(e);let r=o,i=!1;s!==e&&(a?(i=n.length===0,r=function(c,u,d){return i&&(i=!1,c=Tt(e,c)),o.call(this,c,Tt(e,u),d,e)}):o.length>3&&(r=function(c,u,d){return o.call(this,c,u,d,e)}));const l=s[t](r,...n);return i?Tt(e,l):l}function xa(e,t,o){const n=_e(e);Je(n,"iterate",zo);const s=n[t](...o);return(s===-1||s===!1)&&Dn(o[0])?(o[0]=_e(o[0]),n[t](...o)):s}function Yo(e,t,o=[]){Et(),ka();const n=_e(e)[t].apply(e,o);return Ea(),wt(),n}const Mu=ma("__proto__,__v_isRef,__isVue"),Cr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lt));function Iu(e){lt(e)||(e=String(e));const t=_e(this);return Je(t,"has",e),t.hasOwnProperty(e)}class Lr{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return a;if(o==="__v_raw")return n===(s?a?Rr:Ir:a?Mr:Nr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=ce(t);if(!s){let l;if(r&&(l=xu[o]))return l;if(o==="hasOwnProperty")return Iu}const i=Reflect.get(t,o,Me(t)?t:n);if((lt(o)?Cr.has(o):Mu(o))||(s||Je(t,"get",o),a))return i;if(Me(i)){const l=r&&Tn(o)?i:i.value;return s&&ke(l)?Ma(l):l}return ke(i)?s?Ma(i):po(i):i}}class Pr extends Lr{constructor(t=!1){super(!1,t)}set(t,o,n,s){let a=t[o];const r=ce(t)&&Tn(o);if(!this._isShallow){const c=Bt(a);if(!ct(n)&&!Bt(n)&&(a=_e(a),n=_e(n)),!r&&Me(a)&&!Me(n))return c||(a.value=n),!0}const i=r?Number(o)e,In=e=>Reflect.getPrototypeOf(e);function Bu(e,t,o){return function(...n){const s=this.__v_raw,a=_e(s),r=ko(a),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=s[e](...n),u=o?Na:t?wo:_t;return!t&&Je(a,"iterate",l?La:go),Ie(Object.create(c),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}}})}}function Rn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ku(e,t){const o={get(s){const a=this.__v_raw,r=_e(a),i=_e(s);e||(At(s,i)&&Je(r,"get",s),Je(r,"get",i));const{has:l}=In(r),c=t?Na:e?wo:_t;if(l.call(r,s))return c(a.get(s));if(l.call(r,i))return c(a.get(i));a!==r&&a.get(s)},get size(){const s=this.__v_raw;return!e&&Je(_e(s),"iterate",go),s.size},has(s){const a=this.__v_raw,r=_e(a),i=_e(s);return e||(At(s,i)&&Je(r,"has",s),Je(r,"has",i)),s===i?a.has(s):a.has(s)||a.has(i)},forEach(s,a){const r=this,i=r.__v_raw,l=_e(i),c=t?Na:e?wo:_t;return!e&&Je(l,"iterate",go),i.forEach((u,d)=>s.call(a,c(u),c(d),r))}};return Ie(o,e?{add:Rn("add"),set:Rn("set"),delete:Rn("delete"),clear:Rn("clear")}:{add(s){const a=_e(this),r=In(a),i=_e(s),l=!t&&!ct(s)&&!Bt(s)?i:s;return r.has.call(a,l)||At(s,l)&&r.has.call(a,s)||At(i,l)&&r.has.call(a,i)||(a.add(l),Ot(a,"add",l,l)),this},set(s,a){!t&&!ct(a)&&!Bt(a)&&(a=_e(a));const r=_e(this),{has:i,get:l}=In(r);let c=i.call(r,s);c||(s=_e(s),c=i.call(r,s));const u=l.call(r,s);return r.set(s,a),c?At(a,u)&&Ot(r,"set",s,a):Ot(r,"add",s,a),this},delete(s){const a=_e(this),{has:r,get:i}=In(a);let l=r.call(a,s);l||(s=_e(s),l=r.call(a,s)),i&&i.call(a,s);const c=a.delete(s);return l&&Ot(a,"delete",s,void 0),c},clear(){const s=_e(this),a=s.size!==0,r=s.clear();return a&&Ot(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=Bu(s,e,t)}),o}function On(e,t){const o=Ku(e,t);return(n,s,a)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(Ae(o,s)&&s in n?o:n,s,a)}const ju={get:On(!1,!1)},Uu={get:On(!1,!0)},Gu={get:On(!0,!1)},Hu={get:On(!0,!0)},Nr=new WeakMap,Mr=new WeakMap,Ir=new WeakMap,Rr=new WeakMap;function Vu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wu(e){return e.__v_skip||!Object.isExtensible(e)?0:Vu(_u(e))}function po(e){return Bt(e)?e:Fn(e,!1,Ru,ju,Nr)}function zu(e){return Fn(e,!1,Fu,Uu,Mr)}function Ma(e){return Fn(e,!0,Ou,Gu,Ir)}function Sv(e){return Fn(e,!0,Du,Hu,Rr)}function Fn(e,t,o,n,s){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=Wu(e);if(a===0)return e;const r=s.get(e);if(r)return r;const i=new Proxy(e,a===2?n:o);return s.set(e,i),i}function Dt(e){return Bt(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function Bt(e){return!!(e&&e.__v_isReadonly)}function ct(e){return!!(e&&e.__v_isShallow)}function Dn(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function Jo(e){return!Ae(e,"__v_skip")&&Object.isExtensible(e)&&ur(e,"__v_skip",!0),e}const _t=e=>ke(e)?po(e):e,wo=e=>ke(e)?Ma(e):e;function Me(e){return e?e.__v_isRef===!0:!1}function fe(e){return Or(e,!1)}function qo(e){return Or(e,!0)}function Or(e,t){return Me(e)?e:new Yu(e,t)}class Yu{constructor(t,o){this.dep=new Ca,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:_e(t),this._value=o?t:_t(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||ct(t)||Bt(t);t=n?t:_e(t),At(t,o)&&(this._rawValue=t,this._value=n?t:_t(t),this.dep.trigger())}}function Ct(e){return Me(e)?e.value:e}const Ju={get:(e,t,o)=>t==="__v_raw"?e:Ct(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Me(s)&&!Me(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function Fr(e){return Dt(e)?e:new Proxy(e,Ju)}function qu(e){const t=ce(e)?new Array(e.length):{};for(const o in e)t[o]=Zu(e,o);return t}class Xu{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=lt(o)?o:String(o),this._raw=_e(t);let s=!0,a=t;if(!ce(t)||lt(this._key)||!Tn(this._key))do s=!Dn(a)||ct(a);while(s&&(a=a.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=Ct(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Me(this._raw[this._key])){const o=this._object[this._key];if(Me(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Pu(this._raw,this._key)}}function Zu(e,t,o){return new Xu(e,t,o)}class Qu{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Ca(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Te!==this)return vr(this,!0),!0}get value(){const t=this.dep.track();return Ar(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ed(e,t,o=!1){let n,s;return de(e)?n=e:(n=e.get,s=e.set),new Qu(n,s,o)}const Bn={},Kn=new WeakMap;let ho;function td(e,t=!1,o=ho){if(o){let n=Kn.get(o);n||Kn.set(o,n=[]),n.push(e)}}function od(e,t,o=we){const{immediate:n,deep:s,once:a,scheduler:r,augmentJob:i,call:l}=o,c=m=>s?m:ct(m)||s===!1||s===0?Kt(m,1):Kt(m);let u,d,h,g,y=!1,_=!1;if(Me(e)?(d=()=>e.value,y=ct(e)):Dt(e)?(d=()=>c(e),y=!0):ce(e)?(_=!0,y=e.some(m=>Dt(m)||ct(m)),d=()=>e.map(m=>{if(Me(m))return m.value;if(Dt(m))return c(m);if(de(m))return l?l(m,2):m()})):de(e)?t?d=l?()=>l(e,2):e:d=()=>{if(h){Et();try{h()}finally{wt()}}const m=ho;ho=u;try{return l?l(e,3,[g]):e(g)}finally{ho=m}}:d=$t,t&&s){const m=d,T=s===!0?1/0:s;d=()=>Kt(m(),T)}const E=br(),v=()=>{u.stop(),E&&E.active&&ba(E.effects,u)};if(a&&t){const m=t;t=(...T)=>{m(...T),v()}}let w=_?new Array(e.length).fill(Bn):Bn;const S=m=>{if(!(!(u.flags&1)||!u.dirty&&!m))if(t){const T=u.run();if(s||y||(_?T.some((C,x)=>At(C,w[x])):At(T,w))){h&&h();const C=ho;ho=u;try{const x=[T,w===Bn?void 0:_&&w[0]===Bn?[]:w,g];w=T,l?l(t,3,x):t(...x)}finally{ho=C}}}else u.run()};return i&&i(S),u=new _r(d),u.scheduler=r?()=>r(S,!1):S,g=m=>td(m,!1,u),h=u.onStop=()=>{const m=Kn.get(u);if(m){if(l)l(m,4);else for(const T of m)T();Kn.delete(u)}},t?n?S(!0):w=u.run():r?r(S.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function Kt(e,t=1/0,o){if(t<=0||!ke(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Me(e))Kt(e.value,t,o);else if(ce(e))for(let n=0;n{Kt(n,t,o)});else if(wn(e)){for(const n in e)Kt(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Kt(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Xo=[];let Ia=!1;function $v(e,...t){if(Ia)return;Ia=!0,Et();const o=Xo.length?Xo[Xo.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=nd();if(n)To(n,o,11,[e+t.map(a=>{var r,i;return(i=(r=a.toString)==null?void 0:r.call(a))!=null?i:JSON.stringify(a)}).join(""),o&&o.proxy,s.map(({vnode:a})=>`at <${Mi(o,a.type)}>`).join(` `),s]);else{const a=[`[Vue warn]: ${e}`,...t];s.length&&a.push(` `,...ad(s)),console.warn(...a)}wt(),Ia=!1}function nd(){let e=Xo[Xo.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 ad(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` `],...sd(o))}),t}function sd({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${Mi(e.component,e.type,n)}`,a=">"+o;return e.props?[s,...rd(e.props),a]:[s+a]}function rd(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Dr(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Dr(e,t,o){return xe(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Me(t)?(t=Dr(e,_e(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):de(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=_e(t),o?t:[`${e}=`,t])}function To(e,t,o,n){try{return n?e(...n):e()}catch(s){Zo(s,t,o)}}function Lt(e,t,o,n){if(de(e)){const s=To(e,t,o,n);return s&&lr(s)&&s.catch(a=>{Zo(a,t,o)}),s}if(ce(e)){const s=[];for(let a=0;a>>1,s=Xe[n],a=en(s);a=en(o)?Xe.push(e):Xe.splice(ld(t),0,e),e.flags|=1,Kr()}}function Kr(){jn||(jn=Br.then(Gr))}function cd(e){ce(e)?Co.push(...e):Zt&&e.id===-1?Zt.splice(Lo+1,0,e):e.flags&1||(Co.push(e),e.flags|=1),Kr()}function jr(e,t,o=Pt+1){for(;oen(o)-en(n));if(Co.length=0,Zt){Zt.push(...t);return}for(Zt=t,Lo=0;Loe.id==null?e.flags&2?-1:1/0:e.id;function Gr(e){try{for(Pt=0;Pt{n._d&&Yn(-1);const a=Un(t);let r;try{r=e(...s)}finally{Un(a),n._d&&Yn(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Po(e,t){if(Ge===null)return e;const o=Xn(Ge),n=e.dirs||(e.dirs=[]);for(let s=0;s1)return o&&de(t)?t.call(n&&n.proxy):t}}function ud(){return!!(eo()||bo)}const dd=Symbol.for("v-scx"),fd=()=>Ce(dd);function gd(e,t){return Fa(e,null,t)}function nt(e,t,o){return Fa(e,t,o)}function Fa(e,t,o=we){const{immediate:n,deep:s,flush:a,once:r}=o,i=Ie({},o),l=t&&n||!t&&a!=="post";let c;if(Mo){if(a==="sync"){const g=fd();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=$t,g.resume=$t,g.pause=$t,g}}const u=Ve;i.call=(g,y,_)=>Lt(g,u,y,_);let d=!1;a==="post"?i.scheduler=g=>{st(g,u&&u.suspense)}:a!=="sync"&&(d=!0,i.scheduler=(g,y)=>{y?g():Ra(g)}),i.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const h=od(e,t,i);return Mo&&(c?c.push(h):l&&h()),h}function pd(e,t,o){const n=this.proxy,s=xe(e)?e.includes(".")?Vr(n,e):()=>n[e]:e.bind(n,n);let a;de(t)?a=t:(a=t.handler,o=t);const r=dn(this),i=Fa(s,a.bind(n),o);return r(),i}function Vr(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;se.__isTeleport,bd=Symbol("_leaveCb");function Da(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Da(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function tn(e,t){return de(e)?Ie({name:e.name},t,{setup:e}):e}function Ba(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Wr(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Gn=new WeakMap;function on(e,t,o,n,s=!1){if(ce(e)){e.forEach((_,E)=>on(_,t&&(ce(t)?t[E]:t),o,n,s));return}if(xo(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&on(e,t,o,n.component.subTree);return}const a=n.shapeFlag&4?Xn(n.component):n.el,r=s?null:a,{i,r:l}=e,c=t&&t.r,u=i.refs===we?i.refs={}:i.refs,d=i.setupState,h=_e(d),g=d===we?sr:_=>Wr(u,_)?!1:Ae(h,_),y=(_,E)=>!(E&&Wr(u,E));if(c!=null&&c!==l){if(zr(t),xe(c))u[c]=null,g(c)&&(d[c]=null);else if(Me(c)){const _=t;y(c,_.k)&&(c.value=null),_.k&&(u[_.k]=null)}}if(de(l))To(l,i,12,[r,u]);else{const _=xe(l),E=Me(l);if(_||E){const v=()=>{if(e.f){const w=_?g(l)?d[l]:u[l]:y()||!e.k?l.value:u[e.k];if(s)ce(w)&&ba(w,a);else if(ce(w))w.includes(a)||w.push(a);else if(_)u[l]=[a],g(l)&&(d[l]=u[l]);else{const S=[a];y(l,e.k)&&(l.value=S),e.k&&(u[e.k]=S)}}else _?(u[l]=r,g(l)&&(d[l]=r)):E&&(y(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const w=()=>{v(),Gn.delete(e)};w.id=-1,Gn.set(e,w),st(w,o)}else zr(e),v()}}}function zr(e){const t=Gn.get(e);t&&(t.flags|=8,Gn.delete(e))}const Yr=e=>e.nodeType===8;xn().requestIdleCallback,xn().cancelIdleCallback;function _d(e,t){if(Yr(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Yr(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const xo=e=>!!e.type.__asyncLoader;function yd(e){de(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:s=200,hydrate:a,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,d=0;const h=()=>(d++,c=null,g()),g=()=>{let y;return c||(y=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((E,v)=>{l(_,()=>E(h()),()=>v(_),d+1)});throw _}).then(_=>y!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),u=_,_)))};return tn({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(y,_,E){let v=!1;(_.bu||(_.bu=[])).push(()=>v=!0);const w=()=>{v||E()},S=a?()=>{const m=a(w,T=>_d(y,T));m&&(_.bum||(_.bum=[])).push(m)}:w;u?S():g().then(()=>!_.isUnmounted&&S())},get __asyncResolved(){return u},setup(){const y=Ve;if(Ba(y),u)return()=>Hn(u,y);const _=S=>{c=null,Zo(S,y,13,!n)};if(i&&y.suspense||Mo)return g().then(S=>()=>Hn(S,y)).catch(S=>(_(S),()=>n?ve(n,{error:S}):null));const E=fe(!1),v=fe(),w=fe(!!s);return s&&setTimeout(()=>{w.value=!1},s),r!=null&&setTimeout(()=>{if(!E.value&&!v.value){const S=new Error(`Async component timed out after ${r}ms.`);_(S),v.value=S}},r),g().then(()=>{E.value=!0,y.parent&&Ka(y.parent.vnode)&&y.parent.update()}).catch(S=>{_(S),v.value=S}),()=>{if(E.value&&u)return Hn(u,y);if(v.value&&n)return ve(n,{error:v.value});if(o&&!w.value)return Hn(o,y)}}})}function Hn(e,t){const{ref:o,props:n,children:s,ce:a}=t.vnode,r=ve(e,n,s);return r.ref=o,r.ce=a,delete t.vnode.ce,r}const Ka=e=>e.type.__isKeepAlive;function vd(e,t){Jr(e,"a",t)}function Sd(e,t){Jr(e,"da",t)}function Jr(e,t,o=Ve){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Vn(t,n,o),o){let s=o.parent;for(;s&&s.parent;)Ka(s.parent.vnode)&&$d(n,t,o,s),s=s.parent}}function $d(e,t,o,n){const s=Vn(t,e,n,!0);ja(()=>{ba(n[t],s)},o)}function Vn(e,t,o=Ve,n=!1){if(o){const s=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...r)=>{Et();const i=dn(o),l=Lt(t,o,e,r);return i(),wt(),l});return n?s.unshift(a):s.push(a),a}}const jt=e=>(t,o=Ve)=>{(!Mo||e==="sp")&&Vn(e,(...n)=>t(...n),o)},qr=jt("bm"),at=jt("m"),Ad=jt("bu"),kd=jt("u"),Qt=jt("bum"),ja=jt("um"),Ed=jt("sp"),wd=jt("rtg"),Td=jt("rtc");function Cd(e,t=Ve){Vn("ec",e,t)}const Ld="components",Xr=Symbol.for("v-ndc");function Pd(e){return xe(e)?xd(Ld,e,!1)||e:e||Xr}function xd(e,t,o=!0,n=!1){const s=Ge||Ve;if(s){const a=s.type;{const i=Ni(a,!1);if(i&&(i===t||i===je(t)||i===Ln(je(t))))return a}const r=Zr(s[e]||a[e],t)||Zr(s.appContext[e],t);return!r&&n?a:r}}function Zr(e,t){return e&&(e[t]||e[je(t)]||e[Ln(je(t))])}function He(e,t,o,n){let s;const a=o,r=ce(e);if(r||xe(e)){const i=r&&Dt(e);let l=!1,c=!1;i&&(l=!ct(e),c=Bt(e),e=Mn(e)),s=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,a));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l0;return V(),yo(ye,null,[ve("slot",o,n)],c?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),V();const r=a&&ei(a(o)),i=o.key||r&&r.key,l=yo(ye,{key:(i&&!lt(i)?i:`_${t}`)+(!r&&n?"_fb":"")},r||[],r&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function ei(e){return e.some(t=>cn(t)?!(t.type===Ut||t.type===ye&&!ei(t.children)):!0)?e:null}const Ua=e=>e?Li(e)?Xn(e):Ua(e.parent):null,nn=Ie(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=>ai(e),$forceUpdate:e=>e.f||(e.f=()=>{Ra(e.update)}),$nextTick:e=>e.n||(e.n=Qo.bind(e.proxy)),$watch:e=>pd.bind(e)}),Ga=(e,t)=>e!==we&&!e.__isScriptSetup&&Ae(e,t),Nd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:a,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const h=r[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return a[t]}else{if(Ga(n,t))return r[t]=1,n[t];if(s!==we&&Ae(s,t))return r[t]=2,s[t];if(Ae(a,t))return r[t]=3,a[t];if(o!==we&&Ae(o,t))return r[t]=4,o[t];Ha&&(r[t]=0)}}const c=nn[t];let u,d;if(c)return t==="$attrs"&&Je(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==we&&Ae(o,t))return r[t]=4,o[t];if(d=l.config.globalProperties,Ae(d,t))return d[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:a}=e;return Ga(s,t)?(s[t]=o,!0):n!==we&&Ae(n,t)?(n[t]=o,!0):Ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:a,type:r}},i){let l;return!!(o[i]||e!==we&&i[0]!=="$"&&Ae(e,i)||Ga(t,i)||Ae(a,i)||Ae(n,i)||Ae(nn,i)||Ae(s.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ae(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ti(e){return ce(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Ha=!0;function Md(e){const t=ai(e),o=e.proxy,n=e.ctx;Ha=!1,t.beforeCreate&&oi(t.beforeCreate,e,"bc");const{data:s,computed:a,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:g,updated:y,activated:_,deactivated:E,beforeDestroy:v,beforeUnmount:w,destroyed:S,unmounted:m,render:T,renderTracked:C,renderTriggered:x,errorCaptured:R,serverPrefetch:M,expose:J,inheritAttrs:le,components:N,directives:ne,filters:A}=t;if(c&&Id(c,n,null),r)for(const W in r){const Z=r[W];de(Z)&&(n[W]=Z.bind(o))}if(s){const W=s.call(o,o);ke(W)&&(e.data=po(W))}if(Ha=!0,a)for(const W in a){const Z=a[W],ae=de(Z)?Z.bind(o,o):de(Z.get)?Z.get.bind(o,o):$t,oe=!de(Z)&&de(Z.set)?Z.set.bind(o):$t,pe=ee({get:ae,set:oe});Object.defineProperty(n,W,{enumerable:!0,configurable:!0,get:()=>pe.value,set:G=>pe.value=G})}if(i)for(const W in i)ni(i[W],n,o,W);if(l){const W=de(l)?l.call(o):l;Reflect.ownKeys(W).forEach(Z=>{gt(Z,W[Z])})}u&&oi(u,e,"c");function U(W,Z){ce(Z)?Z.forEach(ae=>W(ae.bind(o))):Z&&W(Z.bind(o))}if(U(qr,d),U(at,h),U(Ad,g),U(kd,y),U(vd,_),U(Sd,E),U(Cd,R),U(Td,C),U(wd,x),U(Qt,w),U(ja,m),U(Ed,M),ce(J))if(J.length){const W=e.exposed||(e.exposed={});J.forEach(Z=>{Object.defineProperty(W,Z,{get:()=>o[Z],set:ae=>o[Z]=ae,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===$t&&(e.render=T),le!=null&&(e.inheritAttrs=le),N&&(e.components=N),ne&&(e.directives=ne),M&&Ba(e)}function Id(e,t,o=$t){ce(e)&&(e=Va(e));for(const n in e){const s=e[n];let a;ke(s)?"default"in s?a=Ce(s.from||n,s.default,!0):a=Ce(s.from||n):a=Ce(s),Me(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:r=>a.value=r}):t[n]=a}}function oi(e,t,o){Lt(ce(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function ni(e,t,o,n){let s=n.includes(".")?Vr(o,n):()=>o[n];if(xe(e)){const a=t[e];de(a)&&nt(s,a)}else if(de(e))nt(s,e.bind(o));else if(ke(e))if(ce(e))e.forEach(a=>ni(a,t,o,n));else{const a=de(e.handler)?e.handler.bind(o):t[e.handler];de(a)&&nt(s,a,e)}}function ai(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:a,config:{optionMergeStrategies:r}}=e.appContext,i=a.get(t);let l;return i?l=i:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(c=>Wn(l,c,r,!0)),Wn(l,t,r)),ke(t)&&a.set(t,l),l}function Wn(e,t,o,n=!1){const{mixins:s,extends:a}=t;a&&Wn(e,a,o,!0),s&&s.forEach(r=>Wn(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=Rd[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const Rd={data:si,props:ri,emits:ri,methods:an,computed:an,beforeCreate:Ze,created:Ze,beforeMount:Ze,mounted:Ze,beforeUpdate:Ze,updated:Ze,beforeDestroy:Ze,beforeUnmount:Ze,destroyed:Ze,unmounted:Ze,activated:Ze,deactivated:Ze,errorCaptured:Ze,serverPrefetch:Ze,components:an,directives:an,watch:Fd,provide:si,inject:Od};function si(e,t){return t?e?function(){return Ie(de(e)?e.call(this,this):e,de(t)?t.call(this,this):t)}:t:e}function Od(e,t){return an(Va(e),Va(t))}function Va(e){if(ce(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${je(t)}Modifiers`]||e[`${ft(t)}Modifiers`];function jd(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||we;let s=o;const a=t.startsWith("update:"),r=a&&Kd(n,t.slice(7));r&&(r.trim&&(s=o.map(u=>xe(u)?u.trim():u)),r.number&&(s=o.map(ya)));let i,l=n[i=_a(t)]||n[i=_a(je(t))];!l&&a&&(l=n[i=_a(ft(t))]),l&&Lt(l,e,6,s);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Lt(c,e,6,s)}}const Ud=new WeakMap;function li(e,t,o=!1){const n=o?Ud:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const a=e.emits;let r={},i=!1;if(!de(e)){const l=c=>{const u=li(c,t,!0);u&&(i=!0,Ie(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!i?(ke(e)&&n.set(e,null),null):(ce(a)?a.forEach(l=>r[l]=null):Ie(r,a),ke(e)&&n.set(e,r),r)}function zn(e,t){return!e||!kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ae(e,t[0].toLowerCase()+t.slice(1))||Ae(e,ft(t))||Ae(e,t))}function Av(){}function ci(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[a],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:d,data:h,setupState:g,ctx:y,inheritAttrs:_}=e,E=Un(e);let v,w;try{if(o.shapeFlag&4){const m=s||n,T=m;v=xt(c.call(T,m,u,d,g,h,y)),w=i}else{const m=t;v=xt(m.length>1?m(d,{attrs:i,slots:r,emit:l}):m(d,null)),w=t.props?i:Gd(i)}}catch(m){rn.length=0,Zo(m,e,1),v=ve(Ut)}let S=v;if(w&&_!==!1){const m=Object.keys(w),{shapeFlag:T}=S;m.length&&T&7&&(a&&m.some(En)&&(w=Hd(w,a)),S=No(S,w,!1,!0))}return o.dirs&&(S=No(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(o.dirs):o.dirs),o.transition&&Da(S,o.transition),v=S,Un(E),v}const Gd=e=>{let t;for(const o in e)(o==="class"||o==="style"||kn(o))&&((t||(t={}))[o]=e[o]);return t},Hd=(e,t)=>{const o={};for(const n in e)(!En(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Vd(e,t,o){const{props:n,children:s,component:a}=e,{props:r,children:i,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?ui(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(fi),pi=e=>Object.getPrototypeOf(e)===fi;function zd(e,t,o,n=!1){const s={},a=gi();e.propsDefaults=Object.create(null),hi(e,t,s,a);for(const r in e.propsOptions[0])r in s||(s[r]=void 0);o?e.props=n?s:zu(s):e.type.props?e.props=s:e.props=a,e.attrs=a}function Yd(e,t,o,n){const{props:s,attrs:a,vnode:{patchFlag:r}}=e,i=_e(s),[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[h,g]=mi(d,t,!0);Ie(r,h),g&&i.push(...g)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return ke(e)&&n.set(e,Ao),Ao;if(ce(a))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ya=e=>ce(e)?e.map(xt):[xt(e)],qd=(e,t,o)=>{if(t._n)return t;const n=Oa((...s)=>Ya(t(...s)),o);return n._c=!1,n},_i=(e,t,o)=>{const n=e._ctx;for(const s in e){if(za(s))continue;const a=e[s];if(de(a))t[s]=qd(s,a,n);else if(a!=null){const r=Ya(a);t[s]=()=>r}}},yi=(e,t)=>{const o=Ya(t);e.slots.default=()=>o},vi=(e,t,o)=>{for(const n in t)(o||!za(n))&&(e[n]=t[n])},Xd=(e,t,o)=>{const n=e.slots=gi();if(e.vnode.shapeFlag&32){const s=t._;s?(vi(n,t,o),o&&ur(n,"_",s,!0)):_i(t,n)}else t&&yi(e,t)},Zd=(e,t,o)=>{const{vnode:n,slots:s}=e;let a=!0,r=we;if(n.shapeFlag&32){const i=t._;i?o&&i===1?a=!1:vi(s,t,o):(a=!t.$stable,_i(t,s)),r=t}else t&&(yi(e,t),r={default:1});if(a)for(const i in s)!za(i)&&r[i]==null&&delete s[i]},st=nf;function Qd(e){return ef(e)}function ef(e,t){const o=xn();o.__VUE__=!0;const{insert:n,remove:s,patchProp:a,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:g=$t,insertStaticContent:y}=e,_=(b,k,$,I=null,K=null,j=null,q=void 0,Y=null,f=!!k.dynamicChildren)=>{if(b===k)return;b&&!un(b,k)&&(I=mt(b),G(b,K,j,!0),b=null),k.patchFlag===-2&&(f=!1,k.dynamicChildren=null);const{type:p,ref:P,shapeFlag:O}=k;switch(p){case sn:E(b,k,$,I);break;case Ut:v(b,k,$,I);break;case qa:b==null&&w(k,$,I,q);break;case ye:N(b,k,$,I,K,j,q,Y,f);break;default:O&1?T(b,k,$,I,K,j,q,Y,f):O&6?ne(b,k,$,I,K,j,q,Y,f):(O&64||O&128)&&p.process(b,k,$,I,K,j,q,Y,f,tt)}P!=null&&K?on(P,b&&b.ref,j,k||b,!k):P==null&&b&&b.ref!=null&&on(b.ref,null,j,b,!0)},E=(b,k,$,I)=>{if(b==null)n(k.el=i(k.children),$,I);else{const K=k.el=b.el;k.children!==b.children&&c(K,k.children)}},v=(b,k,$,I)=>{b==null?n(k.el=l(k.children||""),$,I):k.el=b.el},w=(b,k,$,I)=>{[b.el,b.anchor]=y(b.children,k,$,I,b.el,b.anchor)},S=({el:b,anchor:k},$,I)=>{let K;for(;b&&b!==k;)K=h(b),n(b,$,I),b=K;n(k,$,I)},m=({el:b,anchor:k})=>{let $;for(;b&&b!==k;)$=h(b),s(b),b=$;s(k)},T=(b,k,$,I,K,j,q,Y,f)=>{if(k.type==="svg"?q="svg":k.type==="math"&&(q="mathml"),b==null)C(k,$,I,K,j,q,Y,f);else{const p=b.el&&b.el._isVueCE?b.el:null;try{p&&p._beginPatch(),M(b,k,K,j,q,Y,f)}finally{p&&p._endPatch()}}},C=(b,k,$,I,K,j,q,Y)=>{let f,p;const{props:P,shapeFlag:O,transition:X,dirs:H}=b;if(f=b.el=r(b.type,j,P&&P.is,P),O&8?u(f,b.children):O&16&&R(b.children,f,null,I,K,Ja(b,j),q,Y),H&&mo(b,null,I,"created"),x(f,b,b.scopeId,q,I),P){for(const F in P)F!=="value"&&!Go(F)&&a(f,F,null,P[F],j,I);"value"in P&&a(f,"value",null,P.value,j),(p=P.onVnodeBeforeMount)&&Nt(p,I,b)}H&&mo(b,null,I,"beforeMount");const L=tf(K,X);L&&X.beforeEnter(f),n(f,k,$),((p=P&&P.onVnodeMounted)||L||H)&&st(()=>{try{p&&Nt(p,I,b),L&&X.enter(f),H&&mo(b,null,I,"mounted")}finally{}},K)},x=(b,k,$,I,K)=>{if($&&g(b,$),I)for(let j=0;j{for(let p=f;p{const Y=k.el=b.el;let{patchFlag:f,dynamicChildren:p,dirs:P}=k;f|=b.patchFlag&16;const O=b.props||we,X=k.props||we;let H;if($&&_o($,!1),(H=X.onVnodeBeforeUpdate)&&Nt(H,$,k,b),P&&mo(k,b,$,"beforeUpdate"),$&&_o($,!0),(O.innerHTML&&X.innerHTML==null||O.textContent&&X.textContent==null)&&u(Y,""),p?J(b.dynamicChildren,p,Y,$,I,Ja(k,K),j):q||Z(b,k,Y,null,$,I,Ja(k,K),j,!1),f>0){if(f&16)le(Y,O,X,$,K);else if(f&2&&O.class!==X.class&&a(Y,"class",null,X.class,K),f&4&&a(Y,"style",O.style,X.style,K),f&8){const L=k.dynamicProps;for(let F=0;F{H&&Nt(H,$,k,b),P&&mo(k,b,$,"updated")},I)},J=(b,k,$,I,K,j,q)=>{for(let Y=0;Y{if(k!==$){if(k!==we)for(const j in k)!Go(j)&&!(j in $)&&a(b,j,k[j],null,K,I);for(const j in $){if(Go(j))continue;const q=$[j],Y=k[j];q!==Y&&j!=="value"&&a(b,j,Y,q,K,I)}"value"in $&&a(b,"value",k.value,$.value,K)}},N=(b,k,$,I,K,j,q,Y,f)=>{const p=k.el=b?b.el:i(""),P=k.anchor=b?b.anchor:i("");let{patchFlag:O,dynamicChildren:X,slotScopeIds:H}=k;H&&(Y=Y?Y.concat(H):H),b==null?(n(p,$,I),n(P,$,I),R(k.children||[],$,P,K,j,q,Y,f)):O>0&&O&64&&X&&b.dynamicChildren&&b.dynamicChildren.length===X.length?(J(b.dynamicChildren,X,$,K,j,q,Y),(k.key!=null||K&&k===K.subTree)&&Si(b,k,!0)):Z(b,k,$,P,K,j,q,Y,f)},ne=(b,k,$,I,K,j,q,Y,f)=>{k.slotScopeIds=Y,b==null?k.shapeFlag&512?K.ctx.activate(k,$,I,q,f):A(k,$,I,K,j,q,f):B(b,k,f)},A=(b,k,$,I,K,j,q)=>{const Y=b.component=df(b,I,K);if(Ka(b)&&(Y.ctx.renderer=tt),ff(Y,!1,q),Y.asyncDep){if(K&&K.registerDep(Y,U,q),!b.el){const f=Y.subTree=ve(Ut);v(null,f,k,$),b.placeholder=f.el}}else U(Y,b,k,$,K,j,q)},B=(b,k,$)=>{const I=k.component=b.component;if(Vd(b,k,$))if(I.asyncDep&&!I.asyncResolved){W(I,k,$);return}else I.next=k,I.update();else k.el=b.el,I.vnode=k},U=(b,k,$,I,K,j,q)=>{const Y=()=>{if(b.isMounted){let{next:O,bu:X,u:H,parent:L,vnode:F}=b;{const Ye=$i(b);if(Ye){O&&(O.el=F.el,W(b,O,q)),Ye.asyncDep.then(()=>{st(()=>{b.isUnmounted||p()},K)});return}}let ie=O,he;_o(b,!1),O?(O.el=F.el,W(b,O,q)):O=F,X&&Pn(X),(he=O.props&&O.props.onVnodeBeforeUpdate)&&Nt(he,L,O,F),_o(b,!0);const Pe=ci(b),ot=b.subTree;b.subTree=Pe,_(ot,Pe,d(ot.el),mt(ot),b,K,j),O.el=Pe.el,ie===null&&Wd(b,Pe.el),H&&st(H,K),(he=O.props&&O.props.onVnodeUpdated)&&st(()=>Nt(he,L,O,F),K)}else{let O;const{el:X,props:H}=k,{bm:L,m:F,parent:ie,root:he,type:Pe}=b,ot=xo(k);_o(b,!1),L&&Pn(L),!ot&&(O=H&&H.onVnodeBeforeMount)&&Nt(O,ie,k),_o(b,!0);{he.ce&&he.ce._hasShadowRoot()&&he.ce._injectChildStyle(Pe,b.parent?b.parent.type:void 0);const Ye=b.subTree=ci(b);_(null,Ye,$,I,b,K,j),k.el=Ye.el}if(F&&st(F,K),!ot&&(O=H&&H.onVnodeMounted)){const Ye=k;st(()=>Nt(O,ie,Ye),K)}(k.shapeFlag&256||ie&&xo(ie.vnode)&&ie.vnode.shapeFlag&256)&&b.a&&st(b.a,K),b.isMounted=!0,k=$=I=null}};b.scope.on();const f=b.effect=new _r(Y);b.scope.off();const p=b.update=f.run.bind(f),P=b.job=f.runIfDirty.bind(f);P.i=b,P.id=b.uid,f.scheduler=()=>Ra(P),_o(b,!0),p()},W=(b,k,$)=>{k.component=b;const I=b.vnode.props;b.vnode=k,b.next=null,Yd(b,k.props,I,$),Zd(b,k.children,$),Et(),jr(b),wt()},Z=(b,k,$,I,K,j,q,Y,f=!1)=>{const p=b&&b.children,P=b?b.shapeFlag:0,O=k.children,{patchFlag:X,shapeFlag:H}=k;if(X>0){if(X&128){oe(p,O,$,I,K,j,q,Y,f);return}else if(X&256){ae(p,O,$,I,K,j,q,Y,f);return}}H&8?(P&16&&ze(p,K,j),O!==p&&u($,O)):P&16?H&16?oe(p,O,$,I,K,j,q,Y,f):ze(p,K,j,!0):(P&8&&u($,""),H&16&&R(O,$,I,K,j,q,Y,f))},ae=(b,k,$,I,K,j,q,Y,f)=>{b=b||Ao,k=k||Ao;const p=b.length,P=k.length,O=Math.min(p,P);let X;for(X=0;XP?ze(b,K,j,!0,!1,O):R(k,$,I,K,j,q,Y,f,O)},oe=(b,k,$,I,K,j,q,Y,f)=>{let p=0;const P=k.length;let O=b.length-1,X=P-1;for(;p<=O&&p<=X;){const H=b[p],L=k[p]=f?Gt(k[p]):xt(k[p]);if(un(H,L))_(H,L,$,null,K,j,q,Y,f);else break;p++}for(;p<=O&&p<=X;){const H=b[O],L=k[X]=f?Gt(k[X]):xt(k[X]);if(un(H,L))_(H,L,$,null,K,j,q,Y,f);else break;O--,X--}if(p>O){if(p<=X){const H=X+1,L=HX)for(;p<=O;)G(b[p],K,j,!0),p++;else{const H=p,L=p,F=new Map;for(p=L;p<=X;p++){const dt=k[p]=f?Gt(k[p]):xt(k[p]);dt.key!=null&&F.set(dt.key,p)}let ie,he=0;const Pe=X-L+1;let ot=!1,Ye=0;const $o=new Array(Pe);for(p=0;p=Pe){G(dt,K,j,!0);continue}let Rt;if(dt.key!=null)Rt=F.get(dt.key);else for(ie=L;ie<=X;ie++)if($o[ie-L]===0&&un(dt,k[ie])){Rt=ie;break}Rt===void 0?G(dt,K,j,!0):($o[Rt-L]=p+1,Rt>=Ye?Ye=Rt:ot=!0,_(dt,k[Rt],$,null,K,j,q,Y,f),he++)}const ar=ot?of($o):Ao;for(ie=ar.length-1,p=Pe-1;p>=0;p--){const dt=L+p,Rt=k[dt],pu=k[dt+1],hu=dt+1{const{el:j,type:q,transition:Y,children:f,shapeFlag:p}=b;if(p&6){pe(b.component.subTree,k,$,I);return}if(p&128){b.suspense.move(k,$,I);return}if(p&64){q.move(b,k,$,tt);return}if(q===ye){n(j,k,$);for(let O=0;OY.enter(j),K);else{const{leave:O,delayLeave:X,afterLeave:H}=Y,L=()=>{b.ctx.isUnmounted?s(j):n(j,k,$)},F=()=>{j._isLeaving&&j[bd](!0),O(j,()=>{L(),H&&H()})};X?X(j,L,F):F()}else n(j,k,$)},G=(b,k,$,I=!1,K=!1)=>{const{type:j,props:q,ref:Y,children:f,dynamicChildren:p,shapeFlag:P,patchFlag:O,dirs:X,cacheIndex:H,memo:L}=b;if(O===-2&&(K=!1),Y!=null&&(Et(),on(Y,null,$,b,!0),wt()),H!=null&&(k.renderCache[H]=void 0),P&256){k.ctx.deactivate(b);return}const F=P&1&&X,ie=!xo(b);let he;if(ie&&(he=q&&q.onVnodeBeforeUnmount)&&Nt(he,k,b),P&6)Ke(b.component,$,I);else{if(P&128){b.suspense.unmount($,I);return}F&&mo(b,null,k,"beforeUnmount"),P&64?b.type.remove(b,k,$,tt,I):p&&!p.hasOnce&&(j!==ye||O>0&&O&64)?ze(p,k,$,!1,!0):(j===ye&&O&384||!K&&P&16)&&ze(f,k,$),I&&se(b)}const Pe=L!=null&&H==null;(ie&&(he=q&&q.onVnodeUnmounted)||F||Pe)&&st(()=>{he&&Nt(he,k,b),F&&mo(b,null,k,"unmounted"),Pe&&(b.el=null)},$)},se=b=>{const{type:k,el:$,anchor:I,transition:K}=b;if(k===ye){$e($,I);return}if(k===qa){m(b);return}const j=()=>{s($),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(b.shapeFlag&1&&K&&!K.persisted){const{leave:q,delayLeave:Y}=K,f=()=>q($,j);Y?Y(b.el,j,f):f()}else j()},$e=(b,k)=>{let $;for(;b!==k;)$=h(b),s(b),b=$;s(k)},Ke=(b,k,$)=>{const{bum:I,scope:K,job:j,subTree:q,um:Y,m:f,a:p}=b;Ai(f),Ai(p),I&&Pn(I),K.stop(),j&&(j.flags|=8,G(q,b,k,$)),Y&&st(Y,k),st(()=>{b.isUnmounted=!0},k)},ze=(b,k,$,I=!1,K=!1,j=0)=>{for(let q=j;q{if(b.shapeFlag&6)return mt(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const k=h(b.anchor||b.el),$=k&&k[hd];return $?h($):k};let re=!1;const et=(b,k,$)=>{let I;b==null?k._vnode&&(G(k._vnode,null,null,!0),I=k._vnode.component):_(k._vnode||null,b,k,null,null,null,$),k._vnode=b,re||(re=!0,jr(I),Ur(),re=!1)},tt={p:_,um:G,m:pe,r:se,mt:A,mc:R,pc:Z,pbc:J,n:mt,o:e};return{render:et,hydrate:void 0,createApp:Bd(et)}}function Ja({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 _o({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Si(e,t,o=!1){const n=e.children,s=t.children;if(ce(n)&&ce(s))for(let a=0;a>1,e[o[i]]0&&(t[n]=o[a-1]),o[a]=n)}}for(a=o.length,r=o[a-1];a-- >0;)o[a]=r,r=t[r];return o}function $i(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$i(t)}function Ai(e){if(e)for(let t=0;te.__isSuspense;function nf(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):cd(e)}const ye=Symbol.for("v-fgt"),sn=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),qa=Symbol.for("v-stc"),rn=[];let ut=null;function V(e=!1){rn.push(ut=e?null:[])}function af(){rn.pop(),ut=rn[rn.length-1]||null}let ln=1;function Yn(e,t=!1){ln+=e,e<0&&ut&&t&&(ut.hasOnce=!0)}function wi(e){return e.dynamicChildren=ln>0?ut||Ao:null,af(),ln>0&&ut&&ut.push(e),e}function z(e,t,o,n,s,a){return wi(D(e,t,o,n,s,a,!0))}function yo(e,t,o,n,s){return wi(ve(e,t,o,n,s,!0))}function cn(e){return e?e.__v_isVNode===!0:!1}function un(e,t){return e.type===t.type&&e.key===t.key}const Ti=({key:e})=>e??null,Jn=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Me(e)||de(e)?{i:Ge,r:e,k:t,f:!!o}:e:null);function D(e,t=null,o=null,n=0,s=null,a=e===ye?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ti(t),ref:t&&Jn(t),scopeId:Hr,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:a,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ge};return i?(Xa(l,o),a&128&&e.normalize(l)):o&&(l.shapeFlag|=xe(o)?8:16),ln>0&&!r&&ut&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&ut.push(l),l}const ve=sf;function sf(e,t=null,o=null,n=0,s=null,a=!1){if((!e||e===Xr)&&(e=Ut),cn(e)){const i=No(e,t,!0);return o&&Xa(i,o),ln>0&&!a&&ut&&(i.shapeFlag&6?ut[ut.indexOf(e)]=i:ut.push(i)),i.patchFlag=-2,i}if(_f(e)&&(e=e.__vccOpts),t){t=rf(t);let{class:i,style:l}=t;i&&!xe(i)&&(t.class=Re(i)),ke(l)&&(Dn(l)&&!ce(l)&&(l=Ie({},l)),t.style=kt(l))}const r=xe(e)?1:Ei(e)?128:md(e)?64:ke(e)?4:de(e)?2:0;return D(e,t,o,n,s,r,a,!0)}function rf(e){return e?Dn(e)||pi(e)?Ie({},e):e:null}function No(e,t,o=!1,n=!1){const{props:s,ref:a,patchFlag:r,children:i,transition:l}=e,c=t?lf(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ti(c),ref:t&&t.ref?o&&a?ce(a)?a.concat(Jn(t)):[a,Jn(t)]:Jn(t):a,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!==ye?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&&No(e.ssContent),ssFallback:e.ssFallback&&No(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Da(u,l.clone(u)),u}function qe(e=" ",t=0){return ve(sn,null,e,t)}function De(e="",t=!1){return t?(V(),yo(Ut,null,e)):ve(Ut,null,e)}function xt(e){return e==null||typeof e=="boolean"?ve(Ut):ce(e)?ve(ye,null,e.slice()):cn(e)?Gt(e):ve(sn,null,String(e))}function Gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:No(e)}function Xa(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ce(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Xa(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!pi(t)?t._ctx=Ge:s===3&&Ge&&(Ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else de(t)?(t={default:t,_ctx:Ge},o=32):(t=String(t),n&64?(o=16,t=[qe(t)]):o=8);e.children=t,e.shapeFlag|=o}function lf(...e){const t={};for(let o=0;oVe||Ge;let qn,Za;{const e=xn(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),a=>{s.length>1?s.forEach(r=>r(a)):s[0](a)}};qn=t("__VUE_INSTANCE_SETTERS__",o=>Ve=o),Za=t("__VUE_SSR_SETTERS__",o=>Mo=o)}const dn=e=>{const t=Ve;return qn(e),e.scope.on(),()=>{e.scope.off(),qn(t)}},Ci=()=>{Ve&&Ve.scope.off(),qn(null)};function Li(e){return e.vnode.shapeFlag&4}let Mo=!1;function ff(e,t=!1,o=!1){t&&Za(t);const{props:n,children:s}=e.vnode,a=Li(e);zd(e,n,a,t),Xd(e,s,o||t);const r=a?gf(e,t):void 0;return t&&Za(!1),r}function gf(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nd);const{setup:n}=o;if(n){Et();const s=e.setupContext=n.length>1?hf(e):null,a=dn(e),r=To(n,e,0,[e.props,s]),i=lr(r);if(wt(),a(),(i||e.sp)&&!xo(e)&&Ba(e),i){if(r.then(Ci,Ci),t)return r.then(l=>{Pi(e,l)}).catch(l=>{Zo(l,e,0)});e.asyncDep=r}else Pi(e,r)}else xi(e)}function Pi(e,t,o){de(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=Fr(t)),xi(e)}function xi(e,t,o){const n=e.type;e.render||(e.render=n.render||$t);{const s=dn(e);Et();try{Md(e)}finally{wt(),s()}}}const pf={get(e,t){return Je(e,"get",""),e[t]}};function hf(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,pf),slots:e.slots,emit:e.emit,expose:t}}function Xn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Fr(Jo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in nn)return nn[o](e)},has(t,o){return o in t||o in nn}})):e.proxy}const mf=/(?:^|[-_])\w/g,bf=e=>e.replace(mf,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ni(e,t=!0){return de(e)?e.displayName||e.name:e.name||t&&e.__name}function Mi(e,t,o=!1){let n=Ni(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=a=>{for(const r in a)if(a[r]===t)return r};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?bf(n):o?"App":"Anonymous"}function _f(e){return de(e)&&"__vccOpts"in e}const ee=(e,t)=>ed(e,t,Mo);function Ii(e,t,o){try{Yn(-1);const n=arguments.length;return n===2?ke(t)&&!ce(t)?cn(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&cn(o)&&(o=[o]),ve(e,t,o))}finally{Yn(1)}}const yf="3.5.34";/** * @vue/runtime-dom v3.5.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Qa;const Ri=typeof window<"u"&&window.trustedTypes;if(Ri)try{Qa=Ri.createPolicy("vue",{createHTML:e=>e})}catch{}const Oi=Qa?e=>Qa.createHTML(e):e=>e,vf="http://www.w3.org/2000/svg",Sf="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,Fi=Ht&&Ht.createElement("template"),$f={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?Ht.createElementNS(vf,e):t==="mathml"?Ht.createElementNS(Sf,e):o?Ht.createElement(e,{is:o}):Ht.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,a){const r=o?o.previousSibling:t.lastChild;if(s&&(s===a||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===a||!(s=s.nextSibling)););else{Fi.innerHTML=Oi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=Fi.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[r?r.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Af=Symbol("_vtc");function kf(e,t,o){const n=e[Af];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Zn=Symbol("_vod"),Di=Symbol("_vsh"),fn={name:"show",beforeMount(e,{value:t},{transition:o}){e[Zn]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):gn(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),gn(e,!0),n.enter(e)):n.leave(e,()=>{gn(e,!1)}):gn(e,t))},beforeUnmount(e,{value:t}){gn(e,t)}};function gn(e,t){e.style.display=t?e[Zn]:"none",e[Di]=!t}const Ef=Symbol(""),wf=/(?:^|;)\s*display\s*:/;function Tf(e,t,o){const n=e.style,s=xe(o);let a=!1;if(o&&!s){if(t)if(xe(t))for(const r of t.split(";")){const i=r.slice(0,r.indexOf(":")).trim();o[i]==null&&pn(n,i,"")}else for(const r in t)o[r]==null&&pn(n,r,"");for(const r in o){r==="display"&&(a=!0);const i=o[r];i!=null?Lf(e,r,!xe(t)&&t?t[r]:void 0,i)||pn(n,r,i):pn(n,r,"")}}else if(s){if(t!==o){const r=n[Ef];r&&(o+=";"+r),n.cssText=o,a=wf.test(o)}}else t&&e.removeAttribute("style");Zn in e&&(e[Zn]=a?n.display:"",e[Di]&&(n.display="none"))}const Bi=/\s*!important$/;function pn(e,t,o){if(ce(o))o.forEach(n=>pn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))e.setProperty(t,o);else{const n=Cf(e,t);Bi.test(o)?e.setProperty(ft(n),o.replace(Bi,""),"important"):e[n]=o}}const Ki=["Webkit","Moz","ms"],es={};function Cf(e,t){const o=es[t];if(o)return o;let n=je(t);if(n!=="filter"&&n in e)return es[t]=n;n=Ln(n);for(let s=0;sts||(Mf.then(()=>ts=0),ts=Date.now());function Rf(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;Lt(Of(n,o.value),t,5,[n])};return o.value=e,o.attached=If(),o}function Of(e,t){if(ce(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const Wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ff=(e,t,o,n,s,a)=>{const r=s==="svg";t==="class"?kf(e,n,r):t==="style"?Tf(e,o,n):kn(t)?En(t)||xf(e,t,o,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Df(e,t,n,r))?(Gi(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ui(e,t,n,r,a,t!=="value")):e._isVueCE&&(Bf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xe(n)))?Gi(e,je(t),n,a,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ui(e,t,n,r))};function Df(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Wi(t)&&de(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Wi(t)&&xe(o)?!1:t in e}function Bf(e,t){const o=e._def.props;if(!o)return!1;const n=je(t);return Array.isArray(o)?o.some(s=>je(s)===n):Object.keys(o).some(s=>je(s)===n)}const zi={};function Kf(e,t,o){let n=tn(e,t);wn(n)&&(n=Ie({},n,t));class s extends os{constructor(r){super(n,r,o)}}return s.def=n,s}const jf=typeof HTMLElement<"u"?HTMLElement:class{};class os extends jf{constructor(t,o={},n=el){super(),this._def=t,this._props=o,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==el?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Ie({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof os){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Qo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:r}=n;let i;if(a&&!ce(a))for(const l in a){const c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=dr(this._props[l])),(i||(i=Object.create(null)))[je(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(r),this._mount(n)},o=this._def.__asyncLoader;o?this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Ae(this,n)||Object.defineProperty(this,n,{get:()=>Ct(o[n])})}_resolveProps(t){const{props:o}=t,n=ce(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(je))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(a){this._setProp(s,a,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):zi;const s=je(t);o&&this._numberProps&&this._numberProps[s]&&(n=dr(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===zi?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const a=this._ob;a&&(this._processMutations(a.takeRecords()),a.disconnect()),o===!0?this.setAttribute(ft(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(ft(t),o+""):o||this.removeAttribute(ft(t)),a&&a.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),zf(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=ve(this._def,Ie(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(a,r)=>{this.dispatchEvent(new CustomEvent(a,wn(r[0])?Ie({detail:r},r[0]):{detail:r}))};n.emit=(a,...r)=>{s(a,r),ft(a)!==a&&s(ft(a),r)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const s=this._nonce,a=this.shadowRoot,r=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(a);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");s&&c.setAttribute("nonce",s),c.textContent=t[l],a.insertBefore(c,i||r),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return ce(t)?o=>Pn(t,o):t};function Uf(e){e.target.composing=!0}function Ji(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ns=Symbol("_assign");function qi(e,t,o){return t&&(e=e.trim()),o&&(e=ya(e)),e}const Gf={created(e,{modifiers:{lazy:t,trim:o,number:n}},s){e[ns]=Yi(s);const a=n||s.props&&s.props.type==="number";Io(e,t?"change":"input",r=>{r.target.composing||e[ns](qi(e.value,o,a))}),(o||a)&&Io(e,"change",()=>{e.value=qi(e.value,o,a)}),t||(Io(e,"compositionstart",Uf),Io(e,"compositionend",Ji),Io(e,"change",Ji))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:s,number:a}},r){if(e[ns]=Yi(r),e.composing)return;const i=(a||e.type==="number")&&!/^0\d/.test(e.value)?ya(e.value):e.value,l=t??"";if(i===l)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(n&&t===o||s&&e.value.trim()===l)||(e.value=l)}},Hf=["ctrl","shift","alt","meta"],Vf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Hf.some(o=>e[`${o}Key`]&&!t.includes(o))},Xi=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...a)=>{for(let r=0;r{Qi().render(...e)},el=(...e)=>{const t=Qi().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=Jf(n);if(!s)return;const a=t._component;!de(a)&&!a.render&&!a.template&&(a.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=o(s,!1,Yf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},t};function Yf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Jf(e){return xe(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */let tl;const Qn=e=>tl=e,ol=Symbol();function as(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var hn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(hn||(hn={}));function qf(){const e=$a(!0),t=e.run(()=>fe({}));let o=[],n=[];const s=Jo({install(a){Qn(s),s._a=a,a.provide(ol,s),a.config.globalProperties.$pinia=s,n.forEach(r=>o.push(r)),n=[]},use(a){return this._a?o.push(a):n.push(a),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return s}const nl=()=>{};function al(e,t,o,n=nl){e.push(t);const s=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!o&&br()&&Tu(s),s}function Ro(e,...t){e.slice().forEach(o=>{o(...t)})}const Xf=e=>e(),sl=Symbol(),ss=Symbol();function rs(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],s=e[o];as(s)&&as(n)&&e.hasOwnProperty(o)&&!Me(n)&&!Dt(n)?e[o]=rs(s,n):e[o]=n}return e}const Zf=Symbol();function Qf(e){return!as(e)||!e.hasOwnProperty(Zf)}const{assign:to}=Object;function eg(e){return!!(Me(e)&&e.effect)}function tg(e,t,o,n){const{state:s,actions:a,getters:r}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=s?s():{});const u=qu(o.state.value[e]);return to(u,a,Object.keys(r||{}).reduce((d,h)=>(d[h]=Jo(ee(()=>{Qn(o);const g=o._s.get(e);return r[h].call(g,g)})),d),{}))}return l=rl(e,c,t,o,n,!0),l}function rl(e,t,o={},n,s,a){let r;const i=to({actions:{}},o),l={deep:!0};let c,u,d=[],h=[],g;const y=n.state.value[e];!a&&!y&&(n.state.value[e]={});let _;function E(R){let M;c=u=!1,typeof R=="function"?(R(n.state.value[e]),M={type:hn.patchFunction,storeId:e,events:g}):(rs(n.state.value[e],R),M={type:hn.patchObject,payload:R,storeId:e,events:g});const J=_=Symbol();Qo().then(()=>{_===J&&(c=!0)}),u=!0,Ro(d,M,n.state.value[e])}const v=a?function(){const{state:M}=o,J=M?M():{};this.$patch(le=>{to(le,J)})}:nl;function w(){r.stop(),d=[],h=[],n._s.delete(e)}const S=(R,M="")=>{if(sl in R)return R[ss]=M,R;const J=function(){Qn(n);const le=Array.from(arguments),N=[],ne=[];function A(W){N.push(W)}function B(W){ne.push(W)}Ro(h,{args:le,name:J[ss],store:T,after:A,onError:B});let U;try{U=R.apply(this&&this.$id===e?this:T,le)}catch(W){throw Ro(ne,W),W}return U instanceof Promise?U.then(W=>(Ro(N,W),W)).catch(W=>(Ro(ne,W),Promise.reject(W))):(Ro(N,U),U)};return J[sl]=!0,J[ss]=M,J},m={_p:n,$id:e,$onAction:al.bind(null,h),$patch:E,$reset:v,$subscribe(R,M={}){const J=al(d,R,M.detached,()=>le()),le=r.run(()=>nt(()=>n.state.value[e],N=>{(M.flush==="sync"?u:c)&&R({storeId:e,type:hn.direct,events:g},N)},to({},l,M)));return J},$dispose:w},T=po(m);n._s.set(e,T);const x=(n._a&&n._a.runWithContext||Xf)(()=>n._e.run(()=>(r=$a()).run(()=>t({action:S}))));for(const R in x){const M=x[R];if(Me(M)&&!eg(M)||Dt(M))a||(y&&Qf(M)&&(Me(M)?M.value=y[R]:rs(M,y[R])),n.state.value[e][R]=M);else if(typeof M=="function"){const J=S(M,R);x[R]=J,i.actions[R]=M}}return to(T,x),to(_e(T),x),Object.defineProperty(T,"$state",{get:()=>n.state.value[e],set:R=>{E(M=>{to(M,R)})}}),n._p.forEach(R=>{to(T,r.run(()=>R({store:T,app:n._a,pinia:n,options:i})))}),y&&a&&o.hydrate&&o.hydrate(T.$state,y),c=!0,u=!0,T}/*! #__NO_SIDE_EFFECTS__ */function is(e,t,o){let n,s;const a=typeof t=="function";typeof e=="string"?(n=e,s=a?o:t):(s=e,n=e.id);function r(i,l){const c=ud();return i=i||(c?Ce(ol,null):null),i&&Qn(i),i=tl,i._s.has(n)||(a?rl(n,t,s,i):tg(n,s,i)),i._s.get(n)}return r.$id=n,r}const og={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},ng={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},ag={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},sg={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",geoRegions:"مناطق",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},rg={menuComingSoon:"القائمة قادمة قريباً"},ig={clusterByRegion:"حسب منطقة",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},lg={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},cg={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},ug={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},dg={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},fg={prayForThem:"Für sie beten",adoptThem:"Sie adoptieren",moreInfo:"Mehr Infos",zoomIn:"Vergrößern",zoomOut:"Verkleinern",switchToLightMode:"Zum hellen Modus wechseln",switchToDarkMode:"Zum dunklen Modus wechseln",resetView:"Ansicht zurücksetzen",toggleFullscreen:"Vollbild umschalten",aboutThisMap:"Über diese Karte",closeMenu:"Menü schließen",reloadMap:"Karte neu laden",showClusters:"Cluster anzeigen",clusterSettings:"Cluster-Einstellungen",startAutoFly:"Auto-Flug starten",stopFlight:"Flug stoppen",speedLabel:"Geschwindigkeit:",speedOption:{slow:"Langsam",normal:"Normal",fast:"Schnell"},shareEmbed:"Teilen und einbetten"},gg={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},pg={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",geoRegions:"Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},hg={menuComingSoon:"Menü folgt in Kürze"},mg={clusterByRegion:"Nach Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},bg={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},_g={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle Daten"}},yg={prayer:"Gebet",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Volksgruppen",regions:"Regionen",countries:"Länder","language-families":"Sprachen",religion:"Religionen",family:"Sprachfamilie",language:"Sprache",dialect:"Dialekt/Varietät",bloc:"Affinitätsblock",cluster:"Cluster",group:"Volksgruppe",pgic:"Volksgruppe im Land",region:"WAGF-Region",block:"WAGF-Block",country:"Land"},vg={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Sg={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed"},$g={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Ag={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",geoRegions:"Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},kg={menuComingSoon:"Menu coming soon"},Eg={clusterByRegion:"By Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},wg={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Tg={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Cg={placeholder:"People, place, language, religion",labels:{people:"People:",place:"Place:",language:"Language:",religion:"Religion:"},kinds:{people:"People Group + Country",peopleGroup:"People Group",bloc:"Affinity Block",cluster:"People Cluster",country:"Country",region:"Region",family:"Language Family",languageKind:"Language",dialect:"Dialect",religionKind:"Religion"},sections:{within:"Within {selection}",allData:"All Data"}},Lg={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},Pg={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},xg={prayForThem:"Ora por ellos",adoptThem:"Adóptalos",moreInfo:"Más información",zoomIn:"Acercar",zoomOut:"Alejar",switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",resetView:"Restablecer vista",toggleFullscreen:"Alternar pantalla completa",aboutThisMap:"Acerca de este mapa",closeMenu:"Cerrar menú",reloadMap:"Recargar mapa",showClusters:"Mostrar clústeres",clusterSettings:"Ajustes de clústeres",startAutoFly:"Iniciar vuelo automático",stopFlight:"Detener vuelo",speedLabel:"Velocidad:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Compartir e incrustar"},Ng={labels:{country:"País:",population:"Población:",language:"Idioma:",religion:"Religión:",languageFamily:"Familia lingüística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"No hay descripción disponible."}},Mg={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",geoRegions:"Regiones",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Ig={menuComingSoon:"Menú próximamente"},Rg={clusterByRegion:"Por región",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},Og={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Fg={placeholder:"Pueblo, lugar, idioma, religión",labels:{people:"Pueblo:",place:"Lugar:",language:"Idioma:",religion:"Religión:"},kinds:{people:"Pueblo + país",peopleGroup:"Pueblo",bloc:"Bloque de afinidad",cluster:"Clúster de pueblos",country:"País",region:"Región",family:"Familia lingüística",languageKind:"Idioma",dialect:"Dialecto",religionKind:"Religión"}},Dg={prayer:"Oración",adoption:"Adopción",engagement:"Compromiso","affinity-blocks":"Pueblos",regions:"Regiones",countries:"Países","language-families":"Idiomas",religion:"Religiones",family:"Familia lingüística",language:"Idioma",dialect:"Dialecto/Variedad",bloc:"Bloque de afinidad",cluster:"Clúster",group:"Pueblo",pgic:"Pueblo en país",region:"Región WAGF",block:"Bloque WAGF",country:"País"},Bg={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},Kg={prayForThem:"Priez pour eux",adoptThem:"Adoptez-les",moreInfo:"Plus d'infos",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",switchToLightMode:"Passer au mode clair",switchToDarkMode:"Passer au mode sombre",resetView:"Réinitialiser la vue",toggleFullscreen:"Basculer en plein écran",aboutThisMap:"À propos de cette carte",closeMenu:"Fermer le menu",reloadMap:"Recharger la carte",showClusters:"Afficher les clusters",clusterSettings:"Paramètres des clusters",startAutoFly:"Démarrer le vol auto",stopFlight:"Arrêter le vol",speedLabel:"Vitesse :",speedOption:{slow:"Lente",normal:"Normale",fast:"Rapide"},shareEmbed:"Partager et intégrer"},jg={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},Ug={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",geoRegions:"Régions",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},Gg={menuComingSoon:"Menu bientôt disponible"},Hg={clusterByRegion:"Par région",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Vg={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},Wg={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},zg={placeholder:"Peuple, lieu, langue, religion",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"}},Yg={prayer:"Prière",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Peuples",regions:"Régions",countries:"Pays","language-families":"Langues",religion:"Religions",family:"Famille linguistique",language:"Langue",dialect:"Dialecte/Variété",bloc:"Bloc d'affinité",cluster:"Grappe",group:"Peuple",pgic:"Peuple dans le pays",region:"Région WAGF",block:"Bloc WAGF",country:"Pays"},Jg={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},qg={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},Xg={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},Zg={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",geoRegions:"क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},Qg={menuComingSoon:"मेनू शीघ्र आ रहा है"},ep={clusterByRegion:"क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},tp={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},op={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},np={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},ap={prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora"},sp={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},rp={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",geoRegions:"Regioni",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},ip={menuComingSoon:"Menu in arrivo"},lp={clusterByRegion:"Per regione",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},cp={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},up={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},dp={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},fp={prayForThem:"Ore por eles",adoptThem:"Adote-os",moreInfo:"Mais informações",zoomIn:"Ampliar",zoomOut:"Reduzir",switchToLightMode:"Mudar para modo claro",switchToDarkMode:"Mudar para modo escuro",resetView:"Repor vista",toggleFullscreen:"Alternar ecrã inteiro",aboutThisMap:"Sobre este mapa",closeMenu:"Fechar menu",reloadMap:"Recarregar mapa",showClusters:"Mostrar clusters",clusterSettings:"Definições de clusters",startAutoFly:"Iniciar voo automático",stopFlight:"Parar voo",speedLabel:"Velocidade:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Partilhar e incorporar"},gp={labels:{country:"País:",population:"População:",language:"Língua:",religion:"Religião:",languageFamily:"Família linguística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"Sem descrição disponível."}},pp={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",geoRegions:"Regiões",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},hp={menuComingSoon:"Menu em breve"},mp={clusterByRegion:"Por região",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},bp={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},_p={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},yp={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},vp={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Sp={prayForThem:"Roagă-te pentru ei",adoptThem:"Adoptă-i",moreInfo:"Mai multe informații",zoomIn:"Mărește",zoomOut:"Micșorează",switchToLightMode:"Comută la modul luminos",switchToDarkMode:"Comută la modul întunecat",resetView:"Resetează vizualizarea",toggleFullscreen:"Comută ecran complet",aboutThisMap:"Despre această hartă",closeMenu:"Închide meniul",reloadMap:"Reîncarcă harta",showClusters:"Arată clusterele",clusterSettings:"Setări clustere",startAutoFly:"Pornește zborul automat",stopFlight:"Oprește zborul",speedLabel:"Viteză:",speedOption:{slow:"Lent",normal:"Normal",fast:"Rapid"},shareEmbed:"Partajează și încorporează"},$p={labels:{country:"Țară:",population:"Populație:",language:"Limbă:",religion:"Religie:",languageFamily:"Familie de limbi:",peopleCommitted:"Angajați să se roage:"},messages:{noDescription:"Nicio descriere disponibilă."}},Ap={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",geoRegions:"Regiuni",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},kp={menuComingSoon:"Meniu în curând"},Ep={clusterByRegion:"După regiune",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},wp={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Tp={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Cp={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Lp={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Pp={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},xp={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",geoRegions:"Регионы",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},Np={menuComingSoon:"Меню скоро появится"},Mp={clusterByRegion:"По региону",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Ip={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},Rp={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Op={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Fp={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},Dp={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},Bp={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},Kp={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",geoRegions:"区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},jp={menuComingSoon:"菜单即将推出"},Up={clusterByRegion:"按 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},Gp={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Hp={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function Vp(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ea=typeof window<"u",oo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Wp=(e,t,o)=>zp({l:e,k:t,s:o}),zp=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Oe=e=>typeof e=="number"&&isFinite(e),Yp=e=>dl(e)==="[object Date]",no=e=>dl(e)==="[object RegExp]",ta=e=>ge(e)&&Object.keys(e).length===0,We=Object.assign,Jp=Object.create,Ee=(e=null)=>Jp(e);let il;const Vt=()=>il||(il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ee());function ll(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function cl(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function qp(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,s,a)=>`${s}="${cl(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,s,a)=>`${s}='${cl(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const Xp=Object.prototype.hasOwnProperty;function yt(e,t){return Xp.call(e,t)}const Ne=Array.isArray,Le=e=>typeof e=="function",Q=e=>typeof e=="string",be=e=>typeof e=="boolean",Se=e=>e!==null&&typeof e=="object",Zp=e=>Se(e)&&Le(e.then)&&Le(e.catch),ul=Object.prototype.toString,dl=e=>ul.call(e),ge=e=>{if(!Se(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Qp=e=>e==null?"":Ne(e)||ge(e)&&e.toString===ul?JSON.stringify(e,null,2):String(e);function eh(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}function oa(e){let t=e;return()=>++t}const na=e=>!Se(e)||Ne(e);function aa(e,t){if(na(e)||na(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:s}=o.pop();Object.keys(n).forEach(a=>{a!=="__proto__"&&(Se(n[a])&&!Se(s[a])&&(s[a]=Array.isArray(n[a])?[]:Ee()),na(s[a])||na(n[a])?s[a]=n[a]:o.push({src:n[a],des:s[a]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function th(e,t,o){return{line:e,column:t,offset:o}}function sa(e,t,o){return{start:e,end:t}}const oh=/\{([0-9a-zA-Z]+)\}/g;function fl(e,...t){return t.length===1&&nh(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(oh,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const gl=Object.assign,pl=e=>typeof e=="string",nh=e=>e!==null&&typeof e=="object";function hl(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}const ls={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},ah={[ls.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function sh(e,t,...o){const n=fl(ah[e],...o||[]),s={message:String(n),code:e};return t&&(s.location=t),s}const ue={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},rh={[ue.EXPECTED_TOKEN]:"Expected token: '{0}'",[ue.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ue.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ue.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ue.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ue.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ue.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ue.EMPTY_PLACEHOLDER]:"Empty placeholder",[ue.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ue.INVALID_LINKED_FORMAT]:"Invalid linked format",[ue.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ue.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ue.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ue.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ue.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ue.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Oo(e,t,o={}){const{domain:n,messages:s,args:a}=o,r=fl((s||rh)[e]||"",...a||[]),i=new SyntaxError(String(r));return i.code=e,t&&(i.location=t),i.domain=n,i}function ih(e){throw e}const Wt=" ",lh="\r",Qe=` `,ch="\u2028",uh="\u2029";function dh(e){const t=e;let o=0,n=1,s=1,a=0;const r=x=>t[x]===lh&&t[x+1]===Qe,i=x=>t[x]===Qe,l=x=>t[x]===uh,c=x=>t[x]===ch,u=x=>r(x)||i(x)||l(x)||c(x),d=()=>o,h=()=>n,g=()=>s,y=()=>a,_=x=>r(x)||l(x)||c(x)?Qe:t[x],E=()=>_(o),v=()=>_(o+a);function w(){return a=0,u(o)&&(n++,s=0),r(o)&&o++,o++,s++,t[o]}function S(){return r(o+a)&&a++,a++,t[o+a]}function m(){o=0,n=1,s=1,a=0}function T(x=0){a=x}function C(){const x=o+a;for(;x!==o;)w();a=0}return{index:d,line:h,column:g,peekOffset:y,charAt:_,currentChar:E,currentPeek:v,next:w,peek:S,reset:m,resetPeek:T,skipToPeek:C}}const ao=void 0,fh=".",ml="'",gh="tokenizer";function ph(e,t={}){const o=t.location!==!1,n=dh(e),s=()=>n.index(),a=()=>th(n.line(),n.column(),n.index()),r=a(),i=s(),l={currentType:14,offset:i,startLoc:r,endLoc:r,lastType:14,lastOffset:i,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(f,p,P,...O){const X=c();if(p.column+=P,p.offset+=P,u){const H=o?sa(X.startLoc,p):null,L=Oo(f,H,{domain:gh,args:O});u(L)}}function h(f,p,P){f.endLoc=a(),f.currentType=p;const O={type:p};return o&&(O.loc=sa(f.startLoc,f.endLoc)),P!=null&&(O.value=P),O}const g=f=>h(f,14);function y(f,p){return f.currentChar()===p?(f.next(),p):(d(ue.EXPECTED_TOKEN,a(),0,p),"")}function _(f){let p="";for(;f.currentPeek()===Wt||f.currentPeek()===Qe;)p+=f.currentPeek(),f.peek();return p}function E(f){const p=_(f);return f.skipToPeek(),p}function v(f){if(f===ao)return!1;const p=f.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function w(f){if(f===ao)return!1;const p=f.charCodeAt(0);return p>=48&&p<=57}function S(f,p){const{currentType:P}=p;if(P!==2)return!1;_(f);const O=v(f.currentPeek());return f.resetPeek(),O}function m(f,p){const{currentType:P}=p;if(P!==2)return!1;_(f);const O=f.currentPeek()==="-"?f.peek():f.currentPeek(),X=w(O);return f.resetPeek(),X}function T(f,p){const{currentType:P}=p;if(P!==2)return!1;_(f);const O=f.currentPeek()===ml;return f.resetPeek(),O}function C(f,p){const{currentType:P}=p;if(P!==8)return!1;_(f);const O=f.currentPeek()===".";return f.resetPeek(),O}function x(f,p){const{currentType:P}=p;if(P!==9)return!1;_(f);const O=v(f.currentPeek());return f.resetPeek(),O}function R(f,p){const{currentType:P}=p;if(!(P===8||P===12))return!1;_(f);const O=f.currentPeek()===":";return f.resetPeek(),O}function M(f,p){const{currentType:P}=p;if(P!==10)return!1;const O=()=>{const H=f.currentPeek();return H==="{"?v(f.peek()):H==="@"||H==="%"||H==="|"||H===":"||H==="."||H===Wt||!H?!1:H===Qe?(f.peek(),O()):N(f,!1)},X=O();return f.resetPeek(),X}function J(f){_(f);const p=f.currentPeek()==="|";return f.resetPeek(),p}function le(f){const p=_(f),P=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:P,hasSpace:p.length>0}}function N(f,p=!0){const P=(X=!1,H="",L=!1)=>{const F=f.currentPeek();return F==="{"?H==="%"?!1:X:F==="@"||!F?H==="%"?!0:X:F==="%"?(f.peek(),P(X,"%",!0)):F==="|"?H==="%"||L?!0:!(H===Wt||H===Qe):F===Wt?(f.peek(),P(!0,Wt,L)):F===Qe?(f.peek(),P(!0,Qe,L)):!0},O=P();return p&&f.resetPeek(),O}function ne(f,p){const P=f.currentChar();return P===ao?ao:p(P)?(f.next(),P):null}function A(f){const p=f.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function B(f){return ne(f,A)}function U(f){const p=f.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function W(f){return ne(f,U)}function Z(f){const p=f.charCodeAt(0);return p>=48&&p<=57}function ae(f){return ne(f,Z)}function oe(f){const p=f.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function pe(f){return ne(f,oe)}function G(f){let p="",P="";for(;p=ae(f);)P+=p;return P}function se(f){E(f);const p=f.currentChar();return p!=="%"&&d(ue.EXPECTED_TOKEN,a(),0,p),f.next(),"%"}function $e(f){let p="";for(;;){const P=f.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(N(f))p+=P,f.next();else break;else if(P===Wt||P===Qe)if(N(f))p+=P,f.next();else{if(J(f))break;p+=P,f.next()}else p+=P,f.next()}return p}function Ke(f){E(f);let p="",P="";for(;p=W(f);)P+=p;return f.currentChar()===ao&&d(ue.UNTERMINATED_CLOSING_BRACE,a(),0),P}function ze(f){E(f);let p="";return f.currentChar()==="-"?(f.next(),p+=`-${G(f)}`):p+=G(f),f.currentChar()===ao&&d(ue.UNTERMINATED_CLOSING_BRACE,a(),0),p}function mt(f){return f!==ml&&f!==Qe}function re(f){E(f),y(f,"'");let p="",P="";for(;p=ne(f,mt);)p==="\\"?P+=et(f):P+=p;const O=f.currentChar();return O===Qe||O===ao?(d(ue.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),O===Qe&&(f.next(),y(f,"'")),P):(y(f,"'"),P)}function et(f){const p=f.currentChar();switch(p){case"\\":case"'":return f.next(),`\\${p}`;case"u":return tt(f,p,4);case"U":return tt(f,p,6);default:return d(ue.UNKNOWN_ESCAPE_SEQUENCE,a(),0,p),""}}function tt(f,p,P){y(f,p);let O="";for(let X=0;X{const O=f.currentChar();return O==="{"||O==="%"||O==="@"||O==="|"||O==="("||O===")"||!O||O===Wt?P:(P+=O,f.next(),p(P))};return p("")}function I(f){E(f);const p=y(f,"|");return E(f),p}function K(f,p){let P=null;switch(f.currentChar()){case"{":return p.braceNest>=1&&d(ue.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),f.next(),P=h(p,2,"{"),E(f),p.braceNest++,P;case"}":return p.braceNest>0&&p.currentType===2&&d(ue.EMPTY_PLACEHOLDER,a(),0),f.next(),P=h(p,3,"}"),p.braceNest--,p.braceNest>0&&E(f),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),P;case"@":return p.braceNest>0&&d(ue.UNTERMINATED_CLOSING_BRACE,a(),0),P=j(f,p)||g(p),p.braceNest=0,P;default:{let X=!0,H=!0,L=!0;if(J(f))return p.braceNest>0&&d(ue.UNTERMINATED_CLOSING_BRACE,a(),0),P=h(p,1,I(f)),p.braceNest=0,p.inLinked=!1,P;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return d(ue.UNTERMINATED_CLOSING_BRACE,a(),0),p.braceNest=0,q(f,p);if(X=S(f,p))return P=h(p,5,Ke(f)),E(f),P;if(H=m(f,p))return P=h(p,6,ze(f)),E(f),P;if(L=T(f,p))return P=h(p,7,re(f)),E(f),P;if(!X&&!H&&!L)return P=h(p,13,b(f)),d(ue.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,P.value),E(f),P;break}}return P}function j(f,p){const{currentType:P}=p;let O=null;const X=f.currentChar();switch((P===8||P===9||P===12||P===10)&&(X===Qe||X===Wt)&&d(ue.INVALID_LINKED_FORMAT,a(),0),X){case"@":return f.next(),O=h(p,8,"@"),p.inLinked=!0,O;case".":return E(f),f.next(),h(p,9,".");case":":return E(f),f.next(),h(p,10,":");default:return J(f)?(O=h(p,1,I(f)),p.braceNest=0,p.inLinked=!1,O):C(f,p)||R(f,p)?(E(f),j(f,p)):x(f,p)?(E(f),h(p,12,k(f))):M(f,p)?(E(f),X==="{"?K(f,p)||O:h(p,11,$(f))):(P===8&&d(ue.INVALID_LINKED_FORMAT,a(),0),p.braceNest=0,p.inLinked=!1,q(f,p))}}function q(f,p){let P={type:14};if(p.braceNest>0)return K(f,p)||g(p);if(p.inLinked)return j(f,p)||g(p);switch(f.currentChar()){case"{":return K(f,p)||g(p);case"}":return d(ue.UNBALANCED_CLOSING_BRACE,a(),0),f.next(),h(p,3,"}");case"@":return j(f,p)||g(p);default:{if(J(f))return P=h(p,1,I(f)),p.braceNest=0,p.inLinked=!1,P;const{isModulo:X,hasSpace:H}=le(f);if(X)return H?h(p,0,$e(f)):h(p,4,se(f));if(N(f))return h(p,0,$e(f));break}}return P}function Y(){const{currentType:f,offset:p,startLoc:P,endLoc:O}=l;return l.lastType=f,l.lastOffset=p,l.lastStartLoc=P,l.lastEndLoc=O,l.offset=s(),l.startLoc=a(),n.currentChar()===ao?h(l,14):q(n,l)}return{nextToken:Y,currentOffset:s,currentPosition:a,context:c}}const hh="parser",mh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function bh(e,t,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||o,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function _h(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function s(S,m,T,C,...x){const R=S.currentPosition();if(R.offset+=C,R.column+=C,o){const M=t?sa(T,R):null,J=Oo(m,M,{domain:hh,args:x});o(J)}}function a(S,m,T,C,...x){const R=S.currentPosition();if(R.offset+=C,R.column+=C,n){const M=t?sa(T,R):null;n(sh(m,M,x))}}function r(S,m,T){const C={type:S};return t&&(C.start=m,C.end=m,C.loc={start:T,end:T}),C}function i(S,m,T,C){t&&(S.end=m,S.loc&&(S.loc.end=T))}function l(S,m){const T=S.context(),C=r(3,T.offset,T.startLoc);return C.value=m,i(C,S.currentOffset(),S.currentPosition()),C}function c(S,m){const T=S.context(),{lastOffset:C,lastStartLoc:x}=T,R=r(5,C,x);return R.index=parseInt(m,10),S.nextToken(),i(R,S.currentOffset(),S.currentPosition()),R}function u(S,m,T){const C=S.context(),{lastOffset:x,lastStartLoc:R}=C,M=r(4,x,R);return M.key=m,T===!0&&(M.modulo=!0),S.nextToken(),i(M,S.currentOffset(),S.currentPosition()),M}function d(S,m){const T=S.context(),{lastOffset:C,lastStartLoc:x}=T,R=r(9,C,x);return R.value=m.replace(mh,bh),S.nextToken(),i(R,S.currentOffset(),S.currentPosition()),R}function h(S){const m=S.nextToken(),T=S.context(),{lastOffset:C,lastStartLoc:x}=T,R=r(8,C,x);return m.type!==12?(s(S,ue.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),R.value="",i(R,C,x),{nextConsumeToken:m,node:R}):(m.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vt(m)),R.value=m.value||"",i(R,S.currentOffset(),S.currentPosition()),{node:R})}function g(S,m){const T=S.context(),C=r(7,T.offset,T.startLoc);return C.value=m,i(C,S.currentOffset(),S.currentPosition()),C}function y(S){const m=S.context(),T=r(6,m.offset,m.startLoc);let C=S.nextToken();if(C.type===9){const x=h(S);T.modifier=x.node,C=x.nextConsumeToken||S.nextToken()}switch(C.type!==10&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(C)),C=S.nextToken(),C.type===2&&(C=S.nextToken()),C.type){case 11:C.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(C)),T.key=g(S,C.value||"");break;case 5:C.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(C)),T.key=u(S,C.value||"");break;case 6:C.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(C)),T.key=c(S,C.value||"");break;case 7:C.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(C)),T.key=d(S,C.value||"");break;default:{s(S,ue.UNEXPECTED_EMPTY_LINKED_KEY,m.lastStartLoc,0);const x=S.context(),R=r(7,x.offset,x.startLoc);return R.value="",i(R,x.offset,x.startLoc),T.key=R,i(T,x.offset,x.startLoc),{nextConsumeToken:C,node:T}}}return i(T,S.currentOffset(),S.currentPosition()),{node:T}}function _(S){const m=S.context(),T=m.currentType===1?S.currentOffset():m.offset,C=m.currentType===1?m.endLoc:m.startLoc,x=r(2,T,C);x.items=[];let R=null,M=null;do{const N=R||S.nextToken();switch(R=null,N.type){case 0:N.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(N)),x.items.push(l(S,N.value||""));break;case 6:N.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(N)),x.items.push(c(S,N.value||""));break;case 4:M=!0;break;case 5:N.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(N)),x.items.push(u(S,N.value||"",!!M)),M&&(a(S,ls.USE_MODULO_SYNTAX,m.lastStartLoc,0,vt(N)),M=null);break;case 7:N.value==null&&s(S,ue.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,vt(N)),x.items.push(d(S,N.value||""));break;case 8:{const ne=y(S);x.items.push(ne.node),R=ne.nextConsumeToken||null;break}}}while(m.currentType!==14&&m.currentType!==1);const J=m.currentType===1?m.lastOffset:S.currentOffset(),le=m.currentType===1?m.lastEndLoc:S.currentPosition();return i(x,J,le),x}function E(S,m,T,C){const x=S.context();let R=C.items.length===0;const M=r(1,m,T);M.cases=[],M.cases.push(C);do{const J=_(S);R||(R=J.items.length===0),M.cases.push(J)}while(x.currentType!==14);return R&&s(S,ue.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),i(M,S.currentOffset(),S.currentPosition()),M}function v(S){const m=S.context(),{offset:T,startLoc:C}=m,x=_(S);return m.currentType===14?x:E(S,T,C,x)}function w(S){const m=ph(S,gl({},e)),T=m.context(),C=r(0,T.offset,T.startLoc);return t&&C.loc&&(C.loc.source=S),C.body=v(m),e.onCacheKey&&(C.cacheKey=e.onCacheKey(S)),T.currentType!==14&&s(m,ue.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,S[T.offset]||""),i(C,m.currentOffset(),m.currentPosition()),C}return{parse:w}}function vt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function yh(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function bl(e,t){for(let o=0;o_l(o)),e}function _l(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let o=0;or;function l(_,E){r.code+=_}function c(_,E=!0){const v=E?n:"";l(s?v+" ".repeat(_):v)}function u(_=!0){const E=++r.indentLevel;_&&c(E)}function d(_=!0){const E=--r.indentLevel;_&&c(E)}function h(){c(r.indentLevel)}return{context:i,push:l,indent:u,deindent:d,newline:h,helper:_=>`_${_}`,needIndent:()=>r.needIndent}}function Eh(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),Do(e,t.key),t.modifier?(e.push(", "),Do(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function wh(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const s=t.items.length;for(let a=0;a1){e.push(`${o("plural")}([`),e.indent(n());const s=t.cases.length;for(let a=0;a{const o=pl(t.mode)?t.mode:"normal",n=pl(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` `,a=t.needIndent?t.needIndent:o!=="arrow",r=e.helpers||[],i=kh(e,{filename:n,breakLineCode:s,needIndent:a});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),r.length>0&&(i.push(`const { ${hl(r.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),Do(i,e),i.deindent(a),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function Ph(e,t={}){const o=gl({},t),n=!!o.jit,s=!!o.minify,a=o.optimize==null?!0:o.optimize,i=_h(o).parse(e);return n?(a&&Sh(i),s&&Fo(i),{ast:i,code:""}):(vh(i,o),Lh(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function xh(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Mt(e){return Se(e)&&us(e)===0&&(yt(e,"b")||yt(e,"body"))}const yl=["b","body"];function Nh(e){return so(e,yl)}const vl=["c","cases"];function Mh(e){return so(e,vl,[])}const Sl=["s","static"];function Ih(e){return so(e,Sl)}const $l=["i","items"];function Rh(e){return so(e,$l,[])}const Al=["t","type"];function us(e){return so(e,Al)}const kl=["v","value"];function ra(e,t){const o=so(e,kl);if(o!=null)return o;throw mn(t)}const El=["m","modifier"];function Oh(e){return so(e,El)}const wl=["k","key"];function Fh(e){const t=so(e,wl);if(t)return t;throw mn(6)}function so(e,t,o){for(let n=0;n{r===void 0?r=i:r+=i},h[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},h[2]=()=>{h[0](),s++},h[3]=()=>{if(s>0)s--,n=4,h[0]();else{if(s=0,r===void 0||(r=Uh(r),r===!1))return!1;h[1]()}};function g(){const y=e[o+1];if(n===5&&y==="'"||n===6&&y==='"')return o++,i="\\"+y,h[0](),!0}for(;n!==null;)if(o++,a=e[o],!(a==="\\"&&g())){if(l=jh(a),d=ro[n],c=d[l]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(i=a,u()===!1))))return;if(n===7)return t}}const Cl=new Map;function Hh(e,t){return Se(e)?e[t]:null}function Vh(e,t){if(!Se(e))return null;let o=Cl.get(t);if(o||(o=Gh(t),o&&Cl.set(t,o)),!o)return null;const n=o.length;let s=e,a=0;for(;ae,zh=e=>"",Yh="text",Jh=e=>e.length===0?"":eh(e),qh=Qp;function Ll(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Xh(e){const t=Oe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Oe(e.named.count)||Oe(e.named.n))?Oe(e.named.count)?e.named.count:Oe(e.named.n)?e.named.n:t:t}function Zh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Qh(e={}){const t=e.locale,o=Xh(e),n=Se(e.pluralRules)&&Q(t)&&Le(e.pluralRules[t])?e.pluralRules[t]:Ll,s=Se(e.pluralRules)&&Q(t)&&Le(e.pluralRules[t])?Ll:void 0,a=v=>v[n(o,v.length,s)],r=e.list||[],i=v=>r[v],l=e.named||Ee();Oe(e.pluralIndex)&&Zh(o,l);const c=v=>l[v];function u(v){const w=Le(e.messages)?e.messages(v):Se(e.messages)?e.messages[v]:!1;return w||(e.parent?e.parent.message(v):zh)}const d=v=>e.modifiers?e.modifiers[v]:Wh,h=ge(e.processor)&&Le(e.processor.normalize)?e.processor.normalize:Jh,g=ge(e.processor)&&Le(e.processor.interpolate)?e.processor.interpolate:qh,y=ge(e.processor)&&Q(e.processor.type)?e.processor.type:Yh,E={list:i,named:c,plural:a,linked:(v,...w)=>{const[S,m]=w;let T="text",C="";w.length===1?Se(S)?(C=S.modifier||C,T=S.type||T):Q(S)&&(C=S||C):w.length===2&&(Q(S)&&(C=S||C),Q(m)&&(T=m||T));const x=u(v)(E),R=T==="vnode"&&Ne(x)&&C?x[0]:x;return C?d(C)(R,T):R},message:u,type:y,interpolate:g,normalize:h,values:We(Ee(),r,l)};return E}let bn=null;function em(e){bn=e}function tm(e,t,o){bn&&bn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const om=nm("function:translate");function nm(e){return t=>bn&&bn.emit(e,t)}const am=ls.__EXTEND_POINT__,vo=oa(am),sm={FALLBACK_TO_TRANSLATE:vo(),CANNOT_FORMAT_NUMBER:vo(),FALLBACK_TO_NUMBER_FORMAT:vo(),CANNOT_FORMAT_DATE:vo(),FALLBACK_TO_DATE_FORMAT:vo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:vo(),__EXTEND_POINT__:vo()},Pl=ue.__EXTEND_POINT__,So=oa(Pl),St={INVALID_ARGUMENT:Pl,INVALID_DATE_ARGUMENT:So(),INVALID_ISO_DATE_ARGUMENT:So(),NOT_SUPPORT_NON_STRING_MESSAGE:So(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:So(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:So(),NOT_SUPPORT_LOCALE_TYPE:So(),__EXTEND_POINT__:So()};function It(e){return Oo(e,null,void 0)}function ds(e,t){return t.locale!=null?xl(t.locale):xl(e.locale)}let fs;function xl(e){if(Q(e))return e;if(Le(e)){if(e.resolvedOnce&&fs!=null)return fs;if(e.constructor.name==="Function"){const t=e();if(Zp(t))throw It(St.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return fs=t}else throw It(St.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw It(St.NOT_SUPPORT_LOCALE_TYPE)}function rm(e,t,o){return[...new Set([o,...Ne(t)?t:Se(t)?Object.keys(t):Q(t)?[t]:[o]])]}function Nl(e,t,o){const n=Q(o)?o:Bo,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let a=s.__localeChainCache.get(n);if(!a){a=[];let r=[o];for(;Ne(r);)r=Ml(a,r,t);const i=Ne(t)||!ge(t)?t:t.default?t.default:null;r=Q(i)?[i]:i,Ne(r)&&Ml(a,r,!1),s.__localeChainCache.set(n,a)}return a}function Ml(e,t,o){let n=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function um(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?Rl(e):t==="vnode"&&Se(e)&&"__v_isVNode"in e?Rl(e.children):e}}let Ol;function Fl(e){Ol=e}let Dl;function dm(e){Dl=e}let Bl;function fm(e){Bl=e}let Kl=null;const gm=e=>{Kl=e},pm=()=>Kl;let jl=null;const Ul=e=>{jl=e},hm=()=>jl;let Gl=0;function mm(e={}){const t=Le(e.onWarn)?e.onWarn:Vp,o=Q(e.version)?e.version:cm,n=Q(e.locale)||Le(e.locale)?e.locale:Bo,s=Le(n)?Bo:n,a=Ne(e.fallbackLocale)||ge(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,r=ge(e.messages)?e.messages:gs(s),i=ge(e.datetimeFormats)?e.datetimeFormats:gs(s),l=ge(e.numberFormats)?e.numberFormats:gs(s),c=We(Ee(),e.modifiers,um()),u=e.pluralRules||Ee(),d=Le(e.missing)?e.missing:null,h=be(e.missingWarn)||no(e.missingWarn)?e.missingWarn:!0,g=be(e.fallbackWarn)||no(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,_=!!e.unresolving,E=Le(e.postTranslation)?e.postTranslation:null,v=ge(e.processor)?e.processor:null,w=be(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,m=Le(e.messageCompiler)?e.messageCompiler:Ol,T=Le(e.messageResolver)?e.messageResolver:Dl||Hh,C=Le(e.localeFallbacker)?e.localeFallbacker:Bl||rm,x=Se(e.fallbackContext)?e.fallbackContext:void 0,R=e,M=Se(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,J=Se(R.__numberFormatters)?R.__numberFormatters:new Map,le=Se(R.__meta)?R.__meta:{};Gl++;const N={version:o,cid:Gl,locale:n,fallbackLocale:a,messages:r,modifiers:c,pluralRules:u,missing:d,missingWarn:h,fallbackWarn:g,fallbackFormat:y,unresolving:_,postTranslation:E,processor:v,warnHtmlMessage:w,escapeParameter:S,messageCompiler:m,messageResolver:T,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:le};return N.datetimeFormats=i,N.numberFormats=l,N.__datetimeFormatters=M,N.__numberFormatters=J,__INTLIFY_PROD_DEVTOOLS__&&tm(N,o,le),N}const gs=e=>({[e]:Ee()});function ps(e,t,o,n,s){const{missing:a,onWarn:r}=e;if(a!==null){const i=a(e,o,t,s);return Q(i)?i:t}else return t}function _n(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function bm(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function _m(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nym(o,e)}function ym(e,t){const o=Nh(t);if(o==null)throw mn(0);if(us(o)===1){const a=Mh(o);return e.plural(a.reduce((r,i)=>[...r,Hl(e,i)],[]))}else return Hl(e,o)}function Hl(e,t){const o=Ih(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=Rh(t).reduce((s,a)=>[...s,ms(e,a)],[]);return e.normalize(n)}}function ms(e,t){const o=us(t);switch(o){case 3:return ra(t,o);case 9:return ra(t,o);case 4:{const n=t;if(yt(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(yt(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw mn(o)}case 5:{const n=t;if(yt(n,"i")&&Oe(n.i))return e.interpolate(e.list(n.i));if(yt(n,"index")&&Oe(n.index))return e.interpolate(e.list(n.index));throw mn(o)}case 6:{const n=t,s=Oh(n),a=Fh(n);return e.linked(ms(e,a),s?ms(e,s):void 0,e.type)}case 7:return ra(t,o);case 8:return ra(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Vl=e=>e;let Ko=Ee();function Wl(e,t={}){let o=!1;const n=t.onError||ih;return t.onError=s=>{o=!0,n(s)},{...Ph(e,t),detectError:o}}const vm=(e,t)=>{if(!Q(e))throw It(St.NOT_SUPPORT_NON_STRING_MESSAGE);{be(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Vl)(e),s=Ko[n];if(s)return s;const{code:a,detectError:r}=Wl(e,t),i=new Function(`return ${a}`)();return r?i:Ko[n]=i}};function Sm(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Q(e)){be(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Vl)(e),s=Ko[n];if(s)return s;const{ast:a,detectError:r}=Wl(e,{...t,location:!1,jit:!0}),i=hs(a);return r?i:Ko[n]=i}else{const o=e.cacheKey;if(o){const n=Ko[o];return n||(Ko[o]=hs(e))}else return hs(e)}}const zl=()=>"",pt=e=>Le(e);function Yl(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:s,messageCompiler:a,fallbackLocale:r,messages:i}=e,[l,c]=bs(...t),u=be(c.missingWarn)?c.missingWarn:e.missingWarn,d=be(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=be(c.escapeParameter)?c.escapeParameter:e.escapeParameter,g=!!c.resolvedMessage,y=Q(c.default)||be(c.default)?be(c.default)?a?l:()=>l:c.default:o?a?l:()=>l:"",_=o||y!=="",E=ds(e,c);h&&$m(c);let[v,w,S]=g?[l,E,i[E]||Ee()]:Jl(e,l,E,r,d,u),m=v,T=l;if(!g&&!(Q(m)||Mt(m)||pt(m))&&_&&(m=y,T=m),!g&&(!(Q(m)||Mt(m)||pt(m))||!Q(w)))return s?ia:l;let C=!1;const x=()=>{C=!0},R=pt(m)?m:ql(e,l,w,m,T,x);if(C)return m;const M=Em(e,w,S,c),J=Qh(M),le=Am(e,R,J);let N=n?n(le,l):le;if(h&&Q(N)&&(N=qp(N)),__INTLIFY_PROD_DEVTOOLS__){const ne={timestamp:Date.now(),key:Q(l)?l:pt(m)?m.key:"",locale:w||(pt(m)?m.locale:""),format:Q(m)?m:pt(m)?m.source:"",message:N};ne.meta=We({},e.__meta,pm()||{}),om(ne)}return N}function $m(e){Ne(e.list)?e.list=e.list.map(t=>Q(t)?ll(t):t):Se(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=ll(e.named[t]))})}function Jl(e,t,o,n,s,a){const{messages:r,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let d=Ee(),h,g=null;const y="translate";for(let _=0;_n;return c.locale=o,c.key=t,c}const l=r(n,km(e,o,s,n,i,a));return l.locale=o,l.key=t,l.source=n,l}function Am(e,t,o){return t(o)}function bs(...e){const[t,o,n]=e,s=Ee();if(!Q(t)&&!Oe(t)&&!pt(t)&&!Mt(t))throw It(St.INVALID_ARGUMENT);const a=Oe(t)?String(t):(pt(t),t);return Oe(o)?s.plural=o:Q(o)?s.default=o:ge(o)&&!ta(o)?s.named=o:Ne(o)&&(s.list=o),Oe(n)?s.plural=n:Q(n)?s.default=n:ge(n)&&We(s,n),[a,s]}function km(e,t,o,n,s,a){return{locale:t,key:o,warnHtmlMessage:s,onError:r=>{throw a&&a(r),r},onCacheKey:r=>Wp(t,o,r)}}function Em(e,t,o,n){const{modifiers:s,pluralRules:a,messageResolver:r,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:s,pluralRules:a,messages:g=>{let y=r(o,g);if(y==null&&u){const[,,_]=Jl(u,g,t,i,l,c);y=r(_,g)}if(Q(y)||Mt(y)){let _=!1;const v=ql(e,g,t,y,g,()=>{_=!0});return _?zl:v}else return pt(y)?y:zl}};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),Oe(n.plural)&&(h.pluralIndex=n.plural),h}function Xl(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:s,onWarn:a,localeFallbacker:r}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=_s(...t),h=be(u.missingWarn)?u.missingWarn:e.missingWarn;be(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,y=ds(e,u),_=r(e,s,y);if(!Q(l)||l==="")return new Intl.DateTimeFormat(y,d).format(c);let E={},v,w=null;const S="datetime format";for(let C=0;C<_.length&&(v=_[C],E=o[v]||{},w=E[l],!ge(w));C++)ps(e,l,v,h,S);if(!ge(w)||!Q(v))return n?ia:l;let m=`${v}__${l}`;ta(d)||(m=`${m}__${JSON.stringify(d)}`);let T=i.get(m);return T||(T=new Intl.DateTimeFormat(v,We({},w,d)),i.set(m,T)),g?T.formatToParts(c):T.format(c)}const Zl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function _s(...e){const[t,o,n,s]=e,a=Ee();let r=Ee(),i;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw It(St.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw It(St.INVALID_ISO_DATE_ARGUMENT)}}else if(Yp(t)){if(isNaN(t.getTime()))throw It(St.INVALID_DATE_ARGUMENT);i=t}else if(Oe(t))i=t;else throw It(St.INVALID_ARGUMENT);return Q(o)?a.key=o:ge(o)&&Object.keys(o).forEach(l=>{Zl.includes(l)?r[l]=o[l]:a[l]=o[l]}),Q(n)?a.locale=n:ge(n)&&(r=n),ge(s)&&(r=s),[a.key||"",i,a,r]}function Ql(e,t,o){const n=e;for(const s in o){const a=`${t}__${s}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function ec(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:s,onWarn:a,localeFallbacker:r}=e,{__numberFormatters:i}=e,[l,c,u,d]=ys(...t),h=be(u.missingWarn)?u.missingWarn:e.missingWarn;be(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,y=ds(e,u),_=r(e,s,y);if(!Q(l)||l==="")return new Intl.NumberFormat(y,d).format(c);let E={},v,w=null;const S="number format";for(let C=0;C<_.length&&(v=_[C],E=o[v]||{},w=E[l],!ge(w));C++)ps(e,l,v,h,S);if(!ge(w)||!Q(v))return n?ia:l;let m=`${v}__${l}`;ta(d)||(m=`${m}__${JSON.stringify(d)}`);let T=i.get(m);return T||(T=new Intl.NumberFormat(v,We({},w,d)),i.set(m,T)),g?T.formatToParts(c):T.format(c)}const tc=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ys(...e){const[t,o,n,s]=e,a=Ee();let r=Ee();if(!Oe(t))throw It(St.INVALID_ARGUMENT);const i=t;return Q(o)?a.key=o:ge(o)&&Object.keys(o).forEach(l=>{tc.includes(l)?r[l]=o[l]:a[l]=o[l]}),Q(n)?a.locale=n:ge(n)&&(r=n),ge(s)&&(r=s),[a.key||"",i,a,r]}function oc(e,t,o){const n=e;for(const s in o){const a=`${t}__${s}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}xh();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const wm="9.14.5";function Tm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Cm=sm.__EXTEND_POINT__,zt=oa(Cm);zt(),zt(),zt(),zt(),zt(),zt(),zt(),zt(),zt();const nc=St.__EXTEND_POINT__,rt=oa(nc),Be={UNEXPECTED_RETURN_TYPE:nc,INVALID_ARGUMENT:rt(),MUST_BE_CALL_SETUP_TOP:rt(),NOT_INSTALLED:rt(),NOT_AVAILABLE_IN_LEGACY_MODE:rt(),REQUIRED_VALUE:rt(),INVALID_VALUE:rt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:rt(),NOT_INSTALLED_WITH_PROVIDE:rt(),UNEXPECTED_ERROR:rt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:rt(),BRIDGE_SUPPORT_VUE_2_ONLY:rt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:rt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:rt(),__EXTEND_POINT__:rt()};function Ue(e,...t){return Oo(e,null,void 0)}const vs=oo("__translateVNode"),Ss=oo("__datetimeParts"),$s=oo("__numberParts"),ac=oo("__setPluralRules"),sc=oo("__injectWithOption"),As=oo("__dispose");function yn(e){if(!Se(e)||Mt(e))return e;for(const t in e)if(yt(e,t))if(!t.includes("."))Se(e[t])&&yn(e[t]);else{const o=t.split("."),n=o.length-1;let s=e,a=!1;for(let r=0;r{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||Ee(),aa(c,r[l])):aa(c,r)}else Q(i)&&aa(JSON.parse(i),r)}),s==null&&a)for(const i in r)yt(r,i)&&yn(r[i]);return r}function rc(e){return e.type}function ic(e,t,o){let n=Se(t.messages)?t.messages:Ee();"__i18nGlobal"in o&&(n=la(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(Se(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(Se(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function lc(e){return ve(sn,null,e,0)}const cc="__INTLIFY_META__",uc=()=>[],Lm=()=>!1;let dc=0;function fc(e){return(t,o,n,s)=>e(o,n,eo()||void 0,s)}const Pm=()=>{const e=eo();let t=null;return e&&(t=rc(e)[cc])?{[cc]:t}:null};function ks(e={},t){const{__root:o,__injectWithOption:n}=e,s=o===void 0,a=e.flatJson,r=ea?fe:qo,i=!!e.translateExistCompatible;let l=be(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:Q(e.locale)?e.locale:Bo),u=r(o&&l?o.fallbackLocale.value:Q(e.fallbackLocale)||Ne(e.fallbackLocale)||ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=r(la(c.value,e)),h=r(ge(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),g=r(ge(e.numberFormats)?e.numberFormats:{[c.value]:{}});let y=o?o.missingWarn:be(e.missingWarn)||no(e.missingWarn)?e.missingWarn:!0,_=o?o.fallbackWarn:be(e.fallbackWarn)||no(e.fallbackWarn)?e.fallbackWarn:!0,E=o?o.fallbackRoot:be(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,w=Le(e.missing)?e.missing:null,S=Le(e.missing)?fc(e.missing):null,m=Le(e.postTranslation)?e.postTranslation:null,T=o?o.warnHtmlMessage:be(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const x=o?o.modifiers:ge(e.modifiers)?e.modifiers:{};let R=e.pluralRules||o&&o.pluralRules,M;M=(()=>{s&&Ul(null);const L={version:wm,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:x,pluralRules:R,missing:S===null?void 0:S,missingWarn:y,fallbackWarn:_,fallbackFormat:v,unresolving:!0,postTranslation:m===null?void 0:m,warnHtmlMessage:T,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=h.value,L.numberFormats=g.value,L.__datetimeFormatters=ge(M)?M.__datetimeFormatters:void 0,L.__numberFormatters=ge(M)?M.__numberFormatters:void 0;const F=mm(L);return s&&Ul(F),F})(),_n(M,c.value,u.value);function le(){return[c.value,u.value,d.value,h.value,g.value]}const N=ee({get:()=>c.value,set:L=>{c.value=L,M.locale=c.value}}),ne=ee({get:()=>u.value,set:L=>{u.value=L,M.fallbackLocale=u.value,_n(M,c.value,L)}}),A=ee(()=>d.value),B=ee(()=>h.value),U=ee(()=>g.value);function W(){return Le(m)?m:null}function Z(L){m=L,M.postTranslation=L}function ae(){return w}function oe(L){L!==null&&(S=fc(L)),w=L,M.missing=S}const pe=(L,F,ie,he,Pe,ot)=>{le();let Ye;try{__INTLIFY_PROD_DEVTOOLS__,s||(M.fallbackContext=o?hm():void 0),Ye=L(M)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(M.fallbackContext=void 0)}if(ie!=="translate exists"&&Oe(Ye)&&Ye===ia||ie==="translate exists"&&!Ye){const[$o,ar]=F();return o&&E?he(o):Pe($o)}else{if(ot(Ye))return Ye;throw Ue(Be.UNEXPECTED_RETURN_TYPE)}};function G(...L){return pe(F=>Reflect.apply(Yl,null,[F,...L]),()=>bs(...L),"translate",F=>Reflect.apply(F.t,F,[...L]),F=>F,F=>Q(F))}function se(...L){const[F,ie,he]=L;if(he&&!Se(he))throw Ue(Be.INVALID_ARGUMENT);return G(F,ie,We({resolvedMessage:!0},he||{}))}function $e(...L){return pe(F=>Reflect.apply(Xl,null,[F,...L]),()=>_s(...L),"datetime format",F=>Reflect.apply(F.d,F,[...L]),()=>Il,F=>Q(F))}function Ke(...L){return pe(F=>Reflect.apply(ec,null,[F,...L]),()=>ys(...L),"number format",F=>Reflect.apply(F.n,F,[...L]),()=>Il,F=>Q(F))}function ze(L){return L.map(F=>Q(F)||Oe(F)||be(F)?lc(String(F)):F)}const re={normalize:ze,interpolate:L=>L,type:"vnode"};function et(...L){return pe(F=>{let ie;const he=F;try{he.processor=re,ie=Reflect.apply(Yl,null,[he,...L])}finally{he.processor=null}return ie},()=>bs(...L),"translate",F=>F[vs](...L),F=>[lc(F)],F=>Ne(F))}function tt(...L){return pe(F=>Reflect.apply(ec,null,[F,...L]),()=>ys(...L),"number format",F=>F[$s](...L),uc,F=>Q(F)||Ne(F))}function Xt(...L){return pe(F=>Reflect.apply(Xl,null,[F,...L]),()=>_s(...L),"datetime format",F=>F[Ss](...L),uc,F=>Q(F)||Ne(F))}function b(L){R=L,M.pluralRules=R}function k(L,F){return pe(()=>{if(!L)return!1;const ie=Q(F)?F:c.value,he=K(ie),Pe=M.messageResolver(he,L);return i?Pe!=null:Mt(Pe)||pt(Pe)||Q(Pe)},()=>[L],"translate exists",ie=>Reflect.apply(ie.te,ie,[L,F]),Lm,ie=>be(ie))}function $(L){let F=null;const ie=Nl(M,u.value,c.value);for(let he=0;he{l&&(c.value=L,M.locale=L,_n(M,c.value,u.value))}),nt(o.fallbackLocale,L=>{l&&(u.value=L,M.fallbackLocale=L,_n(M,c.value,u.value))}));const H={id:dc,locale:N,fallbackLocale:ne,get inheritLocale(){return l},set inheritLocale(L){l=L,L&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,_n(M,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:A,get modifiers(){return x},get pluralRules(){return R||{}},get isGlobal(){return s},get missingWarn(){return y},set missingWarn(L){y=L,M.missingWarn=y},get fallbackWarn(){return _},set fallbackWarn(L){_=L,M.fallbackWarn=_},get fallbackRoot(){return E},set fallbackRoot(L){E=L},get fallbackFormat(){return v},set fallbackFormat(L){v=L,M.fallbackFormat=v},get warnHtmlMessage(){return T},set warnHtmlMessage(L){T=L,M.warnHtmlMessage=L},get escapeParameter(){return C},set escapeParameter(L){C=L,M.escapeParameter=L},t:G,getLocaleMessage:K,setLocaleMessage:j,mergeLocaleMessage:q,getPostTranslationHandler:W,setPostTranslationHandler:Z,getMissingHandler:ae,setMissingHandler:oe,[ac]:b};return H.datetimeFormats=B,H.numberFormats=U,H.rt=se,H.te=k,H.tm=I,H.d=$e,H.n=Ke,H.getDateTimeFormat=Y,H.setDateTimeFormat=f,H.mergeDateTimeFormat=p,H.getNumberFormat=P,H.setNumberFormat=O,H.mergeNumberFormat=X,H[sc]=n,H[vs]=et,H[Ss]=Xt,H[$s]=tt,H}function xm(e){const t=Q(e.locale)?e.locale:Bo,o=Q(e.fallbackLocale)||Ne(e.fallbackLocale)||ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Le(e.missing)?e.missing:void 0,s=be(e.silentTranslationWarn)||no(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=be(e.silentFallbackWarn)||no(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=be(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=ge(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Le(e.postTranslation)?e.postTranslation:void 0,d=Q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,g=be(e.sync)?e.sync:!0;let y=e.messages;if(ge(e.sharedMessages)){const C=e.sharedMessages;y=Object.keys(C).reduce((R,M)=>{const J=R[M]||(R[M]={});return We(J,C[M]),R},y||{})}const{__i18n:_,__root:E,__injectWithOption:v}=e,w=e.datetimeFormats,S=e.numberFormats,m=e.flatJson,T=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:y,flatJson:m,datetimeFormats:w,numberFormats:S,missing:n,missingWarn:s,fallbackWarn:a,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:g,translateExistCompatible:T,__i18n:_,__root:E,__injectWithOption:v}}function Es(e={},t){{const o=ks(xm(e)),{__extender:n}=e,s={id:o.id,get locale(){return o.locale.value},set locale(a){o.locale.value=a},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(a){o.fallbackLocale.value=a},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(a){},get missing(){return o.getMissingHandler()},set missing(a){o.setMissingHandler(a)},get silentTranslationWarn(){return be(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(a){o.missingWarn=be(a)?!a:a},get silentFallbackWarn(){return be(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(a){o.fallbackWarn=be(a)?!a:a},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(a){o.fallbackFormat=a},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(a){o.setPostTranslationHandler(a)},get sync(){return o.inheritLocale},set sync(a){o.inheritLocale=a},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){o.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(a){o.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...a){const[r,i,l]=a,c={};let u=null,d=null;if(!Q(r))throw Ue(Be.INVALID_ARGUMENT);const h=r;return Q(i)?c.locale=i:Ne(i)?u=i:ge(i)&&(d=i),Ne(l)?u=l:ge(l)&&(d=l),Reflect.apply(o.t,o,[h,u||d||{},c])},rt(...a){return Reflect.apply(o.rt,o,[...a])},tc(...a){const[r,i,l]=a,c={plural:1};let u=null,d=null;if(!Q(r))throw Ue(Be.INVALID_ARGUMENT);const h=r;return Q(i)?c.locale=i:Oe(i)?c.plural=i:Ne(i)?u=i:ge(i)&&(d=i),Q(l)?c.locale=l:Ne(l)?u=l:ge(l)&&(d=l),Reflect.apply(o.t,o,[h,u||d||{},c])},te(a,r){return o.te(a,r)},tm(a){return o.tm(a)},getLocaleMessage(a){return o.getLocaleMessage(a)},setLocaleMessage(a,r){o.setLocaleMessage(a,r)},mergeLocaleMessage(a,r){o.mergeLocaleMessage(a,r)},d(...a){return Reflect.apply(o.d,o,[...a])},getDateTimeFormat(a){return o.getDateTimeFormat(a)},setDateTimeFormat(a,r){o.setDateTimeFormat(a,r)},mergeDateTimeFormat(a,r){o.mergeDateTimeFormat(a,r)},n(...a){return Reflect.apply(o.n,o,[...a])},getNumberFormat(a){return o.getNumberFormat(a)},setNumberFormat(a,r){o.setNumberFormat(a,r)},mergeNumberFormat(a,r){o.mergeNumberFormat(a,r)},getChoiceIndex(a,r){return-1}};return s.__extender=n,s}}const ws={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Nm({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,s)=>[...n,...s.type===ye?s.children:[s]],[]):t.reduce((o,n)=>{const s=e[n];return s&&(o[n]=s()),o},Ee())}function gc(e){return ye}const pc=tn({name:"i18n-t",props:We({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Oe(e)||!isNaN(e)}},ws),setup(e,t){const{slots:o,attrs:n}=t,s=e.i18n||Ts({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(o).filter(d=>d!=="_"),r=Ee();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=Q(e.plural)?+e.plural:e.plural);const i=Nm(t,a),l=s[vs](e.keypath,i,r),c=We(Ee(),n),u=Q(e.tag)||Se(e.tag)?e.tag:gc();return Ii(u,c,l)}}});function Mm(e){return Ne(e)&&!Q(e[0])}function hc(e,t,o,n){const{slots:s,attrs:a}=t;return()=>{const r={part:!0};let i=Ee();e.locale&&(r.locale=e.locale),Q(e.format)?r.key=e.format:Se(e.format)&&(Q(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((h,g)=>o.includes(g)?We(Ee(),h,{[g]:e.format[g]}):h,Ee()));const l=n(e.value,r,i);let c=[r.key];Ne(l)?c=l.map((h,g)=>{const y=s[h.type],_=y?y({[h.type]:h.value,index:g,parts:l}):[h.value];return Mm(_)&&(_[0].key=`${h.type}-${g}`),_}):Q(l)&&(c=[l]);const u=We(Ee(),a),d=Q(e.tag)||Se(e.tag)?e.tag:gc();return Ii(d,u,c)}}const mc=tn({name:"i18n-n",props:We({value:{type:Number,required:!0},format:{type:[String,Object]}},ws),setup(e,t){const o=e.i18n||Ts({useScope:e.scope,__useComponent:!0});return hc(e,t,tc,(...n)=>o[$s](...n))}}),bc=tn({name:"i18n-d",props:We({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ws),setup(e,t){const o=e.i18n||Ts({useScope:e.scope,__useComponent:!0});return hc(e,t,Zl,(...n)=>o[Ss](...n))}});function Im(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 Rm(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw Ue(Be.UNEXPECTED_ERROR);const u=Im(e,i.$),d=_c(c);return[Reflect.apply(u.t,u,[...yc(d)]),u]};return{created:(r,i)=>{const[l,c]=t(i);ea&&e.global===c&&(r.__i18nWatcher=nt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{ea&&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=_c(i);r.textContent=Reflect.apply(l.t,l,[...yc(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function _c(e){if(Q(e))return{path:e};if(ge(e)){if(!("path"in e))throw Ue(Be.REQUIRED_VALUE,"path");return e}else throw Ue(Be.INVALID_VALUE)}function yc(e){const{path:t,locale:o,args:n,choice:s,plural:a}=e,r={},i=n||{};return Q(o)&&(r.locale=o),Oe(s)&&(r.plural=s),Oe(a)&&(r.plural=a),[t,i,r]}function Om(e,t,...o){const n=ge(o[0])?o[0]:{},s=!!n.useI18nComponentName;(be(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":pc.name,"I18nT"].forEach(r=>e.component(r,pc)),[mc.name,"I18nN"].forEach(r=>e.component(r,mc)),[bc.name,"I18nD"].forEach(r=>e.component(r,bc))),e.directive("t",Rm(t))}function Fm(e,t,o){return{beforeCreate(){const n=eo();if(!n)throw Ue(Be.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const a=s.i18n;if(s.__i18n&&(a.__i18n=s.__i18n),a.__root=t,this===this.$root)this.$i18n=vc(e,a);else{a.__injectWithOption=!0,a.__extender=o.__vueI18nExtend,this.$i18n=Es(a);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=vc(e,s);else{this.$i18n=Es({__i18n:s.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&ic(t,s,s),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,r)=>this.$i18n.te(a,r),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=eo();if(!n)throw Ue(Be.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),o.__deleteInstance(n),delete this.$i18n}}}function vc(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[ac](t.pluralizationRules||e.pluralizationRules);const o=la(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 Dm=oo("global-vue-i18n");function Bm(e={},t){const o=__VUE_I18N_LEGACY_API__&&be(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=be(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,a=new Map,[r,i]=Km(e,o),l=oo("");function c(h){return a.get(h)||null}function u(h,g){a.set(h,g)}function d(h){a.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return s},async install(g,...y){if(g.__VUE_I18N_SYMBOL__=l,g.provide(g.__VUE_I18N_SYMBOL__,h),ge(y[0])){const v=y[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let _=null;!o&&n&&(_=Jm(g,h.global)),__VUE_I18N_FULL_INSTALL__&&Om(g,h,...y),__VUE_I18N_LEGACY_API__&&o&&g.mixin(Fm(i,i.__composer,h));const E=g.unmount;g.unmount=()=>{_&&_(),h.dispose(),E()}},get global(){return i},dispose(){r.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:d};return h}}function Ts(e={}){const t=eo();if(t==null)throw Ue(Be.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ue(Be.NOT_INSTALLED);const o=jm(t),n=Gm(o),s=rc(t),a=Um(e,s);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Ue(Be.NOT_AVAILABLE_IN_LEGACY_MODE);return zm(t,a,n,e)}if(a==="global")return ic(n,e,s),n;if(a==="parent"){let l=Hm(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=We({},e);"__i18n"in s&&(l.__i18n=s.__i18n),n&&(l.__root=n),i=ks(l),r.__composerExtend&&(i[As]=r.__composerExtend(i)),Wm(r,t,i),r.__setInstance(t,i)}return i}function Km(e,t,o){const n=$a();{const s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Es(e)):n.run(()=>ks(e));if(s==null)throw Ue(Be.UNEXPECTED_ERROR);return[n,s]}}function jm(e){{const t=Ce(e.isCE?Dm:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ue(e.isCE?Be.NOT_INSTALLED_WITH_PROVIDE:Be.UNEXPECTED_ERROR);return t}}function Um(e,t){return ta(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Gm(e){return e.mode==="composition"?e.global:e.global.__composer}function Hm(e,t,o=!1){let n=null;const s=t.root;let a=Vm(t,o);for(;a!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(a);i!=null&&(n=i.__composer,o&&n&&!n[sc]&&(n=null))}if(n!=null||s===a)break;a=a.parent}return n}function Vm(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Wm(e,t,o){at(()=>{},t),ja(()=>{const n=o;e.__deleteInstance(t);const s=n[As];s&&(s(),delete n[As])},t)}function zm(e,t,o,n={}){const s=t==="local",a=qo(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ue(Be.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=be(n.inheritLocale)?n.inheritLocale:!Q(n.locale),i=fe(!s||r?o.locale.value:Q(n.locale)?n.locale:Bo),l=fe(!s||r?o.fallbackLocale.value:Q(n.fallbackLocale)||Ne(n.fallbackLocale)||ge(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=fe(la(i.value,n)),u=fe(ge(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=fe(ge(n.numberFormats)?n.numberFormats:{[i.value]:{}}),h=s?o.missingWarn:be(n.missingWarn)||no(n.missingWarn)?n.missingWarn:!0,g=s?o.fallbackWarn:be(n.fallbackWarn)||no(n.fallbackWarn)?n.fallbackWarn:!0,y=s?o.fallbackRoot:be(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,E=Le(n.missing)?n.missing:null,v=Le(n.postTranslation)?n.postTranslation:null,w=s?o.warnHtmlMessage:be(n.warnHtmlMessage)?n.warnHtmlMessage:!0,S=!!n.escapeParameter,m=s?o.modifiers:ge(n.modifiers)?n.modifiers:{},T=n.pluralRules||s&&o.pluralRules;function C(){return[i.value,l.value,c.value,u.value,d.value]}const x=ee({get:()=>a.value?a.value.locale.value:i.value,set:$=>{a.value&&(a.value.locale.value=$),i.value=$}}),R=ee({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:$=>{a.value&&(a.value.fallbackLocale.value=$),l.value=$}}),M=ee(()=>a.value?a.value.messages.value:c.value),J=ee(()=>u.value),le=ee(()=>d.value);function N(){return a.value?a.value.getPostTranslationHandler():v}function ne($){a.value&&a.value.setPostTranslationHandler($)}function A(){return a.value?a.value.getMissingHandler():E}function B($){a.value&&a.value.setMissingHandler($)}function U($){return C(),$()}function W(...$){return a.value?U(()=>Reflect.apply(a.value.t,null,[...$])):U(()=>"")}function Z(...$){return a.value?Reflect.apply(a.value.rt,null,[...$]):""}function ae(...$){return a.value?U(()=>Reflect.apply(a.value.d,null,[...$])):U(()=>"")}function oe(...$){return a.value?U(()=>Reflect.apply(a.value.n,null,[...$])):U(()=>"")}function pe($){return a.value?a.value.tm($):{}}function G($,I){return a.value?a.value.te($,I):!1}function se($){return a.value?a.value.getLocaleMessage($):{}}function $e($,I){a.value&&(a.value.setLocaleMessage($,I),c.value[$]=I)}function Ke($,I){a.value&&a.value.mergeLocaleMessage($,I)}function ze($){return a.value?a.value.getDateTimeFormat($):{}}function mt($,I){a.value&&(a.value.setDateTimeFormat($,I),u.value[$]=I)}function re($,I){a.value&&a.value.mergeDateTimeFormat($,I)}function et($){return a.value?a.value.getNumberFormat($):{}}function tt($,I){a.value&&(a.value.setNumberFormat($,I),d.value[$]=I)}function Xt($,I){a.value&&a.value.mergeNumberFormat($,I)}const b={get id(){return a.value?a.value.id:-1},locale:x,fallbackLocale:R,messages:M,datetimeFormats:J,numberFormats:le,get inheritLocale(){return a.value?a.value.inheritLocale:r},set inheritLocale($){a.value&&(a.value.inheritLocale=$)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:m},get pluralRules(){return a.value?a.value.pluralRules:T},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn($){a.value&&(a.value.missingWarn=$)},get fallbackWarn(){return a.value?a.value.fallbackWarn:g},set fallbackWarn($){a.value&&(a.value.missingWarn=$)},get fallbackRoot(){return a.value?a.value.fallbackRoot:y},set fallbackRoot($){a.value&&(a.value.fallbackRoot=$)},get fallbackFormat(){return a.value?a.value.fallbackFormat:_},set fallbackFormat($){a.value&&(a.value.fallbackFormat=$)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:w},set warnHtmlMessage($){a.value&&(a.value.warnHtmlMessage=$)},get escapeParameter(){return a.value?a.value.escapeParameter:S},set escapeParameter($){a.value&&(a.value.escapeParameter=$)},t:W,getPostTranslationHandler:N,setPostTranslationHandler:ne,getMissingHandler:A,setMissingHandler:B,rt:Z,d:ae,n:oe,tm:pe,te:G,getLocaleMessage:se,setLocaleMessage:$e,mergeLocaleMessage:Ke,getDateTimeFormat:ze,setDateTimeFormat:mt,mergeDateTimeFormat:re,getNumberFormat:et,setNumberFormat:tt,mergeNumberFormat:Xt};function k($){$.locale.value=i.value,$.fallbackLocale.value=l.value,Object.keys(c.value).forEach(I=>{$.mergeLocaleMessage(I,c.value[I])}),Object.keys(u.value).forEach(I=>{$.mergeDateTimeFormat(I,u.value[I])}),Object.keys(d.value).forEach(I=>{$.mergeNumberFormat(I,d.value[I])}),$.escapeParameter=S,$.fallbackFormat=_,$.fallbackRoot=y,$.fallbackWarn=g,$.missingWarn=h,$.warnHtmlMessage=w}return qr(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ue(Be.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const $=a.value=e.proxy.$i18n.__composer;t==="global"?(i.value=$.locale.value,l.value=$.fallbackLocale.value,c.value=$.messages.value,u.value=$.datetimeFormats.value,d.value=$.numberFormats.value):s&&k($)}),b}const Ym=["locale","fallbackLocale","availableLocales"],Sc=["t","rt","d","n","tm","te"];function Jm(e,t){const o=Object.create(null);return Ym.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a)throw Ue(Be.UNEXPECTED_ERROR);const r=Me(a.value)?{get(){return a.value.value},set(i){a.value.value=i}}:{get(){return a.get&&a.get()}};Object.defineProperty(o,s,r)}),e.config.globalProperties.$i18n=o,Sc.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a||!a.value)throw Ue(Be.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)}),()=>{delete e.config.globalProperties.$i18n,Sc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Tm(),__INTLIFY_JIT_COMPILATION__?Fl(Sm):Fl(vm),dm(Vh),fm(Nl),__INTLIFY_PROD_DEVTOOLS__){const e=Vt();e.__INTLIFY__=!0,em(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const qm=Object.assign({"./locales/ar/aria.json":og,"./locales/ar/buttons.json":ng,"./locales/ar/detail.json":ag,"./locales/ar/legend.json":sg,"./locales/ar/messages.json":rg,"./locales/ar/options.json":ig,"./locales/ar/prayerLaps.json":lg,"./locales/ar/search.json":cg,"./locales/ar/tabs.json":ug,"./locales/de/aria.json":dg,"./locales/de/buttons.json":fg,"./locales/de/detail.json":gg,"./locales/de/legend.json":pg,"./locales/de/messages.json":hg,"./locales/de/options.json":mg,"./locales/de/prayerLaps.json":bg,"./locales/de/search.json":_g,"./locales/de/tabs.json":yg,"./locales/en/aria.json":vg,"./locales/en/buttons.json":Sg,"./locales/en/detail.json":$g,"./locales/en/legend.json":Ag,"./locales/en/messages.json":kg,"./locales/en/options.json":Eg,"./locales/en/popup.json":wg,"./locales/en/prayerLaps.json":Tg,"./locales/en/search.json":Cg,"./locales/en/tabs.json":Lg,"./locales/es/aria.json":Pg,"./locales/es/buttons.json":xg,"./locales/es/detail.json":Ng,"./locales/es/legend.json":Mg,"./locales/es/messages.json":Ig,"./locales/es/options.json":Rg,"./locales/es/prayerLaps.json":Og,"./locales/es/search.json":Fg,"./locales/es/tabs.json":Dg,"./locales/fr/aria.json":Bg,"./locales/fr/buttons.json":Kg,"./locales/fr/detail.json":jg,"./locales/fr/legend.json":Ug,"./locales/fr/messages.json":Gg,"./locales/fr/options.json":Hg,"./locales/fr/popup.json":Vg,"./locales/fr/prayerLaps.json":Wg,"./locales/fr/search.json":zg,"./locales/fr/tabs.json":Yg,"./locales/hi/aria.json":Jg,"./locales/hi/buttons.json":qg,"./locales/hi/detail.json":Xg,"./locales/hi/legend.json":Zg,"./locales/hi/messages.json":Qg,"./locales/hi/options.json":ep,"./locales/hi/prayerLaps.json":tp,"./locales/hi/search.json":op,"./locales/it/aria.json":np,"./locales/it/buttons.json":ap,"./locales/it/detail.json":sp,"./locales/it/legend.json":rp,"./locales/it/messages.json":ip,"./locales/it/options.json":lp,"./locales/it/prayerLaps.json":cp,"./locales/it/search.json":up,"./locales/pt/aria.json":dp,"./locales/pt/buttons.json":fp,"./locales/pt/detail.json":gp,"./locales/pt/legend.json":pp,"./locales/pt/messages.json":hp,"./locales/pt/options.json":mp,"./locales/pt/prayerLaps.json":bp,"./locales/pt/search.json":_p,"./locales/pt/tabs.json":yp,"./locales/ro/aria.json":vp,"./locales/ro/buttons.json":Sp,"./locales/ro/detail.json":$p,"./locales/ro/legend.json":Ap,"./locales/ro/messages.json":kp,"./locales/ro/options.json":Ep,"./locales/ro/prayerLaps.json":wp,"./locales/ro/search.json":Tp,"./locales/ru/aria.json":Cp,"./locales/ru/buttons.json":Lp,"./locales/ru/detail.json":Pp,"./locales/ru/legend.json":xp,"./locales/ru/messages.json":Np,"./locales/ru/options.json":Mp,"./locales/ru/prayerLaps.json":Ip,"./locales/ru/search.json":Rp,"./locales/ru/tabs.json":Op,"./locales/zh/aria.json":Fp,"./locales/zh/buttons.json":Dp,"./locales/zh/detail.json":Bp,"./locales/zh/legend.json":Kp,"./locales/zh/messages.json":jp,"./locales/zh/options.json":Up,"./locales/zh/prayerLaps.json":Gp,"./locales/zh/search.json":Hp}),vn={};for(const[e,t]of Object.entries(qm)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;vn[n]??(vn[n]={}),vn[n][s]=t}const $c=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Xm(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return $c.includes(t)?t:"en"}function Zm(){return Bm({legacy:!1,globalInjection:!0,locale:Xm(),fallbackLocale:"en",messages:vn,missingWarn:!1,fallbackWarn:!1})}let Qm=0;const eb=is("ui",{state:()=>({_storeInstanceId:++Qm,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"geo-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=>e.theme==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches:e.theme==="dark",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;this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light"),localStorage.setItem("theme",e)},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:s=null,persistent:a=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:s,persistent:a,createdAt:Date.now()};return this.toasts.push(r),!a&&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(){const e=localStorage.getItem("theme");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)}))}}}),tb=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=>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 s=[0,0];if(o.center)s=o.center;else if(t&&typeof t.getCenter=="function"){const a=t.getCenter();a&&(s=[a.lng,a.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:s,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()}}}),ob=is("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]=Jo({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]=Jo({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}}}),Sn={_meta:{_comment:"Merged from research-mfe (winner on drift) + simple-map-mfe (adds keys research lacks). Single source of truth for all map-bundler bundles.",mergedFrom:["research-mfe/src/config/sources.json","simple-map-mfe/src/config/sources.json"],mergedAt:"2026-05-08",rule:"research wins on conflict; simple adds missing"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"Live people-group API — prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime (config-only, fail-closed; no default host).",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","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",geoRegion:"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}},"geo-csv":{id:"geo-csv",name:"People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from 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",geoRegion:"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},geoRegion:{description:"WAGF region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},nb=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o},ab={class:"profile-loader"},sb={key:0,class:"profile-error"},rb={key:1,class:"profile-error"},ib=nb({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var E;const t=e,o=ee(()=>{if(!t.profileConfig)return null;try{return JSON.parse(t.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",t.profileConfig),null}}),n=ee(()=>{var v;return((v=o.value)==null?void 0:v.profile)||null}),s=ee(()=>{var v;return((v=o.value)==null?void 0:v.tk)||""}),a=ee(()=>{var v;return((v=o.value)==null?void 0:v.dataSource)||Sn.activeSource}),r=ee(()=>{var v;return((v=o.value)==null?void 0:v.colorSet)||"default"}),i=ee(()=>{var w,S;const v=(((w=o.value)==null?void 0:w.locale)||((S=o.value)==null?void 0:S.lang)||"").split("-")[0].toLowerCase();return $c.includes(v)?v:""}),l=Ce("appI18n",null);gd(()=>{i.value&&l&&(l.global.locale.value=i.value)});const c=ee(()=>{var v,w;return i.value||((w=(v=l==null?void 0:l.global)==null?void 0:v.locale)==null?void 0:w.value)||"en"}),u=ee(()=>{var v;return((v=o.value)==null?void 0:v.instanceId)||"map-embed-"+Math.random().toString(36).slice(2,9)}),d=Ce("profileModules",null);if(!d)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const h=ee(()=>{if(!n.value)return null;const v=`./${n.value}.vue`;return d[v]?yd(d[v]):(console.error(`[ProfileLoader] Profile not found: "${n.value}". Available:`,Object.keys(d)),null)});gt("mapboxToken",s),gt("dataSource",a),gt("colorSet",r),gt("profileConfig",o),gt("instanceId",u),gt("lang",c);const g=eb(),y=tb(),_=ob();try{window.localStorage.getItem("__probe__")}catch{const w=Object.create(null),S={getItem:m=>m in w?w[m]:null,setItem:(m,T)=>{w[m]=String(T)},removeItem:m=>{delete w[m]},clear:()=>{for(const m in w)delete w[m]},key:m=>Object.keys(w)[m]??null,get length(){return Object.keys(w).length}};try{Object.defineProperty(window,"localStorage",{configurable:!0,value:S})}catch{}}try{const v=localStorage.getItem("theme");v&&((E=g.setTheme)==null||E.call(g,v))}catch{}return gt("uiStore",g),gt("mapStore",y),gt("dataStore",_),(v,w)=>(V(),z("div",ab,[o.value?h.value?(V(),yo(Pd(h.value),{key:2})):(V(),z("div",rb,[D("p",null,[w[1]||(w[1]=qe("⚠️ Profile ",-1)),D("strong",null,'"'+te(n.value)+'"',1),w[2]||(w[2]=qe(" not found.",-1))])])):(V(),z("div",sb,[...w[0]||(w[0]=[D("p",null,[qe("⚠️ "),D("strong",null,"map-embed"),qe(": missing or invalid "),D("code",null,"profile-config"),qe(" prop.")],-1),D("p",null,[qe("Example: "),D("code",null,`profile-config='{"profile":"example-map","tk":"pk.YOUR_MAPBOX_TOKEN"}'`)],-1)])]))]))}},[["__scopeId","data-v-8d448c33"]]),lb=Object.assign({"./research-dashboard.vue":()=>mu(()=>Promise.resolve().then(()=>mv),void 0)});if(typeof window<"u"&&((gu=window.mapboxgl)!=null&&gu.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 cb(){return Kf(ib,{configureApp(e){e.use(qf()),e.use(Zm()),e.provide("profileModules",lb)}})}const ub=cb();typeof customElements<"u"&&(customElements.get("research-dashboard-map")||customElements.define("research-dashboard-map",ub));function it(e,t){const o=t||db(e);at(()=>{var i;const n=eo();if(!n)return;const s=(i=n.proxy)==null?void 0:i.$el;if(!s)return;const a=s.getRootNode();if(!(a instanceof ShadowRoot)||a.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,a.appendChild(r)})}function db(e){let t=0;for(let o=0;o{var d;return(d=o.get(c))==null?void 0:d.delete(u)}}function s(c,u){var d;(d=o.get(c))==null||d.forEach(h=>{try{h(u)}catch{}})}function a(c,u){u==null?delete e[c]:e[c]=u,s("filter",e)}function r(){Object.keys(e).forEach(c=>delete e[c]),s("filter",e)}function i(c){t.has(c)?t.delete(c):t.add(c),s("select",t)}function l(){t.clear(),s("select",t)}return{filterSet:e,selectionSet:t,on:n,emit:s,setFilter:a,clearFilters:r,toggleSelect:i,clearSelection:l}}const Ac="doxa:";function gb(e){const t=e&&typeof e.getRootNode=="function"?e.getRootNode():null;return t&&t.host||null}function pb(e,t,o){if(!e||typeof e.dispatchEvent!="function")return!1;const n=t.startsWith(Ac)?t:Ac+t;return e.dispatchEvent(new CustomEvent(n,{detail:o,bubbles:!0,composed:!0})),!0}function hb(e,t,o){if(!e)return()=>{};let n,s=!1;if(Object.prototype.hasOwnProperty.call(e,t)){n=e[t],s=!0;try{delete e[t]}catch{}}try{Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){return n},set(a){n=a,o(a)}})}catch{return()=>{}}if(s)try{o(n)}catch{}return()=>{try{delete e[t]}catch{}}}function mb({getEl:e,instanceId:t=null}={}){let o=null,n=null;const s=[];let a=0;function r(){const h=typeof e=="function"?e():null;return o=gb(h),n=h||null,o}function i(){return o||n}function l(h,g){if(a>0)return!1;const y=t?{...g,instanceId:t}:g;return pb(i(),h,y)}function c(h,g){o&&s.push(hb(o,h,y=>u(()=>g(y))))}function u(h){a++;try{h()}finally{Qo(()=>{a--})}}function d(){s.splice(0).forEach(h=>{try{h()}catch{}})}return{attach:r,detach:d,emitOut:l,onProperty:c,applyInbound:u,target:i,get host(){return o},get isInShadow(){return!!o}}}const Cs={};function bb(){const e=typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:ha&&ha.tagName.toUpperCase()==="SCRIPT"&&ha.src||new URL("research-dashboard-map.js",document.baseURI).href}<"u"&&(Cs==null?void 0:Cs.VITE_API_BASE_URL);return e||(console.warn("[apiBaseUrl] No API base configured — set window.MAP_APP_API_URL or VITE_API_BASE_URL to your data source. Failing closed: no request will be made."),null)}function _b(){const e=fe(!1),t=fe(null),o=qo(new Map),n=qo([]),s=fe(null),a=fe(0);async function r(){var i,l,c,u;e.value=!0,t.value=null;try{const d=((i=Sn==null?void 0:Sn.sources)==null?void 0:i[Sn.activeSource])||{},h=bb();if(!h)throw new Error("No API base configured — set window.MAP_APP_API_URL or VITE_API_BASE_URL. Failing closed (no default host).");const g=((l=d.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",y=(d.defaultFields||[]).join(","),_=((c=d.queryParams)==null?void 0:c.lang)||"en",E=`${h}${g}?${y?`fields=${y}&`:""}lang=${_}&_=${Date.now()}`,v=await fetch(E,{cache:"no-store"});if(!v.ok)throw new Error(`list HTTP ${v.status}`);const w=await v.json(),S=Array.isArray(w)?w:w.posts||w.data||w.results||[],m=new Map;for(const C of S){const x=C&&(C.slug||C.id);x&&m.set(x,C)}o.value=m,n.value=S,a.value=m.size;const T=((u=d.endpoints)==null?void 0:u.statistics)||"/api/people-groups/statistics";try{const C=await fetch(`${h}${T}?_=${Date.now()}`,{cache:"no-store"});C.ok&&(C.headers.get("content-type")||"").includes("json")&&(s.value=await C.json())}catch{}a.value===0&&(t.value="No records loaded from the live API.")}catch(d){t.value=d&&d.message?d.message:String(d)}finally{e.value=!1}}return{loading:e,error:t,rowStore:o,rows:n,stats:s,total:a,load:r}}function Ls({rowStore:e,rows:t,selectionSet:o,filterSet:n,FACET_ACC:s}){function a(){if(o&&o.size)return[...o].map(g=>e.value.get(g)).filter(Boolean);const h=Object.keys(n);return h.length?(t.value||[]).filter(g=>h.every(y=>{const _=s[y];return _?_(g)===n[y]:!0})):t.value||[]}function r(){return o&&o.size?`selection (${o.size})`:Object.keys(n).length?"filter result":"all"}function i(h){const g={};for(const y of Object.keys(h)){const _=h[y];g[y]=_&&typeof _=="object"?_.label??_.value??JSON.stringify(_):_}return g}function l(h){let g=h==null?"":String(h);return/^[=+\-@]/.test(g)&&(g="'"+g),/[",\n\r]/.test(g)&&(g='"'+g.replace(/"/g,'""')+'"'),g}function c(){const h=a().map(i),g=[...h.reduce((v,w)=>(Object.keys(w).forEach(S=>v.add(S)),v),new Set)],y=Object.entries(n).map(([v,w])=>`${v}=${w}`).join(" | ")||"none";return[`# Research Dashboard export — scope: ${r()}; filters: ${y}; rows: ${h.length}`,g.map(l).join(","),...h.map(v=>g.map(w=>l(v[w])).join(","))].join(`\r `)}const u={rows:0,clipboard:!1,downloaded:!1,at:0};function d(){const h=c(),g=a().length;try{typeof window<"u"&&(window.__rdashLastCsv=h)}catch{}let y=!1,_=!1;try{typeof navigator<"u"&&navigator.clipboard&&navigator.clipboard.writeText&&(navigator.clipboard.writeText(h).catch(()=>{}),y=!0)}catch{}try{const E=new Blob([h],{type:"text/csv;charset=utf-8"}),v=URL.createObjectURL(E),w=document.createElement("a");w.href=v,w.download="research-dashboard.csv",w.style.display="none",document.body.appendChild(w),w.click(),_=!0,setTimeout(()=>{try{URL.revokeObjectURL(v),w.remove()}catch{}},200)}catch{}Object.assign(u,{rows:g,clipboard:y,downloaded:_,at:typeof performance<"u"?performance.now():0});try{window.__rdashExportStatus={rows:g,clipboard:y,downloaded:_}}catch{}return{csv:h,rows:g,clipboard:y,downloaded:_}}return{exportCsv:d,buildCsv:c,pickRows:a,scopeLabel:r,lastExport:u}}const yb={Africa:"#e74c3c",Asia:"#3498db",Europe:"#2ecc71","Latin America":"#f39c12","Middle East":"#9b59b6","North America":"#1abc9c",Oceania:"#e67e22",Other:"#95a5a6"},kc=["#2456c7","#e67e22","#16a085","#8e44ad","#c0392b","#27ae60","#2c3e50","#d35400","#2980b9","#7f8c8d","#f39c12","#9b59b6","#1abc9c","#34495e","#e74c3c"],me=e=>e==null?"":typeof e=="object"?e.label??e.value??"":e;function Ps(e,t,o){const n=new Map;for(const a of e){const r=t(a);r==null||r===""||n.set(r,(n.get(r)||0)+1)}let s=[...n.entries()].map(([a,r])=>({key:a,value:r})).sort((a,r)=>r.value-a.value);if(o&&s.length>o){const a=s.slice(0,o),r=s.slice(o).reduce((i,l)=>i+l.value,0);r>0&&a.push({key:"Other",value:r,other:!0}),s=a}return s}function Ec(e,t=132,o=.58){const n=t/2,s=t/2,a=t/2-3,r=(t/2-3)*o,i=e.reduce((c,u)=>c+u.value,0)||1;let l=-Math.PI/2;return e.map((c,u)=>{const d=l,h=l+c.value/i*Math.PI*2;l=h;const g=h-d>Math.PI?1:0,y=(E,v)=>`${(n+v*Math.cos(E)).toFixed(2)},${(s+v*Math.sin(E)).toFixed(2)}`,_=`M${y(d,a)} A${a},${a} 0 ${g} 1 ${y(h,a)} L${y(h,r)} A${r},${r} 0 ${g} 0 ${y(d,r)} Z`;return{...c,path:_,pct:Math.round(c.value/i*100),color:wc(c.key,u)}})}function vb(e){const t=e.reduce((o,n)=>Math.max(o,n.value),0)||1;return e.map((o,n)=>({...o,frac:o.value/t,color:wc(o.key,n)}))}function wc(e,t){return yb[e]||kc[t%kc.length]}const Tc="adoptionStatus",Yt={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},Sb=Yt,xs={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},$b=xs;function Cc(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)?Yt.hasAdoption:Yt.notAdopted}function Ns({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Yt.hasAdoption,["==",t,1],Yt.hasAdoption,Yt.notAdopted]}const Lc=Ns,Ab=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Sb,ADOPTION_LABELS:$b,LABELS:xs,PALETTE:Yt,PROPERTY_KEY:Tc,applyColor:Ns,buildColorExpression:Lc,default:{name:"Adoption Progress",propertyKey:Tc,palette:Yt,colors:Yt,labels:xs,getColor:Cc,applyColor:Ns,buildColorExpression:Lc},getColor:Cc},Symbol.toStringTag,{value:"Module"})),Ms="affinityBlock",jo="#95a5a6",Jt={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"},ca={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"},io=ca,Pc=Object.entries(Jt).reduce((e,[t,o])=>(e[o]=t,e),{}),Is=Object.entries(Jt).reduce((e,[t,o])=>(e[o]=io[t],e),{}),xc=Jt;function Rs(e){return Jt[e]||"Unknown"}function Os(e){return io[e]||jo}function Nc(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?io[e]||jo:Is[e]||jo:jo}function Mc(){return Object.entries(Jt).map(([e,t])=>({code:e,name:t,color:io[e]}))}function Ic(e){return{code:e,name:Jt[e]||"Unknown",color:io[e]||jo}}function Rc(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Os(t)}function Oc(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Rs(t)}function Fs(){const e=["match",["get",Ms]];return Object.entries(io).forEach(([t,o])=>{e.push(t,o)}),e.push(jo),e}const Fc=Fs,kb=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:io,AFFINITY_BLOCK_COLORS_BY_NAME:Is,AFFINITY_BLOCK_NAMES:Jt,AFFINITY_BLOCK_NAME_TO_CODE:Pc,NAMES:xc,PALETTE:ca,PROPERTY_KEY:Ms,affinityBlockCodeLookup:Jt,affinityBlockCodeToColor:io,affinityBlockCodeToName:Jt,affinityBlockColors:Is,affinityBlockNameToCode:Pc,applyColor:Fs,buildColorExpression:Fc,default:{name:"Affinity Block",propertyKey:Ms,palette:ca,colors:ca,names:xc,getColor:Rc,applyColor:Fs,buildColorExpression:Fc,getName:Oc,getAffinityBlockName:Rs,getAffinityBlockColor:Nc,getAffinityBlockColorByCode:Os,getAffinityBlocksArray:Mc,getAffinityBlockData:Ic},getAffinityBlockColor:Nc,getAffinityBlockColorByCode:Os,getAffinityBlockData:Ic,getAffinityBlockName:Rs,getAffinityBlocksArray:Mc,getColor:Rc,getName:Oc},Symbol.toStringTag,{value:"Module"})),Dc="engagementStatus",qt={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Eb=qt,Ds={notEngaged:"Unengaged",hasEngagement:"Engaged"},wb=Ds;function Bc(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)?qt.hasEngagement:qt.notEngaged}function Bs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],qt.hasEngagement,["==",t,1],qt.hasEngagement,qt.notEngaged]}const Kc=Bs,Tb=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Eb,ENGAGEMENT_LABELS:wb,LABELS:Ds,PALETTE:qt,PROPERTY_KEY:Dc,applyColor:Bs,buildColorExpression:Kc,default:{name:"Engagement Progress",propertyKey:Dc,palette:qt,colors:qt,labels:Ds,getColor:Bc,applyColor:Bs,buildColorExpression:Kc},getColor:Bc},Symbol.toStringTag,{value:"Module"}));function Cb(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n{e.push(t,o)}),e.push(js),e}const Hc=Hs,Pb=Object.freeze(Object.defineProperty({__proto__:null,GEO_REGION_COLORS:Lb,PALETTE:ua,PROPERTY_KEY:Ks,REGION_COLOR_ALIASES:Gs,SLUG_PALETTE:da,applyColor:Hs,buildColorExpression:Hc,default:{name:"DOXA Region",propertyKey:Ks,palette:ua,colors:ua,slugColors:da,aliases:Gs,fallback:js,getColor:Gc,applyColor:Hs,buildColorExpression:Hc,getRegionColor:Uc,getRegionColorBySlug:Us},getColor:Gc,getRegionColor:Uc,getRegionColorBySlug:Us},Symbol.toStringTag,{value:"Module"})),Vs="languageFamily",xb="#000000",lo={"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","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},Nb=lo;function Ws(e){return lo[e]||xb}const Mb=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(lo))t[e(o)]=o;return t})();function zs(e){if(!e)return"Unknown";const t=String(e).trim();return Mb[t.toLowerCase()]||t}function Vc(e){var t;return Ws(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Ys(){const e=["match",["get",Vs]];return Object.entries(lo).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Wc=Ys,Ib=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Nb,PALETTE:lo,PROPERTY_KEY:Vs,applyColor:Ys,buildColorExpression:Wc,canonicalFamilyName:zs,default:{name:"Language Family",propertyKey:Vs,palette:lo,colors:lo,getColor:Vc,applyColor:Ys,buildColorExpression:Wc,getLanguageFamilyColor:Ws,canonicalFamilyName:zs},defaultFamilyColor:"#95a5a6",getColor:Vc,getLanguageFamilyColor:Ws,languageFamilyColors:lo},Symbol.toStringTag,{value:"Module"})),zc="peoplePraying",fa=144,co={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},Rb=co,Js={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},Ob=Js;function ga(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>=fa?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function qs(e){return co[ga(e)]}function Yc(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 Jc(e){return ga(e)==="fullPrayer"}function qc(e){return qs(e)}function Xs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,fa],co.fullPrayer,[">",t,0],co.hasPrayer,co.noPrayer]}const Xc=Xs,Fb=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:fa,LABELS:Js,PALETTE:co,PRAYER_COLORS:Rb,PRAYER_LABELS:Ob,PROPERTY_KEY:zc,applyColor:Xs,buildColorExpression:Xc,checkHasFullPrayer:Jc,checkHasPrayer:Yc,default:{name:"Prayer Progress",propertyKey:zc,palette:co,colors:co,labels:Js,threshold:fa,getColor:qc,applyColor:Xs,buildColorExpression:Xc,getPrayerLevel:ga,getPrayerColor:qs,checkHasPrayer:Yc,checkHasFullPrayer:Jc},getColor:qc,getPrayerColor:qs,getPrayerLevel:ga},Symbol.toStringTag,{value:"Module"})),Zc="religion",Zs="#94a3b8",Qs={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},ht={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function Qc(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return Qs[t]?t:"U"}function eu(e){var o,n,s;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)||((s=e==null?void 0:e._raw)==null?void 0:s.religion);return ht[Qc(t)]||Zs}function er(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",ht.C,"M",ht.M,"H",ht.H,"B",ht.B,"E",ht.E,"J",ht.J,"S",ht.S,"N",ht.N,"O",ht.O,Zs]}const tu=er,Db=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:ht,PROPERTY_KEY:Zc,RELIGION_FAMILIES:Qs,applyColor:er,buildColorExpression:tu,default:{name:"Religion",propertyKey:Zc,palette:ht,families:Qs,getColor:eu,applyColor:er,buildColorExpression:tu,fallback:Zs},getColor:eu,getReligionFamily:Qc},Symbol.toStringTag,{value:"Module"})),ou="resourceType",uo={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},Bb=uo,$n=["bible","jesusFilm","radio","gospel","audio","stories"],tr={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},Kb=tr;function An(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function nu(e){var t;for(const o of $n)if((e[o]||((t=e._raw)==null?void 0:t[An(o)]))==="Available")return uo.hasResources;return uo.noResources}function au(e){var t;for(const o of $n)if((e[o]||((t=e._raw)==null?void 0:t[An(o)]))==="Available")return!0;return!1}function su(e){var t;for(const o of $n)if((e[o]||((t=e._raw)==null?void 0:t[An(o)]))==="Available")return o;return"noResources"}function or(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],uo.hasResources,uo.noResources]}const ru=or,iu=Object.assign({"./adoption.js":Ab,"./affinity-block.js":kb,"./engagement.js":Tb,"./geo-region.js":Pb,"./language-family.js":Ib,"./prayer-progress.js":Fb,"./religion.js":Db,"./resource.js":Object.freeze(Object.defineProperty({__proto__:null,NAMES:tr,PALETTE:uo,PROPERTY_KEY:ou,RESOURCE_COLORS:Bb,RESOURCE_NAMES:Kb,RESOURCE_PRIORITY:$n,applyColor:or,buildColorExpression:ru,default:{name:"Gospel Resources",propertyKey:ou,palette:uo,colors:uo,names:tr,priority:$n,getColor:nu,applyColor:or,buildColorExpression:ru,hasAnyResource:au,getResourceType:su,getCSVColumn:An},getCSVColumn:An,getColor:nu,getResourceType:su,hasAnyResource:au},Symbol.toStringTag,{value:"Module"}))}),jb=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),Ub=e=>e.replace(/-/g,"_").toUpperCase(),Gb={...{STATUS:"status",CUSTOM:"custom"}};for(const e of Object.keys(iu).sort()){const t=e.split("/").pop().replace(/\.js$/,"");if(t.startsWith("_")||t.startsWith(".")||!iu[e].default)continue;const n=jb(t);Gb[Ub(t)]=n}const fo={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"};function Hb(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(fo[n])return fo[n];if(t.length>=3){const s=[t[1],t[0]].join(" ");if(fo[s])return fo[s]}}if(fo[e])return fo[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&fo[o]?fo[o]:null}const Vb=[[/ sign language$/i,"Sign Language"]];function Wb(e){const t=zs(me(e.imb_language_family));if(t&&t!=="Unknown")return t;const o=me(e.primary_language);if(o){const n=String(o).trim(),s=Hb(n);if(s)return s;for(const[a,r]of Vb)if(a.test(n))return r}return"Unknown"}const lu=[{key:"people",label:"People",levels:[{facet:"rop1",label:"Affinity Bloc",acc:e=>me(e.rop1)},{facet:"imb_reg_of_people_2",label:"Cluster",acc:e=>me(e.imb_reg_of_people_2)},{facet:"imb_reg_of_people_25",label:"People Group",acc:e=>me(e.imb_reg_of_people_25)}]},{key:"place",label:"Place",levels:[{facet:"wagf_region",label:"Region",acc:e=>me(e.wagf_region)},{facet:"wagf_block",label:"Block",acc:e=>me(e.wagf_block)},{facet:"country_code",label:"Country",acc:e=>me(e.country_code)}]},{key:"language",label:"Language",levels:[{facet:"language_family",label:"Family",acc:e=>Wb(e)},{facet:"primary_language",label:"Language",acc:e=>me(e.primary_language)}]},{key:"religion",label:"Religion",levels:[{facet:"religion",label:"Religion",acc:e=>me(e.religion)}]},{key:"status",label:"Status",levels:[{facet:"engagement_status",label:"Status",acc:e=>me(e.engagement_status)}]}];function zb(e=lu){const t={};for(const o of e)for(const n of o.levels)t[n.facet]=n.acc;return t}const Yb={rop1:"Affinity Bloc",imb_reg_of_people_2:"Cluster",imb_reg_of_people_25:"People Group",wagf_region:"Region",wagf_block:"Block",country_code:"Country",language_family:"Language Family",primary_language:"Language",religion:"Religion",engagement_status:"Status"},pa=zb(),Jb=["placeholder","aria-label"],qb=["data-slug"],Xb={class:"nm"},Zb={key:0,class:"sub"},Qb={key:1,class:"dsh-empty"},e_={__name:"DashboardSearch",props:{items:{type:Array,default:()=>[]},nameField:{type:[String,Function],default:"name"},subFields:{type:Array,default:()=>[]},idField:{type:String,default:"slug"},placeholder:{type:String,default:"Search…"},ariaLabel:{type:String,default:"Search"},minChars:{type:Number,default:2},limit:{type:Number,default:8},emptyText:{type:String,default:"Nothing matches “{q}”."},subSeparator:{type:String,default:" · "}},emits:["select"],setup(e,{emit:t}){const o=e,n=t;function s(m){return m==null?"":String(typeof m=="object"?m.label??m.value??"":m)}function a(m,T){return s(typeof T=="function"?T(m):m&&m[T])}const r=m=>a(m,o.nameField),i=m=>o.subFields.map(T=>a(m,T)).filter(Boolean).join(o.subSeparator),l=m=>m?m[o.idField]:"",c=fe(""),u=fe(!1),d=fe(0),h=ee(()=>{const m=c.value.trim().toLowerCase();if(m.length=o.limit))break;return T}),g=ee(()=>o.emptyText.replace("{q}",c.value.trim()));function y(m){m&&(n("select",m),c.value="",u.value=!1,d.value=0)}function _(){u.value=!0,d.value=0}function E(m){if(!h.value.length){m.key==="Escape"&&(c.value="",u.value=!1);return}m.key==="ArrowDown"?(m.preventDefault(),d.value=(d.value+1)%h.value.length):m.key==="ArrowUp"?(m.preventDefault(),d.value=(d.value-1+h.value.length)%h.value.length):m.key==="Enter"?(m.preventDefault(),y(h.value[d.value])):m.key==="Escape"&&(c.value="",u.value=!1,d.value=0)}function v(m){const T=m.target&&m.target.closest&&m.target.closest("[data-slug]");if(!T)return;const C=T.getAttribute("data-slug");y(o.items.find(x=>String(l(x))===C))}const w=fe(null);function S(m){w.value&&!w.value.contains(m.target)&&(u.value=!1)}return at(()=>{var m,T;try{(T=(m=w.value)==null?void 0:m.getRootNode())==null||T.addEventListener("click",S)}catch{}}),Qt(()=>{var m,T;try{(T=(m=w.value)==null?void 0:m.getRootNode())==null||T.removeEventListener("click",S)}catch{}}),it(` .dsh-search{ position:relative; flex:0 1 280px; min-width:140px; } .dsh-search input{ width:100%; box-sizing:border-box; height:30px; padding:0 10px 0 28px; font-size:var(--fs-md,12px); color:var(--rd-ink,#1f2733); background:var(--rd-bg,#f7f9fb); border:1px solid var(--rd-line,#e2e6ec); border-radius:var(--r-md,6px); outline:none; } .dsh-search input:focus{ border-color:var(--rd-accent,#e67e22); background:#fff; } .dsh-search input::placeholder{ color:var(--rd-muted,#6b7686); } .dsh-search .ic{ position:absolute; left:8px; top:50%; transform:translateY(-50%); font-size:12px; color:var(--rd-muted,#6b7686); pointer-events:none; } .dsh-results{ position:absolute; left:0; right:0; top:34px; z-index:60; background:#fff; border:1px solid var(--rd-line,#e2e6ec); border-radius:var(--r-md,6px); box-shadow:0 8px 24px #1f273322; overflow:hidden; max-height:320px; overflow-y:auto; } .dsh-results .dsh-res{ display:flex; align-items:baseline; gap:8px; padding:6px 10px; cursor:pointer; font-size:var(--fs-md,12px); } .dsh-results .dsh-res:hover, .dsh-results .dsh-res.on{ background:var(--rd-bg,#f7f9fb); } .dsh-results .dsh-res .nm{ font-weight:700; color:var(--rd-ink,#1f2733); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .dsh-results .dsh-res .sub{ margin-left:auto; color:var(--rd-muted,#6b7686); font-size:var(--fs-sm,11px); white-space:nowrap; flex:0 0 auto; } .dsh-results .dsh-empty{ padding:8px 10px; color:var(--rd-muted,#6b7686); font-size:var(--fs-sm,11px); } `,"dashboard-search"),(m,T)=>(V(),z("div",{ref_key:"rootEl",ref:w,class:"dsh-search","data-search":""},[T[1]||(T[1]=D("span",{class:"ic"},"⌕",-1)),Po(D("input",{type:"text","onUpdate:modelValue":T[0]||(T[0]=C=>c.value=C),placeholder:e.placeholder,"aria-label":e.ariaLabel,"data-search-input":"",onInput:_,onFocus:_,onKeydown:E},null,40,Jb),[[Gf,c.value]]),u.value&&c.value.trim().length>=e.minChars?(V(),z("div",{key:0,class:"dsh-results","data-search-results":"",onClick:v},[h.value.length?(V(!0),z(ye,{key:0},He(h.value,(C,x)=>(V(),z("div",{key:l(C),class:Re(["dsh-res",{on:x===d.value}]),"data-slug":l(C)},[D("span",Xb,te(r(C)),1),i(C)?(V(),z("span",Zb,te(i(C)),1)):De("",!0)],10,qb))),128)):(V(),z("div",Qb,te(g.value),1))])):De("",!0)],512))}},t_=["data-chip"],o_={key:0,class:"fc"},n_={key:0,class:"fcb-chip fcb-clear","data-chip":"__all__"},a_={__name:"FilterChipBar",props:{chips:{type:Array,default:()=>[]},clearLabel:{type:String,default:"Clear all"}},emits:["remove","clear"],setup(e,{emit:t}){const o=t;function n(s){const a=s.target&&s.target.closest&&s.target.closest("[data-chip]");if(!a)return;const r=a.getAttribute("data-chip");r==="__all__"?o("clear"):o("remove",r)}return it(` .fcb{ display:flex; align-items:center; flex-wrap:wrap; gap:var(--fcb-gap,6px); padding:var(--fcb-pad,0); } .fcb-chip{ display:inline-flex; align-items:center; gap:5px; line-height:1.2; cursor:pointer; border-radius:999px; font-weight:600; font-size:var(--fcb-fs,11px); padding:var(--fcb-chip-pad,3px 9px); background:var(--fcb-bg,#fff); color:var(--fcb-ink,#1a1a2e); border:1px solid var(--fcb-border,#e67e22); } .fcb-chip:hover{ background:var(--fcb-bg-hover,#fff4ea); } .fcb-chip .fc{ opacity:.55; font-weight:500; } .fcb-chip i{ font-style:normal; font-size:var(--fcb-x-fs,12px); opacity:var(--fcb-x-opacity,.6); } .fcb-chip:hover i{ opacity:1; } .fcb-chip.fcb-clear{ background:var(--fcb-clear-bg,#fff); color:var(--fcb-clear-ink,#5a6577); border-color:var(--fcb-clear-border,#c7ccd6); } .fcb-chip.fcb-clear:hover{ background:var(--fcb-clear-bg-hover,#eef1f6); } `,"filter-chip-bar"),(s,a)=>e.chips.length?(V(),z("div",{key:0,class:"fcb","data-chips-bar":"",onClick:n},[(V(!0),z(ye,null,He(e.chips,r=>(V(),z("span",{key:r.key,class:"fcb-chip","data-chip":r.key,"data-filter-chip":""},[r.facet?(V(),z("span",o_,te(r.facet)+":",1)):De("",!0),qe(te(r.text)+" ",1),a[0]||(a[0]=D("i",null,"✕",-1))],8,t_))),128)),e.clearLabel?(V(),z("span",n_,te(e.clearLabel),1)):De("",!0)])):De("",!0)}},s_={__name:"FilterChips",setup(e){const t=Ce("selectionBus",null),o=(t==null?void 0:t.filterSet)||{},n=ee(()=>Object.entries(o).map(([r,i])=>({key:r,text:String(i),facet:Yb[r]||r})));function s(r){t&&t.setFilter(r,null)}function a(){t&&t.clearFilters()}return(r,i)=>(V(),yo(a_,{chips:n.value,onRemove:s,onClear:a},null,8,["chips"]))}},r_=["aria-label"],i_={class:"fbc-crumb root","data-crumb":"__root__"},l_=["data-crumb"],c_={__name:"FilterBreadcrumb",props:{crumbs:{type:Array,default:()=>[]},rootLabel:{type:String,default:"World"},ariaLabel:{type:String,default:"Filter breadcrumb"}},emits:["pick","root"],setup(e,{emit:t}){const o=t;function n(s){const a=s.target&&s.target.closest&&s.target.closest("[data-crumb]");if(!a)return;const r=a.getAttribute("data-crumb");r==="__root__"?o("root"):o("pick",r)}return it(` .fbc{ display:flex; align-items:center; gap:4px; font-size:11px; color:#cdd3df; overflow:hidden; } .fbc-crumb{ cursor:pointer; padding:2px 6px; border-radius:4px; white-space:nowrap; } .fbc-crumb:hover{ background:#ffffff1f; color:#fff; } .fbc-crumb.root{ color:#9aa4b8; } .fbc-crumb.cur{ color:#fff; font-weight:700; } .fbc-sep{ opacity:.45; } `,"filter-breadcrumb"),(s,a)=>(V(),z("nav",{class:"fbc","data-breadcrumb":"",onClick:n,"aria-label":e.ariaLabel},[D("span",i_,te(e.rootLabel),1),(V(!0),z(ye,null,He(e.crumbs,(r,i)=>(V(),z(ye,{key:r.key},[a[0]||(a[0]=D("span",{class:"fbc-sep"},"▸",-1)),D("span",{class:Re(["fbc-crumb",{cur:i===e.crumbs.length-1}]),"data-crumb-item":"","data-crumb":r.key},te(r.label),11,l_)],64))),128))],8,r_))}},u_={__name:"Breadcrumb",setup(e){const t=Ce("selectionBus",null),o=(t==null?void 0:t.filterSet)||{},n=ee(()=>Object.entries(o).map(([r,i])=>({key:r,label:String(i)})));function s(r){const i=Object.keys(o),l=i.indexOf(r);l<0||!t||i.slice(l).forEach(c=>t.setFilter(c,null))}function a(){t&&t.clearFilters()}return(r,i)=>(V(),yo(c_,{crumbs:n.value,"root-label":"World",onPick:s,onRoot:a},null,8,["crumbs"]))}},d_={class:"rd-topbar","data-region":"topbar"},f_={key:0,class:"rd-csv-n"},g_={key:0,class:"rd-toast","data-export-toast":""},p_={__name:"TopBar",setup(e){const t=Ce("dashboardData",null),o=Ce("selectionBus",null),n={religion:d=>me(d.religion),wagf_region:d=>me(d.wagf_region),wagf_block:d=>me(d.wagf_block),country_code:d=>me(d.country_code),engagement_status:d=>me(d.engagement_status),primary_language:d=>me(d.primary_language)},s=t&&o?Ls({rowStore:t.rowStore,rows:t.rows,selectionSet:o.selectionSet,filterSet:o.filterSet,FACET_ACC:n}):null,a=ee(()=>o!=null&&o.selectionSet?o.selectionSet.size:0),r=fe("");let i=null;function l(){if(!s)return;const d=s.exportCsv();r.value=d.downloaded?`✓ ${d.rows} rows exported`:d.clipboard?`✓ ${d.rows} rows copied to clipboard`:`✓ ${d.rows} rows`,clearTimeout(i),i=setTimeout(()=>{r.value=""},2800)}Qt(()=>clearTimeout(i));const c=ee(()=>{var d;return((d=t==null?void 0:t.rows)==null?void 0:d.value)||[]});function u(d){!d||!o||!d.slug||(o.toggleSelect(d.slug),o.emit("focusRow",{slug:d.slug,name:d.name}))}return it(` .rd-topbar{ position:relative; display:flex; align-items:center; gap:12px; height:100%; padding:0 14px; background:var(--rd-panel,#fff); color:var(--rd-ink,#1f2733); border-bottom:1px solid var(--rd-line,#e2e6ec); box-sizing:border-box; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; } .rd-topbar .rd-brand{ display:flex; align-items:baseline; gap:7px; flex:0 0 auto; } .rd-topbar .rd-ttl{ font-weight:800; font-size:var(--fs-lg,13px); letter-spacing:.2px; color:var(--rd-ink,#1f2733); } .rd-topbar .rd-ttl .dot{ color:var(--rd-accent,#e67e22); } .rd-topbar .rd-spacer{ flex:1; } /* search styling now ships WITH the shared DashboardSearch component (@map/components/dashboards) */ /* csv */ .rd-topbar .rd-csv{ display:inline-flex; align-items:center; gap:5px; font-size:var(--fs-sm,11px); font-weight:700; cursor:pointer; background:var(--rd-accent,#e67e22); color:#fff; border-radius:var(--r-md,6px); padding:5px 11px; user-select:none; flex:0 0 auto; } .rd-topbar .rd-csv:hover{ background:#d8741c; } .rd-topbar .rd-csv-n{ background:#ffffff33; border-radius:var(--r-pill,999px); padding:0 6px; font-size:10px; } .rd-topbar .rd-toast{ font-size:var(--fs-sm,11px); font-weight:700; color:#1a7f46; background:#e7f6ed; border:1px solid #b6e3c6; border-radius:var(--r-md,6px); padding:3px 9px; white-space:nowrap; flex:0 0 auto; } `,"rd-topbar"),(d,h)=>(V(),z("header",d_,[h[1]||(h[1]=D("span",{class:"rd-brand"},[D("span",{class:"rd-ttl"},[qe("Research Dashboard"),D("span",{class:"dot"},".")])],-1)),ve(u_),ve(s_),h[2]||(h[2]=D("span",{class:"rd-spacer"},null,-1)),ve(e_,{items:c.value,"name-field":"name","sub-fields":["country_code","religion"],"id-field":"slug",placeholder:"Search people groups…","aria-label":"Search people groups","empty-text":"No people groups match “{q}”.",onSelect:u},null,8,["items"]),D("span",{class:"rd-csv",role:"button",tabindex:"0","data-csv-btn":"",onClick:l},[h[0]||(h[0]=qe(" CSV ↓",-1)),a.value?(V(),z("span",f_,te(a.value),1)):De("",!0)]),r.value?(V(),z("span",g_,te(r.value),1)):De("",!0)]))}};function nr(e,t,o=[]){var n;for(const s of e){if(s.id===t)return o;if((n=s.children)!=null&&n.length){const a=nr(s.children,t,[...o,s]);if(a)return a}}return null}function cu(e,t=new Set){var o;if(!((o=e==null?void 0:e.children)!=null&&o.length))return t;for(const n of e.children)t.add(n.id),cu(n,t);return t}function h_(e){const t=fe(new Set),o=fe(null);function n(y){return t.value.has(y)}function s(y){const _=new Set(t.value),E=_.has(y);if(E?_.delete(y):_.add(y),t.value=_,E&&o.value){const v=nr(e.value||[],o.value);v&&v.some(w=>w.id===y)&&(o.value=null)}}function a(y){const _=nr(e.value||[],y)||[],E=new Set(t.value);_.forEach(v=>E.add(v.id)),t.value=E}function r(){t.value=new Set}const i=ee(()=>{var E;const y=o.value;if(!y)return null;const _=[...e.value||[]];for(;_.length;){const v=_.pop();if(v.id===y)return v;(E=v.children)!=null&&E.length&&_.push(...v.children)}return null}),l=ee(()=>i.value?cu(i.value):new Set);function c(y,_,E,v,w){var S;for(const m of _)y.push({node:m,relDepth:E,parent:v,ancestors:w}),t.value.has(m.id)&&((S=m.children)!=null&&S.length)&&c(y,m.children,E+1,m,[...w,m])}const u=ee(()=>{const y=[];c(y,e.value||[],0,null,[]);for(let _=0;_w+1&&C.ancestors[w]}if(w===E.relDepth-1){let T=!1;for(let C=_+1;Co.value!==null);function h(y){return o.value===y.id?(o.value=null,null):(o.value=y.id,y)}function g(){o.value=null}return{expandedIds:t,selectedId:o,selectedNode:i,selectedDescendants:l,visibleRows:u,hasSel:d,isExpanded:n,toggleExpand:s,expandTo:a,collapseAll:r,selectNode:h,deselect:g}}const m_={class:"sts-wrap","data-region":"facets","data-component":"semantic-tree-sidebar"},b_={class:"sts-head"},__={class:"sts-scope","data-scope-count":""},y_=["data-dimension"],v_=["onClick"],S_=["data-node-id","onClick"],$_=["aria-label","onClick"],A_={key:1,class:"sts-caret-sp"},k_={key:3,class:"sts-dot-sp"},E_={class:"sts-name"},w_={key:4,class:"sts-cnt"},T_={key:0,class:"sts-empty"},C_={__name:"SemanticTreeSidebar",props:{dimensions:{type:Array,default:()=>[]},palette:{type:Array,default:()=>["#2456c7","#e67e22","#16a085","#8e44ad","#c0392b","#27ae60","#2c3e50","#d35400","#2980b9","#7f8c8d","#f39c12","#9b59b6","#1abc9c","#34495e","#e74c3c"]},capPerLevel:{type:Number,default:60},sectionsOpen:{type:Boolean,default:!0}},setup(e){const t=e,o=Ce("dashboardData",null),n=Ce("selectionBus",null);function s(y,_,E){const v=new Map;for(const S of y){let m=v,T=_.key;for(const C of _.levels){const x=C.acc(S);if(x===""||x===null||x===void 0)break;T+="␟"+x;let R=m.get(x);R||(R={id:T,label:x,facet:C.facet,value:x,count:0,_kids:new Map},m.set(x,R)),R.count+=1,m=R._kids}}const w=(S,m,T)=>{const C=[...S.values()].sort((M,J)=>J.count-M.count),x=C.slice(0,E),R=x.map((M,J)=>({id:M.id,label:M.label,facet:M.facet,value:M.value,count:M.count,color:m===0?t.palette[J%t.palette.length]:void 0,children:w(M._kids,m+1,M.id)}));if(C.length>x.length){const M=C.length-x.length;R.push({id:`${T}␟__more`,label:`… ${M.toLocaleString("en-US")} more`,count:0,other:!0,children:[]})}return R};return w(v,0,_.key)}const a=t.dimensions.map(y=>{const _=ee(()=>{var v;return s(((v=o==null?void 0:o.rows)==null?void 0:v.value)||[],y,t.capPerLevel)}),E=h_(_);return{dim:y,nodes:_,tree:E}}),r=po(Object.fromEntries(t.dimensions.map(y=>[y.key,t.sectionsOpen])));function i(y){r[y]=!r[y]}const l=(n==null?void 0:n.filterSet)||{},c=ee(()=>{var v;const y=((v=o==null?void 0:o.rows)==null?void 0:v.value)||[],_=Object.keys(l);if(!_.length)return y.length;const E={};for(const{dim:w}of a)for(const S of w.levels)E[S.facet]=S.acc;return y.filter(w=>_.every(S=>{const m=E[S];return m?m(w)===l[S]:!0})).length});function u(y,_){if(_.other)return;const E=y.tree.selectNode(_);n&&n.setFilter(_.facet,E?_.value:null)}function d(y,_){var v;const E=_.node.id;return{selected:y.tree.selectedId.value===E,descendant:y.tree.hasSel.value&&y.tree.selectedDescendants.value.has(E),child:_.relDepth>0,leaf:!((v=_.node.children)!=null&&v.length),other:!!_.node.other}}function h(y){return y!=null?y.toLocaleString("en-US"):"—"}const g=fe(null);return at(()=>{n&&n.on("mapFocus",({value:y}={})=>{if(!y||!g.value)return;const E=[...g.value.querySelectorAll(".sts-name")].find(v=>v.textContent&&v.textContent.includes(y));if(E){const v=E.closest(".sts-row");v&&(g.value.scrollTop=Math.max(0,v.offsetTop-8))}})}),it(` .sts-wrap{ display:flex; flex-direction:column; height:100%; min-height:0; box-sizing:border-box; background:var(--rd-panel,#fff); } .sts-head{ flex:0 0 auto; padding:var(--s3,12px) var(--s3,12px) var(--s2,8px); border-bottom:1px solid var(--rd-line,#e2e6ec); } .sts-scope{ font-size:11px; color:var(--rd-muted,#6b7686); } .sts-scope b{ color:var(--rd-ink,#1f2733); font-size:13px; } .sts-body{ flex:1 1 auto; min-height:0; overflow:auto; } .sts-sec{ border-bottom:1px solid var(--rd-line,#e2e6ec); } .sts-sech{ display:flex; align-items:center; gap:6px; padding:8px 12px; cursor:pointer; user-select:none; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--rd-muted,#6b7686); } .sts-sech:hover{ background:var(--rd-bg,#f7f9fb); } .sts-sech .chev{ margin-left:auto; transition:transform .15s; font-size:10px; color:#9aa4b2; } .sts-sech.closed .chev{ transform:rotate(-90deg); } .sts-rows{ padding-bottom:6px; } /* ── Indented tree row — trunk + caret + dot + name + count ── */ .sts-row{ display:flex; align-items:center; gap:6px; min-height:26px; padding:0 10px; cursor:pointer; font-size:12px; color:#3a4456; border-bottom:1px solid rgba(226,230,236,.5); } .sts-row:last-child{ border-bottom:none; } .sts-row:hover{ background:#f1f4f8; } .sts-rows.has-sel .sts-row:not(.selected):not(.descendant){ opacity:.4; } .sts-rows.has-sel .sts-row:not(.selected):not(.descendant):hover{ opacity:.7; } .sts-rows.has-sel .sts-row.descendant{ opacity:1; } .sts-row.selected{ background:#fff4ea; font-weight:700; color:var(--rd-ink,#1f2733); box-shadow: inset 3px 0 0 0 var(--row-color,#e67e22); } .sts-row.other{ cursor:default; color:#9aa4b2; } .sts-row.other:hover{ background:transparent; } .sts-trunk{ position:relative; flex-shrink:0; width:12px; align-self:stretch; } .sts-trunk-pipe::before,.sts-trunk-tee::before,.sts-trunk-elbow::before{ content:''; position:absolute; left:5px; top:0; width:1px; background:#c2cad6; opacity:.7; } .sts-trunk-pipe::before,.sts-trunk-tee::before{ bottom:0; } .sts-trunk-elbow::before{ height:50%; } .sts-trunk-tee::after,.sts-trunk-elbow::after{ content:''; position:absolute; left:5px; top:50%; height:1px; width:7px; background:#c2cad6; opacity:.8; } .sts-caret{ background:none; border:none; padding:0; cursor:pointer; color:#8a95a5; width:14px; height:14px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border-radius:3px; } .sts-caret svg{ transition:transform .15s; } .sts-caret.open svg{ transform:rotate(90deg); } .sts-caret:hover{ color:#3a4456; background:rgba(0,0,0,.05); } .sts-caret-sp{ width:14px; flex-shrink:0; } .sts-dot{ width:8px; height:8px; border-radius:50%; flex-shrink:0; box-shadow:0 0 0 1px rgba(0,0,0,.12); } .sts-dot-sp{ width:8px; flex-shrink:0; } .sts-name{ flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .sts-cnt{ flex:0 0 auto; font-variant-numeric:tabular-nums; color:#6b7686; min-width:34px; text-align:right; font-size:11px; } .sts-row.selected .sts-cnt{ color:var(--rd-ink,#1f2733); } .sts-empty{ padding:14px 12px; text-align:center; font-size:11px; color:#9aa4b2; } `,"semantic-tree-sidebar"),(y,_)=>(V(),z("aside",m_,[D("div",b_,[D("div",__,[D("b",null,te(c.value.toLocaleString("en-US")),1),_[0]||(_[0]=qe(" groups in scope",-1))])]),D("div",{class:"sts-body",ref_key:"bodyEl",ref:g},[(V(!0),z(ye,null,He(Ct(a),E=>(V(),z("div",{key:E.dim.key,class:"sts-sec","data-dimension":E.dim.key},[D("div",{class:Re(["sts-sech",{closed:!r[E.dim.key]}]),onClick:v=>i(E.dim.key)},[D("span",null,te(E.dim.label),1),_[1]||(_[1]=D("span",{class:"chev"},"▾",-1))],10,v_),Po(D("div",{class:Re(["sts-rows",{"has-sel":E.tree.hasSel.value}])},[(V(!0),z(ye,null,He(E.tree.visibleRows.value,v=>(V(),z("div",{key:v.node.id,class:Re(["sts-row",d(E,v)]),"data-node-id":v.node.id,style:kt({"--row-color":v.node.color||"#e67e22"}),onClick:w=>u(E,v.node)},[(V(!0),z(ye,null,He(v.trunks,(w,S)=>(V(),z("span",{key:"tr"+S,class:Re(["sts-trunk","sts-trunk-"+w])},null,2))),128)),v.node.children&&v.node.children.length?(V(),z("button",{key:0,class:Re(["sts-caret",{open:E.tree.isExpanded(v.node.id)}]),"aria-label":E.tree.isExpanded(v.node.id)?"Collapse":"Expand",onClick:Xi(w=>E.tree.toggleExpand(v.node.id),["stop"])},[..._[2]||(_[2]=[D("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[D("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,$_)):(V(),z("span",A_)),v.node.color?(V(),z("span",{key:2,class:"sts-dot",style:kt({background:v.node.color})},null,4)):(V(),z("span",k_)),D("span",E_,te(v.node.label),1),v.node.other?De("",!0):(V(),z("span",w_,te(h(v.node.count)),1))],14,S_))),128)),E.tree.visibleRows.value.length?De("",!0):(V(),z("div",T_,"No data at this level"))],2),[[fn,r[E.dim.key]]])],8,y_))),128))],512)]))}},uu="https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css";async function L_(e){const t=e.getRootNode();if(!(t instanceof ShadowRoot))return;const o=a=>new Promise(r=>setTimeout(r,a)),n=t.querySelector(`link[href="${uu}"]`);if(n){if(n.sheet)return;await Promise.race([new Promise(a=>{n.addEventListener("load",a,{once:!0}),n.addEventListener("error",a,{once:!0})}),o(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=uu,await Promise.race([new Promise(a=>{s.addEventListener("load",a,{once:!0}),s.addEventListener("error",a,{once:!0}),t.prepend(s)}),o(2e3)])}const P_=85.0511,du=-2,x_=0,N_=-60;function fu(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function M_(e,t,o,n){if(!e||e<=0||!t||t<=0)return x_;const s=Math.log2(e/512),a=fu(n)-fu(P_),r=Math.log2(t/(512*a)),i=Math.max(s,r);return Math.max(du,Math.min(i,(o??18)-1))}function I_({containerRef:e,accessToken:t,style:o,center:n=[20,10],zoom:s=2,minZoom:a=void 0,maxZoom:r=18,pitch:i=0,bearing:l=0,renderWorldCopies:c=!0,southCutoff:u=N_,maxBounds:d=void 0}){const h=fe(null),g=fe(!1);let y=null,_=null;async function E(){var M;if(typeof mapboxgl>"u"){console.error("mapboxgl is not available. Add the Mapbox GL JS script to your page.");return}if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}if(!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}await L_(e.value),await new Promise(J=>requestAnimationFrame(J));const w=e.value,S=w.clientWidth,m=w.clientHeight;if(S===0||m===0){console.error(`[useMapInstance] Container has ZERO dimensions (${S}×${m}). Map will be invisible. Check that parent elements have CSS sizing.`);let J=w.parentElement,le=0;for(;J&&le<5;)J=J.parentElement,le++}const T=t;mapboxgl.accessToken=T;const C=()=>typeof window<"u"&&window.innerWidth>=1024,x=(J,le)=>{if(!C())return du;const N=M_(J,le,r,u);return typeof a=="number"?Math.max(a,N):N},R=x(w.clientWidth,w.clientHeight);h.value=new mapboxgl.Map({accessToken:T,container:e.value,style:o,center:n,zoom:s,minZoom:R,maxZoom:r,pitch:i,bearing:l,dragRotate:!1,touchPitch:!1,renderWorldCopies:c,...d?{maxBounds:d}:{},attributionControl:!1}),h.value.touchZoomRotate.disableRotation();{const J=((M=e.value)==null?void 0:M.parentElement)||null,le=J?Array.from(J.querySelectorAll(".map-scroll-edge")):[];if(le.length){const N="rgba(120, 128, 134, 0.28)",ne="36px",A=re=>re.classList.contains("map-scroll-edge--left");for(const re of le)re.style.background=`linear-gradient(${A(re)?"to right":"to left"}, ${N} ${ne}, transparent ${ne})`,re.style.opacity="0",re.style.transition="opacity 0.16s ease",re.style.userSelect="none",re.style.webkitUserSelect="none";const B=re=>{re.style.opacity="1"},U=re=>{re.style.opacity="0"},W=()=>le.find(re=>C()?!A(re):A(re))||null,Z=new Set;let ae=!1,oe=null;const pe=()=>{for(const re of le)Z.has(re)||U(re)},G=()=>{const re=W();re&&(B(re),oe&&clearTimeout(oe),oe=setTimeout(pe,250))},se=()=>{C()&&G()},$e=re=>{if(!(re.touches&&re.touches.length===1))return;const et=re.target;et&&et.classList&&et.classList.contains("map-scroll-edge")||G()},Ke=()=>{oe&&clearTimeout(oe),pe()};J.addEventListener("wheel",se,{passive:!0}),J.addEventListener("touchmove",$e,{passive:!0}),J.addEventListener("touchend",Ke,{passive:!0}),J.addEventListener("touchcancel",Ke,{passive:!0});const ze=()=>{ae||G()};typeof window<"u"&&window.addEventListener("scroll",ze,{passive:!0});const mt=[];for(const re of le){const et=()=>{Z.add(re),B(re)},tt=()=>{Z.delete(re),U(re)},Xt=()=>{ae=!0,B(re)},b=()=>{ae=!1,U(re)};re.addEventListener("mouseenter",et),re.addEventListener("mouseleave",tt),re.addEventListener("touchstart",Xt,{passive:!0}),re.addEventListener("touchend",b,{passive:!0}),mt.push(()=>{re.removeEventListener("mouseenter",et),re.removeEventListener("mouseleave",tt),re.removeEventListener("touchstart",Xt),re.removeEventListener("touchend",b)})}_=()=>{oe&&(clearTimeout(oe),oe=null),J.removeEventListener("wheel",se),J.removeEventListener("touchmove",$e),J.removeEventListener("touchend",Ke),J.removeEventListener("touchcancel",Ke),typeof window<"u"&&window.removeEventListener("scroll",ze);for(const re of mt)re();for(const re of le)U(re)}}}y=()=>{const J=h.value;if(!J)return;const le=x(w.clientWidth,w.clientHeight);J.setMinZoom(le),J.getZoom(){requestAnimationFrame(()=>{var J;(J=h.value)==null||J.resize(),h.value&&h.value.setMinZoom(x(w.clientWidth,w.clientHeight)),g.value=!0})})}function v(){h.value&&(y&&(h.value.off("resize",y),typeof window<"u"&&(window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y)),y=null),_&&(_(),_=null),h.value.remove(),h.value=null,g.value=!1)}return{map:h,isMapReady:g,initializeMap:E,destroy:v}}const R_={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){return it(` .map-toolbar { position: absolute; top: 6px; /* Sit the control column near the edge with a small symmetric padding (3px) — same value works whether the toolbar is swapped to the left or right side, and it lines up with the search bar's 3px side inset. coder 2026-06-24. */ right: 3px; display: flex; flex-direction: column; gap: var(--map-toolbar-gap, 8px); z-index: 10; } /* Slim every toolbar control to a fixed 32px (coder 2026-06-24: "buttons can be smaller"): smaller but still tappable, and uniform so they all align. The icons inside stay their own fixed px sizes (they don't scale with the button), so they remain legible — "icons fixed in their sizing". Caps the responsive --map-btn-size (40/36/32). FullscreenButton.vue is not edited; it slims here too. */ .map-toolbar .mcb, .map-toolbar .hbg-btn { width: 32px; height: 32px; } .map-toolbar .hbg-ctrl { margin: 10px 0 0 0; } /* drop the 6px left offset so it lines up with the rest */ @media (max-width: 767px) { /* Mobile (with geocoder): drop the toolbar well below the search bar so it doesn't sit flush against the search pill. Search = top:10, height ~36, bottom:46. top:80 leaves a comfortable ~34px gap. */ .map-toolbar { top: 72px; gap: 6px; } /* Mobile (no geocoder): collapse the reserved gap — controls sit flush to the top of the map area with the same 6px inset used on desktop. */ .map-toolbar.map-toolbar--no-geocoder { top: 6px; gap: 6px; } } `,"map-toolbar"),(t,o)=>(V(),z("div",{class:Re(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder}])},[Qr(t.$slots,"default")],2))}},O_=["title","disabled"],F_={__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 it(` .mcb{ width:var(--map-btn-size,40px);height:var(--map-btn-size,40px); background:#fff; border:none; border-radius:50%; cursor:pointer; /* Don't let a drag that starts near a button select its glyph (the old "drag selects the emoji to copy" bug while grabbing the scroll edge). */ user-select:none;-webkit-user-select:none; display:flex;align-items:center;justify-content:center; /* Tight shadow only — the old 0 2px 8px spread bled to the map's clipped right edge (overflow:hidden) and read as a "shadow wall" + made buttons look over-padded. (coder 2026-06-24) */ box-shadow:0 1px 3px rgba(0,0,0,0.18); transition:background-color 0.2s,box-shadow 0.2s,transform 0.1s; color:#333; flex-shrink:0; outline:none; /* No blue/grey selection box on click/tap (webkit tap highlight). */ -webkit-tap-highlight-color:transparent; } .mcb:hover:not(:disabled){background:#f0f0f0;box-shadow:0 2px 8px rgba(0,0,0,0.18),0 4px 16px rgba(0,0,0,0.12);} .mcb:active:not(:disabled){transform:scale(0.93);} .mcb:disabled{opacity:0.4;cursor:not-allowed;} .mcb.active{background:#e8f0fe;color:#1a73e8;} /* dark */ .mcb.dark{background:#3b463d;color:#F3F3F1;border:1px solid rgba(255,255,255,0.14);box-shadow:0 1px 4px rgba(0,0,0,0.4);} .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"),(t,o)=>(V(),z("button",{class:Re(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[Qr(t.$slots,"default")],10,O_))}},D_=["aria-label"],B_={key:0,class:"mbl-h"},K_={__name:"MapBinLegend",props:{title:{type:String,default:""},bins:{type:Array,default:()=>[]},position:{type:String,default:"bottom-right",validator:e=>["bottom-right","bottom-left","top-right","top-left"].includes(e)},isDark:{type:Boolean,default:!1},maxWidth:{type:String,default:"148px"}},setup(e){const t=e,o=ee(()=>"mbl-"+t.position);return it(` .mbl{ position:absolute; z-index:2; background:#ffffffe8; border:1px solid var(--rd-line,#e2e6ec); border-radius:var(--r-md,6px); padding:6px 8px; backdrop-filter:blur(3px); box-sizing:border-box; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; } .mbl.mbl-bottom-right{ right:8px; bottom:8px; } .mbl.mbl-bottom-left{ left:8px; bottom:8px; } .mbl.mbl-top-right{ right:8px; top:8px; } .mbl.mbl-top-left{ left:8px; top:8px; } .mbl .mbl-h{ font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--rd-muted,#6b7686); margin-bottom:4px; } .mbl .mbl-row{ display:flex; align-items:center; gap:6px; font-size:10px; color:#3a4456; line-height:1.5; } .mbl .mbl-sw{ width:11px; height:11px; border-radius:2px; flex:0 0 auto; border:1px solid #00000014; } .mbl.mbl-dark{ background:#1e2a24e8; border-color:#ffffff26; } .mbl.mbl-dark .mbl-h{ color:#9fb0a5; } .mbl.mbl-dark .mbl-row{ color:#e6ece8; } .mbl.mbl-dark .mbl-sw{ border-color:#ffffff2e; } `,"map-bin-legend"),(n,s)=>(V(),z("div",{class:Re(["mbl",[o.value,{"mbl-dark":e.isDark}]]),style:kt({maxWidth:e.maxWidth}),"data-map-legend":"","aria-label":e.title||"Map legend"},[e.title?(V(),z("div",B_,te(e.title),1)):De("",!0),(V(!0),z(ye,null,He(e.bins,a=>(V(),z("div",{key:a.label,class:"mbl-row","data-legend-row":""},[D("span",{class:"mbl-sw",style:kt({background:a.color})},null,4),D("span",null,te(a.label),1)]))),128))],14,D_))}},j_=["data-projection"],U_={__name:"MapPanel",setup(e){const t=Ce("dashboardData",null),o=Ce("selectionBus",null),n=Ce("mapboxToken",fe("")),s=(o==null?void 0:o.filterSet)||{},a={religion:A=>me(A.religion),wagf_region:A=>me(A.wagf_region),wagf_block:A=>me(A.wagf_block),country_code:A=>me(A.country_code),engagement_status:A=>me(A.engagement_status),primary_language:A=>me(A.primary_language)},r=ee(()=>{var U;const A=((U=t==null?void 0:t.rows)==null?void 0:U.value)||[],B=Object.keys(s);return B.length?A.filter(W=>B.every(Z=>{const ae=a[Z];return ae?ae(W)===s[Z]:!0})):A}),i=ee(()=>{var B;const A=new Map;for(const U of((B=t==null?void 0:t.rows)==null?void 0:B.value)||[]){const W=U.country_code;W&&W.value&&A.set(W.value,W.label||W.value)}return A}),l=ee(()=>{const A=new Map;for(const B of r.value){const U=B.country_code&&B.country_code.value;U&&A.set(U,(A.get(U)||0)+1)}return A}),c=fe(null),{map:u,isMapReady:d,initializeMap:h,destroy:g}=I_({containerRef:c,accessToken:Ct(n)||n&&n.value||"",center:[28,18],zoom:1.45,minZoom:1});let y=!1;function _(A){return A?A<5?"#cfe0f5":A<20?"#86b6e6":A<60?"#3d82cf":A<150?"#1f5fab":"#123c73":"#e9edf2"}const E=[{color:"#cfe0f5",label:"1–4"},{color:"#86b6e6",label:"5–19"},{color:"#3d82cf",label:"20–59"},{color:"#1f5fab",label:"60–149"},{color:"#123c73",label:"150+"}];function v(){const A=l.value,B=[],U=[];A.forEach((oe,pe)=>{B.push(pe,_(oe)),U.push(pe)});const W=B.length?["match",["get","iso_3166_1_alpha_3"],...B,"#eef1f5"]:"#eef1f5",ae=Object.keys(s).length>0&&U.length?["match",["get","iso_3166_1_alpha_3"],...U.flatMap(oe=>[oe,.92]),.12]:.78;return{fillColor:W,fillOpacity:ae}}function w(){const A=u.value;if(!A||!A.getLayer("rd-choropleth"))return;const{fillColor:B,fillOpacity:U}=v();A.setPaintProperty("rd-choropleth","fill-color",B),A.setPaintProperty("rd-choropleth","fill-opacity",U);const W=A.getSource("rd-bubbles");W&&W.setData(S())}function S(){return{type:"FeatureCollection",features:r.value.filter(A=>Number(A.latitude)&&Number(A.longitude)).map(A=>({type:"Feature",geometry:{type:"Point",coordinates:[Number(A.longitude),Number(A.latitude)]},properties:{pop:Number(A.population)||0,slug:A.slug||"",name:A.name||""}}))}}function m(){const A=u.value;if(!A||y)return;y=!0,A.getSource("rd-countries")||A.addSource("rd-countries",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"});const{fillColor:B,fillOpacity:U}=v();A.addLayer({id:"rd-choropleth",type:"fill",source:"rd-countries","source-layer":"country_boundaries",paint:{"fill-color":B,"fill-opacity":U,"fill-outline-color":"#ffffff"}}),A.addSource("rd-bubbles",{type:"geojson",data:S()}),A.addLayer({id:"rd-bubble-layer",type:"circle",source:"rd-bubbles",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,1.5,6,4],"circle-color":"#e67e22","circle-opacity":.5,"circle-stroke-width":.3,"circle-stroke-color":"#fff"}}),A.on("click","rd-choropleth",T),A.on("click","rd-bubble-layer",C),A.on("mouseenter","rd-choropleth",()=>{A.getCanvas().style.cursor="pointer"}),A.on("mouseleave","rd-choropleth",()=>{A.getCanvas().style.cursor=""}),A.on("mouseenter","rd-bubble-layer",()=>{A.getCanvas().style.cursor="pointer"}),A.on("mouseleave","rd-bubble-layer",()=>{A.getCanvas().style.cursor=""});try{window.__rdashMap=A,window.__rdashClickAt=(W,Z)=>{const ae=A.project([W,Z]),oe=A.queryRenderedFeatures(ae,{layers:["rd-choropleth"]});return oe&&oe[0]?(T({features:oe}),oe[0].properties&&oe[0].properties.iso_3166_1_alpha_3):null},window.__rdashPinAt=(W,Z)=>{const ae=A.project([W,Z]),oe=A.queryRenderedFeatures([[ae.x-7,ae.y-7],[ae.x+7,ae.y+7]],{layers:["rd-bubble-layer"]});return oe&&oe[0]?(C({features:[oe[0]]}),oe[0].properties&&oe[0].properties.slug):null}}catch{}M(),o&&o.on("focusRow",({slug:W}={})=>{var oe;if(!W)return;const Z=(((oe=t==null?void 0:t.rows)==null?void 0:oe.value)||[]).find(pe=>pe.slug===W),ae=u.value;if(ae&&Z&&Number(Z.latitude)&&Number(Z.longitude))try{ae.flyTo({center:[Number(Z.longitude),Number(Z.latitude)],zoom:5.5,duration:1200})}catch{}})}function T(A){const B=u.value;if(B&&A.point){const ae=B.queryRenderedFeatures([[A.point.x-5,A.point.y-5],[A.point.x+5,A.point.y+5]],{layers:["rd-bubble-layer"]});if(ae&&ae.length)return}const U=A.features&&A.features[0];if(!U||!o)return;const W=U.properties&&U.properties.iso_3166_1_alpha_3,Z=i.value.get(W);Z&&(o.setFilter("country_code",s.country_code===Z?null:Z),o.emit("mapFocus",{facet:"country_code",value:Z}))}function C(A){const B=A.features&&A.features[0];if(!B||!o)return;const U=B.properties&&B.properties.slug;U&&(o.toggleSelect(U),o.emit("focusRow",{slug:U,name:B.properties&&B.properties.name}))}function x(){const A=u.value;if(A)try{A.setConfigProperty("basemap","lightPreset","night")}catch{}}at(async()=>{await h();const A=u.value;if(!A)return;const B=()=>{m(),x()};A.isStyleLoaded()?B():A.on("load",B),A.on("idle",()=>{!y&&A.isStyleLoaded()&&m()}),A.on("style.load",x)}),Qt(()=>{try{g&&g()}catch{}}),nt([r,d],w);const R=fe("globe");function M(){const A=u.value;if(A)try{A.setProjection(R.value)}catch{}}function J(){R.value=R.value==="globe"?"mercator":"globe",M()}function le(A){const B=A.filter(oe=>Number(oe.latitude)&&Number(oe.longitude));if(!B.length)return null;let U=180,W=90,Z=-180,ae=-90;for(const oe of B){const pe=Number(oe.longitude),G=Number(oe.latitude);peZ&&(Z=pe),Gae&&(ae=G)}return[[U,W],[Z,ae]]}function N(){const A=u.value;if(!A)return;if(!Object.keys(s).length){try{A.flyTo({center:[28,18],zoom:1.45,duration:1e3})}catch{}return}const B=le(r.value);if(B)try{A.fitBounds(B,{padding:70,duration:1200,maxZoom:5.5})}catch{}}let ne=null;return nt(()=>JSON.stringify(s),()=>{clearTimeout(ne),ne=setTimeout(N,260)}),it(` /* dark-green dark-mode (card 8d4491ed): match the night basemap so there's no light flash before tiles paint. Revert to #dfe6ef with lightPreset 'day'. */ .rd-mapwrap{ position:relative; width:100%; height:100%; min-height:0; background:#0e1512; } .rd-mapwrap .rd-mapc{ position:absolute; inset:0; } .rd-maptag{ position:absolute; left:8px; bottom:8px; z-index:2; font-size:10px; color:#33415588; background:#ffffffcc; padding:2px 6px; border-radius:4px; } /* The projection control and the bin legend are now the shared MapToolbar/MapControlButton and MapBinLegend components — each ships its own styles, so nothing for them is declared here. */ `,"rd-mappanel"),(A,B)=>(V(),z("div",{class:"rd-mapwrap","data-sub":"map","data-projection":R.value},[D("div",{ref_key:"mapContainer",ref:c,class:"rd-mapc","data-map-canvas":""},null,512),ve(R_,{"has-geocoder":!1},{default:Oa(()=>[ve(F_,{"data-proj-toggle":"",title:R.value==="globe"?"Globe view — switch to flat":"Flat view — switch to globe",onClick:J},{default:Oa(()=>[qe(te(R.value==="globe"?"🌐":"▭"),1)]),_:1},8,["title"])]),_:1}),B[0]||(B[0]=D("div",{class:"rd-maptag"},"UPG choropleth · click a country to filter · click a pin to select",-1)),ve(K_,{title:"UPGs / country",bins:E,position:"bottom-right"})],8,j_))}},G_=["data-tabulator-css","data-tabulator-ready","data-row-count"],H_={class:"dt-head"},V_={class:"dt-title"},W_={class:"dt-count"},z_={key:0,class:"dt-grain"},Y_={class:"dt-actions"},J_={key:0,class:"dt-err","data-tabulator-error":""},q_={class:"dt-wrap"},X_={class:"dt-hint"},Z_={class:"dt-sheet",role:"dialog","aria-label":"Row detail"},Q_={class:"dt-sheet-head"},ey={class:"dt-dl"},ty=["href"],oy={key:1},ny={key:2},ay={key:2,class:"dt-caveats"},sy={class:"dt-cav-k"},ry=".dt:not(.is-dark) .tabulator{border:1px solid var(--rd-line,#e2e6ec);background:var(--rd-panel,#fff);color:var(--rd-ink,#1f2733)}.dt:not(.is-dark) .tabulator .tabulator-header{background-color:var(--rd-bg,#f7f9fb);color:var(--rd-ink,#1f2733);border-bottom:1px solid var(--rd-line,#e2e6ec)}.dt:not(.is-dark) .tabulator .tabulator-header .tabulator-col{background:var(--rd-bg,#f7f9fb);background-color:var(--rd-bg,#f7f9fb);color:var(--rd-ink,#1f2733);border-right:1px solid var(--rd-line,#e2e6ec)}.dt:not(.is-dark) .tabulator .tabulator-header .tabulator-col .tabulator-header-filter input,.dt:not(.is-dark) .tabulator .tabulator-header .tabulator-col .tabulator-header-filter select{background:var(--rd-panel,#fff);border:1px solid var(--rd-line,#e2e6ec);color:var(--rd-ink,#1f2733);border-radius:4px}.dt:not(.is-dark) .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom-color:var(--rd-muted,#6b7686)}.dt:not(.is-dark) .tabulator .tabulator-tableholder .tabulator-table{background-color:var(--rd-panel,#fff);color:var(--rd-ink,#1f2733)}.dt:not(.is-dark) .tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{color:var(--rd-muted,#6b7686);font-size:13px;font-weight:600}.dt:not(.is-dark) .tabulator-row{background:var(--rd-panel,#fff)!important;background-color:var(--rd-panel,#fff)!important;color:var(--rd-ink,#1f2733)}.dt:not(.is-dark) .tabulator-row.tabulator-row-even{background:var(--rd-bg,#f7f9fb)!important;background-color:var(--rd-bg,#f7f9fb)!important}.dt:not(.is-dark) .tabulator-row.tabulator-selectable:hover{background:#eef2f7!important;background-color:#eef2f7!important}.dt:not(.is-dark) .tabulator-row.tabulator-selected{background:#eef4ff!important;background-color:#eef4ff!important;color:#1e3a6b}.dt:not(.is-dark) .tabulator-row.tabulator-selected:hover{background:#e2ecff!important;background-color:#e2ecff!important}.dt:not(.is-dark) .tabulator-row .tabulator-cell{border-right:1px solid var(--rd-line,#e2e6ec)}.dt:not(.is-dark) .tabulator .tabulator-footer{background-color:var(--rd-bg,#f7f9fb);color:var(--rd-ink,#1f2733);border-top:1px solid var(--rd-line,#e2e6ec)}.dt:not(.is-dark) .tabulator .tabulator-footer .tabulator-paginator,.dt:not(.is-dark) .tabulator .tabulator-footer .tabulator-page-counter,.dt:not(.is-dark) .tabulator .tabulator-footer .tabulator-paginator label{color:var(--rd-ink,#1f2733)}.dt:not(.is-dark) .tabulator .tabulator-footer .tabulator-page,.dt:not(.is-dark) .tabulator .tabulator-footer .tabulator-page-size{background:var(--rd-panel,#fff);border:1px solid var(--rd-line,#e2e6ec);color:var(--rd-ink,#1f2733)}.dt:not(.is-dark) .tabulator .tabulator-footer .tabulator-page.active{background:var(--rd-accent,#e67e22);border-color:var(--rd-accent,#e67e22);color:#fff}.dt:not(.is-dark) .tabulator .tabulator-footer .tabulator-page:not(disabled):hover{background:var(--rd-bg,#f7f9fb);color:var(--rd-ink,#1f2733)}",iy={__name:"TabulatorTable",props:{table:{type:Object,required:!0},assetsBase:{type:String,default:"/assets"},isDark:{type:Boolean,default:!1},height:{type:String,default:"100%"},frozen:{type:Number,default:1},pageSize:{type:Number,default:50},selectable:{type:Boolean,default:!0},selectedIds:{type:Array,default:()=>[]},idField:{type:String,default:"slug"}},emits:["row-click","selection-change","export-request"],setup(e,{expose:t,emit:o}){const n=e,s=o,a=fe(!1),r=fe(null),i=fe(null),l=qo(null),c=fe(null),u=fe(!1),d=fe(!1),h=ee(()=>String(n.assetsBase||"/assets").replace(/\/+$/,"")),g=ee(()=>{var A;return((A=n.table)==null?void 0:A.meta)||{}}),y=ee(()=>{var A;return(((A=n.table)==null?void 0:A.rows)||[]).length}),_=ee(()=>Object.entries(g.value).filter(([A,B])=>typeof B=="string"&&/caveat|meaning|note|boundary|measures|does_not/i.test(A)).map(([A,B])=>({key:A.replace(/_/g," "),text:B})));let E=null;function v(){return window.Tabulator?Promise.resolve(window.Tabulator):E||(E=new Promise((A,B)=>{const U=document.createElement("script");U.src=`${h.value}/vendor/tabulator/tabulator.min.js`,U.onload=()=>A(window.Tabulator),U.onerror=()=>B(new Error(`Tabulator failed to load from ${h.value}/vendor/tabulator/ — is public/assets/vendor/tabulator/ present and served?`)),document.head.appendChild(U)}),E)}async function w(A){if(A){if(A.querySelector&&A.querySelector("style[data-tabulator]")){d.value=!0;return}try{const B=await fetch(`${h.value}/vendor/tabulator/tabulator.min.css`);if(!B.ok)return;const U=document.createElement("style");U.setAttribute("data-tabulator",""),U.textContent=await B.text(),A.appendChild(U),d.value=!0}catch{}}}let S=!1;function m(){var A;try{return(((A=l.value)==null?void 0:A.getSelectedData())||[]).map(B=>B[n.idField]).filter(B=>B!=null)}catch{return[]}}function T(A){if(!l.value||!u.value)return;const B=new Set(A||[]),U=new Set(m());if(!(B.size===U.size&&[...B].every(W=>U.has(W)))){S=!0;try{l.value.deselectRow(),B.size&&l.value.selectRow([...B])}catch{}finally{S=!1}}}function C(A){var Z,ae;if(!i.value)return;a.value=typeof window<"u"&&window.innerWidth<700;const B=((Z=n.table)==null?void 0:Z.columns)||[],W=(a.value?B.slice(0,3):B).map((oe,pe)=>({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&&peoe.stopPropagation()}),l.value=new A(i.value,{data:((ae=n.table)==null?void 0:ae.rows)||[],columns:W,index:n.idField,height:n.height,layout:a.value?"fitColumns":"fitDataStretch",pagination:!0,paginationSize:a.value?20:n.pageSize,paginationSizeSelector:[25,50,100,250],movableColumns:!0,placeholder:"No rows",selectableRows:!!n.selectable}),l.value.on("rowClick",(oe,pe)=>{r.value=pe.getData(),s("row-click",pe.getData())}),l.value.on("rowSelectionChanged",()=>{S||s("selection-change",m())}),l.value.on("tableBuilt",()=>{u.value=!0,T(n.selectedIds)})}const x=A=>{var B,U;return((U=(((B=n.table)==null?void 0:B.columns)||[]).find(W=>W.field===A))==null?void 0:U.title)||A.replace(/_/g," ")},R=A=>typeof A=="string"&&A.includes(", ")&&A.length>40?A.split(", "):null,M=A=>typeof A=="string"&&/^https?:\/\//.test(A),J=ee(()=>r.value?Object.entries(r.value).filter(([,A])=>A!==""&&A!==null&&A!==void 0):[]);function le(A){s("export-request",{format:A})}function N(A){var B;try{(B=l.value)==null||B.download(A,`${(g.value.title||"table").replace(/\W+/g,"-").toLowerCase()}.${A}`)}catch(U){c.value=String(U.message||U)}}function ne(A){var B;try{(B=l.value)==null||B.scrollToRow(A,"center",!1)}catch{}}return t({downloadNative:N,scrollToId:ne,getTable:()=>l.value}),at(async()=>{var A,B;try{await w((B=(A=i.value)==null?void 0:A.getRootNode)==null?void 0:B.call(A)),C(await v())}catch(U){c.value=String(U.message||U)}}),Qt(()=>{var A;try{(A=l.value)==null||A.destroy()}catch{}}),nt(()=>n.table,async()=>{var A;if(l.value)try{await l.value.replaceData(((A=n.table)==null?void 0:A.rows)||[]),await Qo(),T(n.selectedIds)}catch{}}),nt(()=>n.selectedIds,A=>T(A),{deep:!0}),it(".dt,.dt *{box-sizing:border-box}.dt{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;display:flex;flex-direction:column;height:100%;min-height:0}.dt-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px;flex:0 0 auto}.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;flex:0 0 auto}.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;flex:0 0 auto}.dt-wrap{width:100%;flex:1 1 auto;min-height:0;overflow:hidden;border:1px solid rgba(0,0,0,.10);border-radius:8px}.is-dark .dt-wrap{border-color:rgba(255,255,255,.12)}"+ry,"doxa-data-table"),(A,B)=>{var U,W;return V(),z("div",{class:Re(["dt",{"is-dark":e.isDark}]),"data-tabulator-table":"","data-tabulator-css":d.value?"1":"0","data-tabulator-ready":u.value?"1":"0","data-row-count":y.value},[D("div",H_,[D("h3",V_,te(g.value.title||"Data"),1),D("span",W_,te(y.value.toLocaleString())+" rows",1),g.value.grain?(V(),z("span",z_,"· "+te(g.value.grain),1)):De("",!0),D("span",Y_,[D("button",{type:"button",class:"dt-btn","data-export-csv":"",onClick:B[0]||(B[0]=Z=>le("csv"))},"CSV"),D("button",{type:"button",class:"dt-btn","data-export-json":"",onClick:B[1]||(B[1]=Z=>le("json"))},"JSON")])]),c.value?(V(),z("div",J_,te(c.value),1)):De("",!0),D("div",q_,[D("div",{ref_key:"host",ref:i},null,512)]),D("p",X_,"Tap any row for its full detail"+te(a.value?"":" — every field, including the lists the table flattens")+".",1),r.value?(V(),z("div",{key:1,class:"dt-scrim",onClick:B[3]||(B[3]=Xi(Z=>r.value=null,["self"]))},[D("div",Z_,[D("div",Q_,[D("strong",null,te(r.value[(W=(((U=e.table)==null?void 0:U.columns)||[])[0])==null?void 0:W.field]||"Detail"),1),D("button",{type:"button",class:"dt-close",onClick:B[2]||(B[2]=Z=>r.value=null)},"Close")]),D("dl",ey,[(V(!0),z(ye,null,He(J.value,([Z,ae])=>(V(),z(ye,{key:Z},[D("dt",null,te(x(Z)),1),D("dd",null,[M(ae)?(V(),z("a",{key:0,href:ae,target:"_blank",rel:"noopener"},te(ae),9,ty)):R(ae)?(V(),z("ul",oy,[(V(!0),z(ye,null,He(R(ae),(oe,pe)=>(V(),z("li",{key:pe},te(oe),1))),128))])):(V(),z("span",ny,te(ae===!0?"yes":ae===!1?"no":ae),1))])],64))),128))])])])):De("",!0),_.value.length?(V(),z("div",ay,[(V(!0),z(ye,null,He(_.value,Z=>(V(),z("div",{key:Z.key},[D("span",sy,te(Z.key)+":",1),qe(" "+te(Z.text),1)]))),128))])):De("",!0)],10,G_)}}},ly=["data-sel-count","data-table-count"],cy={class:"rd-table-bar"},uy=["title","aria-expanded"],dy={class:"ct"},fy={key:0,class:"rd-pill","data-sel-pill":""},gy={class:"rd-tabhost"},py={class:"rd-foot",role:"row"},hy={"data-foot-rows":""},my={"data-foot-pop":""},by={__name:"DataTable",setup(e){const t=Ce("dashboardData",null),o=Ce("selectionBus",null),n=Ce("profileConfig",null),s=ee(()=>{var N;return((N=n==null?void 0:n.value)==null?void 0:N.assetsBase)||"/assets"}),a=N=>N==null?"":typeof N=="object"?N.label??N.value??"":N,r=N=>{if(typeof N=="number")return N;const ne=parseFloat(String(N??"").replace(/[^0-9.\-]/g,""));return isNaN(ne)?null:ne},i=N=>N==null?"":Number(N).toLocaleString("en-US"),l=[{key:"name",label:"People Group",get:N=>N.name||"",type:"str"},{key:"country",label:"Country",get:N=>a(N.country_code),type:"str"},{key:"region",label:"Region",get:N=>a(N.wagf_region),type:"str"},{key:"language",label:"Language",get:N=>a(N.primary_language),type:"str"},{key:"religion",label:"Religion",get:N=>a(N.religion),type:"str"},{key:"population",label:"Population",get:N=>r(N.population),type:"num"},{key:"people_praying",label:"Praying",get:N=>r(N.people_praying),type:"num"},{key:"engagement",label:"Engagement",get:N=>a(N.engagement_status),type:"str"}],c=ee(()=>{var N;return((N=t==null?void 0:t.rows)==null?void 0:N.value)||[]}),u=(o==null?void 0:o.filterSet)||{},d=o==null?void 0:o.selectionSet;function h(N,ne,A){const B=pa[ne];if(!B)return!0;const U=B(N);return Array.isArray(A)?A.includes(U):U===A}const g=ee(()=>{const N=Object.keys(u);return N.length?c.value.filter(ne=>N.every(A=>h(ne,A,u[A]))):c.value});function y(N){const ne={};for(const A of Object.keys(N)){const B=N[A];ne[A]=B&&typeof B=="object"?B.label??B.value??"":B}return ne}const _=ee(()=>({meta:{title:"People Groups",grain:"one row per people group"},columns:l.map(N=>({title:N.label,field:N.key,type:N.type==="num"?"number":"string"})),rows:g.value.map(N=>{const ne=y(N);return l.forEach(A=>{ne[A.key]=A.get(N)}),ne.slug=N.slug,ne})})),E=ee(()=>new Set(_.value.rows.map(N=>N.slug))),v=ee(()=>d?[...d].filter(N=>E.value.has(N)):[]);function w(N){if(!o||!d)return;const ne=new Set(N),A=E.value;[...d].forEach(B=>{A.has(B)&&!ne.has(B)&&o.toggleSelect(B)}),ne.forEach(B=>{d.has(B)||o.toggleSelect(B)})}function S(N){o&&o.emit("rowActivated",N)}const m=fe(null);function T({format:N}){var ne;if(N==="csv"){o&&o.emit("exportCsv",{source:"table"});return}(ne=m.value)==null||ne.downloadNative(N)}o&&o.on("focusRow",({slug:N}={})=>{var ne;N&&((ne=m.value)==null||ne.scrollToId(N))});const C=ee(()=>d?d.size:0);function x(){o&&o.clearSelection()}const R=fe(!1);function M(){R.value=!R.value,o&&o.emit("toggleTable",R.value)}const J=ee(()=>g.value.reduce((N,ne)=>N+(r(ne.population)||0),0)),le=ee(()=>g.value.length);return it(` .rd-table-wrap{ display:flex; flex-direction:column; height:100%; min-height:0; background:#fff; font-size:12px; } .rd-table-bar{ display:flex; align-items:center; gap:10px; padding:6px 10px; border-bottom:1px solid #dde3ec; flex:0 0 auto; } .rd-table-bar .ct{ color:#7a8494; } .rd-dock{ all:unset; cursor:pointer; flex:0 0 auto; width:20px; height:20px; line-height:20px; text-align:center; border-radius:4px; color:var(--rd-muted,#6b7686); font-size:12px; } .rd-dock:hover{ background:var(--rd-bg,#f7f9fb); color:var(--rd-accent,#e67e22); } .rd-pill{ margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:11px; padding:3px 9px; border-radius:999px; background:#eef4ff; color:#2456c7; border:1px solid #cfe0ff; } .rd-pill button{ all:unset; cursor:pointer; color:#2456c7; opacity:.7; } .rd-pill button:hover{ opacity:1; } .rd-tabhost{ flex:1 1 auto; min-height:0; padding:8px 10px 0; } .rd-foot{ flex:0 0 auto; display:flex; gap:18px; align-items:center; padding:0 10px; border-top:2px solid #dde3ec; background:#f4f6fa; font-weight:700; height:28px; color:#3a4456; font-variant-numeric:tabular-nums; } `,"rd-datatable"),(N,ne)=>(V(),z("div",{class:"rd-table-wrap","data-sel-count":C.value,"data-table-count":le.value},[D("div",cy,[D("button",{class:"rd-dock",title:R.value?"Expand table":"Collapse table — grow the map","data-table-dock":"","aria-expanded":R.value?"false":"true",onClick:M},te(R.value?"▴":"▾"),9,uy),D("span",dy,"Brushed scope · "+te(i(le.value))+" rows",1),C.value?(V(),z("span",fy,[D("span",null,te(C.value)+" selected",1),D("button",{title:"Clear selection",onClick:x},"✕")])):De("",!0)]),D("div",gy,[ve(iy,{ref_key:"tableRef",ref:m,table:_.value,"assets-base":s.value,"selected-ids":v.value,"id-field":"slug",height:"100%","page-size":50,onSelectionChange:w,onRowClick:S,onExportRequest:T},null,8,["table","assets-base","selected-ids"])]),D("div",py,[D("span",hy,"Σ "+te(i(le.value))+" groups",1),D("span",my,"Σ population "+te(i(J.value)),1)])],8,ly))}},_y={class:"rd-chart","data-chart":"religion"},yy={class:"rd-donutwrap"},vy={class:"rd-donut",viewBox:"0 0 132 132",role:"img","aria-label":"Religion donut"},Sy=["d","fill","data-key"],$y={class:"rd-legend"},Ay=["data-key"],ky={class:"rd-chart","data-chart":"wagf_region"},Ey={class:"rd-donutwrap"},wy={class:"rd-donut",viewBox:"0 0 132 132",role:"img","aria-label":"Region donut"},Ty=["d","fill","data-key"],Cy={class:"rd-legend"},Ly=["data-key"],Py={class:"rd-chart","data-chart":"country_code"},xy={class:"rd-bars"},Ny=["data-key"],My={class:"rd-bl"},Iy={class:"rd-bt"},Ry={class:"rd-bv"},Oy={__name:"ChartsRail",setup(e){const t=Ce("dashboardData",null),o=Ce("selectionBus",null),n=(o==null?void 0:o.filterSet)||{},s=ee(()=>{var g;const d=((g=t==null?void 0:t.rows)==null?void 0:g.value)||[],h=Object.keys(n);return h.length?d.filter(y=>h.every(_=>{const E=pa[_];return E?E(y)===n[_]:!0})):d}),a=ee(()=>Ec(Ps(s.value,d=>me(d.religion),8))),r=ee(()=>Ec(Ps(s.value,d=>me(d.wagf_region),9))),i=ee(()=>vb(Ps(s.value,d=>me(d.country_code),12))),l=(d,h)=>n[d]===h;function c(d,h){!h||h==="Other"||!o||o.setFilter(d,n[d]===h?null:h)}function u(d){const h=d.target&&d.target.closest&&d.target.closest("[data-facet]");h&&c(h.getAttribute("data-facet"),h.getAttribute("data-key"))}return it(` .rd-charts{ display:flex; flex-direction:column; gap:var(--s3,12px); height:100%; min-height:0; padding:var(--s3,12px); background:var(--rd-panel,#fff); overflow:auto; box-sizing:border-box; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; } .rd-charts .rd-h{ font-weight:700; font-size:var(--fs-md,12px); text-transform:uppercase; letter-spacing:.5px; color:var(--rd-muted,#6b7686); } .rd-chart{ border:1px solid var(--rd-line,#e2e6ec); border-radius:var(--r-lg,10px); background:var(--rd-bg,#f7f9fb); padding:10px; } .rd-chart .rd-ct{ font-weight:700; font-size:var(--fs-sm,11px); color:var(--rd-ink,#1f2733); margin-bottom:6px; } .rd-donutwrap{ display:flex; align-items:center; gap:10px; } .rd-donut{ width:108px; height:108px; flex:0 0 auto; } .rd-slice{ cursor:pointer; transition:opacity .18s, transform .18s; transform-origin:center; } .rd-slice:hover{ opacity:.82; } .rd-slice.on{ stroke:var(--rd-ink,#1f2733); stroke-width:1.5; } .rd-legend{ display:flex; flex-direction:column; gap:2px; font-size:10.5px; color:#3a4456; max-height:108px; overflow:auto; flex:1 1 auto; } .rd-li{ display:flex; align-items:center; gap:5px; cursor:pointer; white-space:nowrap; padding:1px 2px; border-radius:3px; } .rd-li:hover{ background:#eef2f8; } .rd-li.on{ background:#fff4ea; font-weight:700; color:var(--rd-ink,#1f2733); } .rd-li i{ width:9px; height:9px; border-radius:2px; flex:0 0 auto; } .rd-li b{ margin-left:auto; color:var(--rd-muted,#6b7686); font-variant-numeric:tabular-nums; } .rd-bars{ display:flex; flex-direction:column; gap:3px; } .rd-bar{ display:flex; align-items:center; gap:6px; cursor:pointer; font-size:10.5px; padding:1px 2px; border-radius:3px; } .rd-bar:hover{ background:#eef2f8; } .rd-bar.on{ background:#fff4ea; font-weight:700; color:var(--rd-ink,#1f2733); } .rd-bl{ flex:0 0 84px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#3a4456; } .rd-bt{ flex:1 1 auto; height:11px; background:#eef1f6; border-radius:3px; overflow:hidden; } .rd-bf{ display:block; height:100%; border-radius:3px; transition:width .35s cubic-bezier(.4,0,.2,1); } .rd-bv{ flex:0 0 auto; color:var(--rd-muted,#6b7686); font-variant-numeric:tabular-nums; min-width:30px; text-align:right; } `,"rd-charts"),(d,h)=>(V(),z("aside",{class:"rd-charts","data-region":"charts-rail",onClick:u},[h[3]||(h[3]=D("div",{class:"rd-h"},"Charts",-1)),D("div",_y,[h[0]||(h[0]=D("div",{class:"rd-ct"},"Religion",-1)),D("div",yy,[(V(),z("svg",vy,[(V(!0),z(ye,null,He(a.value,g=>(V(),z("path",{key:g.key,d:g.path,fill:g.color,class:Re(["rd-slice",{on:l("religion",g.key)}]),"data-facet":"religion","data-key":g.key},[D("title",null,te(g.key)+": "+te(g.value)+" ("+te(g.pct)+"%)",1)],10,Sy))),128))])),D("div",$y,[(V(!0),z(ye,null,He(a.value,g=>(V(),z("span",{key:g.key,class:Re(["rd-li",{on:l("religion",g.key)}]),"data-facet":"religion","data-key":g.key},[D("i",{style:kt({background:g.color})},null,4),qe(te(g.key),1),D("b",null,te(g.value),1)],10,Ay))),128))])])]),D("div",ky,[h[1]||(h[1]=D("div",{class:"rd-ct"},"Region",-1)),D("div",Ey,[(V(),z("svg",wy,[(V(!0),z(ye,null,He(r.value,g=>(V(),z("path",{key:g.key,d:g.path,fill:g.color,class:Re(["rd-slice",{on:l("wagf_region",g.key)}]),"data-facet":"wagf_region","data-key":g.key},[D("title",null,te(g.key)+": "+te(g.value)+" ("+te(g.pct)+"%)",1)],10,Ty))),128))])),D("div",Cy,[(V(!0),z(ye,null,He(r.value,g=>(V(),z("span",{key:g.key,class:Re(["rd-li",{on:l("wagf_region",g.key)}]),"data-facet":"wagf_region","data-key":g.key},[D("i",{style:kt({background:g.color})},null,4),qe(te(g.key),1),D("b",null,te(g.value),1)],10,Ly))),128))])])]),D("div",Py,[h[2]||(h[2]=D("div",{class:"rd-ct"},"Top countries",-1)),D("div",xy,[(V(!0),z(ye,null,He(i.value,g=>(V(),z("div",{key:g.key,class:Re(["rd-bar",{on:l("country_code",g.key)}]),"data-facet":"country_code","data-key":g.key},[D("span",My,te(g.key),1),D("span",Iy,[D("span",{class:"rd-bf",style:kt({width:g.frac*100+"%",background:g.color})},null,4)]),D("span",Ry,te(g.value),1)],10,Ny))),128))])])]))}},Fy={class:"dtp","data-region":"detail-drawer"},Dy={class:"dtp-h"},By={key:0,class:"dtp-empty","data-detail-empty":""},Ky={class:"dtp-top"},jy=["src","alt"],Uy={key:1,class:"dtp-ph","data-detail-thumb":""},Gy={class:"dtp-name","data-detail-name":""},Hy={class:"dtp-meta"},Vy={class:"dtp-rows"},Wy={class:"k"},zy={class:"v"},Yy={key:0,class:"sub"},Jy={__name:"DetailPanel",props:{heading:{type:String,default:"Detail"},title:{type:String,default:""},subtitle:{type:String,default:""},imageUrl:{type:String,default:""},imageAlt:{type:String,default:""},placeholder:{type:String,default:"No photo"},rows:{type:Array,default:()=>[]},emptyText:{type:String,default:"Select a record to see detail"},actionLabel:{type:String,default:""},hasRecord:{type:Boolean,default:!1}},emits:["action"],setup(e,{emit:t}){const o=t;return it(` .dtp{ box-sizing:border-box; background:var(--rd-panel,#fff); border-left:1px solid var(--rd-line,#e2e6ec); border-bottom:1px solid var(--rd-line,#e2e6ec); padding:var(--s3,12px); font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; color:var(--rd-ink,#1f2733); flex:0 0 auto; } .dtp .dtp-h{ font-weight:700; font-size:var(--fs-md,12px); text-transform:uppercase; letter-spacing:.5px; color:var(--rd-muted,#6b7686); margin-bottom:var(--s2,8px); } .dtp .dtp-empty{ font-size:var(--fs-md,12px); color:var(--rd-muted,#6b7686); padding:var(--s1,4px) 0; } .dtp .dtp-top{ display:flex; gap:var(--s3,12px); align-items:flex-start; } .dtp .dtp-thumb{ width:64px; height:64px; border-radius:var(--r-md,6px); object-fit:cover; flex:0 0 auto; border:1px solid var(--rd-line,#e2e6ec); display:block; } .dtp .dtp-ph{ width:64px; height:64px; border-radius:var(--r-md,6px); flex:0 0 auto; background:var(--rd-bg,#f7f9fb); border:1px solid var(--rd-line,#e2e6ec); display:flex; align-items:center; justify-content:center; color:var(--rd-muted,#6b7686); font-size:var(--fs-xs,10px); text-transform:uppercase; letter-spacing:.4px; } .dtp .dtp-name{ font-weight:800; font-size:var(--fs-xl,16px); line-height:1.2; color:var(--rd-ink,#1f2733); } .dtp .dtp-meta{ font-size:var(--fs-sm,11px); color:var(--rd-muted,#6b7686); margin-top:2px; } .dtp .dtp-rows{ display:flex; flex-direction:column; gap:2px; margin-top:var(--s3,12px); } .dtp .dtp-row{ display:flex; align-items:baseline; gap:var(--s2,8px); font-size:var(--fs-md,12px); padding:2px 0; border-bottom:1px solid var(--rd-line,#e2e6ec); } .dtp .dtp-row:last-child{ border-bottom:0; } .dtp .dtp-row .k{ color:var(--rd-muted,#6b7686); flex:0 0 auto; min-width:118px; } .dtp .dtp-row .v{ color:var(--rd-ink,#1f2733); margin-left:auto; text-align:right; font-variant-numeric:tabular-nums; } .dtp .dtp-row .v .sub{ color:var(--rd-muted,#6b7686); } .dtp .dtp-act{ margin-top:var(--s3,12px); width:100%; border:0; border-radius:var(--r-md,6px); cursor:pointer; background:var(--rd-accent,#e67e22); color:#fff; font-weight:700; font-size:var(--fs-md,12px); padding:var(--s2,8px) var(--s3,12px); } .dtp .dtp-act:hover{ background:#d8741c; } `,"detail-panel"),(n,s)=>(V(),z("section",Fy,[D("div",Dy,te(e.heading),1),e.hasRecord?(V(),z(ye,{key:1},[D("div",Ky,[e.imageUrl?(V(),z("img",{key:0,class:"dtp-thumb",src:e.imageUrl,alt:e.imageAlt,"data-detail-thumb":""},null,8,jy)):(V(),z("div",Uy,te(e.placeholder),1)),D("div",null,[D("div",Gy,te(e.title||"—"),1),D("div",Hy,te(e.subtitle),1)])]),D("div",Vy,[(V(!0),z(ye,null,He(e.rows,a=>(V(),z("div",{key:a.k,class:"dtp-row"},[D("span",Wy,te(a.k),1),D("span",zy,[qe(te(a.v),1),a.sub?(V(),z("span",Yy," ("+te(a.sub)+")",1)):De("",!0)])]))),128))]),e.actionLabel?(V(),z("button",{key:0,class:"dtp-act",type:"button","data-detail-export":"",onClick:s[0]||(s[0]=a=>o("action"))},te(e.actionLabel),1)):De("",!0)],64)):(V(),z("div",By,te(e.emptyText),1))]))}},qy={__name:"DetailDrawer",setup(e){const t=Ce("dashboardData",null),o=Ce("selectionBus",null),n={religion:g=>me(g.religion),wagf_region:g=>me(g.wagf_region),wagf_block:g=>me(g.wagf_block),country_code:g=>me(g.country_code),engagement_status:g=>me(g.engagement_status),primary_language:g=>me(g.primary_language)},s=t&&o?Ls({rowStore:t.rowStore,rows:t.rows,selectionSet:o.selectionSet,filterSet:o.filterSet,FACET_ACC:n}):null,a=fe(null),r=[];at(()=>{o&&(r.push(o.on("focusRow",g=>{g&&g.slug&&(a.value=g.slug)})),r.push(o.on("select",g=>{const y=g?[...g]:[];y.length&&(a.value=y[y.length-1])})))}),Qt(()=>{r.forEach(g=>{try{g()}catch{}}),r.length=0});const i=ee(()=>{const g=a.value;return!g||!t||!t.rowStore||!t.rowStore.value?null:t.rowStore.value.get(g)||null}),l=g=>g==null||g===""?"—":Number(g).toLocaleString("en-US"),c=ee(()=>{const g=i.value;return!!(g&&g.has_photo&&g.image_url)}),u=ee(()=>{const g=i.value;return g?[{k:"Language",v:me(g.primary_language)||"—",sub:me(g.imb_language_family)||""},{k:"Population",v:l(g.population)},{k:"People praying",v:l(g.people_praying)},{k:"People committed",v:l(g.people_committed)},{k:"Adopted by churches",v:l(g.adopted_by_churches)},{k:"Engagement",v:me(g.engagement_status)||"—"}]:[]}),d=ee(()=>{const g=i.value;return g?`${me(g.country_code)||"—"} · ${me(g.religion)||"—"}`:""});function h(){!s||!o||(!o.selectionSet.size&&a.value&&o.toggleSelect(a.value),s.exportCsv())}return(g,y)=>(V(),yo(Jy,{heading:"Detail","has-record":!!i.value,title:i.value?i.value.name||"—":"",subtitle:d.value,"image-url":c.value?i.value.image_url:"","image-alt":i.value&&i.value.name||"",placeholder:"No photo",rows:u.value,"empty-text":"Select a people group to see detail","action-label":"Export this selection ↓",onAction:h},null,8,["has-record","title","subtitle","image-url","image-alt","rows"]))}},Xy=["data-row-count","data-loading","data-error","data-narrow","data-crosspane","data-sel-count"],Zy={class:"rd-stats","data-region":"stats","data-sub":"stat-strip"},Qy={class:"kpi"},ev={class:"n","data-kpi":"total"},tv={key:0,class:"d","data-kpi-delta":""},ov={class:"kpi"},nv={class:"n"},av={class:"kpi"},sv={class:"n"},rv={class:"kpi"},iv={class:"n","data-kpi":"countries"},lv={class:"kpi"},cv={class:"n","data-kpi":"praying"},uv={class:"kpi"},dv={class:"n","data-kpi":"adopted"},fv={class:"rd-cell-map","data-region":"map"},gv={class:"rd-cell-table","data-region":"table"},pv={class:"rd-rail","data-region":"rail"},hv=["data-view"],mv=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"research-dashboard",setup(e){Ce("mapboxToken",fe(""));const t=fb();gt("selectionBus",t);const o=_b();gt("dashboardData",o),at(()=>o.load());const n=o.total,s=o.loading,a=o.error,r=G=>G==null?"—":Number(G).toLocaleString("en-US"),i=ee(()=>{const G=o.rows.value||[],se=Object.keys(t.filterSet);return se.length?G.filter($e=>se.every(Ke=>{const ze=pa[Ke];return ze?ze($e)===t.filterSet[Ke]:!0})):G}),l=ee(()=>i.value.length),c=ee(()=>(o.rows.value||[]).length),u=ee(()=>Math.max(0,c.value-l.value)),d=ee(()=>i.value.reduce((G,se)=>G+(Number(se.population)||0),0)),h=ee(()=>{const G=i.value;if(!G.length)return"—";const se=G.filter($e=>!/engaged/i.test(me($e.engagement_status))||/unengaged/i.test(me($e.engagement_status))).length;return Math.round(se/G.length*100)+"%"}),g=ee(()=>{const G=new Set;return i.value.forEach(se=>{const $e=se.country_code&&se.country_code.value;$e&&G.add($e)}),G.size}),y=ee(()=>i.value.reduce((G,se)=>G+(Number(se.people_praying)||0),0)),_=ee(()=>{const G=i.value;if(!G.length)return"—";const se=G.filter($e=>Number($e.adopted_by_churches)>0).length;return Math.round(se/G.length*100)+"%"}),E=fe(null),v=fe(!1),w=fe(!1),S=fe(!1),m=fe("map"),T=[{k:"map",l:"Map"},{k:"facets",l:"Filters"},{k:"table",l:"Table"},{k:"charts",l:"Charts"}];let C=null;at(()=>{E.value&&(C=new ResizeObserver(()=>{const G=E.value.clientWidth;v.value=G<760,w.value=G>=760&&G<1180,S.value=G>=760&&G<980}),C.observe(E.value))}),Qt(()=>C&&C.disconnect());const x=fe(!1);at(()=>{t&&t.on("toggleTable",G=>{x.value=!!G})});function R(G){const se=G.target.closest("[data-view]");se&&(m.value=se.getAttribute("data-view"))}const M=ee(()=>!v.value||m.value==="facets"),J=ee(()=>!v.value||m.value==="map"),le=ee(()=>!v.value||m.value==="table"),N=ee(()=>!v.value||m.value==="charts"),ne=ee(()=>t.selectionSet?t.selectionSet.size:0),A=Ls({rowStore:o.rowStore,rows:o.rows,selectionSet:t.selectionSet,filterSet:t.filterSet,FACET_ACC:pa});function B(){A.exportCsv()}function U(){t.clearSelection()}function W(G){const se=G.target&&G.target.closest&&G.target.closest("[data-bar-export],[data-bar-clear]");se&&(se.hasAttribute("data-bar-export")?B():U())}at(()=>{t.on("exportCsv",()=>A.exportCsv())});const Z=Ce("instanceId",fe(null)),ae=mb({getEl:()=>E.value,instanceId:Z.value}),oe=fe(!1);at(()=>{ae.attach(),oe.value=ae.isInShadow,ae.onProperty("selection",G=>{const se=Array.isArray(G)?G:G instanceof Set?[...G]:G&&Array.isArray(G.slugs)?G.slugs:[];t.clearSelection(),se.forEach($e=>t.toggleSelect($e))}),ae.onProperty("filters",G=>{const se=G&&typeof G=="object"&&!Array.isArray(G)?G.filters&&typeof G.filters=="object"?G.filters:G:{};t.clearFilters(),Object.entries(se).forEach(([$e,Ke])=>t.setFilter($e,Ke))}),nt(()=>[...t.selectionSet].join(""),()=>{const G=[...t.selectionSet];ae.emitOut("selection-changed",{slugs:G,count:G.length})}),nt(()=>({...t.filterSet}),()=>{ae.emitOut("filters-changed",{filters:{...t.filterSet}})},{deep:!0}),t.on("rowActivated",G=>{ae.emitOut("row-activated",{slug:G&&G.slug,row:G})})}),Qt(()=>ae.detach());function pe(){try{const G=encodeURIComponent(JSON.stringify(t.filterSet));typeof location<"u"&&history.replaceState(null,"","#f="+G)}catch{}}return nt(()=>({...t.filterSet}),pe,{deep:!0}),at(()=>{try{const G=typeof location<"u"&&/[#&]f=([^&]+)/.exec(location.hash);if(G){const se=JSON.parse(decodeURIComponent(G[1]));Object.entries(se).forEach(([$e,Ke])=>t.setFilter($e,Ke))}}catch{}}),it(` :host{ display:block; width:100%; height:100%; min-height:560px; box-sizing:border-box; --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --rd-accent:#e67e22; --rd-info:#2b6cb0; --rd-line:#e2e6ec; --rd-bg:#f7f9fb; --rd-ink:#1f2733; --rd-muted:#6b7686; --rd-panel:#ffffff; --facet-w:248px; --rail-w:312px; --fs-xs:10px; --fs-sm:11px; --fs-md:12px; --fs-lg:13px; --fs-xl:16px; --r-lg:10px; --r-md:6px; --r-pill:999px; } /* RDASH P1 fix: ProfileLoader's .profile-loader sizing lives in a