From f342590e0d962e4ef9c30299cde9242cebfc97a4 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Tue, 29 Sep 2026 14:15:25 +0000 Subject: [PATCH] Rebuild dashboard-plus-grid, which compiles the same dashboard dashboard-plus-grid.vue imports research-dashboard.vue directly, so the list formatter reaches a second bundle through that import and the composite was left holding a dashboard that no longer matched its source. +362 bytes, the same delta as the dashboard's own bundle -- which is what identifies this as the same change arriving by a shared import rather than unrelated drift. The formatter appears once in these bytes too, with the two list types at the counts the source asks for. Found by the landing precondition, not by inspection: it reported the composite stale on a commit that named none of its files. The first reading of that was that it could not be mine. It is: a composite that imports a plugin's component is downstream of every change to it, and a range that touches no file of the composite can still be the reason it is stale. --- .../dashboard-plus-grid.js | 60 +++++++++---------- .../dashboard-plus-grid/default/index.html | 2 +- .../dashboard-plus-grid/index.html | 2 +- public/dx-maps/doxa-maps-spa/manifest.json | 6 +- public/dx-maps/manifest.json | 6 +- 5 files changed, 38 insertions(+), 38 deletions(-) diff --git a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid.js b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid.js index 30ce9b5f3..83ebb540b 100644 --- a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid.js +++ b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid.js @@ -2,52 +2,52 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Nr(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ot={},mn=[],eo=()=>{},ji=()=>!1,Aa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),La=e=>e.startsWith("onUpdate:"),gt=Object.assign,Or=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Wp=Object.prototype.hasOwnProperty,Je=(e,t)=>Wp.call(e,t),Fe=Array.isArray,No=e=>zn(e)==="[object Map]",Jo=e=>zn(e)==="[object Set]",Gi=e=>zn(e)==="[object Date]",Ue=e=>typeof e=="function",lt=e=>typeof e=="string",Gt=e=>typeof e=="symbol",et=e=>e!==null&&typeof e=="object",Wi=e=>(et(e)||Ue(e))&&Ue(e.then)&&Ue(e.catch),qi=Object.prototype.toString,zn=e=>qi.call(e),qp=e=>zn(e).slice(8,-1),Ta=e=>zn(e)==="[object Object]",Ir=e=>lt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Dn=Nr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ca=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Vp=/-\w/g,Rt=Ca(e=>e.replace(Vp,t=>t.slice(1).toUpperCase())),Kp=/\B([A-Z])/g,It=Ca(e=>e.replace(Kp,"-$1").toLowerCase()),Vi=Ca(e=>e.charAt(0).toUpperCase()+e.slice(1)),zr=Ca(e=>e?`on${Vi(e)}`:""),to=(e,t)=>!Object.is(e,t),Pa=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Ea=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yi=e=>{const t=lt(e)?Number(e):NaN;return isNaN(t)?e:t};let Zi;const Ma=()=>Zi||(Zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function dt(e){if(Fe(e)){const t={};for(let o=0;o{if(o){const n=o.split(Zp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ke(e){let t="";if(lt(e))t=e;else if(Fe(e))for(let o=0;oOo(o,t))}const Qi=e=>!!(e&&e.__v_isRef===!0),re=e=>lt(e)?e:e==null?"":Fe(e)||et(e)&&(e.toString===qi||!Ue(e.toString))?Qi(e)?re(e.value):JSON.stringify(e,el,2):String(e),el=(e,t)=>Qi(t)?el(e,t.value):No(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[Dr(n,r)+" =>"]=a,o),{})}:Jo(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Dr(o))}:Gt(t)?Dr(t):et(t)&&!Fe(t)&&!Ta(t)?String(t):t,Dr=(e,t="")=>{var o;return Gt(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function Nr(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ot={},mn=[],eo=()=>{},Wi=()=>!1,Aa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),La=e=>e.startsWith("onUpdate:"),gt=Object.assign,Or=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Vp=Object.prototype.hasOwnProperty,Je=(e,t)=>Vp.call(e,t),Fe=Array.isArray,No=e=>Dn(e)==="[object Map]",Qo=e=>Dn(e)==="[object Set]",qi=e=>Dn(e)==="[object Date]",Ue=e=>typeof e=="function",lt=e=>typeof e=="string",Gt=e=>typeof e=="symbol",et=e=>e!==null&&typeof e=="object",Vi=e=>(et(e)||Ue(e))&&Ue(e.then)&&Ue(e.catch),Ki=Object.prototype.toString,Dn=e=>Ki.call(e),Kp=e=>Dn(e).slice(8,-1),Ta=e=>Dn(e)==="[object Object]",Ir=e=>lt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bn=Nr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ca=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Yp=/-\w/g,Rt=Ca(e=>e.replace(Yp,t=>t.slice(1).toUpperCase())),Zp=/\B([A-Z])/g,It=Ca(e=>e.replace(Zp,"-$1").toLowerCase()),Yi=Ca(e=>e.charAt(0).toUpperCase()+e.slice(1)),zr=Ca(e=>e?`on${Yi(e)}`:""),to=(e,t)=>!Object.is(e,t),Pa=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Ea=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xi=e=>{const t=lt(e)?Number(e):NaN;return isNaN(t)?e:t};let Ji;const Ma=()=>Ji||(Ji=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function dt(e){if(Fe(e)){const t={};for(let o=0;o{if(o){const n=o.split(Jp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ke(e){let t="";if(lt(e))t=e;else if(Fe(e))for(let o=0;oOo(o,t))}const tl=e=>!!(e&&e.__v_isRef===!0),re=e=>lt(e)?e:e==null?"":Fe(e)||et(e)&&(e.toString===Ki||!Ue(e.toString))?tl(e)?re(e.value):JSON.stringify(e,ol,2):String(e),ol=(e,t)=>tl(t)?ol(e,t.value):No(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[Dr(n,r)+" =>"]=a,o),{})}:Qo(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Dr(o))}:Gt(t)?Dr(t):et(t)&&!Fe(t)&&!Ta(t)?String(t):t,Dr=(e,t="")=>{var o;return Gt(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let yt;class tl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&yt&&(yt.active?(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(yt===this)yt=this.prevScope;else{let t=yt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Hn){let t=Hn;for(Hn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Bn;){let t=Bn;for(Bn=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 rl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sl(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Wr(n),ng(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function Gr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(il(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function il(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Un)||(e.globalVersion=Un,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Gr(e))))return;e.flags|=2;const t=e.dep,o=st,n=Wt;st=e,Wt=!0;try{rl(e);const a=e.fn(e._value);(t.version===0||to(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{st=o,Wt=n,sl(e),e.flags&=-3}}function Wr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Wr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function ng(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Wt=!0;const ll=[];function oo(){ll.push(Wt),Wt=!1}function no(){const e=ll.pop();Wt=e===void 0?!0:e}function cl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=st;st=void 0;try{t()}finally{st=o}}}let Un=0;class ag{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 qr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!st||!Wt||st===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==st)o=this.activeLink=new ag(st,this),st.deps?(o.prevDep=st.depsTail,st.depsTail.nextDep=o,st.depsTail=o):st.deps=st.depsTail=o,ul(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=st.depsTail,o.nextDep=void 0,st.depsTail.nextDep=o,st.depsTail=o,st.deps===o&&(st.deps=n)}return o}trigger(t){this.version++,Un++,this.notify(t)}notify(t){Ur();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{jr()}}}function ul(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)ul(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Vr=new WeakMap,Qo=Symbol(""),Kr=Symbol(""),jn=Symbol("");function kt(e,t,o){if(Wt&&st){let n=Vr.get(e);n||Vr.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new qr),a.map=n,a.key=o),a.track()}}function _o(e,t,o,n,a,r){const s=Vr.get(e);if(!s){Un++;return}const i=l=>{l&&l.trigger()};if(Ur(),t==="clear")s.forEach(i);else{const l=Fe(e),c=l&&Ir(o);if(l&&o==="length"){const u=Number(n);s.forEach((d,g)=>{(g==="length"||g===jn||!Gt(g)&&g>=u)&&i(d)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(jn)),t){case"add":l?c&&i(s.get("length")):(i(s.get(Qo)),No(e)&&i(s.get(Kr)));break;case"delete":l||(i(s.get(Qo)),No(e)&&i(s.get(Kr)));break;case"set":No(e)&&i(s.get(Qo));break}}jr()}function _n(e){const t=Ze(e);return t===e?t:(kt(t,"iterate",jn),Ut(e)?t:t.map(qt))}function Ra(e){return kt(e=Ze(e),"iterate",jn),e}function ao(e,t){return $o(e)?bn(tn(e)?qt(t):t):qt(t)}const rg={__proto__:null,[Symbol.iterator](){return Yr(this,Symbol.iterator,e=>ao(this,e))},concat(...e){return _n(this).concat(...e.map(t=>Fe(t)?_n(t):t))},entries(){return Yr(this,"entries",e=>(e[1]=ao(this,e[1]),e))},every(e,t){return bo(this,"every",e,t,void 0,arguments)},filter(e,t){return bo(this,"filter",e,t,o=>o.map(n=>ao(this,n)),arguments)},find(e,t){return bo(this,"find",e,t,o=>ao(this,o),arguments)},findIndex(e,t){return bo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bo(this,"findLast",e,t,o=>ao(this,o),arguments)},findLastIndex(e,t){return bo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Zr(this,"includes",e)},indexOf(...e){return Zr(this,"indexOf",e)},join(e){return _n(this).join(e)},lastIndexOf(...e){return Zr(this,"lastIndexOf",e)},map(e,t){return bo(this,"map",e,t,void 0,arguments)},pop(){return Gn(this,"pop")},push(...e){return Gn(this,"push",e)},reduce(e,...t){return dl(this,"reduce",e,t)},reduceRight(e,...t){return dl(this,"reduceRight",e,t)},shift(){return Gn(this,"shift")},some(e,t){return bo(this,"some",e,t,void 0,arguments)},splice(...e){return Gn(this,"splice",e)},toReversed(){return _n(this).toReversed()},toSorted(e){return _n(this).toSorted(e)},toSpliced(...e){return _n(this).toSpliced(...e)},unshift(...e){return Gn(this,"unshift",e)},values(){return Yr(this,"values",e=>ao(this,e))}};function Yr(e,t,o){const n=Ra(e),a=n[t]();return n!==e&&!Ut(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const sg=Array.prototype;function bo(e,t,o,n,a,r){const s=Ra(e),i=s!==e&&!Ut(e),l=s[t];if(l!==sg[t]){const d=l.apply(e,r);return i?qt(d):d}let c=o;s!==e&&(i?c=function(d,g){return o.call(this,ao(e,d),g,e)}:o.length>2&&(c=function(d,g){return o.call(this,d,g,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function dl(e,t,o,n){const a=Ra(e),r=a!==e&&!Ut(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,d){return i&&(i=!1,c=ao(e,c)),o.call(this,c,ao(e,u),d,e)}):o.length>3&&(s=function(c,u,d){return o.call(this,c,u,d,e)}));const l=a[t](s,...n);return i?ao(e,l):l}function Zr(e,t,o){const n=Ze(e);kt(n,"iterate",jn);const a=n[t](...o);return(a===-1||a===!1)&&Qr(o[0])?(o[0]=Ze(o[0]),n[t](...o)):a}function Gn(e,t,o=[]){oo(),Ur();const n=Ze(e)[t].apply(e,o);return jr(),no(),n}const ig=Nr("__proto__,__v_isRef,__isVue"),pl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gt));function lg(e){Gt(e)||(e=String(e));const t=Ze(this);return kt(t,"has",e),t.hasOwnProperty(e)}class gl{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?$l:bl:r?_l:ml).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=Fe(t);if(!a){let l;if(s&&(l=rg[o]))return l;if(o==="hasOwnProperty")return lg}const i=Reflect.get(t,o,bt(t)?t:n);if((Gt(o)?pl.has(o):ig(o))||(a||kt(t,"get",o),r))return i;if(bt(i)){const l=s&&Ir(o)?i:i.value;return a&&et(l)?Jr(l):l}return et(i)?a?Jr(i):en(i):i}}class fl extends gl{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=Fe(t)&&Ir(o);if(!this._isShallow){const c=$o(r);if(!Ut(n)&&!$o(n)&&(r=Ze(r),n=Ze(n)),!s&&bt(r)&&!bt(n))return c||(r.value=n),!0}const i=s?Number(o)e,Fa=e=>Reflect.getPrototypeOf(e);function gg(e,t,o){return function(...n){const a=this.__v_raw,r=Ze(a),s=No(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?Xr:t?bn:qt;return!t&&kt(r,"iterate",l?Kr:Qo),gt(Object.create(c),{next(){const{value:d,done:g}=c.next();return g?{value:d,done:g}:{value:i?[u(d[0]),u(d[1])]:u(d),done:g}}})}}function Na(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fg(e,t){const o={get(a){const r=this.__v_raw,s=Ze(r),i=Ze(a);e||(to(a,i)&&kt(s,"get",a),kt(s,"get",i));const{has:l}=Fa(s),c=t?Xr:e?bn:qt;if(l.call(s,a))return c(r.get(a));if(l.call(s,i))return c(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&kt(Ze(a),"iterate",Qo),a.size},has(a){const r=this.__v_raw,s=Ze(r),i=Ze(a);return e||(to(a,i)&&kt(s,"has",a),kt(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Ze(i),c=t?Xr:e?bn:qt;return!e&&kt(l,"iterate",Qo),i.forEach((u,d)=>a.call(r,c(u),c(d),s))}};return gt(o,e?{add:Na("add"),set:Na("set"),delete:Na("delete"),clear:Na("clear")}:{add(a){const r=Ze(this),s=Fa(r),i=Ze(a),l=!t&&!Ut(a)&&!$o(a)?i:a;return s.has.call(r,l)||to(a,l)&&s.has.call(r,a)||to(i,l)&&s.has.call(r,i)||(r.add(l),_o(r,"add",l,l)),this},set(a,r){!t&&!Ut(r)&&!$o(r)&&(r=Ze(r));const s=Ze(this),{has:i,get:l}=Fa(s);let c=i.call(s,a);c||(a=Ze(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?to(r,u)&&_o(s,"set",a,r):_o(s,"add",a,r),this},delete(a){const r=Ze(this),{has:s,get:i}=Fa(r);let l=s.call(r,a);l||(a=Ze(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&_o(r,"delete",a,void 0),c},clear(){const a=Ze(this),r=a.size!==0,s=a.clear();return r&&_o(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=gg(a,e,t)}),o}function Oa(e,t){const o=fg(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Je(o,a)&&a in n?o:n,a,r)}const hg={get:Oa(!1,!1)},mg={get:Oa(!1,!0)},_g={get:Oa(!0,!1)},bg={get:Oa(!0,!0)},ml=new WeakMap,_l=new WeakMap,bl=new WeakMap,$l=new WeakMap;function $g(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function en(e){return $o(e)?e:Ia(e,!1,cg,hg,ml)}function yg(e){return Ia(e,!1,dg,mg,_l)}function Jr(e){return Ia(e,!0,ug,_g,bl)}function yS(e){return Ia(e,!0,pg,bg,$l)}function Ia(e,t,o,n,a){if(!et(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=$g(qp(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function tn(e){return $o(e)?tn(e.__v_raw):!!(e&&e.__v_isReactive)}function $o(e){return!!(e&&e.__v_isReadonly)}function Ut(e){return!!(e&&e.__v_isShallow)}function Qr(e){return e?!!e.__v_raw:!1}function Ze(e){const t=e&&e.__v_raw;return t?Ze(t):e}function yl(e){return!Je(e,"__v_skip")&&Object.isExtensible(e)&&Ki(e,"__v_skip",!0),e}const qt=e=>et(e)?en(e):e,bn=e=>et(e)?Jr(e):e;function bt(e){return e?e.__v_isRef===!0:!1}function pe(e){return vl(e,!1)}function Wn(e){return vl(e,!0)}function vl(e,t){return bt(e)?e:new vg(e,t)}class vg{constructor(t,o){this.dep=new qr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Ze(t),this._value=o?t:qt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ut(t)||$o(t);t=n?t:Ze(t),to(t,o)&&(this._rawValue=t,this._value=n?t:qt(t),this.dep.trigger())}}function ue(e){return bt(e)?e.value:e}const wg={get:(e,t,o)=>t==="__v_raw"?e:ue(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return bt(a)&&!bt(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function wl(e){return tn(e)?e:new Proxy(e,wg)}class xg{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new qr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Un-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&st!==this)return al(this,!0),!0}get value(){const t=this.dep.track();return il(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function kg(e,t,o=!1){let n,a;return Ue(e)?n=e:(n=e.get,a=e.set),new xg(n,a,o)}const za={},Da=new WeakMap;let on;function Sg(e,t=!1,o=on){if(o){let n=Da.get(o);n||Da.set(o,n=[]),n.push(e)}}function Ag(e,t,o=ot){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=f=>a?f:Ut(f)||a===!1||a===0?yo(f,1):yo(f);let u,d,g,w,A=!1,L=!1;if(bt(e)?(d=()=>e.value,A=Ut(e)):tn(e)?(d=()=>c(e),A=!0):Fe(e)?(L=!0,A=e.some(f=>tn(f)||Ut(f)),d=()=>e.map(f=>{if(bt(f))return f.value;if(tn(f))return c(f);if(Ue(f))return l?l(f,2):f()})):Ue(e)?t?d=l?()=>l(e,2):e:d=()=>{if(g){oo();try{g()}finally{no()}}const f=on;on=u;try{return l?l(e,3,[w]):e(w)}finally{on=f}}:d=eo,t&&a){const f=d,_=a===!0?1/0:a;d=()=>yo(f(),_)}const C=og(),F=()=>{u.stop(),C&&C.active&&Or(C.effects,u)};if(r&&t){const f=t;t=(..._)=>{const b=f(..._);return F(),b}}let v=L?new Array(e.length).fill(za):za;const k=f=>{if(!(!(u.flags&1)||!u.dirty&&!f))if(t){const _=u.run();if(f||a||A||(L?_.some((b,x)=>to(b,v[x])):to(_,v))){g&&g();const b=on;on=u;try{const x=[_,v===za?void 0:L&&v[0]===za?[]:v,w];v=_,l?l(t,3,x):t(...x)}finally{on=b}}}else u.run()};return i&&i(k),u=new ol(d),u.scheduler=s?()=>s(k,!1):k,w=f=>Sg(f,!1,u),g=u.onStop=()=>{const f=Da.get(u);if(f){if(l)l(f,4);else for(const _ of f)_();Da.delete(u)}},t?n?k(!0):v=u.run():s?s(k.bind(null,!0),!0):u.run(),F.pause=u.pause.bind(u),F.resume=u.resume.bind(u),F.stop=F,F}function yo(e,t=1/0,o){if(t<=0||!et(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,bt(e))yo(e.value,t,o);else if(Fe(e))for(let n=0;n{yo(n,t,o)});else if(Ta(e)){for(const n in e)yo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&yo(e[n],t,o)}return e}/** +**/let yt;class nl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&yt&&(yt.active?(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(yt===this)yt=this.prevScope;else{let t=yt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Un){let t=Un;for(Un=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Hn;){let t=Hn;for(Hn=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 il(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ll(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Wr(n),rg(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function Gr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(cl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function cl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===jn)||(e.globalVersion=jn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Gr(e))))return;e.flags|=2;const t=e.dep,o=st,n=Wt;st=e,Wt=!0;try{il(e);const a=e.fn(e._value);(t.version===0||to(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{st=o,Wt=n,ll(e),e.flags&=-3}}function Wr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Wr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function rg(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Wt=!0;const ul=[];function oo(){ul.push(Wt),Wt=!1}function no(){const e=ul.pop();Wt=e===void 0?!0:e}function dl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=st;st=void 0;try{t()}finally{st=o}}}let jn=0;class sg{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 qr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!st||!Wt||st===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==st)o=this.activeLink=new sg(st,this),st.deps?(o.prevDep=st.depsTail,st.depsTail.nextDep=o,st.depsTail=o):st.deps=st.depsTail=o,pl(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=st.depsTail,o.nextDep=void 0,st.depsTail.nextDep=o,st.depsTail=o,st.deps===o&&(st.deps=n)}return o}trigger(t){this.version++,jn++,this.notify(t)}notify(t){Ur();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{jr()}}}function pl(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)pl(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Vr=new WeakMap,en=Symbol(""),Kr=Symbol(""),Gn=Symbol("");function kt(e,t,o){if(Wt&&st){let n=Vr.get(e);n||Vr.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new qr),a.map=n,a.key=o),a.track()}}function _o(e,t,o,n,a,r){const s=Vr.get(e);if(!s){jn++;return}const i=l=>{l&&l.trigger()};if(Ur(),t==="clear")s.forEach(i);else{const l=Fe(e),c=l&&Ir(o);if(l&&o==="length"){const u=Number(n);s.forEach((d,g)=>{(g==="length"||g===Gn||!Gt(g)&&g>=u)&&i(d)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(Gn)),t){case"add":l?c&&i(s.get("length")):(i(s.get(en)),No(e)&&i(s.get(Kr)));break;case"delete":l||(i(s.get(en)),No(e)&&i(s.get(Kr)));break;case"set":No(e)&&i(s.get(en));break}}jr()}function _n(e){const t=Ze(e);return t===e?t:(kt(t,"iterate",Gn),Ut(e)?t:t.map(qt))}function Ra(e){return kt(e=Ze(e),"iterate",Gn),e}function ao(e,t){return $o(e)?bn(on(e)?qt(t):t):qt(t)}const ig={__proto__:null,[Symbol.iterator](){return Yr(this,Symbol.iterator,e=>ao(this,e))},concat(...e){return _n(this).concat(...e.map(t=>Fe(t)?_n(t):t))},entries(){return Yr(this,"entries",e=>(e[1]=ao(this,e[1]),e))},every(e,t){return bo(this,"every",e,t,void 0,arguments)},filter(e,t){return bo(this,"filter",e,t,o=>o.map(n=>ao(this,n)),arguments)},find(e,t){return bo(this,"find",e,t,o=>ao(this,o),arguments)},findIndex(e,t){return bo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bo(this,"findLast",e,t,o=>ao(this,o),arguments)},findLastIndex(e,t){return bo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Zr(this,"includes",e)},indexOf(...e){return Zr(this,"indexOf",e)},join(e){return _n(this).join(e)},lastIndexOf(...e){return Zr(this,"lastIndexOf",e)},map(e,t){return bo(this,"map",e,t,void 0,arguments)},pop(){return Wn(this,"pop")},push(...e){return Wn(this,"push",e)},reduce(e,...t){return gl(this,"reduce",e,t)},reduceRight(e,...t){return gl(this,"reduceRight",e,t)},shift(){return Wn(this,"shift")},some(e,t){return bo(this,"some",e,t,void 0,arguments)},splice(...e){return Wn(this,"splice",e)},toReversed(){return _n(this).toReversed()},toSorted(e){return _n(this).toSorted(e)},toSpliced(...e){return _n(this).toSpliced(...e)},unshift(...e){return Wn(this,"unshift",e)},values(){return Yr(this,"values",e=>ao(this,e))}};function Yr(e,t,o){const n=Ra(e),a=n[t]();return n!==e&&!Ut(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const lg=Array.prototype;function bo(e,t,o,n,a,r){const s=Ra(e),i=s!==e&&!Ut(e),l=s[t];if(l!==lg[t]){const d=l.apply(e,r);return i?qt(d):d}let c=o;s!==e&&(i?c=function(d,g){return o.call(this,ao(e,d),g,e)}:o.length>2&&(c=function(d,g){return o.call(this,d,g,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function gl(e,t,o,n){const a=Ra(e),r=a!==e&&!Ut(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,d){return i&&(i=!1,c=ao(e,c)),o.call(this,c,ao(e,u),d,e)}):o.length>3&&(s=function(c,u,d){return o.call(this,c,u,d,e)}));const l=a[t](s,...n);return i?ao(e,l):l}function Zr(e,t,o){const n=Ze(e);kt(n,"iterate",Gn);const a=n[t](...o);return(a===-1||a===!1)&&Qr(o[0])?(o[0]=Ze(o[0]),n[t](...o)):a}function Wn(e,t,o=[]){oo(),Ur();const n=Ze(e)[t].apply(e,o);return jr(),no(),n}const cg=Nr("__proto__,__v_isRef,__isVue"),fl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gt));function ug(e){Gt(e)||(e=String(e));const t=Ze(this);return kt(t,"has",e),t.hasOwnProperty(e)}class hl{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?vl:yl:r?$l:bl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=Fe(t);if(!a){let l;if(s&&(l=ig[o]))return l;if(o==="hasOwnProperty")return ug}const i=Reflect.get(t,o,bt(t)?t:n);if((Gt(o)?fl.has(o):cg(o))||(a||kt(t,"get",o),r))return i;if(bt(i)){const l=s&&Ir(o)?i:i.value;return a&&et(l)?Jr(l):l}return et(i)?a?Jr(i):tn(i):i}}class ml extends hl{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=Fe(t)&&Ir(o);if(!this._isShallow){const c=$o(r);if(!Ut(n)&&!$o(n)&&(r=Ze(r),n=Ze(n)),!s&&bt(r)&&!bt(n))return c||(r.value=n),!0}const i=s?Number(o)e,Fa=e=>Reflect.getPrototypeOf(e);function hg(e,t,o){return function(...n){const a=this.__v_raw,r=Ze(a),s=No(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?Xr:t?bn:qt;return!t&&kt(r,"iterate",l?Kr:en),gt(Object.create(c),{next(){const{value:d,done:g}=c.next();return g?{value:d,done:g}:{value:i?[u(d[0]),u(d[1])]:u(d),done:g}}})}}function Na(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function mg(e,t){const o={get(a){const r=this.__v_raw,s=Ze(r),i=Ze(a);e||(to(a,i)&&kt(s,"get",a),kt(s,"get",i));const{has:l}=Fa(s),c=t?Xr:e?bn:qt;if(l.call(s,a))return c(r.get(a));if(l.call(s,i))return c(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&kt(Ze(a),"iterate",en),a.size},has(a){const r=this.__v_raw,s=Ze(r),i=Ze(a);return e||(to(a,i)&&kt(s,"has",a),kt(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Ze(i),c=t?Xr:e?bn:qt;return!e&&kt(l,"iterate",en),i.forEach((u,d)=>a.call(r,c(u),c(d),s))}};return gt(o,e?{add:Na("add"),set:Na("set"),delete:Na("delete"),clear:Na("clear")}:{add(a){const r=Ze(this),s=Fa(r),i=Ze(a),l=!t&&!Ut(a)&&!$o(a)?i:a;return s.has.call(r,l)||to(a,l)&&s.has.call(r,a)||to(i,l)&&s.has.call(r,i)||(r.add(l),_o(r,"add",l,l)),this},set(a,r){!t&&!Ut(r)&&!$o(r)&&(r=Ze(r));const s=Ze(this),{has:i,get:l}=Fa(s);let c=i.call(s,a);c||(a=Ze(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?to(r,u)&&_o(s,"set",a,r):_o(s,"add",a,r),this},delete(a){const r=Ze(this),{has:s,get:i}=Fa(r);let l=s.call(r,a);l||(a=Ze(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&_o(r,"delete",a,void 0),c},clear(){const a=Ze(this),r=a.size!==0,s=a.clear();return r&&_o(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=hg(a,e,t)}),o}function Oa(e,t){const o=mg(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Je(o,a)&&a in n?o:n,a,r)}const _g={get:Oa(!1,!1)},bg={get:Oa(!1,!0)},$g={get:Oa(!0,!1)},yg={get:Oa(!0,!0)},bl=new WeakMap,$l=new WeakMap,yl=new WeakMap,vl=new WeakMap;function vg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tn(e){return $o(e)?e:Ia(e,!1,dg,_g,bl)}function wg(e){return Ia(e,!1,gg,bg,$l)}function Jr(e){return Ia(e,!0,pg,$g,yl)}function wS(e){return Ia(e,!0,fg,yg,vl)}function Ia(e,t,o,n,a){if(!et(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=vg(Kp(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function on(e){return $o(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function $o(e){return!!(e&&e.__v_isReadonly)}function Ut(e){return!!(e&&e.__v_isShallow)}function Qr(e){return e?!!e.__v_raw:!1}function Ze(e){const t=e&&e.__v_raw;return t?Ze(t):e}function wl(e){return!Je(e,"__v_skip")&&Object.isExtensible(e)&&Zi(e,"__v_skip",!0),e}const qt=e=>et(e)?tn(e):e,bn=e=>et(e)?Jr(e):e;function bt(e){return e?e.__v_isRef===!0:!1}function pe(e){return xl(e,!1)}function qn(e){return xl(e,!0)}function xl(e,t){return bt(e)?e:new xg(e,t)}class xg{constructor(t,o){this.dep=new qr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Ze(t),this._value=o?t:qt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ut(t)||$o(t);t=n?t:Ze(t),to(t,o)&&(this._rawValue=t,this._value=n?t:qt(t),this.dep.trigger())}}function ue(e){return bt(e)?e.value:e}const kg={get:(e,t,o)=>t==="__v_raw"?e:ue(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return bt(a)&&!bt(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function kl(e){return on(e)?e:new Proxy(e,kg)}class Sg{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new qr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=jn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&st!==this)return sl(this,!0),!0}get value(){const t=this.dep.track();return cl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ag(e,t,o=!1){let n,a;return Ue(e)?n=e:(n=e.get,a=e.set),new Sg(n,a,o)}const za={},Da=new WeakMap;let nn;function Lg(e,t=!1,o=nn){if(o){let n=Da.get(o);n||Da.set(o,n=[]),n.push(e)}}function Tg(e,t,o=ot){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=f=>a?f:Ut(f)||a===!1||a===0?yo(f,1):yo(f);let u,d,g,w,A=!1,L=!1;if(bt(e)?(d=()=>e.value,A=Ut(e)):on(e)?(d=()=>c(e),A=!0):Fe(e)?(L=!0,A=e.some(f=>on(f)||Ut(f)),d=()=>e.map(f=>{if(bt(f))return f.value;if(on(f))return c(f);if(Ue(f))return l?l(f,2):f()})):Ue(e)?t?d=l?()=>l(e,2):e:d=()=>{if(g){oo();try{g()}finally{no()}}const f=nn;nn=u;try{return l?l(e,3,[w]):e(w)}finally{nn=f}}:d=eo,t&&a){const f=d,_=a===!0?1/0:a;d=()=>yo(f(),_)}const C=ag(),F=()=>{u.stop(),C&&C.active&&Or(C.effects,u)};if(r&&t){const f=t;t=(..._)=>{const b=f(..._);return F(),b}}let v=L?new Array(e.length).fill(za):za;const k=f=>{if(!(!(u.flags&1)||!u.dirty&&!f))if(t){const _=u.run();if(f||a||A||(L?_.some((b,x)=>to(b,v[x])):to(_,v))){g&&g();const b=nn;nn=u;try{const x=[_,v===za?void 0:L&&v[0]===za?[]:v,w];v=_,l?l(t,3,x):t(...x)}finally{nn=b}}}else u.run()};return i&&i(k),u=new al(d),u.scheduler=s?()=>s(k,!1):k,w=f=>Lg(f,!1,u),g=u.onStop=()=>{const f=Da.get(u);if(f){if(l)l(f,4);else for(const _ of f)_();Da.delete(u)}},t?n?k(!0):v=u.run():s?s(k.bind(null,!0),!0):u.run(),F.pause=u.pause.bind(u),F.resume=u.resume.bind(u),F.stop=F,F}function yo(e,t=1/0,o){if(t<=0||!et(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,bt(e))yo(e.value,t,o);else if(Fe(e))for(let n=0;n{yo(n,t,o)});else if(Ta(e)){for(const n in e)yo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&yo(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const qn=[];let es=!1;function vS(e,...t){if(es)return;es=!0,oo();const o=qn.length?qn[qn.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=Lg();if(n)$n(n,o,11,[e+t.map(r=>{var s,i;return(i=(s=r.toString)==null?void 0:s.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,a.map(({vnode:r})=>`at <${bc(o,r.type)}>`).join(` +**/const Vn=[];let es=!1;function xS(e,...t){if(es)return;es=!0,oo();const o=Vn.length?Vn[Vn.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=Cg();if(n)$n(n,o,11,[e+t.map(r=>{var s,i;return(i=(s=r.toString)==null?void 0:s.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,a.map(({vnode:r})=>`at <${yc(o,r.type)}>`).join(` `),a]);else{const r=[`[Vue warn]: ${e}`,...t];a.length&&r.push(` -`,...Tg(a)),console.warn(...r)}no(),es=!1}function Lg(){let e=qn[qn.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Tg(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Cg(o))}),t}function Cg({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${bc(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...Pg(e.props),r]:[a+r]}function Pg(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...xl(n,e[n]))}),o.length>3&&t.push(" ..."),t}function xl(e,t,o){return lt(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:bt(t)?(t=xl(e,Ze(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Ue(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ze(t),o?t:[`${e}=`,t])}function $n(e,t,o,n){try{return n?e(...n):e()}catch(a){Ba(a,t,o)}}function Vt(e,t,o,n){if(Ue(e)){const a=$n(e,t,o,n);return a&&Wi(a)&&a.catch(r=>{Ba(r,t,o)}),a}if(Fe(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Vn(a);r=Vn(o)?Lt.push(e):Lt.splice(Mg(t),0,e),e.flags|=1,Sl()}}function Sl(){Ha||(Ha=kl.then(Tl))}function Rg(e){if(!Fe(e))Io&&e.id===-1?Io.splice(vn+1,0,e):e.flags&1||(yn.push(e),e.flags|=1);else for(let t=0;tVn(o)-Vn(n));if(yn.length=0,Io){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Tl(e){try{for(ro=0;ro{n._d&&Za(-1);const r=Ua(t),s=wo.length;let i;try{i=e(...a)}finally{for(let l=wo.length;l>s;l--)bs();Ua(r),n._d&&Za(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function zt(e,t){if(St===null)return e;const o=er(St),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&Ue(t)?t.call(n&&n.proxy):t}}const Fg=Symbol.for("v-scx"),Ng=()=>Be(Fg);function Pl(e,t){return os(e,null,t)}function Qe(e,t,o){return os(e,t,o)}function os(e,t,o=ot){const{immediate:n,deep:a,flush:r,once:s}=o,i=gt({},o),l=t&&n||!t&&r!=="post";let c;if(ra){if(r==="sync"){const w=Ng();c=w.__watcherHandles||(w.__watcherHandles=[])}else if(!l){const w=()=>{};return w.stop=eo,w.resume=eo,w.pause=eo,w}}const u=Pt;i.call=(w,A,L)=>Vt(w,u,A,L);let d=!1;r==="post"?i.scheduler=w=>{Ct(w,u&&u.suspense)}:r!=="sync"&&(d=!0,i.scheduler=(w,A)=>{A?w():ts(w)}),i.augmentJob=w=>{t&&(w.flags|=4),d&&(w.flags|=2,u&&(w.id=u.uid,w.i=u))};const g=Ag(e,t,i);return ra&&(c?c.push(g):l&&g()),g}function Og(e,t,o){const n=this.proxy,a=lt(e)?e.includes(".")?El(n,e):()=>n[e]:e.bind(n,n);let r;Ue(t)?r=t:(r=t.handler,o=t);const s=aa(this),i=os(a,r.bind(n),o);return s(),i}function El(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,an=e=>e&&(e.disabled||e.disabled===""),Ig=e=>e&&(e.defer||e.defer===""),Rl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Fl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ns=(e,t)=>{const o=e&&e.to;return lt(o)?t?t(o):null:o},zg={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:d,pbc:g,o:{insert:w,querySelector:A,createText:L,createComment:C,parentNode:F}}=c,v=an(t.props);let{dynamicChildren:k}=t;const f=(x,m,$)=>{x.shapeFlag&16&&u(x.children,m,$,a,r,s,i,l)},_=(x=t)=>{const m=an(x.props),$=x.target=ns(x.props,A),V=as($,x,L,w);$&&(s!=="svg"&&Rl($)?s="svg":s!=="mathml"&&Fl($)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add($),m||(f(x,$,V),Kn(x,!1)))},b=x=>{const m=()=>{if(Do.get(x)===m){if(Do.delete(x),an(x.props)){const $=F(x.el)||o;f(x,$,x.anchor),Kn(x,!0)}_(x)}};Do.set(x,m),Ct(m,r)};if(e==null){const x=t.el=L(""),m=t.anchor=L("");if(w(x,o,n),w(m,o,n),Ig(t.props)||r&&r.pendingBranch){b(t);return}v&&(f(t,o,m),Kn(t,!0)),_()}else{t.el=e.el;const x=t.anchor=e.anchor,m=Do.get(e);if(m){m.flags|=8,Do.delete(e),b(t);return}t.targetStart=e.targetStart;const $=t.target=e.target,V=t.targetAnchor=e.targetAnchor,I=an(e.props),z=I?o:$,G=I?x:V;if(s==="svg"||Rl($)?s="svg":(s==="mathml"||Fl($))&&(s="mathml"),k?(g(e.dynamicChildren,k,z,a,r,s,i),ms(e,t,!0)):l||d(e,t,z,G,a,r,s,i,!1),v)I?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ga(t,o,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ce=ns(t.props,A);ce&&(t.target=ce,Ga(t,ce,null,c,0))}else I&&Ga(t,$,V,c,1);Kn(t,v)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:g}=e,w=an(g),A=r||!w,L=Do.get(e);if(L&&(L.flags|=8,Do.delete(e)),d&&(a(c),a(u)),r&&a(l),!L&&(w||d)&&s&16)for(let C=0;C1){for(const o of e)if(o.type!==io){t=o;break}}return t}function Nl(e){if(!is(e))return ja(e.type)&&e.children?Hg(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&Ue(o.default))return o.default()}}function ss(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;ss(ja(o.type)&&Nl(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yn(e,t){return Ue(e)?gt({name:e.name},t,{setup:e}):e}function Ol(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Il(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Wa=new WeakMap;function Zn(e,t,o,n,a=!1){if(Fe(e)){e.forEach((L,C)=>Zn(L,t&&(Fe(t)?t[C]:t),o,n,a));return}if(xn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Zn(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?er(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===ot?i.refs={}:i.refs,d=i.setupState,g=Ze(d),w=d===ot?ji:L=>Il(u,L)?!1:Je(g,L),A=(L,C)=>!(C&&Il(u,C));if(c!=null&&c!==l){if(zl(t),lt(c))u[c]=null,w(c)&&(d[c]=null);else if(bt(c)){const L=t;A(c,L.k)&&(c.value=null),L.k&&(u[L.k]=null)}}if(Ue(l))$n(l,i,12,[s,u]);else{const L=lt(l),C=bt(l);if(L||C){const F=()=>{if(e.f){const v=L?w(l)?d[l]:u[l]:A()||!e.k?l.value:u[e.k];if(a)Fe(v)&&Or(v,r);else if(Fe(v))v.includes(r)||v.push(r);else if(L)u[l]=[r],w(l)&&(d[l]=u[l]);else{const k=[r];A(l,e.k)&&(l.value=k),e.k&&(u[e.k]=k)}}else L?(u[l]=s,w(l)&&(d[l]=s)):C&&(A(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const v=()=>{F(),Wa.delete(e)};v.id=-1,Wa.set(e,v),Ct(v,o)}else zl(e),F()}}}function zl(e){const t=Wa.get(e);t&&(t.flags|=8,Wa.delete(e))}Ma().requestIdleCallback,Ma().cancelIdleCallback;const xn=e=>!!e.type.__asyncLoader,is=e=>e.type.__isKeepAlive;function Ug(e,t){Dl(e,"a",t)}function jg(e,t){Dl(e,"da",t)}function Dl(e,t,o=Pt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(qa(t,n,o),o){let a=o.parent;for(;a&&a.parent;)is(a.parent.vnode)&&Gg(n,t,o,a),a=a.parent}}function Gg(e,t,o,n){const a=qa(t,e,n,!0);Va(()=>{Or(n[t],a)},o)}function qa(e,t,o=Pt,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{oo();const i=aa(o),l=Vt(t,o,e,s);return i(),no(),l});return n?a.unshift(r):a.push(r),r}}const vo=e=>(t,o=Pt)=>{(!ra||e==="sp")&&qa(e,(...n)=>t(...n),o)},Bl=vo("bm"),vt=vo("m"),Wg=vo("bu"),qg=vo("u"),Dt=vo("bum"),Va=vo("um"),Vg=vo("sp"),Kg=vo("rtg"),Yg=vo("rtc");function Zg(e,t=Pt){qa("ec",e,t)}const Xg=Symbol.for("v-ndc");function nt(e,t,o,n){let a;const r=o,s=Fe(e);if(s||lt(e)){const i=s&&tn(e);let l=!1,c=!1;i&&(l=!Ut(e),c=$o(e),e=Ra(e)),a=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),Y(),lo(Me,null,[We("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=wo.length;Y();let l;try{const c=s&&Hl(s(o)),u=o.key||r||c&&c.key;l=lo(Me,{key:(u&&!Gt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=wo.length;u>i;u--)bs();throw c}finally{s&&s._c&&(s._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Hl(e){return e.some(t=>ta(t)?!(t.type===io||t.type===Me&&!Hl(t.children)):!0)?e:null}const ls=e=>e?hc(e)?er(e):ls(e.parent):null,Xn=gt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ls(e.parent),$root:e=>ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Wl(e),$forceUpdate:e=>e.f||(e.f=()=>{ts(e.update)}),$nextTick:e=>e.n||(e.n=wn.bind(e.proxy)),$watch:e=>Og.bind(e)}),cs=(e,t)=>e!==ot&&!e.__isScriptSetup&&Je(e,t),Jg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(cs(n,t))return s[t]=1,n[t];if(a!==ot&&Je(a,t))return s[t]=2,a[t];if(Je(r,t))return s[t]=3,r[t];if(o!==ot&&Je(o,t))return s[t]=4,o[t];us&&(s[t]=0)}}const c=Xn[t];let u,d;if(c)return t==="$attrs"&&kt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==ot&&Je(o,t))return s[t]=4,o[t];if(d=l.config.globalProperties,Je(d,t))return d[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return cs(a,t)?(a[t]=o,!0):n!==ot&&Je(n,t)?(n[t]=o,!0):Je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==ot&&i[0]!=="$"&&Je(e,i)||cs(t,i)||Je(r,i)||Je(n,i)||Je(Xn,i)||Je(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Je(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Ul(e){return Fe(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let us=!0;function Qg(e){const t=Wl(e),o=e.proxy,n=e.ctx;us=!1,t.beforeCreate&&jl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:g,beforeUpdate:w,updated:A,activated:L,deactivated:C,beforeDestroy:F,beforeUnmount:v,destroyed:k,unmounted:f,render:_,renderTracked:b,renderTriggered:x,errorCaptured:m,serverPrefetch:$,expose:V,inheritAttrs:I,components:z,directives:G,filters:ce}=t;if(c&&ef(c,n,null),s)for(const ae in s){const P=s[ae];Ue(P)&&(n[ae]=P.bind(o))}if(a){const ae=a.call(o,o);et(ae)&&(e.data=en(ae))}if(us=!0,r)for(const ae in r){const P=r[ae],Z=Ue(P)?P.bind(o,o):Ue(P.get)?P.get.bind(o,o):eo,N=!Ue(P)&&Ue(P.set)?P.set.bind(o):eo,E=te({get:Z,set:N});Object.defineProperty(n,ae,{enumerable:!0,configurable:!0,get:()=>E.value,set:W=>E.value=W})}if(i)for(const ae in i)Gl(i[ae],n,o,ae);if(l){const ae=Ue(l)?l.call(o):l;Reflect.ownKeys(ae).forEach(P=>{so(P,ae[P])})}u&&jl(u,e,"c");function D(ae,P){Fe(P)?P.forEach(Z=>ae(Z.bind(o))):P&&ae(P.bind(o))}if(D(Bl,d),D(vt,g),D(Wg,w),D(qg,A),D(Ug,L),D(jg,C),D(Zg,m),D(Yg,b),D(Kg,x),D(Dt,v),D(Va,f),D(Vg,$),Fe(V))if(V.length){const ae=e.exposed||(e.exposed={});V.forEach(P=>{Object.defineProperty(ae,P,{get:()=>o[P],set:Z=>o[P]=Z,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===eo&&(e.render=_),I!=null&&(e.inheritAttrs=I),z&&(e.components=z),G&&(e.directives=G),$&&Ol(e)}function ef(e,t,o=eo){Fe(e)&&(e=ds(e));for(const n in e){const a=e[n];let r;et(a)?"default"in a?r=Be(a.from||n,a.default,!0):r=Be(a.from||n):r=Be(a),bt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function jl(e,t,o){Vt(Fe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Gl(e,t,o,n){let a=n.includes(".")?El(o,n):()=>o[n];if(lt(e)){const r=t[e];Ue(r)&&Qe(a,r)}else if(Ue(e))Qe(a,e.bind(o));else if(et(e))if(Fe(e))e.forEach(r=>Gl(r,t,o,n));else{const r=Ue(e.handler)?e.handler.bind(o):t[e.handler];Ue(r)&&Qe(a,r,e)}}function Wl(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Ka(l,c,s,!0)),Ka(l,t,s)),et(t)&&r.set(t,l),l}function Ka(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Ka(e,r,o,!0),a&&a.forEach(s=>Ka(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=tf[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const tf={data:ql,props:Vl,emits:Vl,methods:Jn,computed:Jn,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:Jn,directives:Jn,watch:nf,provide:ql,inject:of};function ql(e,t){return t?e?function(){return gt(Ue(e)?e.call(this,this):e,Ue(t)?t.call(this,this):t)}:t:e}function of(e,t){return Jn(ds(e),ds(t))}function ds(e){if(Fe(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rt(t)}Modifiers`]||e[`${It(t)}Modifiers`];function lf(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ot;let a=o;const r=t.startsWith("update:"),s=r&&sf(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>lt(u)?u.trim():u)),s.number&&(a=a.map(Ea)));let i,l=n[i=zr(t)]||n[i=zr(Rt(t))];!l&&r&&(l=n[i=zr(It(t))]),l&&Vt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Vt(c,e,6,a)}}const cf=new WeakMap;function Yl(e,t,o=!1){const n=o?cf:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!Ue(e)){const l=c=>{const u=Yl(c,t,!0);u&&(i=!0,gt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(et(e)&&n.set(e,null),null):(Fe(r)?r.forEach(l=>s[l]=null):gt(s,r),et(e)&&n.set(e,s),s)}function Ya(e,t){return!e||!Aa(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Je(e,t[0].toLowerCase()+t.slice(1))||Je(e,It(t))||Je(e,t))}function wS(){}function Zl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:d,data:g,setupState:w,ctx:A,inheritAttrs:L}=e,C=Ua(e);let F,v;try{if(o.shapeFlag&4){const f=a||n,_=f;F=co(c.call(_,f,u,d,w,g,A)),v=i}else{const f=t;F=co(f.length>1?f(d,{attrs:i,slots:s,emit:l}):f(d,null)),v=t.props?i:uf(i)}}catch(f){wo.length=0,Ba(f,e,1),F=We(io)}let k=F;if(v&&L!==!1){const f=Object.keys(v),{shapeFlag:_}=k;f.length&&_&7&&(r&&f.some(La)&&(v=df(v,r)),k=Sn(k,v,!1,!0))}if(o.dirs&&(k=Sn(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(o.dirs):o.dirs),o.transition){const f=ja(k.type)&&Nl(k)||k;ss(f,o.transition)}return F=k,Ua(C),F}const uf=e=>{let t;for(const o in e)(o==="class"||o==="style"||Aa(o))&&((t||(t={}))[o]=e[o]);return t},df=(e,t)=>{const o={};for(const n in e)(!La(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function pf(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Xl(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(Ql),tc=e=>Object.getPrototypeOf(e)===Ql;function ff(e,t,o,n=!1){const a={},r=ec();e.propsDefaults=Object.create(null),oc(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:yg(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function hf(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Ze(a),[l]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[g,w]=nc(d,t,!0);gt(s,g),w&&i.push(...w)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return et(e)&&n.set(e,mn),mn;if(Fe(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",fs=e=>Fe(e)?e.map(co):[co(e)],_f=(e,t,o)=>{if(t._n)return t;const n=zo((...a)=>fs(t(...a)),o);return n._c=!1,n},rc=(e,t,o)=>{const n=e._ctx;for(const a in e){if(gs(a))continue;const r=e[a];if(Ue(r))t[a]=_f(a,r,n);else if(r!=null){const s=fs(r);t[a]=()=>s}}},sc=(e,t)=>{const o=fs(t);e.slots.default=()=>o},ic=(e,t,o)=>{for(const n in t)(o||!gs(n))&&(e[n]=t[n])},bf=(e,t,o)=>{const n=e.slots=ec();if(e.vnode.shapeFlag&32){const a=t._;a?(ic(n,t,o),o&&Ki(n,"_",a,!0)):rc(t,n)}else t&&sc(e,t)},$f=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=ot;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:ic(a,t,o):(r=!t.$stable,rc(t,a)),s=t}else t&&(sc(e,t),s={default:1});if(r)for(const i in a)!gs(i)&&s[i]==null&&delete a[i]},Ct=kf;function yf(e){return vf(e)}function vf(e,t){const o=Ma();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:g,setScopeId:w=eo,insertStaticContent:A}=e,L=(y,T,S,K=null,B=null,j=null,ne=void 0,le=null,h=!!T.dynamicChildren)=>{if(y===T)return;y&&!oa(y,T)&&(K=He(y),W(y,B,j,!0),y=null),T.patchFlag===-2&&(h=!1,T.dynamicChildren=null);const{type:p,ref:O,shapeFlag:J}=T;switch(p){case Qn:C(y,T,S,K);break;case io:F(y,T,S,K);break;case _s:y==null&&v(T,S,K,ne);break;case Me:z(y,T,S,K,B,j,ne,le,h);break;default:J&1?_(y,T,S,K,B,j,ne,le,h):J&6?G(y,T,S,K,B,j,ne,le,h):(J&64||J&128)&&p.process(y,T,S,K,B,j,ne,le,h,xe)}O!=null&&B?Zn(O,y&&y.ref,j,T||y,!T):O==null&&y&&y.ref!=null&&Zn(y.ref,null,j,y,!0)},C=(y,T,S,K)=>{if(y==null)n(T.el=i(T.children),S,K);else{const B=T.el=y.el;T.children!==y.children&&c(B,T.children)}},F=(y,T,S,K)=>{y==null?n(T.el=l(T.children||""),S,K):T.el=y.el},v=(y,T,S,K)=>{[y.el,y.anchor]=A(y.children,T,S,K,y.el,y.anchor)},k=({el:y,anchor:T},S,K)=>{let B;for(;y&&y!==T;)B=g(y),n(y,S,K),y=B;n(T,S,K)},f=({el:y,anchor:T})=>{let S;for(;y&&y!==T;)S=g(y),a(y),y=S;a(T)},_=(y,T,S,K,B,j,ne,le,h)=>{if(T.type==="svg"?ne="svg":T.type==="math"&&(ne="mathml"),y==null)b(T,S,K,B,j,ne,le,h);else{const p=y.el&&y.el._isVueCE?y.el:null;try{p&&p._beginPatch(),$(y,T,B,j,ne,le,h)}finally{p&&p._endPatch()}}},b=(y,T,S,K,B,j,ne,le)=>{let h,p;const{props:O,shapeFlag:J,transition:ge,dirs:de}=y;if(h=y.el=s(y.type,j,O&&O.is,O),J&8?u(h,y.children):J&16&&m(y.children,h,null,K,B,hs(y,j),ne,le),de&&nn(y,null,K,"created"),x(h,y,y.scopeId,ne,K),O){for(const ee in O)ee!=="value"&&!Dn(ee)&&r(h,ee,null,O[ee],j,K);"value"in O&&r(h,"value",null,O.value,j),(p=O.onVnodeBeforeMount)&&uo(p,K,y)}de&&nn(y,null,K,"beforeMount");const U=wf(B,ge);U&&ge.beforeEnter(h),n(h,T,S),((p=O&&O.onVnodeMounted)||U||de)&&Ct(()=>{try{p&&uo(p,K,y),U&&ge.enter(h),de&&nn(y,null,K,"mounted")}finally{}},B)},x=(y,T,S,K,B)=>{if(S&&w(y,S),K)for(let j=0;j{for(let p=h;p{const le=T.el=y.el;let{patchFlag:h,dynamicChildren:p,dirs:O}=T;h|=y.patchFlag&16;const J=y.props||ot,ge=T.props||ot;let de;if(S&&sn(S,!1),(de=ge.onVnodeBeforeUpdate)&&uo(de,S,T,y),O&&nn(T,y,S,"beforeUpdate"),S&&sn(S,!0),p&&(!y.dynamicChildren||y.dynamicChildren.length!==p.length)&&(h=0,ne=!1,p=null),(J.innerHTML&&ge.innerHTML==null||J.textContent&&ge.textContent==null)&&u(le,""),p?V(y.dynamicChildren,p,le,S,K,hs(T,B),j):ne||P(y,T,le,null,S,K,hs(T,B),j,!1),h>0){if(h&16)I(le,J,ge,S,B);else if(h&2&&J.class!==ge.class&&r(le,"class",null,ge.class,B),h&4&&r(le,"style",J.style,ge.style,B),h&8){const U=T.dynamicProps;for(let ee=0;ee{de&&uo(de,S,T,y),O&&nn(T,y,S,"updated")},K)},V=(y,T,S,K,B,j,ne)=>{for(let le=0;le{if(T!==S){if(T!==ot)for(const j in T)!Dn(j)&&!(j in S)&&r(y,j,T[j],null,B,K);for(const j in S){if(Dn(j))continue;const ne=S[j],le=T[j];ne!==le&&j!=="value"&&r(y,j,le,ne,B,K)}"value"in S&&r(y,"value",T.value,S.value,B)}},z=(y,T,S,K,B,j,ne,le,h)=>{const p=T.el=y?y.el:i(""),O=T.anchor=y?y.anchor:i("");let{patchFlag:J,dynamicChildren:ge,slotScopeIds:de}=T;de&&(le=le?le.concat(de):de),y==null?(n(p,S,K),n(O,S,K),m(T.children||[],S,O,B,j,ne,le,h)):J>0&&J&64&&ge&&y.dynamicChildren&&y.dynamicChildren.length===ge.length?(V(y.dynamicChildren,ge,S,B,j,ne,le),(T.key!=null||B&&T===B.subTree)&&ms(y,T,!0)):P(y,T,S,O,B,j,ne,le,h)},G=(y,T,S,K,B,j,ne,le,h)=>{T.slotScopeIds=le,y==null?T.shapeFlag&512?B.ctx.activate(T,S,K,ne,h):ce(T,S,K,B,j,ne,h):H(y,T,h)},ce=(y,T,S,K,B,j,ne)=>{const le=y.component=Pf(y,K,B);if(is(y)&&(le.ctx.renderer=xe),Ef(le,!1,ne),le.asyncDep){if(B&&B.registerDep(le,D,ne),!y.el){const h=le.subTree=We(io);F(null,h,T,S),y.placeholder=h.el}}else D(le,y,T,S,B,j,ne)},H=(y,T,S)=>{const K=T.component=y.component;if(pf(y,T,S))if(K.asyncDep&&!K.asyncResolved){ae(K,T,S);return}else K.next=T,K.update();else T.el=y.el,K.vnode=T},D=(y,T,S,K,B,j,ne)=>{const le=()=>{if(y.isMounted){let{next:J,bu:ge,u:de,parent:U,vnode:ee}=y;{const X=lc(y);if(X){J&&(J.el=ee.el,ae(y,J,ne)),X.asyncDep.then(()=>{Ct(()=>{y.isUnmounted||p()},B)});return}}let Le=J,Pe;sn(y,!1),J?(J.el=ee.el,ae(y,J,ne)):J=ee,ge&&Pa(ge),(Pe=J.props&&J.props.onVnodeBeforeUpdate)&&uo(Pe,U,J,ee),sn(y,!0);const Ye=Zl(y),at=y.subTree;y.subTree=Ye,L(at,Ye,d(at.el),He(at),y,B,j),J.el=Ye.el,Le===null&&gf(y,Ye.el),de&&Ct(de,B),(Pe=J.props&&J.props.onVnodeUpdated)&&Ct(()=>uo(Pe,U,J,ee),B)}else{let J;const{el:ge,props:de}=T,{bm:U,m:ee,parent:Le,root:Pe,type:Ye}=y,at=xn(T);sn(y,!1),U&&Pa(U),!at&&(J=de&&de.onVnodeBeforeMount)&&uo(J,Le,T),sn(y,!0);{Pe.ce&&Pe.ce._hasShadowRoot()&&Pe.ce._injectChildStyle(Ye,y.parent?y.parent.type:void 0);const X=y.subTree=Zl(y);L(null,X,S,K,y,B,j),T.el=X.el}if(ee&&Ct(ee,B),!at&&(J=de&&de.onVnodeMounted)){const X=T;Ct(()=>uo(J,Le,X),B)}(T.shapeFlag&256||Le&&xn(Le.vnode)&&Le.vnode.shapeFlag&256)&&y.a&&Ct(y.a,B),y.isMounted=!0,T=S=K=null}};y.scope.on();const h=y.effect=new ol(le);y.scope.off();const p=y.update=h.run.bind(h),O=y.job=h.runIfDirty.bind(h);O.i=y,O.id=y.uid,h.scheduler=()=>ts(O),sn(y,!0),p()},ae=(y,T,S)=>{T.component=y;const K=y.vnode.props;y.vnode=T,y.next=null,hf(y,T.props,K,S),$f(y,T.children,S),oo(),Al(y),no()},P=(y,T,S,K,B,j,ne,le,h=!1)=>{const p=y&&y.children,O=y?y.shapeFlag:0,J=T.children,{patchFlag:ge,shapeFlag:de}=T;if(ge>0){if(ge&128){N(p,J,S,K,B,j,ne,le,h);return}else if(ge&256){Z(p,J,S,K,B,j,ne,le,h);return}}de&8?(O&16&&Te(p,B,j),J!==p&&u(S,J)):O&16?de&16?N(p,J,S,K,B,j,ne,le,h):Te(p,B,j,!0):(O&8&&u(S,""),de&16&&m(J,S,K,B,j,ne,le,h))},Z=(y,T,S,K,B,j,ne,le,h)=>{y=y||mn,T=T||mn;const p=y.length,O=T.length,J=Math.min(p,O);let ge;for(ge=0;geO?Te(y,B,j,!0,!1,J):m(T,S,K,B,j,ne,le,h,J)},N=(y,T,S,K,B,j,ne,le,h)=>{let p=0;const O=T.length;let J=y.length-1,ge=O-1;for(;p<=J&&p<=ge;){const de=y[p],U=T[p]=h?xo(T[p]):co(T[p]);if(oa(de,U))L(de,U,S,null,B,j,ne,le,h);else break;p++}for(;p<=J&&p<=ge;){const de=y[J],U=T[ge]=h?xo(T[ge]):co(T[ge]);if(oa(de,U))L(de,U,S,null,B,j,ne,le,h);else break;J--,ge--}if(p>J){if(p<=ge){const de=ge+1,U=dege)for(;p<=J;)W(y[p],B,j,!0),p++;else{const de=p,U=p,ee=new Map;for(p=U;p<=ge;p++){const ye=T[p]=h?xo(T[p]):co(T[p]);ye.key!=null&&ee.set(ye.key,p)}let Le,Pe=0;const Ye=ge-U+1;let at=!1,X=0;const ie=new Array(Ye);for(p=0;p=Ye){W(ye,B,j,!0);continue}let Re;if(ye.key!=null)Re=ee.get(ye.key);else for(Le=U;Le<=ge;Le++)if(ie[Le-U]===0&&oa(ye,T[Le])){Re=Le;break}Re===void 0?W(ye,B,j,!0):(ie[Re-U]=p+1,Re>=X?X=Re:at=!0,L(ye,T[Re],S,null,B,j,ne,le,h),Pe++)}const _e=at?xf(ie):mn;for(Le=_e.length-1,p=Ye-1;p>=0;p--){const ye=U+p,Re=T[ye],q=T[ye+1],oe=ye+1{const{el:j,type:ne,transition:le,children:h,shapeFlag:p}=y;if(p&6){E(y.component.subTree,T,S,K);return}if(p&128){y.suspense.move(T,S,K);return}if(p&64){ne.move(y,T,S,xe);return}if(ne===Me){n(j,T,S);for(let J=0;Jle.enter(j),B));else{const{leave:J,delayLeave:ge,afterLeave:de}=le,U=()=>{y.ctx.isUnmounted?a(j):n(j,T,S)},ee=()=>{const Le=j._isLeaving||!!j[rs];j._isLeaving&&j[rs](!0),le.persisted&&!Le?U():J(j,()=>{U(),de&&de()})};ge?ge(j,U,ee):ee()}else n(j,T,S)},W=(y,T,S,K=!1,B=!1)=>{const{type:j,props:ne,ref:le,children:h,dynamicChildren:p,shapeFlag:O,patchFlag:J,dirs:ge,cacheIndex:de,memo:U}=y;if(J===-2&&(B=!1),le!=null&&(oo(),Zn(le,null,S,y,!0),no()),de!=null&&(T.renderCache[de]=void 0),O&256){T.ctx.deactivate(y);return}const ee=O&1&&ge,Le=!xn(y);let Pe;if(Le&&(Pe=ne&&ne.onVnodeBeforeUnmount)&&uo(Pe,T,y),O&6)Ae(y.component,S,K);else{if(O&128){y.suspense.unmount(S,K);return}ee&&nn(y,null,T,"beforeUnmount"),O&64?y.type.remove(y,T,S,xe,K):p&&!p.hasOnce&&(j!==Me||J>0&&J&64)?Te(p,T,S,!1,!0):(j===Me&&J&384||!B&&O&16)&&Te(h,T,S),K&&me(y)}const Ye=U!=null&&de==null;(Le&&(Pe=ne&&ne.onVnodeUnmounted)||ee||Ye)&&Ct(()=>{Pe&&uo(Pe,T,y),ee&&nn(y,null,T,"unmounted"),Ye&&(y.el=null)},S)},me=y=>{const{type:T,el:S,anchor:K,transition:B}=y;if(T===Me){be(S,K);return}if(T===_s){f(y);return}const j=()=>{a(S),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(y.shapeFlag&1&&B&&!B.persisted){const{leave:ne,delayLeave:le}=B,h=()=>ne(S,j);le?le(y.el,j,h):h()}else j()},be=(y,T)=>{let S;for(;y!==T;)S=g(y),a(y),y=S;a(T)},Ae=(y,T,S)=>{const{bum:K,scope:B,job:j,subTree:ne,um:le,m:h,a:p}=y;cc(h),cc(p),K&&Pa(K),B.stop(),j&&(j.flags|=8,W(ne,y,T,S)),le&&Ct(le,T),Ct(()=>{y.isUnmounted=!0},T)},Te=(y,T,S,K=!1,B=!1,j=0)=>{for(let ne=j;ne{if(y.shapeFlag&6)return He(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const T=g(y.anchor||y.el),S=T&&T[Ml];return S?g(S):T};let Se=!1;const $e=(y,T,S)=>{let K;y==null?T._vnode&&(W(T._vnode,null,null,!0),K=T._vnode.component):L(T._vnode||null,y,T,null,null,null,S),T._vnode=y,Se||(Se=!0,Al(K),Ll(),Se=!1)},xe={p:L,um:W,m:E,r:me,mt:ce,mc:m,pc:P,pbc:V,n:He,o:e};return{render:$e,hydrate:void 0,createApp:rf($e)}}function hs({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 sn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ms(e,t,o=!1){const n=e.children,a=t.children;if(Fe(n)&&Fe(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function lc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:lc(t)}function cc(e){if(e)for(let t=0;te.__isSuspense;function kf(e,t){t&&t.pendingBranch?Fe(e)?t.effects.push(...e):t.effects.push(e):Rg(e)}const Me=Symbol.for("v-fgt"),Qn=Symbol.for("v-txt"),io=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),wo=[];let Bt=null;function Y(e=!1){wo.push(Bt=e?null:[])}function bs(){wo.pop(),Bt=wo[wo.length-1]||null}let ea=1;function Za(e,t=!1){ea+=e,e<0&&Bt&&t&&(Bt.hasOnce=!0)}function pc(e){return e.dynamicChildren=ea>0?Bt||mn:null,bs(),ea>0&&Bt&&Bt.push(e),e}function Q(e,t,o,n,a,r){return pc(M(e,t,o,n,a,r,!0))}function lo(e,t,o,n,a){return pc(We(e,t,o,n,a,!0))}function ta(e){return e?e.__v_isVNode===!0:!1}function oa(e,t){return e.type===t.type&&e.key===t.key}const gc=({key:e})=>e??null,Xa=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?lt(e)||bt(e)||Ue(e)?{i:St,r:e,k:t,f:!!o}:e:null);function M(e,t=null,o=null,n=0,a=null,r=e===Me?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gc(t),ref:t&&Xa(t),scopeId:Cl,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:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:St};return i?(Ja(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=lt(o)?8:16),ea>0&&!s&&Bt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Bt.push(l),l}const We=Sf;function Sf(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===Xg)&&(e=io),ta(e)){const i=Sn(e,t,!0);return o&&Ja(i,o),ea>0&&!r&&Bt&&(i.shapeFlag&6?Bt[Bt.indexOf(e)]=i:Bt.push(i)),i.patchFlag=-2,i}if(zf(e)&&(e=e.__vccOpts),t){t=Af(t);let{class:i,style:l}=t;i&&!lt(i)&&(t.class=Ke(i)),et(l)&&(Qr(l)&&!Fe(l)&&(l=gt({},l)),t.style=dt(l))}const s=lt(e)?1:dc(e)?128:ja(e)?64:et(e)?4:Ue(e)?2:0;return M(e,t,o,n,a,s,r,!0)}function Af(e){return e?Qr(e)||tc(e)?gt({},e):e:null}function Sn(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?Lf(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&gc(c),ref:t&&t.ref?o&&r?Fe(r)?r.concat(Xa(t)):[r,Xa(t)]:Xa(t):r,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!==Me?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Sn(e.ssContent),ssFallback:e.ssFallback&&Sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&ss(u,l.clone(u)),u}function pt(e=" ",t=0){return We(Qn,null,e,t)}function Ie(e="",t=!1){return t?(Y(),lo(io,null,e)):We(io,null,e)}function co(e){return e==null||typeof e=="boolean"?We(io):Fe(e)?We(Me,null,e.slice()):ta(e)?xo(e):We(Qn,null,String(e))}function xo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Sn(e)}function Ja(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Fe(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Ja(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!tc(t)?t._ctx=St:a===3&&St&&(St.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ue(t)){if(n&65){Ja(e,{default:t});return}t={default:t,_ctx:St},o=32}else t=String(t),n&64?(o=16,t=[pt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Lf(...e){const t={};for(let o=0;oPt||St;let Qa,na;{const e=Ma(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};Qa=t("__VUE_INSTANCE_SETTERS__",o=>Pt=o),na=t("__VUE_SSR_SETTERS__",o=>ra=o)}const aa=e=>{const t=Pt;return Qa(e),e.scope.on(),()=>{e.scope.off(),Qa(t)}},fc=()=>{Pt&&Pt.scope.off(),Qa(null)};function hc(e){return e.vnode.shapeFlag&4}let ra=!1;function Ef(e,t=!1,o=!1){t&&na(t);const{props:n,children:a}=e.vnode,r=hc(e);ff(e,n,r,t),bf(e,a,o||t);const s=r?Mf(e,t):void 0;return t&&na(!1),s}function Mf(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Jg);const{setup:n}=o;if(n){oo();const a=e.setupContext=n.length>1?Ff(e):null,r=aa(e),s=$n(n,e,0,[e.props,a]),i=Wi(s);if(no(),r(),(i||e.sp)&&!xn(e)&&Ol(e),i){if(s.then(fc,fc),t)return s.then(l=>{na(!0);try{mc(e,l,t)}finally{na(!1)}}).catch(l=>{Ba(l,e,0)});e.asyncDep=s}else mc(e,s)}else _c(e)}function mc(e,t,o){Ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:et(t)&&(e.setupState=wl(t)),_c(e)}function _c(e,t,o){const n=e.type;e.render||(e.render=n.render||eo);{const a=aa(e);oo();try{Qg(e)}finally{no(),a()}}}const Rf={get(e,t){return kt(e,"get",""),e[t]}};function Ff(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Rf),slots:e.slots,emit:e.emit,expose:t}}function er(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wl(yl(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Xn)return Xn[o](e)},has(t,o){return o in t||o in Xn}})):e.proxy}const Nf=/(?:^|[-_])\w/g,Of=e=>e.replace(Nf,t=>t.toUpperCase()).replace(/[-_]/g,"");function If(e,t=!0){return Ue(e)?e.displayName||e.name:e.name||t&&e.__name}function bc(e,t,o=!1){let n=If(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Of(n):o?"App":"Anonymous"}function zf(e){return Ue(e)&&"__vccOpts"in e}const te=(e,t)=>kg(e,t,ra);function $c(e,t,o){try{Za(-1);const n=arguments.length;return n===2?et(t)&&!Fe(t)?ta(t)?We(e,null,[t]):We(e,t):We(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&ta(o)&&(o=[o]),We(e,t,o))}finally{Za(1)}}const Df="3.5.42";/** +`,...Pg(a)),console.warn(...r)}no(),es=!1}function Cg(){let e=Vn[Vn.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 Pg(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` +`],...Eg(o))}),t}function Eg({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${yc(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...Mg(e.props),r]:[a+r]}function Mg(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Sl(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Sl(e,t,o){return lt(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:bt(t)?(t=Sl(e,Ze(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Ue(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ze(t),o?t:[`${e}=`,t])}function $n(e,t,o,n){try{return n?e(...n):e()}catch(a){Ba(a,t,o)}}function Vt(e,t,o,n){if(Ue(e)){const a=$n(e,t,o,n);return a&&Vi(a)&&a.catch(r=>{Ba(r,t,o)}),a}if(Fe(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Kn(a);r=Kn(o)?Lt.push(e):Lt.splice(Fg(t),0,e),e.flags|=1,Ll()}}function Ll(){Ha||(Ha=Al.then(Pl))}function Ng(e){if(!Fe(e))Io&&e.id===-1?Io.splice(vn+1,0,e):e.flags&1||(yn.push(e),e.flags|=1);else for(let t=0;tKn(o)-Kn(n));if(yn.length=0,Io){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Pl(e){try{for(ro=0;ro{n._d&&Za(-1);const r=Ua(t),s=wo.length;let i;try{i=e(...a)}finally{for(let l=wo.length;l>s;l--)bs();Ua(r),n._d&&Za(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function zt(e,t){if(St===null)return e;const o=er(St),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&Ue(t)?t.call(n&&n.proxy):t}}const Og=Symbol.for("v-scx"),Ig=()=>Be(Og);function Ml(e,t){return os(e,null,t)}function Qe(e,t,o){return os(e,t,o)}function os(e,t,o=ot){const{immediate:n,deep:a,flush:r,once:s}=o,i=gt({},o),l=t&&n||!t&&r!=="post";let c;if(sa){if(r==="sync"){const w=Ig();c=w.__watcherHandles||(w.__watcherHandles=[])}else if(!l){const w=()=>{};return w.stop=eo,w.resume=eo,w.pause=eo,w}}const u=Pt;i.call=(w,A,L)=>Vt(w,u,A,L);let d=!1;r==="post"?i.scheduler=w=>{Ct(w,u&&u.suspense)}:r!=="sync"&&(d=!0,i.scheduler=(w,A)=>{A?w():ts(w)}),i.augmentJob=w=>{t&&(w.flags|=4),d&&(w.flags|=2,u&&(w.id=u.uid,w.i=u))};const g=Tg(e,t,i);return sa&&(c?c.push(g):l&&g()),g}function zg(e,t,o){const n=this.proxy,a=lt(e)?e.includes(".")?Rl(n,e):()=>n[e]:e.bind(n,n);let r;Ue(t)?r=t:(r=t.handler,o=t);const s=ra(this),i=os(a,r.bind(n),o);return s(),i}function Rl(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,rn=e=>e&&(e.disabled||e.disabled===""),Dg=e=>e&&(e.defer||e.defer===""),Nl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ol=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ns=(e,t)=>{const o=e&&e.to;return lt(o)?t?t(o):null:o},Bg={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:d,pbc:g,o:{insert:w,querySelector:A,createText:L,createComment:C,parentNode:F}}=c,v=rn(t.props);let{dynamicChildren:k}=t;const f=(x,m,$)=>{x.shapeFlag&16&&u(x.children,m,$,a,r,s,i,l)},_=(x=t)=>{const m=rn(x.props),$=x.target=ns(x.props,A),V=as($,x,L,w);$&&(s!=="svg"&&Nl($)?s="svg":s!=="mathml"&&Ol($)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add($),m||(f(x,$,V),Yn(x,!1)))},b=x=>{const m=()=>{if(Do.get(x)===m){if(Do.delete(x),rn(x.props)){const $=F(x.el)||o;f(x,$,x.anchor),Yn(x,!0)}_(x)}};Do.set(x,m),Ct(m,r)};if(e==null){const x=t.el=L(""),m=t.anchor=L("");if(w(x,o,n),w(m,o,n),Dg(t.props)||r&&r.pendingBranch){b(t);return}v&&(f(t,o,m),Yn(t,!0)),_()}else{t.el=e.el;const x=t.anchor=e.anchor,m=Do.get(e);if(m){m.flags|=8,Do.delete(e),b(t);return}t.targetStart=e.targetStart;const $=t.target=e.target,V=t.targetAnchor=e.targetAnchor,I=rn(e.props),z=I?o:$,G=I?x:V;if(s==="svg"||Nl($)?s="svg":(s==="mathml"||Ol($))&&(s="mathml"),k?(g(e.dynamicChildren,k,z,a,r,s,i),ms(e,t,!0)):l||d(e,t,z,G,a,r,s,i,!1),v)I?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ga(t,o,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ce=ns(t.props,A);ce&&(t.target=ce,Ga(t,ce,null,c,0))}else I&&Ga(t,$,V,c,1);Yn(t,v)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:g}=e,w=rn(g),A=r||!w,L=Do.get(e);if(L&&(L.flags|=8,Do.delete(e)),d&&(a(c),a(u)),r&&a(l),!L&&(w||d)&&s&16)for(let C=0;C1){for(const o of e)if(o.type!==io){t=o;break}}return t}function Il(e){if(!is(e))return ja(e.type)&&e.children?jg(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&Ue(o.default))return o.default()}}function ss(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;ss(ja(o.type)&&Il(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zn(e,t){return Ue(e)?gt({name:e.name},t,{setup:e}):e}function zl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Dl(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Wa=new WeakMap;function Xn(e,t,o,n,a=!1){if(Fe(e)){e.forEach((L,C)=>Xn(L,t&&(Fe(t)?t[C]:t),o,n,a));return}if(xn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Xn(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?er(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===ot?i.refs={}:i.refs,d=i.setupState,g=Ze(d),w=d===ot?Wi:L=>Dl(u,L)?!1:Je(g,L),A=(L,C)=>!(C&&Dl(u,C));if(c!=null&&c!==l){if(Bl(t),lt(c))u[c]=null,w(c)&&(d[c]=null);else if(bt(c)){const L=t;A(c,L.k)&&(c.value=null),L.k&&(u[L.k]=null)}}if(Ue(l))$n(l,i,12,[s,u]);else{const L=lt(l),C=bt(l);if(L||C){const F=()=>{if(e.f){const v=L?w(l)?d[l]:u[l]:A()||!e.k?l.value:u[e.k];if(a)Fe(v)&&Or(v,r);else if(Fe(v))v.includes(r)||v.push(r);else if(L)u[l]=[r],w(l)&&(d[l]=u[l]);else{const k=[r];A(l,e.k)&&(l.value=k),e.k&&(u[e.k]=k)}}else L?(u[l]=s,w(l)&&(d[l]=s)):C&&(A(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const v=()=>{F(),Wa.delete(e)};v.id=-1,Wa.set(e,v),Ct(v,o)}else Bl(e),F()}}}function Bl(e){const t=Wa.get(e);t&&(t.flags|=8,Wa.delete(e))}Ma().requestIdleCallback,Ma().cancelIdleCallback;const xn=e=>!!e.type.__asyncLoader,is=e=>e.type.__isKeepAlive;function Gg(e,t){Hl(e,"a",t)}function Wg(e,t){Hl(e,"da",t)}function Hl(e,t,o=Pt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(qa(t,n,o),o){let a=o.parent;for(;a&&a.parent;)is(a.parent.vnode)&&qg(n,t,o,a),a=a.parent}}function qg(e,t,o,n){const a=qa(t,e,n,!0);Va(()=>{Or(n[t],a)},o)}function qa(e,t,o=Pt,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{oo();const i=ra(o),l=Vt(t,o,e,s);return i(),no(),l});return n?a.unshift(r):a.push(r),r}}const vo=e=>(t,o=Pt)=>{(!sa||e==="sp")&&qa(e,(...n)=>t(...n),o)},Ul=vo("bm"),vt=vo("m"),Vg=vo("bu"),Kg=vo("u"),Dt=vo("bum"),Va=vo("um"),Yg=vo("sp"),Zg=vo("rtg"),Xg=vo("rtc");function Jg(e,t=Pt){qa("ec",e,t)}const Qg=Symbol.for("v-ndc");function nt(e,t,o,n){let a;const r=o,s=Fe(e);if(s||lt(e)){const i=s&&on(e);let l=!1,c=!1;i&&(l=!Ut(e),c=$o(e),e=Ra(e)),a=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),Y(),lo(Me,null,[We("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=wo.length;Y();let l;try{const c=s&&jl(s(o)),u=o.key||r||c&&c.key;l=lo(Me,{key:(u&&!Gt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=wo.length;u>i;u--)bs();throw c}finally{s&&s._c&&(s._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function jl(e){return e.some(t=>oa(t)?!(t.type===io||t.type===Me&&!jl(t.children)):!0)?e:null}const ls=e=>e?_c(e)?er(e):ls(e.parent):null,Jn=gt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ls(e.parent),$root:e=>ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vl(e),$forceUpdate:e=>e.f||(e.f=()=>{ts(e.update)}),$nextTick:e=>e.n||(e.n=wn.bind(e.proxy)),$watch:e=>zg.bind(e)}),cs=(e,t)=>e!==ot&&!e.__isScriptSetup&&Je(e,t),ef={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(cs(n,t))return s[t]=1,n[t];if(a!==ot&&Je(a,t))return s[t]=2,a[t];if(Je(r,t))return s[t]=3,r[t];if(o!==ot&&Je(o,t))return s[t]=4,o[t];us&&(s[t]=0)}}const c=Jn[t];let u,d;if(c)return t==="$attrs"&&kt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==ot&&Je(o,t))return s[t]=4,o[t];if(d=l.config.globalProperties,Je(d,t))return d[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return cs(a,t)?(a[t]=o,!0):n!==ot&&Je(n,t)?(n[t]=o,!0):Je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==ot&&i[0]!=="$"&&Je(e,i)||cs(t,i)||Je(r,i)||Je(n,i)||Je(Jn,i)||Je(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Je(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Gl(e){return Fe(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let us=!0;function tf(e){const t=Vl(e),o=e.proxy,n=e.ctx;us=!1,t.beforeCreate&&Wl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:g,beforeUpdate:w,updated:A,activated:L,deactivated:C,beforeDestroy:F,beforeUnmount:v,destroyed:k,unmounted:f,render:_,renderTracked:b,renderTriggered:x,errorCaptured:m,serverPrefetch:$,expose:V,inheritAttrs:I,components:z,directives:G,filters:ce}=t;if(c&&of(c,n,null),s)for(const ae in s){const P=s[ae];Ue(P)&&(n[ae]=P.bind(o))}if(a){const ae=a.call(o,o);et(ae)&&(e.data=tn(ae))}if(us=!0,r)for(const ae in r){const P=r[ae],Z=Ue(P)?P.bind(o,o):Ue(P.get)?P.get.bind(o,o):eo,N=!Ue(P)&&Ue(P.set)?P.set.bind(o):eo,E=te({get:Z,set:N});Object.defineProperty(n,ae,{enumerable:!0,configurable:!0,get:()=>E.value,set:W=>E.value=W})}if(i)for(const ae in i)ql(i[ae],n,o,ae);if(l){const ae=Ue(l)?l.call(o):l;Reflect.ownKeys(ae).forEach(P=>{so(P,ae[P])})}u&&Wl(u,e,"c");function D(ae,P){Fe(P)?P.forEach(Z=>ae(Z.bind(o))):P&&ae(P.bind(o))}if(D(Ul,d),D(vt,g),D(Vg,w),D(Kg,A),D(Gg,L),D(Wg,C),D(Jg,m),D(Xg,b),D(Zg,x),D(Dt,v),D(Va,f),D(Yg,$),Fe(V))if(V.length){const ae=e.exposed||(e.exposed={});V.forEach(P=>{Object.defineProperty(ae,P,{get:()=>o[P],set:Z=>o[P]=Z,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===eo&&(e.render=_),I!=null&&(e.inheritAttrs=I),z&&(e.components=z),G&&(e.directives=G),$&&zl(e)}function of(e,t,o=eo){Fe(e)&&(e=ds(e));for(const n in e){const a=e[n];let r;et(a)?"default"in a?r=Be(a.from||n,a.default,!0):r=Be(a.from||n):r=Be(a),bt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function Wl(e,t,o){Vt(Fe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function ql(e,t,o,n){let a=n.includes(".")?Rl(o,n):()=>o[n];if(lt(e)){const r=t[e];Ue(r)&&Qe(a,r)}else if(Ue(e))Qe(a,e.bind(o));else if(et(e))if(Fe(e))e.forEach(r=>ql(r,t,o,n));else{const r=Ue(e.handler)?e.handler.bind(o):t[e.handler];Ue(r)&&Qe(a,r,e)}}function Vl(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Ka(l,c,s,!0)),Ka(l,t,s)),et(t)&&r.set(t,l),l}function Ka(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Ka(e,r,o,!0),a&&a.forEach(s=>Ka(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=nf[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const nf={data:Kl,props:Yl,emits:Yl,methods:Qn,computed:Qn,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:Qn,directives:Qn,watch:rf,provide:Kl,inject:af};function Kl(e,t){return t?e?function(){return gt(Ue(e)?e.call(this,this):e,Ue(t)?t.call(this,this):t)}:t:e}function af(e,t){return Qn(ds(e),ds(t))}function ds(e){if(Fe(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rt(t)}Modifiers`]||e[`${It(t)}Modifiers`];function uf(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ot;let a=o;const r=t.startsWith("update:"),s=r&&cf(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>lt(u)?u.trim():u)),s.number&&(a=a.map(Ea)));let i,l=n[i=zr(t)]||n[i=zr(Rt(t))];!l&&r&&(l=n[i=zr(It(t))]),l&&Vt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Vt(c,e,6,a)}}const df=new WeakMap;function Xl(e,t,o=!1){const n=o?df:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!Ue(e)){const l=c=>{const u=Xl(c,t,!0);u&&(i=!0,gt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(et(e)&&n.set(e,null),null):(Fe(r)?r.forEach(l=>s[l]=null):gt(s,r),et(e)&&n.set(e,s),s)}function Ya(e,t){return!e||!Aa(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Je(e,t[0].toLowerCase()+t.slice(1))||Je(e,It(t))||Je(e,t))}function kS(){}function Jl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:d,data:g,setupState:w,ctx:A,inheritAttrs:L}=e,C=Ua(e);let F,v;try{if(o.shapeFlag&4){const f=a||n,_=f;F=co(c.call(_,f,u,d,w,g,A)),v=i}else{const f=t;F=co(f.length>1?f(d,{attrs:i,slots:s,emit:l}):f(d,null)),v=t.props?i:pf(i)}}catch(f){wo.length=0,Ba(f,e,1),F=We(io)}let k=F;if(v&&L!==!1){const f=Object.keys(v),{shapeFlag:_}=k;f.length&&_&7&&(r&&f.some(La)&&(v=gf(v,r)),k=Sn(k,v,!1,!0))}if(o.dirs&&(k=Sn(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(o.dirs):o.dirs),o.transition){const f=ja(k.type)&&Il(k)||k;ss(f,o.transition)}return F=k,Ua(C),F}const pf=e=>{let t;for(const o in e)(o==="class"||o==="style"||Aa(o))&&((t||(t={}))[o]=e[o]);return t},gf=(e,t)=>{const o={};for(const n in e)(!La(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function ff(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Ql(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(tc),nc=e=>Object.getPrototypeOf(e)===tc;function mf(e,t,o,n=!1){const a={},r=oc();e.propsDefaults=Object.create(null),ac(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:wg(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function _f(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Ze(a),[l]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[g,w]=rc(d,t,!0);gt(s,g),w&&i.push(...w)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return et(e)&&n.set(e,mn),mn;if(Fe(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",fs=e=>Fe(e)?e.map(co):[co(e)],$f=(e,t,o)=>{if(t._n)return t;const n=zo((...a)=>fs(t(...a)),o);return n._c=!1,n},ic=(e,t,o)=>{const n=e._ctx;for(const a in e){if(gs(a))continue;const r=e[a];if(Ue(r))t[a]=$f(a,r,n);else if(r!=null){const s=fs(r);t[a]=()=>s}}},lc=(e,t)=>{const o=fs(t);e.slots.default=()=>o},cc=(e,t,o)=>{for(const n in t)(o||!gs(n))&&(e[n]=t[n])},yf=(e,t,o)=>{const n=e.slots=oc();if(e.vnode.shapeFlag&32){const a=t._;a?(cc(n,t,o),o&&Zi(n,"_",a,!0)):ic(t,n)}else t&&lc(e,t)},vf=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=ot;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:cc(a,t,o):(r=!t.$stable,ic(t,a)),s=t}else t&&(lc(e,t),s={default:1});if(r)for(const i in a)!gs(i)&&s[i]==null&&delete a[i]},Ct=Af;function wf(e){return xf(e)}function xf(e,t){const o=Ma();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:g,setScopeId:w=eo,insertStaticContent:A}=e,L=(y,T,S,K=null,B=null,j=null,ne=void 0,le=null,h=!!T.dynamicChildren)=>{if(y===T)return;y&&!na(y,T)&&(K=He(y),W(y,B,j,!0),y=null),T.patchFlag===-2&&(h=!1,T.dynamicChildren=null);const{type:p,ref:O,shapeFlag:J}=T;switch(p){case ea:C(y,T,S,K);break;case io:F(y,T,S,K);break;case _s:y==null&&v(T,S,K,ne);break;case Me:z(y,T,S,K,B,j,ne,le,h);break;default:J&1?_(y,T,S,K,B,j,ne,le,h):J&6?G(y,T,S,K,B,j,ne,le,h):(J&64||J&128)&&p.process(y,T,S,K,B,j,ne,le,h,xe)}O!=null&&B?Xn(O,y&&y.ref,j,T||y,!T):O==null&&y&&y.ref!=null&&Xn(y.ref,null,j,y,!0)},C=(y,T,S,K)=>{if(y==null)n(T.el=i(T.children),S,K);else{const B=T.el=y.el;T.children!==y.children&&c(B,T.children)}},F=(y,T,S,K)=>{y==null?n(T.el=l(T.children||""),S,K):T.el=y.el},v=(y,T,S,K)=>{[y.el,y.anchor]=A(y.children,T,S,K,y.el,y.anchor)},k=({el:y,anchor:T},S,K)=>{let B;for(;y&&y!==T;)B=g(y),n(y,S,K),y=B;n(T,S,K)},f=({el:y,anchor:T})=>{let S;for(;y&&y!==T;)S=g(y),a(y),y=S;a(T)},_=(y,T,S,K,B,j,ne,le,h)=>{if(T.type==="svg"?ne="svg":T.type==="math"&&(ne="mathml"),y==null)b(T,S,K,B,j,ne,le,h);else{const p=y.el&&y.el._isVueCE?y.el:null;try{p&&p._beginPatch(),$(y,T,B,j,ne,le,h)}finally{p&&p._endPatch()}}},b=(y,T,S,K,B,j,ne,le)=>{let h,p;const{props:O,shapeFlag:J,transition:ge,dirs:de}=y;if(h=y.el=s(y.type,j,O&&O.is,O),J&8?u(h,y.children):J&16&&m(y.children,h,null,K,B,hs(y,j),ne,le),de&&an(y,null,K,"created"),x(h,y,y.scopeId,ne,K),O){for(const ee in O)ee!=="value"&&!Bn(ee)&&r(h,ee,null,O[ee],j,K);"value"in O&&r(h,"value",null,O.value,j),(p=O.onVnodeBeforeMount)&&uo(p,K,y)}de&&an(y,null,K,"beforeMount");const U=kf(B,ge);U&&ge.beforeEnter(h),n(h,T,S),((p=O&&O.onVnodeMounted)||U||de)&&Ct(()=>{try{p&&uo(p,K,y),U&&ge.enter(h),de&&an(y,null,K,"mounted")}finally{}},B)},x=(y,T,S,K,B)=>{if(S&&w(y,S),K)for(let j=0;j{for(let p=h;p{const le=T.el=y.el;let{patchFlag:h,dynamicChildren:p,dirs:O}=T;h|=y.patchFlag&16;const J=y.props||ot,ge=T.props||ot;let de;if(S&&ln(S,!1),(de=ge.onVnodeBeforeUpdate)&&uo(de,S,T,y),O&&an(T,y,S,"beforeUpdate"),S&&ln(S,!0),p&&(!y.dynamicChildren||y.dynamicChildren.length!==p.length)&&(h=0,ne=!1,p=null),(J.innerHTML&&ge.innerHTML==null||J.textContent&&ge.textContent==null)&&u(le,""),p?V(y.dynamicChildren,p,le,S,K,hs(T,B),j):ne||P(y,T,le,null,S,K,hs(T,B),j,!1),h>0){if(h&16)I(le,J,ge,S,B);else if(h&2&&J.class!==ge.class&&r(le,"class",null,ge.class,B),h&4&&r(le,"style",J.style,ge.style,B),h&8){const U=T.dynamicProps;for(let ee=0;ee{de&&uo(de,S,T,y),O&&an(T,y,S,"updated")},K)},V=(y,T,S,K,B,j,ne)=>{for(let le=0;le{if(T!==S){if(T!==ot)for(const j in T)!Bn(j)&&!(j in S)&&r(y,j,T[j],null,B,K);for(const j in S){if(Bn(j))continue;const ne=S[j],le=T[j];ne!==le&&j!=="value"&&r(y,j,le,ne,B,K)}"value"in S&&r(y,"value",T.value,S.value,B)}},z=(y,T,S,K,B,j,ne,le,h)=>{const p=T.el=y?y.el:i(""),O=T.anchor=y?y.anchor:i("");let{patchFlag:J,dynamicChildren:ge,slotScopeIds:de}=T;de&&(le=le?le.concat(de):de),y==null?(n(p,S,K),n(O,S,K),m(T.children||[],S,O,B,j,ne,le,h)):J>0&&J&64&&ge&&y.dynamicChildren&&y.dynamicChildren.length===ge.length?(V(y.dynamicChildren,ge,S,B,j,ne,le),(T.key!=null||B&&T===B.subTree)&&ms(y,T,!0)):P(y,T,S,O,B,j,ne,le,h)},G=(y,T,S,K,B,j,ne,le,h)=>{T.slotScopeIds=le,y==null?T.shapeFlag&512?B.ctx.activate(T,S,K,ne,h):ce(T,S,K,B,j,ne,h):H(y,T,h)},ce=(y,T,S,K,B,j,ne)=>{const le=y.component=Mf(y,K,B);if(is(y)&&(le.ctx.renderer=xe),Rf(le,!1,ne),le.asyncDep){if(B&&B.registerDep(le,D,ne),!y.el){const h=le.subTree=We(io);F(null,h,T,S),y.placeholder=h.el}}else D(le,y,T,S,B,j,ne)},H=(y,T,S)=>{const K=T.component=y.component;if(ff(y,T,S))if(K.asyncDep&&!K.asyncResolved){ae(K,T,S);return}else K.next=T,K.update();else T.el=y.el,K.vnode=T},D=(y,T,S,K,B,j,ne)=>{const le=()=>{if(y.isMounted){let{next:J,bu:ge,u:de,parent:U,vnode:ee}=y;{const X=uc(y);if(X){J&&(J.el=ee.el,ae(y,J,ne)),X.asyncDep.then(()=>{Ct(()=>{y.isUnmounted||p()},B)});return}}let Le=J,Pe;ln(y,!1),J?(J.el=ee.el,ae(y,J,ne)):J=ee,ge&&Pa(ge),(Pe=J.props&&J.props.onVnodeBeforeUpdate)&&uo(Pe,U,J,ee),ln(y,!0);const Ye=Jl(y),at=y.subTree;y.subTree=Ye,L(at,Ye,d(at.el),He(at),y,B,j),J.el=Ye.el,Le===null&&hf(y,Ye.el),de&&Ct(de,B),(Pe=J.props&&J.props.onVnodeUpdated)&&Ct(()=>uo(Pe,U,J,ee),B)}else{let J;const{el:ge,props:de}=T,{bm:U,m:ee,parent:Le,root:Pe,type:Ye}=y,at=xn(T);ln(y,!1),U&&Pa(U),!at&&(J=de&&de.onVnodeBeforeMount)&&uo(J,Le,T),ln(y,!0);{Pe.ce&&Pe.ce._hasShadowRoot()&&Pe.ce._injectChildStyle(Ye,y.parent?y.parent.type:void 0);const X=y.subTree=Jl(y);L(null,X,S,K,y,B,j),T.el=X.el}if(ee&&Ct(ee,B),!at&&(J=de&&de.onVnodeMounted)){const X=T;Ct(()=>uo(J,Le,X),B)}(T.shapeFlag&256||Le&&xn(Le.vnode)&&Le.vnode.shapeFlag&256)&&y.a&&Ct(y.a,B),y.isMounted=!0,T=S=K=null}};y.scope.on();const h=y.effect=new al(le);y.scope.off();const p=y.update=h.run.bind(h),O=y.job=h.runIfDirty.bind(h);O.i=y,O.id=y.uid,h.scheduler=()=>ts(O),ln(y,!0),p()},ae=(y,T,S)=>{T.component=y;const K=y.vnode.props;y.vnode=T,y.next=null,_f(y,T.props,K,S),vf(y,T.children,S),oo(),Tl(y),no()},P=(y,T,S,K,B,j,ne,le,h=!1)=>{const p=y&&y.children,O=y?y.shapeFlag:0,J=T.children,{patchFlag:ge,shapeFlag:de}=T;if(ge>0){if(ge&128){N(p,J,S,K,B,j,ne,le,h);return}else if(ge&256){Z(p,J,S,K,B,j,ne,le,h);return}}de&8?(O&16&&Te(p,B,j),J!==p&&u(S,J)):O&16?de&16?N(p,J,S,K,B,j,ne,le,h):Te(p,B,j,!0):(O&8&&u(S,""),de&16&&m(J,S,K,B,j,ne,le,h))},Z=(y,T,S,K,B,j,ne,le,h)=>{y=y||mn,T=T||mn;const p=y.length,O=T.length,J=Math.min(p,O);let ge;for(ge=0;geO?Te(y,B,j,!0,!1,J):m(T,S,K,B,j,ne,le,h,J)},N=(y,T,S,K,B,j,ne,le,h)=>{let p=0;const O=T.length;let J=y.length-1,ge=O-1;for(;p<=J&&p<=ge;){const de=y[p],U=T[p]=h?xo(T[p]):co(T[p]);if(na(de,U))L(de,U,S,null,B,j,ne,le,h);else break;p++}for(;p<=J&&p<=ge;){const de=y[J],U=T[ge]=h?xo(T[ge]):co(T[ge]);if(na(de,U))L(de,U,S,null,B,j,ne,le,h);else break;J--,ge--}if(p>J){if(p<=ge){const de=ge+1,U=dege)for(;p<=J;)W(y[p],B,j,!0),p++;else{const de=p,U=p,ee=new Map;for(p=U;p<=ge;p++){const ye=T[p]=h?xo(T[p]):co(T[p]);ye.key!=null&&ee.set(ye.key,p)}let Le,Pe=0;const Ye=ge-U+1;let at=!1,X=0;const ie=new Array(Ye);for(p=0;p=Ye){W(ye,B,j,!0);continue}let Re;if(ye.key!=null)Re=ee.get(ye.key);else for(Le=U;Le<=ge;Le++)if(ie[Le-U]===0&&na(ye,T[Le])){Re=Le;break}Re===void 0?W(ye,B,j,!0):(ie[Re-U]=p+1,Re>=X?X=Re:at=!0,L(ye,T[Re],S,null,B,j,ne,le,h),Pe++)}const _e=at?Sf(ie):mn;for(Le=_e.length-1,p=Ye-1;p>=0;p--){const ye=U+p,Re=T[ye],q=T[ye+1],oe=ye+1{const{el:j,type:ne,transition:le,children:h,shapeFlag:p}=y;if(p&6){E(y.component.subTree,T,S,K);return}if(p&128){y.suspense.move(T,S,K);return}if(p&64){ne.move(y,T,S,xe);return}if(ne===Me){n(j,T,S);for(let J=0;Jle.enter(j),B));else{const{leave:J,delayLeave:ge,afterLeave:de}=le,U=()=>{y.ctx.isUnmounted?a(j):n(j,T,S)},ee=()=>{const Le=j._isLeaving||!!j[rs];j._isLeaving&&j[rs](!0),le.persisted&&!Le?U():J(j,()=>{U(),de&&de()})};ge?ge(j,U,ee):ee()}else n(j,T,S)},W=(y,T,S,K=!1,B=!1)=>{const{type:j,props:ne,ref:le,children:h,dynamicChildren:p,shapeFlag:O,patchFlag:J,dirs:ge,cacheIndex:de,memo:U}=y;if(J===-2&&(B=!1),le!=null&&(oo(),Xn(le,null,S,y,!0),no()),de!=null&&(T.renderCache[de]=void 0),O&256){T.ctx.deactivate(y);return}const ee=O&1&&ge,Le=!xn(y);let Pe;if(Le&&(Pe=ne&&ne.onVnodeBeforeUnmount)&&uo(Pe,T,y),O&6)Ae(y.component,S,K);else{if(O&128){y.suspense.unmount(S,K);return}ee&&an(y,null,T,"beforeUnmount"),O&64?y.type.remove(y,T,S,xe,K):p&&!p.hasOnce&&(j!==Me||J>0&&J&64)?Te(p,T,S,!1,!0):(j===Me&&J&384||!B&&O&16)&&Te(h,T,S),K&&me(y)}const Ye=U!=null&&de==null;(Le&&(Pe=ne&&ne.onVnodeUnmounted)||ee||Ye)&&Ct(()=>{Pe&&uo(Pe,T,y),ee&&an(y,null,T,"unmounted"),Ye&&(y.el=null)},S)},me=y=>{const{type:T,el:S,anchor:K,transition:B}=y;if(T===Me){be(S,K);return}if(T===_s){f(y);return}const j=()=>{a(S),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(y.shapeFlag&1&&B&&!B.persisted){const{leave:ne,delayLeave:le}=B,h=()=>ne(S,j);le?le(y.el,j,h):h()}else j()},be=(y,T)=>{let S;for(;y!==T;)S=g(y),a(y),y=S;a(T)},Ae=(y,T,S)=>{const{bum:K,scope:B,job:j,subTree:ne,um:le,m:h,a:p}=y;dc(h),dc(p),K&&Pa(K),B.stop(),j&&(j.flags|=8,W(ne,y,T,S)),le&&Ct(le,T),Ct(()=>{y.isUnmounted=!0},T)},Te=(y,T,S,K=!1,B=!1,j=0)=>{for(let ne=j;ne{if(y.shapeFlag&6)return He(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const T=g(y.anchor||y.el),S=T&&T[Fl];return S?g(S):T};let Se=!1;const $e=(y,T,S)=>{let K;y==null?T._vnode&&(W(T._vnode,null,null,!0),K=T._vnode.component):L(T._vnode||null,y,T,null,null,null,S),T._vnode=y,Se||(Se=!0,Tl(K),Cl(),Se=!1)},xe={p:L,um:W,m:E,r:me,mt:ce,mc:m,pc:P,pbc:V,n:He,o:e};return{render:$e,hydrate:void 0,createApp:lf($e)}}function hs({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 ln({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function kf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ms(e,t,o=!1){const n=e.children,a=t.children;if(Fe(n)&&Fe(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function uc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:uc(t)}function dc(e){if(e)for(let t=0;te.__isSuspense;function Af(e,t){t&&t.pendingBranch?Fe(e)?t.effects.push(...e):t.effects.push(e):Ng(e)}const Me=Symbol.for("v-fgt"),ea=Symbol.for("v-txt"),io=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),wo=[];let Bt=null;function Y(e=!1){wo.push(Bt=e?null:[])}function bs(){wo.pop(),Bt=wo[wo.length-1]||null}let ta=1;function Za(e,t=!1){ta+=e,e<0&&Bt&&t&&(Bt.hasOnce=!0)}function fc(e){return e.dynamicChildren=ta>0?Bt||mn:null,bs(),ta>0&&Bt&&Bt.push(e),e}function Q(e,t,o,n,a,r){return fc(M(e,t,o,n,a,r,!0))}function lo(e,t,o,n,a){return fc(We(e,t,o,n,a,!0))}function oa(e){return e?e.__v_isVNode===!0:!1}function na(e,t){return e.type===t.type&&e.key===t.key}const hc=({key:e})=>e??null,Xa=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?lt(e)||bt(e)||Ue(e)?{i:St,r:e,k:t,f:!!o}:e:null);function M(e,t=null,o=null,n=0,a=null,r=e===Me?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hc(t),ref:t&&Xa(t),scopeId:El,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:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:St};return i?(Ja(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=lt(o)?8:16),ta>0&&!s&&Bt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Bt.push(l),l}const We=Lf;function Lf(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===Qg)&&(e=io),oa(e)){const i=Sn(e,t,!0);return o&&Ja(i,o),ta>0&&!r&&Bt&&(i.shapeFlag&6?Bt[Bt.indexOf(e)]=i:Bt.push(i)),i.patchFlag=-2,i}if(Bf(e)&&(e=e.__vccOpts),t){t=Tf(t);let{class:i,style:l}=t;i&&!lt(i)&&(t.class=Ke(i)),et(l)&&(Qr(l)&&!Fe(l)&&(l=gt({},l)),t.style=dt(l))}const s=lt(e)?1:gc(e)?128:ja(e)?64:et(e)?4:Ue(e)?2:0;return M(e,t,o,n,a,s,r,!0)}function Tf(e){return e?Qr(e)||nc(e)?gt({},e):e:null}function Sn(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?Cf(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&hc(c),ref:t&&t.ref?o&&r?Fe(r)?r.concat(Xa(t)):[r,Xa(t)]:Xa(t):r,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!==Me?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Sn(e.ssContent),ssFallback:e.ssFallback&&Sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&ss(u,l.clone(u)),u}function pt(e=" ",t=0){return We(ea,null,e,t)}function Ie(e="",t=!1){return t?(Y(),lo(io,null,e)):We(io,null,e)}function co(e){return e==null||typeof e=="boolean"?We(io):Fe(e)?We(Me,null,e.slice()):oa(e)?xo(e):We(ea,null,String(e))}function xo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Sn(e)}function Ja(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Fe(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Ja(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!nc(t)?t._ctx=St:a===3&&St&&(St.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ue(t)){if(n&65){Ja(e,{default:t});return}t={default:t,_ctx:St},o=32}else t=String(t),n&64?(o=16,t=[pt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Cf(...e){const t={};for(let o=0;oPt||St;let Qa,aa;{const e=Ma(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};Qa=t("__VUE_INSTANCE_SETTERS__",o=>Pt=o),aa=t("__VUE_SSR_SETTERS__",o=>sa=o)}const ra=e=>{const t=Pt;return Qa(e),e.scope.on(),()=>{e.scope.off(),Qa(t)}},mc=()=>{Pt&&Pt.scope.off(),Qa(null)};function _c(e){return e.vnode.shapeFlag&4}let sa=!1;function Rf(e,t=!1,o=!1){t&&aa(t);const{props:n,children:a}=e.vnode,r=_c(e);mf(e,n,r,t),yf(e,a,o||t);const s=r?Ff(e,t):void 0;return t&&aa(!1),s}function Ff(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ef);const{setup:n}=o;if(n){oo();const a=e.setupContext=n.length>1?Of(e):null,r=ra(e),s=$n(n,e,0,[e.props,a]),i=Vi(s);if(no(),r(),(i||e.sp)&&!xn(e)&&zl(e),i){if(s.then(mc,mc),t)return s.then(l=>{aa(!0);try{bc(e,l,t)}finally{aa(!1)}}).catch(l=>{Ba(l,e,0)});e.asyncDep=s}else bc(e,s)}else $c(e)}function bc(e,t,o){Ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:et(t)&&(e.setupState=kl(t)),$c(e)}function $c(e,t,o){const n=e.type;e.render||(e.render=n.render||eo);{const a=ra(e);oo();try{tf(e)}finally{no(),a()}}}const Nf={get(e,t){return kt(e,"get",""),e[t]}};function Of(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Nf),slots:e.slots,emit:e.emit,expose:t}}function er(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(kl(wl(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Jn)return Jn[o](e)},has(t,o){return o in t||o in Jn}})):e.proxy}const If=/(?:^|[-_])\w/g,zf=e=>e.replace(If,t=>t.toUpperCase()).replace(/[-_]/g,"");function Df(e,t=!0){return Ue(e)?e.displayName||e.name:e.name||t&&e.__name}function yc(e,t,o=!1){let n=Df(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?zf(n):o?"App":"Anonymous"}function Bf(e){return Ue(e)&&"__vccOpts"in e}const te=(e,t)=>Ag(e,t,sa);function vc(e,t,o){try{Za(-1);const n=arguments.length;return n===2?et(t)&&!Fe(t)?oa(t)?We(e,null,[t]):We(e,t):We(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&oa(o)&&(o=[o]),We(e,t,o))}finally{Za(1)}}const Hf="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let $s;const yc=typeof window<"u"&&window.trustedTypes;if(yc)try{$s=yc.createPolicy("vue",{createHTML:e=>e})}catch{}const vc=$s?e=>$s.createHTML(e):e=>e,Bf="http://www.w3.org/2000/svg",Hf="http://www.w3.org/1998/Math/MathML",ko=typeof document<"u"?document:null,wc=ko&&ko.createElement("template"),Uf={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 a=t==="svg"?ko.createElementNS(Bf,e):t==="mathml"?ko.createElementNS(Hf,e):o?ko.createElement(e,{is:o}):ko.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>ko.createTextNode(e),createComment:e=>ko.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ko.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,a,r){const s=o?o.previousSibling:t.lastChild;if(a&&(a===r||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),o),!(a===r||!(a=a.nextSibling)););else{wc.innerHTML=vc(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=wc.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[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},jf=Symbol("_vtc");function Gf(e,t,o){const n=e[jf];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const tr=Symbol("_vod"),xc=Symbol("_vsh"),Kt={name:"show",beforeMount(e,{value:t},{transition:o}){e[tr]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):sa(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),sa(e,!0),n.enter(e)):n.leave(e,()=>{sa(e,!1)}):sa(e,t))},beforeUnmount(e,{value:t}){sa(e,t)}};function sa(e,t){e.style.display=t?e[tr]:"none",e[xc]=!t}const Wf=Symbol(""),qf=/(?:^|;)\s*display\s*:/;function Vf(e,t,o){const n=e.style,a=lt(o);let r=!1;if(o&&!a){if(t)if(lt(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&ia(n,i,"")}else for(const s in t)o[s]==null&&ia(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?Yf(e,s,!lt(t)&&t?t[s]:void 0,i)||ia(n,s,i):ia(n,s,"")}}else if(a){if(t!==o){const s=n[Wf];s&&(o+=";"+s),n.cssText=o,r=qf.test(o)}}else t&&e.removeAttribute("style");tr in e&&(e[tr]=r?n.display:"",e[xc]&&(n.display="none"))}const or=/\s*!important$/;function ia(e,t,o){if(Fe(o))o.forEach(n=>ia(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))or.test(o)?e.setProperty(t,o.replace(or,""),"important"):e.setProperty(t,o);else{const n=Kf(e,t);or.test(o)?e.setProperty(It(n),o.replace(or,""),"important"):e[n]=o}}const kc=["Webkit","Moz","ms"],ys={};function Kf(e,t){const o=ys[t];if(o)return o;let n=Rt(t);if(n!=="filter"&&n in e)return ys[t]=n;n=Vi(n);for(let a=0;avs||(th.then(()=>vs=0),vs=Date.now());function nh(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const a=o.value;if(Fe(a)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const s=a.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ah=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?Gf(e,n,s):t==="style"?Vf(e,o,n):Aa(t)?La(t)||Xf(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rh(e,t,n,s))?(Lc(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ac(e,t,n,s,r,t!=="value")):e._isVueCE&&(sh(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!lt(n)))?Lc(e,Rt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ac(e,t,n,s))};function rh(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cc(t)&&Ue(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Cc(t)&<(o)?!1:t in e}function sh(e,t){const o=e._def.props;if(!o)return!1;const n=Rt(t);return Array.isArray(o)?o.some(a=>Rt(a)===n):Object.keys(o).some(a=>Rt(a)===n)}const Pc={};function ih(e,t,o){let n=Yn(e,t);Ta(n)&&(n=gt({},n,t));class a extends ws{constructor(s){super(n,s,o)}}return a.def=n,a}const lh=typeof HTMLElement<"u"?HTMLElement:class{};class ws extends lh{constructor(t,o={},n=Nc){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!==Nc?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(gt({},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 ws){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return 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,wn(()=>{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 this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:s}=n;let i;if(r&&!Fe(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Yi(this._props[l])),(i||(i=Object.create(null)))[Rt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;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)Je(this,n)||Object.defineProperty(this,n,{get:()=>ue(o[n])})}_resolveProps(t){const{props:o}=t,n=Fe(o)?o:Object.keys(o||{});for(const a of Object.keys(this))a[0]!=="_"&&n.includes(a)&&this._setProp(a,this[a]);for(const a of n.map(Rt))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(r){this._setProp(a,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):Pc;const a=Rt(t);o&&this._numberProps&&this._numberProps[a]&&(n=Yi(n)),this._setProp(a,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,a=!1){if(o!==this._props[t]&&(this._dirty=!0,o===Pc?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),a&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(It(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(It(t),o+""):o||this.removeAttribute(It(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),bh(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=We(this._def,gt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const a=(r,s)=>{this.dispatchEvent(new CustomEvent(r,Ta(s[0])?gt({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),It(r)!==r&&a(It(r),s)},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 a=this._nonce,r=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],r.insertBefore(c,i||s),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 Fe(t)?o=>Pa(t,o):t};function uh(e){e.target.composing=!0}function Ec(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const cn=Symbol("_assign"),ar=Symbol("_initialValue");function xs(e,t,o){return t&&(e=e.trim()),o&&(e=Ea(e)),e}const dh={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[ar]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[ar]=e.defaultValue.replace(/\r\n?/g,` -`))),e[cn]=nr(a);const r=n||a.props&&a.props.type==="number";ln(e,t?"change":"input",s=>{s.target.composing||e[cn](xs(e.value,o,r))}),(o||r)&&ln(e,"change",()=>{e.value=xs(e.value,o,r)}),t||(ln(e,"compositionstart",uh),ln(e,"compositionend",Ec),ln(e,"change",Ec))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",r=e[ar];delete e[ar],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[cn](xs(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:r}},s){if(e[cn]=nr(s),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?Ea(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||a&&e.value.trim()===l)||(e.value=l)}},ph={deep:!0,created(e,{value:t,modifiers:{number:o}},n){e._modelValue=t,ln(e,"change",()=>{const a=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>o?Ea(rr(l)):rr(l)),r=e.multiple,s=r?Jo(e._modelValue)?new Set(a):a:a[0],i=e._pendingValue=[r,r?Fe(s)?a.slice():a:s];try{e[cn](s)}finally{wn(()=>{e._pendingValue===i&&(e._pendingValue=void 0)})}}),e[cn]=nr(n)},mounted(e,{value:t}){Mc(e,t)},beforeUpdate(e,{value:t},o){e._modelValue=t,e[cn]=nr(o)},updated(e,{value:t}){const o=e._pendingValue;e._pendingValue=void 0,(!o||o[0]!==e.multiple||!gh(t,o[1],o[0]))&&Mc(e,t)}};function gh(e,t,o){if(!o||Fe(e))return Oo(e,t);if(Jo(e)){if(e.size!==t.length)return!1;for(const n of t)if(!e.has(n))return!1;return!0}return!1}function Mc(e,t){const o=e.multiple,n=Fe(t);if(!(o&&!n&&!Jo(t))){for(let a=0,r=e.options.length;aString(c)===String(i)):s.selected=tg(t,i)>-1}else s.selected=t.has(i);else if(Oo(rr(s),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!o&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function rr(e){return"_value"in e?e._value:e.value}const fh=["ctrl","shift","alt","meta"],hh={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)=>fh.some(o=>e[`${o}Key`]&&!t.includes(o))},go=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(a,...r)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=a=>{if(!("key"in a))return;const r=It(a.key);if(t.some(s=>s===r||mh[s]===r))return e(a)})},_h=gt({patchProp:ah},Uf);let Rc;function Fc(){return Rc||(Rc=yf(_h))}const bh=(...e)=>{Fc().render(...e)},Nc=(...e)=>{const t=Fc().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=yh(n);if(!a)return;const r=t._component;!Ue(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=o(a,!1,$h(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},t};function $h(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function yh(e){return lt(e)?document.querySelector(e):e}/*! +**/let $s;const wc=typeof window<"u"&&window.trustedTypes;if(wc)try{$s=wc.createPolicy("vue",{createHTML:e=>e})}catch{}const xc=$s?e=>$s.createHTML(e):e=>e,Uf="http://www.w3.org/2000/svg",jf="http://www.w3.org/1998/Math/MathML",ko=typeof document<"u"?document:null,kc=ko&&ko.createElement("template"),Gf={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 a=t==="svg"?ko.createElementNS(Uf,e):t==="mathml"?ko.createElementNS(jf,e):o?ko.createElement(e,{is:o}):ko.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>ko.createTextNode(e),createComment:e=>ko.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ko.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,a,r){const s=o?o.previousSibling:t.lastChild;if(a&&(a===r||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),o),!(a===r||!(a=a.nextSibling)););else{kc.innerHTML=xc(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=kc.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[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Wf=Symbol("_vtc");function qf(e,t,o){const n=e[Wf];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const tr=Symbol("_vod"),Sc=Symbol("_vsh"),Kt={name:"show",beforeMount(e,{value:t},{transition:o}){e[tr]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):ia(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),ia(e,!0),n.enter(e)):n.leave(e,()=>{ia(e,!1)}):ia(e,t))},beforeUnmount(e,{value:t}){ia(e,t)}};function ia(e,t){e.style.display=t?e[tr]:"none",e[Sc]=!t}const Vf=Symbol(""),Kf=/(?:^|;)\s*display\s*:/;function Yf(e,t,o){const n=e.style,a=lt(o);let r=!1;if(o&&!a){if(t)if(lt(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&la(n,i,"")}else for(const s in t)o[s]==null&&la(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?Xf(e,s,!lt(t)&&t?t[s]:void 0,i)||la(n,s,i):la(n,s,"")}}else if(a){if(t!==o){const s=n[Vf];s&&(o+=";"+s),n.cssText=o,r=Kf.test(o)}}else t&&e.removeAttribute("style");tr in e&&(e[tr]=r?n.display:"",e[Sc]&&(n.display="none"))}const or=/\s*!important$/;function la(e,t,o){if(Fe(o))o.forEach(n=>la(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))or.test(o)?e.setProperty(t,o.replace(or,""),"important"):e.setProperty(t,o);else{const n=Zf(e,t);or.test(o)?e.setProperty(It(n),o.replace(or,""),"important"):e[n]=o}}const Ac=["Webkit","Moz","ms"],ys={};function Zf(e,t){const o=ys[t];if(o)return o;let n=Rt(t);if(n!=="filter"&&n in e)return ys[t]=n;n=Yi(n);for(let a=0;avs||(nh.then(()=>vs=0),vs=Date.now());function rh(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const a=o.value;if(Fe(a)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const s=a.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,sh=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?qf(e,n,s):t==="style"?Yf(e,o,n):Aa(t)?La(t)||Qf(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ih(e,t,n,s))?(Cc(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Tc(e,t,n,s,r,t!=="value")):e._isVueCE&&(lh(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!lt(n)))?Cc(e,Rt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Tc(e,t,n,s))};function ih(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ec(t)&&Ue(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Ec(t)&<(o)?!1:t in e}function lh(e,t){const o=e._def.props;if(!o)return!1;const n=Rt(t);return Array.isArray(o)?o.some(a=>Rt(a)===n):Object.keys(o).some(a=>Rt(a)===n)}const Mc={};function ch(e,t,o){let n=Zn(e,t);Ta(n)&&(n=gt({},n,t));class a extends ws{constructor(s){super(n,s,o)}}return a.def=n,a}const uh=typeof HTMLElement<"u"?HTMLElement:class{};class ws extends uh{constructor(t,o={},n=Ic){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!==Ic?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(gt({},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 ws){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return 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,wn(()=>{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 this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:s}=n;let i;if(r&&!Fe(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Xi(this._props[l])),(i||(i=Object.create(null)))[Rt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;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)Je(this,n)||Object.defineProperty(this,n,{get:()=>ue(o[n])})}_resolveProps(t){const{props:o}=t,n=Fe(o)?o:Object.keys(o||{});for(const a of Object.keys(this))a[0]!=="_"&&n.includes(a)&&this._setProp(a,this[a]);for(const a of n.map(Rt))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(r){this._setProp(a,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):Mc;const a=Rt(t);o&&this._numberProps&&this._numberProps[a]&&(n=Xi(n)),this._setProp(a,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,a=!1){if(o!==this._props[t]&&(this._dirty=!0,o===Mc?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),a&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(It(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(It(t),o+""):o||this.removeAttribute(It(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),yh(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=We(this._def,gt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const a=(r,s)=>{this.dispatchEvent(new CustomEvent(r,Ta(s[0])?gt({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),It(r)!==r&&a(It(r),s)},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 a=this._nonce,r=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],r.insertBefore(c,i||s),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 Fe(t)?o=>Pa(t,o):t};function ph(e){e.target.composing=!0}function Rc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const un=Symbol("_assign"),ar=Symbol("_initialValue");function xs(e,t,o){return t&&(e=e.trim()),o&&(e=Ea(e)),e}const gh={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[ar]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[ar]=e.defaultValue.replace(/\r\n?/g,` +`))),e[un]=nr(a);const r=n||a.props&&a.props.type==="number";cn(e,t?"change":"input",s=>{s.target.composing||e[un](xs(e.value,o,r))}),(o||r)&&cn(e,"change",()=>{e.value=xs(e.value,o,r)}),t||(cn(e,"compositionstart",ph),cn(e,"compositionend",Rc),cn(e,"change",Rc))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",r=e[ar];delete e[ar],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[un](xs(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:r}},s){if(e[un]=nr(s),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?Ea(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||a&&e.value.trim()===l)||(e.value=l)}},fh={deep:!0,created(e,{value:t,modifiers:{number:o}},n){e._modelValue=t,cn(e,"change",()=>{const a=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>o?Ea(rr(l)):rr(l)),r=e.multiple,s=r?Qo(e._modelValue)?new Set(a):a:a[0],i=e._pendingValue=[r,r?Fe(s)?a.slice():a:s];try{e[un](s)}finally{wn(()=>{e._pendingValue===i&&(e._pendingValue=void 0)})}}),e[un]=nr(n)},mounted(e,{value:t}){Fc(e,t)},beforeUpdate(e,{value:t},o){e._modelValue=t,e[un]=nr(o)},updated(e,{value:t}){const o=e._pendingValue;e._pendingValue=void 0,(!o||o[0]!==e.multiple||!hh(t,o[1],o[0]))&&Fc(e,t)}};function hh(e,t,o){if(!o||Fe(e))return Oo(e,t);if(Qo(e)){if(e.size!==t.length)return!1;for(const n of t)if(!e.has(n))return!1;return!0}return!1}function Fc(e,t){const o=e.multiple,n=Fe(t);if(!(o&&!n&&!Qo(t))){for(let a=0,r=e.options.length;aString(c)===String(i)):s.selected=ng(t,i)>-1}else s.selected=t.has(i);else if(Oo(rr(s),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!o&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function rr(e){return"_value"in e?e._value:e.value}const mh=["ctrl","shift","alt","meta"],_h={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)=>mh.some(o=>e[`${o}Key`]&&!t.includes(o))},go=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(a,...r)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=a=>{if(!("key"in a))return;const r=It(a.key);if(t.some(s=>s===r||bh[s]===r))return e(a)})},$h=gt({patchProp:sh},Gf);let Nc;function Oc(){return Nc||(Nc=wf($h))}const yh=(...e)=>{Oc().render(...e)},Ic=(...e)=>{const t=Oc().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=wh(n);if(!a)return;const r=t._component;!Ue(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=o(a,!1,vh(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},t};function vh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wh(e){return lt(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const vh=Symbol();var Oc;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Oc||(Oc={}));function wh(){const e=Br(!0),t=e.run(()=>pe({}));let o=[],n=[];const a=yl({install(r){a._a=r,r.provide(vh,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const xh={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل",collapseLegend:"طيّ وسيلة الإيضاح",expandLegend:"توسيع وسيلة الإيضاح",toggleLegend:"إظهار وسيلة الإيضاح أو إخفاؤها",searchPeopleGroups:"ابحث عن الشعوب",resetAllFilters:"إعادة تعيين كل عوامل التصفية والبحث",selectAllRows:"تحديد كل الصفوف",deselectAllRows:"إلغاء تحديد كل الصفوف",rowDetail:"تفاصيل الصف",dismissHint:"إخفاء التلميح",resizeFiltersRail:"تغيير حجم شريط عوامل التصفية",resizeFiltersRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط عوامل التصفية",resizeChartsRail:"تغيير حجم شريط الرسوم البيانية",resizeChartsRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط الرسوم البيانية",resizeMapTableSplit:"تغيير نسبة التقسيم بين الخريطة والجدول",resizeMapTableSplitHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير نسبة التقسيم بين الخريطة والجدول",resizeTable:"تغيير ارتفاع الجدول",resizeTableHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم الجدول",resizeDashboardHeight:"تغيير ارتفاع لوحة المعلومات",resizeDashboardHeightHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير ارتفاع لوحة المعلومات",removeFilter:"إزالة عامل التصفية {name}",closeDetail:"إغلاق التفاصيل",filterBreadcrumb:"مسار عوامل التصفية",railViews:"طرق عرض الشريط",upgCountLegend:"مفتاح عدد UPG",donutChart:"مخطط دائري مجوّف: {title}"},kh={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين",posterMap:"خريطة الملصق",prayerList:"قائمة الصلاة",cardDeck:"مجموعة البطاقات",printOptions:"خيارات الطباعة",showOnMap:"أظهر على الخريطة",close:"إغلاق",showOnMapAria:"أظهر {label} على الخريطة",cardStockAria:"حجم بطاقة الصلاة",previewPrintPoster:"معاينة وطباعة ملصق {label}",share:"مشاركة",shareSteps:["ضع هذه الخريطة على موقعك","أعدّ قائمة بمواقع الويب في مدينتك","علّمهم أن يضعوها أيضًا","علّمهم أن يعلّموا غيرهم وضعها","لنكثر الخرائط في كل مكان ليسوع!"],clearSelection:"إلغاء التحديد",noOptions:"لا توجد نتائج",renderingLocal:"يتم إنشاء صورة بجودة الطباعة في متصفحك — لا يتم تحميل أي شيء.",postersPerRow:"الملصقات في كل صف",packetVariantAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة",working:"جارٍ العمل…",postersPerRowAuto:"تلقائي"},Sh={research_controls:"أدوات البحث",clustering:"التجميع",filters:"عوامل التصفية",pin_dim:"خفوت النقاط",export_poster:"تصدير ملصق…",reload_data:"إعادة تحميل البيانات",off:"إيقاف",native:"أصلي",mst:"الشجرة الممتدة",network:"شبكة",off_desc:"إظهار كل نقطة على حدة",native_desc:"تجميع دوائر Mapbox (الأسرع)",mst_desc:"شبكات تقارب بالشجرة الممتدة الصغرى",network_desc:"خطوط ربط بأقرب جار",search_languages:"ابحث عن اللغات…",search_religions:"ابحث عن الأديان…",reset_all:"إعادة تعيين الكل",no_languages:"لم تُحمَّل أي لغات بعد",no_religions:"لم تُحمَّل أي أديان بعد",unadopted:"غير متبنّى",min:"الأدنى",max:"الأعلى",adopted:"متبنَّاة",adoption:"التبني",engaged:"مُخْدُومَة",engagement:"المشاركة",unengaged:"يحتاج إلى انخراط",language:"اللغة",religion:"الدين",population:"السكان",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",close:"إغلاق",clear:"مسح",map_controls:"أدوات التحكم بالخريطة",clusters:"التجمّعات",mst_full_name:"الشجرة الممتدة الصغرى",mst_hint:"اضغط على صف في مفتاح الخريطة لتجميع تلك المجموعة وحدها"},Ah={bloc:"كتلة التقارب",gospel_access:"الوصول إلى الإنجيل",people:"الشعوب",people_name:"الشعب (الاسم)",praying:"يصلّون",religion_family:"عائلة الأديان",search_language:"ابحث عن لغة",search_people:"ابحث عن شعب",search_place:"ابحث عن مكان",search_religion:"ابحث عن دين",upgs_in_scope:"الشعوب ضمن النطاق",countries_touched:"الدول المشمولة",unreached:"غير موصولين",sum_population:"مجموع السكان",sum_praying:"مجموع المصلّين",charts:"الرسوم البيانية",table:"الجدول",cluster:"المجموعة",country:"الدولة",engagement:"المشاركة",language:"اللغة",language_family:"عائلة اللغة",people_group:"الشعب",population:"السكان",prayer:"الصلاة",region:"المنطقة",religion:"الدين",status:"الحالة",adopted:"متبنَّاة",filters:"عوامل التصفية",gospel_resources:"موارد الإنجيل",map:"الخريطة",search_placeholder:"ابحث عن الشعوب والأماكن واللغات والأديان…",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",map_controls:"أدوات التحكم بالخريطة",close:"إغلاق",clear:"مسح",dashboard_title:"لوحة البحث الشاملة",align_dashboard:"محاذاة اللوحة",align_dashboard_tip:"إعادة تخطيط اللوحة إلى المحاذاة الافتراضية",selected:"المحدد",world:"العالم",vertical_legend:"مفتاح عمودي",groups_in_scope:"مجموعة ضمن النطاق",filter_by:"تصفية حسب",remove_filter:"إزالة التصفية",groups:"مجموعة",expand:"توسيع",collapse:"طيّ",place:"المكان",export_csv:"تصدير CSV",detail:"التفاصيل",detail_empty:"اختر شعبًا لعرض التفاصيل",heartbeat_zone:"منطقة نبض القلب",top_countries:"أبرز الدول",select_all:"تحديد الكل",expand_table:"توسيع الجدول",collapse_table:"طيّ الجدول — توسيع الخريطة",group:"مجموعة",deselect_all:"إلغاء تحديد الكل",results_live:"عرض {count} من أصل {total} {unit}",filters_live:"عوامل التصفية: {list}",search_live:"البحث: {term}",adopted_by_churches:"تم تبنّيها من قِبل الكنائس",bp_title:"الصورة الكاملة — لوحة البحث الموحّدة",bp_subtitle:"ابحث وصفِّ شعوب العالم · الأقل وصولاً إليها أولاً",export_selection:"تصدير هذا التحديد",map_loading:"جارٍ تحميل خريطة البحث…",no_match:"لا توجد شعوب تطابق ”{q}“.",no_photo:"لا توجد صورة",only_selected:"المحدَّدة فقط",only_selected_hint:"إظهار الشعوب المحدَّدة فقط",people_committed:"الأشخاص الملتزمون",people_praying:"الأشخاص المصلّون",selected_first:"المحدَّدة أولاً",selected_first_hint:"رفع الشعوب المحدَّدة إلى الأعلى مع الإبقاء على ترتيب الأعمدة",n_shown:"{n} معروض",other:"أخرى",wagfRegion:{africa:"أفريقيا",asia:"آسيا",europe:"أوروبا","latin_america_&_caribbean":"أمريكا اللاتينية",oceania:"أوقيانوسيا",middle_east:"الشرق الأوسط","north_america_&_non-spanish_caribbean":"أمريكا الشمالية والكاريبي غير الناطق بالإسبانية"},sort_by_column_hint:"رتّب هذا الجدول حسب {column} — النقر مع Shift يضيف عمودًا ثانيًا. الفرز يرتّب الجدول فقط؛ وتحتفظ البطاقات بترتيبها.",fs_exit_hint:"الخروج من ملء الشاشة (Esc) — العودة إلى سبعة صفوف",fs_open_hint:"فتح هذا الجدول بملء الشاشة",fs_exit:"الخروج من ملء الشاشة",fs_open:"فتح الجدول بملء الشاشة",export_selected_hint:"تصدير جميع الحقول — الشعوب المحددة: {n}",export_all_hint:"تصدير جميع الحقول — الشعوب: {n}",map_init_failed:"تعذّر تشغيل الخريطة. تحقّق من رمز الوصول ومن حاوية الخريطة.",show_filters:"إظهار المرشّحات",hide_filters:"إخفاء المرشّحات — لتوسيع الخريطة",show_charts:"إظهار الرسوم",hide_charts:"إخفاء الرسوم — لتوسيع الخريطة",export_copied:"نُسخ إلى الحافظة",export_done:"صُدّر",export_ready:"جاهز",export_toast:"✓ {rows} صفًّا × {fields} حقلًا {how}",export_failed:"✕ فشل التصدير",pray_for_group:"صلِّ لأجل هذا الشعب",more_information:"مزيد من المعلومات",title:"لوحة البحث",gospel_pending:"غير جاهز بعد: ما زال رقم غير الموصول إليهم ومفتاح مصدر البيانات وشكل الواجهة قيد التقرير."},Lh={search:"ابحث عن الشعوب…",hide_filters:"إخفاء عوامل التصفية",show_filters:"إظهار عوامل التصفية",total:"الإجمالي",showing:"المعروض",load_more:"عرض المزيد",full_profile:"الملف الكامل",wagf_region:"المنطقة",wagf_block:"كتلة التقارب",rop1:"الشعب",religion:"الدين",exact_filter:"تطابق تام",clear_all:"مسح الكل",loading:"جارٍ التحميل…",no_results:"لا توجد شعوب مطابقة لهذا التصفية.",type_to_search:"اكتب للبحث...",load_failed:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية.",search_people_or_countries:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},Th={title:{adoption:"تقدم التبني",affinityBlocs:"كتل القرابة",doxaRegions:"مناطق Doxa",engagement:"تقدم الانخراط",gospelResources:"موارد الإنجيل",languageFamilies:"العائلات اللغوية",prayer:"تقدم الصلاة",upg100List:"قائمة UPG 100 الخاصة بي",batchSelect:"تحديد متعدد"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب",default:"مفتاح الخريطة"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},progress:{title:"التقدم",covered:"{covered} من {total} مجموعة شعبية مغطاة بالصلاة · {pct}%",short:"{covered} من {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"اللغات"},tabInfo:{upg100Region:"المنطقة — ترتّب قوائم UPG-100 حسب منطقة العالم (أفريقيا، الهند، الشرق الأوسط، الصمّ، …). الأعداد هي مجموع UUPG والسكان لكل قائمة تحتها.",upg100Zone:"قوائم UPG-100 — كل واحدة هي قائمة صلاة للشعوب غير الموصول إليها في منطقة ما، وهي ما ترسمه الخريطة وتلوّنه. تُطبع كل قائمة ككُتيّب خاص بها.",upg100Group:"مجموعة شعبية — المجموعات غير الموصول إليها داخل القائمة، الأكثر حاجة للصلاة أولاً. كل نقطة على الخريطة هي واحدة منها.",family:"عائلة اللغة — مجموعة لغات منحدرة من أصل مشترك (مثل الهندية الأوروبية، الأفروآسيوية).",language:"اللغة — نظام تواصل يستخدمه شعب ما (مثل العربية، البنغالية، الهندية).",dialect:"اللهجة/التنوع — صورة إقليمية أو اجتماعية للغة (مثل العربية السودانية؛ لغة الإشارة الباكستانية).",bloc:"كتلة التقارب — أوسع تجميع، بحسب القرابة الثقافية واللغوية والجغرافية (مثل الشعوب الملايوية، شعوب جنوب آسيا، الصمّ، العالم العربي).",cluster:"المجموعة — تجميع أدقّ داخل الكتلة (مثل بورنيو-كاليمانتان ضمن الشعوب الملايوية). تُوسم الصفوف بـ «(مجموعة)» لتمييزها عن الشعوب.",group:"الشعب — هوية إثنية لغوية قائمة بذاتها، مستقلة عن الدولة. تُوسم الصفوف بـ «(شعب)». وقد يعيش الشعب الواحد في دول كثيرة (الصمّ مثلًا في أكثر من مئة دولة).",pgic:"الشعب في الدولة — صف لكل شعب في كل دولة يعيش فيها (مثل «أباي سونغاي، ماليزيا»). تُوسم الصفوف بـ «(شعب في دولة)».",region:"منطقة WAGF — المنطقة الكبرى التي تنتمي إليها الدولة (مثل آسيا، أفريقيا). لكل منها لون خاص على الخريطة.",block:"كتلة WAGF — التجميع الفرعي داخل المنطقة (مثل جنوب شرق آسيا، غرب أفريقيا).",country:"الدولة — الدول منفردة، مرتّبة حسب عدد السكان غير الموصول إليهم داخل كتلتها."},a11y:{expandRow:"توسيع {label}",collapseRow:"طي {label}",clearSelection:"إلغاء التحديد",goUp:"الانتقال إلى المستوى الأعلى: {label}"},export:{poster:"ملصق",packet:"UPG 100",packetExplain:"قائمة صلاة من نحو ٥٠ إلى ١٠٠ شعب غير مبلَّغ — يستطيع شخص واحد أن يحمل واحدة.",packetAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة"},noDataAtThisLevel:"لا توجد بيانات في هذا المستوى",exportButton:"تصدير",exportSelection:"تصدير التحديد",loadingRows:"جارٍ تحميل {label}…",loadingData:"جارٍ تحميل البيانات…",showingTop:"عرض أعلى {n} من {m}",useGeocoderHint:"استخدم أداة البحث أعلاه للعثور على البقية",noList:"لم يتم تحميل أي قائمة."},Ch={doxa:{label:"المشروع 2000: الشعوب التي تخدمها DOXA",definition:"الشعوب التي تخدمها DOXA كما تقدّمها قائمتها الحيّة"},unreached:{label:"المشروع 7000: الشعوب غير المُبشَّرة",definition:"أولوية الضياع لدى IMB من 0 إلى 2 (حدودية أو رائدة أو متوسّعة غير مُبشَّرة: أقل من 2% إنجيليون)"},frontier:{label:"المشروع 4700: الشعوب الحدودية",definition:"أولوية الضياع لدى IMB بقيمة 0 (حدودية غير مُبشَّرة: 0.1% إنجيليون أو أقل)"},"frontier-500k":{label:"المشروع 700: الشعوب الحدودية التي يبلغ عددها 500,000 أو أكثر",definition:"أولوية الضياع لدى IMB بقيمة 0 وعدد سكان لا يقل عن 500,000"},unengaged:{label:"الشعوب غير المُبشَّرة التي لم يُعمَل بينها",definition:"أولوية الضياع لدى IMB من 0 إلى 2 وحالة العمل: لم يُعمَل بينها"}},Ph={map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},Eh={menuComingSoon:"القائمة قادمة قريباً",pinHint:{tapDot:"اضغط على نقطة ملوّنة — لا يزال هناك من يحتاج إلى الصلاة"},upg100WallHeading:"قائمتي UPG 100 — قوائم صلاة وملصقات",upg100WallTag:"تعبئة للصلاة",upg100WallIntroA:"كيف تُطعم جمعًا من خمسة آلاف؟ أجلسهم يسوع جماعاتٍ من خمسين ومن مئة، فصار المستحيل قابلًا للمشاركة (لوقا ٩:١٤). فعلنا المثل مع ٢١٠٦ شعوب غير مبلَّغة: ٢٧ قائمة من نحو خمسين إلى مئة. تُطبع كل قائمة حزمةَ صلاة وملصقًا، ليحمل ٢٧ تلميذًا أو كنيسة أو قائدًا محليًا كلٌّ واحدة — مصلّين لأجلهم ",upg100WallIntroEmph:"باسم شعبهم",upg100WallIntroB:".",loadingNamed:"جارٍ تحميل {name}…",couldNotLoadNamed:"تعذّر تحميل {name}.",engineMissing:"لم يتم تحميل محرك الخرائط {engine}.",packetFailed:"فشل إنشاء الكُتيّب: {reason}",selectionPacketFailed:"فشل إنشاء كُتيّب التحديد: {reason}",posterOneTerritory:"الملصق يطبع منطقة واحدة في كل مرة — {count} محددة.",selectionPosterFailed:"فشل إنشاء ملصق التحديد: {reason}",mapUnavailable:"الخريطة غير متاحة",copied:"تم النسخ!",copyFailed:"فشل النسخ — اضغط Ctrl/Cmd-C",engineNotLoaded:"لم يتم تحميل محرك الخريطة",engineNotLoadedDetail:"لم يتم تحميل محرك الخريطة {engine}. القائمة ووسيلة الإيضاح غير متأثرتين.",viewLoadFailed:"تعذّر تحميل هذا العرض.",retry:"إعادة المحاولة",noMapboxToken:"لا يوجد رمز Mapbox",noMapboxTokenDetail:"لم يُضبط أي رمز Mapbox. القائمة ووسيلة الإيضاح غير متأثرتين.",loadingBoundaries:"جارٍ تحميل الحدود…",fetchingUupgs:"جارٍ جلب {n} من UUPG…",mapStatusCounts:"المساحات: {polys} · المناطق: {zones}/{total} · الدبابيس: {pins}",tapTerritoriesHint:"انقر على الأقاليم في الخريطة أو صفوف وسيلة الإيضاح لإضافتها · انقر مجددًا لإزالتها",territoriesSelected:"الأقاليم: {count}",bandInRange:"✓ النطاق 50–100",bandOutOfRange:"النطاق 50–100",mapContextLost:"تم إلغاء تحميل هذه الخريطة لتحرير ذاكرة الرسوميات.",nOfTotal:"{n} من {total}",mapInitFailed:"تعذّر تهيئة الخريطة — تحقّق من الرمز والحاوية",countryWallIntroA:"ملصق لكل دولة، جاهز للصلاة والطباعة والتعليق على الحائط — نصلّي لأجلهم ",countryWallIntroB:". رُتّبت المناطق والدول بحسب عدد الشعوب غير المبلَّغة فيها، لتتقدّم الحاجة الأكبر.",countryWallSoon:"قريبًا: ستُنشأ قائمة صلاة لكل دولة، تسمّي كل شعب غير مبلَّغ فيها.",countryWallHeading:"ملصقات الدول — قوائم صلاة وملصقات",largerScreenNotice:"هذه الخريطة التجريبية مُعدّة للشاشات الكبيرة. تُفتح هنا، لكن بعض أجزائها قد لا يتّسع أو لا يعمل جيدًا على الهاتف.",desktopOnlyNotice:"{label} يعمل على الحاسوب فقط — افتح هذه الصفحة على حاسوب لاستخدامه.",noticeDismiss:"إغلاق",countryPosterTooMany:"عدد الشعوب أكبر من أن يتّسع له ملصق واحد بوضوح — ونعمل على حلّ لذلك."},Mh={family:{Christianity:"المسيحية",Islam:"الإسلام",Hinduism:"الهندوسية",Buddhism:"البوذية",Ethnoreligion:"الديانات العرقية",Judaism:"اليهودية",Sikhism:"السيخية",Unaffiliated:"غير منتمين",Other:"أخرى",Unknown:"غير معروف"}},Rh={placeholder:"شعب، مكان، لغة، ديانة",placeholderNoPlaces:"شعب، لغة، ديانة (البحث عن الأماكن يتطلب رمز Mapbox)",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"},sections:{within:"ضمن {selection}",allData:"كل بيانات DOXA"},upg100Placeholder:"ابحث عن شعب أو قائمة UPG-100 أو منطقة…",tabPlaceholder:{languageFamilies:"ابحث في عائلة اللغة أو اللغة أو اللهجة/التنوع",affinityBlocks:"ابحث في كتلة التقارب أو المجموعة أو الشعب",regions:"ابحث في المنطقة أو الدولة أو الشعب",religion:"ابحث في الديانة أو الشعب"},placeholderRegions:"ابحث عن منطقة أو دولة أو شعب"},Fh={embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},Nh={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen",collapseLegend:"Legende einklappen",expandLegend:"Legende ausklappen",toggleLegend:"Legende ein- oder ausblenden",searchPeopleGroups:"Volksgruppen suchen",resetAllFilters:"Alle Filter und die Suche zurücksetzen",selectAllRows:"Alle Zeilen auswählen",deselectAllRows:"Auswahl aller Zeilen aufheben",rowDetail:"Zeilendetails",dismissHint:"Hinweis schließen",resizeFiltersRail:"Filterleiste in der Größe ändern",resizeFiltersRailHint:"Ziehen oder Pfeiltasten verwenden, um die Filterleiste in der Größe zu ändern",resizeChartsRail:"Diagrammleiste in der Größe ändern",resizeChartsRailHint:"Ziehen oder Pfeiltasten verwenden, um die Diagrammleiste in der Größe zu ändern",resizeMapTableSplit:"Aufteilung zwischen Karte und Tabelle ändern",resizeMapTableSplitHint:"Ziehen oder Pfeiltasten verwenden, um die Aufteilung zwischen Karte und Tabelle zu ändern",resizeTable:"Tabellenhöhe ändern",resizeTableHint:"Ziehen oder Pfeiltasten verwenden, um die Tabelle in der Größe zu ändern",resizeDashboardHeight:"Höhe des Dashboards ändern",resizeDashboardHeightHint:"Ziehen oder Pfeiltasten verwenden, um die Höhe des Dashboards zu ändern",removeFilter:"Filter {name} entfernen",closeDetail:"Details schließen",filterBreadcrumb:"Filterpfad",railViews:"Ansichten der Leiste",upgCountLegend:"Legende der UPG-Anzahl",donutChart:"Ringdiagramm: {title}"},Oh={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",posterMap:"Posterkarte",prayerList:"Gebetsliste",cardDeck:"Kartenset",printOptions:"Druckoptionen",showOnMap:"Auf der Karte zeigen",close:"Schließen",showOnMapAria:"{label} auf der Karte zeigen",cardStockAria:"Größe der Gebetskarte",previewPrintPoster:"Vorschau und Druck des Posters {label}",share:"Teilen",shareSteps:["Binde diese Karte auf deiner Website ein","Erstelle eine Liste der Websites in deiner Stadt","Zeige ihnen, wie sie sie ebenfalls einbinden","Zeige ihnen, wie sie es anderen beibringen","Lasst uns Karten überall vermehren – für Jesus!"],clearSelection:"Auswahl aufheben",noOptions:"Keine Optionen gefunden",renderingLocal:"Ein druckfähiges Bild wird in deinem Browser erzeugt — es wird nichts hochgeladen.",postersPerRow:"Poster pro Zeile",packetVariantAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt",working:"Wird bearbeitet…",postersPerRowAuto:"Automatisch"},Ih={research_controls:"Forschungssteuerung",clustering:"Clustering",filters:"Filter",pin_dim:"Pin-Transparenz",export_poster:"Poster exportieren…",reload_data:"Daten neu laden",off:"Aus",native:"Nativ",mst:"MST",network:"Netzwerk",off_desc:"Jeden Pin einzeln anzeigen",native_desc:"Mapbox-Kreiscluster (am schnellsten)",mst_desc:"Affinitätsnetze über minimalen Spannbaum",network_desc:"Verbindungslinien zum nächsten Nachbarn",search_languages:"Sprachen suchen…",search_religions:"Religionen suchen…",reset_all:"Alles zurücksetzen",no_languages:"Noch keine Sprachen geladen",no_religions:"Noch keine Religionen geladen",unadopted:"Nicht adoptiert",min:"min",max:"max",adopted:"Adoptiert",adoption:"Adoption",engaged:"Engagiert",engagement:"Engagement",unengaged:"Braucht Engagement",language:"Sprache",religion:"Religion",population:"Bevölkerung",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",close:"Schließen",clear:"Zurücksetzen",map_controls:"Kartensteuerung",clusters:"Cluster",mst_full_name:"Minimaler Spannbaum",mst_hint:"Klicken Sie auf eine Legendenzeile, um nur diese Gruppe zu clustern"},zh={bloc:"Affinitätsblock",gospel_access:"Zugang zum Evangelium",people:"Völker",people_name:"Volk (Name)",praying:"Betend",religion_family:"Religionsfamilie",search_language:"Sprache suchen",search_people:"Volk suchen",search_place:"Ort suchen",search_religion:"Religion suchen",upgs_in_scope:"UPGs im Bereich",countries_touched:"berührte Länder",unreached:"unerreicht",sum_population:"Σ Bevölkerung",sum_praying:"Σ Betende",charts:"Diagramme",table:"Tabelle",cluster:"Cluster",country:"Land",engagement:"Engagement",language:"Sprache",language_family:"Sprachfamilie",people_group:"Volk",population:"Bevölkerung",prayer:"Gebet",region:"Region",religion:"Religion",status:"Status",adopted:"Adoptiert",filters:"Filter",gospel_resources:"Evangeliumsressourcen",map:"Karte",search_placeholder:"Volksgruppen, Orte, Sprachen, Religionen suchen…",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",map_controls:"Kartensteuerung",close:"Schließen",clear:"Zurücksetzen",dashboard_title:"Big-Picture-Forschungsdashboard",align_dashboard:"Layout ausrichten",align_dashboard_tip:"Das Dashboard-Layout auf die Standardausrichtung zurücksetzen",selected:"Ausgewählt",world:"Welt",vertical_legend:"Vertikale Legende",groups_in_scope:"Volksgruppen im Bereich",filter_by:"Filtern nach",remove_filter:"Filter entfernen",groups:"Volksgruppen",expand:"Aufklappen",collapse:"Zuklappen",place:"Ort",export_csv:"CSV exportieren",detail:"Details",detail_empty:"Wählen Sie eine Volksgruppe, um Details zu sehen",heartbeat_zone:"Herzschlag-Zone",top_countries:"Top-Länder",select_all:"Alle auswählen",expand_table:"Tabelle ausklappen",collapse_table:"Tabelle einklappen – Karte vergrößern",group:"Volksgruppe",deselect_all:"Auswahl aufheben",results_live:"{count} von {total} {unit} angezeigt",filters_live:"Filter: {list}",search_live:"Suche: {term}",adopted_by_churches:"Von Gemeinden übernommen",bp_title:"Big Picture — einheitliches Forschungs-Dashboard",bp_subtitle:"Die Volksgruppen der Welt suchen und filtern · am wenigsten erreichte zuerst",export_selection:"Diese Auswahl exportieren",map_loading:"Forschungskarte wird geladen…",no_match:"Keine Volksgruppen entsprechen „{q}“.",no_photo:"Kein Foto",only_selected:"Nur ausgewählte",only_selected_hint:"Nur die ausgewählten Volksgruppen anzeigen",people_committed:"Verbindlich zugesagte Personen",people_praying:"Betende Personen",selected_first:"Ausgewählte zuerst",selected_first_hint:"Die ausgewählten Volksgruppen nach oben holen, die Spaltensortierung bleibt erhalten",n_shown:"{n} angezeigt",other:"Andere",wagfRegion:{africa:"Afrika",asia:"Asien",europe:"Europa","latin_america_&_caribbean":"Lateinamerika",oceania:"Ozeanien",middle_east:"Naher Osten","north_america_&_non-spanish_caribbean":"Nordamerika und nicht-spanische Karibik"},sort_by_column_hint:"Tabelle nach {column} sortieren – Umschalt-Klick fügt eine zweite Spalte hinzu. Die Sortierung ordnet nur die Tabelle; die Karten behalten ihre eigene Reihenfolge.",fs_exit_hint:"Vollbild beenden (Esc) — zurück zu sieben Zeilen",fs_open_hint:"Diese Tabelle im Vollbild öffnen",fs_exit:"Vollbild beenden",fs_open:"Tabelle im Vollbild öffnen",export_selected_hint:"Alle Felder exportieren — ausgewählte Volksgruppen: {n}",export_all_hint:"Alle Felder exportieren — Volksgruppen: {n}",map_init_failed:"Die Karte konnte nicht starten. Prüfen Sie das Zugriffstoken und den Kartencontainer.",show_filters:"Filter einblenden",hide_filters:"Filter ausblenden — Karte vergrößern",show_charts:"Diagramme einblenden",hide_charts:"Diagramme ausblenden — Karte vergrößern",export_copied:"in die Zwischenablage kopiert",export_done:"exportiert",export_ready:"bereit",export_toast:"✓ {rows} Zeilen × {fields} Felder {how}",export_failed:"✕ Export fehlgeschlagen",pray_for_group:"Für diese Volksgruppe beten",more_information:"Weitere Informationen",title:"Forschungs-Dashboard",gospel_pending:"Noch nicht so weit: die Zahl der Unerreichten, der Schlüssel zur Datenquelle und die Gestaltung werden noch entschieden."},Dh={search:"Volksgruppen suchen…",hide_filters:"Filter ausblenden",show_filters:"Filter anzeigen",total:"Gesamt",showing:"Angezeigt",load_more:"Mehr laden",full_profile:"Vollständiges Profil",wagf_region:"Region",wagf_block:"Affinitätsblock",rop1:"Volk",religion:"Religion",exact_filter:"Exakt",clear_all:"Alle löschen",loading:"Wird geladen…",no_results:"Keine Volksgruppen entsprechen diesem Filter.",type_to_search:"Zum Suchen tippen...",load_failed:"Die Daten konnten nicht geladen werden. Das ist ein Verbindungsproblem, nicht Ihr Filter.",search_people_or_countries:"Volksgruppen oder Länder suchen…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},Bh={title:{adoption:"Adoptionsfortschritt",affinityBlocs:"Affinitätsblöcke",doxaRegions:"Doxa-Regionen",engagement:"Engagement-Fortschritt",gospelResources:"Evangeliumsressourcen",languageFamilies:"Sprachfamilien",prayer:"Gebetsfortschritt",upg100List:"Meine UPG-100-Liste",batchSelect:"Mehrfachauswahl"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe",default:"Legende"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},progress:{title:"Fortschritt",covered:"{covered} von {total} Volksgruppen im Gebet abgedeckt · {pct}%",short:"{covered} von {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung",name:"Name"},footer:{total:"Gesamt"},sortByUpgs:"Nach UUPGs sortieren",sortByPop:"Nach Bevölkerung sortieren",colLabel:{religion:"UUPG-Religionen",prayer:"Gebetsstatus",engagement:"Engagement-Status",adoption:"Adoptionsstatus",status:"Status"},titleBar:{legend:"Legende",peopleGroups:"Völker",wagfRegions:"WAGF-Regionen",languages:"Sprachen"},tabInfo:{upg100Region:"Region — sortiert die UPG-100-Listen nach Weltgegend (Afrika, Indien, Naher Osten, Gehörlose, …). Die Zahlen sind die UUPGs und die Bevölkerung aller darunterliegenden Listen zusammen.",upg100Zone:"UPG-100-Listen — jede ist eine Gebetsliste der unerreichten Volksgruppen eines Gebiets und das, was die Karte zeichnet und einfärbt. Jede Liste wird als eigenes Heft gedruckt.",upg100Group:"Volksgruppe — die einzelnen unerreichten Gruppen innerhalb einer Liste, größter Gebetsbedarf zuerst. Jeder Kartenpunkt ist eine davon.",family:"Sprachfamilie — eine Gruppe von Sprachen gemeinsamen Ursprungs (z. B. indogermanisch, afroasiatisch).",language:"Sprache — ein Verständigungssystem, das eine Volksgruppe verwendet (z. B. Arabisch, Bengalisch, Hindi).",dialect:"Dialekt/Varietät — eine regionale oder soziale Form einer Sprache (z. B. sudanesisches Arabisch; pakistanische Gebärdensprache).",bloc:"Affinitätsblock — die weiteste Gruppierung, nach kultureller, sprachlicher und geografischer Verwandtschaft (z. B. malaiische Völker, südasiatische Völker, Gehörlose, arabische Welt).",cluster:"Cluster — eine feinere Gruppierung innerhalb eines Blocks (z. B. Borneo-Kalimantan bei den malaiischen Völkern). Zeilen sind mit „(Cluster)“ gekennzeichnet, um sie von Volksgruppen zu unterscheiden.",group:"Volksgruppe — eine ethnolinguistische Identität für sich, unabhängig vom Land. Zeilen sind mit „(VG)“ gekennzeichnet. Eine Gruppe kann in vielen Ländern leben (Gehörlose etwa in über hundert).",pgic:"Volksgruppe im Land — eine Zeile je Volksgruppe und Land, in dem sie lebt (z. B. „Abai Sungai, Malaysia“). Zeilen sind mit „(VGL)“ gekennzeichnet.",region:"WAGF-Region — die Großregion, zu der ein Land gehört (z. B. Asien, Afrika). Jede hat auf der Karte ihre eigene Farbe.",block:"WAGF-Block — die Untergruppe innerhalb einer Region (z. B. Südostasien, Westafrika).",country:"Land — einzelne Länder, geordnet nach unerreichter Bevölkerung innerhalb ihres Blocks."},a11y:{expandRow:"{label} ausklappen",collapseRow:"{label} einklappen",clearSelection:"Auswahl aufheben",goUp:"Eine Ebene höher zu {label}"},export:{poster:"Plakat",packet:"UPG 100",packetExplain:"Eine Gebetsliste von etwa 50 bis 100 unerreichten Volksgruppen — eine Person kann eine tragen.",packetAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt"},noDataAtThisLevel:"Keine Daten auf dieser Ebene",exportButton:"Exportieren",exportSelection:"Auswahl exportieren",loadingRows:"{label} werden geladen…",loadingData:"Daten werden geladen…",showingTop:"Top {n} von {m} werden angezeigt",useGeocoderHint:"verwenden Sie die Suche oben, um die übrigen zu finden",noList:"Keine Liste geladen."},Hh={doxa:{label:"Projekt 2000: die Volksgruppen von DOXA",definition:"Die Volksgruppen, denen DOXA dient, wie seine Live-Liste sie angibt"},unreached:{label:"Projekt 7000: unerreichte Volksgruppen",definition:"IMB Lostness Priority 0–2 (Frontier, Pioneer oder Expanding Unreached: unter 2 % Evangelikale)"},frontier:{label:"Projekt 4700: Frontier-Volksgruppen",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0,1 % Evangelikale oder weniger)"},"frontier-500k":{label:"Projekt 700: Frontier-Volksgruppen mit 500.000 oder mehr Menschen",definition:"IMB Lostness Priority 0 und eine Bevölkerung von mindestens 500.000"},unengaged:{label:"Unerreichte Volksgruppen ohne Engagement",definition:"IMB Lostness Priority 0–2 und Engagement-Status: ohne Engagement"}},Uh={map:"Karte",marker:"Kartenmarkierung",closePopup:"Popup schließen",zoomIn:"Vergrößern",zoomOut:"Verkleinern",resetBearing:"Ziehen, um die Karte zu drehen; klicken, um nach Norden auszurichten",toggleAttribution:"Quellenangaben ein-/ausblenden",mapFeedback:"Feedback zur Karte",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",findMyLocation:"Meinen Standort finden",locationNotAvailable:"Standort nicht verfügbar",enableGlobe:"Globus einschalten",disableGlobe:"Globus ausschalten",ctrlScroll:"Strg + Scrollen zum Zoomen der Karte",cmdScroll:"⌘ + Scrollen zum Zoomen der Karte",twoFingers:"Mit zwei Fingern die Karte bewegen",mapboxHomepage:"Mapbox-Startseite",maplibreLogo:"MapLibre-Logo"},jh={menuComingSoon:"Menü folgt in Kürze",pinHint:{tapDot:"Tippe auf einen farbigen Punkt — jemand braucht noch Gebet"},upg100WallHeading:"Meine UPG-100-Liste — Gebetslisten und Poster",upg100WallTag:"Gebetsmobilisierung",upg100WallIntroA:"Wie würden Sie eine Menge von fünftausend speisen? Jesus ließ sie in Gruppen zu fünfzig und hundert lagern, und das Unmögliche wurde teilbar (Lukas 9,14). Dasselbe haben wir mit den 2.106 unerreichten Volksgruppen getan: 27 Listen von etwa fünfzig bis hundert. Jede Liste druckt als Gebetspaket und als Poster, damit 27 Jünger, Gemeinden oder einheimische Leiter je eine tragen können — und für sie beten ",upg100WallIntroEmph:"mit dem Namen ihrer Volksgruppe",upg100WallIntroB:".",loadingNamed:"{name} wird geladen…",couldNotLoadNamed:"{name} konnte nicht geladen werden.",engineMissing:"Die Karten-Engine {engine} wurde nicht geladen.",packetFailed:"Heft fehlgeschlagen: {reason}",selectionPacketFailed:"Heft der Auswahl fehlgeschlagen: {reason}",posterOneTerritory:"Das Plakat druckt ein Gebiet auf einmal — {count} ausgewählt.",selectionPosterFailed:"Plakat der Auswahl fehlgeschlagen: {reason}",mapUnavailable:"Karte nicht verfügbar",copied:"Kopiert!",copyFailed:"Kopieren fehlgeschlagen — Strg/Cmd-C drücken",engineNotLoaded:"Karten-Engine nicht geladen",engineNotLoadedDetail:"Die Karten-Engine {engine} wurde nicht geladen. Liste und Legende sind nicht betroffen.",viewLoadFailed:"Diese Ansicht konnte nicht geladen werden.",retry:"Erneut versuchen",noMapboxToken:"Kein Mapbox-Token",noMapboxTokenDetail:"Kein Mapbox-Token konfiguriert. Liste und Legende sind nicht betroffen.",loadingBoundaries:"Grenzen werden geladen…",fetchingUupgs:"{n} UUPGs werden abgerufen…",mapStatusCounts:"Flächen: {polys} · Zonen: {zones}/{total} · Pins: {pins}",tapTerritoriesHint:"Tippen Sie auf Gebiete auf der Karte oder auf Legendenzeilen, um sie hinzuzufügen · erneut tippen zum Entfernen",territoriesSelected:"Gebiete: {count}",bandInRange:"✓ Bereich 50–100",bandOutOfRange:"Bereich 50–100",mapContextLost:"Diese Karte wurde entladen, um Grafikspeicher freizugeben.",nOfTotal:"{n} von {total}",mapInitFailed:"Karte konnte nicht initialisiert werden — Token und Container prüfen",countryWallIntroA:"Ein Poster pro Land, bereit zum Beten, Drucken und Aufhängen — und für sie beten ",countryWallIntroB:". Regionen und Länder sind danach geordnet, wie viele unerreichte Volksgruppen sie umfassen, damit der größte Bedarf vorne steht.",countryWallSoon:"Demnächst: Für jedes Land wird eine Gebetsliste erstellt, die jede unerreichte Volksgruppe darin mit Namen nennt.",countryWallHeading:"Länderposter — Gebetslisten und Poster",largerScreenNotice:"Diese experimentelle Karte ist für große Bildschirme gebaut. Sie öffnet sich hier, aber Teile passen oder funktionieren auf einem Telefon womöglich nicht gut.",desktopOnlyNotice:"{label} funktioniert nur am Desktop – öffnen Sie diese Seite an einem Computer.",noticeDismiss:"Schließen",countryPosterTooMany:"Zu viele Volksgruppen, um lesbar auf ein Plakat zu passen – an einer Lösung wird gearbeitet."},Gh={family:{Christianity:"Christentum",Islam:"Islam",Hinduism:"Hinduismus",Buddhism:"Buddhismus",Ethnoreligion:"Ethnische Religionen",Judaism:"Judentum",Sikhism:"Sikhismus",Unaffiliated:"Konfessionslos",Other:"Andere",Unknown:"Unbekannt"}},Wh={placeholder:"Volk, Ort, Sprache, Religion",placeholderNoPlaces:"Volk, Sprache, Religion (Ortssuche braucht ein Mapbox-Token)",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"},kinds:{people:"Volk + Land",peopleGroup:"Volk",bloc:"Affinitätsblock",cluster:"Völkercluster",country:"Land",region:"Region",family:"Sprachfamilie",languageKind:"Sprache",dialect:"Dialekt",religionKind:"Religion"},upg100Placeholder:"Volksgruppe, UPG-100-Liste oder Region suchen…",tabPlaceholder:{languageFamilies:"Sprachfamilie, Sprache, Dialekt/Varietät suchen",affinityBlocks:"Affinitätsblock, Cluster, Volksgruppe suchen",regions:"Region, Land, Volksgruppe suchen",religion:"Religion, Volksgruppe suchen"},placeholderRegions:"Region, Land oder Volksgruppe suchen"},qh={embed_link:"Einbettungslink",add_to_website:"Zu Ihrer Website hinzufügen",embed_paste_hint:"Fügen Sie diesen Code in Ihren Website-Baukasten ein (WordPress, Squarespace, Wix oder jede Website, die HTML-Widgets akzeptiert)."},Vh={backToLegend:"Back to Legend",closeDetailView:"Close detail view",collapseLegend:"Collapse legend",expandLegend:"Expand legend",toggleLegend:"Show or hide the legend",searchPeopleGroups:"Search people groups",resetAllFilters:"Reset all filters and search",selectAllRows:"Select all rows",deselectAllRows:"Deselect all rows",rowDetail:"Row detail",dismissHint:"Dismiss hint",resizeFiltersRail:"Resize filters rail",resizeFiltersRailHint:"Drag or use arrow keys to resize the filters rail",resizeChartsRail:"Resize charts rail",resizeChartsRailHint:"Drag or use arrow keys to resize the charts rail",resizeMapTableSplit:"Resize map/table split",resizeMapTableSplitHint:"Drag or use arrow keys to resize the map/table split",resizeTable:"Resize table height",resizeTableHint:"Drag or use arrow keys to resize the table",resizeDashboardHeight:"Resize dashboard height",resizeDashboardHeightHint:"Drag or use arrow keys to resize the dashboard's height",removeFilter:"Remove filter {name}",closeDetail:"Close detail",filterBreadcrumb:"Filter breadcrumb",railViews:"Rail views",upgCountLegend:"UPG count legend",donutChart:"{title} donut chart"},Kh={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",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share",posterMap:"Poster Map",prayerList:"Prayer List",cardDeck:"Card Deck",printOptions:"Print Options",showOnMap:"Show on map",close:"Close",showOnMapAria:"Show {label} on the map",cardStockAria:"Prayer card size",working:"Working…",packetVariantAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight",previewPrintPoster:"Preview & print the {label} poster",clearSelection:"Clear selection",noOptions:"No options found",renderingLocal:"Rendering a print-quality image in your browser — nothing is uploaded.",postersPerRow:"Posters per row",postersPerRowAuto:"Auto"},Yh={research_controls:"Research controls",clustering:"Clustering",filters:"Filters",pin_dim:"Pin dim",export_poster:"Export poster…",reload_data:"Reload data",off:"Off",native:"Native",mst:"MST",network:"Network",off_desc:"Show every pin individually",native_desc:"Mapbox circle clusters (fastest)",mst_desc:"Minimum-spanning-tree affinity webs",network_desc:"Nearest-neighbor connection lines",search_languages:"Search languages…",search_religions:"Search religions…",reset_all:"Reset all",no_languages:"No languages loaded yet",no_religions:"No religions loaded yet",unadopted:"Unadopted",min:"min",max:"max",adopted:"Adopted",adoption:"Adoption",engaged:"Engaged",engagement:"Engagement",unengaged:"Unengaged",language:"Language",religion:"Religion",population:"Population",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",close:"Close",clear:"Clear",map_controls:"Research map controls",clusters:"Clusters",mst_full_name:"Minimum Spanning Tree",mst_hint:"click a legend row to cluster only that group"},Zh={bloc:"Bloc",gospel_access:"Gospel Access",people:"People",people_name:"People (name)",praying:"Praying",religion_family:"Religion Family",search_language:"Search language",search_people:"Search people",search_place:"Search place",search_religion:"Search religion",upgs_in_scope:"UPGs in scope",countries_touched:"countries touched",unreached:"unreached",sum_population:"Σ population",sum_praying:"Σ praying",charts:"Charts",table:"Table",cluster:"Cluster",country:"Country",engagement:"Engagement",language:"Language",language_family:"Language Family",people_group:"People Group",population:"Population",prayer:"Prayer",region:"Region",religion:"Religion",status:"Status",adopted:"Adopted",filters:"Filters",gospel_resources:"Gospel Resources",map:"Map",search_placeholder:"Search people groups, place, language, religion…",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",map_controls:"Research map controls",close:"Close",clear:"Clear",dashboard_title:"Big Picture Research Dashboard",align_dashboard:"Align Dashboard",align_dashboard_tip:"Reset the dashboard layout to its default alignment",selected:"Selected",world:"World",vertical_legend:"Vertical Legend",groups_in_scope:"groups in scope",filter_by:"Filter by",remove_filter:"Remove filter",groups:"groups",expand:"Expand",collapse:"Collapse",place:"Place",export_csv:"Export CSV",detail:"Detail",detail_empty:"Select a people group to see detail",heartbeat_zone:"heartbeat zone",top_countries:"Top countries",select_all:"Select all",expand_table:"Expand table",collapse_table:"Collapse table — grow the map",group:"group",deselect_all:"Deselect all",results_live:"{count} of {total} {unit} shown",filters_live:"Filters: {list}",search_live:"Search: {term}",adopted_by_churches:"Adopted by churches",bp_title:"Big Picture — Unified Research Dashboard",bp_subtitle:"Search and filter the world's people groups · least-reached shown first",export_selection:"Export this selection",map_loading:"Research map loading…",no_match:"No people groups match “{q}”.",no_photo:"No photo",only_selected:"Only selected",only_selected_hint:"Show only the selected people groups",people_committed:"People committed",people_praying:"People praying",selected_first:"Selected first",selected_first_hint:"Float the selected people groups to the top, keeping your column sort",n_shown:"{n} shown",other:"Other",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",oceania:"Oceania",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean"},sort_by_column_hint:"Sort this table by {column} — shift-click to add a second column. Sorting orders the table only; the cards keep their own order.",fs_exit_hint:"Exit full screen (Esc) — back to seven rows",fs_open_hint:"Open this table full screen",fs_exit:"Exit full screen",fs_open:"Open table full screen",export_selected_hint:"Export all fields — selected people groups: {n}",export_all_hint:"Export all fields — people groups: {n}",map_init_failed:"The map could not start. Check the access token and the map container.",show_filters:"Show filters",hide_filters:"Hide filters — grow the map",show_charts:"Show charts",hide_charts:"Hide charts — grow the map",export_copied:"copied to clipboard",export_done:"exported",export_ready:"ready",export_toast:"✓ {rows} rows × {fields} fields {how}",export_failed:"✕ Export failed",pray_for_group:"Pray for this people group",more_information:"More information",title:"Research Dashboard",gospel_pending:"Not ready yet: the lostness figure, the data-source key and the layout are still being decided."},Xh={search:"Search people groups…",hide_filters:"Hide Filters",show_filters:"Show Filters",total:"Total",showing:"Showing",load_more:"Load More",full_profile:"Full Profile",wagf_region:"Region",wagf_block:"Affinity Block",rop1:"People Group",religion:"Religion",exact_filter:"Exact",clear_all:"Clear All",loading:"Loading…",no_results:"No people groups match this filter.",type_to_search:"Type to search...",load_failed:"People-group data could not be loaded. This is a connection problem, not your filter.",search_people_or_countries:"Search people groups or countries…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},Jh={title:{adoption:"Adoption Progress",affinityBlocs:"Affinity Blocks",doxaRegions:"Doxa Regions",engagement:"Engagement Progress",gospelResources:"Gospel Resources",languageFamilies:"Language Families",prayer:"Prayer Progress",upg100List:"My UPG 100 List",batchSelect:"Batch Select"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},progress:{title:"Progress",covered:"{covered} of {total} people groups covered in prayer · {pct}%",short:"{covered} of {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Region — sort the UPG-100 lists by world area (Africa, India, Middle East, Deaf, …). Counts are the UUPGs and population summed across every list beneath it.",upg100Zone:"UPG-100 Lists — each one is a prayer list of the unreached people groups in an area, and is what the map paints and colours. Every list prints as its own packet.",upg100Group:"People Group — the individual unreached groups inside a list, largest prayer need first. Each map dot is one of these.",family:"Lang Family — a group of languages descended from a common ancestor (e.g. Indo-European, Afro-Asiatic).",language:"Language — a system of communication used by a people (e.g. Arabic, Bengali, Hindi).",dialect:"Dialect/Variety — a regional or social form of a language (e.g. Arabic, Sudanese; Pakistan Sign Language).",bloc:"Affinity Block — the broadest grouping, by cultural, linguistic and geographic kinship (e.g. Malay Peoples, South Asian Peoples, Deaf, Arab World).",cluster:"Cluster — a finer grouping inside a block (e.g. Borneo-Kalimantan within Malay Peoples). Rows are marked “(Cluster)” to tell them from people groups.",group:"People Group — an ethnolinguistic identity on its own terms, independent of country. Rows are marked “(PG)”. One group may live in many countries (the Deaf, for example, in over a hundred).",pgic:"PG in Country — one row for each people group in each country it lives in (e.g. “Abai Sungai, Malaysia”). Rows are marked “(PGIC)”.",region:"WAGF Region — the macro-region a country belongs to (e.g. Asia, Africa). Each has its own colour on the map.",block:"WAGF Bloc — the sub-grouping inside a region (e.g. South East Asia, West Africa).",country:"Country — individual countries, ordered by unreached population within their bloc."},a11y:{expandRow:"Expand {label}",collapseRow:"Collapse {label}",clearSelection:"Clear selection",goUp:"Go up to {label}"},export:{poster:"Poster",packet:"UPG 100",packetExplain:"A prayer list of about 50 to 100 unreached people groups — one person can carry one.",packetAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight"},noDataAtThisLevel:"No data at this level",exportButton:"Export",exportSelection:"Export selection",loadingRows:"Loading {label}…",loadingData:"Loading data…",showingTop:"Showing top {n} of {m}",useGeocoderHint:"use the geocoder above to find the rest",noList:"No list loaded."},Qh={doxa:{label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them"},unreached:{label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)"},frontier:{label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)"},"frontier-500k":{label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000"},unengaged:{label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged"}},em={map:"Map",marker:"Map marker",closePopup:"Close popup",zoomIn:"Zoom in",zoomOut:"Zoom out",resetBearing:"Drag to rotate map, click to reset north",toggleAttribution:"Toggle attribution",mapFeedback:"Map feedback",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",findMyLocation:"Find my location",locationNotAvailable:"Location not available",enableGlobe:"Enable globe",disableGlobe:"Disable globe",ctrlScroll:"Use Ctrl + scroll to zoom the map",cmdScroll:"Use ⌘ + scroll to zoom the map",twoFingers:"Use two fingers to move the map",mapboxHomepage:"Mapbox homepage",maplibreLogo:"MapLibre logo"},tm={menuComingSoon:"Menu coming soon",pinHint:{tapDot:"Tap a coloured dot — someone still needs prayer"},upg100WallHeading:"My UPG 100 List — Prayer Lists & Posters",upg100WallTag:"Prayer Mobilization",upg100WallIntroA:"How would you feed a crowd of five thousand? Jesus sat them down in groups of fifty and a hundred, and the impossible became shareable (Luke 9:14). We did the same with the 2,106 unreached people groups: 27 lists of about fifty to a hundred. Each list prints as a prayer packet and a poster, so 27 disciples, churches or local leaders can each carry one — praying for them ",upg100WallIntroEmph:"by their people group name",upg100WallIntroB:".",loadingNamed:"Loading {name}…",couldNotLoadNamed:"Could not load {name}.",engineMissing:"The {engine} map engine did not load.",packetFailed:"Packet failed: {reason}",selectionPacketFailed:"Selection packet failed: {reason}",posterOneTerritory:"Poster prints one territory at a time — {count} selected.",selectionPosterFailed:"Selection poster failed: {reason}",mapUnavailable:"Map unavailable",copied:"Copied!",copyFailed:"Copy failed — press Ctrl/Cmd-C",engineNotLoaded:"map engine not loaded",engineNotLoadedDetail:"The {engine} map engine did not load. The list and legend are unaffected.",viewLoadFailed:"This view couldn't load.",retry:"Retry",noMapboxToken:"No Mapbox token",noMapboxTokenDetail:"No Mapbox token configured. The list and legend are unaffected.",loadingBoundaries:"Loading boundaries…",fetchingUupgs:"Fetching {n} UUPGs…",mapStatusCounts:"Areas: {polys} · zones: {zones}/{total} · pins: {pins}",tapTerritoriesHint:"Tap territories on the map or legend rows to add · tap again to remove",territoriesSelected:"Territories: {count}",bandInRange:"✓ 50–100 band",bandOutOfRange:"band 50–100",mapContextLost:"This map was unloaded to free graphics memory.",nOfTotal:"{n} of {total}",mapInitFailed:"Map failed to initialize — check token and container",countryWallIntroA:"One poster per country, ready to pray, print, and put on a wall — praying for them ",countryWallIntroB:". Regions and countries are ordered by how many unengaged people groups they hold, so the greatest need leads.",countryWallSoon:"Coming soon — a prayer list will be generated for each country, naming every unengaged people group within it.",countryWallHeading:"Country Posters — Prayer Lists & Posters",largerScreenNotice:"This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.",desktopOnlyNotice:"{label} only supports desktop — open this page on a desktop to use it.",noticeDismiss:"Dismiss",countryPosterTooMany:"Too many people groups to fit on one poster legibly — a solution is in progress."},om={family:{Christianity:"Christianity",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Buddhism",Ethnoreligion:"Ethnoreligion",Judaism:"Judaism",Sikhism:"Sikhism",Unaffiliated:"Unaffiliated",Other:"Other",Unknown:"Unknown"}},nm={placeholder:"People, place, language, religion",placeholderNoPlaces:"People, language, religion (place search needs a Mapbox token)",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 DOXA Data"},upg100Placeholder:"Search people group, UPG-100 list, or region…",tabPlaceholder:{languageFamilies:"Search language family, language, dialect/variety",affinityBlocks:"Search affinity bloc, cluster, people group",regions:"Search region, country, people group",religion:"Search religion, people group"},placeholderRegions:"Search region, country, people group"},am={embed_link:"Embed link",add_to_website:"Add to Your Website",embed_paste_hint:"Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets)."},rm={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle",collapseLegend:"Contraer la leyenda",expandLegend:"Expandir la leyenda",toggleLegend:"Mostrar u ocultar la leyenda",searchPeopleGroups:"Buscar pueblos",resetAllFilters:"Restablecer todos los filtros y la búsqueda",selectAllRows:"Seleccionar todas las filas",deselectAllRows:"Deseleccionar todas las filas",rowDetail:"Detalle de la fila",dismissHint:"Descartar la sugerencia",resizeFiltersRail:"Cambiar el tamaño del panel de filtros",resizeFiltersRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de filtros",resizeChartsRail:"Cambiar el tamaño del panel de gráficos",resizeChartsRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de gráficos",resizeMapTableSplit:"Cambiar la división entre el mapa y la tabla",resizeMapTableSplitHint:"Arrastra o usa las teclas de flecha para cambiar la división entre el mapa y la tabla",resizeTable:"Cambiar la altura de la tabla",resizeTableHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño de la tabla",resizeDashboardHeight:"Cambiar la altura del panel",resizeDashboardHeightHint:"Arrastra o usa las teclas de flecha para cambiar la altura del panel",removeFilter:"Quitar el filtro {name}",closeDetail:"Cerrar el detalle",filterBreadcrumb:"Ruta de filtros",railViews:"Vistas del panel",upgCountLegend:"Leyenda del recuento de UPG",donutChart:"Gráfico de anillo: {title}"},sm={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",posterMap:"Mapa del cartel",prayerList:"Lista de oración",cardDeck:"Baraja de tarjetas",printOptions:"Opciones de impresión",showOnMap:"Ver en el mapa",close:"Cerrar",showOnMapAria:"Ver {label} en el mapa",cardStockAria:"Tamaño de la tarjeta de oración",previewPrintPoster:"Previsualizar e imprimir el cartel de {label}",share:"Compartir",shareSteps:["Inserta este mapa en tu sitio","Haz una lista de los sitios web de tu ciudad","Enséñales a insertarlo también","Enséñales a enseñar a otros a insertarlo","¡Multiplica los mapas por todas partes para Jesús!"],clearSelection:"Borrar la selección",noOptions:"No se encontraron opciones",renderingLocal:"Se está generando una imagen con calidad de impresión en tu navegador: no se sube nada.",postersPerRow:"Pósteres por fila",packetVariantAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero",working:"Procesando…",postersPerRowAuto:"Automático"},im={research_controls:"Controles de investigación",clustering:"Agrupación",filters:"Filtros",pin_dim:"Atenuar puntos",export_poster:"Exportar póster…",reload_data:"Recargar datos",off:"Desactivado",native:"Nativo",mst:"MST",network:"Red",off_desc:"Mostrar cada punto por separado",native_desc:"Grupos circulares de Mapbox (lo más rápido)",mst_desc:"Redes de afinidad por árbol de expansión mínima",network_desc:"Líneas de conexión al vecino más cercano",search_languages:"Buscar idiomas…",search_religions:"Buscar religiones…",reset_all:"Restablecer todo",no_languages:"Aún no se han cargado idiomas",no_religions:"Aún no se han cargado religiones",unadopted:"No adoptado",min:"mín",max:"máx",adopted:"Adoptado",adoption:"Adopción",engaged:"Comprometido",engagement:"Compromiso",unengaged:"Necesita implicación",language:"Idioma",religion:"Religión",population:"Población",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",close:"Cerrar",clear:"Borrar",map_controls:"Controles del mapa",clusters:"Clústeres",mst_full_name:"Árbol de expansión mínima",mst_hint:"haz clic en una fila de la leyenda para agrupar solo ese grupo"},lm={bloc:"Bloque de afinidad",gospel_access:"Acceso al evangelio",people:"Pueblos",people_name:"Pueblo (nombre)",praying:"Orando",religion_family:"Familia religiosa",search_language:"Buscar idioma",search_people:"Buscar pueblo",search_place:"Buscar lugar",search_religion:"Buscar religión",upgs_in_scope:"UPG en el ámbito",countries_touched:"países alcanzados",unreached:"no alcanzados",sum_population:"Σ población",sum_praying:"Σ orando",charts:"Gráficos",table:"Tabla",cluster:"Clúster",country:"País",engagement:"Compromiso",language:"Idioma",language_family:"Familia lingüística",people_group:"Pueblo",population:"Población",prayer:"Oración",region:"Región",religion:"Religión",status:"Estado",adopted:"Adoptado",filters:"Filtros",gospel_resources:"Recursos del Evangelio",map:"Mapa",search_placeholder:"Buscar pueblos, lugares, idiomas, religiones…",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",map_controls:"Controles del mapa",close:"Cerrar",clear:"Borrar",dashboard_title:"Panel de investigación general",align_dashboard:"Alinear panel",align_dashboard_tip:"Restablecer la disposición del panel a su alineación predeterminada",selected:"Seleccionado",world:"Mundo",vertical_legend:"Leyenda vertical",groups_in_scope:"pueblos en el ámbito",filter_by:"Filtrar por",remove_filter:"Quitar filtro",groups:"pueblos",expand:"Expandir",collapse:"Contraer",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalle",detail_empty:"Selecciona un pueblo para ver el detalle",heartbeat_zone:"zona del latido",top_countries:"Países principales",select_all:"Seleccionar todo",expand_table:"Expandir tabla",collapse_table:"Contraer tabla — ampliar el mapa",group:"pueblo",deselect_all:"Deseleccionar todo",results_live:"Se muestran {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Búsqueda: {term}",adopted_by_churches:"Adoptados por iglesias",bp_title:"Panorama general — panel de investigación unificado",bp_subtitle:"Busca y filtra los grupos de personas del mundo · primero los menos alcanzados",export_selection:"Exportar esta selección",map_loading:"Cargando el mapa de investigación…",no_match:"Ningún grupo de personas coincide con «{q}».",no_photo:"Sin foto",only_selected:"Solo los seleccionados",only_selected_hint:"Mostrar solo los grupos de personas seleccionados",people_committed:"Personas comprometidas",people_praying:"Personas que oran",selected_first:"Los seleccionados primero",selected_first_hint:"Llevar arriba los grupos de personas seleccionados, manteniendo el orden de las columnas",n_shown:"{n} mostrados",other:"Otros",wagfRegion:{africa:"África",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"Latinoamérica",oceania:"Oceanía",middle_east:"Oriente Medio","north_america_&_non-spanish_caribbean":"Norteamérica y Caribe no hispano"},sort_by_column_hint:"Ordenar esta tabla por {column}; Mayús+clic añade una segunda columna. La ordenación solo afecta a la tabla; las tarjetas conservan su propio orden.",fs_exit_hint:"Salir de pantalla completa (Esc): volver a siete filas",fs_open_hint:"Abrir esta tabla a pantalla completa",fs_exit:"Salir de pantalla completa",fs_open:"Abrir la tabla a pantalla completa",export_selected_hint:"Exportar todos los campos — pueblos seleccionados: {n}",export_all_hint:"Exportar todos los campos — pueblos: {n}",map_init_failed:"El mapa no pudo iniciarse. Compruebe el token de acceso y el contenedor del mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar el mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar el mapa",export_copied:"copiado al portapapeles",export_done:"exportado",export_ready:"listo",export_toast:"✓ {rows} filas × {fields} campos {how}",export_failed:"✕ Error al exportar",pray_for_group:"Ore por este pueblo",more_information:"Más información",title:"Panel de investigación",gospel_pending:"Aún no está listo: la cifra de no alcanzados, la clave de la fuente de datos y la forma de la interfaz siguen por decidir."},cm={search:"Buscar pueblos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Cargar más",full_profile:"Perfil completo",wagf_region:"Región",wagf_block:"Bloque de afinidad",rop1:"Pueblo",religion:"Religión",exact_filter:"Exacto",clear_all:"Borrar todo",loading:"Cargando…",no_results:"Ningún pueblo coincide con este filtro.",type_to_search:"Escribe para buscar...",load_failed:"No se pudieron cargar los datos de pueblos. Es un problema de conexión, no de tu filtro.",search_people_or_countries:"Buscar pueblos o países…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},um={title:{adoption:"Progreso de adopción",affinityBlocs:"Bloques de afinidad",doxaRegions:"Regiones Doxa",engagement:"Progreso de implicación",gospelResources:"Recursos del Evangelio",languageFamilies:"Familias lingüísticas",prayer:"Progreso de oración",upg100List:"Mi lista UPG 100",batchSelect:"Selección múltiple"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas",default:"Leyenda"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},progress:{title:"Progreso",covered:"{covered} de {total} grupos de personas cubiertos en oración · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Región — ordena las listas UPG-100 por área mundial (África, India, Oriente Medio, Sordos, …). Los totales son los UUPG y la población sumados de todas las listas que contiene.",upg100Zone:"Listas UPG-100 — cada una es una lista de oración de los grupos étnicos no alcanzados de un área, y es lo que el mapa pinta y colorea. Cada lista se imprime como su propio paquete.",upg100Group:"Grupo étnico — los grupos no alcanzados dentro de una lista, primero los de mayor necesidad de oración. Cada punto del mapa es uno de ellos.",family:"Familia lingüística — un conjunto de lenguas procedentes de un antepasado común (p. ej. indoeuropea, afroasiática).",language:"Idioma — un sistema de comunicación que usa un pueblo (p. ej. árabe, bengalí, hindi).",dialect:"Dialecto/Variedad — una forma regional o social de una lengua (p. ej. árabe sudanés; lengua de señas pakistaní).",bloc:"Bloque de afinidad — la agrupación más amplia, por parentesco cultural, lingüístico y geográfico (p. ej. pueblos malayos, pueblos del sur de Asia, sordos, mundo árabe).",cluster:"Clúster — una agrupación más fina dentro de un bloque (p. ej. Borneo-Kalimantan entre los pueblos malayos). Las filas llevan «(clúster)» para distinguirlas de los pueblos.",group:"Pueblo — una identidad etnolingüística en sí misma, independiente del país. Las filas llevan «(pueblo)». Un mismo pueblo puede vivir en muchos países (los sordos, por ejemplo, en más de cien).",pgic:"Pueblo en país — una fila por cada pueblo en cada país donde vive (p. ej. «Abai Sungai, Malasia»). Las filas llevan «(pueblo en país)».",region:"Región WAGF — la macrorregión a la que pertenece un país (p. ej. Asia, África). Cada una tiene su color en el mapa.",block:"Bloque WAGF — la subdivisión dentro de una región (p. ej. Sudeste Asiático, África Occidental).",country:"País — los países uno a uno, ordenados por población no alcanzada dentro de su bloque."},a11y:{expandRow:"Expandir {label}",collapseRow:"Contraer {label}",clearSelection:"Borrar la selección",goUp:"Subir a {label}"},export:{poster:"Cartel",packet:"UPG 100",packetExplain:"Una lista de oración de unos 50 a 100 pueblos no alcanzados: una persona puede llevar una.",packetAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero"},noDataAtThisLevel:"No hay datos en este nivel",exportButton:"Exportar",exportSelection:"Exportar la selección",loadingRows:"Cargando {label}…",loadingData:"Cargando datos…",showingTop:"Mostrando los {n} principales de {m}",useGeocoderHint:"usa el buscador de arriba para encontrar el resto",noList:"Ninguna lista cargada."},dm={doxa:{label:"Proyecto 2000: los pueblos de DOXA",definition:"Los pueblos a los que sirve DOXA, tal como los da su lista en vivo"},unreached:{label:"Proyecto 7000: pueblos no alcanzados",definition:"Prioridad de perdición de IMB 0–2 (no alcanzados de frontera, pioneros o en expansión: menos del 2 % evangélicos)"},frontier:{label:"Proyecto 4700: pueblos de frontera",definition:"Prioridad de perdición de IMB 0 (no alcanzados de frontera: 0,1 % evangélicos o menos)"},"frontier-500k":{label:"Proyecto 700: pueblos de frontera de 500.000 o más",definition:"Prioridad de perdición de IMB 0 y una población de al menos 500.000"},unengaged:{label:"Pueblos no alcanzados y no atendidos",definition:"Prioridad de perdición de IMB 0–2 y estado de compromiso: no atendido"}},pm={map:"Mapa",marker:"Marcador del mapa",closePopup:"Cerrar ventana",zoomIn:"Acercar",zoomOut:"Alejar",resetBearing:"Arrastra para girar el mapa; haz clic para orientar al norte",toggleAttribution:"Mostrar u ocultar atribución",mapFeedback:"Comentarios sobre el mapa",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",findMyLocation:"Buscar mi ubicación",locationNotAvailable:"Ubicación no disponible",enableGlobe:"Activar globo",disableGlobe:"Desactivar globo",ctrlScroll:"Usa Ctrl + desplazamiento para hacer zoom en el mapa",cmdScroll:"Usa ⌘ + desplazamiento para hacer zoom en el mapa",twoFingers:"Usa dos dedos para mover el mapa",mapboxHomepage:"Página de inicio de Mapbox",maplibreLogo:"Logotipo de MapLibre"},gm={menuComingSoon:"Menú próximamente",pinHint:{tapDot:"Toca un punto de color: alguien todavía necesita oración"},upg100WallHeading:"Mi lista UPG 100 — Listas de oración y carteles",upg100WallTag:"Movilización de oración",upg100WallIntroA:"¿Cómo alimentarías a una multitud de cinco mil? Jesús los sentó en grupos de cincuenta y de cien, y lo imposible se volvió compartible (Lucas 9:14). Hicimos lo mismo con los 2.106 pueblos no alcanzados: 27 listas de unos cincuenta a cien. Cada lista se imprime como paquete de oración y cartel, para que 27 discípulos, iglesias o líderes locales lleven una cada uno — orando por ellos ",upg100WallIntroEmph:"por el nombre de su pueblo",upg100WallIntroB:".",loadingNamed:"Cargando {name}…",couldNotLoadNamed:"No se pudo cargar {name}.",engineMissing:"El motor de mapas {engine} no se cargó.",packetFailed:"Error al generar el cuadernillo: {reason}",selectionPacketFailed:"Error al generar el cuadernillo de la selección: {reason}",posterOneTerritory:"El cartel imprime un territorio a la vez: {count} seleccionados.",selectionPosterFailed:"Error al generar el cartel de la selección: {reason}",mapUnavailable:"Mapa no disponible",copied:"¡Copiado!",copyFailed:"Error al copiar: pulsa Ctrl/Cmd-C",engineNotLoaded:"motor de mapas no cargado",engineNotLoadedDetail:"El motor de mapas {engine} no se cargó. La lista y la leyenda no se ven afectadas.",viewLoadFailed:"No se pudo cargar esta vista.",retry:"Reintentar",noMapboxToken:"No hay token de Mapbox",noMapboxTokenDetail:"No hay ningún token de Mapbox configurado. La lista y la leyenda no se ven afectadas.",loadingBoundaries:"Cargando límites…",fetchingUupgs:"Obteniendo {n} UUPG…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque territorios en el mapa o filas de la leyenda para añadirlos · toque de nuevo para quitarlos",territoriesSelected:"Territorios: {count}",bandInRange:"✓ franja 50–100",bandOutOfRange:"franja 50–100",mapContextLost:"Este mapa se descargó para liberar memoria gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"No se pudo iniciar el mapa: revisa el token y el contenedor",countryWallIntroA:"Un cartel por país, listo para orar, imprimir y colgar en una pared — orando por ellos ",countryWallIntroB:". Las regiones y los países se ordenan según cuántos pueblos no comprometidos contienen, para que la mayor necesidad vaya primero.",countryWallSoon:"Próximamente: se generará una lista de oración para cada país, con el nombre de cada pueblo no alcanzado que hay en él.",countryWallHeading:"Carteles por país — Listas de oración y carteles",largerScreenNotice:"Este mapa experimental está pensado para pantallas grandes. Se abre aquí, pero algunas partes pueden no caber o no funcionar bien en un teléfono.",desktopOnlyNotice:"{label} solo funciona en escritorio: abra esta página en un ordenador para usarlo.",noticeDismiss:"Cerrar",countryPosterTooMany:"Demasiados pueblos para que quepan legiblemente en un solo cartel; estamos trabajando en una solución."},fm={family:{Christianity:"Cristianismo",Islam:"Islam",Hinduism:"Hinduismo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligión",Judaism:"Judaísmo",Sikhism:"Sijismo",Unaffiliated:"Sin afiliación",Other:"Otra",Unknown:"Desconocida"}},hm={placeholder:"Pueblo, lugar, idioma, religión",placeholderNoPlaces:"Pueblo, idioma, religión (buscar lugares requiere un token de Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos los datos DOXA"},upg100Placeholder:"Buscar pueblo, lista UPG-100 o región…",tabPlaceholder:{languageFamilies:"Buscar familia lingüística, idioma, dialecto/variedad",affinityBlocks:"Buscar bloque de afinidad, clúster, pueblo",regions:"Buscar región, país, pueblo",religion:"Buscar religión, pueblo"},placeholderRegions:"Buscar región, país o pueblo"},mm={embed_link:"Enlace para insertar",add_to_website:"Añádelo a tu sitio web",embed_paste_hint:"Pega este código en tu creador de sitios web (WordPress, Squarespace, Wix o cualquier sitio que acepte widgets HTML)."},_m={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée",collapseLegend:"Réduire la légende",expandLegend:"Développer la légende",toggleLegend:"Afficher ou masquer la légende",searchPeopleGroups:"Rechercher des peuples",resetAllFilters:"Réinitialiser tous les filtres et la recherche",selectAllRows:"Sélectionner toutes les lignes",deselectAllRows:"Désélectionner toutes les lignes",rowDetail:"Détail de la ligne",dismissHint:"Masquer l'astuce",resizeFiltersRail:"Redimensionner le volet des filtres",resizeFiltersRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des filtres",resizeChartsRail:"Redimensionner le volet des graphiques",resizeChartsRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des graphiques",resizeMapTableSplit:"Redimensionner le partage carte/tableau",resizeMapTableSplitHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le partage carte/tableau",resizeTable:"Redimensionner la hauteur du tableau",resizeTableHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le tableau",resizeDashboardHeight:"Redimensionner la hauteur du tableau de bord",resizeDashboardHeightHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner la hauteur du tableau de bord",removeFilter:"Supprimer le filtre {name}",closeDetail:"Fermer le détail",filterBreadcrumb:"Fil d’Ariane des filtres",railViews:"Vues du volet",upgCountLegend:"Légende du nombre d’UPG",donutChart:"Graphique en anneau : {title}"},bm={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",posterMap:"Carte de l'affiche",prayerList:"Liste de prière",cardDeck:"Jeu de cartes",printOptions:"Options d'impression",showOnMap:"Voir sur la carte",close:"Fermer",showOnMapAria:"Voir {label} sur la carte",cardStockAria:"Taille de la carte de prière",previewPrintPoster:"Aperçu et impression de l’affiche {label}",share:"Partager",shareSteps:["Intégrez cette carte à votre site","Dressez la liste des sites web de votre ville","Apprenez-leur à l’intégrer aussi","Apprenez-leur à former d’autres personnes à l’intégrer","Multiplions les cartes partout pour Jésus !"],clearSelection:"Effacer la sélection",noOptions:"Aucune option trouvée",renderingLocal:"Une image de qualité impression est générée dans votre navigateur — rien n’est envoyé.",postersPerRow:"Affiches par ligne",packetVariantAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé",working:"Traitement…",postersPerRowAuto:"Auto"},$m={research_controls:"Commandes de recherche",clustering:"Regroupement",filters:"Filtres",pin_dim:"Atténuation des points",export_poster:"Exporter l’affiche…",reload_data:"Recharger les données",off:"Désactivé",native:"Natif",mst:"MST",network:"Réseau",off_desc:"Afficher chaque point séparément",native_desc:"Groupes circulaires Mapbox (le plus rapide)",mst_desc:"Réseaux d’affinité par arbre couvrant minimal",network_desc:"Lignes vers le plus proche voisin",search_languages:"Rechercher des langues…",search_religions:"Rechercher des religions…",reset_all:"Tout réinitialiser",no_languages:"Aucune langue chargée pour l’instant",no_religions:"Aucune religion chargée pour l’instant",unadopted:"Non adopté",min:"min",max:"max",adopted:"Adopté",adoption:"Adoption",engaged:"Engagé",engagement:"Engagement",unengaged:"Besoin d'engagement",language:"Langue",religion:"Religion",population:"Population",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",close:"Fermer",clear:"Effacer",map_controls:"Commandes de la carte",clusters:"Groupes",mst_full_name:"Arbre couvrant minimal",mst_hint:"cliquez sur une ligne de la légende pour ne regrouper que ce groupe"},ym={bloc:"Bloc d’affinité",gospel_access:"Accès à l’Évangile",people:"Peuples",people_name:"Peuple (nom)",praying:"En prière",religion_family:"Famille religieuse",search_language:"Rechercher une langue",search_people:"Rechercher un peuple",search_place:"Rechercher un lieu",search_religion:"Rechercher une religion",upgs_in_scope:"UPG dans le périmètre",countries_touched:"pays touchés",unreached:"non atteints",sum_population:"Σ population",sum_praying:"Σ en prière",charts:"Graphiques",table:"Tableau",cluster:"Grappe",country:"Pays",engagement:"Engagement",language:"Langue",language_family:"Famille linguistique",people_group:"Peuple",population:"Population",prayer:"Prière",region:"Région",religion:"Religion",status:"Statut",adopted:"Adopté",filters:"Filtres",gospel_resources:"Ressources de l'Évangile",map:"Carte",search_placeholder:"Rechercher peuples, lieux, langues, religions…",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",map_controls:"Commandes de la carte",close:"Fermer",clear:"Effacer",dashboard_title:"Tableau de bord de recherche global",align_dashboard:"Aligner le tableau",align_dashboard_tip:"Rétablir la disposition par défaut du tableau de bord",selected:"Sélectionné",world:"Monde",vertical_legend:"Légende verticale",groups_in_scope:"peuples dans le périmètre",filter_by:"Filtrer par",remove_filter:"Retirer le filtre",groups:"peuples",expand:"Développer",collapse:"Replier",place:"Lieu",export_csv:"Exporter en CSV",detail:"Détail",detail_empty:"Sélectionnez un peuple pour voir le détail",heartbeat_zone:"zone du battement de cœur",top_countries:"Principaux pays",select_all:"Tout sélectionner",expand_table:"Développer le tableau",collapse_table:"Réduire le tableau — agrandir la carte",group:"peuple",deselect_all:"Tout désélectionner",results_live:"{count} sur {total} {unit} affichés",filters_live:"Filtres : {list}",search_live:"Recherche : {term}",adopted_by_churches:"Adoptés par des Églises",bp_title:"Vue d’ensemble — tableau de bord de recherche unifié",bp_subtitle:"Rechercher et filtrer les groupes de personnes du monde · les moins atteints en premier",export_selection:"Exporter cette sélection",map_loading:"Chargement de la carte de recherche…",no_match:"Aucun groupe de personnes ne correspond à « {q} ».",no_photo:"Aucune photo",only_selected:"Uniquement la sélection",only_selected_hint:"N’afficher que les groupes de personnes sélectionnés",people_committed:"Personnes engagées",people_praying:"Personnes qui prient",selected_first:"La sélection en premier",selected_first_hint:"Faire remonter les groupes de personnes sélectionnés, en conservant le tri des colonnes",n_shown:"{n} affichés",other:"Autres",wagfRegion:{africa:"Afrique",asia:"Asie",europe:"Europe","latin_america_&_caribbean":"Amérique latine",oceania:"Océanie",middle_east:"Moyen-Orient","north_america_&_non-spanish_caribbean":"Amérique du Nord et Caraïbes non hispanophones"},sort_by_column_hint:"Trier ce tableau par {column} — Maj+clic ajoute une deuxième colonne. Le tri ne s’applique qu’au tableau ; les cartes gardent leur propre ordre.",fs_exit_hint:"Quitter le plein écran (Échap) — retour à sept lignes",fs_open_hint:"Ouvrir ce tableau en plein écran",fs_exit:"Quitter le plein écran",fs_open:"Ouvrir le tableau en plein écran",export_selected_hint:"Exporter tous les champs — peuples sélectionnés : {n}",export_all_hint:"Exporter tous les champs — peuples : {n}",map_init_failed:"La carte n’a pas pu démarrer. Vérifiez le jeton d’accès et le conteneur de la carte.",show_filters:"Afficher les filtres",hide_filters:"Masquer les filtres — agrandir la carte",show_charts:"Afficher les graphiques",hide_charts:"Masquer les graphiques — agrandir la carte",export_copied:"copié dans le presse-papiers",export_done:"exporté",export_ready:"prêt",export_toast:"✓ {rows} lignes × {fields} champs {how}",export_failed:"✕ Échec de l’export",pray_for_group:"Prier pour ce peuple",more_information:"Plus d’informations",title:"Tableau de bord de recherche",gospel_pending:"Pas encore prêt : le chiffre des non atteints, la clé de la source de données et la forme de l’interface restent à décider."},vm={search:"Rechercher des peuples…",hide_filters:"Masquer les filtres",show_filters:"Afficher les filtres",total:"Total",showing:"Affichage",load_more:"Charger plus",full_profile:"Profil complet",wagf_region:"Région",wagf_block:"Bloc d'affinité",rop1:"Peuple",religion:"Religion",exact_filter:"Exact",clear_all:"Tout effacer",loading:"Chargement…",no_results:"Aucun peuple ne correspond à ce filtre.",type_to_search:"Tapez pour rechercher...",load_failed:"Les données n’ont pas pu être chargées. C’est un problème de connexion, pas votre filtre.",search_people_or_countries:"Rechercher des peuples ou des pays…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},wm={title:{adoption:"Progression de l'adoption",affinityBlocs:"Blocs d'affinité",doxaRegions:"Régions Doxa",engagement:"Progression de l'engagement",gospelResources:"Ressources de l'Évangile",languageFamilies:"Familles de langues",prayer:"Progression de la prière",upg100List:"Ma liste UPG 100",batchSelect:"Sélection multiple"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes",default:"Légende"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},progress:{title:"Progression",covered:"{covered} sur {total} groupes de personnes couverts par la prière · {pct}%",short:"{covered} sur {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Région — trie les listes UPG-100 par zone du monde (Afrique, Inde, Moyen-Orient, Sourds, …). Les totaux sont les UUPG et la population additionnés sur toutes les listes qu’elle contient.",upg100Zone:"Listes UPG-100 — chacune est une liste de prière des groupes de peuples non atteints d’une zone, et c’est ce que la carte dessine et colore. Chaque liste s’imprime comme son propre livret.",upg100Group:"Groupe de peuples — les groupes non atteints au sein d’une liste, les plus grands besoins de prière en premier. Chaque point de la carte en est un.",family:"Famille linguistique — un ensemble de langues issues d’un ancêtre commun (p. ex. indo-européen, afro-asiatique).",language:"Langue — un système de communication employé par un peuple (p. ex. arabe, bengali, hindi).",dialect:"Dialecte/Variété — une forme régionale ou sociale d’une langue (p. ex. arabe soudanais ; langue des signes pakistanaise).",bloc:"Bloc d’affinité — le regroupement le plus large, selon la parenté culturelle, linguistique et géographique (p. ex. peuples malais, peuples d’Asie du Sud, Sourds, monde arabe).",cluster:"Grappe — un regroupement plus fin à l’intérieur d’un bloc (p. ex. Bornéo-Kalimantan parmi les peuples malais). Les lignes portent « (grappe) » pour les distinguer des peuples.",group:"Peuple — une identité ethnolinguistique en elle-même, indépendante du pays. Les lignes portent « (peuple) ». Un même peuple peut vivre dans de nombreux pays (les Sourds, par exemple, dans plus de cent).",pgic:"Peuple dans le pays — une ligne par peuple et par pays où il vit (p. ex. « Abai Sungai, Malaisie »). Les lignes portent « (peuple dans le pays) ».",region:"Région WAGF — la macro-région dont relève un pays (p. ex. Asie, Afrique). Chacune a sa couleur sur la carte.",block:"Bloc WAGF — le sous-ensemble à l’intérieur d’une région (p. ex. Asie du Sud-Est, Afrique de l’Ouest).",country:"Pays — les pays un à un, classés par population non atteinte au sein de leur bloc."},a11y:{expandRow:"Développer {label}",collapseRow:"Réduire {label}",clearSelection:"Effacer la sélection",goUp:"Remonter à {label}"},export:{poster:"Affiche",packet:"UPG 100",packetExplain:"Une liste de prière d’environ 50 à 100 peuples non atteints : une personne peut en porter une.",packetAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé"},noDataAtThisLevel:"Aucune donnée à ce niveau",exportButton:"Exporter",exportSelection:"Exporter la sélection",loadingRows:"Chargement de {label}…",loadingData:"Chargement des données…",showingTop:"Affichage des {n} premiers sur {m}",useGeocoderHint:"utilisez la recherche ci-dessus pour trouver les autres",noList:"Aucune liste chargée."},xm={doxa:{label:"Projet 2000 : les peuples de DOXA",definition:"Les peuples que DOXA sert, tels que sa liste en direct les donne"},unreached:{label:"Projet 7000 : peuples non atteints",definition:"Priorité de perdition IMB 0–2 (non atteints frontières, pionniers ou en expansion : moins de 2 % d’évangéliques)"},frontier:{label:"Projet 4700 : peuples frontières",definition:"Priorité de perdition IMB 0 (non atteints frontières : 0,1 % d’évangéliques ou moins)"},"frontier-500k":{label:"Projet 700 : peuples frontières de 500 000 personnes ou plus",definition:"Priorité de perdition IMB 0 et une population d’au moins 500 000"},unengaged:{label:"Peuples non atteints et non engagés",definition:"Priorité de perdition IMB 0–2 et statut d’engagement : non engagé"}},km={map:"Carte",marker:"Marqueur de carte",closePopup:"Fermer la fenêtre",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetBearing:"Faites glisser pour faire pivoter la carte, cliquez pour revenir au nord",toggleAttribution:"Afficher/masquer l'attribution",mapFeedback:"Commentaires sur la carte",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",findMyLocation:"Trouver ma position",locationNotAvailable:"Position non disponible",enableGlobe:"Activer le globe",disableGlobe:"Désactiver le globe",ctrlScroll:"Utilisez Ctrl + molette pour zoomer sur la carte",cmdScroll:"Utilisez ⌘ + molette pour zoomer sur la carte",twoFingers:"Utilisez deux doigts pour déplacer la carte",mapboxHomepage:"Page d'accueil de Mapbox",maplibreLogo:"Logo MapLibre"},Sm={menuComingSoon:"Menu bientôt disponible",pinHint:{tapDot:"Touchez un point coloré — quelqu’un a encore besoin de prière"},upg100WallHeading:"Ma liste UPG 100 — Listes de prière et affiches",upg100WallTag:"Mobilisation pour la prière",upg100WallIntroA:"Comment nourririez-vous une foule de cinq mille personnes ? Jésus les a fait asseoir par groupes de cinquante et de cent, et l’impossible est devenu partageable (Luc 9.14). Nous avons fait de même avec les 2 106 peuples non atteints : 27 listes d’environ cinquante à cent. Chaque liste s’imprime en dossier de prière et en affiche, pour que 27 disciples, Églises ou responsables locaux en portent chacun une — en priant pour eux ",upg100WallIntroEmph:"par le nom de leur peuple",upg100WallIntroB:".",loadingNamed:"Chargement de {name}…",couldNotLoadNamed:"Impossible de charger {name}.",engineMissing:"Le moteur de carte {engine} ne s’est pas chargé.",packetFailed:"Échec du livret : {reason}",selectionPacketFailed:"Échec du livret de la sélection : {reason}",posterOneTerritory:"L’affiche imprime un territoire à la fois — {count} sélectionnés.",selectionPosterFailed:"Échec de l’affiche de la sélection : {reason}",mapUnavailable:"Carte indisponible",copied:"Copié !",copyFailed:"Échec de la copie — appuyez sur Ctrl/Cmd-C",engineNotLoaded:"moteur cartographique non chargé",engineNotLoadedDetail:"Le moteur cartographique {engine} ne s’est pas chargé. La liste et la légende ne sont pas affectées.",viewLoadFailed:"Impossible de charger cette vue.",retry:"Réessayer",noMapboxToken:"Aucun jeton Mapbox",noMapboxTokenDetail:"Aucun jeton Mapbox n’est configuré. La liste et la légende ne sont pas affectées.",loadingBoundaries:"Chargement des limites…",fetchingUupgs:"Récupération de {n} UUPG…",mapStatusCounts:"Surfaces : {polys} · zones : {zones}/{total} · repères : {pins}",tapTerritoriesHint:"Touchez des territoires sur la carte ou des lignes de la légende pour les ajouter · touchez à nouveau pour les retirer",territoriesSelected:"Territoires : {count}",bandInRange:"✓ tranche 50–100",bandOutOfRange:"tranche 50–100",mapContextLost:"Cette carte a été déchargée pour libérer de la mémoire graphique.",nOfTotal:"{n} sur {total}",mapInitFailed:"Échec de l’initialisation de la carte — vérifiez le jeton et le conteneur",countryWallIntroA:"Une affiche par pays, prête à prier, à imprimer et à accrocher au mur — en priant pour eux ",countryWallIntroB:". Les régions et les pays sont classés selon le nombre de peuples non engagés qu’ils comptent, pour que le plus grand besoin vienne en premier.",countryWallSoon:"Bientôt : une liste de prière sera générée pour chaque pays, nommant chaque peuple non atteint qui s’y trouve.",countryWallHeading:"Affiches par pays — Listes de prière et affiches",largerScreenNotice:"Cette carte expérimentale est conçue pour les grands écrans. Elle s’ouvre ici, mais certaines parties peuvent mal s’afficher ou mal fonctionner sur un téléphone.",desktopOnlyNotice:"{label} ne fonctionne que sur ordinateur : ouvrez cette page sur un ordinateur pour l’utiliser.",noticeDismiss:"Fermer",countryPosterTooMany:"Trop de peuples pour tenir lisiblement sur une seule affiche — une solution est en préparation."},Am={family:{Christianity:"Christianisme",Islam:"Islam",Hinduism:"Hindouisme",Buddhism:"Bouddhisme",Ethnoreligion:"Ethnoreligion",Judaism:"Judaïsme",Sikhism:"Sikhisme",Unaffiliated:"Sans appartenance",Other:"Autre",Unknown:"Inconnue"}},Lm={placeholder:"Peuple, lieu, langue, religion",placeholderNoPlaces:"Peuple, langue, religion (la recherche de lieux requiert un jeton Mapbox)",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"},sections:{within:"Dans {selection}",allData:"Toutes les données DOXA"},upg100Placeholder:"Rechercher un peuple, une liste UPG-100 ou une région…",tabPlaceholder:{languageFamilies:"Rechercher une famille linguistique, une langue, un dialecte/une variété",affinityBlocks:"Rechercher un bloc d’affinité, une grappe, un peuple",regions:"Rechercher une région, un pays, un peuple",religion:"Rechercher une religion, un peuple"},placeholderRegions:"Rechercher une région, un pays, un peuple"},Tm={embed_link:"Lien d'intégration",add_to_website:"Ajouter à votre site web",embed_paste_hint:"Collez ce code dans votre créateur de site web (WordPress, Squarespace, Wix ou tout site acceptant les widgets HTML)."},Cm={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें",collapseLegend:"लेजेंड संक्षिप्त करें",expandLegend:"लेजेंड विस्तृत करें",toggleLegend:"लेजेंड दिखाएँ या छिपाएँ",searchPeopleGroups:"जनसमूह खोजें",resetAllFilters:"सभी फ़िल्टर और खोज रीसेट करें",selectAllRows:"सभी पंक्तियाँ चुनें",deselectAllRows:"सभी पंक्तियाँ अचयनित करें",rowDetail:"पंक्ति विवरण",dismissHint:"संकेत हटाएँ",resizeFiltersRail:"फ़िल्टर पट्टी का आकार बदलें",resizeFiltersRailHint:"फ़िल्टर पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeChartsRail:"चार्ट पट्टी का आकार बदलें",resizeChartsRailHint:"चार्ट पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeMapTableSplit:"मानचित्र/तालिका विभाजन का आकार बदलें",resizeMapTableSplitHint:"मानचित्र/तालिका विभाजन का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeTable:"तालिका की ऊँचाई बदलें",resizeTableHint:"तालिका का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeDashboardHeight:"डैशबोर्ड की ऊँचाई बदलें",resizeDashboardHeightHint:"डैशबोर्ड की ऊँचाई बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",removeFilter:"फ़िल्टर {name} हटाएँ",closeDetail:"विवरण बंद करें",filterBreadcrumb:"फ़िल्टर पथ",railViews:"पट्टी के दृश्य",upgCountLegend:"UPG गणना की कुंजी",donutChart:"डोनट चार्ट: {title}"},Pm={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें",posterMap:"पोस्टर मानचित्र",prayerList:"प्रार्थना सूची",cardDeck:"कार्ड सेट",printOptions:"छपाई विकल्प",showOnMap:"मानचित्र पर देखें",close:"बंद करें",showOnMapAria:"{label} को मानचित्र पर देखें",cardStockAria:"प्रार्थना कार्ड का आकार",previewPrintPoster:"{label} पोस्टर देखें और प्रिंट करें",share:"साझा करें",shareSteps:["इस मानचित्र को अपनी वेबसाइट पर लगाएँ","अपने शहर की वेबसाइटों की सूची बनाएँ","उन्हें भी इसे लगाना सिखाएँ","उन्हें सिखाएँ कि वे औरों को लगाना सिखाएँ","यीशु के लिए हर जगह मानचित्र बढ़ाएँ!"],clearSelection:"चयन हटाएँ",noOptions:"कोई विकल्प नहीं मिला",renderingLocal:"आपके ब्राउज़र में प्रिंट-गुणवत्ता वाली छवि बन रही है — कुछ भी अपलोड नहीं किया जाता।",postersPerRow:"प्रति पंक्ति पोस्टर",packetVariantAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त",working:"कार्य जारी…",postersPerRowAuto:"स्वतः"},Em={research_controls:"शोध नियंत्रण",clustering:"क्लस्टरिंग",filters:"फ़िल्टर",pin_dim:"पिन धुंधलापन",export_poster:"पोस्टर निर्यात करें…",reload_data:"डेटा फिर से लोड करें",off:"बंद",native:"नेटिव",mst:"MST",network:"नेटवर्क",off_desc:"हर पिन अलग-अलग दिखाएँ",native_desc:"Mapbox वृत्त क्लस्टर (सबसे तेज़)",mst_desc:"न्यूनतम स्पैनिंग ट्री आधारित जाल",network_desc:"निकटतम पड़ोसी को जोड़ने वाली रेखाएँ",search_languages:"भाषाएँ खोजें…",search_religions:"धर्म खोजें…",reset_all:"सब रीसेट करें",no_languages:"अभी कोई भाषा लोड नहीं हुई",no_religions:"अभी कोई धर्म लोड नहीं हुआ",unadopted:"अ-गोद लिया",min:"न्यून",max:"अधि",adopted:"गोद लिया गया",adoption:"गोद लेना",engaged:"संपर्कित",engagement:"सहभागिता",unengaged:"सहभागिता चाहिए",language:"भाषा",religion:"धर्म",population:"जनसंख्या",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",close:"बंद करें",clear:"साफ़ करें",map_controls:"मानचित्र नियंत्रण",clusters:"क्लस्टर",mst_full_name:"न्यूनतम विस्तारित वृक्ष",mst_hint:"केवल उस समूह को क्लस्टर करने के लिए लेजेंड की पंक्ति पर क्लिक करें"},Mm={bloc:"समानता समूह",gospel_access:"सुसमाचार पहुँच",people:"जनसमूह",people_name:"जनसमूह (नाम)",praying:"प्रार्थना कर रहे",religion_family:"धर्म परिवार",search_language:"भाषा खोजें",search_people:"जनसमूह खोजें",search_place:"स्थान खोजें",search_religion:"धर्म खोजें",upgs_in_scope:"दायरे में UPG",countries_touched:"छुए गए देश",unreached:"अनपहुँचे",sum_population:"Σ जनसंख्या",sum_praying:"Σ प्रार्थना",charts:"चार्ट",table:"तालिका",cluster:"क्लस्टर",country:"देश",engagement:"सहभागिता",language:"भाषा",language_family:"भाषा परिवार",people_group:"जनसमूह",population:"जनसंख्या",prayer:"प्रार्थना",region:"क्षेत्र",religion:"धर्म",status:"स्थिति",adopted:"गोद लिया गया",filters:"फ़िल्टर",gospel_resources:"सुसमाचार संसाधन",map:"नक्शा",search_placeholder:"जनसमूह, स्थान, भाषा, धर्म खोजें…",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",map_controls:"मानचित्र नियंत्रण",close:"बंद करें",clear:"साफ़ करें",dashboard_title:"बिग पिक्चर शोध डैशबोर्ड",align_dashboard:"डैशबोर्ड संरेखित करें",align_dashboard_tip:"डैशबोर्ड लेआउट को डिफ़ॉल्ट संरेखण पर लौटाएँ",selected:"चयनित",world:"विश्व",vertical_legend:"लंबवत लेजेंड",groups_in_scope:"दायरे में जनसमूह",filter_by:"इससे फ़िल्टर करें",remove_filter:"फ़िल्टर हटाएँ",groups:"जनसमूह",expand:"विस्तार करें",collapse:"संक्षिप्त करें",place:"स्थान",export_csv:"CSV निर्यात करें",detail:"विवरण",detail_empty:"विवरण देखने के लिए एक जनसमूह चुनें",heartbeat_zone:"हृदयगति क्षेत्र",top_countries:"शीर्ष देश",select_all:"सभी चुनें",expand_table:"तालिका विस्तृत करें",collapse_table:"तालिका संक्षिप्त करें — मानचित्र बड़ा करें",group:"जनसमूह",deselect_all:"सभी अचयनित करें",results_live:"{total} में से {count} {unit} दिखाए गए",filters_live:"फ़िल्टर: {list}",search_live:"खोज: {term}",adopted_by_churches:"कलीसियाओं द्वारा अपनाए गए",bp_title:"बड़ी तस्वीर — एकीकृत शोध डैशबोर्ड",bp_subtitle:"दुनिया के जनसमूहों को खोजें और छाँटें · सबसे कम पहुँच वाले पहले",export_selection:"यह चयन निर्यात करें",map_loading:"शोध मानचित्र लोड हो रहा है…",no_match:"“{q}” से मेल खाने वाला कोई जनसमूह नहीं है।",no_photo:"कोई फ़ोटो नहीं",only_selected:"केवल चयनित",only_selected_hint:"केवल चयनित जनसमूह दिखाएँ",people_committed:"प्रतिबद्ध लोग",people_praying:"प्रार्थना करने वाले लोग",selected_first:"चयनित पहले",selected_first_hint:"चयनित जनसमूहों को ऊपर लाएँ, आपका कॉलम क्रम बनाए रखते हुए",n_shown:"{n} दिखाए गए",other:"अन्य",wagfRegion:{africa:"अफ़्रीका",asia:"एशिया",europe:"यूरोप","latin_america_&_caribbean":"लैटिन अमेरिका",oceania:"ओशिआनिया",middle_east:"मध्य पूर्व","north_america_&_non-spanish_caribbean":"उत्तरी अमेरिका और गैर-स्पेनिश कैरिबियन"},sort_by_column_hint:"इस तालिका को {column} के अनुसार क्रमबद्ध करें — Shift-क्लिक से दूसरा कॉलम जुड़ता है। क्रमबद्ध करने से केवल तालिका का क्रम बदलता है; कार्ड अपना क्रम बनाए रखते हैं।",fs_exit_hint:"पूर्ण स्क्रीन से बाहर निकलें (Esc) — सात पंक्तियों पर वापस",fs_open_hint:"इस तालिका को पूर्ण स्क्रीन में खोलें",fs_exit:"पूर्ण स्क्रीन से बाहर निकलें",fs_open:"तालिका को पूर्ण स्क्रीन में खोलें",export_selected_hint:"सभी फ़ील्ड निर्यात करें — चयनित जनसमूह: {n}",export_all_hint:"सभी फ़ील्ड निर्यात करें — जनसमूह: {n}",map_init_failed:"मानचित्र आरंभ नहीं हो सका। एक्सेस टोकन और मानचित्र कंटेनर जाँचें।",show_filters:"फ़िल्टर दिखाएँ",hide_filters:"फ़िल्टर छिपाएँ — मानचित्र बड़ा करें",show_charts:"चार्ट दिखाएँ",hide_charts:"चार्ट छिपाएँ — मानचित्र बड़ा करें",export_copied:"क्लिपबोर्ड पर कॉपी हुआ",export_done:"निर्यात हुआ",export_ready:"तैयार",export_toast:"✓ {rows} पंक्तियाँ × {fields} क्षेत्र {how}",export_failed:"✕ निर्यात विफल",pray_for_group:"इस जनसमूह के लिए प्रार्थना करें",more_information:"अधिक जानकारी",title:"शोध डैशबोर्ड",gospel_pending:"अभी तैयार नहीं: अनपहुँचे लोगों का आँकड़ा, डेटा स्रोत की कुंजी और अंतरफलक का रूप अभी तय हो रहे हैं।"},Rm={search:"जनसमूह खोजें…",hide_filters:"फ़िल्टर छिपाएँ",show_filters:"फ़िल्टर दिखाएँ",total:"कुल",showing:"दिखा रहे हैं",load_more:"और देखें",full_profile:"पूरी प्रोफ़ाइल",wagf_region:"क्षेत्र",wagf_block:"समानता समूह",rop1:"जनसमूह",religion:"धर्म",exact_filter:"सटीक",clear_all:"सब हटाएँ",loading:"लोड हो रहा है…",no_results:"इस फ़िल्टर से कोई जनसमूह मेल नहीं खाता।",type_to_search:"खोजने के लिए लिखें...",load_failed:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।",search_people_or_countries:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},Fm={title:{adoption:"गोद लेने की प्रगति",affinityBlocs:"समानता समूह",doxaRegions:"Doxa क्षेत्र",engagement:"सहभागिता प्रगति",gospelResources:"सुसमाचार संसाधन",languageFamilies:"भाषा परिवार",prayer:"प्रार्थना प्रगति",upg100List:"मेरी UPG 100 सूची",batchSelect:"एक साथ चुनें"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह",default:"सूचकांक"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},progress:{title:"प्रगति",covered:"{total} में से {covered} जनजाति समूह प्रार्थना में कवर · {pct}%",short:"{total} में से {covered} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"भाषाएँ"},tabInfo:{upg100Region:"क्षेत्र — UPG-100 सूचियों को विश्व क्षेत्र के अनुसार क्रमित करता है (अफ़्रीका, भारत, मध्य पूर्व, बधिर, …)। संख्याएँ उसके नीचे की हर सूची के UUPG और जनसंख्या का योग हैं।",upg100Zone:"UPG-100 सूचियाँ — हर एक किसी क्षेत्र के अनपहुँचे जनसमूहों की प्रार्थना सूची है, और यही मानचित्र बनाता और रंगता है। हर सूची अपने अलग पैकेट के रूप में छपती है।",upg100Group:"जनसमूह — किसी सूची के भीतर के अलग-अलग अनपहुँचे समूह, सबसे बड़ी प्रार्थना आवश्यकता पहले। मानचित्र का हर बिंदु इनमें से एक है।",family:"भाषा परिवार — एक साझा पूर्वज से निकली भाषाओं का समूह (जैसे भारोपीय, अफ़्रो-एशियाई)।",language:"भाषा — किसी जनसमूह द्वारा प्रयुक्त संप्रेषण की प्रणाली (जैसे अरबी, बांग्ला, हिन्दी)।",dialect:"बोली/रूप — किसी भाषा का क्षेत्रीय या सामाजिक रूप (जैसे सूडानी अरबी; पाकिस्तानी सांकेतिक भाषा)।",bloc:"समानता समूह — सबसे व्यापक वर्गीकरण, सांस्कृतिक, भाषाई और भौगोलिक निकटता के आधार पर (जैसे मलय जन, दक्षिण एशियाई जन, बधिर, अरब जगत)।",cluster:"क्लस्टर — समूह के भीतर अधिक सूक्ष्म वर्गीकरण (जैसे मलय जन के भीतर बोर्नियो-कालीमंतान)। पंक्तियों पर «(क्लस्टर)» अंकित है, ताकि उन्हें जनसमूहों से अलग पहचाना जा सके।",group:"जनसमूह — देश से स्वतंत्र, अपने आप में एक नृजातीय-भाषाई पहचान। पंक्तियों पर «(जनसमूह)» अंकित है। एक ही जनसमूह कई देशों में रह सकता है (जैसे बधिर, सौ से अधिक देशों में)।",pgic:"देश में जनसमूह — प्रत्येक जनसमूह के लिए, वह जिस-जिस देश में रहता है, एक पंक्ति (जैसे «अबाई सुंगाई, मलेशिया»)। पंक्तियों पर «(देश में जनसमूह)» अंकित है।",region:"WAGF क्षेत्र — वह वृहत् क्षेत्र जिससे कोई देश संबंधित है (जैसे एशिया, अफ़्रीका)। मानचित्र पर हर एक का अपना रंग है।",block:"WAGF ब्लॉक — क्षेत्र के भीतर का उप-वर्ग (जैसे दक्षिण-पूर्व एशिया, पश्चिम अफ़्रीका)।",country:"देश — अलग-अलग देश, अपने ब्लॉक के भीतर अनछुई जनसंख्या के क्रम में।"},a11y:{expandRow:"{label} का विस्तार करें",collapseRow:"{label} को छोटा करें",clearSelection:"चयन हटाएँ",goUp:"ऊपर जाएँ: {label}"},export:{poster:"पोस्टर",packet:"UPG 100",packetExplain:"लगभग 50 से 100 अनपहुँचे जनसमूहों की एक प्रार्थना सूची — एक व्यक्ति एक ले सकता है।",packetAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त"},noDataAtThisLevel:"इस स्तर पर कोई डेटा नहीं",exportButton:"निर्यात",exportSelection:"चयन निर्यात करें",loadingRows:"{label} लोड हो रहे हैं…",loadingData:"डेटा लोड हो रहा है…",showingTop:"{m} में से शीर्ष {n} दिखाए जा रहे हैं",useGeocoderHint:"बाकी खोजने के लिए ऊपर दिए गए खोज बॉक्स का उपयोग करें",noList:"कोई सूची लोड नहीं हुई।"},Nm={doxa:{label:"प्रोजेक्ट 2000: DOXA के जनसमूह",definition:"वे जनसमूह जिनकी DOXA सेवा करता है, जैसे उसकी लाइव सूची उन्हें देती है"},unreached:{label:"प्रोजेक्ट 7000: अपहुँचे जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 (फ़्रंटियर, पायनियर या एक्सपैंडिंग अपहुँचे: 2% से कम इवेंजेलिकल)"},frontier:{label:"प्रोजेक्ट 4700: फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 (फ़्रंटियर अपहुँचे: 0.1% या उससे कम इवेंजेलिकल)"},"frontier-500k":{label:"प्रोजेक्ट 700: 5,00,000 या उससे अधिक के फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 और कम से कम 5,00,000 की जनसंख्या"},unengaged:{label:"अपहुँचे और असंलग्न जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 और संलग्नता स्थिति: असंलग्न"}},Om={map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},Im={menuComingSoon:"मेनू शीघ्र आ रहा है",pinHint:{tapDot:"किसी रंगीन बिंदु पर टैप करें — किसी को अभी भी प्रार्थना की आवश्यकता है"},upg100WallHeading:"मेरी UPG 100 सूची — प्रार्थना सूचियाँ और पोस्टर",upg100WallTag:"प्रार्थना संग्रहण",upg100WallIntroA:"पाँच हज़ार की भीड़ को आप कैसे खिलाते? यीशु ने उन्हें पचास-पचास और सौ-सौ के समूहों में बिठाया, और असंभव बाँटने योग्य हो गया (लूका 9:14). हमने 2,106 अनपहुँचे जनसमूहों के साथ वही किया: लगभग पचास से सौ तक की 27 सूचियाँ. हर सूची प्रार्थना पैकेट और पोस्टर के रूप में छपती है, ताकि 27 शिष्य, कलीसियाएँ या स्थानीय अगुवे एक-एक ले सकें — उनके लिए प्रार्थना करते हुए ",upg100WallIntroEmph:"उनके जन के नाम से",upg100WallIntroB:".",loadingNamed:"{name} लोड हो रहा है…",couldNotLoadNamed:"{name} लोड नहीं हो सका।",engineMissing:"{engine} नक्शा इंजन लोड नहीं हुआ।",packetFailed:"पुस्तिका विफल: {reason}",selectionPacketFailed:"चयन की पुस्तिका विफल: {reason}",posterOneTerritory:"पोस्टर एक समय में एक क्षेत्र छापता है — {count} चयनित।",selectionPosterFailed:"चयन का पोस्टर विफल: {reason}",mapUnavailable:"मानचित्र अनुपलब्ध",copied:"कॉपी हो गया!",copyFailed:"कॉपी विफल — Ctrl/Cmd-C दबाएँ",engineNotLoaded:"मानचित्र इंजन लोड नहीं हुआ",engineNotLoadedDetail:"{engine} मानचित्र इंजन लोड नहीं हुआ। सूची और लेजेंड अप्रभावित हैं।",viewLoadFailed:"यह दृश्य लोड नहीं हो सका।",retry:"फिर से कोशिश करें",noMapboxToken:"कोई Mapbox टोकन नहीं",noMapboxTokenDetail:"कोई Mapbox टोकन कॉन्फ़िगर नहीं है। सूची और लेजेंड पर कोई असर नहीं है।",loadingBoundaries:"सीमाएँ लोड हो रही हैं…",fetchingUupgs:"{n} UUPG लाए जा रहे हैं…",mapStatusCounts:"क्षेत्र: {polys} · ज़ोन: {zones}/{total} · पिन: {pins}",tapTerritoriesHint:"जोड़ने के लिए मानचित्र पर क्षेत्रों या लेजेंड की पंक्तियों पर टैप करें · हटाने के लिए फिर से टैप करें",territoriesSelected:"क्षेत्र: {count}",bandInRange:"✓ 50–100 दायरा",bandOutOfRange:"50–100 दायरा",mapContextLost:"ग्राफ़िक्स मेमोरी खाली करने के लिए यह मानचित्र अनलोड कर दिया गया।",nOfTotal:"{total} में से {n}",mapInitFailed:"मानचित्र आरंभ नहीं हो सका — टोकन और कंटेनर जाँचें",countryWallIntroA:"हर देश के लिए एक पोस्टर — प्रार्थना करने, छापने और दीवार पर लगाने के लिए तैयार, और उनके लिए प्रार्थना करते हुए ",countryWallIntroB:". क्षेत्र और देश इस क्रम में हैं कि उनमें कितने अनपहुँचे जनसमूह हैं, ताकि सबसे बड़ी ज़रूरत पहले आए।",countryWallSoon:"जल्द ही: हर देश के लिए एक प्रार्थना सूची बनाई जाएगी, जिसमें उसके हर अनपहुँचे जनसमूह का नाम होगा।",countryWallHeading:"देश पोस्टर — प्रार्थना सूचियाँ और पोस्टर",largerScreenNotice:"यह प्रायोगिक नक्शा बड़ी स्क्रीन के लिए बना है। यह यहाँ खुलता है, पर फ़ोन पर इसके कुछ हिस्से ठीक से न दिखें या न चलें।",desktopOnlyNotice:"{label} केवल डेस्कटॉप पर चलता है — इसे इस्तेमाल करने के लिए यह पेज कंप्यूटर पर खोलें।",noticeDismiss:"बंद करें",countryPosterTooMany:"एक पोस्टर पर साफ़-साफ़ आने के लिए जनसमूह बहुत अधिक हैं — समाधान पर काम चल रहा है।"},zm={family:{Christianity:"ईसाई धर्म",Islam:"इस्लाम",Hinduism:"हिंदू धर्म",Buddhism:"बौद्ध धर्म",Ethnoreligion:"जातीय धर्म",Judaism:"यहूदी धर्म",Sikhism:"सिख धर्म",Unaffiliated:"असंबद्ध",Other:"अन्य",Unknown:"अज्ञात"}},Dm={placeholder:"लोग, स्थान, भाषा, धर्म",placeholderNoPlaces:"लोग, भाषा, धर्म (स्थान खोज के लिए Mapbox टोकन चाहिए)",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"},sections:{within:"{selection} के भीतर",allData:"सभी DOXA डेटा"},kinds:{people:"जनसमूह + देश",peopleGroup:"जनसमूह",bloc:"समानता समूह",cluster:"जनसमूह क्लस्टर",country:"देश",region:"क्षेत्र",family:"भाषा परिवार",languageKind:"भाषा",dialect:"बोली",religionKind:"धर्म"},upg100Placeholder:"जनसमूह, UPG-100 सूची या क्षेत्र खोजें…",tabPlaceholder:{languageFamilies:"भाषा परिवार, भाषा, बोली/रूप खोजें",affinityBlocks:"समानता समूह, क्लस्टर, जनसमूह खोजें",regions:"क्षेत्र, देश, जनसमूह खोजें",religion:"धर्म, जनसमूह खोजें"},placeholderRegions:"क्षेत्र, देश या जनसमूह खोजें"},Bm={embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},Hm={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio",collapseLegend:"Comprimi la legenda",expandLegend:"Espandi la legenda",toggleLegend:"Mostra o nascondi la legenda",searchPeopleGroups:"Cerca popoli",resetAllFilters:"Reimposta tutti i filtri e la ricerca",selectAllRows:"Seleziona tutte le righe",deselectAllRows:"Deseleziona tutte le righe",rowDetail:"Dettaglio riga",dismissHint:"Ignora il suggerimento",resizeFiltersRail:"Ridimensiona la barra dei filtri",resizeFiltersRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei filtri",resizeChartsRail:"Ridimensiona la barra dei grafici",resizeChartsRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei grafici",resizeMapTableSplit:"Ridimensiona la divisione mappa/tabella",resizeMapTableSplitHint:"Trascina o usa i tasti freccia per ridimensionare la divisione mappa/tabella",resizeTable:"Ridimensiona l'altezza della tabella",resizeTableHint:"Trascina o usa i tasti freccia per ridimensionare la tabella",resizeDashboardHeight:"Ridimensiona l'altezza della dashboard",resizeDashboardHeightHint:"Trascina o usa i tasti freccia per ridimensionare l'altezza della dashboard",removeFilter:"Rimuovi il filtro {name}",closeDetail:"Chiudi il dettaglio",filterBreadcrumb:"Percorso dei filtri",railViews:"Viste della barra",upgCountLegend:"Legenda del conteggio UPG",donutChart:"Grafico ad anello: {title}"},Um={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",posterMap:"Mappa del poster",prayerList:"Lista di preghiera",cardDeck:"Mazzo di carte",printOptions:"Opzioni di stampa",showOnMap:"Mostra sulla mappa",close:"Chiudi",showOnMapAria:"Mostra {label} sulla mappa",cardStockAria:"Formato della scheda di preghiera",previewPrintPoster:"Anteprima e stampa del poster {label}",share:"Condividi",shareSteps:["Incorpora questa mappa nel tuo sito","Fai un elenco dei siti web della tua città","Insegna loro a incorporarla a loro volta","Insegna loro a formare altri a incorporarla","Moltiplichiamo le mappe ovunque per Gesù!"],clearSelection:"Cancella la selezione",noOptions:"Nessuna opzione trovata",renderingLocal:"Un’immagine con qualità di stampa viene generata nel tuo browser: nulla viene caricato.",postersPerRow:"Poster per riga",packetVariantAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero",working:"Elaborazione…",postersPerRowAuto:"Automatico"},jm={research_controls:"Controlli di ricerca",clustering:"Raggruppamento",filters:"Filtri",pin_dim:"Opacità dei punti",export_poster:"Esporta poster…",reload_data:"Ricarica i dati",off:"Disattivato",native:"Nativo",mst:"MST",network:"Rete",off_desc:"Mostra ogni punto singolarmente",native_desc:"Cluster circolari Mapbox (il più veloce)",mst_desc:"Reti di affinità ad albero ricoprente minimo",network_desc:"Linee verso il vicino più prossimo",search_languages:"Cerca lingue…",search_religions:"Cerca religioni…",reset_all:"Reimposta tutto",no_languages:"Nessuna lingua ancora caricata",no_religions:"Nessuna religione ancora caricata",unadopted:"Non adottato",min:"min",max:"max",adopted:"Adottato",adoption:"Adozione",engaged:"Coinvolto",engagement:"Impegno",unengaged:"Necessita impegno",language:"Lingua",religion:"Religione",population:"Popolazione",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",close:"Chiudi",clear:"Cancella",map_controls:"Controlli della mappa",clusters:"Cluster",mst_full_name:"Albero ricoprente minimo",mst_hint:"fai clic su una riga della legenda per raggruppare solo quel gruppo"},Gm={bloc:"Blocco di affinità",gospel_access:"Accesso al vangelo",people:"Popoli",people_name:"Popolo (nome)",praying:"In preghiera",religion_family:"Famiglia religiosa",search_language:"Cerca lingua",search_people:"Cerca popolo",search_place:"Cerca luogo",search_religion:"Cerca religione",upgs_in_scope:"UPG nell’ambito",countries_touched:"paesi toccati",unreached:"non raggiunti",sum_population:"Σ popolazione",sum_praying:"Σ in preghiera",charts:"Grafici",table:"Tabella",cluster:"Cluster",country:"Paese",engagement:"Impegno",language:"Lingua",language_family:"Famiglia linguistica",people_group:"Popolo",population:"Popolazione",prayer:"Preghiera",region:"Regione",religion:"Religione",status:"Stato",adopted:"Adottato",filters:"Filtri",gospel_resources:"Risorse del Vangelo",map:"Mappa",search_placeholder:"Cerca popoli, luoghi, lingue, religioni…",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",map_controls:"Controlli della mappa",close:"Chiudi",clear:"Cancella",dashboard_title:"Cruscotto di ricerca generale",align_dashboard:"Allinea cruscotto",align_dashboard_tip:"Ripristina la disposizione predefinita del cruscotto",selected:"Selezionato",world:"Mondo",vertical_legend:"Legenda verticale",groups_in_scope:"popoli nell’ambito",filter_by:"Filtra per",remove_filter:"Rimuovi filtro",groups:"popoli",expand:"Espandi",collapse:"Comprimi",place:"Luogo",export_csv:"Esporta CSV",detail:"Dettaglio",detail_empty:"Seleziona un popolo per vedere il dettaglio",heartbeat_zone:"zona del battito",top_countries:"Paesi principali",select_all:"Seleziona tutto",expand_table:"Espandi tabella",collapse_table:"Comprimi tabella — ingrandisci la mappa",group:"popolo",deselect_all:"Deseleziona tutto",results_live:"{count} di {total} {unit} mostrati",filters_live:"Filtri: {list}",search_live:"Ricerca: {term}",adopted_by_churches:"Adottati dalle chiese",bp_title:"Quadro generale — dashboard di ricerca unificata",bp_subtitle:"Cerca e filtra i gruppi di persone del mondo · prima i meno raggiunti",export_selection:"Esporta questa selezione",map_loading:"Caricamento della mappa di ricerca…",no_match:"Nessun gruppo di persone corrisponde a “{q}”.",no_photo:"Nessuna foto",only_selected:"Solo i selezionati",only_selected_hint:"Mostra solo i gruppi di persone selezionati",people_committed:"Persone impegnate",people_praying:"Persone che pregano",selected_first:"Prima i selezionati",selected_first_hint:"Porta in alto i gruppi di persone selezionati, mantenendo l’ordinamento delle colonne",n_shown:"{n} mostrati",other:"Altri",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latina",oceania:"Oceania",middle_east:"Medio Oriente","north_america_&_non-spanish_caribbean":"Nord America e Caraibi non ispanici"},sort_by_column_hint:"Ordina questa tabella per {column}: Maiusc+clic aggiunge una seconda colonna. L’ordinamento riguarda solo la tabella; le schede mantengono il proprio ordine.",fs_exit_hint:"Esci da schermo intero (Esc) — torna a sette righe",fs_open_hint:"Apri questa tabella a schermo intero",fs_exit:"Esci da schermo intero",fs_open:"Apri la tabella a schermo intero",export_selected_hint:"Esporta tutti i campi — popoli selezionati: {n}",export_all_hint:"Esporta tutti i campi — popoli: {n}",map_init_failed:"La mappa non è riuscita ad avviarsi. Controlla il token di accesso e il contenitore della mappa.",show_filters:"Mostra i filtri",hide_filters:"Nascondi i filtri — ingrandisci la mappa",show_charts:"Mostra i grafici",hide_charts:"Nascondi i grafici — ingrandisci la mappa",export_copied:"copiato negli appunti",export_done:"esportato",export_ready:"pronto",export_toast:"✓ {rows} righe × {fields} campi {how}",export_failed:"✕ Esportazione non riuscita",pray_for_group:"Prega per questo popolo",more_information:"Maggiori informazioni",title:"Cruscotto di ricerca",gospel_pending:"Non ancora pronto: il numero dei non raggiunti, la chiave della fonte dati e la forma dell’interfaccia sono ancora da decidere."},Wm={search:"Cerca popoli…",hide_filters:"Nascondi filtri",show_filters:"Mostra filtri",total:"Totale",showing:"Mostrati",load_more:"Carica altro",full_profile:"Profilo completo",wagf_region:"Regione",wagf_block:"Blocco di affinità",rop1:"Popolo",religion:"Religione",exact_filter:"Esatto",clear_all:"Cancella tutto",loading:"Caricamento…",no_results:"Nessun popolo corrisponde a questo filtro.",type_to_search:"Digita per cercare...",load_failed:"Impossibile caricare i dati dei popoli. È un problema di connessione, non del filtro.",search_people_or_countries:"Cerca popoli o paesi…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},qm={title:{adoption:"Avanzamento dell'adozione",affinityBlocs:"Blocchi di affinità",doxaRegions:"Regioni Doxa",engagement:"Avanzamento dell'impegno",gospelResources:"Risorse del Vangelo",languageFamilies:"Famiglie linguistiche",prayer:"Avanzamento della preghiera",upg100List:"La mia lista UPG 100",batchSelect:"Selezione multipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone",default:"Legenda"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},progress:{title:"Avanzamento",covered:"{covered} di {total} gruppi di persone coperti dalla preghiera · {pct}%",short:"{covered} di {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione",name:"Nome"},footer:{total:"Totale"},sortByUpgs:"Ordina per UUPG",sortByPop:"Ordina per popolazione",colLabel:{religion:"Religioni UUPG",prayer:"Stato della preghiera",engagement:"Stato dell'impegno",adoption:"Stato dell'adozione",status:"Stato"},titleBar:{legend:"Legenda",peopleGroups:"Popoli",wagfRegions:"Regioni WAGF",languages:"Lingue"},tabInfo:{upg100Region:"Regione — ordina le liste UPG-100 per area del mondo (Africa, India, Medio Oriente, Sordi, …). I totali sono gli UUPG e la popolazione sommati di ogni lista sottostante.",upg100Zone:"Liste UPG-100 — ognuna è una lista di preghiera dei gruppi etnici non raggiunti di un’area, ed è ciò che la mappa disegna e colora. Ogni lista si stampa come il proprio fascicolo.",upg100Group:"Gruppo etnico — i singoli gruppi non raggiunti dentro una lista, prima quelli con maggiore bisogno di preghiera. Ogni punto della mappa è uno di questi.",family:"Famiglia ling. — un insieme di lingue discese da un antenato comune (p. es. indoeuropea, afroasiatica).",language:"Lingua — un sistema di comunicazione usato da un popolo (p. es. arabo, bengalese, hindi).",dialect:"Dialetto/Variante — una forma regionale o sociale di una lingua (p. es. arabo sudanese; lingua dei segni pakistana).",bloc:"Blocco di affinità — il raggruppamento più ampio, per affinità culturale, linguistica e geografica (p. es. popoli malesi, popoli dell’Asia meridionale, sordi, mondo arabo).",cluster:"Cluster — un raggruppamento più fine all’interno di un blocco (p. es. Borneo-Kalimantan tra i popoli malesi). Le righe recano «(cluster)» per distinguerle dai popoli.",group:"Popolo — un’identità etnolinguistica in sé, indipendente dal paese. Le righe recano «(popolo)». Uno stesso popolo può vivere in molti paesi (i sordi, per esempio, in più di cento).",pgic:"Popolo nel paese — una riga per ogni popolo in ciascun paese in cui vive (p. es. «Abai Sungai, Malesia»). Le righe recano «(popolo nel paese)».",region:"Regione WAGF — la macroregione cui appartiene un paese (p. es. Asia, Africa). Ciascuna ha il proprio colore sulla mappa.",block:"Blocco WAGF — la suddivisione all’interno di una regione (p. es. Sud-est asiatico, Africa occidentale).",country:"Paese — i singoli paesi, ordinati per popolazione non raggiunta all’interno del loro blocco."},a11y:{expandRow:"Espandi {label}",collapseRow:"Comprimi {label}",clearSelection:"Cancella la selezione",goUp:"Sali a {label}"},export:{poster:"Manifesto",packet:"UPG 100",packetExplain:"Una lista di preghiera di circa 50-100 popoli non raggiunti: una persona può portarne una.",packetAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero"},noDataAtThisLevel:"Nessun dato a questo livello",exportButton:"Esporta",exportSelection:"Esporta la selezione",loadingRows:"Caricamento di {label}…",loadingData:"Caricamento dati…",showingTop:"Mostrati i primi {n} di {m}",useGeocoderHint:"usa la ricerca qui sopra per trovare gli altri",noList:"Nessun elenco caricato."},Vm={doxa:{label:"Progetto 2000: i popoli di DOXA",definition:"I popoli che DOXA serve, come li fornisce la sua lista in tempo reale"},unreached:{label:"Progetto 7000: popoli non raggiunti",definition:"Priorità di perdizione IMB 0–2 (non raggiunti di frontiera, pionieri o in espansione: meno del 2% evangelici)"},frontier:{label:"Progetto 4700: popoli di frontiera",definition:"Priorità di perdizione IMB 0 (non raggiunti di frontiera: 0,1% evangelici o meno)"},"frontier-500k":{label:"Progetto 700: popoli di frontiera di 500.000 o più",definition:"Priorità di perdizione IMB 0 e una popolazione di almeno 500.000"},unengaged:{label:"Popoli non raggiunti e non coinvolti",definition:"Priorità di perdizione IMB 0–2 e stato di coinvolgimento: non coinvolto"}},Km={map:"Mappa",marker:"Indicatore sulla mappa",closePopup:"Chiudi popup",zoomIn:"Ingrandisci",zoomOut:"Riduci",resetBearing:"Trascina per ruotare la mappa, fai clic per tornare al nord",toggleAttribution:"Mostra/nascondi attribuzione",mapFeedback:"Feedback sulla mappa",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero",findMyLocation:"Trova la mia posizione",locationNotAvailable:"Posizione non disponibile",enableGlobe:"Attiva globo",disableGlobe:"Disattiva globo",ctrlScroll:"Usa Ctrl + scorrimento per ingrandire la mappa",cmdScroll:"Usa ⌘ + scorrimento per ingrandire la mappa",twoFingers:"Usa due dita per spostare la mappa",mapboxHomepage:"Home page di Mapbox",maplibreLogo:"Logo di MapLibre"},Ym={menuComingSoon:"Menu in arrivo",pinHint:{tapDot:"Tocca un punto colorato — qualcuno ha ancora bisogno di preghiera"},upg100WallHeading:"La mia lista UPG 100 — Liste di preghiera e manifesti",upg100WallTag:"Mobilitazione alla preghiera",upg100WallIntroA:"Come sfameresti una folla di cinquemila? Gesù li fece sedere a gruppi di cinquanta e di cento, e l’impossibile divenne condivisibile (Luca 9:14). Abbiamo fatto lo stesso con i 2.106 popoli non raggiunti: 27 liste di circa cinquanta-cento. Ogni lista si stampa come pacchetto di preghiera e manifesto, così 27 discepoli, chiese o responsabili locali ne portano una ciascuno — pregando per loro ",upg100WallIntroEmph:"con il nome del loro popolo",upg100WallIntroB:".",loadingNamed:"Caricamento di {name}…",couldNotLoadNamed:"Impossibile caricare {name}.",engineMissing:"Il motore di mappa {engine} non è stato caricato.",packetFailed:"Libretto non riuscito: {reason}",selectionPacketFailed:"Libretto della selezione non riuscito: {reason}",posterOneTerritory:"Il manifesto stampa un territorio alla volta — {count} selezionati.",selectionPosterFailed:"Manifesto della selezione non riuscito: {reason}",mapUnavailable:"Mappa non disponibile",copied:"Copiato!",copyFailed:"Copia non riuscita — premi Ctrl/Cmd-C",engineNotLoaded:"motore di mappe non caricato",engineNotLoadedDetail:"Il motore di mappe {engine} non si è caricato. L’elenco e la legenda non sono interessati.",viewLoadFailed:"Impossibile caricare questa vista.",retry:"Riprova",noMapboxToken:"Nessun token Mapbox",noMapboxTokenDetail:"Nessun token Mapbox configurato. L’elenco e la legenda non sono interessati.",loadingBoundaries:"Caricamento dei confini…",fetchingUupgs:"Recupero di {n} UUPG…",mapStatusCounts:"Aree: {polys} · zone: {zones}/{total} · segnaposto: {pins}",tapTerritoriesHint:"Tocca i territori sulla mappa o le righe della legenda per aggiungerli · tocca di nuovo per rimuoverli",territoriesSelected:"Territori: {count}",bandInRange:"✓ fascia 50–100",bandOutOfRange:"fascia 50–100",mapContextLost:"Questa mappa è stata scaricata per liberare memoria grafica.",nOfTotal:"{n} su {total}",mapInitFailed:"Impossibile inizializzare la mappa — controlla il token e il contenitore",countryWallIntroA:"Un poster per paese, pronto da pregare, stampare e appendere al muro — pregando per loro ",countryWallIntroB:". Regioni e paesi sono ordinati in base a quanti popoli non raggiunti contengono, perché il bisogno più grande venga per primo.",countryWallSoon:"Prossimamente: per ogni paese verrà generata una lista di preghiera con il nome di ogni popolo non raggiunto che vi abita.",countryWallHeading:"Poster per paese — Liste di preghiera e manifesti",largerScreenNotice:"Questa mappa sperimentale è pensata per schermi grandi. Si apre qui, ma alcune parti potrebbero non entrare o non funzionare bene su un telefono.",desktopOnlyNotice:"{label} funziona solo su desktop: apri questa pagina da un computer per usarlo.",noticeDismiss:"Chiudi",countryPosterTooMany:"Troppi popoli per stare in modo leggibile su un solo manifesto: una soluzione è in arrivo."},Zm={family:{Christianity:"Cristianesimo",Islam:"Islam",Hinduism:"Induismo",Buddhism:"Buddhismo",Ethnoreligion:"Etnoreligione",Judaism:"Ebraismo",Sikhism:"Sikhismo",Unaffiliated:"Senza affiliazione",Other:"Altro",Unknown:"Sconosciuta"}},Xm={placeholder:"Popolo, luogo, lingua, religione",placeholderNoPlaces:"Popolo, lingua, religione (la ricerca di luoghi richiede un token Mapbox)",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"},sections:{within:"In {selection}",allData:"Tutti i dati DOXA"},kinds:{people:"Popolo + paese",peopleGroup:"Popolo",bloc:"Blocco di affinità",cluster:"Cluster di popoli",country:"Paese",region:"Regione",family:"Famiglia linguistica",languageKind:"Lingua",dialect:"Dialetto",religionKind:"Religione"},upg100Placeholder:"Cerca popolo, elenco UPG-100 o regione…",tabPlaceholder:{languageFamilies:"Cerca famiglia linguistica, lingua, dialetto/variante",affinityBlocks:"Cerca blocco di affinità, cluster, popolo",regions:"Cerca regione, paese, popolo",religion:"Cerca religione, popolo"},placeholderRegions:"Cerca regione, paese o popolo"},Jm={embed_link:"Link di incorporamento",add_to_website:"Aggiungi al tuo sito web",embed_paste_hint:"Incolla questo codice nel tuo costruttore di siti web (WordPress, Squarespace, Wix o qualsiasi sito che accetti widget HTML)."},Qm={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe",collapseLegend:"Recolher a legenda",expandLegend:"Expandir a legenda",toggleLegend:"Mostrar ou ocultar a legenda",searchPeopleGroups:"Pesquisar povos",resetAllFilters:"Redefinir todos os filtros e a pesquisa",selectAllRows:"Selecionar todas as linhas",deselectAllRows:"Desmarcar todas as linhas",rowDetail:"Detalhe da linha",dismissHint:"Dispensar a dica",resizeFiltersRail:"Redimensionar o painel de filtros",resizeFiltersRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de filtros",resizeChartsRail:"Redimensionar o painel de gráficos",resizeChartsRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de gráficos",resizeMapTableSplit:"Redimensionar a divisão entre o mapa e a tabela",resizeMapTableSplitHint:"Arraste ou use as teclas de seta para redimensionar a divisão entre o mapa e a tabela",resizeTable:"Redimensionar a altura da tabela",resizeTableHint:"Arraste ou use as teclas de seta para redimensionar a tabela",resizeDashboardHeight:"Redimensionar a altura do painel",resizeDashboardHeightHint:"Arraste ou use as teclas de seta para redimensionar a altura do painel",removeFilter:"Remover o filtro {name}",closeDetail:"Fechar o detalhe",filterBreadcrumb:"Trilho de filtros",railViews:"Vistas do painel",upgCountLegend:"Legenda da contagem de UPG",donutChart:"Gráfico de rosca: {title}"},e_={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",posterMap:"Mapa do cartaz",prayerList:"Lista de oração",cardDeck:"Baralho de cartões",printOptions:"Opções de impressão",showOnMap:"Ver no mapa",close:"Fechar",showOnMapAria:"Ver {label} no mapa",cardStockAria:"Tamanho do cartão de oração",previewPrintPoster:"Pré-visualizar e imprimir o cartaz de {label}",share:"Partilhar",shareSteps:["Incorpore este mapa no seu site","Faça uma lista dos sites da sua cidade","Ensine-os a incorporá-lo também","Ensine-os a ensinar outros a incorporá-lo","Multipliquemos mapas por toda a parte para Jesus!"],clearSelection:"Limpar a seleção",noOptions:"Nenhuma opção encontrada",renderingLocal:"Uma imagem com qualidade de impressão está a ser gerada no seu navegador — nada é enviado.",postersPerRow:"Cartazes por linha",packetVariantAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve",working:"Processando…",postersPerRowAuto:"Automático"},t_={research_controls:"Controlos de pesquisa",clustering:"Agrupamento",filters:"Filtros",pin_dim:"Esbater pontos",export_poster:"Exportar cartaz…",reload_data:"Recarregar dados",off:"Desligado",native:"Nativo",mst:"MST",network:"Rede",off_desc:"Mostrar cada ponto individualmente",native_desc:"Grupos circulares Mapbox (mais rápido)",mst_desc:"Redes de afinidade por árvore geradora mínima",network_desc:"Linhas para o vizinho mais próximo",search_languages:"Pesquisar idiomas…",search_religions:"Pesquisar religiões…",reset_all:"Repor tudo",no_languages:"Ainda não há idiomas carregados",no_religions:"Ainda não há religiões carregadas",unadopted:"Não adotado",min:"mín",max:"máx",adopted:"Adotado",adoption:"Adoção",engaged:"Engajado",engagement:"Engajamento",unengaged:"Precisa de envolvimento",language:"Idioma",religion:"Religião",population:"População",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",close:"Fechar",clear:"Limpar",map_controls:"Controlos do mapa",clusters:"Agrupamentos",mst_full_name:"Árvore geradora mínima",mst_hint:"clique numa linha da legenda para agrupar apenas esse grupo"},o_={bloc:"Bloco de afinidade",gospel_access:"Acesso ao evangelho",people:"Povos",people_name:"Povo (nome)",praying:"A orar",religion_family:"Família religiosa",search_language:"Pesquisar idioma",search_people:"Pesquisar povo",search_place:"Pesquisar lugar",search_religion:"Pesquisar religião",upgs_in_scope:"UPG no âmbito",countries_touched:"países alcançados",unreached:"não alcançados",sum_population:"Σ população",sum_praying:"Σ a orar",charts:"Gráficos",table:"Tabela",cluster:"Agrupamento",country:"País",engagement:"Engajamento",language:"Idioma",language_family:"Família linguística",people_group:"Povo",population:"População",prayer:"Oração",region:"Região",religion:"Religião",status:"Status",adopted:"Adotado",filters:"Filtros",gospel_resources:"Recursos do Evangelho",map:"Mapa",search_placeholder:"Pesquisar povos, lugares, idiomas, religiões…",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",map_controls:"Controlos do mapa",close:"Fechar",clear:"Limpar",dashboard_title:"Painel de pesquisa geral",align_dashboard:"Alinhar painel",align_dashboard_tip:"Repor a disposição do painel para o alinhamento predefinido",selected:"Selecionado",world:"Mundo",vertical_legend:"Legenda vertical",groups_in_scope:"povos no âmbito",filter_by:"Filtrar por",remove_filter:"Remover filtro",groups:"povos",expand:"Expandir",collapse:"Recolher",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalhe",detail_empty:"Selecione um povo para ver o detalhe",heartbeat_zone:"zona do batimento",top_countries:"Principais países",select_all:"Selecionar tudo",expand_table:"Expandir tabela",collapse_table:"Recolher tabela — ampliar o mapa",group:"povo",deselect_all:"Desmarcar tudo",results_live:"A mostrar {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Pesquisa: {term}",adopted_by_churches:"Adotados por igrejas",bp_title:"Visão geral — painel de investigação unificado",bp_subtitle:"Pesquise e filtre os grupos de pessoas do mundo · primeiro os menos alcançados",export_selection:"Exportar esta seleção",map_loading:"A carregar o mapa de investigação…",no_match:"Nenhum grupo de pessoas corresponde a “{q}”.",no_photo:"Sem foto",only_selected:"Apenas os selecionados",only_selected_hint:"Mostrar apenas os grupos de pessoas selecionados",people_committed:"Pessoas comprometidas",people_praying:"Pessoas a orar",selected_first:"Os selecionados primeiro",selected_first_hint:"Trazer para cima os grupos de pessoas selecionados, mantendo a ordenação das colunas",n_shown:"{n} apresentados",other:"Outros",wagfRegion:{africa:"África",asia:"Ásia",europe:"Europa","latin_america_&_caribbean":"América Latina",oceania:"Oceania",middle_east:"Oriente Médio","north_america_&_non-spanish_caribbean":"América do Norte e Caribe não hispânico"},sort_by_column_hint:"Ordenar esta tabela por {column} — Shift+clique adiciona uma segunda coluna. A ordenação afeta apenas a tabela; os cartões mantêm a própria ordem.",fs_exit_hint:"Sair da tela cheia (Esc) — voltar a sete linhas",fs_open_hint:"Abrir esta tabela em tela cheia",fs_exit:"Sair da tela cheia",fs_open:"Abrir a tabela em tela cheia",export_selected_hint:"Exportar todos os campos — povos selecionados: {n}",export_all_hint:"Exportar todos os campos — povos: {n}",map_init_failed:"O mapa não conseguiu iniciar. Verifique o token de acesso e o contentor do mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar o mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar o mapa",export_copied:"copiado para a área de transferência",export_done:"exportado",export_ready:"pronto",export_toast:"✓ {rows} linhas × {fields} campos {how}",export_failed:"✕ Falha ao exportar",pray_for_group:"Ore por este povo",more_information:"Mais informações",title:"Painel de pesquisa",gospel_pending:"Ainda não está pronto: o número de não alcançados, a chave da fonte de dados e a forma da interface estão por decidir."},n_={search:"Pesquisar povos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Carregar mais",full_profile:"Perfil completo",wagf_region:"Região",wagf_block:"Bloco de afinidade",rop1:"Povo",religion:"Religião",exact_filter:"Exato",clear_all:"Limpar tudo",loading:"A carregar…",no_results:"Nenhum povo corresponde a este filtro.",type_to_search:"Escreva para pesquisar...",load_failed:"Não foi possível carregar os dados dos povos. É um problema de ligação, não do seu filtro.",search_people_or_countries:"Pesquisar povos ou países…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},a_={title:{adoption:"Progresso da adoção",affinityBlocs:"Blocos de afinidade",doxaRegions:"Regiões Doxa",engagement:"Progresso do envolvimento",gospelResources:"Recursos do Evangelho",languageFamilies:"Famílias linguísticas",prayer:"Progresso da oração",upg100List:"A minha lista UPG 100",batchSelect:"Seleção múltipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas",default:"Legenda"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},progress:{title:"Progresso",covered:"{covered} de {total} grupos de pessoas cobertos em oração · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Região — ordena as listas UPG-100 por área do mundo (África, Índia, Oriente Médio, Surdos, …). Os totais são os UUPG e a população somados de todas as listas abaixo dela.",upg100Zone:"Listas UPG-100 — cada uma é uma lista de oração dos grupos étnicos não alcançados de uma área, e é o que o mapa pinta e colore. Cada lista é impressa como seu próprio pacote.",upg100Group:"Grupo étnico — os grupos não alcançados dentro de uma lista, primeiro os de maior necessidade de oração. Cada ponto do mapa é um deles.",family:"Família linguística — um conjunto de línguas descendentes de um ancestral comum (p. ex. indo-europeia, afro-asiática).",language:"Idioma — um sistema de comunicação usado por um povo (p. ex. árabe, bengali, híndi).",dialect:"Dialeto/Variedade — uma forma regional ou social de uma língua (p. ex. árabe sudanês; língua gestual paquistanesa).",bloc:"Bloco de afinidade — o agrupamento mais amplo, por parentesco cultural, linguístico e geográfico (p. ex. povos malaios, povos do Sul da Ásia, surdos, mundo árabe).",cluster:"Agrupamento — um agrupamento mais fino dentro de um bloco (p. ex. Bornéu-Kalimantan entre os povos malaios). As linhas levam «(agrupamento)» para as distinguir dos povos.",group:"Povo — uma identidade etnolinguística em si mesma, independente do país. As linhas levam «(povo)». Um mesmo povo pode viver em muitos países (os surdos, por exemplo, em mais de cem).",pgic:"Povo no país — uma linha por cada povo em cada país onde vive (p. ex. «Abai Sungai, Malásia»). As linhas levam «(povo no país)».",region:"Região WAGF — a macrorregião a que pertence um país (p. ex. Ásia, África). Cada uma tem a sua cor no mapa.",block:"Bloco WAGF — a subdivisão dentro de uma região (p. ex. Sudeste Asiático, África Ocidental).",country:"País — os países um a um, ordenados por população não alcançada dentro do seu bloco."},a11y:{expandRow:"Expandir {label}",collapseRow:"Recolher {label}",clearSelection:"Limpar a seleção",goUp:"Subir para {label}"},export:{poster:"Cartaz",packet:"UPG 100",packetExplain:"Uma lista de oração de cerca de 50 a 100 povos não alcançados: uma pessoa pode levar uma.",packetAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve"},noDataAtThisLevel:"Sem dados neste nível",exportButton:"Exportar",exportSelection:"Exportar a seleção",loadingRows:"Carregando {label}…",loadingData:"Carregando dados…",showingTop:"Mostrando os {n} principais de {m}",useGeocoderHint:"use a busca acima para encontrar os restantes",noList:"Nenhuma lista carregada."},r_={doxa:{label:"Projeto 2000: os povos da DOXA",definition:"Os povos que a DOXA serve, como a sua lista ao vivo os apresenta"},unreached:{label:"Projeto 7000: povos não alcançados",definition:"Prioridade de perdição do IMB 0–2 (não alcançados de fronteira, pioneiros ou em expansão: menos de 2% evangélicos)"},frontier:{label:"Projeto 4700: povos de fronteira",definition:"Prioridade de perdição do IMB 0 (não alcançados de fronteira: 0,1% evangélicos ou menos)"},"frontier-500k":{label:"Projeto 700: povos de fronteira de 500.000 ou mais",definition:"Prioridade de perdição do IMB 0 e uma população de pelo menos 500.000"},unengaged:{label:"Povos não alcançados e não engajados",definition:"Prioridade de perdição do IMB 0–2 e estado de engajamento: não engajado"}},s_={map:"Mapa",marker:"Marcador do mapa",closePopup:"Fechar janela",zoomIn:"Aumentar zoom",zoomOut:"Diminuir zoom",resetBearing:"Arraste para girar o mapa, clique para voltar ao norte",toggleAttribution:"Mostrar/ocultar atribuição",mapFeedback:"Comentários sobre o mapa",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia",findMyLocation:"Encontrar minha localização",locationNotAvailable:"Localização indisponível",enableGlobe:"Ativar globo",disableGlobe:"Desativar globo",ctrlScroll:"Use Ctrl + rolagem para ampliar o mapa",cmdScroll:"Use ⌘ + rolagem para ampliar o mapa",twoFingers:"Use dois dedos para mover o mapa",mapboxHomepage:"Página inicial do Mapbox",maplibreLogo:"Logótipo do MapLibre"},i_={menuComingSoon:"Menu em breve",pinHint:{tapDot:"Toque num ponto colorido — alguém ainda precisa de oração"},upg100WallHeading:"Minha lista UPG 100 — Listas de oração e cartazes",upg100WallTag:"Mobilização de oração",upg100WallIntroA:"Como você alimentaria uma multidão de cinco mil? Jesus os sentou em grupos de cinquenta e de cem, e o impossível tornou-se compartilhável (Lucas 9.14). Fizemos o mesmo com os 2.106 povos não alcançados: 27 listas de cerca de cinquenta a cem. Cada lista imprime como pacote de oração e cartaz, para que 27 discípulos, igrejas ou líderes locais levem uma cada um — orando por eles ",upg100WallIntroEmph:"pelo nome do seu povo",upg100WallIntroB:".",loadingNamed:"Carregando {name}…",couldNotLoadNamed:"Não foi possível carregar {name}.",engineMissing:"O motor de mapa {engine} não foi carregado.",packetFailed:"Falha ao gerar o caderno: {reason}",selectionPacketFailed:"Falha ao gerar o caderno da seleção: {reason}",posterOneTerritory:"O cartaz imprime um território de cada vez — {count} selecionados.",selectionPosterFailed:"Falha ao gerar o cartaz da seleção: {reason}",mapUnavailable:"Mapa indisponível",copied:"Copiado!",copyFailed:"Falha ao copiar — pressione Ctrl/Cmd-C",engineNotLoaded:"motor de mapas não carregado",engineNotLoadedDetail:"O motor de mapas {engine} não carregou. A lista e a legenda não são afetadas.",viewLoadFailed:"Não foi possível carregar esta visualização.",retry:"Tentar novamente",noMapboxToken:"Nenhum token do Mapbox",noMapboxTokenDetail:"Nenhum token do Mapbox configurado. A lista e a legenda não são afetadas.",loadingBoundaries:"Carregando limites…",fetchingUupgs:"Buscando {n} UUPGs…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque em territórios no mapa ou em linhas da legenda para adicionar · toque de novo para remover",territoriesSelected:"Territórios: {count}",bandInRange:"✓ faixa 50–100",bandOutOfRange:"faixa 50–100",mapContextLost:"Este mapa foi descarregado para libertar memória gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"Falha ao iniciar o mapa — verifique o token e o contêiner",countryWallIntroA:"Um cartaz por país, pronto para orar, imprimir e pendurar na parede — orando por eles ",countryWallIntroB:". As regiões e os países são ordenados pelo número de povos não engajados que abrigam, para que a maior necessidade venha primeiro.",countryWallSoon:"Em breve: será gerada uma lista de oração para cada país, com o nome de cada povo não alcançado nele.",countryWallHeading:"Cartazes por país — Listas de oração e cartazes",largerScreenNotice:"Este mapa experimental foi feito para telas maiores. Ele abre aqui, mas algumas partes podem não caber ou não funcionar bem no celular.",desktopOnlyNotice:"{label} só funciona no computador — abra esta página num computador para usá-lo.",noticeDismiss:"Fechar",countryPosterTooMany:"Povos demais para caber de forma legível em um só cartaz — uma solução está a caminho."},l_={family:{Christianity:"Cristianismo",Islam:"Islão",Hinduism:"Hinduísmo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligião",Judaism:"Judaísmo",Sikhism:"Siquismo",Unaffiliated:"Sem afiliação",Other:"Outra",Unknown:"Desconhecida"}},c_={placeholder:"Povo, local, língua, religião",placeholderNoPlaces:"Povo, língua, religião (a busca de locais requer um token do Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos os dados DOXA"},upg100Placeholder:"Procurar povo, lista UPG-100 ou região…",tabPlaceholder:{languageFamilies:"Pesquisar família linguística, idioma, dialeto/variedade",affinityBlocks:"Pesquisar bloco de afinidade, agrupamento, povo",regions:"Pesquisar região, país, povo",religion:"Pesquisar religião, povo"},placeholderRegions:"Procurar região, país ou povo"},u_={embed_link:"Link de incorporação",add_to_website:"Adicione ao seu site",embed_paste_hint:"Cole este código no seu construtor de sites (WordPress, Squarespace, Wix ou qualquer site que aceite widgets HTML)."},d_={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată",collapseLegend:"Restrânge legenda",expandLegend:"Extinde legenda",toggleLegend:"Afișează sau ascunde legenda",searchPeopleGroups:"Caută popoare",resetAllFilters:"Resetează toate filtrele și căutarea",selectAllRows:"Selectează toate rândurile",deselectAllRows:"Deselectează toate rândurile",rowDetail:"Detaliu rând",dismissHint:"Închide sugestia",resizeFiltersRail:"Redimensionează bara de filtre",resizeFiltersRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de filtre",resizeChartsRail:"Redimensionează bara de grafice",resizeChartsRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de grafice",resizeMapTableSplit:"Redimensionează împărțirea hartă/tabel",resizeMapTableSplitHint:"Trage sau folosește tastele săgeată pentru a redimensiona împărțirea hartă/tabel",resizeTable:"Redimensionează înălțimea tabelului",resizeTableHint:"Trage sau folosește tastele săgeată pentru a redimensiona tabelul",resizeDashboardHeight:"Redimensionează înălțimea tabloului de bord",resizeDashboardHeightHint:"Trage sau folosește tastele săgeată pentru a redimensiona înălțimea tabloului de bord",removeFilter:"Elimină filtrul {name}",closeDetail:"Închide detaliul",filterBreadcrumb:"Traseul filtrelor",railViews:"Vizualizările barei",upgCountLegend:"Legenda numărului de UPG",donutChart:"Diagramă inelară: {title}"},p_={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ă",posterMap:"Harta afișului",prayerList:"Listă de rugăciune",cardDeck:"Pachet de cartonașe",printOptions:"Opțiuni de tipărire",showOnMap:"Arată pe hartă",close:"Închide",showOnMapAria:"Arată {label} pe hartă",cardStockAria:"Dimensiunea cardului de rugăciune",previewPrintPoster:"Previzualizează și tipărește posterul {label}",share:"Distribuie",shareSteps:["Încorporează această hartă pe site-ul tău","Fă o listă cu site-urile din orașul tău","Învață-i să o încorporeze și ei","Învață-i să îi formeze pe alții să o încorporeze","Să multiplicăm hărți pretutindeni pentru Isus!"],clearSelection:"Șterge selecția",noOptions:"Nicio opțiune găsită",renderingLocal:"O imagine de calitate pentru tipar este generată în browserul tău — nimic nu este încărcat.",postersPerRow:"Postere pe rând",packetVariantAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus",working:"Se procesează…",postersPerRowAuto:"Automat"},g_={research_controls:"Comenzi de cercetare",clustering:"Grupare",filters:"Filtre",pin_dim:"Estompare puncte",export_poster:"Exportă posterul…",reload_data:"Reîncarcă datele",off:"Oprit",native:"Nativ",mst:"MST",network:"Rețea",off_desc:"Arată fiecare punct separat",native_desc:"Grupuri circulare Mapbox (cel mai rapid)",mst_desc:"Rețele de afinitate prin arbore minim de acoperire",network_desc:"Linii către cel mai apropiat vecin",search_languages:"Caută limbi…",search_religions:"Caută religii…",reset_all:"Resetează tot",no_languages:"Nicio limbă încărcată încă",no_religions:"Nicio religie încărcată încă",unadopted:"Neadoptat",min:"min",max:"max",adopted:"Adoptat",adoption:"Adopție",engaged:"Implicat",engagement:"Implicare",unengaged:"Necesită implicare",language:"Limbă",religion:"Religie",population:"Populație",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",close:"Închide",clear:"Șterge",map_controls:"Comenzile hărții",clusters:"Grupuri",mst_full_name:"Arbore de acoperire minim",mst_hint:"dă clic pe un rând din legendă pentru a grupa doar acel grup"},f_={bloc:"Bloc de afinitate",gospel_access:"Acces la Evanghelie",people:"Popoare",people_name:"Popor (nume)",praying:"Se roagă",religion_family:"Familie religioasă",search_language:"Caută limbă",search_people:"Caută popor",search_place:"Caută loc",search_religion:"Caută religie",upgs_in_scope:"UPG în domeniu",countries_touched:"țări atinse",unreached:"neatinși",sum_population:"Σ populație",sum_praying:"Σ se roagă",charts:"Grafice",table:"Tabel",cluster:"Grup",country:"Țară",engagement:"Implicare",language:"Limbă",language_family:"Familie de limbi",people_group:"Popor",population:"Populație",prayer:"Rugăciune",region:"Regiune",religion:"Religie",status:"Stare",adopted:"Adoptat",filters:"Filtre",gospel_resources:"Resurse ale Evangheliei",map:"Hartă",search_placeholder:"Caută popoare, locuri, limbi, religii…",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",map_controls:"Comenzile hărții",close:"Închide",clear:"Șterge",dashboard_title:"Tablou de bord de cercetare general",align_dashboard:"Aliniază tabloul",align_dashboard_tip:"Readu aranjarea tabloului la alinierea implicită",selected:"Selectat",world:"Lume",vertical_legend:"Legendă verticală",groups_in_scope:"popoare în domeniu",filter_by:"Filtrează după",remove_filter:"Elimină filtrul",groups:"popoare",expand:"Extinde",collapse:"Restrânge",place:"Loc",export_csv:"Exportă CSV",detail:"Detaliu",detail_empty:"Selectează un popor pentru a vedea detaliile",heartbeat_zone:"zona bătăilor inimii",top_countries:"Țări de top",select_all:"Selectează tot",expand_table:"Extinde tabelul",collapse_table:"Restrânge tabelul — mărește harta",group:"popor",deselect_all:"Deselectează tot",results_live:"{count} din {total} {unit} afișate",filters_live:"Filtre: {list}",search_live:"Căutare: {term}",adopted_by_churches:"Adoptate de biserici",bp_title:"Imaginea de ansamblu — tablou de bord unificat de cercetare",bp_subtitle:"Caută și filtrează grupurile de oameni din lume · cele mai puțin atinse primele",export_selection:"Exportă această selecție",map_loading:"Se încarcă harta de cercetare…",no_match:"Niciun grup de oameni nu se potrivește cu „{q}”.",no_photo:"Nicio fotografie",only_selected:"Doar cele selectate",only_selected_hint:"Arată doar grupurile de oameni selectate",people_committed:"Persoane angajate",people_praying:"Persoane care se roagă",selected_first:"Cele selectate primele",selected_first_hint:"Ridică grupurile de oameni selectate în partea de sus, păstrând sortarea coloanelor",n_shown:"{n} afișate",other:"Altele",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latină",oceania:"Oceania",middle_east:"Orientul Mijlociu","north_america_&_non-spanish_caribbean":"America de Nord și Caraibe nehispanice"},sort_by_column_hint:"Sortează acest tabel după {column} — Shift+clic adaugă o a doua coloană. Sortarea ordonează doar tabelul; cardurile își păstrează propria ordine.",fs_exit_hint:"Ieși din ecran complet (Esc) — înapoi la șapte rânduri",fs_open_hint:"Deschide acest tabel pe ecran complet",fs_exit:"Ieși din ecran complet",fs_open:"Deschide tabelul pe ecran complet",export_selected_hint:"Exportă toate câmpurile — popoare selectate: {n}",export_all_hint:"Exportă toate câmpurile — popoare: {n}",map_init_failed:"Harta nu a putut porni. Verificați jetonul de acces și containerul hărții.",show_filters:"Arată filtrele",hide_filters:"Ascunde filtrele — mărește harta",show_charts:"Arată graficele",hide_charts:"Ascunde graficele — mărește harta",export_copied:"copiat în clipboard",export_done:"exportat",export_ready:"gata",export_toast:"✓ {rows} rânduri × {fields} câmpuri {how}",export_failed:"✕ Exportul a eșuat",pray_for_group:"Roagă-te pentru acest popor",more_information:"Mai multe informații",title:"Tablou de bord de cercetare",gospel_pending:"Încă nu este gata: cifra celor neatinși, cheia sursei de date și forma interfeței sunt încă de hotărât."},h_={search:"Caută popoare…",hide_filters:"Ascunde filtrele",show_filters:"Arată filtrele",total:"Total",showing:"Se afișează",load_more:"Încarcă mai mult",full_profile:"Profil complet",wagf_region:"Regiune",wagf_block:"Bloc de afinitate",rop1:"Popor",religion:"Religie",exact_filter:"Exact",clear_all:"Șterge tot",loading:"Se încarcă…",no_results:"Niciun popor nu corespunde acestui filtru.",type_to_search:"Scrie pentru a căuta...",load_failed:"Datele despre popoare nu au putut fi încărcate. Este o problemă de conexiune, nu a filtrului.",search_people_or_countries:"Caută popoare sau țări…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},m_={title:{adoption:"Progresul adopției",affinityBlocs:"Blocuri de afinitate",doxaRegions:"Regiuni Doxa",engagement:"Progresul implicării",gospelResources:"Resurse ale Evangheliei",languageFamilies:"Familii de limbi",prayer:"Progresul rugăciunii",upg100List:"Lista mea UPG 100",batchSelect:"Selecție multiplă"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare",default:"Legendă"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},progress:{title:"Progres",covered:"{covered} din {total} grupuri de popoare acoperite în rugăciune · {pct}%",short:"{covered} din {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație",name:"Nume"},footer:{total:"Total"},sortByUpgs:"Sortează după UUPG",sortByPop:"Sortează după populație",colLabel:{religion:"Religii UUPG",prayer:"Starea rugăciunii",engagement:"Starea implicării",adoption:"Starea adopției",status:"Stare"},titleBar:{legend:"Legendă",peopleGroups:"Popoare",wagfRegions:"Regiuni WAGF",languages:"Limbi"},tabInfo:{upg100Region:"Regiune — sortează listele UPG-100 după zona lumii (Africa, India, Orientul Mijlociu, Surzi, …). Totalurile sunt UUPG-urile și populația însumate din fiecare listă de dedesubt.",upg100Zone:"Liste UPG-100 — fiecare este o listă de rugăciune a grupurilor etnice neatinse dintr-o zonă și este ceea ce harta desenează și colorează. Fiecare listă se tipărește ca propriul pachet.",upg100Group:"Grup etnic — grupurile neatinse dintr-o listă, mai întâi cele cu cea mai mare nevoie de rugăciune. Fiecare punct de pe hartă este unul dintre ele.",family:"Familie de limbi — un grup de limbi provenite dintr-un strămoș comun (de ex. indo-europeană, afro-asiatică).",language:"Limbă — un sistem de comunicare folosit de un popor (de ex. arabă, bengaleză, hindi).",dialect:"Dialect/Variantă — o formă regională sau socială a unei limbi (de ex. araba sudaneză; limbajul semnelor pakistanez).",bloc:"Bloc de afinitate — cea mai largă grupare, după înrudirea culturală, lingvistică și geografică (de ex. popoarele malaieze, popoarele din Asia de Sud, surzii, lumea arabă).",cluster:"Grup — o grupare mai fină în interiorul unui bloc (de ex. Borneo-Kalimantan între popoarele malaieze). Rândurile poartă „(grup)”, spre a le deosebi de popoare.",group:"Popor — o identitate etnolingvistică în sine, independentă de țară. Rândurile poartă „(popor)”. Același popor poate trăi în multe țări (surzii, de pildă, în peste o sută).",pgic:"Popor în țară — câte un rând pentru fiecare popor din fiecare țară în care trăiește (de ex. „Abai Sungai, Malaysia”). Rândurile poartă „(popor în țară)”.",region:"Regiune WAGF — macroregiunea de care ține o țară (de ex. Asia, Africa). Fiecare are culoarea ei pe hartă.",block:"Bloc WAGF — subdiviziunea din interiorul unei regiuni (de ex. Asia de Sud-Est, Africa de Vest).",country:"Țară — țările una câte una, ordonate după populația neatinsă din blocul lor."},a11y:{expandRow:"Extinde {label}",collapseRow:"Restrânge {label}",clearSelection:"Șterge selecția",goUp:"Urcă la {label}"},export:{poster:"Afiș",packet:"UPG 100",packetExplain:"O listă de rugăciune de aproximativ 50-100 de popoare neatinse — o persoană poate purta una.",packetAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus"},noDataAtThisLevel:"Nu există date la acest nivel",exportButton:"Exportă",exportSelection:"Exportă selecția",loadingRows:"Se încarcă {label}…",loadingData:"Se încarcă datele…",showingTop:"Se afișează primele {n} din {m}",useGeocoderHint:"folosește căutarea de mai sus pentru a le găsi pe celelalte",noList:"Nicio listă încărcată."},__={doxa:{label:"Proiectul 2000: popoarele DOXA",definition:"Popoarele pe care DOXA le slujește, așa cum le dă lista sa live"},unreached:{label:"Proiectul 7000: popoare neatinse",definition:"Prioritatea de pierzare IMB 0–2 (neatinse de frontieră, pionier sau în expansiune: sub 2% evanghelici)"},frontier:{label:"Proiectul 4700: popoare de frontieră",definition:"Prioritatea de pierzare IMB 0 (neatinse de frontieră: 0,1% evanghelici sau mai puțin)"},"frontier-500k":{label:"Proiectul 700: popoare de frontieră de 500.000 sau mai mult",definition:"Prioritatea de pierzare IMB 0 și o populație de cel puțin 500.000"},unengaged:{label:"Popoare neatinse și neangajate",definition:"Prioritatea de pierzare IMB 0–2 și starea de angajare: neangajat"}},b_={map:"Hartă",marker:"Marcaj pe hartă",closePopup:"Închide fereastra",zoomIn:"Mărește",zoomOut:"Micșorează",resetBearing:"Trage pentru a roti harta, apasă pentru a reveni la nord",toggleAttribution:"Afișează/ascunde atribuirea",mapFeedback:"Feedback despre hartă",enterFullscreen:"Ecran complet",exitFullscreen:"Ieși din ecran complet",findMyLocation:"Găsește-mi locația",locationNotAvailable:"Locație indisponibilă",enableGlobe:"Activează globul",disableGlobe:"Dezactivează globul",ctrlScroll:"Folosește Ctrl + derulare pentru a mări harta",cmdScroll:"Folosește ⌘ + derulare pentru a mări harta",twoFingers:"Folosește două degete pentru a muta harta",mapboxHomepage:"Pagina principală Mapbox",maplibreLogo:"Sigla MapLibre"},$_={menuComingSoon:"Meniu în curând",pinHint:{tapDot:"Atinge un punct colorat — cineva are încă nevoie de rugăciune"},upg100WallHeading:"Lista mea UPG 100 — Liste de rugăciune și afișe",upg100WallTag:"Mobilizare pentru rugăciune",upg100WallIntroA:"Cum ai hrăni o mulțime de cinci mii? Isus i-a așezat în grupuri de cincizeci și de o sută, iar imposibilul a devenit împărțibil (Luca 9:14). Am făcut la fel cu cele 2.106 popoare neatinse: 27 de liste de aproximativ cincizeci până la o sută. Fiecare listă se tipărește ca pachet de rugăciune și afiș, ca 27 de ucenici, biserici sau lideri locali să poarte fiecare câte una — rugându-se pentru ei ",upg100WallIntroEmph:"pe numele poporului lor",upg100WallIntroB:".",loadingNamed:"Se încarcă {name}…",couldNotLoadNamed:"Nu s-a putut încărca {name}.",engineMissing:"Motorul de hartă {engine} nu s-a încărcat.",packetFailed:"Broșura a eșuat: {reason}",selectionPacketFailed:"Broșura selecției a eșuat: {reason}",posterOneTerritory:"Afișul tipărește un teritoriu pe rând — {count} selectate.",selectionPosterFailed:"Afișul selecției a eșuat: {reason}",mapUnavailable:"Harta indisponibilă",copied:"Copiat!",copyFailed:"Copierea a eșuat — apasă Ctrl/Cmd-C",engineNotLoaded:"motorul de hărți nu s-a încărcat",engineNotLoadedDetail:"Motorul de hărți {engine} nu s-a încărcat. Lista și legenda nu sunt afectate.",viewLoadFailed:"Această vizualizare nu s-a putut încărca.",retry:"Reîncearcă",noMapboxToken:"Niciun token Mapbox",noMapboxTokenDetail:"Nu este configurat niciun token Mapbox. Lista și legenda nu sunt afectate.",loadingBoundaries:"Se încarcă granițele…",fetchingUupgs:"Se preiau {n} UUPG…",mapStatusCounts:"Suprafețe: {polys} · zone: {zones}/{total} · repere: {pins}",tapTerritoriesHint:"Atingeți teritorii pe hartă sau rânduri din legendă pentru a le adăuga · atingeți din nou pentru a le elimina",territoriesSelected:"Teritorii: {count}",bandInRange:"✓ interval 50–100",bandOutOfRange:"interval 50–100",mapContextLost:"Această hartă a fost descărcată pentru a elibera memoria grafică.",nOfTotal:"{n} din {total}",mapInitFailed:"Harta nu a putut fi inițializată — verificați tokenul și containerul",countryWallIntroA:"Câte un afiș pentru fiecare țară, gata de rugăciune, de tipărit și de pus pe perete — rugându-ne pentru ei ",countryWallIntroB:". Regiunile și țările sunt ordonate după câte popoare neatinse cuprind, pentru ca nevoia cea mai mare să fie prima.",countryWallSoon:"În curând: pentru fiecare țară va fi generată o listă de rugăciune care numește fiecare popor neatins din ea.",countryWallHeading:"Afișe pe țări — Liste de rugăciune și afișe",largerScreenNotice:"Această hartă experimentală este făcută pentru ecrane mari. Se deschide aici, dar unele părți s-ar putea să nu încapă sau să nu funcționeze bine pe telefon.",desktopOnlyNotice:"{label} funcționează doar pe desktop — deschideți pagina pe un computer pentru a-l folosi.",noticeDismiss:"Închide",countryPosterTooMany:"Prea multe popoare pentru a încăpea lizibil pe un singur afiș — lucrăm la o soluție."},y_={family:{Christianity:"Creștinism",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Budism",Ethnoreligion:"Etnoreligie",Judaism:"Iudaism",Sikhism:"Sikhism",Unaffiliated:"Fără afiliere",Other:"Altele",Unknown:"Necunoscută"}},v_={placeholder:"Popor, loc, limbă, religie",placeholderNoPlaces:"Popor, limbă, religie (căutarea locurilor necesită un token Mapbox)",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"},sections:{within:"În {selection}",allData:"Toate datele DOXA"},kinds:{people:"Popor + țară",peopleGroup:"Popor",bloc:"Bloc de afinitate",cluster:"Grup de popoare",country:"Țară",region:"Regiune",family:"Familie de limbi",languageKind:"Limbă",dialect:"Dialect",religionKind:"Religie"},upg100Placeholder:"Caută popor, listă UPG-100 sau regiune…",tabPlaceholder:{languageFamilies:"Caută familie de limbi, limbă, dialect/variantă",affinityBlocks:"Caută bloc de afinitate, grup, popor",regions:"Caută regiune, țară, popor",religion:"Caută religie, popor"},placeholderRegions:"Caută regiune, țară sau popor"},w_={embed_link:"Link de încorporare",add_to_website:"Adaugă pe site-ul tău",embed_paste_hint:"Lipește acest cod în constructorul site-ului tău (WordPress, Squarespace, Wix sau orice site care acceptă widget-uri HTML)."},x_={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид",collapseLegend:"Свернуть легенду",expandLegend:"Развернуть легенду",toggleLegend:"Показать или скрыть легенду",searchPeopleGroups:"Поиск народов",resetAllFilters:"Сбросить все фильтры и поиск",selectAllRows:"Выбрать все строки",deselectAllRows:"Снять выделение со всех строк",rowDetail:"Подробности строки",dismissHint:"Скрыть подсказку",resizeFiltersRail:"Изменить размер панели фильтров",resizeFiltersRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели фильтров",resizeChartsRail:"Изменить размер панели диаграмм",resizeChartsRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели диаграмм",resizeMapTableSplit:"Изменить соотношение карты и таблицы",resizeMapTableSplitHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить соотношение карты и таблицы",resizeTable:"Изменить высоту таблицы",resizeTableHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер таблицы",resizeDashboardHeight:"Изменить высоту панели",resizeDashboardHeightHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить высоту панели",removeFilter:"Удалить фильтр {name}",closeDetail:"Закрыть подробности",filterBreadcrumb:"Цепочка фильтров",railViews:"Виды панели",upgCountLegend:"Легенда количества UPG",donutChart:"Кольцевая диаграмма: {title}"},k_={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить",posterMap:"Карта плаката",prayerList:"Молитвенный список",cardDeck:"Набор карточек",printOptions:"Параметры печати",showOnMap:"Показать на карте",close:"Закрыть",showOnMapAria:"Показать {label} на карте",cardStockAria:"Размер молитвенной карточки",previewPrintPoster:"Просмотр и печать плаката {label}",share:"Поделиться",shareSteps:["Разместите эту карту на своём сайте","Составьте список сайтов вашего города","Научите их тоже размещать её","Научите их учить других размещать её","Умножим карты повсюду для Иисуса!"],clearSelection:"Снять выделение",noOptions:"Ничего не найдено",renderingLocal:"Изображение типографского качества создаётся в вашем браузере — ничего не загружается на сервер.",postersPerRow:"Плакатов в ряду",packetVariantAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия",working:"Выполняется…",postersPerRowAuto:"Авто"},S_={research_controls:"Инструменты исследования",clustering:"Кластеризация",filters:"Фильтры",pin_dim:"Прозрачность точек",export_poster:"Экспорт постера…",reload_data:"Обновить данные",off:"Выкл.",native:"Встроенная",mst:"MST",network:"Сеть",off_desc:"Показывать каждую точку отдельно",native_desc:"Круговые кластеры Mapbox (быстрее всего)",mst_desc:"Сети родства по минимальному остовному дереву",network_desc:"Линии до ближайшего соседа",search_languages:"Поиск языков…",search_religions:"Поиск религий…",reset_all:"Сбросить всё",no_languages:"Языки ещё не загружены",no_religions:"Религии ещё не загружены",unadopted:"Не усыновлён",min:"мин",max:"макс",adopted:"Ответственность взята",adoption:"Усыновление",engaged:"Вовлечён",engagement:"Вовлечённость",unengaged:"Нуждается в вовлечённости",language:"Язык",religion:"Религия",population:"Население",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",close:"Закрыть",clear:"Очистить",map_controls:"Элементы управления картой",clusters:"Кластеры",mst_full_name:"Минимальное остовное дерево",mst_hint:"нажмите строку легенды, чтобы сгруппировать только эту группу"},A_={bloc:"Блок родства",gospel_access:"Доступ к Евангелию",people:"Народы",people_name:"Народ (название)",praying:"Молятся",religion_family:"Семья религий",search_language:"Поиск языка",search_people:"Поиск народа",search_place:"Поиск места",search_religion:"Поиск религии",upgs_in_scope:"UPG в выборке",countries_touched:"затронутых стран",unreached:"неохваченные",sum_population:"Σ население",sum_praying:"Σ молящихся",charts:"Графики",table:"Таблица",cluster:"Кластер",country:"Страна",engagement:"Вовлечённость",language:"Язык",language_family:"Языковая семья",people_group:"Народ",population:"Население",prayer:"Молитва",region:"Регион",religion:"Религия",status:"Статус",adopted:"Ответственность взята",filters:"Фильтры",gospel_resources:"Евангельские ресурсы",map:"Карта",search_placeholder:"Поиск народов, мест, языков, религий…",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",map_controls:"Элементы управления картой",close:"Закрыть",clear:"Очистить",dashboard_title:"Обзорная исследовательская панель",align_dashboard:"Выровнять панель",align_dashboard_tip:"Вернуть расположение панели к виду по умолчанию",selected:"Выбрано",world:"Мир",vertical_legend:"Вертикальная легенда",groups_in_scope:"народов в выборке",filter_by:"Фильтровать по",remove_filter:"Убрать фильтр",groups:"народов",expand:"Развернуть",collapse:"Свернуть",place:"Место",export_csv:"Экспорт CSV",detail:"Подробности",detail_empty:"Выберите народ, чтобы увидеть подробности",heartbeat_zone:"зона сердцебиения",top_countries:"Основные страны",select_all:"Выбрать все",expand_table:"Развернуть таблицу",collapse_table:"Свернуть таблицу — увеличить карту",group:"народ",deselect_all:"Снять выделение",results_live:"Показано {count} из {total} {unit}",filters_live:"Фильтры: {list}",search_live:"Поиск: {term}",adopted_by_churches:"Взяты церквями",bp_title:"Общая картина — единая исследовательская панель",bp_subtitle:"Поиск и фильтрация народов мира · наименее охваченные первыми",export_selection:"Экспортировать этот выбор",map_loading:"Загрузка исследовательской карты…",no_match:"Нет народов, соответствующих «{q}».",no_photo:"Нет фото",only_selected:"Только выбранные",only_selected_hint:"Показывать только выбранные народы",people_committed:"Взявшие обязательство",people_praying:"Молящиеся",selected_first:"Выбранные сначала",selected_first_hint:"Поднять выбранные народы наверх, сохранив сортировку столбцов",n_shown:"{n} показано",other:"Другое",wagfRegion:{africa:"Африка",asia:"Азия",europe:"Европа","latin_america_&_caribbean":"Латинская Америка",oceania:"Океания",middle_east:"Ближний Восток","north_america_&_non-spanish_caribbean":"Северная Америка и неиспаноязычные Карибы"},sort_by_column_hint:"Сортировать таблицу по столбцу «{column}» — Shift+щелчок добавляет второй столбец. Сортировка меняет порядок только в таблице; карточки сохраняют свой порядок.",fs_exit_hint:"Выйти из полноэкранного режима (Esc) — вернуться к семи строкам",fs_open_hint:"Открыть эту таблицу на весь экран",fs_exit:"Выйти из полноэкранного режима",fs_open:"Открыть таблицу на весь экран",export_selected_hint:"Экспорт всех полей — выбрано народов: {n}",export_all_hint:"Экспорт всех полей — народов: {n}",map_init_failed:"Карта не запустилась. Проверьте токен доступа и контейнер карты.",show_filters:"Показать фильтры",hide_filters:"Скрыть фильтры — расширить карту",show_charts:"Показать диаграммы",hide_charts:"Скрыть диаграммы — расширить карту",export_copied:"скопировано в буфер обмена",export_done:"экспортировано",export_ready:"готово",export_toast:"✓ {rows} строк × {fields} полей {how}",export_failed:"✕ Не удалось экспортировать",pray_for_group:"Молиться об этом народе",more_information:"Подробнее",title:"Исследовательская панель",gospel_pending:"Пока не готово: число непросвещённых, ключ к источнику данных и вид интерфейса ещё определяются."},L_={search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},T_={title:{adoption:"Прогресс усыновления",affinityBlocs:"Блоки родства",doxaRegions:"Регионы Doxa",engagement:"Прогресс вовлечённости",gospelResources:"Евангельские ресурсы",languageFamilies:"Языковые семьи",prayer:"Прогресс молитвы",upg100List:"Мой список UPG 100",batchSelect:"Множественный выбор"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа",default:"Легенда"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},progress:{title:"Прогресс",covered:"{covered} из {total} народных групп охвачены молитвой · {pct}%",short:"{covered} из {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"Языки"},tabInfo:{upg100Region:"Регион — сортирует списки UPG-100 по частям света (Африка, Индия, Ближний Восток, Глухие, …). Числа — это UUPG и население, просуммированные по всем спискам внутри.",upg100Zone:"Списки UPG-100 — каждый представляет собой молитвенный список непросвещённых народов области и именно он отображается и раскрашивается на карте. Каждый список печатается отдельным буклетом.",upg100Group:"Народ — отдельные непросвещённые народы внутри списка, сначала с наибольшей нуждой в молитве. Каждая точка на карте — один из них.",family:"Языковая семья — группа языков, восходящих к общему предку (например, индоевропейская, афразийская).",language:"Язык — система общения, которой пользуется народ (например, арабский, бенгальский, хинди).",dialect:"Диалект/вариант — областная или социальная форма языка (например, суданский арабский; пакистанский жестовый язык).",bloc:"Блок родства — самое широкое объединение, по культурному, языковому и географическому родству (например, малайские народы, народы Южной Азии, глухие, арабский мир).",cluster:"Кластер — более дробное объединение внутри блока (например, Борнео-Калимантан среди малайских народов). Строки помечены «(кластер)», чтобы отличать их от народов.",group:"Народ — этноязыковая общность сама по себе, независимо от страны. Строки помечены «(народ)». Один народ может жить во многих странах (глухие, например, более чем в ста).",pgic:"Народ в стране — по строке на каждый народ в каждой стране его проживания (например, «Абай-Сунгай, Малайзия»). Строки помечены «(народ в стране)».",region:"Регион WAGF — макрорегион, к которому относится страна (например, Азия, Африка). У каждого свой цвет на карте.",block:"Блок WAGF — подгруппа внутри региона (например, Юго-Восточная Азия, Западная Африка).",country:"Страна — отдельные страны, упорядоченные по непросвещённому населению внутри своего блока."},a11y:{expandRow:"Развернуть {label}",collapseRow:"Свернуть {label}",clearSelection:"Снять выделение",goUp:"Вверх: {label}"},export:{poster:"Плакат",packet:"UPG 100",packetExplain:"Молитвенный список примерно из 50–100 неохваченных народов — один человек может взять один.",packetAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия"},noDataAtThisLevel:"На этом уровне нет данных",exportButton:"Экспорт",exportSelection:"Экспортировать выбранное",loadingRows:"Загрузка {label}…",loadingData:"Загрузка данных…",showingTop:"Показаны первые {n} из {m}",useGeocoderHint:"используйте поиск выше, чтобы найти остальные",noList:"Список не загружен."},C_={doxa:{label:"Проект 2000: народы DOXA",definition:"Народы, которым служит DOXA, как их даёт её живой список"},unreached:{label:"Проект 7000: недостигнутые народы",definition:"Приоритет потерянности IMB 0–2 (пограничные, первопроходческие или расширяющиеся недостигнутые: менее 2% евангельских христиан)"},frontier:{label:"Проект 4700: пограничные народы",definition:"Приоритет потерянности IMB 0 (пограничные недостигнутые: 0,1% евангельских христиан или меньше)"},"frontier-500k":{label:"Проект 700: пограничные народы численностью от 500 000",definition:"Приоритет потерянности IMB 0 и численность не менее 500 000"},unengaged:{label:"Недостигнутые народы без служения",definition:"Приоритет потерянности IMB 0–2 и статус служения: без служения"}},P_={map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},E_={menuComingSoon:"Меню скоро появится",pinHint:{tapDot:"Нажмите на цветную точку — кому-то всё ещё нужна молитва"},upg100WallHeading:"Мой список UPG 100 — молитвенные списки и плакаты",upg100WallTag:"Молитвенная мобилизация",upg100WallIntroA:"Как накормить толпу в пять тысяч человек? Иисус рассадил их группами по пятьдесят и по сто, и невозможное стало посильным (Лк. 9:14). Мы поступили так же с 2 106 неохваченными народами: 27 списков примерно по пятьдесят-сто. Каждый список печатается как молитвенный пакет и плакат, чтобы 27 учеников, церквей или местных служителей взяли по одному — молясь о них ",upg100WallIntroEmph:"по имени их народа",upg100WallIntroB:".",loadingNamed:"Загрузка {name}…",couldNotLoadNamed:"Не удалось загрузить {name}.",engineMissing:"Картографический движок {engine} не загрузился.",packetFailed:"Не удалось создать буклет: {reason}",selectionPacketFailed:"Не удалось создать буклет выбора: {reason}",posterOneTerritory:"Плакат печатает по одной территории — выбрано {count}.",selectionPosterFailed:"Не удалось создать плакат выбора: {reason}",mapUnavailable:"Карта недоступна",copied:"Скопировано!",copyFailed:"Не удалось скопировать — нажмите Ctrl/Cmd-C",engineNotLoaded:"движок карты не загружен",engineNotLoadedDetail:"Движок карты {engine} не загрузился. Список и легенда не затронуты.",viewLoadFailed:"Не удалось загрузить этот раздел.",retry:"Повторить",noMapboxToken:"Нет токена Mapbox",noMapboxTokenDetail:"Токен Mapbox не настроен. Список и легенда не затронуты.",loadingBoundaries:"Загрузка границ…",fetchingUupgs:"Загрузка UUPG: {n}…",mapStatusCounts:"Области: {polys} · зоны: {zones}/{total} · метки: {pins}",tapTerritoriesHint:"Нажимайте на территории на карте или строки легенды, чтобы добавить · нажмите ещё раз, чтобы убрать",territoriesSelected:"Территории: {count}",bandInRange:"✓ диапазон 50–100",bandOutOfRange:"диапазон 50–100",mapContextLost:"Эта карта выгружена, чтобы освободить графическую память.",nOfTotal:"{n} из {total}",mapInitFailed:"Не удалось инициализировать карту — проверьте токен и контейнер",countryWallIntroA:"Один плакат на страну — чтобы молиться, распечатать и повесить на стену, молясь за них ",countryWallIntroB:". Регионы и страны упорядочены по числу неохваченных народов, чтобы самая большая нужда стояла первой.",countryWallSoon:"Скоро: для каждой страны будет создан молитвенный список с названием каждого неохваченного народа в ней.",countryWallHeading:"Плакаты по странам — молитвенные списки и плакаты",largerScreenNotice:"Эта экспериментальная карта рассчитана на большие экраны. Она откроется, но на телефоне часть элементов может не поместиться или работать плохо.",desktopOnlyNotice:"{label} работает только на компьютере — откройте эту страницу на компьютере.",noticeDismiss:"Закрыть",countryPosterTooMany:"Слишком много народов, чтобы разборчиво уместить их на одном плакате, — решение готовится."},M_={family:{Christianity:"Христианство",Islam:"Ислам",Hinduism:"Индуизм",Buddhism:"Буддизм",Ethnoreligion:"Этнорелигия",Judaism:"Иудаизм",Sikhism:"Сикхизм",Unaffiliated:"Не принадлежат",Other:"Другое",Unknown:"Неизвестно"}},R_={placeholder:"Народ, место, язык, религия",placeholderNoPlaces:"Народ, язык, религия (для поиска мест нужен токен Mapbox)",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"},sections:{within:"В пределах {selection}",allData:"Все данные DOXA"},upg100Placeholder:"Поиск народа, списка UPG-100 или региона…",tabPlaceholder:{languageFamilies:"Поиск по языковой семье, языку, диалекту/варианту",affinityBlocks:"Поиск по блоку родства, кластеру, народу",regions:"Поиск по региону, стране, народу",religion:"Поиск по религии, народу"},placeholderRegions:"Поиск региона, страны или народа"},F_={embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},N_={backToLegend:"返回图例",closeDetailView:"关闭详情视图",collapseLegend:"收起图例",expandLegend:"展开图例",toggleLegend:"显示或隐藏图例",searchPeopleGroups:"搜索民族",resetAllFilters:"重置所有筛选和搜索",selectAllRows:"选择所有行",deselectAllRows:"取消选择所有行",rowDetail:"行详情",dismissHint:"关闭提示",resizeFiltersRail:"调整筛选器栏大小",resizeFiltersRailHint:"拖动或使用方向键调整筛选器栏大小",resizeChartsRail:"调整图表栏大小",resizeChartsRailHint:"拖动或使用方向键调整图表栏大小",resizeMapTableSplit:"调整地图与表格的分隔",resizeMapTableSplitHint:"拖动或使用方向键调整地图与表格的分隔",resizeTable:"调整表格高度",resizeTableHint:"拖动或使用方向键调整表格大小",resizeDashboardHeight:"调整仪表板高度",resizeDashboardHeightHint:"拖动或使用方向键调整仪表板高度",removeFilter:"移除筛选条件 {name}",closeDetail:"关闭详情",filterBreadcrumb:"筛选路径",railViews:"栏视图",upgCountLegend:"UPG 数量图例",donutChart:"环形图:{title}"},O_={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入",posterMap:"海报地图",prayerList:"祷告名单",cardDeck:"祷告卡组",printOptions:"打印选项",showOnMap:"在地图上显示",close:"关闭",showOnMapAria:"在地图上显示 {label}",cardStockAria:"祷告卡片尺寸",previewPrintPoster:"预览并打印 {label} 海报",share:"分享",shareSteps:["把这张地图嵌入你的网站","列出你城市里的网站","教他们也嵌入这张地图","教他们去教别人嵌入","为耶稣让地图遍地繁增!"],clearSelection:"清除选择",noOptions:"未找到选项",renderingLocal:"正在您的浏览器中生成可打印质量的图片——不会上传任何内容。",postersPerRow:"每行海报数",packetVariantAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版",working:"处理中…",postersPerRowAuto:"自动"},I_={research_controls:"研究控件",clustering:"聚类",filters:"筛选",pin_dim:"圆点淡化",export_poster:"导出海报…",reload_data:"重新加载数据",off:"关闭",native:"原生",mst:"MST",network:"网络",off_desc:"逐个显示每个圆点",native_desc:"Mapbox 圆形聚类(最快)",mst_desc:"最小生成树亲缘网络",network_desc:"最近邻连接线",search_languages:"搜索语言…",search_religions:"搜索宗教…",reset_all:"全部重置",no_languages:"尚未加载语言",no_religions:"尚未加载宗教",unadopted:"未认领",min:"最小",max:"最大",adopted:"已认领",adoption:"认领",engaged:"已参与",engagement:"参与",unengaged:"需要参与",language:"语言",religion:"宗教",population:"人口",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",close:"关闭",clear:"清除",map_controls:"地图控件",clusters:"聚类",mst_full_name:"最小生成树",mst_hint:"点击图例中的一行,仅对该组进行聚类"},z_={bloc:"亲缘板块",gospel_access:"福音可及性",people:"民族",people_name:"民族(名称)",praying:"正在代祷",religion_family:"宗教族系",search_language:"搜索语言",search_people:"搜索民族",search_place:"搜索地点",search_religion:"搜索宗教",upgs_in_scope:"范围内的 UPG",countries_touched:"涉及国家",unreached:"未得之民",sum_population:"Σ 人口",sum_praying:"Σ 代祷",charts:"图表",table:"表格",cluster:"民族群",country:"国家",engagement:"参与",language:"语言",language_family:"语系",people_group:"民族",population:"人口",prayer:"祷告",region:"区域",religion:"宗教",status:"状态",adopted:"已认领",filters:"筛选",gospel_resources:"福音资源",map:"地图",search_placeholder:"搜索民族、地点、语言、宗教…",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",map_controls:"地图控件",close:"关闭",clear:"清除",dashboard_title:"全局研究仪表板",align_dashboard:"对齐仪表板",align_dashboard_tip:"将仪表板布局恢复为默认对齐",selected:"已选择",world:"世界",vertical_legend:"垂直图例",groups_in_scope:"个民族在范围内",filter_by:"筛选",remove_filter:"移除筛选",groups:"个民族",expand:"展开",collapse:"收起",place:"地点",export_csv:"导出 CSV",detail:"详情",detail_empty:"选择一个民族以查看详情",heartbeat_zone:"心跳区",top_countries:"主要国家",select_all:"全选",expand_table:"展开表格",collapse_table:"收起表格 — 放大地图",group:"个民族",deselect_all:"取消全选",results_live:"已显示 {total} 个{unit}中的 {count} 个",filters_live:"筛选条件:{list}",search_live:"搜索:{term}",adopted_by_churches:"已被教会认领",bp_title:"全局视图 — 统一研究仪表板",bp_subtitle:"搜索并筛选世界各民族 · 最少被触及的优先显示",export_selection:"导出此选择",map_loading:"正在加载研究地图…",no_match:"没有与“{q}”匹配的民族。",no_photo:"无照片",only_selected:"仅所选",only_selected_hint:"仅显示所选民族",people_committed:"已承诺的人数",people_praying:"祷告的人数",selected_first:"所选优先",selected_first_hint:"将所选民族置顶,同时保留您的列排序",n_shown:"显示 {n} 个",other:"其他",wagfRegion:{africa:"非洲",asia:"亚洲",europe:"欧洲","latin_america_&_caribbean":"拉丁美洲",oceania:"大洋洲",middle_east:"中东","north_america_&_non-spanish_caribbean":"北美及非西班牙语加勒比地区"},sort_by_column_hint:"按{column}排序此表 — Shift+单击可添加第二列。排序只影响表格;卡片保持各自的顺序。",fs_exit_hint:"退出全屏(Esc)— 返回七行视图",fs_open_hint:"全屏打开此表格",fs_exit:"退出全屏",fs_open:"全屏打开表格",export_selected_hint:"导出全部字段 — 已选民族:{n}",export_all_hint:"导出全部字段 — 民族:{n}",map_init_failed:"地图无法启动。请检查访问令牌与地图容器。",show_filters:"显示筛选",hide_filters:"隐藏筛选 —— 放大地图",show_charts:"显示图表",hide_charts:"隐藏图表 —— 放大地图",export_copied:"已复制到剪贴板",export_done:"已导出",export_ready:"已就绪",export_toast:"✓ {rows} 行 × {fields} 字段 {how}",export_failed:"✕ 导出失败",pray_for_group:"为这个民族祷告",more_information:"更多信息",title:"研究面板",gospel_pending:"尚未就绪:未得之民的数字、数据来源密钥与界面形式仍在确定中。"},D_={search:"搜索民族…",hide_filters:"隐藏筛选",show_filters:"显示筛选",total:"总计",showing:"显示",load_more:"加载更多",full_profile:"完整档案",wagf_region:"区域",wagf_block:"亲缘板块",rop1:"民族",religion:"宗教",exact_filter:"精确",clear_all:"全部清除",loading:"加载中…",no_results:"没有符合此筛选条件的民族。",type_to_search:"输入以搜索...",load_failed:"无法加载民族数据。这是连接问题,而不是筛选问题。",search_people_or_countries:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"},B_={title:{adoption:"认领进度",affinityBlocs:"亲缘板块",doxaRegions:"Doxa 区域",engagement:"参与进度",gospelResources:"福音资源",languageFamilies:"语系",prayer:"祷告进度",upg100List:"我的 UPG 100 名单",batchSelect:"批量选择"},header:{collapsed:"图例",peopleGroupFallback:"民族群体",default:"图例"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},progress:{title:"进度",covered:"{total} 个民族群体中已有 {covered} 个被祷告覆盖 · {pct}%",short:"{covered} / {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"语言"},tabInfo:{upg100Region:"区域 — 按世界区域排列 UPG-100 名单(非洲、印度、中东、聋人……)。数字是其下每份名单的 UUPG 与人口总和。",upg100Zone:"UPG-100 名单 — 每一份都是某地区未得之民的祷告名单,也是地图所绘制和上色的内容。每份名单印成独立的祷告册。",upg100Group:"族群 — 名单内各个未得之民群体,祷告需要最大的排在前面。地图上每个点就是其中之一。",family:"语系 —— 源自同一祖语的一组语言(如印欧语系、亚非语系)。",language:"语言 —— 一个民族所使用的交流系统(如阿拉伯语、孟加拉语、印地语)。",dialect:"方言/变体 —— 一种语言的地区性或社会性形式(如苏丹阿拉伯语;巴基斯坦手语)。",bloc:"亲缘板块 —— 最宽泛的分组,按文化、语言与地理上的亲缘关系划分(如马来诸族、南亚诸族、聋人、阿拉伯世界)。",cluster:"民族群 —— 板块之下更细的分组(如马来诸族中的婆罗洲-加里曼丹)。各行标有「(民族群)」,以与民族相区别。",group:"民族 —— 独立于国界的族群语言身份。各行标有「(民族)」。同一民族可分布于多国(例如聋人分布于一百多个国家)。",pgic:"国内民族 —— 每个民族在其所居各国各占一行(如「阿拜松盖,马来西亚」)。各行标有「(国内民族)」。",region:"WAGF 区域 —— 国家所属的大区(如亚洲、非洲)。地图上各有其颜色。",block:"WAGF 板块 —— 区域之下的次级分组(如东南亚、西非)。",country:"国家 —— 各个国家,按其板块内未得之民人口排列。"},a11y:{expandRow:"展开{label}",collapseRow:"折叠{label}",clearSelection:"清除选择",goUp:"返回上级:{label}"},export:{poster:"海报",packet:"UPG 100",packetExplain:"约 50 到 100 个未得之民的祷告名单——一个人就能领一份。",packetAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版"},noDataAtThisLevel:"此层级没有数据",exportButton:"导出",exportSelection:"导出所选内容",loadingRows:"正在加载{label}…",loadingData:"正在加载数据…",showingTop:"显示 {m} 个中的前 {n} 个",useGeocoderHint:"使用上方的搜索框查找其余内容",noList:"未加载任何列表。"},H_={doxa:{label:"2000 计划:DOXA 服侍的族群",definition:"DOXA 服侍的族群,以其实时名单为准"},unreached:{label:"7000 计划:未得之民族群",definition:"IMB 失丧优先级 0–2(前沿、先锋或扩展中的未得之民:福音派少于 2%)"},frontier:{label:"4700 计划:前沿族群",definition:"IMB 失丧优先级 0(前沿未得之民:福音派 0.1% 或更少)"},"frontier-500k":{label:"700 计划:人口 50 万或以上的前沿族群",definition:"IMB 失丧优先级 0,且人口至少 50 万"},unengaged:{label:"尚无人参与的未得之民族群",definition:"IMB 失丧优先级 0–2,且参与状态为:无人参与"}},U_={map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},j_={menuComingSoon:"菜单即将推出",pinHint:{tapDot:"点按一个彩色圆点——仍有人需要祷告"},upg100WallHeading:"我的 UPG 100 名单 — 祷告名单与海报",upg100WallTag:"祷告动员",upg100WallIntroA:"你会怎样喂饱五千人的群众?耶稣让他们一排五十、一排一百地坐下,不可能的事就变得可以分担了(路加福音 9:14)。我们对 2,106 个未得之民做了同样的事:27 份名单,每份约五十到一百。每份名单都能印成祷告手册和海报,让 27 位门徒、教会或当地领袖各领一份 — 为他们祷告 ",upg100WallIntroEmph:"称呼他们族群的名字",upg100WallIntroB:"。",loadingNamed:"正在加载{name}…",couldNotLoadNamed:"无法加载{name}。",engineMissing:"{engine} 地图引擎未能加载。",packetFailed:"祷告册生成失败:{reason}",selectionPacketFailed:"所选内容的祷告册生成失败:{reason}",posterOneTerritory:"海报一次只能打印一个区域——已选 {count} 个。",selectionPosterFailed:"所选内容的海报生成失败:{reason}",mapUnavailable:"地图不可用",copied:"已复制!",copyFailed:"复制失败——请按 Ctrl/Cmd-C",engineNotLoaded:"地图引擎未加载",engineNotLoadedDetail:"{engine} 地图引擎未能加载。列表和图例不受影响。",viewLoadFailed:"此视图无法加载。",retry:"重试",noMapboxToken:"没有 Mapbox 令牌",noMapboxTokenDetail:"未配置 Mapbox 令牌。列表和图例不受影响。",loadingBoundaries:"正在加载边界…",fetchingUupgs:"正在获取 {n} 个 UUPG…",mapStatusCounts:"区域:{polys} · 分区:{zones}/{total} · 标记:{pins}",tapTerritoriesHint:"点按地图上的区域或图例行即可添加 · 再次点按即可移除",territoriesSelected:"区域:{count}",bandInRange:"✓ 50–100 区间",bandOutOfRange:"50–100 区间",mapContextLost:"已卸载此地图以释放显存。",nOfTotal:"{total} 个中的 {n} 个",mapInitFailed:"地图初始化失败——请检查令牌和容器",countryWallIntroA:"每个国家一张海报,可用来祷告、打印、贴在墙上——为他们祷告,",countryWallIntroB:"。各区域和国家按其中未得之民族群的数量排序,让最大的需要排在最前。",countryWallSoon:"即将推出:将为每个国家生成一份祷告名单,列出其中每一个未得之民族群的名字。",countryWallHeading:"国家海报 — 祷告名单与海报",largerScreenNotice:"这张实验性地图为大屏幕设计。它可以在这里打开,但部分内容在手机上可能显示不全或无法正常使用。",desktopOnlyNotice:"{label} 仅支持桌面端——请在电脑上打开此页面使用。",noticeDismiss:"关闭",countryPosterTooMany:"族群数量过多,无法清晰地放在一张海报上——我们正在制定解决方案。"},G_={family:{Christianity:"基督教",Islam:"伊斯兰教",Hinduism:"印度教",Buddhism:"佛教",Ethnoreligion:"民族宗教",Judaism:"犹太教",Sikhism:"锡克教",Unaffiliated:"无宗教归属",Other:"其他",Unknown:"未知"}},W_={placeholder:"民族、地点、语言、宗教",placeholderNoPlaces:"民族、语言、宗教(地点搜索需要 Mapbox 令牌)",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"},sections:{within:"在 {selection} 之內",allData:"所有 DOXA 资料"},kinds:{people:"民族 + 国家",peopleGroup:"民族",bloc:"亲缘板块",cluster:"民族群",country:"国家",region:"区域",family:"语系",languageKind:"语言",dialect:"方言",religionKind:"宗教"},upg100Placeholder:"搜索民族、UPG-100 名单或区域…",tabPlaceholder:{languageFamilies:"搜索语系、语言、方言/变体",affinityBlocks:"搜索亲缘板块、民族群、民族",regions:"搜索区域、国家、民族",religion:"搜索宗教、民族"},placeholderRegions:"搜索区域、国家或族群"},q_={embed_link:"嵌入链接",add_to_website:"添加到您的网站",embed_paste_hint:"将此代码粘贴到您的网站构建器中(WordPress、Squarespace、Wix,或任何接受 HTML 小部件的网站)。"};/*! + */const xh=Symbol();var zc;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zc||(zc={}));function kh(){const e=Br(!0),t=e.run(()=>pe({}));let o=[],n=[];const a=wl({install(r){a._a=r,r.provide(xh,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const Sh={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل",collapseLegend:"طيّ وسيلة الإيضاح",expandLegend:"توسيع وسيلة الإيضاح",toggleLegend:"إظهار وسيلة الإيضاح أو إخفاؤها",searchPeopleGroups:"ابحث عن الشعوب",resetAllFilters:"إعادة تعيين كل عوامل التصفية والبحث",selectAllRows:"تحديد كل الصفوف",deselectAllRows:"إلغاء تحديد كل الصفوف",rowDetail:"تفاصيل الصف",dismissHint:"إخفاء التلميح",resizeFiltersRail:"تغيير حجم شريط عوامل التصفية",resizeFiltersRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط عوامل التصفية",resizeChartsRail:"تغيير حجم شريط الرسوم البيانية",resizeChartsRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط الرسوم البيانية",resizeMapTableSplit:"تغيير نسبة التقسيم بين الخريطة والجدول",resizeMapTableSplitHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير نسبة التقسيم بين الخريطة والجدول",resizeTable:"تغيير ارتفاع الجدول",resizeTableHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم الجدول",resizeDashboardHeight:"تغيير ارتفاع لوحة المعلومات",resizeDashboardHeightHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير ارتفاع لوحة المعلومات",removeFilter:"إزالة عامل التصفية {name}",closeDetail:"إغلاق التفاصيل",filterBreadcrumb:"مسار عوامل التصفية",railViews:"طرق عرض الشريط",upgCountLegend:"مفتاح عدد UPG",donutChart:"مخطط دائري مجوّف: {title}"},Ah={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين",posterMap:"خريطة الملصق",prayerList:"قائمة الصلاة",cardDeck:"مجموعة البطاقات",printOptions:"خيارات الطباعة",showOnMap:"أظهر على الخريطة",close:"إغلاق",showOnMapAria:"أظهر {label} على الخريطة",cardStockAria:"حجم بطاقة الصلاة",previewPrintPoster:"معاينة وطباعة ملصق {label}",share:"مشاركة",shareSteps:["ضع هذه الخريطة على موقعك","أعدّ قائمة بمواقع الويب في مدينتك","علّمهم أن يضعوها أيضًا","علّمهم أن يعلّموا غيرهم وضعها","لنكثر الخرائط في كل مكان ليسوع!"],clearSelection:"إلغاء التحديد",noOptions:"لا توجد نتائج",renderingLocal:"يتم إنشاء صورة بجودة الطباعة في متصفحك — لا يتم تحميل أي شيء.",postersPerRow:"الملصقات في كل صف",packetVariantAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة",working:"جارٍ العمل…",postersPerRowAuto:"تلقائي"},Lh={research_controls:"أدوات البحث",clustering:"التجميع",filters:"عوامل التصفية",pin_dim:"خفوت النقاط",export_poster:"تصدير ملصق…",reload_data:"إعادة تحميل البيانات",off:"إيقاف",native:"أصلي",mst:"الشجرة الممتدة",network:"شبكة",off_desc:"إظهار كل نقطة على حدة",native_desc:"تجميع دوائر Mapbox (الأسرع)",mst_desc:"شبكات تقارب بالشجرة الممتدة الصغرى",network_desc:"خطوط ربط بأقرب جار",search_languages:"ابحث عن اللغات…",search_religions:"ابحث عن الأديان…",reset_all:"إعادة تعيين الكل",no_languages:"لم تُحمَّل أي لغات بعد",no_religions:"لم تُحمَّل أي أديان بعد",unadopted:"غير متبنّى",min:"الأدنى",max:"الأعلى",adopted:"متبنَّاة",adoption:"التبني",engaged:"مُخْدُومَة",engagement:"المشاركة",unengaged:"يحتاج إلى انخراط",language:"اللغة",religion:"الدين",population:"السكان",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",close:"إغلاق",clear:"مسح",map_controls:"أدوات التحكم بالخريطة",clusters:"التجمّعات",mst_full_name:"الشجرة الممتدة الصغرى",mst_hint:"اضغط على صف في مفتاح الخريطة لتجميع تلك المجموعة وحدها"},Th={bloc:"كتلة التقارب",gospel_access:"الوصول إلى الإنجيل",people:"الشعوب",people_name:"الشعب (الاسم)",praying:"يصلّون",religion_family:"عائلة الأديان",search_language:"ابحث عن لغة",search_people:"ابحث عن شعب",search_place:"ابحث عن مكان",search_religion:"ابحث عن دين",upgs_in_scope:"الشعوب ضمن النطاق",countries_touched:"الدول المشمولة",unreached:"غير موصولين",sum_population:"مجموع السكان",sum_praying:"مجموع المصلّين",charts:"الرسوم البيانية",table:"الجدول",cluster:"المجموعة",country:"الدولة",engagement:"المشاركة",language:"اللغة",language_family:"عائلة اللغة",people_group:"الشعب",population:"السكان",prayer:"الصلاة",region:"المنطقة",religion:"الدين",status:"الحالة",adopted:"متبنَّاة",filters:"عوامل التصفية",gospel_resources:"موارد الإنجيل",map:"الخريطة",search_placeholder:"ابحث عن الشعوب والأماكن واللغات والأديان…",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",map_controls:"أدوات التحكم بالخريطة",close:"إغلاق",clear:"مسح",dashboard_title:"لوحة البحث الشاملة",align_dashboard:"محاذاة اللوحة",align_dashboard_tip:"إعادة تخطيط اللوحة إلى المحاذاة الافتراضية",selected:"المحدد",world:"العالم",vertical_legend:"مفتاح عمودي",groups_in_scope:"مجموعة ضمن النطاق",filter_by:"تصفية حسب",remove_filter:"إزالة التصفية",groups:"مجموعة",expand:"توسيع",collapse:"طيّ",place:"المكان",export_csv:"تصدير CSV",detail:"التفاصيل",detail_empty:"اختر شعبًا لعرض التفاصيل",heartbeat_zone:"منطقة نبض القلب",top_countries:"أبرز الدول",select_all:"تحديد الكل",expand_table:"توسيع الجدول",collapse_table:"طيّ الجدول — توسيع الخريطة",group:"مجموعة",deselect_all:"إلغاء تحديد الكل",results_live:"عرض {count} من أصل {total} {unit}",filters_live:"عوامل التصفية: {list}",search_live:"البحث: {term}",adopted_by_churches:"تم تبنّيها من قِبل الكنائس",bp_title:"الصورة الكاملة — لوحة البحث الموحّدة",bp_subtitle:"ابحث وصفِّ شعوب العالم · الأقل وصولاً إليها أولاً",export_selection:"تصدير هذا التحديد",map_loading:"جارٍ تحميل خريطة البحث…",no_match:"لا توجد شعوب تطابق ”{q}“.",no_photo:"لا توجد صورة",only_selected:"المحدَّدة فقط",only_selected_hint:"إظهار الشعوب المحدَّدة فقط",people_committed:"الأشخاص الملتزمون",people_praying:"الأشخاص المصلّون",selected_first:"المحدَّدة أولاً",selected_first_hint:"رفع الشعوب المحدَّدة إلى الأعلى مع الإبقاء على ترتيب الأعمدة",n_shown:"{n} معروض",other:"أخرى",wagfRegion:{africa:"أفريقيا",asia:"آسيا",europe:"أوروبا","latin_america_&_caribbean":"أمريكا اللاتينية",oceania:"أوقيانوسيا",middle_east:"الشرق الأوسط","north_america_&_non-spanish_caribbean":"أمريكا الشمالية والكاريبي غير الناطق بالإسبانية"},sort_by_column_hint:"رتّب هذا الجدول حسب {column} — النقر مع Shift يضيف عمودًا ثانيًا. الفرز يرتّب الجدول فقط؛ وتحتفظ البطاقات بترتيبها.",fs_exit_hint:"الخروج من ملء الشاشة (Esc) — العودة إلى سبعة صفوف",fs_open_hint:"فتح هذا الجدول بملء الشاشة",fs_exit:"الخروج من ملء الشاشة",fs_open:"فتح الجدول بملء الشاشة",export_selected_hint:"تصدير جميع الحقول — الشعوب المحددة: {n}",export_all_hint:"تصدير جميع الحقول — الشعوب: {n}",map_init_failed:"تعذّر تشغيل الخريطة. تحقّق من رمز الوصول ومن حاوية الخريطة.",show_filters:"إظهار المرشّحات",hide_filters:"إخفاء المرشّحات — لتوسيع الخريطة",show_charts:"إظهار الرسوم",hide_charts:"إخفاء الرسوم — لتوسيع الخريطة",export_copied:"نُسخ إلى الحافظة",export_done:"صُدّر",export_ready:"جاهز",export_toast:"✓ {rows} صفًّا × {fields} حقلًا {how}",export_failed:"✕ فشل التصدير",pray_for_group:"صلِّ لأجل هذا الشعب",more_information:"مزيد من المعلومات",title:"لوحة البحث",gospel_pending:"غير جاهز بعد: ما زال رقم غير الموصول إليهم ومفتاح مصدر البيانات وشكل الواجهة قيد التقرير."},Ch={search:"ابحث عن الشعوب…",hide_filters:"إخفاء عوامل التصفية",show_filters:"إظهار عوامل التصفية",total:"الإجمالي",showing:"المعروض",load_more:"عرض المزيد",full_profile:"الملف الكامل",wagf_region:"المنطقة",wagf_block:"كتلة التقارب",rop1:"الشعب",religion:"الدين",exact_filter:"تطابق تام",clear_all:"مسح الكل",loading:"جارٍ التحميل…",no_results:"لا توجد شعوب مطابقة لهذا التصفية.",type_to_search:"اكتب للبحث...",load_failed:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية.",search_people_or_countries:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},Ph={title:{adoption:"تقدم التبني",affinityBlocs:"كتل القرابة",doxaRegions:"مناطق Doxa",engagement:"تقدم الانخراط",gospelResources:"موارد الإنجيل",languageFamilies:"العائلات اللغوية",prayer:"تقدم الصلاة",upg100List:"قائمة UPG 100 الخاصة بي",batchSelect:"تحديد متعدد"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب",default:"مفتاح الخريطة"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},progress:{title:"التقدم",covered:"{covered} من {total} مجموعة شعبية مغطاة بالصلاة · {pct}%",short:"{covered} من {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"اللغات"},tabInfo:{upg100Region:"المنطقة — ترتّب قوائم UPG-100 حسب منطقة العالم (أفريقيا، الهند، الشرق الأوسط، الصمّ، …). الأعداد هي مجموع UUPG والسكان لكل قائمة تحتها.",upg100Zone:"قوائم UPG-100 — كل واحدة هي قائمة صلاة للشعوب غير الموصول إليها في منطقة ما، وهي ما ترسمه الخريطة وتلوّنه. تُطبع كل قائمة ككُتيّب خاص بها.",upg100Group:"مجموعة شعبية — المجموعات غير الموصول إليها داخل القائمة، الأكثر حاجة للصلاة أولاً. كل نقطة على الخريطة هي واحدة منها.",family:"عائلة اللغة — مجموعة لغات منحدرة من أصل مشترك (مثل الهندية الأوروبية، الأفروآسيوية).",language:"اللغة — نظام تواصل يستخدمه شعب ما (مثل العربية، البنغالية، الهندية).",dialect:"اللهجة/التنوع — صورة إقليمية أو اجتماعية للغة (مثل العربية السودانية؛ لغة الإشارة الباكستانية).",bloc:"كتلة التقارب — أوسع تجميع، بحسب القرابة الثقافية واللغوية والجغرافية (مثل الشعوب الملايوية، شعوب جنوب آسيا، الصمّ، العالم العربي).",cluster:"المجموعة — تجميع أدقّ داخل الكتلة (مثل بورنيو-كاليمانتان ضمن الشعوب الملايوية). تُوسم الصفوف بـ «(مجموعة)» لتمييزها عن الشعوب.",group:"الشعب — هوية إثنية لغوية قائمة بذاتها، مستقلة عن الدولة. تُوسم الصفوف بـ «(شعب)». وقد يعيش الشعب الواحد في دول كثيرة (الصمّ مثلًا في أكثر من مئة دولة).",pgic:"الشعب في الدولة — صف لكل شعب في كل دولة يعيش فيها (مثل «أباي سونغاي، ماليزيا»). تُوسم الصفوف بـ «(شعب في دولة)».",region:"منطقة WAGF — المنطقة الكبرى التي تنتمي إليها الدولة (مثل آسيا، أفريقيا). لكل منها لون خاص على الخريطة.",block:"كتلة WAGF — التجميع الفرعي داخل المنطقة (مثل جنوب شرق آسيا، غرب أفريقيا).",country:"الدولة — الدول منفردة، مرتّبة حسب عدد السكان غير الموصول إليهم داخل كتلتها."},a11y:{expandRow:"توسيع {label}",collapseRow:"طي {label}",clearSelection:"إلغاء التحديد",goUp:"الانتقال إلى المستوى الأعلى: {label}"},export:{poster:"ملصق",packet:"UPG 100",packetExplain:"قائمة صلاة من نحو ٥٠ إلى ١٠٠ شعب غير مبلَّغ — يستطيع شخص واحد أن يحمل واحدة.",packetAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة"},noDataAtThisLevel:"لا توجد بيانات في هذا المستوى",exportButton:"تصدير",exportSelection:"تصدير التحديد",loadingRows:"جارٍ تحميل {label}…",loadingData:"جارٍ تحميل البيانات…",showingTop:"عرض أعلى {n} من {m}",useGeocoderHint:"استخدم أداة البحث أعلاه للعثور على البقية",noList:"لم يتم تحميل أي قائمة."},Eh={doxa:{label:"المشروع 2000: الشعوب التي تخدمها DOXA",definition:"الشعوب التي تخدمها DOXA كما تقدّمها قائمتها الحيّة"},unreached:{label:"المشروع 7000: الشعوب غير المُبشَّرة",definition:"أولوية الضياع لدى IMB من 0 إلى 2 (حدودية أو رائدة أو متوسّعة غير مُبشَّرة: أقل من 2% إنجيليون)"},frontier:{label:"المشروع 4700: الشعوب الحدودية",definition:"أولوية الضياع لدى IMB بقيمة 0 (حدودية غير مُبشَّرة: 0.1% إنجيليون أو أقل)"},"frontier-500k":{label:"المشروع 700: الشعوب الحدودية التي يبلغ عددها 500,000 أو أكثر",definition:"أولوية الضياع لدى IMB بقيمة 0 وعدد سكان لا يقل عن 500,000"},unengaged:{label:"الشعوب غير المُبشَّرة التي لم يُعمَل بينها",definition:"أولوية الضياع لدى IMB من 0 إلى 2 وحالة العمل: لم يُعمَل بينها"}},Mh={map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},Rh={menuComingSoon:"القائمة قادمة قريباً",pinHint:{tapDot:"اضغط على نقطة ملوّنة — لا يزال هناك من يحتاج إلى الصلاة"},upg100WallHeading:"قائمتي UPG 100 — قوائم صلاة وملصقات",upg100WallTag:"تعبئة للصلاة",upg100WallIntroA:"كيف تُطعم جمعًا من خمسة آلاف؟ أجلسهم يسوع جماعاتٍ من خمسين ومن مئة، فصار المستحيل قابلًا للمشاركة (لوقا ٩:١٤). فعلنا المثل مع ٢١٠٦ شعوب غير مبلَّغة: ٢٧ قائمة من نحو خمسين إلى مئة. تُطبع كل قائمة حزمةَ صلاة وملصقًا، ليحمل ٢٧ تلميذًا أو كنيسة أو قائدًا محليًا كلٌّ واحدة — مصلّين لأجلهم ",upg100WallIntroEmph:"باسم شعبهم",upg100WallIntroB:".",loadingNamed:"جارٍ تحميل {name}…",couldNotLoadNamed:"تعذّر تحميل {name}.",engineMissing:"لم يتم تحميل محرك الخرائط {engine}.",packetFailed:"فشل إنشاء الكُتيّب: {reason}",selectionPacketFailed:"فشل إنشاء كُتيّب التحديد: {reason}",posterOneTerritory:"الملصق يطبع منطقة واحدة في كل مرة — {count} محددة.",selectionPosterFailed:"فشل إنشاء ملصق التحديد: {reason}",mapUnavailable:"الخريطة غير متاحة",copied:"تم النسخ!",copyFailed:"فشل النسخ — اضغط Ctrl/Cmd-C",engineNotLoaded:"لم يتم تحميل محرك الخريطة",engineNotLoadedDetail:"لم يتم تحميل محرك الخريطة {engine}. القائمة ووسيلة الإيضاح غير متأثرتين.",viewLoadFailed:"تعذّر تحميل هذا العرض.",retry:"إعادة المحاولة",noMapboxToken:"لا يوجد رمز Mapbox",noMapboxTokenDetail:"لم يُضبط أي رمز Mapbox. القائمة ووسيلة الإيضاح غير متأثرتين.",loadingBoundaries:"جارٍ تحميل الحدود…",fetchingUupgs:"جارٍ جلب {n} من UUPG…",mapStatusCounts:"المساحات: {polys} · المناطق: {zones}/{total} · الدبابيس: {pins}",tapTerritoriesHint:"انقر على الأقاليم في الخريطة أو صفوف وسيلة الإيضاح لإضافتها · انقر مجددًا لإزالتها",territoriesSelected:"الأقاليم: {count}",bandInRange:"✓ النطاق 50–100",bandOutOfRange:"النطاق 50–100",mapContextLost:"تم إلغاء تحميل هذه الخريطة لتحرير ذاكرة الرسوميات.",nOfTotal:"{n} من {total}",mapInitFailed:"تعذّر تهيئة الخريطة — تحقّق من الرمز والحاوية",countryWallIntroA:"ملصق لكل دولة، جاهز للصلاة والطباعة والتعليق على الحائط — نصلّي لأجلهم ",countryWallIntroB:". رُتّبت المناطق والدول بحسب عدد الشعوب غير المبلَّغة فيها، لتتقدّم الحاجة الأكبر.",countryWallSoon:"قريبًا: ستُنشأ قائمة صلاة لكل دولة، تسمّي كل شعب غير مبلَّغ فيها.",countryWallHeading:"ملصقات الدول — قوائم صلاة وملصقات",largerScreenNotice:"هذه الخريطة التجريبية مُعدّة للشاشات الكبيرة. تُفتح هنا، لكن بعض أجزائها قد لا يتّسع أو لا يعمل جيدًا على الهاتف.",desktopOnlyNotice:"{label} يعمل على الحاسوب فقط — افتح هذه الصفحة على حاسوب لاستخدامه.",noticeDismiss:"إغلاق",countryPosterTooMany:"عدد الشعوب أكبر من أن يتّسع له ملصق واحد بوضوح — ونعمل على حلّ لذلك."},Fh={family:{Christianity:"المسيحية",Islam:"الإسلام",Hinduism:"الهندوسية",Buddhism:"البوذية",Ethnoreligion:"الديانات العرقية",Judaism:"اليهودية",Sikhism:"السيخية",Unaffiliated:"غير منتمين",Other:"أخرى",Unknown:"غير معروف"}},Nh={placeholder:"شعب، مكان، لغة، ديانة",placeholderNoPlaces:"شعب، لغة، ديانة (البحث عن الأماكن يتطلب رمز Mapbox)",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"},sections:{within:"ضمن {selection}",allData:"كل بيانات DOXA"},upg100Placeholder:"ابحث عن شعب أو قائمة UPG-100 أو منطقة…",tabPlaceholder:{languageFamilies:"ابحث في عائلة اللغة أو اللغة أو اللهجة/التنوع",affinityBlocks:"ابحث في كتلة التقارب أو المجموعة أو الشعب",regions:"ابحث في المنطقة أو الدولة أو الشعب",religion:"ابحث في الديانة أو الشعب"},placeholderRegions:"ابحث عن منطقة أو دولة أو شعب"},Oh={embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},Ih={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen",collapseLegend:"Legende einklappen",expandLegend:"Legende ausklappen",toggleLegend:"Legende ein- oder ausblenden",searchPeopleGroups:"Volksgruppen suchen",resetAllFilters:"Alle Filter und die Suche zurücksetzen",selectAllRows:"Alle Zeilen auswählen",deselectAllRows:"Auswahl aller Zeilen aufheben",rowDetail:"Zeilendetails",dismissHint:"Hinweis schließen",resizeFiltersRail:"Filterleiste in der Größe ändern",resizeFiltersRailHint:"Ziehen oder Pfeiltasten verwenden, um die Filterleiste in der Größe zu ändern",resizeChartsRail:"Diagrammleiste in der Größe ändern",resizeChartsRailHint:"Ziehen oder Pfeiltasten verwenden, um die Diagrammleiste in der Größe zu ändern",resizeMapTableSplit:"Aufteilung zwischen Karte und Tabelle ändern",resizeMapTableSplitHint:"Ziehen oder Pfeiltasten verwenden, um die Aufteilung zwischen Karte und Tabelle zu ändern",resizeTable:"Tabellenhöhe ändern",resizeTableHint:"Ziehen oder Pfeiltasten verwenden, um die Tabelle in der Größe zu ändern",resizeDashboardHeight:"Höhe des Dashboards ändern",resizeDashboardHeightHint:"Ziehen oder Pfeiltasten verwenden, um die Höhe des Dashboards zu ändern",removeFilter:"Filter {name} entfernen",closeDetail:"Details schließen",filterBreadcrumb:"Filterpfad",railViews:"Ansichten der Leiste",upgCountLegend:"Legende der UPG-Anzahl",donutChart:"Ringdiagramm: {title}"},zh={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",posterMap:"Posterkarte",prayerList:"Gebetsliste",cardDeck:"Kartenset",printOptions:"Druckoptionen",showOnMap:"Auf der Karte zeigen",close:"Schließen",showOnMapAria:"{label} auf der Karte zeigen",cardStockAria:"Größe der Gebetskarte",previewPrintPoster:"Vorschau und Druck des Posters {label}",share:"Teilen",shareSteps:["Binde diese Karte auf deiner Website ein","Erstelle eine Liste der Websites in deiner Stadt","Zeige ihnen, wie sie sie ebenfalls einbinden","Zeige ihnen, wie sie es anderen beibringen","Lasst uns Karten überall vermehren – für Jesus!"],clearSelection:"Auswahl aufheben",noOptions:"Keine Optionen gefunden",renderingLocal:"Ein druckfähiges Bild wird in deinem Browser erzeugt — es wird nichts hochgeladen.",postersPerRow:"Poster pro Zeile",packetVariantAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt",working:"Wird bearbeitet…",postersPerRowAuto:"Automatisch"},Dh={research_controls:"Forschungssteuerung",clustering:"Clustering",filters:"Filter",pin_dim:"Pin-Transparenz",export_poster:"Poster exportieren…",reload_data:"Daten neu laden",off:"Aus",native:"Nativ",mst:"MST",network:"Netzwerk",off_desc:"Jeden Pin einzeln anzeigen",native_desc:"Mapbox-Kreiscluster (am schnellsten)",mst_desc:"Affinitätsnetze über minimalen Spannbaum",network_desc:"Verbindungslinien zum nächsten Nachbarn",search_languages:"Sprachen suchen…",search_religions:"Religionen suchen…",reset_all:"Alles zurücksetzen",no_languages:"Noch keine Sprachen geladen",no_religions:"Noch keine Religionen geladen",unadopted:"Nicht adoptiert",min:"min",max:"max",adopted:"Adoptiert",adoption:"Adoption",engaged:"Engagiert",engagement:"Engagement",unengaged:"Braucht Engagement",language:"Sprache",religion:"Religion",population:"Bevölkerung",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",close:"Schließen",clear:"Zurücksetzen",map_controls:"Kartensteuerung",clusters:"Cluster",mst_full_name:"Minimaler Spannbaum",mst_hint:"Klicken Sie auf eine Legendenzeile, um nur diese Gruppe zu clustern"},Bh={bloc:"Affinitätsblock",gospel_access:"Zugang zum Evangelium",people:"Völker",people_name:"Volk (Name)",praying:"Betend",religion_family:"Religionsfamilie",search_language:"Sprache suchen",search_people:"Volk suchen",search_place:"Ort suchen",search_religion:"Religion suchen",upgs_in_scope:"UPGs im Bereich",countries_touched:"berührte Länder",unreached:"unerreicht",sum_population:"Σ Bevölkerung",sum_praying:"Σ Betende",charts:"Diagramme",table:"Tabelle",cluster:"Cluster",country:"Land",engagement:"Engagement",language:"Sprache",language_family:"Sprachfamilie",people_group:"Volk",population:"Bevölkerung",prayer:"Gebet",region:"Region",religion:"Religion",status:"Status",adopted:"Adoptiert",filters:"Filter",gospel_resources:"Evangeliumsressourcen",map:"Karte",search_placeholder:"Volksgruppen, Orte, Sprachen, Religionen suchen…",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",map_controls:"Kartensteuerung",close:"Schließen",clear:"Zurücksetzen",dashboard_title:"Big-Picture-Forschungsdashboard",align_dashboard:"Layout ausrichten",align_dashboard_tip:"Das Dashboard-Layout auf die Standardausrichtung zurücksetzen",selected:"Ausgewählt",world:"Welt",vertical_legend:"Vertikale Legende",groups_in_scope:"Volksgruppen im Bereich",filter_by:"Filtern nach",remove_filter:"Filter entfernen",groups:"Volksgruppen",expand:"Aufklappen",collapse:"Zuklappen",place:"Ort",export_csv:"CSV exportieren",detail:"Details",detail_empty:"Wählen Sie eine Volksgruppe, um Details zu sehen",heartbeat_zone:"Herzschlag-Zone",top_countries:"Top-Länder",select_all:"Alle auswählen",expand_table:"Tabelle ausklappen",collapse_table:"Tabelle einklappen – Karte vergrößern",group:"Volksgruppe",deselect_all:"Auswahl aufheben",results_live:"{count} von {total} {unit} angezeigt",filters_live:"Filter: {list}",search_live:"Suche: {term}",adopted_by_churches:"Von Gemeinden übernommen",bp_title:"Big Picture — einheitliches Forschungs-Dashboard",bp_subtitle:"Die Volksgruppen der Welt suchen und filtern · am wenigsten erreichte zuerst",export_selection:"Diese Auswahl exportieren",map_loading:"Forschungskarte wird geladen…",no_match:"Keine Volksgruppen entsprechen „{q}“.",no_photo:"Kein Foto",only_selected:"Nur ausgewählte",only_selected_hint:"Nur die ausgewählten Volksgruppen anzeigen",people_committed:"Verbindlich zugesagte Personen",people_praying:"Betende Personen",selected_first:"Ausgewählte zuerst",selected_first_hint:"Die ausgewählten Volksgruppen nach oben holen, die Spaltensortierung bleibt erhalten",n_shown:"{n} angezeigt",other:"Andere",wagfRegion:{africa:"Afrika",asia:"Asien",europe:"Europa","latin_america_&_caribbean":"Lateinamerika",oceania:"Ozeanien",middle_east:"Naher Osten","north_america_&_non-spanish_caribbean":"Nordamerika und nicht-spanische Karibik"},sort_by_column_hint:"Tabelle nach {column} sortieren – Umschalt-Klick fügt eine zweite Spalte hinzu. Die Sortierung ordnet nur die Tabelle; die Karten behalten ihre eigene Reihenfolge.",fs_exit_hint:"Vollbild beenden (Esc) — zurück zu sieben Zeilen",fs_open_hint:"Diese Tabelle im Vollbild öffnen",fs_exit:"Vollbild beenden",fs_open:"Tabelle im Vollbild öffnen",export_selected_hint:"Alle Felder exportieren — ausgewählte Volksgruppen: {n}",export_all_hint:"Alle Felder exportieren — Volksgruppen: {n}",map_init_failed:"Die Karte konnte nicht starten. Prüfen Sie das Zugriffstoken und den Kartencontainer.",show_filters:"Filter einblenden",hide_filters:"Filter ausblenden — Karte vergrößern",show_charts:"Diagramme einblenden",hide_charts:"Diagramme ausblenden — Karte vergrößern",export_copied:"in die Zwischenablage kopiert",export_done:"exportiert",export_ready:"bereit",export_toast:"✓ {rows} Zeilen × {fields} Felder {how}",export_failed:"✕ Export fehlgeschlagen",pray_for_group:"Für diese Volksgruppe beten",more_information:"Weitere Informationen",title:"Forschungs-Dashboard",gospel_pending:"Noch nicht so weit: die Zahl der Unerreichten, der Schlüssel zur Datenquelle und die Gestaltung werden noch entschieden."},Hh={search:"Volksgruppen suchen…",hide_filters:"Filter ausblenden",show_filters:"Filter anzeigen",total:"Gesamt",showing:"Angezeigt",load_more:"Mehr laden",full_profile:"Vollständiges Profil",wagf_region:"Region",wagf_block:"Affinitätsblock",rop1:"Volk",religion:"Religion",exact_filter:"Exakt",clear_all:"Alle löschen",loading:"Wird geladen…",no_results:"Keine Volksgruppen entsprechen diesem Filter.",type_to_search:"Zum Suchen tippen...",load_failed:"Die Daten konnten nicht geladen werden. Das ist ein Verbindungsproblem, nicht Ihr Filter.",search_people_or_countries:"Volksgruppen oder Länder suchen…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},Uh={title:{adoption:"Adoptionsfortschritt",affinityBlocs:"Affinitätsblöcke",doxaRegions:"Doxa-Regionen",engagement:"Engagement-Fortschritt",gospelResources:"Evangeliumsressourcen",languageFamilies:"Sprachfamilien",prayer:"Gebetsfortschritt",upg100List:"Meine UPG-100-Liste",batchSelect:"Mehrfachauswahl"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe",default:"Legende"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},progress:{title:"Fortschritt",covered:"{covered} von {total} Volksgruppen im Gebet abgedeckt · {pct}%",short:"{covered} von {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung",name:"Name"},footer:{total:"Gesamt"},sortByUpgs:"Nach UUPGs sortieren",sortByPop:"Nach Bevölkerung sortieren",colLabel:{religion:"UUPG-Religionen",prayer:"Gebetsstatus",engagement:"Engagement-Status",adoption:"Adoptionsstatus",status:"Status"},titleBar:{legend:"Legende",peopleGroups:"Völker",wagfRegions:"WAGF-Regionen",languages:"Sprachen"},tabInfo:{upg100Region:"Region — sortiert die UPG-100-Listen nach Weltgegend (Afrika, Indien, Naher Osten, Gehörlose, …). Die Zahlen sind die UUPGs und die Bevölkerung aller darunterliegenden Listen zusammen.",upg100Zone:"UPG-100-Listen — jede ist eine Gebetsliste der unerreichten Volksgruppen eines Gebiets und das, was die Karte zeichnet und einfärbt. Jede Liste wird als eigenes Heft gedruckt.",upg100Group:"Volksgruppe — die einzelnen unerreichten Gruppen innerhalb einer Liste, größter Gebetsbedarf zuerst. Jeder Kartenpunkt ist eine davon.",family:"Sprachfamilie — eine Gruppe von Sprachen gemeinsamen Ursprungs (z. B. indogermanisch, afroasiatisch).",language:"Sprache — ein Verständigungssystem, das eine Volksgruppe verwendet (z. B. Arabisch, Bengalisch, Hindi).",dialect:"Dialekt/Varietät — eine regionale oder soziale Form einer Sprache (z. B. sudanesisches Arabisch; pakistanische Gebärdensprache).",bloc:"Affinitätsblock — die weiteste Gruppierung, nach kultureller, sprachlicher und geografischer Verwandtschaft (z. B. malaiische Völker, südasiatische Völker, Gehörlose, arabische Welt).",cluster:"Cluster — eine feinere Gruppierung innerhalb eines Blocks (z. B. Borneo-Kalimantan bei den malaiischen Völkern). Zeilen sind mit „(Cluster)“ gekennzeichnet, um sie von Volksgruppen zu unterscheiden.",group:"Volksgruppe — eine ethnolinguistische Identität für sich, unabhängig vom Land. Zeilen sind mit „(VG)“ gekennzeichnet. Eine Gruppe kann in vielen Ländern leben (Gehörlose etwa in über hundert).",pgic:"Volksgruppe im Land — eine Zeile je Volksgruppe und Land, in dem sie lebt (z. B. „Abai Sungai, Malaysia“). Zeilen sind mit „(VGL)“ gekennzeichnet.",region:"WAGF-Region — die Großregion, zu der ein Land gehört (z. B. Asien, Afrika). Jede hat auf der Karte ihre eigene Farbe.",block:"WAGF-Block — die Untergruppe innerhalb einer Region (z. B. Südostasien, Westafrika).",country:"Land — einzelne Länder, geordnet nach unerreichter Bevölkerung innerhalb ihres Blocks."},a11y:{expandRow:"{label} ausklappen",collapseRow:"{label} einklappen",clearSelection:"Auswahl aufheben",goUp:"Eine Ebene höher zu {label}"},export:{poster:"Plakat",packet:"UPG 100",packetExplain:"Eine Gebetsliste von etwa 50 bis 100 unerreichten Volksgruppen — eine Person kann eine tragen.",packetAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt"},noDataAtThisLevel:"Keine Daten auf dieser Ebene",exportButton:"Exportieren",exportSelection:"Auswahl exportieren",loadingRows:"{label} werden geladen…",loadingData:"Daten werden geladen…",showingTop:"Top {n} von {m} werden angezeigt",useGeocoderHint:"verwenden Sie die Suche oben, um die übrigen zu finden",noList:"Keine Liste geladen."},jh={doxa:{label:"Projekt 2000: die Volksgruppen von DOXA",definition:"Die Volksgruppen, denen DOXA dient, wie seine Live-Liste sie angibt"},unreached:{label:"Projekt 7000: unerreichte Volksgruppen",definition:"IMB Lostness Priority 0–2 (Frontier, Pioneer oder Expanding Unreached: unter 2 % Evangelikale)"},frontier:{label:"Projekt 4700: Frontier-Volksgruppen",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0,1 % Evangelikale oder weniger)"},"frontier-500k":{label:"Projekt 700: Frontier-Volksgruppen mit 500.000 oder mehr Menschen",definition:"IMB Lostness Priority 0 und eine Bevölkerung von mindestens 500.000"},unengaged:{label:"Unerreichte Volksgruppen ohne Engagement",definition:"IMB Lostness Priority 0–2 und Engagement-Status: ohne Engagement"}},Gh={map:"Karte",marker:"Kartenmarkierung",closePopup:"Popup schließen",zoomIn:"Vergrößern",zoomOut:"Verkleinern",resetBearing:"Ziehen, um die Karte zu drehen; klicken, um nach Norden auszurichten",toggleAttribution:"Quellenangaben ein-/ausblenden",mapFeedback:"Feedback zur Karte",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",findMyLocation:"Meinen Standort finden",locationNotAvailable:"Standort nicht verfügbar",enableGlobe:"Globus einschalten",disableGlobe:"Globus ausschalten",ctrlScroll:"Strg + Scrollen zum Zoomen der Karte",cmdScroll:"⌘ + Scrollen zum Zoomen der Karte",twoFingers:"Mit zwei Fingern die Karte bewegen",mapboxHomepage:"Mapbox-Startseite",maplibreLogo:"MapLibre-Logo"},Wh={menuComingSoon:"Menü folgt in Kürze",pinHint:{tapDot:"Tippe auf einen farbigen Punkt — jemand braucht noch Gebet"},upg100WallHeading:"Meine UPG-100-Liste — Gebetslisten und Poster",upg100WallTag:"Gebetsmobilisierung",upg100WallIntroA:"Wie würden Sie eine Menge von fünftausend speisen? Jesus ließ sie in Gruppen zu fünfzig und hundert lagern, und das Unmögliche wurde teilbar (Lukas 9,14). Dasselbe haben wir mit den 2.106 unerreichten Volksgruppen getan: 27 Listen von etwa fünfzig bis hundert. Jede Liste druckt als Gebetspaket und als Poster, damit 27 Jünger, Gemeinden oder einheimische Leiter je eine tragen können — und für sie beten ",upg100WallIntroEmph:"mit dem Namen ihrer Volksgruppe",upg100WallIntroB:".",loadingNamed:"{name} wird geladen…",couldNotLoadNamed:"{name} konnte nicht geladen werden.",engineMissing:"Die Karten-Engine {engine} wurde nicht geladen.",packetFailed:"Heft fehlgeschlagen: {reason}",selectionPacketFailed:"Heft der Auswahl fehlgeschlagen: {reason}",posterOneTerritory:"Das Plakat druckt ein Gebiet auf einmal — {count} ausgewählt.",selectionPosterFailed:"Plakat der Auswahl fehlgeschlagen: {reason}",mapUnavailable:"Karte nicht verfügbar",copied:"Kopiert!",copyFailed:"Kopieren fehlgeschlagen — Strg/Cmd-C drücken",engineNotLoaded:"Karten-Engine nicht geladen",engineNotLoadedDetail:"Die Karten-Engine {engine} wurde nicht geladen. Liste und Legende sind nicht betroffen.",viewLoadFailed:"Diese Ansicht konnte nicht geladen werden.",retry:"Erneut versuchen",noMapboxToken:"Kein Mapbox-Token",noMapboxTokenDetail:"Kein Mapbox-Token konfiguriert. Liste und Legende sind nicht betroffen.",loadingBoundaries:"Grenzen werden geladen…",fetchingUupgs:"{n} UUPGs werden abgerufen…",mapStatusCounts:"Flächen: {polys} · Zonen: {zones}/{total} · Pins: {pins}",tapTerritoriesHint:"Tippen Sie auf Gebiete auf der Karte oder auf Legendenzeilen, um sie hinzuzufügen · erneut tippen zum Entfernen",territoriesSelected:"Gebiete: {count}",bandInRange:"✓ Bereich 50–100",bandOutOfRange:"Bereich 50–100",mapContextLost:"Diese Karte wurde entladen, um Grafikspeicher freizugeben.",nOfTotal:"{n} von {total}",mapInitFailed:"Karte konnte nicht initialisiert werden — Token und Container prüfen",countryWallIntroA:"Ein Poster pro Land, bereit zum Beten, Drucken und Aufhängen — und für sie beten ",countryWallIntroB:". Regionen und Länder sind danach geordnet, wie viele unerreichte Volksgruppen sie umfassen, damit der größte Bedarf vorne steht.",countryWallSoon:"Demnächst: Für jedes Land wird eine Gebetsliste erstellt, die jede unerreichte Volksgruppe darin mit Namen nennt.",countryWallHeading:"Länderposter — Gebetslisten und Poster",largerScreenNotice:"Diese experimentelle Karte ist für große Bildschirme gebaut. Sie öffnet sich hier, aber Teile passen oder funktionieren auf einem Telefon womöglich nicht gut.",desktopOnlyNotice:"{label} funktioniert nur am Desktop – öffnen Sie diese Seite an einem Computer.",noticeDismiss:"Schließen",countryPosterTooMany:"Zu viele Volksgruppen, um lesbar auf ein Plakat zu passen – an einer Lösung wird gearbeitet."},qh={family:{Christianity:"Christentum",Islam:"Islam",Hinduism:"Hinduismus",Buddhism:"Buddhismus",Ethnoreligion:"Ethnische Religionen",Judaism:"Judentum",Sikhism:"Sikhismus",Unaffiliated:"Konfessionslos",Other:"Andere",Unknown:"Unbekannt"}},Vh={placeholder:"Volk, Ort, Sprache, Religion",placeholderNoPlaces:"Volk, Sprache, Religion (Ortssuche braucht ein Mapbox-Token)",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"},kinds:{people:"Volk + Land",peopleGroup:"Volk",bloc:"Affinitätsblock",cluster:"Völkercluster",country:"Land",region:"Region",family:"Sprachfamilie",languageKind:"Sprache",dialect:"Dialekt",religionKind:"Religion"},upg100Placeholder:"Volksgruppe, UPG-100-Liste oder Region suchen…",tabPlaceholder:{languageFamilies:"Sprachfamilie, Sprache, Dialekt/Varietät suchen",affinityBlocks:"Affinitätsblock, Cluster, Volksgruppe suchen",regions:"Region, Land, Volksgruppe suchen",religion:"Religion, Volksgruppe suchen"},placeholderRegions:"Region, Land oder Volksgruppe suchen"},Kh={embed_link:"Einbettungslink",add_to_website:"Zu Ihrer Website hinzufügen",embed_paste_hint:"Fügen Sie diesen Code in Ihren Website-Baukasten ein (WordPress, Squarespace, Wix oder jede Website, die HTML-Widgets akzeptiert)."},Yh={backToLegend:"Back to Legend",closeDetailView:"Close detail view",collapseLegend:"Collapse legend",expandLegend:"Expand legend",toggleLegend:"Show or hide the legend",searchPeopleGroups:"Search people groups",resetAllFilters:"Reset all filters and search",selectAllRows:"Select all rows",deselectAllRows:"Deselect all rows",rowDetail:"Row detail",dismissHint:"Dismiss hint",resizeFiltersRail:"Resize filters rail",resizeFiltersRailHint:"Drag or use arrow keys to resize the filters rail",resizeChartsRail:"Resize charts rail",resizeChartsRailHint:"Drag or use arrow keys to resize the charts rail",resizeMapTableSplit:"Resize map/table split",resizeMapTableSplitHint:"Drag or use arrow keys to resize the map/table split",resizeTable:"Resize table height",resizeTableHint:"Drag or use arrow keys to resize the table",resizeDashboardHeight:"Resize dashboard height",resizeDashboardHeightHint:"Drag or use arrow keys to resize the dashboard's height",removeFilter:"Remove filter {name}",closeDetail:"Close detail",filterBreadcrumb:"Filter breadcrumb",railViews:"Rail views",upgCountLegend:"UPG count legend",donutChart:"{title} donut chart"},Zh={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",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share",posterMap:"Poster Map",prayerList:"Prayer List",cardDeck:"Card Deck",printOptions:"Print Options",showOnMap:"Show on map",close:"Close",showOnMapAria:"Show {label} on the map",cardStockAria:"Prayer card size",working:"Working…",packetVariantAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight",previewPrintPoster:"Preview & print the {label} poster",clearSelection:"Clear selection",noOptions:"No options found",renderingLocal:"Rendering a print-quality image in your browser — nothing is uploaded.",postersPerRow:"Posters per row",postersPerRowAuto:"Auto"},Xh={research_controls:"Research controls",clustering:"Clustering",filters:"Filters",pin_dim:"Pin dim",export_poster:"Export poster…",reload_data:"Reload data",off:"Off",native:"Native",mst:"MST",network:"Network",off_desc:"Show every pin individually",native_desc:"Mapbox circle clusters (fastest)",mst_desc:"Minimum-spanning-tree affinity webs",network_desc:"Nearest-neighbor connection lines",search_languages:"Search languages…",search_religions:"Search religions…",reset_all:"Reset all",no_languages:"No languages loaded yet",no_religions:"No religions loaded yet",unadopted:"Unadopted",min:"min",max:"max",adopted:"Adopted",adoption:"Adoption",engaged:"Engaged",engagement:"Engagement",unengaged:"Unengaged",language:"Language",religion:"Religion",population:"Population",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",close:"Close",clear:"Clear",map_controls:"Research map controls",clusters:"Clusters",mst_full_name:"Minimum Spanning Tree",mst_hint:"click a legend row to cluster only that group"},Jh={bloc:"Bloc",gospel_access:"Gospel Access",people:"People",people_name:"People (name)",praying:"Praying",religion_family:"Religion Family",search_language:"Search language",search_people:"Search people",search_place:"Search place",search_religion:"Search religion",upgs_in_scope:"UPGs in scope",countries_touched:"countries touched",unreached:"unreached",sum_population:"Σ population",sum_praying:"Σ praying",charts:"Charts",table:"Table",cluster:"Cluster",country:"Country",engagement:"Engagement",language:"Language",language_family:"Language Family",people_group:"People Group",population:"Population",prayer:"Prayer",region:"Region",religion:"Religion",status:"Status",adopted:"Adopted",filters:"Filters",gospel_resources:"Gospel Resources",map:"Map",search_placeholder:"Search people groups, place, language, religion…",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",map_controls:"Research map controls",close:"Close",clear:"Clear",dashboard_title:"Big Picture Research Dashboard",align_dashboard:"Align Dashboard",align_dashboard_tip:"Reset the dashboard layout to its default alignment",selected:"Selected",world:"World",vertical_legend:"Vertical Legend",groups_in_scope:"groups in scope",filter_by:"Filter by",remove_filter:"Remove filter",groups:"groups",expand:"Expand",collapse:"Collapse",place:"Place",export_csv:"Export CSV",detail:"Detail",detail_empty:"Select a people group to see detail",heartbeat_zone:"heartbeat zone",top_countries:"Top countries",select_all:"Select all",expand_table:"Expand table",collapse_table:"Collapse table — grow the map",group:"group",deselect_all:"Deselect all",results_live:"{count} of {total} {unit} shown",filters_live:"Filters: {list}",search_live:"Search: {term}",adopted_by_churches:"Adopted by churches",bp_title:"Big Picture — Unified Research Dashboard",bp_subtitle:"Search and filter the world's people groups · least-reached shown first",export_selection:"Export this selection",map_loading:"Research map loading…",no_match:"No people groups match “{q}”.",no_photo:"No photo",only_selected:"Only selected",only_selected_hint:"Show only the selected people groups",people_committed:"People committed",people_praying:"People praying",selected_first:"Selected first",selected_first_hint:"Float the selected people groups to the top, keeping your column sort",n_shown:"{n} shown",other:"Other",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",oceania:"Oceania",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean"},sort_by_column_hint:"Sort this table by {column} — shift-click to add a second column. Sorting orders the table only; the cards keep their own order.",fs_exit_hint:"Exit full screen (Esc) — back to seven rows",fs_open_hint:"Open this table full screen",fs_exit:"Exit full screen",fs_open:"Open table full screen",export_selected_hint:"Export all fields — selected people groups: {n}",export_all_hint:"Export all fields — people groups: {n}",map_init_failed:"The map could not start. Check the access token and the map container.",show_filters:"Show filters",hide_filters:"Hide filters — grow the map",show_charts:"Show charts",hide_charts:"Hide charts — grow the map",export_copied:"copied to clipboard",export_done:"exported",export_ready:"ready",export_toast:"✓ {rows} rows × {fields} fields {how}",export_failed:"✕ Export failed",pray_for_group:"Pray for this people group",more_information:"More information",title:"Research Dashboard",gospel_pending:"Not ready yet: the lostness figure, the data-source key and the layout are still being decided."},Qh={search:"Search people groups…",hide_filters:"Hide Filters",show_filters:"Show Filters",total:"Total",showing:"Showing",load_more:"Load More",full_profile:"Full Profile",wagf_region:"Region",wagf_block:"Affinity Block",rop1:"People Group",religion:"Religion",exact_filter:"Exact",clear_all:"Clear All",loading:"Loading…",no_results:"No people groups match this filter.",type_to_search:"Type to search...",load_failed:"People-group data could not be loaded. This is a connection problem, not your filter.",search_people_or_countries:"Search people groups or countries…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},em={title:{adoption:"Adoption Progress",affinityBlocs:"Affinity Blocks",doxaRegions:"Doxa Regions",engagement:"Engagement Progress",gospelResources:"Gospel Resources",languageFamilies:"Language Families",prayer:"Prayer Progress",upg100List:"My UPG 100 List",batchSelect:"Batch Select"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},progress:{title:"Progress",covered:"{covered} of {total} people groups covered in prayer · {pct}%",short:"{covered} of {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Region — sort the UPG-100 lists by world area (Africa, India, Middle East, Deaf, …). Counts are the UUPGs and population summed across every list beneath it.",upg100Zone:"UPG-100 Lists — each one is a prayer list of the unreached people groups in an area, and is what the map paints and colours. Every list prints as its own packet.",upg100Group:"People Group — the individual unreached groups inside a list, largest prayer need first. Each map dot is one of these.",family:"Lang Family — a group of languages descended from a common ancestor (e.g. Indo-European, Afro-Asiatic).",language:"Language — a system of communication used by a people (e.g. Arabic, Bengali, Hindi).",dialect:"Dialect/Variety — a regional or social form of a language (e.g. Arabic, Sudanese; Pakistan Sign Language).",bloc:"Affinity Block — the broadest grouping, by cultural, linguistic and geographic kinship (e.g. Malay Peoples, South Asian Peoples, Deaf, Arab World).",cluster:"Cluster — a finer grouping inside a block (e.g. Borneo-Kalimantan within Malay Peoples). Rows are marked “(Cluster)” to tell them from people groups.",group:"People Group — an ethnolinguistic identity on its own terms, independent of country. Rows are marked “(PG)”. One group may live in many countries (the Deaf, for example, in over a hundred).",pgic:"PG in Country — one row for each people group in each country it lives in (e.g. “Abai Sungai, Malaysia”). Rows are marked “(PGIC)”.",region:"WAGF Region — the macro-region a country belongs to (e.g. Asia, Africa). Each has its own colour on the map.",block:"WAGF Bloc — the sub-grouping inside a region (e.g. South East Asia, West Africa).",country:"Country — individual countries, ordered by unreached population within their bloc."},a11y:{expandRow:"Expand {label}",collapseRow:"Collapse {label}",clearSelection:"Clear selection",goUp:"Go up to {label}"},export:{poster:"Poster",packet:"UPG 100",packetExplain:"A prayer list of about 50 to 100 unreached people groups — one person can carry one.",packetAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight"},noDataAtThisLevel:"No data at this level",exportButton:"Export",exportSelection:"Export selection",loadingRows:"Loading {label}…",loadingData:"Loading data…",showingTop:"Showing top {n} of {m}",useGeocoderHint:"use the geocoder above to find the rest",noList:"No list loaded."},tm={doxa:{label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them"},unreached:{label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)"},frontier:{label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)"},"frontier-500k":{label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000"},unengaged:{label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged"}},om={map:"Map",marker:"Map marker",closePopup:"Close popup",zoomIn:"Zoom in",zoomOut:"Zoom out",resetBearing:"Drag to rotate map, click to reset north",toggleAttribution:"Toggle attribution",mapFeedback:"Map feedback",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",findMyLocation:"Find my location",locationNotAvailable:"Location not available",enableGlobe:"Enable globe",disableGlobe:"Disable globe",ctrlScroll:"Use Ctrl + scroll to zoom the map",cmdScroll:"Use ⌘ + scroll to zoom the map",twoFingers:"Use two fingers to move the map",mapboxHomepage:"Mapbox homepage",maplibreLogo:"MapLibre logo"},nm={menuComingSoon:"Menu coming soon",pinHint:{tapDot:"Tap a coloured dot — someone still needs prayer"},upg100WallHeading:"My UPG 100 List — Prayer Lists & Posters",upg100WallTag:"Prayer Mobilization",upg100WallIntroA:"How would you feed a crowd of five thousand? Jesus sat them down in groups of fifty and a hundred, and the impossible became shareable (Luke 9:14). We did the same with the 2,106 unreached people groups: 27 lists of about fifty to a hundred. Each list prints as a prayer packet and a poster, so 27 disciples, churches or local leaders can each carry one — praying for them ",upg100WallIntroEmph:"by their people group name",upg100WallIntroB:".",loadingNamed:"Loading {name}…",couldNotLoadNamed:"Could not load {name}.",engineMissing:"The {engine} map engine did not load.",packetFailed:"Packet failed: {reason}",selectionPacketFailed:"Selection packet failed: {reason}",posterOneTerritory:"Poster prints one territory at a time — {count} selected.",selectionPosterFailed:"Selection poster failed: {reason}",mapUnavailable:"Map unavailable",copied:"Copied!",copyFailed:"Copy failed — press Ctrl/Cmd-C",engineNotLoaded:"map engine not loaded",engineNotLoadedDetail:"The {engine} map engine did not load. The list and legend are unaffected.",viewLoadFailed:"This view couldn't load.",retry:"Retry",noMapboxToken:"No Mapbox token",noMapboxTokenDetail:"No Mapbox token configured. The list and legend are unaffected.",loadingBoundaries:"Loading boundaries…",fetchingUupgs:"Fetching {n} UUPGs…",mapStatusCounts:"Areas: {polys} · zones: {zones}/{total} · pins: {pins}",tapTerritoriesHint:"Tap territories on the map or legend rows to add · tap again to remove",territoriesSelected:"Territories: {count}",bandInRange:"✓ 50–100 band",bandOutOfRange:"band 50–100",mapContextLost:"This map was unloaded to free graphics memory.",nOfTotal:"{n} of {total}",mapInitFailed:"Map failed to initialize — check token and container",countryWallIntroA:"One poster per country, ready to pray, print, and put on a wall — praying for them ",countryWallIntroB:". Regions and countries are ordered by how many unengaged people groups they hold, so the greatest need leads.",countryWallSoon:"Coming soon — a prayer list will be generated for each country, naming every unengaged people group within it.",countryWallHeading:"Country Posters — Prayer Lists & Posters",largerScreenNotice:"This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.",desktopOnlyNotice:"{label} only supports desktop — open this page on a desktop to use it.",noticeDismiss:"Dismiss",countryPosterTooMany:"Too many people groups to fit on one poster legibly — a solution is in progress."},am={family:{Christianity:"Christianity",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Buddhism",Ethnoreligion:"Ethnoreligion",Judaism:"Judaism",Sikhism:"Sikhism",Unaffiliated:"Unaffiliated",Other:"Other",Unknown:"Unknown"}},rm={placeholder:"People, place, language, religion",placeholderNoPlaces:"People, language, religion (place search needs a Mapbox token)",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 DOXA Data"},upg100Placeholder:"Search people group, UPG-100 list, or region…",tabPlaceholder:{languageFamilies:"Search language family, language, dialect/variety",affinityBlocks:"Search affinity bloc, cluster, people group",regions:"Search region, country, people group",religion:"Search religion, people group"},placeholderRegions:"Search region, country, people group"},sm={embed_link:"Embed link",add_to_website:"Add to Your Website",embed_paste_hint:"Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets)."},im={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle",collapseLegend:"Contraer la leyenda",expandLegend:"Expandir la leyenda",toggleLegend:"Mostrar u ocultar la leyenda",searchPeopleGroups:"Buscar pueblos",resetAllFilters:"Restablecer todos los filtros y la búsqueda",selectAllRows:"Seleccionar todas las filas",deselectAllRows:"Deseleccionar todas las filas",rowDetail:"Detalle de la fila",dismissHint:"Descartar la sugerencia",resizeFiltersRail:"Cambiar el tamaño del panel de filtros",resizeFiltersRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de filtros",resizeChartsRail:"Cambiar el tamaño del panel de gráficos",resizeChartsRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de gráficos",resizeMapTableSplit:"Cambiar la división entre el mapa y la tabla",resizeMapTableSplitHint:"Arrastra o usa las teclas de flecha para cambiar la división entre el mapa y la tabla",resizeTable:"Cambiar la altura de la tabla",resizeTableHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño de la tabla",resizeDashboardHeight:"Cambiar la altura del panel",resizeDashboardHeightHint:"Arrastra o usa las teclas de flecha para cambiar la altura del panel",removeFilter:"Quitar el filtro {name}",closeDetail:"Cerrar el detalle",filterBreadcrumb:"Ruta de filtros",railViews:"Vistas del panel",upgCountLegend:"Leyenda del recuento de UPG",donutChart:"Gráfico de anillo: {title}"},lm={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",posterMap:"Mapa del cartel",prayerList:"Lista de oración",cardDeck:"Baraja de tarjetas",printOptions:"Opciones de impresión",showOnMap:"Ver en el mapa",close:"Cerrar",showOnMapAria:"Ver {label} en el mapa",cardStockAria:"Tamaño de la tarjeta de oración",previewPrintPoster:"Previsualizar e imprimir el cartel de {label}",share:"Compartir",shareSteps:["Inserta este mapa en tu sitio","Haz una lista de los sitios web de tu ciudad","Enséñales a insertarlo también","Enséñales a enseñar a otros a insertarlo","¡Multiplica los mapas por todas partes para Jesús!"],clearSelection:"Borrar la selección",noOptions:"No se encontraron opciones",renderingLocal:"Se está generando una imagen con calidad de impresión en tu navegador: no se sube nada.",postersPerRow:"Pósteres por fila",packetVariantAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero",working:"Procesando…",postersPerRowAuto:"Automático"},cm={research_controls:"Controles de investigación",clustering:"Agrupación",filters:"Filtros",pin_dim:"Atenuar puntos",export_poster:"Exportar póster…",reload_data:"Recargar datos",off:"Desactivado",native:"Nativo",mst:"MST",network:"Red",off_desc:"Mostrar cada punto por separado",native_desc:"Grupos circulares de Mapbox (lo más rápido)",mst_desc:"Redes de afinidad por árbol de expansión mínima",network_desc:"Líneas de conexión al vecino más cercano",search_languages:"Buscar idiomas…",search_religions:"Buscar religiones…",reset_all:"Restablecer todo",no_languages:"Aún no se han cargado idiomas",no_religions:"Aún no se han cargado religiones",unadopted:"No adoptado",min:"mín",max:"máx",adopted:"Adoptado",adoption:"Adopción",engaged:"Comprometido",engagement:"Compromiso",unengaged:"Necesita implicación",language:"Idioma",religion:"Religión",population:"Población",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",close:"Cerrar",clear:"Borrar",map_controls:"Controles del mapa",clusters:"Clústeres",mst_full_name:"Árbol de expansión mínima",mst_hint:"haz clic en una fila de la leyenda para agrupar solo ese grupo"},um={bloc:"Bloque de afinidad",gospel_access:"Acceso al evangelio",people:"Pueblos",people_name:"Pueblo (nombre)",praying:"Orando",religion_family:"Familia religiosa",search_language:"Buscar idioma",search_people:"Buscar pueblo",search_place:"Buscar lugar",search_religion:"Buscar religión",upgs_in_scope:"UPG en el ámbito",countries_touched:"países alcanzados",unreached:"no alcanzados",sum_population:"Σ población",sum_praying:"Σ orando",charts:"Gráficos",table:"Tabla",cluster:"Clúster",country:"País",engagement:"Compromiso",language:"Idioma",language_family:"Familia lingüística",people_group:"Pueblo",population:"Población",prayer:"Oración",region:"Región",religion:"Religión",status:"Estado",adopted:"Adoptado",filters:"Filtros",gospel_resources:"Recursos del Evangelio",map:"Mapa",search_placeholder:"Buscar pueblos, lugares, idiomas, religiones…",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",map_controls:"Controles del mapa",close:"Cerrar",clear:"Borrar",dashboard_title:"Panel de investigación general",align_dashboard:"Alinear panel",align_dashboard_tip:"Restablecer la disposición del panel a su alineación predeterminada",selected:"Seleccionado",world:"Mundo",vertical_legend:"Leyenda vertical",groups_in_scope:"pueblos en el ámbito",filter_by:"Filtrar por",remove_filter:"Quitar filtro",groups:"pueblos",expand:"Expandir",collapse:"Contraer",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalle",detail_empty:"Selecciona un pueblo para ver el detalle",heartbeat_zone:"zona del latido",top_countries:"Países principales",select_all:"Seleccionar todo",expand_table:"Expandir tabla",collapse_table:"Contraer tabla — ampliar el mapa",group:"pueblo",deselect_all:"Deseleccionar todo",results_live:"Se muestran {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Búsqueda: {term}",adopted_by_churches:"Adoptados por iglesias",bp_title:"Panorama general — panel de investigación unificado",bp_subtitle:"Busca y filtra los grupos de personas del mundo · primero los menos alcanzados",export_selection:"Exportar esta selección",map_loading:"Cargando el mapa de investigación…",no_match:"Ningún grupo de personas coincide con «{q}».",no_photo:"Sin foto",only_selected:"Solo los seleccionados",only_selected_hint:"Mostrar solo los grupos de personas seleccionados",people_committed:"Personas comprometidas",people_praying:"Personas que oran",selected_first:"Los seleccionados primero",selected_first_hint:"Llevar arriba los grupos de personas seleccionados, manteniendo el orden de las columnas",n_shown:"{n} mostrados",other:"Otros",wagfRegion:{africa:"África",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"Latinoamérica",oceania:"Oceanía",middle_east:"Oriente Medio","north_america_&_non-spanish_caribbean":"Norteamérica y Caribe no hispano"},sort_by_column_hint:"Ordenar esta tabla por {column}; Mayús+clic añade una segunda columna. La ordenación solo afecta a la tabla; las tarjetas conservan su propio orden.",fs_exit_hint:"Salir de pantalla completa (Esc): volver a siete filas",fs_open_hint:"Abrir esta tabla a pantalla completa",fs_exit:"Salir de pantalla completa",fs_open:"Abrir la tabla a pantalla completa",export_selected_hint:"Exportar todos los campos — pueblos seleccionados: {n}",export_all_hint:"Exportar todos los campos — pueblos: {n}",map_init_failed:"El mapa no pudo iniciarse. Compruebe el token de acceso y el contenedor del mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar el mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar el mapa",export_copied:"copiado al portapapeles",export_done:"exportado",export_ready:"listo",export_toast:"✓ {rows} filas × {fields} campos {how}",export_failed:"✕ Error al exportar",pray_for_group:"Ore por este pueblo",more_information:"Más información",title:"Panel de investigación",gospel_pending:"Aún no está listo: la cifra de no alcanzados, la clave de la fuente de datos y la forma de la interfaz siguen por decidir."},dm={search:"Buscar pueblos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Cargar más",full_profile:"Perfil completo",wagf_region:"Región",wagf_block:"Bloque de afinidad",rop1:"Pueblo",religion:"Religión",exact_filter:"Exacto",clear_all:"Borrar todo",loading:"Cargando…",no_results:"Ningún pueblo coincide con este filtro.",type_to_search:"Escribe para buscar...",load_failed:"No se pudieron cargar los datos de pueblos. Es un problema de conexión, no de tu filtro.",search_people_or_countries:"Buscar pueblos o países…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},pm={title:{adoption:"Progreso de adopción",affinityBlocs:"Bloques de afinidad",doxaRegions:"Regiones Doxa",engagement:"Progreso de implicación",gospelResources:"Recursos del Evangelio",languageFamilies:"Familias lingüísticas",prayer:"Progreso de oración",upg100List:"Mi lista UPG 100",batchSelect:"Selección múltiple"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas",default:"Leyenda"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},progress:{title:"Progreso",covered:"{covered} de {total} grupos de personas cubiertos en oración · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Región — ordena las listas UPG-100 por área mundial (África, India, Oriente Medio, Sordos, …). Los totales son los UUPG y la población sumados de todas las listas que contiene.",upg100Zone:"Listas UPG-100 — cada una es una lista de oración de los grupos étnicos no alcanzados de un área, y es lo que el mapa pinta y colorea. Cada lista se imprime como su propio paquete.",upg100Group:"Grupo étnico — los grupos no alcanzados dentro de una lista, primero los de mayor necesidad de oración. Cada punto del mapa es uno de ellos.",family:"Familia lingüística — un conjunto de lenguas procedentes de un antepasado común (p. ej. indoeuropea, afroasiática).",language:"Idioma — un sistema de comunicación que usa un pueblo (p. ej. árabe, bengalí, hindi).",dialect:"Dialecto/Variedad — una forma regional o social de una lengua (p. ej. árabe sudanés; lengua de señas pakistaní).",bloc:"Bloque de afinidad — la agrupación más amplia, por parentesco cultural, lingüístico y geográfico (p. ej. pueblos malayos, pueblos del sur de Asia, sordos, mundo árabe).",cluster:"Clúster — una agrupación más fina dentro de un bloque (p. ej. Borneo-Kalimantan entre los pueblos malayos). Las filas llevan «(clúster)» para distinguirlas de los pueblos.",group:"Pueblo — una identidad etnolingüística en sí misma, independiente del país. Las filas llevan «(pueblo)». Un mismo pueblo puede vivir en muchos países (los sordos, por ejemplo, en más de cien).",pgic:"Pueblo en país — una fila por cada pueblo en cada país donde vive (p. ej. «Abai Sungai, Malasia»). Las filas llevan «(pueblo en país)».",region:"Región WAGF — la macrorregión a la que pertenece un país (p. ej. Asia, África). Cada una tiene su color en el mapa.",block:"Bloque WAGF — la subdivisión dentro de una región (p. ej. Sudeste Asiático, África Occidental).",country:"País — los países uno a uno, ordenados por población no alcanzada dentro de su bloque."},a11y:{expandRow:"Expandir {label}",collapseRow:"Contraer {label}",clearSelection:"Borrar la selección",goUp:"Subir a {label}"},export:{poster:"Cartel",packet:"UPG 100",packetExplain:"Una lista de oración de unos 50 a 100 pueblos no alcanzados: una persona puede llevar una.",packetAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero"},noDataAtThisLevel:"No hay datos en este nivel",exportButton:"Exportar",exportSelection:"Exportar la selección",loadingRows:"Cargando {label}…",loadingData:"Cargando datos…",showingTop:"Mostrando los {n} principales de {m}",useGeocoderHint:"usa el buscador de arriba para encontrar el resto",noList:"Ninguna lista cargada."},gm={doxa:{label:"Proyecto 2000: los pueblos de DOXA",definition:"Los pueblos a los que sirve DOXA, tal como los da su lista en vivo"},unreached:{label:"Proyecto 7000: pueblos no alcanzados",definition:"Prioridad de perdición de IMB 0–2 (no alcanzados de frontera, pioneros o en expansión: menos del 2 % evangélicos)"},frontier:{label:"Proyecto 4700: pueblos de frontera",definition:"Prioridad de perdición de IMB 0 (no alcanzados de frontera: 0,1 % evangélicos o menos)"},"frontier-500k":{label:"Proyecto 700: pueblos de frontera de 500.000 o más",definition:"Prioridad de perdición de IMB 0 y una población de al menos 500.000"},unengaged:{label:"Pueblos no alcanzados y no atendidos",definition:"Prioridad de perdición de IMB 0–2 y estado de compromiso: no atendido"}},fm={map:"Mapa",marker:"Marcador del mapa",closePopup:"Cerrar ventana",zoomIn:"Acercar",zoomOut:"Alejar",resetBearing:"Arrastra para girar el mapa; haz clic para orientar al norte",toggleAttribution:"Mostrar u ocultar atribución",mapFeedback:"Comentarios sobre el mapa",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",findMyLocation:"Buscar mi ubicación",locationNotAvailable:"Ubicación no disponible",enableGlobe:"Activar globo",disableGlobe:"Desactivar globo",ctrlScroll:"Usa Ctrl + desplazamiento para hacer zoom en el mapa",cmdScroll:"Usa ⌘ + desplazamiento para hacer zoom en el mapa",twoFingers:"Usa dos dedos para mover el mapa",mapboxHomepage:"Página de inicio de Mapbox",maplibreLogo:"Logotipo de MapLibre"},hm={menuComingSoon:"Menú próximamente",pinHint:{tapDot:"Toca un punto de color: alguien todavía necesita oración"},upg100WallHeading:"Mi lista UPG 100 — Listas de oración y carteles",upg100WallTag:"Movilización de oración",upg100WallIntroA:"¿Cómo alimentarías a una multitud de cinco mil? Jesús los sentó en grupos de cincuenta y de cien, y lo imposible se volvió compartible (Lucas 9:14). Hicimos lo mismo con los 2.106 pueblos no alcanzados: 27 listas de unos cincuenta a cien. Cada lista se imprime como paquete de oración y cartel, para que 27 discípulos, iglesias o líderes locales lleven una cada uno — orando por ellos ",upg100WallIntroEmph:"por el nombre de su pueblo",upg100WallIntroB:".",loadingNamed:"Cargando {name}…",couldNotLoadNamed:"No se pudo cargar {name}.",engineMissing:"El motor de mapas {engine} no se cargó.",packetFailed:"Error al generar el cuadernillo: {reason}",selectionPacketFailed:"Error al generar el cuadernillo de la selección: {reason}",posterOneTerritory:"El cartel imprime un territorio a la vez: {count} seleccionados.",selectionPosterFailed:"Error al generar el cartel de la selección: {reason}",mapUnavailable:"Mapa no disponible",copied:"¡Copiado!",copyFailed:"Error al copiar: pulsa Ctrl/Cmd-C",engineNotLoaded:"motor de mapas no cargado",engineNotLoadedDetail:"El motor de mapas {engine} no se cargó. La lista y la leyenda no se ven afectadas.",viewLoadFailed:"No se pudo cargar esta vista.",retry:"Reintentar",noMapboxToken:"No hay token de Mapbox",noMapboxTokenDetail:"No hay ningún token de Mapbox configurado. La lista y la leyenda no se ven afectadas.",loadingBoundaries:"Cargando límites…",fetchingUupgs:"Obteniendo {n} UUPG…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque territorios en el mapa o filas de la leyenda para añadirlos · toque de nuevo para quitarlos",territoriesSelected:"Territorios: {count}",bandInRange:"✓ franja 50–100",bandOutOfRange:"franja 50–100",mapContextLost:"Este mapa se descargó para liberar memoria gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"No se pudo iniciar el mapa: revisa el token y el contenedor",countryWallIntroA:"Un cartel por país, listo para orar, imprimir y colgar en una pared — orando por ellos ",countryWallIntroB:". Las regiones y los países se ordenan según cuántos pueblos no comprometidos contienen, para que la mayor necesidad vaya primero.",countryWallSoon:"Próximamente: se generará una lista de oración para cada país, con el nombre de cada pueblo no alcanzado que hay en él.",countryWallHeading:"Carteles por país — Listas de oración y carteles",largerScreenNotice:"Este mapa experimental está pensado para pantallas grandes. Se abre aquí, pero algunas partes pueden no caber o no funcionar bien en un teléfono.",desktopOnlyNotice:"{label} solo funciona en escritorio: abra esta página en un ordenador para usarlo.",noticeDismiss:"Cerrar",countryPosterTooMany:"Demasiados pueblos para que quepan legiblemente en un solo cartel; estamos trabajando en una solución."},mm={family:{Christianity:"Cristianismo",Islam:"Islam",Hinduism:"Hinduismo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligión",Judaism:"Judaísmo",Sikhism:"Sijismo",Unaffiliated:"Sin afiliación",Other:"Otra",Unknown:"Desconocida"}},_m={placeholder:"Pueblo, lugar, idioma, religión",placeholderNoPlaces:"Pueblo, idioma, religión (buscar lugares requiere un token de Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos los datos DOXA"},upg100Placeholder:"Buscar pueblo, lista UPG-100 o región…",tabPlaceholder:{languageFamilies:"Buscar familia lingüística, idioma, dialecto/variedad",affinityBlocks:"Buscar bloque de afinidad, clúster, pueblo",regions:"Buscar región, país, pueblo",religion:"Buscar religión, pueblo"},placeholderRegions:"Buscar región, país o pueblo"},bm={embed_link:"Enlace para insertar",add_to_website:"Añádelo a tu sitio web",embed_paste_hint:"Pega este código en tu creador de sitios web (WordPress, Squarespace, Wix o cualquier sitio que acepte widgets HTML)."},$m={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée",collapseLegend:"Réduire la légende",expandLegend:"Développer la légende",toggleLegend:"Afficher ou masquer la légende",searchPeopleGroups:"Rechercher des peuples",resetAllFilters:"Réinitialiser tous les filtres et la recherche",selectAllRows:"Sélectionner toutes les lignes",deselectAllRows:"Désélectionner toutes les lignes",rowDetail:"Détail de la ligne",dismissHint:"Masquer l'astuce",resizeFiltersRail:"Redimensionner le volet des filtres",resizeFiltersRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des filtres",resizeChartsRail:"Redimensionner le volet des graphiques",resizeChartsRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des graphiques",resizeMapTableSplit:"Redimensionner le partage carte/tableau",resizeMapTableSplitHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le partage carte/tableau",resizeTable:"Redimensionner la hauteur du tableau",resizeTableHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le tableau",resizeDashboardHeight:"Redimensionner la hauteur du tableau de bord",resizeDashboardHeightHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner la hauteur du tableau de bord",removeFilter:"Supprimer le filtre {name}",closeDetail:"Fermer le détail",filterBreadcrumb:"Fil d’Ariane des filtres",railViews:"Vues du volet",upgCountLegend:"Légende du nombre d’UPG",donutChart:"Graphique en anneau : {title}"},ym={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",posterMap:"Carte de l'affiche",prayerList:"Liste de prière",cardDeck:"Jeu de cartes",printOptions:"Options d'impression",showOnMap:"Voir sur la carte",close:"Fermer",showOnMapAria:"Voir {label} sur la carte",cardStockAria:"Taille de la carte de prière",previewPrintPoster:"Aperçu et impression de l’affiche {label}",share:"Partager",shareSteps:["Intégrez cette carte à votre site","Dressez la liste des sites web de votre ville","Apprenez-leur à l’intégrer aussi","Apprenez-leur à former d’autres personnes à l’intégrer","Multiplions les cartes partout pour Jésus !"],clearSelection:"Effacer la sélection",noOptions:"Aucune option trouvée",renderingLocal:"Une image de qualité impression est générée dans votre navigateur — rien n’est envoyé.",postersPerRow:"Affiches par ligne",packetVariantAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé",working:"Traitement…",postersPerRowAuto:"Auto"},vm={research_controls:"Commandes de recherche",clustering:"Regroupement",filters:"Filtres",pin_dim:"Atténuation des points",export_poster:"Exporter l’affiche…",reload_data:"Recharger les données",off:"Désactivé",native:"Natif",mst:"MST",network:"Réseau",off_desc:"Afficher chaque point séparément",native_desc:"Groupes circulaires Mapbox (le plus rapide)",mst_desc:"Réseaux d’affinité par arbre couvrant minimal",network_desc:"Lignes vers le plus proche voisin",search_languages:"Rechercher des langues…",search_religions:"Rechercher des religions…",reset_all:"Tout réinitialiser",no_languages:"Aucune langue chargée pour l’instant",no_religions:"Aucune religion chargée pour l’instant",unadopted:"Non adopté",min:"min",max:"max",adopted:"Adopté",adoption:"Adoption",engaged:"Engagé",engagement:"Engagement",unengaged:"Besoin d'engagement",language:"Langue",religion:"Religion",population:"Population",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",close:"Fermer",clear:"Effacer",map_controls:"Commandes de la carte",clusters:"Groupes",mst_full_name:"Arbre couvrant minimal",mst_hint:"cliquez sur une ligne de la légende pour ne regrouper que ce groupe"},wm={bloc:"Bloc d’affinité",gospel_access:"Accès à l’Évangile",people:"Peuples",people_name:"Peuple (nom)",praying:"En prière",religion_family:"Famille religieuse",search_language:"Rechercher une langue",search_people:"Rechercher un peuple",search_place:"Rechercher un lieu",search_religion:"Rechercher une religion",upgs_in_scope:"UPG dans le périmètre",countries_touched:"pays touchés",unreached:"non atteints",sum_population:"Σ population",sum_praying:"Σ en prière",charts:"Graphiques",table:"Tableau",cluster:"Grappe",country:"Pays",engagement:"Engagement",language:"Langue",language_family:"Famille linguistique",people_group:"Peuple",population:"Population",prayer:"Prière",region:"Région",religion:"Religion",status:"Statut",adopted:"Adopté",filters:"Filtres",gospel_resources:"Ressources de l'Évangile",map:"Carte",search_placeholder:"Rechercher peuples, lieux, langues, religions…",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",map_controls:"Commandes de la carte",close:"Fermer",clear:"Effacer",dashboard_title:"Tableau de bord de recherche global",align_dashboard:"Aligner le tableau",align_dashboard_tip:"Rétablir la disposition par défaut du tableau de bord",selected:"Sélectionné",world:"Monde",vertical_legend:"Légende verticale",groups_in_scope:"peuples dans le périmètre",filter_by:"Filtrer par",remove_filter:"Retirer le filtre",groups:"peuples",expand:"Développer",collapse:"Replier",place:"Lieu",export_csv:"Exporter en CSV",detail:"Détail",detail_empty:"Sélectionnez un peuple pour voir le détail",heartbeat_zone:"zone du battement de cœur",top_countries:"Principaux pays",select_all:"Tout sélectionner",expand_table:"Développer le tableau",collapse_table:"Réduire le tableau — agrandir la carte",group:"peuple",deselect_all:"Tout désélectionner",results_live:"{count} sur {total} {unit} affichés",filters_live:"Filtres : {list}",search_live:"Recherche : {term}",adopted_by_churches:"Adoptés par des Églises",bp_title:"Vue d’ensemble — tableau de bord de recherche unifié",bp_subtitle:"Rechercher et filtrer les groupes de personnes du monde · les moins atteints en premier",export_selection:"Exporter cette sélection",map_loading:"Chargement de la carte de recherche…",no_match:"Aucun groupe de personnes ne correspond à « {q} ».",no_photo:"Aucune photo",only_selected:"Uniquement la sélection",only_selected_hint:"N’afficher que les groupes de personnes sélectionnés",people_committed:"Personnes engagées",people_praying:"Personnes qui prient",selected_first:"La sélection en premier",selected_first_hint:"Faire remonter les groupes de personnes sélectionnés, en conservant le tri des colonnes",n_shown:"{n} affichés",other:"Autres",wagfRegion:{africa:"Afrique",asia:"Asie",europe:"Europe","latin_america_&_caribbean":"Amérique latine",oceania:"Océanie",middle_east:"Moyen-Orient","north_america_&_non-spanish_caribbean":"Amérique du Nord et Caraïbes non hispanophones"},sort_by_column_hint:"Trier ce tableau par {column} — Maj+clic ajoute une deuxième colonne. Le tri ne s’applique qu’au tableau ; les cartes gardent leur propre ordre.",fs_exit_hint:"Quitter le plein écran (Échap) — retour à sept lignes",fs_open_hint:"Ouvrir ce tableau en plein écran",fs_exit:"Quitter le plein écran",fs_open:"Ouvrir le tableau en plein écran",export_selected_hint:"Exporter tous les champs — peuples sélectionnés : {n}",export_all_hint:"Exporter tous les champs — peuples : {n}",map_init_failed:"La carte n’a pas pu démarrer. Vérifiez le jeton d’accès et le conteneur de la carte.",show_filters:"Afficher les filtres",hide_filters:"Masquer les filtres — agrandir la carte",show_charts:"Afficher les graphiques",hide_charts:"Masquer les graphiques — agrandir la carte",export_copied:"copié dans le presse-papiers",export_done:"exporté",export_ready:"prêt",export_toast:"✓ {rows} lignes × {fields} champs {how}",export_failed:"✕ Échec de l’export",pray_for_group:"Prier pour ce peuple",more_information:"Plus d’informations",title:"Tableau de bord de recherche",gospel_pending:"Pas encore prêt : le chiffre des non atteints, la clé de la source de données et la forme de l’interface restent à décider."},xm={search:"Rechercher des peuples…",hide_filters:"Masquer les filtres",show_filters:"Afficher les filtres",total:"Total",showing:"Affichage",load_more:"Charger plus",full_profile:"Profil complet",wagf_region:"Région",wagf_block:"Bloc d'affinité",rop1:"Peuple",religion:"Religion",exact_filter:"Exact",clear_all:"Tout effacer",loading:"Chargement…",no_results:"Aucun peuple ne correspond à ce filtre.",type_to_search:"Tapez pour rechercher...",load_failed:"Les données n’ont pas pu être chargées. C’est un problème de connexion, pas votre filtre.",search_people_or_countries:"Rechercher des peuples ou des pays…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},km={title:{adoption:"Progression de l'adoption",affinityBlocs:"Blocs d'affinité",doxaRegions:"Régions Doxa",engagement:"Progression de l'engagement",gospelResources:"Ressources de l'Évangile",languageFamilies:"Familles de langues",prayer:"Progression de la prière",upg100List:"Ma liste UPG 100",batchSelect:"Sélection multiple"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes",default:"Légende"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},progress:{title:"Progression",covered:"{covered} sur {total} groupes de personnes couverts par la prière · {pct}%",short:"{covered} sur {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Région — trie les listes UPG-100 par zone du monde (Afrique, Inde, Moyen-Orient, Sourds, …). Les totaux sont les UUPG et la population additionnés sur toutes les listes qu’elle contient.",upg100Zone:"Listes UPG-100 — chacune est une liste de prière des groupes de peuples non atteints d’une zone, et c’est ce que la carte dessine et colore. Chaque liste s’imprime comme son propre livret.",upg100Group:"Groupe de peuples — les groupes non atteints au sein d’une liste, les plus grands besoins de prière en premier. Chaque point de la carte en est un.",family:"Famille linguistique — un ensemble de langues issues d’un ancêtre commun (p. ex. indo-européen, afro-asiatique).",language:"Langue — un système de communication employé par un peuple (p. ex. arabe, bengali, hindi).",dialect:"Dialecte/Variété — une forme régionale ou sociale d’une langue (p. ex. arabe soudanais ; langue des signes pakistanaise).",bloc:"Bloc d’affinité — le regroupement le plus large, selon la parenté culturelle, linguistique et géographique (p. ex. peuples malais, peuples d’Asie du Sud, Sourds, monde arabe).",cluster:"Grappe — un regroupement plus fin à l’intérieur d’un bloc (p. ex. Bornéo-Kalimantan parmi les peuples malais). Les lignes portent « (grappe) » pour les distinguer des peuples.",group:"Peuple — une identité ethnolinguistique en elle-même, indépendante du pays. Les lignes portent « (peuple) ». Un même peuple peut vivre dans de nombreux pays (les Sourds, par exemple, dans plus de cent).",pgic:"Peuple dans le pays — une ligne par peuple et par pays où il vit (p. ex. « Abai Sungai, Malaisie »). Les lignes portent « (peuple dans le pays) ».",region:"Région WAGF — la macro-région dont relève un pays (p. ex. Asie, Afrique). Chacune a sa couleur sur la carte.",block:"Bloc WAGF — le sous-ensemble à l’intérieur d’une région (p. ex. Asie du Sud-Est, Afrique de l’Ouest).",country:"Pays — les pays un à un, classés par population non atteinte au sein de leur bloc."},a11y:{expandRow:"Développer {label}",collapseRow:"Réduire {label}",clearSelection:"Effacer la sélection",goUp:"Remonter à {label}"},export:{poster:"Affiche",packet:"UPG 100",packetExplain:"Une liste de prière d’environ 50 à 100 peuples non atteints : une personne peut en porter une.",packetAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé"},noDataAtThisLevel:"Aucune donnée à ce niveau",exportButton:"Exporter",exportSelection:"Exporter la sélection",loadingRows:"Chargement de {label}…",loadingData:"Chargement des données…",showingTop:"Affichage des {n} premiers sur {m}",useGeocoderHint:"utilisez la recherche ci-dessus pour trouver les autres",noList:"Aucune liste chargée."},Sm={doxa:{label:"Projet 2000 : les peuples de DOXA",definition:"Les peuples que DOXA sert, tels que sa liste en direct les donne"},unreached:{label:"Projet 7000 : peuples non atteints",definition:"Priorité de perdition IMB 0–2 (non atteints frontières, pionniers ou en expansion : moins de 2 % d’évangéliques)"},frontier:{label:"Projet 4700 : peuples frontières",definition:"Priorité de perdition IMB 0 (non atteints frontières : 0,1 % d’évangéliques ou moins)"},"frontier-500k":{label:"Projet 700 : peuples frontières de 500 000 personnes ou plus",definition:"Priorité de perdition IMB 0 et une population d’au moins 500 000"},unengaged:{label:"Peuples non atteints et non engagés",definition:"Priorité de perdition IMB 0–2 et statut d’engagement : non engagé"}},Am={map:"Carte",marker:"Marqueur de carte",closePopup:"Fermer la fenêtre",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetBearing:"Faites glisser pour faire pivoter la carte, cliquez pour revenir au nord",toggleAttribution:"Afficher/masquer l'attribution",mapFeedback:"Commentaires sur la carte",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",findMyLocation:"Trouver ma position",locationNotAvailable:"Position non disponible",enableGlobe:"Activer le globe",disableGlobe:"Désactiver le globe",ctrlScroll:"Utilisez Ctrl + molette pour zoomer sur la carte",cmdScroll:"Utilisez ⌘ + molette pour zoomer sur la carte",twoFingers:"Utilisez deux doigts pour déplacer la carte",mapboxHomepage:"Page d'accueil de Mapbox",maplibreLogo:"Logo MapLibre"},Lm={menuComingSoon:"Menu bientôt disponible",pinHint:{tapDot:"Touchez un point coloré — quelqu’un a encore besoin de prière"},upg100WallHeading:"Ma liste UPG 100 — Listes de prière et affiches",upg100WallTag:"Mobilisation pour la prière",upg100WallIntroA:"Comment nourririez-vous une foule de cinq mille personnes ? Jésus les a fait asseoir par groupes de cinquante et de cent, et l’impossible est devenu partageable (Luc 9.14). Nous avons fait de même avec les 2 106 peuples non atteints : 27 listes d’environ cinquante à cent. Chaque liste s’imprime en dossier de prière et en affiche, pour que 27 disciples, Églises ou responsables locaux en portent chacun une — en priant pour eux ",upg100WallIntroEmph:"par le nom de leur peuple",upg100WallIntroB:".",loadingNamed:"Chargement de {name}…",couldNotLoadNamed:"Impossible de charger {name}.",engineMissing:"Le moteur de carte {engine} ne s’est pas chargé.",packetFailed:"Échec du livret : {reason}",selectionPacketFailed:"Échec du livret de la sélection : {reason}",posterOneTerritory:"L’affiche imprime un territoire à la fois — {count} sélectionnés.",selectionPosterFailed:"Échec de l’affiche de la sélection : {reason}",mapUnavailable:"Carte indisponible",copied:"Copié !",copyFailed:"Échec de la copie — appuyez sur Ctrl/Cmd-C",engineNotLoaded:"moteur cartographique non chargé",engineNotLoadedDetail:"Le moteur cartographique {engine} ne s’est pas chargé. La liste et la légende ne sont pas affectées.",viewLoadFailed:"Impossible de charger cette vue.",retry:"Réessayer",noMapboxToken:"Aucun jeton Mapbox",noMapboxTokenDetail:"Aucun jeton Mapbox n’est configuré. La liste et la légende ne sont pas affectées.",loadingBoundaries:"Chargement des limites…",fetchingUupgs:"Récupération de {n} UUPG…",mapStatusCounts:"Surfaces : {polys} · zones : {zones}/{total} · repères : {pins}",tapTerritoriesHint:"Touchez des territoires sur la carte ou des lignes de la légende pour les ajouter · touchez à nouveau pour les retirer",territoriesSelected:"Territoires : {count}",bandInRange:"✓ tranche 50–100",bandOutOfRange:"tranche 50–100",mapContextLost:"Cette carte a été déchargée pour libérer de la mémoire graphique.",nOfTotal:"{n} sur {total}",mapInitFailed:"Échec de l’initialisation de la carte — vérifiez le jeton et le conteneur",countryWallIntroA:"Une affiche par pays, prête à prier, à imprimer et à accrocher au mur — en priant pour eux ",countryWallIntroB:". Les régions et les pays sont classés selon le nombre de peuples non engagés qu’ils comptent, pour que le plus grand besoin vienne en premier.",countryWallSoon:"Bientôt : une liste de prière sera générée pour chaque pays, nommant chaque peuple non atteint qui s’y trouve.",countryWallHeading:"Affiches par pays — Listes de prière et affiches",largerScreenNotice:"Cette carte expérimentale est conçue pour les grands écrans. Elle s’ouvre ici, mais certaines parties peuvent mal s’afficher ou mal fonctionner sur un téléphone.",desktopOnlyNotice:"{label} ne fonctionne que sur ordinateur : ouvrez cette page sur un ordinateur pour l’utiliser.",noticeDismiss:"Fermer",countryPosterTooMany:"Trop de peuples pour tenir lisiblement sur une seule affiche — une solution est en préparation."},Tm={family:{Christianity:"Christianisme",Islam:"Islam",Hinduism:"Hindouisme",Buddhism:"Bouddhisme",Ethnoreligion:"Ethnoreligion",Judaism:"Judaïsme",Sikhism:"Sikhisme",Unaffiliated:"Sans appartenance",Other:"Autre",Unknown:"Inconnue"}},Cm={placeholder:"Peuple, lieu, langue, religion",placeholderNoPlaces:"Peuple, langue, religion (la recherche de lieux requiert un jeton Mapbox)",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"},sections:{within:"Dans {selection}",allData:"Toutes les données DOXA"},upg100Placeholder:"Rechercher un peuple, une liste UPG-100 ou une région…",tabPlaceholder:{languageFamilies:"Rechercher une famille linguistique, une langue, un dialecte/une variété",affinityBlocks:"Rechercher un bloc d’affinité, une grappe, un peuple",regions:"Rechercher une région, un pays, un peuple",religion:"Rechercher une religion, un peuple"},placeholderRegions:"Rechercher une région, un pays, un peuple"},Pm={embed_link:"Lien d'intégration",add_to_website:"Ajouter à votre site web",embed_paste_hint:"Collez ce code dans votre créateur de site web (WordPress, Squarespace, Wix ou tout site acceptant les widgets HTML)."},Em={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें",collapseLegend:"लेजेंड संक्षिप्त करें",expandLegend:"लेजेंड विस्तृत करें",toggleLegend:"लेजेंड दिखाएँ या छिपाएँ",searchPeopleGroups:"जनसमूह खोजें",resetAllFilters:"सभी फ़िल्टर और खोज रीसेट करें",selectAllRows:"सभी पंक्तियाँ चुनें",deselectAllRows:"सभी पंक्तियाँ अचयनित करें",rowDetail:"पंक्ति विवरण",dismissHint:"संकेत हटाएँ",resizeFiltersRail:"फ़िल्टर पट्टी का आकार बदलें",resizeFiltersRailHint:"फ़िल्टर पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeChartsRail:"चार्ट पट्टी का आकार बदलें",resizeChartsRailHint:"चार्ट पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeMapTableSplit:"मानचित्र/तालिका विभाजन का आकार बदलें",resizeMapTableSplitHint:"मानचित्र/तालिका विभाजन का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeTable:"तालिका की ऊँचाई बदलें",resizeTableHint:"तालिका का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeDashboardHeight:"डैशबोर्ड की ऊँचाई बदलें",resizeDashboardHeightHint:"डैशबोर्ड की ऊँचाई बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",removeFilter:"फ़िल्टर {name} हटाएँ",closeDetail:"विवरण बंद करें",filterBreadcrumb:"फ़िल्टर पथ",railViews:"पट्टी के दृश्य",upgCountLegend:"UPG गणना की कुंजी",donutChart:"डोनट चार्ट: {title}"},Mm={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें",posterMap:"पोस्टर मानचित्र",prayerList:"प्रार्थना सूची",cardDeck:"कार्ड सेट",printOptions:"छपाई विकल्प",showOnMap:"मानचित्र पर देखें",close:"बंद करें",showOnMapAria:"{label} को मानचित्र पर देखें",cardStockAria:"प्रार्थना कार्ड का आकार",previewPrintPoster:"{label} पोस्टर देखें और प्रिंट करें",share:"साझा करें",shareSteps:["इस मानचित्र को अपनी वेबसाइट पर लगाएँ","अपने शहर की वेबसाइटों की सूची बनाएँ","उन्हें भी इसे लगाना सिखाएँ","उन्हें सिखाएँ कि वे औरों को लगाना सिखाएँ","यीशु के लिए हर जगह मानचित्र बढ़ाएँ!"],clearSelection:"चयन हटाएँ",noOptions:"कोई विकल्प नहीं मिला",renderingLocal:"आपके ब्राउज़र में प्रिंट-गुणवत्ता वाली छवि बन रही है — कुछ भी अपलोड नहीं किया जाता।",postersPerRow:"प्रति पंक्ति पोस्टर",packetVariantAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त",working:"कार्य जारी…",postersPerRowAuto:"स्वतः"},Rm={research_controls:"शोध नियंत्रण",clustering:"क्लस्टरिंग",filters:"फ़िल्टर",pin_dim:"पिन धुंधलापन",export_poster:"पोस्टर निर्यात करें…",reload_data:"डेटा फिर से लोड करें",off:"बंद",native:"नेटिव",mst:"MST",network:"नेटवर्क",off_desc:"हर पिन अलग-अलग दिखाएँ",native_desc:"Mapbox वृत्त क्लस्टर (सबसे तेज़)",mst_desc:"न्यूनतम स्पैनिंग ट्री आधारित जाल",network_desc:"निकटतम पड़ोसी को जोड़ने वाली रेखाएँ",search_languages:"भाषाएँ खोजें…",search_religions:"धर्म खोजें…",reset_all:"सब रीसेट करें",no_languages:"अभी कोई भाषा लोड नहीं हुई",no_religions:"अभी कोई धर्म लोड नहीं हुआ",unadopted:"अ-गोद लिया",min:"न्यून",max:"अधि",adopted:"गोद लिया गया",adoption:"गोद लेना",engaged:"संपर्कित",engagement:"सहभागिता",unengaged:"सहभागिता चाहिए",language:"भाषा",religion:"धर्म",population:"जनसंख्या",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",close:"बंद करें",clear:"साफ़ करें",map_controls:"मानचित्र नियंत्रण",clusters:"क्लस्टर",mst_full_name:"न्यूनतम विस्तारित वृक्ष",mst_hint:"केवल उस समूह को क्लस्टर करने के लिए लेजेंड की पंक्ति पर क्लिक करें"},Fm={bloc:"समानता समूह",gospel_access:"सुसमाचार पहुँच",people:"जनसमूह",people_name:"जनसमूह (नाम)",praying:"प्रार्थना कर रहे",religion_family:"धर्म परिवार",search_language:"भाषा खोजें",search_people:"जनसमूह खोजें",search_place:"स्थान खोजें",search_religion:"धर्म खोजें",upgs_in_scope:"दायरे में UPG",countries_touched:"छुए गए देश",unreached:"अनपहुँचे",sum_population:"Σ जनसंख्या",sum_praying:"Σ प्रार्थना",charts:"चार्ट",table:"तालिका",cluster:"क्लस्टर",country:"देश",engagement:"सहभागिता",language:"भाषा",language_family:"भाषा परिवार",people_group:"जनसमूह",population:"जनसंख्या",prayer:"प्रार्थना",region:"क्षेत्र",religion:"धर्म",status:"स्थिति",adopted:"गोद लिया गया",filters:"फ़िल्टर",gospel_resources:"सुसमाचार संसाधन",map:"नक्शा",search_placeholder:"जनसमूह, स्थान, भाषा, धर्म खोजें…",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",map_controls:"मानचित्र नियंत्रण",close:"बंद करें",clear:"साफ़ करें",dashboard_title:"बिग पिक्चर शोध डैशबोर्ड",align_dashboard:"डैशबोर्ड संरेखित करें",align_dashboard_tip:"डैशबोर्ड लेआउट को डिफ़ॉल्ट संरेखण पर लौटाएँ",selected:"चयनित",world:"विश्व",vertical_legend:"लंबवत लेजेंड",groups_in_scope:"दायरे में जनसमूह",filter_by:"इससे फ़िल्टर करें",remove_filter:"फ़िल्टर हटाएँ",groups:"जनसमूह",expand:"विस्तार करें",collapse:"संक्षिप्त करें",place:"स्थान",export_csv:"CSV निर्यात करें",detail:"विवरण",detail_empty:"विवरण देखने के लिए एक जनसमूह चुनें",heartbeat_zone:"हृदयगति क्षेत्र",top_countries:"शीर्ष देश",select_all:"सभी चुनें",expand_table:"तालिका विस्तृत करें",collapse_table:"तालिका संक्षिप्त करें — मानचित्र बड़ा करें",group:"जनसमूह",deselect_all:"सभी अचयनित करें",results_live:"{total} में से {count} {unit} दिखाए गए",filters_live:"फ़िल्टर: {list}",search_live:"खोज: {term}",adopted_by_churches:"कलीसियाओं द्वारा अपनाए गए",bp_title:"बड़ी तस्वीर — एकीकृत शोध डैशबोर्ड",bp_subtitle:"दुनिया के जनसमूहों को खोजें और छाँटें · सबसे कम पहुँच वाले पहले",export_selection:"यह चयन निर्यात करें",map_loading:"शोध मानचित्र लोड हो रहा है…",no_match:"“{q}” से मेल खाने वाला कोई जनसमूह नहीं है।",no_photo:"कोई फ़ोटो नहीं",only_selected:"केवल चयनित",only_selected_hint:"केवल चयनित जनसमूह दिखाएँ",people_committed:"प्रतिबद्ध लोग",people_praying:"प्रार्थना करने वाले लोग",selected_first:"चयनित पहले",selected_first_hint:"चयनित जनसमूहों को ऊपर लाएँ, आपका कॉलम क्रम बनाए रखते हुए",n_shown:"{n} दिखाए गए",other:"अन्य",wagfRegion:{africa:"अफ़्रीका",asia:"एशिया",europe:"यूरोप","latin_america_&_caribbean":"लैटिन अमेरिका",oceania:"ओशिआनिया",middle_east:"मध्य पूर्व","north_america_&_non-spanish_caribbean":"उत्तरी अमेरिका और गैर-स्पेनिश कैरिबियन"},sort_by_column_hint:"इस तालिका को {column} के अनुसार क्रमबद्ध करें — Shift-क्लिक से दूसरा कॉलम जुड़ता है। क्रमबद्ध करने से केवल तालिका का क्रम बदलता है; कार्ड अपना क्रम बनाए रखते हैं।",fs_exit_hint:"पूर्ण स्क्रीन से बाहर निकलें (Esc) — सात पंक्तियों पर वापस",fs_open_hint:"इस तालिका को पूर्ण स्क्रीन में खोलें",fs_exit:"पूर्ण स्क्रीन से बाहर निकलें",fs_open:"तालिका को पूर्ण स्क्रीन में खोलें",export_selected_hint:"सभी फ़ील्ड निर्यात करें — चयनित जनसमूह: {n}",export_all_hint:"सभी फ़ील्ड निर्यात करें — जनसमूह: {n}",map_init_failed:"मानचित्र आरंभ नहीं हो सका। एक्सेस टोकन और मानचित्र कंटेनर जाँचें।",show_filters:"फ़िल्टर दिखाएँ",hide_filters:"फ़िल्टर छिपाएँ — मानचित्र बड़ा करें",show_charts:"चार्ट दिखाएँ",hide_charts:"चार्ट छिपाएँ — मानचित्र बड़ा करें",export_copied:"क्लिपबोर्ड पर कॉपी हुआ",export_done:"निर्यात हुआ",export_ready:"तैयार",export_toast:"✓ {rows} पंक्तियाँ × {fields} क्षेत्र {how}",export_failed:"✕ निर्यात विफल",pray_for_group:"इस जनसमूह के लिए प्रार्थना करें",more_information:"अधिक जानकारी",title:"शोध डैशबोर्ड",gospel_pending:"अभी तैयार नहीं: अनपहुँचे लोगों का आँकड़ा, डेटा स्रोत की कुंजी और अंतरफलक का रूप अभी तय हो रहे हैं।"},Nm={search:"जनसमूह खोजें…",hide_filters:"फ़िल्टर छिपाएँ",show_filters:"फ़िल्टर दिखाएँ",total:"कुल",showing:"दिखा रहे हैं",load_more:"और देखें",full_profile:"पूरी प्रोफ़ाइल",wagf_region:"क्षेत्र",wagf_block:"समानता समूह",rop1:"जनसमूह",religion:"धर्म",exact_filter:"सटीक",clear_all:"सब हटाएँ",loading:"लोड हो रहा है…",no_results:"इस फ़िल्टर से कोई जनसमूह मेल नहीं खाता।",type_to_search:"खोजने के लिए लिखें...",load_failed:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।",search_people_or_countries:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},Om={title:{adoption:"गोद लेने की प्रगति",affinityBlocs:"समानता समूह",doxaRegions:"Doxa क्षेत्र",engagement:"सहभागिता प्रगति",gospelResources:"सुसमाचार संसाधन",languageFamilies:"भाषा परिवार",prayer:"प्रार्थना प्रगति",upg100List:"मेरी UPG 100 सूची",batchSelect:"एक साथ चुनें"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह",default:"सूचकांक"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},progress:{title:"प्रगति",covered:"{total} में से {covered} जनजाति समूह प्रार्थना में कवर · {pct}%",short:"{total} में से {covered} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"भाषाएँ"},tabInfo:{upg100Region:"क्षेत्र — UPG-100 सूचियों को विश्व क्षेत्र के अनुसार क्रमित करता है (अफ़्रीका, भारत, मध्य पूर्व, बधिर, …)। संख्याएँ उसके नीचे की हर सूची के UUPG और जनसंख्या का योग हैं।",upg100Zone:"UPG-100 सूचियाँ — हर एक किसी क्षेत्र के अनपहुँचे जनसमूहों की प्रार्थना सूची है, और यही मानचित्र बनाता और रंगता है। हर सूची अपने अलग पैकेट के रूप में छपती है।",upg100Group:"जनसमूह — किसी सूची के भीतर के अलग-अलग अनपहुँचे समूह, सबसे बड़ी प्रार्थना आवश्यकता पहले। मानचित्र का हर बिंदु इनमें से एक है।",family:"भाषा परिवार — एक साझा पूर्वज से निकली भाषाओं का समूह (जैसे भारोपीय, अफ़्रो-एशियाई)।",language:"भाषा — किसी जनसमूह द्वारा प्रयुक्त संप्रेषण की प्रणाली (जैसे अरबी, बांग्ला, हिन्दी)।",dialect:"बोली/रूप — किसी भाषा का क्षेत्रीय या सामाजिक रूप (जैसे सूडानी अरबी; पाकिस्तानी सांकेतिक भाषा)।",bloc:"समानता समूह — सबसे व्यापक वर्गीकरण, सांस्कृतिक, भाषाई और भौगोलिक निकटता के आधार पर (जैसे मलय जन, दक्षिण एशियाई जन, बधिर, अरब जगत)।",cluster:"क्लस्टर — समूह के भीतर अधिक सूक्ष्म वर्गीकरण (जैसे मलय जन के भीतर बोर्नियो-कालीमंतान)। पंक्तियों पर «(क्लस्टर)» अंकित है, ताकि उन्हें जनसमूहों से अलग पहचाना जा सके।",group:"जनसमूह — देश से स्वतंत्र, अपने आप में एक नृजातीय-भाषाई पहचान। पंक्तियों पर «(जनसमूह)» अंकित है। एक ही जनसमूह कई देशों में रह सकता है (जैसे बधिर, सौ से अधिक देशों में)।",pgic:"देश में जनसमूह — प्रत्येक जनसमूह के लिए, वह जिस-जिस देश में रहता है, एक पंक्ति (जैसे «अबाई सुंगाई, मलेशिया»)। पंक्तियों पर «(देश में जनसमूह)» अंकित है।",region:"WAGF क्षेत्र — वह वृहत् क्षेत्र जिससे कोई देश संबंधित है (जैसे एशिया, अफ़्रीका)। मानचित्र पर हर एक का अपना रंग है।",block:"WAGF ब्लॉक — क्षेत्र के भीतर का उप-वर्ग (जैसे दक्षिण-पूर्व एशिया, पश्चिम अफ़्रीका)।",country:"देश — अलग-अलग देश, अपने ब्लॉक के भीतर अनछुई जनसंख्या के क्रम में।"},a11y:{expandRow:"{label} का विस्तार करें",collapseRow:"{label} को छोटा करें",clearSelection:"चयन हटाएँ",goUp:"ऊपर जाएँ: {label}"},export:{poster:"पोस्टर",packet:"UPG 100",packetExplain:"लगभग 50 से 100 अनपहुँचे जनसमूहों की एक प्रार्थना सूची — एक व्यक्ति एक ले सकता है।",packetAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त"},noDataAtThisLevel:"इस स्तर पर कोई डेटा नहीं",exportButton:"निर्यात",exportSelection:"चयन निर्यात करें",loadingRows:"{label} लोड हो रहे हैं…",loadingData:"डेटा लोड हो रहा है…",showingTop:"{m} में से शीर्ष {n} दिखाए जा रहे हैं",useGeocoderHint:"बाकी खोजने के लिए ऊपर दिए गए खोज बॉक्स का उपयोग करें",noList:"कोई सूची लोड नहीं हुई।"},Im={doxa:{label:"प्रोजेक्ट 2000: DOXA के जनसमूह",definition:"वे जनसमूह जिनकी DOXA सेवा करता है, जैसे उसकी लाइव सूची उन्हें देती है"},unreached:{label:"प्रोजेक्ट 7000: अपहुँचे जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 (फ़्रंटियर, पायनियर या एक्सपैंडिंग अपहुँचे: 2% से कम इवेंजेलिकल)"},frontier:{label:"प्रोजेक्ट 4700: फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 (फ़्रंटियर अपहुँचे: 0.1% या उससे कम इवेंजेलिकल)"},"frontier-500k":{label:"प्रोजेक्ट 700: 5,00,000 या उससे अधिक के फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 और कम से कम 5,00,000 की जनसंख्या"},unengaged:{label:"अपहुँचे और असंलग्न जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 और संलग्नता स्थिति: असंलग्न"}},zm={map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},Dm={menuComingSoon:"मेनू शीघ्र आ रहा है",pinHint:{tapDot:"किसी रंगीन बिंदु पर टैप करें — किसी को अभी भी प्रार्थना की आवश्यकता है"},upg100WallHeading:"मेरी UPG 100 सूची — प्रार्थना सूचियाँ और पोस्टर",upg100WallTag:"प्रार्थना संग्रहण",upg100WallIntroA:"पाँच हज़ार की भीड़ को आप कैसे खिलाते? यीशु ने उन्हें पचास-पचास और सौ-सौ के समूहों में बिठाया, और असंभव बाँटने योग्य हो गया (लूका 9:14). हमने 2,106 अनपहुँचे जनसमूहों के साथ वही किया: लगभग पचास से सौ तक की 27 सूचियाँ. हर सूची प्रार्थना पैकेट और पोस्टर के रूप में छपती है, ताकि 27 शिष्य, कलीसियाएँ या स्थानीय अगुवे एक-एक ले सकें — उनके लिए प्रार्थना करते हुए ",upg100WallIntroEmph:"उनके जन के नाम से",upg100WallIntroB:".",loadingNamed:"{name} लोड हो रहा है…",couldNotLoadNamed:"{name} लोड नहीं हो सका।",engineMissing:"{engine} नक्शा इंजन लोड नहीं हुआ।",packetFailed:"पुस्तिका विफल: {reason}",selectionPacketFailed:"चयन की पुस्तिका विफल: {reason}",posterOneTerritory:"पोस्टर एक समय में एक क्षेत्र छापता है — {count} चयनित।",selectionPosterFailed:"चयन का पोस्टर विफल: {reason}",mapUnavailable:"मानचित्र अनुपलब्ध",copied:"कॉपी हो गया!",copyFailed:"कॉपी विफल — Ctrl/Cmd-C दबाएँ",engineNotLoaded:"मानचित्र इंजन लोड नहीं हुआ",engineNotLoadedDetail:"{engine} मानचित्र इंजन लोड नहीं हुआ। सूची और लेजेंड अप्रभावित हैं।",viewLoadFailed:"यह दृश्य लोड नहीं हो सका।",retry:"फिर से कोशिश करें",noMapboxToken:"कोई Mapbox टोकन नहीं",noMapboxTokenDetail:"कोई Mapbox टोकन कॉन्फ़िगर नहीं है। सूची और लेजेंड पर कोई असर नहीं है।",loadingBoundaries:"सीमाएँ लोड हो रही हैं…",fetchingUupgs:"{n} UUPG लाए जा रहे हैं…",mapStatusCounts:"क्षेत्र: {polys} · ज़ोन: {zones}/{total} · पिन: {pins}",tapTerritoriesHint:"जोड़ने के लिए मानचित्र पर क्षेत्रों या लेजेंड की पंक्तियों पर टैप करें · हटाने के लिए फिर से टैप करें",territoriesSelected:"क्षेत्र: {count}",bandInRange:"✓ 50–100 दायरा",bandOutOfRange:"50–100 दायरा",mapContextLost:"ग्राफ़िक्स मेमोरी खाली करने के लिए यह मानचित्र अनलोड कर दिया गया।",nOfTotal:"{total} में से {n}",mapInitFailed:"मानचित्र आरंभ नहीं हो सका — टोकन और कंटेनर जाँचें",countryWallIntroA:"हर देश के लिए एक पोस्टर — प्रार्थना करने, छापने और दीवार पर लगाने के लिए तैयार, और उनके लिए प्रार्थना करते हुए ",countryWallIntroB:". क्षेत्र और देश इस क्रम में हैं कि उनमें कितने अनपहुँचे जनसमूह हैं, ताकि सबसे बड़ी ज़रूरत पहले आए।",countryWallSoon:"जल्द ही: हर देश के लिए एक प्रार्थना सूची बनाई जाएगी, जिसमें उसके हर अनपहुँचे जनसमूह का नाम होगा।",countryWallHeading:"देश पोस्टर — प्रार्थना सूचियाँ और पोस्टर",largerScreenNotice:"यह प्रायोगिक नक्शा बड़ी स्क्रीन के लिए बना है। यह यहाँ खुलता है, पर फ़ोन पर इसके कुछ हिस्से ठीक से न दिखें या न चलें।",desktopOnlyNotice:"{label} केवल डेस्कटॉप पर चलता है — इसे इस्तेमाल करने के लिए यह पेज कंप्यूटर पर खोलें।",noticeDismiss:"बंद करें",countryPosterTooMany:"एक पोस्टर पर साफ़-साफ़ आने के लिए जनसमूह बहुत अधिक हैं — समाधान पर काम चल रहा है।"},Bm={family:{Christianity:"ईसाई धर्म",Islam:"इस्लाम",Hinduism:"हिंदू धर्म",Buddhism:"बौद्ध धर्म",Ethnoreligion:"जातीय धर्म",Judaism:"यहूदी धर्म",Sikhism:"सिख धर्म",Unaffiliated:"असंबद्ध",Other:"अन्य",Unknown:"अज्ञात"}},Hm={placeholder:"लोग, स्थान, भाषा, धर्म",placeholderNoPlaces:"लोग, भाषा, धर्म (स्थान खोज के लिए Mapbox टोकन चाहिए)",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"},sections:{within:"{selection} के भीतर",allData:"सभी DOXA डेटा"},kinds:{people:"जनसमूह + देश",peopleGroup:"जनसमूह",bloc:"समानता समूह",cluster:"जनसमूह क्लस्टर",country:"देश",region:"क्षेत्र",family:"भाषा परिवार",languageKind:"भाषा",dialect:"बोली",religionKind:"धर्म"},upg100Placeholder:"जनसमूह, UPG-100 सूची या क्षेत्र खोजें…",tabPlaceholder:{languageFamilies:"भाषा परिवार, भाषा, बोली/रूप खोजें",affinityBlocks:"समानता समूह, क्लस्टर, जनसमूह खोजें",regions:"क्षेत्र, देश, जनसमूह खोजें",religion:"धर्म, जनसमूह खोजें"},placeholderRegions:"क्षेत्र, देश या जनसमूह खोजें"},Um={embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},jm={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio",collapseLegend:"Comprimi la legenda",expandLegend:"Espandi la legenda",toggleLegend:"Mostra o nascondi la legenda",searchPeopleGroups:"Cerca popoli",resetAllFilters:"Reimposta tutti i filtri e la ricerca",selectAllRows:"Seleziona tutte le righe",deselectAllRows:"Deseleziona tutte le righe",rowDetail:"Dettaglio riga",dismissHint:"Ignora il suggerimento",resizeFiltersRail:"Ridimensiona la barra dei filtri",resizeFiltersRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei filtri",resizeChartsRail:"Ridimensiona la barra dei grafici",resizeChartsRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei grafici",resizeMapTableSplit:"Ridimensiona la divisione mappa/tabella",resizeMapTableSplitHint:"Trascina o usa i tasti freccia per ridimensionare la divisione mappa/tabella",resizeTable:"Ridimensiona l'altezza della tabella",resizeTableHint:"Trascina o usa i tasti freccia per ridimensionare la tabella",resizeDashboardHeight:"Ridimensiona l'altezza della dashboard",resizeDashboardHeightHint:"Trascina o usa i tasti freccia per ridimensionare l'altezza della dashboard",removeFilter:"Rimuovi il filtro {name}",closeDetail:"Chiudi il dettaglio",filterBreadcrumb:"Percorso dei filtri",railViews:"Viste della barra",upgCountLegend:"Legenda del conteggio UPG",donutChart:"Grafico ad anello: {title}"},Gm={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",posterMap:"Mappa del poster",prayerList:"Lista di preghiera",cardDeck:"Mazzo di carte",printOptions:"Opzioni di stampa",showOnMap:"Mostra sulla mappa",close:"Chiudi",showOnMapAria:"Mostra {label} sulla mappa",cardStockAria:"Formato della scheda di preghiera",previewPrintPoster:"Anteprima e stampa del poster {label}",share:"Condividi",shareSteps:["Incorpora questa mappa nel tuo sito","Fai un elenco dei siti web della tua città","Insegna loro a incorporarla a loro volta","Insegna loro a formare altri a incorporarla","Moltiplichiamo le mappe ovunque per Gesù!"],clearSelection:"Cancella la selezione",noOptions:"Nessuna opzione trovata",renderingLocal:"Un’immagine con qualità di stampa viene generata nel tuo browser: nulla viene caricato.",postersPerRow:"Poster per riga",packetVariantAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero",working:"Elaborazione…",postersPerRowAuto:"Automatico"},Wm={research_controls:"Controlli di ricerca",clustering:"Raggruppamento",filters:"Filtri",pin_dim:"Opacità dei punti",export_poster:"Esporta poster…",reload_data:"Ricarica i dati",off:"Disattivato",native:"Nativo",mst:"MST",network:"Rete",off_desc:"Mostra ogni punto singolarmente",native_desc:"Cluster circolari Mapbox (il più veloce)",mst_desc:"Reti di affinità ad albero ricoprente minimo",network_desc:"Linee verso il vicino più prossimo",search_languages:"Cerca lingue…",search_religions:"Cerca religioni…",reset_all:"Reimposta tutto",no_languages:"Nessuna lingua ancora caricata",no_religions:"Nessuna religione ancora caricata",unadopted:"Non adottato",min:"min",max:"max",adopted:"Adottato",adoption:"Adozione",engaged:"Coinvolto",engagement:"Impegno",unengaged:"Necessita impegno",language:"Lingua",religion:"Religione",population:"Popolazione",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",close:"Chiudi",clear:"Cancella",map_controls:"Controlli della mappa",clusters:"Cluster",mst_full_name:"Albero ricoprente minimo",mst_hint:"fai clic su una riga della legenda per raggruppare solo quel gruppo"},qm={bloc:"Blocco di affinità",gospel_access:"Accesso al vangelo",people:"Popoli",people_name:"Popolo (nome)",praying:"In preghiera",religion_family:"Famiglia religiosa",search_language:"Cerca lingua",search_people:"Cerca popolo",search_place:"Cerca luogo",search_religion:"Cerca religione",upgs_in_scope:"UPG nell’ambito",countries_touched:"paesi toccati",unreached:"non raggiunti",sum_population:"Σ popolazione",sum_praying:"Σ in preghiera",charts:"Grafici",table:"Tabella",cluster:"Cluster",country:"Paese",engagement:"Impegno",language:"Lingua",language_family:"Famiglia linguistica",people_group:"Popolo",population:"Popolazione",prayer:"Preghiera",region:"Regione",religion:"Religione",status:"Stato",adopted:"Adottato",filters:"Filtri",gospel_resources:"Risorse del Vangelo",map:"Mappa",search_placeholder:"Cerca popoli, luoghi, lingue, religioni…",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",map_controls:"Controlli della mappa",close:"Chiudi",clear:"Cancella",dashboard_title:"Cruscotto di ricerca generale",align_dashboard:"Allinea cruscotto",align_dashboard_tip:"Ripristina la disposizione predefinita del cruscotto",selected:"Selezionato",world:"Mondo",vertical_legend:"Legenda verticale",groups_in_scope:"popoli nell’ambito",filter_by:"Filtra per",remove_filter:"Rimuovi filtro",groups:"popoli",expand:"Espandi",collapse:"Comprimi",place:"Luogo",export_csv:"Esporta CSV",detail:"Dettaglio",detail_empty:"Seleziona un popolo per vedere il dettaglio",heartbeat_zone:"zona del battito",top_countries:"Paesi principali",select_all:"Seleziona tutto",expand_table:"Espandi tabella",collapse_table:"Comprimi tabella — ingrandisci la mappa",group:"popolo",deselect_all:"Deseleziona tutto",results_live:"{count} di {total} {unit} mostrati",filters_live:"Filtri: {list}",search_live:"Ricerca: {term}",adopted_by_churches:"Adottati dalle chiese",bp_title:"Quadro generale — dashboard di ricerca unificata",bp_subtitle:"Cerca e filtra i gruppi di persone del mondo · prima i meno raggiunti",export_selection:"Esporta questa selezione",map_loading:"Caricamento della mappa di ricerca…",no_match:"Nessun gruppo di persone corrisponde a “{q}”.",no_photo:"Nessuna foto",only_selected:"Solo i selezionati",only_selected_hint:"Mostra solo i gruppi di persone selezionati",people_committed:"Persone impegnate",people_praying:"Persone che pregano",selected_first:"Prima i selezionati",selected_first_hint:"Porta in alto i gruppi di persone selezionati, mantenendo l’ordinamento delle colonne",n_shown:"{n} mostrati",other:"Altri",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latina",oceania:"Oceania",middle_east:"Medio Oriente","north_america_&_non-spanish_caribbean":"Nord America e Caraibi non ispanici"},sort_by_column_hint:"Ordina questa tabella per {column}: Maiusc+clic aggiunge una seconda colonna. L’ordinamento riguarda solo la tabella; le schede mantengono il proprio ordine.",fs_exit_hint:"Esci da schermo intero (Esc) — torna a sette righe",fs_open_hint:"Apri questa tabella a schermo intero",fs_exit:"Esci da schermo intero",fs_open:"Apri la tabella a schermo intero",export_selected_hint:"Esporta tutti i campi — popoli selezionati: {n}",export_all_hint:"Esporta tutti i campi — popoli: {n}",map_init_failed:"La mappa non è riuscita ad avviarsi. Controlla il token di accesso e il contenitore della mappa.",show_filters:"Mostra i filtri",hide_filters:"Nascondi i filtri — ingrandisci la mappa",show_charts:"Mostra i grafici",hide_charts:"Nascondi i grafici — ingrandisci la mappa",export_copied:"copiato negli appunti",export_done:"esportato",export_ready:"pronto",export_toast:"✓ {rows} righe × {fields} campi {how}",export_failed:"✕ Esportazione non riuscita",pray_for_group:"Prega per questo popolo",more_information:"Maggiori informazioni",title:"Cruscotto di ricerca",gospel_pending:"Non ancora pronto: il numero dei non raggiunti, la chiave della fonte dati e la forma dell’interfaccia sono ancora da decidere."},Vm={search:"Cerca popoli…",hide_filters:"Nascondi filtri",show_filters:"Mostra filtri",total:"Totale",showing:"Mostrati",load_more:"Carica altro",full_profile:"Profilo completo",wagf_region:"Regione",wagf_block:"Blocco di affinità",rop1:"Popolo",religion:"Religione",exact_filter:"Esatto",clear_all:"Cancella tutto",loading:"Caricamento…",no_results:"Nessun popolo corrisponde a questo filtro.",type_to_search:"Digita per cercare...",load_failed:"Impossibile caricare i dati dei popoli. È un problema di connessione, non del filtro.",search_people_or_countries:"Cerca popoli o paesi…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},Km={title:{adoption:"Avanzamento dell'adozione",affinityBlocs:"Blocchi di affinità",doxaRegions:"Regioni Doxa",engagement:"Avanzamento dell'impegno",gospelResources:"Risorse del Vangelo",languageFamilies:"Famiglie linguistiche",prayer:"Avanzamento della preghiera",upg100List:"La mia lista UPG 100",batchSelect:"Selezione multipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone",default:"Legenda"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},progress:{title:"Avanzamento",covered:"{covered} di {total} gruppi di persone coperti dalla preghiera · {pct}%",short:"{covered} di {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione",name:"Nome"},footer:{total:"Totale"},sortByUpgs:"Ordina per UUPG",sortByPop:"Ordina per popolazione",colLabel:{religion:"Religioni UUPG",prayer:"Stato della preghiera",engagement:"Stato dell'impegno",adoption:"Stato dell'adozione",status:"Stato"},titleBar:{legend:"Legenda",peopleGroups:"Popoli",wagfRegions:"Regioni WAGF",languages:"Lingue"},tabInfo:{upg100Region:"Regione — ordina le liste UPG-100 per area del mondo (Africa, India, Medio Oriente, Sordi, …). I totali sono gli UUPG e la popolazione sommati di ogni lista sottostante.",upg100Zone:"Liste UPG-100 — ognuna è una lista di preghiera dei gruppi etnici non raggiunti di un’area, ed è ciò che la mappa disegna e colora. Ogni lista si stampa come il proprio fascicolo.",upg100Group:"Gruppo etnico — i singoli gruppi non raggiunti dentro una lista, prima quelli con maggiore bisogno di preghiera. Ogni punto della mappa è uno di questi.",family:"Famiglia ling. — un insieme di lingue discese da un antenato comune (p. es. indoeuropea, afroasiatica).",language:"Lingua — un sistema di comunicazione usato da un popolo (p. es. arabo, bengalese, hindi).",dialect:"Dialetto/Variante — una forma regionale o sociale di una lingua (p. es. arabo sudanese; lingua dei segni pakistana).",bloc:"Blocco di affinità — il raggruppamento più ampio, per affinità culturale, linguistica e geografica (p. es. popoli malesi, popoli dell’Asia meridionale, sordi, mondo arabo).",cluster:"Cluster — un raggruppamento più fine all’interno di un blocco (p. es. Borneo-Kalimantan tra i popoli malesi). Le righe recano «(cluster)» per distinguerle dai popoli.",group:"Popolo — un’identità etnolinguistica in sé, indipendente dal paese. Le righe recano «(popolo)». Uno stesso popolo può vivere in molti paesi (i sordi, per esempio, in più di cento).",pgic:"Popolo nel paese — una riga per ogni popolo in ciascun paese in cui vive (p. es. «Abai Sungai, Malesia»). Le righe recano «(popolo nel paese)».",region:"Regione WAGF — la macroregione cui appartiene un paese (p. es. Asia, Africa). Ciascuna ha il proprio colore sulla mappa.",block:"Blocco WAGF — la suddivisione all’interno di una regione (p. es. Sud-est asiatico, Africa occidentale).",country:"Paese — i singoli paesi, ordinati per popolazione non raggiunta all’interno del loro blocco."},a11y:{expandRow:"Espandi {label}",collapseRow:"Comprimi {label}",clearSelection:"Cancella la selezione",goUp:"Sali a {label}"},export:{poster:"Manifesto",packet:"UPG 100",packetExplain:"Una lista di preghiera di circa 50-100 popoli non raggiunti: una persona può portarne una.",packetAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero"},noDataAtThisLevel:"Nessun dato a questo livello",exportButton:"Esporta",exportSelection:"Esporta la selezione",loadingRows:"Caricamento di {label}…",loadingData:"Caricamento dati…",showingTop:"Mostrati i primi {n} di {m}",useGeocoderHint:"usa la ricerca qui sopra per trovare gli altri",noList:"Nessun elenco caricato."},Ym={doxa:{label:"Progetto 2000: i popoli di DOXA",definition:"I popoli che DOXA serve, come li fornisce la sua lista in tempo reale"},unreached:{label:"Progetto 7000: popoli non raggiunti",definition:"Priorità di perdizione IMB 0–2 (non raggiunti di frontiera, pionieri o in espansione: meno del 2% evangelici)"},frontier:{label:"Progetto 4700: popoli di frontiera",definition:"Priorità di perdizione IMB 0 (non raggiunti di frontiera: 0,1% evangelici o meno)"},"frontier-500k":{label:"Progetto 700: popoli di frontiera di 500.000 o più",definition:"Priorità di perdizione IMB 0 e una popolazione di almeno 500.000"},unengaged:{label:"Popoli non raggiunti e non coinvolti",definition:"Priorità di perdizione IMB 0–2 e stato di coinvolgimento: non coinvolto"}},Zm={map:"Mappa",marker:"Indicatore sulla mappa",closePopup:"Chiudi popup",zoomIn:"Ingrandisci",zoomOut:"Riduci",resetBearing:"Trascina per ruotare la mappa, fai clic per tornare al nord",toggleAttribution:"Mostra/nascondi attribuzione",mapFeedback:"Feedback sulla mappa",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero",findMyLocation:"Trova la mia posizione",locationNotAvailable:"Posizione non disponibile",enableGlobe:"Attiva globo",disableGlobe:"Disattiva globo",ctrlScroll:"Usa Ctrl + scorrimento per ingrandire la mappa",cmdScroll:"Usa ⌘ + scorrimento per ingrandire la mappa",twoFingers:"Usa due dita per spostare la mappa",mapboxHomepage:"Home page di Mapbox",maplibreLogo:"Logo di MapLibre"},Xm={menuComingSoon:"Menu in arrivo",pinHint:{tapDot:"Tocca un punto colorato — qualcuno ha ancora bisogno di preghiera"},upg100WallHeading:"La mia lista UPG 100 — Liste di preghiera e manifesti",upg100WallTag:"Mobilitazione alla preghiera",upg100WallIntroA:"Come sfameresti una folla di cinquemila? Gesù li fece sedere a gruppi di cinquanta e di cento, e l’impossibile divenne condivisibile (Luca 9:14). Abbiamo fatto lo stesso con i 2.106 popoli non raggiunti: 27 liste di circa cinquanta-cento. Ogni lista si stampa come pacchetto di preghiera e manifesto, così 27 discepoli, chiese o responsabili locali ne portano una ciascuno — pregando per loro ",upg100WallIntroEmph:"con il nome del loro popolo",upg100WallIntroB:".",loadingNamed:"Caricamento di {name}…",couldNotLoadNamed:"Impossibile caricare {name}.",engineMissing:"Il motore di mappa {engine} non è stato caricato.",packetFailed:"Libretto non riuscito: {reason}",selectionPacketFailed:"Libretto della selezione non riuscito: {reason}",posterOneTerritory:"Il manifesto stampa un territorio alla volta — {count} selezionati.",selectionPosterFailed:"Manifesto della selezione non riuscito: {reason}",mapUnavailable:"Mappa non disponibile",copied:"Copiato!",copyFailed:"Copia non riuscita — premi Ctrl/Cmd-C",engineNotLoaded:"motore di mappe non caricato",engineNotLoadedDetail:"Il motore di mappe {engine} non si è caricato. L’elenco e la legenda non sono interessati.",viewLoadFailed:"Impossibile caricare questa vista.",retry:"Riprova",noMapboxToken:"Nessun token Mapbox",noMapboxTokenDetail:"Nessun token Mapbox configurato. L’elenco e la legenda non sono interessati.",loadingBoundaries:"Caricamento dei confini…",fetchingUupgs:"Recupero di {n} UUPG…",mapStatusCounts:"Aree: {polys} · zone: {zones}/{total} · segnaposto: {pins}",tapTerritoriesHint:"Tocca i territori sulla mappa o le righe della legenda per aggiungerli · tocca di nuovo per rimuoverli",territoriesSelected:"Territori: {count}",bandInRange:"✓ fascia 50–100",bandOutOfRange:"fascia 50–100",mapContextLost:"Questa mappa è stata scaricata per liberare memoria grafica.",nOfTotal:"{n} su {total}",mapInitFailed:"Impossibile inizializzare la mappa — controlla il token e il contenitore",countryWallIntroA:"Un poster per paese, pronto da pregare, stampare e appendere al muro — pregando per loro ",countryWallIntroB:". Regioni e paesi sono ordinati in base a quanti popoli non raggiunti contengono, perché il bisogno più grande venga per primo.",countryWallSoon:"Prossimamente: per ogni paese verrà generata una lista di preghiera con il nome di ogni popolo non raggiunto che vi abita.",countryWallHeading:"Poster per paese — Liste di preghiera e manifesti",largerScreenNotice:"Questa mappa sperimentale è pensata per schermi grandi. Si apre qui, ma alcune parti potrebbero non entrare o non funzionare bene su un telefono.",desktopOnlyNotice:"{label} funziona solo su desktop: apri questa pagina da un computer per usarlo.",noticeDismiss:"Chiudi",countryPosterTooMany:"Troppi popoli per stare in modo leggibile su un solo manifesto: una soluzione è in arrivo."},Jm={family:{Christianity:"Cristianesimo",Islam:"Islam",Hinduism:"Induismo",Buddhism:"Buddhismo",Ethnoreligion:"Etnoreligione",Judaism:"Ebraismo",Sikhism:"Sikhismo",Unaffiliated:"Senza affiliazione",Other:"Altro",Unknown:"Sconosciuta"}},Qm={placeholder:"Popolo, luogo, lingua, religione",placeholderNoPlaces:"Popolo, lingua, religione (la ricerca di luoghi richiede un token Mapbox)",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"},sections:{within:"In {selection}",allData:"Tutti i dati DOXA"},kinds:{people:"Popolo + paese",peopleGroup:"Popolo",bloc:"Blocco di affinità",cluster:"Cluster di popoli",country:"Paese",region:"Regione",family:"Famiglia linguistica",languageKind:"Lingua",dialect:"Dialetto",religionKind:"Religione"},upg100Placeholder:"Cerca popolo, elenco UPG-100 o regione…",tabPlaceholder:{languageFamilies:"Cerca famiglia linguistica, lingua, dialetto/variante",affinityBlocks:"Cerca blocco di affinità, cluster, popolo",regions:"Cerca regione, paese, popolo",religion:"Cerca religione, popolo"},placeholderRegions:"Cerca regione, paese o popolo"},e_={embed_link:"Link di incorporamento",add_to_website:"Aggiungi al tuo sito web",embed_paste_hint:"Incolla questo codice nel tuo costruttore di siti web (WordPress, Squarespace, Wix o qualsiasi sito che accetti widget HTML)."},t_={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe",collapseLegend:"Recolher a legenda",expandLegend:"Expandir a legenda",toggleLegend:"Mostrar ou ocultar a legenda",searchPeopleGroups:"Pesquisar povos",resetAllFilters:"Redefinir todos os filtros e a pesquisa",selectAllRows:"Selecionar todas as linhas",deselectAllRows:"Desmarcar todas as linhas",rowDetail:"Detalhe da linha",dismissHint:"Dispensar a dica",resizeFiltersRail:"Redimensionar o painel de filtros",resizeFiltersRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de filtros",resizeChartsRail:"Redimensionar o painel de gráficos",resizeChartsRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de gráficos",resizeMapTableSplit:"Redimensionar a divisão entre o mapa e a tabela",resizeMapTableSplitHint:"Arraste ou use as teclas de seta para redimensionar a divisão entre o mapa e a tabela",resizeTable:"Redimensionar a altura da tabela",resizeTableHint:"Arraste ou use as teclas de seta para redimensionar a tabela",resizeDashboardHeight:"Redimensionar a altura do painel",resizeDashboardHeightHint:"Arraste ou use as teclas de seta para redimensionar a altura do painel",removeFilter:"Remover o filtro {name}",closeDetail:"Fechar o detalhe",filterBreadcrumb:"Trilho de filtros",railViews:"Vistas do painel",upgCountLegend:"Legenda da contagem de UPG",donutChart:"Gráfico de rosca: {title}"},o_={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",posterMap:"Mapa do cartaz",prayerList:"Lista de oração",cardDeck:"Baralho de cartões",printOptions:"Opções de impressão",showOnMap:"Ver no mapa",close:"Fechar",showOnMapAria:"Ver {label} no mapa",cardStockAria:"Tamanho do cartão de oração",previewPrintPoster:"Pré-visualizar e imprimir o cartaz de {label}",share:"Partilhar",shareSteps:["Incorpore este mapa no seu site","Faça uma lista dos sites da sua cidade","Ensine-os a incorporá-lo também","Ensine-os a ensinar outros a incorporá-lo","Multipliquemos mapas por toda a parte para Jesus!"],clearSelection:"Limpar a seleção",noOptions:"Nenhuma opção encontrada",renderingLocal:"Uma imagem com qualidade de impressão está a ser gerada no seu navegador — nada é enviado.",postersPerRow:"Cartazes por linha",packetVariantAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve",working:"Processando…",postersPerRowAuto:"Automático"},n_={research_controls:"Controlos de pesquisa",clustering:"Agrupamento",filters:"Filtros",pin_dim:"Esbater pontos",export_poster:"Exportar cartaz…",reload_data:"Recarregar dados",off:"Desligado",native:"Nativo",mst:"MST",network:"Rede",off_desc:"Mostrar cada ponto individualmente",native_desc:"Grupos circulares Mapbox (mais rápido)",mst_desc:"Redes de afinidade por árvore geradora mínima",network_desc:"Linhas para o vizinho mais próximo",search_languages:"Pesquisar idiomas…",search_religions:"Pesquisar religiões…",reset_all:"Repor tudo",no_languages:"Ainda não há idiomas carregados",no_religions:"Ainda não há religiões carregadas",unadopted:"Não adotado",min:"mín",max:"máx",adopted:"Adotado",adoption:"Adoção",engaged:"Engajado",engagement:"Engajamento",unengaged:"Precisa de envolvimento",language:"Idioma",religion:"Religião",population:"População",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",close:"Fechar",clear:"Limpar",map_controls:"Controlos do mapa",clusters:"Agrupamentos",mst_full_name:"Árvore geradora mínima",mst_hint:"clique numa linha da legenda para agrupar apenas esse grupo"},a_={bloc:"Bloco de afinidade",gospel_access:"Acesso ao evangelho",people:"Povos",people_name:"Povo (nome)",praying:"A orar",religion_family:"Família religiosa",search_language:"Pesquisar idioma",search_people:"Pesquisar povo",search_place:"Pesquisar lugar",search_religion:"Pesquisar religião",upgs_in_scope:"UPG no âmbito",countries_touched:"países alcançados",unreached:"não alcançados",sum_population:"Σ população",sum_praying:"Σ a orar",charts:"Gráficos",table:"Tabela",cluster:"Agrupamento",country:"País",engagement:"Engajamento",language:"Idioma",language_family:"Família linguística",people_group:"Povo",population:"População",prayer:"Oração",region:"Região",religion:"Religião",status:"Status",adopted:"Adotado",filters:"Filtros",gospel_resources:"Recursos do Evangelho",map:"Mapa",search_placeholder:"Pesquisar povos, lugares, idiomas, religiões…",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",map_controls:"Controlos do mapa",close:"Fechar",clear:"Limpar",dashboard_title:"Painel de pesquisa geral",align_dashboard:"Alinhar painel",align_dashboard_tip:"Repor a disposição do painel para o alinhamento predefinido",selected:"Selecionado",world:"Mundo",vertical_legend:"Legenda vertical",groups_in_scope:"povos no âmbito",filter_by:"Filtrar por",remove_filter:"Remover filtro",groups:"povos",expand:"Expandir",collapse:"Recolher",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalhe",detail_empty:"Selecione um povo para ver o detalhe",heartbeat_zone:"zona do batimento",top_countries:"Principais países",select_all:"Selecionar tudo",expand_table:"Expandir tabela",collapse_table:"Recolher tabela — ampliar o mapa",group:"povo",deselect_all:"Desmarcar tudo",results_live:"A mostrar {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Pesquisa: {term}",adopted_by_churches:"Adotados por igrejas",bp_title:"Visão geral — painel de investigação unificado",bp_subtitle:"Pesquise e filtre os grupos de pessoas do mundo · primeiro os menos alcançados",export_selection:"Exportar esta seleção",map_loading:"A carregar o mapa de investigação…",no_match:"Nenhum grupo de pessoas corresponde a “{q}”.",no_photo:"Sem foto",only_selected:"Apenas os selecionados",only_selected_hint:"Mostrar apenas os grupos de pessoas selecionados",people_committed:"Pessoas comprometidas",people_praying:"Pessoas a orar",selected_first:"Os selecionados primeiro",selected_first_hint:"Trazer para cima os grupos de pessoas selecionados, mantendo a ordenação das colunas",n_shown:"{n} apresentados",other:"Outros",wagfRegion:{africa:"África",asia:"Ásia",europe:"Europa","latin_america_&_caribbean":"América Latina",oceania:"Oceania",middle_east:"Oriente Médio","north_america_&_non-spanish_caribbean":"América do Norte e Caribe não hispânico"},sort_by_column_hint:"Ordenar esta tabela por {column} — Shift+clique adiciona uma segunda coluna. A ordenação afeta apenas a tabela; os cartões mantêm a própria ordem.",fs_exit_hint:"Sair da tela cheia (Esc) — voltar a sete linhas",fs_open_hint:"Abrir esta tabela em tela cheia",fs_exit:"Sair da tela cheia",fs_open:"Abrir a tabela em tela cheia",export_selected_hint:"Exportar todos os campos — povos selecionados: {n}",export_all_hint:"Exportar todos os campos — povos: {n}",map_init_failed:"O mapa não conseguiu iniciar. Verifique o token de acesso e o contentor do mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar o mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar o mapa",export_copied:"copiado para a área de transferência",export_done:"exportado",export_ready:"pronto",export_toast:"✓ {rows} linhas × {fields} campos {how}",export_failed:"✕ Falha ao exportar",pray_for_group:"Ore por este povo",more_information:"Mais informações",title:"Painel de pesquisa",gospel_pending:"Ainda não está pronto: o número de não alcançados, a chave da fonte de dados e a forma da interface estão por decidir."},r_={search:"Pesquisar povos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Carregar mais",full_profile:"Perfil completo",wagf_region:"Região",wagf_block:"Bloco de afinidade",rop1:"Povo",religion:"Religião",exact_filter:"Exato",clear_all:"Limpar tudo",loading:"A carregar…",no_results:"Nenhum povo corresponde a este filtro.",type_to_search:"Escreva para pesquisar...",load_failed:"Não foi possível carregar os dados dos povos. É um problema de ligação, não do seu filtro.",search_people_or_countries:"Pesquisar povos ou países…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},s_={title:{adoption:"Progresso da adoção",affinityBlocs:"Blocos de afinidade",doxaRegions:"Regiões Doxa",engagement:"Progresso do envolvimento",gospelResources:"Recursos do Evangelho",languageFamilies:"Famílias linguísticas",prayer:"Progresso da oração",upg100List:"A minha lista UPG 100",batchSelect:"Seleção múltipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas",default:"Legenda"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},progress:{title:"Progresso",covered:"{covered} de {total} grupos de pessoas cobertos em oração · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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"},tabInfo:{upg100Region:"Região — ordena as listas UPG-100 por área do mundo (África, Índia, Oriente Médio, Surdos, …). Os totais são os UUPG e a população somados de todas as listas abaixo dela.",upg100Zone:"Listas UPG-100 — cada uma é uma lista de oração dos grupos étnicos não alcançados de uma área, e é o que o mapa pinta e colore. Cada lista é impressa como seu próprio pacote.",upg100Group:"Grupo étnico — os grupos não alcançados dentro de uma lista, primeiro os de maior necessidade de oração. Cada ponto do mapa é um deles.",family:"Família linguística — um conjunto de línguas descendentes de um ancestral comum (p. ex. indo-europeia, afro-asiática).",language:"Idioma — um sistema de comunicação usado por um povo (p. ex. árabe, bengali, híndi).",dialect:"Dialeto/Variedade — uma forma regional ou social de uma língua (p. ex. árabe sudanês; língua gestual paquistanesa).",bloc:"Bloco de afinidade — o agrupamento mais amplo, por parentesco cultural, linguístico e geográfico (p. ex. povos malaios, povos do Sul da Ásia, surdos, mundo árabe).",cluster:"Agrupamento — um agrupamento mais fino dentro de um bloco (p. ex. Bornéu-Kalimantan entre os povos malaios). As linhas levam «(agrupamento)» para as distinguir dos povos.",group:"Povo — uma identidade etnolinguística em si mesma, independente do país. As linhas levam «(povo)». Um mesmo povo pode viver em muitos países (os surdos, por exemplo, em mais de cem).",pgic:"Povo no país — uma linha por cada povo em cada país onde vive (p. ex. «Abai Sungai, Malásia»). As linhas levam «(povo no país)».",region:"Região WAGF — a macrorregião a que pertence um país (p. ex. Ásia, África). Cada uma tem a sua cor no mapa.",block:"Bloco WAGF — a subdivisão dentro de uma região (p. ex. Sudeste Asiático, África Ocidental).",country:"País — os países um a um, ordenados por população não alcançada dentro do seu bloco."},a11y:{expandRow:"Expandir {label}",collapseRow:"Recolher {label}",clearSelection:"Limpar a seleção",goUp:"Subir para {label}"},export:{poster:"Cartaz",packet:"UPG 100",packetExplain:"Uma lista de oração de cerca de 50 a 100 povos não alcançados: uma pessoa pode levar uma.",packetAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve"},noDataAtThisLevel:"Sem dados neste nível",exportButton:"Exportar",exportSelection:"Exportar a seleção",loadingRows:"Carregando {label}…",loadingData:"Carregando dados…",showingTop:"Mostrando os {n} principais de {m}",useGeocoderHint:"use a busca acima para encontrar os restantes",noList:"Nenhuma lista carregada."},i_={doxa:{label:"Projeto 2000: os povos da DOXA",definition:"Os povos que a DOXA serve, como a sua lista ao vivo os apresenta"},unreached:{label:"Projeto 7000: povos não alcançados",definition:"Prioridade de perdição do IMB 0–2 (não alcançados de fronteira, pioneiros ou em expansão: menos de 2% evangélicos)"},frontier:{label:"Projeto 4700: povos de fronteira",definition:"Prioridade de perdição do IMB 0 (não alcançados de fronteira: 0,1% evangélicos ou menos)"},"frontier-500k":{label:"Projeto 700: povos de fronteira de 500.000 ou mais",definition:"Prioridade de perdição do IMB 0 e uma população de pelo menos 500.000"},unengaged:{label:"Povos não alcançados e não engajados",definition:"Prioridade de perdição do IMB 0–2 e estado de engajamento: não engajado"}},l_={map:"Mapa",marker:"Marcador do mapa",closePopup:"Fechar janela",zoomIn:"Aumentar zoom",zoomOut:"Diminuir zoom",resetBearing:"Arraste para girar o mapa, clique para voltar ao norte",toggleAttribution:"Mostrar/ocultar atribuição",mapFeedback:"Comentários sobre o mapa",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia",findMyLocation:"Encontrar minha localização",locationNotAvailable:"Localização indisponível",enableGlobe:"Ativar globo",disableGlobe:"Desativar globo",ctrlScroll:"Use Ctrl + rolagem para ampliar o mapa",cmdScroll:"Use ⌘ + rolagem para ampliar o mapa",twoFingers:"Use dois dedos para mover o mapa",mapboxHomepage:"Página inicial do Mapbox",maplibreLogo:"Logótipo do MapLibre"},c_={menuComingSoon:"Menu em breve",pinHint:{tapDot:"Toque num ponto colorido — alguém ainda precisa de oração"},upg100WallHeading:"Minha lista UPG 100 — Listas de oração e cartazes",upg100WallTag:"Mobilização de oração",upg100WallIntroA:"Como você alimentaria uma multidão de cinco mil? Jesus os sentou em grupos de cinquenta e de cem, e o impossível tornou-se compartilhável (Lucas 9.14). Fizemos o mesmo com os 2.106 povos não alcançados: 27 listas de cerca de cinquenta a cem. Cada lista imprime como pacote de oração e cartaz, para que 27 discípulos, igrejas ou líderes locais levem uma cada um — orando por eles ",upg100WallIntroEmph:"pelo nome do seu povo",upg100WallIntroB:".",loadingNamed:"Carregando {name}…",couldNotLoadNamed:"Não foi possível carregar {name}.",engineMissing:"O motor de mapa {engine} não foi carregado.",packetFailed:"Falha ao gerar o caderno: {reason}",selectionPacketFailed:"Falha ao gerar o caderno da seleção: {reason}",posterOneTerritory:"O cartaz imprime um território de cada vez — {count} selecionados.",selectionPosterFailed:"Falha ao gerar o cartaz da seleção: {reason}",mapUnavailable:"Mapa indisponível",copied:"Copiado!",copyFailed:"Falha ao copiar — pressione Ctrl/Cmd-C",engineNotLoaded:"motor de mapas não carregado",engineNotLoadedDetail:"O motor de mapas {engine} não carregou. A lista e a legenda não são afetadas.",viewLoadFailed:"Não foi possível carregar esta visualização.",retry:"Tentar novamente",noMapboxToken:"Nenhum token do Mapbox",noMapboxTokenDetail:"Nenhum token do Mapbox configurado. A lista e a legenda não são afetadas.",loadingBoundaries:"Carregando limites…",fetchingUupgs:"Buscando {n} UUPGs…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque em territórios no mapa ou em linhas da legenda para adicionar · toque de novo para remover",territoriesSelected:"Territórios: {count}",bandInRange:"✓ faixa 50–100",bandOutOfRange:"faixa 50–100",mapContextLost:"Este mapa foi descarregado para libertar memória gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"Falha ao iniciar o mapa — verifique o token e o contêiner",countryWallIntroA:"Um cartaz por país, pronto para orar, imprimir e pendurar na parede — orando por eles ",countryWallIntroB:". As regiões e os países são ordenados pelo número de povos não engajados que abrigam, para que a maior necessidade venha primeiro.",countryWallSoon:"Em breve: será gerada uma lista de oração para cada país, com o nome de cada povo não alcançado nele.",countryWallHeading:"Cartazes por país — Listas de oração e cartazes",largerScreenNotice:"Este mapa experimental foi feito para telas maiores. Ele abre aqui, mas algumas partes podem não caber ou não funcionar bem no celular.",desktopOnlyNotice:"{label} só funciona no computador — abra esta página num computador para usá-lo.",noticeDismiss:"Fechar",countryPosterTooMany:"Povos demais para caber de forma legível em um só cartaz — uma solução está a caminho."},u_={family:{Christianity:"Cristianismo",Islam:"Islão",Hinduism:"Hinduísmo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligião",Judaism:"Judaísmo",Sikhism:"Siquismo",Unaffiliated:"Sem afiliação",Other:"Outra",Unknown:"Desconhecida"}},d_={placeholder:"Povo, local, língua, religião",placeholderNoPlaces:"Povo, língua, religião (a busca de locais requer um token do Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos os dados DOXA"},upg100Placeholder:"Procurar povo, lista UPG-100 ou região…",tabPlaceholder:{languageFamilies:"Pesquisar família linguística, idioma, dialeto/variedade",affinityBlocks:"Pesquisar bloco de afinidade, agrupamento, povo",regions:"Pesquisar região, país, povo",religion:"Pesquisar religião, povo"},placeholderRegions:"Procurar região, país ou povo"},p_={embed_link:"Link de incorporação",add_to_website:"Adicione ao seu site",embed_paste_hint:"Cole este código no seu construtor de sites (WordPress, Squarespace, Wix ou qualquer site que aceite widgets HTML)."},g_={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată",collapseLegend:"Restrânge legenda",expandLegend:"Extinde legenda",toggleLegend:"Afișează sau ascunde legenda",searchPeopleGroups:"Caută popoare",resetAllFilters:"Resetează toate filtrele și căutarea",selectAllRows:"Selectează toate rândurile",deselectAllRows:"Deselectează toate rândurile",rowDetail:"Detaliu rând",dismissHint:"Închide sugestia",resizeFiltersRail:"Redimensionează bara de filtre",resizeFiltersRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de filtre",resizeChartsRail:"Redimensionează bara de grafice",resizeChartsRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de grafice",resizeMapTableSplit:"Redimensionează împărțirea hartă/tabel",resizeMapTableSplitHint:"Trage sau folosește tastele săgeată pentru a redimensiona împărțirea hartă/tabel",resizeTable:"Redimensionează înălțimea tabelului",resizeTableHint:"Trage sau folosește tastele săgeată pentru a redimensiona tabelul",resizeDashboardHeight:"Redimensionează înălțimea tabloului de bord",resizeDashboardHeightHint:"Trage sau folosește tastele săgeată pentru a redimensiona înălțimea tabloului de bord",removeFilter:"Elimină filtrul {name}",closeDetail:"Închide detaliul",filterBreadcrumb:"Traseul filtrelor",railViews:"Vizualizările barei",upgCountLegend:"Legenda numărului de UPG",donutChart:"Diagramă inelară: {title}"},f_={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ă",posterMap:"Harta afișului",prayerList:"Listă de rugăciune",cardDeck:"Pachet de cartonașe",printOptions:"Opțiuni de tipărire",showOnMap:"Arată pe hartă",close:"Închide",showOnMapAria:"Arată {label} pe hartă",cardStockAria:"Dimensiunea cardului de rugăciune",previewPrintPoster:"Previzualizează și tipărește posterul {label}",share:"Distribuie",shareSteps:["Încorporează această hartă pe site-ul tău","Fă o listă cu site-urile din orașul tău","Învață-i să o încorporeze și ei","Învață-i să îi formeze pe alții să o încorporeze","Să multiplicăm hărți pretutindeni pentru Isus!"],clearSelection:"Șterge selecția",noOptions:"Nicio opțiune găsită",renderingLocal:"O imagine de calitate pentru tipar este generată în browserul tău — nimic nu este încărcat.",postersPerRow:"Postere pe rând",packetVariantAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus",working:"Se procesează…",postersPerRowAuto:"Automat"},h_={research_controls:"Comenzi de cercetare",clustering:"Grupare",filters:"Filtre",pin_dim:"Estompare puncte",export_poster:"Exportă posterul…",reload_data:"Reîncarcă datele",off:"Oprit",native:"Nativ",mst:"MST",network:"Rețea",off_desc:"Arată fiecare punct separat",native_desc:"Grupuri circulare Mapbox (cel mai rapid)",mst_desc:"Rețele de afinitate prin arbore minim de acoperire",network_desc:"Linii către cel mai apropiat vecin",search_languages:"Caută limbi…",search_religions:"Caută religii…",reset_all:"Resetează tot",no_languages:"Nicio limbă încărcată încă",no_religions:"Nicio religie încărcată încă",unadopted:"Neadoptat",min:"min",max:"max",adopted:"Adoptat",adoption:"Adopție",engaged:"Implicat",engagement:"Implicare",unengaged:"Necesită implicare",language:"Limbă",religion:"Religie",population:"Populație",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",close:"Închide",clear:"Șterge",map_controls:"Comenzile hărții",clusters:"Grupuri",mst_full_name:"Arbore de acoperire minim",mst_hint:"dă clic pe un rând din legendă pentru a grupa doar acel grup"},m_={bloc:"Bloc de afinitate",gospel_access:"Acces la Evanghelie",people:"Popoare",people_name:"Popor (nume)",praying:"Se roagă",religion_family:"Familie religioasă",search_language:"Caută limbă",search_people:"Caută popor",search_place:"Caută loc",search_religion:"Caută religie",upgs_in_scope:"UPG în domeniu",countries_touched:"țări atinse",unreached:"neatinși",sum_population:"Σ populație",sum_praying:"Σ se roagă",charts:"Grafice",table:"Tabel",cluster:"Grup",country:"Țară",engagement:"Implicare",language:"Limbă",language_family:"Familie de limbi",people_group:"Popor",population:"Populație",prayer:"Rugăciune",region:"Regiune",religion:"Religie",status:"Stare",adopted:"Adoptat",filters:"Filtre",gospel_resources:"Resurse ale Evangheliei",map:"Hartă",search_placeholder:"Caută popoare, locuri, limbi, religii…",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",map_controls:"Comenzile hărții",close:"Închide",clear:"Șterge",dashboard_title:"Tablou de bord de cercetare general",align_dashboard:"Aliniază tabloul",align_dashboard_tip:"Readu aranjarea tabloului la alinierea implicită",selected:"Selectat",world:"Lume",vertical_legend:"Legendă verticală",groups_in_scope:"popoare în domeniu",filter_by:"Filtrează după",remove_filter:"Elimină filtrul",groups:"popoare",expand:"Extinde",collapse:"Restrânge",place:"Loc",export_csv:"Exportă CSV",detail:"Detaliu",detail_empty:"Selectează un popor pentru a vedea detaliile",heartbeat_zone:"zona bătăilor inimii",top_countries:"Țări de top",select_all:"Selectează tot",expand_table:"Extinde tabelul",collapse_table:"Restrânge tabelul — mărește harta",group:"popor",deselect_all:"Deselectează tot",results_live:"{count} din {total} {unit} afișate",filters_live:"Filtre: {list}",search_live:"Căutare: {term}",adopted_by_churches:"Adoptate de biserici",bp_title:"Imaginea de ansamblu — tablou de bord unificat de cercetare",bp_subtitle:"Caută și filtrează grupurile de oameni din lume · cele mai puțin atinse primele",export_selection:"Exportă această selecție",map_loading:"Se încarcă harta de cercetare…",no_match:"Niciun grup de oameni nu se potrivește cu „{q}”.",no_photo:"Nicio fotografie",only_selected:"Doar cele selectate",only_selected_hint:"Arată doar grupurile de oameni selectate",people_committed:"Persoane angajate",people_praying:"Persoane care se roagă",selected_first:"Cele selectate primele",selected_first_hint:"Ridică grupurile de oameni selectate în partea de sus, păstrând sortarea coloanelor",n_shown:"{n} afișate",other:"Altele",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latină",oceania:"Oceania",middle_east:"Orientul Mijlociu","north_america_&_non-spanish_caribbean":"America de Nord și Caraibe nehispanice"},sort_by_column_hint:"Sortează acest tabel după {column} — Shift+clic adaugă o a doua coloană. Sortarea ordonează doar tabelul; cardurile își păstrează propria ordine.",fs_exit_hint:"Ieși din ecran complet (Esc) — înapoi la șapte rânduri",fs_open_hint:"Deschide acest tabel pe ecran complet",fs_exit:"Ieși din ecran complet",fs_open:"Deschide tabelul pe ecran complet",export_selected_hint:"Exportă toate câmpurile — popoare selectate: {n}",export_all_hint:"Exportă toate câmpurile — popoare: {n}",map_init_failed:"Harta nu a putut porni. Verificați jetonul de acces și containerul hărții.",show_filters:"Arată filtrele",hide_filters:"Ascunde filtrele — mărește harta",show_charts:"Arată graficele",hide_charts:"Ascunde graficele — mărește harta",export_copied:"copiat în clipboard",export_done:"exportat",export_ready:"gata",export_toast:"✓ {rows} rânduri × {fields} câmpuri {how}",export_failed:"✕ Exportul a eșuat",pray_for_group:"Roagă-te pentru acest popor",more_information:"Mai multe informații",title:"Tablou de bord de cercetare",gospel_pending:"Încă nu este gata: cifra celor neatinși, cheia sursei de date și forma interfeței sunt încă de hotărât."},__={search:"Caută popoare…",hide_filters:"Ascunde filtrele",show_filters:"Arată filtrele",total:"Total",showing:"Se afișează",load_more:"Încarcă mai mult",full_profile:"Profil complet",wagf_region:"Regiune",wagf_block:"Bloc de afinitate",rop1:"Popor",religion:"Religie",exact_filter:"Exact",clear_all:"Șterge tot",loading:"Se încarcă…",no_results:"Niciun popor nu corespunde acestui filtru.",type_to_search:"Scrie pentru a căuta...",load_failed:"Datele despre popoare nu au putut fi încărcate. Este o problemă de conexiune, nu a filtrului.",search_people_or_countries:"Caută popoare sau țări…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},b_={title:{adoption:"Progresul adopției",affinityBlocs:"Blocuri de afinitate",doxaRegions:"Regiuni Doxa",engagement:"Progresul implicării",gospelResources:"Resurse ale Evangheliei",languageFamilies:"Familii de limbi",prayer:"Progresul rugăciunii",upg100List:"Lista mea UPG 100",batchSelect:"Selecție multiplă"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare",default:"Legendă"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},progress:{title:"Progres",covered:"{covered} din {total} grupuri de popoare acoperite în rugăciune · {pct}%",short:"{covered} din {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație",name:"Nume"},footer:{total:"Total"},sortByUpgs:"Sortează după UUPG",sortByPop:"Sortează după populație",colLabel:{religion:"Religii UUPG",prayer:"Starea rugăciunii",engagement:"Starea implicării",adoption:"Starea adopției",status:"Stare"},titleBar:{legend:"Legendă",peopleGroups:"Popoare",wagfRegions:"Regiuni WAGF",languages:"Limbi"},tabInfo:{upg100Region:"Regiune — sortează listele UPG-100 după zona lumii (Africa, India, Orientul Mijlociu, Surzi, …). Totalurile sunt UUPG-urile și populația însumate din fiecare listă de dedesubt.",upg100Zone:"Liste UPG-100 — fiecare este o listă de rugăciune a grupurilor etnice neatinse dintr-o zonă și este ceea ce harta desenează și colorează. Fiecare listă se tipărește ca propriul pachet.",upg100Group:"Grup etnic — grupurile neatinse dintr-o listă, mai întâi cele cu cea mai mare nevoie de rugăciune. Fiecare punct de pe hartă este unul dintre ele.",family:"Familie de limbi — un grup de limbi provenite dintr-un strămoș comun (de ex. indo-europeană, afro-asiatică).",language:"Limbă — un sistem de comunicare folosit de un popor (de ex. arabă, bengaleză, hindi).",dialect:"Dialect/Variantă — o formă regională sau socială a unei limbi (de ex. araba sudaneză; limbajul semnelor pakistanez).",bloc:"Bloc de afinitate — cea mai largă grupare, după înrudirea culturală, lingvistică și geografică (de ex. popoarele malaieze, popoarele din Asia de Sud, surzii, lumea arabă).",cluster:"Grup — o grupare mai fină în interiorul unui bloc (de ex. Borneo-Kalimantan între popoarele malaieze). Rândurile poartă „(grup)”, spre a le deosebi de popoare.",group:"Popor — o identitate etnolingvistică în sine, independentă de țară. Rândurile poartă „(popor)”. Același popor poate trăi în multe țări (surzii, de pildă, în peste o sută).",pgic:"Popor în țară — câte un rând pentru fiecare popor din fiecare țară în care trăiește (de ex. „Abai Sungai, Malaysia”). Rândurile poartă „(popor în țară)”.",region:"Regiune WAGF — macroregiunea de care ține o țară (de ex. Asia, Africa). Fiecare are culoarea ei pe hartă.",block:"Bloc WAGF — subdiviziunea din interiorul unei regiuni (de ex. Asia de Sud-Est, Africa de Vest).",country:"Țară — țările una câte una, ordonate după populația neatinsă din blocul lor."},a11y:{expandRow:"Extinde {label}",collapseRow:"Restrânge {label}",clearSelection:"Șterge selecția",goUp:"Urcă la {label}"},export:{poster:"Afiș",packet:"UPG 100",packetExplain:"O listă de rugăciune de aproximativ 50-100 de popoare neatinse — o persoană poate purta una.",packetAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus"},noDataAtThisLevel:"Nu există date la acest nivel",exportButton:"Exportă",exportSelection:"Exportă selecția",loadingRows:"Se încarcă {label}…",loadingData:"Se încarcă datele…",showingTop:"Se afișează primele {n} din {m}",useGeocoderHint:"folosește căutarea de mai sus pentru a le găsi pe celelalte",noList:"Nicio listă încărcată."},$_={doxa:{label:"Proiectul 2000: popoarele DOXA",definition:"Popoarele pe care DOXA le slujește, așa cum le dă lista sa live"},unreached:{label:"Proiectul 7000: popoare neatinse",definition:"Prioritatea de pierzare IMB 0–2 (neatinse de frontieră, pionier sau în expansiune: sub 2% evanghelici)"},frontier:{label:"Proiectul 4700: popoare de frontieră",definition:"Prioritatea de pierzare IMB 0 (neatinse de frontieră: 0,1% evanghelici sau mai puțin)"},"frontier-500k":{label:"Proiectul 700: popoare de frontieră de 500.000 sau mai mult",definition:"Prioritatea de pierzare IMB 0 și o populație de cel puțin 500.000"},unengaged:{label:"Popoare neatinse și neangajate",definition:"Prioritatea de pierzare IMB 0–2 și starea de angajare: neangajat"}},y_={map:"Hartă",marker:"Marcaj pe hartă",closePopup:"Închide fereastra",zoomIn:"Mărește",zoomOut:"Micșorează",resetBearing:"Trage pentru a roti harta, apasă pentru a reveni la nord",toggleAttribution:"Afișează/ascunde atribuirea",mapFeedback:"Feedback despre hartă",enterFullscreen:"Ecran complet",exitFullscreen:"Ieși din ecran complet",findMyLocation:"Găsește-mi locația",locationNotAvailable:"Locație indisponibilă",enableGlobe:"Activează globul",disableGlobe:"Dezactivează globul",ctrlScroll:"Folosește Ctrl + derulare pentru a mări harta",cmdScroll:"Folosește ⌘ + derulare pentru a mări harta",twoFingers:"Folosește două degete pentru a muta harta",mapboxHomepage:"Pagina principală Mapbox",maplibreLogo:"Sigla MapLibre"},v_={menuComingSoon:"Meniu în curând",pinHint:{tapDot:"Atinge un punct colorat — cineva are încă nevoie de rugăciune"},upg100WallHeading:"Lista mea UPG 100 — Liste de rugăciune și afișe",upg100WallTag:"Mobilizare pentru rugăciune",upg100WallIntroA:"Cum ai hrăni o mulțime de cinci mii? Isus i-a așezat în grupuri de cincizeci și de o sută, iar imposibilul a devenit împărțibil (Luca 9:14). Am făcut la fel cu cele 2.106 popoare neatinse: 27 de liste de aproximativ cincizeci până la o sută. Fiecare listă se tipărește ca pachet de rugăciune și afiș, ca 27 de ucenici, biserici sau lideri locali să poarte fiecare câte una — rugându-se pentru ei ",upg100WallIntroEmph:"pe numele poporului lor",upg100WallIntroB:".",loadingNamed:"Se încarcă {name}…",couldNotLoadNamed:"Nu s-a putut încărca {name}.",engineMissing:"Motorul de hartă {engine} nu s-a încărcat.",packetFailed:"Broșura a eșuat: {reason}",selectionPacketFailed:"Broșura selecției a eșuat: {reason}",posterOneTerritory:"Afișul tipărește un teritoriu pe rând — {count} selectate.",selectionPosterFailed:"Afișul selecției a eșuat: {reason}",mapUnavailable:"Harta indisponibilă",copied:"Copiat!",copyFailed:"Copierea a eșuat — apasă Ctrl/Cmd-C",engineNotLoaded:"motorul de hărți nu s-a încărcat",engineNotLoadedDetail:"Motorul de hărți {engine} nu s-a încărcat. Lista și legenda nu sunt afectate.",viewLoadFailed:"Această vizualizare nu s-a putut încărca.",retry:"Reîncearcă",noMapboxToken:"Niciun token Mapbox",noMapboxTokenDetail:"Nu este configurat niciun token Mapbox. Lista și legenda nu sunt afectate.",loadingBoundaries:"Se încarcă granițele…",fetchingUupgs:"Se preiau {n} UUPG…",mapStatusCounts:"Suprafețe: {polys} · zone: {zones}/{total} · repere: {pins}",tapTerritoriesHint:"Atingeți teritorii pe hartă sau rânduri din legendă pentru a le adăuga · atingeți din nou pentru a le elimina",territoriesSelected:"Teritorii: {count}",bandInRange:"✓ interval 50–100",bandOutOfRange:"interval 50–100",mapContextLost:"Această hartă a fost descărcată pentru a elibera memoria grafică.",nOfTotal:"{n} din {total}",mapInitFailed:"Harta nu a putut fi inițializată — verificați tokenul și containerul",countryWallIntroA:"Câte un afiș pentru fiecare țară, gata de rugăciune, de tipărit și de pus pe perete — rugându-ne pentru ei ",countryWallIntroB:". Regiunile și țările sunt ordonate după câte popoare neatinse cuprind, pentru ca nevoia cea mai mare să fie prima.",countryWallSoon:"În curând: pentru fiecare țară va fi generată o listă de rugăciune care numește fiecare popor neatins din ea.",countryWallHeading:"Afișe pe țări — Liste de rugăciune și afișe",largerScreenNotice:"Această hartă experimentală este făcută pentru ecrane mari. Se deschide aici, dar unele părți s-ar putea să nu încapă sau să nu funcționeze bine pe telefon.",desktopOnlyNotice:"{label} funcționează doar pe desktop — deschideți pagina pe un computer pentru a-l folosi.",noticeDismiss:"Închide",countryPosterTooMany:"Prea multe popoare pentru a încăpea lizibil pe un singur afiș — lucrăm la o soluție."},w_={family:{Christianity:"Creștinism",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Budism",Ethnoreligion:"Etnoreligie",Judaism:"Iudaism",Sikhism:"Sikhism",Unaffiliated:"Fără afiliere",Other:"Altele",Unknown:"Necunoscută"}},x_={placeholder:"Popor, loc, limbă, religie",placeholderNoPlaces:"Popor, limbă, religie (căutarea locurilor necesită un token Mapbox)",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"},sections:{within:"În {selection}",allData:"Toate datele DOXA"},kinds:{people:"Popor + țară",peopleGroup:"Popor",bloc:"Bloc de afinitate",cluster:"Grup de popoare",country:"Țară",region:"Regiune",family:"Familie de limbi",languageKind:"Limbă",dialect:"Dialect",religionKind:"Religie"},upg100Placeholder:"Caută popor, listă UPG-100 sau regiune…",tabPlaceholder:{languageFamilies:"Caută familie de limbi, limbă, dialect/variantă",affinityBlocks:"Caută bloc de afinitate, grup, popor",regions:"Caută regiune, țară, popor",religion:"Caută religie, popor"},placeholderRegions:"Caută regiune, țară sau popor"},k_={embed_link:"Link de încorporare",add_to_website:"Adaugă pe site-ul tău",embed_paste_hint:"Lipește acest cod în constructorul site-ului tău (WordPress, Squarespace, Wix sau orice site care acceptă widget-uri HTML)."},S_={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид",collapseLegend:"Свернуть легенду",expandLegend:"Развернуть легенду",toggleLegend:"Показать или скрыть легенду",searchPeopleGroups:"Поиск народов",resetAllFilters:"Сбросить все фильтры и поиск",selectAllRows:"Выбрать все строки",deselectAllRows:"Снять выделение со всех строк",rowDetail:"Подробности строки",dismissHint:"Скрыть подсказку",resizeFiltersRail:"Изменить размер панели фильтров",resizeFiltersRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели фильтров",resizeChartsRail:"Изменить размер панели диаграмм",resizeChartsRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели диаграмм",resizeMapTableSplit:"Изменить соотношение карты и таблицы",resizeMapTableSplitHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить соотношение карты и таблицы",resizeTable:"Изменить высоту таблицы",resizeTableHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер таблицы",resizeDashboardHeight:"Изменить высоту панели",resizeDashboardHeightHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить высоту панели",removeFilter:"Удалить фильтр {name}",closeDetail:"Закрыть подробности",filterBreadcrumb:"Цепочка фильтров",railViews:"Виды панели",upgCountLegend:"Легенда количества UPG",donutChart:"Кольцевая диаграмма: {title}"},A_={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить",posterMap:"Карта плаката",prayerList:"Молитвенный список",cardDeck:"Набор карточек",printOptions:"Параметры печати",showOnMap:"Показать на карте",close:"Закрыть",showOnMapAria:"Показать {label} на карте",cardStockAria:"Размер молитвенной карточки",previewPrintPoster:"Просмотр и печать плаката {label}",share:"Поделиться",shareSteps:["Разместите эту карту на своём сайте","Составьте список сайтов вашего города","Научите их тоже размещать её","Научите их учить других размещать её","Умножим карты повсюду для Иисуса!"],clearSelection:"Снять выделение",noOptions:"Ничего не найдено",renderingLocal:"Изображение типографского качества создаётся в вашем браузере — ничего не загружается на сервер.",postersPerRow:"Плакатов в ряду",packetVariantAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия",working:"Выполняется…",postersPerRowAuto:"Авто"},L_={research_controls:"Инструменты исследования",clustering:"Кластеризация",filters:"Фильтры",pin_dim:"Прозрачность точек",export_poster:"Экспорт постера…",reload_data:"Обновить данные",off:"Выкл.",native:"Встроенная",mst:"MST",network:"Сеть",off_desc:"Показывать каждую точку отдельно",native_desc:"Круговые кластеры Mapbox (быстрее всего)",mst_desc:"Сети родства по минимальному остовному дереву",network_desc:"Линии до ближайшего соседа",search_languages:"Поиск языков…",search_religions:"Поиск религий…",reset_all:"Сбросить всё",no_languages:"Языки ещё не загружены",no_religions:"Религии ещё не загружены",unadopted:"Не усыновлён",min:"мин",max:"макс",adopted:"Ответственность взята",adoption:"Усыновление",engaged:"Вовлечён",engagement:"Вовлечённость",unengaged:"Нуждается в вовлечённости",language:"Язык",religion:"Религия",population:"Население",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",close:"Закрыть",clear:"Очистить",map_controls:"Элементы управления картой",clusters:"Кластеры",mst_full_name:"Минимальное остовное дерево",mst_hint:"нажмите строку легенды, чтобы сгруппировать только эту группу"},T_={bloc:"Блок родства",gospel_access:"Доступ к Евангелию",people:"Народы",people_name:"Народ (название)",praying:"Молятся",religion_family:"Семья религий",search_language:"Поиск языка",search_people:"Поиск народа",search_place:"Поиск места",search_religion:"Поиск религии",upgs_in_scope:"UPG в выборке",countries_touched:"затронутых стран",unreached:"неохваченные",sum_population:"Σ население",sum_praying:"Σ молящихся",charts:"Графики",table:"Таблица",cluster:"Кластер",country:"Страна",engagement:"Вовлечённость",language:"Язык",language_family:"Языковая семья",people_group:"Народ",population:"Население",prayer:"Молитва",region:"Регион",religion:"Религия",status:"Статус",adopted:"Ответственность взята",filters:"Фильтры",gospel_resources:"Евангельские ресурсы",map:"Карта",search_placeholder:"Поиск народов, мест, языков, религий…",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",map_controls:"Элементы управления картой",close:"Закрыть",clear:"Очистить",dashboard_title:"Обзорная исследовательская панель",align_dashboard:"Выровнять панель",align_dashboard_tip:"Вернуть расположение панели к виду по умолчанию",selected:"Выбрано",world:"Мир",vertical_legend:"Вертикальная легенда",groups_in_scope:"народов в выборке",filter_by:"Фильтровать по",remove_filter:"Убрать фильтр",groups:"народов",expand:"Развернуть",collapse:"Свернуть",place:"Место",export_csv:"Экспорт CSV",detail:"Подробности",detail_empty:"Выберите народ, чтобы увидеть подробности",heartbeat_zone:"зона сердцебиения",top_countries:"Основные страны",select_all:"Выбрать все",expand_table:"Развернуть таблицу",collapse_table:"Свернуть таблицу — увеличить карту",group:"народ",deselect_all:"Снять выделение",results_live:"Показано {count} из {total} {unit}",filters_live:"Фильтры: {list}",search_live:"Поиск: {term}",adopted_by_churches:"Взяты церквями",bp_title:"Общая картина — единая исследовательская панель",bp_subtitle:"Поиск и фильтрация народов мира · наименее охваченные первыми",export_selection:"Экспортировать этот выбор",map_loading:"Загрузка исследовательской карты…",no_match:"Нет народов, соответствующих «{q}».",no_photo:"Нет фото",only_selected:"Только выбранные",only_selected_hint:"Показывать только выбранные народы",people_committed:"Взявшие обязательство",people_praying:"Молящиеся",selected_first:"Выбранные сначала",selected_first_hint:"Поднять выбранные народы наверх, сохранив сортировку столбцов",n_shown:"{n} показано",other:"Другое",wagfRegion:{africa:"Африка",asia:"Азия",europe:"Европа","latin_america_&_caribbean":"Латинская Америка",oceania:"Океания",middle_east:"Ближний Восток","north_america_&_non-spanish_caribbean":"Северная Америка и неиспаноязычные Карибы"},sort_by_column_hint:"Сортировать таблицу по столбцу «{column}» — Shift+щелчок добавляет второй столбец. Сортировка меняет порядок только в таблице; карточки сохраняют свой порядок.",fs_exit_hint:"Выйти из полноэкранного режима (Esc) — вернуться к семи строкам",fs_open_hint:"Открыть эту таблицу на весь экран",fs_exit:"Выйти из полноэкранного режима",fs_open:"Открыть таблицу на весь экран",export_selected_hint:"Экспорт всех полей — выбрано народов: {n}",export_all_hint:"Экспорт всех полей — народов: {n}",map_init_failed:"Карта не запустилась. Проверьте токен доступа и контейнер карты.",show_filters:"Показать фильтры",hide_filters:"Скрыть фильтры — расширить карту",show_charts:"Показать диаграммы",hide_charts:"Скрыть диаграммы — расширить карту",export_copied:"скопировано в буфер обмена",export_done:"экспортировано",export_ready:"готово",export_toast:"✓ {rows} строк × {fields} полей {how}",export_failed:"✕ Не удалось экспортировать",pray_for_group:"Молиться об этом народе",more_information:"Подробнее",title:"Исследовательская панель",gospel_pending:"Пока не готово: число непросвещённых, ключ к источнику данных и вид интерфейса ещё определяются."},C_={search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},P_={title:{adoption:"Прогресс усыновления",affinityBlocs:"Блоки родства",doxaRegions:"Регионы Doxa",engagement:"Прогресс вовлечённости",gospelResources:"Евангельские ресурсы",languageFamilies:"Языковые семьи",prayer:"Прогресс молитвы",upg100List:"Мой список UPG 100",batchSelect:"Множественный выбор"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа",default:"Легенда"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},progress:{title:"Прогресс",covered:"{covered} из {total} народных групп охвачены молитвой · {pct}%",short:"{covered} из {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"Языки"},tabInfo:{upg100Region:"Регион — сортирует списки UPG-100 по частям света (Африка, Индия, Ближний Восток, Глухие, …). Числа — это UUPG и население, просуммированные по всем спискам внутри.",upg100Zone:"Списки UPG-100 — каждый представляет собой молитвенный список непросвещённых народов области и именно он отображается и раскрашивается на карте. Каждый список печатается отдельным буклетом.",upg100Group:"Народ — отдельные непросвещённые народы внутри списка, сначала с наибольшей нуждой в молитве. Каждая точка на карте — один из них.",family:"Языковая семья — группа языков, восходящих к общему предку (например, индоевропейская, афразийская).",language:"Язык — система общения, которой пользуется народ (например, арабский, бенгальский, хинди).",dialect:"Диалект/вариант — областная или социальная форма языка (например, суданский арабский; пакистанский жестовый язык).",bloc:"Блок родства — самое широкое объединение, по культурному, языковому и географическому родству (например, малайские народы, народы Южной Азии, глухие, арабский мир).",cluster:"Кластер — более дробное объединение внутри блока (например, Борнео-Калимантан среди малайских народов). Строки помечены «(кластер)», чтобы отличать их от народов.",group:"Народ — этноязыковая общность сама по себе, независимо от страны. Строки помечены «(народ)». Один народ может жить во многих странах (глухие, например, более чем в ста).",pgic:"Народ в стране — по строке на каждый народ в каждой стране его проживания (например, «Абай-Сунгай, Малайзия»). Строки помечены «(народ в стране)».",region:"Регион WAGF — макрорегион, к которому относится страна (например, Азия, Африка). У каждого свой цвет на карте.",block:"Блок WAGF — подгруппа внутри региона (например, Юго-Восточная Азия, Западная Африка).",country:"Страна — отдельные страны, упорядоченные по непросвещённому населению внутри своего блока."},a11y:{expandRow:"Развернуть {label}",collapseRow:"Свернуть {label}",clearSelection:"Снять выделение",goUp:"Вверх: {label}"},export:{poster:"Плакат",packet:"UPG 100",packetExplain:"Молитвенный список примерно из 50–100 неохваченных народов — один человек может взять один.",packetAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия"},noDataAtThisLevel:"На этом уровне нет данных",exportButton:"Экспорт",exportSelection:"Экспортировать выбранное",loadingRows:"Загрузка {label}…",loadingData:"Загрузка данных…",showingTop:"Показаны первые {n} из {m}",useGeocoderHint:"используйте поиск выше, чтобы найти остальные",noList:"Список не загружен."},E_={doxa:{label:"Проект 2000: народы DOXA",definition:"Народы, которым служит DOXA, как их даёт её живой список"},unreached:{label:"Проект 7000: недостигнутые народы",definition:"Приоритет потерянности IMB 0–2 (пограничные, первопроходческие или расширяющиеся недостигнутые: менее 2% евангельских христиан)"},frontier:{label:"Проект 4700: пограничные народы",definition:"Приоритет потерянности IMB 0 (пограничные недостигнутые: 0,1% евангельских христиан или меньше)"},"frontier-500k":{label:"Проект 700: пограничные народы численностью от 500 000",definition:"Приоритет потерянности IMB 0 и численность не менее 500 000"},unengaged:{label:"Недостигнутые народы без служения",definition:"Приоритет потерянности IMB 0–2 и статус служения: без служения"}},M_={map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},R_={menuComingSoon:"Меню скоро появится",pinHint:{tapDot:"Нажмите на цветную точку — кому-то всё ещё нужна молитва"},upg100WallHeading:"Мой список UPG 100 — молитвенные списки и плакаты",upg100WallTag:"Молитвенная мобилизация",upg100WallIntroA:"Как накормить толпу в пять тысяч человек? Иисус рассадил их группами по пятьдесят и по сто, и невозможное стало посильным (Лк. 9:14). Мы поступили так же с 2 106 неохваченными народами: 27 списков примерно по пятьдесят-сто. Каждый список печатается как молитвенный пакет и плакат, чтобы 27 учеников, церквей или местных служителей взяли по одному — молясь о них ",upg100WallIntroEmph:"по имени их народа",upg100WallIntroB:".",loadingNamed:"Загрузка {name}…",couldNotLoadNamed:"Не удалось загрузить {name}.",engineMissing:"Картографический движок {engine} не загрузился.",packetFailed:"Не удалось создать буклет: {reason}",selectionPacketFailed:"Не удалось создать буклет выбора: {reason}",posterOneTerritory:"Плакат печатает по одной территории — выбрано {count}.",selectionPosterFailed:"Не удалось создать плакат выбора: {reason}",mapUnavailable:"Карта недоступна",copied:"Скопировано!",copyFailed:"Не удалось скопировать — нажмите Ctrl/Cmd-C",engineNotLoaded:"движок карты не загружен",engineNotLoadedDetail:"Движок карты {engine} не загрузился. Список и легенда не затронуты.",viewLoadFailed:"Не удалось загрузить этот раздел.",retry:"Повторить",noMapboxToken:"Нет токена Mapbox",noMapboxTokenDetail:"Токен Mapbox не настроен. Список и легенда не затронуты.",loadingBoundaries:"Загрузка границ…",fetchingUupgs:"Загрузка UUPG: {n}…",mapStatusCounts:"Области: {polys} · зоны: {zones}/{total} · метки: {pins}",tapTerritoriesHint:"Нажимайте на территории на карте или строки легенды, чтобы добавить · нажмите ещё раз, чтобы убрать",territoriesSelected:"Территории: {count}",bandInRange:"✓ диапазон 50–100",bandOutOfRange:"диапазон 50–100",mapContextLost:"Эта карта выгружена, чтобы освободить графическую память.",nOfTotal:"{n} из {total}",mapInitFailed:"Не удалось инициализировать карту — проверьте токен и контейнер",countryWallIntroA:"Один плакат на страну — чтобы молиться, распечатать и повесить на стену, молясь за них ",countryWallIntroB:". Регионы и страны упорядочены по числу неохваченных народов, чтобы самая большая нужда стояла первой.",countryWallSoon:"Скоро: для каждой страны будет создан молитвенный список с названием каждого неохваченного народа в ней.",countryWallHeading:"Плакаты по странам — молитвенные списки и плакаты",largerScreenNotice:"Эта экспериментальная карта рассчитана на большие экраны. Она откроется, но на телефоне часть элементов может не поместиться или работать плохо.",desktopOnlyNotice:"{label} работает только на компьютере — откройте эту страницу на компьютере.",noticeDismiss:"Закрыть",countryPosterTooMany:"Слишком много народов, чтобы разборчиво уместить их на одном плакате, — решение готовится."},F_={family:{Christianity:"Христианство",Islam:"Ислам",Hinduism:"Индуизм",Buddhism:"Буддизм",Ethnoreligion:"Этнорелигия",Judaism:"Иудаизм",Sikhism:"Сикхизм",Unaffiliated:"Не принадлежат",Other:"Другое",Unknown:"Неизвестно"}},N_={placeholder:"Народ, место, язык, религия",placeholderNoPlaces:"Народ, язык, религия (для поиска мест нужен токен Mapbox)",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"},sections:{within:"В пределах {selection}",allData:"Все данные DOXA"},upg100Placeholder:"Поиск народа, списка UPG-100 или региона…",tabPlaceholder:{languageFamilies:"Поиск по языковой семье, языку, диалекту/варианту",affinityBlocks:"Поиск по блоку родства, кластеру, народу",regions:"Поиск по региону, стране, народу",religion:"Поиск по религии, народу"},placeholderRegions:"Поиск региона, страны или народа"},O_={embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},I_={backToLegend:"返回图例",closeDetailView:"关闭详情视图",collapseLegend:"收起图例",expandLegend:"展开图例",toggleLegend:"显示或隐藏图例",searchPeopleGroups:"搜索民族",resetAllFilters:"重置所有筛选和搜索",selectAllRows:"选择所有行",deselectAllRows:"取消选择所有行",rowDetail:"行详情",dismissHint:"关闭提示",resizeFiltersRail:"调整筛选器栏大小",resizeFiltersRailHint:"拖动或使用方向键调整筛选器栏大小",resizeChartsRail:"调整图表栏大小",resizeChartsRailHint:"拖动或使用方向键调整图表栏大小",resizeMapTableSplit:"调整地图与表格的分隔",resizeMapTableSplitHint:"拖动或使用方向键调整地图与表格的分隔",resizeTable:"调整表格高度",resizeTableHint:"拖动或使用方向键调整表格大小",resizeDashboardHeight:"调整仪表板高度",resizeDashboardHeightHint:"拖动或使用方向键调整仪表板高度",removeFilter:"移除筛选条件 {name}",closeDetail:"关闭详情",filterBreadcrumb:"筛选路径",railViews:"栏视图",upgCountLegend:"UPG 数量图例",donutChart:"环形图:{title}"},z_={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入",posterMap:"海报地图",prayerList:"祷告名单",cardDeck:"祷告卡组",printOptions:"打印选项",showOnMap:"在地图上显示",close:"关闭",showOnMapAria:"在地图上显示 {label}",cardStockAria:"祷告卡片尺寸",previewPrintPoster:"预览并打印 {label} 海报",share:"分享",shareSteps:["把这张地图嵌入你的网站","列出你城市里的网站","教他们也嵌入这张地图","教他们去教别人嵌入","为耶稣让地图遍地繁增!"],clearSelection:"清除选择",noOptions:"未找到选项",renderingLocal:"正在您的浏览器中生成可打印质量的图片——不会上传任何内容。",postersPerRow:"每行海报数",packetVariantAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版",working:"处理中…",postersPerRowAuto:"自动"},D_={research_controls:"研究控件",clustering:"聚类",filters:"筛选",pin_dim:"圆点淡化",export_poster:"导出海报…",reload_data:"重新加载数据",off:"关闭",native:"原生",mst:"MST",network:"网络",off_desc:"逐个显示每个圆点",native_desc:"Mapbox 圆形聚类(最快)",mst_desc:"最小生成树亲缘网络",network_desc:"最近邻连接线",search_languages:"搜索语言…",search_religions:"搜索宗教…",reset_all:"全部重置",no_languages:"尚未加载语言",no_religions:"尚未加载宗教",unadopted:"未认领",min:"最小",max:"最大",adopted:"已认领",adoption:"认领",engaged:"已参与",engagement:"参与",unengaged:"需要参与",language:"语言",religion:"宗教",population:"人口",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",close:"关闭",clear:"清除",map_controls:"地图控件",clusters:"聚类",mst_full_name:"最小生成树",mst_hint:"点击图例中的一行,仅对该组进行聚类"},B_={bloc:"亲缘板块",gospel_access:"福音可及性",people:"民族",people_name:"民族(名称)",praying:"正在代祷",religion_family:"宗教族系",search_language:"搜索语言",search_people:"搜索民族",search_place:"搜索地点",search_religion:"搜索宗教",upgs_in_scope:"范围内的 UPG",countries_touched:"涉及国家",unreached:"未得之民",sum_population:"Σ 人口",sum_praying:"Σ 代祷",charts:"图表",table:"表格",cluster:"民族群",country:"国家",engagement:"参与",language:"语言",language_family:"语系",people_group:"民族",population:"人口",prayer:"祷告",region:"区域",religion:"宗教",status:"状态",adopted:"已认领",filters:"筛选",gospel_resources:"福音资源",map:"地图",search_placeholder:"搜索民族、地点、语言、宗教…",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",map_controls:"地图控件",close:"关闭",clear:"清除",dashboard_title:"全局研究仪表板",align_dashboard:"对齐仪表板",align_dashboard_tip:"将仪表板布局恢复为默认对齐",selected:"已选择",world:"世界",vertical_legend:"垂直图例",groups_in_scope:"个民族在范围内",filter_by:"筛选",remove_filter:"移除筛选",groups:"个民族",expand:"展开",collapse:"收起",place:"地点",export_csv:"导出 CSV",detail:"详情",detail_empty:"选择一个民族以查看详情",heartbeat_zone:"心跳区",top_countries:"主要国家",select_all:"全选",expand_table:"展开表格",collapse_table:"收起表格 — 放大地图",group:"个民族",deselect_all:"取消全选",results_live:"已显示 {total} 个{unit}中的 {count} 个",filters_live:"筛选条件:{list}",search_live:"搜索:{term}",adopted_by_churches:"已被教会认领",bp_title:"全局视图 — 统一研究仪表板",bp_subtitle:"搜索并筛选世界各民族 · 最少被触及的优先显示",export_selection:"导出此选择",map_loading:"正在加载研究地图…",no_match:"没有与“{q}”匹配的民族。",no_photo:"无照片",only_selected:"仅所选",only_selected_hint:"仅显示所选民族",people_committed:"已承诺的人数",people_praying:"祷告的人数",selected_first:"所选优先",selected_first_hint:"将所选民族置顶,同时保留您的列排序",n_shown:"显示 {n} 个",other:"其他",wagfRegion:{africa:"非洲",asia:"亚洲",europe:"欧洲","latin_america_&_caribbean":"拉丁美洲",oceania:"大洋洲",middle_east:"中东","north_america_&_non-spanish_caribbean":"北美及非西班牙语加勒比地区"},sort_by_column_hint:"按{column}排序此表 — Shift+单击可添加第二列。排序只影响表格;卡片保持各自的顺序。",fs_exit_hint:"退出全屏(Esc)— 返回七行视图",fs_open_hint:"全屏打开此表格",fs_exit:"退出全屏",fs_open:"全屏打开表格",export_selected_hint:"导出全部字段 — 已选民族:{n}",export_all_hint:"导出全部字段 — 民族:{n}",map_init_failed:"地图无法启动。请检查访问令牌与地图容器。",show_filters:"显示筛选",hide_filters:"隐藏筛选 —— 放大地图",show_charts:"显示图表",hide_charts:"隐藏图表 —— 放大地图",export_copied:"已复制到剪贴板",export_done:"已导出",export_ready:"已就绪",export_toast:"✓ {rows} 行 × {fields} 字段 {how}",export_failed:"✕ 导出失败",pray_for_group:"为这个民族祷告",more_information:"更多信息",title:"研究面板",gospel_pending:"尚未就绪:未得之民的数字、数据来源密钥与界面形式仍在确定中。"},H_={search:"搜索民族…",hide_filters:"隐藏筛选",show_filters:"显示筛选",total:"总计",showing:"显示",load_more:"加载更多",full_profile:"完整档案",wagf_region:"区域",wagf_block:"亲缘板块",rop1:"民族",religion:"宗教",exact_filter:"精确",clear_all:"全部清除",loading:"加载中…",no_results:"没有符合此筛选条件的民族。",type_to_search:"输入以搜索...",load_failed:"无法加载民族数据。这是连接问题,而不是筛选问题。",search_people_or_countries:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"},U_={title:{adoption:"认领进度",affinityBlocs:"亲缘板块",doxaRegions:"Doxa 区域",engagement:"参与进度",gospelResources:"福音资源",languageFamilies:"语系",prayer:"祷告进度",upg100List:"我的 UPG 100 名单",batchSelect:"批量选择"},header:{collapsed:"图例",peopleGroupFallback:"民族群体",default:"图例"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},progress:{title:"进度",covered:"{total} 个民族群体中已有 {covered} 个被祷告覆盖 · {pct}%",short:"{covered} / {total} · {pct}%",segment:"{label} · {count} · {pct}%"},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:"语言"},tabInfo:{upg100Region:"区域 — 按世界区域排列 UPG-100 名单(非洲、印度、中东、聋人……)。数字是其下每份名单的 UUPG 与人口总和。",upg100Zone:"UPG-100 名单 — 每一份都是某地区未得之民的祷告名单,也是地图所绘制和上色的内容。每份名单印成独立的祷告册。",upg100Group:"族群 — 名单内各个未得之民群体,祷告需要最大的排在前面。地图上每个点就是其中之一。",family:"语系 —— 源自同一祖语的一组语言(如印欧语系、亚非语系)。",language:"语言 —— 一个民族所使用的交流系统(如阿拉伯语、孟加拉语、印地语)。",dialect:"方言/变体 —— 一种语言的地区性或社会性形式(如苏丹阿拉伯语;巴基斯坦手语)。",bloc:"亲缘板块 —— 最宽泛的分组,按文化、语言与地理上的亲缘关系划分(如马来诸族、南亚诸族、聋人、阿拉伯世界)。",cluster:"民族群 —— 板块之下更细的分组(如马来诸族中的婆罗洲-加里曼丹)。各行标有「(民族群)」,以与民族相区别。",group:"民族 —— 独立于国界的族群语言身份。各行标有「(民族)」。同一民族可分布于多国(例如聋人分布于一百多个国家)。",pgic:"国内民族 —— 每个民族在其所居各国各占一行(如「阿拜松盖,马来西亚」)。各行标有「(国内民族)」。",region:"WAGF 区域 —— 国家所属的大区(如亚洲、非洲)。地图上各有其颜色。",block:"WAGF 板块 —— 区域之下的次级分组(如东南亚、西非)。",country:"国家 —— 各个国家,按其板块内未得之民人口排列。"},a11y:{expandRow:"展开{label}",collapseRow:"折叠{label}",clearSelection:"清除选择",goUp:"返回上级:{label}"},export:{poster:"海报",packet:"UPG 100",packetExplain:"约 50 到 100 个未得之民的祷告名单——一个人就能领一份。",packetAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版"},noDataAtThisLevel:"此层级没有数据",exportButton:"导出",exportSelection:"导出所选内容",loadingRows:"正在加载{label}…",loadingData:"正在加载数据…",showingTop:"显示 {m} 个中的前 {n} 个",useGeocoderHint:"使用上方的搜索框查找其余内容",noList:"未加载任何列表。"},j_={doxa:{label:"2000 计划:DOXA 服侍的族群",definition:"DOXA 服侍的族群,以其实时名单为准"},unreached:{label:"7000 计划:未得之民族群",definition:"IMB 失丧优先级 0–2(前沿、先锋或扩展中的未得之民:福音派少于 2%)"},frontier:{label:"4700 计划:前沿族群",definition:"IMB 失丧优先级 0(前沿未得之民:福音派 0.1% 或更少)"},"frontier-500k":{label:"700 计划:人口 50 万或以上的前沿族群",definition:"IMB 失丧优先级 0,且人口至少 50 万"},unengaged:{label:"尚无人参与的未得之民族群",definition:"IMB 失丧优先级 0–2,且参与状态为:无人参与"}},G_={map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},W_={menuComingSoon:"菜单即将推出",pinHint:{tapDot:"点按一个彩色圆点——仍有人需要祷告"},upg100WallHeading:"我的 UPG 100 名单 — 祷告名单与海报",upg100WallTag:"祷告动员",upg100WallIntroA:"你会怎样喂饱五千人的群众?耶稣让他们一排五十、一排一百地坐下,不可能的事就变得可以分担了(路加福音 9:14)。我们对 2,106 个未得之民做了同样的事:27 份名单,每份约五十到一百。每份名单都能印成祷告手册和海报,让 27 位门徒、教会或当地领袖各领一份 — 为他们祷告 ",upg100WallIntroEmph:"称呼他们族群的名字",upg100WallIntroB:"。",loadingNamed:"正在加载{name}…",couldNotLoadNamed:"无法加载{name}。",engineMissing:"{engine} 地图引擎未能加载。",packetFailed:"祷告册生成失败:{reason}",selectionPacketFailed:"所选内容的祷告册生成失败:{reason}",posterOneTerritory:"海报一次只能打印一个区域——已选 {count} 个。",selectionPosterFailed:"所选内容的海报生成失败:{reason}",mapUnavailable:"地图不可用",copied:"已复制!",copyFailed:"复制失败——请按 Ctrl/Cmd-C",engineNotLoaded:"地图引擎未加载",engineNotLoadedDetail:"{engine} 地图引擎未能加载。列表和图例不受影响。",viewLoadFailed:"此视图无法加载。",retry:"重试",noMapboxToken:"没有 Mapbox 令牌",noMapboxTokenDetail:"未配置 Mapbox 令牌。列表和图例不受影响。",loadingBoundaries:"正在加载边界…",fetchingUupgs:"正在获取 {n} 个 UUPG…",mapStatusCounts:"区域:{polys} · 分区:{zones}/{total} · 标记:{pins}",tapTerritoriesHint:"点按地图上的区域或图例行即可添加 · 再次点按即可移除",territoriesSelected:"区域:{count}",bandInRange:"✓ 50–100 区间",bandOutOfRange:"50–100 区间",mapContextLost:"已卸载此地图以释放显存。",nOfTotal:"{total} 个中的 {n} 个",mapInitFailed:"地图初始化失败——请检查令牌和容器",countryWallIntroA:"每个国家一张海报,可用来祷告、打印、贴在墙上——为他们祷告,",countryWallIntroB:"。各区域和国家按其中未得之民族群的数量排序,让最大的需要排在最前。",countryWallSoon:"即将推出:将为每个国家生成一份祷告名单,列出其中每一个未得之民族群的名字。",countryWallHeading:"国家海报 — 祷告名单与海报",largerScreenNotice:"这张实验性地图为大屏幕设计。它可以在这里打开,但部分内容在手机上可能显示不全或无法正常使用。",desktopOnlyNotice:"{label} 仅支持桌面端——请在电脑上打开此页面使用。",noticeDismiss:"关闭",countryPosterTooMany:"族群数量过多,无法清晰地放在一张海报上——我们正在制定解决方案。"},q_={family:{Christianity:"基督教",Islam:"伊斯兰教",Hinduism:"印度教",Buddhism:"佛教",Ethnoreligion:"民族宗教",Judaism:"犹太教",Sikhism:"锡克教",Unaffiliated:"无宗教归属",Other:"其他",Unknown:"未知"}},V_={placeholder:"民族、地点、语言、宗教",placeholderNoPlaces:"民族、语言、宗教(地点搜索需要 Mapbox 令牌)",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"},sections:{within:"在 {selection} 之內",allData:"所有 DOXA 资料"},kinds:{people:"民族 + 国家",peopleGroup:"民族",bloc:"亲缘板块",cluster:"民族群",country:"国家",region:"区域",family:"语系",languageKind:"语言",dialect:"方言",religionKind:"宗教"},upg100Placeholder:"搜索民族、UPG-100 名单或区域…",tabPlaceholder:{languageFamilies:"搜索语系、语言、方言/变体",affinityBlocks:"搜索亲缘板块、民族群、民族",regions:"搜索区域、国家、民族",religion:"搜索宗教、民族"},placeholderRegions:"搜索区域、国家或族群"},K_={embed_link:"嵌入链接",add_to_website:"添加到您的网站",embed_paste_hint:"将此代码粘贴到您的网站构建器中(WordPress、Squarespace、Wix,或任何接受 HTML 小部件的网站)。"};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function V_(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const sr=typeof window<"u",Ho=(e,t=!1)=>t?Symbol.for(e):Symbol(e),K_=(e,t,o)=>Y_({l:e,k:t,s:o}),Y_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ft=e=>typeof e=="number"&&isFinite(e),Z_=e=>Hc(e)==="[object Date]",Uo=e=>Hc(e)==="[object RegExp]",ir=e=>je(e)&&Object.keys(e).length===0,wt=Object.assign,X_=Object.create,tt=(e=null)=>X_(e);let Ic;const la=()=>Ic||(Ic=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:tt());function zc(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Dc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function J_(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,a,r)=>`${a}="${Dc(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,a,r)=>`${a}='${Dc(r)}'`),/\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 Q_=Object.prototype.hasOwnProperty;function Yt(e,t){return Q_.call(e,t)}const ct=Array.isArray,it=e=>typeof e=="function",ve=e=>typeof e=="string",Ve=e=>typeof e=="boolean",Xe=e=>e!==null&&typeof e=="object",eb=e=>Xe(e)&&it(e.then)&&it(e.catch),Bc=Object.prototype.toString,Hc=e=>Bc.call(e),je=e=>{if(!Xe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},tb=e=>e==null?"":ct(e)||je(e)&&e.toString===Bc?JSON.stringify(e,null,2):String(e);function ob(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}function lr(e){let t=e;return()=>++t}const cr=e=>!Xe(e)||ct(e);function ur(e,t){if(cr(e)||cr(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:a}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(Xe(n[r])&&!Xe(a[r])&&(a[r]=Array.isArray(n[r])?[]:tt()),cr(a[r])||cr(n[r])?a[r]=n[r]:o.push({src:n[r],des:a[r]}))})}}/*! + */function Y_(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const sr=typeof window<"u",Ho=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Z_=(e,t,o)=>X_({l:e,k:t,s:o}),X_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ft=e=>typeof e=="number"&&isFinite(e),J_=e=>jc(e)==="[object Date]",Uo=e=>jc(e)==="[object RegExp]",ir=e=>je(e)&&Object.keys(e).length===0,wt=Object.assign,Q_=Object.create,tt=(e=null)=>Q_(e);let Dc;const ca=()=>Dc||(Dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:tt());function Bc(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Hc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function eb(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,a,r)=>`${a}="${Hc(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,a,r)=>`${a}='${Hc(r)}'`),/\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 tb=Object.prototype.hasOwnProperty;function Yt(e,t){return tb.call(e,t)}const ct=Array.isArray,it=e=>typeof e=="function",ve=e=>typeof e=="string",Ve=e=>typeof e=="boolean",Xe=e=>e!==null&&typeof e=="object",ob=e=>Xe(e)&&it(e.then)&&it(e.catch),Uc=Object.prototype.toString,jc=e=>Uc.call(e),je=e=>{if(!Xe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},nb=e=>e==null?"":ct(e)||je(e)&&e.toString===Uc?JSON.stringify(e,null,2):String(e);function ab(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}function lr(e){let t=e;return()=>++t}const cr=e=>!Xe(e)||ct(e);function ur(e,t){if(cr(e)||cr(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:a}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(Xe(n[r])&&!Xe(a[r])&&(a[r]=Array.isArray(n[r])?[]:tt()),cr(a[r])||cr(n[r])?a[r]=n[r]:o.push({src:n[r],des:a[r]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function nb(e,t,o){return{line:e,column:t,offset:o}}function dr(e,t,o){return{start:e,end:t}}const ab=/\{([0-9a-zA-Z]+)\}/g;function Uc(e,...t){return t.length===1&&rb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ab,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const jc=Object.assign,Gc=e=>typeof e=="string",rb=e=>e!==null&&typeof e=="object";function Wc(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const ks={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},sb={[ks.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function ib(e,t,...o){const n=Uc(sb[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const Ne={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},lb={[Ne.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ne.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ne.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ne.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ne.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ne.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ne.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ne.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ne.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ne.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ne.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ne.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ne.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ne.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function An(e,t,o={}){const{domain:n,messages:a,args:r}=o,s=Uc((a||lb)[e]||"",...r||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function cb(e){throw e}const So=" ",ub="\r",Et=` -`,db="\u2028",pb="\u2029";function gb(e){const t=e;let o=0,n=1,a=1,r=0;const s=x=>t[x]===ub&&t[x+1]===Et,i=x=>t[x]===Et,l=x=>t[x]===pb,c=x=>t[x]===db,u=x=>s(x)||i(x)||l(x)||c(x),d=()=>o,g=()=>n,w=()=>a,A=()=>r,L=x=>s(x)||l(x)||c(x)?Et:t[x],C=()=>L(o),F=()=>L(o+r);function v(){return r=0,u(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function k(){return s(o+r)&&r++,r++,t[o+r]}function f(){o=0,n=1,a=1,r=0}function _(x=0){r=x}function b(){const x=o+r;for(;x!==o;)v();r=0}return{index:d,line:g,column:w,peekOffset:A,charAt:L,currentChar:C,currentPeek:F,next:v,peek:k,reset:f,resetPeek:_,skipToPeek:b}}const jo=void 0,fb=".",qc="'",hb="tokenizer";function mb(e,t={}){const o=t.location!==!1,n=gb(e),a=()=>n.index(),r=()=>nb(n.line(),n.column(),n.index()),s=r(),i=a(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(h,p,O,...J){const ge=c();if(p.column+=O,p.offset+=O,u){const de=o?dr(ge.startLoc,p):null,U=An(h,de,{domain:hb,args:J});u(U)}}function g(h,p,O){h.endLoc=r(),h.currentType=p;const J={type:p};return o&&(J.loc=dr(h.startLoc,h.endLoc)),O!=null&&(J.value=O),J}const w=h=>g(h,14);function A(h,p){return h.currentChar()===p?(h.next(),p):(d(Ne.EXPECTED_TOKEN,r(),0,p),"")}function L(h){let p="";for(;h.currentPeek()===So||h.currentPeek()===Et;)p+=h.currentPeek(),h.peek();return p}function C(h){const p=L(h);return h.skipToPeek(),p}function F(h){if(h===jo)return!1;const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function v(h){if(h===jo)return!1;const p=h.charCodeAt(0);return p>=48&&p<=57}function k(h,p){const{currentType:O}=p;if(O!==2)return!1;L(h);const J=F(h.currentPeek());return h.resetPeek(),J}function f(h,p){const{currentType:O}=p;if(O!==2)return!1;L(h);const J=h.currentPeek()==="-"?h.peek():h.currentPeek(),ge=v(J);return h.resetPeek(),ge}function _(h,p){const{currentType:O}=p;if(O!==2)return!1;L(h);const J=h.currentPeek()===qc;return h.resetPeek(),J}function b(h,p){const{currentType:O}=p;if(O!==8)return!1;L(h);const J=h.currentPeek()===".";return h.resetPeek(),J}function x(h,p){const{currentType:O}=p;if(O!==9)return!1;L(h);const J=F(h.currentPeek());return h.resetPeek(),J}function m(h,p){const{currentType:O}=p;if(!(O===8||O===12))return!1;L(h);const J=h.currentPeek()===":";return h.resetPeek(),J}function $(h,p){const{currentType:O}=p;if(O!==10)return!1;const J=()=>{const de=h.currentPeek();return de==="{"?F(h.peek()):de==="@"||de==="%"||de==="|"||de===":"||de==="."||de===So||!de?!1:de===Et?(h.peek(),J()):z(h,!1)},ge=J();return h.resetPeek(),ge}function V(h){L(h);const p=h.currentPeek()==="|";return h.resetPeek(),p}function I(h){const p=L(h),O=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:O,hasSpace:p.length>0}}function z(h,p=!0){const O=(ge=!1,de="",U=!1)=>{const ee=h.currentPeek();return ee==="{"?de==="%"?!1:ge:ee==="@"||!ee?de==="%"?!0:ge:ee==="%"?(h.peek(),O(ge,"%",!0)):ee==="|"?de==="%"||U?!0:!(de===So||de===Et):ee===So?(h.peek(),O(!0,So,U)):ee===Et?(h.peek(),O(!0,Et,U)):!0},J=O();return p&&h.resetPeek(),J}function G(h,p){const O=h.currentChar();return O===jo?jo:p(O)?(h.next(),O):null}function ce(h){const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function H(h){return G(h,ce)}function D(h){const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function ae(h){return G(h,D)}function P(h){const p=h.charCodeAt(0);return p>=48&&p<=57}function Z(h){return G(h,P)}function N(h){const p=h.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function E(h){return G(h,N)}function W(h){let p="",O="";for(;p=Z(h);)O+=p;return O}function me(h){C(h);const p=h.currentChar();return p!=="%"&&d(Ne.EXPECTED_TOKEN,r(),0,p),h.next(),"%"}function be(h){let p="";for(;;){const O=h.currentChar();if(O==="{"||O==="}"||O==="@"||O==="|"||!O)break;if(O==="%")if(z(h))p+=O,h.next();else break;else if(O===So||O===Et)if(z(h))p+=O,h.next();else{if(V(h))break;p+=O,h.next()}else p+=O,h.next()}return p}function Ae(h){C(h);let p="",O="";for(;p=ae(h);)O+=p;return h.currentChar()===jo&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),O}function Te(h){C(h);let p="";return h.currentChar()==="-"?(h.next(),p+=`-${W(h)}`):p+=W(h),h.currentChar()===jo&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),p}function He(h){return h!==qc&&h!==Et}function Se(h){C(h),A(h,"'");let p="",O="";for(;p=G(h,He);)p==="\\"?O+=$e(h):O+=p;const J=h.currentChar();return J===Et||J===jo?(d(Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),J===Et&&(h.next(),A(h,"'")),O):(A(h,"'"),O)}function $e(h){const p=h.currentChar();switch(p){case"\\":case"'":return h.next(),`\\${p}`;case"u":return xe(h,p,4);case"U":return xe(h,p,6);default:return d(Ne.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function xe(h,p,O){A(h,p);let J="";for(let ge=0;ge{const J=h.currentChar();return J==="{"||J==="%"||J==="@"||J==="|"||J==="("||J===")"||!J||J===So?O:(O+=J,h.next(),p(O))};return p("")}function K(h){C(h);const p=A(h,"|");return C(h),p}function B(h,p){let O=null;switch(h.currentChar()){case"{":return p.braceNest>=1&&d(Ne.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),h.next(),O=g(p,2,"{"),C(h),p.braceNest++,O;case"}":return p.braceNest>0&&p.currentType===2&&d(Ne.EMPTY_PLACEHOLDER,r(),0),h.next(),O=g(p,3,"}"),p.braceNest--,p.braceNest>0&&C(h),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),O;case"@":return p.braceNest>0&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),O=j(h,p)||w(p),p.braceNest=0,O;default:{let ge=!0,de=!0,U=!0;if(V(h))return p.braceNest>0&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),O=g(p,1,K(h)),p.braceNest=0,p.inLinked=!1,O;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,ne(h,p);if(ge=k(h,p))return O=g(p,5,Ae(h)),C(h),O;if(de=f(h,p))return O=g(p,6,Te(h)),C(h),O;if(U=_(h,p))return O=g(p,7,Se(h)),C(h),O;if(!ge&&!de&&!U)return O=g(p,13,y(h)),d(Ne.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,O.value),C(h),O;break}}return O}function j(h,p){const{currentType:O}=p;let J=null;const ge=h.currentChar();switch((O===8||O===9||O===12||O===10)&&(ge===Et||ge===So)&&d(Ne.INVALID_LINKED_FORMAT,r(),0),ge){case"@":return h.next(),J=g(p,8,"@"),p.inLinked=!0,J;case".":return C(h),h.next(),g(p,9,".");case":":return C(h),h.next(),g(p,10,":");default:return V(h)?(J=g(p,1,K(h)),p.braceNest=0,p.inLinked=!1,J):b(h,p)||m(h,p)?(C(h),j(h,p)):x(h,p)?(C(h),g(p,12,T(h))):$(h,p)?(C(h),ge==="{"?B(h,p)||J:g(p,11,S(h))):(O===8&&d(Ne.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,ne(h,p))}}function ne(h,p){let O={type:14};if(p.braceNest>0)return B(h,p)||w(p);if(p.inLinked)return j(h,p)||w(p);switch(h.currentChar()){case"{":return B(h,p)||w(p);case"}":return d(Ne.UNBALANCED_CLOSING_BRACE,r(),0),h.next(),g(p,3,"}");case"@":return j(h,p)||w(p);default:{if(V(h))return O=g(p,1,K(h)),p.braceNest=0,p.inLinked=!1,O;const{isModulo:ge,hasSpace:de}=I(h);if(ge)return de?g(p,0,be(h)):g(p,4,me(h));if(z(h))return g(p,0,be(h));break}}return O}function le(){const{currentType:h,offset:p,startLoc:O,endLoc:J}=l;return l.lastType=h,l.lastOffset=p,l.lastStartLoc=O,l.lastEndLoc=J,l.offset=a(),l.startLoc=r(),n.currentChar()===jo?g(l,14):ne(n,l)}return{nextToken:le,currentOffset:a,currentPosition:r,context:c}}const _b="parser",bb=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $b(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 yb(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(k,f,_,b,...x){const m=k.currentPosition();if(m.offset+=b,m.column+=b,o){const $=t?dr(_,m):null,V=An(f,$,{domain:_b,args:x});o(V)}}function r(k,f,_,b,...x){const m=k.currentPosition();if(m.offset+=b,m.column+=b,n){const $=t?dr(_,m):null;n(ib(f,$,x))}}function s(k,f,_){const b={type:k};return t&&(b.start=f,b.end=f,b.loc={start:_,end:_}),b}function i(k,f,_,b){t&&(k.end=f,k.loc&&(k.loc.end=_))}function l(k,f){const _=k.context(),b=s(3,_.offset,_.startLoc);return b.value=f,i(b,k.currentOffset(),k.currentPosition()),b}function c(k,f){const _=k.context(),{lastOffset:b,lastStartLoc:x}=_,m=s(5,b,x);return m.index=parseInt(f,10),k.nextToken(),i(m,k.currentOffset(),k.currentPosition()),m}function u(k,f,_){const b=k.context(),{lastOffset:x,lastStartLoc:m}=b,$=s(4,x,m);return $.key=f,_===!0&&($.modulo=!0),k.nextToken(),i($,k.currentOffset(),k.currentPosition()),$}function d(k,f){const _=k.context(),{lastOffset:b,lastStartLoc:x}=_,m=s(9,b,x);return m.value=f.replace(bb,$b),k.nextToken(),i(m,k.currentOffset(),k.currentPosition()),m}function g(k){const f=k.nextToken(),_=k.context(),{lastOffset:b,lastStartLoc:x}=_,m=s(8,b,x);return f.type!==12?(a(k,Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),m.value="",i(m,b,x),{nextConsumeToken:f,node:m}):(f.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Zt(f)),m.value=f.value||"",i(m,k.currentOffset(),k.currentPosition()),{node:m})}function w(k,f){const _=k.context(),b=s(7,_.offset,_.startLoc);return b.value=f,i(b,k.currentOffset(),k.currentPosition()),b}function A(k){const f=k.context(),_=s(6,f.offset,f.startLoc);let b=k.nextToken();if(b.type===9){const x=g(k);_.modifier=x.node,b=x.nextConsumeToken||k.nextToken()}switch(b.type!==10&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),b=k.nextToken(),b.type===2&&(b=k.nextToken()),b.type){case 11:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=w(k,b.value||"");break;case 5:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=u(k,b.value||"");break;case 6:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=c(k,b.value||"");break;case 7:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=d(k,b.value||"");break;default:{a(k,Ne.UNEXPECTED_EMPTY_LINKED_KEY,f.lastStartLoc,0);const x=k.context(),m=s(7,x.offset,x.startLoc);return m.value="",i(m,x.offset,x.startLoc),_.key=m,i(_,x.offset,x.startLoc),{nextConsumeToken:b,node:_}}}return i(_,k.currentOffset(),k.currentPosition()),{node:_}}function L(k){const f=k.context(),_=f.currentType===1?k.currentOffset():f.offset,b=f.currentType===1?f.endLoc:f.startLoc,x=s(2,_,b);x.items=[];let m=null,$=null;do{const z=m||k.nextToken();switch(m=null,z.type){case 0:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(l(k,z.value||""));break;case 6:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(c(k,z.value||""));break;case 4:$=!0;break;case 5:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(u(k,z.value||"",!!$)),$&&(r(k,ks.USE_MODULO_SYNTAX,f.lastStartLoc,0,Zt(z)),$=null);break;case 7:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(d(k,z.value||""));break;case 8:{const G=A(k);x.items.push(G.node),m=G.nextConsumeToken||null;break}}}while(f.currentType!==14&&f.currentType!==1);const V=f.currentType===1?f.lastOffset:k.currentOffset(),I=f.currentType===1?f.lastEndLoc:k.currentPosition();return i(x,V,I),x}function C(k,f,_,b){const x=k.context();let m=b.items.length===0;const $=s(1,f,_);$.cases=[],$.cases.push(b);do{const V=L(k);m||(m=V.items.length===0),$.cases.push(V)}while(x.currentType!==14);return m&&a(k,Ne.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),i($,k.currentOffset(),k.currentPosition()),$}function F(k){const f=k.context(),{offset:_,startLoc:b}=f,x=L(k);return f.currentType===14?x:C(k,_,b,x)}function v(k){const f=mb(k,jc({},e)),_=f.context(),b=s(0,_.offset,_.startLoc);return t&&b.loc&&(b.loc.source=k),b.body=F(f),e.onCacheKey&&(b.cacheKey=e.onCacheKey(k)),_.currentType!==14&&a(f,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,k[_.offset]||""),i(b,f.currentOffset(),f.currentPosition()),b}return{parse:v}}function Zt(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 vb(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Vc(e,t){for(let o=0;oKc(o)),e}function Kc(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;os;function l(L,C){s.code+=L}function c(L,C=!0){const F=C?n:"";l(a?F+" ".repeat(L):F)}function u(L=!0){const C=++s.indentLevel;L&&c(C)}function d(L=!0){const C=--s.indentLevel;L&&c(C)}function g(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:d,newline:g,helper:L=>`_${L}`,needIndent:()=>s.needIndent}}function Lb(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),Tn(e,t.key),t.modifier?(e.push(", "),Tn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Tb(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=Gc(t.mode)?t.mode:"normal",n=Gc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` -`,r=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=Ab(e,{filename:n,breakLineCode:a,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),s.length>0&&(i.push(`const { ${Wc(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),Tn(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function Mb(e,t={}){const o=jc({},t),n=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,i=yb(o).parse(e);return n?(r&&xb(i),a&&Ln(i),{ast:i,code:""}):(wb(i,o),Eb(i,o))}/*! + */function rb(e,t,o){return{line:e,column:t,offset:o}}function dr(e,t,o){return{start:e,end:t}}const sb=/\{([0-9a-zA-Z]+)\}/g;function Gc(e,...t){return t.length===1&&ib(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(sb,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const Wc=Object.assign,qc=e=>typeof e=="string",ib=e=>e!==null&&typeof e=="object";function Vc(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const ks={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},lb={[ks.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function cb(e,t,...o){const n=Gc(lb[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const Ne={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},ub={[Ne.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ne.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ne.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ne.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ne.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ne.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ne.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ne.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ne.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ne.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ne.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ne.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ne.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ne.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function An(e,t,o={}){const{domain:n,messages:a,args:r}=o,s=Gc((a||ub)[e]||"",...r||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function db(e){throw e}const So=" ",pb="\r",Et=` +`,gb="\u2028",fb="\u2029";function hb(e){const t=e;let o=0,n=1,a=1,r=0;const s=x=>t[x]===pb&&t[x+1]===Et,i=x=>t[x]===Et,l=x=>t[x]===fb,c=x=>t[x]===gb,u=x=>s(x)||i(x)||l(x)||c(x),d=()=>o,g=()=>n,w=()=>a,A=()=>r,L=x=>s(x)||l(x)||c(x)?Et:t[x],C=()=>L(o),F=()=>L(o+r);function v(){return r=0,u(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function k(){return s(o+r)&&r++,r++,t[o+r]}function f(){o=0,n=1,a=1,r=0}function _(x=0){r=x}function b(){const x=o+r;for(;x!==o;)v();r=0}return{index:d,line:g,column:w,peekOffset:A,charAt:L,currentChar:C,currentPeek:F,next:v,peek:k,reset:f,resetPeek:_,skipToPeek:b}}const jo=void 0,mb=".",Kc="'",_b="tokenizer";function bb(e,t={}){const o=t.location!==!1,n=hb(e),a=()=>n.index(),r=()=>rb(n.line(),n.column(),n.index()),s=r(),i=a(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(h,p,O,...J){const ge=c();if(p.column+=O,p.offset+=O,u){const de=o?dr(ge.startLoc,p):null,U=An(h,de,{domain:_b,args:J});u(U)}}function g(h,p,O){h.endLoc=r(),h.currentType=p;const J={type:p};return o&&(J.loc=dr(h.startLoc,h.endLoc)),O!=null&&(J.value=O),J}const w=h=>g(h,14);function A(h,p){return h.currentChar()===p?(h.next(),p):(d(Ne.EXPECTED_TOKEN,r(),0,p),"")}function L(h){let p="";for(;h.currentPeek()===So||h.currentPeek()===Et;)p+=h.currentPeek(),h.peek();return p}function C(h){const p=L(h);return h.skipToPeek(),p}function F(h){if(h===jo)return!1;const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function v(h){if(h===jo)return!1;const p=h.charCodeAt(0);return p>=48&&p<=57}function k(h,p){const{currentType:O}=p;if(O!==2)return!1;L(h);const J=F(h.currentPeek());return h.resetPeek(),J}function f(h,p){const{currentType:O}=p;if(O!==2)return!1;L(h);const J=h.currentPeek()==="-"?h.peek():h.currentPeek(),ge=v(J);return h.resetPeek(),ge}function _(h,p){const{currentType:O}=p;if(O!==2)return!1;L(h);const J=h.currentPeek()===Kc;return h.resetPeek(),J}function b(h,p){const{currentType:O}=p;if(O!==8)return!1;L(h);const J=h.currentPeek()===".";return h.resetPeek(),J}function x(h,p){const{currentType:O}=p;if(O!==9)return!1;L(h);const J=F(h.currentPeek());return h.resetPeek(),J}function m(h,p){const{currentType:O}=p;if(!(O===8||O===12))return!1;L(h);const J=h.currentPeek()===":";return h.resetPeek(),J}function $(h,p){const{currentType:O}=p;if(O!==10)return!1;const J=()=>{const de=h.currentPeek();return de==="{"?F(h.peek()):de==="@"||de==="%"||de==="|"||de===":"||de==="."||de===So||!de?!1:de===Et?(h.peek(),J()):z(h,!1)},ge=J();return h.resetPeek(),ge}function V(h){L(h);const p=h.currentPeek()==="|";return h.resetPeek(),p}function I(h){const p=L(h),O=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:O,hasSpace:p.length>0}}function z(h,p=!0){const O=(ge=!1,de="",U=!1)=>{const ee=h.currentPeek();return ee==="{"?de==="%"?!1:ge:ee==="@"||!ee?de==="%"?!0:ge:ee==="%"?(h.peek(),O(ge,"%",!0)):ee==="|"?de==="%"||U?!0:!(de===So||de===Et):ee===So?(h.peek(),O(!0,So,U)):ee===Et?(h.peek(),O(!0,Et,U)):!0},J=O();return p&&h.resetPeek(),J}function G(h,p){const O=h.currentChar();return O===jo?jo:p(O)?(h.next(),O):null}function ce(h){const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function H(h){return G(h,ce)}function D(h){const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function ae(h){return G(h,D)}function P(h){const p=h.charCodeAt(0);return p>=48&&p<=57}function Z(h){return G(h,P)}function N(h){const p=h.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function E(h){return G(h,N)}function W(h){let p="",O="";for(;p=Z(h);)O+=p;return O}function me(h){C(h);const p=h.currentChar();return p!=="%"&&d(Ne.EXPECTED_TOKEN,r(),0,p),h.next(),"%"}function be(h){let p="";for(;;){const O=h.currentChar();if(O==="{"||O==="}"||O==="@"||O==="|"||!O)break;if(O==="%")if(z(h))p+=O,h.next();else break;else if(O===So||O===Et)if(z(h))p+=O,h.next();else{if(V(h))break;p+=O,h.next()}else p+=O,h.next()}return p}function Ae(h){C(h);let p="",O="";for(;p=ae(h);)O+=p;return h.currentChar()===jo&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),O}function Te(h){C(h);let p="";return h.currentChar()==="-"?(h.next(),p+=`-${W(h)}`):p+=W(h),h.currentChar()===jo&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),p}function He(h){return h!==Kc&&h!==Et}function Se(h){C(h),A(h,"'");let p="",O="";for(;p=G(h,He);)p==="\\"?O+=$e(h):O+=p;const J=h.currentChar();return J===Et||J===jo?(d(Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),J===Et&&(h.next(),A(h,"'")),O):(A(h,"'"),O)}function $e(h){const p=h.currentChar();switch(p){case"\\":case"'":return h.next(),`\\${p}`;case"u":return xe(h,p,4);case"U":return xe(h,p,6);default:return d(Ne.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function xe(h,p,O){A(h,p);let J="";for(let ge=0;ge{const J=h.currentChar();return J==="{"||J==="%"||J==="@"||J==="|"||J==="("||J===")"||!J||J===So?O:(O+=J,h.next(),p(O))};return p("")}function K(h){C(h);const p=A(h,"|");return C(h),p}function B(h,p){let O=null;switch(h.currentChar()){case"{":return p.braceNest>=1&&d(Ne.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),h.next(),O=g(p,2,"{"),C(h),p.braceNest++,O;case"}":return p.braceNest>0&&p.currentType===2&&d(Ne.EMPTY_PLACEHOLDER,r(),0),h.next(),O=g(p,3,"}"),p.braceNest--,p.braceNest>0&&C(h),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),O;case"@":return p.braceNest>0&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),O=j(h,p)||w(p),p.braceNest=0,O;default:{let ge=!0,de=!0,U=!0;if(V(h))return p.braceNest>0&&d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),O=g(p,1,K(h)),p.braceNest=0,p.inLinked=!1,O;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return d(Ne.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,ne(h,p);if(ge=k(h,p))return O=g(p,5,Ae(h)),C(h),O;if(de=f(h,p))return O=g(p,6,Te(h)),C(h),O;if(U=_(h,p))return O=g(p,7,Se(h)),C(h),O;if(!ge&&!de&&!U)return O=g(p,13,y(h)),d(Ne.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,O.value),C(h),O;break}}return O}function j(h,p){const{currentType:O}=p;let J=null;const ge=h.currentChar();switch((O===8||O===9||O===12||O===10)&&(ge===Et||ge===So)&&d(Ne.INVALID_LINKED_FORMAT,r(),0),ge){case"@":return h.next(),J=g(p,8,"@"),p.inLinked=!0,J;case".":return C(h),h.next(),g(p,9,".");case":":return C(h),h.next(),g(p,10,":");default:return V(h)?(J=g(p,1,K(h)),p.braceNest=0,p.inLinked=!1,J):b(h,p)||m(h,p)?(C(h),j(h,p)):x(h,p)?(C(h),g(p,12,T(h))):$(h,p)?(C(h),ge==="{"?B(h,p)||J:g(p,11,S(h))):(O===8&&d(Ne.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,ne(h,p))}}function ne(h,p){let O={type:14};if(p.braceNest>0)return B(h,p)||w(p);if(p.inLinked)return j(h,p)||w(p);switch(h.currentChar()){case"{":return B(h,p)||w(p);case"}":return d(Ne.UNBALANCED_CLOSING_BRACE,r(),0),h.next(),g(p,3,"}");case"@":return j(h,p)||w(p);default:{if(V(h))return O=g(p,1,K(h)),p.braceNest=0,p.inLinked=!1,O;const{isModulo:ge,hasSpace:de}=I(h);if(ge)return de?g(p,0,be(h)):g(p,4,me(h));if(z(h))return g(p,0,be(h));break}}return O}function le(){const{currentType:h,offset:p,startLoc:O,endLoc:J}=l;return l.lastType=h,l.lastOffset=p,l.lastStartLoc=O,l.lastEndLoc=J,l.offset=a(),l.startLoc=r(),n.currentChar()===jo?g(l,14):ne(n,l)}return{nextToken:le,currentOffset:a,currentPosition:r,context:c}}const $b="parser",yb=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function vb(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 wb(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(k,f,_,b,...x){const m=k.currentPosition();if(m.offset+=b,m.column+=b,o){const $=t?dr(_,m):null,V=An(f,$,{domain:$b,args:x});o(V)}}function r(k,f,_,b,...x){const m=k.currentPosition();if(m.offset+=b,m.column+=b,n){const $=t?dr(_,m):null;n(cb(f,$,x))}}function s(k,f,_){const b={type:k};return t&&(b.start=f,b.end=f,b.loc={start:_,end:_}),b}function i(k,f,_,b){t&&(k.end=f,k.loc&&(k.loc.end=_))}function l(k,f){const _=k.context(),b=s(3,_.offset,_.startLoc);return b.value=f,i(b,k.currentOffset(),k.currentPosition()),b}function c(k,f){const _=k.context(),{lastOffset:b,lastStartLoc:x}=_,m=s(5,b,x);return m.index=parseInt(f,10),k.nextToken(),i(m,k.currentOffset(),k.currentPosition()),m}function u(k,f,_){const b=k.context(),{lastOffset:x,lastStartLoc:m}=b,$=s(4,x,m);return $.key=f,_===!0&&($.modulo=!0),k.nextToken(),i($,k.currentOffset(),k.currentPosition()),$}function d(k,f){const _=k.context(),{lastOffset:b,lastStartLoc:x}=_,m=s(9,b,x);return m.value=f.replace(yb,vb),k.nextToken(),i(m,k.currentOffset(),k.currentPosition()),m}function g(k){const f=k.nextToken(),_=k.context(),{lastOffset:b,lastStartLoc:x}=_,m=s(8,b,x);return f.type!==12?(a(k,Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),m.value="",i(m,b,x),{nextConsumeToken:f,node:m}):(f.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Zt(f)),m.value=f.value||"",i(m,k.currentOffset(),k.currentPosition()),{node:m})}function w(k,f){const _=k.context(),b=s(7,_.offset,_.startLoc);return b.value=f,i(b,k.currentOffset(),k.currentPosition()),b}function A(k){const f=k.context(),_=s(6,f.offset,f.startLoc);let b=k.nextToken();if(b.type===9){const x=g(k);_.modifier=x.node,b=x.nextConsumeToken||k.nextToken()}switch(b.type!==10&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),b=k.nextToken(),b.type===2&&(b=k.nextToken()),b.type){case 11:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=w(k,b.value||"");break;case 5:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=u(k,b.value||"");break;case 6:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=c(k,b.value||"");break;case 7:b.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(b)),_.key=d(k,b.value||"");break;default:{a(k,Ne.UNEXPECTED_EMPTY_LINKED_KEY,f.lastStartLoc,0);const x=k.context(),m=s(7,x.offset,x.startLoc);return m.value="",i(m,x.offset,x.startLoc),_.key=m,i(_,x.offset,x.startLoc),{nextConsumeToken:b,node:_}}}return i(_,k.currentOffset(),k.currentPosition()),{node:_}}function L(k){const f=k.context(),_=f.currentType===1?k.currentOffset():f.offset,b=f.currentType===1?f.endLoc:f.startLoc,x=s(2,_,b);x.items=[];let m=null,$=null;do{const z=m||k.nextToken();switch(m=null,z.type){case 0:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(l(k,z.value||""));break;case 6:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(c(k,z.value||""));break;case 4:$=!0;break;case 5:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(u(k,z.value||"",!!$)),$&&(r(k,ks.USE_MODULO_SYNTAX,f.lastStartLoc,0,Zt(z)),$=null);break;case 7:z.value==null&&a(k,Ne.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,Zt(z)),x.items.push(d(k,z.value||""));break;case 8:{const G=A(k);x.items.push(G.node),m=G.nextConsumeToken||null;break}}}while(f.currentType!==14&&f.currentType!==1);const V=f.currentType===1?f.lastOffset:k.currentOffset(),I=f.currentType===1?f.lastEndLoc:k.currentPosition();return i(x,V,I),x}function C(k,f,_,b){const x=k.context();let m=b.items.length===0;const $=s(1,f,_);$.cases=[],$.cases.push(b);do{const V=L(k);m||(m=V.items.length===0),$.cases.push(V)}while(x.currentType!==14);return m&&a(k,Ne.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),i($,k.currentOffset(),k.currentPosition()),$}function F(k){const f=k.context(),{offset:_,startLoc:b}=f,x=L(k);return f.currentType===14?x:C(k,_,b,x)}function v(k){const f=bb(k,Wc({},e)),_=f.context(),b=s(0,_.offset,_.startLoc);return t&&b.loc&&(b.loc.source=k),b.body=F(f),e.onCacheKey&&(b.cacheKey=e.onCacheKey(k)),_.currentType!==14&&a(f,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,k[_.offset]||""),i(b,f.currentOffset(),f.currentPosition()),b}return{parse:v}}function Zt(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 xb(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Yc(e,t){for(let o=0;oZc(o)),e}function Zc(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;os;function l(L,C){s.code+=L}function c(L,C=!0){const F=C?n:"";l(a?F+" ".repeat(L):F)}function u(L=!0){const C=++s.indentLevel;L&&c(C)}function d(L=!0){const C=--s.indentLevel;L&&c(C)}function g(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:d,newline:g,helper:L=>`_${L}`,needIndent:()=>s.needIndent}}function Cb(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),Tn(e,t.key),t.modifier?(e.push(", "),Tn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Pb(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=qc(t.mode)?t.mode:"normal",n=qc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` +`,r=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=Tb(e,{filename:n,breakLineCode:a,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),s.length>0&&(i.push(`const { ${Vc(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),Tn(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function Fb(e,t={}){const o=Wc({},t),n=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,i=wb(o).parse(e);return n?(r&&Sb(i),a&&Ln(i),{ast:i,code:""}):(kb(i,o),Rb(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Rb(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(la().__INTLIFY_PROD_DEVTOOLS__=!1)}function fo(e){return Xe(e)&&As(e)===0&&(Yt(e,"b")||Yt(e,"body"))}const Yc=["b","body"];function Fb(e){return Go(e,Yc)}const Zc=["c","cases"];function Nb(e){return Go(e,Zc,[])}const Xc=["s","static"];function Ob(e){return Go(e,Xc)}const Jc=["i","items"];function Ib(e){return Go(e,Jc,[])}const Qc=["t","type"];function As(e){return Go(e,Qc)}const eu=["v","value"];function pr(e,t){const o=Go(e,eu);if(o!=null)return o;throw ca(t)}const tu=["m","modifier"];function zb(e){return Go(e,tu)}const ou=["k","key"];function Db(e){const t=Go(e,ou);if(t)return t;throw ca(6)}function Go(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,n=4,g[0]();else{if(a=0,s===void 0||(s=Gb(s),s===!1))return!1;g[1]()}};function w(){const A=e[o+1];if(n===5&&A==="'"||n===6&&A==='"')return o++,i="\\"+A,g[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&w())){if(l=jb(r),d=Wo[n],c=d[l]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=g[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const au=new Map;function qb(e,t){return Xe(e)?e[t]:null}function Vb(e,t){if(!Xe(e))return null;let o=au.get(t);if(o||(o=Wb(t),o&&au.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,Yb=e=>"",Zb="text",Xb=e=>e.length===0?"":ob(e),Jb=tb;function ru(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Qb(e){const t=ft(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ft(e.named.count)||ft(e.named.n))?ft(e.named.count)?e.named.count:ft(e.named.n)?e.named.n:t:t}function e$(e,t){t.count||(t.count=e),t.n||(t.n=e)}function t$(e={}){const t=e.locale,o=Qb(e),n=Xe(e.pluralRules)&&ve(t)&&it(e.pluralRules[t])?e.pluralRules[t]:ru,a=Xe(e.pluralRules)&&ve(t)&&it(e.pluralRules[t])?ru:void 0,r=F=>F[n(o,F.length,a)],s=e.list||[],i=F=>s[F],l=e.named||tt();ft(e.pluralIndex)&&e$(o,l);const c=F=>l[F];function u(F){const v=it(e.messages)?e.messages(F):Xe(e.messages)?e.messages[F]:!1;return v||(e.parent?e.parent.message(F):Yb)}const d=F=>e.modifiers?e.modifiers[F]:Kb,g=je(e.processor)&&it(e.processor.normalize)?e.processor.normalize:Xb,w=je(e.processor)&&it(e.processor.interpolate)?e.processor.interpolate:Jb,A=je(e.processor)&&ve(e.processor.type)?e.processor.type:Zb,C={list:i,named:c,plural:r,linked:(F,...v)=>{const[k,f]=v;let _="text",b="";v.length===1?Xe(k)?(b=k.modifier||b,_=k.type||_):ve(k)&&(b=k||b):v.length===2&&(ve(k)&&(b=k||b),ve(f)&&(_=f||_));const x=u(F)(C),m=_==="vnode"&&ct(x)&&b?x[0]:x;return b?d(b)(m,_):m},message:u,type:A,interpolate:w,normalize:g,values:wt(tt(),s,l)};return C}let ua=null;function o$(e){ua=e}function n$(e,t,o){ua&&ua.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const a$=r$("function:translate");function r$(e){return t=>ua&&ua.emit(e,t)}const s$=ks.__EXTEND_POINT__,un=lr(s$),i$={FALLBACK_TO_TRANSLATE:un(),CANNOT_FORMAT_NUMBER:un(),FALLBACK_TO_NUMBER_FORMAT:un(),CANNOT_FORMAT_DATE:un(),FALLBACK_TO_DATE_FORMAT:un(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:un(),__EXTEND_POINT__:un()},su=Ne.__EXTEND_POINT__,dn=lr(su),ho={INVALID_ARGUMENT:su,INVALID_DATE_ARGUMENT:dn(),INVALID_ISO_DATE_ARGUMENT:dn(),NOT_SUPPORT_NON_STRING_MESSAGE:dn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:dn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:dn(),NOT_SUPPORT_LOCALE_TYPE:dn(),__EXTEND_POINT__:dn()};function Ao(e){return An(e,null,void 0)}function Ls(e,t){return t.locale!=null?iu(t.locale):iu(e.locale)}let Ts;function iu(e){if(ve(e))return e;if(it(e)){if(e.resolvedOnce&&Ts!=null)return Ts;if(e.constructor.name==="Function"){const t=e();if(eb(t))throw Ao(ho.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ts=t}else throw Ao(ho.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ao(ho.NOT_SUPPORT_LOCALE_TYPE)}function l$(e,t,o){return[...new Set([o,...ct(t)?t:Xe(t)?Object.keys(t):ve(t)?[t]:[o]])]}function lu(e,t,o){const n=ve(o)?o:Cn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;ct(s);)s=cu(r,s,t);const i=ct(t)||!je(t)?t:t.default?t.default:null;s=ve(i)?[i]:i,ct(s)&&cu(r,s,!1),a.__localeChainCache.set(n,r)}return r}function cu(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function p$(){return{upper:(e,t)=>t==="text"&&ve(e)?e.toUpperCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ve(e)?e.toLowerCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ve(e)?du(e):t==="vnode"&&Xe(e)&&"__v_isVNode"in e?du(e.children):e}}let pu;function g$(e){pu=e}let gu;function f$(e){gu=e}let fu;function h$(e){fu=e}let hu=null;const m$=e=>{hu=e},_$=()=>hu;let mu=null;const _u=e=>{mu=e},b$=()=>mu;let bu=0;function $$(e={}){const t=it(e.onWarn)?e.onWarn:V_,o=ve(e.version)?e.version:d$,n=ve(e.locale)||it(e.locale)?e.locale:Cn,a=it(n)?Cn:n,r=ct(e.fallbackLocale)||je(e.fallbackLocale)||ve(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=je(e.messages)?e.messages:Cs(a),i=je(e.datetimeFormats)?e.datetimeFormats:Cs(a),l=je(e.numberFormats)?e.numberFormats:Cs(a),c=wt(tt(),e.modifiers,p$()),u=e.pluralRules||tt(),d=it(e.missing)?e.missing:null,g=Ve(e.missingWarn)||Uo(e.missingWarn)?e.missingWarn:!0,w=Ve(e.fallbackWarn)||Uo(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,L=!!e.unresolving,C=it(e.postTranslation)?e.postTranslation:null,F=je(e.processor)?e.processor:null,v=Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter,f=it(e.messageCompiler)?e.messageCompiler:pu,_=it(e.messageResolver)?e.messageResolver:gu||qb,b=it(e.localeFallbacker)?e.localeFallbacker:fu||l$,x=Xe(e.fallbackContext)?e.fallbackContext:void 0,m=e,$=Xe(m.__datetimeFormatters)?m.__datetimeFormatters:new Map,V=Xe(m.__numberFormatters)?m.__numberFormatters:new Map,I=Xe(m.__meta)?m.__meta:{};bu++;const z={version:o,cid:bu,locale:n,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:g,fallbackWarn:w,fallbackFormat:A,unresolving:L,postTranslation:C,processor:F,warnHtmlMessage:v,escapeParameter:k,messageCompiler:f,messageResolver:_,localeFallbacker:b,fallbackContext:x,onWarn:t,__meta:I};return z.datetimeFormats=i,z.numberFormats=l,z.__datetimeFormatters=$,z.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&n$(z,o,I),z}const Cs=e=>({[e]:tt()});function Ps(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return ve(i)?i:t}else return t}function da(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function y$(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function v$(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nw$(o,e)}function w$(e,t){const o=Fb(t);if(o==null)throw ca(0);if(As(o)===1){const r=Nb(o);return e.plural(r.reduce((s,i)=>[...s,$u(e,i)],[]))}else return $u(e,o)}function $u(e,t){const o=Ob(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=Ib(t).reduce((a,r)=>[...a,Ms(e,r)],[]);return e.normalize(n)}}function Ms(e,t){const o=As(t);switch(o){case 3:return pr(t,o);case 9:return pr(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 ca(o)}case 5:{const n=t;if(Yt(n,"i")&&ft(n.i))return e.interpolate(e.list(n.i));if(Yt(n,"index")&&ft(n.index))return e.interpolate(e.list(n.index));throw ca(o)}case 6:{const n=t,a=zb(n),r=Db(n);return e.linked(Ms(e,r),a?Ms(e,a):void 0,e.type)}case 7:return pr(t,o);case 8:return pr(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const x$=e=>e;let fr=tt();function k$(e,t={}){let o=!1;const n=t.onError||cb;return t.onError=a=>{o=!0,n(a)},{...Mb(e,t),detectError:o}}function S$(e,t){if(ve(e)){Ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||x$)(e),a=fr[n];if(a)return a;const{ast:r,detectError:s}=k$(e,{...t,location:!1,jit:!0}),i=Es(r);return s?i:fr[n]=i}else{const o=e.cacheKey;if(o){const n=fr[o];return n||(fr[o]=Es(e))}else return Es(e)}}const yu=()=>"",jt=e=>it(e);function vu(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,c]=Rs(...t),u=Ve(c.missingWarn)?c.missingWarn:e.missingWarn,d=Ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=Ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,w=!!c.resolvedMessage,A=ve(c.default)||Ve(c.default)?Ve(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",L=o||A!=="",C=Ls(e,c);g&&A$(c);let[F,v,k]=w?[l,C,i[C]||tt()]:wu(e,l,C,s,d,u),f=F,_=l;if(!w&&!(ve(f)||fo(f)||jt(f))&&L&&(f=A,_=f),!w&&(!(ve(f)||fo(f)||jt(f))||!ve(v)))return a?gr:l;let b=!1;const x=()=>{b=!0},m=jt(f)?f:xu(e,l,v,f,_,x);if(b)return f;const $=C$(e,v,k,c),V=t$($),I=L$(e,m,V);let z=n?n(I,l):I;if(g&&ve(z)&&(z=J_(z)),__INTLIFY_PROD_DEVTOOLS__){const G={timestamp:Date.now(),key:ve(l)?l:jt(f)?f.key:"",locale:v||(jt(f)?f.locale:""),format:ve(f)?f:jt(f)?f.source:"",message:z};G.meta=wt({},e.__meta,_$()||{}),a$(G)}return z}function A$(e){ct(e.list)?e.list=e.list.map(t=>ve(t)?zc(t):t):Xe(e.named)&&Object.keys(e.named).forEach(t=>{ve(e.named[t])&&(e.named[t]=zc(e.named[t]))})}function wu(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let d=tt(),g,w=null;const A="translate";for(let L=0;Ln;return c.locale=o,c.key=t,c}const l=s(n,T$(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function L$(e,t,o){return t(o)}function Rs(...e){const[t,o,n]=e,a=tt();if(!ve(t)&&!ft(t)&&!jt(t)&&!fo(t))throw Ao(ho.INVALID_ARGUMENT);const r=ft(t)?String(t):(jt(t),t);return ft(o)?a.plural=o:ve(o)?a.default=o:je(o)&&!ir(o)?a.named=o:ct(o)&&(a.list=o),ft(n)?a.plural=n:ve(n)?a.default=n:je(n)&&wt(a,n),[r,a]}function T$(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>K_(t,o,s)}}function C$(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,g={locale:t,modifiers:a,pluralRules:r,messages:w=>{let A=s(o,w);if(A==null&&u){const[,,L]=wu(u,w,t,i,l,c);A=s(L,w)}if(ve(A)||fo(A)){let L=!1;const F=xu(e,w,t,A,w,()=>{L=!0});return L?yu:F}else return jt(A)?A:yu}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),ft(n.plural)&&(g.pluralIndex=n.plural),g}function ku(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=Fs(...t),g=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const w=!!u.part,A=Ls(e,u),L=s(e,a,A);if(!ve(l)||l==="")return new Intl.DateTimeFormat(A,d).format(c);let C={},F,v=null;const k="datetime format";for(let b=0;b{Su.includes(l)?s[l]=o[l]:r[l]=o[l]}),ve(n)?r.locale=n:je(n)&&(s=n),je(a)&&(s=a),[r.key||"",i,r,s]}function Au(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function Lu(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,d]=Ns(...t),g=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const w=!!u.part,A=Ls(e,u),L=s(e,a,A);if(!ve(l)||l==="")return new Intl.NumberFormat(A,d).format(c);let C={},F,v=null;const k="number format";for(let b=0;b{Tu.includes(l)?s[l]=o[l]:r[l]=o[l]}),ve(n)?r.locale=n:je(n)&&(s=n),je(a)&&(s=a),[r.key||"",i,r,s]}function Cu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}Rb();/*! + */function Nb(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ca().__INTLIFY_PROD_DEVTOOLS__=!1)}function fo(e){return Xe(e)&&As(e)===0&&(Yt(e,"b")||Yt(e,"body"))}const Xc=["b","body"];function Ob(e){return Go(e,Xc)}const Jc=["c","cases"];function Ib(e){return Go(e,Jc,[])}const Qc=["s","static"];function zb(e){return Go(e,Qc)}const eu=["i","items"];function Db(e){return Go(e,eu,[])}const tu=["t","type"];function As(e){return Go(e,tu)}const ou=["v","value"];function pr(e,t){const o=Go(e,ou);if(o!=null)return o;throw ua(t)}const nu=["m","modifier"];function Bb(e){return Go(e,nu)}const au=["k","key"];function Hb(e){const t=Go(e,au);if(t)return t;throw ua(6)}function Go(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,n=4,g[0]();else{if(a=0,s===void 0||(s=qb(s),s===!1))return!1;g[1]()}};function w(){const A=e[o+1];if(n===5&&A==="'"||n===6&&A==='"')return o++,i="\\"+A,g[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&w())){if(l=Wb(r),d=Wo[n],c=d[l]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=g[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const su=new Map;function Kb(e,t){return Xe(e)?e[t]:null}function Yb(e,t){if(!Xe(e))return null;let o=su.get(t);if(o||(o=Vb(t),o&&su.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,Xb=e=>"",Jb="text",Qb=e=>e.length===0?"":ab(e),e$=nb;function iu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function t$(e){const t=ft(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ft(e.named.count)||ft(e.named.n))?ft(e.named.count)?e.named.count:ft(e.named.n)?e.named.n:t:t}function o$(e,t){t.count||(t.count=e),t.n||(t.n=e)}function n$(e={}){const t=e.locale,o=t$(e),n=Xe(e.pluralRules)&&ve(t)&&it(e.pluralRules[t])?e.pluralRules[t]:iu,a=Xe(e.pluralRules)&&ve(t)&&it(e.pluralRules[t])?iu:void 0,r=F=>F[n(o,F.length,a)],s=e.list||[],i=F=>s[F],l=e.named||tt();ft(e.pluralIndex)&&o$(o,l);const c=F=>l[F];function u(F){const v=it(e.messages)?e.messages(F):Xe(e.messages)?e.messages[F]:!1;return v||(e.parent?e.parent.message(F):Xb)}const d=F=>e.modifiers?e.modifiers[F]:Zb,g=je(e.processor)&&it(e.processor.normalize)?e.processor.normalize:Qb,w=je(e.processor)&&it(e.processor.interpolate)?e.processor.interpolate:e$,A=je(e.processor)&&ve(e.processor.type)?e.processor.type:Jb,C={list:i,named:c,plural:r,linked:(F,...v)=>{const[k,f]=v;let _="text",b="";v.length===1?Xe(k)?(b=k.modifier||b,_=k.type||_):ve(k)&&(b=k||b):v.length===2&&(ve(k)&&(b=k||b),ve(f)&&(_=f||_));const x=u(F)(C),m=_==="vnode"&&ct(x)&&b?x[0]:x;return b?d(b)(m,_):m},message:u,type:A,interpolate:w,normalize:g,values:wt(tt(),s,l)};return C}let da=null;function a$(e){da=e}function r$(e,t,o){da&&da.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const s$=i$("function:translate");function i$(e){return t=>da&&da.emit(e,t)}const l$=ks.__EXTEND_POINT__,dn=lr(l$),c$={FALLBACK_TO_TRANSLATE:dn(),CANNOT_FORMAT_NUMBER:dn(),FALLBACK_TO_NUMBER_FORMAT:dn(),CANNOT_FORMAT_DATE:dn(),FALLBACK_TO_DATE_FORMAT:dn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:dn(),__EXTEND_POINT__:dn()},lu=Ne.__EXTEND_POINT__,pn=lr(lu),ho={INVALID_ARGUMENT:lu,INVALID_DATE_ARGUMENT:pn(),INVALID_ISO_DATE_ARGUMENT:pn(),NOT_SUPPORT_NON_STRING_MESSAGE:pn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pn(),NOT_SUPPORT_LOCALE_TYPE:pn(),__EXTEND_POINT__:pn()};function Ao(e){return An(e,null,void 0)}function Ls(e,t){return t.locale!=null?cu(t.locale):cu(e.locale)}let Ts;function cu(e){if(ve(e))return e;if(it(e)){if(e.resolvedOnce&&Ts!=null)return Ts;if(e.constructor.name==="Function"){const t=e();if(ob(t))throw Ao(ho.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ts=t}else throw Ao(ho.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ao(ho.NOT_SUPPORT_LOCALE_TYPE)}function u$(e,t,o){return[...new Set([o,...ct(t)?t:Xe(t)?Object.keys(t):ve(t)?[t]:[o]])]}function uu(e,t,o){const n=ve(o)?o:Cn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;ct(s);)s=du(r,s,t);const i=ct(t)||!je(t)?t:t.default?t.default:null;s=ve(i)?[i]:i,ct(s)&&du(r,s,!1),a.__localeChainCache.set(n,r)}return r}function du(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function f$(){return{upper:(e,t)=>t==="text"&&ve(e)?e.toUpperCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ve(e)?e.toLowerCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ve(e)?gu(e):t==="vnode"&&Xe(e)&&"__v_isVNode"in e?gu(e.children):e}}let fu;function h$(e){fu=e}let hu;function m$(e){hu=e}let mu;function _$(e){mu=e}let _u=null;const b$=e=>{_u=e},$$=()=>_u;let bu=null;const $u=e=>{bu=e},y$=()=>bu;let yu=0;function v$(e={}){const t=it(e.onWarn)?e.onWarn:Y_,o=ve(e.version)?e.version:g$,n=ve(e.locale)||it(e.locale)?e.locale:Cn,a=it(n)?Cn:n,r=ct(e.fallbackLocale)||je(e.fallbackLocale)||ve(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=je(e.messages)?e.messages:Cs(a),i=je(e.datetimeFormats)?e.datetimeFormats:Cs(a),l=je(e.numberFormats)?e.numberFormats:Cs(a),c=wt(tt(),e.modifiers,f$()),u=e.pluralRules||tt(),d=it(e.missing)?e.missing:null,g=Ve(e.missingWarn)||Uo(e.missingWarn)?e.missingWarn:!0,w=Ve(e.fallbackWarn)||Uo(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,L=!!e.unresolving,C=it(e.postTranslation)?e.postTranslation:null,F=je(e.processor)?e.processor:null,v=Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter,f=it(e.messageCompiler)?e.messageCompiler:fu,_=it(e.messageResolver)?e.messageResolver:hu||Kb,b=it(e.localeFallbacker)?e.localeFallbacker:mu||u$,x=Xe(e.fallbackContext)?e.fallbackContext:void 0,m=e,$=Xe(m.__datetimeFormatters)?m.__datetimeFormatters:new Map,V=Xe(m.__numberFormatters)?m.__numberFormatters:new Map,I=Xe(m.__meta)?m.__meta:{};yu++;const z={version:o,cid:yu,locale:n,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:g,fallbackWarn:w,fallbackFormat:A,unresolving:L,postTranslation:C,processor:F,warnHtmlMessage:v,escapeParameter:k,messageCompiler:f,messageResolver:_,localeFallbacker:b,fallbackContext:x,onWarn:t,__meta:I};return z.datetimeFormats=i,z.numberFormats=l,z.__datetimeFormatters=$,z.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&r$(z,o,I),z}const Cs=e=>({[e]:tt()});function Ps(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return ve(i)?i:t}else return t}function pa(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function w$(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function x$(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nk$(o,e)}function k$(e,t){const o=Ob(t);if(o==null)throw ua(0);if(As(o)===1){const r=Ib(o);return e.plural(r.reduce((s,i)=>[...s,vu(e,i)],[]))}else return vu(e,o)}function vu(e,t){const o=zb(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=Db(t).reduce((a,r)=>[...a,Ms(e,r)],[]);return e.normalize(n)}}function Ms(e,t){const o=As(t);switch(o){case 3:return pr(t,o);case 9:return pr(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 ua(o)}case 5:{const n=t;if(Yt(n,"i")&&ft(n.i))return e.interpolate(e.list(n.i));if(Yt(n,"index")&&ft(n.index))return e.interpolate(e.list(n.index));throw ua(o)}case 6:{const n=t,a=Bb(n),r=Hb(n);return e.linked(Ms(e,r),a?Ms(e,a):void 0,e.type)}case 7:return pr(t,o);case 8:return pr(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const S$=e=>e;let fr=tt();function A$(e,t={}){let o=!1;const n=t.onError||db;return t.onError=a=>{o=!0,n(a)},{...Fb(e,t),detectError:o}}function L$(e,t){if(ve(e)){Ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||S$)(e),a=fr[n];if(a)return a;const{ast:r,detectError:s}=A$(e,{...t,location:!1,jit:!0}),i=Es(r);return s?i:fr[n]=i}else{const o=e.cacheKey;if(o){const n=fr[o];return n||(fr[o]=Es(e))}else return Es(e)}}const wu=()=>"",jt=e=>it(e);function xu(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,c]=Rs(...t),u=Ve(c.missingWarn)?c.missingWarn:e.missingWarn,d=Ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=Ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,w=!!c.resolvedMessage,A=ve(c.default)||Ve(c.default)?Ve(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",L=o||A!=="",C=Ls(e,c);g&&T$(c);let[F,v,k]=w?[l,C,i[C]||tt()]:ku(e,l,C,s,d,u),f=F,_=l;if(!w&&!(ve(f)||fo(f)||jt(f))&&L&&(f=A,_=f),!w&&(!(ve(f)||fo(f)||jt(f))||!ve(v)))return a?gr:l;let b=!1;const x=()=>{b=!0},m=jt(f)?f:Su(e,l,v,f,_,x);if(b)return f;const $=E$(e,v,k,c),V=n$($),I=C$(e,m,V);let z=n?n(I,l):I;if(g&&ve(z)&&(z=eb(z)),__INTLIFY_PROD_DEVTOOLS__){const G={timestamp:Date.now(),key:ve(l)?l:jt(f)?f.key:"",locale:v||(jt(f)?f.locale:""),format:ve(f)?f:jt(f)?f.source:"",message:z};G.meta=wt({},e.__meta,$$()||{}),s$(G)}return z}function T$(e){ct(e.list)?e.list=e.list.map(t=>ve(t)?Bc(t):t):Xe(e.named)&&Object.keys(e.named).forEach(t=>{ve(e.named[t])&&(e.named[t]=Bc(e.named[t]))})}function ku(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let d=tt(),g,w=null;const A="translate";for(let L=0;Ln;return c.locale=o,c.key=t,c}const l=s(n,P$(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function C$(e,t,o){return t(o)}function Rs(...e){const[t,o,n]=e,a=tt();if(!ve(t)&&!ft(t)&&!jt(t)&&!fo(t))throw Ao(ho.INVALID_ARGUMENT);const r=ft(t)?String(t):(jt(t),t);return ft(o)?a.plural=o:ve(o)?a.default=o:je(o)&&!ir(o)?a.named=o:ct(o)&&(a.list=o),ft(n)?a.plural=n:ve(n)?a.default=n:je(n)&&wt(a,n),[r,a]}function P$(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>Z_(t,o,s)}}function E$(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,g={locale:t,modifiers:a,pluralRules:r,messages:w=>{let A=s(o,w);if(A==null&&u){const[,,L]=ku(u,w,t,i,l,c);A=s(L,w)}if(ve(A)||fo(A)){let L=!1;const F=Su(e,w,t,A,w,()=>{L=!0});return L?wu:F}else return jt(A)?A:wu}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),ft(n.plural)&&(g.pluralIndex=n.plural),g}function Au(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=Fs(...t),g=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const w=!!u.part,A=Ls(e,u),L=s(e,a,A);if(!ve(l)||l==="")return new Intl.DateTimeFormat(A,d).format(c);let C={},F,v=null;const k="datetime format";for(let b=0;b{Lu.includes(l)?s[l]=o[l]:r[l]=o[l]}),ve(n)?r.locale=n:je(n)&&(s=n),je(a)&&(s=a),[r.key||"",i,r,s]}function Tu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function Cu(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,d]=Ns(...t),g=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const w=!!u.part,A=Ls(e,u),L=s(e,a,A);if(!ve(l)||l==="")return new Intl.NumberFormat(A,d).format(c);let C={},F,v=null;const k="number format";for(let b=0;b{Pu.includes(l)?s[l]=o[l]:r[l]=o[l]}),ve(n)?r.locale=n:je(n)&&(s=n),je(a)&&(s=a),[r.key||"",i,r,s]}function Eu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}Nb();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const P$="9.14.5";function E$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(la().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(la().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(la().__INTLIFY_PROD_DEVTOOLS__=!1)}const M$=i$.__EXTEND_POINT__,Lo=lr(M$);Lo(),Lo(),Lo(),Lo(),Lo(),Lo(),Lo(),Lo(),Lo();const Pu=ho.__EXTEND_POINT__,Ft=lr(Pu),ht={UNEXPECTED_RETURN_TYPE:Pu,INVALID_ARGUMENT:Ft(),MUST_BE_CALL_SETUP_TOP:Ft(),NOT_INSTALLED:Ft(),NOT_AVAILABLE_IN_LEGACY_MODE:Ft(),REQUIRED_VALUE:Ft(),INVALID_VALUE:Ft(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ft(),NOT_INSTALLED_WITH_PROVIDE:Ft(),UNEXPECTED_ERROR:Ft(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ft(),BRIDGE_SUPPORT_VUE_2_ONLY:Ft(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ft(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ft(),__EXTEND_POINT__:Ft()};function $t(e,...t){return An(e,null,void 0)}const Os=Ho("__translateVNode"),Is=Ho("__datetimeParts"),zs=Ho("__numberParts"),Eu=Ho("__setPluralRules"),Mu=Ho("__injectWithOption"),Ds=Ho("__dispose");function pa(e){if(!Xe(e)||fo(e))return e;for(const t in e)if(Yt(e,t))if(!t.includes("."))Xe(e[t])&&pa(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(s[l]=s[l]||tt(),ur(c,s[l])):ur(c,s)}else ve(i)&&ur(JSON.parse(i),s)}),a==null&&r)for(const i in s)Yt(s,i)&&pa(s[i]);return s}function Ru(e){return e.type}function Fu(e,t,o){let n=Xe(t.messages)?t.messages:tt();"__i18nGlobal"in o&&(n=hr(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Xe(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Xe(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Nu(e){return We(Qn,null,e,0)}const Ou="__INTLIFY_META__",Iu=()=>[],R$=()=>!1;let zu=0;function Du(e){return(t,o,n,a)=>e(o,n,po()||void 0,a)}const F$=()=>{const e=po();let t=null;return e&&(t=Ru(e)[Ou])?{[Ou]:t}:null};function Bs(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=sr?pe:Wn,i=!!e.translateExistCompatible;let l=Ve(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:ve(e.locale)?e.locale:Cn),u=s(o&&l?o.fallbackLocale.value:ve(e.fallbackLocale)||ct(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=s(hr(c.value,e)),g=s(je(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),w=s(je(e.numberFormats)?e.numberFormats:{[c.value]:{}});let A=o?o.missingWarn:Ve(e.missingWarn)||Uo(e.missingWarn)?e.missingWarn:!0,L=o?o.fallbackWarn:Ve(e.fallbackWarn)||Uo(e.fallbackWarn)?e.fallbackWarn:!0,C=o?o.fallbackRoot:Ve(e.fallbackRoot)?e.fallbackRoot:!0,F=!!e.fallbackFormat,v=it(e.missing)?e.missing:null,k=it(e.missing)?Du(e.missing):null,f=it(e.postTranslation)?e.postTranslation:null,_=o?o.warnHtmlMessage:Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const x=o?o.modifiers:je(e.modifiers)?e.modifiers:{};let m=e.pluralRules||o&&o.pluralRules,$;$=(()=>{a&&_u(null);const U={version:P$,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:x,pluralRules:m,missing:k===null?void 0:k,missingWarn:A,fallbackWarn:L,fallbackFormat:F,unresolving:!0,postTranslation:f===null?void 0:f,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=g.value,U.numberFormats=w.value,U.__datetimeFormatters=je($)?$.__datetimeFormatters:void 0,U.__numberFormatters=je($)?$.__numberFormatters:void 0;const ee=$$(U);return a&&_u(ee),ee})(),da($,c.value,u.value);function I(){return[c.value,u.value,d.value,g.value,w.value]}const z=te({get:()=>c.value,set:U=>{c.value=U,$.locale=c.value}}),G=te({get:()=>u.value,set:U=>{u.value=U,$.fallbackLocale=u.value,da($,c.value,U)}}),ce=te(()=>d.value),H=te(()=>g.value),D=te(()=>w.value);function ae(){return it(f)?f:null}function P(U){f=U,$.postTranslation=U}function Z(){return v}function N(U){U!==null&&(k=Du(U)),v=U,$.missing=k}const E=(U,ee,Le,Pe,Ye,at)=>{I();let X;try{__INTLIFY_PROD_DEVTOOLS__,a||($.fallbackContext=o?b$():void 0),X=U($)}finally{__INTLIFY_PROD_DEVTOOLS__,a||($.fallbackContext=void 0)}if(Le!=="translate exists"&&ft(X)&&X===gr||Le==="translate exists"&&!X){const[ie,_e]=ee();return o&&C?Pe(o):Ye(ie)}else{if(at(X))return X;throw $t(ht.UNEXPECTED_RETURN_TYPE)}};function W(...U){return E(ee=>Reflect.apply(vu,null,[ee,...U]),()=>Rs(...U),"translate",ee=>Reflect.apply(ee.t,ee,[...U]),ee=>ee,ee=>ve(ee))}function me(...U){const[ee,Le,Pe]=U;if(Pe&&!Xe(Pe))throw $t(ht.INVALID_ARGUMENT);return W(ee,Le,wt({resolvedMessage:!0},Pe||{}))}function be(...U){return E(ee=>Reflect.apply(ku,null,[ee,...U]),()=>Fs(...U),"datetime format",ee=>Reflect.apply(ee.d,ee,[...U]),()=>uu,ee=>ve(ee))}function Ae(...U){return E(ee=>Reflect.apply(Lu,null,[ee,...U]),()=>Ns(...U),"number format",ee=>Reflect.apply(ee.n,ee,[...U]),()=>uu,ee=>ve(ee))}function Te(U){return U.map(ee=>ve(ee)||ft(ee)||Ve(ee)?Nu(String(ee)):ee)}const Se={normalize:Te,interpolate:U=>U,type:"vnode"};function $e(...U){return E(ee=>{let Le;const Pe=ee;try{Pe.processor=Se,Le=Reflect.apply(vu,null,[Pe,...U])}finally{Pe.processor=null}return Le},()=>Rs(...U),"translate",ee=>ee[Os](...U),ee=>[Nu(ee)],ee=>ct(ee))}function xe(...U){return E(ee=>Reflect.apply(Lu,null,[ee,...U]),()=>Ns(...U),"number format",ee=>ee[zs](...U),Iu,ee=>ve(ee)||ct(ee))}function ke(...U){return E(ee=>Reflect.apply(ku,null,[ee,...U]),()=>Fs(...U),"datetime format",ee=>ee[Is](...U),Iu,ee=>ve(ee)||ct(ee))}function y(U){m=U,$.pluralRules=m}function T(U,ee){return E(()=>{if(!U)return!1;const Le=ve(ee)?ee:c.value,Pe=B(Le),Ye=$.messageResolver(Pe,U);return i?Ye!=null:fo(Ye)||jt(Ye)||ve(Ye)},()=>[U],"translate exists",Le=>Reflect.apply(Le.te,Le,[U,ee]),R$,Le=>Ve(Le))}function S(U){let ee=null;const Le=lu($,u.value,c.value);for(let Pe=0;Pe{l&&(c.value=U,$.locale=U,da($,c.value,u.value))}),Qe(o.fallbackLocale,U=>{l&&(u.value=U,$.fallbackLocale=U,da($,c.value,u.value))}));const de={id:zu,locale:z,fallbackLocale:G,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,da($,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:ce,get modifiers(){return x},get pluralRules(){return m||{}},get isGlobal(){return a},get missingWarn(){return A},set missingWarn(U){A=U,$.missingWarn=A},get fallbackWarn(){return L},set fallbackWarn(U){L=U,$.fallbackWarn=L},get fallbackRoot(){return C},set fallbackRoot(U){C=U},get fallbackFormat(){return F},set fallbackFormat(U){F=U,$.fallbackFormat=F},get warnHtmlMessage(){return _},set warnHtmlMessage(U){_=U,$.warnHtmlMessage=U},get escapeParameter(){return b},set escapeParameter(U){b=U,$.escapeParameter=U},t:W,getLocaleMessage:B,setLocaleMessage:j,mergeLocaleMessage:ne,getPostTranslationHandler:ae,setPostTranslationHandler:P,getMissingHandler:Z,setMissingHandler:N,[Eu]:y};return de.datetimeFormats=H,de.numberFormats=D,de.rt=me,de.te=T,de.tm=K,de.d=be,de.n=Ae,de.getDateTimeFormat=le,de.setDateTimeFormat=h,de.mergeDateTimeFormat=p,de.getNumberFormat=O,de.setNumberFormat=J,de.mergeNumberFormat=ge,de[Mu]=n,de[Os]=$e,de[Is]=ke,de[zs]=xe,de}function N$(e){const t=ve(e.locale)?e.locale:Cn,o=ve(e.fallbackLocale)||ct(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=it(e.missing)?e.missing:void 0,a=Ve(e.silentTranslationWarn)||Uo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Ve(e.silentFallbackWarn)||Uo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Ve(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=je(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=it(e.postTranslation)?e.postTranslation:void 0,d=ve(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,w=Ve(e.sync)?e.sync:!0;let A=e.messages;if(je(e.sharedMessages)){const b=e.sharedMessages;A=Object.keys(b).reduce((m,$)=>{const V=m[$]||(m[$]={});return wt(V,b[$]),m},A||{})}const{__i18n:L,__root:C,__injectWithOption:F}=e,v=e.datetimeFormats,k=e.numberFormats,f=e.flatJson,_=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:A,flatJson:f,datetimeFormats:v,numberFormats:k,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:w,translateExistCompatible:_,__i18n:L,__root:C,__injectWithOption:F}}function Hs(e={},t){{const o=Bs(N$(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},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(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Ve(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Ve(r)?!r:r},get silentFallbackWarn(){return Ve(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Ve(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,c={};let u=null,d=null;if(!ve(s))throw $t(ht.INVALID_ARGUMENT);const g=s;return ve(i)?c.locale=i:ct(i)?u=i:je(i)&&(d=i),ct(l)?u=l:je(l)&&(d=l),Reflect.apply(o.t,o,[g,u||d||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,c={plural:1};let u=null,d=null;if(!ve(s))throw $t(ht.INVALID_ARGUMENT);const g=s;return ve(i)?c.locale=i:ft(i)?c.plural=i:ct(i)?u=i:je(i)&&(d=i),ve(l)?c.locale=l:ct(l)?u=l:je(l)&&(d=l),Reflect.apply(o.t,o,[g,u||d||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const Us={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function O$({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Me?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},tt())}function Bu(e){return Me}const Hu=Yn({name:"i18n-t",props:wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ft(e)||!isNaN(e)}},Us),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||qo({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(d=>d!=="_"),s=tt();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=ve(e.plural)?+e.plural:e.plural);const i=O$(t,r),l=a[Os](e.keypath,i,s),c=wt(tt(),n),u=ve(e.tag)||Xe(e.tag)?e.tag:Bu();return $c(u,c,l)}}});function I$(e){return ct(e)&&!ve(e[0])}function Uu(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=tt();e.locale&&(s.locale=e.locale),ve(e.format)?s.key=e.format:Xe(e.format)&&(ve(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((g,w)=>o.includes(w)?wt(tt(),g,{[w]:e.format[w]}):g,tt()));const l=n(e.value,s,i);let c=[s.key];ct(l)?c=l.map((g,w)=>{const A=a[g.type],L=A?A({[g.type]:g.value,index:w,parts:l}):[g.value];return I$(L)&&(L[0].key=`${g.type}-${w}`),L}):ve(l)&&(c=[l]);const u=wt(tt(),r),d=ve(e.tag)||Xe(e.tag)?e.tag:Bu();return $c(d,u,c)}}const ju=Yn({name:"i18n-n",props:wt({value:{type:Number,required:!0},format:{type:[String,Object]}},Us),setup(e,t){const o=e.i18n||qo({useScope:e.scope,__useComponent:!0});return Uu(e,t,Tu,(...n)=>o[zs](...n))}}),Gu=Yn({name:"i18n-d",props:wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Us),setup(e,t){const o=e.i18n||qo({useScope:e.scope,__useComponent:!0});return Uu(e,t,Su,(...n)=>o[Is](...n))}});function z$(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 D$(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw $t(ht.UNEXPECTED_ERROR);const u=z$(e,i.$),d=Wu(c);return[Reflect.apply(u.t,u,[...qu(d)]),u]};return{created:(s,i)=>{const[l,c]=t(i);sr&&e.global===c&&(s.__i18nWatcher=Qe(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{sr&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,c=Wu(i);s.textContent=Reflect.apply(l.t,l,[...qu(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Wu(e){if(ve(e))return{path:e};if(je(e)){if(!("path"in e))throw $t(ht.REQUIRED_VALUE,"path");return e}else throw $t(ht.INVALID_VALUE)}function qu(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return ve(o)&&(s.locale=o),ft(a)&&(s.plural=a),ft(r)&&(s.plural=r),[t,i,s]}function B$(e,t,...o){const n=je(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Ve(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Hu.name,"I18nT"].forEach(s=>e.component(s,Hu)),[ju.name,"I18nN"].forEach(s=>e.component(s,ju)),[Gu.name,"I18nD"].forEach(s=>e.component(s,Gu))),e.directive("t",D$(t))}function H$(e,t,o){return{beforeCreate(){const n=po();if(!n)throw $t(ht.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Vu(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Hs(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Vu(e,a);else{this.$i18n=Hs({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Fu(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=po();if(!n)throw $t(ht.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Vu(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[Eu](t.pluralizationRules||e.pluralizationRules);const o=hr(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 U$=Ho("global-vue-i18n");function j$(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ve(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=G$(e,o),l=Ho("");function c(g){return r.get(g)||null}function u(g,w){r.set(g,w)}function d(g){r.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(w,...A){if(w.__VUE_I18N_SYMBOL__=l,w.provide(w.__VUE_I18N_SYMBOL__,g),je(A[0])){const F=A[0];g.__composerExtend=F.__composerExtend,g.__vueI18nExtend=F.__vueI18nExtend}let L=null;!o&&n&&(L=Q$(w,g.global)),__VUE_I18N_FULL_INSTALL__&&B$(w,g,...A),__VUE_I18N_LEGACY_API__&&o&&w.mixin(H$(i,i.__composer,g));const C=w.unmount;w.unmount=()=>{L&&L(),g.dispose(),C()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:d};return g}}function qo(e={}){const t=po();if(t==null)throw $t(ht.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $t(ht.NOT_INSTALLED);const o=W$(t),n=V$(o),a=Ru(t),r=q$(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw $t(ht.NOT_AVAILABLE_IN_LEGACY_MODE);return X$(t,r,n,e)}if(r==="global")return Fu(n,e,a),n;if(r==="parent"){let l=K$(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=wt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Bs(l),s.__composerExtend&&(i[Ds]=s.__composerExtend(i)),Z$(s,t,i),s.__setInstance(t,i)}return i}function G$(e,t,o){const n=Br();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Hs(e)):n.run(()=>Bs(e));if(a==null)throw $t(ht.UNEXPECTED_ERROR);return[n,a]}}function W$(e){{const t=Be(e.isCE?U$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $t(e.isCE?ht.NOT_INSTALLED_WITH_PROVIDE:ht.UNEXPECTED_ERROR);return t}}function q$(e,t){return ir(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function V$(e){return e.mode==="composition"?e.global:e.global.__composer}function K$(e,t,o=!1){let n=null;const a=t.root;let r=Y$(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[Mu]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function Y$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Z$(e,t,o){vt(()=>{},t),Va(()=>{const n=o;e.__deleteInstance(t);const a=n[Ds];a&&(a(),delete n[Ds])},t)}function X$(e,t,o,n={}){const a=t==="local",r=Wn(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw $t(ht.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Ve(n.inheritLocale)?n.inheritLocale:!ve(n.locale),i=pe(!a||s?o.locale.value:ve(n.locale)?n.locale:Cn),l=pe(!a||s?o.fallbackLocale.value:ve(n.fallbackLocale)||ct(n.fallbackLocale)||je(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=pe(hr(i.value,n)),u=pe(je(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=pe(je(n.numberFormats)?n.numberFormats:{[i.value]:{}}),g=a?o.missingWarn:Ve(n.missingWarn)||Uo(n.missingWarn)?n.missingWarn:!0,w=a?o.fallbackWarn:Ve(n.fallbackWarn)||Uo(n.fallbackWarn)?n.fallbackWarn:!0,A=a?o.fallbackRoot:Ve(n.fallbackRoot)?n.fallbackRoot:!0,L=!!n.fallbackFormat,C=it(n.missing)?n.missing:null,F=it(n.postTranslation)?n.postTranslation:null,v=a?o.warnHtmlMessage:Ve(n.warnHtmlMessage)?n.warnHtmlMessage:!0,k=!!n.escapeParameter,f=a?o.modifiers:je(n.modifiers)?n.modifiers:{},_=n.pluralRules||a&&o.pluralRules;function b(){return[i.value,l.value,c.value,u.value,d.value]}const x=te({get:()=>r.value?r.value.locale.value:i.value,set:S=>{r.value&&(r.value.locale.value=S),i.value=S}}),m=te({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:S=>{r.value&&(r.value.fallbackLocale.value=S),l.value=S}}),$=te(()=>r.value?r.value.messages.value:c.value),V=te(()=>u.value),I=te(()=>d.value);function z(){return r.value?r.value.getPostTranslationHandler():F}function G(S){r.value&&r.value.setPostTranslationHandler(S)}function ce(){return r.value?r.value.getMissingHandler():C}function H(S){r.value&&r.value.setMissingHandler(S)}function D(S){return b(),S()}function ae(...S){return r.value?D(()=>Reflect.apply(r.value.t,null,[...S])):D(()=>"")}function P(...S){return r.value?Reflect.apply(r.value.rt,null,[...S]):""}function Z(...S){return r.value?D(()=>Reflect.apply(r.value.d,null,[...S])):D(()=>"")}function N(...S){return r.value?D(()=>Reflect.apply(r.value.n,null,[...S])):D(()=>"")}function E(S){return r.value?r.value.tm(S):{}}function W(S,K){return r.value?r.value.te(S,K):!1}function me(S){return r.value?r.value.getLocaleMessage(S):{}}function be(S,K){r.value&&(r.value.setLocaleMessage(S,K),c.value[S]=K)}function Ae(S,K){r.value&&r.value.mergeLocaleMessage(S,K)}function Te(S){return r.value?r.value.getDateTimeFormat(S):{}}function He(S,K){r.value&&(r.value.setDateTimeFormat(S,K),u.value[S]=K)}function Se(S,K){r.value&&r.value.mergeDateTimeFormat(S,K)}function $e(S){return r.value?r.value.getNumberFormat(S):{}}function xe(S,K){r.value&&(r.value.setNumberFormat(S,K),d.value[S]=K)}function ke(S,K){r.value&&r.value.mergeNumberFormat(S,K)}const y={get id(){return r.value?r.value.id:-1},locale:x,fallbackLocale:m,messages:$,datetimeFormats:V,numberFormats:I,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(S){r.value&&(r.value.inheritLocale=S)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:f},get pluralRules(){return r.value?r.value.pluralRules:_},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:g},set missingWarn(S){r.value&&(r.value.missingWarn=S)},get fallbackWarn(){return r.value?r.value.fallbackWarn:w},set fallbackWarn(S){r.value&&(r.value.missingWarn=S)},get fallbackRoot(){return r.value?r.value.fallbackRoot:A},set fallbackRoot(S){r.value&&(r.value.fallbackRoot=S)},get fallbackFormat(){return r.value?r.value.fallbackFormat:L},set fallbackFormat(S){r.value&&(r.value.fallbackFormat=S)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:v},set warnHtmlMessage(S){r.value&&(r.value.warnHtmlMessage=S)},get escapeParameter(){return r.value?r.value.escapeParameter:k},set escapeParameter(S){r.value&&(r.value.escapeParameter=S)},t:ae,getPostTranslationHandler:z,setPostTranslationHandler:G,getMissingHandler:ce,setMissingHandler:H,rt:P,d:Z,n:N,tm:E,te:W,getLocaleMessage:me,setLocaleMessage:be,mergeLocaleMessage:Ae,getDateTimeFormat:Te,setDateTimeFormat:He,mergeDateTimeFormat:Se,getNumberFormat:$e,setNumberFormat:xe,mergeNumberFormat:ke};function T(S){S.locale.value=i.value,S.fallbackLocale.value=l.value,Object.keys(c.value).forEach(K=>{S.mergeLocaleMessage(K,c.value[K])}),Object.keys(u.value).forEach(K=>{S.mergeDateTimeFormat(K,u.value[K])}),Object.keys(d.value).forEach(K=>{S.mergeNumberFormat(K,d.value[K])}),S.escapeParameter=k,S.fallbackFormat=L,S.fallbackRoot=A,S.fallbackWarn=w,S.missingWarn=g,S.warnHtmlMessage=v}return Bl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw $t(ht.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const S=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=S.locale.value,l.value=S.fallbackLocale.value,c.value=S.messages.value,u.value=S.datetimeFormats.value,d.value=S.numberFormats.value):a&&T(S)}),y}const J$=["locale","fallbackLocale","availableLocales"],Ku=["t","rt","d","n","tm","te"];function Q$(e,t){const o=Object.create(null);return J$.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw $t(ht.UNEXPECTED_ERROR);const s=bt(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,Ku.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw $t(ht.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ku.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(E$(),g$(S$),f$(Vb),h$(lu),__INTLIFY_PROD_DEVTOOLS__){const e=la();e.__INTLIFY__=!0,o$(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ey=Object.assign({"./locales/ar/aria.json":xh,"./locales/ar/buttons.json":kh,"./locales/ar/controls.json":Sh,"./locales/ar/dashboard.json":Ah,"./locales/ar/grid.json":Lh,"./locales/ar/legend.json":Th,"./locales/ar/lists.json":Ch,"./locales/ar/mapui.json":Ph,"./locales/ar/messages.json":Eh,"./locales/ar/religion.json":Mh,"./locales/ar/search.json":Rh,"./locales/ar/share.json":Fh,"./locales/de/aria.json":Nh,"./locales/de/buttons.json":Oh,"./locales/de/controls.json":Ih,"./locales/de/dashboard.json":zh,"./locales/de/grid.json":Dh,"./locales/de/legend.json":Bh,"./locales/de/lists.json":Hh,"./locales/de/mapui.json":Uh,"./locales/de/messages.json":jh,"./locales/de/religion.json":Gh,"./locales/de/search.json":Wh,"./locales/de/share.json":qh,"./locales/en/aria.json":Vh,"./locales/en/buttons.json":Kh,"./locales/en/controls.json":Yh,"./locales/en/dashboard.json":Zh,"./locales/en/grid.json":Xh,"./locales/en/legend.json":Jh,"./locales/en/lists.json":Qh,"./locales/en/mapui.json":em,"./locales/en/messages.json":tm,"./locales/en/religion.json":om,"./locales/en/search.json":nm,"./locales/en/share.json":am,"./locales/es/aria.json":rm,"./locales/es/buttons.json":sm,"./locales/es/controls.json":im,"./locales/es/dashboard.json":lm,"./locales/es/grid.json":cm,"./locales/es/legend.json":um,"./locales/es/lists.json":dm,"./locales/es/mapui.json":pm,"./locales/es/messages.json":gm,"./locales/es/religion.json":fm,"./locales/es/search.json":hm,"./locales/es/share.json":mm,"./locales/fr/aria.json":_m,"./locales/fr/buttons.json":bm,"./locales/fr/controls.json":$m,"./locales/fr/dashboard.json":ym,"./locales/fr/grid.json":vm,"./locales/fr/legend.json":wm,"./locales/fr/lists.json":xm,"./locales/fr/mapui.json":km,"./locales/fr/messages.json":Sm,"./locales/fr/religion.json":Am,"./locales/fr/search.json":Lm,"./locales/fr/share.json":Tm,"./locales/hi/aria.json":Cm,"./locales/hi/buttons.json":Pm,"./locales/hi/controls.json":Em,"./locales/hi/dashboard.json":Mm,"./locales/hi/grid.json":Rm,"./locales/hi/legend.json":Fm,"./locales/hi/lists.json":Nm,"./locales/hi/mapui.json":Om,"./locales/hi/messages.json":Im,"./locales/hi/religion.json":zm,"./locales/hi/search.json":Dm,"./locales/hi/share.json":Bm,"./locales/it/aria.json":Hm,"./locales/it/buttons.json":Um,"./locales/it/controls.json":jm,"./locales/it/dashboard.json":Gm,"./locales/it/grid.json":Wm,"./locales/it/legend.json":qm,"./locales/it/lists.json":Vm,"./locales/it/mapui.json":Km,"./locales/it/messages.json":Ym,"./locales/it/religion.json":Zm,"./locales/it/search.json":Xm,"./locales/it/share.json":Jm,"./locales/pt/aria.json":Qm,"./locales/pt/buttons.json":e_,"./locales/pt/controls.json":t_,"./locales/pt/dashboard.json":o_,"./locales/pt/grid.json":n_,"./locales/pt/legend.json":a_,"./locales/pt/lists.json":r_,"./locales/pt/mapui.json":s_,"./locales/pt/messages.json":i_,"./locales/pt/religion.json":l_,"./locales/pt/search.json":c_,"./locales/pt/share.json":u_,"./locales/ro/aria.json":d_,"./locales/ro/buttons.json":p_,"./locales/ro/controls.json":g_,"./locales/ro/dashboard.json":f_,"./locales/ro/grid.json":h_,"./locales/ro/legend.json":m_,"./locales/ro/lists.json":__,"./locales/ro/mapui.json":b_,"./locales/ro/messages.json":$_,"./locales/ro/religion.json":y_,"./locales/ro/search.json":v_,"./locales/ro/share.json":w_,"./locales/ru/aria.json":x_,"./locales/ru/buttons.json":k_,"./locales/ru/controls.json":S_,"./locales/ru/dashboard.json":A_,"./locales/ru/grid.json":L_,"./locales/ru/legend.json":T_,"./locales/ru/lists.json":C_,"./locales/ru/mapui.json":P_,"./locales/ru/messages.json":E_,"./locales/ru/religion.json":M_,"./locales/ru/search.json":R_,"./locales/ru/share.json":F_,"./locales/zh/aria.json":N_,"./locales/zh/buttons.json":O_,"./locales/zh/controls.json":I_,"./locales/zh/dashboard.json":z_,"./locales/zh/grid.json":D_,"./locales/zh/legend.json":B_,"./locales/zh/lists.json":H_,"./locales/zh/mapui.json":U_,"./locales/zh/messages.json":j_,"./locales/zh/religion.json":G_,"./locales/zh/search.json":W_,"./locales/zh/share.json":q_}),Nt={};for(const[e,t]of Object.entries(ey)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;Nt[n]??(Nt[n]={}),Nt[n][a]=t}const Yu=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),Zu=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},js=new Map;let Xu=null;function Ju(e,t){var a,r;const o=String(t||"").split("-")[0].toLowerCase();if(!o||o==="en"||!ga.includes(o))return Promise.resolve(o==="en");if(Nt[o])return(r=(a=e==null?void 0:e.global)==null?void 0:a.setLocaleMessage)==null||r.call(a,o,Nt[o]),Promise.resolve(!0);if(js.has(o))return js.get(o).then(s=>{var i,l;return s&&Nt[o]&&((l=(i=e==null?void 0:e.global)==null?void 0:i.setLocaleMessage)==null||l.call(i,o,Nt[o])),s});if(!Zu[o])return Promise.resolve(!!Nt[o]);const n=(async()=>{var s,i;try{if(!Yu)return!1;const l=new URL(`locales/${o}.json`,Yu).href,c=await fetch(l,{integrity:Zu[o]});if(!c.ok)return!1;const u=await c.json();return!u||typeof u!="object"?!1:(Nt[o]=u,(i=(s=e==null?void 0:e.global)==null?void 0:s.setLocaleMessage)==null||i.call(s,o,u),!0)}catch{return!1}})();return js.set(o,n),n}Nt.en;const ga=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],Gs=new Set(["ar"]);function Qu(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function fa(){var n;const e=Qu();if(ga.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return ga.includes(o)?o:"en"}try{Xu=Ju(null,fa())}catch{Xu=null}function ty(){const e=fa();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&e&&(document!=null&&document.documentElement)&&(document.documentElement.lang=e,Gs.has(e)&&(document.documentElement.dir="rtl"))}catch{}const t=Br(!0),o=t.run(()=>j$({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Nt,missingWarn:!1,fallbackWarn:!1,pluralRules:ny}));e!=="en"&&!Nt[e]&&Ju(o,e).catch(()=>{}),t.run(()=>Qe(o.global.locale,a=>td(a),{immediate:!0}));const n=o.install.bind(o);return o.install=(a,...r)=>{const s=n(a,...r);a.provide("appI18n",o);const i=a.provide.bind(a);return a.provide=(l,c)=>l==="appI18n"&&c===o?a:i(l,c),s},o}const ed="__DOXA_PAGE_LOCALE";function td(e){const t=String(e||"").split("-")[0].toLowerCase();if(ga.includes(t))try{typeof window<"u"&&(window[ed]=t)}catch{}}const oy=["zero","one","two","few","many","other"];function od(e,t,o){let n;try{n=new Intl.PluralRules(o)}catch{return e===1?0:1}const a=n.select(e),r=n.resolvedOptions().pluralCategories,s=oy.filter(l=>r.includes(l));let i=s.indexOf(a);if(i<0&&(i=s.indexOf("other")),i>=t){const l=s.indexOf("other");i=l>=0&&l[e,(t,o)=>od(t,o,e)]));function pn(){try{return typeof window<"u"&&window[ed]||""}catch{return""}}function we(e,t){const o=a=>{let r=Nt[a];for(const s of String(e).split(".")){if(!r||typeof r!="object")return;r=r[s]}return typeof r=="string"?r:void 0},n=t||pn()||fa();return o(n)??o("en")}const nd="adoptionStatus",To={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},ay=To,Ws={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},ry=Ws;function ad(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)?To.hasAdoption:To.notAdopted}function qs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],To.hasAdoption,["==",t,1],To.hasAdoption,To.notAdopted]}const rd=qs,sy=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:ay,ADOPTION_LABELS:ry,LABELS:Ws,PALETTE:To,PROPERTY_KEY:nd,applyColor:qs,buildColorExpression:rd,default:{name:"Adoption Progress",propertyKey:nd,palette:To,colors:To,labels:Ws,getColor:ad,applyColor:qs,buildColorExpression:rd},getColor:ad},Symbol.toStringTag,{value:"Module"})),Vs="affinityBlock",Pn="#95a5a6",Co={A001:"Arab World",A002:"East Asian Peoples",A003:"Eurasian Peoples",A004:"Horn of Africa Peoples",A005:"Jewish",A006:"Malay Peoples",A007:"Persian-Median Peoples",A008:"South Asian Peoples",A009:"North American Peoples",A010:"Pacific Islanders",A011:"Southeast Asian Peoples",A012:"Sub-Saharan Peoples",A013:"Tibetan-Himalayan Peoples",A014:"Turkic Peoples",A015:"Latin-Caribbean Americans",A017:"Deaf",A018:"Tibetan Peoples",A019:"Himalayan Peoples"},mr={A001:"#E74C3C",A002:"#3498DB",A003:"#2ECC71",A004:"#F39C12",A005:"#9B59B6",A006:"#1ABC9C",A007:"#E67E22",A008:"#34495E",A009:"#95A5A6",A010:"#5DADE2",A011:"#16A085",A012:"#C0392B",A013:"#8E44AD",A014:"#D35400",A015:"#27AE60",A017:"#000000",A018:"#6C3483",A019:"#A569BD"},Vo=mr,sd=Object.entries(Co).reduce((e,[t,o])=>(e[o]=t,e),{}),Ks=Object.entries(Co).reduce((e,[t,o])=>(e[o]=Vo[t],e),{}),id=Co;function Ys(e){return Co[e]||"Unknown"}function Zs(e){return Vo[e]||Pn}function ld(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?Vo[e]||Pn:Ks[e]||Pn:Pn}function cd(){return Object.entries(Co).map(([e,t])=>({code:e,name:t,color:Vo[e]}))}function ud(e){return{code:e,name:Co[e]||"Unknown",color:Vo[e]||Pn}}function dd(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Zs(t)}function pd(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Ys(t)}function Xs(){const e=["match",["get",Vs]];return Object.entries(Vo).forEach(([t,o])=>{e.push(t,o)}),e.push(Pn),e}const gd=Xs,iy=Co,ly=Vo,cy=sd,uy=Ks,dy=Co,fd={name:"Affinity Block",propertyKey:Vs,palette:mr,colors:mr,names:id,getColor:dd,applyColor:Xs,buildColorExpression:gd,getName:pd,getAffinityBlockName:Ys,getAffinityBlockColor:ld,getAffinityBlockColorByCode:Zs,getAffinityBlocksArray:cd,getAffinityBlockData:ud},py=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Vo,AFFINITY_BLOCK_COLORS_BY_NAME:Ks,AFFINITY_BLOCK_NAMES:Co,AFFINITY_BLOCK_NAME_TO_CODE:sd,NAMES:id,PALETTE:mr,PROPERTY_KEY:Vs,affinityBlockCodeLookup:dy,affinityBlockCodeToColor:ly,affinityBlockCodeToName:iy,affinityBlockColors:uy,affinityBlockNameToCode:cy,applyColor:Xs,buildColorExpression:gd,default:fd,getAffinityBlockColor:ld,getAffinityBlockColorByCode:Zs,getAffinityBlockData:ud,getAffinityBlockName:Ys,getAffinityBlocksArray:cd,getColor:dd,getName:pd},Symbol.toStringTag,{value:"Module"}));function gy(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n{e.push(t,o)}),e.push(Qs),e}const bd=oi,$d={name:"DOXA Region",propertyKey:Js,palette:_r,colors:_r,slugColors:br,aliases:ti,fallback:Qs,getColor:_d,applyColor:oi,buildColorExpression:bd,getRegionColor:md,getRegionColorBySlug:ei},hy=Object.freeze(Object.defineProperty({__proto__:null,DOXA_REGION_COLORS:fy,PALETTE:_r,PROPERTY_KEY:Js,REGION_COLOR_ALIASES:ti,SLUG_PALETTE:br,applyColor:oi,buildColorExpression:bd,default:$d,getColor:_d,getRegionColor:md,getRegionColorBySlug:ei},Symbol.toStringTag,{value:"Module"})),yd="engagementStatus",Po={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},my=Po,ni={notEngaged:"Unengaged",hasEngagement:"Engaged"},_y=ni;function vd(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)?Po.hasEngagement:Po.notEngaged}function ai({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Po.hasEngagement,["==",t,1],Po.hasEngagement,Po.notEngaged]}const wd=ai,by=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:my,ENGAGEMENT_LABELS:_y,LABELS:ni,PALETTE:Po,PROPERTY_KEY:yd,applyColor:ai,buildColorExpression:wd,default:{name:"Engagement Progress",propertyKey:yd,palette:Po,colors:Po,labels:ni,getColor:vd,applyColor:ai,buildColorExpression:wd},getColor:vd},Symbol.toStringTag,{value:"Module"})),ri="languageFamily",$y="#000000",Eo={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},yy=Eo;function si(e){return Eo[e]||$y}const vy=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Eo))t[e(o)]=o;return t})(),wy={"tai-kadai":"Kra-Dai",none:"Unknown"};function En(e){if(!e)return"Unknown";const t=String(e).trim(),o=t.toLowerCase();return wy[o]||vy[o]||t}function xd(e){var t;return si(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function ii(){const e=["match",["get",ri]];return Object.entries(Eo).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const kd=ii,xy=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:yy,PALETTE:Eo,PROPERTY_KEY:ri,applyColor:ii,buildColorExpression:kd,canonicalFamilyName:En,default:{name:"Language Family",propertyKey:ri,palette:Eo,colors:Eo,getColor:xd,applyColor:ii,buildColorExpression:kd,getLanguageFamilyColor:si,canonicalFamilyName:En},defaultFamilyColor:"#95a5a6",getColor:xd,getLanguageFamilyColor:si,languageFamilyColors:Eo},Symbol.toStringTag,{value:"Module"})),Sd="peoplePraying",$r=144,Ko={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},ky=Ko,ha={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},Sy=ha;function Mn(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>=$r?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function li(e){return Ko[Mn(e)]}function Ad(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 Ld(e){return Mn(e)==="fullPrayer"}function Td(e){return li(e)}function yr({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,$r],Ko.fullPrayer,[">",t,0],Ko.hasPrayer,Ko.noPrayer]}const Cd=yr,Ay=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:$r,LABELS:ha,PALETTE:Ko,PRAYER_COLORS:ky,PRAYER_LABELS:Sy,PROPERTY_KEY:Sd,applyColor:yr,buildColorExpression:Cd,checkHasFullPrayer:Ld,checkHasPrayer:Ad,default:{name:"Prayer Progress",propertyKey:Sd,palette:Ko,colors:Ko,labels:ha,threshold:$r,getColor:Td,applyColor:yr,buildColorExpression:Cd,getPrayerLevel:Mn,getPrayerColor:li,checkHasPrayer:Ad,checkHasFullPrayer:Ld},getColor:Td,getPrayerColor:li,getPrayerLevel:Mn},Symbol.toStringTag,{value:"Module"})),Pd="religion",ci="#94a3b8",mo={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Ot={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function ui(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return mo[t]?t:"U"}function Ed(e){var o,n,a;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Ot[ui(t)]||ci}function di(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Ot.C,"M",Ot.M,"H",Ot.H,"B",Ot.B,"E",Ot.E,"J",Ot.J,"S",Ot.S,"N",Ot.N,"O",Ot.O,ci]}const Md=di,Ly={name:"Religion",propertyKey:Pd,palette:Ot,families:mo,getColor:Ed,applyColor:di,buildColorExpression:Md,fallback:ci};function Rd(e){const t=String(e||""),o=mo[t]||t;return o?we("religion.family."+o)||o:""}const Ty=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Ot,PROPERTY_KEY:Pd,RELIGION_FAMILIES:mo,applyColor:di,buildColorExpression:Md,default:Ly,getColor:Ed,getReligionFamily:ui,religionFamilyLabel:Rd},Symbol.toStringTag,{value:"Module"})),Fd="resourceType",Yo={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},Cy=Yo,ma=["bible","jesusFilm","radio","gospel","audio","stories"],pi={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},Py=pi;function _a(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function Nd(e){var t;for(const o of ma)if((e[o]||((t=e._raw)==null?void 0:t[_a(o)]))==="Available")return Yo.hasResources;return Yo.noResources}function Od(e){var t;for(const o of ma)if((e[o]||((t=e._raw)==null?void 0:t[_a(o)]))==="Available")return!0;return!1}function Id(e){var t;for(const o of ma)if((e[o]||((t=e._raw)==null?void 0:t[_a(o)]))==="Available")return o;return"noResources"}function gi(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],Yo.hasResources,Yo.noResources]}const zd=gi,Ey=Object.freeze(Object.defineProperty({__proto__:null,NAMES:pi,PALETTE:Yo,PROPERTY_KEY:Fd,RESOURCE_COLORS:Cy,RESOURCE_NAMES:Py,RESOURCE_PRIORITY:ma,applyColor:gi,buildColorExpression:zd,default:{name:"Gospel Resources",propertyKey:Fd,palette:Yo,colors:Yo,names:pi,priority:ma,getColor:Nd,applyColor:gi,buildColorExpression:zd,hasAnyResource:Od,getResourceType:Id,getCSVColumn:_a},getCSVColumn:_a,getColor:Nd,getResourceType:Id,hasAnyResource:Od},Symbol.toStringTag,{value:"Module"})),Dd="region",fi="#6d766e",hi={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},ba={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},mi=Object.keys(ba);function Bd(e){var o,n,a;const t=(e==null?void 0:e.region)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return ba[t]||fi}function _i(){const e=["match",["coalesce",["get","region"],""]];for(const t of mi)e.push(t,ba[t]);return e.push(fi),e}const Hd=_i,My=Object.assign({"./adoption.js":sy,"./affinity-block.js":py,"./doxa-region.js":hy,"./engagement.js":by,"./language-family.js":xy,"./prayer-progress.js":Ay,"./religion.js":Ty,"./resource.js":Ey,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:ba,PROPERTY_KEY:Dd,REGION_ORDER:mi,WAGF_REGIONS:hi,applyColor:_i,buildColorExpression:Hd,default:{name:"WAGF Region",propertyKey:Dd,palette:ba,regions:hi,order:mi,getColor:Bd,applyColor:_i,buildColorExpression:Hd,fallback:fi},getColor:Bd},Symbol.toStringTag,{value:"Module"}))}),Ry=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),Fy=e=>e.replace(/-/g,"_").toUpperCase(),Mo={...{STATUS:"status",CUSTOM:"custom"}},bi={};function Ud(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const a=Ry(o);Mo[Fy(o)]=a,bi[a]=n}}Ud(My);function Ny(e){e&&Ud(e)}function vr(e){return bi[e]||bi[Mo.LANGUAGE_FAMILY]}const jd={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function Oy(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function Gd(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if(Oy(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(jd.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(jd.mapbox,null,!0);o=!0}catch{}return o}const Iy=hn&&hn.tagName.toUpperCase()==="SCRIPT"&&hn.src||new URL("dashboard-plus-grid.js",document.baseURI).href,Ro=e=>String(e||"").trim().replace(/\/+$/,"");function $i(){try{const t=String(Iy||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Wd(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return Ro(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return Ro(o)}return Ro($i()||"")}function yi(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=Ro(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const o=Ro((e==null?void 0:e.treeBase)||"")||Ro($i()||"");if(o)try{const n=typeof document<"u"?document.baseURI:void 0;return Ro(new URL(o+"/assets",n).href)}catch{return Ro(o+"/assets")}return"./assets"}function zy(e,t=null){const o=String(e).trim().replace(/^\.\//,"");if(!o)return"";if(/^https?:\/\//i.test(o))return o;const n=Ro(Wd(t)||"");if(n)return n+"/"+o;if(typeof document<"u")try{return new URL(o,document.baseURI).href}catch{}return o}function Dy({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.trim();const s=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(s){if(/^https?:\/\//i.test(s))return s;if(s.startsWith("/"))return a?window.location.origin+s:s;const i=Wd(n),l=s.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const vi="__doxaMapToken",wi="doxa:map-token",qd="__doxaMapTokenBridge",Rn=()=>{if(typeof window>"u")return"";const e=window[vi];return typeof e=="string"?e:""};function xi(e){if(typeof window>"u")return"";Vd();const t=typeof e=="string"?e.trim():"";if(!t||t===Rn())return Rn();window[vi]=t;try{window.dispatchEvent(new CustomEvent(wi,{detail:t}))}catch{}return t}function Vd(){var t;if(typeof window>"u"||window[qd]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!Rn()&&(window[vi]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return Rn()},set(o){xi(o)}}),window[qd]=!0}catch{}}function Kd(){Vd();const e=pe(Rn());if(typeof window<"u"){const t=()=>{e.value=Rn()};window.addEventListener(wi,t);try{Dt(()=>window.removeEventListener(wi,t))}catch{}}return e}function By(e){if(typeof window>"u"||!/^https?:\/\//i.test(String(e||"")))return Promise.resolve("");const t=window.__doxaMapTokenFetches=window.__doxaMapTokenFetches||{};if(t[e])return t[e];const o=fetch(e).then(n=>{if(!n.ok)throw new Error("HTTP "+n.status);return(n.headers.get("content-type")||"").includes("json")?n.json():n.text()}).then(n=>{const a=String((typeof n=="string"?n:n&&(n.token||n.tk||n.accessToken))||"").trim();return a.startsWith("pk.")?(xi(a),a):""}).catch(n=>(console.warn(`[map token] ${e}: ${n&&n.message?n.message:n}`),"")).finally(()=>{window.__doxaMapTokenPending===o&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=o,t[e]=o,o}function Hy({tokenUrl:e="",token:t="",sharedToken:o=""}={}){return!!e&&!t&&!o}function Uy(e){const t=e&&e.tokenUrl;return typeof t=="string"&&t?t:""}function jy(e,t){const o=Kd(),n=te(()=>Uy(e==null?void 0:e.value));return Qe(n,a=>{Hy({tokenUrl:a,token:(t==null?void 0:t.value)||"",sharedToken:o.value})&&By(a)},{immediate:!0}),n}function Ht(e,t){const o=po(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:Wy(e));vt(()=>{var l;if(!o)return;const a=(l=o.proxy)==null?void 0:l.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot))return;if(!r.querySelector('style[data-shadow-styles="reduced-motion"]')){const c=document.createElement("style");c.setAttribute("data-shadow-styles","reduced-motion"),c.textContent=Gy,r.appendChild(c)}const s=r.querySelector(`style[data-shadow-styles="${n}"]`);if(s){s.textContent!==e&&(s.textContent=e);return}const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,r.appendChild(i)})}const Gy=`@media (prefers-reduced-motion: reduce) { + */const M$="9.14.5";function R$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ca().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ca().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ca().__INTLIFY_PROD_DEVTOOLS__=!1)}const F$=c$.__EXTEND_POINT__,Lo=lr(F$);Lo(),Lo(),Lo(),Lo(),Lo(),Lo(),Lo(),Lo(),Lo();const Mu=ho.__EXTEND_POINT__,Ft=lr(Mu),ht={UNEXPECTED_RETURN_TYPE:Mu,INVALID_ARGUMENT:Ft(),MUST_BE_CALL_SETUP_TOP:Ft(),NOT_INSTALLED:Ft(),NOT_AVAILABLE_IN_LEGACY_MODE:Ft(),REQUIRED_VALUE:Ft(),INVALID_VALUE:Ft(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ft(),NOT_INSTALLED_WITH_PROVIDE:Ft(),UNEXPECTED_ERROR:Ft(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ft(),BRIDGE_SUPPORT_VUE_2_ONLY:Ft(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ft(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ft(),__EXTEND_POINT__:Ft()};function $t(e,...t){return An(e,null,void 0)}const Os=Ho("__translateVNode"),Is=Ho("__datetimeParts"),zs=Ho("__numberParts"),Ru=Ho("__setPluralRules"),Fu=Ho("__injectWithOption"),Ds=Ho("__dispose");function ga(e){if(!Xe(e)||fo(e))return e;for(const t in e)if(Yt(e,t))if(!t.includes("."))Xe(e[t])&&ga(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(s[l]=s[l]||tt(),ur(c,s[l])):ur(c,s)}else ve(i)&&ur(JSON.parse(i),s)}),a==null&&r)for(const i in s)Yt(s,i)&&ga(s[i]);return s}function Nu(e){return e.type}function Ou(e,t,o){let n=Xe(t.messages)?t.messages:tt();"__i18nGlobal"in o&&(n=hr(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Xe(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Xe(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Iu(e){return We(ea,null,e,0)}const zu="__INTLIFY_META__",Du=()=>[],N$=()=>!1;let Bu=0;function Hu(e){return(t,o,n,a)=>e(o,n,po()||void 0,a)}const O$=()=>{const e=po();let t=null;return e&&(t=Nu(e)[zu])?{[zu]:t}:null};function Bs(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=sr?pe:qn,i=!!e.translateExistCompatible;let l=Ve(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:ve(e.locale)?e.locale:Cn),u=s(o&&l?o.fallbackLocale.value:ve(e.fallbackLocale)||ct(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=s(hr(c.value,e)),g=s(je(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),w=s(je(e.numberFormats)?e.numberFormats:{[c.value]:{}});let A=o?o.missingWarn:Ve(e.missingWarn)||Uo(e.missingWarn)?e.missingWarn:!0,L=o?o.fallbackWarn:Ve(e.fallbackWarn)||Uo(e.fallbackWarn)?e.fallbackWarn:!0,C=o?o.fallbackRoot:Ve(e.fallbackRoot)?e.fallbackRoot:!0,F=!!e.fallbackFormat,v=it(e.missing)?e.missing:null,k=it(e.missing)?Hu(e.missing):null,f=it(e.postTranslation)?e.postTranslation:null,_=o?o.warnHtmlMessage:Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const x=o?o.modifiers:je(e.modifiers)?e.modifiers:{};let m=e.pluralRules||o&&o.pluralRules,$;$=(()=>{a&&$u(null);const U={version:M$,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:x,pluralRules:m,missing:k===null?void 0:k,missingWarn:A,fallbackWarn:L,fallbackFormat:F,unresolving:!0,postTranslation:f===null?void 0:f,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=g.value,U.numberFormats=w.value,U.__datetimeFormatters=je($)?$.__datetimeFormatters:void 0,U.__numberFormatters=je($)?$.__numberFormatters:void 0;const ee=v$(U);return a&&$u(ee),ee})(),pa($,c.value,u.value);function I(){return[c.value,u.value,d.value,g.value,w.value]}const z=te({get:()=>c.value,set:U=>{c.value=U,$.locale=c.value}}),G=te({get:()=>u.value,set:U=>{u.value=U,$.fallbackLocale=u.value,pa($,c.value,U)}}),ce=te(()=>d.value),H=te(()=>g.value),D=te(()=>w.value);function ae(){return it(f)?f:null}function P(U){f=U,$.postTranslation=U}function Z(){return v}function N(U){U!==null&&(k=Hu(U)),v=U,$.missing=k}const E=(U,ee,Le,Pe,Ye,at)=>{I();let X;try{__INTLIFY_PROD_DEVTOOLS__,a||($.fallbackContext=o?y$():void 0),X=U($)}finally{__INTLIFY_PROD_DEVTOOLS__,a||($.fallbackContext=void 0)}if(Le!=="translate exists"&&ft(X)&&X===gr||Le==="translate exists"&&!X){const[ie,_e]=ee();return o&&C?Pe(o):Ye(ie)}else{if(at(X))return X;throw $t(ht.UNEXPECTED_RETURN_TYPE)}};function W(...U){return E(ee=>Reflect.apply(xu,null,[ee,...U]),()=>Rs(...U),"translate",ee=>Reflect.apply(ee.t,ee,[...U]),ee=>ee,ee=>ve(ee))}function me(...U){const[ee,Le,Pe]=U;if(Pe&&!Xe(Pe))throw $t(ht.INVALID_ARGUMENT);return W(ee,Le,wt({resolvedMessage:!0},Pe||{}))}function be(...U){return E(ee=>Reflect.apply(Au,null,[ee,...U]),()=>Fs(...U),"datetime format",ee=>Reflect.apply(ee.d,ee,[...U]),()=>pu,ee=>ve(ee))}function Ae(...U){return E(ee=>Reflect.apply(Cu,null,[ee,...U]),()=>Ns(...U),"number format",ee=>Reflect.apply(ee.n,ee,[...U]),()=>pu,ee=>ve(ee))}function Te(U){return U.map(ee=>ve(ee)||ft(ee)||Ve(ee)?Iu(String(ee)):ee)}const Se={normalize:Te,interpolate:U=>U,type:"vnode"};function $e(...U){return E(ee=>{let Le;const Pe=ee;try{Pe.processor=Se,Le=Reflect.apply(xu,null,[Pe,...U])}finally{Pe.processor=null}return Le},()=>Rs(...U),"translate",ee=>ee[Os](...U),ee=>[Iu(ee)],ee=>ct(ee))}function xe(...U){return E(ee=>Reflect.apply(Cu,null,[ee,...U]),()=>Ns(...U),"number format",ee=>ee[zs](...U),Du,ee=>ve(ee)||ct(ee))}function ke(...U){return E(ee=>Reflect.apply(Au,null,[ee,...U]),()=>Fs(...U),"datetime format",ee=>ee[Is](...U),Du,ee=>ve(ee)||ct(ee))}function y(U){m=U,$.pluralRules=m}function T(U,ee){return E(()=>{if(!U)return!1;const Le=ve(ee)?ee:c.value,Pe=B(Le),Ye=$.messageResolver(Pe,U);return i?Ye!=null:fo(Ye)||jt(Ye)||ve(Ye)},()=>[U],"translate exists",Le=>Reflect.apply(Le.te,Le,[U,ee]),N$,Le=>Ve(Le))}function S(U){let ee=null;const Le=uu($,u.value,c.value);for(let Pe=0;Pe{l&&(c.value=U,$.locale=U,pa($,c.value,u.value))}),Qe(o.fallbackLocale,U=>{l&&(u.value=U,$.fallbackLocale=U,pa($,c.value,u.value))}));const de={id:Bu,locale:z,fallbackLocale:G,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,pa($,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:ce,get modifiers(){return x},get pluralRules(){return m||{}},get isGlobal(){return a},get missingWarn(){return A},set missingWarn(U){A=U,$.missingWarn=A},get fallbackWarn(){return L},set fallbackWarn(U){L=U,$.fallbackWarn=L},get fallbackRoot(){return C},set fallbackRoot(U){C=U},get fallbackFormat(){return F},set fallbackFormat(U){F=U,$.fallbackFormat=F},get warnHtmlMessage(){return _},set warnHtmlMessage(U){_=U,$.warnHtmlMessage=U},get escapeParameter(){return b},set escapeParameter(U){b=U,$.escapeParameter=U},t:W,getLocaleMessage:B,setLocaleMessage:j,mergeLocaleMessage:ne,getPostTranslationHandler:ae,setPostTranslationHandler:P,getMissingHandler:Z,setMissingHandler:N,[Ru]:y};return de.datetimeFormats=H,de.numberFormats=D,de.rt=me,de.te=T,de.tm=K,de.d=be,de.n=Ae,de.getDateTimeFormat=le,de.setDateTimeFormat=h,de.mergeDateTimeFormat=p,de.getNumberFormat=O,de.setNumberFormat=J,de.mergeNumberFormat=ge,de[Fu]=n,de[Os]=$e,de[Is]=ke,de[zs]=xe,de}function I$(e){const t=ve(e.locale)?e.locale:Cn,o=ve(e.fallbackLocale)||ct(e.fallbackLocale)||je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=it(e.missing)?e.missing:void 0,a=Ve(e.silentTranslationWarn)||Uo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Ve(e.silentFallbackWarn)||Uo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Ve(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=je(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=it(e.postTranslation)?e.postTranslation:void 0,d=ve(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,w=Ve(e.sync)?e.sync:!0;let A=e.messages;if(je(e.sharedMessages)){const b=e.sharedMessages;A=Object.keys(b).reduce((m,$)=>{const V=m[$]||(m[$]={});return wt(V,b[$]),m},A||{})}const{__i18n:L,__root:C,__injectWithOption:F}=e,v=e.datetimeFormats,k=e.numberFormats,f=e.flatJson,_=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:A,flatJson:f,datetimeFormats:v,numberFormats:k,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:w,translateExistCompatible:_,__i18n:L,__root:C,__injectWithOption:F}}function Hs(e={},t){{const o=Bs(I$(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},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(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Ve(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Ve(r)?!r:r},get silentFallbackWarn(){return Ve(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Ve(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,c={};let u=null,d=null;if(!ve(s))throw $t(ht.INVALID_ARGUMENT);const g=s;return ve(i)?c.locale=i:ct(i)?u=i:je(i)&&(d=i),ct(l)?u=l:je(l)&&(d=l),Reflect.apply(o.t,o,[g,u||d||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,c={plural:1};let u=null,d=null;if(!ve(s))throw $t(ht.INVALID_ARGUMENT);const g=s;return ve(i)?c.locale=i:ft(i)?c.plural=i:ct(i)?u=i:je(i)&&(d=i),ve(l)?c.locale=l:ct(l)?u=l:je(l)&&(d=l),Reflect.apply(o.t,o,[g,u||d||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const Us={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function z$({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Me?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},tt())}function Uu(e){return Me}const ju=Zn({name:"i18n-t",props:wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ft(e)||!isNaN(e)}},Us),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||qo({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(d=>d!=="_"),s=tt();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=ve(e.plural)?+e.plural:e.plural);const i=z$(t,r),l=a[Os](e.keypath,i,s),c=wt(tt(),n),u=ve(e.tag)||Xe(e.tag)?e.tag:Uu();return vc(u,c,l)}}});function D$(e){return ct(e)&&!ve(e[0])}function Gu(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=tt();e.locale&&(s.locale=e.locale),ve(e.format)?s.key=e.format:Xe(e.format)&&(ve(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((g,w)=>o.includes(w)?wt(tt(),g,{[w]:e.format[w]}):g,tt()));const l=n(e.value,s,i);let c=[s.key];ct(l)?c=l.map((g,w)=>{const A=a[g.type],L=A?A({[g.type]:g.value,index:w,parts:l}):[g.value];return D$(L)&&(L[0].key=`${g.type}-${w}`),L}):ve(l)&&(c=[l]);const u=wt(tt(),r),d=ve(e.tag)||Xe(e.tag)?e.tag:Uu();return vc(d,u,c)}}const Wu=Zn({name:"i18n-n",props:wt({value:{type:Number,required:!0},format:{type:[String,Object]}},Us),setup(e,t){const o=e.i18n||qo({useScope:e.scope,__useComponent:!0});return Gu(e,t,Pu,(...n)=>o[zs](...n))}}),qu=Zn({name:"i18n-d",props:wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Us),setup(e,t){const o=e.i18n||qo({useScope:e.scope,__useComponent:!0});return Gu(e,t,Lu,(...n)=>o[Is](...n))}});function B$(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 H$(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw $t(ht.UNEXPECTED_ERROR);const u=B$(e,i.$),d=Vu(c);return[Reflect.apply(u.t,u,[...Ku(d)]),u]};return{created:(s,i)=>{const[l,c]=t(i);sr&&e.global===c&&(s.__i18nWatcher=Qe(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{sr&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,c=Vu(i);s.textContent=Reflect.apply(l.t,l,[...Ku(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Vu(e){if(ve(e))return{path:e};if(je(e)){if(!("path"in e))throw $t(ht.REQUIRED_VALUE,"path");return e}else throw $t(ht.INVALID_VALUE)}function Ku(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return ve(o)&&(s.locale=o),ft(a)&&(s.plural=a),ft(r)&&(s.plural=r),[t,i,s]}function U$(e,t,...o){const n=je(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Ve(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":ju.name,"I18nT"].forEach(s=>e.component(s,ju)),[Wu.name,"I18nN"].forEach(s=>e.component(s,Wu)),[qu.name,"I18nD"].forEach(s=>e.component(s,qu))),e.directive("t",H$(t))}function j$(e,t,o){return{beforeCreate(){const n=po();if(!n)throw $t(ht.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Yu(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Hs(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Yu(e,a);else{this.$i18n=Hs({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ou(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=po();if(!n)throw $t(ht.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Yu(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[Ru](t.pluralizationRules||e.pluralizationRules);const o=hr(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 G$=Ho("global-vue-i18n");function W$(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ve(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=q$(e,o),l=Ho("");function c(g){return r.get(g)||null}function u(g,w){r.set(g,w)}function d(g){r.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(w,...A){if(w.__VUE_I18N_SYMBOL__=l,w.provide(w.__VUE_I18N_SYMBOL__,g),je(A[0])){const F=A[0];g.__composerExtend=F.__composerExtend,g.__vueI18nExtend=F.__vueI18nExtend}let L=null;!o&&n&&(L=ty(w,g.global)),__VUE_I18N_FULL_INSTALL__&&U$(w,g,...A),__VUE_I18N_LEGACY_API__&&o&&w.mixin(j$(i,i.__composer,g));const C=w.unmount;w.unmount=()=>{L&&L(),g.dispose(),C()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:d};return g}}function qo(e={}){const t=po();if(t==null)throw $t(ht.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $t(ht.NOT_INSTALLED);const o=V$(t),n=Y$(o),a=Nu(t),r=K$(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw $t(ht.NOT_AVAILABLE_IN_LEGACY_MODE);return Q$(t,r,n,e)}if(r==="global")return Ou(n,e,a),n;if(r==="parent"){let l=Z$(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=wt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Bs(l),s.__composerExtend&&(i[Ds]=s.__composerExtend(i)),J$(s,t,i),s.__setInstance(t,i)}return i}function q$(e,t,o){const n=Br();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Hs(e)):n.run(()=>Bs(e));if(a==null)throw $t(ht.UNEXPECTED_ERROR);return[n,a]}}function V$(e){{const t=Be(e.isCE?G$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $t(e.isCE?ht.NOT_INSTALLED_WITH_PROVIDE:ht.UNEXPECTED_ERROR);return t}}function K$(e,t){return ir(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Y$(e){return e.mode==="composition"?e.global:e.global.__composer}function Z$(e,t,o=!1){let n=null;const a=t.root;let r=X$(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[Fu]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function X$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function J$(e,t,o){vt(()=>{},t),Va(()=>{const n=o;e.__deleteInstance(t);const a=n[Ds];a&&(a(),delete n[Ds])},t)}function Q$(e,t,o,n={}){const a=t==="local",r=qn(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw $t(ht.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Ve(n.inheritLocale)?n.inheritLocale:!ve(n.locale),i=pe(!a||s?o.locale.value:ve(n.locale)?n.locale:Cn),l=pe(!a||s?o.fallbackLocale.value:ve(n.fallbackLocale)||ct(n.fallbackLocale)||je(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=pe(hr(i.value,n)),u=pe(je(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=pe(je(n.numberFormats)?n.numberFormats:{[i.value]:{}}),g=a?o.missingWarn:Ve(n.missingWarn)||Uo(n.missingWarn)?n.missingWarn:!0,w=a?o.fallbackWarn:Ve(n.fallbackWarn)||Uo(n.fallbackWarn)?n.fallbackWarn:!0,A=a?o.fallbackRoot:Ve(n.fallbackRoot)?n.fallbackRoot:!0,L=!!n.fallbackFormat,C=it(n.missing)?n.missing:null,F=it(n.postTranslation)?n.postTranslation:null,v=a?o.warnHtmlMessage:Ve(n.warnHtmlMessage)?n.warnHtmlMessage:!0,k=!!n.escapeParameter,f=a?o.modifiers:je(n.modifiers)?n.modifiers:{},_=n.pluralRules||a&&o.pluralRules;function b(){return[i.value,l.value,c.value,u.value,d.value]}const x=te({get:()=>r.value?r.value.locale.value:i.value,set:S=>{r.value&&(r.value.locale.value=S),i.value=S}}),m=te({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:S=>{r.value&&(r.value.fallbackLocale.value=S),l.value=S}}),$=te(()=>r.value?r.value.messages.value:c.value),V=te(()=>u.value),I=te(()=>d.value);function z(){return r.value?r.value.getPostTranslationHandler():F}function G(S){r.value&&r.value.setPostTranslationHandler(S)}function ce(){return r.value?r.value.getMissingHandler():C}function H(S){r.value&&r.value.setMissingHandler(S)}function D(S){return b(),S()}function ae(...S){return r.value?D(()=>Reflect.apply(r.value.t,null,[...S])):D(()=>"")}function P(...S){return r.value?Reflect.apply(r.value.rt,null,[...S]):""}function Z(...S){return r.value?D(()=>Reflect.apply(r.value.d,null,[...S])):D(()=>"")}function N(...S){return r.value?D(()=>Reflect.apply(r.value.n,null,[...S])):D(()=>"")}function E(S){return r.value?r.value.tm(S):{}}function W(S,K){return r.value?r.value.te(S,K):!1}function me(S){return r.value?r.value.getLocaleMessage(S):{}}function be(S,K){r.value&&(r.value.setLocaleMessage(S,K),c.value[S]=K)}function Ae(S,K){r.value&&r.value.mergeLocaleMessage(S,K)}function Te(S){return r.value?r.value.getDateTimeFormat(S):{}}function He(S,K){r.value&&(r.value.setDateTimeFormat(S,K),u.value[S]=K)}function Se(S,K){r.value&&r.value.mergeDateTimeFormat(S,K)}function $e(S){return r.value?r.value.getNumberFormat(S):{}}function xe(S,K){r.value&&(r.value.setNumberFormat(S,K),d.value[S]=K)}function ke(S,K){r.value&&r.value.mergeNumberFormat(S,K)}const y={get id(){return r.value?r.value.id:-1},locale:x,fallbackLocale:m,messages:$,datetimeFormats:V,numberFormats:I,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(S){r.value&&(r.value.inheritLocale=S)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:f},get pluralRules(){return r.value?r.value.pluralRules:_},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:g},set missingWarn(S){r.value&&(r.value.missingWarn=S)},get fallbackWarn(){return r.value?r.value.fallbackWarn:w},set fallbackWarn(S){r.value&&(r.value.missingWarn=S)},get fallbackRoot(){return r.value?r.value.fallbackRoot:A},set fallbackRoot(S){r.value&&(r.value.fallbackRoot=S)},get fallbackFormat(){return r.value?r.value.fallbackFormat:L},set fallbackFormat(S){r.value&&(r.value.fallbackFormat=S)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:v},set warnHtmlMessage(S){r.value&&(r.value.warnHtmlMessage=S)},get escapeParameter(){return r.value?r.value.escapeParameter:k},set escapeParameter(S){r.value&&(r.value.escapeParameter=S)},t:ae,getPostTranslationHandler:z,setPostTranslationHandler:G,getMissingHandler:ce,setMissingHandler:H,rt:P,d:Z,n:N,tm:E,te:W,getLocaleMessage:me,setLocaleMessage:be,mergeLocaleMessage:Ae,getDateTimeFormat:Te,setDateTimeFormat:He,mergeDateTimeFormat:Se,getNumberFormat:$e,setNumberFormat:xe,mergeNumberFormat:ke};function T(S){S.locale.value=i.value,S.fallbackLocale.value=l.value,Object.keys(c.value).forEach(K=>{S.mergeLocaleMessage(K,c.value[K])}),Object.keys(u.value).forEach(K=>{S.mergeDateTimeFormat(K,u.value[K])}),Object.keys(d.value).forEach(K=>{S.mergeNumberFormat(K,d.value[K])}),S.escapeParameter=k,S.fallbackFormat=L,S.fallbackRoot=A,S.fallbackWarn=w,S.missingWarn=g,S.warnHtmlMessage=v}return Ul(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw $t(ht.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const S=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=S.locale.value,l.value=S.fallbackLocale.value,c.value=S.messages.value,u.value=S.datetimeFormats.value,d.value=S.numberFormats.value):a&&T(S)}),y}const ey=["locale","fallbackLocale","availableLocales"],Zu=["t","rt","d","n","tm","te"];function ty(e,t){const o=Object.create(null);return ey.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw $t(ht.UNEXPECTED_ERROR);const s=bt(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,Zu.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw $t(ht.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Zu.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(R$(),h$(L$),m$(Yb),_$(uu),__INTLIFY_PROD_DEVTOOLS__){const e=ca();e.__INTLIFY__=!0,a$(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const oy=Object.assign({"./locales/ar/aria.json":Sh,"./locales/ar/buttons.json":Ah,"./locales/ar/controls.json":Lh,"./locales/ar/dashboard.json":Th,"./locales/ar/grid.json":Ch,"./locales/ar/legend.json":Ph,"./locales/ar/lists.json":Eh,"./locales/ar/mapui.json":Mh,"./locales/ar/messages.json":Rh,"./locales/ar/religion.json":Fh,"./locales/ar/search.json":Nh,"./locales/ar/share.json":Oh,"./locales/de/aria.json":Ih,"./locales/de/buttons.json":zh,"./locales/de/controls.json":Dh,"./locales/de/dashboard.json":Bh,"./locales/de/grid.json":Hh,"./locales/de/legend.json":Uh,"./locales/de/lists.json":jh,"./locales/de/mapui.json":Gh,"./locales/de/messages.json":Wh,"./locales/de/religion.json":qh,"./locales/de/search.json":Vh,"./locales/de/share.json":Kh,"./locales/en/aria.json":Yh,"./locales/en/buttons.json":Zh,"./locales/en/controls.json":Xh,"./locales/en/dashboard.json":Jh,"./locales/en/grid.json":Qh,"./locales/en/legend.json":em,"./locales/en/lists.json":tm,"./locales/en/mapui.json":om,"./locales/en/messages.json":nm,"./locales/en/religion.json":am,"./locales/en/search.json":rm,"./locales/en/share.json":sm,"./locales/es/aria.json":im,"./locales/es/buttons.json":lm,"./locales/es/controls.json":cm,"./locales/es/dashboard.json":um,"./locales/es/grid.json":dm,"./locales/es/legend.json":pm,"./locales/es/lists.json":gm,"./locales/es/mapui.json":fm,"./locales/es/messages.json":hm,"./locales/es/religion.json":mm,"./locales/es/search.json":_m,"./locales/es/share.json":bm,"./locales/fr/aria.json":$m,"./locales/fr/buttons.json":ym,"./locales/fr/controls.json":vm,"./locales/fr/dashboard.json":wm,"./locales/fr/grid.json":xm,"./locales/fr/legend.json":km,"./locales/fr/lists.json":Sm,"./locales/fr/mapui.json":Am,"./locales/fr/messages.json":Lm,"./locales/fr/religion.json":Tm,"./locales/fr/search.json":Cm,"./locales/fr/share.json":Pm,"./locales/hi/aria.json":Em,"./locales/hi/buttons.json":Mm,"./locales/hi/controls.json":Rm,"./locales/hi/dashboard.json":Fm,"./locales/hi/grid.json":Nm,"./locales/hi/legend.json":Om,"./locales/hi/lists.json":Im,"./locales/hi/mapui.json":zm,"./locales/hi/messages.json":Dm,"./locales/hi/religion.json":Bm,"./locales/hi/search.json":Hm,"./locales/hi/share.json":Um,"./locales/it/aria.json":jm,"./locales/it/buttons.json":Gm,"./locales/it/controls.json":Wm,"./locales/it/dashboard.json":qm,"./locales/it/grid.json":Vm,"./locales/it/legend.json":Km,"./locales/it/lists.json":Ym,"./locales/it/mapui.json":Zm,"./locales/it/messages.json":Xm,"./locales/it/religion.json":Jm,"./locales/it/search.json":Qm,"./locales/it/share.json":e_,"./locales/pt/aria.json":t_,"./locales/pt/buttons.json":o_,"./locales/pt/controls.json":n_,"./locales/pt/dashboard.json":a_,"./locales/pt/grid.json":r_,"./locales/pt/legend.json":s_,"./locales/pt/lists.json":i_,"./locales/pt/mapui.json":l_,"./locales/pt/messages.json":c_,"./locales/pt/religion.json":u_,"./locales/pt/search.json":d_,"./locales/pt/share.json":p_,"./locales/ro/aria.json":g_,"./locales/ro/buttons.json":f_,"./locales/ro/controls.json":h_,"./locales/ro/dashboard.json":m_,"./locales/ro/grid.json":__,"./locales/ro/legend.json":b_,"./locales/ro/lists.json":$_,"./locales/ro/mapui.json":y_,"./locales/ro/messages.json":v_,"./locales/ro/religion.json":w_,"./locales/ro/search.json":x_,"./locales/ro/share.json":k_,"./locales/ru/aria.json":S_,"./locales/ru/buttons.json":A_,"./locales/ru/controls.json":L_,"./locales/ru/dashboard.json":T_,"./locales/ru/grid.json":C_,"./locales/ru/legend.json":P_,"./locales/ru/lists.json":E_,"./locales/ru/mapui.json":M_,"./locales/ru/messages.json":R_,"./locales/ru/religion.json":F_,"./locales/ru/search.json":N_,"./locales/ru/share.json":O_,"./locales/zh/aria.json":I_,"./locales/zh/buttons.json":z_,"./locales/zh/controls.json":D_,"./locales/zh/dashboard.json":B_,"./locales/zh/grid.json":H_,"./locales/zh/legend.json":U_,"./locales/zh/lists.json":j_,"./locales/zh/mapui.json":G_,"./locales/zh/messages.json":W_,"./locales/zh/religion.json":q_,"./locales/zh/search.json":V_,"./locales/zh/share.json":K_}),Nt={};for(const[e,t]of Object.entries(oy)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;Nt[n]??(Nt[n]={}),Nt[n][a]=t}const Xu=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),Ju=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},js=new Map;let Qu=null;function ed(e,t){var a,r;const o=String(t||"").split("-")[0].toLowerCase();if(!o||o==="en"||!fa.includes(o))return Promise.resolve(o==="en");if(Nt[o])return(r=(a=e==null?void 0:e.global)==null?void 0:a.setLocaleMessage)==null||r.call(a,o,Nt[o]),Promise.resolve(!0);if(js.has(o))return js.get(o).then(s=>{var i,l;return s&&Nt[o]&&((l=(i=e==null?void 0:e.global)==null?void 0:i.setLocaleMessage)==null||l.call(i,o,Nt[o])),s});if(!Ju[o])return Promise.resolve(!!Nt[o]);const n=(async()=>{var s,i;try{if(!Xu)return!1;const l=new URL(`locales/${o}.json`,Xu).href,c=await fetch(l,{integrity:Ju[o]});if(!c.ok)return!1;const u=await c.json();return!u||typeof u!="object"?!1:(Nt[o]=u,(i=(s=e==null?void 0:e.global)==null?void 0:s.setLocaleMessage)==null||i.call(s,o,u),!0)}catch{return!1}})();return js.set(o,n),n}Nt.en;const fa=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],Gs=new Set(["ar"]);function td(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function Pn(){var n;const e=td();if(fa.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return fa.includes(o)?o:"en"}try{Qu=ed(null,Pn())}catch{Qu=null}function ny(){const e=Pn();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&e&&(document!=null&&document.documentElement)&&(document.documentElement.lang=e,Gs.has(e)&&(document.documentElement.dir="rtl"))}catch{}const t=Br(!0),o=t.run(()=>W$({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:Nt,missingWarn:!1,fallbackWarn:!1,pluralRules:ry}));e!=="en"&&!Nt[e]&&ed(o,e).catch(()=>{}),t.run(()=>Qe(o.global.locale,a=>nd(a),{immediate:!0}));const n=o.install.bind(o);return o.install=(a,...r)=>{const s=n(a,...r);a.provide("appI18n",o);const i=a.provide.bind(a);return a.provide=(l,c)=>l==="appI18n"&&c===o?a:i(l,c),s},o}const od="__DOXA_PAGE_LOCALE";function nd(e){const t=String(e||"").split("-")[0].toLowerCase();if(fa.includes(t))try{typeof window<"u"&&(window[od]=t)}catch{}}const ay=["zero","one","two","few","many","other"];function ad(e,t,o){let n;try{n=new Intl.PluralRules(o)}catch{return e===1?0:1}const a=n.select(e),r=n.resolvedOptions().pluralCategories,s=ay.filter(l=>r.includes(l));let i=s.indexOf(a);if(i<0&&(i=s.indexOf("other")),i>=t){const l=s.indexOf("other");i=l>=0&&l[e,(t,o)=>ad(t,o,e)]));function Vo(){try{return typeof window<"u"&&window[od]||""}catch{return""}}function we(e,t){const o=a=>{let r=Nt[a];for(const s of String(e).split(".")){if(!r||typeof r!="object")return;r=r[s]}return typeof r=="string"?r:void 0},n=t||Vo()||Pn();return o(n)??o("en")}const Ws=new Map;function qs(e,{type:t="conjunction",style:o="long",locale:n}={}){const a=Array.from(e||[],l=>String(l)),r=()=>{try{return Pn()}catch{return""}},s=n||Vo()||r()||"en",i=`${s}|${t}|${o}`;try{return Ws.has(i)||Ws.set(i,new Intl.ListFormat(s,{type:t,style:o})),Ws.get(i).format(a)}catch{return a.join(", ")}}const rd="adoptionStatus",To={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},sy=To,Vs={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},iy=Vs;function sd(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)?To.hasAdoption:To.notAdopted}function Ks({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],To.hasAdoption,["==",t,1],To.hasAdoption,To.notAdopted]}const id=Ks,ly=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:sy,ADOPTION_LABELS:iy,LABELS:Vs,PALETTE:To,PROPERTY_KEY:rd,applyColor:Ks,buildColorExpression:id,default:{name:"Adoption Progress",propertyKey:rd,palette:To,colors:To,labels:Vs,getColor:sd,applyColor:Ks,buildColorExpression:id},getColor:sd},Symbol.toStringTag,{value:"Module"})),Ys="affinityBlock",En="#95a5a6",Co={A001:"Arab World",A002:"East Asian Peoples",A003:"Eurasian Peoples",A004:"Horn of Africa Peoples",A005:"Jewish",A006:"Malay Peoples",A007:"Persian-Median Peoples",A008:"South Asian Peoples",A009:"North American Peoples",A010:"Pacific Islanders",A011:"Southeast Asian Peoples",A012:"Sub-Saharan Peoples",A013:"Tibetan-Himalayan Peoples",A014:"Turkic Peoples",A015:"Latin-Caribbean Americans",A017:"Deaf",A018:"Tibetan Peoples",A019:"Himalayan Peoples"},mr={A001:"#E74C3C",A002:"#3498DB",A003:"#2ECC71",A004:"#F39C12",A005:"#9B59B6",A006:"#1ABC9C",A007:"#E67E22",A008:"#34495E",A009:"#95A5A6",A010:"#5DADE2",A011:"#16A085",A012:"#C0392B",A013:"#8E44AD",A014:"#D35400",A015:"#27AE60",A017:"#000000",A018:"#6C3483",A019:"#A569BD"},Ko=mr,ld=Object.entries(Co).reduce((e,[t,o])=>(e[o]=t,e),{}),Zs=Object.entries(Co).reduce((e,[t,o])=>(e[o]=Ko[t],e),{}),cd=Co;function Xs(e){return Co[e]||"Unknown"}function Js(e){return Ko[e]||En}function ud(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?Ko[e]||En:Zs[e]||En:En}function dd(){return Object.entries(Co).map(([e,t])=>({code:e,name:t,color:Ko[e]}))}function pd(e){return{code:e,name:Co[e]||"Unknown",color:Ko[e]||En}}function gd(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Js(t)}function fd(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return Xs(t)}function Qs(){const e=["match",["get",Ys]];return Object.entries(Ko).forEach(([t,o])=>{e.push(t,o)}),e.push(En),e}const hd=Qs,cy=Co,uy=Ko,dy=ld,py=Zs,gy=Co,md={name:"Affinity Block",propertyKey:Ys,palette:mr,colors:mr,names:cd,getColor:gd,applyColor:Qs,buildColorExpression:hd,getName:fd,getAffinityBlockName:Xs,getAffinityBlockColor:ud,getAffinityBlockColorByCode:Js,getAffinityBlocksArray:dd,getAffinityBlockData:pd},fy=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Ko,AFFINITY_BLOCK_COLORS_BY_NAME:Zs,AFFINITY_BLOCK_NAMES:Co,AFFINITY_BLOCK_NAME_TO_CODE:ld,NAMES:cd,PALETTE:mr,PROPERTY_KEY:Ys,affinityBlockCodeLookup:gy,affinityBlockCodeToColor:uy,affinityBlockCodeToName:cy,affinityBlockColors:py,affinityBlockNameToCode:dy,applyColor:Qs,buildColorExpression:hd,default:md,getAffinityBlockColor:ud,getAffinityBlockColorByCode:Js,getAffinityBlockData:pd,getAffinityBlockName:Xs,getAffinityBlocksArray:dd,getColor:gd,getName:fd},Symbol.toStringTag,{value:"Module"}));function hy(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n{e.push(t,o)}),e.push(ti),e}const yd=ai,vd={name:"DOXA Region",propertyKey:ei,palette:_r,colors:_r,slugColors:br,aliases:ni,fallback:ti,getColor:$d,applyColor:ai,buildColorExpression:yd,getRegionColor:bd,getRegionColorBySlug:oi},_y=Object.freeze(Object.defineProperty({__proto__:null,DOXA_REGION_COLORS:my,PALETTE:_r,PROPERTY_KEY:ei,REGION_COLOR_ALIASES:ni,SLUG_PALETTE:br,applyColor:ai,buildColorExpression:yd,default:vd,getColor:$d,getRegionColor:bd,getRegionColorBySlug:oi},Symbol.toStringTag,{value:"Module"})),wd="engagementStatus",Po={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},by=Po,ri={notEngaged:"Unengaged",hasEngagement:"Engaged"},$y=ri;function xd(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)?Po.hasEngagement:Po.notEngaged}function si({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Po.hasEngagement,["==",t,1],Po.hasEngagement,Po.notEngaged]}const kd=si,yy=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:by,ENGAGEMENT_LABELS:$y,LABELS:ri,PALETTE:Po,PROPERTY_KEY:wd,applyColor:si,buildColorExpression:kd,default:{name:"Engagement Progress",propertyKey:wd,palette:Po,colors:Po,labels:ri,getColor:xd,applyColor:si,buildColorExpression:kd},getColor:xd},Symbol.toStringTag,{value:"Module"})),ii="languageFamily",vy="#000000",Eo={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},wy=Eo;function li(e){return Eo[e]||vy}const xy=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Eo))t[e(o)]=o;return t})(),ky={"tai-kadai":"Kra-Dai",none:"Unknown"};function Mn(e){if(!e)return"Unknown";const t=String(e).trim(),o=t.toLowerCase();return ky[o]||xy[o]||t}function Sd(e){var t;return li(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function ci(){const e=["match",["get",ii]];return Object.entries(Eo).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Ad=ci,Sy=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:wy,PALETTE:Eo,PROPERTY_KEY:ii,applyColor:ci,buildColorExpression:Ad,canonicalFamilyName:Mn,default:{name:"Language Family",propertyKey:ii,palette:Eo,colors:Eo,getColor:Sd,applyColor:ci,buildColorExpression:Ad,getLanguageFamilyColor:li,canonicalFamilyName:Mn},defaultFamilyColor:"#95a5a6",getColor:Sd,getLanguageFamilyColor:li,languageFamilyColors:Eo},Symbol.toStringTag,{value:"Module"})),Ld="peoplePraying",$r=144,Yo={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},Ay=Yo,ha={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},Ly=ha;function Rn(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>=$r?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function ui(e){return Yo[Rn(e)]}function Td(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 Cd(e){return Rn(e)==="fullPrayer"}function Pd(e){return ui(e)}function yr({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,$r],Yo.fullPrayer,[">",t,0],Yo.hasPrayer,Yo.noPrayer]}const Ed=yr,Ty=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:$r,LABELS:ha,PALETTE:Yo,PRAYER_COLORS:Ay,PRAYER_LABELS:Ly,PROPERTY_KEY:Ld,applyColor:yr,buildColorExpression:Ed,checkHasFullPrayer:Cd,checkHasPrayer:Td,default:{name:"Prayer Progress",propertyKey:Ld,palette:Yo,colors:Yo,labels:ha,threshold:$r,getColor:Pd,applyColor:yr,buildColorExpression:Ed,getPrayerLevel:Rn,getPrayerColor:ui,checkHasPrayer:Td,checkHasFullPrayer:Cd},getColor:Pd,getPrayerColor:ui,getPrayerLevel:Rn},Symbol.toStringTag,{value:"Module"})),Md="religion",di="#94a3b8",mo={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Ot={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function pi(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return mo[t]?t:"U"}function Rd(e){var o,n,a;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Ot[pi(t)]||di}function gi(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Ot.C,"M",Ot.M,"H",Ot.H,"B",Ot.B,"E",Ot.E,"J",Ot.J,"S",Ot.S,"N",Ot.N,"O",Ot.O,di]}const Fd=gi,Cy={name:"Religion",propertyKey:Md,palette:Ot,families:mo,getColor:Rd,applyColor:gi,buildColorExpression:Fd,fallback:di};function Nd(e){const t=String(e||""),o=mo[t]||t;return o?we("religion.family."+o)||o:""}const Py=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Ot,PROPERTY_KEY:Md,RELIGION_FAMILIES:mo,applyColor:gi,buildColorExpression:Fd,default:Cy,getColor:Rd,getReligionFamily:pi,religionFamilyLabel:Nd},Symbol.toStringTag,{value:"Module"})),Od="resourceType",Zo={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},Ey=Zo,ma=["bible","jesusFilm","radio","gospel","audio","stories"],fi={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},My=fi;function _a(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function Id(e){var t;for(const o of ma)if((e[o]||((t=e._raw)==null?void 0:t[_a(o)]))==="Available")return Zo.hasResources;return Zo.noResources}function zd(e){var t;for(const o of ma)if((e[o]||((t=e._raw)==null?void 0:t[_a(o)]))==="Available")return!0;return!1}function Dd(e){var t;for(const o of ma)if((e[o]||((t=e._raw)==null?void 0:t[_a(o)]))==="Available")return o;return"noResources"}function hi(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],Zo.hasResources,Zo.noResources]}const Bd=hi,Ry=Object.freeze(Object.defineProperty({__proto__:null,NAMES:fi,PALETTE:Zo,PROPERTY_KEY:Od,RESOURCE_COLORS:Ey,RESOURCE_NAMES:My,RESOURCE_PRIORITY:ma,applyColor:hi,buildColorExpression:Bd,default:{name:"Gospel Resources",propertyKey:Od,palette:Zo,colors:Zo,names:fi,priority:ma,getColor:Id,applyColor:hi,buildColorExpression:Bd,hasAnyResource:zd,getResourceType:Dd,getCSVColumn:_a},getCSVColumn:_a,getColor:Id,getResourceType:Dd,hasAnyResource:zd},Symbol.toStringTag,{value:"Module"})),Hd="region",mi="#6d766e",_i={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},ba={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},bi=Object.keys(ba);function Ud(e){var o,n,a;const t=(e==null?void 0:e.region)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return ba[t]||mi}function $i(){const e=["match",["coalesce",["get","region"],""]];for(const t of bi)e.push(t,ba[t]);return e.push(mi),e}const jd=$i,Fy=Object.assign({"./adoption.js":ly,"./affinity-block.js":fy,"./doxa-region.js":_y,"./engagement.js":yy,"./language-family.js":Sy,"./prayer-progress.js":Ty,"./religion.js":Py,"./resource.js":Ry,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:ba,PROPERTY_KEY:Hd,REGION_ORDER:bi,WAGF_REGIONS:_i,applyColor:$i,buildColorExpression:jd,default:{name:"WAGF Region",propertyKey:Hd,palette:ba,regions:_i,order:bi,getColor:Ud,applyColor:$i,buildColorExpression:jd,fallback:mi},getColor:Ud},Symbol.toStringTag,{value:"Module"}))}),Ny=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),Oy=e=>e.replace(/-/g,"_").toUpperCase(),Mo={...{STATUS:"status",CUSTOM:"custom"}},yi={};function Gd(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const a=Ny(o);Mo[Oy(o)]=a,yi[a]=n}}Gd(Fy);function Iy(e){e&&Gd(e)}function vr(e){return yi[e]||yi[Mo.LANGUAGE_FAMILY]}const Wd={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function zy(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function qd(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if(zy(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(Wd.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(Wd.mapbox,null,!0);o=!0}catch{}return o}const Dy=hn&&hn.tagName.toUpperCase()==="SCRIPT"&&hn.src||new URL("dashboard-plus-grid.js",document.baseURI).href,Ro=e=>String(e||"").trim().replace(/\/+$/,"");function vi(){try{const t=String(Dy||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Vd(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return Ro(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return Ro(o)}return Ro(vi()||"")}function wi(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=Ro(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const o=Ro((e==null?void 0:e.treeBase)||"")||Ro(vi()||"");if(o)try{const n=typeof document<"u"?document.baseURI:void 0;return Ro(new URL(o+"/assets",n).href)}catch{return Ro(o+"/assets")}return"./assets"}function By(e,t=null){const o=String(e).trim().replace(/^\.\//,"");if(!o)return"";if(/^https?:\/\//i.test(o))return o;const n=Ro(Vd(t)||"");if(n)return n+"/"+o;if(typeof document<"u")try{return new URL(o,document.baseURI).href}catch{}return o}function Hy({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.trim();const s=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(s){if(/^https?:\/\//i.test(s))return s;if(s.startsWith("/"))return a?window.location.origin+s:s;const i=Vd(n),l=s.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const xi="__doxaMapToken",ki="doxa:map-token",Kd="__doxaMapTokenBridge",Fn=()=>{if(typeof window>"u")return"";const e=window[xi];return typeof e=="string"?e:""};function Si(e){if(typeof window>"u")return"";Yd();const t=typeof e=="string"?e.trim():"";if(!t||t===Fn())return Fn();window[xi]=t;try{window.dispatchEvent(new CustomEvent(ki,{detail:t}))}catch{}return t}function Yd(){var t;if(typeof window>"u"||window[Kd]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!Fn()&&(window[xi]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return Fn()},set(o){Si(o)}}),window[Kd]=!0}catch{}}function Zd(){Yd();const e=pe(Fn());if(typeof window<"u"){const t=()=>{e.value=Fn()};window.addEventListener(ki,t);try{Dt(()=>window.removeEventListener(ki,t))}catch{}}return e}function Uy(e){if(typeof window>"u"||!/^https?:\/\//i.test(String(e||"")))return Promise.resolve("");const t=window.__doxaMapTokenFetches=window.__doxaMapTokenFetches||{};if(t[e])return t[e];const o=fetch(e).then(n=>{if(!n.ok)throw new Error("HTTP "+n.status);return(n.headers.get("content-type")||"").includes("json")?n.json():n.text()}).then(n=>{const a=String((typeof n=="string"?n:n&&(n.token||n.tk||n.accessToken))||"").trim();return a.startsWith("pk.")?(Si(a),a):""}).catch(n=>(console.warn(`[map token] ${e}: ${n&&n.message?n.message:n}`),"")).finally(()=>{window.__doxaMapTokenPending===o&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=o,t[e]=o,o}function jy({tokenUrl:e="",token:t="",sharedToken:o=""}={}){return!!e&&!t&&!o}function Gy(e){const t=e&&e.tokenUrl;return typeof t=="string"&&t?t:""}function Wy(e,t){const o=Zd(),n=te(()=>Gy(e==null?void 0:e.value));return Qe(n,a=>{jy({tokenUrl:a,token:(t==null?void 0:t.value)||"",sharedToken:o.value})&&Uy(a)},{immediate:!0}),n}function Ht(e,t){const o=po(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:Vy(e));vt(()=>{var l;if(!o)return;const a=(l=o.proxy)==null?void 0:l.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot))return;if(!r.querySelector('style[data-shadow-styles="reduced-motion"]')){const c=document.createElement("style");c.setAttribute("data-shadow-styles","reduced-motion"),c.textContent=qy,r.appendChild(c)}const s=r.querySelector(`style[data-shadow-styles="${n}"]`);if(s){s.textContent!==e&&(s.textContent=e);return}const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,r.appendChild(i)})}const qy=`@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } -}`;function Wy(e){let t=0;for(let o=0;o"u"||!document.querySelectorAll)return null;const t=document.querySelectorAll("script[src]");for(let o=0;o{const s=document.createElement("script");s.src=e,(/^\/plugin-designs\//.test(e)||/\/index\.js(\?|$)/.test(e))&&(s.type="module"),s.onload=()=>a(),s.onerror=()=>{delete o.loaded[n],r(new Error("failed to load "+e))},document.head.appendChild(s)}),o.loaded[n])}function Ky(e,t){if(!e)return;const o=Zd(),n=t?Xd(t):"";if(!n)return;const a=o.owners[e];if(!a){o.owners[e]=n;return}a!==n&&typeof console<"u"&&console.warn&&console.warn("[dx-maps] <"+e+"> is shipped by two bundles on this page: "+a+" defined it, "+n+" executed and was discarded. The page is running the first one.")}const Yy=".stl{display:flow-root;width:100%;min-height:100%;background:#f3f3f1;color:#3b463d;font-family:Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--stl-accent:#92b195;--stl-border:#d1d4cd;--stl-elevated:#ffffff;--stl-muted:#6d766e}.stl-top{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid var(--stl-border);background:#fff;position:sticky;top:0;z-index:5}.stl-brand{display:inline-flex;align-items:center}.stl-brand:empty{display:none}.stl-title{font-size:15px;font-weight:600;letter-spacing:-.01em;color:#3b463d}.stl-meta{color:var(--stl-muted);font-size:12px;margin-inline-start:auto;display:inline-flex;align-items:center;gap:8px}.stl-stack{display:flex;flex-direction:column}.stl-sec{display:flex;flex-direction:column;min-width:0;border-bottom:1px solid var(--stl-border)}.stl-sec:last-child{border-bottom:0}.stl-sec-head{padding:12px 16px 8px;display:flex;align-items:baseline;gap:10px}.stl-sec-title{font-size:13px;font-weight:600;letter-spacing:.02em;color:#3b463d}.stl-sec-sub{font-size:12px;color:var(--stl-muted)}.stl-host{display:block;width:100%;min-width:0;position:relative}.stl-host>*{display:block;width:100%}.stl-host>*[style*=absolute],.stl-host>*[style*=fixed]{position:static!important;inset:auto!important}.stl-slot{display:block;width:100%}.stl-tail:empty{display:none}.stl-sec-fill{position:relative;overflow:hidden}.stl-sec-fill>.stl-host,.stl-sec-fill>.stl-slot{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.stl-sec-fill>.stl-host>*,.stl-sec-fill>.stl-slot>*{height:100%}.stl,.stl *{scrollbar-width:thin;scrollbar-color:#c4c8c0 transparent}.stl ::-webkit-scrollbar{width:8px;height:8px}.stl ::-webkit-scrollbar-track{background:transparent}.stl ::-webkit-scrollbar-thumb{background:#c4c8c0;border-radius:8px}.stl ::-webkit-scrollbar-thumb:hover{background:#9aa197}.stl ::-webkit-scrollbar-corner{background:transparent}",gn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},Zy="dx-maps".replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Jd(e){if(!e||/^(https?:)?\/\//.test(e)||e.startsWith("/"))return e;const t=e.replace(/^(\.\.\/)+/,"").replace(/^\.\//,""),o=new RegExp("^(.*/"+Zy+"/)").exec(window.location.pathname);if(o)return o[1]+t;const n=$i();return n?String(n).replace(/\/+$/,"")+"/"+t:e}function Xy(e){return Vy(Jd(e))}function Jy(e,t=5e3){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():customElements.whenDefined?Promise.race([customElements.whenDefined(e),new Promise((o,n)=>setTimeout(()=>n(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const Qy=` +}`;function Vy(e){let t=0;for(let o=0;o"u"||!document.querySelectorAll)return null;const t=document.querySelectorAll("script[src]");for(let o=0;o{const s=document.createElement("script");s.src=e,(/^\/plugin-designs\//.test(e)||/\/index\.js(\?|$)/.test(e))&&(s.type="module"),s.onload=()=>a(),s.onerror=()=>{delete o.loaded[n],r(new Error("failed to load "+e))},document.head.appendChild(s)}),o.loaded[n])}function Zy(e,t){if(!e)return;const o=Jd(),n=t?Qd(t):"";if(!n)return;const a=o.owners[e];if(!a){o.owners[e]=n;return}a!==n&&typeof console<"u"&&console.warn&&console.warn("[dx-maps] <"+e+"> is shipped by two bundles on this page: "+a+" defined it, "+n+" executed and was discarded. The page is running the first one.")}const Xy=".stl{display:flow-root;width:100%;min-height:100%;background:#f3f3f1;color:#3b463d;font-family:Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--stl-accent:#92b195;--stl-border:#d1d4cd;--stl-elevated:#ffffff;--stl-muted:#6d766e}.stl-top{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid var(--stl-border);background:#fff;position:sticky;top:0;z-index:5}.stl-brand{display:inline-flex;align-items:center}.stl-brand:empty{display:none}.stl-title{font-size:15px;font-weight:600;letter-spacing:-.01em;color:#3b463d}.stl-meta{color:var(--stl-muted);font-size:12px;margin-inline-start:auto;display:inline-flex;align-items:center;gap:8px}.stl-stack{display:flex;flex-direction:column}.stl-sec{display:flex;flex-direction:column;min-width:0;border-bottom:1px solid var(--stl-border)}.stl-sec:last-child{border-bottom:0}.stl-sec-head{padding:12px 16px 8px;display:flex;align-items:baseline;gap:10px}.stl-sec-title{font-size:13px;font-weight:600;letter-spacing:.02em;color:#3b463d}.stl-sec-sub{font-size:12px;color:var(--stl-muted)}.stl-host{display:block;width:100%;min-width:0;position:relative}.stl-host>*{display:block;width:100%}.stl-host>*[style*=absolute],.stl-host>*[style*=fixed]{position:static!important;inset:auto!important}.stl-slot{display:block;width:100%}.stl-tail:empty{display:none}.stl-sec-fill{position:relative;overflow:hidden}.stl-sec-fill>.stl-host,.stl-sec-fill>.stl-slot{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.stl-sec-fill>.stl-host>*,.stl-sec-fill>.stl-slot>*{height:100%}.stl,.stl *{scrollbar-width:thin;scrollbar-color:#c4c8c0 transparent}.stl ::-webkit-scrollbar{width:8px;height:8px}.stl ::-webkit-scrollbar-track{background:transparent}.stl ::-webkit-scrollbar-thumb{background:#c4c8c0;border-radius:8px}.stl ::-webkit-scrollbar-thumb:hover{background:#9aa197}.stl ::-webkit-scrollbar-corner{background:transparent}",gn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},Jy="dx-maps".replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function ep(e){if(!e||/^(https?:)?\/\//.test(e)||e.startsWith("/"))return e;const t=e.replace(/^(\.\.\/)+/,"").replace(/^\.\//,""),o=new RegExp("^(.*/"+Jy+"/)").exec(window.location.pathname);if(o)return o[1]+t;const n=vi();return n?String(n).replace(/\/+$/,"")+"/"+t:e}function Qy(e){return Yy(ep(e))}function ev(e,t=5e3){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():customElements.whenDefined?Promise.race([customElements.whenDefined(e),new Promise((o,n)=>setTimeout(()=>n(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const tv=` .stl { display:flow-root; width:100%; min-height:100%; background:#f3f3f1; color:#3b463d; font-family:'Public Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif; -webkit-font-smoothing:antialiased; --stl-accent:#92b195; --stl-border:#d1d4cd; --stl-elevated:#ffffff; --stl-muted:#6d766e; } .stl-top { display:flex; align-items:center; gap:10px; padding:11px 16px; border-bottom:1px solid var(--stl-border); background:#ffffff; position:sticky; top:0; z-index:5; } .stl-brand { display:inline-flex; align-items:center; } @@ -74,11 +74,11 @@ .stl ::-webkit-scrollbar-thumb { background:#c4c8c0; border-radius:8px; } .stl ::-webkit-scrollbar-thumb:hover { background:#9aa197; } .stl ::-webkit-scrollbar-corner { background:transparent; } -`,ev=Yn({name:"StackLayout",props:{sections:{type:Array,default:()=>[]},title:{type:String,default:""},maxSectionHeight:{type:String,default:""},minSectionHeight:{type:String,default:""}},setup(){Ht(Qy,"stack-layout")},data(){return{_hosts:{},_mounted:{}}},mounted(){for(const e of this.sections||[])e.element&&this.mountSection(e)},methods:{registerHost(e,t){t&&(this._hosts[e]=t)},sectionStyle(e){const t={},o=e.maxHeight||this.maxSectionHeight,n=e.minHeight||this.minSectionHeight,a=!!(o&&n&&o===n);return o&&(t.maxHeight=o,a||(t.overflow="auto")),n&&(t.minHeight=n),Object.keys(t).length?t:null},hasDefiniteHeight(e){const t=e.maxHeight||this.maxSectionHeight,o=e.minHeight||this.minSectionHeight;return!!(t&&o&&t===o)},mountSection(e){if(this._mounted[e.key])return;this._mounted[e.key]=!0;const t=this._hosts[e.key];t&&Xy(e.src).then(()=>Jy(e.element)).then(()=>{if(Ky(e.element,Jd(e.src)),!customElements.get(e.element))return;const o=document.createElement(e.element),n=e.attrs||{};for(const a in n){const r=n[a];try{o[a]=r}catch{}try{o.setAttribute(a,r==null?"":String(r))}catch{}}t.innerHTML="",t.appendChild(o)}).catch(o=>{const n=o&&o.message||String(o);console.error('[StackLayout] section "'+e.key+'" failed to mount <'+e.element+">"+(e.src?" from "+e.src:"")+": "+n);try{t.innerHTML="";const a=document.createElement("div");a.setAttribute("role","status"),a.style.cssText="box-sizing:border-box;max-width:100%;padding:16px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#6d766e;background:#fff;border:1px solid #d1d4cd;border-radius:8px;margin:12px 0;overflow-wrap:anywhere;word-break:break-word",a.textContent="Could not load <"+e.element+">"+(e.src?" from "+e.src:"")+" — "+n,t.appendChild(a)}catch{}})}}}),tv={class:"stl"},ov={key:0,class:"stl-top"},nv={class:"stl-brand"},av={key:0,class:"stl-title"},rv={class:"stl-meta"},sv={class:"stl-stack"},iv={key:0,class:"stl-sec-head"},lv={class:"stl-sec-title"},cv={key:0,class:"stl-sec-sub"},uv={key:2,class:"stl-slot"},dv={class:"stl-tail"};function pv(e,t,o,n,a,r){return Y(),Q("div",tv,[e.$slots.brand||e.$slots.meta||e.title?(Y(),Q("header",ov,[M("span",nv,[rn(e.$slots,"brand")]),e.title?(Y(),Q("b",av,re(e.title),1)):Ie("",!0),M("span",rv,[rn(e.$slots,"meta")])])):Ie("",!0),M("div",sv,[(Y(!0),Q(Me,null,nt(e.sections,s=>(Y(),Q("section",{key:s.key,class:Ke(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(s)}]),style:dt(e.sectionStyle(s))},[s.title?(Y(),Q("div",iv,[M("b",lv,re(s.title),1),s.sub?(Y(),Q("span",cv,re(s.sub),1)):Ie("",!0)])):Ie("",!0),s.element?(Y(),Q("div",{key:1,class:"stl-host",ref_for:!0,ref:i=>e.registerHost(s.key,i)},null,512)):(Y(),Q("div",uv,[rn(e.$slots,"section-"+s.key)]))],6))),128)),M("div",dv,[rn(e.$slots,"default")])])])}const gv=gn(ev,[["render",pv],["styles",[Yy]]]),fv=".lsn-bar[data-v-9a589f6f]{display:flex;align-items:flex-start;gap:8px;flex:none;margin:0;padding-block:8px;padding-inline:12px 8px;background:#fff8e1;border-block-end:1px solid #f0d68a;color:#4a3b00;font:400 13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-bar__text[data-v-9a589f6f]{flex:1 1 auto;margin:0}.lsn-bar__x[data-v-9a589f6f]{flex:none;min-width:24px;min-height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font:600 18px/1 system-ui,sans-serif;cursor:pointer}.lsn-bar__x[data-v-9a589f6f]:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}.lsn-block[data-v-9a589f6f]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:200px;padding:24px;background:#f7f7f5;color:#333;text-align:center;font:400 15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-block__text[data-v-9a589f6f]{max-width:28em;margin:0}",hv={key:0,class:"lsn-block",role:"status"},mv={class:"lsn-block__text"},_v={key:0},bv={key:1,class:"lsn-bar",role:"note"},$v={class:"lsn-bar__text"},yv=["aria-label","title"],Qd=gn({__name:"LargerScreenNotice",props:{mode:{type:String,required:!0},label:{type:String,default:""},locale:{type:String,default:""}},emits:["dismiss"],setup(e){const t=e,o=(s,i)=>we(s,t.locale||void 0)||i,n=te(()=>o("messages.largerScreenNotice","This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.")),a=te(()=>o("messages.noticeDismiss","Dismiss")),r=te(()=>o("messages.desktopOnlyNotice","{label} only supports desktop — open this page on a desktop to use it.").split("{label}"));return(s,i)=>e.mode==="desktop-only"?(Y(),Q("div",hv,[M("p",mv,[pt(re(r.value[0]),1),r.value.length>1?(Y(),Q("bdi",_v,re(e.label),1)):Ie("",!0),pt(re(r.value[1]||""),1)])])):(Y(),Q("div",bv,[M("p",$v,re(n.value),1),M("button",{type:"button",class:"lsn-bar__x","aria-label":a.value,title:a.value,onClick:i[0]||(i[0]=l=>s.$emit("dismiss"))},"×",8,yv)]))}},[["styles",[fv]],["__scopeId","data-v-9a589f6f"]]),vv="(max-width: 639.98px)";function wv(e){for(let t=e;t;t=t.parentNode||t.host)if(t.nodeType===1&&t.hasAttribute("data-doxa-gallery"))return!0;return!1}function xv(e){var l;const t=te(()=>{var u;const c=(u=e.value)==null?void 0:u.mobile;return c==="desktop-only"||c==="larger-screens"?c:null});let o=null;try{o=ch()}catch{o=null}const n=o?wv(o):!1,a=pe(!1);if(typeof window<"u"&&typeof window.matchMedia=="function"){const c=window.matchMedia(vv);a.value=c.matches;const u=d=>{a.value=d.matches};(l=c.addEventListener)==null||l.call(c,"change",u),Dt(()=>{var d;return(d=c.removeEventListener)==null?void 0:d.call(c,"change",u)})}const r=te(()=>{var c;return`dx-maps:larger-screens-dismissed:${((c=e.value)==null?void 0:c.profile)||""}`}),s=pe(!1);Qe(r,c=>{try{s.value=sessionStorage.getItem(c)==="1"}catch{s.value=!1}},{immediate:!0});function i(){s.value=!0;try{sessionStorage.setItem(r.value,"1")}catch{}}return{flag:t,blocked:te(()=>t.value==="desktop-only"&&a.value&&!n),advise:te(()=>t.value==="larger-screens"&&a.value&&!n&&!s.value),dismiss:i,label:te(()=>{var c,u;return String(((c=e.value)==null?void 0:c.mobileLabel)||((u=e.value)==null?void 0:u.profile)||"")})}}function wr(e,t){if(!t.includes("."))return e==null?void 0:e[t];const[o,...n]=t.split(".");let a=e==null?void 0:e[o];for(const r of n)a=a==null?void 0:a[r];return a}function kv(e,t){const o=e.toLowerCase(),n=t.toLowerCase(),a=[];let r=0,s=o.indexOf(n,r);for(;s!==-1;)a.push([s,s+n.length-1]),r=s+n.length,s=o.indexOf(n,r);return a}function ep(e,t,o){const n=e.toLowerCase(),a=t.toLowerCase(),r=a.length;if(!r||!n.length)return null;const s=Math.min(2,Math.floor(o*r));if(s<=0)return null;let i=new Array(n.length+1).fill(0),l=new Array(n.length+1);for(let g=1;g<=r;g++){l[0]=g;for(let w=1;w<=n.length;w++){const A=i[w-1]+(a[g-1]===n[w-1]?0:1);l[w]=Math.min(A,i[w]+1,l[w-1]+1)}[i,l]=[l,i]}let c=1/0,u=-1;for(let g=1;g<=n.length;g++)i[g]s?null:[[Math.max(0,u-r),u-1]]}function Sv(e,t){const o=String(e??""),n=String(t??"").trim();return n?o?o.toLowerCase().includes(n.toLowerCase()):!1:!0}function tp(e,t,{threshold:o=.4}={}){const n=String(e??"").trim().toLowerCase();if(!n)return[];const a=Math.min(2,Math.floor(o*n.length)),r=[];for(const i of t){if(!i)continue;const l=String(i).toLowerCase();if(Math.abs(l.length-n.length)>a)continue;const c=Av(l,n,a);c<=a&&r.push({value:i,distance:c})}if(!r.length)return[];const s=Math.min(...r.map(i=>i.distance));return r.filter(i=>i.distance===s).map(i=>i.value)}function Av(e,t,o){if(e===t)return 0;let n=Array.from({length:t.length+1},(r,s)=>s);const a=new Array(t.length+1);for(let r=1;r<=e.length;r++){a[0]=r;let s=r;for(let i=1;i<=t.length;i++)a[i]=Math.min(n[i-1]+(e[r-1]===t[i-1]?0:1),n[i]+1,a[i-1]+1),a[i]o)return o+1;for(let i=0;i<=t.length;i++)n[i]=a[i]}return n[t.length]}function Lv(e,t,{threshold:o=.4,minMatchCharLength:n=3}={}){const a=String(e??""),r=String(t??"").trim();return r?a?a.toLowerCase().includes(r.toLowerCase())?!0:o===0||r.length({item:c,matches:[]}));if(o.length!t[n[a]].includes(s))):r}}return t}function Pv(){const e=en({}),t=new Set,o=pe(0),n=pe(""),a=pe(null),r=new Map;function s(m,$){return r.has(m)||r.set(m,new Set),r.get(m).add($),()=>{var V;return(V=r.get(m))==null?void 0:V.delete($)}}function i(m,$){var V;(V=r.get(m))==null||V.forEach(I=>{try{I($)}catch{}})}let l={};function c(m){l=Cv(m)}function u(m,$){if(Array.isArray($)&&$.length===0&&($=null),Array.isArray($)&&$.length===1&&($=$[0]),$==null){delete e[m];for(const V of l[m]||[])delete e[V]}else e[m]=$;i("filter",e)}function d(){Object.keys(e).forEach(m=>delete e[m]),i("filter",e)}function g(m){const $=m===void 0?null:m;a.value!==$&&(a.value=$,i("hover",$))}function w(m){n.value=m==null?"":String(m),i("search",n.value)}function A(){o.value++,i("select",t)}function L(m){t.has(m)?t.delete(m):t.add(m),A()}function C(){t.size&&(t.clear(),A())}function F(m,{additive:$=!0}={}){let V=!1;$||t.size&&(t.clear(),V=!0);for(const I of m)t.has(I)||(t.add(I),V=!0);return V&&A(),V}function v(m){let $=!1;for(const V of m)t.delete(V)&&($=!0);return $&&A(),$}function k(m){const $=m instanceof Set?m:new Set(m);if($.size===t.size){let V=!0;for(const I of $)if(!t.has(I)){V=!1;break}if(V)return!1}t.clear();for(const V of $)t.add(V);return A(),!0}return{filterSet:e,selectionSet:t,selectionVersion:o,searchTerm:n,hoverKey:a,on:s,emit:i,setFilter:u,clearFilters:d,setSearch:w,setHover:g,configureHierarchy:c,toggleSelect:L,clearSelection:C,selectMany:F,deselectMany:v,setSelection:k,toggleFilterValue:x,facetMatches:f,isFilterActive:b,rowMatchesFilters:_};function f(m,$){return $==null?!0:Array.isArray($)?$.some(V=>m===V):m===$}function _(m,$){for(const V of Object.keys(e)){const I=$&&$[V];if(I&&!f(I(m),e[V]))return!1}return!0}function b(m,$){const V=e[m];return V==null?!1:Array.isArray(V)?V.includes($):V===$}function x(m,$){const V=e[m];if(V==null)return u(m,$);const I=Array.isArray(V)?V:[V],z=I.includes($)?I.filter(G=>G!==$):I.concat($);u(m,z.length?z:null)}}const ki={};function Si(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:hn&&hn.tagName.toUpperCase()==="SCRIPT"&&hn.src||new URL("dashboard-plus-grid.js",document.baseURI).href}<"u"&&(ki==null?void 0:ki.VITE_API_BASE_URL)||""}const Xt={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","imb_gsec","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},Ai={default:"doxa",lists:[{id:"doxa",aliases:["2000","project-2000"],label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them",source:"doxa",filter:null},{id:"unreached",aliases:["7000","project-7000"],label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)",source:"imb",filter:{lostness:[0,1,2]}},{id:"frontier",aliases:["4700","project-4700"],label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)",source:"imb",filter:{lostness:[0]}},{id:"frontier-500k",aliases:["700","project-700"],label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000",source:"imb",filter:{lostness:[0],minPopulation:5e5}},{id:"unengaged",aliases:[],label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged",source:"imb",filter:{lostness:[0,1,2],engagement:["Unengaged"]}}]},$a=Ai.default,Li=new Map;for(const e of Ai.lists){Li.set(e.id,e);for(const t of e.aliases||[])Li.set(String(t).toLowerCase(),e)}function Ev(e){return Li.get(String(e??"").toLowerCase().trim())||null}function op(e){let t=e;if(t&&typeof t=="object"&&"value"in t&&!("list"in t)&&!("profile"in t)&&(t=t.value),typeof t=="string")try{t=JSON.parse(t)}catch{t=null}return t&&typeof t=="object"?t:null}const np=new Set;function ap(e){const t=op(e),o=t==null?void 0:t.list,n=typeof location<"u"?new URLSearchParams(location.search).get("list"):null,a=typeof window<"u"?window.MAP_LIST:void 0,r=o||n||a||$a,s=Ev(r);return s?s.id:(np.has(r)||(np.add(r),console.warn(`[list] unknown people-group list "${r}", showing "${$a}". Known: ${Ai.lists.map(i=>i.id).join(", ")}`)),$a)}const xr=new Map;function Mv(e,t){const o=`${yi(op(t))}/people-groups/lists/${e}.json`;return xr.has(o)||xr.set(o,fetch(o).then(n=>{if(!n.ok)throw new Error(`HTTP ${n.status}`);return n.json()}).then(n=>new Set(Array.isArray(n==null?void 0:n.slugs)?n.slugs:[])).catch(n=>{throw xr.delete(o),new Error(`list "${e}" membership ${o}: ${n.message}`)})),xr.get(o)}async function ya(e,t,{key:o=n=>n==null?void 0:n.slug}={}){const n=ap(t);if(n===$a||!Array.isArray(e))return e;try{const a=await Mv(n,t);return e.filter(r=>a.has(o(r)))}catch(a){return console.error(`[list] ${a.message}. Showing no people groups rather than the wrong list.`),[]}}function Rv(e={}){const t=pe(!1),o=pe(null),n=Wn(new Map),a=Wn([]),r=pe(null),s=pe(0),i=e.source||Xt.activeSource;let l=null;try{l=Be("profileConfig",null)}catch{}let c=null;try{c=Be("lang",null)}catch{}async function u(){var d,g,w,A;t.value=!0,o.value=null;try{const L=((d=Xt==null?void 0:Xt.sources)==null?void 0:d[i])||{},C=Si(),F=((g=L.endpoints)==null?void 0:g.bulk)||"/api/people-groups/list",v=(L.defaultFields||[]).join(","),f=c&&c.value||pn()||""||((w=L.queryParams)==null?void 0:w.lang)||"en",_=`${C}${F}?${v?`fields=${v}&`:""}lang=${f}&_=${Date.now()}`,b=await fetch(_,{cache:"no-store"});if(!b.ok)throw new Error(`list HTTP ${b.status}`);const x=await b.json(),m=await ya(Array.isArray(x)?x:x.posts||x.data||x.results||[],l),$=new Map;for(const I of m){const z=I&&(I.slug||I.id);z&&$.set(z,I)}n.value=$,a.value=m,s.value=$.size;const V=((A=L.endpoints)==null?void 0:A.statistics)||"/api/people-groups/statistics";if(ap(l)===$a)try{const I=await fetch(`${C}${V}?_=${Date.now()}`,{cache:"no-store"});I.ok&&(I.headers.get("content-type")||"").includes("json")&&(r.value=await I.json())}catch{}s.value===0&&(o.value="No records loaded from the live API.")}catch(L){o.value=L&&L.message?L.message:String(L)}finally{t.value=!1}}return{loading:t,error:o,rowStore:n,rows:a,stats:r,total:s,load:u,sourceId:i}}const kr=["slug","name","imb_alternate_name","doxa_wagf_uid","imb_uid","imb_peid","imb_pgid","joshua_project_id","imb_affinity_code","latitude","longitude","country_code","region","wagf_region","wagf_block","wagf_member","imb_subregion","location_description","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","primary_language","imb_language_family","imb_language_class","imb_language_speakers","work_in_local_language","imb_is_indigenous","religion","imb_reg_of_religion_3","imb_reg_of_religion_4","population","imb_population_class","believers_count","evangelical_pct","imb_evangelical_level","imb_congregation_existing","people_praying","people_committed","committed_duration","adopted_by_churches","adopted_by_count","adopted_by_names","engagement_status","status","reason_engaged","reason_unlisted","global_start_date","workers_long_term","imb_church_planting","disciple_and_church_multiplication","imb_bible_available","imb_bible_translation_level","imb_bible_year_published","imb_bible_stories_available","imb_audio_scripture_available","imb_gospel_recordings_available","imb_jesus_film_available","imb_radio_broadcast_available","imb_total_resources_available","imb_gsec","imb_lostness_priority_index","imb_strategic_priority_index","has_photo","image_url","picture_credit","imb_people_description"];function Ti({rowStore:e,rows:t,selectionSet:o,filterSet:n,FACET_ACC:a,dataOpts:r={},labelFor:s=null,searchFilter:i=null,exportLabel:l="Research Dashboard",sources:c="",columns:u=null,wide:d=!0,filename:g="research-dashboard.csv",hookPrefix:w="__rdash",keyOf:A=C=>C&&(C.slug||C.id),rowMatches:L=(C,F)=>Object.keys(n).every(v=>{const k=F[v];if(!k)return!0;const f=n[v];return Array.isArray(f)?f.some(_=>k(C)===_):k(C)===f})}){let C=null,F=null,v=r.profileConfig||null;if(!v)try{v=Be("profileConfig",null)}catch{}function k(){return!d||!(r&&r.source)?Promise.resolve(null):F||(F=(async()=>{var Ae,Te,He;const H=r.source||Xt.activeSource,D=((Ae=Xt==null?void 0:Xt.sources)==null?void 0:Ae[H])||{},ae=Array.isArray(D.exportFields)&&D.exportFields.length?D.exportFields:kr,P=((Te=D.endpoints)==null?void 0:Te.bulk)||"/api/people-groups/list",Z=((He=D.queryParams)==null?void 0:He.lang)||"en",N=`${Si()}${P}?fields=${ae.join(",")}&lang=${Z}`,E=await fetch(N,{cache:"no-store"});if(!E.ok)throw new Error(`export list HTTP ${E.status}`);const W=await E.json(),me=await ya(Array.isArray(W)?W:W.posts||W.data||W.results||[],v),be=new Map;for(const Se of me){const $e=A(Se);$e&&be.set($e,Se)}return C=be,be})().catch(H=>{throw F=null,H}),F)}function f(H){if(!C)return H;const D=C.get(A(H));return D?{...H,...D}:H}function _(){const H=ae=>typeof i=="function"?i(ae):ae;return o&&o.size?[...o].map(ae=>e.value.get(ae)).filter(Boolean):Object.keys(n).length?H((t.value||[]).filter(ae=>L(ae,a))):H(t.value||[])}function b(){return o&&o.size?`selection (${o.size})`:Object.keys(n).length?"filter result":"all"}function x(H){return H==null?H:Array.isArray(H)?H.map(D=>x(D)).filter(D=>D!==""&&D!==null&&D!==void 0).join(" | "):typeof H=="object"?H.label??H.value??H.text??H.name??H.link??JSON.stringify(H):H}function m(H){const D={};for(const ae of Object.keys(H))D[ae]=x(H[ae]);return D}function $(H){let D=H==null?"":String(H);return/^[=+\-@]/.test(D)&&(D="'"+D),/[",\n\r]/.test(D)&&(D='"'+D.replace(/"/g,'""')+'"'),D}function V(){const H=_().map(f).map(m),D=H.reduce((E,W)=>(Object.keys(W).forEach(me=>E.add(me)),E),new Set),ae=Array.isArray(u)&&u.length?u.slice():[...kr.filter(E=>D.has(E)),...[...D].filter(E=>!kr.includes(E))],P=Object.entries(n).map(([E,W])=>`${E}=${s?s(E,W):W}`).join(" | ")||"none",Z=`# ${l} export — scope: ${b()}; filters: ${P}; rows: ${H.length}`+(c?`; sources: ${c}`:"");return[ae.map($).join(","),...H.map(E=>ae.map(W=>$(E[W])).join(",")),Z].join(`\r +`,ov=Zn({name:"StackLayout",props:{sections:{type:Array,default:()=>[]},title:{type:String,default:""},maxSectionHeight:{type:String,default:""},minSectionHeight:{type:String,default:""}},setup(){Ht(tv,"stack-layout")},data(){return{_hosts:{},_mounted:{}}},mounted(){for(const e of this.sections||[])e.element&&this.mountSection(e)},methods:{registerHost(e,t){t&&(this._hosts[e]=t)},sectionStyle(e){const t={},o=e.maxHeight||this.maxSectionHeight,n=e.minHeight||this.minSectionHeight,a=!!(o&&n&&o===n);return o&&(t.maxHeight=o,a||(t.overflow="auto")),n&&(t.minHeight=n),Object.keys(t).length?t:null},hasDefiniteHeight(e){const t=e.maxHeight||this.maxSectionHeight,o=e.minHeight||this.minSectionHeight;return!!(t&&o&&t===o)},mountSection(e){if(this._mounted[e.key])return;this._mounted[e.key]=!0;const t=this._hosts[e.key];t&&Qy(e.src).then(()=>ev(e.element)).then(()=>{if(Zy(e.element,ep(e.src)),!customElements.get(e.element))return;const o=document.createElement(e.element),n=e.attrs||{};for(const a in n){const r=n[a];try{o[a]=r}catch{}try{o.setAttribute(a,r==null?"":String(r))}catch{}}t.innerHTML="",t.appendChild(o)}).catch(o=>{const n=o&&o.message||String(o);console.error('[StackLayout] section "'+e.key+'" failed to mount <'+e.element+">"+(e.src?" from "+e.src:"")+": "+n);try{t.innerHTML="";const a=document.createElement("div");a.setAttribute("role","status"),a.style.cssText="box-sizing:border-box;max-width:100%;padding:16px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#6d766e;background:#fff;border:1px solid #d1d4cd;border-radius:8px;margin:12px 0;overflow-wrap:anywhere;word-break:break-word",a.textContent="Could not load <"+e.element+">"+(e.src?" from "+e.src:"")+" — "+n,t.appendChild(a)}catch{}})}}}),nv={class:"stl"},av={key:0,class:"stl-top"},rv={class:"stl-brand"},sv={key:0,class:"stl-title"},iv={class:"stl-meta"},lv={class:"stl-stack"},cv={key:0,class:"stl-sec-head"},uv={class:"stl-sec-title"},dv={key:0,class:"stl-sec-sub"},pv={key:2,class:"stl-slot"},gv={class:"stl-tail"};function fv(e,t,o,n,a,r){return Y(),Q("div",nv,[e.$slots.brand||e.$slots.meta||e.title?(Y(),Q("header",av,[M("span",rv,[sn(e.$slots,"brand")]),e.title?(Y(),Q("b",sv,re(e.title),1)):Ie("",!0),M("span",iv,[sn(e.$slots,"meta")])])):Ie("",!0),M("div",lv,[(Y(!0),Q(Me,null,nt(e.sections,s=>(Y(),Q("section",{key:s.key,class:Ke(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(s)}]),style:dt(e.sectionStyle(s))},[s.title?(Y(),Q("div",cv,[M("b",uv,re(s.title),1),s.sub?(Y(),Q("span",dv,re(s.sub),1)):Ie("",!0)])):Ie("",!0),s.element?(Y(),Q("div",{key:1,class:"stl-host",ref_for:!0,ref:i=>e.registerHost(s.key,i)},null,512)):(Y(),Q("div",pv,[sn(e.$slots,"section-"+s.key)]))],6))),128)),M("div",gv,[sn(e.$slots,"default")])])])}const hv=gn(ov,[["render",fv],["styles",[Xy]]]),mv=".lsn-bar[data-v-9a589f6f]{display:flex;align-items:flex-start;gap:8px;flex:none;margin:0;padding-block:8px;padding-inline:12px 8px;background:#fff8e1;border-block-end:1px solid #f0d68a;color:#4a3b00;font:400 13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-bar__text[data-v-9a589f6f]{flex:1 1 auto;margin:0}.lsn-bar__x[data-v-9a589f6f]{flex:none;min-width:24px;min-height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font:600 18px/1 system-ui,sans-serif;cursor:pointer}.lsn-bar__x[data-v-9a589f6f]:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}.lsn-block[data-v-9a589f6f]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:200px;padding:24px;background:#f7f7f5;color:#333;text-align:center;font:400 15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-block__text[data-v-9a589f6f]{max-width:28em;margin:0}",_v={key:0,class:"lsn-block",role:"status"},bv={class:"lsn-block__text"},$v={key:0},yv={key:1,class:"lsn-bar",role:"note"},vv={class:"lsn-bar__text"},wv=["aria-label","title"],tp=gn({__name:"LargerScreenNotice",props:{mode:{type:String,required:!0},label:{type:String,default:""},locale:{type:String,default:""}},emits:["dismiss"],setup(e){const t=e,o=(s,i)=>we(s,t.locale||void 0)||i,n=te(()=>o("messages.largerScreenNotice","This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.")),a=te(()=>o("messages.noticeDismiss","Dismiss")),r=te(()=>o("messages.desktopOnlyNotice","{label} only supports desktop — open this page on a desktop to use it.").split("{label}"));return(s,i)=>e.mode==="desktop-only"?(Y(),Q("div",_v,[M("p",bv,[pt(re(r.value[0]),1),r.value.length>1?(Y(),Q("bdi",$v,re(e.label),1)):Ie("",!0),pt(re(r.value[1]||""),1)])])):(Y(),Q("div",yv,[M("p",vv,re(n.value),1),M("button",{type:"button",class:"lsn-bar__x","aria-label":a.value,title:a.value,onClick:i[0]||(i[0]=l=>s.$emit("dismiss"))},"×",8,wv)]))}},[["styles",[mv]],["__scopeId","data-v-9a589f6f"]]),xv="(max-width: 639.98px)";function kv(e){for(let t=e;t;t=t.parentNode||t.host)if(t.nodeType===1&&t.hasAttribute("data-doxa-gallery"))return!0;return!1}function Sv(e){var l;const t=te(()=>{var u;const c=(u=e.value)==null?void 0:u.mobile;return c==="desktop-only"||c==="larger-screens"?c:null});let o=null;try{o=dh()}catch{o=null}const n=o?kv(o):!1,a=pe(!1);if(typeof window<"u"&&typeof window.matchMedia=="function"){const c=window.matchMedia(xv);a.value=c.matches;const u=d=>{a.value=d.matches};(l=c.addEventListener)==null||l.call(c,"change",u),Dt(()=>{var d;return(d=c.removeEventListener)==null?void 0:d.call(c,"change",u)})}const r=te(()=>{var c;return`dx-maps:larger-screens-dismissed:${((c=e.value)==null?void 0:c.profile)||""}`}),s=pe(!1);Qe(r,c=>{try{s.value=sessionStorage.getItem(c)==="1"}catch{s.value=!1}},{immediate:!0});function i(){s.value=!0;try{sessionStorage.setItem(r.value,"1")}catch{}}return{flag:t,blocked:te(()=>t.value==="desktop-only"&&a.value&&!n),advise:te(()=>t.value==="larger-screens"&&a.value&&!n&&!s.value),dismiss:i,label:te(()=>{var c,u;return String(((c=e.value)==null?void 0:c.mobileLabel)||((u=e.value)==null?void 0:u.profile)||"")})}}function wr(e,t){if(!t.includes("."))return e==null?void 0:e[t];const[o,...n]=t.split(".");let a=e==null?void 0:e[o];for(const r of n)a=a==null?void 0:a[r];return a}function Av(e,t){const o=e.toLowerCase(),n=t.toLowerCase(),a=[];let r=0,s=o.indexOf(n,r);for(;s!==-1;)a.push([s,s+n.length-1]),r=s+n.length,s=o.indexOf(n,r);return a}function op(e,t,o){const n=e.toLowerCase(),a=t.toLowerCase(),r=a.length;if(!r||!n.length)return null;const s=Math.min(2,Math.floor(o*r));if(s<=0)return null;let i=new Array(n.length+1).fill(0),l=new Array(n.length+1);for(let g=1;g<=r;g++){l[0]=g;for(let w=1;w<=n.length;w++){const A=i[w-1]+(a[g-1]===n[w-1]?0:1);l[w]=Math.min(A,i[w]+1,l[w-1]+1)}[i,l]=[l,i]}let c=1/0,u=-1;for(let g=1;g<=n.length;g++)i[g]s?null:[[Math.max(0,u-r),u-1]]}function Lv(e,t){const o=String(e??""),n=String(t??"").trim();return n?o?o.toLowerCase().includes(n.toLowerCase()):!1:!0}function np(e,t,{threshold:o=.4}={}){const n=String(e??"").trim().toLowerCase();if(!n)return[];const a=Math.min(2,Math.floor(o*n.length)),r=[];for(const i of t){if(!i)continue;const l=String(i).toLowerCase();if(Math.abs(l.length-n.length)>a)continue;const c=Tv(l,n,a);c<=a&&r.push({value:i,distance:c})}if(!r.length)return[];const s=Math.min(...r.map(i=>i.distance));return r.filter(i=>i.distance===s).map(i=>i.value)}function Tv(e,t,o){if(e===t)return 0;let n=Array.from({length:t.length+1},(r,s)=>s);const a=new Array(t.length+1);for(let r=1;r<=e.length;r++){a[0]=r;let s=r;for(let i=1;i<=t.length;i++)a[i]=Math.min(n[i-1]+(e[r-1]===t[i-1]?0:1),n[i]+1,a[i-1]+1),a[i]o)return o+1;for(let i=0;i<=t.length;i++)n[i]=a[i]}return n[t.length]}function Cv(e,t,{threshold:o=.4,minMatchCharLength:n=3}={}){const a=String(e??""),r=String(t??"").trim();return r?a?a.toLowerCase().includes(r.toLowerCase())?!0:o===0||r.length({item:c,matches:[]}));if(o.length!t[n[a]].includes(s))):r}}return t}function Mv(){const e=tn({}),t=new Set,o=pe(0),n=pe(""),a=pe(null),r=new Map;function s(m,$){return r.has(m)||r.set(m,new Set),r.get(m).add($),()=>{var V;return(V=r.get(m))==null?void 0:V.delete($)}}function i(m,$){var V;(V=r.get(m))==null||V.forEach(I=>{try{I($)}catch{}})}let l={};function c(m){l=Ev(m)}function u(m,$){if(Array.isArray($)&&$.length===0&&($=null),Array.isArray($)&&$.length===1&&($=$[0]),$==null){delete e[m];for(const V of l[m]||[])delete e[V]}else e[m]=$;i("filter",e)}function d(){Object.keys(e).forEach(m=>delete e[m]),i("filter",e)}function g(m){const $=m===void 0?null:m;a.value!==$&&(a.value=$,i("hover",$))}function w(m){n.value=m==null?"":String(m),i("search",n.value)}function A(){o.value++,i("select",t)}function L(m){t.has(m)?t.delete(m):t.add(m),A()}function C(){t.size&&(t.clear(),A())}function F(m,{additive:$=!0}={}){let V=!1;$||t.size&&(t.clear(),V=!0);for(const I of m)t.has(I)||(t.add(I),V=!0);return V&&A(),V}function v(m){let $=!1;for(const V of m)t.delete(V)&&($=!0);return $&&A(),$}function k(m){const $=m instanceof Set?m:new Set(m);if($.size===t.size){let V=!0;for(const I of $)if(!t.has(I)){V=!1;break}if(V)return!1}t.clear();for(const V of $)t.add(V);return A(),!0}return{filterSet:e,selectionSet:t,selectionVersion:o,searchTerm:n,hoverKey:a,on:s,emit:i,setFilter:u,clearFilters:d,setSearch:w,setHover:g,configureHierarchy:c,toggleSelect:L,clearSelection:C,selectMany:F,deselectMany:v,setSelection:k,toggleFilterValue:x,facetMatches:f,isFilterActive:b,rowMatchesFilters:_};function f(m,$){return $==null?!0:Array.isArray($)?$.some(V=>m===V):m===$}function _(m,$){for(const V of Object.keys(e)){const I=$&&$[V];if(I&&!f(I(m),e[V]))return!1}return!0}function b(m,$){const V=e[m];return V==null?!1:Array.isArray(V)?V.includes($):V===$}function x(m,$){const V=e[m];if(V==null)return u(m,$);const I=Array.isArray(V)?V:[V],z=I.includes($)?I.filter(G=>G!==$):I.concat($);u(m,z.length?z:null)}}const Ai={};function Li(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:hn&&hn.tagName.toUpperCase()==="SCRIPT"&&hn.src||new URL("dashboard-plus-grid.js",document.baseURI).href}<"u"&&(Ai==null?void 0:Ai.VITE_API_BASE_URL)||""}const Xt={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","imb_gsec","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},Ti={default:"doxa",lists:[{id:"doxa",aliases:["2000","project-2000"],label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them",source:"doxa",filter:null},{id:"unreached",aliases:["7000","project-7000"],label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)",source:"imb",filter:{lostness:[0,1,2]}},{id:"frontier",aliases:["4700","project-4700"],label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)",source:"imb",filter:{lostness:[0]}},{id:"frontier-500k",aliases:["700","project-700"],label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000",source:"imb",filter:{lostness:[0],minPopulation:5e5}},{id:"unengaged",aliases:[],label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged",source:"imb",filter:{lostness:[0,1,2],engagement:["Unengaged"]}}]},$a=Ti.default,Ci=new Map;for(const e of Ti.lists){Ci.set(e.id,e);for(const t of e.aliases||[])Ci.set(String(t).toLowerCase(),e)}function Rv(e){return Ci.get(String(e??"").toLowerCase().trim())||null}function ap(e){let t=e;if(t&&typeof t=="object"&&"value"in t&&!("list"in t)&&!("profile"in t)&&(t=t.value),typeof t=="string")try{t=JSON.parse(t)}catch{t=null}return t&&typeof t=="object"?t:null}const rp=new Set;function sp(e){const t=ap(e),o=t==null?void 0:t.list,n=typeof location<"u"?new URLSearchParams(location.search).get("list"):null,a=typeof window<"u"?window.MAP_LIST:void 0,r=o||n||a||$a,s=Rv(r);return s?s.id:(rp.has(r)||(rp.add(r),console.warn(`[list] unknown people-group list "${r}", showing "${$a}". Known: ${Ti.lists.map(i=>i.id).join(", ")}`)),$a)}const xr=new Map;function Fv(e,t){const o=`${wi(ap(t))}/people-groups/lists/${e}.json`;return xr.has(o)||xr.set(o,fetch(o).then(n=>{if(!n.ok)throw new Error(`HTTP ${n.status}`);return n.json()}).then(n=>new Set(Array.isArray(n==null?void 0:n.slugs)?n.slugs:[])).catch(n=>{throw xr.delete(o),new Error(`list "${e}" membership ${o}: ${n.message}`)})),xr.get(o)}async function ya(e,t,{key:o=n=>n==null?void 0:n.slug}={}){const n=sp(t);if(n===$a||!Array.isArray(e))return e;try{const a=await Fv(n,t);return e.filter(r=>a.has(o(r)))}catch(a){return console.error(`[list] ${a.message}. Showing no people groups rather than the wrong list.`),[]}}function Nv(e={}){const t=pe(!1),o=pe(null),n=qn(new Map),a=qn([]),r=pe(null),s=pe(0),i=e.source||Xt.activeSource;let l=null;try{l=Be("profileConfig",null)}catch{}let c=null;try{c=Be("lang",null)}catch{}async function u(){var d,g,w,A;t.value=!0,o.value=null;try{const L=((d=Xt==null?void 0:Xt.sources)==null?void 0:d[i])||{},C=Li(),F=((g=L.endpoints)==null?void 0:g.bulk)||"/api/people-groups/list",v=(L.defaultFields||[]).join(","),f=c&&c.value||Vo()||""||((w=L.queryParams)==null?void 0:w.lang)||"en",_=`${C}${F}?${v?`fields=${v}&`:""}lang=${f}&_=${Date.now()}`,b=await fetch(_,{cache:"no-store"});if(!b.ok)throw new Error(`list HTTP ${b.status}`);const x=await b.json(),m=await ya(Array.isArray(x)?x:x.posts||x.data||x.results||[],l),$=new Map;for(const I of m){const z=I&&(I.slug||I.id);z&&$.set(z,I)}n.value=$,a.value=m,s.value=$.size;const V=((A=L.endpoints)==null?void 0:A.statistics)||"/api/people-groups/statistics";if(sp(l)===$a)try{const I=await fetch(`${C}${V}?_=${Date.now()}`,{cache:"no-store"});I.ok&&(I.headers.get("content-type")||"").includes("json")&&(r.value=await I.json())}catch{}s.value===0&&(o.value="No records loaded from the live API.")}catch(L){o.value=L&&L.message?L.message:String(L)}finally{t.value=!1}}return{loading:t,error:o,rowStore:n,rows:a,stats:r,total:s,load:u,sourceId:i}}const kr=["slug","name","imb_alternate_name","doxa_wagf_uid","imb_uid","imb_peid","imb_pgid","joshua_project_id","imb_affinity_code","latitude","longitude","country_code","region","wagf_region","wagf_block","wagf_member","imb_subregion","location_description","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","primary_language","imb_language_family","imb_language_class","imb_language_speakers","work_in_local_language","imb_is_indigenous","religion","imb_reg_of_religion_3","imb_reg_of_religion_4","population","imb_population_class","believers_count","evangelical_pct","imb_evangelical_level","imb_congregation_existing","people_praying","people_committed","committed_duration","adopted_by_churches","adopted_by_count","adopted_by_names","engagement_status","status","reason_engaged","reason_unlisted","global_start_date","workers_long_term","imb_church_planting","disciple_and_church_multiplication","imb_bible_available","imb_bible_translation_level","imb_bible_year_published","imb_bible_stories_available","imb_audio_scripture_available","imb_gospel_recordings_available","imb_jesus_film_available","imb_radio_broadcast_available","imb_total_resources_available","imb_gsec","imb_lostness_priority_index","imb_strategic_priority_index","has_photo","image_url","picture_credit","imb_people_description"];function Pi({rowStore:e,rows:t,selectionSet:o,filterSet:n,FACET_ACC:a,dataOpts:r={},labelFor:s=null,searchFilter:i=null,exportLabel:l="Research Dashboard",sources:c="",columns:u=null,wide:d=!0,filename:g="research-dashboard.csv",hookPrefix:w="__rdash",keyOf:A=C=>C&&(C.slug||C.id),rowMatches:L=(C,F)=>Object.keys(n).every(v=>{const k=F[v];if(!k)return!0;const f=n[v];return Array.isArray(f)?f.some(_=>k(C)===_):k(C)===f})}){let C=null,F=null,v=r.profileConfig||null;if(!v)try{v=Be("profileConfig",null)}catch{}function k(){return!d||!(r&&r.source)?Promise.resolve(null):F||(F=(async()=>{var Ae,Te,He;const H=r.source||Xt.activeSource,D=((Ae=Xt==null?void 0:Xt.sources)==null?void 0:Ae[H])||{},ae=Array.isArray(D.exportFields)&&D.exportFields.length?D.exportFields:kr,P=((Te=D.endpoints)==null?void 0:Te.bulk)||"/api/people-groups/list",Z=((He=D.queryParams)==null?void 0:He.lang)||"en",N=`${Li()}${P}?fields=${ae.join(",")}&lang=${Z}`,E=await fetch(N,{cache:"no-store"});if(!E.ok)throw new Error(`export list HTTP ${E.status}`);const W=await E.json(),me=await ya(Array.isArray(W)?W:W.posts||W.data||W.results||[],v),be=new Map;for(const Se of me){const $e=A(Se);$e&&be.set($e,Se)}return C=be,be})().catch(H=>{throw F=null,H}),F)}function f(H){if(!C)return H;const D=C.get(A(H));return D?{...H,...D}:H}function _(){const H=ae=>typeof i=="function"?i(ae):ae;return o&&o.size?[...o].map(ae=>e.value.get(ae)).filter(Boolean):Object.keys(n).length?H((t.value||[]).filter(ae=>L(ae,a))):H(t.value||[])}function b(){return o&&o.size?`selection (${o.size})`:Object.keys(n).length?"filter result":"all"}function x(H){return H==null?H:Array.isArray(H)?H.map(D=>x(D)).filter(D=>D!==""&&D!==null&&D!==void 0).join(" | "):typeof H=="object"?H.label??H.value??H.text??H.name??H.link??JSON.stringify(H):H}function m(H){const D={};for(const ae of Object.keys(H))D[ae]=x(H[ae]);return D}function $(H){let D=H==null?"":String(H);return/^[=+\-@]/.test(D)&&(D="'"+D),/[",\n\r]/.test(D)&&(D='"'+D.replace(/"/g,'""')+'"'),D}function V(){const H=_().map(f).map(m),D=H.reduce((E,W)=>(Object.keys(W).forEach(me=>E.add(me)),E),new Set),ae=Array.isArray(u)&&u.length?u.slice():[...kr.filter(E=>D.has(E)),...[...D].filter(E=>!kr.includes(E))],P=Object.entries(n).map(([E,W])=>`${E}=${s?s(E,W):W}`).join(" | ")||"none",Z=`# ${l} export — scope: ${b()}; filters: ${P}; rows: ${H.length}`+(c?`; sources: ${c}`:"");return[ae.map($).join(","),...H.map(E=>ae.map(W=>$(E[W])).join(",")),Z].join(`\r `)}const I={rows:0,clipboard:!1,downloaded:!1,at:0,fields:0,wide:!1};function z(){const H=V(),D=_().length,ae=(H.split(`\r -`)[0]||"").split(",").length;try{typeof window<"u"&&(window[w+"LastCsv"]=H)}catch{}let P=!1,Z=!1;try{typeof navigator<"u"&&navigator.clipboard&&navigator.clipboard.writeText&&(navigator.clipboard.writeText(H).catch(()=>{}),P=!0)}catch{}try{const N=new Blob([H],{type:"text/csv;charset=utf-8"}),E=URL.createObjectURL(N),W=document.createElement("a");W.href=E,W.download=g,W.style.display="none",document.body.appendChild(W),W.click(),Z=!0,setTimeout(()=>{try{URL.revokeObjectURL(E),W.remove()}catch{}},200)}catch{}Object.assign(I,{rows:D,clipboard:P,downloaded:Z,fields:ae,wide:!!C,at:typeof performance<"u"?performance.now():0});try{window[w+"ExportStatus"]={rows:D,clipboard:P,downloaded:Z,fields:ae,wide:!!C}}catch{}return{csv:H,rows:D,clipboard:P,downloaded:Z,fields:ae,wide:!!C}}async function G(){try{await k()}catch{}return z()}function ce(){try{return k()}catch{return null}}return{exportCsv:z,exportCsvAsync:G,buildCsv:V,pickRows:_,scopeLabel:b,lastExport:I,prefetchExportFields:ce,EXPORT_FIELDS:kr}}const Fv=e=>String(e??"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,40),Fn=e=>String(e).replace(/[%;:*+,&|]/g,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()).replace(/ /g,"+"),rp=/[,|]/,Sr=e=>{try{return decodeURIComponent(String(e).replace(/\+/g,"%20"))}catch{return String(e).replace(/\+/g," ")}};function Nv(e,t,{labelFor:o,hashKey:n="f",searchKey:a="q"}={}){const r=Object.entries(e||{}).map(([i,l])=>{if(Array.isArray(l))return i+":"+l.map(Fn).join(",");const c=typeof o=="function"?o(i,l):null,u=c&&String(c)!==String(l)?Fv(c):"";return i+":"+Fn(l)+(u?"*"+u:"")}),s=String(t??"").trim();return"#"+n+"="+r.join(";")+(s?"&"+a+"="+Fn(s):"")}function Ov(e,{hashKey:t="f",searchKey:o="q"}={}){const n={filters:{},search:""},a=String(e||""),r=new RegExp("[#&]"+o+"=([^&]*)").exec(a);r&&(n.search=Sr(r[1]));const s=new RegExp("[#&]"+t+"=([^&]*)").exec(a);if(!s)return n;const i=s[1];if(i.startsWith("{")||i.startsWith("%7B")||i.startsWith("%7b")){try{n.filters=JSON.parse(decodeURIComponent(i))}catch{}return n}for(const l of i.split(";")){const c=l.indexOf(":");if(c<1)continue;const u=l.slice(0,c),g=l.slice(c+1).split("*")[0].split(rp).map(Sr).filter(Boolean);u&&g.length&&(n.filters[u]=g.length>1?g:g[0])}return n}const Iv=e=>{if(Array.isArray(e)){const o=new Set(e);return n=>o.has(n)?n:null}const t=e&&typeof e=="object"?e:{};return o=>Object.prototype.hasOwnProperty.call(t,o)?t[o]:null},zv=e=>{if(!e||Array.isArray(e))return o=>o;const t=Object.fromEntries(Object.entries(e).map(([o,n])=>[n,o]));return o=>Object.prototype.hasOwnProperty.call(t,o)?t[o]:o};function Dv(e,t,o="",{searchKey:n="q",facetKeys:a}={}){const r=zv(a),s=[],i=new Set([...Object.keys(e||{}).map(r),n]);for(const d of String(o||"").replace(/^\?/,"").split("&")){if(!d)continue;const g=d.split("=")[0];i.has(g)||s.push(d)}const l=Object.entries(e||{}).map(([d,g])=>r(d)+"="+(Array.isArray(g)?g.map(Fn).join(","):Fn(g))),c=String(t??"").trim();c&&l.push(n+"="+Fn(c));const u=[...s,...l];return u.length?"?"+u.join("&"):""}function Bv(e,t=[],{searchKey:o="q"}={}){const n={filters:{},search:""},a=Iv(t);for(const r of String(e||"").replace(/^\?/,"").split("&")){if(!r)continue;const s=r.indexOf("=");if(s<1)continue;const i=r.slice(0,s),l=r.slice(s+1);if(i===o){n.search=Sr(l);continue}const c=a(i);if(!c)continue;const u=l.split(rp).map(Sr).filter(Boolean);u.length&&(n.filters[c]=u.length>1?u:u[0])}return n}function Hv(e,t={}){const{mode:o="hash",write:n=!0,facetKeys:a}=t;Qe(()=>{var s;return{...e.filterSet,__q:(s=e.searchTerm)==null?void 0:s.value}},()=>{var s,i;try{if(typeof location>"u"||!n)return;const l=o==="query"?Dv(e.filterSet,(s=e.searchTerm)==null?void 0:s.value,location.search,{...t,facetKeys:a})+location.hash:location.search+Nv(e.filterSet,(i=e.searchTerm)==null?void 0:i.value,t);history.replaceState(null,"",location.pathname+l)}catch{}},{deep:!0}),vt(()=>{try{if(typeof location>"u")return;const{filters:s,search:i}=o==="query"?Bv(location.search,a||Object.keys(e.filterSet||{}),t):Ov(location.hash,t);Object.entries(s).forEach(([l,c])=>e.setFilter(l,c)),i&&typeof e.setSearch=="function"&&e.setSearch(i)}catch{}})}const Uv=(e,t)=>Object.fromEntries(Object.entries(e||{}).map(([o,n])=>[o,t(n,o)]));function va(e){const t=Uv(e.facets,a=>a.get),o=Object.fromEntries((e.columns||[]).map(a=>[a.key,a.get])),n=Array.isArray(e.searchKeys)?e.searchKeys:null;return n?n.map(a=>t[a]||o[a]).filter(a=>typeof a=="function"):(e.columns||[]).filter(a=>a.type!=="num"&&typeof a.get=="function").map(a=>a.get)}function wa(e,t){const o=(a,r)=>{var i;const s=(((i=e==null?void 0:e.searchTerm)==null?void 0:i.value)||"").trim();if(!s)return!0;for(const l of t){const c=l(a);if(c!=null&&r(String(c),s,{threshold:.4,minMatchCharLength:3}))return!0}return!1},n=a=>o(a,Lv);return n.exact=a=>o(a,Sv),n.active=()=>{var a;return!!(((a=e==null?void 0:e.searchTerm)==null?void 0:a.value)||"").trim()},n.term=()=>{var a;return(((a=e==null?void 0:e.searchTerm)==null?void 0:a.value)||"").trim()},n.accessors=t,n}function Nn(e,t){if(!t.active())return e;const o=e.filter(t.exact);if(o.length)return o;const n=t.term(),a=new Set;for(const s of t.accessors)for(const i of e){const l=s(i);l!=null&&l!==""&&a.add(String(l))}const r=new Set(tp(n,[...a],{threshold:.4}));if(r.size){const s=e.filter(i=>t.accessors.some(l=>{const c=l(i);return c!=null&&r.has(String(c))}));if(s.length)return s}return e.filter(t)}const jv="en-US",Zo=e=>Number(e).toLocaleString(jv),Gv="#6b7280";function Wv(){const e=vr(Mo.AFFINITY_BLOCK);return e&&e.propertyKey==="affinityBlock"&&e.palette?e.palette:{}}function qv(e,t){const o=Wv();return e&&o[e]?o[e]:Gv}function Vv(e){return(e==null?void 0:e.properties)||e||{}}function Ci(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function Kv(e){var t;return String(e.affinityBlock||Ci((t=e._raw)==null?void 0:t.rop1)||"").trim()}function Yv(e){var t;return String(e.affinityBlockLabel||((t=e._raw)!=null&&t.rop1&&typeof e._raw.rop1=="object"?e._raw.rop1.label:"")||"").trim()}function Zv(e){var t;return String(e.cluster||Ci((t=e._raw)==null?void 0:t.imb_reg_of_people_2)||"").trim()}function Xv(e){var t;return String(e.clusterLabel||((t=e._raw)!=null&&t.imb_reg_of_people_2&&typeof e._raw.imb_reg_of_people_2=="object"?e._raw.imb_reg_of_people_2.label:"")||"").trim()}function Jv(e){var t;return String(e.peopleGroup||Ci((t=e._raw)==null?void 0:t.imb_reg_of_people_25)||"").trim()}function Qv(e){var t;return String(e.peopleGroupLabel||((t=e._raw)!=null&&t.imb_reg_of_people_25&&typeof e._raw.imb_reg_of_people_25=="object"?e._raw.imb_reg_of_people_25.label:"")||e.name||"").trim()}function ew(e){var t;return String(e.uniqueId||e.slug||((t=e._raw)==null?void 0:t.slug)||"").trim()}function tw(e){var t;return String(e.name||e.displayName||((t=e._raw)==null?void 0:t.name)||"").trim()}function ow(e){var o;const t=Number(e.population??e.populationNum??((o=e._raw)==null?void 0:o.population)??0);return Number.isFinite(t)?t:0}function nw(e){return String(e.countryName||e.country||e.countryIsoLabel||e.countryIso||"").trim()}function aw(e){const t=te(()=>{const r=e&&e.value||[],s=new Map;for(const i of r){const l=Vv(i),c=Kv(l),u=Yv(l)||c||"— Unknown —",d=Zv(l),g=Xv(l)||d||"— Unknown —",w=Jv(l),A=Qv(l)||w||"— Unknown —",L=ew(l),C=tw(l)||L,F=ow(l),v=nw(l);if(!L)continue;let k=s.get(c||"__unknown__");k||(k={code:c,label:u,count:0,pop:0,memberIds:[],clusters:new Map},s.set(c||"__unknown__",k)),k.count+=1,k.pop+=F,k.memberIds.push(L);let f=k.clusters.get(d||"__unknown__");f||(f={code:d,label:g,count:0,pop:0,memberIds:[],peopleGroups:new Map},k.clusters.set(d||"__unknown__",f)),f.count+=1,f.pop+=F,f.memberIds.push(L);let _=f.peopleGroups.get(w||"__unknown__");_||(_={code:w,label:A,count:0,pop:0,memberIds:[],instances:[]},f.peopleGroups.set(w||"__unknown__",_)),_.count+=1,_.pop+=F,_.memberIds.push(L),_.instances.push({id:L,name:C,country:v,pop:F})}return s}),o=r=>r&&r.length?["in",["get","uniqueId"],["literal",r]]:["==",["get","uniqueId"],"__none__"],n=te(()=>{const r=t.value,s=[];for(const i of r.values()){const l=qv(i.code,i.label),c={id:`bloc:${i.code||i.label}`,label:i.label,color:l,count:i.count,pop:i.pop,filter:o(i.memberIds),children:[]};for(const u of i.clusters.values()){const d={id:`cluster:${i.code}__${u.code||u.label}`,label:`${u.label} (Cluster)`,color:l,count:u.count,pop:u.pop,filter:o(u.memberIds),children:[]};for(const g of u.peopleGroups.values()){const w={id:`pg:${i.code}__${u.code}__${g.code||g.label}`,label:`${g.label} (PG)`,color:l,count:g.count,pop:g.pop,filter:o(g.memberIds),children:[]};g.instances.sort((A,L)=>L.pop-A.pop||A.country.localeCompare(L.country));for(const A of g.instances)w.children.push({id:`pgic:${A.id}`,label:`${A.country?`${A.name}, ${A.country}`:A.name} (PGIC)`,color:l,count:1,pop:A.pop,filter:["==",["get","uniqueId"],A.id],children:[]});d.children.push(w)}d.children.sort((g,w)=>w.count-g.count||w.pop-g.pop),c.children.push(d)}c.children.sort((u,d)=>d.count-u.count||d.pop-u.pop),s.push(c)}return s.sort((i,l)=>l.count-i.count||l.pop-i.pop),s});function a(r){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!r){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const s=String(r.id||""),i={kind:null,label:r.label,filterExpr:r.filter};s.startsWith("bloc:")?i.kind="bloc":s.startsWith("cluster:")?i.kind="cluster":s.startsWith("pg:")?i.kind="people-group":s.startsWith("pgic:")&&(i.kind="people-group-in-country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:i}))}return{aggregated:t,affinityTree:n,highlight:a}}function Ar(e,t,o){const n=te(()=>{const l=t&&o&&t.sources&&t.sources[o];return l&&l.features||[]}),{aggregated:a}=aw(n),r=te(()=>{const l=(e&&e.facetRail||[]).find(c=>c.tree==="affinity");return l&&l.drill||[]}),s=te(()=>{const[l,c,u]=r.value,d=new Map,g=new Map,w=new Map;for(const L of a.value.values()){L.code&&d.set(L.code,L.label);for(const C of L.clusters.values()){C.code&&g.set(C.code,C.label);for(const F of C.peopleGroups.values())F.code&&w.set(F.code,F.label)}}const A={};return l&&(A[l]=d),c&&(A[c]=g),u&&(A[u]=w),A});function i(l,c){const u=s.value[l];return Array.isArray(c)?c.map(d=>u&&u.get(d)||d).join(", "):u&&u.get(c)||c}return{normalizedFeatures:n,affinityAgg:a,affinityLabelMaps:s,treeFacetKeys:r,labelFor:i}}const Xo="#c4c8c0";function rw(e,t){const o=vr(e);return o&&o.propertyKey===t&&o.palette?o.palette:null}const sw=e=>String(e||"").trim().toLowerCase().replace(/\s+/g,"_");function iw(){const e=te(()=>{const o=vr(Mo.DOXA_REGION),n=o&&o.propertyKey==="doxaRegion";return{slug:n&&o.slugColors||null,alias:n&&o.aliases||null}});function t(o,n,a,r){if(a==null||a==="")return Xo;if(o==="people"){const s=rw(Mo.AFFINITY_BLOCK,"affinityBlock");return s&&s[r||a]||Xo}if(o==="place"){const{slug:s,alias:i}=e.value,l=r||a;if(s){const c=s[sw(l)];if(c)return c}if(i){const c=i[l];if(c)return c}return Xo}return o==="language"?Eo[r||a]||Xo:o==="religion"&&Ot[r]||Xo}return{colorFor:t,NEUTRAL:Xo}}class sp{constructor(t={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=t.locale||null,this.profileConfig=t.profileConfig||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=Xt,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var o,n;return(n=(o=this.sourcesConfig)==null?void 0:o.sources)==null?void 0:n[t]}async setActiveSource(t){const o=this.getSourceConfig(t);if(!o)throw new Error(`Source not found: ${t}`);if(this.activeSource=o,this.cacheEnabled&&this.cache.has(t)){const n=this.cache.get(t);return this.normalizedData=n.normalizedData,this.dataByUniqueId=n.dataByUniqueId,this.normalizedData}return o.type==="csv"?await this.loadCSVData(o):o.type==="api"?await this.loadAPIData(o):o.type==="rest-api"&&await this.loadRestApiData(o),this.cacheEnabled&&this.cache.set(t,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(t=null){t?this.cache.delete(t):this.cache.clear()}isCached(t){return this.cache.has(t)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(t){const o=[],n=[];let a="",r=!1,s=[],i=!0;for(let l=0;l{}),P=!0)}catch{}try{const N=new Blob([H],{type:"text/csv;charset=utf-8"}),E=URL.createObjectURL(N),W=document.createElement("a");W.href=E,W.download=g,W.style.display="none",document.body.appendChild(W),W.click(),Z=!0,setTimeout(()=>{try{URL.revokeObjectURL(E),W.remove()}catch{}},200)}catch{}Object.assign(I,{rows:D,clipboard:P,downloaded:Z,fields:ae,wide:!!C,at:typeof performance<"u"?performance.now():0});try{window[w+"ExportStatus"]={rows:D,clipboard:P,downloaded:Z,fields:ae,wide:!!C}}catch{}return{csv:H,rows:D,clipboard:P,downloaded:Z,fields:ae,wide:!!C}}async function G(){try{await k()}catch{}return z()}function ce(){try{return k()}catch{return null}}return{exportCsv:z,exportCsvAsync:G,buildCsv:V,pickRows:_,scopeLabel:b,lastExport:I,prefetchExportFields:ce,EXPORT_FIELDS:kr}}const Ov=e=>String(e??"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,40),Nn=e=>String(e).replace(/[%;:*+,&|]/g,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()).replace(/ /g,"+"),ip=/[,|]/,Sr=e=>{try{return decodeURIComponent(String(e).replace(/\+/g,"%20"))}catch{return String(e).replace(/\+/g," ")}};function Iv(e,t,{labelFor:o,hashKey:n="f",searchKey:a="q"}={}){const r=Object.entries(e||{}).map(([i,l])=>{if(Array.isArray(l))return i+":"+l.map(Nn).join(",");const c=typeof o=="function"?o(i,l):null,u=c&&String(c)!==String(l)?Ov(c):"";return i+":"+Nn(l)+(u?"*"+u:"")}),s=String(t??"").trim();return"#"+n+"="+r.join(";")+(s?"&"+a+"="+Nn(s):"")}function zv(e,{hashKey:t="f",searchKey:o="q"}={}){const n={filters:{},search:""},a=String(e||""),r=new RegExp("[#&]"+o+"=([^&]*)").exec(a);r&&(n.search=Sr(r[1]));const s=new RegExp("[#&]"+t+"=([^&]*)").exec(a);if(!s)return n;const i=s[1];if(i.startsWith("{")||i.startsWith("%7B")||i.startsWith("%7b")){try{n.filters=JSON.parse(decodeURIComponent(i))}catch{}return n}for(const l of i.split(";")){const c=l.indexOf(":");if(c<1)continue;const u=l.slice(0,c),g=l.slice(c+1).split("*")[0].split(ip).map(Sr).filter(Boolean);u&&g.length&&(n.filters[u]=g.length>1?g:g[0])}return n}const Dv=e=>{if(Array.isArray(e)){const o=new Set(e);return n=>o.has(n)?n:null}const t=e&&typeof e=="object"?e:{};return o=>Object.prototype.hasOwnProperty.call(t,o)?t[o]:null},Bv=e=>{if(!e||Array.isArray(e))return o=>o;const t=Object.fromEntries(Object.entries(e).map(([o,n])=>[n,o]));return o=>Object.prototype.hasOwnProperty.call(t,o)?t[o]:o};function Hv(e,t,o="",{searchKey:n="q",facetKeys:a}={}){const r=Bv(a),s=[],i=new Set([...Object.keys(e||{}).map(r),n]);for(const d of String(o||"").replace(/^\?/,"").split("&")){if(!d)continue;const g=d.split("=")[0];i.has(g)||s.push(d)}const l=Object.entries(e||{}).map(([d,g])=>r(d)+"="+(Array.isArray(g)?g.map(Nn).join(","):Nn(g))),c=String(t??"").trim();c&&l.push(n+"="+Nn(c));const u=[...s,...l];return u.length?"?"+u.join("&"):""}function Uv(e,t=[],{searchKey:o="q"}={}){const n={filters:{},search:""},a=Dv(t);for(const r of String(e||"").replace(/^\?/,"").split("&")){if(!r)continue;const s=r.indexOf("=");if(s<1)continue;const i=r.slice(0,s),l=r.slice(s+1);if(i===o){n.search=Sr(l);continue}const c=a(i);if(!c)continue;const u=l.split(ip).map(Sr).filter(Boolean);u.length&&(n.filters[c]=u.length>1?u:u[0])}return n}function jv(e,t={}){const{mode:o="hash",write:n=!0,facetKeys:a}=t;Qe(()=>{var s;return{...e.filterSet,__q:(s=e.searchTerm)==null?void 0:s.value}},()=>{var s,i;try{if(typeof location>"u"||!n)return;const l=o==="query"?Hv(e.filterSet,(s=e.searchTerm)==null?void 0:s.value,location.search,{...t,facetKeys:a})+location.hash:location.search+Iv(e.filterSet,(i=e.searchTerm)==null?void 0:i.value,t);history.replaceState(null,"",location.pathname+l)}catch{}},{deep:!0}),vt(()=>{try{if(typeof location>"u")return;const{filters:s,search:i}=o==="query"?Uv(location.search,a||Object.keys(e.filterSet||{}),t):zv(location.hash,t);Object.entries(s).forEach(([l,c])=>e.setFilter(l,c)),i&&typeof e.setSearch=="function"&&e.setSearch(i)}catch{}})}const Gv=(e,t)=>Object.fromEntries(Object.entries(e||{}).map(([o,n])=>[o,t(n,o)]));function va(e){const t=Gv(e.facets,a=>a.get),o=Object.fromEntries((e.columns||[]).map(a=>[a.key,a.get])),n=Array.isArray(e.searchKeys)?e.searchKeys:null;return n?n.map(a=>t[a]||o[a]).filter(a=>typeof a=="function"):(e.columns||[]).filter(a=>a.type!=="num"&&typeof a.get=="function").map(a=>a.get)}function wa(e,t){const o=(a,r)=>{var i;const s=(((i=e==null?void 0:e.searchTerm)==null?void 0:i.value)||"").trim();if(!s)return!0;for(const l of t){const c=l(a);if(c!=null&&r(String(c),s,{threshold:.4,minMatchCharLength:3}))return!0}return!1},n=a=>o(a,Cv);return n.exact=a=>o(a,Lv),n.active=()=>{var a;return!!(((a=e==null?void 0:e.searchTerm)==null?void 0:a.value)||"").trim()},n.term=()=>{var a;return(((a=e==null?void 0:e.searchTerm)==null?void 0:a.value)||"").trim()},n.accessors=t,n}function On(e,t){if(!t.active())return e;const o=e.filter(t.exact);if(o.length)return o;const n=t.term(),a=new Set;for(const s of t.accessors)for(const i of e){const l=s(i);l!=null&&l!==""&&a.add(String(l))}const r=new Set(np(n,[...a],{threshold:.4}));if(r.size){const s=e.filter(i=>t.accessors.some(l=>{const c=l(i);return c!=null&&r.has(String(c))}));if(s.length)return s}return e.filter(t)}const Wv="en-US",Xo=e=>Number(e).toLocaleString(Wv),qv="#6b7280";function Vv(){const e=vr(Mo.AFFINITY_BLOCK);return e&&e.propertyKey==="affinityBlock"&&e.palette?e.palette:{}}function Kv(e,t){const o=Vv();return e&&o[e]?o[e]:qv}function Yv(e){return(e==null?void 0:e.properties)||e||{}}function Ei(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function Zv(e){var t;return String(e.affinityBlock||Ei((t=e._raw)==null?void 0:t.rop1)||"").trim()}function Xv(e){var t;return String(e.affinityBlockLabel||((t=e._raw)!=null&&t.rop1&&typeof e._raw.rop1=="object"?e._raw.rop1.label:"")||"").trim()}function Jv(e){var t;return String(e.cluster||Ei((t=e._raw)==null?void 0:t.imb_reg_of_people_2)||"").trim()}function Qv(e){var t;return String(e.clusterLabel||((t=e._raw)!=null&&t.imb_reg_of_people_2&&typeof e._raw.imb_reg_of_people_2=="object"?e._raw.imb_reg_of_people_2.label:"")||"").trim()}function ew(e){var t;return String(e.peopleGroup||Ei((t=e._raw)==null?void 0:t.imb_reg_of_people_25)||"").trim()}function tw(e){var t;return String(e.peopleGroupLabel||((t=e._raw)!=null&&t.imb_reg_of_people_25&&typeof e._raw.imb_reg_of_people_25=="object"?e._raw.imb_reg_of_people_25.label:"")||e.name||"").trim()}function ow(e){var t;return String(e.uniqueId||e.slug||((t=e._raw)==null?void 0:t.slug)||"").trim()}function nw(e){var t;return String(e.name||e.displayName||((t=e._raw)==null?void 0:t.name)||"").trim()}function aw(e){var o;const t=Number(e.population??e.populationNum??((o=e._raw)==null?void 0:o.population)??0);return Number.isFinite(t)?t:0}function rw(e){return String(e.countryName||e.country||e.countryIsoLabel||e.countryIso||"").trim()}function sw(e){const t=te(()=>{const r=e&&e.value||[],s=new Map;for(const i of r){const l=Yv(i),c=Zv(l),u=Xv(l)||c||"— Unknown —",d=Jv(l),g=Qv(l)||d||"— Unknown —",w=ew(l),A=tw(l)||w||"— Unknown —",L=ow(l),C=nw(l)||L,F=aw(l),v=rw(l);if(!L)continue;let k=s.get(c||"__unknown__");k||(k={code:c,label:u,count:0,pop:0,memberIds:[],clusters:new Map},s.set(c||"__unknown__",k)),k.count+=1,k.pop+=F,k.memberIds.push(L);let f=k.clusters.get(d||"__unknown__");f||(f={code:d,label:g,count:0,pop:0,memberIds:[],peopleGroups:new Map},k.clusters.set(d||"__unknown__",f)),f.count+=1,f.pop+=F,f.memberIds.push(L);let _=f.peopleGroups.get(w||"__unknown__");_||(_={code:w,label:A,count:0,pop:0,memberIds:[],instances:[]},f.peopleGroups.set(w||"__unknown__",_)),_.count+=1,_.pop+=F,_.memberIds.push(L),_.instances.push({id:L,name:C,country:v,pop:F})}return s}),o=r=>r&&r.length?["in",["get","uniqueId"],["literal",r]]:["==",["get","uniqueId"],"__none__"],n=te(()=>{const r=t.value,s=[];for(const i of r.values()){const l=Kv(i.code,i.label),c={id:`bloc:${i.code||i.label}`,label:i.label,color:l,count:i.count,pop:i.pop,filter:o(i.memberIds),children:[]};for(const u of i.clusters.values()){const d={id:`cluster:${i.code}__${u.code||u.label}`,label:`${u.label} (Cluster)`,color:l,count:u.count,pop:u.pop,filter:o(u.memberIds),children:[]};for(const g of u.peopleGroups.values()){const w={id:`pg:${i.code}__${u.code}__${g.code||g.label}`,label:`${g.label} (PG)`,color:l,count:g.count,pop:g.pop,filter:o(g.memberIds),children:[]};g.instances.sort((A,L)=>L.pop-A.pop||A.country.localeCompare(L.country));for(const A of g.instances)w.children.push({id:`pgic:${A.id}`,label:`${A.country?`${A.name}, ${A.country}`:A.name} (PGIC)`,color:l,count:1,pop:A.pop,filter:["==",["get","uniqueId"],A.id],children:[]});d.children.push(w)}d.children.sort((g,w)=>w.count-g.count||w.pop-g.pop),c.children.push(d)}c.children.sort((u,d)=>d.count-u.count||d.pop-u.pop),s.push(c)}return s.sort((i,l)=>l.count-i.count||l.pop-i.pop),s});function a(r){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!r){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const s=String(r.id||""),i={kind:null,label:r.label,filterExpr:r.filter};s.startsWith("bloc:")?i.kind="bloc":s.startsWith("cluster:")?i.kind="cluster":s.startsWith("pg:")?i.kind="people-group":s.startsWith("pgic:")&&(i.kind="people-group-in-country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:i}))}return{aggregated:t,affinityTree:n,highlight:a}}function Ar(e,t,o){const n=te(()=>{const l=t&&o&&t.sources&&t.sources[o];return l&&l.features||[]}),{aggregated:a}=sw(n),r=te(()=>{const l=(e&&e.facetRail||[]).find(c=>c.tree==="affinity");return l&&l.drill||[]}),s=te(()=>{const[l,c,u]=r.value,d=new Map,g=new Map,w=new Map;for(const L of a.value.values()){L.code&&d.set(L.code,L.label);for(const C of L.clusters.values()){C.code&&g.set(C.code,C.label);for(const F of C.peopleGroups.values())F.code&&w.set(F.code,F.label)}}const A={};return l&&(A[l]=d),c&&(A[c]=g),u&&(A[u]=w),A});function i(l,c){const u=s.value[l];return Array.isArray(c)?qs(c.map(d=>u&&u.get(d)||d),{type:"disjunction"}):u&&u.get(c)||c}return{normalizedFeatures:n,affinityAgg:a,affinityLabelMaps:s,treeFacetKeys:r,labelFor:i}}const Jo="#c4c8c0";function iw(e,t){const o=vr(e);return o&&o.propertyKey===t&&o.palette?o.palette:null}const lw=e=>String(e||"").trim().toLowerCase().replace(/\s+/g,"_");function cw(){const e=te(()=>{const o=vr(Mo.DOXA_REGION),n=o&&o.propertyKey==="doxaRegion";return{slug:n&&o.slugColors||null,alias:n&&o.aliases||null}});function t(o,n,a,r){if(a==null||a==="")return Jo;if(o==="people"){const s=iw(Mo.AFFINITY_BLOCK,"affinityBlock");return s&&s[r||a]||Jo}if(o==="place"){const{slug:s,alias:i}=e.value,l=r||a;if(s){const c=s[lw(l)];if(c)return c}if(i){const c=i[l];if(c)return c}return Jo}return o==="language"?Eo[r||a]||Jo:o==="religion"&&Ot[r]||Jo}return{colorFor:t,NEUTRAL:Jo}}class lp{constructor(t={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=t.locale||null,this.profileConfig=t.profileConfig||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=Xt,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var o,n;return(n=(o=this.sourcesConfig)==null?void 0:o.sources)==null?void 0:n[t]}async setActiveSource(t){const o=this.getSourceConfig(t);if(!o)throw new Error(`Source not found: ${t}`);if(this.activeSource=o,this.cacheEnabled&&this.cache.has(t)){const n=this.cache.get(t);return this.normalizedData=n.normalizedData,this.dataByUniqueId=n.dataByUniqueId,this.normalizedData}return o.type==="csv"?await this.loadCSVData(o):o.type==="api"?await this.loadAPIData(o):o.type==="rest-api"&&await this.loadRestApiData(o),this.cacheEnabled&&this.cache.set(t,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(t=null){t?this.cache.delete(t):this.cache.clear()}isCached(t){return this.cache.has(t)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(t){const o=[],n=[];let a="",r=!1,s=[],i=!0;for(let l=0;l0){if(s.push(a.trim()),a="",i)n.push(...s),i=!1;else if(s.length>1){const d={};n.forEach((g,w)=>{d[g]=s[w]||""}),o.push(d)}s=[]}}else a+=c}if((a||s.length>0)&&(s.push(a.trim()),!i&&s.length>1)){const l={};n.forEach((c,u)=>{l[c]=s[u]||""}),o.push(l)}return{headers:n,data:o}}async loadCSVData(t){try{const n=await(await fetch(this.baseUrl+t.path)).text(),{headers:a,data:r}=this.parseCSV(n);return this.rawData=r,this.validateFieldMappings(t.fieldMappings,a,t.name),this.normalizeData(t),this.normalizedData}catch(o){throw console.error("Failed to load CSV data:",o),o}}validateFieldMappings(t,o,n){const a=new Set(o.map(s=>s.trim())),r=[];for(const[s,i]of Object.entries(t||{}))if(Array.isArray(i))for(const l of i)a.has(l)||r.push({systemField:s,sourceField:l,isComposite:!0});else i&&!a.has(i)&&r.push({systemField:s,sourceField:i,isComposite:!1});r.length>0&&console.warn(`[DataSourceManager] ${n}: missing CSV columns:`,r)}async loadAPIData(t){try{const n=await(await fetch(t.url||t.endpoint)).json();return this.rawData=await ya(Array.isArray(n)?n:n.posts||n.data||n.peopleGroups||n.results||[],this.profileConfig),this.normalizeData(t),this.normalizedData}catch(o){throw console.error("Failed to load API data:",o),o}}async loadRestApiData(t){var l,c;const o=Si(),n=((l=t.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=t.defaultFields)==null?void 0:c.join(","))||"",r=[];a&&r.push(`fields=${a}`);const s={...t.queryParams||{}};this.locale&&(s.lang=this.locale);for(const[u,d]of Object.entries(s))r.push(`${u}=${encodeURIComponent(d)}`);const i=`${o}${n}?${r.join("&")}`;try{const u=await fetch(i);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const d=u.headers.get("content-type")||"";if(!d.includes("application/json"))throw new Error(`API returned "${d}" instead of JSON. Server at ${o} may be down or misconfigured.`);const g=await u.json();return this.rawData=await ya(Array.isArray(g)?g:g.posts||g.data||g.results||[],this.profileConfig),this.normalizeData(t),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${t.id}:`,u),u}}normalizeData(t){const o=t.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const n of this.rawData){const a={};for(const[l,c]of Object.entries(o))if(Array.isArray(c)){const u=c.map(d=>this.getFieldValue(n,d));a[l]=u.join("_")}else a[l]=this.getFieldValue(n,c);if(a.latitude=parseFloat(a.latitude)||0,a.longitude=parseFloat(a.longitude)||0,a.latitude===0&&a.longitude===0)continue;a.populationNum=this.parsePopulation(a.population),a.imageUrl=this.getImageUrl(a,t.imageConfig);const r=a.engagementStatus;r!=null&&(typeof r=="object"&&"value"in r?(a.engagementStatusLabel=r.label||r.value,a.engagementStatus=r.value==="engaged"):a.engagementStatus=r===!0||r===1||r==="1"||r==="true"||typeof r=="number"&&r>0||typeof r=="string"&&parseInt(r,10)>0);const s=a.adoptionStatus;s!=null&&(a.adoptionStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="object"&&!!(s!=null&&s.value)||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const i=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of i){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=n,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(t,o){if(!o)return"";if(t[o]!==void 0)return t[o];const n=o.trim();if(t[n]!==void 0)return t[n];for(const a of Object.keys(t))if(a.trim()===n||a.includes(n)||n.includes(a.trim()))return t[a];return""}parsePopulation(t){if(!t)return 0;const o=String(t).replace(/,/g,"").trim(),n=parseInt(o,10);return isNaN(n)?0:n}getImageUrl(t,o){if(!o)return"";const n=o.placeholderUrl||"",a=t[o.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:n}getData(){return this.normalizedData}getByUniqueId(t){return this.dataByUniqueId.get(t)}getByCoordinates(t,o,n=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-t)o.peopleGroupId===t)}getLanguageFamilies(){const t=new Set;return this.normalizedData.forEach(o=>{o.languageFamily&&t.add(o.languageFamily)}),Array.from(t).sort()}getDataByLanguageFamily(){const t={};return this.normalizedData.forEach(o=>{const n=o.languageFamily||"Unknown";t[n]||(t[n]=[]),t[n].push(o)}),t}getDataByRegion(){const t={};return this.normalizedData.forEach(o=>{const n=o.doxaRegion||"Unknown";t[n]||(t[n]=[]),t[n].push(o)}),t}getStats(){return{totalRecords:this.normalizedData.length,withPeopleId3:this.normalizedData.filter(t=>t.peopleId3).length,withPhotos:this.normalizedData.filter(t=>t.imageUrl&&!String(t.imageUrl).includes("NoImageAvailable")).length,languageFamilies:this.getLanguageFamilies().length,countries:new Set(this.normalizedData.map(t=>t.country)).size,regions:Object.keys(this.getDataByRegion()).length}}}new sp;const lw=(e,t)=>Object.fromEntries(Object.entries(e||{}).map(([o,n])=>[o,t(n,o)])),Lr=e=>e==null?"—":Zo(e);function cw(e,t,o,n,a){return(e||[]).map(r=>{var l,c;let s,i;if(r.kind==="count")s=t.length,r.showDelta&&(i=Math.max(0,o.length-t.length));else if(r.kind==="sum")s=t.reduce((u,d)=>u+(Number(d[r.field])||0),0);else if(r.kind==="pct")s=t.length?Math.round(t.filter(r.test).length/t.length*100)+"%":"—";else if(r.kind==="distinct"){const u=r.via?(c=(l=a==null?void 0:a.facets)==null?void 0:l[r.field])==null?void 0:c[r.via]:n[r.field],d=new Set;t.forEach(g=>{const w=u?u(g):g[r.field];w&&d.add(w)}),s=d.size}return{id:r.id,label:r.label,kind:r.kind,value:s,delta:i}})}function uw(e){const t=pe(null),o=pe(!1),n=pe(!1),a=pe(!1),r=pe("map"),s=[{k:"map",get l(){return we("dashboard.map")||"Map"}},{k:"facets",get l(){return we("dashboard.filters")||"Filters"}},{k:"table",get l(){return we("dashboard.table")||"Table"}},{k:"charts",get l(){return we("dashboard.charts")||"Charts"}}];let i=null;const l=pe(!1),c=pe(!1),u=pe(!1);vt(()=>{t.value&&(i=new ResizeObserver(()=>{const C=t.value.clientWidth;o.value=C<760,n.value=C>=760&&C<1180,a.value=C>=760&&C<980}),i.observe(t.value)),e&&e.on("toggleTable",C=>{l.value=!!C}),e&&e.on("toggleFacet",C=>{c.value=!!C}),e&&e.on("toggleRail",C=>{u.value=!!C})}),Dt(()=>i&&i.disconnect());function d(C){const F=C.target.closest("[data-view]");F&&(r.value=F.getAttribute("data-view"))}const g=te(()=>!o.value||r.value==="facets"),w=te(()=>!o.value||r.value==="map"),A=te(()=>!o.value||r.value==="table"),L=te(()=>!o.value||r.value==="charts");return{shell:t,isNarrow:o,slimRail:n,slimFacet:a,mobileView:r,SEG:s,tableCollapsed:l,facetCollapsed:c,railCollapsed:u,setView:d,showFacets:g,showMap:w,showTable:A,showCharts:L}}function dw(e){var f;const t=Pv();t.configureHierarchy(e);const o=Rv(e.data),n=lw(e.facets,_=>_.get),a=wa(t,va(e)),r=te(()=>{var $;const _=o.rows.value||[],b=Object.keys(t.filterSet),x=!!((($=t.searchTerm)==null?void 0:$.value)||"").trim();if(!b.length&&!x)return _;const m=b.length?_.filter(V=>t.rowMatchesFilters(V,n)):_;return Nn(m,a)}),s=te(()=>cw(e.kpis,r.value,o.rows.value||[],n,e)),i=uw(t),l=o.sourceId||Xt.activeSource,c=((f=Xt.sources)==null?void 0:f[l])||{};let u=null;try{u=Be("profileConfig",null)}catch{}const d=new sp({profileConfig:u}),g=te(()=>{const _=o.rows.value||[];return _.length?(d.rawData=_.slice(),d.normalizeData(c),d.normalizedData):[]}),w={sources:{[l]:{get features(){return g.value}}}},{labelFor:A}=Ar(e,w,l);Hv(t,{labelFor:A});const L=Ti({rowStore:o.rowStore,rows:o.rows,selectionSet:t.selectionSet,filterSet:t.filterSet,FACET_ACC:n,dataOpts:e.data,labelFor:A,rowMatches:t.rowMatchesFilters}),{colorFor:C}=iw();e.legend||(e.legend={colorFor:C,labelFor:A}),so("selectionBus",t),so("dashboardData",o),so("dashboardConfig",e),so("dataStore",w),so("searchSourceId",l);let F=null,v=null;try{v=Be("lang",null)}catch{}const k=()=>v&&v.value||pn()||"";return Qe(k,_=>{_!==F&&(F=_,o.load())}),vt(()=>{F=k(),o.load()}),{bus:t,data:o,FACET_ACC:n,filteredRows:r,kpis:s,exporter:L,responsive:i}}const pw="rd-dashboard-layout",ip="rd-dashboard-layout-v6",gw={facetW:296,railW:296,tableH:"34%",mapH:340,shellH:562},fw={facetW:[160,420],railW:[200,520],tableH:[12,70],mapH:[220,1400],shellH:[400,2600]},lp=32,cp=120,Mt=(e,[t,o])=>Math.min(o,Math.max(t,e)),Tr=(e,t)=>{const o=parseFloat(String(e));return Number.isFinite(o)?o:t};function hw(e={}){const{shellRef:t,bus:o=null,isNarrow:n=!1,pageScroll:a=!1,storageKey:r=ip}=e,s={...gw,...e.defaults||{}},i={...fw,...e.clamps||{}},l=pe(s.facetW),c=pe(s.railW),u=pe(s.tableH),d=pe(s.mapH),g=pe(s.shellH),w=pe(!1),A=pe(!1),L=pe(!1),C=()=>!!ue(n),F=()=>!!ue(a);function v(){const N=t&&t.value;if(!N)return g.value;const E=parseFloat(getComputedStyle(N).getPropertyValue("--rd-shell-h"));if(Number.isFinite(E)&&E>0)return Math.round(E);const W=N.querySelector('[data-region="map"]'),me=N.querySelector('[data-region="table"]');if(!W||!me)return g.value;const be=W.getBoundingClientRect().height+me.getBoundingClientRect().height;return be>0?Math.round(be):g.value}function k(){const N=t&&t.value;N&&(w.value&&(N.style.setProperty("--facet-w",l.value+"px"),N.style.setProperty("--rail-w",c.value+"px"),N.style.setProperty("--table-h",u.value)),A.value&&N.style.setProperty("--rd-map-h",d.value+"px"),L.value&&N.style.setProperty("--rd-shell-h",g.value+"px"))}function f(){const N=t&&t.value;N&&(N.style.removeProperty("--facet-w"),N.style.removeProperty("--rail-w"),N.style.removeProperty("--table-h"),N.style.removeProperty("--rd-map-h"),N.style.removeProperty("--rd-shell-h"))}function _(){try{localStorage.setItem(r,JSON.stringify({facetW:l.value,railW:c.value,tableH:u.value,mapH:d.value,shellH:g.value}))}catch{}}function b(){try{const N=r===ip,E=localStorage.getItem(r)||(N?localStorage.getItem(pw):null);if(!E)return!1;const W=JSON.parse(E);return Number.isFinite(W.facetW)&&(l.value=Mt(W.facetW,i.facetW)),Number.isFinite(W.railW)&&(c.value=Mt(W.railW,i.railW)),W.tableH!=null&&(u.value=Mt(Tr(W.tableH,Tr(s.tableH,34)),i.tableH)+"%"),w.value=!0,Number.isFinite(W.shellH)&&(g.value=Mt(W.shellH,i.shellH),L.value=!0),Number.isFinite(W.mapH)&&(d.value=Mt(W.mapH,i.mapH),A.value=!0),!0}catch{return!1}}function x(){try{localStorage.removeItem(r)}catch{}l.value=s.facetW,c.value=s.railW,u.value=s.tableH,d.value=s.mapH,g.value=s.shellH,w.value=!1,A.value=!1,L.value=!1,f()}const m=pe(!1);function $(){if(m.value)return;m.value=!0;const N=t&&t.value;if(N&&N.setAttribute("data-rd-resizing","1"),o&&typeof o.emit=="function")try{o.emit("layoutResizing",!0)}catch{}}function V(){if(!m.value)return;m.value=!1;const N=t&&t.value;if(N&&N.removeAttribute("data-rd-resizing"),o&&typeof o.emit=="function")try{o.emit("layoutResizing",!1)}catch{}}function I(N,E){if(C())return;const W=t&&t.value;if(!W)return;E.preventDefault();const me=W.getBoundingClientRect(),be=E.clientX,Ae=l.value,Te=c.value,Se=(()=>{for(const p of[E.currentTarget,ue(t)])try{const O=p&&getComputedStyle(p).direction;if(O)return O==="rtl"}catch{}return!1})()?-1:1,$e=E.currentTarget,xe=N==="table"&&F(),ke=N==="shell"&&F();let y=0,T=i.mapH[1];if(xe){const p=W.querySelector('[data-region="map"]'),O=p?p.getBoundingClientRect():null;y=O?O.top:E.clientY-d.value,T=Math.max(i.mapH[0],g.value-(lp+cp))}const S=E.clientY,K=ke?v():g.value;try{$e&&$e.setPointerCapture&&$e.setPointerCapture(E.pointerId)}catch{}$();let B=0,j=null;function ne(){if(B=0,!j)return;const p=j;if(j=null,N==="facet")l.value=Math.round(Mt(Ae+Se*(p.clientX-be),i.facetW)),w.value=!0;else if(N==="rail")c.value=Math.round(Mt(Te-Se*(p.clientX-be),i.railW)),w.value=!0;else if(xe)d.value=Math.round(Mt(p.clientY-y,[i.mapH[0],T])),A.value=!0;else if(N==="table"){const O=(me.bottom-p.clientY)/me.height*100;u.value=Math.round(Mt(O,i.tableH))+"%",w.value=!0}else ke&&(g.value=Math.round(Mt(K+(p.clientY-S),i.shellH)),L.value=!0);k()}function le(p){j={clientX:p.clientX,clientY:p.clientY},B||(B=requestAnimationFrame(ne))}function h(p){window.removeEventListener("pointermove",le),window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),B&&(cancelAnimationFrame(B),B=0),ne();try{$e&&$e.releasePointerCapture&&$e.releasePointerCapture(p.pointerId)}catch{}_(),V()}window.addEventListener("pointermove",le),window.addEventListener("pointerup",h),window.addEventListener("pointercancel",h)}const z=N=>I("facet",N),G=N=>I("rail",N),ce=N=>I("table",N),H=N=>I("shell",N),D={facet:16,rail:16,table:24,mapH:24,shellH:24};function ae(N,E,W){if(!C()){if(N==="facet")l.value=W?E<0?i.facetW[0]:i.facetW[1]:Math.round(Mt(l.value+E*D.facet,i.facetW)),w.value=!0;else if(N==="rail")c.value=W?E<0?i.railW[1]:i.railW[0]:Math.round(Mt(c.value-E*D.rail,i.railW)),w.value=!0;else if(N==="table"&&F()){const me=Math.max(i.mapH[0],g.value-(lp+cp));d.value=W?E<0?i.mapH[0]:me:Math.round(Mt(d.value+E*D.mapH,[i.mapH[0],me])),A.value=!0}else if(N==="table"){const me=W?E<0?i.tableH[0]:i.tableH[1]:Mt(Tr(u.value,Tr(s.tableH,34))-E*D.table/4,i.tableH);u.value=Math.round(me)+"%",w.value=!0}else N==="shell"&&F()&&(g.value=W?E<0?i.shellH[0]:i.shellH[1]:Math.round(Mt(g.value+E*D.shellH,i.shellH)),L.value=!0);k(),_()}}function P(N,E){const W=E.key;let me=0;if(N==="table"||N==="shell")W==="ArrowUp"?me=-1:W==="ArrowDown"&&(me=1);else{let be=1;try{for(const Ae of[E.currentTarget,ue(t)]){const Te=Ae&&getComputedStyle(Ae).direction;if(Te){Te==="rtl"&&(be=-1);break}}}catch{}W==="ArrowLeft"?me=-1*be:W==="ArrowRight"&&(me=1*be)}if(me){E.preventDefault(),ae(N,me);return}(W==="Home"||W==="End")&&(E.preventDefault(),ae(N,W==="Home"?-1:1,!0))}let Z=null;return vt(()=>{b()&&k(),o&&typeof o.on=="function"&&(Z=o.on("resetLayout",x))}),Dt(()=>{try{Z&&Z()}catch{}try{V()}catch{}}),{facetW:l,railW:c,tableH:u,mapH:d,shellH:g,customized:w,resizing:m,startFacetResize:z,startRailResize:G,startTableResize:ce,startShellResize:H,startResize:I,reset:x,applyVars:k,stepResize:ae,onResizeKeydown:P}}const Fo="#c4c8c0",ut=e=>e==null?"":typeof e=="object"?e.label??e.value??"":e;function Pi(e,t,o){const n=new Map;for(const r of e){const s=t(r);s==null||s===""||n.set(s,(n.get(s)||0)+1)}let a=[...n.entries()].map(([r,s])=>({key:r,value:s})).sort((r,s)=>s.value-r.value);if(o&&a.length>o){const r=a.slice(0,o),s=a.slice(o).reduce((i,l)=>i+l.value,0);s>0&&r.push({key:"Other",value:s,other:!0}),a=r}return a}const up="Other",dp=()=>we("dashboard.other")||up,mw={class:"rd-facets","data-region":"facets"},_w={class:"fr-head"},bw={class:"fr-title"},$w={class:"fr-scope","data-scope-count":""},yw=["data-facet-section"],vw=["onClick"],ww={class:"fr-rows"},xw=["data-facet","data-value","tabindex","role","aria-pressed","aria-label","title"],kw=["data-expand","data-expand-value","aria-expanded","aria-label"],Sw={key:1,class:"fr-caret fr-caret-leaf","aria-hidden":"true"},Aw={class:"fr-lbl"},Lw={class:"fr-bar"},Tw={class:"fr-cnt"},Cw={key:3,class:"fr-donly","aria-hidden":"true"},Pw="#c4c8c0",Ew={__name:"DashboardFacetRail",setup(e){const t=(P,Z)=>we("dashboard."+P)||Z,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("dashboardConfig",{}),r=(n==null?void 0:n.filterSet)||{},s=Object.fromEntries(Object.entries(a.facets||{}).map(([P,Z])=>[P,Z.get])),i=new Set(Object.entries(a.facets||{}).filter(([,P])=>P&&P.dashboardOnly).map(([P])=>P)),l=wa(n,va(a));function c(P){var me,be;const Z=((me=o==null?void 0:o.rows)==null?void 0:me.value)||[],N=Object.keys(r).filter(Ae=>!P.includes(Ae)),E=!!(((be=n==null?void 0:n.searchTerm)==null?void 0:be.value)||"").trim();if(!N.length&&!E)return Z;const W=Z.filter(Ae=>n.rowMatchesFilters(Ae,s));return Nn(W,l)}const u=new Set(["people","place","language","religion"]),d=en(Object.fromEntries((a.facetRail||[]).map(P=>[P.id,u.has(P.id)])));function g(P){d[P]=!d[P]}const w=en({}),A=(P,Z)=>P+":"+Z;function L(P,Z){const N=A(P,Z);w[N]=!C(P,Z)}function C(P,Z){const N=A(P,Z);return N in w?w[N]:n.isFilterActive(P,Z)}function F(P,Z,N){const E=P.reduce((W,me)=>Math.max(W,me.value),0)||1;return P.map(W=>({facet:Z,value:W.key,label:W.other?dp():W.key,count:W.value,frac:W.value/E,level:N,other:!!W.other,active:!W.other&&n.isFilterActive(Z,W.key),dashboardOnly:i.has(Z)}))}const v=new Map;function k(P,Z,N){if(N)return v.set(P,Z.map(Se=>({...Se,count:0,frac:0,active:!1,expanded:!1}))),Z;const E=v.get(P);if(!E)return Z;const W=Se=>Se.facet+":"+Se.value,me=new Set(Z.map(W));if(!E.filter(Se=>!me.has(W(Se))).length)return Z;const Ae=new Map;let Te="";for(const Se of E){const $e=W(Se);if(me.has($e)){Te=$e;continue}Ae.has(Te)||Ae.set(Te,[]),Ae.get(Te).push({...Se,zero:!0})}const He=[];for(const Se of Ae.get("")||[])He.push(Se);for(let Se=0;Se$e.level;)He.push(Z[++Se]);for(const ke of xe)He.push(ke)}}return He}function f(P,Z){return F(Pi(c([P]),s[P],Z??24),P,0)}function _(P,Z){const N=[],E=(W,me)=>{const be=P[W],Ae=(Z&&Z[W])??(W===P.length-1?40:30);let Te=c(P.slice(W));me.length&&(Te=Te.filter(Se=>me.every(([$e,xe])=>{const ke=s[$e];return ke?ke(Se)===xe:!0})));const He=F(Pi(Te,s[be],Ae),be,W);for(const Se of He)Se.hasChildren=!Se.other&&Wa&&a.legend||null),m=(...P)=>{var Z;return(Z=x.value)!=null&&Z.colorFor?x.value.colorFor(...P):Pw},$=(P,Z)=>{var N;return(N=x.value)!=null&&N.labelFor?x.value.labelFor(P,Z):Z};function V(P,Z,N){if(!Z)return P;let E=null;for(const W of P){if(W.level===0&&(E=W.value),W.other){W.swatch=null;continue}const me=Z==="religion"?N.get(E)||"":E;W.swatch=m(Z,W.facet,W.value,me)}return P}const I=te(()=>{var N;const P=new Map,Z=a.facets&&a.facets.religion_family;if(!Z||!Z.famKey)return P;for(const E of((N=o==null?void 0:o.rows)==null?void 0:N.value)||[]){const W=Z.get(E);W&&!P.has(W)&&P.set(W,Z.famKey(E))}return P}),z=te(()=>{var P;return!Object.keys(r).length&&!(((P=n==null?void 0:n.searchTerm)==null?void 0:P.value)||"").trim()}),G=te(()=>(a.facetRail||[]).map(P=>{let Z=P.drill?_(P.drill,P.topN):f(P.facet,P.topN);return Z=k(P.id,Z,z.value),P.tree==="affinity"&&(Z=Z.map(N=>{if(N.other)return N;const E=$(N.facet,N.value);return E!==N.value?{...N,label:E}:N})),Z=V(Z,P.axis,I.value),{id:P.id,title:P.title,axis:P.axis,rows:b(Z)}})),ce=te(()=>{var N;const P=((N=o==null?void 0:o.rows)==null?void 0:N.value)||[];return Object.keys(r).length?P.filter(E=>n.rowMatchesFilters(E,s)).length:P.length});function H(P){const Z=P.target;if(!Z||!Z.closest)return;const N=Z.closest("[data-expand]");if(N){const be=N.getAttribute("data-expand"),Ae=N.getAttribute("data-expand-value");be&&Ae!=null&&(P.stopPropagation(),L(be,Ae));return}const E=Z.closest("[data-facet]");if(!E||!n)return;const W=E.getAttribute("data-facet"),me=E.getAttribute("data-value");!W||!me||n.setFilter(W,r[W]===me?null:me)}function D(P){if(P.key!=="Enter"&&P.key!==" "&&P.key!=="Spacebar")return;const Z=P.target&&P.target.closest?P.target.closest("[data-facet]"):null;if(!Z||!n)return;P.preventDefault();const N=Z.getAttribute("data-facet"),E=Z.getAttribute("data-value");!N||!E||n.setFilter(N,r[N]===E?null:E)}const ae=pe(null);return vt(()=>{n&&n.on("mapFocus",({value:P}={})=>{if(!P||!ae.value)return;const N=[...ae.value.querySelectorAll(".fr-row")].find(E=>E.textContent&&E.textContent.includes(P));N&&(ae.value.scrollTop=Math.max(0,N.offsetTop-8))})}),Ht(` +`&&l++,a||s.length>0){if(s.push(a.trim()),a="",i)n.push(...s),i=!1;else if(s.length>1){const d={};n.forEach((g,w)=>{d[g]=s[w]||""}),o.push(d)}s=[]}}else a+=c}if((a||s.length>0)&&(s.push(a.trim()),!i&&s.length>1)){const l={};n.forEach((c,u)=>{l[c]=s[u]||""}),o.push(l)}return{headers:n,data:o}}async loadCSVData(t){try{const n=await(await fetch(this.baseUrl+t.path)).text(),{headers:a,data:r}=this.parseCSV(n);return this.rawData=r,this.validateFieldMappings(t.fieldMappings,a,t.name),this.normalizeData(t),this.normalizedData}catch(o){throw console.error("Failed to load CSV data:",o),o}}validateFieldMappings(t,o,n){const a=new Set(o.map(s=>s.trim())),r=[];for(const[s,i]of Object.entries(t||{}))if(Array.isArray(i))for(const l of i)a.has(l)||r.push({systemField:s,sourceField:l,isComposite:!0});else i&&!a.has(i)&&r.push({systemField:s,sourceField:i,isComposite:!1});r.length>0&&console.warn(`[DataSourceManager] ${n}: missing CSV columns:`,r)}async loadAPIData(t){try{const n=await(await fetch(t.url||t.endpoint)).json();return this.rawData=await ya(Array.isArray(n)?n:n.posts||n.data||n.peopleGroups||n.results||[],this.profileConfig),this.normalizeData(t),this.normalizedData}catch(o){throw console.error("Failed to load API data:",o),o}}async loadRestApiData(t){var l,c;const o=Li(),n=((l=t.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=t.defaultFields)==null?void 0:c.join(","))||"",r=[];a&&r.push(`fields=${a}`);const s={...t.queryParams||{}};this.locale&&(s.lang=this.locale);for(const[u,d]of Object.entries(s))r.push(`${u}=${encodeURIComponent(d)}`);const i=`${o}${n}?${r.join("&")}`;try{const u=await fetch(i);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const d=u.headers.get("content-type")||"";if(!d.includes("application/json"))throw new Error(`API returned "${d}" instead of JSON. Server at ${o} may be down or misconfigured.`);const g=await u.json();return this.rawData=await ya(Array.isArray(g)?g:g.posts||g.data||g.results||[],this.profileConfig),this.normalizeData(t),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${t.id}:`,u),u}}normalizeData(t){const o=t.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const n of this.rawData){const a={};for(const[l,c]of Object.entries(o))if(Array.isArray(c)){const u=c.map(d=>this.getFieldValue(n,d));a[l]=u.join("_")}else a[l]=this.getFieldValue(n,c);if(a.latitude=parseFloat(a.latitude)||0,a.longitude=parseFloat(a.longitude)||0,a.latitude===0&&a.longitude===0)continue;a.populationNum=this.parsePopulation(a.population),a.imageUrl=this.getImageUrl(a,t.imageConfig);const r=a.engagementStatus;r!=null&&(typeof r=="object"&&"value"in r?(a.engagementStatusLabel=r.label||r.value,a.engagementStatus=r.value==="engaged"):a.engagementStatus=r===!0||r===1||r==="1"||r==="true"||typeof r=="number"&&r>0||typeof r=="string"&&parseInt(r,10)>0);const s=a.adoptionStatus;s!=null&&(a.adoptionStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="object"&&!!(s!=null&&s.value)||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const i=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of i){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=n,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(t,o){if(!o)return"";if(t[o]!==void 0)return t[o];const n=o.trim();if(t[n]!==void 0)return t[n];for(const a of Object.keys(t))if(a.trim()===n||a.includes(n)||n.includes(a.trim()))return t[a];return""}parsePopulation(t){if(!t)return 0;const o=String(t).replace(/,/g,"").trim(),n=parseInt(o,10);return isNaN(n)?0:n}getImageUrl(t,o){if(!o)return"";const n=o.placeholderUrl||"",a=t[o.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:n}getData(){return this.normalizedData}getByUniqueId(t){return this.dataByUniqueId.get(t)}getByCoordinates(t,o,n=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-t)o.peopleGroupId===t)}getLanguageFamilies(){const t=new Set;return this.normalizedData.forEach(o=>{o.languageFamily&&t.add(o.languageFamily)}),Array.from(t).sort()}getDataByLanguageFamily(){const t={};return this.normalizedData.forEach(o=>{const n=o.languageFamily||"Unknown";t[n]||(t[n]=[]),t[n].push(o)}),t}getDataByRegion(){const t={};return this.normalizedData.forEach(o=>{const n=o.doxaRegion||"Unknown";t[n]||(t[n]=[]),t[n].push(o)}),t}getStats(){return{totalRecords:this.normalizedData.length,withPeopleId3:this.normalizedData.filter(t=>t.peopleId3).length,withPhotos:this.normalizedData.filter(t=>t.imageUrl&&!String(t.imageUrl).includes("NoImageAvailable")).length,languageFamilies:this.getLanguageFamilies().length,countries:new Set(this.normalizedData.map(t=>t.country)).size,regions:Object.keys(this.getDataByRegion()).length}}}new lp;const uw=(e,t)=>Object.fromEntries(Object.entries(e||{}).map(([o,n])=>[o,t(n,o)])),Lr=e=>e==null?"—":Xo(e);function dw(e,t,o,n,a){return(e||[]).map(r=>{var l,c;let s,i;if(r.kind==="count")s=t.length,r.showDelta&&(i=Math.max(0,o.length-t.length));else if(r.kind==="sum")s=t.reduce((u,d)=>u+(Number(d[r.field])||0),0);else if(r.kind==="pct")s=t.length?Math.round(t.filter(r.test).length/t.length*100)+"%":"—";else if(r.kind==="distinct"){const u=r.via?(c=(l=a==null?void 0:a.facets)==null?void 0:l[r.field])==null?void 0:c[r.via]:n[r.field],d=new Set;t.forEach(g=>{const w=u?u(g):g[r.field];w&&d.add(w)}),s=d.size}return{id:r.id,label:r.label,kind:r.kind,value:s,delta:i}})}function pw(e){const t=pe(null),o=pe(!1),n=pe(!1),a=pe(!1),r=pe("map"),s=[{k:"map",get l(){return we("dashboard.map")||"Map"}},{k:"facets",get l(){return we("dashboard.filters")||"Filters"}},{k:"table",get l(){return we("dashboard.table")||"Table"}},{k:"charts",get l(){return we("dashboard.charts")||"Charts"}}];let i=null;const l=pe(!1),c=pe(!1),u=pe(!1);vt(()=>{t.value&&(i=new ResizeObserver(()=>{const C=t.value.clientWidth;o.value=C<760,n.value=C>=760&&C<1180,a.value=C>=760&&C<980}),i.observe(t.value)),e&&e.on("toggleTable",C=>{l.value=!!C}),e&&e.on("toggleFacet",C=>{c.value=!!C}),e&&e.on("toggleRail",C=>{u.value=!!C})}),Dt(()=>i&&i.disconnect());function d(C){const F=C.target.closest("[data-view]");F&&(r.value=F.getAttribute("data-view"))}const g=te(()=>!o.value||r.value==="facets"),w=te(()=>!o.value||r.value==="map"),A=te(()=>!o.value||r.value==="table"),L=te(()=>!o.value||r.value==="charts");return{shell:t,isNarrow:o,slimRail:n,slimFacet:a,mobileView:r,SEG:s,tableCollapsed:l,facetCollapsed:c,railCollapsed:u,setView:d,showFacets:g,showMap:w,showTable:A,showCharts:L}}function gw(e){var f;const t=Mv();t.configureHierarchy(e);const o=Nv(e.data),n=uw(e.facets,_=>_.get),a=wa(t,va(e)),r=te(()=>{var $;const _=o.rows.value||[],b=Object.keys(t.filterSet),x=!!((($=t.searchTerm)==null?void 0:$.value)||"").trim();if(!b.length&&!x)return _;const m=b.length?_.filter(V=>t.rowMatchesFilters(V,n)):_;return On(m,a)}),s=te(()=>dw(e.kpis,r.value,o.rows.value||[],n,e)),i=pw(t),l=o.sourceId||Xt.activeSource,c=((f=Xt.sources)==null?void 0:f[l])||{};let u=null;try{u=Be("profileConfig",null)}catch{}const d=new lp({profileConfig:u}),g=te(()=>{const _=o.rows.value||[];return _.length?(d.rawData=_.slice(),d.normalizeData(c),d.normalizedData):[]}),w={sources:{[l]:{get features(){return g.value}}}},{labelFor:A}=Ar(e,w,l);jv(t,{labelFor:A});const L=Pi({rowStore:o.rowStore,rows:o.rows,selectionSet:t.selectionSet,filterSet:t.filterSet,FACET_ACC:n,dataOpts:e.data,labelFor:A,rowMatches:t.rowMatchesFilters}),{colorFor:C}=cw();e.legend||(e.legend={colorFor:C,labelFor:A}),so("selectionBus",t),so("dashboardData",o),so("dashboardConfig",e),so("dataStore",w),so("searchSourceId",l);let F=null,v=null;try{v=Be("lang",null)}catch{}const k=()=>v&&v.value||Vo()||"";return Qe(k,_=>{_!==F&&(F=_,o.load())}),vt(()=>{F=k(),o.load()}),{bus:t,data:o,FACET_ACC:n,filteredRows:r,kpis:s,exporter:L,responsive:i}}const fw="rd-dashboard-layout",cp="rd-dashboard-layout-v6",hw={facetW:296,railW:296,tableH:"34%",mapH:340,shellH:562},mw={facetW:[160,420],railW:[200,520],tableH:[12,70],mapH:[220,1400],shellH:[400,2600]},up=32,dp=120,Mt=(e,[t,o])=>Math.min(o,Math.max(t,e)),Tr=(e,t)=>{const o=parseFloat(String(e));return Number.isFinite(o)?o:t};function _w(e={}){const{shellRef:t,bus:o=null,isNarrow:n=!1,pageScroll:a=!1,storageKey:r=cp}=e,s={...hw,...e.defaults||{}},i={...mw,...e.clamps||{}},l=pe(s.facetW),c=pe(s.railW),u=pe(s.tableH),d=pe(s.mapH),g=pe(s.shellH),w=pe(!1),A=pe(!1),L=pe(!1),C=()=>!!ue(n),F=()=>!!ue(a);function v(){const N=t&&t.value;if(!N)return g.value;const E=parseFloat(getComputedStyle(N).getPropertyValue("--rd-shell-h"));if(Number.isFinite(E)&&E>0)return Math.round(E);const W=N.querySelector('[data-region="map"]'),me=N.querySelector('[data-region="table"]');if(!W||!me)return g.value;const be=W.getBoundingClientRect().height+me.getBoundingClientRect().height;return be>0?Math.round(be):g.value}function k(){const N=t&&t.value;N&&(w.value&&(N.style.setProperty("--facet-w",l.value+"px"),N.style.setProperty("--rail-w",c.value+"px"),N.style.setProperty("--table-h",u.value)),A.value&&N.style.setProperty("--rd-map-h",d.value+"px"),L.value&&N.style.setProperty("--rd-shell-h",g.value+"px"))}function f(){const N=t&&t.value;N&&(N.style.removeProperty("--facet-w"),N.style.removeProperty("--rail-w"),N.style.removeProperty("--table-h"),N.style.removeProperty("--rd-map-h"),N.style.removeProperty("--rd-shell-h"))}function _(){try{localStorage.setItem(r,JSON.stringify({facetW:l.value,railW:c.value,tableH:u.value,mapH:d.value,shellH:g.value}))}catch{}}function b(){try{const N=r===cp,E=localStorage.getItem(r)||(N?localStorage.getItem(fw):null);if(!E)return!1;const W=JSON.parse(E);return Number.isFinite(W.facetW)&&(l.value=Mt(W.facetW,i.facetW)),Number.isFinite(W.railW)&&(c.value=Mt(W.railW,i.railW)),W.tableH!=null&&(u.value=Mt(Tr(W.tableH,Tr(s.tableH,34)),i.tableH)+"%"),w.value=!0,Number.isFinite(W.shellH)&&(g.value=Mt(W.shellH,i.shellH),L.value=!0),Number.isFinite(W.mapH)&&(d.value=Mt(W.mapH,i.mapH),A.value=!0),!0}catch{return!1}}function x(){try{localStorage.removeItem(r)}catch{}l.value=s.facetW,c.value=s.railW,u.value=s.tableH,d.value=s.mapH,g.value=s.shellH,w.value=!1,A.value=!1,L.value=!1,f()}const m=pe(!1);function $(){if(m.value)return;m.value=!0;const N=t&&t.value;if(N&&N.setAttribute("data-rd-resizing","1"),o&&typeof o.emit=="function")try{o.emit("layoutResizing",!0)}catch{}}function V(){if(!m.value)return;m.value=!1;const N=t&&t.value;if(N&&N.removeAttribute("data-rd-resizing"),o&&typeof o.emit=="function")try{o.emit("layoutResizing",!1)}catch{}}function I(N,E){if(C())return;const W=t&&t.value;if(!W)return;E.preventDefault();const me=W.getBoundingClientRect(),be=E.clientX,Ae=l.value,Te=c.value,Se=(()=>{for(const p of[E.currentTarget,ue(t)])try{const O=p&&getComputedStyle(p).direction;if(O)return O==="rtl"}catch{}return!1})()?-1:1,$e=E.currentTarget,xe=N==="table"&&F(),ke=N==="shell"&&F();let y=0,T=i.mapH[1];if(xe){const p=W.querySelector('[data-region="map"]'),O=p?p.getBoundingClientRect():null;y=O?O.top:E.clientY-d.value,T=Math.max(i.mapH[0],g.value-(up+dp))}const S=E.clientY,K=ke?v():g.value;try{$e&&$e.setPointerCapture&&$e.setPointerCapture(E.pointerId)}catch{}$();let B=0,j=null;function ne(){if(B=0,!j)return;const p=j;if(j=null,N==="facet")l.value=Math.round(Mt(Ae+Se*(p.clientX-be),i.facetW)),w.value=!0;else if(N==="rail")c.value=Math.round(Mt(Te-Se*(p.clientX-be),i.railW)),w.value=!0;else if(xe)d.value=Math.round(Mt(p.clientY-y,[i.mapH[0],T])),A.value=!0;else if(N==="table"){const O=(me.bottom-p.clientY)/me.height*100;u.value=Math.round(Mt(O,i.tableH))+"%",w.value=!0}else ke&&(g.value=Math.round(Mt(K+(p.clientY-S),i.shellH)),L.value=!0);k()}function le(p){j={clientX:p.clientX,clientY:p.clientY},B||(B=requestAnimationFrame(ne))}function h(p){window.removeEventListener("pointermove",le),window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),B&&(cancelAnimationFrame(B),B=0),ne();try{$e&&$e.releasePointerCapture&&$e.releasePointerCapture(p.pointerId)}catch{}_(),V()}window.addEventListener("pointermove",le),window.addEventListener("pointerup",h),window.addEventListener("pointercancel",h)}const z=N=>I("facet",N),G=N=>I("rail",N),ce=N=>I("table",N),H=N=>I("shell",N),D={facet:16,rail:16,table:24,mapH:24,shellH:24};function ae(N,E,W){if(!C()){if(N==="facet")l.value=W?E<0?i.facetW[0]:i.facetW[1]:Math.round(Mt(l.value+E*D.facet,i.facetW)),w.value=!0;else if(N==="rail")c.value=W?E<0?i.railW[1]:i.railW[0]:Math.round(Mt(c.value-E*D.rail,i.railW)),w.value=!0;else if(N==="table"&&F()){const me=Math.max(i.mapH[0],g.value-(up+dp));d.value=W?E<0?i.mapH[0]:me:Math.round(Mt(d.value+E*D.mapH,[i.mapH[0],me])),A.value=!0}else if(N==="table"){const me=W?E<0?i.tableH[0]:i.tableH[1]:Mt(Tr(u.value,Tr(s.tableH,34))-E*D.table/4,i.tableH);u.value=Math.round(me)+"%",w.value=!0}else N==="shell"&&F()&&(g.value=W?E<0?i.shellH[0]:i.shellH[1]:Math.round(Mt(g.value+E*D.shellH,i.shellH)),L.value=!0);k(),_()}}function P(N,E){const W=E.key;let me=0;if(N==="table"||N==="shell")W==="ArrowUp"?me=-1:W==="ArrowDown"&&(me=1);else{let be=1;try{for(const Ae of[E.currentTarget,ue(t)]){const Te=Ae&&getComputedStyle(Ae).direction;if(Te){Te==="rtl"&&(be=-1);break}}}catch{}W==="ArrowLeft"?me=-1*be:W==="ArrowRight"&&(me=1*be)}if(me){E.preventDefault(),ae(N,me);return}(W==="Home"||W==="End")&&(E.preventDefault(),ae(N,W==="Home"?-1:1,!0))}let Z=null;return vt(()=>{b()&&k(),o&&typeof o.on=="function"&&(Z=o.on("resetLayout",x))}),Dt(()=>{try{Z&&Z()}catch{}try{V()}catch{}}),{facetW:l,railW:c,tableH:u,mapH:d,shellH:g,customized:w,resizing:m,startFacetResize:z,startRailResize:G,startTableResize:ce,startShellResize:H,startResize:I,reset:x,applyVars:k,stepResize:ae,onResizeKeydown:P}}const Fo="#c4c8c0",ut=e=>e==null?"":typeof e=="object"?e.label??e.value??"":e;function Mi(e,t,o){const n=new Map;for(const r of e){const s=t(r);s==null||s===""||n.set(s,(n.get(s)||0)+1)}let a=[...n.entries()].map(([r,s])=>({key:r,value:s})).sort((r,s)=>s.value-r.value);if(o&&a.length>o){const r=a.slice(0,o),s=a.slice(o).reduce((i,l)=>i+l.value,0);s>0&&r.push({key:"Other",value:s,other:!0}),a=r}return a}const pp="Other",gp=()=>we("dashboard.other")||pp,bw={class:"rd-facets","data-region":"facets"},$w={class:"fr-head"},yw={class:"fr-title"},vw={class:"fr-scope","data-scope-count":""},ww=["data-facet-section"],xw=["onClick"],kw={class:"fr-rows"},Sw=["data-facet","data-value","tabindex","role","aria-pressed","aria-label","title"],Aw=["data-expand","data-expand-value","aria-expanded","aria-label"],Lw={key:1,class:"fr-caret fr-caret-leaf","aria-hidden":"true"},Tw={class:"fr-lbl"},Cw={class:"fr-bar"},Pw={class:"fr-cnt"},Ew={key:3,class:"fr-donly","aria-hidden":"true"},Mw="#c4c8c0",Rw={__name:"DashboardFacetRail",setup(e){const t=(P,Z)=>we("dashboard."+P)||Z,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("dashboardConfig",{}),r=(n==null?void 0:n.filterSet)||{},s=Object.fromEntries(Object.entries(a.facets||{}).map(([P,Z])=>[P,Z.get])),i=new Set(Object.entries(a.facets||{}).filter(([,P])=>P&&P.dashboardOnly).map(([P])=>P)),l=wa(n,va(a));function c(P){var me,be;const Z=((me=o==null?void 0:o.rows)==null?void 0:me.value)||[],N=Object.keys(r).filter(Ae=>!P.includes(Ae)),E=!!(((be=n==null?void 0:n.searchTerm)==null?void 0:be.value)||"").trim();if(!N.length&&!E)return Z;const W=Z.filter(Ae=>n.rowMatchesFilters(Ae,s));return On(W,l)}const u=new Set(["people","place","language","religion"]),d=tn(Object.fromEntries((a.facetRail||[]).map(P=>[P.id,u.has(P.id)])));function g(P){d[P]=!d[P]}const w=tn({}),A=(P,Z)=>P+":"+Z;function L(P,Z){const N=A(P,Z);w[N]=!C(P,Z)}function C(P,Z){const N=A(P,Z);return N in w?w[N]:n.isFilterActive(P,Z)}function F(P,Z,N){const E=P.reduce((W,me)=>Math.max(W,me.value),0)||1;return P.map(W=>({facet:Z,value:W.key,label:W.other?gp():W.key,count:W.value,frac:W.value/E,level:N,other:!!W.other,active:!W.other&&n.isFilterActive(Z,W.key),dashboardOnly:i.has(Z)}))}const v=new Map;function k(P,Z,N){if(N)return v.set(P,Z.map(Se=>({...Se,count:0,frac:0,active:!1,expanded:!1}))),Z;const E=v.get(P);if(!E)return Z;const W=Se=>Se.facet+":"+Se.value,me=new Set(Z.map(W));if(!E.filter(Se=>!me.has(W(Se))).length)return Z;const Ae=new Map;let Te="";for(const Se of E){const $e=W(Se);if(me.has($e)){Te=$e;continue}Ae.has(Te)||Ae.set(Te,[]),Ae.get(Te).push({...Se,zero:!0})}const He=[];for(const Se of Ae.get("")||[])He.push(Se);for(let Se=0;Se$e.level;)He.push(Z[++Se]);for(const ke of xe)He.push(ke)}}return He}function f(P,Z){return F(Mi(c([P]),s[P],Z??24),P,0)}function _(P,Z){const N=[],E=(W,me)=>{const be=P[W],Ae=(Z&&Z[W])??(W===P.length-1?40:30);let Te=c(P.slice(W));me.length&&(Te=Te.filter(Se=>me.every(([$e,xe])=>{const ke=s[$e];return ke?ke(Se)===xe:!0})));const He=F(Mi(Te,s[be],Ae),be,W);for(const Se of He)Se.hasChildren=!Se.other&&Wa&&a.legend||null),m=(...P)=>{var Z;return(Z=x.value)!=null&&Z.colorFor?x.value.colorFor(...P):Mw},$=(P,Z)=>{var N;return(N=x.value)!=null&&N.labelFor?x.value.labelFor(P,Z):Z};function V(P,Z,N){if(!Z)return P;let E=null;for(const W of P){if(W.level===0&&(E=W.value),W.other){W.swatch=null;continue}const me=Z==="religion"?N.get(E)||"":E;W.swatch=m(Z,W.facet,W.value,me)}return P}const I=te(()=>{var N;const P=new Map,Z=a.facets&&a.facets.religion_family;if(!Z||!Z.famKey)return P;for(const E of((N=o==null?void 0:o.rows)==null?void 0:N.value)||[]){const W=Z.get(E);W&&!P.has(W)&&P.set(W,Z.famKey(E))}return P}),z=te(()=>{var P;return!Object.keys(r).length&&!(((P=n==null?void 0:n.searchTerm)==null?void 0:P.value)||"").trim()}),G=te(()=>(a.facetRail||[]).map(P=>{let Z=P.drill?_(P.drill,P.topN):f(P.facet,P.topN);return Z=k(P.id,Z,z.value),P.tree==="affinity"&&(Z=Z.map(N=>{if(N.other)return N;const E=$(N.facet,N.value);return E!==N.value?{...N,label:E}:N})),Z=V(Z,P.axis,I.value),{id:P.id,title:P.title,axis:P.axis,rows:b(Z)}})),ce=te(()=>{var N;const P=((N=o==null?void 0:o.rows)==null?void 0:N.value)||[];return Object.keys(r).length?P.filter(E=>n.rowMatchesFilters(E,s)).length:P.length});function H(P){const Z=P.target;if(!Z||!Z.closest)return;const N=Z.closest("[data-expand]");if(N){const be=N.getAttribute("data-expand"),Ae=N.getAttribute("data-expand-value");be&&Ae!=null&&(P.stopPropagation(),L(be,Ae));return}const E=Z.closest("[data-facet]");if(!E||!n)return;const W=E.getAttribute("data-facet"),me=E.getAttribute("data-value");!W||!me||n.setFilter(W,r[W]===me?null:me)}function D(P){if(P.key!=="Enter"&&P.key!==" "&&P.key!=="Spacebar")return;const Z=P.target&&P.target.closest?P.target.closest("[data-facet]"):null;if(!Z||!n)return;P.preventDefault();const N=Z.getAttribute("data-facet"),E=Z.getAttribute("data-value");!N||!E||n.setFilter(N,r[N]===E?null:E)}const ae=pe(null);return vt(()=>{n&&n.on("mapFocus",({value:P}={})=>{if(!P||!ae.value)return;const N=[...ae.value.querySelectorAll(".fr-row")].find(E=>E.textContent&&E.textContent.includes(P));N&&(ae.value.scrollTop=Math.max(0,N.offsetTop-8))})}),Ht(` .rd-facets{ display:flex; flex-direction:column; height:100%; min-height:0; box-sizing:border-box; background:var(--rd-panel,#fff); } .rd-facets .fr-head{ flex:0 0 auto; padding:var(--s3,12px) var(--s3,12px) var(--s2,8px); border-bottom:1px solid var(--rd-line, #d1d4cd); } @@ -154,7 +154,7 @@ .fr-cnt{ flex:0 0 auto; font-variant-numeric:tabular-nums; color:var(--dx-muted, #6d766e); min-width:30px; text-align:right; font-size:11px; margin-left:8px; } .fr-row.dash-only .fr-donly{ flex:0 0 auto; margin-left:6px; font-size:10px; line-height:1; color:var(--dx-muted, #6d766e); opacity:.75; } -`,"rd-facetrail"),(P,Z)=>(Y(),Q("aside",mw,[M("div",_w,[M("div",bw,re(t("vertical_legend","Vertical Legend")),1),M("div",$w,[M("b",null,re(ue(Zo)(ce.value)),1),pt(" "+re(t("groups_in_scope","groups in scope")),1)])]),M("div",{class:"fr-body",ref_key:"railEl",ref:ae,onClick:H,onKeydown:D},[(Y(!0),Q(Me,null,nt(G.value,N=>(Y(),Q("div",{key:N.id,class:"fr-sec","data-facet-section":N.id},[M("div",{class:Ke(["fr-sech",{closed:!d[N.id]}]),onClick:go(E=>g(N.id),["stop"])},[M("span",null,re(N.title),1),Z[0]||(Z[0]=M("span",{class:"chev"},"▾",-1))],10,vw),zt(M("div",ww,[(Y(!0),Q(Me,null,nt(N.rows,E=>(Y(),Q("div",{key:E.facet+":"+E.value,class:Ke(["fr-row",["l"+E.level,{on:E.active,other:E.other,zero:E.zero,inert:E.other||E.zero,"dash-only":E.dashboardOnly}]]),"data-facet":E.other||E.zero?null:E.facet,"data-value":E.other||E.zero?null:E.value,tabindex:E.other||E.zero?null:0,role:E.other||E.zero?null:"button","aria-pressed":E.other||E.zero?null:E.active?"true":"false","aria-label":E.other||E.zero?null:(E.active?t("remove_filter","Remove filter"):t("filter_by","Filter by"))+" "+E.label+", "+ue(Zo)(E.count)+" "+t("groups","groups")+(E.dashboardOnly?". Updates the charts on this dashboard only; it does not filter the list below.":""),title:E.dashboardOnly?"Updates this dashboard only — the list below does not filter on "+E.label:null},[(Y(!0),Q(Me,null,nt(E.trunks,(W,me)=>(Y(),Q("span",{key:"tr"+me,class:Ke(["fr-trunk","fr-trunk-"+W])},null,2))),128)),E.hasChildren?(Y(),Q("button",{key:0,type:"button",class:Ke(["fr-caret-btn",{open:E.expanded}]),"data-expand":E.facet,"data-expand-value":E.value,"aria-expanded":E.expanded?"true":"false","aria-label":(E.expanded?t("collapse","Collapse"):t("expand","Expand"))+" "+E.label},[...Z[1]||(Z[1]=[M("span",{class:"fr-caret-gl","aria-hidden":"true"},"▸",-1)])],10,kw)):(Y(),Q("span",Sw)),E.swatch?(Y(),Q("span",{key:2,class:"fr-sw",style:dt({background:E.swatch}),"aria-hidden":"true"},null,4)):Ie("",!0),M("span",Aw,re(E.label),1),M("span",Lw,[M("i",{style:dt({width:Math.max(4,E.frac*100)+"%"})},null,4)]),M("span",Tw,re(ue(Zo)(E.count)),1),E.dashboardOnly?(Y(),Q("span",Cw,"◐")):Ie("",!0)],10,xw))),128))],512),[[Kt,d[N.id]]])],8,yw))),128))],544)]))}},Mw=".search-box{position:relative;display:flex;align-items:center;margin:0 auto;width:100%;color:var(--dx-muted, #6d766e)}.search-box .search-icon{position:absolute;left:12px;pointer-events:none}.search-box input{width:100%;padding:10px 12px 10px 38px;font-size:.95rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:10px;outline:none;box-sizing:border-box}.search-box input:focus{border-color:var(--dx-accent, #92b195);box-shadow:0 0 0 2px var(--dx-accent-weak, rgba(146, 177, 149, .18))}",Rw=["value","placeholder","aria-label"],Ei=gn({__name:"SearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"Search…"},ariaLabel:{type:String,default:"Search"},maxWidth:{type:String,default:""}},emits:["update:modelValue","search"],setup(e,{emit:t}){const o=e,n=t,a=te(()=>o.maxWidth?{maxWidth:o.maxWidth}:{});function r(s){const i=s.target.value??"";n("update:modelValue",i),n("search",{value:i})}return(s,i)=>(Y(),Q("div",{class:"search-box",style:dt(a.value)},[i[0]||(i[0]=M("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[M("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),M("line",{x1:"16.5",y1:"16.5",x2:"21",y2:"21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),M("input",{type:"search",value:e.modelValue,placeholder:e.placeholder,"aria-label":e.ariaLabel,onInput:r},null,40,Rw)],4))}},[["styles",[Mw]]]),Fw=["title","aria-label","disabled"],Mi={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["click"],setup(e){return Ht(` +`,"rd-facetrail"),(P,Z)=>(Y(),Q("aside",bw,[M("div",$w,[M("div",yw,re(t("vertical_legend","Vertical Legend")),1),M("div",vw,[M("b",null,re(ue(Xo)(ce.value)),1),pt(" "+re(t("groups_in_scope","groups in scope")),1)])]),M("div",{class:"fr-body",ref_key:"railEl",ref:ae,onClick:H,onKeydown:D},[(Y(!0),Q(Me,null,nt(G.value,N=>(Y(),Q("div",{key:N.id,class:"fr-sec","data-facet-section":N.id},[M("div",{class:Ke(["fr-sech",{closed:!d[N.id]}]),onClick:go(E=>g(N.id),["stop"])},[M("span",null,re(N.title),1),Z[0]||(Z[0]=M("span",{class:"chev"},"▾",-1))],10,xw),zt(M("div",kw,[(Y(!0),Q(Me,null,nt(N.rows,E=>(Y(),Q("div",{key:E.facet+":"+E.value,class:Ke(["fr-row",["l"+E.level,{on:E.active,other:E.other,zero:E.zero,inert:E.other||E.zero,"dash-only":E.dashboardOnly}]]),"data-facet":E.other||E.zero?null:E.facet,"data-value":E.other||E.zero?null:E.value,tabindex:E.other||E.zero?null:0,role:E.other||E.zero?null:"button","aria-pressed":E.other||E.zero?null:E.active?"true":"false","aria-label":E.other||E.zero?null:(E.active?t("remove_filter","Remove filter"):t("filter_by","Filter by"))+" "+E.label+", "+ue(Xo)(E.count)+" "+t("groups","groups")+(E.dashboardOnly?". Updates the charts on this dashboard only; it does not filter the list below.":""),title:E.dashboardOnly?"Updates this dashboard only — the list below does not filter on "+E.label:null},[(Y(!0),Q(Me,null,nt(E.trunks,(W,me)=>(Y(),Q("span",{key:"tr"+me,class:Ke(["fr-trunk","fr-trunk-"+W])},null,2))),128)),E.hasChildren?(Y(),Q("button",{key:0,type:"button",class:Ke(["fr-caret-btn",{open:E.expanded}]),"data-expand":E.facet,"data-expand-value":E.value,"aria-expanded":E.expanded?"true":"false","aria-label":(E.expanded?t("collapse","Collapse"):t("expand","Expand"))+" "+E.label},[...Z[1]||(Z[1]=[M("span",{class:"fr-caret-gl","aria-hidden":"true"},"▸",-1)])],10,Aw)):(Y(),Q("span",Lw)),E.swatch?(Y(),Q("span",{key:2,class:"fr-sw",style:dt({background:E.swatch}),"aria-hidden":"true"},null,4)):Ie("",!0),M("span",Tw,re(E.label),1),M("span",Cw,[M("i",{style:dt({width:Math.max(4,E.frac*100)+"%"})},null,4)]),M("span",Pw,re(ue(Xo)(E.count)),1),E.dashboardOnly?(Y(),Q("span",Ew,"◐")):Ie("",!0)],10,Sw))),128))],512),[[Kt,d[N.id]]])],8,ww))),128))],544)]))}},Fw=".search-box{position:relative;display:flex;align-items:center;margin:0 auto;width:100%;color:var(--dx-muted, #6d766e)}.search-box .search-icon{position:absolute;left:12px;pointer-events:none}.search-box input{width:100%;padding:10px 12px 10px 38px;font-size:.95rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:10px;outline:none;box-sizing:border-box}.search-box input:focus{border-color:var(--dx-accent, #92b195);box-shadow:0 0 0 2px var(--dx-accent-weak, rgba(146, 177, 149, .18))}",Nw=["value","placeholder","aria-label"],Ri=gn({__name:"SearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"Search…"},ariaLabel:{type:String,default:"Search"},maxWidth:{type:String,default:""}},emits:["update:modelValue","search"],setup(e,{emit:t}){const o=e,n=t,a=te(()=>o.maxWidth?{maxWidth:o.maxWidth}:{});function r(s){const i=s.target.value??"";n("update:modelValue",i),n("search",{value:i})}return(s,i)=>(Y(),Q("div",{class:"search-box",style:dt(a.value)},[i[0]||(i[0]=M("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[M("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),M("line",{x1:"16.5",y1:"16.5",x2:"21",y2:"21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),M("input",{type:"search",value:e.modelValue,placeholder:e.placeholder,"aria-label":e.ariaLabel,onInput:r},null,40,Nw)],4))}},[["styles",[Fw]]]),Ow=["title","aria-label","disabled"],Fi={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["click"],setup(e){return Ht(` .mcb{ width:var(--map-btn-size,40px);height:var(--map-btn-size,40px); background:#fff; @@ -184,7 +184,7 @@ @media (prefers-reduced-motion: reduce) { .mcb-btn { transition: none !important; animation: none !important; } } -`,"map-control-button"),(t,o)=>(Y(),Q("button",{class:Ke(["mcb",{dark:e.isDark,active:e.active,"mcb--square":e.shape==="square"}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[rn(t.$slots,"default")],10,Fw))}},Nw=["aria-label"],Ow={class:"mcm-header"},Iw={class:"mcm-title"},zw=["aria-label"],Dw={class:"mcm-body"},Bw=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",Ri="doxa-map-menu-open",Hw={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const o=(A,L)=>we(A)||L;Ht(` +`,"map-control-button"),(t,o)=>(Y(),Q("button",{class:Ke(["mcb",{dark:e.isDark,active:e.active,"mcb--square":e.shape==="square"}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[sn(t.$slots,"default")],10,Ow))}},Iw=["aria-label"],zw={class:"mcm-header"},Dw={class:"mcm-title"},Bw=["aria-label"],Hw={class:"mcm-body"},Uw=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",Ni="doxa-map-menu-open",jw={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const o=(A,L)=>we(A)||L;Ht(` .mcm{position:absolute;z-index:var(--z-menu,3000);display:flex;flex-direction:column;box-sizing:border-box; background:#161b22;border:1px solid #30363d;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,0.45); color:#e6edf3;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:13px; @@ -203,7 +203,7 @@ @media (prefers-reduced-motion: reduce) { .mcm-menu, .mcm-item { transition: none !important; animation: none !important; } } -`,"map-control-menu");const n=e,a=t,r=Be("mapToolbar",null),s=pe(null),i=pe(null),l=pe({});function c(){var V;const A=(V=r==null?void 0:r.el)==null?void 0:V.value,L=s.value;if(!A||!L){l.value={};return}const C=L.getBoundingClientRect(),F=A.getBoundingClientRect(),v=(F.left+F.right)/2>(C.left+C.right)/2,k=8,f=12,_=v?C.right-F.left+k:F.right-C.left+k,b=Math.max(200,Math.min(n.width,C.width-_-f)),x=Math.max(0,F.top-C.top);let $=L.getAttribute&&L.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-F.top-f):Math.max(120,C.height-x-f);n.matchToolbar&&($=Math.max(120,Math.min($,F.height))),n.maxHeight&&($=Math.min($,n.maxHeight)),l.value={top:`${Math.round(x)}px`,[v?"right":"left"]:`${Math.round(_)}px`,width:`${Math.round(b)}px`,maxHeight:`${Math.round($)}px`,...n.height?{height:`${Math.round(Math.min(n.height,$))}px`}:{}}}function u(A){n.open&&A.detail!==i.value&&a("close")}Qe(()=>n.open,async A=>{var L;if(A){await wn(),c();try{(L=s.value)==null||L.dispatchEvent(new CustomEvent(Ri,{detail:i.value}))}catch{}}});function d(){n.open&&c()}function g(A){A.key==="Escape"&&n.open&&a("close")}function w(A){var C;if(!n.open)return;const L=A.composedPath?A.composedPath():[A.target];i.value&&L.includes(i.value)||(C=r==null?void 0:r.el)!=null&&C.value&&L.includes(r.el.value)||L.some(F=>{var v,k,f,_;return((k=(v=F==null?void 0:F.classList)==null?void 0:v.contains)==null?void 0:k.call(v,"mapboxgl-canvas"))||((_=(f=F==null?void 0:F.classList)==null?void 0:f.contains)==null?void 0:_.call(f,"maplibregl-canvas"))})&&a("close")}return vt(()=>{var L,C;const A=((L=r==null?void 0:r.el)==null?void 0:L.value)||null;s.value=(A==null?void 0:A.closest(Bw))||(A==null?void 0:A.offsetParent)||(A==null?void 0:A.parentElement)||null,(C=s.value)==null||C.addEventListener(Ri,u),window.addEventListener("resize",d),document.addEventListener("click",w,!0),document.addEventListener("keydown",g)}),Dt(()=>{var A;(A=s.value)==null||A.removeEventListener(Ri,u),window.removeEventListener("resize",d),document.removeEventListener("click",w,!0),document.removeEventListener("keydown",g)}),(A,L)=>(Y(),lo(Bg,{to:s.value,disabled:!s.value},[e.open?(Y(),Q("div",{key:0,ref_key:"el",ref:i,class:Ke(["mcm",{light:!e.isDark}]),style:dt(l.value),role:"dialog","aria-label":e.title},[M("div",Ow,[M("span",Iw,re(e.title),1),M("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:L[0]||(L[0]=C=>a("close"))},[...L[1]||(L[1]=[M("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[M("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),M("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])],8,zw)]),M("div",Dw,[rn(A.$slots,"default")])],14,Nw)):Ie("",!0)],8,["to","disabled"]))}},Uw={class:"share-steps"},jw={class:"share-tabs"},Gw={key:0,class:"share-body"},Ww={class:"share-url-box"},qw={class:"share-url-text"},Vw={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Kw={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Yw={key:1,class:"share-body"},Zw={class:"share-embed-desc"},Xw={class:"share-size-pills"},Jw=["onClick"],Qw={class:"share-code-box"},e0={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},t0={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},o0={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){const t=(I,z)=>we(I)||z;Ht(` +`,"map-control-menu");const n=e,a=t,r=Be("mapToolbar",null),s=pe(null),i=pe(null),l=pe({});function c(){var V;const A=(V=r==null?void 0:r.el)==null?void 0:V.value,L=s.value;if(!A||!L){l.value={};return}const C=L.getBoundingClientRect(),F=A.getBoundingClientRect(),v=(F.left+F.right)/2>(C.left+C.right)/2,k=8,f=12,_=v?C.right-F.left+k:F.right-C.left+k,b=Math.max(200,Math.min(n.width,C.width-_-f)),x=Math.max(0,F.top-C.top);let $=L.getAttribute&&L.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-F.top-f):Math.max(120,C.height-x-f);n.matchToolbar&&($=Math.max(120,Math.min($,F.height))),n.maxHeight&&($=Math.min($,n.maxHeight)),l.value={top:`${Math.round(x)}px`,[v?"right":"left"]:`${Math.round(_)}px`,width:`${Math.round(b)}px`,maxHeight:`${Math.round($)}px`,...n.height?{height:`${Math.round(Math.min(n.height,$))}px`}:{}}}function u(A){n.open&&A.detail!==i.value&&a("close")}Qe(()=>n.open,async A=>{var L;if(A){await wn(),c();try{(L=s.value)==null||L.dispatchEvent(new CustomEvent(Ni,{detail:i.value}))}catch{}}});function d(){n.open&&c()}function g(A){A.key==="Escape"&&n.open&&a("close")}function w(A){var C;if(!n.open)return;const L=A.composedPath?A.composedPath():[A.target];i.value&&L.includes(i.value)||(C=r==null?void 0:r.el)!=null&&C.value&&L.includes(r.el.value)||L.some(F=>{var v,k,f,_;return((k=(v=F==null?void 0:F.classList)==null?void 0:v.contains)==null?void 0:k.call(v,"mapboxgl-canvas"))||((_=(f=F==null?void 0:F.classList)==null?void 0:f.contains)==null?void 0:_.call(f,"maplibregl-canvas"))})&&a("close")}return vt(()=>{var L,C;const A=((L=r==null?void 0:r.el)==null?void 0:L.value)||null;s.value=(A==null?void 0:A.closest(Uw))||(A==null?void 0:A.offsetParent)||(A==null?void 0:A.parentElement)||null,(C=s.value)==null||C.addEventListener(Ni,u),window.addEventListener("resize",d),document.addEventListener("click",w,!0),document.addEventListener("keydown",g)}),Dt(()=>{var A;(A=s.value)==null||A.removeEventListener(Ni,u),window.removeEventListener("resize",d),document.removeEventListener("click",w,!0),document.removeEventListener("keydown",g)}),(A,L)=>(Y(),lo(Ug,{to:s.value,disabled:!s.value},[e.open?(Y(),Q("div",{key:0,ref_key:"el",ref:i,class:Ke(["mcm",{light:!e.isDark}]),style:dt(l.value),role:"dialog","aria-label":e.title},[M("div",zw,[M("span",Dw,re(e.title),1),M("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:L[0]||(L[0]=C=>a("close"))},[...L[1]||(L[1]=[M("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[M("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),M("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])],8,Bw)]),M("div",Hw,[sn(A.$slots,"default")])],14,Iw)):Ie("",!0)],8,["to","disabled"]))}},Gw={class:"share-steps"},Ww={class:"share-tabs"},qw={key:0,class:"share-body"},Vw={class:"share-url-box"},Kw={class:"share-url-text"},Yw={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Zw={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Xw={key:1,class:"share-body"},Jw={class:"share-embed-desc"},Qw={class:"share-size-pills"},e0=["onClick"],t0={class:"share-code-box"},o0={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},n0={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},a0={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){const t=(I,z)=>we(I)||z;Ht(` .share-wrap{position:relative;display:inline-block;border-radius:50%;} .share-wrap::before{content:'';position:absolute;inset:-2px;border-radius:50%;padding:2px;pointer-events:none; background:conic-gradient(#ff6b6b,#ffd166,#6bd67b,#4dabf7,#9775fa,#f783ac,#ff6b6b); @@ -455,7 +455,7 @@ border-color:rgba(46,164,79,0.30); color:#2ea44f; } -`,"share-button");const{t:o,tm:n,rt:a}=qo(),r=e,s=pe(null),i=pe(!1),l=pe(null),c=pe(null),u=pe("link"),d=pe(!1),g=pe(!1),w=pe("medium"),A={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},L=Be("profileConfig",null),C=te(()=>Dy({embedPath:r.embedPath,profileConfig:ue(L)||null})),F=te(()=>{const I=A[w.value].height;return''});function v(){i.value=!i.value,i.value&&(u.value="link",d.value=!1,g.value=!1)}function k(){i.value=!1}async function f(I){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(I),!0}catch{}try{const z=document.createElement("textarea");z.value=I,z.setAttribute("readonly",""),z.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(z),z.select();const G=document.execCommand("copy");return document.body.removeChild(z),G}catch{return!1}}async function _(){await f(C.value)&&(d.value=!0,setTimeout(()=>{d.value=!1},2e3))}async function b(){await f(F.value)&&(g.value=!0,setTimeout(()=>{g.value=!1},2e3))}const x=Be("mapToolbar",null),m=pe(null);so("mapToolbar",x||{el:m});const $=!x;function V(I){if(s.value=I||null,!$||!I){I||(m.value=null);return}const z=I.offsetParent||I.parentElement;z&&!z.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&z.setAttribute("data-map-area","share-fallback"),m.value=I}return(I,z)=>(Y(),Q("div",{ref:V,class:"share-wrap","data-share-root":""},[We(Mi,{ref_key:"btnEl",ref:c,"data-control":"share","is-dark":e.isDark,active:i.value,title:ue(o)("buttons.share"),onClick:v},{default:zo(()=>[...z[2]||(z[2]=[M("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[M("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),M("polyline",{points:"16 6 12 2 8 6"}),M("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),We(Hw,{open:i.value,title:ue(o)("buttons.share"),"is-dark":e.isDark,onClose:k},{default:zo(()=>[M("div",{ref_key:"popoverEl",ref:l,class:Ke(["share-pop",{light:!e.isDark}])},[M("ul",Uw,[(Y(!0),Q(Me,null,nt(ue(n)("buttons.shareSteps"),(G,ce)=>(Y(),Q("li",{key:ce},re(ue(a)(G)),1))),128))]),M("div",jw,[M("button",{class:Ke(["share-tab",{active:u.value==="link"}]),onClick:z[0]||(z[0]=G=>u.value="link")},re(t("share.embed_link","Embed link")),3),M("button",{class:Ke(["share-tab",{active:u.value==="embed"}]),onClick:z[1]||(z[1]=G=>u.value="embed")},re(t("share.add_to_website","Add to Your Website")),3)]),u.value==="link"?(Y(),Q("div",Gw,[M("div",Ww,[M("div",qw,re(C.value),1)]),M("button",{class:Ke(["share-primary-btn",{copied:d.value}]),onClick:_},[d.value?(Y(),Q("svg",Kw,[...z[4]||(z[4]=[M("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(Y(),Q("svg",Vw,[...z[3]||(z[3]=[M("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),M("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),pt(" "+re(d.value?"Copied!":"Copy Link"),1)],2)])):Ie("",!0),u.value==="embed"?(Y(),Q("div",Yw,[M("div",Zw,re(t("share.embed_paste_hint","Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets).")),1),M("div",Xw,[(Y(),Q(Me,null,nt(A,(G,ce)=>M("button",{key:ce,class:Ke(["share-size-pill",{active:w.value===ce}]),onClick:H=>w.value=ce},re(G.label),11,Jw)),64))]),M("div",Qw,re(F.value),1),M("button",{class:Ke(["share-secondary-btn",{copied:g.value}]),onClick:b},[g.value?(Y(),Q("svg",t0,[...z[6]||(z[6]=[M("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(Y(),Q("svg",e0,[...z[5]||(z[5]=[M("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),M("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),pt(" "+re(g.value?"Copied!":"Copy Code"),1)],2)])):Ie("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},n0={class:"rd-left"},a0={class:"rd-brand"},r0={class:"rd-ttl"},s0={class:"rd-filter-search","data-filter-search":""},i0={key:0,class:"rd-search","data-search":""},l0=["placeholder","aria-label"],c0=["data-slug"],u0={class:"nm"},d0={class:"sub"},p0={key:1,class:"rd-empty"},g0=["title","onKeydown"],f0="research-dashboard/research-dashboard/index.html",h0={__name:"DashboardTopBar",setup(e){const t=(f,_)=>we("dashboard."+f)||_,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("dashboardConfig",{}),r=te(()=>a.showTopBarSearch===!0);function s(){n&&n.emit("resetLayout")}const i=te(()=>{var f;return((f=n==null?void 0:n.searchTerm)==null?void 0:f.value)||""}),l=te(()=>{var f;return((f=a.researchFilters)==null?void 0:f.searchPlaceholder)||t("search_placeholder","Search people groups, place, language, religion…")});function c(f){n==null||n.setSearch((f==null?void 0:f.value)??"")}const u=pe(""),d=pe(!1),g=pe(0),w=te(()=>{var x;const f=u.value.trim().toLowerCase();if(f.length<2)return[];const _=((x=o==null?void 0:o.rows)==null?void 0:x.value)||[],b=[];for(const m of _)if((m.name||"").toLowerCase().includes(f)&&(b.push(m),b.length>=8))break;return b});function A(f){!f||!n||(f.slug&&(n.toggleSelect(f.slug),n.emit("focusRow",{slug:f.slug,name:f.name})),u.value="",d.value=!1,g.value=0)}function L(){d.value=!0,g.value=0}function C(f){if(!w.value.length){f.key==="Escape"&&(u.value="",d.value=!1);return}f.key==="ArrowDown"?(f.preventDefault(),g.value=(g.value+1)%w.value.length):f.key==="ArrowUp"?(f.preventDefault(),g.value=(g.value-1+w.value.length)%w.value.length):f.key==="Enter"?(f.preventDefault(),A(w.value[g.value])):f.key==="Escape"&&(u.value="",d.value=!1,g.value=0)}function F(f){var m;const _=f.target&&f.target.closest&&f.target.closest("[data-slug]");if(!_)return;const b=_.getAttribute("data-slug"),x=(((m=o==null?void 0:o.rows)==null?void 0:m.value)||[]).find($=>$.slug===b);x&&A(x)}const v=pe(null);function k(f){v.value&&!v.value.contains(f.target)&&(d.value=!1)}return vt(()=>{var f,_;try{(_=(f=v.value)==null?void 0:f.getRootNode())==null||_.addEventListener("click",k)}catch{}}),Dt(()=>{var f,_;try{(_=(f=v.value)==null?void 0:f.getRootNode())==null||_.removeEventListener("click",k)}catch{}}),Ht(` +`,"share-button");const{t:o,tm:n,rt:a}=qo(),r=e,s=pe(null),i=pe(!1),l=pe(null),c=pe(null),u=pe("link"),d=pe(!1),g=pe(!1),w=pe("medium"),A={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},L=Be("profileConfig",null),C=te(()=>Hy({embedPath:r.embedPath,profileConfig:ue(L)||null})),F=te(()=>{const I=A[w.value].height;return''});function v(){i.value=!i.value,i.value&&(u.value="link",d.value=!1,g.value=!1)}function k(){i.value=!1}async function f(I){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(I),!0}catch{}try{const z=document.createElement("textarea");z.value=I,z.setAttribute("readonly",""),z.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(z),z.select();const G=document.execCommand("copy");return document.body.removeChild(z),G}catch{return!1}}async function _(){await f(C.value)&&(d.value=!0,setTimeout(()=>{d.value=!1},2e3))}async function b(){await f(F.value)&&(g.value=!0,setTimeout(()=>{g.value=!1},2e3))}const x=Be("mapToolbar",null),m=pe(null);so("mapToolbar",x||{el:m});const $=!x;function V(I){if(s.value=I||null,!$||!I){I||(m.value=null);return}const z=I.offsetParent||I.parentElement;z&&!z.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&z.setAttribute("data-map-area","share-fallback"),m.value=I}return(I,z)=>(Y(),Q("div",{ref:V,class:"share-wrap","data-share-root":""},[We(Fi,{ref_key:"btnEl",ref:c,"data-control":"share","is-dark":e.isDark,active:i.value,title:ue(o)("buttons.share"),onClick:v},{default:zo(()=>[...z[2]||(z[2]=[M("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[M("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),M("polyline",{points:"16 6 12 2 8 6"}),M("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),We(jw,{open:i.value,title:ue(o)("buttons.share"),"is-dark":e.isDark,onClose:k},{default:zo(()=>[M("div",{ref_key:"popoverEl",ref:l,class:Ke(["share-pop",{light:!e.isDark}])},[M("ul",Gw,[(Y(!0),Q(Me,null,nt(ue(n)("buttons.shareSteps"),(G,ce)=>(Y(),Q("li",{key:ce},re(ue(a)(G)),1))),128))]),M("div",Ww,[M("button",{class:Ke(["share-tab",{active:u.value==="link"}]),onClick:z[0]||(z[0]=G=>u.value="link")},re(t("share.embed_link","Embed link")),3),M("button",{class:Ke(["share-tab",{active:u.value==="embed"}]),onClick:z[1]||(z[1]=G=>u.value="embed")},re(t("share.add_to_website","Add to Your Website")),3)]),u.value==="link"?(Y(),Q("div",qw,[M("div",Vw,[M("div",Kw,re(C.value),1)]),M("button",{class:Ke(["share-primary-btn",{copied:d.value}]),onClick:_},[d.value?(Y(),Q("svg",Zw,[...z[4]||(z[4]=[M("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(Y(),Q("svg",Yw,[...z[3]||(z[3]=[M("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),M("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),pt(" "+re(d.value?"Copied!":"Copy Link"),1)],2)])):Ie("",!0),u.value==="embed"?(Y(),Q("div",Xw,[M("div",Jw,re(t("share.embed_paste_hint","Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets).")),1),M("div",Qw,[(Y(),Q(Me,null,nt(A,(G,ce)=>M("button",{key:ce,class:Ke(["share-size-pill",{active:w.value===ce}]),onClick:H=>w.value=ce},re(G.label),11,e0)),64))]),M("div",t0,re(F.value),1),M("button",{class:Ke(["share-secondary-btn",{copied:g.value}]),onClick:b},[g.value?(Y(),Q("svg",n0,[...z[6]||(z[6]=[M("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(Y(),Q("svg",o0,[...z[5]||(z[5]=[M("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),M("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),pt(" "+re(g.value?"Copied!":"Copy Code"),1)],2)])):Ie("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},r0={class:"rd-left"},s0={class:"rd-brand"},i0={class:"rd-ttl"},l0={class:"rd-filter-search","data-filter-search":""},c0={key:0,class:"rd-search","data-search":""},u0=["placeholder","aria-label"],d0=["data-slug"],p0={class:"nm"},g0={class:"sub"},f0={key:1,class:"rd-empty"},h0=["title","onKeydown"],m0="research-dashboard/research-dashboard/index.html",_0={__name:"DashboardTopBar",setup(e){const t=(f,_)=>we("dashboard."+f)||_,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("dashboardConfig",{}),r=te(()=>a.showTopBarSearch===!0);function s(){n&&n.emit("resetLayout")}const i=te(()=>{var f;return((f=n==null?void 0:n.searchTerm)==null?void 0:f.value)||""}),l=te(()=>{var f;return((f=a.researchFilters)==null?void 0:f.searchPlaceholder)||t("search_placeholder","Search people groups, place, language, religion…")});function c(f){n==null||n.setSearch((f==null?void 0:f.value)??"")}const u=pe(""),d=pe(!1),g=pe(0),w=te(()=>{var x;const f=u.value.trim().toLowerCase();if(f.length<2)return[];const _=((x=o==null?void 0:o.rows)==null?void 0:x.value)||[],b=[];for(const m of _)if((m.name||"").toLowerCase().includes(f)&&(b.push(m),b.length>=8))break;return b});function A(f){!f||!n||(f.slug&&(n.toggleSelect(f.slug),n.emit("focusRow",{slug:f.slug,name:f.name})),u.value="",d.value=!1,g.value=0)}function L(){d.value=!0,g.value=0}function C(f){if(!w.value.length){f.key==="Escape"&&(u.value="",d.value=!1);return}f.key==="ArrowDown"?(f.preventDefault(),g.value=(g.value+1)%w.value.length):f.key==="ArrowUp"?(f.preventDefault(),g.value=(g.value-1+w.value.length)%w.value.length):f.key==="Enter"?(f.preventDefault(),A(w.value[g.value])):f.key==="Escape"&&(u.value="",d.value=!1,g.value=0)}function F(f){var m;const _=f.target&&f.target.closest&&f.target.closest("[data-slug]");if(!_)return;const b=_.getAttribute("data-slug"),x=(((m=o==null?void 0:o.rows)==null?void 0:m.value)||[]).find($=>$.slug===b);x&&A(x)}const v=pe(null);function k(f){v.value&&!v.value.contains(f.target)&&(d.value=!1)}return vt(()=>{var f,_;try{(_=(f=v.value)==null?void 0:f.getRootNode())==null||_.addEventListener("click",k)}catch{}}),Dt(()=>{var f,_;try{(_=(f=v.value)==null?void 0:f.getRootNode())==null||_.removeEventListener("click",k)}catch{}}),Ht(` .rd-topbar{ position:relative; display:flex; align-items:center; gap:12px; height:100%; padding:0 var(--rd-edge,14px); --rd-search-w:min(360px,34%); background:var(--rd-header,#4e594f); color:var(--rd-header-ink,#f3f3f1); border-bottom:1px solid var(--rd-header-line,#3c453d); @@ -503,7 +503,7 @@ background:#ffffff1f; border:1px solid #ffffff3d; border-radius:var(--r-md,6px); padding:5px 11px; } .rd-topbar .rd-align:hover{ background:#ffffff33; border-color:var(--rd-accent,#e67e22); color:#fff; } .rd-shell.rd-narrow .rd-topbar .rd-align{ display:none; } -`,"rd-topbar"),(f,_)=>(Y(),Q("header",{ref_key:"rootEl",ref:v,class:"rd-topbar","data-region":"topbar"},[M("div",n0,[M("span",a0,[M("span",r0,[pt(re(ue(a).title||t("title","Research Dashboard")),1),_[1]||(_[1]=M("span",{class:"dot"},".",-1))])])]),M("div",s0,[We(Ei,{"model-value":i.value,placeholder:l.value,"aria-label":l.value,"max-width":"360px",onSearch:c},null,8,["model-value","placeholder","aria-label"])]),_[3]||(_[3]=M("span",{class:"rd-spacer"},null,-1)),r.value?(Y(),Q("div",i0,[_[2]||(_[2]=M("span",{class:"ic"},"⌕",-1)),zt(M("input",{type:"text","onUpdate:modelValue":_[0]||(_[0]=b=>u.value=b),placeholder:ue(we)("grid.search")||"Search people groups…","data-search-input":"","aria-label":ue(we)("aria.searchPeopleGroups")||"Search people groups",onInput:L,onFocus:L,onKeydown:C},null,40,l0),[[dh,u.value]]),d.value&&u.value.trim().length>=2?(Y(),Q("div",{key:0,class:"rd-results","data-search-results":"",onClick:F},[w.value.length?(Y(!0),Q(Me,{key:0},nt(w.value,(b,x)=>(Y(),Q("div",{key:b.slug,class:Ke(["rd-res",{on:x===g.value}]),"data-slug":b.slug},[M("span",u0,re(b.name),1),M("span",d0,re(ue(ut)(b.country_code))+" · "+re(ue(ut)(b.religion)),1)],10,c0))),128)):(Y(),Q("div",p0,re((ue(we)("dashboard.no_match")||"No people groups match “{q}”.").replace("{q}",u.value.trim())),1))])):Ie("",!0)])):Ie("",!0),M("span",{class:"rd-align",role:"button",tabindex:"0","data-align-btn":"",title:t("align_dashboard_tip","Reset the dashboard layout to its default alignment"),onClick:s,onKeydown:[Bo(go(s,["prevent"]),["enter"]),Bo(go(s,["prevent"]),["space"])]}," ⤢ "+re(t("align_dashboard","Align Dashboard")),41,g0),We(o0,{"embed-path":f0})],512))}};function Fi(e,t){return t?String(e).replace(/\{(\w+)\}/g,(o,n)=>t[n]!=null?String(t[n]):o):String(e)}function pp(e,t,o=pn()){const n=String(e).split(/\s*\|\s*/);if(n.length<2||typeof t!="number")return String(e);const a=String(o||"en").split("-")[0].toLowerCase();if(a!=="en")return n[od(t,n.length,a)];const r=Math.abs(t),s=n.length===2?r?r>1?1:0:1:r?Math.min(r,2):0;return n[Math.min(s,n.length-1)]}function Ni(e,t){const o=String(t);return e&&!o.startsWith(`${e}.`)?`${e}.${o}`:o}function gp(e,t={}){const o=typeof t.fallback=="function"?(n,a,r)=>Fi(pp(t.fallback(Ni(e,n),a)??n,r),a):(n,a,r)=>Fi(pp(we(Ni(e,n))??n,r),a);try{const n=qo();return(a,r,s)=>{const i=Ni(e,a),l=typeof s=="number"?n.t(i,r||{},s):n.t(i,r||{});return l===i?o(a,r,s):l}}catch{return o}}const m0=["data-sel-count","data-fullscreen"],_0=["data-collapsed"],b0=["title","aria-expanded"],$0={class:"ttl"},y0={class:"ct","data-table-count":""},v0={key:0,class:"rd-pill","data-sel-pill":"",role:"status"},w0=["aria-pressed","title"],x0=["aria-pressed","title"],k0={key:2,class:"rd-toast","data-export-toast":""},S0=["aria-pressed","title","aria-label"],A0=["aria-busy","title","onKeydown"],L0={key:0,class:"rd-csv-n"},T0=["data-sort-by","aria-rowcount"],C0=["title"],P0=["checked","aria-label"],E0=["title","aria-sort","data-col","onClick","onKeydown"],M0={class:"ind"},R0=["data-slug","aria-selected","aria-rowindex"],F0={class:"rd-td chk",role:"gridcell"},N0=["checked","aria-label"],O0={class:"rd-foot",role:"row"},I0=90,z0=9.9,D0=12,xa=26,B0={__name:"DashboardDataTable",setup(e){const t=(q,oe)=>we(q)||oe,o=q=>t("dashboard.sort_by_column_hint","Sort this table by {column} — shift-click to add a second column. Sorting orders the table only; the cards keep their own order.").replace("{column}",q),n=Be("dashboardData",null),a=Be("selectionBus",null),r=Be("dashboardConfig",{}),s=q=>{if(typeof q=="number")return q;const oe=parseFloat(String(q??"").replace(/[^0-9.\-]/g,""));return isNaN(oe)?null:oe},i=q=>q==null?"":Zo(q),l=te(()=>r.columns||[]);function c(q){const oe=Number(q&&q.minW);if(Number.isFinite(oe)&&oe>0)return oe;const fe=String(q&&q.label||"");return fe?Math.ceil(fe.length*z0)+D0:I0}function u(q){const oe=Number(q&&q.w);return{flex:`${Number.isFinite(oe)&&oe>0?oe:1} 1 0`,minWidth:c(q)+"px"}}const d=te(()=>l.value.reduce((q,oe)=>q+c(oe),30)),g=te(()=>({minWidth:d.value+"px"})),w=Object.fromEntries(Object.entries(r.facets||{}).map(([q,oe])=>[q,oe.get])),A=te(()=>{var q;return((q=n==null?void 0:n.rows)==null?void 0:q.value)||[]}),L=(a==null?void 0:a.filterSet)||{},C=a==null?void 0:a.selectionSet;function F(q,oe,fe){const ze=w[oe];if(!ze)return!0;const De=ze(q);return Array.isArray(fe)?fe.includes(De):De===fe}const v=wa(a,va(r)),k=te(()=>{var ze;const q=Object.keys(L),oe=!!(((ze=a==null?void 0:a.searchTerm)==null?void 0:ze.value)||"").trim();if(!q.length&&!oe)return A.value;const fe=A.value.filter(De=>q.every(mt=>F(De,mt,L[mt])));return Nn(fe,v)}),f=pe([]);function _(q,oe){const fe=!!(oe&&oe.shiftKey),ze=f.value.findIndex(De=>De.key===q.key);if(ze<0)f.value=(fe?[...f.value]:[]).concat({key:q.key,dir:"asc"});else if(f.value[ze].dir==="asc"){const De=[...f.value];De[ze]={key:q.key,dir:"desc"},f.value=De}else f.value=fe?f.value.filter(De=>De.key!==q.key):[]}function b(q){const oe=f.value.find(fe=>fe.key===q.key);return oe?oe.dir==="asc"?"ascending":"descending":"none"}const x=te(()=>{const q=f.value;if(!q.length)return k.value;const oe=q.map(fe=>({col:l.value.find(ze=>ze.key===fe.key),dir:fe.dir==="asc"?1:-1}));return k.value.slice().sort((fe,ze)=>{for(const{col:De,dir:mt}of oe){let rt=De.get(fe),_t=De.get(ze);if((rt==null||rt==="")&&(rt=De.type==="num"?-1/0:""),(_t==null||_t==="")&&(_t=De.type==="num"?-1/0:""),rt<_t)return-1*mt;if(rt>_t)return 1*mt}return 0})}),m=pe(!1),$=pe(!1);function V(){m.value=!m.value}function I(){$.value=!$.value}const z=()=>a&&a.selectionVersion?a.selectionVersion.value:0,G=te(()=>{let q=x.value;if(m.value&&(z(),q=q.filter(oe=>C&&C.has(oe.slug))),$.value){z();const oe=[],fe=[];for(const ze of q)(C&&C.has(ze.slug)?oe:fe).push(ze);q=oe.concat(fe)}return q}),ce=pe(0),H=pe(360),D=pe(null);let ae=null;const P=pe(0);function Z(q){ce.value=q.target.scrollTop,P.value=q.target.scrollLeft}const N=te(()=>Math.max(0,Math.floor(ce.value/xa)-6)),E=te(()=>Math.ceil(H.value/xa)+12),W=te(()=>G.value.slice(N.value,N.value+E.value)),me=te(()=>N.value*xa),be=te(()=>Math.max(0,(G.value.length-(N.value+W.value.length))*xa));vt(()=>{D.value&&(H.value=D.value.clientHeight||360,ae=new ResizeObserver(()=>{H.value=D.value.clientHeight||H.value}),ae.observe(D.value)),a&&a.on("toggleTable",q=>{p.value=!!q}),a&&a.on("focusRow",({slug:q}={})=>{if(!q||!D.value)return;const oe=G.value.findIndex(fe=>fe.slug===q);oe>=0&&(D.value.scrollTop=Math.max(0,oe*xa-H.value/2))})}),vt(()=>{typeof document<"u"&&document.addEventListener("keydown",ee)}),Dt(()=>{ae&&ae.disconnect(),clearTimeout(_e),typeof document<"u"&&document.removeEventListener("keydown",ee)});const Ae=te(()=>(z(),C?C.size:0)),Te=q=>!!(C&&C.has(q.slug)),He=te(()=>z()),Se=pe(null),$e=pe("select");let xe=new Set;function ke(q,oe){Se.value=q,$e.value=oe,xe=new Set(C)}function y(q,oe){const fe=G.value,ze=fe.findIndex(Jt=>Jt.slug===q),De=fe.findIndex(Jt=>Jt.slug===oe);if(ze<0||De<0)return[];const[mt,rt]=ze<=De?[ze,De]:[De,ze],_t=[];for(let Jt=mt;Jt<=rt;Jt++)_t.push(fe[Jt].slug);return _t}function T(q,oe){if(!a||!q)return;const fe=!!(oe&&(oe.ctrlKey||oe.metaKey));if(!!(oe&&oe.shiftKey)&&Se.value){const De=y(Se.value,q);if(!De.length)return;if(fe){const mt=new Set(xe);if($e.value==="deselect")for(const rt of De)mt.delete(rt);else for(const rt of De)mt.add(rt);a.setSelection(mt)}else a.setSelection(De);return}if(fe){const De=!C.has(q);ke(q,De?"select":"deselect"),a.toggleSelect(q),xe=new Set(C);return}ke(q,"select"),a.setSelection([q]),xe=new Set(C)}function S(q){const oe=q.target;if(!oe||!oe.closest)return;const fe=oe.closest(".rd-row");if(!fe||!a)return;const ze=fe.getAttribute("data-slug");if(ze){if(oe.closest(".rd-td.chk")){if(q.shiftKey||q.ctrlKey||q.metaKey){T(ze,q);return}ke(ze,C.has(ze)?"deselect":"select"),a.toggleSelect(ze),xe=new Set(C);return}T(ze,q)}}function K(q){q.shiftKey&&q.target&&q.target.closest&&q.target.closest(".rd-row")&&q.preventDefault()}const B=te(()=>{z();const q=k.value;if(!q.length)return!1;for(const oe of q)if(!C.has(oe.slug))return!1;return!0}),j=te(()=>{if(z(),B.value)return!1;for(const q of k.value)if(C.has(q.slug))return!0;return!1});function ne(){if(!a)return;const q=k.value.map(oe=>oe.slug);B.value?a.deselectMany(q):a.selectMany(q),Se.value=null,xe=new Set(C)}const le=pe(null);function h(q){le.value=q||null}Qe([j,le],()=>{le.value&&(le.value.indeterminate=j.value)},{immediate:!0}),Qe([f,()=>k.value.length,m,$],()=>{Se.value=null}),Qe(Ae,q=>{q||(m.value=!1)});const p=pe(!1);function O(){p.value=!p.value,a&&a.emit("toggleTable",p.value)}const J=pe(!1),ge=pe(null);function de(){const q=ge.value,oe=q&&q.getRootNode?q.getRootNode():document,fe=oe&&oe.fullscreenElement||document.fullscreenElement;J.value=!!(fe&&q&&(fe===q||fe.contains&&fe.contains(q)))}typeof document<"u"&&document.addEventListener("fullscreenchange",de),Dt(()=>{typeof document<"u"&&document.removeEventListener("fullscreenchange",de)});function U(){const q=ge.value;if(q&&q.requestFullscreen){document.fullscreenElement?document.exitFullscreen().catch(()=>{}):q.requestFullscreen().then(de).catch(()=>{J.value=!0}),!J.value&&p.value&&(p.value=!1,a&&a.emit("toggleTable",!1));return}J.value=!J.value,J.value&&p.value&&(p.value=!1,a&&a.emit("toggleTable",!1))}function ee(q){if(q.key==="Escape"){if(document.fullscreenElement){document.exitFullscreen().catch(()=>{});return}J.value&&(J.value=!1)}}const Le=te(()=>k.value.reduce((q,oe)=>q+(s(oe.population)||0),0)),Pe=te(()=>k.value.length),{labelFor:Ye}=Ar(r,Be("dataStore",null),Be("searchSourceId",null)),at=n&&a?Ti({rowStore:n.rowStore,rows:n.rows,selectionSet:a.selectionSet,filterSet:a.filterSet,FACET_ACC:w,dataOpts:r.data,labelFor:Ye,searchFilter:q=>Nn(q,v)}):null,X=pe(""),ie=pe(!1);let _e=null;async function ye(){if(!(!at||ie.value)){ie.value=!0;try{const q=await at.exportCsvAsync(),oe=q.downloaded?t("dashboard.export_done","exported"):q.clipboard?t("dashboard.export_copied","copied to clipboard"):t("dashboard.export_ready","ready");X.value=Fi(t("dashboard.export_toast","✓ {rows} rows × {fields} fields {how}"),{rows:i(q.rows),fields:q.fields,how:oe})}catch{X.value=t("dashboard.export_failed","✕ Export failed")}finally{ie.value=!1,clearTimeout(_e),_e=setTimeout(()=>{X.value=""},3200)}}}function Re(){at&&at.prefetchExportFields()}return Ht(` +`,"rd-topbar"),(f,_)=>(Y(),Q("header",{ref_key:"rootEl",ref:v,class:"rd-topbar","data-region":"topbar"},[M("div",r0,[M("span",s0,[M("span",i0,[pt(re(ue(a).title||t("title","Research Dashboard")),1),_[1]||(_[1]=M("span",{class:"dot"},".",-1))])])]),M("div",l0,[We(Ri,{"model-value":i.value,placeholder:l.value,"aria-label":l.value,"max-width":"360px",onSearch:c},null,8,["model-value","placeholder","aria-label"])]),_[3]||(_[3]=M("span",{class:"rd-spacer"},null,-1)),r.value?(Y(),Q("div",c0,[_[2]||(_[2]=M("span",{class:"ic"},"⌕",-1)),zt(M("input",{type:"text","onUpdate:modelValue":_[0]||(_[0]=b=>u.value=b),placeholder:ue(we)("grid.search")||"Search people groups…","data-search-input":"","aria-label":ue(we)("aria.searchPeopleGroups")||"Search people groups",onInput:L,onFocus:L,onKeydown:C},null,40,u0),[[gh,u.value]]),d.value&&u.value.trim().length>=2?(Y(),Q("div",{key:0,class:"rd-results","data-search-results":"",onClick:F},[w.value.length?(Y(!0),Q(Me,{key:0},nt(w.value,(b,x)=>(Y(),Q("div",{key:b.slug,class:Ke(["rd-res",{on:x===g.value}]),"data-slug":b.slug},[M("span",p0,re(b.name),1),M("span",g0,re(ue(ut)(b.country_code))+" · "+re(ue(ut)(b.religion)),1)],10,d0))),128)):(Y(),Q("div",f0,re((ue(we)("dashboard.no_match")||"No people groups match “{q}”.").replace("{q}",u.value.trim())),1))])):Ie("",!0)])):Ie("",!0),M("span",{class:"rd-align",role:"button",tabindex:"0","data-align-btn":"",title:t("align_dashboard_tip","Reset the dashboard layout to its default alignment"),onClick:s,onKeydown:[Bo(go(s,["prevent"]),["enter"]),Bo(go(s,["prevent"]),["space"])]}," ⤢ "+re(t("align_dashboard","Align Dashboard")),41,h0),We(a0,{"embed-path":m0})],512))}};function Oi(e,t){return t?String(e).replace(/\{(\w+)\}/g,(o,n)=>t[n]!=null?String(t[n]):o):String(e)}function fp(e,t,o=Vo()){const n=String(e).split(/\s*\|\s*/);if(n.length<2||typeof t!="number")return String(e);const a=String(o||"en").split("-")[0].toLowerCase();if(a!=="en")return n[ad(t,n.length,a)];const r=Math.abs(t),s=n.length===2?r?r>1?1:0:1:r?Math.min(r,2):0;return n[Math.min(s,n.length-1)]}function Ii(e,t){const o=String(t);return e&&!o.startsWith(`${e}.`)?`${e}.${o}`:o}function hp(e,t={}){const o=typeof t.fallback=="function"?(n,a,r)=>Oi(fp(t.fallback(Ii(e,n),a)??n,r),a):(n,a,r)=>Oi(fp(we(Ii(e,n))??n,r),a);try{const n=qo();return(a,r,s)=>{const i=Ii(e,a),l=typeof s=="number"?n.t(i,r||{},s):n.t(i,r||{});return l===i?o(a,r,s):l}}catch{return o}}const b0=["data-sel-count","data-fullscreen"],$0=["data-collapsed"],y0=["title","aria-expanded"],v0={class:"ttl"},w0={class:"ct","data-table-count":""},x0={key:0,class:"rd-pill","data-sel-pill":"",role:"status"},k0=["aria-pressed","title"],S0=["aria-pressed","title"],A0={key:2,class:"rd-toast","data-export-toast":""},L0=["aria-pressed","title","aria-label"],T0=["aria-busy","title","onKeydown"],C0={key:0,class:"rd-csv-n"},P0=["data-sort-by","aria-rowcount"],E0=["title"],M0=["checked","aria-label"],R0=["title","aria-sort","data-col","onClick","onKeydown"],F0={class:"ind"},N0=["data-slug","aria-selected","aria-rowindex"],O0={class:"rd-td chk",role:"gridcell"},I0=["checked","aria-label"],z0={class:"rd-foot",role:"row"},D0=90,B0=9.9,H0=12,xa=26,U0={__name:"DashboardDataTable",setup(e){const t=(q,oe)=>we(q)||oe,o=q=>t("dashboard.sort_by_column_hint","Sort this table by {column} — shift-click to add a second column. Sorting orders the table only; the cards keep their own order.").replace("{column}",q),n=Be("dashboardData",null),a=Be("selectionBus",null),r=Be("dashboardConfig",{}),s=q=>{if(typeof q=="number")return q;const oe=parseFloat(String(q??"").replace(/[^0-9.\-]/g,""));return isNaN(oe)?null:oe},i=q=>q==null?"":Xo(q),l=te(()=>r.columns||[]);function c(q){const oe=Number(q&&q.minW);if(Number.isFinite(oe)&&oe>0)return oe;const fe=String(q&&q.label||"");return fe?Math.ceil(fe.length*B0)+H0:D0}function u(q){const oe=Number(q&&q.w);return{flex:`${Number.isFinite(oe)&&oe>0?oe:1} 1 0`,minWidth:c(q)+"px"}}const d=te(()=>l.value.reduce((q,oe)=>q+c(oe),30)),g=te(()=>({minWidth:d.value+"px"})),w=Object.fromEntries(Object.entries(r.facets||{}).map(([q,oe])=>[q,oe.get])),A=te(()=>{var q;return((q=n==null?void 0:n.rows)==null?void 0:q.value)||[]}),L=(a==null?void 0:a.filterSet)||{},C=a==null?void 0:a.selectionSet;function F(q,oe,fe){const ze=w[oe];if(!ze)return!0;const De=ze(q);return Array.isArray(fe)?fe.includes(De):De===fe}const v=wa(a,va(r)),k=te(()=>{var ze;const q=Object.keys(L),oe=!!(((ze=a==null?void 0:a.searchTerm)==null?void 0:ze.value)||"").trim();if(!q.length&&!oe)return A.value;const fe=A.value.filter(De=>q.every(mt=>F(De,mt,L[mt])));return On(fe,v)}),f=pe([]);function _(q,oe){const fe=!!(oe&&oe.shiftKey),ze=f.value.findIndex(De=>De.key===q.key);if(ze<0)f.value=(fe?[...f.value]:[]).concat({key:q.key,dir:"asc"});else if(f.value[ze].dir==="asc"){const De=[...f.value];De[ze]={key:q.key,dir:"desc"},f.value=De}else f.value=fe?f.value.filter(De=>De.key!==q.key):[]}function b(q){const oe=f.value.find(fe=>fe.key===q.key);return oe?oe.dir==="asc"?"ascending":"descending":"none"}const x=te(()=>{const q=f.value;if(!q.length)return k.value;const oe=q.map(fe=>({col:l.value.find(ze=>ze.key===fe.key),dir:fe.dir==="asc"?1:-1}));return k.value.slice().sort((fe,ze)=>{for(const{col:De,dir:mt}of oe){let rt=De.get(fe),_t=De.get(ze);if((rt==null||rt==="")&&(rt=De.type==="num"?-1/0:""),(_t==null||_t==="")&&(_t=De.type==="num"?-1/0:""),rt<_t)return-1*mt;if(rt>_t)return 1*mt}return 0})}),m=pe(!1),$=pe(!1);function V(){m.value=!m.value}function I(){$.value=!$.value}const z=()=>a&&a.selectionVersion?a.selectionVersion.value:0,G=te(()=>{let q=x.value;if(m.value&&(z(),q=q.filter(oe=>C&&C.has(oe.slug))),$.value){z();const oe=[],fe=[];for(const ze of q)(C&&C.has(ze.slug)?oe:fe).push(ze);q=oe.concat(fe)}return q}),ce=pe(0),H=pe(360),D=pe(null);let ae=null;const P=pe(0);function Z(q){ce.value=q.target.scrollTop,P.value=q.target.scrollLeft}const N=te(()=>Math.max(0,Math.floor(ce.value/xa)-6)),E=te(()=>Math.ceil(H.value/xa)+12),W=te(()=>G.value.slice(N.value,N.value+E.value)),me=te(()=>N.value*xa),be=te(()=>Math.max(0,(G.value.length-(N.value+W.value.length))*xa));vt(()=>{D.value&&(H.value=D.value.clientHeight||360,ae=new ResizeObserver(()=>{H.value=D.value.clientHeight||H.value}),ae.observe(D.value)),a&&a.on("toggleTable",q=>{p.value=!!q}),a&&a.on("focusRow",({slug:q}={})=>{if(!q||!D.value)return;const oe=G.value.findIndex(fe=>fe.slug===q);oe>=0&&(D.value.scrollTop=Math.max(0,oe*xa-H.value/2))})}),vt(()=>{typeof document<"u"&&document.addEventListener("keydown",ee)}),Dt(()=>{ae&&ae.disconnect(),clearTimeout(_e),typeof document<"u"&&document.removeEventListener("keydown",ee)});const Ae=te(()=>(z(),C?C.size:0)),Te=q=>!!(C&&C.has(q.slug)),He=te(()=>z()),Se=pe(null),$e=pe("select");let xe=new Set;function ke(q,oe){Se.value=q,$e.value=oe,xe=new Set(C)}function y(q,oe){const fe=G.value,ze=fe.findIndex(Jt=>Jt.slug===q),De=fe.findIndex(Jt=>Jt.slug===oe);if(ze<0||De<0)return[];const[mt,rt]=ze<=De?[ze,De]:[De,ze],_t=[];for(let Jt=mt;Jt<=rt;Jt++)_t.push(fe[Jt].slug);return _t}function T(q,oe){if(!a||!q)return;const fe=!!(oe&&(oe.ctrlKey||oe.metaKey));if(!!(oe&&oe.shiftKey)&&Se.value){const De=y(Se.value,q);if(!De.length)return;if(fe){const mt=new Set(xe);if($e.value==="deselect")for(const rt of De)mt.delete(rt);else for(const rt of De)mt.add(rt);a.setSelection(mt)}else a.setSelection(De);return}if(fe){const De=!C.has(q);ke(q,De?"select":"deselect"),a.toggleSelect(q),xe=new Set(C);return}ke(q,"select"),a.setSelection([q]),xe=new Set(C)}function S(q){const oe=q.target;if(!oe||!oe.closest)return;const fe=oe.closest(".rd-row");if(!fe||!a)return;const ze=fe.getAttribute("data-slug");if(ze){if(oe.closest(".rd-td.chk")){if(q.shiftKey||q.ctrlKey||q.metaKey){T(ze,q);return}ke(ze,C.has(ze)?"deselect":"select"),a.toggleSelect(ze),xe=new Set(C);return}T(ze,q)}}function K(q){q.shiftKey&&q.target&&q.target.closest&&q.target.closest(".rd-row")&&q.preventDefault()}const B=te(()=>{z();const q=k.value;if(!q.length)return!1;for(const oe of q)if(!C.has(oe.slug))return!1;return!0}),j=te(()=>{if(z(),B.value)return!1;for(const q of k.value)if(C.has(q.slug))return!0;return!1});function ne(){if(!a)return;const q=k.value.map(oe=>oe.slug);B.value?a.deselectMany(q):a.selectMany(q),Se.value=null,xe=new Set(C)}const le=pe(null);function h(q){le.value=q||null}Qe([j,le],()=>{le.value&&(le.value.indeterminate=j.value)},{immediate:!0}),Qe([f,()=>k.value.length,m,$],()=>{Se.value=null}),Qe(Ae,q=>{q||(m.value=!1)});const p=pe(!1);function O(){p.value=!p.value,a&&a.emit("toggleTable",p.value)}const J=pe(!1),ge=pe(null);function de(){const q=ge.value,oe=q&&q.getRootNode?q.getRootNode():document,fe=oe&&oe.fullscreenElement||document.fullscreenElement;J.value=!!(fe&&q&&(fe===q||fe.contains&&fe.contains(q)))}typeof document<"u"&&document.addEventListener("fullscreenchange",de),Dt(()=>{typeof document<"u"&&document.removeEventListener("fullscreenchange",de)});function U(){const q=ge.value;if(q&&q.requestFullscreen){document.fullscreenElement?document.exitFullscreen().catch(()=>{}):q.requestFullscreen().then(de).catch(()=>{J.value=!0}),!J.value&&p.value&&(p.value=!1,a&&a.emit("toggleTable",!1));return}J.value=!J.value,J.value&&p.value&&(p.value=!1,a&&a.emit("toggleTable",!1))}function ee(q){if(q.key==="Escape"){if(document.fullscreenElement){document.exitFullscreen().catch(()=>{});return}J.value&&(J.value=!1)}}const Le=te(()=>k.value.reduce((q,oe)=>q+(s(oe.population)||0),0)),Pe=te(()=>k.value.length),{labelFor:Ye}=Ar(r,Be("dataStore",null),Be("searchSourceId",null)),at=n&&a?Pi({rowStore:n.rowStore,rows:n.rows,selectionSet:a.selectionSet,filterSet:a.filterSet,FACET_ACC:w,dataOpts:r.data,labelFor:Ye,searchFilter:q=>On(q,v)}):null,X=pe(""),ie=pe(!1);let _e=null;async function ye(){if(!(!at||ie.value)){ie.value=!0;try{const q=await at.exportCsvAsync(),oe=q.downloaded?t("dashboard.export_done","exported"):q.clipboard?t("dashboard.export_copied","copied to clipboard"):t("dashboard.export_ready","ready");X.value=Oi(t("dashboard.export_toast","✓ {rows} rows × {fields} fields {how}"),{rows:i(q.rows),fields:q.fields,how:oe})}catch{X.value=t("dashboard.export_failed","✕ Export failed")}finally{ie.value=!1,clearTimeout(_e),_e=setTimeout(()=>{X.value=""},3200)}}}function Re(){at&&at.prefetchExportFields()}return Ht(` .rd-table-wrap{ display:flex; flex-direction:column; height:100%; min-height:0; background:#fff; font-size:12px; } .rd-table-bar{ position:relative; display:flex; align-items:center; gap:10px; padding:4px 10px; border-bottom:1px solid var(--dx-line, #d1d4cd); flex:0 0 auto; } .rd-table-bar .ttl{ font-weight:700; color:var(--rd-ink, #3b463d); } .rd-table-bar .ct{ color:var(--dx-muted, #6d766e); } @@ -568,7 +568,7 @@ .rd-table-bar .rd-fs:hover{ color:var(--dx-text,#3b463d); border-color:#b9bdb4; } .rd-table-bar .rd-fs.on{ color:#2b352c; background:var(--rd-primary,#92b195); border-color:#84a487; } .rd-table-bar .rd-fs:focus-visible{ outline:2px solid #6d8a70; outline-offset:2px; } -`,"rd-datatable"),(q,oe)=>(Y(),Q("div",{ref_key:"wrapEl",ref:ge,class:Ke(["rd-table-wrap",{"is-full":J.value}]),"data-sel-count":Ae.value,"data-fullscreen":J.value?"1":"0"},[M("div",{class:"rd-table-bar","data-collapsed":p.value?"1":"0"},[M("button",{class:"rd-dock",title:p.value?t("dashboard.expand_table","Expand table"):t("dashboard.collapse_table","Collapse table — grow the map"),"data-table-dock":"","aria-expanded":p.value?"false":"true",onClick:O},re(p.value?"▴":"▾"),9,b0),M("span",$0,re(t("legend.titleBar.peopleGroups","People Groups")),1),M("span",y0,re(i(Pe.value))+" "+re(Pe.value===1?t("dashboard.group","group"):t("dashboard.groups","groups")),1),Ae.value?(Y(),Q("span",v0,[M("span",null,re(i(Ae.value))+" "+re(t("dashboard.selected","Selected")),1)])):Ie("",!0),Ae.value?(Y(),Q(Me,{key:1},[M("button",{class:Ke(["rd-vtog",{on:m.value}]),"data-only-selected":"","aria-pressed":m.value?"true":"false",title:t("dashboard.only_selected_hint","Show only the selected people groups"),onClick:V},re(t("dashboard.only_selected","Only selected")),11,w0),M("button",{class:Ke(["rd-vtog",{on:$.value}]),"data-selected-first":"","aria-pressed":$.value?"true":"false",title:t("dashboard.selected_first_hint","Float the selected people groups to the top, keeping your column sort"),onClick:I},re(t("dashboard.selected_first","Selected first")),11,x0)],64)):Ie("",!0),oe[0]||(oe[0]=M("span",{class:"rd-bar-sp"},null,-1)),X.value?(Y(),Q("span",k0,re(X.value),1)):Ie("",!0),M("button",{class:Ke(["rd-fs",{on:J.value}]),"data-table-fullscreen":"","aria-pressed":J.value?"true":"false",title:J.value?t("dashboard.fs_exit_hint","Exit full screen (Esc) — back to seven rows"):t("dashboard.fs_open_hint","Open this table full screen"),"aria-label":J.value?t("dashboard.fs_exit","Exit full screen"):t("dashboard.fs_open","Open table full screen"),onClick:U},re((J.value?"⤡ ":"⤢ ")+t("buttons.toggleFullscreen","Full screen")),11,S0),M("span",{class:Ke(["rd-csv",{busy:ie.value}]),role:"button",tabindex:"0","data-csv-btn":"","aria-busy":ie.value?"true":"false",title:Ae.value?t("dashboard.export_selected_hint","Export all fields — selected people groups: {n}").replace("{n}",i(Ae.value)):t("dashboard.export_all_hint","Export all fields — people groups: {n}").replace("{n}",i(Pe.value)),onClick:ye,onMouseenter:Re,onFocus:Re,onKeydown:[Bo(go(ye,["prevent"]),["enter"]),Bo(go(ye,["prevent"]),["space"])]},[pt(re(ie.value?"…":"↓")+" "+re(t("dashboard.export_csv","Export CSV")),1),Ae.value?(Y(),Q("span",L0,re(Ae.value),1)):Ie("",!0)],42,A0)],8,_0),zt(M("div",{ref_key:"scroller",ref:D,class:"rd-grid",role:"grid","aria-multiselectable":"true","data-sort-scope":"view-local","data-sort-by":f.value.map(fe=>fe.key+":"+fe.dir).join(","),"aria-rowcount":G.value.length+1,onScroll:Z,onClick:S,onMousedown:K},[M("div",{class:"rd-thead",role:"row",style:dt(g.value)},[M("div",{class:"rd-th chk",style:{cursor:"pointer"},title:(B.value?t("dashboard.deselect_all","Deselect all"):t("dashboard.select_all","Select all"))+" "+i(Pe.value),onClick:ne},[M("input",{type:"checkbox",checked:B.value,ref:h,"aria-label":B.value?t("aria.deselectAllRows","Deselect all rows"):t("aria.selectAllRows","Select all rows"),tabindex:"-1",style:{"pointer-events":"none"}},null,8,P0)],8,C0),(Y(!0),Q(Me,null,nt(l.value,fe=>(Y(),Q("div",{key:fe.key,class:Ke(["rd-th",{num:fe.type==="num"}]),style:dt(u(fe)),title:o(fe.label),role:"columnheader","aria-sort":b(fe),"data-col":fe.key,onClick:ze=>_(fe,ze),tabindex:"0",onKeydown:[Bo(go(ze=>_(fe,ze),["prevent"]),["enter"]),Bo(go(ze=>_(fe,ze),["prevent"]),["space"])]},[pt(re(fe.label),1),M("span",M0,re(b(fe)==="ascending"?"▲":b(fe)==="descending"?"▼":""),1)],46,E0))),128))],4),M("div",{style:dt({height:me.value+"px"})},null,4),(Y(!0),Q(Me,null,nt(W.value,(fe,ze)=>(Y(),Q("div",{key:fe.slug,class:Ke(["rd-row",{sel:He.value>=0&&Te(fe)}]),role:"row","data-slug":fe.slug,"aria-selected":Te(fe)?"true":"false",style:dt(g.value),"aria-rowindex":N.value+ze+2},[M("div",F0,[M("input",{type:"checkbox",class:"rd-rowchk",checked:Te(fe),"aria-label":"Select "+fe.name,tabindex:"-1",style:{"pointer-events":"none"}},null,8,N0)]),(Y(!0),Q(Me,null,nt(l.value,De=>(Y(),Q("div",{key:De.key,class:Ke(["rd-td",{num:De.type==="num"}]),style:dt(u(De)),role:"gridcell"},re(De.type==="num"?i(De.get(fe)):De.get(fe)),7))),128))],14,R0))),128)),M("div",{style:dt({height:be.value+"px"})},null,4)],40,T0),[[Kt,!p.value]]),zt(M("div",O0,[M("div",{class:"rd-foot-inner",style:dt([g.value,{transform:"translateX("+-P.value+"px)"}])},[oe[1]||(oe[1]=M("div",{class:"rd-td chk"},null,-1)),(Y(!0),Q(Me,null,nt(l.value,(fe,ze)=>(Y(),Q("div",{key:"f-"+fe.key,class:Ke(["rd-td",{num:fe.type==="num"}]),style:dt(u(fe))},[ze===0?(Y(),Q(Me,{key:0},[pt("Σ "+re(i(Pe.value))+" "+re(Pe.value===1?t("dashboard.group","group"):t("dashboard.groups","groups")),1)],64)):fe.key==="population"?(Y(),Q(Me,{key:1},[pt(re(i(Le.value)),1)],64)):Ie("",!0)],6))),128))],4)],512),[[Kt,!p.value]])],10,m0))}},H0={map:{AFG:"AF",ALB:"AL",DZA:"DZ",ASM:"AS",AND:"AD",AGO:"AO",AIA:"AI",ATG:"AG",ARG:"AR",ARM:"AM",ABW:"AW",AUS:"AU",AUT:"AT",AZE:"AZ",BHR:"BH",BGD:"BD",BRB:"BB",BLR:"BY",BEL:"BE",BLZ:"BZ",BEN:"BJ",BMU:"BM",BTN:"BT",BOL:"BO",BES:"BQ",BIH:"BA",BWA:"BW",BRA:"BR",BRN:"BN",BGR:"BG",BFA:"BF",BDI:"BI",CPV:"CV",KHM:"KH",CMR:"CM",CAN:"CA",CYM:"KY",CAF:"CF",TCD:"TD",CHL:"CL",CHN:"CN",CXR:"CX",CCK:"CC",COL:"CO",COM:"KM",COK:"CK",CRI:"CR",CIV:"CI",HRV:"HR",CUB:"CU",CUW:"CW",CYP:"CY",DNK:"DK",DJI:"DJ",DMA:"DM",DOM:"DO",ECU:"EC",EGY:"EG",SLV:"SV",GNQ:"GQ",ERI:"ER",EST:"EE",SWZ:"SZ",ETH:"ET",FLK:"FK",FRO:"FO",FJI:"FJ",FIN:"FI",FRA:"FR",GUF:"GF",PYF:"PF",GAB:"GA",GEO:"GE",DEU:"DE",GHA:"GH",GIB:"GI",GRC:"GR",GRL:"GL",GRD:"GD",GLP:"GP",GUM:"GU",GTM:"GT",GGY:"GG",GIN:"GN",GNB:"GW",GUY:"GY",HTI:"HT",HND:"HN",HKG:"HK",HUN:"HU",ISL:"IS",IND:"IN",IDN:"ID",IRN:"IR",IRQ:"IQ",IRL:"IE",IMN:"IM",ISR:"IL",ITA:"IT",JAM:"JM",JPN:"JP",JEY:"JE",JOR:"JO",KAZ:"KZ",KEN:"KE",KIR:"KI",KOS:"XK",KWT:"KW",KGZ:"KG",LAO:"LA",LVA:"LV",LBN:"LB",LSO:"LS",LBR:"LR",LBY:"LY",LIE:"LI",LTU:"LT",LUX:"LU",MAC:"MO",MDG:"MG",MWI:"MW",MYS:"MY",MLI:"ML",MLT:"MT",MTQ:"MQ",MRT:"MR",MUS:"MU",MYT:"YT",MEX:"MX",MDA:"MD",MCO:"MC",MNG:"MN",MNE:"ME",MSR:"MS",MAR:"MA",MOZ:"MZ",MMR:"MM",NAM:"NA",NRU:"NR",NPL:"NP",NCL:"NC",NZL:"NZ",NIC:"NI",NER:"NE",NGA:"NG",NIU:"NU",NFK:"NF",PRK:"KP",MKD:"MK",NOR:"NO",OMN:"OM",PAK:"PK",PLW:"PW",PSE:"PS",PAN:"PA",PNG:"PG",PRY:"PY",PER:"PE",POL:"PL",PRT:"PT",PRI:"PR",QAT:"QA",REU:"RE",ROU:"RO",RWA:"RW",BLM:"BL",SHN:"SH",KNA:"KN",LCA:"LC",MAF:"MF",SPM:"PM",VCT:"VC",WSM:"WS",SMR:"SM",STP:"ST",SAU:"SA",SEN:"SN",SRB:"RS",SYC:"SC",SLE:"SL",SGP:"SG",SXM:"SX",SVK:"SK",SVN:"SI",SOM:"SO",ZAF:"ZA",KOR:"KR",SSD:"SS",ESP:"ES",LKA:"LK",SDN:"SD",SUR:"SR",SJM:"SJ",SWE:"SE",CHE:"CH",SYR:"SY",TWN:"TW",TJK:"TJ",TZA:"TZ",THA:"TH",BHS:"BS",VGB:"VG",CZE:"CZ",COD:"CD",FSM:"FM",GMB:"GM",MDV:"MV",MHL:"MH",NLD:"NL",MNP:"MP",PHL:"PH",PCN:"PN",COG:"CG",RUS:"RU",SLB:"SB",TCA:"TC",ARE:"AE",GBR:"GB",USA:"US",VIR:"VI",TLS:"TL",TGO:"TG",TKL:"TK",TON:"TO",TTO:"TT",TUN:"TN",TUR:"TR",TKM:"TM",TUV:"TV",UGA:"UG",UKR:"UA",URY:"UY",UZB:"UZ",VUT:"VU",VAT:"VA",VEN:"VE",VNM:"VN",WLF:"WF",ESH:"EH",YEM:"YE",ZMB:"ZM",ZWE:"ZW"}},fp=[{value:"AFG",label:"Afghanistan"},{value:"ALB",label:"Albania"},{value:"DZA",label:"Algeria"},{value:"ASM",label:"American Samoa"},{value:"AND",label:"Andorra"},{value:"AGO",label:"Angola"},{value:"AIA",label:"Anguilla"},{value:"ATG",label:"Antigua and Barbuda"},{value:"ARG",label:"Argentina"},{value:"ARM",label:"Armenia"},{value:"ABW",label:"Aruba"},{value:"AUS",label:"Australia"},{value:"AUT",label:"Austria"},{value:"AZE",label:"Azerbaijan"},{value:"BHR",label:"Bahrain"},{value:"BGD",label:"Bangladesh"},{value:"BRB",label:"Barbados"},{value:"BLR",label:"Belarus"},{value:"BEL",label:"Belgium"},{value:"BLZ",label:"Belize"},{value:"BEN",label:"Benin"},{value:"BMU",label:"Bermuda"},{value:"BTN",label:"Bhutan"},{value:"BOL",label:"Bolivia"},{value:"BES",label:"Bonaire, Sint Eustatius, and Saba"},{value:"BIH",label:"Bosnia and Herzegovina"},{value:"BWA",label:"Botswana"},{value:"BRA",label:"Brazil"},{value:"BRN",label:"Brunei"},{value:"BGR",label:"Bulgaria"},{value:"BFA",label:"Burkina Faso"},{value:"BDI",label:"Burundi"},{value:"CPV",label:"Cabo Verde"},{value:"KHM",label:"Cambodia"},{value:"CMR",label:"Cameroon"},{value:"CAN",label:"Canada"},{value:"CYM",label:"Cayman Islands"},{value:"CAF",label:"Central African Republic"},{value:"TCD",label:"Chad"},{value:"CHL",label:"Chile"},{value:"CHN",label:"China"},{value:"CXR",label:"Christmas Island"},{value:"CCK",label:"Cocos (Keeling) Islands"},{value:"COL",label:"Colombia"},{value:"COM",label:"Comoros"},{value:"COK",label:"Cook Islands"},{value:"CRI",label:"Costa Rica"},{value:"CIV",label:"Côte d’Ivoire"},{value:"HRV",label:"Croatia"},{value:"CUB",label:"Cuba"},{value:"CUW",label:"Curaçao"},{value:"CYP",label:"Cyprus"},{value:"DNK",label:"Denmark"},{value:"DJI",label:"Djibouti"},{value:"DMA",label:"Dominica"},{value:"DOM",label:"Dominican Republic"},{value:"ECU",label:"Ecuador"},{value:"EGY",label:"Egypt"},{value:"SLV",label:"El Salvador"},{value:"GNQ",label:"Equatorial Guinea"},{value:"ERI",label:"Eritrea"},{value:"EST",label:"Estonia"},{value:"SWZ",label:"Eswatini"},{value:"ETH",label:"Ethiopia"},{value:"FLK",label:"Falkland Islands (Islas Malvinas)"},{value:"FRO",label:"Faroe Islands"},{value:"FJI",label:"Fiji"},{value:"FIN",label:"Finland"},{value:"FRA",label:"France"},{value:"GUF",label:"French Guiana"},{value:"PYF",label:"French Polynesia"},{value:"GAB",label:"Gabon"},{value:"GEO",label:"Georgia"},{value:"DEU",label:"Germany"},{value:"GHA",label:"Ghana"},{value:"GIB",label:"Gibraltar"},{value:"GRC",label:"Greece"},{value:"GRL",label:"Greenland"},{value:"GRD",label:"Grenada"},{value:"GLP",label:"Guadeloupe"},{value:"GUM",label:"Guam"},{value:"GTM",label:"Guatemala"},{value:"GGY",label:"Guernsey"},{value:"GIN",label:"Guinea"},{value:"GNB",label:"Guinea-Bissau"},{value:"GUY",label:"Guyana"},{value:"HTI",label:"Haiti"},{value:"HND",label:"Honduras"},{value:"HKG",label:"Hong Kong"},{value:"HUN",label:"Hungary"},{value:"ISL",label:"Iceland"},{value:"IND",label:"India"},{value:"IDN",label:"Indonesia"},{value:"IRN",label:"Iran"},{value:"IRQ",label:"Iraq"},{value:"IRL",label:"Ireland"},{value:"IMN",label:"Isle of Man"},{value:"ISR",label:"Israel"},{value:"ITA",label:"Italy"},{value:"JAM",label:"Jamaica"},{value:"JPN",label:"Japan"},{value:"JEY",label:"Jersey"},{value:"JOR",label:"Jordan"},{value:"KAZ",label:"Kazakhstan"},{value:"KEN",label:"Kenya"},{value:"KIR",label:"Kiribati"},{value:"KOS",label:"Kosovo"},{value:"KWT",label:"Kuwait"},{value:"KGZ",label:"Kyrgyzstan"},{value:"LAO",label:"Laos"},{value:"LVA",label:"Latvia"},{value:"LBN",label:"Lebanon"},{value:"LSO",label:"Lesotho"},{value:"LBR",label:"Liberia"},{value:"LBY",label:"Libya"},{value:"LIE",label:"Liechtenstein"},{value:"LTU",label:"Lithuania"},{value:"LUX",label:"Luxembourg"},{value:"MAC",label:"Macao"},{value:"MDG",label:"Madagascar"},{value:"MWI",label:"Malawi"},{value:"MYS",label:"Malaysia"},{value:"MLI",label:"Mali"},{value:"MLT",label:"Malta"},{value:"MTQ",label:"Martinique"},{value:"MRT",label:"Mauritania"},{value:"MUS",label:"Mauritius"},{value:"MYT",label:"Mayotte"},{value:"MEX",label:"Mexico"},{value:"MDA",label:"Moldova"},{value:"MCO",label:"Monaco"},{value:"MNG",label:"Mongolia"},{value:"MNE",label:"Montenegro"},{value:"MSR",label:"Montserrat"},{value:"MAR",label:"Morocco"},{value:"MOZ",label:"Mozambique"},{value:"MMR",label:"Myanmar"},{value:"NAM",label:"Namibia"},{value:"NRU",label:"Nauru"},{value:"NPL",label:"Nepal"},{value:"NCL",label:"New Caledonia"},{value:"NZL",label:"New Zealand"},{value:"NIC",label:"Nicaragua"},{value:"NER",label:"Niger"},{value:"NGA",label:"Nigeria"},{value:"NIU",label:"Niue"},{value:"NFK",label:"Norfolk Island"},{value:"PRK",label:"North Korea"},{value:"MKD",label:"North Macedonia"},{value:"NOR",label:"Norway"},{value:"OMN",label:"Oman"},{value:"PAK",label:"Pakistan"},{value:"PLW",label:"Palau"},{value:"PSE",label:"Palestine"},{value:"PAN",label:"Panama"},{value:"PNG",label:"Papua New Guinea"},{value:"PRY",label:"Paraguay"},{value:"PER",label:"Peru"},{value:"POL",label:"Poland"},{value:"PRT",label:"Portugal"},{value:"PRI",label:"Puerto Rico"},{value:"QAT",label:"Qatar"},{value:"REU",label:"Reunion"},{value:"ROU",label:"Romania"},{value:"RWA",label:"Rwanda"},{value:"BLM",label:"Saint Barthelemy"},{value:"SHN",label:"Saint Helena, Ascension, and Tristan da Cunha"},{value:"KNA",label:"Saint Kitts and Nevis"},{value:"LCA",label:"Saint Lucia"},{value:"MAF",label:"Saint Martin"},{value:"SPM",label:"Saint Pierre and Miquelon"},{value:"VCT",label:"Saint Vincent and the Grenadines"},{value:"WSM",label:"Samoa"},{value:"SMR",label:"San Marino"},{value:"STP",label:"Sao Tome and Principe"},{value:"SAU",label:"Saudi Arabia"},{value:"SEN",label:"Senegal"},{value:"SRB",label:"Serbia"},{value:"SYC",label:"Seychelles"},{value:"SLE",label:"Sierra Leone"},{value:"SGP",label:"Singapore"},{value:"SXM",label:"Sint Maarten"},{value:"SVK",label:"Slovakia"},{value:"SVN",label:"Slovenia"},{value:"SOM",label:"Somalia"},{value:"ZAF",label:"South Africa"},{value:"KOR",label:"South Korea"},{value:"SSD",label:"South Sudan"},{value:"ESP",label:"Spain"},{value:"LKA",label:"Sri Lanka"},{value:"SDN",label:"Sudan"},{value:"SUR",label:"Suriname"},{value:"SJM",label:"Svalbard"},{value:"SWE",label:"Sweden"},{value:"CHE",label:"Switzerland"},{value:"SYR",label:"Syria"},{value:"TWN",label:"Taiwan"},{value:"TJK",label:"Tajikistan"},{value:"TZA",label:"Tanzania"},{value:"THA",label:"Thailand"},{value:"BHS",label:"The Bahamas"},{value:"VGB",label:"the British Virgin Islands"},{value:"CZE",label:"the Czech Republic"},{value:"COD",label:"the Democratic Republic of the Congo"},{value:"FSM",label:"the Federated States of Micronesia"},{value:"GMB",label:"The Gambia"},{value:"MDV",label:"the Maldives"},{value:"MHL",label:"the Marshall Islands"},{value:"NLD",label:"the Netherlands"},{value:"MNP",label:"the Northern Mariana Islands"},{value:"PHL",label:"the Philippines"},{value:"PCN",label:"the Pitcairn Islands"},{value:"COG",label:"the Republic of the Congo"},{value:"RUS",label:"the Russian Federation"},{value:"SLB",label:"the Solomon Islands"},{value:"TCA",label:"the Turks and Caicos Islands"},{value:"ARE",label:"the United Arab Emirates"},{value:"GBR",label:"the United Kingdom"},{value:"USA",label:"the United States"},{value:"VIR",label:"the Virgin Islands"},{value:"TLS",label:"Timor-Leste"},{value:"TGO",label:"Togo"},{value:"TKL",label:"Tokelau"},{value:"TON",label:"Tonga"},{value:"TTO",label:"Trinidad and Tobago"},{value:"TUN",label:"Tunisia"},{value:"TUR",label:"Turkiye"},{value:"TKM",label:"Turkmenistan"},{value:"TUV",label:"Tuvalu"},{value:"UGA",label:"Uganda"},{value:"UKR",label:"Ukraine"},{value:"URY",label:"Uruguay"},{value:"UZB",label:"Uzbekistan"},{value:"VUT",label:"Vanuatu"},{value:"VAT",label:"Vatican City"},{value:"VEN",label:"Venezuela"},{value:"VNM",label:"Vietnam"},{value:"WLF",label:"Wallis and Futuna"},{value:"ESH",label:"Western Sahara"},{value:"YEM",label:"Yemen"},{value:"ZMB",label:"Zambia"},{value:"ZWE",label:"Zimbabwe"}],U0=H0.map,j0=new Map(fp.map(e=>[e.value,e.label])),G0=new Map(fp.map(e=>[String(e.label).trim().toLowerCase(),e.value]));function W0(e){if(e)return G0.get(String(e).trim().toLowerCase())}const Oi=new Map;function q0(e){const t=e||"en";if(Oi.has(t))return Oi.get(t);let o=null;try{o=new Intl.DisplayNames([t],{type:"region"})}catch{o=null}return Oi.set(t,o),o}function V0(e,t){const o=e?String(e).toUpperCase():"",n=U0[o],a=j0.get(o)||o;if(!n||!/^[A-Z]{2}$/.test(n))return a;const r=q0(t);if(!r)return a;try{const s=r.of(n);return s&&s!==n?s:a}catch{return a}}const K0=e=>String(e||"").trim().toLowerCase().replace(/\s+/g,"_");function Cr(e,t){const o=vr(e);return o&&o.propertyKey===t?o:null}function Y0(e,t){const o=String(e||"").trim();if(!o)return"U";const n=Object.keys(t),a=n.find(i=>t[i]===o);if(a)return a;let r=null,s=0;for(const i of n){const l=t[i];l&&o.toLowerCase().startsWith(l.toLowerCase())&&l.length>s&&(r=i,s=l.length)}return r||(/^[A-Z]{1,3}$/.test(o)?ui(o):"U")}function Z0(e,t,o){const n=new Map;for(const r of e||[]){const s=t&&t(r),i=o&&o(r);if(!s||!i)continue;n.has(s)||n.set(s,new Map);const l=n.get(s);l.set(i,(l.get(i)||0)+1)}const a=new Map;for(const[r,s]of n){let i=null,l=0,c=!1;for(const[u,d]of s)d>l?(i=u,l=d,c=!1):d===l&&(c=!0);a.set(r,i&&!c?mp("wagf_region",i):Fo)}return a}function X0(e,t=132,o=.58,n="",a=null){const r=t/2,s=t/2,i=t/2-3,l=(t/2-3)*o,c=e.reduce((d,g)=>d+g.value,0)||1;let u=-Math.PI/2;return e.map((d,g)=>{const w=u,A=u+d.value/c*Math.PI*2;u=A;const L=A-w>Math.PI?1:0,C=(v,k)=>`${(r+k*Math.cos(v)).toFixed(2)},${(s+k*Math.sin(v)).toFixed(2)}`,F=`M${C(w,i)} A${i},${i} 0 ${L} 1 ${C(A,i)} L${C(A,l)} A${l},${l} 0 ${L} 0 ${C(w,l)} Z`;return{...d,path:F,pct:Math.round(d.value/c*100),color:hp(n,d.key,a)}})}function J0(e,t="",o=null){const n=e.reduce((a,r)=>Math.max(a,r.value),0)||1;return e.map(a=>({...a,frac:a.value/n,color:hp(t,a.key,o)}))}function hp(e,t,o){if(o&&t!=="Other"){const n=o.get?o.get(t):o[t];if(n)return n}return mp(e,t)}function mp(e,t){if(t==null||t===""||t==="Other")return Fo;if(e==="religion"||e==="religion_family"){const o=Cr(Mo.RELIGION,"religion"),n=o&&o.palette||Ot,a=o&&o.families||mo;return n[Y0(t,a)]||Fo}if(e==="wagf_region"){const o=Cr(Mo.DOXA_REGION,"doxaRegion");if(!o)return Fo;const n=o.slugColors&&o.slugColors[K0(t)];return n||o.aliases&&o.aliases[t]||Fo}if(e==="affinity_bloc"){const o=Cr(Mo.AFFINITY_BLOCK,"affinityBlock");return o&&o.palette&&o.palette[t]||Fo}if(e==="language_family"){const o=Cr(Mo.LANGUAGE_FAMILY,"languageFamily");return o&&o.palette&&o.palette[t]||Fo}return Fo}const Q0=["aria-label"],ex=["aria-selected","disabled","title","data-tab","onClick"],tx=["data-chart"],ox={class:"rd-ct"},nx={class:"rd-donutwrap"},ax=["aria-label"],rx=["d","fill","data-facet","data-key"],sx={class:"rd-legend"},ix=["data-facet","data-key","title"],lx={class:"rd-lt"},cx=["data-chart"],ux={class:"rd-ct"},dx={class:"rd-bars"},px=["data-facet","data-key"],gx={class:"rd-bl"},fx={class:"rd-bt"},hx={class:"rd-bv"},mx={__name:"DashboardChartsRail",setup(e){const t=[{id:"charts",get label(){return we("dashboard.charts")||"Charts"}},{id:"gospel",get label(){return we("dashboard.gospel_resources")||"Gospel Resources"},disabled:!0,get why(){return we("dashboard.gospel_pending")||"Not ready yet: the lostness figure, the data-source key and the layout are still being decided."}}],o=pe("charts"),n=Be("dashboardData",null),a=Be("selectionBus",null),r=Be("dashboardConfig",{}),s=(a==null?void 0:a.filterSet)||{},i=Object.fromEntries(Object.entries(r.facets||{}).map(([b,x])=>[b,x.get])),l=wa(a,va(r));function c(b){var I,z;const x=((I=n==null?void 0:n.rows)==null?void 0:I.value)||[],m=Object.keys(s).filter(G=>!b.includes(G)),$=!!(((z=a==null?void 0:a.searchTerm)==null?void 0:z.value)||"").trim();if(!m.length&&!$)return x;const V=x.filter(G=>a.rowMatchesFilters(G,i));return Nn(V,l)}const u=te(()=>{var m,$,V,I,z;const b=($=(m=r.facets)==null?void 0:m.country_code)==null?void 0:$.get,x=(I=(V=r.facets)==null?void 0:V.wagf_region)==null?void 0:I.get;return!b||!x?null:Z0(((z=n==null?void 0:n.rows)==null?void 0:z.value)||[],b,x)}),d=te(()=>(r.charts||[]).map(b=>{var V,I;const x=((I=(V=r.facets)==null?void 0:V[b.facet])==null?void 0:I.get)||(z=>ut(z[b.facet])),m=Pi(c([b.facet]),x,b.topN),$=b.facet==="country_code"?u.value:null;return{id:b.id,type:b.type,facet:b.facet,title:b.title,geometry:b.type==="bar"?J0(m,b.facet,$):X0(m,132,.58,b.facet,$)}})),g=(b,x)=>a.isFilterActive(b,x),w=new Map(Object.entries(hi).map(([b,x])=>[x,b])),A={africa:"dashboard.wagfRegion.africa",asia:"dashboard.wagfRegion.asia",europe:"dashboard.wagfRegion.europe","latin_america_&_caribbean":"dashboard.wagfRegion.latin_america_&_caribbean",oceania:"dashboard.wagfRegion.oceania"},L=b=>{const x=w.get(b),m=x&&A[x];return m&&we(m)||b},C=te(()=>{var $,V,I;const b=new Map,x=i.country_code,m=(V=($=r.facets)==null?void 0:$.country_code)==null?void 0:V.geoIso;if(!x||!m)return b;for(const z of((I=n==null?void 0:n.rows)==null?void 0:I.value)||[]){const G=x(z),ce=m(z);G&&ce&&!b.has(G)&&b.set(G,String(ce).toUpperCase())}return b}),F=b=>{const x=pn();if(!x||x==="en")return b;const m=C.value.get(b)||W0(b);return m?V0(m,x):b},v=(b,x)=>x===up?dp():b==="religion_family"?Rd(x):b==="wagf_region"?L(x):b==="country_code"?F(x):x,k=b=>s[b]!=null;function f(b,x){!x||x==="Other"||!a||a.setFilter(b,s[b]===x?null:x)}function _(b){const x=b.target&&b.target.closest&&b.target.closest("[data-facet]");x&&f(x.getAttribute("data-facet"),x.getAttribute("data-key"))}return Ht(` +`,"rd-datatable"),(q,oe)=>(Y(),Q("div",{ref_key:"wrapEl",ref:ge,class:Ke(["rd-table-wrap",{"is-full":J.value}]),"data-sel-count":Ae.value,"data-fullscreen":J.value?"1":"0"},[M("div",{class:"rd-table-bar","data-collapsed":p.value?"1":"0"},[M("button",{class:"rd-dock",title:p.value?t("dashboard.expand_table","Expand table"):t("dashboard.collapse_table","Collapse table — grow the map"),"data-table-dock":"","aria-expanded":p.value?"false":"true",onClick:O},re(p.value?"▴":"▾"),9,y0),M("span",v0,re(t("legend.titleBar.peopleGroups","People Groups")),1),M("span",w0,re(i(Pe.value))+" "+re(Pe.value===1?t("dashboard.group","group"):t("dashboard.groups","groups")),1),Ae.value?(Y(),Q("span",x0,[M("span",null,re(i(Ae.value))+" "+re(t("dashboard.selected","Selected")),1)])):Ie("",!0),Ae.value?(Y(),Q(Me,{key:1},[M("button",{class:Ke(["rd-vtog",{on:m.value}]),"data-only-selected":"","aria-pressed":m.value?"true":"false",title:t("dashboard.only_selected_hint","Show only the selected people groups"),onClick:V},re(t("dashboard.only_selected","Only selected")),11,k0),M("button",{class:Ke(["rd-vtog",{on:$.value}]),"data-selected-first":"","aria-pressed":$.value?"true":"false",title:t("dashboard.selected_first_hint","Float the selected people groups to the top, keeping your column sort"),onClick:I},re(t("dashboard.selected_first","Selected first")),11,S0)],64)):Ie("",!0),oe[0]||(oe[0]=M("span",{class:"rd-bar-sp"},null,-1)),X.value?(Y(),Q("span",A0,re(X.value),1)):Ie("",!0),M("button",{class:Ke(["rd-fs",{on:J.value}]),"data-table-fullscreen":"","aria-pressed":J.value?"true":"false",title:J.value?t("dashboard.fs_exit_hint","Exit full screen (Esc) — back to seven rows"):t("dashboard.fs_open_hint","Open this table full screen"),"aria-label":J.value?t("dashboard.fs_exit","Exit full screen"):t("dashboard.fs_open","Open table full screen"),onClick:U},re((J.value?"⤡ ":"⤢ ")+t("buttons.toggleFullscreen","Full screen")),11,L0),M("span",{class:Ke(["rd-csv",{busy:ie.value}]),role:"button",tabindex:"0","data-csv-btn":"","aria-busy":ie.value?"true":"false",title:Ae.value?t("dashboard.export_selected_hint","Export all fields — selected people groups: {n}").replace("{n}",i(Ae.value)):t("dashboard.export_all_hint","Export all fields — people groups: {n}").replace("{n}",i(Pe.value)),onClick:ye,onMouseenter:Re,onFocus:Re,onKeydown:[Bo(go(ye,["prevent"]),["enter"]),Bo(go(ye,["prevent"]),["space"])]},[pt(re(ie.value?"…":"↓")+" "+re(t("dashboard.export_csv","Export CSV")),1),Ae.value?(Y(),Q("span",C0,re(Ae.value),1)):Ie("",!0)],42,T0)],8,$0),zt(M("div",{ref_key:"scroller",ref:D,class:"rd-grid",role:"grid","aria-multiselectable":"true","data-sort-scope":"view-local","data-sort-by":f.value.map(fe=>fe.key+":"+fe.dir).join(","),"aria-rowcount":G.value.length+1,onScroll:Z,onClick:S,onMousedown:K},[M("div",{class:"rd-thead",role:"row",style:dt(g.value)},[M("div",{class:"rd-th chk",style:{cursor:"pointer"},title:(B.value?t("dashboard.deselect_all","Deselect all"):t("dashboard.select_all","Select all"))+" "+i(Pe.value),onClick:ne},[M("input",{type:"checkbox",checked:B.value,ref:h,"aria-label":B.value?t("aria.deselectAllRows","Deselect all rows"):t("aria.selectAllRows","Select all rows"),tabindex:"-1",style:{"pointer-events":"none"}},null,8,M0)],8,E0),(Y(!0),Q(Me,null,nt(l.value,fe=>(Y(),Q("div",{key:fe.key,class:Ke(["rd-th",{num:fe.type==="num"}]),style:dt(u(fe)),title:o(fe.label),role:"columnheader","aria-sort":b(fe),"data-col":fe.key,onClick:ze=>_(fe,ze),tabindex:"0",onKeydown:[Bo(go(ze=>_(fe,ze),["prevent"]),["enter"]),Bo(go(ze=>_(fe,ze),["prevent"]),["space"])]},[pt(re(fe.label),1),M("span",F0,re(b(fe)==="ascending"?"▲":b(fe)==="descending"?"▼":""),1)],46,R0))),128))],4),M("div",{style:dt({height:me.value+"px"})},null,4),(Y(!0),Q(Me,null,nt(W.value,(fe,ze)=>(Y(),Q("div",{key:fe.slug,class:Ke(["rd-row",{sel:He.value>=0&&Te(fe)}]),role:"row","data-slug":fe.slug,"aria-selected":Te(fe)?"true":"false",style:dt(g.value),"aria-rowindex":N.value+ze+2},[M("div",O0,[M("input",{type:"checkbox",class:"rd-rowchk",checked:Te(fe),"aria-label":"Select "+fe.name,tabindex:"-1",style:{"pointer-events":"none"}},null,8,I0)]),(Y(!0),Q(Me,null,nt(l.value,De=>(Y(),Q("div",{key:De.key,class:Ke(["rd-td",{num:De.type==="num"}]),style:dt(u(De)),role:"gridcell"},re(De.type==="num"?i(De.get(fe)):De.get(fe)),7))),128))],14,N0))),128)),M("div",{style:dt({height:be.value+"px"})},null,4)],40,P0),[[Kt,!p.value]]),zt(M("div",z0,[M("div",{class:"rd-foot-inner",style:dt([g.value,{transform:"translateX("+-P.value+"px)"}])},[oe[1]||(oe[1]=M("div",{class:"rd-td chk"},null,-1)),(Y(!0),Q(Me,null,nt(l.value,(fe,ze)=>(Y(),Q("div",{key:"f-"+fe.key,class:Ke(["rd-td",{num:fe.type==="num"}]),style:dt(u(fe))},[ze===0?(Y(),Q(Me,{key:0},[pt("Σ "+re(i(Pe.value))+" "+re(Pe.value===1?t("dashboard.group","group"):t("dashboard.groups","groups")),1)],64)):fe.key==="population"?(Y(),Q(Me,{key:1},[pt(re(i(Le.value)),1)],64)):Ie("",!0)],6))),128))],4)],512),[[Kt,!p.value]])],10,b0))}},j0={map:{AFG:"AF",ALB:"AL",DZA:"DZ",ASM:"AS",AND:"AD",AGO:"AO",AIA:"AI",ATG:"AG",ARG:"AR",ARM:"AM",ABW:"AW",AUS:"AU",AUT:"AT",AZE:"AZ",BHR:"BH",BGD:"BD",BRB:"BB",BLR:"BY",BEL:"BE",BLZ:"BZ",BEN:"BJ",BMU:"BM",BTN:"BT",BOL:"BO",BES:"BQ",BIH:"BA",BWA:"BW",BRA:"BR",BRN:"BN",BGR:"BG",BFA:"BF",BDI:"BI",CPV:"CV",KHM:"KH",CMR:"CM",CAN:"CA",CYM:"KY",CAF:"CF",TCD:"TD",CHL:"CL",CHN:"CN",CXR:"CX",CCK:"CC",COL:"CO",COM:"KM",COK:"CK",CRI:"CR",CIV:"CI",HRV:"HR",CUB:"CU",CUW:"CW",CYP:"CY",DNK:"DK",DJI:"DJ",DMA:"DM",DOM:"DO",ECU:"EC",EGY:"EG",SLV:"SV",GNQ:"GQ",ERI:"ER",EST:"EE",SWZ:"SZ",ETH:"ET",FLK:"FK",FRO:"FO",FJI:"FJ",FIN:"FI",FRA:"FR",GUF:"GF",PYF:"PF",GAB:"GA",GEO:"GE",DEU:"DE",GHA:"GH",GIB:"GI",GRC:"GR",GRL:"GL",GRD:"GD",GLP:"GP",GUM:"GU",GTM:"GT",GGY:"GG",GIN:"GN",GNB:"GW",GUY:"GY",HTI:"HT",HND:"HN",HKG:"HK",HUN:"HU",ISL:"IS",IND:"IN",IDN:"ID",IRN:"IR",IRQ:"IQ",IRL:"IE",IMN:"IM",ISR:"IL",ITA:"IT",JAM:"JM",JPN:"JP",JEY:"JE",JOR:"JO",KAZ:"KZ",KEN:"KE",KIR:"KI",KOS:"XK",KWT:"KW",KGZ:"KG",LAO:"LA",LVA:"LV",LBN:"LB",LSO:"LS",LBR:"LR",LBY:"LY",LIE:"LI",LTU:"LT",LUX:"LU",MAC:"MO",MDG:"MG",MWI:"MW",MYS:"MY",MLI:"ML",MLT:"MT",MTQ:"MQ",MRT:"MR",MUS:"MU",MYT:"YT",MEX:"MX",MDA:"MD",MCO:"MC",MNG:"MN",MNE:"ME",MSR:"MS",MAR:"MA",MOZ:"MZ",MMR:"MM",NAM:"NA",NRU:"NR",NPL:"NP",NCL:"NC",NZL:"NZ",NIC:"NI",NER:"NE",NGA:"NG",NIU:"NU",NFK:"NF",PRK:"KP",MKD:"MK",NOR:"NO",OMN:"OM",PAK:"PK",PLW:"PW",PSE:"PS",PAN:"PA",PNG:"PG",PRY:"PY",PER:"PE",POL:"PL",PRT:"PT",PRI:"PR",QAT:"QA",REU:"RE",ROU:"RO",RWA:"RW",BLM:"BL",SHN:"SH",KNA:"KN",LCA:"LC",MAF:"MF",SPM:"PM",VCT:"VC",WSM:"WS",SMR:"SM",STP:"ST",SAU:"SA",SEN:"SN",SRB:"RS",SYC:"SC",SLE:"SL",SGP:"SG",SXM:"SX",SVK:"SK",SVN:"SI",SOM:"SO",ZAF:"ZA",KOR:"KR",SSD:"SS",ESP:"ES",LKA:"LK",SDN:"SD",SUR:"SR",SJM:"SJ",SWE:"SE",CHE:"CH",SYR:"SY",TWN:"TW",TJK:"TJ",TZA:"TZ",THA:"TH",BHS:"BS",VGB:"VG",CZE:"CZ",COD:"CD",FSM:"FM",GMB:"GM",MDV:"MV",MHL:"MH",NLD:"NL",MNP:"MP",PHL:"PH",PCN:"PN",COG:"CG",RUS:"RU",SLB:"SB",TCA:"TC",ARE:"AE",GBR:"GB",USA:"US",VIR:"VI",TLS:"TL",TGO:"TG",TKL:"TK",TON:"TO",TTO:"TT",TUN:"TN",TUR:"TR",TKM:"TM",TUV:"TV",UGA:"UG",UKR:"UA",URY:"UY",UZB:"UZ",VUT:"VU",VAT:"VA",VEN:"VE",VNM:"VN",WLF:"WF",ESH:"EH",YEM:"YE",ZMB:"ZM",ZWE:"ZW"}},mp=[{value:"AFG",label:"Afghanistan"},{value:"ALB",label:"Albania"},{value:"DZA",label:"Algeria"},{value:"ASM",label:"American Samoa"},{value:"AND",label:"Andorra"},{value:"AGO",label:"Angola"},{value:"AIA",label:"Anguilla"},{value:"ATG",label:"Antigua and Barbuda"},{value:"ARG",label:"Argentina"},{value:"ARM",label:"Armenia"},{value:"ABW",label:"Aruba"},{value:"AUS",label:"Australia"},{value:"AUT",label:"Austria"},{value:"AZE",label:"Azerbaijan"},{value:"BHR",label:"Bahrain"},{value:"BGD",label:"Bangladesh"},{value:"BRB",label:"Barbados"},{value:"BLR",label:"Belarus"},{value:"BEL",label:"Belgium"},{value:"BLZ",label:"Belize"},{value:"BEN",label:"Benin"},{value:"BMU",label:"Bermuda"},{value:"BTN",label:"Bhutan"},{value:"BOL",label:"Bolivia"},{value:"BES",label:"Bonaire, Sint Eustatius, and Saba"},{value:"BIH",label:"Bosnia and Herzegovina"},{value:"BWA",label:"Botswana"},{value:"BRA",label:"Brazil"},{value:"BRN",label:"Brunei"},{value:"BGR",label:"Bulgaria"},{value:"BFA",label:"Burkina Faso"},{value:"BDI",label:"Burundi"},{value:"CPV",label:"Cabo Verde"},{value:"KHM",label:"Cambodia"},{value:"CMR",label:"Cameroon"},{value:"CAN",label:"Canada"},{value:"CYM",label:"Cayman Islands"},{value:"CAF",label:"Central African Republic"},{value:"TCD",label:"Chad"},{value:"CHL",label:"Chile"},{value:"CHN",label:"China"},{value:"CXR",label:"Christmas Island"},{value:"CCK",label:"Cocos (Keeling) Islands"},{value:"COL",label:"Colombia"},{value:"COM",label:"Comoros"},{value:"COK",label:"Cook Islands"},{value:"CRI",label:"Costa Rica"},{value:"CIV",label:"Côte d’Ivoire"},{value:"HRV",label:"Croatia"},{value:"CUB",label:"Cuba"},{value:"CUW",label:"Curaçao"},{value:"CYP",label:"Cyprus"},{value:"DNK",label:"Denmark"},{value:"DJI",label:"Djibouti"},{value:"DMA",label:"Dominica"},{value:"DOM",label:"Dominican Republic"},{value:"ECU",label:"Ecuador"},{value:"EGY",label:"Egypt"},{value:"SLV",label:"El Salvador"},{value:"GNQ",label:"Equatorial Guinea"},{value:"ERI",label:"Eritrea"},{value:"EST",label:"Estonia"},{value:"SWZ",label:"Eswatini"},{value:"ETH",label:"Ethiopia"},{value:"FLK",label:"Falkland Islands (Islas Malvinas)"},{value:"FRO",label:"Faroe Islands"},{value:"FJI",label:"Fiji"},{value:"FIN",label:"Finland"},{value:"FRA",label:"France"},{value:"GUF",label:"French Guiana"},{value:"PYF",label:"French Polynesia"},{value:"GAB",label:"Gabon"},{value:"GEO",label:"Georgia"},{value:"DEU",label:"Germany"},{value:"GHA",label:"Ghana"},{value:"GIB",label:"Gibraltar"},{value:"GRC",label:"Greece"},{value:"GRL",label:"Greenland"},{value:"GRD",label:"Grenada"},{value:"GLP",label:"Guadeloupe"},{value:"GUM",label:"Guam"},{value:"GTM",label:"Guatemala"},{value:"GGY",label:"Guernsey"},{value:"GIN",label:"Guinea"},{value:"GNB",label:"Guinea-Bissau"},{value:"GUY",label:"Guyana"},{value:"HTI",label:"Haiti"},{value:"HND",label:"Honduras"},{value:"HKG",label:"Hong Kong"},{value:"HUN",label:"Hungary"},{value:"ISL",label:"Iceland"},{value:"IND",label:"India"},{value:"IDN",label:"Indonesia"},{value:"IRN",label:"Iran"},{value:"IRQ",label:"Iraq"},{value:"IRL",label:"Ireland"},{value:"IMN",label:"Isle of Man"},{value:"ISR",label:"Israel"},{value:"ITA",label:"Italy"},{value:"JAM",label:"Jamaica"},{value:"JPN",label:"Japan"},{value:"JEY",label:"Jersey"},{value:"JOR",label:"Jordan"},{value:"KAZ",label:"Kazakhstan"},{value:"KEN",label:"Kenya"},{value:"KIR",label:"Kiribati"},{value:"KOS",label:"Kosovo"},{value:"KWT",label:"Kuwait"},{value:"KGZ",label:"Kyrgyzstan"},{value:"LAO",label:"Laos"},{value:"LVA",label:"Latvia"},{value:"LBN",label:"Lebanon"},{value:"LSO",label:"Lesotho"},{value:"LBR",label:"Liberia"},{value:"LBY",label:"Libya"},{value:"LIE",label:"Liechtenstein"},{value:"LTU",label:"Lithuania"},{value:"LUX",label:"Luxembourg"},{value:"MAC",label:"Macao"},{value:"MDG",label:"Madagascar"},{value:"MWI",label:"Malawi"},{value:"MYS",label:"Malaysia"},{value:"MLI",label:"Mali"},{value:"MLT",label:"Malta"},{value:"MTQ",label:"Martinique"},{value:"MRT",label:"Mauritania"},{value:"MUS",label:"Mauritius"},{value:"MYT",label:"Mayotte"},{value:"MEX",label:"Mexico"},{value:"MDA",label:"Moldova"},{value:"MCO",label:"Monaco"},{value:"MNG",label:"Mongolia"},{value:"MNE",label:"Montenegro"},{value:"MSR",label:"Montserrat"},{value:"MAR",label:"Morocco"},{value:"MOZ",label:"Mozambique"},{value:"MMR",label:"Myanmar"},{value:"NAM",label:"Namibia"},{value:"NRU",label:"Nauru"},{value:"NPL",label:"Nepal"},{value:"NCL",label:"New Caledonia"},{value:"NZL",label:"New Zealand"},{value:"NIC",label:"Nicaragua"},{value:"NER",label:"Niger"},{value:"NGA",label:"Nigeria"},{value:"NIU",label:"Niue"},{value:"NFK",label:"Norfolk Island"},{value:"PRK",label:"North Korea"},{value:"MKD",label:"North Macedonia"},{value:"NOR",label:"Norway"},{value:"OMN",label:"Oman"},{value:"PAK",label:"Pakistan"},{value:"PLW",label:"Palau"},{value:"PSE",label:"Palestine"},{value:"PAN",label:"Panama"},{value:"PNG",label:"Papua New Guinea"},{value:"PRY",label:"Paraguay"},{value:"PER",label:"Peru"},{value:"POL",label:"Poland"},{value:"PRT",label:"Portugal"},{value:"PRI",label:"Puerto Rico"},{value:"QAT",label:"Qatar"},{value:"REU",label:"Reunion"},{value:"ROU",label:"Romania"},{value:"RWA",label:"Rwanda"},{value:"BLM",label:"Saint Barthelemy"},{value:"SHN",label:"Saint Helena, Ascension, and Tristan da Cunha"},{value:"KNA",label:"Saint Kitts and Nevis"},{value:"LCA",label:"Saint Lucia"},{value:"MAF",label:"Saint Martin"},{value:"SPM",label:"Saint Pierre and Miquelon"},{value:"VCT",label:"Saint Vincent and the Grenadines"},{value:"WSM",label:"Samoa"},{value:"SMR",label:"San Marino"},{value:"STP",label:"Sao Tome and Principe"},{value:"SAU",label:"Saudi Arabia"},{value:"SEN",label:"Senegal"},{value:"SRB",label:"Serbia"},{value:"SYC",label:"Seychelles"},{value:"SLE",label:"Sierra Leone"},{value:"SGP",label:"Singapore"},{value:"SXM",label:"Sint Maarten"},{value:"SVK",label:"Slovakia"},{value:"SVN",label:"Slovenia"},{value:"SOM",label:"Somalia"},{value:"ZAF",label:"South Africa"},{value:"KOR",label:"South Korea"},{value:"SSD",label:"South Sudan"},{value:"ESP",label:"Spain"},{value:"LKA",label:"Sri Lanka"},{value:"SDN",label:"Sudan"},{value:"SUR",label:"Suriname"},{value:"SJM",label:"Svalbard"},{value:"SWE",label:"Sweden"},{value:"CHE",label:"Switzerland"},{value:"SYR",label:"Syria"},{value:"TWN",label:"Taiwan"},{value:"TJK",label:"Tajikistan"},{value:"TZA",label:"Tanzania"},{value:"THA",label:"Thailand"},{value:"BHS",label:"The Bahamas"},{value:"VGB",label:"the British Virgin Islands"},{value:"CZE",label:"the Czech Republic"},{value:"COD",label:"the Democratic Republic of the Congo"},{value:"FSM",label:"the Federated States of Micronesia"},{value:"GMB",label:"The Gambia"},{value:"MDV",label:"the Maldives"},{value:"MHL",label:"the Marshall Islands"},{value:"NLD",label:"the Netherlands"},{value:"MNP",label:"the Northern Mariana Islands"},{value:"PHL",label:"the Philippines"},{value:"PCN",label:"the Pitcairn Islands"},{value:"COG",label:"the Republic of the Congo"},{value:"RUS",label:"the Russian Federation"},{value:"SLB",label:"the Solomon Islands"},{value:"TCA",label:"the Turks and Caicos Islands"},{value:"ARE",label:"the United Arab Emirates"},{value:"GBR",label:"the United Kingdom"},{value:"USA",label:"the United States"},{value:"VIR",label:"the Virgin Islands"},{value:"TLS",label:"Timor-Leste"},{value:"TGO",label:"Togo"},{value:"TKL",label:"Tokelau"},{value:"TON",label:"Tonga"},{value:"TTO",label:"Trinidad and Tobago"},{value:"TUN",label:"Tunisia"},{value:"TUR",label:"Turkiye"},{value:"TKM",label:"Turkmenistan"},{value:"TUV",label:"Tuvalu"},{value:"UGA",label:"Uganda"},{value:"UKR",label:"Ukraine"},{value:"URY",label:"Uruguay"},{value:"UZB",label:"Uzbekistan"},{value:"VUT",label:"Vanuatu"},{value:"VAT",label:"Vatican City"},{value:"VEN",label:"Venezuela"},{value:"VNM",label:"Vietnam"},{value:"WLF",label:"Wallis and Futuna"},{value:"ESH",label:"Western Sahara"},{value:"YEM",label:"Yemen"},{value:"ZMB",label:"Zambia"},{value:"ZWE",label:"Zimbabwe"}],G0=j0.map,W0=new Map(mp.map(e=>[e.value,e.label])),q0=new Map(mp.map(e=>[String(e.label).trim().toLowerCase(),e.value]));function V0(e){if(e)return q0.get(String(e).trim().toLowerCase())}const zi=new Map;function K0(e){const t=e||"en";if(zi.has(t))return zi.get(t);let o=null;try{o=new Intl.DisplayNames([t],{type:"region"})}catch{o=null}return zi.set(t,o),o}function Y0(e,t){const o=e?String(e).toUpperCase():"",n=G0[o],a=W0.get(o)||o;if(!n||!/^[A-Z]{2}$/.test(n))return a;const r=K0(t);if(!r)return a;try{const s=r.of(n);return s&&s!==n?s:a}catch{return a}}const Z0=e=>String(e||"").trim().toLowerCase().replace(/\s+/g,"_");function Cr(e,t){const o=vr(e);return o&&o.propertyKey===t?o:null}function X0(e,t){const o=String(e||"").trim();if(!o)return"U";const n=Object.keys(t),a=n.find(i=>t[i]===o);if(a)return a;let r=null,s=0;for(const i of n){const l=t[i];l&&o.toLowerCase().startsWith(l.toLowerCase())&&l.length>s&&(r=i,s=l.length)}return r||(/^[A-Z]{1,3}$/.test(o)?pi(o):"U")}function J0(e,t,o){const n=new Map;for(const r of e||[]){const s=t&&t(r),i=o&&o(r);if(!s||!i)continue;n.has(s)||n.set(s,new Map);const l=n.get(s);l.set(i,(l.get(i)||0)+1)}const a=new Map;for(const[r,s]of n){let i=null,l=0,c=!1;for(const[u,d]of s)d>l?(i=u,l=d,c=!1):d===l&&(c=!0);a.set(r,i&&!c?bp("wagf_region",i):Fo)}return a}function Q0(e,t=132,o=.58,n="",a=null){const r=t/2,s=t/2,i=t/2-3,l=(t/2-3)*o,c=e.reduce((d,g)=>d+g.value,0)||1;let u=-Math.PI/2;return e.map((d,g)=>{const w=u,A=u+d.value/c*Math.PI*2;u=A;const L=A-w>Math.PI?1:0,C=(v,k)=>`${(r+k*Math.cos(v)).toFixed(2)},${(s+k*Math.sin(v)).toFixed(2)}`,F=`M${C(w,i)} A${i},${i} 0 ${L} 1 ${C(A,i)} L${C(A,l)} A${l},${l} 0 ${L} 0 ${C(w,l)} Z`;return{...d,path:F,pct:Math.round(d.value/c*100),color:_p(n,d.key,a)}})}function ex(e,t="",o=null){const n=e.reduce((a,r)=>Math.max(a,r.value),0)||1;return e.map(a=>({...a,frac:a.value/n,color:_p(t,a.key,o)}))}function _p(e,t,o){if(o&&t!=="Other"){const n=o.get?o.get(t):o[t];if(n)return n}return bp(e,t)}function bp(e,t){if(t==null||t===""||t==="Other")return Fo;if(e==="religion"||e==="religion_family"){const o=Cr(Mo.RELIGION,"religion"),n=o&&o.palette||Ot,a=o&&o.families||mo;return n[X0(t,a)]||Fo}if(e==="wagf_region"){const o=Cr(Mo.DOXA_REGION,"doxaRegion");if(!o)return Fo;const n=o.slugColors&&o.slugColors[Z0(t)];return n||o.aliases&&o.aliases[t]||Fo}if(e==="affinity_bloc"){const o=Cr(Mo.AFFINITY_BLOCK,"affinityBlock");return o&&o.palette&&o.palette[t]||Fo}if(e==="language_family"){const o=Cr(Mo.LANGUAGE_FAMILY,"languageFamily");return o&&o.palette&&o.palette[t]||Fo}return Fo}const tx=["aria-label"],ox=["aria-selected","disabled","title","data-tab","onClick"],nx=["data-chart"],ax={class:"rd-ct"},rx={class:"rd-donutwrap"},sx=["aria-label"],ix=["d","fill","data-facet","data-key"],lx={class:"rd-legend"},cx=["data-facet","data-key","title"],ux={class:"rd-lt"},dx=["data-chart"],px={class:"rd-ct"},gx={class:"rd-bars"},fx=["data-facet","data-key"],hx={class:"rd-bl"},mx={class:"rd-bt"},_x={class:"rd-bv"},bx={__name:"DashboardChartsRail",setup(e){const t=[{id:"charts",get label(){return we("dashboard.charts")||"Charts"}},{id:"gospel",get label(){return we("dashboard.gospel_resources")||"Gospel Resources"},disabled:!0,get why(){return we("dashboard.gospel_pending")||"Not ready yet: the lostness figure, the data-source key and the layout are still being decided."}}],o=pe("charts"),n=Be("dashboardData",null),a=Be("selectionBus",null),r=Be("dashboardConfig",{}),s=(a==null?void 0:a.filterSet)||{},i=Object.fromEntries(Object.entries(r.facets||{}).map(([b,x])=>[b,x.get])),l=wa(a,va(r));function c(b){var I,z;const x=((I=n==null?void 0:n.rows)==null?void 0:I.value)||[],m=Object.keys(s).filter(G=>!b.includes(G)),$=!!(((z=a==null?void 0:a.searchTerm)==null?void 0:z.value)||"").trim();if(!m.length&&!$)return x;const V=x.filter(G=>a.rowMatchesFilters(G,i));return On(V,l)}const u=te(()=>{var m,$,V,I,z;const b=($=(m=r.facets)==null?void 0:m.country_code)==null?void 0:$.get,x=(I=(V=r.facets)==null?void 0:V.wagf_region)==null?void 0:I.get;return!b||!x?null:J0(((z=n==null?void 0:n.rows)==null?void 0:z.value)||[],b,x)}),d=te(()=>(r.charts||[]).map(b=>{var V,I;const x=((I=(V=r.facets)==null?void 0:V[b.facet])==null?void 0:I.get)||(z=>ut(z[b.facet])),m=Mi(c([b.facet]),x,b.topN),$=b.facet==="country_code"?u.value:null;return{id:b.id,type:b.type,facet:b.facet,title:b.title,geometry:b.type==="bar"?ex(m,b.facet,$):Q0(m,132,.58,b.facet,$)}})),g=(b,x)=>a.isFilterActive(b,x),w=new Map(Object.entries(_i).map(([b,x])=>[x,b])),A={africa:"dashboard.wagfRegion.africa",asia:"dashboard.wagfRegion.asia",europe:"dashboard.wagfRegion.europe","latin_america_&_caribbean":"dashboard.wagfRegion.latin_america_&_caribbean",oceania:"dashboard.wagfRegion.oceania"},L=b=>{const x=w.get(b),m=x&&A[x];return m&&we(m)||b},C=te(()=>{var $,V,I;const b=new Map,x=i.country_code,m=(V=($=r.facets)==null?void 0:$.country_code)==null?void 0:V.geoIso;if(!x||!m)return b;for(const z of((I=n==null?void 0:n.rows)==null?void 0:I.value)||[]){const G=x(z),ce=m(z);G&&ce&&!b.has(G)&&b.set(G,String(ce).toUpperCase())}return b}),F=b=>{const x=Vo();if(!x||x==="en")return b;const m=C.value.get(b)||V0(b);return m?Y0(m,x):b},v=(b,x)=>x===pp?gp():b==="religion_family"?Nd(x):b==="wagf_region"?L(x):b==="country_code"?F(x):x,k=b=>s[b]!=null;function f(b,x){!x||x==="Other"||!a||a.setFilter(b,s[b]===x?null:x)}function _(b){const x=b.target&&b.target.closest&&b.target.closest("[data-facet]");x&&f(x.getAttribute("data-facet"),x.getAttribute("data-key"))}return Ht(` .rd-charts{ display:flex; flex-direction:column; gap:var(--s2,8px); height:100%; min-height:0; padding:6px 2px 6px 6px; background:var(--rd-panel,#fff); overflow-y:auto; overflow-x:hidden; box-sizing:border-box; @@ -620,7 +620,7 @@ .rd-bt{ flex:1 1 auto; height:11px; background:var(--dx-surface, #f3f3f1); 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, #6d766e); font-variant-numeric:tabular-nums; min-width:30px; text-align:end; } -`,"rd-charts"),(b,x)=>(Y(),Q("aside",{class:"rd-charts","data-region":"charts-rail",onClick:_},[M("div",{class:"rd-tabs",role:"tablist","aria-label":ue(we)("aria.railViews")||"Rail views"},[(Y(),Q(Me,null,nt(t,m=>M("button",{key:m.id,class:Ke(["rd-tab",{on:o.value===m.id,off:m.disabled}]),role:"tab",type:"button","aria-selected":o.value===m.id?"true":"false",disabled:m.disabled,title:m.disabled?m.why:m.label,"data-tab":m.id,onClick:go($=>!m.disabled&&(o.value=m.id),["stop"])},re(m.label),11,ex)),64))],8,Q0),(Y(!0),Q(Me,null,nt(d.value,m=>(Y(),Q(Me,{key:m.id},[m.type==="donut"?(Y(),Q("div",{key:0,class:"rd-chart","data-chart":m.facet},[M("div",ox,re(m.title),1),M("div",nx,[(Y(),Q("svg",{class:Ke(["rd-donut",{"has-sel":k(m.facet)}]),viewBox:"0 0 132 132",role:"img","aria-label":(ue(we)("aria.donutChart")||"{title} donut chart").replace("{title}",m.title)},[(Y(!0),Q(Me,null,nt(m.geometry,$=>(Y(),Q("path",{key:$.key,d:$.path,fill:$.color,class:Ke(["rd-slice",{on:g(m.facet,$.key)}]),"data-facet":m.facet,"data-key":$.key},[M("title",null,re(v(m.facet,$.key))+": "+re($.value)+" ("+re($.pct)+"%)",1)],10,rx))),128))],10,ax)),M("div",sx,[(Y(!0),Q(Me,null,nt(m.geometry,$=>(Y(),Q("span",{key:$.key,class:Ke(["rd-li",{on:g(m.facet,$.key)}]),"data-facet":m.facet,"data-key":$.key,title:v(m.facet,$.key)+": "+$.value},[M("i",{style:dt({background:$.color})},null,4),M("span",lx,re(v(m.facet,$.key)),1),M("b",null,re($.value),1)],10,ix))),128))])])],8,tx)):(Y(),Q("div",{key:1,class:"rd-chart","data-chart":m.facet},[M("div",ux,re(m.title),1),M("div",dx,[(Y(!0),Q(Me,null,nt(m.geometry,$=>(Y(),Q("div",{key:$.key,class:Ke(["rd-bar",{on:g(m.facet,$.key)}]),"data-facet":m.facet,"data-key":$.key},[M("span",gx,re(v(m.facet,$.key)),1),M("span",fx,[M("span",{class:"rd-bf",style:dt({width:$.frac*100+"%",background:$.color})},null,4)]),M("span",hx,re($.value),1)],10,px))),128))])],8,cx))],64))),128))]))}},_x={class:"rd-detail","data-region":"detail-drawer"},bx={class:"rd-dh"},$x=["aria-label"],yx={key:0,class:"rd-empty","data-detail-empty":""},vx={class:"rd-top"},wx=["src","alt"],xx={key:1,class:"rd-ph","data-detail-thumb":""},kx={class:"rd-name","data-detail-name":""},Sx={class:"rd-meta"},Ax={class:"rd-actions"},Lx=["href","title"],Tx=["href","title"],Cx={class:"rd-rows"},Px={class:"rd-row"},Ex={class:"k"},Mx={class:"v"},Rx={key:0,class:"fam"},Fx={class:"rd-row"},Nx={class:"k"},Ox={class:"v"},Ix={class:"rd-row"},zx={class:"k"},Dx={class:"v"},Bx={class:"rd-row"},Hx={class:"k"},Ux={class:"v"},jx={class:"rd-row"},Gx={class:"k"},Wx={class:"v"},qx={class:"rd-row"},Vx={class:"k"},Kx={class:"v"},Yx={__name:"DashboardDetailDrawer",setup(e){const t=(_,b)=>we(_)||b,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("dashboardConfig",{}),r=Object.fromEntries(Object.entries(a.facets||{}).map(([_,b])=>[_,b.get])),{labelFor:s}=Ar(a,Be("dataStore",null),Be("searchSourceId",null)),i=o&&n?Ti({rowStore:o.rowStore,rows:o.rows,selectionSet:n.selectionSet,filterSet:n.filterSet,FACET_ACC:r,labelFor:s}):null,l=pe(null),c=[];vt(()=>{n&&(c.push(n.on("focusRow",_=>{_&&_.slug&&(l.value=_.slug)})),c.push(n.on("select",_=>{const b=_?[..._]:[];b.length&&(l.value=b[b.length-1])})))}),Dt(()=>{c.forEach(_=>{try{_()}catch{}}),c.length=0});const u=te(()=>{const _=l.value;return!_||!o||!o.rowStore||!o.rowStore.value?null:o.rowStore.value.get(_)||null}),d=_=>_==null||_===""?"—":Zo(_),g=te(()=>{const _=u.value;return _?a.detail&&typeof a.detail.photo=="function"?!!a.detail.photo(_):!!(_.has_photo&&_.image_url):!1}),w=te(()=>a.detail||{});function A(_,b,x){if(typeof _=="function")try{return _(b)||x}catch{return x}return typeof _=="string"&&_?_.replace("{slug}",encodeURIComponent(b.slug||"")):x}const L=te(()=>{const _=u.value;if(!_)return null;const b=(()=>{try{return new URLSearchParams(window.location.search).get("utm_source")||""}catch{return""}})(),x=encodeURIComponent(String(b||w.value.utmSource||a.utmSource||"agwm")),m=`https://pray.doxa.life/${encodeURIComponent(_.slug||"")}?source=doxalife&utm_source=${x}`;return A(w.value.prayUrl,_,m)}),C=te(()=>{var V;const _=u.value;if(!_)return null;const b=typeof window<"u"&&((V=window.location)==null?void 0:V.origin)||"https://doxa.life",x=(()=>{try{return new URLSearchParams(window.location.search).get("utm_source")||""}catch{return""}})(),m=encodeURIComponent(String(x||w.value.utmSource||a.utmSource||"agwm")),$=`${b}/research/${encodeURIComponent(_.slug||"")}/?utm_source=${m}`;return A(w.value.moreInfoUrl,_,$)}),F=te(()=>w.value.prayLabel||t("dashboard.pray_for_group","Pray for this people group")),v=te(()=>w.value.moreInfoLabel||t("dashboard.more_information","More information"));function k(){!i||!n||(!n.selectionSet.size&&l.value&&n.toggleSelect(l.value),i.exportCsv())}function f(){l.value=null,n&&typeof n.clearSelection=="function"&&n.clearSelection()}return Ht(` +`,"rd-charts"),(b,x)=>(Y(),Q("aside",{class:"rd-charts","data-region":"charts-rail",onClick:_},[M("div",{class:"rd-tabs",role:"tablist","aria-label":ue(we)("aria.railViews")||"Rail views"},[(Y(),Q(Me,null,nt(t,m=>M("button",{key:m.id,class:Ke(["rd-tab",{on:o.value===m.id,off:m.disabled}]),role:"tab",type:"button","aria-selected":o.value===m.id?"true":"false",disabled:m.disabled,title:m.disabled?m.why:m.label,"data-tab":m.id,onClick:go($=>!m.disabled&&(o.value=m.id),["stop"])},re(m.label),11,ox)),64))],8,tx),(Y(!0),Q(Me,null,nt(d.value,m=>(Y(),Q(Me,{key:m.id},[m.type==="donut"?(Y(),Q("div",{key:0,class:"rd-chart","data-chart":m.facet},[M("div",ax,re(m.title),1),M("div",rx,[(Y(),Q("svg",{class:Ke(["rd-donut",{"has-sel":k(m.facet)}]),viewBox:"0 0 132 132",role:"img","aria-label":(ue(we)("aria.donutChart")||"{title} donut chart").replace("{title}",m.title)},[(Y(!0),Q(Me,null,nt(m.geometry,$=>(Y(),Q("path",{key:$.key,d:$.path,fill:$.color,class:Ke(["rd-slice",{on:g(m.facet,$.key)}]),"data-facet":m.facet,"data-key":$.key},[M("title",null,re(v(m.facet,$.key))+": "+re($.value)+" ("+re($.pct)+"%)",1)],10,ix))),128))],10,sx)),M("div",lx,[(Y(!0),Q(Me,null,nt(m.geometry,$=>(Y(),Q("span",{key:$.key,class:Ke(["rd-li",{on:g(m.facet,$.key)}]),"data-facet":m.facet,"data-key":$.key,title:v(m.facet,$.key)+": "+$.value},[M("i",{style:dt({background:$.color})},null,4),M("span",ux,re(v(m.facet,$.key)),1),M("b",null,re($.value),1)],10,cx))),128))])])],8,nx)):(Y(),Q("div",{key:1,class:"rd-chart","data-chart":m.facet},[M("div",px,re(m.title),1),M("div",gx,[(Y(!0),Q(Me,null,nt(m.geometry,$=>(Y(),Q("div",{key:$.key,class:Ke(["rd-bar",{on:g(m.facet,$.key)}]),"data-facet":m.facet,"data-key":$.key},[M("span",hx,re(v(m.facet,$.key)),1),M("span",mx,[M("span",{class:"rd-bf",style:dt({width:$.frac*100+"%",background:$.color})},null,4)]),M("span",_x,re($.value),1)],10,fx))),128))])],8,dx))],64))),128))]))}},$x={class:"rd-detail","data-region":"detail-drawer"},yx={class:"rd-dh"},vx=["aria-label"],wx={key:0,class:"rd-empty","data-detail-empty":""},xx={class:"rd-top"},kx=["src","alt"],Sx={key:1,class:"rd-ph","data-detail-thumb":""},Ax={class:"rd-name","data-detail-name":""},Lx={class:"rd-meta"},Tx={class:"rd-actions"},Cx=["href","title"],Px=["href","title"],Ex={class:"rd-rows"},Mx={class:"rd-row"},Rx={class:"k"},Fx={class:"v"},Nx={key:0,class:"fam"},Ox={class:"rd-row"},Ix={class:"k"},zx={class:"v"},Dx={class:"rd-row"},Bx={class:"k"},Hx={class:"v"},Ux={class:"rd-row"},jx={class:"k"},Gx={class:"v"},Wx={class:"rd-row"},qx={class:"k"},Vx={class:"v"},Kx={class:"rd-row"},Yx={class:"k"},Zx={class:"v"},Xx={__name:"DashboardDetailDrawer",setup(e){const t=(_,b)=>we(_)||b,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("dashboardConfig",{}),r=Object.fromEntries(Object.entries(a.facets||{}).map(([_,b])=>[_,b.get])),{labelFor:s}=Ar(a,Be("dataStore",null),Be("searchSourceId",null)),i=o&&n?Pi({rowStore:o.rowStore,rows:o.rows,selectionSet:n.selectionSet,filterSet:n.filterSet,FACET_ACC:r,labelFor:s}):null,l=pe(null),c=[];vt(()=>{n&&(c.push(n.on("focusRow",_=>{_&&_.slug&&(l.value=_.slug)})),c.push(n.on("select",_=>{const b=_?[..._]:[];b.length&&(l.value=b[b.length-1])})))}),Dt(()=>{c.forEach(_=>{try{_()}catch{}}),c.length=0});const u=te(()=>{const _=l.value;return!_||!o||!o.rowStore||!o.rowStore.value?null:o.rowStore.value.get(_)||null}),d=_=>_==null||_===""?"—":Xo(_),g=te(()=>{const _=u.value;return _?a.detail&&typeof a.detail.photo=="function"?!!a.detail.photo(_):!!(_.has_photo&&_.image_url):!1}),w=te(()=>a.detail||{});function A(_,b,x){if(typeof _=="function")try{return _(b)||x}catch{return x}return typeof _=="string"&&_?_.replace("{slug}",encodeURIComponent(b.slug||"")):x}const L=te(()=>{const _=u.value;if(!_)return null;const b=(()=>{try{return new URLSearchParams(window.location.search).get("utm_source")||""}catch{return""}})(),x=encodeURIComponent(String(b||w.value.utmSource||a.utmSource||"agwm")),m=`https://pray.doxa.life/${encodeURIComponent(_.slug||"")}?source=doxalife&utm_source=${x}`;return A(w.value.prayUrl,_,m)}),C=te(()=>{var V;const _=u.value;if(!_)return null;const b=typeof window<"u"&&((V=window.location)==null?void 0:V.origin)||"https://doxa.life",x=(()=>{try{return new URLSearchParams(window.location.search).get("utm_source")||""}catch{return""}})(),m=encodeURIComponent(String(x||w.value.utmSource||a.utmSource||"agwm")),$=`${b}/research/${encodeURIComponent(_.slug||"")}/?utm_source=${m}`;return A(w.value.moreInfoUrl,_,$)}),F=te(()=>w.value.prayLabel||t("dashboard.pray_for_group","Pray for this people group")),v=te(()=>w.value.moreInfoLabel||t("dashboard.more_information","More information"));function k(){!i||!n||(!n.selectionSet.size&&l.value&&n.toggleSelect(l.value),i.exportCsv())}function f(){l.value=null,n&&typeof n.clearSelection=="function"&&n.clearSelection()}return Ht(` .rd-detail{ box-sizing:border-box; background:var(--rd-panel,#fff); border-inline-start:1px solid var(--rd-line, #d1d4cd); border-bottom:1px solid var(--rd-line, #d1d4cd); padding:var(--s3,12px); font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; color:var(--rd-ink, #3b463d); flex:0 0 auto; } @@ -659,7 +659,7 @@ .rd-detail .rd-act-info{ flex:0 1 auto; background:var(--rd-bg, #f3f3f1); color:var(--rd-ink, #3b463d); border:1px solid var(--rd-line, #d1d4cd); } .rd-detail .rd-act-info:hover{ background:var(--rd-panel,#fff); border-color:var(--rd-muted, #6d766e); } -`,"rd-detaildrawer"),(_,b)=>(Y(),Q("section",_x,[M("div",bx,[M("span",null,re(t("dashboard.detail","Detail")),1),u.value?(Y(),Q("button",{key:0,class:"rd-detail-close",type:"button","aria-label":t("aria.closeDetail","Close detail"),"data-detail-close":"",onClick:f},"✕",8,$x)):Ie("",!0)]),u.value?(Y(),Q(Me,{key:1},[M("div",vx,[g.value?(Y(),Q("img",{key:0,class:"rd-thumb",src:u.value.image_url,alt:u.value.name,"data-detail-thumb":""},null,8,wx)):(Y(),Q("div",xx,re(t("dashboard.no_photo","No photo")),1)),M("div",null,[M("div",kx,re(u.value.name||"—"),1),M("div",Sx,re(ue(ut)(u.value.country_code)||"—")+" · "+re(ue(ut)(u.value.religion)||"—"),1)])]),M("div",Ax,[L.value?(Y(),Q("a",{key:0,class:"rd-act rd-act-pray",href:L.value,target:"_blank",rel:"noopener",title:F.value,"data-detail-pray":""},[b[0]||(b[0]=M("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true"},[M("path",{d:"M8 2L10 6L14 6.5L11 9.5L11.5 14L8 12L4.5 14L5 9.5L2 6.5L6 6L8 2Z",fill:"currentColor"})],-1)),M("span",null,re(F.value),1)],8,Lx)):Ie("",!0),C.value?(Y(),Q("a",{key:1,class:"rd-act rd-act-info",href:C.value,target:"_blank",rel:"noopener",title:v.value,"data-detail-moreinfo":""},[b[1]||(b[1]=M("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true"},[M("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none"}),M("path",{d:"M8 6V8M8 10H8.01",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),M("span",null,re(v.value),1)],8,Tx)):Ie("",!0)]),M("div",Cx,[M("div",Px,[M("span",Ex,re(t("dashboard.language","Language")),1),M("span",Mx,[pt(re(ue(ut)(u.value.primary_language)||"—"),1),u.value.imb_language_family?(Y(),Q("span",Rx," ("+re(u.value.imb_language_family)+")",1)):Ie("",!0)])]),M("div",Fx,[M("span",Nx,re(t("dashboard.population","Population")),1),M("span",Ox,re(d(u.value.population)),1)]),M("div",Ix,[M("span",zx,re(t("dashboard.people_praying","People praying")),1),M("span",Dx,re(d(u.value.people_praying)),1)]),M("div",Bx,[M("span",Hx,re(t("dashboard.people_committed","People committed")),1),M("span",Ux,re(d(u.value.people_committed)),1)]),M("div",jx,[M("span",Gx,re(t("dashboard.adopted_by_churches","Adopted by churches")),1),M("span",Wx,re(d(u.value.adopted_by_churches)),1)]),M("div",qx,[M("span",Vx,re(t("dashboard.engagement","Engagement")),1),M("span",Kx,re(ue(ut)(u.value.engagement_status)||"—"),1)])]),M("button",{class:"rd-exp",type:"button","data-detail-export":"",onClick:k},re(t("dashboard.export_selection","Export this selection"))+" ↓",1)],64)):(Y(),Q("div",yx,re(t("dashboard.detail_empty","Select a people group to see detail")),1))]))}},Zx="rgba(120, 128, 134, 0.28)",_p="36px",bp=()=>{};function Xx(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return bp;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return bp;const a=v=>v.classList.contains("map-scroll-edge--left");for(const v of n)v.style.background=`linear-gradient(${a(v)?"to right":"to left"}, ${Zx} ${_p}, transparent ${_p})`,v.style.opacity="0",v.style.transition="opacity 0.16s ease",v.style.userSelect="none",v.style.webkitUserSelect="none";const r=v=>{v.style.opacity="1"},s=v=>{v.style.opacity="0"},i=()=>n.find(v=>!a(v))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const v of n)l.has(v)||s(v)},g=()=>{const v=i();v&&(r(v),u&&clearTimeout(u),u=setTimeout(d,250))},w=()=>g(),A=v=>{if(!(v.touches&&v.touches.length===1))return;const k=v.target;k&&k.classList&&k.classList.contains("map-scroll-edge")||g()},L=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",w,{passive:!0}),e.addEventListener("touchmove",A,{passive:!0}),e.addEventListener("touchend",L,{passive:!0}),e.addEventListener("touchcancel",L,{passive:!0});const C=()=>{c||g()};typeof window<"u"&&window.addEventListener("scroll",C,{passive:!0});const F=[];for(const v of n){const k=()=>{l.add(v),r(v)},f=()=>{l.delete(v),s(v)},_=()=>{c=!0,r(v)},b=()=>{c=!1,s(v)};v.addEventListener("mouseenter",k),v.addEventListener("mouseleave",f),v.addEventListener("touchstart",_,{passive:!0}),v.addEventListener("touchend",b,{passive:!0}),F.push(()=>{v.removeEventListener("mouseenter",k),v.removeEventListener("mouseleave",f),v.removeEventListener("touchstart",_),v.removeEventListener("touchend",b)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",w),e.removeEventListener("touchmove",A),e.removeEventListener("touchend",L),e.removeEventListener("touchcancel",L),typeof window<"u"&&window.removeEventListener("scroll",C);for(const k of F)k();for(const k of n)s(k)}}const Jx=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function Qx(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const o=Jx[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function e1(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const t1=["mapbox","maplibre"],o1="auto";function $p(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function yp(e,{token:t}={}){const o=$p(e);return vp(o)||"maplibre"}function vp(e){const t=$p(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,r=String(o||n||a||o1).toLowerCase().trim();return t1.includes(r)?r:""}function n1(e,t){if(!e||!t||typeof e.setProjection!="function")return!1;const o=typeof window<"u"?window.maplibregl:null,n=!!(o&&o.Map&&e instanceof o.Map);try{return e.setProjection(n?{type:t}:t),!0}catch{return!1}}const ka={mapboxGlJs:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",integrity:"sha384-tO0clamXONKwbiz7O6xJpUeyJbTSPugC+xM9clvfFvKTH3i8SmCawHGdf5quMWmZ"},mapboxGlCss:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css",integrity:"sha384-rp1X/jJ9MpWPef9OimfXhOaOc4Gzs87yQvF+ajwY6X2H4PTeHNycNlLWiWvj7ehV"},maplibreGlJs:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.js",integrity:"sha384-5+cfbwT0iiub6VsQAdn6yz16nr6sDiQoHx6tm4O8OVYXHYOxcffFmCJBL0dgdvGp"},maplibreGlCss:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.css",integrity:"sha384-uTttxo/aOKbdE5RlD/SPzSDoDmNvGlUYPjONi2MN/b7c9HPSvW07OIuyP7uL6jxK"},mapboxGeocoderJs:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",integrity:"sha384-Lx9WK8XhZk57czwxt6B6nyaDHB5Ayrcrsu4Fw4bCp/Ot/QLOsUZ0xYqLOpOOSXZw"},mapboxGeocoderCss:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",integrity:"sha384-1KNhwJNCQTr0DCi/5/OnQcFytgycxTahxNZaqKbAtqmY8bUhu26qxXqvDGXXwplS"},maplibreGeocoderJs:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.min.js",integrity:"sha384-RGV5vfoJd7alk8HE+71IyVfu19ciH1FKA15+AuXs6OeBM2npXrmTPFqG23yMiHXi"},maplibreGeocoderCss:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.css",integrity:"sha384-UkDpPApjTpHJHpcJiSNAmbobh30W0/dmt0DoKm4V8CWYRYvQ/Jhd/ijFz0tFdVnH"},d3:{url:"https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js",integrity:"sha384-CjloA8y00+1SDAUkjs099PVfnY2KmDC2BZnws9kh8D/lX1s46w6EPhpXdqMfjK6i"}};function Ii(e,t){const o=Object.values(ka).find(n=>n.url===t);return o&&(e.integrity=o.integrity,e.crossOrigin="anonymous"),e}const a1=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,wp=new WeakMap;function r1(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function xp(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!r1(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=wp.get(e);a||(a=new Map,wp.set(e,a));let r=0;for(const s of n.layers){if(s.type!=="symbol"||!s.layout||s.layout["text-field"]==null)continue;const i=s.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(s.id))continue}else{if(!a1.test(l))continue;a.set(s.id,i)}const c=["coalesce",["get","name:"+o],["get","name_"+o],["get","name:latin"],["get","name_en"],["get","name"]];e.setLayoutProperty(s.id,"text-field",c),r++}return r}catch{return 0}}const On={mapbox:{global:"mapboxgl",js:ka.mapboxGlJs.url,css:ka.mapboxGlCss.url},maplibre:{global:"maplibregl",js:ka.maplibreGlJs.url,css:ka.maplibreGlCss.url}},s1={"Map.Title":"map","Marker.Title":"marker","Popup.Close":"closePopup","NavigationControl.ZoomIn":"zoomIn","NavigationControl.ZoomOut":"zoomOut","NavigationControl.ResetBearing":"resetBearing","AttributionControl.ToggleAttribution":"toggleAttribution","AttributionControl.MapFeedback":"mapFeedback","FullscreenControl.Enter":"enterFullscreen","FullscreenControl.Exit":"exitFullscreen","GeolocateControl.FindMyLocation":"findMyLocation","GeolocateControl.LocationNotAvailable":"locationNotAvailable","GlobeControl.Enable":"enableGlobe","GlobeControl.Disable":"disableGlobe","CooperativeGesturesHandler.WindowsHelpText":"ctrlScroll","CooperativeGesturesHandler.MacHelpText":"cmdScroll","CooperativeGesturesHandler.MobileHelpText":"twoFingers","ScrollZoomBlocker.CtrlMessage":"ctrlScroll","ScrollZoomBlocker.CmdMessage":"cmdScroll","TouchPanBlocker.Message":"twoFingers"};function kp(e,t){const o={};for(const[a,r]of Object.entries(s1)){const s=we(`mapui.${r}`,e);s&&(o[a]=s)}const n=we(t==="maplibre"?"mapui.maplibreLogo":"mapui.mapboxHomepage",e);return n&&(o["LogoControl.Title"]=n),o}function Sp(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const i1=On.mapbox.css,l1="https://tiles.openfreemap.org/styles/liberty",c1="https://tiles.openfreemap.org/styles/fiord";function zi(e){var o;const t=((o=On[e])==null?void 0:o.global)||On.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Ap(e){const t=On[e]||On.mapbox;if(zi(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,Ii(n,t.css),document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(zi(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const r=document.createElement("script");r.src=t.js,Ii(r,t.js),r.async=!1,r.addEventListener("load",n,{once:!0}),r.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(r)})}async function u1(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=s=>new Promise(i=>setTimeout(i,s)),a=o.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(s=>{a.addEventListener("load",s,{once:!0}),a.addEventListener("error",s,{once:!0})}),n(2e3)]);return}const r=document.createElement("link");r.rel="stylesheet",r.href=t,Ii(r,t),await Promise.race([new Promise(s=>{r.addEventListener("load",s,{once:!0}),r.addEventListener("error",s,{once:!0}),o.prepend(r)}),n(2e3)])}function d1(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?c1:l1}const p1=85.0511,Di=-2,g1=0,f1=-60;function Lp(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function h1(e,t,o,n){if(!e||e<=0||!t||t<=0)return g1;const a=Math.log2(e/512),r=Lp(n)-Lp(p1),s=Math.log2(t/(512*r)),i=Math.max(a,s);return Math.max(Di,Math.min(i,(o??18)-1))}function m1({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:a=void 0,center:r=[20,10],zoom:s=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:d=18,pitch:g=0,bearing:w=0,renderWorldCopies:A=!0,showEdgeBorders:L=!0,southCutoff:C=f1,maxBounds:F=void 0}){const v=Wn(null),k=pe(!1);let f=null,_=null,b=null,x=null;try{x=Be("profileConfig",null)}catch{}const m=!a&&!vp(x);a=a||yp(x,{token:t});let $=a==="maplibre";typeof document<"u"&&Ap(a).catch(()=>{});let V=null;try{V=Be("lang",null)}catch{}const I=()=>{const ce=V&&typeof V=="object"&&"value"in V?V.value:V;if(typeof ce=="string"&&ce)return ce;const H=x&&typeof x=="object"&&"value"in x?x.value:x;if(H&&(H.locale||H.lang))return String(H.locale||H.lang);try{const D=new URLSearchParams(location.search);return D.get("lang")||D.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function z(){var Se;if(m&&!$&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(a="maplibre",$=!0)}const ce=Qx(o,a),H=ce.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const D=()=>!e.value;if(await Ap(a),D())return;const ae=zi(a);if(!ae){console.error(`[useMapInstance] ${$?"maplibregl":"mapboxgl"} is not available. Add the ${$?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(Gd(ae),!$){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,D()))return;if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){typeof window<"u"&&!window.__doxaNoTokenWarned&&(window.__doxaNoTokenWarned=!0,console.warn('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.'));return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await u1(e.value,$?On.maplibre.css:i1),D()||(await new Promise($e=>requestAnimationFrame($e)),D()))return;const P=e.value,Z=P.clientWidth,N=P.clientHeight;if(Z===0||N===0){console.error(`[useMapInstance] Container has ZERO dimensions (${Z}×${N}). Map will be invisible. Check that parent elements have CSS sizing.`);let $e=P.parentElement,xe=0;for(;$e&&xe<5;)$e=$e.parentElement,xe++}const E=t;$||(ae.accessToken=E);const W=()=>typeof window<"u"&&window.innerWidth>=1024,me=($e,xe)=>{if(u)return typeof c=="number"?c:Di;if(!W())return Di;const ke=h1($e,xe,d,C);return typeof c=="number"?Math.max(c,ke):ke},be=me(P.clientWidth,P.clientHeight),Ae=ce.lightPreset||(()=>{var $e;try{const xe=typeof n=="function"?n():n;return($e=xe==null?void 0:xe.basemap)==null?void 0:$e.lightPreset}catch{return}})();if($){v.value=new ae.Map({container:e.value,style:d1(H,Ae),locale:kp(I(),"maplibre"),center:r,zoom:s,minZoom:be,maxZoom:d,pitch:g,bearing:w,dragRotate:!1,renderWorldCopies:A,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Sp(v.value);try{e.value.__doxaMap=v.value}catch{}}else{const $e=typeof n=="function"?n():n;v.value=new ae.Map({accessToken:E,container:e.value,style:H,locale:kp(I(),"mapbox"),...$e?{config:$e}:{},center:r,zoom:s,minZoom:be,maxZoom:d,pitch:g,bearing:w,dragRotate:!1,touchPitch:!1,renderWorldCopies:A,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Sp(v.value);try{e.value.__doxaMap=v.value}catch{}}try{let $e=!1;v.value.on("error",xe=>{var T,S;const ke=((T=xe==null?void 0:xe.error)==null?void 0:T.status)??(xe==null?void 0:xe.status),y=String(((S=xe==null?void 0:xe.error)==null?void 0:S.url)||(xe==null?void 0:xe.sourceId)||"");ke!==401&&ke!==403||$e||($e=!0,console.error(`[doxa-maps] Mapbox returned ${ke} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(y?` First failing request: ${y.slice(0,120)}`:"")))})}catch{}try{v.value.touchZoomRotate.disableRotation()}catch{}b=Xx(((Se=e.value)==null?void 0:Se.parentElement)||null,{enabled:L});let Te=be,He=null;f=()=>{const $e=v.value;if(!$e)return;const xe=me(P.clientWidth,P.clientHeight);xe!==Te&&(Te=xe,$e.setMinZoom(xe)),$e.getZoom(){He=null;const ke=v.value;if(!ke)return;const y=me(P.clientWidth,P.clientHeight);if(ke.getZoom(){He&&(clearTimeout(He),He=null)},v.value.on("resize",f),typeof window<"u"&&(window.addEventListener("resize",f),window.addEventListener("orientationchange",f)),v.value.on("style.load",()=>{if(v.value&&xp(v.value,I()),ce.paint&&v.value){const $e=e1(v.value,ce.paint);console.info("[useMapInstance] style paint applied ("+a+"):",$e.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var $e;($e=v.value)==null||$e.resize(),v.value&&v.value.setMinZoom(me(P.clientWidth,P.clientHeight)),k.value=!0})})}function G(){if(v.value){if(f&&(v.value.off("resize",f),typeof window<"u"&&(window.removeEventListener("resize",f),window.removeEventListener("orientationchange",f)),f=null),_){try{_()}catch{}_=null}b&&(b(),b=null);try{const H=typeof window<"u"?window:null;H&&H.__doxaLogoOwner===v.value&&(H.__doxaLogoOwner=null)}catch{}const ce=v.value;v.value.remove();try{e&&e.value&&e.value.__doxaMap===ce&&(e.value.__doxaMap=null)}catch{}v.value=null,k.value=!1}}if(V&&typeof V=="object"&&"value"in V)try{Qe(V,()=>{v.value&&k.value&&xp(v.value,I())})}catch{}return{map:v,isMapReady:k,initializeMap:z,destroy:G}}function At(e,t,o){if(!Array.isArray(e))return e;switch(e[0]){case"get":return t==null?void 0:t[e[1]];case"literal":return e[1];case"feature-state":return;case"has":return t!=null&&e[1]in t;case"!has":return t==null||!(e[1]in t);case"!":return!At(e[1],t);case"coalesce":{for(let a=1;a2){const s=Number(At(e[2],t));return Number.isFinite(s)?s:0}return NaN}case"to-string":{const a=At(e[1],t);return a==null?"":String(a)}case"to-boolean":return!!At(e[1],t);case"slice":{const a=At(e[1],t),r=At(e[2],t),s=e.length>3?At(e[3],t):void 0;return typeof a!="string"?"":s!=null?a.slice(r,s):a.slice(r)}default:return e}}function Pr(e,t,o){if(e===!0)return!0;if(e===!1)return!1;if(!Array.isArray(e))return!!e;const n=e[0];if(n==="all"){for(let a=1;a"||n===">="||n==="<"||n==="<="){const a=typeof e[1]=="string"?t==null?void 0:t[e[1]]:At(e[1],t),r=At(e[2],t);switch(n){case"==":return a===r||a==null&&r==null;case"!=":return!(a===r||a==null&&r==null);case">":return a>r;case">=":return a>=r;case"<":return anull,mapId:o="unknown",mapStore:n=null,regionsGeoData:a=null,defaultCenter:r=(In==null?void 0:In.center)||[20,10],defaultZoom:s=In==null?void 0:In.zoom}=e,i=()=>{try{return typeof window<"u"&&!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}};function l(G){const ce=i(),H=(D={})=>{const ae={};for(const P of["center","zoom","bearing","pitch","padding"])D[P]!==void 0&&(ae[P]=D[P]);return G.jumpTo(ae)};return{flyTo:D=>ce?H(D):G.flyTo(D),easeTo:D=>ce?H(D):G.easeTo(D),fitBounds:(D,ae={})=>G.fitBounds(D,ce?{...ae,animate:!1,duration:0}:ae)}}const c={speed:.5,essential:!0,curve:1.2};function u(G,ce,H={x:150,y:0}){const D=t();if(!D)return G;try{const ae=D.getCanvas(),P=ae.width,Z=ae.height,N=D.project(G),E=window.devicePixelRatio||1,W=(H.x||0)*E,me=(H.y||0)*E,be={x:N.x-W,y:N.y-me},Ae=D.unproject(be);return[Ae.lng,Ae.lat]}catch{return G}}function d(G,ce=[]){const H=t();if(!H)return;let D=null,ae=5;const P=ce.filter(N=>N.languageFamily===G);if(P.length>0){let N=1/0,E=-1/0,W=1/0,me=-1/0;if(P.forEach(be=>{be.longitude&&be.latitude&&(N=Math.min(N,be.longitude),E=Math.max(E,be.longitude),W=Math.min(W,be.latitude),me=Math.max(me,be.latitude))}),N!==1/0){D=[(N+E)/2,(W+me)/2];const be=E-N,Ae=me-W,Te=Math.max(be,Ae);Te>50?ae=2:Te>20?ae=3:Te>10?ae=4:Te>5?ae=5:ae=6}}if(!D)return;const Z=u(D);l(H).flyTo({center:Z,zoom:ae,...c})}function g(G){const ce=t();if(!ce)return;let H=null,D=4;const ae=b1(G);if(ae)H=ae.center,D=ae.zoom||4;else if(a!=null&&a.features){const Z=a.features.find(N=>{var E,W;return((E=N.properties)==null?void 0:E.region)===G||((W=N.properties)==null?void 0:W.name)===G});Z&&(H=w(Z))}if(!H)return;const P=u(H);l(ce).flyTo({center:P,zoom:D,...c})}function w(G){if(!G||!G.geometry)return null;const{type:ce,coordinates:H}=G.geometry;let D=[];if(ce==="Polygon"?D=H[0]||[]:ce==="MultiPolygon"&&H.forEach(Z=>{D=D.concat(Z[0]||[])}),D.length===0)return null;let ae=0,P=0;return D.forEach(Z=>{ae+=Z[0],P+=Z[1]}),[ae/D.length,P/D.length]}function A(G,ce={}){const H=t();if(!H)return;const D={center:G,...c,...ce};l(H).flyTo(D)}function L(G,ce,H={}){const D=t();if(!D||(G==null?void 0:G.longitude)==null||(G==null?void 0:G.latitude)==null)return;const ae=ce??Math.min(D.getZoom()+2,8);A([G.longitude,G.latitude],{...H,zoom:ae})}function C(G,ce={top:40,right:40,bottom:40,left:40},H={}){const D=t();if(!D||!G)return;const ae=H.maxZoom??4,P=H.duration??900;l(D).fitBounds(G,{padding:ce,maxZoom:ae,duration:P,...c,...H})}function F(){const G=t();G&&l(G).flyTo({center:r,zoom:s,...c})}const v=80,k=800,f=5,_=5,b=110,x=1.2;function m(G){const ce=G.filter(Number.isFinite).slice().sort((ke,y)=>ke-y),H=ce.length;if(!H)return null;let D=-1,ae=0;for(let ke=0;keD&&(D=T,ae=ke)}const P=(ae+1)%H,Z=new Array(H);for(let ke=0;ke0&&y((ke+180)%360+360)%360-180,Ae=be(W),Te=24,He=360/Te,Se=new Array(Te).fill(0);for(const ke of ce){let y=Math.floor(((ke+180)%360+360)%360/He);y>=Te&&(y=Te-1),Se[y]++}let $e=0;for(let ke=1;keSe[$e]&&($e=ke);return{center:be(-180+($e+.5)*He),minLng:Ae,maxLng:Ae+(me-W),span:me-W}}function $(G){try{const ce=G.getContainer&&G.getContainer().clientWidth||0,H=ce>0?Math.log2(ce/512):x,D=typeof G.getMinZoom=="function"?G.getMinZoom():H;return Math.max(D,H)}catch{return x}}function V(G,ce,H,D){l(G).easeTo({center:[ce,(H+D)/2],zoom:$(G),duration:k,essential:!0})}function I(G,ce,H){if(H>b)return!0;try{const D=typeof G.cameraForBounds=="function"?G.cameraForBounds(ce,{padding:v,maxZoom:f}):null;return D==null?!0:typeof D.zoom=="number"&&D.zoom<=$(G)+.05}catch{return!1}}function z(G,ce={}){var Se,$e;const H=t();if(!H||!G)return;if(ce.regionPolygonSource&&H.getSource(ce.regionPolygonSource)){const xe=Tp(H,ce.regionPolygonSource),ke=G.id??G.label,y=xe.find(T=>{const S=(T==null?void 0:T.properties)||{};return S.region===ke||S.name===ke||S.id===ke});if(y){const T=[];let S=1/0,K=-1/0;const B=ne=>{for(const le of ne)Array.isArray(le[0])?B(le):Number.isFinite(le[0])&&Number.isFinite(le[1])&&(T.push(le[0]),le[1]K&&(K=le[1]))};(Se=y.geometry)!=null&&Se.coordinates&&B(y.geometry.coordinates);const j=m(T);if(j&&Number.isFinite(S)){const ne=[[j.minLng,S],[j.maxLng,K]];I(H,ne,j.span)?V(H,j.center,S,K):l(H).fitBounds(ne,{padding:v,maxZoom:f,duration:k,essential:!0});return}}}const D=ce.sourceId??"language-families";if(!H.getSource(D))return;const ae=ce.matchExpr??G.filter;if(!ae)return;const P=Tp(H,D);if(!P.length)return;const Z=[];let N=1/0,E=-1/0,W=0,me=0,be=0;const Ae=new Set;for(const xe of P){const ke=xe==null?void 0:xe.properties;if(!Pr(ae,ke))continue;const y=ke==null?void 0:ke.uniqueId;if(y!=null){if(Ae.has(y))continue;Ae.add(y)}const T=($e=xe.geometry)==null?void 0:$e.coordinates;if(!Array.isArray(T)||T.length<2)continue;const S=T[0],K=T[1];!Number.isFinite(S)||!Number.isFinite(K)||(W===0&&(me=S,be=K),Z.push(S),KE&&(E=K),W++)}if(W===0)return;if(W===1){l(H).flyTo({center:[me,be],zoom:_,duration:k,essential:!0});return}const Te=m(Z)||{center:0,minLng:0,maxLng:0,span:0},He=[[Te.minLng,N],[Te.maxLng,E]];if(I(H,He,Te.span)){V(H,Te.center,N,E);return}try{l(H).fitBounds(He,{padding:v,maxZoom:f,duration:k,essential:!0})}catch{}}return{getOffsetCenter:u,slowFlyToFamily:d,slowFlyToRegion:g,flyTo:A,flyToCoords:L,fitBounds:C,resetView:F,zoomToLegendRow:z,calculateRegionCenterFromPolygon:w}}const y1=150,v1=1200,w1=70,x1=5.5,k1=6,Cp=.01,S1=110,A1=1.45;function L1(){try{return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}}const Bi=e=>[e.longitude,e.latitude];function T1(e,t=Bi){if(!e)return null;const o=t(e)||[],n=Number(o[0]),a=Number(o[1]);return!Number.isFinite(n)||!Number.isFinite(a)||n===0&&a===0||a<-90||a>90||n<-180||n>180?null:[n,a]}function C1(e){let t=1/0,o=-1/0,n=1/0,a=-1/0;for(const i of e){io&&(o=i);const l=i<0?i+360:i;la&&(a=l)}if(!Number.isFinite(t))return null;const r=o-t,s=a-n;if(s180?n-360:n;return{minLng:i,maxLng:i+s,span:s}}return{minLng:t,maxLng:o,span:r}}function P1(e,t,o=Bi){if(!e||!e.size||!t)return null;const n=[];let a=1/0,r=-1/0,s=null,i=0;for(const c of e){const u=T1(t.get(c),o);u&&(i===0&&(s=u),n.push(u[0]),u[1]r&&(r=u[1]),i++)}if(i===0)return null;if(i===1)return{kind:"point",center:s};const l=C1(n);return l?l.span!0,coords:r=Bi}){if(!e||!e.selectionVersion)return()=>{};let s=null;function i(){if(s=null,!(t&&t())||!a())return;const u=P1(e.selectionSet,o&&o(),r);if(!u)return;const d=L1()?0:v1;try{if(u.kind==="point"){n.flyTo(u.center,{zoom:k1,duration:d,essential:!0});return}if(u.span>S1){n.flyTo([(u.bounds[0][0]+u.bounds[1][0])/2,(u.bounds[0][1]+u.bounds[1][1])/2],{zoom:A1,duration:d,essential:!0});return}n.fitBounds(u.bounds,w1,{maxZoom:x1,duration:d,essential:!0})}catch{}}const l=Qe(()=>e.selectionVersion.value,()=>{s&&clearTimeout(s),s=setTimeout(i,y1)});return function(){s&&(clearTimeout(s),s=null);try{l()}catch{}}}const M1={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0},controls:{type:String,default:"round"}},setup(e){const t=e,o=pe(null);return so("mapToolbar",{el:o,shape:te(()=>t.controls==="square"?"square":"round")}),Ht(` +`,"rd-detaildrawer"),(_,b)=>(Y(),Q("section",$x,[M("div",yx,[M("span",null,re(t("dashboard.detail","Detail")),1),u.value?(Y(),Q("button",{key:0,class:"rd-detail-close",type:"button","aria-label":t("aria.closeDetail","Close detail"),"data-detail-close":"",onClick:f},"✕",8,vx)):Ie("",!0)]),u.value?(Y(),Q(Me,{key:1},[M("div",xx,[g.value?(Y(),Q("img",{key:0,class:"rd-thumb",src:u.value.image_url,alt:u.value.name,"data-detail-thumb":""},null,8,kx)):(Y(),Q("div",Sx,re(t("dashboard.no_photo","No photo")),1)),M("div",null,[M("div",Ax,re(u.value.name||"—"),1),M("div",Lx,re(ue(ut)(u.value.country_code)||"—")+" · "+re(ue(ut)(u.value.religion)||"—"),1)])]),M("div",Tx,[L.value?(Y(),Q("a",{key:0,class:"rd-act rd-act-pray",href:L.value,target:"_blank",rel:"noopener",title:F.value,"data-detail-pray":""},[b[0]||(b[0]=M("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true"},[M("path",{d:"M8 2L10 6L14 6.5L11 9.5L11.5 14L8 12L4.5 14L5 9.5L2 6.5L6 6L8 2Z",fill:"currentColor"})],-1)),M("span",null,re(F.value),1)],8,Cx)):Ie("",!0),C.value?(Y(),Q("a",{key:1,class:"rd-act rd-act-info",href:C.value,target:"_blank",rel:"noopener",title:v.value,"data-detail-moreinfo":""},[b[1]||(b[1]=M("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true"},[M("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none"}),M("path",{d:"M8 6V8M8 10H8.01",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),M("span",null,re(v.value),1)],8,Px)):Ie("",!0)]),M("div",Ex,[M("div",Mx,[M("span",Rx,re(t("dashboard.language","Language")),1),M("span",Fx,[pt(re(ue(ut)(u.value.primary_language)||"—"),1),u.value.imb_language_family?(Y(),Q("span",Nx," ("+re(u.value.imb_language_family)+")",1)):Ie("",!0)])]),M("div",Ox,[M("span",Ix,re(t("dashboard.population","Population")),1),M("span",zx,re(d(u.value.population)),1)]),M("div",Dx,[M("span",Bx,re(t("dashboard.people_praying","People praying")),1),M("span",Hx,re(d(u.value.people_praying)),1)]),M("div",Ux,[M("span",jx,re(t("dashboard.people_committed","People committed")),1),M("span",Gx,re(d(u.value.people_committed)),1)]),M("div",Wx,[M("span",qx,re(t("dashboard.adopted_by_churches","Adopted by churches")),1),M("span",Vx,re(d(u.value.adopted_by_churches)),1)]),M("div",Kx,[M("span",Yx,re(t("dashboard.engagement","Engagement")),1),M("span",Zx,re(ue(ut)(u.value.engagement_status)||"—"),1)])]),M("button",{class:"rd-exp",type:"button","data-detail-export":"",onClick:k},re(t("dashboard.export_selection","Export this selection"))+" ↓",1)],64)):(Y(),Q("div",wx,re(t("dashboard.detail_empty","Select a people group to see detail")),1))]))}},Jx="rgba(120, 128, 134, 0.28)",$p="36px",yp=()=>{};function Qx(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return yp;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return yp;const a=v=>v.classList.contains("map-scroll-edge--left");for(const v of n)v.style.background=`linear-gradient(${a(v)?"to right":"to left"}, ${Jx} ${$p}, transparent ${$p})`,v.style.opacity="0",v.style.transition="opacity 0.16s ease",v.style.userSelect="none",v.style.webkitUserSelect="none";const r=v=>{v.style.opacity="1"},s=v=>{v.style.opacity="0"},i=()=>n.find(v=>!a(v))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const v of n)l.has(v)||s(v)},g=()=>{const v=i();v&&(r(v),u&&clearTimeout(u),u=setTimeout(d,250))},w=()=>g(),A=v=>{if(!(v.touches&&v.touches.length===1))return;const k=v.target;k&&k.classList&&k.classList.contains("map-scroll-edge")||g()},L=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",w,{passive:!0}),e.addEventListener("touchmove",A,{passive:!0}),e.addEventListener("touchend",L,{passive:!0}),e.addEventListener("touchcancel",L,{passive:!0});const C=()=>{c||g()};typeof window<"u"&&window.addEventListener("scroll",C,{passive:!0});const F=[];for(const v of n){const k=()=>{l.add(v),r(v)},f=()=>{l.delete(v),s(v)},_=()=>{c=!0,r(v)},b=()=>{c=!1,s(v)};v.addEventListener("mouseenter",k),v.addEventListener("mouseleave",f),v.addEventListener("touchstart",_,{passive:!0}),v.addEventListener("touchend",b,{passive:!0}),F.push(()=>{v.removeEventListener("mouseenter",k),v.removeEventListener("mouseleave",f),v.removeEventListener("touchstart",_),v.removeEventListener("touchend",b)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",w),e.removeEventListener("touchmove",A),e.removeEventListener("touchend",L),e.removeEventListener("touchcancel",L),typeof window<"u"&&window.removeEventListener("scroll",C);for(const k of F)k();for(const k of n)s(k)}}const e1=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function t1(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const o=e1[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function o1(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const n1=["mapbox","maplibre"],a1="auto";function vp(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function wp(e,{token:t}={}){const o=vp(e);return xp(o)||"maplibre"}function xp(e){const t=vp(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,r=String(o||n||a||a1).toLowerCase().trim();return n1.includes(r)?r:""}function r1(e,t){if(!e||!t||typeof e.setProjection!="function")return!1;const o=typeof window<"u"?window.maplibregl:null,n=!!(o&&o.Map&&e instanceof o.Map);try{return e.setProjection(n?{type:t}:t),!0}catch{return!1}}const ka={mapboxGlJs:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",integrity:"sha384-tO0clamXONKwbiz7O6xJpUeyJbTSPugC+xM9clvfFvKTH3i8SmCawHGdf5quMWmZ"},mapboxGlCss:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css",integrity:"sha384-rp1X/jJ9MpWPef9OimfXhOaOc4Gzs87yQvF+ajwY6X2H4PTeHNycNlLWiWvj7ehV"},maplibreGlJs:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.js",integrity:"sha384-5+cfbwT0iiub6VsQAdn6yz16nr6sDiQoHx6tm4O8OVYXHYOxcffFmCJBL0dgdvGp"},maplibreGlCss:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.css",integrity:"sha384-uTttxo/aOKbdE5RlD/SPzSDoDmNvGlUYPjONi2MN/b7c9HPSvW07OIuyP7uL6jxK"},mapboxGeocoderJs:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",integrity:"sha384-Lx9WK8XhZk57czwxt6B6nyaDHB5Ayrcrsu4Fw4bCp/Ot/QLOsUZ0xYqLOpOOSXZw"},mapboxGeocoderCss:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",integrity:"sha384-1KNhwJNCQTr0DCi/5/OnQcFytgycxTahxNZaqKbAtqmY8bUhu26qxXqvDGXXwplS"},maplibreGeocoderJs:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.min.js",integrity:"sha384-RGV5vfoJd7alk8HE+71IyVfu19ciH1FKA15+AuXs6OeBM2npXrmTPFqG23yMiHXi"},maplibreGeocoderCss:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.css",integrity:"sha384-UkDpPApjTpHJHpcJiSNAmbobh30W0/dmt0DoKm4V8CWYRYvQ/Jhd/ijFz0tFdVnH"},d3:{url:"https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js",integrity:"sha384-CjloA8y00+1SDAUkjs099PVfnY2KmDC2BZnws9kh8D/lX1s46w6EPhpXdqMfjK6i"}};function Di(e,t){const o=Object.values(ka).find(n=>n.url===t);return o&&(e.integrity=o.integrity,e.crossOrigin="anonymous"),e}const s1=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,kp=new WeakMap;function i1(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function Sp(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!i1(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=kp.get(e);a||(a=new Map,kp.set(e,a));let r=0;for(const s of n.layers){if(s.type!=="symbol"||!s.layout||s.layout["text-field"]==null)continue;const i=s.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(s.id))continue}else{if(!s1.test(l))continue;a.set(s.id,i)}const c=["coalesce",["get","name:"+o],["get","name_"+o],["get","name:latin"],["get","name_en"],["get","name"]];e.setLayoutProperty(s.id,"text-field",c),r++}return r}catch{return 0}}const In={mapbox:{global:"mapboxgl",js:ka.mapboxGlJs.url,css:ka.mapboxGlCss.url},maplibre:{global:"maplibregl",js:ka.maplibreGlJs.url,css:ka.maplibreGlCss.url}},l1={"Map.Title":"map","Marker.Title":"marker","Popup.Close":"closePopup","NavigationControl.ZoomIn":"zoomIn","NavigationControl.ZoomOut":"zoomOut","NavigationControl.ResetBearing":"resetBearing","AttributionControl.ToggleAttribution":"toggleAttribution","AttributionControl.MapFeedback":"mapFeedback","FullscreenControl.Enter":"enterFullscreen","FullscreenControl.Exit":"exitFullscreen","GeolocateControl.FindMyLocation":"findMyLocation","GeolocateControl.LocationNotAvailable":"locationNotAvailable","GlobeControl.Enable":"enableGlobe","GlobeControl.Disable":"disableGlobe","CooperativeGesturesHandler.WindowsHelpText":"ctrlScroll","CooperativeGesturesHandler.MacHelpText":"cmdScroll","CooperativeGesturesHandler.MobileHelpText":"twoFingers","ScrollZoomBlocker.CtrlMessage":"ctrlScroll","ScrollZoomBlocker.CmdMessage":"cmdScroll","TouchPanBlocker.Message":"twoFingers"};function Ap(e,t){const o={};for(const[a,r]of Object.entries(l1)){const s=we(`mapui.${r}`,e);s&&(o[a]=s)}const n=we(t==="maplibre"?"mapui.maplibreLogo":"mapui.mapboxHomepage",e);return n&&(o["LogoControl.Title"]=n),o}function Lp(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const c1=In.mapbox.css,u1="https://tiles.openfreemap.org/styles/liberty",d1="https://tiles.openfreemap.org/styles/fiord";function Bi(e){var o;const t=((o=In[e])==null?void 0:o.global)||In.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Tp(e){const t=In[e]||In.mapbox;if(Bi(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,Di(n,t.css),document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(Bi(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const r=document.createElement("script");r.src=t.js,Di(r,t.js),r.async=!1,r.addEventListener("load",n,{once:!0}),r.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(r)})}async function p1(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=s=>new Promise(i=>setTimeout(i,s)),a=o.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(s=>{a.addEventListener("load",s,{once:!0}),a.addEventListener("error",s,{once:!0})}),n(2e3)]);return}const r=document.createElement("link");r.rel="stylesheet",r.href=t,Di(r,t),await Promise.race([new Promise(s=>{r.addEventListener("load",s,{once:!0}),r.addEventListener("error",s,{once:!0}),o.prepend(r)}),n(2e3)])}function g1(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?d1:u1}const f1=85.0511,Hi=-2,h1=0,m1=-60;function Cp(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function _1(e,t,o,n){if(!e||e<=0||!t||t<=0)return h1;const a=Math.log2(e/512),r=Cp(n)-Cp(f1),s=Math.log2(t/(512*r)),i=Math.max(a,s);return Math.max(Hi,Math.min(i,(o??18)-1))}function b1({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:a=void 0,center:r=[20,10],zoom:s=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:d=18,pitch:g=0,bearing:w=0,renderWorldCopies:A=!0,showEdgeBorders:L=!0,southCutoff:C=m1,maxBounds:F=void 0}){const v=qn(null),k=pe(!1);let f=null,_=null,b=null,x=null;try{x=Be("profileConfig",null)}catch{}const m=!a&&!xp(x);a=a||wp(x,{token:t});let $=a==="maplibre";typeof document<"u"&&Tp(a).catch(()=>{});let V=null;try{V=Be("lang",null)}catch{}const I=()=>{const ce=V&&typeof V=="object"&&"value"in V?V.value:V;if(typeof ce=="string"&&ce)return ce;const H=x&&typeof x=="object"&&"value"in x?x.value:x;if(H&&(H.locale||H.lang))return String(H.locale||H.lang);try{const D=new URLSearchParams(location.search);return D.get("lang")||D.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function z(){var Se;if(m&&!$&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(a="maplibre",$=!0)}const ce=t1(o,a),H=ce.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const D=()=>!e.value;if(await Tp(a),D())return;const ae=Bi(a);if(!ae){console.error(`[useMapInstance] ${$?"maplibregl":"mapboxgl"} is not available. Add the ${$?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(qd(ae),!$){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,D()))return;if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){typeof window<"u"&&!window.__doxaNoTokenWarned&&(window.__doxaNoTokenWarned=!0,console.warn('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.'));return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await p1(e.value,$?In.maplibre.css:c1),D()||(await new Promise($e=>requestAnimationFrame($e)),D()))return;const P=e.value,Z=P.clientWidth,N=P.clientHeight;if(Z===0||N===0){console.error(`[useMapInstance] Container has ZERO dimensions (${Z}×${N}). Map will be invisible. Check that parent elements have CSS sizing.`);let $e=P.parentElement,xe=0;for(;$e&&xe<5;)$e=$e.parentElement,xe++}const E=t;$||(ae.accessToken=E);const W=()=>typeof window<"u"&&window.innerWidth>=1024,me=($e,xe)=>{if(u)return typeof c=="number"?c:Hi;if(!W())return Hi;const ke=_1($e,xe,d,C);return typeof c=="number"?Math.max(c,ke):ke},be=me(P.clientWidth,P.clientHeight),Ae=ce.lightPreset||(()=>{var $e;try{const xe=typeof n=="function"?n():n;return($e=xe==null?void 0:xe.basemap)==null?void 0:$e.lightPreset}catch{return}})();if($){v.value=new ae.Map({container:e.value,style:g1(H,Ae),locale:Ap(I(),"maplibre"),center:r,zoom:s,minZoom:be,maxZoom:d,pitch:g,bearing:w,dragRotate:!1,renderWorldCopies:A,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Lp(v.value);try{e.value.__doxaMap=v.value}catch{}}else{const $e=typeof n=="function"?n():n;v.value=new ae.Map({accessToken:E,container:e.value,style:H,locale:Ap(I(),"mapbox"),...$e?{config:$e}:{},center:r,zoom:s,minZoom:be,maxZoom:d,pitch:g,bearing:w,dragRotate:!1,touchPitch:!1,renderWorldCopies:A,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Lp(v.value);try{e.value.__doxaMap=v.value}catch{}}try{let $e=!1;v.value.on("error",xe=>{var T,S;const ke=((T=xe==null?void 0:xe.error)==null?void 0:T.status)??(xe==null?void 0:xe.status),y=String(((S=xe==null?void 0:xe.error)==null?void 0:S.url)||(xe==null?void 0:xe.sourceId)||"");ke!==401&&ke!==403||$e||($e=!0,console.error(`[doxa-maps] Mapbox returned ${ke} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(y?` First failing request: ${y.slice(0,120)}`:"")))})}catch{}try{v.value.touchZoomRotate.disableRotation()}catch{}b=Qx(((Se=e.value)==null?void 0:Se.parentElement)||null,{enabled:L});let Te=be,He=null;f=()=>{const $e=v.value;if(!$e)return;const xe=me(P.clientWidth,P.clientHeight);xe!==Te&&(Te=xe,$e.setMinZoom(xe)),$e.getZoom(){He=null;const ke=v.value;if(!ke)return;const y=me(P.clientWidth,P.clientHeight);if(ke.getZoom(){He&&(clearTimeout(He),He=null)},v.value.on("resize",f),typeof window<"u"&&(window.addEventListener("resize",f),window.addEventListener("orientationchange",f)),v.value.on("style.load",()=>{if(v.value&&Sp(v.value,I()),ce.paint&&v.value){const $e=o1(v.value,ce.paint);console.info("[useMapInstance] style paint applied ("+a+"):",$e.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var $e;($e=v.value)==null||$e.resize(),v.value&&v.value.setMinZoom(me(P.clientWidth,P.clientHeight)),k.value=!0})})}function G(){if(v.value){if(f&&(v.value.off("resize",f),typeof window<"u"&&(window.removeEventListener("resize",f),window.removeEventListener("orientationchange",f)),f=null),_){try{_()}catch{}_=null}b&&(b(),b=null);try{const H=typeof window<"u"?window:null;H&&H.__doxaLogoOwner===v.value&&(H.__doxaLogoOwner=null)}catch{}const ce=v.value;v.value.remove();try{e&&e.value&&e.value.__doxaMap===ce&&(e.value.__doxaMap=null)}catch{}v.value=null,k.value=!1}}if(V&&typeof V=="object"&&"value"in V)try{Qe(V,()=>{v.value&&k.value&&Sp(v.value,I())})}catch{}return{map:v,isMapReady:k,initializeMap:z,destroy:G}}function At(e,t,o){if(!Array.isArray(e))return e;switch(e[0]){case"get":return t==null?void 0:t[e[1]];case"literal":return e[1];case"feature-state":return;case"has":return t!=null&&e[1]in t;case"!has":return t==null||!(e[1]in t);case"!":return!At(e[1],t);case"coalesce":{for(let a=1;a2){const s=Number(At(e[2],t));return Number.isFinite(s)?s:0}return NaN}case"to-string":{const a=At(e[1],t);return a==null?"":String(a)}case"to-boolean":return!!At(e[1],t);case"slice":{const a=At(e[1],t),r=At(e[2],t),s=e.length>3?At(e[3],t):void 0;return typeof a!="string"?"":s!=null?a.slice(r,s):a.slice(r)}default:return e}}function Pr(e,t,o){if(e===!0)return!0;if(e===!1)return!1;if(!Array.isArray(e))return!!e;const n=e[0];if(n==="all"){for(let a=1;a"||n===">="||n==="<"||n==="<="){const a=typeof e[1]=="string"?t==null?void 0:t[e[1]]:At(e[1],t),r=At(e[2],t);switch(n){case"==":return a===r||a==null&&r==null;case"!=":return!(a===r||a==null&&r==null);case">":return a>r;case">=":return a>=r;case"<":return anull,mapId:o="unknown",mapStore:n=null,regionsGeoData:a=null,defaultCenter:r=(zn==null?void 0:zn.center)||[20,10],defaultZoom:s=zn==null?void 0:zn.zoom}=e,i=()=>{try{return typeof window<"u"&&!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}};function l(G){const ce=i(),H=(D={})=>{const ae={};for(const P of["center","zoom","bearing","pitch","padding"])D[P]!==void 0&&(ae[P]=D[P]);return G.jumpTo(ae)};return{flyTo:D=>ce?H(D):G.flyTo(D),easeTo:D=>ce?H(D):G.easeTo(D),fitBounds:(D,ae={})=>G.fitBounds(D,ce?{...ae,animate:!1,duration:0}:ae)}}const c={speed:.5,essential:!0,curve:1.2};function u(G,ce,H={x:150,y:0}){const D=t();if(!D)return G;try{const ae=D.getCanvas(),P=ae.width,Z=ae.height,N=D.project(G),E=window.devicePixelRatio||1,W=(H.x||0)*E,me=(H.y||0)*E,be={x:N.x-W,y:N.y-me},Ae=D.unproject(be);return[Ae.lng,Ae.lat]}catch{return G}}function d(G,ce=[]){const H=t();if(!H)return;let D=null,ae=5;const P=ce.filter(N=>N.languageFamily===G);if(P.length>0){let N=1/0,E=-1/0,W=1/0,me=-1/0;if(P.forEach(be=>{be.longitude&&be.latitude&&(N=Math.min(N,be.longitude),E=Math.max(E,be.longitude),W=Math.min(W,be.latitude),me=Math.max(me,be.latitude))}),N!==1/0){D=[(N+E)/2,(W+me)/2];const be=E-N,Ae=me-W,Te=Math.max(be,Ae);Te>50?ae=2:Te>20?ae=3:Te>10?ae=4:Te>5?ae=5:ae=6}}if(!D)return;const Z=u(D);l(H).flyTo({center:Z,zoom:ae,...c})}function g(G){const ce=t();if(!ce)return;let H=null,D=4;const ae=y1(G);if(ae)H=ae.center,D=ae.zoom||4;else if(a!=null&&a.features){const Z=a.features.find(N=>{var E,W;return((E=N.properties)==null?void 0:E.region)===G||((W=N.properties)==null?void 0:W.name)===G});Z&&(H=w(Z))}if(!H)return;const P=u(H);l(ce).flyTo({center:P,zoom:D,...c})}function w(G){if(!G||!G.geometry)return null;const{type:ce,coordinates:H}=G.geometry;let D=[];if(ce==="Polygon"?D=H[0]||[]:ce==="MultiPolygon"&&H.forEach(Z=>{D=D.concat(Z[0]||[])}),D.length===0)return null;let ae=0,P=0;return D.forEach(Z=>{ae+=Z[0],P+=Z[1]}),[ae/D.length,P/D.length]}function A(G,ce={}){const H=t();if(!H)return;const D={center:G,...c,...ce};l(H).flyTo(D)}function L(G,ce,H={}){const D=t();if(!D||(G==null?void 0:G.longitude)==null||(G==null?void 0:G.latitude)==null)return;const ae=ce??Math.min(D.getZoom()+2,8);A([G.longitude,G.latitude],{...H,zoom:ae})}function C(G,ce={top:40,right:40,bottom:40,left:40},H={}){const D=t();if(!D||!G)return;const ae=H.maxZoom??4,P=H.duration??900;l(D).fitBounds(G,{padding:ce,maxZoom:ae,duration:P,...c,...H})}function F(){const G=t();G&&l(G).flyTo({center:r,zoom:s,...c})}const v=80,k=800,f=5,_=5,b=110,x=1.2;function m(G){const ce=G.filter(Number.isFinite).slice().sort((ke,y)=>ke-y),H=ce.length;if(!H)return null;let D=-1,ae=0;for(let ke=0;keD&&(D=T,ae=ke)}const P=(ae+1)%H,Z=new Array(H);for(let ke=0;ke0&&y((ke+180)%360+360)%360-180,Ae=be(W),Te=24,He=360/Te,Se=new Array(Te).fill(0);for(const ke of ce){let y=Math.floor(((ke+180)%360+360)%360/He);y>=Te&&(y=Te-1),Se[y]++}let $e=0;for(let ke=1;keSe[$e]&&($e=ke);return{center:be(-180+($e+.5)*He),minLng:Ae,maxLng:Ae+(me-W),span:me-W}}function $(G){try{const ce=G.getContainer&&G.getContainer().clientWidth||0,H=ce>0?Math.log2(ce/512):x,D=typeof G.getMinZoom=="function"?G.getMinZoom():H;return Math.max(D,H)}catch{return x}}function V(G,ce,H,D){l(G).easeTo({center:[ce,(H+D)/2],zoom:$(G),duration:k,essential:!0})}function I(G,ce,H){if(H>b)return!0;try{const D=typeof G.cameraForBounds=="function"?G.cameraForBounds(ce,{padding:v,maxZoom:f}):null;return D==null?!0:typeof D.zoom=="number"&&D.zoom<=$(G)+.05}catch{return!1}}function z(G,ce={}){var Se,$e;const H=t();if(!H||!G)return;if(ce.regionPolygonSource&&H.getSource(ce.regionPolygonSource)){const xe=Pp(H,ce.regionPolygonSource),ke=G.id??G.label,y=xe.find(T=>{const S=(T==null?void 0:T.properties)||{};return S.region===ke||S.name===ke||S.id===ke});if(y){const T=[];let S=1/0,K=-1/0;const B=ne=>{for(const le of ne)Array.isArray(le[0])?B(le):Number.isFinite(le[0])&&Number.isFinite(le[1])&&(T.push(le[0]),le[1]K&&(K=le[1]))};(Se=y.geometry)!=null&&Se.coordinates&&B(y.geometry.coordinates);const j=m(T);if(j&&Number.isFinite(S)){const ne=[[j.minLng,S],[j.maxLng,K]];I(H,ne,j.span)?V(H,j.center,S,K):l(H).fitBounds(ne,{padding:v,maxZoom:f,duration:k,essential:!0});return}}}const D=ce.sourceId??"language-families";if(!H.getSource(D))return;const ae=ce.matchExpr??G.filter;if(!ae)return;const P=Pp(H,D);if(!P.length)return;const Z=[];let N=1/0,E=-1/0,W=0,me=0,be=0;const Ae=new Set;for(const xe of P){const ke=xe==null?void 0:xe.properties;if(!Pr(ae,ke))continue;const y=ke==null?void 0:ke.uniqueId;if(y!=null){if(Ae.has(y))continue;Ae.add(y)}const T=($e=xe.geometry)==null?void 0:$e.coordinates;if(!Array.isArray(T)||T.length<2)continue;const S=T[0],K=T[1];!Number.isFinite(S)||!Number.isFinite(K)||(W===0&&(me=S,be=K),Z.push(S),KE&&(E=K),W++)}if(W===0)return;if(W===1){l(H).flyTo({center:[me,be],zoom:_,duration:k,essential:!0});return}const Te=m(Z)||{center:0,minLng:0,maxLng:0,span:0},He=[[Te.minLng,N],[Te.maxLng,E]];if(I(H,He,Te.span)){V(H,Te.center,N,E);return}try{l(H).fitBounds(He,{padding:v,maxZoom:f,duration:k,essential:!0})}catch{}}return{getOffsetCenter:u,slowFlyToFamily:d,slowFlyToRegion:g,flyTo:A,flyToCoords:L,fitBounds:C,resetView:F,zoomToLegendRow:z,calculateRegionCenterFromPolygon:w}}const w1=150,x1=1200,k1=70,S1=5.5,A1=6,Ep=.01,L1=110,T1=1.45;function C1(){try{return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}}const Ui=e=>[e.longitude,e.latitude];function P1(e,t=Ui){if(!e)return null;const o=t(e)||[],n=Number(o[0]),a=Number(o[1]);return!Number.isFinite(n)||!Number.isFinite(a)||n===0&&a===0||a<-90||a>90||n<-180||n>180?null:[n,a]}function E1(e){let t=1/0,o=-1/0,n=1/0,a=-1/0;for(const i of e){io&&(o=i);const l=i<0?i+360:i;la&&(a=l)}if(!Number.isFinite(t))return null;const r=o-t,s=a-n;if(s180?n-360:n;return{minLng:i,maxLng:i+s,span:s}}return{minLng:t,maxLng:o,span:r}}function M1(e,t,o=Ui){if(!e||!e.size||!t)return null;const n=[];let a=1/0,r=-1/0,s=null,i=0;for(const c of e){const u=P1(t.get(c),o);u&&(i===0&&(s=u),n.push(u[0]),u[1]r&&(r=u[1]),i++)}if(i===0)return null;if(i===1)return{kind:"point",center:s};const l=E1(n);return l?l.span!0,coords:r=Ui}){if(!e||!e.selectionVersion)return()=>{};let s=null;function i(){if(s=null,!(t&&t())||!a())return;const u=M1(e.selectionSet,o&&o(),r);if(!u)return;const d=C1()?0:x1;try{if(u.kind==="point"){n.flyTo(u.center,{zoom:A1,duration:d,essential:!0});return}if(u.span>L1){n.flyTo([(u.bounds[0][0]+u.bounds[1][0])/2,(u.bounds[0][1]+u.bounds[1][1])/2],{zoom:T1,duration:d,essential:!0});return}n.fitBounds(u.bounds,k1,{maxZoom:S1,duration:d,essential:!0})}catch{}}const l=Qe(()=>e.selectionVersion.value,()=>{s&&clearTimeout(s),s=setTimeout(i,w1)});return function(){s&&(clearTimeout(s),s=null);try{l()}catch{}}}const F1={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0},controls:{type:String,default:"round"}},setup(e){const t=e,o=pe(null);return so("mapToolbar",{el:o,shape:te(()=>t.controls==="square"?"square":"round")}),Ht(` @media print { .map-toolbar, .mapboxgl-ctrl-group, @@ -714,7 +714,7 @@ .map-toolbar--square, .map-toolbar--square.map-toolbar--no-geocoder { gap: 0; } } -`,"map-toolbar"),(n,a)=>(Y(),Q("div",{ref_key:"toolbarEl",ref:o,class:Ke(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder,"map-toolbar--square":e.controls==="square"}])},[rn(n.$slots,"default")],2))}},R1={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=qo(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomIn()}return(a,r)=>(Y(),lo(Mi,{"data-control":"zoom-in","is-dark":e.isDark,disabled:e.disabled,title:ue(t)("buttons.zoomIn"),onClick:n},{default:zo(()=>[...r[0]||(r[0]=[M("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","disabled","title"]))}},F1={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=qo(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomOut()}return(a,r)=>(Y(),lo(Mi,{"data-control":"zoom-out","is-dark":e.isDark,disabled:e.disabled,title:ue(t)("buttons.zoomOut"),onClick:n},{default:zo(()=>[...r[0]||(r[0]=[M("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","disabled","title"]))}};function N1(e){var o;let t=e&&e.parentNode;for(;t;){if(t.nodeType===1){const n=getComputedStyle(t);if(/auto|scroll/.test(n.overflowY)&&t.scrollHeight>t.clientHeight+4)return t}if(t=t.parentElement||((o=t.parentNode)==null?void 0:o.host)||(t.parentNode!==t?t.parentNode:null),t&&t.nodeType===9)break}return null}const O1=["data-projection"],I1=["onKeydown","title","aria-label"],z1={"aria-hidden":"true"},D1=["aria-label"],B1={class:"lg-h"},Pp=2,H1="#f2f3f0",Ep=.78,U1="prayer_level",j1=.1,G1=12,W1={__name:"DashboardMapPanel",setup(e){var Op,Ip,zp,Dp,Bp,Hp,Up,jp,Gp;const t=(R,se)=>we(R)||se,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("mapboxToken",pe("")),r=Be("dashboardConfig",{}),s=Be("profileConfig",pe(null)),i=(n==null?void 0:n.filterSet)||{},l=Object.fromEntries(Object.entries(r.facets||{}).map(([R,se])=>[R,se.get])),c=wa(n,va(r)),u=te(()=>{var Oe,Ge;const R=((Oe=o==null?void 0:o.rows)==null?void 0:Oe.value)||[],se=Object.keys(i),he=!!(((Ge=n==null?void 0:n.searchTerm)==null?void 0:Ge.value)||"").trim();if(!se.length&&!he)return R;const Ee=R.filter(qe=>n.rowMatchesFilters(qe,l));return Nn(Ee,c)}),d=((Op=r.map)==null?void 0:Op.geoFacet)||"country_code",g=((zp=(Ip=r.facets)==null?void 0:Ip[d])==null?void 0:zp.geoIso)||(R=>{const se=R[d];return se&&se.value?se.value:null}),w=l[d]||(R=>ut(R[d])),A=te(()=>{var se;const R=new Map;for(const he of((se=o==null?void 0:o.rows)==null?void 0:se.value)||[]){const Ee=g(he);Ee&&R.set(Ee,w(he)||Ee)}return R}),L=te(()=>{const R=new Map;for(const se of u.value){const he=g(se);he&&R.set(he,(R.get(he)||0)+1)}return R}),C=pe(null),F=te(()=>{var he,Ee;const R=(he=s==null?void 0:s.value)==null?void 0:he.provider;return R==="maplibre"||R==="mapbox"?R:yp(null)==="maplibre"||(((Ee=r.map)==null?void 0:Ee.provider)||r.provider)==="maplibre"?"maplibre":"mapbox"}),v=te(()=>F.value==="maplibre");let k=null;function f(){return k||(k=fetch(`${yi(s.value)}/boundaries/world-adm0-web.geojson`).then(R=>R.json()).then(R=>{for(const se of R.features||[])se.properties&&se.properties.iso3&&(se.properties.iso_3166_1_alpha_3=se.properties.iso3);return R}),k.catch(()=>{k=null})),k}const{map:_,isMapReady:b,initializeMap:x,destroy:m}=m1({containerRef:C,accessToken:ue(a)||a&&a.value||"",center:[28,18],zoom:1.1,minZoom:.5,skipWorldFloor:!0,provider:F.value,...(Dp=r.map)!=null&&Dp.mapStyle||r.mapStyle?{style:((Bp=r.map)==null?void 0:Bp.mapStyle)||r.mapStyle}:{}}),$=$1({getMap:()=>_.value,mapId:"rdash-map",defaultCenter:[28,18],defaultZoom:1.45});let V=null;V=E1({bus:n,mapFly:$,getMap:()=>_.value,getRowStore:()=>{var R;return(R=o==null?void 0:o.rowStore)==null?void 0:R.value},isEnabled:()=>b.value});let I=!1,z=null,G=null,ce=null,H=null,D=null,ae=null,P=null,Z=null,N=0,E=!1;function W(){E||N||(N=requestAnimationFrame(()=>{N=0;const R=_.value;if(R&&typeof R.resize=="function")try{R.resize()}catch{}}))}function me(R){const se=!!R;if(se!==E){if(E=se,E){N&&(cancelAnimationFrame(N),N=0);return}W(),setTimeout(W,180)}}const be=(()=>{var se;const R={"heartbeat-red":["#f4cec4","#ecaea1","#e08678","#ce544b","#b10010"],greyscale:["#c9c9c9","#a9a9a9","#6f6f6f","#3a3a3a","#060606"]};return R[(se=r.map)==null?void 0:se.colorRamp]||R["heartbeat-red"]})(),Ae={heartbeatThreshold:150,binThresholds:[5,20,60],quantile:.1};function Te(R,se){return Number.isFinite(se)?se-1<=R?`${R}`:`${R}–${se-1}`:`${R}+ · ${t("dashboard.heartbeat_zone","heartbeat zone")}`}function He(R){const he=Ae.binThresholds.map(Ee=>Ee/Ae.heartbeatThreshold).map(Ee=>Math.max(Pp,Math.round(Ee*R)));return Se(he,R)}function Se(R,se){const he=[];for(const Ee of R){const Oe=Math.max(Ee,he.length?he[he.length-1]+1:Pp);Oeqe>0).sort((qe,Ce)=>qe-Ce);if(he.length<8)return null;const Ee=qe=>he[Math.min(he.length-1,Math.max(0,Math.floor(qe*he.length)))],Oe=Ee(1-se)+1,Ge=[.25,.5,.75].map(qe=>Ee(qe));return{threshold:Oe,edges:Se(Ge,Oe)}}function xe(R){var qe;if(Array.isArray((qe=r.map)==null?void 0:qe.bins)&&r.map.bins.length)return r.map.bins;const se=r.map||{};let he=Number(se.heartbeatThreshold)>0?Number(se.heartbeatThreshold):Ae.heartbeatThreshold,Ee=null;if(se.heartbeatMode==="quantile"){const Ce=$e(R||[],Number(se.heartbeatQuantile)>0?Number(se.heartbeatQuantile):Ae.quantile);Ce&&(he=Ce.threshold,Ee=Ce.edges)}Ee||(Ee=Array.isArray(se.binThresholds)&&se.binThresholds.length?[...new Set(se.binThresholds.map(Number).filter(Ce=>Number.isFinite(Ce)&&Ce>0&&CeCe-xt):Number(se.heartbeatThreshold)>0?He(he):Ae.binThresholds);const Oe=[...Ee,he,1/0].slice(0,be.length);for(;Oe.length{const Qt={upTo:Ce,c:be[xt],l:Te(Ge,Ce)};return Ge=Ce,Qt})}const ke=te(()=>xe([...L.value.values()])),y=((Hp=r.map)==null?void 0:Hp.noDataColor)||"#f3f3f1";function T(R){if(!R)return y;const se=ke.value;for(const he of se)if(R{const qe=parseInt(he.slice(Ge*2,Ge*2+2),16),Ce=parseInt(Ee.slice(Ge*2,Ge*2+2),16);return Math.round(Ep*qe+(1-Ep)*Ce)};return"#"+[0,1,2].map(Ge=>Oe(Ge).toString(16).padStart(2,"0")).join("")}const K=te(()=>ke.value.map(R=>({c:S(R.c),l:R.l}))),B=((Up=r.map)==null?void 0:Up.selectedColor)||"#1a237e";function j(){const R=L.value,se=[],he=[];R.forEach((qe,Ce)=>{se.push(Ce,T(qe)),he.push(Ce)});const Ee=se.length?["match",["get","iso_3166_1_alpha_3"],...se,y]:y,Ge=Object.keys(i).length>0&&he.length?["match",["get","iso_3166_1_alpha_3"],...he.flatMap(qe=>[qe,.92]),.12]:.78;return{fillColor:Ee,fillOpacity:Ge}}function ne(){return Object.prototype.hasOwnProperty.call(i,U1)}const le=((jp=r.map)==null?void 0:jp.pinColor)||"#ef6c00",h=((Gp=r.map)==null?void 0:Gp.pinStrokeColor)||"#ffffff";function p(){return ne()?yr({colorSource:"properties"}):le}function O(){const R=_.value;if(!R||!R.getLayer("rd-choropleth"))return;const{fillColor:se,fillOpacity:he}=j();R.setPaintProperty("rd-choropleth","fill-color",se),R.setPaintProperty("rd-choropleth","fill-opacity",he);const Ee=R.getSource("rd-bubbles");Ee&&Ee.setData(ge()),R.getLayer("rd-bubble-layer")&&R.setPaintProperty("rd-bubble-layer","circle-color",p())}function J(R){const se=R==null?void 0:R.people_praying,he=se&&typeof se=="object"?se.value:se;return Number(he)||0}function ge(){return{type:"FeatureCollection",features:u.value.filter(R=>Number(R.latitude)&&Number(R.longitude)).map(R=>({type:"Feature",geometry:{type:"Point",coordinates:[Number(R.longitude),Number(R.latitude)]},properties:{pop:Number(R.population)||0,slug:R.slug||"",name:R.name||"",peoplePraying:J(R)}}))}}function de(){var he;const R=n==null?void 0:n.selectionSet,se=((he=o==null?void 0:o.rows)==null?void 0:he.value)||[];return!R||!R.size?{type:"FeatureCollection",features:[]}:{type:"FeatureCollection",features:se.filter(Ee=>R.has(Ee.slug)&&Number(Ee.latitude)&&Number(Ee.longitude)).map(Ee=>({type:"Feature",geometry:{type:"Point",coordinates:[Number(Ee.longitude),Number(Ee.latitude)]},properties:{slug:Ee.slug||"",name:Ee.name||""}}))}}function U(){const R=_.value;if(!R)return;const se=R.getSource("rd-bubble-selected");se&&se.setData(de())}function ee(){var Ee;const R=_.value;if(!R||I)return;I=!0,R.getSource("rd-countries")||(v.value?(R.addSource("rd-countries",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),f().then(Oe=>{const Ge=_.value&&_.value.getSource("rd-countries");Ge&&Ge.setData(Oe)}).catch(Oe=>console.warn("[rdash] country boundaries failed to load",Oe))):R.addSource("rd-countries",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"}));const{fillColor:se,fillOpacity:he}=j();R.addLayer({id:"rd-choropleth",type:"fill",source:"rd-countries",...v.value?{}:{"source-layer":"country_boundaries"},paint:{"fill-color":se,"fill-opacity":he,"fill-outline-color":((Ee=r.map)==null?void 0:Ee.outlineColor)||"#6d766e"}}),R.addSource("rd-bubbles",{type:"geojson",data:ge()}),R.addLayer({id:"rd-bubble-layer",type:"circle",source:"rd-bubbles",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,2.2,6,5.5],"circle-color":p(),"circle-opacity":1,"circle-stroke-color":h,"circle-stroke-width":["interpolate",["linear"],["zoom"],1,1.2,6,2],"circle-stroke-opacity":1}}),R.addSource("rd-bubble-selected",{type:"geojson",data:de()}),R.addLayer({id:"rd-bubble-selected",type:"circle",source:"rd-bubble-selected",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,5,6,11],"circle-color":B,"circle-opacity":.18,"circle-stroke-width":3,"circle-stroke-color":B,"circle-stroke-opacity":.95}}),R.on("click","rd-choropleth",Le),R.on("click","rd-bubble-layer",Pe),R.on("mouseenter","rd-choropleth",()=>{R.getCanvas().style.cursor="pointer"}),R.on("mouseleave","rd-choropleth",()=>{R.getCanvas().style.cursor=""}),R.on("mouseenter","rd-bubble-layer",()=>{R.getCanvas().style.cursor="pointer"}),R.on("mouseleave","rd-bubble-layer",()=>{R.getCanvas().style.cursor=""});try{window.__rdashMap=D=R,window.__rdashClickAt=ae=(Oe,Ge)=>{const qe=R.project([Oe,Ge]),Ce=R.queryRenderedFeatures(qe,{layers:["rd-choropleth"]});return Ce&&Ce[0]?(Le({features:Ce}),Ce[0].properties&&Ce[0].properties.iso_3166_1_alpha_3):null},window.__rdashPinAt=P=(Oe,Ge)=>{const qe=R.project([Oe,Ge]),Ce=R.queryRenderedFeatures([[qe.x-7,qe.y-7],[qe.x+7,qe.y+7]],{layers:["rd-bubble-layer"]});return Ce&&Ce[0]?(Pe({features:[Ce[0]]}),Ce[0].properties&&Ce[0].properties.slug):null}}catch{}fe();try{typeof R.setFog=="function"&&R.setFog({color:"rgb(186, 210, 235)","high-color":"rgb(36, 92, 223)","horizon-blend":.02,"space-color":"#000000","star-intensity":.6})}catch{}n&&n.on("select",U),U(),n&&n.on("focusRow",({slug:Oe}={})=>{var Ce;if(!Oe)return;const Ge=(((Ce=o==null?void 0:o.rows)==null?void 0:Ce.value)||[]).find(xt=>xt.slug===Oe),qe=_.value;if(qe&&Ge&&Number(Ge.latitude)&&Number(Ge.longitude))try{qe.flyTo({center:[Number(Ge.longitude),Number(Ge.latitude)],zoom:5.5,duration:1200})}catch{}})}function Le(R){const se=_.value;if(se&&R.point){const Ge=se.queryRenderedFeatures([[R.point.x-5,R.point.y-5],[R.point.x+5,R.point.y+5]],{layers:["rd-bubble-layer"]});if(Ge&&Ge.length)return}const he=R.features&&R.features[0];if(!he||!n)return;const Ee=he.properties&&he.properties.iso_3166_1_alpha_3,Oe=A.value.get(Ee);Oe&&(n.setFilter(d,i[d]===Oe?null:Oe),n.emit("mapFocus",{facet:d,value:Oe}))}function Pe(R){const se=R.features&&R.features[0];if(!se||!n)return;const he=se.properties&&se.properties.slug;he&&(n.toggleSelect(he),n.emit("focusRow",{slug:he,name:se.properties&&se.properties.name}))}function Ye(R){if(!(!R||!R.scrollZoom))try{R.scrollZoom.enable()}catch{}}vt(async()=>{v.value&&f().catch(()=>{}),await x();const R=_.value;if(R){R.isStyleLoaded()?ee():R.on("load",ee),Ye(R),ce=()=>Ye(R);try{G=new ResizeObserver(ce);const se=R.getContainer&&R.getContainer()||null;se&&G.observe(se);const he=se?N1(se):null;he&&G.observe(he),document.body&&G.observe(document.body)}catch{}window.addEventListener("resize",ce),R.on("zoom",ie),R.on("zoomend",ie),R.on("resize",ie),ie(),R.on("idle",()=>{!I&&R.isStyleLoaded()&&ee()}),typeof ResizeObserver<"u"&&C.value&&(z=new ResizeObserver(W),z.observe(C.value)),q(),R.on("idle",q),R.on("resize",q),n&&typeof n.on=="function"&&(H=n.on("toggleTable",()=>{W(),setTimeout(W,280)}),Z=n.on("layoutResizing",me))}}),Dt(()=>{try{typeof window<"u"&&(window.__rdashPinAt===P&&delete window.__rdashPinAt,window.__rdashClickAt===ae&&delete window.__rdashClickAt,window.__rdashMap===D&&delete window.__rdashMap)}catch{}try{V&&V()}catch{}V=null;try{H&&H()}catch{}H=null;try{Z&&Z()}catch{}if(Z=null,z){try{z.disconnect()}catch{}z=null}if(G){try{G.disconnect()}catch{}G=null}if(ce){try{window.removeEventListener("resize",ce)}catch{}ce=null}if(ye){try{ye.disconnect()}catch{}ye=null}Re=null,N&&(cancelAnimationFrame(N),N=0);try{const R=_.value;R&&(R.off("zoom",ie),R.off("zoomend",ie),R.off("resize",ie),R.off("idle",q),R.off("resize",q))}catch{}try{m&&m()}catch{}}),Qe([u,b],O);const at=pe(!0),X=pe(!0);function ie(){const R=_.value;if(!R)return;const se=R.getZoom();at.value=seR.getMinZoom()+.01}const _e=pe(null);let ye=null,Re=null;function q(){var Ee;const R=_e.value;if(!R)return;let se=0;try{const Oe=(Ee=R.getRootNode)==null?void 0:Ee.call(R),Ge=Oe&&Oe.querySelector?Oe.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib"):null;if(Ge){const qe=Ge.getBoundingClientRect(),Ce=R.getBoundingClientRect();if(se=Math.max(qe.height||0,Ce.bottom-qe.top),Re!==Ge&&typeof ResizeObserver<"u"){if(ye)try{ye.disconnect()}catch{}Re=Ge,ye=new ResizeObserver(q),ye.observe(Ge)}}}catch{}const he=Math.min(Math.max(Math.ceil(se)||20,20),72);R.style.setProperty("--rd-attrib-clear",he+"px")}const oe=pe("globe");function fe(){const R=_.value;n1(R,oe.value)}const ze=te(()=>oe.value==="globe"?t("mapui.disableGlobe","Disable globe"):t("mapui.enableGlobe","Enable globe"));function De(){oe.value=oe.value==="globe"?"mercator":"globe",fe()}function mt(R){const se=Number(R.longitude),he=Number(R.latitude);return!Number.isFinite(se)||!Number.isFinite(he)||se===0&&he===0||he<-90||he>90||se<-180||se>180?null:[se,he]}function rt(R,se){if(!R.length)return NaN;const he=Math.min(R.length-1,Math.max(0,Math.round(se*(R.length-1))));return R[he]}function _t(R){const se=R.slice().sort((Ce,xt)=>Ce-xt),he=se.length;if(he<2)return se;let Ee=-1,Oe=0;for(let Ce=0;CeEe&&(Ee=Qt,Oe=Ce)}const Ge=(Oe+1)%he,qe=new Array(he);for(let Ce=0;Ce0&&xtfn[1]).sort((fn,Fr)=>fn-Fr),Ee=_t(se.map(fn=>fn[0])),Oe=se.length>=G1?j1:0,Ge=rt(he,Oe),qe=rt(he,1-Oe),Ce=rt(Ee,Oe),xt=rt(Ee,1-Oe),Qt=[rt(Ee,.5),rt(he,.5)];return!(xt>Ce)||!(qe>Ge)?{bounds:[[Qt[0],Qt[1]],[Qt[0],Qt[1]]],center:Qt}:{bounds:[[Ce,Ge],[xt,qe]],center:Qt}}function bS(){const R=_.value;if(!R)return;if(!Object.keys(i).length){try{R.flyTo({center:[28,18],zoom:1.45,duration:1e3})}catch{}return}const se=Jt(u.value);if(se)try{R.fitBounds(se.bounds,{padding:70,duration:1200,maxZoom:5.5}),R.setCenter(se.center)}catch{}}let Np=null;return Qe(()=>JSON.stringify(i),()=>{clearTimeout(Np),Np=setTimeout(bS,260)}),Ht(` +`,"map-toolbar"),(n,a)=>(Y(),Q("div",{ref_key:"toolbarEl",ref:o,class:Ke(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder,"map-toolbar--square":e.controls==="square"}])},[sn(n.$slots,"default")],2))}},N1={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=qo(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomIn()}return(a,r)=>(Y(),lo(Fi,{"data-control":"zoom-in","is-dark":e.isDark,disabled:e.disabled,title:ue(t)("buttons.zoomIn"),onClick:n},{default:zo(()=>[...r[0]||(r[0]=[M("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","disabled","title"]))}},O1={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=qo(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomOut()}return(a,r)=>(Y(),lo(Fi,{"data-control":"zoom-out","is-dark":e.isDark,disabled:e.disabled,title:ue(t)("buttons.zoomOut"),onClick:n},{default:zo(()=>[...r[0]||(r[0]=[M("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","disabled","title"]))}};function I1(e){var o;let t=e&&e.parentNode;for(;t;){if(t.nodeType===1){const n=getComputedStyle(t);if(/auto|scroll/.test(n.overflowY)&&t.scrollHeight>t.clientHeight+4)return t}if(t=t.parentElement||((o=t.parentNode)==null?void 0:o.host)||(t.parentNode!==t?t.parentNode:null),t&&t.nodeType===9)break}return null}const z1=["data-projection"],D1=["onKeydown","title","aria-label"],B1={"aria-hidden":"true"},H1=["aria-label"],U1={class:"lg-h"},Mp=2,j1="#f2f3f0",Rp=.78,G1="prayer_level",W1=.1,q1=12,V1={__name:"DashboardMapPanel",setup(e){var zp,Dp,Bp,Hp,Up,jp,Gp,Wp,qp;const t=(R,se)=>we(R)||se,o=Be("dashboardData",null),n=Be("selectionBus",null),a=Be("mapboxToken",pe("")),r=Be("dashboardConfig",{}),s=Be("profileConfig",pe(null)),i=(n==null?void 0:n.filterSet)||{},l=Object.fromEntries(Object.entries(r.facets||{}).map(([R,se])=>[R,se.get])),c=wa(n,va(r)),u=te(()=>{var Oe,Ge;const R=((Oe=o==null?void 0:o.rows)==null?void 0:Oe.value)||[],se=Object.keys(i),he=!!(((Ge=n==null?void 0:n.searchTerm)==null?void 0:Ge.value)||"").trim();if(!se.length&&!he)return R;const Ee=R.filter(qe=>n.rowMatchesFilters(qe,l));return On(Ee,c)}),d=((zp=r.map)==null?void 0:zp.geoFacet)||"country_code",g=((Bp=(Dp=r.facets)==null?void 0:Dp[d])==null?void 0:Bp.geoIso)||(R=>{const se=R[d];return se&&se.value?se.value:null}),w=l[d]||(R=>ut(R[d])),A=te(()=>{var se;const R=new Map;for(const he of((se=o==null?void 0:o.rows)==null?void 0:se.value)||[]){const Ee=g(he);Ee&&R.set(Ee,w(he)||Ee)}return R}),L=te(()=>{const R=new Map;for(const se of u.value){const he=g(se);he&&R.set(he,(R.get(he)||0)+1)}return R}),C=pe(null),F=te(()=>{var he,Ee;const R=(he=s==null?void 0:s.value)==null?void 0:he.provider;return R==="maplibre"||R==="mapbox"?R:wp(null)==="maplibre"||(((Ee=r.map)==null?void 0:Ee.provider)||r.provider)==="maplibre"?"maplibre":"mapbox"}),v=te(()=>F.value==="maplibre");let k=null;function f(){return k||(k=fetch(`${wi(s.value)}/boundaries/world-adm0-web.geojson`).then(R=>R.json()).then(R=>{for(const se of R.features||[])se.properties&&se.properties.iso3&&(se.properties.iso_3166_1_alpha_3=se.properties.iso3);return R}),k.catch(()=>{k=null})),k}const{map:_,isMapReady:b,initializeMap:x,destroy:m}=b1({containerRef:C,accessToken:ue(a)||a&&a.value||"",center:[28,18],zoom:1.1,minZoom:.5,skipWorldFloor:!0,provider:F.value,...(Hp=r.map)!=null&&Hp.mapStyle||r.mapStyle?{style:((Up=r.map)==null?void 0:Up.mapStyle)||r.mapStyle}:{}}),$=v1({getMap:()=>_.value,mapId:"rdash-map",defaultCenter:[28,18],defaultZoom:1.45});let V=null;V=R1({bus:n,mapFly:$,getMap:()=>_.value,getRowStore:()=>{var R;return(R=o==null?void 0:o.rowStore)==null?void 0:R.value},isEnabled:()=>b.value});let I=!1,z=null,G=null,ce=null,H=null,D=null,ae=null,P=null,Z=null,N=0,E=!1;function W(){E||N||(N=requestAnimationFrame(()=>{N=0;const R=_.value;if(R&&typeof R.resize=="function")try{R.resize()}catch{}}))}function me(R){const se=!!R;if(se!==E){if(E=se,E){N&&(cancelAnimationFrame(N),N=0);return}W(),setTimeout(W,180)}}const be=(()=>{var se;const R={"heartbeat-red":["#f4cec4","#ecaea1","#e08678","#ce544b","#b10010"],greyscale:["#c9c9c9","#a9a9a9","#6f6f6f","#3a3a3a","#060606"]};return R[(se=r.map)==null?void 0:se.colorRamp]||R["heartbeat-red"]})(),Ae={heartbeatThreshold:150,binThresholds:[5,20,60],quantile:.1};function Te(R,se){return Number.isFinite(se)?se-1<=R?`${R}`:`${R}–${se-1}`:`${R}+ · ${t("dashboard.heartbeat_zone","heartbeat zone")}`}function He(R){const he=Ae.binThresholds.map(Ee=>Ee/Ae.heartbeatThreshold).map(Ee=>Math.max(Mp,Math.round(Ee*R)));return Se(he,R)}function Se(R,se){const he=[];for(const Ee of R){const Oe=Math.max(Ee,he.length?he[he.length-1]+1:Mp);Oeqe>0).sort((qe,Ce)=>qe-Ce);if(he.length<8)return null;const Ee=qe=>he[Math.min(he.length-1,Math.max(0,Math.floor(qe*he.length)))],Oe=Ee(1-se)+1,Ge=[.25,.5,.75].map(qe=>Ee(qe));return{threshold:Oe,edges:Se(Ge,Oe)}}function xe(R){var qe;if(Array.isArray((qe=r.map)==null?void 0:qe.bins)&&r.map.bins.length)return r.map.bins;const se=r.map||{};let he=Number(se.heartbeatThreshold)>0?Number(se.heartbeatThreshold):Ae.heartbeatThreshold,Ee=null;if(se.heartbeatMode==="quantile"){const Ce=$e(R||[],Number(se.heartbeatQuantile)>0?Number(se.heartbeatQuantile):Ae.quantile);Ce&&(he=Ce.threshold,Ee=Ce.edges)}Ee||(Ee=Array.isArray(se.binThresholds)&&se.binThresholds.length?[...new Set(se.binThresholds.map(Number).filter(Ce=>Number.isFinite(Ce)&&Ce>0&&CeCe-xt):Number(se.heartbeatThreshold)>0?He(he):Ae.binThresholds);const Oe=[...Ee,he,1/0].slice(0,be.length);for(;Oe.length{const Qt={upTo:Ce,c:be[xt],l:Te(Ge,Ce)};return Ge=Ce,Qt})}const ke=te(()=>xe([...L.value.values()])),y=((jp=r.map)==null?void 0:jp.noDataColor)||"#f3f3f1";function T(R){if(!R)return y;const se=ke.value;for(const he of se)if(R{const qe=parseInt(he.slice(Ge*2,Ge*2+2),16),Ce=parseInt(Ee.slice(Ge*2,Ge*2+2),16);return Math.round(Rp*qe+(1-Rp)*Ce)};return"#"+[0,1,2].map(Ge=>Oe(Ge).toString(16).padStart(2,"0")).join("")}const K=te(()=>ke.value.map(R=>({c:S(R.c),l:R.l}))),B=((Gp=r.map)==null?void 0:Gp.selectedColor)||"#1a237e";function j(){const R=L.value,se=[],he=[];R.forEach((qe,Ce)=>{se.push(Ce,T(qe)),he.push(Ce)});const Ee=se.length?["match",["get","iso_3166_1_alpha_3"],...se,y]:y,Ge=Object.keys(i).length>0&&he.length?["match",["get","iso_3166_1_alpha_3"],...he.flatMap(qe=>[qe,.92]),.12]:.78;return{fillColor:Ee,fillOpacity:Ge}}function ne(){return Object.prototype.hasOwnProperty.call(i,G1)}const le=((Wp=r.map)==null?void 0:Wp.pinColor)||"#ef6c00",h=((qp=r.map)==null?void 0:qp.pinStrokeColor)||"#ffffff";function p(){return ne()?yr({colorSource:"properties"}):le}function O(){const R=_.value;if(!R||!R.getLayer("rd-choropleth"))return;const{fillColor:se,fillOpacity:he}=j();R.setPaintProperty("rd-choropleth","fill-color",se),R.setPaintProperty("rd-choropleth","fill-opacity",he);const Ee=R.getSource("rd-bubbles");Ee&&Ee.setData(ge()),R.getLayer("rd-bubble-layer")&&R.setPaintProperty("rd-bubble-layer","circle-color",p())}function J(R){const se=R==null?void 0:R.people_praying,he=se&&typeof se=="object"?se.value:se;return Number(he)||0}function ge(){return{type:"FeatureCollection",features:u.value.filter(R=>Number(R.latitude)&&Number(R.longitude)).map(R=>({type:"Feature",geometry:{type:"Point",coordinates:[Number(R.longitude),Number(R.latitude)]},properties:{pop:Number(R.population)||0,slug:R.slug||"",name:R.name||"",peoplePraying:J(R)}}))}}function de(){var he;const R=n==null?void 0:n.selectionSet,se=((he=o==null?void 0:o.rows)==null?void 0:he.value)||[];return!R||!R.size?{type:"FeatureCollection",features:[]}:{type:"FeatureCollection",features:se.filter(Ee=>R.has(Ee.slug)&&Number(Ee.latitude)&&Number(Ee.longitude)).map(Ee=>({type:"Feature",geometry:{type:"Point",coordinates:[Number(Ee.longitude),Number(Ee.latitude)]},properties:{slug:Ee.slug||"",name:Ee.name||""}}))}}function U(){const R=_.value;if(!R)return;const se=R.getSource("rd-bubble-selected");se&&se.setData(de())}function ee(){var Ee;const R=_.value;if(!R||I)return;I=!0,R.getSource("rd-countries")||(v.value?(R.addSource("rd-countries",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),f().then(Oe=>{const Ge=_.value&&_.value.getSource("rd-countries");Ge&&Ge.setData(Oe)}).catch(Oe=>console.warn("[rdash] country boundaries failed to load",Oe))):R.addSource("rd-countries",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"}));const{fillColor:se,fillOpacity:he}=j();R.addLayer({id:"rd-choropleth",type:"fill",source:"rd-countries",...v.value?{}:{"source-layer":"country_boundaries"},paint:{"fill-color":se,"fill-opacity":he,"fill-outline-color":((Ee=r.map)==null?void 0:Ee.outlineColor)||"#6d766e"}}),R.addSource("rd-bubbles",{type:"geojson",data:ge()}),R.addLayer({id:"rd-bubble-layer",type:"circle",source:"rd-bubbles",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,2.2,6,5.5],"circle-color":p(),"circle-opacity":1,"circle-stroke-color":h,"circle-stroke-width":["interpolate",["linear"],["zoom"],1,1.2,6,2],"circle-stroke-opacity":1}}),R.addSource("rd-bubble-selected",{type:"geojson",data:de()}),R.addLayer({id:"rd-bubble-selected",type:"circle",source:"rd-bubble-selected",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,5,6,11],"circle-color":B,"circle-opacity":.18,"circle-stroke-width":3,"circle-stroke-color":B,"circle-stroke-opacity":.95}}),R.on("click","rd-choropleth",Le),R.on("click","rd-bubble-layer",Pe),R.on("mouseenter","rd-choropleth",()=>{R.getCanvas().style.cursor="pointer"}),R.on("mouseleave","rd-choropleth",()=>{R.getCanvas().style.cursor=""}),R.on("mouseenter","rd-bubble-layer",()=>{R.getCanvas().style.cursor="pointer"}),R.on("mouseleave","rd-bubble-layer",()=>{R.getCanvas().style.cursor=""});try{window.__rdashMap=D=R,window.__rdashClickAt=ae=(Oe,Ge)=>{const qe=R.project([Oe,Ge]),Ce=R.queryRenderedFeatures(qe,{layers:["rd-choropleth"]});return Ce&&Ce[0]?(Le({features:Ce}),Ce[0].properties&&Ce[0].properties.iso_3166_1_alpha_3):null},window.__rdashPinAt=P=(Oe,Ge)=>{const qe=R.project([Oe,Ge]),Ce=R.queryRenderedFeatures([[qe.x-7,qe.y-7],[qe.x+7,qe.y+7]],{layers:["rd-bubble-layer"]});return Ce&&Ce[0]?(Pe({features:[Ce[0]]}),Ce[0].properties&&Ce[0].properties.slug):null}}catch{}fe();try{typeof R.setFog=="function"&&R.setFog({color:"rgb(186, 210, 235)","high-color":"rgb(36, 92, 223)","horizon-blend":.02,"space-color":"#000000","star-intensity":.6})}catch{}n&&n.on("select",U),U(),n&&n.on("focusRow",({slug:Oe}={})=>{var Ce;if(!Oe)return;const Ge=(((Ce=o==null?void 0:o.rows)==null?void 0:Ce.value)||[]).find(xt=>xt.slug===Oe),qe=_.value;if(qe&&Ge&&Number(Ge.latitude)&&Number(Ge.longitude))try{qe.flyTo({center:[Number(Ge.longitude),Number(Ge.latitude)],zoom:5.5,duration:1200})}catch{}})}function Le(R){const se=_.value;if(se&&R.point){const Ge=se.queryRenderedFeatures([[R.point.x-5,R.point.y-5],[R.point.x+5,R.point.y+5]],{layers:["rd-bubble-layer"]});if(Ge&&Ge.length)return}const he=R.features&&R.features[0];if(!he||!n)return;const Ee=he.properties&&he.properties.iso_3166_1_alpha_3,Oe=A.value.get(Ee);Oe&&(n.setFilter(d,i[d]===Oe?null:Oe),n.emit("mapFocus",{facet:d,value:Oe}))}function Pe(R){const se=R.features&&R.features[0];if(!se||!n)return;const he=se.properties&&se.properties.slug;he&&(n.toggleSelect(he),n.emit("focusRow",{slug:he,name:se.properties&&se.properties.name}))}function Ye(R){if(!(!R||!R.scrollZoom))try{R.scrollZoom.enable()}catch{}}vt(async()=>{v.value&&f().catch(()=>{}),await x();const R=_.value;if(R){R.isStyleLoaded()?ee():R.on("load",ee),Ye(R),ce=()=>Ye(R);try{G=new ResizeObserver(ce);const se=R.getContainer&&R.getContainer()||null;se&&G.observe(se);const he=se?I1(se):null;he&&G.observe(he),document.body&&G.observe(document.body)}catch{}window.addEventListener("resize",ce),R.on("zoom",ie),R.on("zoomend",ie),R.on("resize",ie),ie(),R.on("idle",()=>{!I&&R.isStyleLoaded()&&ee()}),typeof ResizeObserver<"u"&&C.value&&(z=new ResizeObserver(W),z.observe(C.value)),q(),R.on("idle",q),R.on("resize",q),n&&typeof n.on=="function"&&(H=n.on("toggleTable",()=>{W(),setTimeout(W,280)}),Z=n.on("layoutResizing",me))}}),Dt(()=>{try{typeof window<"u"&&(window.__rdashPinAt===P&&delete window.__rdashPinAt,window.__rdashClickAt===ae&&delete window.__rdashClickAt,window.__rdashMap===D&&delete window.__rdashMap)}catch{}try{V&&V()}catch{}V=null;try{H&&H()}catch{}H=null;try{Z&&Z()}catch{}if(Z=null,z){try{z.disconnect()}catch{}z=null}if(G){try{G.disconnect()}catch{}G=null}if(ce){try{window.removeEventListener("resize",ce)}catch{}ce=null}if(ye){try{ye.disconnect()}catch{}ye=null}Re=null,N&&(cancelAnimationFrame(N),N=0);try{const R=_.value;R&&(R.off("zoom",ie),R.off("zoomend",ie),R.off("resize",ie),R.off("idle",q),R.off("resize",q))}catch{}try{m&&m()}catch{}}),Qe([u,b],O);const at=pe(!0),X=pe(!0);function ie(){const R=_.value;if(!R)return;const se=R.getZoom();at.value=seR.getMinZoom()+.01}const _e=pe(null);let ye=null,Re=null;function q(){var Ee;const R=_e.value;if(!R)return;let se=0;try{const Oe=(Ee=R.getRootNode)==null?void 0:Ee.call(R),Ge=Oe&&Oe.querySelector?Oe.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib"):null;if(Ge){const qe=Ge.getBoundingClientRect(),Ce=R.getBoundingClientRect();if(se=Math.max(qe.height||0,Ce.bottom-qe.top),Re!==Ge&&typeof ResizeObserver<"u"){if(ye)try{ye.disconnect()}catch{}Re=Ge,ye=new ResizeObserver(q),ye.observe(Ge)}}}catch{}const he=Math.min(Math.max(Math.ceil(se)||20,20),72);R.style.setProperty("--rd-attrib-clear",he+"px")}const oe=pe("globe");function fe(){const R=_.value;r1(R,oe.value)}const ze=te(()=>oe.value==="globe"?t("mapui.disableGlobe","Disable globe"):t("mapui.enableGlobe","Enable globe"));function De(){oe.value=oe.value==="globe"?"mercator":"globe",fe()}function mt(R){const se=Number(R.longitude),he=Number(R.latitude);return!Number.isFinite(se)||!Number.isFinite(he)||se===0&&he===0||he<-90||he>90||se<-180||se>180?null:[se,he]}function rt(R,se){if(!R.length)return NaN;const he=Math.min(R.length-1,Math.max(0,Math.round(se*(R.length-1))));return R[he]}function _t(R){const se=R.slice().sort((Ce,xt)=>Ce-xt),he=se.length;if(he<2)return se;let Ee=-1,Oe=0;for(let Ce=0;CeEe&&(Ee=Qt,Oe=Ce)}const Ge=(Oe+1)%he,qe=new Array(he);for(let Ce=0;Ce0&&xtfn[1]).sort((fn,Fr)=>fn-Fr),Ee=_t(se.map(fn=>fn[0])),Oe=se.length>=q1?W1:0,Ge=rt(he,Oe),qe=rt(he,1-Oe),Ce=rt(Ee,Oe),xt=rt(Ee,1-Oe),Qt=[rt(Ee,.5),rt(he,.5)];return!(xt>Ce)||!(qe>Ge)?{bounds:[[Qt[0],Qt[1]],[Qt[0],Qt[1]]],center:Qt}:{bounds:[[Ce,Ge],[xt,qe]],center:Qt}}function yS(){const R=_.value;if(!R)return;if(!Object.keys(i).length){try{R.flyTo({center:[28,18],zoom:1.45,duration:1e3})}catch{}return}const se=Jt(u.value);if(se)try{R.fitBounds(se.bounds,{padding:70,duration:1200,maxZoom:5.5}),R.setCenter(se.center)}catch{}}let Ip=null;return Qe(()=>JSON.stringify(i),()=>{clearTimeout(Ip),Ip=setTimeout(yS,260)}),Ht(` .rd-mapwrap{ position:relative; width:100%; height:100%; min-height:0; background:var(--dx-line, #d1d4cd); } .rd-mapwrap[data-projection="globe"]{ background:#000; } .rd-mapwrap .rd-mapc{ position:absolute; inset:0; } @@ -747,11 +747,11 @@ z-index:2; touch-action:pan-y; pointer-events:auto; background:transparent; } .map-scroll-edge--left{ left:0; } .map-scroll-edge--right{ right:0; } -`,"rd-mappanel"),(R,se)=>(Y(),Q("div",{ref_key:"mapWrap",ref:_e,class:"rd-mapwrap","data-sub":"map","data-projection":oe.value},[M("div",{ref_key:"mapContainer",ref:C,class:"rd-mapc","data-map-canvas":""},null,512),se[0]||(se[0]=M("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),se[1]||(se[1]=M("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1)),We(M1,{class:"rd-zoomtools","has-geocoder":!1,"data-map-zoom-controls":""},{default:zo(()=>[We(R1,{map:ue(_),disabled:!at.value},null,8,["map","disabled"]),We(F1,{map:ue(_),disabled:!X.value},null,8,["map","disabled"])]),_:1}),M("span",{class:"rd-proj",role:"button",tabindex:"0","data-proj-toggle":"",onClick:De,onKeydown:[Bo(go(De,["prevent"]),["enter"]),Bo(go(De,["prevent"]),["space"])],title:ze.value,"aria-label":ze.value},[M("span",z1,re(oe.value==="globe"?"🌐":"▭"),1)],40,I1),M("div",{class:"rd-legend-map","data-map-legend":"","aria-label":t("aria.upgCountLegend","UPG count legend")},[M("div",B1,re(t("legend.columns.upgs","UUPGs"))+" / "+re(t("dashboard.country","Country")),1),(Y(!0),Q(Me,null,nt(K.value,he=>(Y(),Q("div",{key:he.l,class:"lg-row"},[M("span",{class:"lg-sw",style:dt({background:he.c})},null,4),M("span",null,re(he.l),1)]))),128))],8,D1)],8,O1))}},q1=".filter-dropdown{position:relative;flex:0 0 auto;width:var(--dx-filter-w, 128px);min-width:var(--dx-filter-w, 128px);max-width:var(--dx-filter-w, 128px)}@media (max-width: 576px){.filter-dropdown{width:var(--dx-filter-w-sm, 108px);min-width:var(--dx-filter-w-sm, 108px);max-width:var(--dx-filter-w-sm, 108px)}}.filter-dropdown__trigger{width:100%;padding:var(--dx-filter-pad-y, 4px) var(--dx-filter-pad-x, 8px);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:.875rem;color:var(--dx-text, #3b463d);text-align:start;background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;transition:border-color .15s ease}.filter-dropdown__trigger:hover{border-color:var(--dx-accent, #92b195)}.filter-dropdown__trigger[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--dx-accent, #92b195)}.filter-dropdown__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-dropdown__chevron{flex-shrink:0;transition:transform .2s ease}.filter-dropdown.is-open .filter-dropdown__chevron{transform:rotate(180deg)}.filter-dropdown__menu{position:fixed;z-index:2147483000;background-color:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;box-shadow:0 4px 12px #0000001f;overflow:hidden;display:flex;flex-direction:column;min-width:160px}.filter-dropdown__search{border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);border-radius:0;padding:6px 12px;width:100%;font-size:.875rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);outline:none;box-sizing:border-box}.filter-dropdown__search::placeholder{color:var(--dx-muted, #6d766e)}.filter-dropdown__clear{display:block;width:100%;background:none;border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);padding:6px 12px;font-size:.875rem;color:var(--dx-text, #3b463d);cursor:pointer;text-align:start;text-decoration:underline;text-decoration-color:var(--dx-accent, #92b195);text-underline-offset:3px}.filter-dropdown__clear:hover{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__options{flex:1 1 auto;min-height:0;max-height:250px;overflow-y:auto}.filter-dropdown__search,.filter-dropdown__clear{flex:0 0 auto}.filter-dropdown__option{padding:5px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;transition:background-color .1s ease}.filter-dropdown__option[data-selected]{font-weight:700;color:var(--dx-text, #3b463d);box-shadow:inset 3px 0 0 var(--dx-accent, #92b195)}.filter-dropdown__option:hover,.filter-dropdown__option[data-highlighted]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__count{color:var(--dx-muted, #6d766e);font-size:.75rem;margin-inline-start:6px}.filter-dropdown__no-options{padding:12px;font-size:.875rem;color:var(--dx-muted, #6d766e);text-align:center}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}",V1=["data-active","aria-expanded"],K1={class:"filter-dropdown__label"},Y1=["value","placeholder"],Z1={class:"filter-dropdown__options"},X1={key:0,class:"filter-dropdown__no-options"},J1=["data-highlighted","data-selected","aria-selected","onClick","onMouseenter"],Q1={class:"filter-dropdown__count"},Sa=gn({__name:"FilterDropdown",props:{label:{type:String,required:!0},name:{type:String,required:!0},options:{type:Array,default:()=>[]},value:{type:String,default:""},placeholder:{type:String,default:"Type to search..."}},emits:["filter-change","filter-clear"],setup(e,{emit:t}){const o=e,n={"buttons.clearSelection":"Clear selection","buttons.noOptions":"No options found"},a=gp("",{fallback:I=>n[I]}),r=t,s=pe(!1),i=pe(""),l=pe(-1),c=pe(null),u=pe(null),d=pe(null),g=pe({});function w(I){const z=I.ownerDocument,G=z.createElement("div");G.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",(I.parentElement||I.getRootNode().body||z.body).appendChild(G);const H=G.getBoundingClientRect();return G.remove(),{x:H.left,y:H.top}}function A(){const I=d.value;if(!I)return;const z=I.getBoundingClientRect(),G=window.innerWidth,ce=window.innerHeight,H=320,D=4,ae=8,Z=Math.round(Math.min(Math.max(z.width,240),G-ae*2)),N=z.right>ae&&z.leftG-ae?E=Math.round(Math.max(z.right-Z,ae)):E=Math.round(Math.max(z.left,ae)):E=Math.round(Math.min(Math.max(z.left,ae),G-Z-ae));const W=ce-z.bottom,me=W<180&&z.top>W,be=w(I),Ae=Math.round(E-be.x);g.value=me?{top:"auto",bottom:`${Math.round(ce-z.top+D+be.y)}px`,left:`${Ae}px`,width:`${Z}px`,maxHeight:`${Math.round(Math.min(H,z.top-D-ae))}px`}:{top:`${Math.round(z.bottom+D-be.y)}px`,bottom:"auto",left:`${Ae}px`,width:`${Z}px`,maxHeight:`${Math.round(Math.min(H,W-D-ae))}px`}}function L(){s.value&&A()}const C=te(()=>{if(!i.value)return o.options;const I=i.value.toLowerCase();return o.options.filter(z=>z.label.toLowerCase().includes(I))}),F=te(()=>o.options.find(I=>I.value===o.value));function v(I){var G;const z=((G=I.composedPath)==null?void 0:G.call(I))??[];c.value&&!z.includes(c.value)&&_()}function k(){s.value?_():f()}function f(){s.value=!0,i.value="",l.value=-1,A(),document.addEventListener("click",v),window.addEventListener("scroll",L,!0),window.addEventListener("resize",L),wn(()=>{var I;A(),(I=u.value)==null||I.focus()})}function _(){s.value=!1,i.value="",l.value=-1,document.removeEventListener("click",v),window.removeEventListener("scroll",L,!0),window.removeEventListener("resize",L)}function b(I){i.value=I.target.value,l.value=-1}function x(I){const z=C.value;switch(I.key){case"ArrowDown":I.preventDefault(),l.value=Math.min(l.value+1,z.length-1),m();break;case"ArrowUp":I.preventDefault(),l.value=Math.max(l.value-1,0),m();break;case"Enter":{I.preventDefault();const G=z[l.value];G&&$(G);break}case"Escape":I.preventDefault(),_();break}}function m(){wn(()=>{var z;const I=(z=c.value)==null?void 0:z.querySelector(".filter-dropdown__option[data-highlighted]");I==null||I.scrollIntoView({block:"nearest"})})}function $(I){r("filter-change",{name:o.name,value:I.value,label:I.label,type:I.type}),_()}function V(){r("filter-clear",{name:o.name}),_()}return Dt(()=>{document.removeEventListener("click",v),window.removeEventListener("scroll",L,!0),window.removeEventListener("resize",L)}),(I,z)=>(Y(),Q("div",{ref_key:"rootRef",ref:c,class:Ke(["filter-dropdown",{"is-open":s.value}])},[M("button",{ref_key:"triggerRef",ref:d,class:"filter-dropdown__trigger input","data-active":e.value?"":void 0,type:"button","aria-haspopup":"listbox","aria-expanded":s.value,onClick:k},[M("span",K1,[F.value?(Y(),Q(Me,{key:0},[pt(re(e.label)+": ",1),M("strong",null,re(F.value.label),1)],64)):(Y(),Q(Me,{key:1},[pt(re(e.label),1)],64))]),z[0]||(z[0]=M("svg",{class:"filter-dropdown__chevron",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[M("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,V1),s.value?(Y(),Q("div",{key:0,class:"filter-dropdown__menu",role:"listbox",style:dt(g.value)},[M("input",{ref_key:"searchInputRef",ref:u,class:"filter-dropdown__search",type:"text",value:i.value,placeholder:e.placeholder,onInput:b,onKeydown:x},null,40,Y1),e.value?(Y(),Q("button",{key:0,class:"filter-dropdown__clear",type:"button",onClick:V},re(ue(a)("buttons.clearSelection")),1)):Ie("",!0),M("div",Z1,[C.value.length===0?(Y(),Q("div",X1,re(ue(a)("buttons.noOptions")),1)):(Y(!0),Q(Me,{key:1},nt(C.value,(G,ce)=>(Y(),Q("div",{key:G.value,class:"filter-dropdown__option",role:"option","data-highlighted":ce===l.value?"":void 0,"data-selected":G.value===e.value?"":void 0,"aria-selected":G.value===e.value,onClick:H=>$(G),onMouseenter:H=>l.value=ce},[M("span",null,re(G.label),1),M("span",Q1,re(G.count),1)],40,J1))),128))])],4)):Ie("",!0)],2))}},[["styles",[q1]]]),ek='.sfh{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);display:flex;flex-direction:column;gap:var(--dx-sfh-gap, 4px);width:100%;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;color:var(--ink)}.sfh__search-row{display:flex;align-items:center;gap:12px;justify-content:center}.sfh__search-row>:first-child{flex:0 1 auto}.sfh__toggle{flex:0 0 auto;background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding:4px 2px;text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.sfh__toggle-chev{transition:transform .2s ease}.sfh__toggle[aria-expanded=true] .sfh__toggle-chev{transform:rotate(180deg)}.sfh__filters-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--dx-filter-gap, 10px);justify-content:flex-start;overflow-x:clip;padding-bottom:2px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.sfh__dd{flex:0 0 auto}.sfh__filters-row::-webkit-scrollbar{height:8px}.sfh__filters-row::-webkit-scrollbar-thumb{background:var(--dx-scroll-thumb, #c4c8c0);border-radius:8px}.sfh__filters-row::-webkit-scrollbar-track{background:transparent}.sfh__pill{flex:0 0 auto;padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;white-space:nowrap;transition:border-color .15s ease,background .15s ease}.sfh__pill:hover{border-color:var(--brand)}.sfh__pill[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.sfh__chips{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:center;min-height:var(--dx-sel-row-h, 16px)}.sfh__chip-strip{flex:0 1 auto;min-width:0;display:flex;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:center;justify-content:safe center;overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.sfh__chip-strip::-webkit-scrollbar{height:6px}.sfh__chip-strip::-webkit-scrollbar-thumb{background:var(--dx-scroll-thumb, #c4c8c0);border-radius:8px}.sfh__chip-strip::-webkit-scrollbar-track{background:transparent}.sfh__sel-label{flex:0 0 auto;font-size:.6875rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--mut, #6d766e);opacity:.75}.sfh__sel-world{flex:0 0 auto;font-size:.75rem;color:var(--mut, #6d766e)}.sfh__chip{flex:0 0 auto;display:inline-flex;gap:4px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:0 8px;font-size:.75rem;line-height:1;white-space:nowrap;height:var(--dx-sel-row-h, 16px);box-sizing:border-box}.sfh__chip-x{background:none;border:none;cursor:pointer;font-size:1.05em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center;position:relative}.sfh__chip-x:after{content:"";position:absolute;left:50%;top:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.sfh__chip-x:hover{opacity:.7}.sfh__chip-x:focus-visible{outline:2px solid var(--brand, #1a237e);outline-offset:1px;border-radius:2px}.sfh__clear{flex:0 0 auto;white-space:nowrap;background:none;border:none;cursor:pointer;font-size:.75rem;line-height:1;color:var(--mut, #6d766e);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:3px;padding:0 4px;margin-inline-start:2px}.sfh__clear:hover{color:var(--ink)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}',tk={class:"sfh"},ok={key:0,class:"sfh__search-row"},nk=["aria-expanded"],ak=["aria-label"],rk=["data-active","onClick"],sk={class:"sfh__chip-strip"},ik={class:"sfh__sel-label"},lk=["aria-label","onClick"],ck={key:1,class:"sfh__sel-world"},uk=gn({__name:"SearchFilterHeader",props:{search:{type:String,default:""},filters:{type:Array,default:()=>[]},toggles:{type:Array,default:()=>[]},activeChips:{type:Array,default:null},searchPlaceholder:{type:String,default:"Search…"},searchMaxWidth:{type:String,default:"520px"},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},startExpanded:{type:Boolean,default:!1},collapsible:{type:Boolean,default:!0},labels:{type:Object,default:()=>({})}},emits:["update:search","search","filter-change","filter-clear","toggle","remove-filter","clear-all"],setup(e,{emit:t}){const o=e,n=t,a=f=>!(f===!1||f==="false"||f==="0"||f===0),r=te(()=>a(o.showSearch)),s=te(()=>a(o.showFilters)),i=gp(""),l=(f,_)=>{const b=i(f);return b&&b!==f?b:_},c=te(()=>({show_filters:l("grid.show_filters","Show Filters"),hide_filters:l("grid.hide_filters","Hide Filters"),clear_all:l("grid.clear_all","Clear All"),type_to_search:l("grid.type_to_search","Type to search..."),filters:l("dashboard.filters","Filters"),selected:l("dashboard.selected","Selected"),world:l("dashboard.world","World"),remove:l("dashboard.remove_filter","Remove"),...o.labels})),u=pe(o.startExpanded||!o.collapsible);function d(){u.value=!u.value}const g=te(()=>!o.collapsible||!r.value||u.value),w=te(()=>{if(Array.isArray(o.activeChips))return o.activeChips;const f=[];for(const _ of o.filters){if(!_.value)continue;const b=(_.options||[]).find(x=>x.value===_.value);f.push({name:_.name,label:b?b.label:_.value})}for(const _ of o.toggles)_.active&&f.push({name:_.name,label:_.label});return f});function A(f){const _=(f==null?void 0:f.value)??"";n("update:search",_),n("search",{value:_})}function L(f){n("filter-change",f)}function C(f){n("filter-clear",f)}function F(f){n("toggle",{name:f.name,active:!f.active})}function v(f){n("remove-filter",{name:f})}function k(){n("clear-all")}return(f,_)=>(Y(),Q("div",tk,[r.value?(Y(),Q("div",ok,[We(Ei,{"model-value":e.search,placeholder:e.searchPlaceholder,"aria-label":e.searchPlaceholder,"max-width":e.searchMaxWidth,onSearch:A},null,8,["model-value","placeholder","aria-label","max-width"]),s.value&&e.collapsible?(Y(),Q("button",{key:0,class:"sfh__toggle",type:"button","aria-expanded":g.value,onClick:d},[pt(re(g.value?c.value.hide_filters:c.value.show_filters)+" ",1),_[0]||(_[0]=M("svg",{class:"sfh__toggle-chev",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[M("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,nk)):Ie("",!0)])):Ie("",!0),s.value&&g.value?(Y(),Q("div",{key:1,class:"sfh__filters-row",role:"group","aria-label":c.value.filters},[(Y(!0),Q(Me,null,nt(e.filters,b=>(Y(),lo(Sa,{key:b.name,class:"sfh__dd",label:b.label,name:b.name,options:b.options||[],value:b.value||"",placeholder:b.placeholder||c.value.type_to_search,onFilterChange:L,onFilterClear:C},null,8,["label","name","options","value","placeholder"]))),128)),(Y(!0),Q(Me,null,nt(e.toggles,b=>(Y(),Q("button",{key:b.name,class:"sfh__pill",type:"button","data-active":b.active?"":void 0,onClick:x=>F(b)},re(b.label),9,rk))),128))],8,ak)):Ie("",!0),s.value?(Y(),Q("div",{key:2,class:Ke(["sfh__chips",{"is-empty":!w.value.length}])},[M("div",sk,[M("span",ik,re(c.value.selected||"Selected"),1),w.value.length?(Y(),Q(Me,{key:0},[(Y(!0),Q(Me,null,nt(w.value,b=>(Y(),Q("span",{key:b.name,class:"sfh__chip"},[pt(re(b.label)+" ",1),M("button",{class:"sfh__chip-x",type:"button","aria-label":`${c.value.remove} ${b.label}`,onClick:x=>v(b.name)},"×",8,lk)]))),128)),M("button",{class:"sfh__clear",type:"button",onClick:k},re(c.value.clear_all),1)],64)):(Y(),Q("span",ck,re(c.value.world||"World"),1))])],2)):Ie("",!0)]))}},[["styles",[ek]]]),dk={class:"rd-research-filters","data-region":"filters","data-sub":"research-filters"},Mr="prayer_level",pk={__name:"DashboardResearchFilters",setup(e){const{locale:t}=qo(),o=Be("selectionBus",null),n=Be("dashboardData",null),a=Be("dashboardConfig",{}),r=te(()=>{var m;return((m=n==null?void 0:n.rows)==null?void 0:m.value)||[]}),s=(o==null?void 0:o.filterSet)||{},i={get label(){return we("dashboard.prayer")||"Prayer"},get:m=>{const $=m==null?void 0:m.people_praying,V=$&&typeof $=="object"?$.value:$;return ha[Mn({peoplePraying:V??null})]}},l=te(()=>({[Mr]:i,...a.facets||{}})),c=te(()=>Object.fromEntries(Object.entries(l.value).map(([m,$])=>[m,$.get]))),u=te(()=>a.researchFilters||{}),d=te(()=>{const m=u.value.dropdowns||["wagf_region","wagf_block","country_code","people_group","religion"];return[Mr,...m.filter($=>$!==Mr)]}),g=te(()=>u.value.searchPlaceholder||we("dashboard.search_placeholder",t.value)||"Search people groups, place, language, religion…");function w(m,$){const V=Object.keys(m);return V.length?$.filter(I=>V.every(z=>{const G=c.value[z];return G?G(I)===m[z]:!0})):$}function A(m){var ce;const $=c.value[m];if(!$)return[];const V=(ce=l.value[m])==null?void 0:ce.optionLabel,I={};for(const[H,D]of Object.entries(s))H!==m&&(I[H]=D);const z=w(I,r.value),G=new Map;for(const H of z){const D=$(H);if(D==null||D==="")continue;const ae=G.get(D);ae?ae.count+=1:G.set(D,{label:V&&V(H)||D,count:1})}return Array.from(G.entries()).map(([H,{label:D,count:ae}])=>({value:H,label:D,count:ae})).sort((H,D)=>String(H.label).localeCompare(String(D.label)))}const L=te(()=>d.value.map(m=>{var $;return{name:m,label:(($=l.value[m])==null?void 0:$.label)||m,options:A(m),value:Array.isArray(s[m])?"":s[m]||""}})),{labelFor:C}=Ar(a,Be("dataStore",null),Be("searchSourceId",null)),F=te(()=>{var V;const m=Object.keys(s).map(I=>{var ce;const z=s[I],G=I===Mr?Array.isArray(z)?z.join(", "):z:C(I,z);return{name:I,label:`${((ce=l.value[I])==null?void 0:ce.label)||I}: ${G}`}}),$=(((V=o==null?void 0:o.searchTerm)==null?void 0:V.value)||"").trim();return $&&m.push({name:"__search__",label:(we("dashboard.search_live",t.value)||"Search: {term}").replace("{term}",$)}),m}),v=te(()=>{var m;return((m=o==null?void 0:o.searchTerm)==null?void 0:m.value)||""});function k(m){o==null||o.setSearch((m==null?void 0:m.value)??"")}function f(m){o==null||o.setFilter(m.name,m.value)}function _(m){o==null||o.setFilter(m.name,null)}function b(m){if(m.name==="__search__"){o==null||o.setSearch("");return}o==null||o.setFilter(m.name,null)}function x(){o==null||o.clearFilters(),o==null||o.setSearch("")}return Ht(` +`,"rd-mappanel"),(R,se)=>(Y(),Q("div",{ref_key:"mapWrap",ref:_e,class:"rd-mapwrap","data-sub":"map","data-projection":oe.value},[M("div",{ref_key:"mapContainer",ref:C,class:"rd-mapc","data-map-canvas":""},null,512),se[0]||(se[0]=M("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),se[1]||(se[1]=M("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1)),We(F1,{class:"rd-zoomtools","has-geocoder":!1,"data-map-zoom-controls":""},{default:zo(()=>[We(N1,{map:ue(_),disabled:!at.value},null,8,["map","disabled"]),We(O1,{map:ue(_),disabled:!X.value},null,8,["map","disabled"])]),_:1}),M("span",{class:"rd-proj",role:"button",tabindex:"0","data-proj-toggle":"",onClick:De,onKeydown:[Bo(go(De,["prevent"]),["enter"]),Bo(go(De,["prevent"]),["space"])],title:ze.value,"aria-label":ze.value},[M("span",B1,re(oe.value==="globe"?"🌐":"▭"),1)],40,D1),M("div",{class:"rd-legend-map","data-map-legend":"","aria-label":t("aria.upgCountLegend","UPG count legend")},[M("div",U1,re(t("legend.columns.upgs","UUPGs"))+" / "+re(t("dashboard.country","Country")),1),(Y(!0),Q(Me,null,nt(K.value,he=>(Y(),Q("div",{key:he.l,class:"lg-row"},[M("span",{class:"lg-sw",style:dt({background:he.c})},null,4),M("span",null,re(he.l),1)]))),128))],8,H1)],8,z1))}},K1=".filter-dropdown{position:relative;flex:0 0 auto;width:var(--dx-filter-w, 128px);min-width:var(--dx-filter-w, 128px);max-width:var(--dx-filter-w, 128px)}@media (max-width: 576px){.filter-dropdown{width:var(--dx-filter-w-sm, 108px);min-width:var(--dx-filter-w-sm, 108px);max-width:var(--dx-filter-w-sm, 108px)}}.filter-dropdown__trigger{width:100%;padding:var(--dx-filter-pad-y, 4px) var(--dx-filter-pad-x, 8px);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:.875rem;color:var(--dx-text, #3b463d);text-align:start;background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;transition:border-color .15s ease}.filter-dropdown__trigger:hover{border-color:var(--dx-accent, #92b195)}.filter-dropdown__trigger[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--dx-accent, #92b195)}.filter-dropdown__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-dropdown__chevron{flex-shrink:0;transition:transform .2s ease}.filter-dropdown.is-open .filter-dropdown__chevron{transform:rotate(180deg)}.filter-dropdown__menu{position:fixed;z-index:2147483000;background-color:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;box-shadow:0 4px 12px #0000001f;overflow:hidden;display:flex;flex-direction:column;min-width:160px}.filter-dropdown__search{border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);border-radius:0;padding:6px 12px;width:100%;font-size:.875rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);outline:none;box-sizing:border-box}.filter-dropdown__search::placeholder{color:var(--dx-muted, #6d766e)}.filter-dropdown__clear{display:block;width:100%;background:none;border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);padding:6px 12px;font-size:.875rem;color:var(--dx-text, #3b463d);cursor:pointer;text-align:start;text-decoration:underline;text-decoration-color:var(--dx-accent, #92b195);text-underline-offset:3px}.filter-dropdown__clear:hover{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__options{flex:1 1 auto;min-height:0;max-height:250px;overflow-y:auto}.filter-dropdown__search,.filter-dropdown__clear{flex:0 0 auto}.filter-dropdown__option{padding:5px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;transition:background-color .1s ease}.filter-dropdown__option[data-selected]{font-weight:700;color:var(--dx-text, #3b463d);box-shadow:inset 3px 0 0 var(--dx-accent, #92b195)}.filter-dropdown__option:hover,.filter-dropdown__option[data-highlighted]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__count{color:var(--dx-muted, #6d766e);font-size:.75rem;margin-inline-start:6px}.filter-dropdown__no-options{padding:12px;font-size:.875rem;color:var(--dx-muted, #6d766e);text-align:center}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}",Y1=["data-active","aria-expanded"],Z1={class:"filter-dropdown__label"},X1=["value","placeholder"],J1={class:"filter-dropdown__options"},Q1={key:0,class:"filter-dropdown__no-options"},ek=["data-highlighted","data-selected","aria-selected","onClick","onMouseenter"],tk={class:"filter-dropdown__count"},Sa=gn({__name:"FilterDropdown",props:{label:{type:String,required:!0},name:{type:String,required:!0},options:{type:Array,default:()=>[]},value:{type:String,default:""},placeholder:{type:String,default:"Type to search..."}},emits:["filter-change","filter-clear"],setup(e,{emit:t}){const o=e,n={"buttons.clearSelection":"Clear selection","buttons.noOptions":"No options found"},a=hp("",{fallback:I=>n[I]}),r=t,s=pe(!1),i=pe(""),l=pe(-1),c=pe(null),u=pe(null),d=pe(null),g=pe({});function w(I){const z=I.ownerDocument,G=z.createElement("div");G.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",(I.parentElement||I.getRootNode().body||z.body).appendChild(G);const H=G.getBoundingClientRect();return G.remove(),{x:H.left,y:H.top}}function A(){const I=d.value;if(!I)return;const z=I.getBoundingClientRect(),G=window.innerWidth,ce=window.innerHeight,H=320,D=4,ae=8,Z=Math.round(Math.min(Math.max(z.width,240),G-ae*2)),N=z.right>ae&&z.leftG-ae?E=Math.round(Math.max(z.right-Z,ae)):E=Math.round(Math.max(z.left,ae)):E=Math.round(Math.min(Math.max(z.left,ae),G-Z-ae));const W=ce-z.bottom,me=W<180&&z.top>W,be=w(I),Ae=Math.round(E-be.x);g.value=me?{top:"auto",bottom:`${Math.round(ce-z.top+D+be.y)}px`,left:`${Ae}px`,width:`${Z}px`,maxHeight:`${Math.round(Math.min(H,z.top-D-ae))}px`}:{top:`${Math.round(z.bottom+D-be.y)}px`,bottom:"auto",left:`${Ae}px`,width:`${Z}px`,maxHeight:`${Math.round(Math.min(H,W-D-ae))}px`}}function L(){s.value&&A()}const C=te(()=>{if(!i.value)return o.options;const I=i.value.toLowerCase();return o.options.filter(z=>z.label.toLowerCase().includes(I))}),F=te(()=>o.options.find(I=>I.value===o.value));function v(I){var G;const z=((G=I.composedPath)==null?void 0:G.call(I))??[];c.value&&!z.includes(c.value)&&_()}function k(){s.value?_():f()}function f(){s.value=!0,i.value="",l.value=-1,A(),document.addEventListener("click",v),window.addEventListener("scroll",L,!0),window.addEventListener("resize",L),wn(()=>{var I;A(),(I=u.value)==null||I.focus()})}function _(){s.value=!1,i.value="",l.value=-1,document.removeEventListener("click",v),window.removeEventListener("scroll",L,!0),window.removeEventListener("resize",L)}function b(I){i.value=I.target.value,l.value=-1}function x(I){const z=C.value;switch(I.key){case"ArrowDown":I.preventDefault(),l.value=Math.min(l.value+1,z.length-1),m();break;case"ArrowUp":I.preventDefault(),l.value=Math.max(l.value-1,0),m();break;case"Enter":{I.preventDefault();const G=z[l.value];G&&$(G);break}case"Escape":I.preventDefault(),_();break}}function m(){wn(()=>{var z;const I=(z=c.value)==null?void 0:z.querySelector(".filter-dropdown__option[data-highlighted]");I==null||I.scrollIntoView({block:"nearest"})})}function $(I){r("filter-change",{name:o.name,value:I.value,label:I.label,type:I.type}),_()}function V(){r("filter-clear",{name:o.name}),_()}return Dt(()=>{document.removeEventListener("click",v),window.removeEventListener("scroll",L,!0),window.removeEventListener("resize",L)}),(I,z)=>(Y(),Q("div",{ref_key:"rootRef",ref:c,class:Ke(["filter-dropdown",{"is-open":s.value}])},[M("button",{ref_key:"triggerRef",ref:d,class:"filter-dropdown__trigger input","data-active":e.value?"":void 0,type:"button","aria-haspopup":"listbox","aria-expanded":s.value,onClick:k},[M("span",Z1,[F.value?(Y(),Q(Me,{key:0},[pt(re(e.label)+": ",1),M("strong",null,re(F.value.label),1)],64)):(Y(),Q(Me,{key:1},[pt(re(e.label),1)],64))]),z[0]||(z[0]=M("svg",{class:"filter-dropdown__chevron",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[M("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,Y1),s.value?(Y(),Q("div",{key:0,class:"filter-dropdown__menu",role:"listbox",style:dt(g.value)},[M("input",{ref_key:"searchInputRef",ref:u,class:"filter-dropdown__search",type:"text",value:i.value,placeholder:e.placeholder,onInput:b,onKeydown:x},null,40,X1),e.value?(Y(),Q("button",{key:0,class:"filter-dropdown__clear",type:"button",onClick:V},re(ue(a)("buttons.clearSelection")),1)):Ie("",!0),M("div",J1,[C.value.length===0?(Y(),Q("div",Q1,re(ue(a)("buttons.noOptions")),1)):(Y(!0),Q(Me,{key:1},nt(C.value,(G,ce)=>(Y(),Q("div",{key:G.value,class:"filter-dropdown__option",role:"option","data-highlighted":ce===l.value?"":void 0,"data-selected":G.value===e.value?"":void 0,"aria-selected":G.value===e.value,onClick:H=>$(G),onMouseenter:H=>l.value=ce},[M("span",null,re(G.label),1),M("span",tk,re(G.count),1)],40,ek))),128))])],4)):Ie("",!0)],2))}},[["styles",[K1]]]),ok='.sfh{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);display:flex;flex-direction:column;gap:var(--dx-sfh-gap, 4px);width:100%;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;color:var(--ink)}.sfh__search-row{display:flex;align-items:center;gap:12px;justify-content:center}.sfh__search-row>:first-child{flex:0 1 auto}.sfh__toggle{flex:0 0 auto;background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding:4px 2px;text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.sfh__toggle-chev{transition:transform .2s ease}.sfh__toggle[aria-expanded=true] .sfh__toggle-chev{transform:rotate(180deg)}.sfh__filters-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--dx-filter-gap, 10px);justify-content:flex-start;overflow-x:clip;padding-bottom:2px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.sfh__dd{flex:0 0 auto}.sfh__filters-row::-webkit-scrollbar{height:8px}.sfh__filters-row::-webkit-scrollbar-thumb{background:var(--dx-scroll-thumb, #c4c8c0);border-radius:8px}.sfh__filters-row::-webkit-scrollbar-track{background:transparent}.sfh__pill{flex:0 0 auto;padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;white-space:nowrap;transition:border-color .15s ease,background .15s ease}.sfh__pill:hover{border-color:var(--brand)}.sfh__pill[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.sfh__chips{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:center;min-height:var(--dx-sel-row-h, 16px)}.sfh__chip-strip{flex:0 1 auto;min-width:0;display:flex;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:center;justify-content:safe center;overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.sfh__chip-strip::-webkit-scrollbar{height:6px}.sfh__chip-strip::-webkit-scrollbar-thumb{background:var(--dx-scroll-thumb, #c4c8c0);border-radius:8px}.sfh__chip-strip::-webkit-scrollbar-track{background:transparent}.sfh__sel-label{flex:0 0 auto;font-size:.6875rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--mut, #6d766e);opacity:.75}.sfh__sel-world{flex:0 0 auto;font-size:.75rem;color:var(--mut, #6d766e)}.sfh__chip{flex:0 0 auto;display:inline-flex;gap:4px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:0 8px;font-size:.75rem;line-height:1;white-space:nowrap;height:var(--dx-sel-row-h, 16px);box-sizing:border-box}.sfh__chip-x{background:none;border:none;cursor:pointer;font-size:1.05em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center;position:relative}.sfh__chip-x:after{content:"";position:absolute;left:50%;top:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.sfh__chip-x:hover{opacity:.7}.sfh__chip-x:focus-visible{outline:2px solid var(--brand, #1a237e);outline-offset:1px;border-radius:2px}.sfh__clear{flex:0 0 auto;white-space:nowrap;background:none;border:none;cursor:pointer;font-size:.75rem;line-height:1;color:var(--mut, #6d766e);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:3px;padding:0 4px;margin-inline-start:2px}.sfh__clear:hover{color:var(--ink)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}',nk={class:"sfh"},ak={key:0,class:"sfh__search-row"},rk=["aria-expanded"],sk=["aria-label"],ik=["data-active","onClick"],lk={class:"sfh__chip-strip"},ck={class:"sfh__sel-label"},uk=["aria-label","onClick"],dk={key:1,class:"sfh__sel-world"},pk=gn({__name:"SearchFilterHeader",props:{search:{type:String,default:""},filters:{type:Array,default:()=>[]},toggles:{type:Array,default:()=>[]},activeChips:{type:Array,default:null},searchPlaceholder:{type:String,default:"Search…"},searchMaxWidth:{type:String,default:"520px"},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},startExpanded:{type:Boolean,default:!1},collapsible:{type:Boolean,default:!0},labels:{type:Object,default:()=>({})}},emits:["update:search","search","filter-change","filter-clear","toggle","remove-filter","clear-all"],setup(e,{emit:t}){const o=e,n=t,a=f=>!(f===!1||f==="false"||f==="0"||f===0),r=te(()=>a(o.showSearch)),s=te(()=>a(o.showFilters)),i=hp(""),l=(f,_)=>{const b=i(f);return b&&b!==f?b:_},c=te(()=>({show_filters:l("grid.show_filters","Show Filters"),hide_filters:l("grid.hide_filters","Hide Filters"),clear_all:l("grid.clear_all","Clear All"),type_to_search:l("grid.type_to_search","Type to search..."),filters:l("dashboard.filters","Filters"),selected:l("dashboard.selected","Selected"),world:l("dashboard.world","World"),remove:l("dashboard.remove_filter","Remove"),...o.labels})),u=pe(o.startExpanded||!o.collapsible);function d(){u.value=!u.value}const g=te(()=>!o.collapsible||!r.value||u.value),w=te(()=>{if(Array.isArray(o.activeChips))return o.activeChips;const f=[];for(const _ of o.filters){if(!_.value)continue;const b=(_.options||[]).find(x=>x.value===_.value);f.push({name:_.name,label:b?b.label:_.value})}for(const _ of o.toggles)_.active&&f.push({name:_.name,label:_.label});return f});function A(f){const _=(f==null?void 0:f.value)??"";n("update:search",_),n("search",{value:_})}function L(f){n("filter-change",f)}function C(f){n("filter-clear",f)}function F(f){n("toggle",{name:f.name,active:!f.active})}function v(f){n("remove-filter",{name:f})}function k(){n("clear-all")}return(f,_)=>(Y(),Q("div",nk,[r.value?(Y(),Q("div",ak,[We(Ri,{"model-value":e.search,placeholder:e.searchPlaceholder,"aria-label":e.searchPlaceholder,"max-width":e.searchMaxWidth,onSearch:A},null,8,["model-value","placeholder","aria-label","max-width"]),s.value&&e.collapsible?(Y(),Q("button",{key:0,class:"sfh__toggle",type:"button","aria-expanded":g.value,onClick:d},[pt(re(g.value?c.value.hide_filters:c.value.show_filters)+" ",1),_[0]||(_[0]=M("svg",{class:"sfh__toggle-chev",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[M("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,rk)):Ie("",!0)])):Ie("",!0),s.value&&g.value?(Y(),Q("div",{key:1,class:"sfh__filters-row",role:"group","aria-label":c.value.filters},[(Y(!0),Q(Me,null,nt(e.filters,b=>(Y(),lo(Sa,{key:b.name,class:"sfh__dd",label:b.label,name:b.name,options:b.options||[],value:b.value||"",placeholder:b.placeholder||c.value.type_to_search,onFilterChange:L,onFilterClear:C},null,8,["label","name","options","value","placeholder"]))),128)),(Y(!0),Q(Me,null,nt(e.toggles,b=>(Y(),Q("button",{key:b.name,class:"sfh__pill",type:"button","data-active":b.active?"":void 0,onClick:x=>F(b)},re(b.label),9,ik))),128))],8,sk)):Ie("",!0),s.value?(Y(),Q("div",{key:2,class:Ke(["sfh__chips",{"is-empty":!w.value.length}])},[M("div",lk,[M("span",ck,re(c.value.selected||"Selected"),1),w.value.length?(Y(),Q(Me,{key:0},[(Y(!0),Q(Me,null,nt(w.value,b=>(Y(),Q("span",{key:b.name,class:"sfh__chip"},[pt(re(b.label)+" ",1),M("button",{class:"sfh__chip-x",type:"button","aria-label":`${c.value.remove} ${b.label}`,onClick:x=>v(b.name)},"×",8,uk)]))),128)),M("button",{class:"sfh__clear",type:"button",onClick:k},re(c.value.clear_all),1)],64)):(Y(),Q("span",dk,re(c.value.world||"World"),1))])],2)):Ie("",!0)]))}},[["styles",[ok]]]),gk={class:"rd-research-filters","data-region":"filters","data-sub":"research-filters"},Mr="prayer_level",fk={__name:"DashboardResearchFilters",setup(e){const{locale:t}=qo(),o=Be("selectionBus",null),n=Be("dashboardData",null),a=Be("dashboardConfig",{}),r=te(()=>{var m;return((m=n==null?void 0:n.rows)==null?void 0:m.value)||[]}),s=(o==null?void 0:o.filterSet)||{},i={get label(){return we("dashboard.prayer")||"Prayer"},get:m=>{const $=m==null?void 0:m.people_praying,V=$&&typeof $=="object"?$.value:$;return ha[Rn({peoplePraying:V??null})]}},l=te(()=>({[Mr]:i,...a.facets||{}})),c=te(()=>Object.fromEntries(Object.entries(l.value).map(([m,$])=>[m,$.get]))),u=te(()=>a.researchFilters||{}),d=te(()=>{const m=u.value.dropdowns||["wagf_region","wagf_block","country_code","people_group","religion"];return[Mr,...m.filter($=>$!==Mr)]}),g=te(()=>u.value.searchPlaceholder||we("dashboard.search_placeholder",t.value)||"Search people groups, place, language, religion…");function w(m,$){const V=Object.keys(m);return V.length?$.filter(I=>V.every(z=>{const G=c.value[z];return G?G(I)===m[z]:!0})):$}function A(m){var ce;const $=c.value[m];if(!$)return[];const V=(ce=l.value[m])==null?void 0:ce.optionLabel,I={};for(const[H,D]of Object.entries(s))H!==m&&(I[H]=D);const z=w(I,r.value),G=new Map;for(const H of z){const D=$(H);if(D==null||D==="")continue;const ae=G.get(D);ae?ae.count+=1:G.set(D,{label:V&&V(H)||D,count:1})}return Array.from(G.entries()).map(([H,{label:D,count:ae}])=>({value:H,label:D,count:ae})).sort((H,D)=>String(H.label).localeCompare(String(D.label)))}const L=te(()=>d.value.map(m=>{var $;return{name:m,label:(($=l.value[m])==null?void 0:$.label)||m,options:A(m),value:Array.isArray(s[m])?"":s[m]||""}})),{labelFor:C}=Ar(a,Be("dataStore",null),Be("searchSourceId",null)),F=te(()=>{var V;const m=Object.keys(s).map(I=>{var ce;const z=s[I],G=I===Mr?Array.isArray(z)?qs(z,{type:"disjunction"}):z:C(I,z);return{name:I,label:`${((ce=l.value[I])==null?void 0:ce.label)||I}: ${G}`}}),$=(((V=o==null?void 0:o.searchTerm)==null?void 0:V.value)||"").trim();return $&&m.push({name:"__search__",label:(we("dashboard.search_live",t.value)||"Search: {term}").replace("{term}",$)}),m}),v=te(()=>{var m;return((m=o==null?void 0:o.searchTerm)==null?void 0:m.value)||""});function k(m){o==null||o.setSearch((m==null?void 0:m.value)??"")}function f(m){o==null||o.setFilter(m.name,m.value)}function _(m){o==null||o.setFilter(m.name,null)}function b(m){if(m.name==="__search__"){o==null||o.setSearch("");return}o==null||o.setFilter(m.name,null)}function x(){o==null||o.clearFilters(),o==null||o.setSearch("")}return Ht(` .rd-research-filters{ position:relative; z-index:55; height:100%; box-sizing:border-box; padding:3px var(--rd-edge,14px); background:var(--rd-panel,#fff); border-bottom:1px solid var(--rd-line, #d1d4cd); overflow:visible; } -`,"rd-research-filters"),(m,$)=>(Y(),Q("div",dk,[We(uk,{search:v.value,filters:L.value,"active-chips":F.value,"search-placeholder":g.value,"show-search":!1,"start-expanded":"",onSearch:k,onFilterChange:f,onFilterClear:_,onRemoveFilter:b,onClearAll:x},null,8,["search","filters","active-chips","search-placeholder"])]))}},Mp={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"},Rp=e=>{if(typeof e=="number")return e;const t=parseFloat(String(e??"").replace(/[^0-9.\-]/g,""));return isNaN(t)?null:t},Hi=e=>e&&typeof e=="object"?e.value??e.label??"":e??"",Ui={id:"doxa-research-dashboard",get title(){return we("dashboard.dashboard_title")||"Big Picture Research Dashboard"},element:"doxa-research-dashboard",data:{source:"pray-tools",primaryKey:"slug"},facets:{prayer_level:{get label(){return we("dashboard.prayer")||"Prayer"},get:e=>{const t=e==null?void 0:e.people_praying,o=t&&typeof t=="object"?t.value:t;return ha[Mn({peoplePraying:o??null})]}},religion:{get label(){return we("dashboard.religion")||"Religion"},get:e=>ut(e.religion)},religion_family:{get label(){return we("dashboard.religion_family")||"Religion Family"},get:e=>{const t=e.religion&&typeof e.religion=="object"?e.religion.value:e.religion,o=String(t||"").charAt(0).toUpperCase();return o&&mo[o]?mo[o]:""},famKey:e=>{const t=e.religion&&typeof e.religion=="object"?e.religion.value:e.religion,o=String(t||"").charAt(0).toUpperCase();return mo[o]?o:""}},wagf_region:{get label(){return we("dashboard.region")||"Region"},get:e=>ut(e.wagf_region)},wagf_block:{get label(){return we("dashboard.bloc")||"Bloc"},get:e=>ut(e.wagf_block)},country_code:{get label(){return we("dashboard.country")||"Country"},get:e=>ut(e.country_code),geoIso:e=>e.country_code&&e.country_code.value},engagement_status:{get label(){return we("dashboard.status")||"Status"},get:e=>ut(e.engagement_status)},gospel_access:{get label(){return we("dashboard.gospel_access")||"Gospel Access"},get:e=>ut(e.imb_gsec)},language_family:{get label(){return we("dashboard.language_family")||"Language Family"},get:e=>{const t=ut(e.imb_language_family);if(t)return En(t);const o=e.primary_language&&typeof e.primary_language=="object"?e.primary_language.value:null,n=o&&Mp[o];return n?En(n):""}},primary_language:{get label(){return we("dashboard.language")||"Language"},get:e=>ut(e.primary_language)},affinity_bloc:{get label(){return we("dashboard.people")||"People"},get:e=>Hi(e.rop1),optionLabel:e=>ut(e.rop1)},cluster:{get label(){return we("dashboard.cluster")||"Cluster"},get:e=>Hi(e.imb_reg_of_people_2)},people_group:{get label(){return we("dashboard.people_group")||"People Group"},get:e=>Hi(e.imb_reg_of_people_25)},rop1_name:{get label(){return we("dashboard.people_name")||"People (name)"},get:e=>ut(e.rop1)}},facetRail:[{id:"people",get title(){return we("dashboard.people")||"People"},axis:"people",drill:["affinity_bloc","cluster","people_group"],tree:"affinity",topN:[30,40,60]},{id:"place",get title(){return we("dashboard.place")||"Place"},axis:"place",drill:["wagf_region","wagf_block","country_code"]},{id:"language",get title(){return we("dashboard.language")||"Language"},axis:"language",drill:["language_family","primary_language"]},{id:"religion",get title(){return we("dashboard.religion")||"Religion"},axis:"religion",drill:["religion_family","religion"],topN:[12,24]},{id:"gospel-access",get title(){return we("dashboard.gospel_access")||"Gospel Access"},axis:null,facet:"gospel_access",topN:8}],kpis:[{id:"total",get label(){return we("dashboard.upgs_in_scope")||"UPGs in scope"},kind:"count",showDelta:!0},{id:"pop",get label(){return we("dashboard.sum_population")||"Σ population"},kind:"sum",field:"population"},{id:"unreached",get label(){return we("dashboard.unreached")||"unreached"},kind:"pct",test:e=>!/engaged/i.test(ut(e.engagement_status))||/unengaged/i.test(ut(e.engagement_status))},{id:"countries",get label(){return we("dashboard.countries_touched")||"countries touched"},kind:"distinct",field:"country_code",via:"geoIso"},{id:"praying",get label(){return we("dashboard.sum_praying")||"Σ praying"},kind:"sum",field:"people_praying"},{id:"adopted",get label(){return we("dashboard.adopted")||"adopted"},kind:"pct",test:e=>Number(e.adopted_by_churches)>0}],columns:[{key:"name",get label(){return we("dashboard.people_group")||"People Group"},get:e=>e.name||"",type:"str",w:1.34},{key:"country",get label(){return we("dashboard.country")||"Country"},get:e=>ut(e.country_code),type:"str",w:1.04},{key:"region",get label(){return we("dashboard.region")||"Region"},get:e=>ut(e.wagf_region),type:"str",w:1.04},{key:"language",get label(){return we("dashboard.language")||"Language"},get:e=>ut(e.primary_language),type:"str",w:1.04},{key:"religion",get label(){return we("dashboard.religion")||"Religion"},get:e=>ut(e.religion),type:"str",w:1.04},{key:"population",get label(){return we("dashboard.population")||"Population"},get:e=>Rp(e.population),type:"num",w:.86},{key:"people_praying",get label(){return we("dashboard.praying")||"Praying"},get:e=>Rp(e.people_praying),type:"num",w:.66},{key:"engagement",get label(){return we("dashboard.engagement")||"Engagement"},get:e=>ut(e.engagement_status),type:"str",w:.97}],map:{provider:"mapbox",mapStyle:"galaxy",heartbeatThreshold:150,binThresholds:[5,20,60],heartbeatMode:"fixed",heartbeatQuantile:.1,colorRamp:"greyscale"},charts:[{id:"religion",type:"donut",facet:"religion_family",get title(){return we("dashboard.religion")||"Religion"},topN:8},{id:"region",type:"donut",facet:"wagf_region",get title(){return we("dashboard.region")||"Region"},topN:9},{id:"country",type:"bar",facet:"country_code",get title(){return we("dashboard.top_countries")||"Top countries"},topN:12}],detail:{photo:e=>e.has_photo&&e.image_url,fields:["religion","primary_language","people_praying","adopted_by_churches","engagement_status"]},researchFilters:{dropdowns:["prayer_level","affinity_bloc","wagf_region","wagf_block","country_code","primary_language","religion"],get searchPlaceholder(){return we("dashboard.search_placeholder")||"Search people groups, place, language, religion…"}},searchKeys:["name","rop1_name","wagf_region","wagf_block","country_code","primary_language","religion","engagement_status"],search:[{id:"people",get label(){return we("dashboard.search_people")||"Search people"},context:"people-groups",kinds:["affinity-bloc","cluster","people-group"]},{id:"place",get label(){return we("dashboard.search_place")||"Search place"},context:"regions",kinds:["region","country"]},{id:"language",get label(){return we("dashboard.search_language")||"Search language"},context:"language",kinds:["language-family","language","dialect"]},{id:"religion",get label(){return we("dashboard.search_religion")||"Search religion"},context:"religion",kinds:["religion"]}]},gk=["data-row-count","data-loading","data-error","data-narrow"],fk={class:"rd-stats","data-region":"stats","data-sub":"stat-strip"},hk=["data-kpi"],mk={class:"l"},_k={key:0,class:"d","data-kpi-delta":""},bk={class:"rd-cell-map","data-region":"map"},$k=["title"],yk=["title"],vk={class:"rd-cell-table","data-region":"table"},wk={class:"rd-rail","data-region":"rail"},xk=["title","aria-label","aria-valuenow"],kk=["title","aria-label","aria-valuenow"],Sk=["title","aria-label","aria-valuenow","aria-valuemin","aria-valuemax"],Ak=["title","aria-label","aria-valuenow"],Lk={class:"rd-sr-live","data-live-region":"",role:"status","aria-live":"polite","aria-atomic":"true"},Tk=["data-view"],Ck={class:"x-clr","data-bar-clear":""},Pk={class:"x-go","data-bar-export":""},Ek=700,Mk={__name:"research-dashboard",emits:["dashboard-filter"],setup(e,{emit:t}){var K;const o=(B,j)=>we(B)||j,n=Be("profileConfig",pe(null)),a=te(()=>{const B=ue(n);if(!B||typeof B!="object")return Ui;const j={...Ui,...B};return B.map&&typeof B.map=="object"&&(j.map={...Ui.map,...B.map}),j}),r=te(()=>{var B;return((B=ue(n))==null?void 0:B.layout)==="page-scroll"}),{bus:s,data:i,kpis:l,exporter:c,responsive:u,filteredRows:d}=dw(a.value),g=pe("");let w=null,A=!1;function L(){var O;const B=d.value.length,j=(i.rows.value||[]).length,ne=o("dashboard.groups","groups");let le=o("dashboard.results_live","{count} of {total} {unit} shown").replace("{count}",Lr(B)).replace("{total}",Lr(j)).replace("{unit}",ne);const h=Object.keys(s.filterSet);if(h.length){const J=h.map(ge=>{var de,U;return((U=(de=a.value.facets)==null?void 0:de[ge])==null?void 0:U.label)||ge}).join(", ");le+=" · "+o("dashboard.filters_live","Filters: {list}").replace("{list}",J)}const p=(((O=s.searchTerm)==null?void 0:O.value)||"").trim();p&&(le+=" · "+o("dashboard.search_live","Search: {term}").replace("{term}",p)),g.value=le}Qe(()=>{var B;return[d.value.length,JSON.stringify(s.filterSet),((B=s.searchTerm)==null?void 0:B.value)||""].join("|")},()=>{if(!A){A=!0;return}clearTimeout(w),w=setTimeout(L,Ek)}),Dt(()=>clearTimeout(w));const C=t;Qe(()=>{var B;return{filters:{...s.filterSet},q:((B=s.searchTerm)==null?void 0:B.value)||""}},({filters:B,q:j})=>C("dashboard-filter",{filterSet:B,searchTerm:j}),{deep:!0});const F=i.total,v=i.loading,k=i.error,{shell:f,isNarrow:_,slimRail:b,slimFacet:x,mobileView:m,SEG:$,tableCollapsed:V,facetCollapsed:I,railCollapsed:z,setView:G,showFacets:ce,showMap:H,showTable:D,showCharts:ae}=u,{startFacetResize:P,startRailResize:Z,startTableResize:N,startShellResize:E,onResizeKeydown:W,facetW:me,railW:be,tableH:Ae,mapH:Te,shellH:He}=hw({shellRef:f,bus:s,isNarrow:_,pageScroll:r,storageKey:"rd-dashboard-layout:"+(((K=a.value)==null?void 0:K.id)||"default")});function Se(B){return B.kind==="pct"?B.value:B.kind==="distinct"?B.value||"—":Lr(B.value)}const $e=te(()=>{var B;return(B=s.selectionVersion)==null||B.value,s.selectionSet?s.selectionSet.size:0});function xe(){c.exportCsvAsync()}function ke(){s.clearSelection()}function y(){s.emit("toggleFacet",!I.value)}function T(){s.emit("toggleRail",!z.value)}function S(B){const j=B.target&&B.target.closest&&B.target.closest("[data-bar-export],[data-bar-clear]");j&&(j.hasAttribute("data-bar-export")?xe():ke())}return Ht(` +`,"rd-research-filters"),(m,$)=>(Y(),Q("div",gk,[We(pk,{search:v.value,filters:L.value,"active-chips":F.value,"search-placeholder":g.value,"show-search":!1,"start-expanded":"",onSearch:k,onFilterChange:f,onFilterClear:_,onRemoveFilter:b,onClearAll:x},null,8,["search","filters","active-chips","search-placeholder"])]))}},Fp={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"},Np=e=>{if(typeof e=="number")return e;const t=parseFloat(String(e??"").replace(/[^0-9.\-]/g,""));return isNaN(t)?null:t},ji=e=>e&&typeof e=="object"?e.value??e.label??"":e??"",Gi={id:"doxa-research-dashboard",get title(){return we("dashboard.dashboard_title")||"Big Picture Research Dashboard"},element:"doxa-research-dashboard",data:{source:"pray-tools",primaryKey:"slug"},facets:{prayer_level:{get label(){return we("dashboard.prayer")||"Prayer"},get:e=>{const t=e==null?void 0:e.people_praying,o=t&&typeof t=="object"?t.value:t;return ha[Rn({peoplePraying:o??null})]}},religion:{get label(){return we("dashboard.religion")||"Religion"},get:e=>ut(e.religion)},religion_family:{get label(){return we("dashboard.religion_family")||"Religion Family"},get:e=>{const t=e.religion&&typeof e.religion=="object"?e.religion.value:e.religion,o=String(t||"").charAt(0).toUpperCase();return o&&mo[o]?mo[o]:""},famKey:e=>{const t=e.religion&&typeof e.religion=="object"?e.religion.value:e.religion,o=String(t||"").charAt(0).toUpperCase();return mo[o]?o:""}},wagf_region:{get label(){return we("dashboard.region")||"Region"},get:e=>ut(e.wagf_region)},wagf_block:{get label(){return we("dashboard.bloc")||"Bloc"},get:e=>ut(e.wagf_block)},country_code:{get label(){return we("dashboard.country")||"Country"},get:e=>ut(e.country_code),geoIso:e=>e.country_code&&e.country_code.value},engagement_status:{get label(){return we("dashboard.status")||"Status"},get:e=>ut(e.engagement_status)},gospel_access:{get label(){return we("dashboard.gospel_access")||"Gospel Access"},get:e=>ut(e.imb_gsec)},language_family:{get label(){return we("dashboard.language_family")||"Language Family"},get:e=>{const t=ut(e.imb_language_family);if(t)return Mn(t);const o=e.primary_language&&typeof e.primary_language=="object"?e.primary_language.value:null,n=o&&Fp[o];return n?Mn(n):""}},primary_language:{get label(){return we("dashboard.language")||"Language"},get:e=>ut(e.primary_language)},affinity_bloc:{get label(){return we("dashboard.people")||"People"},get:e=>ji(e.rop1),optionLabel:e=>ut(e.rop1)},cluster:{get label(){return we("dashboard.cluster")||"Cluster"},get:e=>ji(e.imb_reg_of_people_2)},people_group:{get label(){return we("dashboard.people_group")||"People Group"},get:e=>ji(e.imb_reg_of_people_25)},rop1_name:{get label(){return we("dashboard.people_name")||"People (name)"},get:e=>ut(e.rop1)}},facetRail:[{id:"people",get title(){return we("dashboard.people")||"People"},axis:"people",drill:["affinity_bloc","cluster","people_group"],tree:"affinity",topN:[30,40,60]},{id:"place",get title(){return we("dashboard.place")||"Place"},axis:"place",drill:["wagf_region","wagf_block","country_code"]},{id:"language",get title(){return we("dashboard.language")||"Language"},axis:"language",drill:["language_family","primary_language"]},{id:"religion",get title(){return we("dashboard.religion")||"Religion"},axis:"religion",drill:["religion_family","religion"],topN:[12,24]},{id:"gospel-access",get title(){return we("dashboard.gospel_access")||"Gospel Access"},axis:null,facet:"gospel_access",topN:8}],kpis:[{id:"total",get label(){return we("dashboard.upgs_in_scope")||"UPGs in scope"},kind:"count",showDelta:!0},{id:"pop",get label(){return we("dashboard.sum_population")||"Σ population"},kind:"sum",field:"population"},{id:"unreached",get label(){return we("dashboard.unreached")||"unreached"},kind:"pct",test:e=>!/engaged/i.test(ut(e.engagement_status))||/unengaged/i.test(ut(e.engagement_status))},{id:"countries",get label(){return we("dashboard.countries_touched")||"countries touched"},kind:"distinct",field:"country_code",via:"geoIso"},{id:"praying",get label(){return we("dashboard.sum_praying")||"Σ praying"},kind:"sum",field:"people_praying"},{id:"adopted",get label(){return we("dashboard.adopted")||"adopted"},kind:"pct",test:e=>Number(e.adopted_by_churches)>0}],columns:[{key:"name",get label(){return we("dashboard.people_group")||"People Group"},get:e=>e.name||"",type:"str",w:1.34},{key:"country",get label(){return we("dashboard.country")||"Country"},get:e=>ut(e.country_code),type:"str",w:1.04},{key:"region",get label(){return we("dashboard.region")||"Region"},get:e=>ut(e.wagf_region),type:"str",w:1.04},{key:"language",get label(){return we("dashboard.language")||"Language"},get:e=>ut(e.primary_language),type:"str",w:1.04},{key:"religion",get label(){return we("dashboard.religion")||"Religion"},get:e=>ut(e.religion),type:"str",w:1.04},{key:"population",get label(){return we("dashboard.population")||"Population"},get:e=>Np(e.population),type:"num",w:.86},{key:"people_praying",get label(){return we("dashboard.praying")||"Praying"},get:e=>Np(e.people_praying),type:"num",w:.66},{key:"engagement",get label(){return we("dashboard.engagement")||"Engagement"},get:e=>ut(e.engagement_status),type:"str",w:.97}],map:{provider:"mapbox",mapStyle:"galaxy",heartbeatThreshold:150,binThresholds:[5,20,60],heartbeatMode:"fixed",heartbeatQuantile:.1,colorRamp:"greyscale"},charts:[{id:"religion",type:"donut",facet:"religion_family",get title(){return we("dashboard.religion")||"Religion"},topN:8},{id:"region",type:"donut",facet:"wagf_region",get title(){return we("dashboard.region")||"Region"},topN:9},{id:"country",type:"bar",facet:"country_code",get title(){return we("dashboard.top_countries")||"Top countries"},topN:12}],detail:{photo:e=>e.has_photo&&e.image_url,fields:["religion","primary_language","people_praying","adopted_by_churches","engagement_status"]},researchFilters:{dropdowns:["prayer_level","affinity_bloc","wagf_region","wagf_block","country_code","primary_language","religion"],get searchPlaceholder(){return we("dashboard.search_placeholder")||"Search people groups, place, language, religion…"}},searchKeys:["name","rop1_name","wagf_region","wagf_block","country_code","primary_language","religion","engagement_status"],search:[{id:"people",get label(){return we("dashboard.search_people")||"Search people"},context:"people-groups",kinds:["affinity-bloc","cluster","people-group"]},{id:"place",get label(){return we("dashboard.search_place")||"Search place"},context:"regions",kinds:["region","country"]},{id:"language",get label(){return we("dashboard.search_language")||"Search language"},context:"language",kinds:["language-family","language","dialect"]},{id:"religion",get label(){return we("dashboard.search_religion")||"Search religion"},context:"religion",kinds:["religion"]}]},hk=["data-row-count","data-loading","data-error","data-narrow"],mk={class:"rd-stats","data-region":"stats","data-sub":"stat-strip"},_k=["data-kpi"],bk={class:"l"},$k={key:0,class:"d","data-kpi-delta":""},yk={class:"rd-cell-map","data-region":"map"},vk=["title"],wk=["title"],xk={class:"rd-cell-table","data-region":"table"},kk={class:"rd-rail","data-region":"rail"},Sk=["title","aria-label","aria-valuenow"],Ak=["title","aria-label","aria-valuenow"],Lk=["title","aria-label","aria-valuenow","aria-valuemin","aria-valuemax"],Tk=["title","aria-label","aria-valuenow"],Ck={class:"rd-sr-live","data-live-region":"",role:"status","aria-live":"polite","aria-atomic":"true"},Pk=["data-view"],Ek={class:"x-clr","data-bar-clear":""},Mk={class:"x-go","data-bar-export":""},Rk=700,Fk={__name:"research-dashboard",emits:["dashboard-filter"],setup(e,{emit:t}){var K;const o=(B,j)=>we(B)||j,n=Be("profileConfig",pe(null)),a=te(()=>{const B=ue(n);if(!B||typeof B!="object")return Gi;const j={...Gi,...B};return B.map&&typeof B.map=="object"&&(j.map={...Gi.map,...B.map}),j}),r=te(()=>{var B;return((B=ue(n))==null?void 0:B.layout)==="page-scroll"}),{bus:s,data:i,kpis:l,exporter:c,responsive:u,filteredRows:d}=gw(a.value),g=pe("");let w=null,A=!1;function L(){var O;const B=d.value.length,j=(i.rows.value||[]).length,ne=o("dashboard.groups","groups");let le=o("dashboard.results_live","{count} of {total} {unit} shown").replace("{count}",Lr(B)).replace("{total}",Lr(j)).replace("{unit}",ne);const h=Object.keys(s.filterSet);if(h.length){const J=qs(h.map(ge=>{var de,U;return((U=(de=a.value.facets)==null?void 0:de[ge])==null?void 0:U.label)||ge}),{type:"conjunction"});le+=" · "+o("dashboard.filters_live","Filters: {list}").replace("{list}",J)}const p=(((O=s.searchTerm)==null?void 0:O.value)||"").trim();p&&(le+=" · "+o("dashboard.search_live","Search: {term}").replace("{term}",p)),g.value=le}Qe(()=>{var B;return[d.value.length,JSON.stringify(s.filterSet),((B=s.searchTerm)==null?void 0:B.value)||""].join("|")},()=>{if(!A){A=!0;return}clearTimeout(w),w=setTimeout(L,Rk)}),Dt(()=>clearTimeout(w));const C=t;Qe(()=>{var B;return{filters:{...s.filterSet},q:((B=s.searchTerm)==null?void 0:B.value)||""}},({filters:B,q:j})=>C("dashboard-filter",{filterSet:B,searchTerm:j}),{deep:!0});const F=i.total,v=i.loading,k=i.error,{shell:f,isNarrow:_,slimRail:b,slimFacet:x,mobileView:m,SEG:$,tableCollapsed:V,facetCollapsed:I,railCollapsed:z,setView:G,showFacets:ce,showMap:H,showTable:D,showCharts:ae}=u,{startFacetResize:P,startRailResize:Z,startTableResize:N,startShellResize:E,onResizeKeydown:W,facetW:me,railW:be,tableH:Ae,mapH:Te,shellH:He}=_w({shellRef:f,bus:s,isNarrow:_,pageScroll:r,storageKey:"rd-dashboard-layout:"+(((K=a.value)==null?void 0:K.id)||"default")});function Se(B){return B.kind==="pct"?B.value:B.kind==="distinct"?B.value||"—":Lr(B.value)}const $e=te(()=>{var B;return(B=s.selectionVersion)==null||B.value,s.selectionSet?s.selectionSet.size:0});function xe(){c.exportCsvAsync()}function ke(){s.clearSelection()}function y(){s.emit("toggleFacet",!I.value)}function T(){s.emit("toggleRail",!z.value)}function S(B){const j=B.target&&B.target.closest&&B.target.closest("[data-bar-export],[data-bar-clear]");j&&(j.hasAttribute("data-bar-export")?xe():ke())}return Ht(` :host{ display:block; width:100%; height:100%; min-height:560px; box-sizing:border-box; --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --dx-surface:#f3f3f1; --dx-elevated:#ffffff; --dx-text:#3b463d; --dx-muted:#6d766e; @@ -861,4 +861,4 @@ .rd-shell ::-webkit-scrollbar-thumb{ background:var(--dx-scroll-thumb, #c4c8c0); border-radius:8px; } .rd-shell ::-webkit-scrollbar-thumb:hover{ background:#9aa197; } .rd-shell ::-webkit-scrollbar-corner{ background:transparent; } -`,"rd-shell-layout"),vt(()=>{const B=f.value&&f.value.getRootNode&&f.value.getRootNode().host;if(!B)return;const j=ne=>B.setAttribute("data-page-scroll",ne?"true":"false");j(ue(r)),Qe(()=>ue(r),j)}),(B,j)=>(Y(),Q("div",{ref_key:"shell",ref:f,class:Ke(["rd-shell",{"rd-narrow":ue(_),"rd-slim-rail":ue(b),"rd-slim-facet":ue(x),"rd-table-collapsed":ue(V),"rd-facet-collapsed":ue(I),"rd-rail-collapsed":ue(z),"rd-page-scroll":r.value}]),"data-row-count":ue(F),"data-loading":ue(v)?"1":"0","data-error":ue(k)||"","data-narrow":ue(_)?"1":"0"},[We(ue(h0)),We(ue(pk)),M("div",fk,[(Y(!0),Q(Me,null,nt(ue(l),ne=>(Y(),Q("div",{class:"kpi",key:ne.id},[M("span",{class:"n","data-kpi":ne.id},re(ne.kind==="count"&&ue(v)?"…":Se(ne)),9,hk),M("span",mk,re(ne.label),1),ne.delta?(Y(),Q("span",_k,"↓"+re(ue(Lr)(ne.delta)),1)):Ie("",!0)]))),128))]),zt(We(Ew,null,null,512),[[Kt,ue(ce)]]),zt(M("div",bk,[We(ue(W1)),ue(_)?Ie("",!0):(Y(),Q("button",{key:0,class:"rd-edge-caret rd-edge-facet",type:"button","data-toggle-facet":"",title:ue(I)?o("dashboard.show_filters","Show filters"):o("dashboard.hide_filters","Hide filters — grow the map"),onClick:y},re(ue(I)?"▸":"◂"),9,$k)),ue(_)?Ie("",!0):(Y(),Q("button",{key:1,class:"rd-edge-caret rd-edge-rail",type:"button","data-toggle-rail":"",title:ue(z)?o("dashboard.show_charts","Show charts"):o("dashboard.hide_charts","Hide charts — grow the map"),onClick:T},re(ue(z)?"◂":"▸"),9,yk))],512),[[Kt,ue(H)]]),zt(M("div",vk,[We(ue(B0))],512),[[Kt,ue(D)]]),zt(M("aside",wk,[We(ue(Yx)),We(ue(mx))],512),[[Kt,ue(ae)]]),zt(M("div",{class:"rd-rz rd-rz-facet","data-resize":"facet",role:"separator","aria-orientation":"vertical",tabindex:"0",title:o("aria.resizeFiltersRailHint","Drag or use arrow keys to resize the filters rail"),"aria-label":o("aria.resizeFiltersRail","Resize filters rail"),"aria-valuenow":ue(me),"aria-valuemin":"160","aria-valuemax":"420",onPointerdown:j[0]||(j[0]=(...ne)=>ue(P)&&ue(P)(...ne)),onKeydown:j[1]||(j[1]=ne=>ue(W)("facet",ne))},null,40,xk),[[Kt,!ue(_)&&!ue(I)]]),zt(M("div",{class:"rd-rz rd-rz-rail","data-resize":"rail",role:"separator","aria-orientation":"vertical",tabindex:"0",title:o("aria.resizeChartsRailHint","Drag or use arrow keys to resize the charts rail"),"aria-label":o("aria.resizeChartsRail","Resize charts rail"),"aria-valuenow":ue(be),"aria-valuemin":"200","aria-valuemax":"520",onPointerdown:j[2]||(j[2]=(...ne)=>ue(Z)&&ue(Z)(...ne)),onKeydown:j[3]||(j[3]=ne=>ue(W)("rail",ne))},null,40,kk),[[Kt,!ue(_)&&!ue(z)]]),zt(M("div",{class:"rd-rz rd-rz-table","data-resize":"table",role:"separator","aria-orientation":"horizontal",tabindex:"0",title:r.value?o("aria.resizeMapTableSplitHint","Drag or use arrow keys to resize the map/table split"):o("aria.resizeTableHint","Drag or use arrow keys to resize the table"),"aria-label":r.value?o("aria.resizeMapTableSplit","Resize map/table split"):o("aria.resizeTable","Resize table height"),"aria-valuenow":r.value?ue(Te):parseFloat(ue(Ae))||34,"aria-valuemin":r.value?220:12,"aria-valuemax":r.value?1400:70,onPointerdown:j[4]||(j[4]=(...ne)=>ue(N)&&ue(N)(...ne)),onKeydown:j[5]||(j[5]=ne=>ue(W)("table",ne))},null,40,Sk),[[Kt,!ue(_)&&!ue(V)]]),zt(M("div",{class:"rd-rz rd-rz-shell","data-resize":"shell",role:"separator","aria-orientation":"horizontal",tabindex:"0",title:o("aria.resizeDashboardHeightHint","Drag or use arrow keys to resize the dashboard's height"),"aria-label":o("aria.resizeDashboardHeight","Resize dashboard height"),"aria-valuenow":ue(He),"aria-valuemin":"400","aria-valuemax":"2600",onPointerdown:j[6]||(j[6]=(...ne)=>ue(E)&&ue(E)(...ne)),onKeydown:j[7]||(j[7]=ne=>ue(W)("shell",ne))},null,40,Ak),[[Kt,!ue(_)&&r.value]]),M("div",Lk,re(g.value),1),M("div",{class:"rd-seg","data-segmented":"",onClick:j[8]||(j[8]=(...ne)=>ue(G)&&ue(G)(...ne))},[(Y(!0),Q(Me,null,nt(ue($),ne=>(Y(),Q("button",{key:ne.k,class:Ke({on:ue(m)===ne.k}),"data-view-btn":"","data-view":ne.k},re(ne.l),11,Tk))),128))]),$e.value?(Y(),Q("div",{key:0,class:"rd-exportbar","data-export-bar":"",onClick:S},[M("b",null,re($e.value)+" "+re(o("dashboard.selected","Selected")),1),j[9]||(j[9]=M("span",{class:"sp"},null,-1)),M("button",Ck,re(o("controls.clear","Clear")),1),M("button",Pk,re(o("dashboard.export_csv","Export CSV"))+" ↓",1)])):Ie("",!0)],10,gk))}},Rk={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function Rr(e){return e==null?"":String(e).replace(/[&<>"'`]/g,t=>Rk[t])}function Fk(e,t){const o=String(e??"");if(!Array.isArray(t)||t.length===0)return Rr(o);let n=0,a="";return t.forEach((r,s)=>{const[i,l]=r,c=s===t.length-1;a+=Rr(o.slice(n,i))+''+Rr(o.slice(i,l+1))+""+(c?Rr(o.slice(l+1)):""),n=l+1}),a}function Nk(e,t){return String(t||e||"").trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Fp(e,t=""){const o=String(e??"").replace(/\/+$/,""),n=String(t??"").replace(/^\/+/,"");return n?`${o}/${n}`:`${o}/`}function Ok(e){var o,n;const t=((o=e==null?void 0:e.vnode)==null?void 0:o.el)||((n=e==null?void 0:e.proxy)==null?void 0:n.$el);try{const a=t&&t.getRootNode&&t.getRootNode();if(a&&a.host)return a.host}catch{}return t}const Ik=":host{display:block;width:100%;--dx-surface: #f3f3f1;--dx-elevated: #ffffff;--dx-text: #3b463d;--dx-muted: #6d766e;--dx-line: #d1d4cd;--dx-accent: #92b195;--dx-accent-weak: rgba(146, 177, 149, .18);--dx-accent-soft: rgba(146, 177, 149, .1);--dx-accent-strong: #657967}.pgg-root{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);--bg: var(--dx-surface, #f3f3f1);width:100%;box-sizing:border-box;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;padding:16px}.filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding-block:18px 8px;min-height:190px}.pgg-search{display:flex;justify-content:center}.pgg-search--repel{gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between;width:100%;max-width:600px;margin-inline:auto}.pgg-search--repel>:first-child{flex:1 1 320px;min-width:0}.pgg-exact{flex:none}.filters__toggle{background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--dx-text, #3b463d);padding:7px 12px;display:inline-flex;align-items:center;gap:7px;margin-inline:auto;transition:background-color .15s ease,border-color .15s ease}.filters__toggle:hover{background:var(--dx-accent-weak, rgba(146,177,149,.18));border-color:var(--dx-accent, #92b195)}.filters__toggle:focus-visible{outline:2px solid var(--dx-accent, #92b195);outline-offset:2px}.filters__toggle-icon{color:var(--dx-accent, #92b195);flex:none}.filters__toggle-count{background:var(--dx-accent, #92b195);color:#fff;border-radius:999px;min-width:18px;padding:0 5px;font-size:.75rem;line-height:18px;text-align:center}.filters__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.filters__panel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:flex-start}.filter-toggle{padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;transition:border-color .15s ease,background .15s ease}.filter-toggle:hover{border-color:var(--brand)}.filter-toggle[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.filters__active{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.filter-chip{display:inline-flex;gap:6px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:4px 12px;font-size:.85rem}.filter-chip__remove{background:none;border:none;cursor:pointer;font-size:1.1em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center}.filter-chip__remove:hover{opacity:.7}.filters__clear-all{background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.repel{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.font-size-sm{font-size:.875rem;color:var(--mut)}.grid.uupgs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.pgg-gridbar{display:flex;justify-content:flex-end;margin-bottom:8px;padding-inline-end:8px}.pgg-perrow{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--mut)}.pgg-perrow select{font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:6px;padding:2px 6px}.card.uupg__card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.uupg__image{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:var(--line)}.uupg__header{padding:12px 14px 6px}.uupg__name{font-size:1rem;font-weight:700;line-height:1.2;margin:0 0 4px}.uupg__country{font-size:.85rem;color:var(--mut);margin:0}.uupg__country-link{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:1px;text-underline-offset:2px}.uupg__country-link:hover{text-decoration-thickness:2px}.uupg__match{font-size:.8rem;color:var(--mut);margin:4px 0 0}.uupg__content{padding:0 14px;font-size:.85rem;color:var(--mut)}.uupg__more-button{margin:12px 14px 14px;padding:8px 12px;text-align:center;font-size:.85rem;font-weight:700;color:var(--dx-elevated, #fff);background:var(--dx-accent-strong, #657967);border-radius:8px;text-decoration:none}.uupg__more-button:hover{background:var(--dx-text, #3b463d)}.search-highlight{background:#fde68a;border-radius:2px;padding:0 1px}.loading,.pgg-empty{grid-column:1 / -1;padding:28px;text-align:center;color:var(--mut);font-size:.9rem}.pgg-failed{font-weight:600;border-top:1px solid var(--bd, #d1d4cd)}.pgg-loadmore{display:block;margin:20px auto 0;padding:8px 18px;font-size:.9rem;cursor:pointer;color:var(--ink);background:var(--card);border:1px solid var(--brand);border-radius:8px}.pgg-loadmore:hover{background:var(--dx-accent-soft, rgba(146, 177, 149, .1))}",zk={class:"pgg-root"},Dk={key:0,class:"pgg-search pgg-search--repel"},Bk=["data-active"],Hk=["aria-expanded"],Uk={key:0,class:"filters__toggle-count"},jk={key:2,class:"filters__panel"},Gk={key:3,class:"filters__active"},Wk=["onClick"],qk={class:"pgg-body"},Vk={key:0,class:"repel"},Kk={class:"font-size-sm"},Yk={key:1},Zk={class:"pgg-gridbar"},Xk={class:"pgg-perrow"},Jk=["aria-label"],Qk=["value"],eS=["src","alt"],tS={class:"uupg__header"},oS=["innerHTML"],nS={key:0,class:"uupg__country"},aS=["href"],rS=["innerHTML"],sS=["innerHTML"],iS=["innerHTML"],lS={key:1,class:"uupg__content"},cS=["href"],uS={key:0,class:"loading"},dS={key:1,class:"pgg-empty pgg-failed",role:"status"},pS={key:2,class:"pgg-empty"},gS=gn(Object.assign({inheritAttrs:!1},{__name:"people-groups-grid",props:{profileConfig:{type:String,default:""},prayBaseUrl:{type:String,default:""},languageCode:{type:String,default:""},researchUrl:{type:String,default:""},countryUrl:{type:String,default:""},selectUrl:{type:String,default:""},t:{type:Object,default:()=>({})},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},showTotal:{type:[Boolean,String],default:!0},query:{type:String,default:""},wagfRegion:{type:String,default:""},wagfBlock:{type:String,default:""},rop1:{type:String,default:""},religion:{type:String,default:""},countryCode:{type:String,default:""},primaryLanguage:{type:String,default:""},cluster:{type:String,default:""},peopleGroup:{type:String,default:""},engagementStatus:{type:String,default:""},gospelAccess:{type:String,default:""},religionFamily:{type:String,default:""},languageFamily:{type:String,default:""},perPage:{type:Number,default:24},morePerPage:{type:Number,default:0}},emits:["groups-filtered"],setup(e,{emit:t}){const o=e,n=t,a=te(()=>{if(!o.profileConfig)return{};try{return JSON.parse(o.profileConfig)||{}}catch{return{}}}),r=te(()=>!b.value&&!x.value?null:{backgroundImage:`url(${yi(a.value)}/images/worldmap.svg)`,backgroundSize:"60%",backgroundPosition:"top center",backgroundRepeat:"no-repeat"}),s=te(()=>o.prayBaseUrl||a.value.prayBaseUrl||"https://pray.doxa.life"),i=te(()=>o.languageCode||a.value.languageCode||a.value.locale||a.value.lang||Qu()||""),l=te(()=>{const X=i.value||pn()||fa();return Gs.has(String(X).split("-")[0].toLowerCase())?"rtl":"ltr"});function c(){try{const X=ge();X&&X.setAttribute&&l.value==="rtl"&&X.setAttribute("dir","rtl")}catch{}}Qe(l,c);const u=te(()=>o.researchUrl||a.value.researchUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/research/"),d=te(()=>o.countryUrl||a.value.countryUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/regions/"),g=["auto","1","2","3","4","5"],w=te(()=>`pgg-cards-per-row:${a.value.profile||"default"}`),A=pe("auto");let L=!1;function C(){try{const X=localStorage.getItem(w.value);X&&g.includes(X)&&(A.value=X)}catch{}}C(),Qe(w,(X,ie)=>{X!==ie&&!L&&C()}),Qe(A,X=>{L=!0;try{localStorage.setItem(w.value,X)}catch{}});const F=te(()=>A.value==="auto"?null:{gridTemplateColumns:`repeat(${A.value}, minmax(0, 1fr))`}),v=te(()=>{const X={...a.value.t||{},...o.t||{}},ie=a.value.locale||a.value.lang||void 0;return new Proxy(X,{get(_e,ye){if(ye in _e)return _e[ye];if(typeof ye=="string")return we("grid."+ye,ie)}})}),k=X=>!(X===!1||X==="false"||X==="0"||X===0),f=(X,ie)=>{const _e=a.value;return(_e==null?void 0:_e[X])!==void 0?_e[X]:_e==null?void 0:_e[ie]},_=(X,ie,_e)=>{if(X!==void 0&&X!==!0)return k(X);const ye=f(ie,_e);return k(ye===void 0?X:ye)},b=te(()=>_(o.showSearch,"showSearch","show-search")),x=te(()=>_(o.showFilters,"showFilters","show-filters")),m=te(()=>_(o.showTotal,"showTotal","show-total")),$=pe([]),V=pe([]),I=pe(0),z=pe(1),G=pe(!0),ce=pe(!1),H=pe(!0),D=pe({}),ae=pe(""),P=pe({}),Z=te(()=>b.value?ae.value:o.query||""),N=te(()=>{const X={},ie=_e=>_e;return o.wagfRegion&&(X.wagf_region={value:o.wagfRegion,label:ie(o.wagfRegion)}),o.wagfBlock&&(X.wagf_block={value:o.wagfBlock,label:ie(o.wagfBlock)}),o.rop1&&(X.rop1={value:o.rop1,label:ie(o.rop1)}),o.religion&&(X.religion={value:o.religion,label:ie(o.religion)}),o.countryCode&&(X.country_code={value:o.countryCode,label:ie(o.countryCode)}),o.primaryLanguage&&(X.primary_language={value:o.primaryLanguage,label:ie(o.primaryLanguage)}),o.engagementStatus&&(X.engagement_status={value:o.engagementStatus,label:ie(o.engagementStatus)}),o.cluster&&(X.imb_reg_of_people_2={value:o.cluster,label:ie(o.cluster)}),o.peopleGroup&&(X.imb_reg_of_people_25={value:o.peopleGroup,label:ie(o.peopleGroup)}),o.gospelAccess&&(X.imb_gsec={value:o.gospelAccess,label:ie(o.gospelAccess)}),o.religionFamily&&(X.__religion_family={value:o.religionFamily,label:ie(o.religionFamily)}),o.languageFamily&&(X.__language_family={value:o.languageFamily,label:ie(o.languageFamily)}),X}),E=te(()=>x.value?P.value:N.value);Qe(()=>o.wagfRegion,X=>{if(!x.value)return;const ie=P.value.wagf_region;if(X){if(ie&&ie.value===X)return;const _e=(D.value&&D.value.wagf_region||[]).find(ye=>ye.value===X);P.value={...P.value,wagf_region:{value:X,label:_e&&_e.label||X}}}else if(ie){const _e={...P.value};delete _e.wagf_region,P.value=_e}}),Qe(()=>o.religionFamily,X=>{if(!x.value)return;const ie=P.value.__religion_family;if(X){if(ie&&S(ie.value)===S(X))return;P.value={...P.value,__religion_family:{value:X,label:X}}}else if(ie){const _e={...P.value};delete _e.__religion_family,P.value=_e}}),Qe(()=>o.primaryLanguage,X=>{if(!x.value)return;const ie=P.value.primary_language;if(X){if(ie&&S(ie.value)===S(X))return;P.value={...P.value,primary_language:{value:X,label:X}}}else if(ie){const _e={...P.value};delete _e.primary_language,P.value=_e}});const W=te(()=>Object.values(E.value||{}).filter(X=>X&&X.value!==""&&X.value!=null).length),me=te(()=>Object.keys(E.value).length),be=te(()=>W.value>0||!!(Z.value||"").trim());function Ae(X,ie=500){let _e;return(...ye)=>{clearTimeout(_e),_e=setTimeout(()=>X(...ye),ie)}}const Te=Ae(()=>{G.value=!0,z.value=1,O()},500);function He(X){ae.value=(X==null?void 0:X.value)??"",Te()}function Se(){H.value=!H.value}function $e(X){P.value={...P.value,[X.name]:{value:X.value,label:X.label}},z.value=1,O()}function xe(X){ke(X.name)}function ke(X){const ie={...P.value};delete ie[X],P.value=ie,z.value=1,O()}function y(){P.value={},z.value=1,O()}function T(){if(P.value.exact)return ke("exact");P.value={...P.value,exact:{value:"yes",label:v.value.exact_filter||"Exact"}},z.value=1,O()}const S=X=>String(X??"").toLowerCase().replace(/[\s_&-]+/g,""),K={__religion_family:X=>{const ie=X.religion&&typeof X.religion=="object"?X.religion.value:X.religion,_e=String(ie||"").charAt(0).toUpperCase(),ye=_e&&mo[_e]?mo[_e]:"";return ye?{value:ye,label:ye}:null},__language_family:X=>{const ie=X.imb_language_family,_e=ie&&typeof ie=="object"?ie.label||ie.value:ie;let ye="";if(_e)ye=En(_e);else{const Re=X.primary_language&&typeof X.primary_language=="object"?X.primary_language.value:null,q=Re&&Mp[Re];ye=q?En(q):""}return ye?{value:ye,label:ye}:null}},B=(X,ie)=>K[ie]?K[ie](X):X[ie];function j(X,ie){if(!X)return!1;const _e=ie==null?void 0:ie.value;if(_e==null||_e==="")return!1;const ye=(Array.isArray(_e)?_e:String(_e).split("|")).map(oe=>S(oe)).filter(Boolean);if(!ye.length)return!1;const Re=S(X.value),q=S(X.label);return ye.some(oe=>Re===oe||q===oe)}function ne(X){let ie=X;for(const[_e,ye]of Object.entries(E.value))_e==="exact"?ie=ie:ie=ie.filter(Re=>j(B(Re,_e),ye));return ie}function le(){const X=ie=>{const _e=new Map;for(const ye of $.value){const Re=ye[ie];if(!(Re!=null&&Re.value))continue;const q=_e.get(Re.value);q?q.count++:_e.set(Re.value,{label:Re.label,count:1})}return Array.from(_e.entries()).map(([ye,{label:Re,count:q}])=>({value:ye,label:Re,count:q})).sort((ye,Re)=>ye.label.localeCompare(Re.label))};D.value={wagf_region:X("wagf_region"),wagf_block:X("wagf_block"),rop1:X("rop1"),religion:X("religion")}}function h(){const X=Object.keys(D.value),ie={};for(const _e of X){const ye={};for(const[oe,fe]of Object.entries(E.value))oe!==_e&&(ye[oe]=fe);const Re=p(ye,$.value),q=new Map;for(const oe of Re){const fe=oe[_e];fe!=null&&fe.value&&q.set(fe.value,(q.get(fe.value)??0)+1)}ie[_e]=(D.value[_e]??[]).map(oe=>({...oe,count:q.get(oe.value)??0}))}D.value=ie}function p(X,ie){let _e=ie;for(const[ye,Re]of Object.entries(X))ye!=="exact"&&(_e=_e.filter(q=>j(B(q,ye),Re)));return _e}function O(){$.value=$.value.map(q=>(q.matches=[],q.country_label="",q.rop1_label="",q));const ie=Object.keys(E.value).length>0?ne($.value):$.value,_e=Z.value;if(!_e){V.value=ie,I.value=V.value.length,G.value=!1,h(),de();return}const Re=new Tv(ie,{includeMatches:!0,ignoreLocation:!0,minMatchCharLength:3,threshold:E.value.exact?0:.4,keys:["name","imb_alternate_name","country_code.label","rop1.label","religion.label","wagf_region.label","wagf_block.label"]}).search(_e);V.value=Re.map(q=>{var fe;const oe={...q.item};if(!q.matches)return oe;oe.matches=[];for(const ze of q.matches){const De=ze.key;if(!De)continue;let mt="";if(String(De).includes(".")){const[rt,_t]=String(De).split(".");mt=(fe=oe[rt])==null?void 0:fe[_t]}else mt=oe[String(De)];if(mt&&typeof mt=="string"){const rt=Fk(mt,ze.indices);if(String(De).includes("imb_alternate_name"))oe.matches.push({key:v.value.alternate_name??"Also known as",label:rt});else if(String(De).includes(".")){const[_t]=String(De).split("."),Jt={religion:v.value.religion,country_code:v.value.country,rop1:v.value.rop1,wagf_region:v.value.wagf_region,wagf_block:v.value.wagf_block};_t==="rop1"?oe.rop1_label=rt:_t==="country_code"?oe.country_label=rt:_t==="wagf_region"||oe.matches.push({key:Jt[_t]??_t,label:rt})}else oe[String(De)]=rt}}return oe}),I.value=V.value.length,G.value=!1,h(),de()}const J=po(),ge=()=>Ok(J);function de(){const X={query:Z.value,activeFilters:E.value,total:I.value,slugs:V.value.map(_e=>_e.slug)};n("groups-filtered",X);const ie=ge();ie&&typeof ie.dispatchEvent=="function"&&ie.dispatchEvent(new CustomEvent("groups-filtered",{detail:X,bubbles:!0,composed:!0}))}function U(){return o.morePerPage>0?I.value>o.perPage+(z.value-1)*o.morePerPage&&!G.value&&V.value.length>0:I.value>z.value*o.perPage&&!G.value&&V.value.length>0}function ee(){z.value=z.value+1}const Le=te(()=>o.morePerPage>0?V.value.slice(0,o.perPage+(z.value-1)*o.morePerPage):V.value.slice(0,z.value*o.perPage)),Pe=te(()=>U());async function Ye(){const X=`${s.value}/api/people-groups/list?fields=name,slug,wagf_region,wagf_block,country_code,rop1,religion,has_photo,image_url,adopted_by_churches,imb_alternate_name,engagement_status,people_committed,primary_language,imb_reg_of_people_2,imb_reg_of_people_25,imb_gsec,imb_language_family&lang=${i.value}`;G.value=!0,ce.value=!1;try{const ie=await fetch(X);if(!ie.ok)throw new Error(`HTTP ${ie.status}`);const _e=await ie.json(),ye=Array.isArray(_e.posts)?_e.posts:[],Re=await ya(ye,o.profileConfig);I.value=Re===ye?_e.total:Re.length,$.value=Re,le(),O()}catch(ie){console.error("[people-groups-grid] fetch error:",ie),ce.value=!0,$.value=[],G.value=!1}}Qe(()=>[o.query,N.value,b.value,x.value],()=>{z.value=1,O()});function at(X){const ie=new Set;for(const _e of $.value||[]){const ye=B(_e,X),Re=ye&&typeof ye=="object"?ye.label:ye;typeof Re=="string"&&Re&&ie.add(Re)}return[...ie].sort()}return Va(()=>{typeof window<"u"&&window.__peopleGroupsGridVocabulary===at&&delete window.__peopleGroupsGridVocabulary}),vt(()=>{const X=ge();X&&(X.__vocabulary=at),typeof window<"u"&&(window.__peopleGroupsGridVocabulary=at),c(),Ye()}),(X,ie)=>{var _e,ye,Re,q;return Y(),Q("div",zk,[b.value||x.value?(Y(),Q("div",{key:0,id:"filters",class:"filters",style:dt(r.value)},[b.value?(Y(),Q("div",Dk,[We(Ei,{"model-value":ae.value,placeholder:v.value.search||"Search people groups…","aria-label":v.value.search||"Search people groups","max-width":"480px",onSearch:He},null,8,["model-value","placeholder","aria-label"]),x.value?(Y(),Q("button",{key:0,class:"filter-toggle pgg-exact",type:"button","data-active":E.value.exact?"":void 0,onClick:T},re(v.value.exact_filter||"Exact"),9,Bk)):Ie("",!0)])):Ie("",!0),x.value?(Y(),Q("button",{key:1,class:"filters__toggle",type:"button","aria-expanded":H.value,onClick:Se},[ie[1]||(ie[1]=M("svg",{class:"filters__toggle-icon",width:"13",height:"13",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[M("path",{d:"M1.5 2.5h9M3 6h6M4.5 9.5h3",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)),pt(" "+re(H.value?v.value.hide_filters||"Hide Filters":v.value.show_filters||"Show Filters")+" ",1),W.value?(Y(),Q("span",Uk,re(W.value),1)):Ie("",!0),ie[2]||(ie[2]=M("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[M("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,Hk)):Ie("",!0),x.value&&H.value?(Y(),Q("div",jk,[We(Sa,{label:v.value.wagf_region||"Region",name:"wagf_region",options:D.value.wagf_region||[],value:((_e=E.value.wagf_region)==null?void 0:_e.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"]),We(Sa,{label:v.value.wagf_block||"Bloc",name:"wagf_block",options:D.value.wagf_block||[],value:((ye=E.value.wagf_block)==null?void 0:ye.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"]),We(Sa,{label:v.value.rop1||"People Group",name:"rop1",options:D.value.rop1||[],value:((Re=E.value.rop1)==null?void 0:Re.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"]),We(Sa,{label:v.value.religion||"Religion",name:"religion",options:D.value.religion||[],value:((q=E.value.religion)==null?void 0:q.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"])])):Ie("",!0),x.value&&me.value>0?(Y(),Q("div",Gk,[(Y(!0),Q(Me,null,nt(E.value,(oe,fe)=>(Y(),Q("span",{key:fe,class:"filter-chip"},[pt(re(oe.label)+" ",1),M("button",{class:"filter-chip__remove",type:"button",onClick:ze=>ke(String(fe))},"×",8,Wk)]))),128)),M("button",{class:"filters__clear-all",type:"button",onClick:y},re(v.value.clear_all||"Clear All"),1)])):Ie("",!0)],4)):Ie("",!0),M("div",qk,[m.value||be.value?(Y(),Q("div",Vk,[M("div",Kk,[G.value?(Y(),Q("span",Yk," ")):(Y(),Q(Me,{key:0},[pt(re(be.value&&!m.value?(v.value.showing||"Showing")+" "+ue(Zo)(I.value):(v.value.total||"Total")+": "+ue(Zo)(I.value)),1)],64))])])):Ie("",!0),M("div",Zk,[M("label",Xk,[M("span",null,re(v.value.cards_per_row),1),zt(M("select",{"onUpdate:modelValue":ie[0]||(ie[0]=oe=>A.value=oe),"aria-label":v.value.cards_per_row},[(Y(),Q(Me,null,nt(g,oe=>M("option",{key:oe,value:oe},re(oe==="auto"?v.value.cards_per_row_auto:oe),9,Qk)),64))],8,Jk),[[ph,A.value]])])]),M("div",{id:"results",class:"grid uupgs-list",style:dt(F.value)},[(Y(!0),Q(Me,null,nt(Le.value,oe=>(Y(),Q("div",{key:oe.slug,class:"card uupg__card"},[oe.image_url?(Y(),Q("img",{key:0,class:"uupg__image",src:oe.image_url,alt:oe.name},null,8,eS)):Ie("",!0),M("div",tS,[M("h3",{class:"uupg__name",innerHTML:oe.name},null,8,oS),oe.country_code?(Y(),Q("p",nS,[M("a",{class:"uupg__country-link",href:ue(Fp)(d.value,ue(Nk)(oe.country_code.value,oe.country_code.label))},[M("span",{innerHTML:oe.country_label?oe.country_label:oe.country_code.label},null,8,rS)],8,aS),oe.rop1?(Y(),Q(Me,{key:0},[ie[3]||(ie[3]=pt(" (",-1)),M("span",{innerHTML:oe.rop1_label?oe.rop1_label:oe.rop1.label},null,8,sS),ie[4]||(ie[4]=pt(")",-1))],64)):Ie("",!0)])):Ie("",!0),oe.matches?(Y(!0),Q(Me,{key:1},nt(oe.matches,(fe,ze)=>(Y(),Q("p",{key:ze,class:"uupg__match"},[M("strong",null,re(fe.key),1),ie[5]||(ie[5]=pt(": ",-1)),M("span",{innerHTML:fe.label},null,8,iS)]))),128)):Ie("",!0)]),oe.location_description?(Y(),Q("p",lS,re(oe.location_description),1)):Ie("",!0),M("a",{class:"uupg__more-button",href:ue(Fp)(u.value,oe.slug)},re(v.value.full_profile||"Full Profile"),9,cS)]))),128)),G.value?(Y(),Q("div",uS,re(v.value.loading||"Loading…"),1)):ce.value?(Y(),Q("div",dS,re(v.value.load_failed||"People-group data could not be loaded. This is a connection problem, not your filter."),1)):Le.value.length?Ie("",!0):(Y(),Q("div",pS,re(v.value.no_results||"No people groups match this filter."),1))],4),Pe.value?(Y(),Q("button",{key:1,class:"pgg-loadmore",type:"button",onClick:ee},re(v.value.load_more||"Load More"),1)):Ie("",!0)])])}}}),[["styles",[Ik]]]),fS=":host{display:block;width:100%}",hS="dashboard-plus-grid/dashboard-plus-grid/index.html",mS=gn(Object.assign({inheritAttrs:!1},{__name:"dashboard-plus-grid",props:{profileConfig:{type:[String,Object],default:null}},setup(e){const t={wagf_region:"wagfRegion",wagf_block:"wagfBlock",affinity_bloc:"rop1",religion:"religion",country_code:"countryCode",primary_language:"primaryLanguage",engagement_status:"engagementStatus",cluster:"cluster",people_group:"peopleGroup",gospel_access:"gospelAccess",religion_family:"religionFamily",language_family:"languageFamily"},o=en({query:"",wagfRegion:"",wagfBlock:"",rop1:"",religion:"",countryCode:"",primaryLanguage:"",engagementStatus:"",cluster:"",peopleGroup:"",gospelAccess:"",religionFamily:"",languageFamily:""});function n({filterSet:x={},searchTerm:m=""}={}){o.query=m||"";for(const $ of Object.values(t))o[$]="";for(const[$,V]of Object.entries(x)){const I=t[$];I&&(o[I]=V==null?"":String(V))}}const a=e,r=te(()=>{const x=a.profileConfig;if(!x)return{};if(typeof x=="object")return x;try{return JSON.parse(x)}catch{return{}}}),s=te(()=>{var m;const x=(m=r.value)==null?void 0:m.tk;return typeof x=="string"&&x?x:""});s.value&&xi(s.value);const{blocked:i,advise:l,dismiss:c,label:u}=xv(r),d=te(()=>{var m;const x=(m=r.value)==null?void 0:m.provider;return x==="maplibre"||x==="mapbox"?x:""}),g=te(()=>{var m,$;const x=String(((m=r.value)==null?void 0:m.lang)||(($=r.value)==null?void 0:$.locale)||"").split("-")[0].toLowerCase();return ga.includes(x)?x:""});Pl(()=>{g.value&&td(g.value)});const w=te(()=>{const x=g.value||pn()||fa();return Gs.has(x)?"rtl":"ltr"}),A=po();function L(){var x,m,$,V;try{const I=(V=($=(m=(x=A==null?void 0:A.proxy)==null?void 0:x.$el)==null?void 0:m.getRootNode)==null?void 0:$.call(m))==null?void 0:V.host;I&&w.value==="rtl"&&I.setAttribute("dir","rtl")}catch{}}vt(L),Qe(w,L);const C=Kd(),F=jy(r,s),v=te(()=>s.value||C.value||"");so("mapboxToken",v);const k=te(()=>{var x;return typeof((x=r.value)==null?void 0:x.list)=="string"?r.value.list:""}),f=te(()=>k.value?JSON.stringify({list:k.value}):"");so("profileConfig",te(()=>({profile:"research-dashboard",layout:"page-scroll",shareUrl:zy(hS),...s.value?{tk:s.value}:{},...F.value?{tokenUrl:F.value}:{},...d.value?{provider:d.value}:{},...g.value?{lang:g.value}:{},...k.value?{list:k.value}:{}})));const _=Be("appI18n",null);Pl(()=>{g.value&&_&&(_.global.locale.value=g.value)});const b=[{key:"dashboard"},{key:"grid"}];return(x,m)=>(Y(),Q(Me,null,[ue(i)?(Y(),lo(Qd,{key:0,mode:"desktop-only",label:ue(u),locale:r.value.locale||""},null,8,["label","locale"])):ue(l)?(Y(),lo(Qd,{key:1,mode:"larger-screens",locale:r.value.locale||"",onDismiss:ue(c)},null,8,["locale","onDismiss"])):Ie("",!0),ue(i)?Ie("",!0):(Y(),lo(gv,{key:2,sections:b},{"section-dashboard":zo(()=>[We(Mk,{onDashboardFilter:n})]),"section-grid":zo(()=>[We(gS,{query:o.query,"wagf-region":o.wagfRegion,"wagf-block":o.wagfBlock,rop1:o.rop1,religion:o.religion,"country-code":o.countryCode,"primary-language":o.primaryLanguage,"engagement-status":o.engagementStatus,cluster:o.cluster,"people-group":o.peopleGroup,"gospel-access":o.gospelAccess,"religion-family":o.religionFamily,"language-family":o.languageFamily,"show-search":!1,"show-filters":!1,"show-total":!1,"profile-config":f.value},null,8,["query","wagf-region","wagf-block","rop1","religion","country-code","primary-language","engagement-status","cluster","people-group","gospel-access","religion-family","language-family","profile-config"])]),_:1}))],64))}}),[["styles",[fS]]]);Ny({"./affinity-block.js":{default:fd},"./doxa-region.js":{default:$d}}),Gd();const _S=ih(mS,{configureApp(e){e.use(wh());const t=ty();e.use(t),e.provide("appI18n",t)}});typeof customElements<"u"&&(customElements.get("dashboard-plus-grid")||customElements.define("dashboard-plus-grid",_S))})(); +`,"rd-shell-layout"),vt(()=>{const B=f.value&&f.value.getRootNode&&f.value.getRootNode().host;if(!B)return;const j=ne=>B.setAttribute("data-page-scroll",ne?"true":"false");j(ue(r)),Qe(()=>ue(r),j)}),(B,j)=>(Y(),Q("div",{ref_key:"shell",ref:f,class:Ke(["rd-shell",{"rd-narrow":ue(_),"rd-slim-rail":ue(b),"rd-slim-facet":ue(x),"rd-table-collapsed":ue(V),"rd-facet-collapsed":ue(I),"rd-rail-collapsed":ue(z),"rd-page-scroll":r.value}]),"data-row-count":ue(F),"data-loading":ue(v)?"1":"0","data-error":ue(k)||"","data-narrow":ue(_)?"1":"0"},[We(ue(_0)),We(ue(fk)),M("div",mk,[(Y(!0),Q(Me,null,nt(ue(l),ne=>(Y(),Q("div",{class:"kpi",key:ne.id},[M("span",{class:"n","data-kpi":ne.id},re(ne.kind==="count"&&ue(v)?"…":Se(ne)),9,_k),M("span",bk,re(ne.label),1),ne.delta?(Y(),Q("span",$k,"↓"+re(ue(Lr)(ne.delta)),1)):Ie("",!0)]))),128))]),zt(We(Rw,null,null,512),[[Kt,ue(ce)]]),zt(M("div",yk,[We(ue(V1)),ue(_)?Ie("",!0):(Y(),Q("button",{key:0,class:"rd-edge-caret rd-edge-facet",type:"button","data-toggle-facet":"",title:ue(I)?o("dashboard.show_filters","Show filters"):o("dashboard.hide_filters","Hide filters — grow the map"),onClick:y},re(ue(I)?"▸":"◂"),9,vk)),ue(_)?Ie("",!0):(Y(),Q("button",{key:1,class:"rd-edge-caret rd-edge-rail",type:"button","data-toggle-rail":"",title:ue(z)?o("dashboard.show_charts","Show charts"):o("dashboard.hide_charts","Hide charts — grow the map"),onClick:T},re(ue(z)?"◂":"▸"),9,wk))],512),[[Kt,ue(H)]]),zt(M("div",xk,[We(ue(U0))],512),[[Kt,ue(D)]]),zt(M("aside",kk,[We(ue(Xx)),We(ue(bx))],512),[[Kt,ue(ae)]]),zt(M("div",{class:"rd-rz rd-rz-facet","data-resize":"facet",role:"separator","aria-orientation":"vertical",tabindex:"0",title:o("aria.resizeFiltersRailHint","Drag or use arrow keys to resize the filters rail"),"aria-label":o("aria.resizeFiltersRail","Resize filters rail"),"aria-valuenow":ue(me),"aria-valuemin":"160","aria-valuemax":"420",onPointerdown:j[0]||(j[0]=(...ne)=>ue(P)&&ue(P)(...ne)),onKeydown:j[1]||(j[1]=ne=>ue(W)("facet",ne))},null,40,Sk),[[Kt,!ue(_)&&!ue(I)]]),zt(M("div",{class:"rd-rz rd-rz-rail","data-resize":"rail",role:"separator","aria-orientation":"vertical",tabindex:"0",title:o("aria.resizeChartsRailHint","Drag or use arrow keys to resize the charts rail"),"aria-label":o("aria.resizeChartsRail","Resize charts rail"),"aria-valuenow":ue(be),"aria-valuemin":"200","aria-valuemax":"520",onPointerdown:j[2]||(j[2]=(...ne)=>ue(Z)&&ue(Z)(...ne)),onKeydown:j[3]||(j[3]=ne=>ue(W)("rail",ne))},null,40,Ak),[[Kt,!ue(_)&&!ue(z)]]),zt(M("div",{class:"rd-rz rd-rz-table","data-resize":"table",role:"separator","aria-orientation":"horizontal",tabindex:"0",title:r.value?o("aria.resizeMapTableSplitHint","Drag or use arrow keys to resize the map/table split"):o("aria.resizeTableHint","Drag or use arrow keys to resize the table"),"aria-label":r.value?o("aria.resizeMapTableSplit","Resize map/table split"):o("aria.resizeTable","Resize table height"),"aria-valuenow":r.value?ue(Te):parseFloat(ue(Ae))||34,"aria-valuemin":r.value?220:12,"aria-valuemax":r.value?1400:70,onPointerdown:j[4]||(j[4]=(...ne)=>ue(N)&&ue(N)(...ne)),onKeydown:j[5]||(j[5]=ne=>ue(W)("table",ne))},null,40,Lk),[[Kt,!ue(_)&&!ue(V)]]),zt(M("div",{class:"rd-rz rd-rz-shell","data-resize":"shell",role:"separator","aria-orientation":"horizontal",tabindex:"0",title:o("aria.resizeDashboardHeightHint","Drag or use arrow keys to resize the dashboard's height"),"aria-label":o("aria.resizeDashboardHeight","Resize dashboard height"),"aria-valuenow":ue(He),"aria-valuemin":"400","aria-valuemax":"2600",onPointerdown:j[6]||(j[6]=(...ne)=>ue(E)&&ue(E)(...ne)),onKeydown:j[7]||(j[7]=ne=>ue(W)("shell",ne))},null,40,Tk),[[Kt,!ue(_)&&r.value]]),M("div",Ck,re(g.value),1),M("div",{class:"rd-seg","data-segmented":"",onClick:j[8]||(j[8]=(...ne)=>ue(G)&&ue(G)(...ne))},[(Y(!0),Q(Me,null,nt(ue($),ne=>(Y(),Q("button",{key:ne.k,class:Ke({on:ue(m)===ne.k}),"data-view-btn":"","data-view":ne.k},re(ne.l),11,Pk))),128))]),$e.value?(Y(),Q("div",{key:0,class:"rd-exportbar","data-export-bar":"",onClick:S},[M("b",null,re($e.value)+" "+re(o("dashboard.selected","Selected")),1),j[9]||(j[9]=M("span",{class:"sp"},null,-1)),M("button",Ek,re(o("controls.clear","Clear")),1),M("button",Mk,re(o("dashboard.export_csv","Export CSV"))+" ↓",1)])):Ie("",!0)],10,hk))}},Nk={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function Rr(e){return e==null?"":String(e).replace(/[&<>"'`]/g,t=>Nk[t])}function Ok(e,t){const o=String(e??"");if(!Array.isArray(t)||t.length===0)return Rr(o);let n=0,a="";return t.forEach((r,s)=>{const[i,l]=r,c=s===t.length-1;a+=Rr(o.slice(n,i))+''+Rr(o.slice(i,l+1))+""+(c?Rr(o.slice(l+1)):""),n=l+1}),a}function Ik(e,t){return String(t||e||"").trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Op(e,t=""){const o=String(e??"").replace(/\/+$/,""),n=String(t??"").replace(/^\/+/,"");return n?`${o}/${n}`:`${o}/`}function zk(e){var o,n;const t=((o=e==null?void 0:e.vnode)==null?void 0:o.el)||((n=e==null?void 0:e.proxy)==null?void 0:n.$el);try{const a=t&&t.getRootNode&&t.getRootNode();if(a&&a.host)return a.host}catch{}return t}const Dk=":host{display:block;width:100%;--dx-surface: #f3f3f1;--dx-elevated: #ffffff;--dx-text: #3b463d;--dx-muted: #6d766e;--dx-line: #d1d4cd;--dx-accent: #92b195;--dx-accent-weak: rgba(146, 177, 149, .18);--dx-accent-soft: rgba(146, 177, 149, .1);--dx-accent-strong: #657967}.pgg-root{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);--bg: var(--dx-surface, #f3f3f1);width:100%;box-sizing:border-box;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;padding:16px}.filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding-block:18px 8px;min-height:190px}.pgg-search{display:flex;justify-content:center}.pgg-search--repel{gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between;width:100%;max-width:600px;margin-inline:auto}.pgg-search--repel>:first-child{flex:1 1 320px;min-width:0}.pgg-exact{flex:none}.filters__toggle{background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--dx-text, #3b463d);padding:7px 12px;display:inline-flex;align-items:center;gap:7px;margin-inline:auto;transition:background-color .15s ease,border-color .15s ease}.filters__toggle:hover{background:var(--dx-accent-weak, rgba(146,177,149,.18));border-color:var(--dx-accent, #92b195)}.filters__toggle:focus-visible{outline:2px solid var(--dx-accent, #92b195);outline-offset:2px}.filters__toggle-icon{color:var(--dx-accent, #92b195);flex:none}.filters__toggle-count{background:var(--dx-accent, #92b195);color:#fff;border-radius:999px;min-width:18px;padding:0 5px;font-size:.75rem;line-height:18px;text-align:center}.filters__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.filters__panel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:flex-start}.filter-toggle{padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;transition:border-color .15s ease,background .15s ease}.filter-toggle:hover{border-color:var(--brand)}.filter-toggle[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.filters__active{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.filter-chip{display:inline-flex;gap:6px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:4px 12px;font-size:.85rem}.filter-chip__remove{background:none;border:none;cursor:pointer;font-size:1.1em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center}.filter-chip__remove:hover{opacity:.7}.filters__clear-all{background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.repel{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.font-size-sm{font-size:.875rem;color:var(--mut)}.grid.uupgs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.pgg-gridbar{display:flex;justify-content:flex-end;margin-bottom:8px;padding-inline-end:8px}.pgg-perrow{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--mut)}.pgg-perrow select{font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:6px;padding:2px 6px}.card.uupg__card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.uupg__image{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:var(--line)}.uupg__header{padding:12px 14px 6px}.uupg__name{font-size:1rem;font-weight:700;line-height:1.2;margin:0 0 4px}.uupg__country{font-size:.85rem;color:var(--mut);margin:0}.uupg__country-link{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:1px;text-underline-offset:2px}.uupg__country-link:hover{text-decoration-thickness:2px}.uupg__match{font-size:.8rem;color:var(--mut);margin:4px 0 0}.uupg__content{padding:0 14px;font-size:.85rem;color:var(--mut)}.uupg__more-button{margin:12px 14px 14px;padding:8px 12px;text-align:center;font-size:.85rem;font-weight:700;color:var(--dx-elevated, #fff);background:var(--dx-accent-strong, #657967);border-radius:8px;text-decoration:none}.uupg__more-button:hover{background:var(--dx-text, #3b463d)}.search-highlight{background:#fde68a;border-radius:2px;padding:0 1px}.loading,.pgg-empty{grid-column:1 / -1;padding:28px;text-align:center;color:var(--mut);font-size:.9rem}.pgg-failed{font-weight:600;border-top:1px solid var(--bd, #d1d4cd)}.pgg-loadmore{display:block;margin:20px auto 0;padding:8px 18px;font-size:.9rem;cursor:pointer;color:var(--ink);background:var(--card);border:1px solid var(--brand);border-radius:8px}.pgg-loadmore:hover{background:var(--dx-accent-soft, rgba(146, 177, 149, .1))}",Bk={class:"pgg-root"},Hk={key:0,class:"pgg-search pgg-search--repel"},Uk=["data-active"],jk=["aria-expanded"],Gk={key:0,class:"filters__toggle-count"},Wk={key:2,class:"filters__panel"},qk={key:3,class:"filters__active"},Vk=["onClick"],Kk={class:"pgg-body"},Yk={key:0,class:"repel"},Zk={class:"font-size-sm"},Xk={key:1},Jk={class:"pgg-gridbar"},Qk={class:"pgg-perrow"},eS=["aria-label"],tS=["value"],oS=["src","alt"],nS={class:"uupg__header"},aS=["innerHTML"],rS={key:0,class:"uupg__country"},sS=["href"],iS=["innerHTML"],lS=["innerHTML"],cS=["innerHTML"],uS={key:1,class:"uupg__content"},dS=["href"],pS={key:0,class:"loading"},gS={key:1,class:"pgg-empty pgg-failed",role:"status"},fS={key:2,class:"pgg-empty"},hS=gn(Object.assign({inheritAttrs:!1},{__name:"people-groups-grid",props:{profileConfig:{type:String,default:""},prayBaseUrl:{type:String,default:""},languageCode:{type:String,default:""},researchUrl:{type:String,default:""},countryUrl:{type:String,default:""},selectUrl:{type:String,default:""},t:{type:Object,default:()=>({})},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},showTotal:{type:[Boolean,String],default:!0},query:{type:String,default:""},wagfRegion:{type:String,default:""},wagfBlock:{type:String,default:""},rop1:{type:String,default:""},religion:{type:String,default:""},countryCode:{type:String,default:""},primaryLanguage:{type:String,default:""},cluster:{type:String,default:""},peopleGroup:{type:String,default:""},engagementStatus:{type:String,default:""},gospelAccess:{type:String,default:""},religionFamily:{type:String,default:""},languageFamily:{type:String,default:""},perPage:{type:Number,default:24},morePerPage:{type:Number,default:0}},emits:["groups-filtered"],setup(e,{emit:t}){const o=e,n=t,a=te(()=>{if(!o.profileConfig)return{};try{return JSON.parse(o.profileConfig)||{}}catch{return{}}}),r=te(()=>!b.value&&!x.value?null:{backgroundImage:`url(${wi(a.value)}/images/worldmap.svg)`,backgroundSize:"60%",backgroundPosition:"top center",backgroundRepeat:"no-repeat"}),s=te(()=>o.prayBaseUrl||a.value.prayBaseUrl||"https://pray.doxa.life"),i=te(()=>o.languageCode||a.value.languageCode||a.value.locale||a.value.lang||td()||""),l=te(()=>{const X=i.value||Vo()||Pn();return Gs.has(String(X).split("-")[0].toLowerCase())?"rtl":"ltr"});function c(){try{const X=ge();X&&X.setAttribute&&l.value==="rtl"&&X.setAttribute("dir","rtl")}catch{}}Qe(l,c);const u=te(()=>o.researchUrl||a.value.researchUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/research/"),d=te(()=>o.countryUrl||a.value.countryUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/regions/"),g=["auto","1","2","3","4","5"],w=te(()=>`pgg-cards-per-row:${a.value.profile||"default"}`),A=pe("auto");let L=!1;function C(){try{const X=localStorage.getItem(w.value);X&&g.includes(X)&&(A.value=X)}catch{}}C(),Qe(w,(X,ie)=>{X!==ie&&!L&&C()}),Qe(A,X=>{L=!0;try{localStorage.setItem(w.value,X)}catch{}});const F=te(()=>A.value==="auto"?null:{gridTemplateColumns:`repeat(${A.value}, minmax(0, 1fr))`}),v=te(()=>{const X={...a.value.t||{},...o.t||{}},ie=a.value.locale||a.value.lang||void 0;return new Proxy(X,{get(_e,ye){if(ye in _e)return _e[ye];if(typeof ye=="string")return we("grid."+ye,ie)}})}),k=X=>!(X===!1||X==="false"||X==="0"||X===0),f=(X,ie)=>{const _e=a.value;return(_e==null?void 0:_e[X])!==void 0?_e[X]:_e==null?void 0:_e[ie]},_=(X,ie,_e)=>{if(X!==void 0&&X!==!0)return k(X);const ye=f(ie,_e);return k(ye===void 0?X:ye)},b=te(()=>_(o.showSearch,"showSearch","show-search")),x=te(()=>_(o.showFilters,"showFilters","show-filters")),m=te(()=>_(o.showTotal,"showTotal","show-total")),$=pe([]),V=pe([]),I=pe(0),z=pe(1),G=pe(!0),ce=pe(!1),H=pe(!0),D=pe({}),ae=pe(""),P=pe({}),Z=te(()=>b.value?ae.value:o.query||""),N=te(()=>{const X={},ie=_e=>_e;return o.wagfRegion&&(X.wagf_region={value:o.wagfRegion,label:ie(o.wagfRegion)}),o.wagfBlock&&(X.wagf_block={value:o.wagfBlock,label:ie(o.wagfBlock)}),o.rop1&&(X.rop1={value:o.rop1,label:ie(o.rop1)}),o.religion&&(X.religion={value:o.religion,label:ie(o.religion)}),o.countryCode&&(X.country_code={value:o.countryCode,label:ie(o.countryCode)}),o.primaryLanguage&&(X.primary_language={value:o.primaryLanguage,label:ie(o.primaryLanguage)}),o.engagementStatus&&(X.engagement_status={value:o.engagementStatus,label:ie(o.engagementStatus)}),o.cluster&&(X.imb_reg_of_people_2={value:o.cluster,label:ie(o.cluster)}),o.peopleGroup&&(X.imb_reg_of_people_25={value:o.peopleGroup,label:ie(o.peopleGroup)}),o.gospelAccess&&(X.imb_gsec={value:o.gospelAccess,label:ie(o.gospelAccess)}),o.religionFamily&&(X.__religion_family={value:o.religionFamily,label:ie(o.religionFamily)}),o.languageFamily&&(X.__language_family={value:o.languageFamily,label:ie(o.languageFamily)}),X}),E=te(()=>x.value?P.value:N.value);Qe(()=>o.wagfRegion,X=>{if(!x.value)return;const ie=P.value.wagf_region;if(X){if(ie&&ie.value===X)return;const _e=(D.value&&D.value.wagf_region||[]).find(ye=>ye.value===X);P.value={...P.value,wagf_region:{value:X,label:_e&&_e.label||X}}}else if(ie){const _e={...P.value};delete _e.wagf_region,P.value=_e}}),Qe(()=>o.religionFamily,X=>{if(!x.value)return;const ie=P.value.__religion_family;if(X){if(ie&&S(ie.value)===S(X))return;P.value={...P.value,__religion_family:{value:X,label:X}}}else if(ie){const _e={...P.value};delete _e.__religion_family,P.value=_e}}),Qe(()=>o.primaryLanguage,X=>{if(!x.value)return;const ie=P.value.primary_language;if(X){if(ie&&S(ie.value)===S(X))return;P.value={...P.value,primary_language:{value:X,label:X}}}else if(ie){const _e={...P.value};delete _e.primary_language,P.value=_e}});const W=te(()=>Object.values(E.value||{}).filter(X=>X&&X.value!==""&&X.value!=null).length),me=te(()=>Object.keys(E.value).length),be=te(()=>W.value>0||!!(Z.value||"").trim());function Ae(X,ie=500){let _e;return(...ye)=>{clearTimeout(_e),_e=setTimeout(()=>X(...ye),ie)}}const Te=Ae(()=>{G.value=!0,z.value=1,O()},500);function He(X){ae.value=(X==null?void 0:X.value)??"",Te()}function Se(){H.value=!H.value}function $e(X){P.value={...P.value,[X.name]:{value:X.value,label:X.label}},z.value=1,O()}function xe(X){ke(X.name)}function ke(X){const ie={...P.value};delete ie[X],P.value=ie,z.value=1,O()}function y(){P.value={},z.value=1,O()}function T(){if(P.value.exact)return ke("exact");P.value={...P.value,exact:{value:"yes",label:v.value.exact_filter||"Exact"}},z.value=1,O()}const S=X=>String(X??"").toLowerCase().replace(/[\s_&-]+/g,""),K={__religion_family:X=>{const ie=X.religion&&typeof X.religion=="object"?X.religion.value:X.religion,_e=String(ie||"").charAt(0).toUpperCase(),ye=_e&&mo[_e]?mo[_e]:"";return ye?{value:ye,label:ye}:null},__language_family:X=>{const ie=X.imb_language_family,_e=ie&&typeof ie=="object"?ie.label||ie.value:ie;let ye="";if(_e)ye=Mn(_e);else{const Re=X.primary_language&&typeof X.primary_language=="object"?X.primary_language.value:null,q=Re&&Fp[Re];ye=q?Mn(q):""}return ye?{value:ye,label:ye}:null}},B=(X,ie)=>K[ie]?K[ie](X):X[ie];function j(X,ie){if(!X)return!1;const _e=ie==null?void 0:ie.value;if(_e==null||_e==="")return!1;const ye=(Array.isArray(_e)?_e:String(_e).split("|")).map(oe=>S(oe)).filter(Boolean);if(!ye.length)return!1;const Re=S(X.value),q=S(X.label);return ye.some(oe=>Re===oe||q===oe)}function ne(X){let ie=X;for(const[_e,ye]of Object.entries(E.value))_e==="exact"?ie=ie:ie=ie.filter(Re=>j(B(Re,_e),ye));return ie}function le(){const X=ie=>{const _e=new Map;for(const ye of $.value){const Re=ye[ie];if(!(Re!=null&&Re.value))continue;const q=_e.get(Re.value);q?q.count++:_e.set(Re.value,{label:Re.label,count:1})}return Array.from(_e.entries()).map(([ye,{label:Re,count:q}])=>({value:ye,label:Re,count:q})).sort((ye,Re)=>ye.label.localeCompare(Re.label))};D.value={wagf_region:X("wagf_region"),wagf_block:X("wagf_block"),rop1:X("rop1"),religion:X("religion")}}function h(){const X=Object.keys(D.value),ie={};for(const _e of X){const ye={};for(const[oe,fe]of Object.entries(E.value))oe!==_e&&(ye[oe]=fe);const Re=p(ye,$.value),q=new Map;for(const oe of Re){const fe=oe[_e];fe!=null&&fe.value&&q.set(fe.value,(q.get(fe.value)??0)+1)}ie[_e]=(D.value[_e]??[]).map(oe=>({...oe,count:q.get(oe.value)??0}))}D.value=ie}function p(X,ie){let _e=ie;for(const[ye,Re]of Object.entries(X))ye!=="exact"&&(_e=_e.filter(q=>j(B(q,ye),Re)));return _e}function O(){$.value=$.value.map(q=>(q.matches=[],q.country_label="",q.rop1_label="",q));const ie=Object.keys(E.value).length>0?ne($.value):$.value,_e=Z.value;if(!_e){V.value=ie,I.value=V.value.length,G.value=!1,h(),de();return}const Re=new Pv(ie,{includeMatches:!0,ignoreLocation:!0,minMatchCharLength:3,threshold:E.value.exact?0:.4,keys:["name","imb_alternate_name","country_code.label","rop1.label","religion.label","wagf_region.label","wagf_block.label"]}).search(_e);V.value=Re.map(q=>{var fe;const oe={...q.item};if(!q.matches)return oe;oe.matches=[];for(const ze of q.matches){const De=ze.key;if(!De)continue;let mt="";if(String(De).includes(".")){const[rt,_t]=String(De).split(".");mt=(fe=oe[rt])==null?void 0:fe[_t]}else mt=oe[String(De)];if(mt&&typeof mt=="string"){const rt=Ok(mt,ze.indices);if(String(De).includes("imb_alternate_name"))oe.matches.push({key:v.value.alternate_name??"Also known as",label:rt});else if(String(De).includes(".")){const[_t]=String(De).split("."),Jt={religion:v.value.religion,country_code:v.value.country,rop1:v.value.rop1,wagf_region:v.value.wagf_region,wagf_block:v.value.wagf_block};_t==="rop1"?oe.rop1_label=rt:_t==="country_code"?oe.country_label=rt:_t==="wagf_region"||oe.matches.push({key:Jt[_t]??_t,label:rt})}else oe[String(De)]=rt}}return oe}),I.value=V.value.length,G.value=!1,h(),de()}const J=po(),ge=()=>zk(J);function de(){const X={query:Z.value,activeFilters:E.value,total:I.value,slugs:V.value.map(_e=>_e.slug)};n("groups-filtered",X);const ie=ge();ie&&typeof ie.dispatchEvent=="function"&&ie.dispatchEvent(new CustomEvent("groups-filtered",{detail:X,bubbles:!0,composed:!0}))}function U(){return o.morePerPage>0?I.value>o.perPage+(z.value-1)*o.morePerPage&&!G.value&&V.value.length>0:I.value>z.value*o.perPage&&!G.value&&V.value.length>0}function ee(){z.value=z.value+1}const Le=te(()=>o.morePerPage>0?V.value.slice(0,o.perPage+(z.value-1)*o.morePerPage):V.value.slice(0,z.value*o.perPage)),Pe=te(()=>U());async function Ye(){const X=`${s.value}/api/people-groups/list?fields=name,slug,wagf_region,wagf_block,country_code,rop1,religion,has_photo,image_url,adopted_by_churches,imb_alternate_name,engagement_status,people_committed,primary_language,imb_reg_of_people_2,imb_reg_of_people_25,imb_gsec,imb_language_family&lang=${i.value}`;G.value=!0,ce.value=!1;try{const ie=await fetch(X);if(!ie.ok)throw new Error(`HTTP ${ie.status}`);const _e=await ie.json(),ye=Array.isArray(_e.posts)?_e.posts:[],Re=await ya(ye,o.profileConfig);I.value=Re===ye?_e.total:Re.length,$.value=Re,le(),O()}catch(ie){console.error("[people-groups-grid] fetch error:",ie),ce.value=!0,$.value=[],G.value=!1}}Qe(()=>[o.query,N.value,b.value,x.value],()=>{z.value=1,O()});function at(X){const ie=new Set;for(const _e of $.value||[]){const ye=B(_e,X),Re=ye&&typeof ye=="object"?ye.label:ye;typeof Re=="string"&&Re&&ie.add(Re)}return[...ie].sort()}return Va(()=>{typeof window<"u"&&window.__peopleGroupsGridVocabulary===at&&delete window.__peopleGroupsGridVocabulary}),vt(()=>{const X=ge();X&&(X.__vocabulary=at),typeof window<"u"&&(window.__peopleGroupsGridVocabulary=at),c(),Ye()}),(X,ie)=>{var _e,ye,Re,q;return Y(),Q("div",Bk,[b.value||x.value?(Y(),Q("div",{key:0,id:"filters",class:"filters",style:dt(r.value)},[b.value?(Y(),Q("div",Hk,[We(Ri,{"model-value":ae.value,placeholder:v.value.search||"Search people groups…","aria-label":v.value.search||"Search people groups","max-width":"480px",onSearch:He},null,8,["model-value","placeholder","aria-label"]),x.value?(Y(),Q("button",{key:0,class:"filter-toggle pgg-exact",type:"button","data-active":E.value.exact?"":void 0,onClick:T},re(v.value.exact_filter||"Exact"),9,Uk)):Ie("",!0)])):Ie("",!0),x.value?(Y(),Q("button",{key:1,class:"filters__toggle",type:"button","aria-expanded":H.value,onClick:Se},[ie[1]||(ie[1]=M("svg",{class:"filters__toggle-icon",width:"13",height:"13",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[M("path",{d:"M1.5 2.5h9M3 6h6M4.5 9.5h3",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)),pt(" "+re(H.value?v.value.hide_filters||"Hide Filters":v.value.show_filters||"Show Filters")+" ",1),W.value?(Y(),Q("span",Gk,re(W.value),1)):Ie("",!0),ie[2]||(ie[2]=M("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[M("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,jk)):Ie("",!0),x.value&&H.value?(Y(),Q("div",Wk,[We(Sa,{label:v.value.wagf_region||"Region",name:"wagf_region",options:D.value.wagf_region||[],value:((_e=E.value.wagf_region)==null?void 0:_e.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"]),We(Sa,{label:v.value.wagf_block||"Bloc",name:"wagf_block",options:D.value.wagf_block||[],value:((ye=E.value.wagf_block)==null?void 0:ye.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"]),We(Sa,{label:v.value.rop1||"People Group",name:"rop1",options:D.value.rop1||[],value:((Re=E.value.rop1)==null?void 0:Re.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"]),We(Sa,{label:v.value.religion||"Religion",name:"religion",options:D.value.religion||[],value:((q=E.value.religion)==null?void 0:q.value)??"",placeholder:v.value.type_to_search||"Type to search...",onFilterChange:$e,onFilterClear:xe},null,8,["label","options","value","placeholder"])])):Ie("",!0),x.value&&me.value>0?(Y(),Q("div",qk,[(Y(!0),Q(Me,null,nt(E.value,(oe,fe)=>(Y(),Q("span",{key:fe,class:"filter-chip"},[pt(re(oe.label)+" ",1),M("button",{class:"filter-chip__remove",type:"button",onClick:ze=>ke(String(fe))},"×",8,Vk)]))),128)),M("button",{class:"filters__clear-all",type:"button",onClick:y},re(v.value.clear_all||"Clear All"),1)])):Ie("",!0)],4)):Ie("",!0),M("div",Kk,[m.value||be.value?(Y(),Q("div",Yk,[M("div",Zk,[G.value?(Y(),Q("span",Xk," ")):(Y(),Q(Me,{key:0},[pt(re(be.value&&!m.value?(v.value.showing||"Showing")+" "+ue(Xo)(I.value):(v.value.total||"Total")+": "+ue(Xo)(I.value)),1)],64))])])):Ie("",!0),M("div",Jk,[M("label",Qk,[M("span",null,re(v.value.cards_per_row),1),zt(M("select",{"onUpdate:modelValue":ie[0]||(ie[0]=oe=>A.value=oe),"aria-label":v.value.cards_per_row},[(Y(),Q(Me,null,nt(g,oe=>M("option",{key:oe,value:oe},re(oe==="auto"?v.value.cards_per_row_auto:oe),9,tS)),64))],8,eS),[[fh,A.value]])])]),M("div",{id:"results",class:"grid uupgs-list",style:dt(F.value)},[(Y(!0),Q(Me,null,nt(Le.value,oe=>(Y(),Q("div",{key:oe.slug,class:"card uupg__card"},[oe.image_url?(Y(),Q("img",{key:0,class:"uupg__image",src:oe.image_url,alt:oe.name},null,8,oS)):Ie("",!0),M("div",nS,[M("h3",{class:"uupg__name",innerHTML:oe.name},null,8,aS),oe.country_code?(Y(),Q("p",rS,[M("a",{class:"uupg__country-link",href:ue(Op)(d.value,ue(Ik)(oe.country_code.value,oe.country_code.label))},[M("span",{innerHTML:oe.country_label?oe.country_label:oe.country_code.label},null,8,iS)],8,sS),oe.rop1?(Y(),Q(Me,{key:0},[ie[3]||(ie[3]=pt(" (",-1)),M("span",{innerHTML:oe.rop1_label?oe.rop1_label:oe.rop1.label},null,8,lS),ie[4]||(ie[4]=pt(")",-1))],64)):Ie("",!0)])):Ie("",!0),oe.matches?(Y(!0),Q(Me,{key:1},nt(oe.matches,(fe,ze)=>(Y(),Q("p",{key:ze,class:"uupg__match"},[M("strong",null,re(fe.key),1),ie[5]||(ie[5]=pt(": ",-1)),M("span",{innerHTML:fe.label},null,8,cS)]))),128)):Ie("",!0)]),oe.location_description?(Y(),Q("p",uS,re(oe.location_description),1)):Ie("",!0),M("a",{class:"uupg__more-button",href:ue(Op)(u.value,oe.slug)},re(v.value.full_profile||"Full Profile"),9,dS)]))),128)),G.value?(Y(),Q("div",pS,re(v.value.loading||"Loading…"),1)):ce.value?(Y(),Q("div",gS,re(v.value.load_failed||"People-group data could not be loaded. This is a connection problem, not your filter."),1)):Le.value.length?Ie("",!0):(Y(),Q("div",fS,re(v.value.no_results||"No people groups match this filter."),1))],4),Pe.value?(Y(),Q("button",{key:1,class:"pgg-loadmore",type:"button",onClick:ee},re(v.value.load_more||"Load More"),1)):Ie("",!0)])])}}}),[["styles",[Dk]]]),mS=":host{display:block;width:100%}",_S="dashboard-plus-grid/dashboard-plus-grid/index.html",bS=gn(Object.assign({inheritAttrs:!1},{__name:"dashboard-plus-grid",props:{profileConfig:{type:[String,Object],default:null}},setup(e){const t={wagf_region:"wagfRegion",wagf_block:"wagfBlock",affinity_bloc:"rop1",religion:"religion",country_code:"countryCode",primary_language:"primaryLanguage",engagement_status:"engagementStatus",cluster:"cluster",people_group:"peopleGroup",gospel_access:"gospelAccess",religion_family:"religionFamily",language_family:"languageFamily"},o=tn({query:"",wagfRegion:"",wagfBlock:"",rop1:"",religion:"",countryCode:"",primaryLanguage:"",engagementStatus:"",cluster:"",peopleGroup:"",gospelAccess:"",religionFamily:"",languageFamily:""});function n({filterSet:x={},searchTerm:m=""}={}){o.query=m||"";for(const $ of Object.values(t))o[$]="";for(const[$,V]of Object.entries(x)){const I=t[$];I&&(o[I]=V==null?"":String(V))}}const a=e,r=te(()=>{const x=a.profileConfig;if(!x)return{};if(typeof x=="object")return x;try{return JSON.parse(x)}catch{return{}}}),s=te(()=>{var m;const x=(m=r.value)==null?void 0:m.tk;return typeof x=="string"&&x?x:""});s.value&&Si(s.value);const{blocked:i,advise:l,dismiss:c,label:u}=Sv(r),d=te(()=>{var m;const x=(m=r.value)==null?void 0:m.provider;return x==="maplibre"||x==="mapbox"?x:""}),g=te(()=>{var m,$;const x=String(((m=r.value)==null?void 0:m.lang)||(($=r.value)==null?void 0:$.locale)||"").split("-")[0].toLowerCase();return fa.includes(x)?x:""});Ml(()=>{g.value&&nd(g.value)});const w=te(()=>{const x=g.value||Vo()||Pn();return Gs.has(x)?"rtl":"ltr"}),A=po();function L(){var x,m,$,V;try{const I=(V=($=(m=(x=A==null?void 0:A.proxy)==null?void 0:x.$el)==null?void 0:m.getRootNode)==null?void 0:$.call(m))==null?void 0:V.host;I&&w.value==="rtl"&&I.setAttribute("dir","rtl")}catch{}}vt(L),Qe(w,L);const C=Zd(),F=Wy(r,s),v=te(()=>s.value||C.value||"");so("mapboxToken",v);const k=te(()=>{var x;return typeof((x=r.value)==null?void 0:x.list)=="string"?r.value.list:""}),f=te(()=>k.value?JSON.stringify({list:k.value}):"");so("profileConfig",te(()=>({profile:"research-dashboard",layout:"page-scroll",shareUrl:By(_S),...s.value?{tk:s.value}:{},...F.value?{tokenUrl:F.value}:{},...d.value?{provider:d.value}:{},...g.value?{lang:g.value}:{},...k.value?{list:k.value}:{}})));const _=Be("appI18n",null);Ml(()=>{g.value&&_&&(_.global.locale.value=g.value)});const b=[{key:"dashboard"},{key:"grid"}];return(x,m)=>(Y(),Q(Me,null,[ue(i)?(Y(),lo(tp,{key:0,mode:"desktop-only",label:ue(u),locale:r.value.locale||""},null,8,["label","locale"])):ue(l)?(Y(),lo(tp,{key:1,mode:"larger-screens",locale:r.value.locale||"",onDismiss:ue(c)},null,8,["locale","onDismiss"])):Ie("",!0),ue(i)?Ie("",!0):(Y(),lo(hv,{key:2,sections:b},{"section-dashboard":zo(()=>[We(Fk,{onDashboardFilter:n})]),"section-grid":zo(()=>[We(hS,{query:o.query,"wagf-region":o.wagfRegion,"wagf-block":o.wagfBlock,rop1:o.rop1,religion:o.religion,"country-code":o.countryCode,"primary-language":o.primaryLanguage,"engagement-status":o.engagementStatus,cluster:o.cluster,"people-group":o.peopleGroup,"gospel-access":o.gospelAccess,"religion-family":o.religionFamily,"language-family":o.languageFamily,"show-search":!1,"show-filters":!1,"show-total":!1,"profile-config":f.value},null,8,["query","wagf-region","wagf-block","rop1","religion","country-code","primary-language","engagement-status","cluster","people-group","gospel-access","religion-family","language-family","profile-config"])]),_:1}))],64))}}),[["styles",[mS]]]);Iy({"./affinity-block.js":{default:md},"./doxa-region.js":{default:vd}}),qd();const $S=ch(bS,{configureApp(e){e.use(kh());const t=ny();e.use(t),e.provide("appI18n",t)}});typeof customElements<"u"&&(customElements.get("dashboard-plus-grid")||customElements.define("dashboard-plus-grid",$S))})(); diff --git a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html index e90517e2c..8e0bd1be1 100644 --- a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html +++ b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html @@ -76,7 +76,7 @@ - + - + \n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" }, "instances": [ { diff --git a/public/dx-maps/manifest.json b/public/dx-maps/manifest.json index 3078094b2..d7ce83f88 100644 --- a/public/dx-maps/manifest.json +++ b/public/dx-maps/manifest.json @@ -266,7 +266,7 @@ "bundle": "dashboard-plus-grid", "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "output": "dx-maps/dashboard-plus-grid/dashboard-plus-grid.js", - "integrity": "sha384-M7HGXKAymPpprF7GQpChyR2YYHfRiyNNtDnx5gCE8PyEwe28ST9g9iQSLIvriU+j", + "integrity": "sha384-OGHwh/yUtLePAkQAFH/DaXGqeAxim8A2Bpg8zO30aHZEcbMC5btO7l3GbDkZ1a+d", "elements": [ "dashboard-plus-grid" ], @@ -290,8 +290,8 @@ "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" }, "instances": [ {