1491 lines
834 KiB
JavaScript
1491 lines
834 KiB
JavaScript
(function(){"use strict";var Vg;var Tn=typeof document<"u"?document.currentScript:null;const jP="modulepreload",UP=function(e){return"/"+e},zP={},oo=function(t,o,n){let a=Promise.resolve();function s(r){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r}return a.then(r=>{for(const i of r||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})},$r="affinityBlock",Nn="#95a5a6",Eo={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"},es={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=es,Nl=Object.entries(Eo).reduce((e,[t,o])=>(e[o]=t,e),{}),yr=Object.entries(Eo).reduce((e,[t,o])=>(e[o]=Ko[t],e),{}),Ml=Eo;function _r(e){return Eo[e]||"Unknown"}function vr(e){return Ko[e]||Nn}function Rl(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?Ko[e]||Nn:yr[e]||Nn:Nn}function Fl(){return Object.entries(Eo).map(([e,t])=>({code:e,name:t,color:Ko[e]}))}function Il(e){return{code:e,name:Eo[e]||"Unknown",color:Ko[e]||Nn}}function Ol(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return vr(t)}function Dl(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return _r(t)}function kr(){const e=["match",["get",$r]];return Object.entries(Ko).forEach(([t,o])=>{e.push(t,o)}),e.push(Nn),e}const Bl=kr,uf=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Ko,AFFINITY_BLOCK_COLORS_BY_NAME:yr,AFFINITY_BLOCK_NAMES:Eo,AFFINITY_BLOCK_NAME_TO_CODE:Nl,NAMES:Ml,PALETTE:es,PROPERTY_KEY:$r,affinityBlockCodeLookup:Eo,affinityBlockCodeToColor:Ko,affinityBlockCodeToName:Eo,affinityBlockColors:yr,affinityBlockNameToCode:Nl,applyColor:kr,buildColorExpression:Bl,default:{name:"Affinity Block",propertyKey:$r,palette:es,colors:es,names:Ml,getColor:Ol,applyColor:kr,buildColorExpression:Bl,getName:Dl,getAffinityBlockName:_r,getAffinityBlockColor:Rl,getAffinityBlockColorByCode:vr,getAffinityBlocksArray:Fl,getAffinityBlockData:Il},getAffinityBlockColor:Rl,getAffinityBlockColorByCode:vr,getAffinityBlockData:Il,getAffinityBlockName:_r,getAffinityBlocksArray:Fl,getColor:Ol,getName:Dl},Symbol.toStringTag,{value:"Module"}));function pf(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);return`hsl(${Math.abs(t%360)}, 60%, 50%)`}const wr="doxaRegion",Gl="#0098FF",xr="#95a5a6",ts={Africa:"#ff2e2e",Asia:"#1a8cff",Europe:"#1ee05f","Latin America & Caribbean":"#FFEB3B","Middle East":"#a83dff","No WAGF Region/Bloc":"#1a1a2e","North America & Non-Spanish Caribbean":"#00e0bd",Oceania:"#ff7f11"},df=ts,os={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11",na:"#1a1a2e"};function Lr(e){return e?os[String(e).toLowerCase()]||xr:Gl}const Sr={Africa:"#ff2e2e","East Asia":"#1a8cff",Asia:"#1a8cff",Eurasia:"#1ee05f",Europe:"#1ee05f","Latin America":"#FFEB3B","Latin America & Caribbean":"#FFEB3B",Caribbean:"#FFEB3B","Middle East":"#a83dff","North America":"#00e0bd","North America (non-spanish)":"#00e0bd","North America & Non-Spanish Caribbean":"#00e0bd",Pacific:"#ff7f11",Oceania:"#ff7f11","South Asia":"#ff7f11","No WAGF Region/Bloc":"#1a1a2e",Unknown:"#0098FF"};function jl(e){if(!e)return Gl;const t=Sr[e];return t||pf(e)}function Ul(e){var o;const t=e.doxaRegion||((o=e._normalized)==null?void 0:o.doxaRegion);return Lr(t)}function Ar(){const e=["match",["get",wr]];return Object.entries(os).forEach(([t,o])=>{e.push(t,o)}),e.push(xr),e}const zl=Ar,gf=Object.freeze(Object.defineProperty({__proto__:null,DOXA_REGION_COLORS:df,PALETTE:ts,PROPERTY_KEY:wr,REGION_COLOR_ALIASES:Sr,SLUG_PALETTE:os,applyColor:Ar,buildColorExpression:zl,default:{name:"DOXA Region",propertyKey:wr,palette:ts,colors:ts,slugColors:os,aliases:Sr,fallback:xr,getColor:Ul,applyColor:Ar,buildColorExpression:zl,getRegionColor:jl,getRegionColorBySlug:Lr},getColor:Ul,getRegionColor:jl,getRegionColorBySlug:Lr},Symbol.toStringTag,{value:"Module"})),Hl="resourceType",qo={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},ff=qo,ca=["bible","jesusFilm","radio","gospel","audio","stories"],Pr={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},hf=Pr;function ua(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function Vl(e){var t;for(const o of ca)if((e[o]||((t=e._raw)==null?void 0:t[ua(o)]))==="Available")return qo.hasResources;return qo.noResources}function Kl(e){var t;for(const o of ca)if((e[o]||((t=e._raw)==null?void 0:t[ua(o)]))==="Available")return!0;return!1}function ql(e){var t;for(const o of ca)if((e[o]||((t=e._raw)==null?void 0:t[ua(o)]))==="Available")return o;return"noResources"}function Cr(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],qo.hasResources,qo.noResources]}const Wl=Cr,mf=Object.freeze(Object.defineProperty({__proto__:null,NAMES:Pr,PALETTE:qo,PROPERTY_KEY:Hl,RESOURCE_COLORS:ff,RESOURCE_NAMES:hf,RESOURCE_PRIORITY:ca,applyColor:Cr,buildColorExpression:Wl,default:{name:"Gospel Resources",propertyKey:Hl,palette:qo,colors:qo,names:Pr,priority:ca,getColor:Vl,applyColor:Cr,buildColorExpression:Wl,hasAnyResource:Kl,getResourceType:ql,getCSVColumn:ua},getCSVColumn:ua,getColor:Vl,getResourceType:ql,hasAnyResource:Kl},Symbol.toStringTag,{value:"Module"}));/**
|
||
* @vue/shared v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Er(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const st={},Mn=[],po=()=>{},Yl=()=>!1,ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),as=e=>e.startsWith("onUpdate:"),mt=Object.assign,Tr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},bf=Object.prototype.hasOwnProperty,Ze=(e,t)=>bf.call(e,t),Fe=Array.isArray,Wo=e=>pa(e)==="[object Map]",ss=e=>pa(e)==="[object Set]",Xl=e=>pa(e)==="[object Date]",De=e=>typeof e=="function",it=e=>typeof e=="string",Ht=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",Zl=e=>(Je(e)||De(e))&&De(e.then)&&De(e.catch),Jl=Object.prototype.toString,pa=e=>Jl.call(e),$f=e=>pa(e).slice(8,-1),rs=e=>pa(e)==="[object Object]",is=e=>it(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,da=Er(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ls=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},yf=/-\w/g,xt=ls(e=>e.replace(yf,t=>t.slice(1).toUpperCase())),_f=/\B([A-Z])/g,Yt=ls(e=>e.replace(_f,"-$1").toLowerCase()),cs=ls(e=>e.charAt(0).toUpperCase()+e.slice(1)),Nr=ls(e=>e?`on${cs(e)}`:""),go=(e,t)=>!Object.is(e,t),us=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},Ql=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Mr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ec=e=>{const t=it(e)?Number(e):NaN;return isNaN(t)?e:t};let tc;const ps=()=>tc||(tc=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<e.length;o++){const n=e[o],a=it(n)?xf(n):dt(n);if(a)for(const s in a)t[s]=a[s]}return t}else if(it(e)||Je(e))return e}const vf=/;(?![^(]*\))/g,kf=/:([^]+)/,wf=/\/\*[^]*?\*\//g;function xf(e){const t={};return e.replace(wf,"").split(vf).forEach(o=>{if(o){const n=o.split(kf);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Me(e){let t="";if(it(e))t=e;else if(Fe(e))for(let o=0;o<e.length;o++){const n=Me(e[o]);n&&(t+=n+" ")}else if(Je(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const Lf=Er("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function oc(e){return!!e||e===""}function Sf(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&n<e.length;n++)o=ds(e[n],t[n]);return o}function nc(e,t){if(e.size!==t.size)return!1;const o=Array.from(t),n=new Uint8Array(o.length);for(const a of e){let s=-1;for(let r=0;r<o.length;r++)if(!n[r]&&ds(a,o[r])){s=r;break}if(s<0)return!1;n[s]=1}return!0}function ds(e,t){if(e===t)return!0;let o=Xl(e),n=Xl(t);if(o||n)return o&&n?e.getTime()===t.getTime():!1;if(o=Ht(e),n=Ht(t),o||n)return e===t;if(o=Fe(e),n=Fe(t),o||n)return o&&n?Sf(e,t):!1;if(o=Je(e),n=Je(t),o||n){if(!o||!n)return!1;if(o=Wo(e),n=Wo(t),o||n||(o=ss(e),n=ss(t),o||n))return o&&n?nc(e,t):!1;const a=Object.keys(e).length,s=Object.keys(t).length;if(a!==s)return!1;for(const r in e){const i=e.hasOwnProperty(r),l=t.hasOwnProperty(r);if(i&&!l||!i&&l||!ds(e[r],t[r]))return!1}}return String(e)===String(t)}const ac=e=>!!(e&&e.__v_isRef===!0),ye=e=>it(e)?e:e==null?"":Fe(e)||Je(e)&&(e.toString===Jl||!De(e.toString))?ac(e)?ye(e.value):JSON.stringify(e,sc,2):String(e),sc=(e,t)=>ac(t)?sc(e,t.value):Wo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],s)=>(o[Rr(n,s)+" =>"]=a,o),{})}:ss(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Rr(o))}:Ht(t)?Rr(t):Je(t)&&!Fe(t)&&!rs(t)?String(t):t,Rr=(e,t="")=>{var o;return Ht(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 _t;class rc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&_t&&(_t.active?(this.parent=_t,this.index=(_t.scopes||(_t.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t<o;t++)n[t].pause()}for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes){const a=this.scopes.slice();for(t=0,o=a.length;t<o;t++)a[t].resume()}const n=this.effects.slice();for(t=0,o=n.length;t<o;t++)n[t].resume()}}run(t){if(this._active){const o=_t;try{return _t=this,t()}finally{_t=o}}}on(){++this._on===1&&(this.prevScope=_t,_t=this)}off(){if(this._on>0&&--this._on===0){if(_t===this)_t=this.prevScope;else{let t=_t;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){const a=this.scopes.slice();for(o=0,n=a.length;o<n;o++)a[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0}}}function Fr(e){return new rc(e)}function ic(){return _t}function Af(e,t=!1){_t&&_t.cleanups.push(e)}let lt;const Ir=new WeakSet;class lc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,_t&&(_t.active?_t.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ir.has(this)&&(Ir.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||uc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,hc(this),pc(this);const t=lt,o=no;lt=this,no=!0;try{return this.fn()}finally{dc(this),lt=t,no=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gr(t);this.deps=this.depsTail=void 0,hc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ir.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Br(this)&&this.run()}get dirty(){return Br(this)}}let cc=0,ga,fa;function uc(e,t=!1){if(e.flags|=8,t){e.next=fa,fa=e;return}e.next=ga,ga=e}function Or(){cc++}function Dr(){if(--cc>0)return;if(fa){let t=fa;for(fa=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;ga;){let t=ga;for(ga=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 pc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function dc(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Gr(n),Pf(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function Br(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(gc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function gc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ha)||(e.globalVersion=ha,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Br(e))))return;e.flags|=2;const t=e.dep,o=lt,n=no;lt=e,no=!0;try{pc(e);const a=e.fn(e._value);(t.version===0||go(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{lt=o,no=n,dc(e),e.flags&=-3}}function Gr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let s=o.computed.deps;s;s=s.nextDep)Gr(s,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Pf(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let no=!0;const fc=[];function fo(){fc.push(no),no=!1}function ho(){const e=fc.pop();no=e===void 0?!0:e}function hc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=lt;lt=void 0;try{t()}finally{lt=o}}}let ha=0;class Cf{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 jr{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(!lt||!no||lt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==lt)o=this.activeLink=new Cf(lt,this),lt.deps?(o.prevDep=lt.depsTail,lt.depsTail.nextDep=o,lt.depsTail=o):lt.deps=lt.depsTail=o,mc(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=lt.depsTail,o.nextDep=void 0,lt.depsTail.nextDep=o,lt.depsTail=o,lt.deps===o&&(lt.deps=n)}return o}trigger(t){this.version++,ha++,this.notify(t)}notify(t){Or();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Dr()}}}function mc(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)mc(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const gs=new WeakMap,un=Symbol(""),Ur=Symbol(""),ma=Symbol("");function Nt(e,t,o){if(no&<){let n=gs.get(e);n||gs.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new jr),a.map=n,a.key=o),a.track()}}function To(e,t,o,n,a,s){const r=gs.get(e);if(!r){ha++;return}const i=l=>{l&&l.trigger()};if(Or(),t==="clear")r.forEach(i);else{const l=Fe(e),c=l&&is(o);if(l&&o==="length"){const u=Number(n);r.forEach((d,f)=>{(f==="length"||f===ma||!Ht(f)&&f>=u)&&i(d)})}else switch((o!==void 0||r.has(void 0))&&i(r.get(o)),c&&i(r.get(ma)),t){case"add":l?c&&i(r.get("length")):(i(r.get(un)),Wo(e)&&i(r.get(Ur)));break;case"delete":l||(i(r.get(un)),Wo(e)&&i(r.get(Ur)));break;case"set":Wo(e)&&i(r.get(un));break}}Dr()}function Ef(e,t){const o=gs.get(e);return o&&o.get(t)}function Rn(e){const t=Ke(e);return t===e?t:(Nt(t,"iterate",ma),Vt(e)?t:t.map(ao))}function fs(e){return Nt(e=Ke(e),"iterate",ma),e}function mo(e,t){return Ro(e)?On(Mo(e)?ao(t):t):ao(t)}const Tf={__proto__:null,[Symbol.iterator](){return zr(this,Symbol.iterator,e=>mo(this,e))},concat(...e){return Rn(this).concat(...e.map(t=>Fe(t)?Rn(t):t))},entries(){return zr(this,"entries",e=>(e[1]=mo(this,e[1]),e))},every(e,t){return No(this,"every",e,t,void 0,arguments)},filter(e,t){return No(this,"filter",e,t,o=>o.map(n=>mo(this,n)),arguments)},find(e,t){return No(this,"find",e,t,o=>mo(this,o),arguments)},findIndex(e,t){return No(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return No(this,"findLast",e,t,o=>mo(this,o),arguments)},findLastIndex(e,t){return No(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return No(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hr(this,"includes",e)},indexOf(...e){return Hr(this,"indexOf",e)},join(e){return Rn(this).join(e)},lastIndexOf(...e){return Hr(this,"lastIndexOf",e)},map(e,t){return No(this,"map",e,t,void 0,arguments)},pop(){return ba(this,"pop")},push(...e){return ba(this,"push",e)},reduce(e,...t){return bc(this,"reduce",e,t)},reduceRight(e,...t){return bc(this,"reduceRight",e,t)},shift(){return ba(this,"shift")},some(e,t){return No(this,"some",e,t,void 0,arguments)},splice(...e){return ba(this,"splice",e)},toReversed(){return Rn(this).toReversed()},toSorted(e){return Rn(this).toSorted(e)},toSpliced(...e){return Rn(this).toSpliced(...e)},unshift(...e){return ba(this,"unshift",e)},values(){return zr(this,"values",e=>mo(this,e))}};function zr(e,t,o){const n=fs(e),a=n[t]();return n!==e&&!Vt(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=o(s.value)),s}),a}const Nf=Array.prototype;function No(e,t,o,n,a,s){const r=fs(e),i=r!==e&&!Vt(e),l=r[t];if(l!==Nf[t]){const d=l.apply(e,s);return i?ao(d):d}let c=o;r!==e&&(i?c=function(d,f){return o.call(this,mo(e,d),f,e)}:o.length>2&&(c=function(d,f){return o.call(this,d,f,e)}));const u=l.call(r,c,n);return i&&a?a(u):u}function bc(e,t,o,n){const a=fs(e),s=a!==e&&!Vt(e);let r=o,i=!1;a!==e&&(s?(i=n.length===0,r=function(c,u,d){return i&&(i=!1,c=mo(e,c)),o.call(this,c,mo(e,u),d,e)}):o.length>3&&(r=function(c,u,d){return o.call(this,c,u,d,e)}));const l=a[t](r,...n);return i?mo(e,l):l}function Hr(e,t,o){const n=Ke(e);Nt(n,"iterate",ma);const a=n[t](...o);return(a===-1||a===!1)&&ys(o[0])?(o[0]=Ke(o[0]),n[t](...o)):a}function ba(e,t,o=[]){fo(),Or();const n=Ke(e)[t].apply(e,o);return Dr(),ho(),n}const Mf=Er("__proto__,__v_isRef,__isVue"),$c=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ht));function Rf(e){Ht(e)||(e=String(e));const t=Ke(this);return Nt(t,"has",e),t.hasOwnProperty(e)}class yc{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(a?s?Lc:xc:s?wc:kc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=Fe(t);if(!a){let l;if(r&&(l=Tf[o]))return l;if(o==="hasOwnProperty")return Rf}const i=Reflect.get(t,o,ut(t)?t:n);if((Ht(o)?$c.has(o):Mf(o))||(a||Nt(t,"get",o),s))return i;if(ut(i)){const l=r&&is(o)?i:i.value;return a&&Je(l)?pn(l):l}return Je(i)?a?pn(i):Fn(i):i}}class _c extends yc{constructor(t=!1){super(!1,t)}set(t,o,n,a){let s=t[o];const r=Fe(t)&&is(o);if(!this._isShallow){const c=Ro(s);if(!Vt(n)&&!Ro(n)&&(s=Ke(s),n=Ke(n)),!r&&ut(s)&&!ut(n))return c||(s.value=n),!0}const i=r?Number(o)<t.length:Ze(t,o),l=Reflect.set(t,o,n,ut(t)?t:a);return t===Ke(a)&&l&&(i?go(n,s)&&To(t,"set",o,n):To(t,"add",o,n)),l}deleteProperty(t,o){const n=Ze(t,o);t[o];const a=Reflect.deleteProperty(t,o);return a&&n&&To(t,"delete",o,void 0),a}has(t,o){const n=Reflect.has(t,o);return(!Ht(o)||!$c.has(o))&&Nt(t,"has",o),n}ownKeys(t){return Nt(t,"iterate",Fe(t)?"length":un),Reflect.ownKeys(t)}}class vc extends yc{constructor(t=!1){super(!0,t)}set(t,o){return!0}deleteProperty(t,o){return!0}}const Ff=new _c,If=new vc,Of=new _c(!0),Df=new vc(!0),Vr=e=>e,hs=e=>Reflect.getPrototypeOf(e);function Bf(e,t,o){return function(...n){const a=this.__v_raw,s=Ke(a),r=Wo(s),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...n),u=o?Vr:t?On:ao;return!t&&Nt(s,"iterate",l?Ur:un),mt(Object.create(c),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:i?[u(d[0]),u(d[1])]:u(d),done:f}}})}}function ms(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gf(e,t){const o={get(a){const s=this.__v_raw,r=Ke(s),i=Ke(a);e||(go(a,i)&&Nt(r,"get",a),Nt(r,"get",i));const{has:l}=hs(r),c=t?Vr:e?On:ao;if(l.call(r,a))return c(s.get(a));if(l.call(r,i))return c(s.get(i));s!==r&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Nt(Ke(a),"iterate",un),a.size},has(a){const s=this.__v_raw,r=Ke(s),i=Ke(a);return e||(go(a,i)&&Nt(r,"has",a),Nt(r,"has",i)),a===i?s.has(a):s.has(a)||s.has(i)},forEach(a,s){const r=this,i=r.__v_raw,l=Ke(i),c=t?Vr:e?On:ao;return!e&&Nt(l,"iterate",un),i.forEach((u,d)=>a.call(s,c(u),c(d),r))}};return mt(o,e?{add:ms("add"),set:ms("set"),delete:ms("delete"),clear:ms("clear")}:{add(a){const s=Ke(this),r=hs(s),i=Ke(a),l=!t&&!Vt(a)&&!Ro(a)?i:a;return r.has.call(s,l)||go(a,l)&&r.has.call(s,a)||go(i,l)&&r.has.call(s,i)||(s.add(l),To(s,"add",l,l)),this},set(a,s){!t&&!Vt(s)&&!Ro(s)&&(s=Ke(s));const r=Ke(this),{has:i,get:l}=hs(r);let c=i.call(r,a);c||(a=Ke(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,s),c?go(s,u)&&To(r,"set",a,s):To(r,"add",a,s),this},delete(a){const s=Ke(this),{has:r,get:i}=hs(s);let l=r.call(s,a);l||(a=Ke(a),l=r.call(s,a)),i&&i.call(s,a);const c=s.delete(a);return l&&To(s,"delete",a,void 0),c},clear(){const a=Ke(this),s=a.size!==0,r=a.clear();return s&&To(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=Bf(a,e,t)}),o}function bs(e,t){const o=Gf(e,t);return(n,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Ze(o,a)&&a in n?o:n,a,s)}const jf={get:bs(!1,!1)},Uf={get:bs(!1,!0)},zf={get:bs(!0,!1)},Hf={get:bs(!0,!0)},kc=new WeakMap,wc=new WeakMap,xc=new WeakMap,Lc=new WeakMap;function Vf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fn(e){return Ro(e)?e:$s(e,!1,Ff,jf,kc)}function Kf(e){return $s(e,!1,Of,Uf,wc)}function pn(e){return $s(e,!0,If,zf,xc)}function QP(e){return $s(e,!0,Df,Hf,Lc)}function $s(e,t,o,n,a){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const r=Vf($f(e));if(r===0)return e;const i=new Proxy(e,r===2?n:o);return a.set(e,i),i}function Mo(e){return Ro(e)?Mo(e.__v_raw):!!(e&&e.__v_isReactive)}function Ro(e){return!!(e&&e.__v_isReadonly)}function Vt(e){return!!(e&&e.__v_isShallow)}function ys(e){return e?!!e.__v_raw:!1}function Ke(e){const t=e&&e.__v_raw;return t?Ke(t):e}function In(e){return!Ze(e,"__v_skip")&&Object.isExtensible(e)&&Ql(e,"__v_skip",!0),e}const ao=e=>Je(e)?Fn(e):e,On=e=>Je(e)?pn(e):e;function ut(e){return e?e.__v_isRef===!0:!1}function he(e){return Sc(e,!1)}function $a(e){return Sc(e,!0)}function Sc(e,t){return ut(e)?e:new qf(e,t)}class qf{constructor(t,o){this.dep=new jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Ke(t),this._value=o?t:ao(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Vt(t)||Ro(t);t=n?t:Ke(t),go(t,o)&&(this._rawValue=t,this._value=n?t:ao(t),this.dep.trigger())}}function ge(e){return ut(e)?e.value:e}const Wf={get:(e,t,o)=>t==="__v_raw"?e:ge(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return ut(a)&&!ut(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Ac(e){return Mo(e)?e:new Proxy(e,Wf)}function Yf(e){const t=Fe(e)?new Array(e.length):{};for(const o in e)t[o]=Pc(e,o);return t}class Xf{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Ht(o)?o:String(o),this._raw=Ke(t);let a=!0,s=t;if(!Fe(t)||Ht(this._key)||!is(this._key))do a=!ys(s)||Vt(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ge(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ut(this._raw[this._key])){const o=this._object[this._key];if(ut(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Ef(this._raw,this._key)}}class Zf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function _s(e,t,o){return ut(e)?e:De(e)?new Zf(e):Je(e)&&arguments.length>1?Pc(e,t,o):he(e)}function Pc(e,t,o){return new Xf(e,t,o)}class Jf{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ha-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&<!==this)return uc(this,!0),!0}get value(){const t=this.dep.track();return gc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Qf(e,t,o=!1){let n,a;return De(e)?n=e:(n=e.get,a=e.set),new Jf(n,a,o)}const vs={},ks=new WeakMap;let dn;function eh(e,t=!1,o=dn){if(o){let n=ks.get(o);n||ks.set(o,n=[]),n.push(e)}}function th(e,t,o=st){const{immediate:n,deep:a,once:s,scheduler:r,augmentJob:i,call:l}=o,c=w=>a?w:Vt(w)||a===!1||a===0?Fo(w,1):Fo(w);let u,d,f,A,v=!1,b=!1;if(ut(e)?(d=()=>e.value,v=Vt(e)):Mo(e)?(d=()=>c(e),v=!0):Fe(e)?(b=!0,v=e.some(w=>Mo(w)||Vt(w)),d=()=>e.map(w=>{if(ut(w))return w.value;if(Mo(w))return c(w);if(De(w))return l?l(w,2):w()})):De(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){fo();try{f()}finally{ho()}}const w=dn;dn=u;try{return l?l(e,3,[A]):e(A)}finally{dn=w}}:d=po,t&&a){const w=d,p=a===!0?1/0:a;d=()=>Fo(w(),p)}const _=ic(),$=()=>{u.stop(),_&&_.active&&Tr(_.effects,u)};if(s&&t){const w=t;t=(...p)=>{const P=w(...p);return $(),P}}let h=b?new Array(e.length).fill(vs):vs;const m=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const p=u.run();if(w||a||v||(b?p.some((P,g)=>go(P,h[g])):go(p,h))){f&&f();const P=dn;dn=u;try{const g=[p,h===vs?void 0:b&&h[0]===vs?[]:h,A];h=p,l?l(t,3,g):t(...g)}finally{dn=P}}}else u.run()};return i&&i(m),u=new lc(d),u.scheduler=r?()=>r(m,!1):m,A=w=>eh(w,!1,u),f=u.onStop=()=>{const w=ks.get(u);if(w){if(l)l(w,4);else for(const p of w)p();ks.delete(u)}},t?n?m(!0):h=u.run():r?r(m.bind(null,!0),!0):u.run(),$.pause=u.pause.bind(u),$.resume=u.resume.bind(u),$.stop=$,$}function Fo(e,t=1/0,o){if(t<=0||!Je(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,ut(e))Fo(e.value,t,o);else if(Fe(e))for(let n=0;n<e.length;n++)Fo(e[n],t,o);else if(ss(e)||Wo(e))e.forEach(n=>{Fo(n,t,o)});else if(rs(e)){for(const n in e)Fo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Fo(e[n],t,o)}return e}/**
|
||
* @vue/runtime-core v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const ya=[];let Kr=!1;function eC(e,...t){if(Kr)return;Kr=!0,fo();const o=ya.length?ya[ya.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=oh();if(n)Dn(n,o,11,[e+t.map(s=>{var r,i;return(i=(r=s.toString)==null?void 0:r.call(s))!=null?i:JSON.stringify(s)}).join(""),o&&o.proxy,a.map(({vnode:s})=>`at <${Au(o,s.type)}>`).join(`
|
||
`),a]);else{const s=[`[Vue warn]: ${e}`,...t];a.length&&s.push(`
|
||
`,...nh(a)),console.warn(...s)}ho(),Kr=!1}function oh(){let e=ya[ya.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 nh(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
|
||
`],...ah(o))}),t}function ah({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Au(e.component,e.type,n)}`,s=">"+o;return e.props?[a,...sh(e.props),s]:[a+s]}function sh(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Cc(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Cc(e,t,o){return it(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ut(t)?(t=Cc(e,Ke(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):De(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ke(t),o?t:[`${e}=`,t])}function Dn(e,t,o,n){try{return n?e(...n):e()}catch(a){_a(a,t,o)}}function so(e,t,o,n){if(De(e)){const a=Dn(e,t,o,n);return a&&Zl(a)&&a.catch(s=>{_a(s,t,o)}),a}if(Fe(e)){const a=[];for(let s=0;s<e.length;s++)a.push(so(e[s],t,o,n));return a}}function _a(e,t,o,n=!0){const a=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||st;if(t){let i=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${o}`;for(;i;){const u=i.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,l,c)===!1)return}i=i.parent}if(s){fo(),Dn(s,null,10,[e,l,c]),ho();return}}rh(e,o,a,n,r)}function rh(e,t,o,n=!0,a=!1){if(a)throw e;console.error(e)}const Ft=[];let bo=-1;const Bn=[];let Yo=null,Gn=0;const Ec=Promise.resolve();let ws=null;function It(e){const t=ws||Ec;return e?t.then(this?e.bind(this):e):t}function ih(e){let t=bo+1,o=Ft.length;for(;t<o;){const n=t+o>>>1,a=Ft[n],s=va(a);s<e||s===e&&a.flags&2?t=n+1:o=n}return t}function qr(e){if(!(e.flags&1)){const t=va(e),o=Ft[Ft.length-1];!o||!(e.flags&2)&&t>=va(o)?Ft.push(e):Ft.splice(ih(t),0,e),e.flags|=1,Tc()}}function Tc(){ws||(ws=Ec.then(Rc))}function lh(e){if(!Fe(e))Yo&&e.id===-1?Yo.splice(Gn+1,0,e):e.flags&1||(Bn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Bn.push(e[t]);Tc()}function Nc(e,t,o=bo+1){for(;o<Ft.length;o++){const n=Ft[o];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Ft.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Mc(e){if(Bn.length){const t=[...new Set(Bn)].sort((o,n)=>va(o)-va(n));if(Bn.length=0,Yo){for(let o=0;o<t.length;o++)Yo.push(t[o]);return}for(Yo=t,Gn=0;Gn<Yo.length;Gn++){const o=Yo[Gn];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}Yo=null,Gn=0}}const va=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Rc(e){try{for(bo=0;bo<Ft.length;bo++){const t=Ft[bo];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Dn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;bo<Ft.length;bo++){const t=Ft[bo];t&&(t.flags&=-2)}bo=-1,Ft.length=0,Mc(),ws=null,(Ft.length||Bn.length)&&Rc()}}let At=null,Fc=null;function xs(e){const t=At;return At=e,Fc=e&&e.type.__scopeId||null,t}function jt(e,t=At,o){if(!t||e._n)return e;const n=(...a)=>{n._d&&Fs(-1);const s=xs(t),r=Oo.length;let i;try{i=e(...a)}finally{for(let l=Oo.length;l>r;l--)ui();xs(s),n._d&&Fs(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Wr(e,t){if(At===null)return e;const o=Bs(At),n=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[s,r,i,l=st]=t[a];s&&(De(s)&&(s={mounted:s,updated:s}),s.deep&&Fo(r),n.push({dir:s,instance:o,value:r,oldValue:void 0,arg:i,modifiers:l}))}return e}function gn(e,t,o,n){const a=e.dirs,s=t&&t.dirs;for(let r=0;r<a.length;r++){const i=a[r];s&&(i.oldValue=s[r].value);let l=i.dir[n];l&&(fo(),so(l,o,8,[e.el,i,e,t]),ho())}}function vt(e,t){if(Ct){let o=Ct.provides;const n=Ct.parent&&Ct.parent.provides;n===o&&(o=Ct.provides=Object.create(n)),o[e]=t}}function Ne(e,t,o=!1){const n=ko();if(n||mn){let a=mn?mn._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return o&&De(t)?t.call(n&&n.proxy):t}}function ch(){return!!(ko()||mn)}const uh=Symbol.for("v-scx"),ph=()=>Ne(uh);function dh(e,t){return Yr(e,null,t)}function Re(e,t,o){return Yr(e,t,o)}function Yr(e,t,o=st){const{immediate:n,deep:a,flush:s,once:r}=o,i=mt({},o),l=t&&n||!t&&s!=="post";let c;if(zn){if(s==="sync"){const A=ph();c=A.__watcherHandles||(A.__watcherHandles=[])}else if(!l){const A=()=>{};return A.stop=po,A.resume=po,A.pause=po,A}}const u=Ct;i.call=(A,v,b)=>so(A,u,v,b);let d=!1;s==="post"?i.scheduler=A=>{Dt(A,u&&u.suspense)}:s!=="sync"&&(d=!0,i.scheduler=(A,v)=>{v?A():qr(A)}),i.augmentJob=A=>{t&&(A.flags|=4),d&&(A.flags|=2,u&&(A.id=u.uid,A.i=u))};const f=th(e,t,i);return zn&&(c?c.push(f):l&&f()),f}function gh(e,t,o){const n=this.proxy,a=it(e)?e.includes(".")?Ic(n,e):()=>n[e]:e.bind(n,n);let s;De(t)?s=t:(s=t.handler,o=t);const r=Na(this),i=Yr(a,s.bind(n),o);return r(),i}function Ic(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;a<o.length&&n;a++)n=n[o[a]];return n}}const Xo=new WeakMap,Oc=Symbol("_vte"),Ls=e=>e.__isTeleport,fn=e=>e&&(e.disabled||e.disabled===""),fh=e=>e&&(e.defer||e.defer===""),Dc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Bc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Xr=(e,t)=>{const o=e&&e.to;return it(o)?t?t(o):null:o},hh={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,s,r,i,l,c){const{mc:u,pc:d,pbc:f,o:{insert:A,querySelector:v,createText:b,createComment:_,parentNode:$}}=c,h=fn(t.props);let{dynamicChildren:m}=t;const w=(g,C,S)=>{g.shapeFlag&16&&u(g.children,C,S,a,s,r,i,l)},p=(g=t)=>{const C=fn(g.props),S=g.target=Xr(g.props,v),G=Zr(S,g,b,A);S&&(r!=="svg"&&Dc(S)?r="svg":r!=="mathml"&&Bc(S)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(S),C||(w(g,S,G),ka(g,!1)))},P=g=>{const C=()=>{if(Xo.get(g)===C){if(Xo.delete(g),fn(g.props)){const S=$(g.el)||o;w(g,S,g.anchor),ka(g,!0)}p(g)}};Xo.set(g,C),Dt(C,s)};if(e==null){const g=t.el=b(""),C=t.anchor=b("");if(A(g,o,n),A(C,o,n),fh(t.props)||s&&s.pendingBranch){P(t);return}h&&(w(t,o,C),ka(t,!0)),p()}else{t.el=e.el;const g=t.anchor=e.anchor,C=Xo.get(e);if(C){C.flags|=8,Xo.delete(e),P(t);return}t.targetStart=e.targetStart;const S=t.target=e.target,G=t.targetAnchor=e.targetAnchor,H=fn(e.props),J=H?o:S,U=H?g:G;if(r==="svg"||Dc(S)?r="svg":(r==="mathml"||Bc(S))&&(r="mathml"),m?(f(e.dynamicChildren,m,J,a,s,r,i),ci(e,t,!0)):l||d(e,t,J,U,a,s,r,i,!1),h)H?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ss(t,o,g,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=Xr(t.props,v);D&&(t.target=D,Ss(t,D,null,c,0))}else H&&Ss(t,S,G,c,1);ka(t,h)}},remove(e,t,o,{um:n,o:{remove:a}},s){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e,A=fn(f),v=s||!A,b=Xo.get(e);if(b&&(b.flags|=8,Xo.delete(e)),d&&(a(c),a(u)),s&&a(l),!b&&(A||d)&&r&16)for(let _=0;_<i.length;_++){const $=i[_];n($,t,o,v,!!$.dynamicChildren)}},move:Ss,hydrate:mh};function Ss(e,t,o,{o:{insert:n},m:a},s=2){s===0&&n(e.targetAnchor,t,o);const{el:r,anchor:i,shapeFlag:l,children:c,props:u}=e,d=s===2;if(d&&n(r,t,o),!Xo.has(e)&&(!d||fn(u))&&l&16)for(let f=0;f<c.length;f++)a(c[f],t,o,2);d&&n(i,t,o)}function mh(e,t,o,n,a,s,{o:{nextSibling:r,parentNode:i,querySelector:l,insert:c,createText:u}},d){function f(_,$){let h=$;for(;h;){if(h&&h.nodeType===8){if(h.data==="teleport start anchor")t.targetStart=h;else if(h.data==="teleport anchor"){t.targetAnchor=h,_._lpa=t.targetAnchor&&r(t.targetAnchor);break}}h=r(h)}}function A(_,$){$.anchor=d(r(_),$,i(_),o,n,a,s)}const v=t.target=Xr(t.props,l),b=fn(t.props);if(v){const _=v._lpa||v.firstChild;t.shapeFlag&16&&(b?(A(e,t),f(v,_),t.targetAnchor||Zr(v,t,u,c,i(e)===v?e:null)):(t.anchor=r(e),f(v,_),t.targetAnchor||Zr(v,t,u,c),d(_&&r(_),t,v,o,n,a,s))),ka(t,b)}else b&&t.shapeFlag&16&&(A(e,t),t.targetStart=e,t.targetAnchor=r(e));return t.anchor&&r(t.anchor)}const bh=hh;function ka(e,t){const o=e.ctx;if(o&&o.ut){let n,a;for(t?(n=e.el,a=e.anchor):(n=e.targetStart,a=e.targetAnchor);n&&n!==a;)n.nodeType===1&&n.setAttribute("data-v-owner",o.uid),n=n.nextSibling;o.ut()}}function Zr(e,t,o,n,a=null){const s=t.targetStart=o(""),r=t.targetAnchor=o("");return s[Oc]=r,e&&(n(s,e,a),n(r,e,a)),r}const Jr=Symbol("_leaveCb");function $h(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==yo){t=o;break}}return t}function Gc(e){if(!Cs(e))return Ls(e.type)&&e.children?$h(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&De(o.default))return o.default()}}function Qr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Qr(Ls(o.type)&&Gc(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 wa(e,t){return De(e)?mt({name:e.name},t,{setup:e}):e}function ei(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function jc(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const As=new WeakMap;function xa(e,t,o,n,a=!1){if(Fe(e)){e.forEach((b,_)=>xa(b,t&&(Fe(t)?t[_]:t),o,n,a));return}if(jn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&xa(e,t,o,n.component.subTree);return}const s=n.shapeFlag&4?Bs(n.component):n.el,r=a?null:s,{i,r:l}=e,c=t&&t.r,u=i.refs===st?i.refs={}:i.refs,d=i.setupState,f=Ke(d),A=d===st?Yl:b=>jc(u,b)?!1:Ze(f,b),v=(b,_)=>!(_&&jc(u,_));if(c!=null&&c!==l){if(Uc(t),it(c))u[c]=null,A(c)&&(d[c]=null);else if(ut(c)){const b=t;v(c,b.k)&&(c.value=null),b.k&&(u[b.k]=null)}}if(De(l))Dn(l,i,12,[r,u]);else{const b=it(l),_=ut(l);if(b||_){const $=()=>{if(e.f){const h=b?A(l)?d[l]:u[l]:v()||!e.k?l.value:u[e.k];if(a)Fe(h)&&Tr(h,s);else if(Fe(h))h.includes(s)||h.push(s);else if(b)u[l]=[s],A(l)&&(d[l]=u[l]);else{const m=[s];v(l,e.k)&&(l.value=m),e.k&&(u[e.k]=m)}}else b?(u[l]=r,A(l)&&(d[l]=r)):_&&(v(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const h=()=>{$(),As.delete(e)};h.id=-1,As.set(e,h),Dt(h,o)}else Uc(e),$()}}}function Uc(e){const t=As.get(e);t&&(t.flags|=8,As.delete(e))}const zc=e=>e.nodeType===8;ps().requestIdleCallback,ps().cancelIdleCallback;function yh(e,t){if(zc(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(zc(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const jn=e=>!!e.type.__asyncLoader;function _h(e){De(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:s,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,u,d=0;const f=()=>(d++,c=null,A()),A=()=>{let v;return c||(v=c=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),l)return new Promise((_,$)=>{l(b,()=>_(f()),()=>$(b),d+1)});throw b}).then(b=>v!==c&&c?c:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),u=b,b)))};return wa({name:"AsyncComponentWrapper",__asyncLoader:A,__asyncHydrate(v,b,_){const $=v.isConnected;let h=!1;(b.bu||(b.bu=[])).push(()=>h=!0);const m=()=>{h||!v.parentNode||$&&!v.isConnected||_()},w=s?()=>{const p=s(m,P=>yh(v,P));p&&(b.bum||(b.bum=[])).push(p)}:m;u?w():A().then(()=>!b.isUnmounted&&w())},get __asyncResolved(){return u},setup(){const v=Ct;if(ei(v),u)return()=>Ps(u,v);const b=p=>{c=null,_a(p,v,13,!n)};if(i&&v.suspense||zn)return A().then(p=>()=>Ps(p,v)).catch(p=>(b(p),()=>n?tt(n,{error:p}):null));const _=he(!1),$=he(),h=he(!!a);let m,w;return Ts(()=>{m!=null&&clearTimeout(m),w!=null&&clearTimeout(w)}),a&&(w=setTimeout(()=>{v.isUnmounted||(h.value=!1)},a)),r!=null&&(m=setTimeout(()=>{if(!v.isUnmounted&&!_.value&&!$.value){const p=new Error(`Async component timed out after ${r}ms.`);b(p),$.value=p}},r)),A().then(()=>{v.isUnmounted||(_.value=!0,v.parent&&Cs(v.parent.vnode)&&v.parent.update())}).catch(p=>{if(v.isUnmounted){c=null;return}b(p),$.value=p}),()=>{if(_.value&&u)return Ps(u,v);if($.value&&n)return tt(n,{error:$.value});if(o&&!h.value)return Ps(o,v)}}})}function Ps(e,t){const{ref:o,props:n,children:a,ce:s}=t.vnode,r=tt(e,n,a);return r.ref=o,r.ce=s,delete t.vnode.ce,r}const Cs=e=>e.type.__isKeepAlive;function vh(e,t){Hc(e,"a",t)}function kh(e,t){Hc(e,"da",t)}function Hc(e,t,o=Ct){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Es(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Cs(a.parent.vnode)&&wh(n,t,o,a),a=a.parent}}function wh(e,t,o,n){const a=Es(t,e,n,!0);Ts(()=>{Tr(n[t],a)},o)}function Es(e,t,o=Ct,n=!1){if(o){const a=o[e]||(o[e]=[]),s=t.__weh||(t.__weh=(...r)=>{fo();const i=Na(o),l=so(t,o,e,r);return i(),ho(),l});return n?a.unshift(s):a.push(s),s}}const Io=e=>(t,o=Ct)=>{(!zn||e==="sp")&&Es(e,(...n)=>t(...n),o)},Vc=Io("bm"),$o=Io("m"),xh=Io("bu"),Lh=Io("u"),Xt=Io("bum"),Ts=Io("um"),Sh=Io("sp"),Ah=Io("rtg"),Ph=Io("rtc");function Ch(e,t=Ct){Es("ec",e,t)}const Eh="components",Kc=Symbol.for("v-ndc");function qc(e){return it(e)?Th(Eh,e,!1)||e:e||Kc}function Th(e,t,o=!0,n=!1){const a=At||Ct;if(a){const s=a.type;{const i=Su(s,!1);if(i&&(i===t||i===xt(t)||i===cs(xt(t))))return s}const r=Wc(a[e]||s[e],t)||Wc(a.appContext[e],t);return!r&&n?s:r}}function Wc(e,t){return e&&(e[t]||e[xt(t)]||e[cs(xt(t))])}function Mt(e,t,o,n){let a;const s=o,r=Fe(e);if(r||it(e)){const i=r&&Mo(e);let l=!1,c=!1;i&&(l=!Vt(e),c=Ro(e),e=fs(e)),a=new Array(e.length);for(let u=0,d=e.length;u<d;u++)a[u]=t(l?c?On(ao(e[u])):ao(e[u]):e[u],u,void 0,s)}else if(typeof e=="number"){a=new Array(e);for(let i=0;i<e;i++)a[i]=t(i+1,i,void 0,s)}else if(Je(e))if(e[Symbol.iterator])a=Array.from(e,(i,l)=>t(i,l,void 0,s));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];a[l]=t(e[u],u,l,s)}}else a=[];return a}function hn(e,t,o,n,a,s){if(o==null&&(o={}),At.ce||At.parent&&jn(At.parent)&&At.parent.ce){const c=s!=null&&o.key==null?mt({},o,{key:s}):o,u=Object.keys(c).length>0;return t!=="default"&&(c.name=t),ae(),et(Ue,null,[tt("slot",c,n)],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const i=Oo.length;ae();let l;try{const c=r&&Yc(r(o)),u=o.key||s||c&&c.key;l=et(Ue,{key:(u&&!Ht(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=Oo.length;u>i;u--)ui();throw c}finally{r&&r._c&&(r._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Yc(e){return e.some(t=>Ca(t)?!(t.type===yo||t.type===Ue&&!Yc(t.children)):!0)?e:null}const ti=e=>e?wu(e)?Bs(e):ti(e.parent):null,La=mt(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=>ti(e.parent),$root:e=>ti(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qc(e),$forceUpdate:e=>e.f||(e.f=()=>{qr(e.update)}),$nextTick:e=>e.n||(e.n=It.bind(e.proxy)),$watch:e=>gh.bind(e)}),oi=(e,t)=>e!==st&&!e.__isScriptSetup&&Ze(e,t),Nh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:s,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const f=r[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return s[t]}else{if(oi(n,t))return r[t]=1,n[t];if(a!==st&&Ze(a,t))return r[t]=2,a[t];if(Ze(s,t))return r[t]=3,s[t];if(o!==st&&Ze(o,t))return r[t]=4,o[t];ni&&(r[t]=0)}}const c=La[t];let u,d;if(c)return t==="$attrs"&&Nt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==st&&Ze(o,t))return r[t]=4,o[t];if(d=l.config.globalProperties,Ze(d,t))return d[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:s}=e;return oi(a,t)?(a[t]=o,!0):n!==st&&Ze(n,t)?(n[t]=o,!0):Ze(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:s,type:r}},i){let l;return!!(o[i]||e!==st&&i[0]!=="$"&&Ze(e,i)||oi(t,i)||Ze(s,i)||Ze(n,i)||Ze(La,i)||Ze(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ze(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Xc(e){return Fe(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let ni=!0;function Mh(e){const t=Qc(e),o=e.proxy,n=e.ctx;ni=!1,t.beforeCreate&&Zc(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:A,updated:v,activated:b,deactivated:_,beforeDestroy:$,beforeUnmount:h,destroyed:m,unmounted:w,render:p,renderTracked:P,renderTriggered:g,errorCaptured:C,serverPrefetch:S,expose:G,inheritAttrs:H,components:J,directives:U,filters:D}=t;if(c&&Rh(c,n,null),r)for(const M in r){const z=r[M];De(z)&&(n[M]=z.bind(o))}if(a){const M=a.call(o,o);Je(M)&&(e.data=Fn(M))}if(ni=!0,s)for(const M in s){const z=s[M],K=De(z)?z.bind(o,o):De(z.get)?z.get.bind(o,o):po,Q=!De(z)&&De(z.set)?z.set.bind(o):po,ie=oe({get:K,set:Q});Object.defineProperty(n,M,{enumerable:!0,configurable:!0,get:()=>ie.value,set:j=>ie.value=j})}if(i)for(const M in i)Jc(i[M],n,o,M);if(l){const M=De(l)?l.call(o):l;Reflect.ownKeys(M).forEach(z=>{vt(z,M[z])})}u&&Zc(u,e,"c");function y(M,z){Fe(z)?z.forEach(K=>M(K.bind(o))):z&&M(z.bind(o))}if(y(Vc,d),y($o,f),y(xh,A),y(Lh,v),y(vh,b),y(kh,_),y(Ch,C),y(Ph,P),y(Ah,g),y(Xt,h),y(Ts,w),y(Sh,S),Fe(G))if(G.length){const M=e.exposed||(e.exposed={});G.forEach(z=>{Object.defineProperty(M,z,{get:()=>o[z],set:K=>o[z]=K,enumerable:!0})})}else e.exposed||(e.exposed={});p&&e.render===po&&(e.render=p),H!=null&&(e.inheritAttrs=H),J&&(e.components=J),U&&(e.directives=U),S&&ei(e)}function Rh(e,t,o=po){Fe(e)&&(e=ai(e));for(const n in e){const a=e[n];let s;Je(a)?"default"in a?s=Ne(a.from||n,a.default,!0):s=Ne(a.from||n):s=Ne(a),ut(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):t[n]=s}}function Zc(e,t,o){so(Fe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Jc(e,t,o,n){let a=n.includes(".")?Ic(o,n):()=>o[n];if(it(e)){const s=t[e];De(s)&&Re(a,s)}else if(De(e))Re(a,e.bind(o));else if(Je(e))if(Fe(e))e.forEach(s=>Jc(s,t,o,n));else{const s=De(e.handler)?e.handler.bind(o):t[e.handler];De(s)&&Re(a,s,e)}}function Qc(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,i=s.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Ns(l,c,r,!0)),Ns(l,t,r)),Je(t)&&s.set(t,l),l}function Ns(e,t,o,n=!1){const{mixins:a,extends:s}=t;s&&Ns(e,s,o,!0),a&&a.forEach(r=>Ns(e,r,o,!0));for(const r in t)if(!(n&&r==="expose")){const i=Fh[r]||o&&o[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const Fh={data:eu,props:tu,emits:tu,methods:Sa,computed:Sa,beforeCreate:Ot,created:Ot,beforeMount:Ot,mounted:Ot,beforeUpdate:Ot,updated:Ot,beforeDestroy:Ot,beforeUnmount:Ot,destroyed:Ot,unmounted:Ot,activated:Ot,deactivated:Ot,errorCaptured:Ot,serverPrefetch:Ot,components:Sa,directives:Sa,watch:Oh,provide:eu,inject:Ih};function eu(e,t){return t?e?function(){return mt(De(e)?e.call(this,this):e,De(t)?t.call(this,this):t)}:t:e}function Ih(e,t){return Sa(ai(e),ai(t))}function ai(e){if(Fe(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function Ot(e,t){return e?[...new Set([].concat(e,t))]:t}function Sa(e,t){return e?mt(Object.create(null),e,t):t}function tu(e,t){return e?Fe(e)&&Fe(t)?[...new Set([...e,...t])]:mt(Object.create(null),Xc(e),Xc(t??{})):t}function Oh(e,t){if(!e)return t;if(!t)return e;const o=mt(Object.create(null),e);for(const n in t)o[n]=Ot(e[n],t[n]);return o}function ou(){return{app:null,config:{isNativeTag:Yl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Dh=0;function Bh(e,t){return function(n,a=null){De(n)||(n=mt({},n)),a!=null&&!Je(a)&&(a=null);const s=ou(),r=new WeakSet,i=[];let l=!1;const c=s.app={_uid:Dh++,_component:n,_props:a,_container:null,_context:s,_instance:null,version:$m,get config(){return s.config},set config(u){},use(u,...d){return r.has(u)||(u&&De(u.install)?(r.add(u),u.install(c,...d)):De(u)&&(r.add(u),u(c,...d))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,d){return d?(s.components[u]=d,c):s.components[u]},directive(u,d){return d?(s.directives[u]=d,c):s.directives[u]},mount(u,d,f){if(!l){const A=c._ceVNode||tt(n,a);return A.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),e(A,u,f),l=!0,c._container=u,u.__vue_app__=c,Bs(A.component)}},onUnmount(u){i.push(u)},unmount(){l&&(so(i,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return s.provides[u]=d,c},runWithContext(u){const d=mn;mn=c;try{return u()}finally{mn=d}}};return c}}let mn=null;const Gh=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Yt(t)}Modifiers`];function jh(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||st;let a=o;const s=t.startsWith("update:"),r=s&&Gh(n,t.slice(7));r&&(r.trim&&(a=o.map(u=>it(u)?u.trim():u)),r.number&&(a=a.map(Mr)));let i,l=n[i=Nr(t)]||n[i=Nr(xt(t))];!l&&s&&(l=n[i=Nr(Yt(t))]),l&&so(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,so(c,e,6,a)}}const Uh=new WeakMap;function nu(e,t,o=!1){const n=o?Uh:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const s=e.emits;let r={},i=!1;if(!De(e)){const l=c=>{const u=nu(c,t,!0);u&&(i=!0,mt(r,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(Je(e)&&n.set(e,null),null):(Fe(s)?s.forEach(l=>r[l]=null):mt(r,s),Je(e)&&n.set(e,r),r)}function Ms(e,t){return!e||!ns(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ze(e,t[0].toLowerCase()+t.slice(1))||Ze(e,Yt(t))||Ze(e,t))}function tC(){}function au(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[s],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:d,data:f,setupState:A,ctx:v,inheritAttrs:b}=e,_=xs(e);let $,h;try{if(o.shapeFlag&4){const w=a||n,p=w;$=_o(c.call(p,w,u,d,A,f,v)),h=i}else{const w=t;$=_o(w.length>1?w(d,{attrs:i,slots:r,emit:l}):w(d,null)),h=t.props?i:zh(i)}}catch(w){Oo.length=0,_a(w,e,1),$=tt(yo)}let m=$;if(h&&b!==!1){const w=Object.keys(h),{shapeFlag:p}=m;w.length&&p&7&&(s&&w.some(as)&&(h=Hh(h,s)),m=Un(m,h,!1,!0))}if(o.dirs&&(m=Un(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(o.dirs):o.dirs),o.transition){const w=Ls(m.type)&&Gc(m)||m;Qr(w,o.transition)}return $=m,xs(_),$}const zh=e=>{let t;for(const o in e)(o==="class"||o==="style"||ns(o))&&((t||(t={}))[o]=e[o]);return t},Hh=(e,t)=>{const o={};for(const n in e)(!as(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Vh(e,t,o){const{props:n,children:a,component:s}=e,{props:r,children:i,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?su(n,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(ru(r,n,f)&&!Ms(c,f))return!0}}}else return(a||i)&&(!i||!i.$stable)?!0:n===r?!1:n?r?su(n,r,c):!0:!!r;return!1}function su(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let a=0;a<n.length;a++){const s=n[a];if(ru(t,e,s)&&!Ms(o,s))return!0}return!1}function ru(e,t,o){const n=e[o],a=t[o];return o==="style"&&Je(n)&&Je(a)?!ds(n,a):n!==a}function Kh({vnode:e,parent:t,suspense:o},n){for(;t;){const a=t.subTree;if(a.suspense&&a.suspense.activeBranch===e&&(a.suspense.vnode.el=a.el=n,e=a),a===e)(e=t.vnode).el=n,t=t.parent;else break}o&&o.activeBranch===e&&(o.vnode.el=n)}const iu={},lu=()=>Object.create(iu),cu=e=>Object.getPrototypeOf(e)===iu;function qh(e,t,o,n=!1){const a={},s=lu();e.propsDefaults=Object.create(null),uu(e,t,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);o?e.props=n?a:Kf(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function Wh(e,t,o,n){const{props:a,attrs:s,vnode:{patchFlag:r}}=e,i=Ke(a),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(Ms(e.emitsOptions,f))continue;const A=t[f];if(l)if(Ze(s,f))A!==s[f]&&(s[f]=A,c=!0);else{const v=xt(f);a[v]=si(l,i,v,A,e,!1)}else A!==s[f]&&(s[f]=A,c=!0)}}}else{uu(e,t,a,s)&&(c=!0);let u;for(const d in i)(!t||!Ze(t,d)&&((u=Yt(d))===d||!Ze(t,u)))&&(l?o&&(o[d]!==void 0||o[u]!==void 0)&&(a[d]=si(l,i,d,void 0,e,!0)):delete a[d]);if(s!==i)for(const d in s)(!t||!Ze(t,d))&&(delete s[d],c=!0)}c&&To(e.attrs,"set","")}function uu(e,t,o,n){const[a,s]=e.propsOptions;let r=!1,i;if(t)for(let l in t){if(da(l))continue;const c=t[l];let u;a&&Ze(a,u=xt(l))?!s||!s.includes(u)?o[u]=c:(i||(i={}))[u]=c:Ms(e.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,r=!0)}if(s){const l=Ke(o),c=i||st;for(let u=0;u<s.length;u++){const d=s[u];o[d]=si(a,l,d,c[d],e,!Ze(c,d))}}return r}function si(e,t,o,n,a,s){const r=e[o];if(r!=null){const i=Ze(r,"default");if(i&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&De(l)){const{propsDefaults:c}=a;if(o in c)n=c[o];else{const u=Na(a);n=c[o]=l.call(null,t),u()}}else n=l;a.ce&&a.ce._setProp(o,n)}r[0]&&(s&&!i?n=!1:r[1]&&(n===""||n===Yt(o))&&(n=!0))}return n}const Yh=new WeakMap;function pu(e,t,o=!1){const n=o?Yh:t.propsCache,a=n.get(e);if(a)return a;const s=e.props,r={},i=[];let l=!1;if(!De(e)){const u=d=>{l=!0;const[f,A]=pu(d,t,!0);mt(r,f),A&&i.push(...A)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Je(e)&&n.set(e,Mn),Mn;if(Fe(s))for(let u=0;u<s.length;u++){const d=xt(s[u]);du(d)&&(r[d]=st)}else if(s)for(const u in s){const d=xt(u);if(du(d)){const f=s[u],A=r[d]=Fe(f)||De(f)?{type:f}:mt({},f),v=A.type;let b=!1,_=!0;if(Fe(v))for(let $=0;$<v.length;++$){const h=v[$],m=De(h)&&h.name;if(m==="Boolean"){b=!0;break}else m==="String"&&(_=!1)}else b=De(v)&&v.name==="Boolean";A[0]=b,A[1]=_,(b||Ze(A,"default"))&&i.push(d)}}const c=[r,i];return Je(e)&&n.set(e,c),c}function du(e){return e[0]!=="$"&&!da(e)}const ri=e=>e==="_"||e==="_ctx"||e==="$stable",ii=e=>Fe(e)?e.map(_o):[_o(e)],Xh=(e,t,o)=>{if(t._n)return t;const n=jt((...a)=>ii(t(...a)),o);return n._c=!1,n},gu=(e,t,o)=>{const n=e._ctx;for(const a in e){if(ri(a))continue;const s=e[a];if(De(s))t[a]=Xh(a,s,n);else if(s!=null){const r=ii(s);t[a]=()=>r}}},fu=(e,t)=>{const o=ii(t);e.slots.default=()=>o},hu=(e,t,o)=>{for(const n in t)(o||!ri(n))&&(e[n]=t[n])},Zh=(e,t,o)=>{const n=e.slots=lu();if(e.vnode.shapeFlag&32){const a=t._;a?(hu(n,t,o),o&&Ql(n,"_",a,!0)):gu(t,n)}else t&&fu(e,t)},Jh=(e,t,o)=>{const{vnode:n,slots:a}=e;let s=!0,r=st;if(n.shapeFlag&32){const i=t._;i?o&&i===1?s=!1:hu(a,t,o):(s=!t.$stable,gu(t,a)),r=t}else t&&(fu(e,t),r={default:1});if(s)for(const i in a)!ri(i)&&r[i]==null&&delete a[i]},Dt=nm;function Qh(e){return em(e)}function em(e,t){const o=ps();o.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:A=po,insertStaticContent:v}=e,b=(T,F,I,W=null,Y=null,O=null,ue=void 0,te=null,k=!!F.dynamicChildren)=>{if(T===F)return;T&&!Ea(T,F)&&(W=$e(T),j(T,Y,O,!0),T=null),F.patchFlag===-2&&(k=!1,F.dynamicChildren=null);const{type:x,ref:B,shapeFlag:X}=F;switch(x){case Aa:_(T,F,I,W);break;case yo:$(T,F,I,W);break;case Rs:T==null&&h(F,I,W,ue);break;case Ue:J(T,F,I,W,Y,O,ue,te,k);break;default:X&1?p(T,F,I,W,Y,O,ue,te,k):X&6?U(T,F,I,W,Y,O,ue,te,k):(X&64||X&128)&&x.process(T,F,I,W,Y,O,ue,te,k,de)}B!=null&&Y?xa(B,T&&T.ref,O,F||T,!F):B==null&&T&&T.ref!=null&&xa(T.ref,null,O,T,!0)},_=(T,F,I,W)=>{if(T==null)n(F.el=i(F.children),I,W);else{const Y=F.el=T.el;F.children!==T.children&&c(Y,F.children)}},$=(T,F,I,W)=>{T==null?n(F.el=l(F.children||""),I,W):F.el=T.el},h=(T,F,I,W)=>{[T.el,T.anchor]=v(T.children,F,I,W,T.el,T.anchor)},m=({el:T,anchor:F},I,W)=>{let Y;for(;T&&T!==F;)Y=f(T),n(T,I,W),T=Y;n(F,I,W)},w=({el:T,anchor:F})=>{let I;for(;T&&T!==F;)I=f(T),a(T),T=I;a(F)},p=(T,F,I,W,Y,O,ue,te,k)=>{if(F.type==="svg"?ue="svg":F.type==="math"&&(ue="mathml"),T==null)P(F,I,W,Y,O,ue,te,k);else{const x=T.el&&T.el._isVueCE?T.el:null;try{x&&x._beginPatch(),S(T,F,Y,O,ue,te,k)}finally{x&&x._endPatch()}}},P=(T,F,I,W,Y,O,ue,te)=>{let k,x;const{props:B,shapeFlag:X,transition:me,dirs:ce}=T;if(k=T.el=r(T.type,O,B&&B.is,B),X&8?u(k,T.children):X&16&&C(T.children,k,null,W,Y,li(T,O),ue,te),ce&&gn(T,null,W,"created"),g(k,T,T.scopeId,ue,W),B){for(const le in B)le!=="value"&&!da(le)&&s(k,le,null,B[le],O,W);"value"in B&&s(k,"value",null,B.value,O),(x=B.onVnodeBeforeMount)&&vo(x,W,T)}ce&&gn(T,null,W,"beforeMount");const Z=tm(Y,me);Z&&me.beforeEnter(k),n(k,F,I),((x=B&&B.onVnodeMounted)||Z||ce)&&Dt(()=>{try{x&&vo(x,W,T),Z&&me.enter(k),ce&&gn(T,null,W,"mounted")}finally{}},Y)},g=(T,F,I,W,Y)=>{if(I&&A(T,I),W)for(let O=0;O<W.length;O++)A(T,W[O]);if(Y){let O=Y.subTree;if(F===O||yu(O.type)&&(O.ssContent===F||O.ssFallback===F)){const ue=Y.vnode;g(T,ue,ue.scopeId,ue.slotScopeIds,Y.parent)}}},C=(T,F,I,W,Y,O,ue,te,k=0)=>{for(let x=k;x<T.length;x++){const B=T[x]=te?Do(T[x]):_o(T[x]);b(null,B,F,I,W,Y,O,ue,te)}},S=(T,F,I,W,Y,O,ue)=>{const te=F.el=T.el;let{patchFlag:k,dynamicChildren:x,dirs:B}=F;k|=T.patchFlag&16;const X=T.props||st,me=F.props||st;let ce;if(I&&bn(I,!1),(ce=me.onVnodeBeforeUpdate)&&vo(ce,I,F,T),B&&gn(F,T,I,"beforeUpdate"),I&&bn(I,!0),x&&(!T.dynamicChildren||T.dynamicChildren.length!==x.length)&&(k=0,ue=!1,x=null),(X.innerHTML&&me.innerHTML==null||X.textContent&&me.textContent==null)&&u(te,""),x?G(T.dynamicChildren,x,te,I,W,li(F,Y),O):ue||z(T,F,te,null,I,W,li(F,Y),O,!1),k>0){if(k&16)H(te,X,me,I,Y);else if(k&2&&X.class!==me.class&&s(te,"class",null,me.class,Y),k&4&&s(te,"style",X.style,me.style,Y),k&8){const Z=F.dynamicProps;for(let le=0;le<Z.length;le++){const Ce=Z[le],Te=X[Ce],qe=me[Ce];(qe!==Te||Ce==="value")&&s(te,Ce,Te,qe,Y,I)}}k&1&&T.children!==F.children&&u(te,F.children)}else!ue&&x==null&&H(te,X,me,I,Y);((ce=me.onVnodeUpdated)||B)&&Dt(()=>{ce&&vo(ce,I,F,T),B&&gn(F,T,I,"updated")},W)},G=(T,F,I,W,Y,O,ue)=>{for(let te=0;te<F.length;te++){const k=T[te],x=F[te],B=k.el&&(k.type===Ue||!Ea(k,x)||k.shapeFlag&198)?d(k.el):I;b(k,x,B,null,W,Y,O,ue,!0)}},H=(T,F,I,W,Y)=>{if(F!==I){if(F!==st)for(const O in F)!da(O)&&!(O in I)&&s(T,O,F[O],null,Y,W);for(const O in I){if(da(O))continue;const ue=I[O],te=F[O];ue!==te&&O!=="value"&&s(T,O,te,ue,Y,W)}"value"in I&&s(T,"value",F.value,I.value,Y)}},J=(T,F,I,W,Y,O,ue,te,k)=>{const x=F.el=T?T.el:i(""),B=F.anchor=T?T.anchor:i("");let{patchFlag:X,dynamicChildren:me,slotScopeIds:ce}=F;ce&&(te=te?te.concat(ce):ce),T==null?(n(x,I,W),n(B,I,W),C(F.children||[],I,B,Y,O,ue,te,k)):X>0&&X&64&&me&&T.dynamicChildren&&T.dynamicChildren.length===me.length?(G(T.dynamicChildren,me,I,Y,O,ue,te),(F.key!=null||Y&&F===Y.subTree)&&ci(T,F,!0)):z(T,F,I,B,Y,O,ue,te,k)},U=(T,F,I,W,Y,O,ue,te,k)=>{F.slotScopeIds=te,T==null?F.shapeFlag&512?Y.ctx.activate(F,I,W,ue,k):D(F,I,W,Y,O,ue,k):L(T,F,k)},D=(T,F,I,W,Y,O,ue)=>{const te=T.component=um(T,W,Y);if(Cs(T)&&(te.ctx.renderer=de),pm(te,!1,ue),te.asyncDep){if(Y&&Y.registerDep(te,y,ue),!T.el){const k=te.subTree=tt(yo);$(null,k,F,I),T.placeholder=k.el}}else y(te,T,F,I,Y,O,ue)},L=(T,F,I)=>{const W=F.component=T.component;if(Vh(T,F,I))if(W.asyncDep&&!W.asyncResolved){M(W,F,I);return}else W.next=F,W.update();else F.el=T.el,W.vnode=F},y=(T,F,I,W,Y,O,ue)=>{const te=()=>{if(T.isMounted){let{next:X,bu:me,u:ce,parent:Z,vnode:le}=T;{const Qe=mu(T);if(Qe){X&&(X.el=le.el,M(T,X,ue)),Qe.asyncDep.then(()=>{Dt(()=>{T.isUnmounted||x()},Y)});return}}let Ce=X,Te;bn(T,!1),X?(X.el=le.el,M(T,X,ue)):X=le,me&&us(me),(Te=X.props&&X.props.onVnodeBeforeUpdate)&&vo(Te,Z,X,le),bn(T,!0);const qe=au(T),nt=T.subTree;T.subTree=qe,b(nt,qe,d(nt.el),$e(nt),T,Y,O),X.el=qe.el,Ce===null&&Kh(T,qe.el),ce&&Dt(ce,Y),(Te=X.props&&X.props.onVnodeUpdated)&&Dt(()=>vo(Te,Z,X,le),Y)}else{let X;const{el:me,props:ce}=F,{bm:Z,m:le,parent:Ce,root:Te,type:qe}=T,nt=jn(F);bn(T,!1),Z&&us(Z),!nt&&(X=ce&&ce.onVnodeBeforeMount)&&vo(X,Ce,F),bn(T,!0);{Te.ce&&Te.ce._hasShadowRoot()&&Te.ce._injectChildStyle(qe,T.parent?T.parent.type:void 0);const Qe=T.subTree=au(T);b(null,Qe,I,W,T,Y,O),F.el=Qe.el}if(le&&Dt(le,Y),!nt&&(X=ce&&ce.onVnodeMounted)){const Qe=F;Dt(()=>vo(X,Ce,Qe),Y)}(F.shapeFlag&256||Ce&&jn(Ce.vnode)&&Ce.vnode.shapeFlag&256)&&T.a&&Dt(T.a,Y),T.isMounted=!0,F=I=W=null}};T.scope.on();const k=T.effect=new lc(te);T.scope.off();const x=T.update=k.run.bind(k),B=T.job=k.runIfDirty.bind(k);B.i=T,B.id=T.uid,k.scheduler=()=>qr(B),bn(T,!0),x()},M=(T,F,I)=>{F.component=T;const W=T.vnode.props;T.vnode=F,T.next=null,Wh(T,F.props,W,I),Jh(T,F.children,I),fo(),Nc(T),ho()},z=(T,F,I,W,Y,O,ue,te,k=!1)=>{const x=T&&T.children,B=T?T.shapeFlag:0,X=F.children,{patchFlag:me,shapeFlag:ce}=F;if(me>0){if(me&128){Q(x,X,I,W,Y,O,ue,te,k);return}else if(me&256){K(x,X,I,W,Y,O,ue,te,k);return}}ce&8?(B&16&&ke(x,Y,O),X!==x&&u(I,X)):B&16?ce&16?Q(x,X,I,W,Y,O,ue,te,k):ke(x,Y,O,!0):(B&8&&u(I,""),ce&16&&C(X,I,W,Y,O,ue,te,k))},K=(T,F,I,W,Y,O,ue,te,k)=>{T=T||Mn,F=F||Mn;const x=T.length,B=F.length,X=Math.min(x,B);let me;for(me=0;me<X;me++){const ce=F[me]=k?Do(F[me]):_o(F[me]);b(T[me],ce,I,null,Y,O,ue,te,k)}x>B?ke(T,Y,O,!0,!1,X):C(F,I,W,Y,O,ue,te,k,X)},Q=(T,F,I,W,Y,O,ue,te,k)=>{let x=0;const B=F.length;let X=T.length-1,me=B-1;for(;x<=X&&x<=me;){const ce=T[x],Z=F[x]=k?Do(F[x]):_o(F[x]);if(Ea(ce,Z))b(ce,Z,I,null,Y,O,ue,te,k);else break;x++}for(;x<=X&&x<=me;){const ce=T[X],Z=F[me]=k?Do(F[me]):_o(F[me]);if(Ea(ce,Z))b(ce,Z,I,null,Y,O,ue,te,k);else break;X--,me--}if(x>X){if(x<=me){const ce=me+1,Z=ce<B?F[ce].el:W;for(;x<=me;)b(null,F[x]=k?Do(F[x]):_o(F[x]),I,Z,Y,O,ue,te,k),x++}}else if(x>me)for(;x<=X;)j(T[x],Y,O,!0),x++;else{const ce=x,Z=x,le=new Map;for(x=Z;x<=me;x++){const ve=F[x]=k?Do(F[x]):_o(F[x]);ve.key!=null&&le.set(ve.key,x)}let Ce,Te=0;const qe=me-Z+1;let nt=!1,Qe=0;const V=new Array(qe);for(x=0;x<qe;x++)V[x]=0;for(x=ce;x<=X;x++){const ve=T[x];if(Te>=qe){j(ve,Y,O,!0);continue}let Se;if(ve.key!=null)Se=le.get(ve.key);else for(Ce=Z;Ce<=me;Ce++)if(V[Ce-Z]===0&&Ea(ve,F[Ce])){Se=Ce;break}Se===void 0?j(ve,Y,O,!0):(V[Se-Z]=x+1,Se>=Qe?Qe=Se:nt=!0,b(ve,F[Se],I,null,Y,O,ue,te,k),Te++)}const se=nt?om(V):Mn;for(Ce=se.length-1,x=qe-1;x>=0;x--){const ve=Z+x,Se=F[ve],Ie=F[ve+1],rt=ve+1<B?Ie.el||$u(Ie):W;V[x]===0?b(null,Se,I,rt,Y,O,ue,te,k):nt&&(Ce<0||x!==se[Ce]?ie(Se,I,rt,2):Ce--)}}},ie=(T,F,I,W,Y=null)=>{const{el:O,type:ue,transition:te,children:k,shapeFlag:x}=T;if(x&6){ie(T.component.subTree,F,I,W);return}if(x&128){T.suspense.move(F,I,W);return}if(x&64){ue.move(T,F,I,de);return}if(ue===Ue){n(O,F,I);for(let X=0;X<k.length;X++)ie(k[X],F,I,W);n(T.anchor,F,I);return}if(ue===Rs){m(T,F,I);return}if(W!==2&&x&1&&te)if(W===0)te.persisted&&!O[Jr]?n(O,F,I):(te.beforeEnter(O),n(O,F,I),Dt(()=>te.enter(O),Y));else{const{leave:X,delayLeave:me,afterLeave:ce}=te,Z=()=>{T.ctx.isUnmounted?a(O):n(O,F,I)},le=()=>{const Ce=O._isLeaving||!!O[Jr];O._isLeaving&&O[Jr](!0),te.persisted&&!Ce?Z():X(O,()=>{Z(),ce&&ce()})};me?me(O,Z,le):le()}else n(O,F,I)},j=(T,F,I,W=!1,Y=!1)=>{const{type:O,props:ue,ref:te,children:k,dynamicChildren:x,shapeFlag:B,patchFlag:X,dirs:me,cacheIndex:ce,memo:Z}=T;if(X===-2&&(Y=!1),te!=null&&(fo(),xa(te,null,I,T,!0),ho()),ce!=null&&(F.renderCache[ce]=void 0),B&256){F.ctx.deactivate(T);return}const le=B&1&&me,Ce=!jn(T);let Te;if(Ce&&(Te=ue&&ue.onVnodeBeforeUnmount)&&vo(Te,F,T),B&6)fe(T.component,I,W);else{if(B&128){T.suspense.unmount(I,W);return}le&&gn(T,null,F,"beforeUnmount"),B&64?T.type.remove(T,F,I,de,W):x&&!x.hasOnce&&(O!==Ue||X>0&&X&64)?ke(x,F,I,!1,!0):(O===Ue&&X&384||!Y&&B&16)&&ke(k,F,I),W&&be(T)}const qe=Z!=null&&ce==null;(Ce&&(Te=ue&&ue.onVnodeUnmounted)||le||qe)&&Dt(()=>{Te&&vo(Te,F,T),le&&gn(T,null,F,"unmounted"),qe&&(T.el=null)},I)},be=T=>{const{type:F,el:I,anchor:W,transition:Y}=T;if(F===Ue){xe(I,W);return}if(F===Rs){w(T);return}const O=()=>{a(I),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(T.shapeFlag&1&&Y&&!Y.persisted){const{leave:ue,delayLeave:te}=Y,k=()=>ue(I,O);te?te(T.el,O,k):k()}else O()},xe=(T,F)=>{let I;for(;T!==F;)I=f(T),a(T),T=I;a(F)},fe=(T,F,I)=>{const{bum:W,scope:Y,job:O,subTree:ue,um:te,m:k,a:x}=T;bu(k),bu(x),W&&us(W),Y.stop(),O&&(O.flags|=8,j(ue,T,F,I)),te&&Dt(te,F),Dt(()=>{T.isUnmounted=!0},F)},ke=(T,F,I,W=!1,Y=!1,O=0)=>{for(let ue=O;ue<T.length;ue++)j(T[ue],F,I,W,Y)},$e=T=>{if(T.shapeFlag&6)return $e(T.component.subTree);if(T.shapeFlag&128)return T.suspense.next();const F=f(T.anchor||T.el),I=F&&F[Oc];return I?f(I):F};let ne=!1;const ee=(T,F,I)=>{let W;T==null?F._vnode&&(j(F._vnode,null,null,!0),W=F._vnode.component):b(F._vnode||null,T,F,null,null,null,I),F._vnode=T,ne||(ne=!0,Nc(W),Mc(),ne=!1)},de={p:b,um:j,m:ie,r:be,mt:D,mc:C,pc:z,pbc:G,n:$e,o:e};return{render:ee,hydrate:void 0,createApp:Bh(ee)}}function li({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 bn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ci(e,t,o=!1){const n=e.children,a=t.children;if(Fe(n)&&Fe(a))for(let s=0;s<n.length;s++){const r=n[s];let i=a[s];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=a[s]=Do(a[s]),i.el=r.el),!o&&i.patchFlag!==-2&&ci(r,i)),i.type===Aa&&(i.patchFlag===-1&&(i=a[s]=Do(i)),i.el=r.el),i.type===yo&&!i.el&&(i.el=r.el)}}function om(e){const t=e.slice(),o=[0];let n,a,s,r,i;const l=e.length;for(n=0;n<l;n++){const c=e[n];if(c!==0){if(a=o[o.length-1],e[a]<c){t[n]=a,o.push(n);continue}for(s=0,r=o.length-1;s<r;)i=s+r>>1,e[o[i]]<c?s=i+1:r=i;c<e[o[s]]&&(s>0&&(t[n]=o[s-1]),o[s]=n)}}for(s=o.length,r=o[s-1];s-- >0;)o[s]=r,r=t[r];return o}function mu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:mu(t)}function bu(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function $u(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?$u(t.subTree):null}const yu=e=>e.__isSuspense;function nm(e,t){t&&t.pendingBranch?Fe(e)?t.effects.push(...e):t.effects.push(e):lh(e)}const Ue=Symbol.for("v-fgt"),Aa=Symbol.for("v-txt"),yo=Symbol.for("v-cmt"),Rs=Symbol.for("v-stc"),Oo=[];let Kt=null;function ae(e=!1){Oo.push(Kt=e?null:[])}function ui(){Oo.pop(),Kt=Oo[Oo.length-1]||null}let Pa=1;function Fs(e,t=!1){Pa+=e,e<0&&Kt&&t&&(Kt.hasOnce=!0)}function _u(e){return e.dynamicChildren=Pa>0?Kt||Mn:null,ui(),Pa>0&&Kt&&Kt.push(e),e}function pe(e,t,o,n,a,s){return _u(R(e,t,o,n,a,s,!0))}function et(e,t,o,n,a){return _u(tt(e,t,o,n,a,!0))}function Ca(e){return e?e.__v_isVNode===!0:!1}function Ea(e,t){return e.type===t.type&&e.key===t.key}const vu=({key:e})=>e??null,Is=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?it(e)||ut(e)||De(e)?{i:At,r:e,k:t,f:!!o}:e:null);function R(e,t=null,o=null,n=0,a=null,s=e===Ue?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vu(t),ref:t&&Is(t),scopeId:Fc,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:At};return i?(Os(l,o),s&128&&e.normalize(l)):o&&(l.shapeFlag|=it(o)?8:16),Pa>0&&!r&&Kt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Kt.push(l),l}const tt=am;function am(e,t=null,o=null,n=0,a=null,s=!1){if((!e||e===Kc)&&(e=yo),Ca(e)){const i=Un(e,t,!0);return o&&Os(i,o),Pa>0&&!s&&Kt&&(i.shapeFlag&6?Kt[Kt.indexOf(e)]=i:Kt.push(i)),i.patchFlag=-2,i}if(bm(e)&&(e=e.__vccOpts),t){t=sm(t);let{class:i,style:l}=t;i&&!it(i)&&(t.class=Me(i)),Je(l)&&(ys(l)&&!Fe(l)&&(l=mt({},l)),t.style=dt(l))}const r=it(e)?1:yu(e)?128:Ls(e)?64:Je(e)?4:De(e)?2:0;return R(e,t,o,n,a,r,s,!0)}function sm(e){return e?ys(e)||cu(e)?mt({},e):e:null}function Un(e,t,o=!1,n=!1){const{props:a,ref:s,patchFlag:r,children:i,transition:l}=e,c=t?im(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&vu(c),ref:t&&t.ref?o&&s?Fe(s)?s.concat(Is(t)):[s,Is(t)]:Is(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Un(e.ssContent),ssFallback:e.ssFallback&&Un(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Qr(u,l.clone(u)),u}function Pt(e=" ",t=0){return tt(Aa,null,e,t)}function rm(e,t){const o=tt(Rs,null,e);return o.staticCount=t,o}function Le(e="",t=!1){return t?(ae(),et(yo,null,e)):tt(yo,null,e)}function _o(e){return e==null||typeof e=="boolean"?tt(yo):Fe(e)?tt(Ue,null,e.slice()):Ca(e)?Do(e):tt(Aa,null,String(e))}function Do(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Un(e)}function Os(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),Os(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!cu(t)?t._ctx=At:a===3&&At&&(At.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(De(t)){if(n&65){Os(e,{default:t});return}t={default:t,_ctx:At},o=32}else t=String(t),n&64?(o=16,t=[Pt(t)]):o=8;e.children=t,e.shapeFlag|=o}function im(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const a in n)if(a==="class")t.class!==n.class&&(t.class=Me([t.class,n.class]));else if(a==="style")t.style=dt([t.style,n.style]);else if(ns(a)){const s=t[a],r=n[a];r&&s!==r&&!(Fe(s)&&s.includes(r))?t[a]=s?[].concat(s,r):r:r==null&&s==null&&!as(a)&&(t[a]=r)}else a!==""&&(t[a]=n[a])}return t}function vo(e,t,o,n=null){so(e,t,7,[o,n])}const lm=ou();let cm=0;function um(e,t,o){const n=e.type,a=(t?t.appContext:e.appContext)||lm,s={uid:cm++,vnode:e,type:n,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new rc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pu(n,a),emitsOptions:nu(n,a),emit:null,emitted:null,propsDefaults:st,inheritAttrs:n.inheritAttrs,ctx:st,data:st,props:st,attrs:st,slots:st,refs:st,setupState:st,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=jh.bind(null,s),e.ce&&e.ce(s),s}let Ct=null;const ko=()=>Ct||At;let Ds,Ta;{const e=ps(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),s=>{a.length>1?a.forEach(r=>r(s)):a[0](s)}};Ds=t("__VUE_INSTANCE_SETTERS__",o=>Ct=o),Ta=t("__VUE_SSR_SETTERS__",o=>zn=o)}const Na=e=>{const t=Ct;return Ds(e),e.scope.on(),()=>{e.scope.off(),Ds(t)}},ku=()=>{Ct&&Ct.scope.off(),Ds(null)};function wu(e){return e.vnode.shapeFlag&4}let zn=!1;function pm(e,t=!1,o=!1){t&&Ta(t);const{props:n,children:a}=e.vnode,s=wu(e);qh(e,n,s,t),Zh(e,a,o||t);const r=s?dm(e,t):void 0;return t&&Ta(!1),r}function dm(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nh);const{setup:n}=o;if(n){fo();const a=e.setupContext=n.length>1?fm(e):null,s=Na(e),r=Dn(n,e,0,[e.props,a]),i=Zl(r);if(ho(),s(),(i||e.sp)&&!jn(e)&&ei(e),i){if(r.then(ku,ku),t)return r.then(l=>{Ta(!0);try{xu(e,l,t)}finally{Ta(!1)}}).catch(l=>{_a(l,e,0)});e.asyncDep=r}else xu(e,r)}else Lu(e)}function xu(e,t,o){De(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Ac(t)),Lu(e)}function Lu(e,t,o){const n=e.type;e.render||(e.render=n.render||po);{const a=Na(e);fo();try{Mh(e)}finally{ho(),a()}}}const gm={get(e,t){return Nt(e,"get",""),e[t]}};function fm(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,gm),slots:e.slots,emit:e.emit,expose:t}}function Bs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ac(In(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in La)return La[o](e)},has(t,o){return o in t||o in La}})):e.proxy}const hm=/(?:^|[-_])\w/g,mm=e=>e.replace(hm,t=>t.toUpperCase()).replace(/[-_]/g,"");function Su(e,t=!0){return De(e)?e.displayName||e.name:e.name||t&&e.__name}function Au(e,t,o=!1){let n=Su(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=s=>{for(const r in s)if(s[r]===t)return r};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?mm(n):o?"App":"Anonymous"}function bm(e){return De(e)&&"__vccOpts"in e}const oe=(e,t)=>Qf(e,t,zn);function Pu(e,t,o){try{Fs(-1);const n=arguments.length;return n===2?Je(t)&&!Fe(t)?Ca(t)?tt(e,null,[t]):tt(e,t):tt(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Ca(o)&&(o=[o]),tt(e,t,o))}finally{Fs(1)}}const $m="3.5.42";/**
|
||
* @vue/runtime-dom v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let pi;const Cu=typeof window<"u"&&window.trustedTypes;if(Cu)try{pi=Cu.createPolicy("vue",{createHTML:e=>e})}catch{}const Eu=pi?e=>pi.createHTML(e):e=>e,ym="http://www.w3.org/2000/svg",_m="http://www.w3.org/1998/Math/MathML",Bo=typeof document<"u"?document:null,Tu=Bo&&Bo.createElement("template"),vm={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"?Bo.createElementNS(ym,e):t==="mathml"?Bo.createElementNS(_m,e):o?Bo.createElement(e,{is:o}):Bo.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>Bo.createTextNode(e),createComment:e=>Bo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,a,s){const r=o?o.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),o),!(a===s||!(a=a.nextSibling)););else{Tu.innerHTML=Eu(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const i=Tu.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[r?r.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},km=Symbol("_vtc");function wm(e,t,o){const n=e[km];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Gs=Symbol("_vod"),Nu=Symbol("_vsh"),xm={name:"show",beforeMount(e,{value:t},{transition:o}){e[Gs]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Ma(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),Ma(e,!0),n.enter(e)):n.leave(e,()=>{Ma(e,!1)}):Ma(e,t))},beforeUnmount(e,{value:t}){Ma(e,t)}};function Ma(e,t){e.style.display=t?e[Gs]:"none",e[Nu]=!t}const Lm=Symbol(""),Sm=/(?:^|;)\s*display\s*:/;function Am(e,t,o){const n=e.style,a=it(o);let s=!1;if(o&&!a){if(t)if(it(t))for(const r of t.split(";")){const i=r.slice(0,r.indexOf(":")).trim();o[i]==null&&Ra(n,i,"")}else for(const r in t)o[r]==null&&Ra(n,r,"");for(const r in o){r==="display"&&(s=!0);const i=o[r];i!=null?Cm(e,r,!it(t)&&t?t[r]:void 0,i)||Ra(n,r,i):Ra(n,r,"")}}else if(a){if(t!==o){const r=n[Lm];r&&(o+=";"+r),n.cssText=o,s=Sm.test(o)}}else t&&e.removeAttribute("style");Gs in e&&(e[Gs]=s?n.display:"",e[Nu]&&(n.display="none"))}const js=/\s*!important$/;function Ra(e,t,o){if(Fe(o))o.forEach(n=>Ra(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))js.test(o)?e.setProperty(t,o.replace(js,""),"important"):e.setProperty(t,o);else{const n=Pm(e,t);js.test(o)?e.setProperty(Yt(n),o.replace(js,""),"important"):e[n]=o}}const Mu=["Webkit","Moz","ms"],di={};function Pm(e,t){const o=di[t];if(o)return o;let n=xt(t);if(n!=="filter"&&n in e)return di[t]=n;n=cs(n);for(let a=0;a<Mu.length;a++){const s=Mu[a]+n;if(s in e)return di[t]=s}return t}function Cm(e,t,o,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&it(n)&&o===n}const Ru="http://www.w3.org/1999/xlink";function Fu(e,t,o,n,a,s=Lf(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(Ru,t.slice(6,t.length)):e.setAttributeNS(Ru,t,o):o==null||s&&!oc(o)?e.removeAttribute(t):e.setAttribute(t,s?"":Ht(o)?String(o):o)}function Iu(e,t,o,n,a){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?Eu(o):o);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const i=s==="OPTION"?e.getAttribute("value")||"":e.value,l=o==null?e.type==="checkbox"?"on":"":String(o);(i!==l||!("_value"in e))&&(e.value=l),o==null&&e.removeAttribute(t),e._value=o;return}let r=!1;if(o===""||o==null){const i=typeof e[t];i==="boolean"?o=oc(o):o==null&&i==="string"?(o="",r=!0):i==="number"&&(o=0,r=!0)}try{e[t]=o}catch{}r&&e.removeAttribute(a||t)}function Hn(e,t,o,n){e.addEventListener(t,o,n)}function Em(e,t,o,n){e.removeEventListener(t,o,n)}const Ou=Symbol("_vei");function Tm(e,t,o,n,a=null){const s=e[Ou]||(e[Ou]={}),r=s[t];if(n&&r)r.value=n;else{const[i,l]=Rm(t);if(n){const c=s[t]=Om(n,a);Hn(e,i,c,l)}else r&&(Em(e,i,r,l),s[t]=void 0)}}const Nm=/(Once|Passive|Capture)$/,Mm=/^on:?(?:Once|Passive|Capture)$/;function Rm(e){let t,o;for(;(o=e.match(Nm))&&!Mm.test(e);)t||(t={}),e=e.slice(0,e.length-o[1].length),t[o[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let gi=0;const Fm=Promise.resolve(),Im=()=>gi||(Fm.then(()=>gi=0),gi=Date.now());function Om(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 s=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{s.call(n),n._stopped=!0};const r=a.slice(),i=[n];for(let l=0;l<r.length&&!n._stopped;l++){const c=r[l];c&&so(c,t,5,i)}}else so(a,t,5,[n])};return o.value=e,o.attached=Im(),o}const Du=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dm=(e,t,o,n,a,s)=>{const r=a==="svg";t==="class"?wm(e,n,r):t==="style"?Am(e,o,n):ns(t)?as(t)||Tm(e,t,o,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Bm(e,t,n,r))?(Iu(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fu(e,t,n,r,s,t!=="value")):e._isVueCE&&(Gm(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!it(n)))?Iu(e,xt(t),n,s,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Fu(e,t,n,r))};function Bm(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Du(t)&&De(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Du(t)&&it(o)?!1:t in e}function Gm(e,t){const o=e._def.props;if(!o)return!1;const n=xt(t);return Array.isArray(o)?o.some(a=>xt(a)===n):Object.keys(o).some(a=>xt(a)===n)}const Bu={};function jm(e,t,o){let n=wa(e,t);rs(n)&&(n=mt({},n,t));class a extends fi{constructor(r){super(n,r,o)}}return a.def=n,a}const Um=typeof HTMLElement<"u"?HTMLElement:class{};class fi extends Um{constructor(t,o={},n=Vu){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!==Vu?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(mt({},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 fi){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,It(()=>{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.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,a=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:r}=n;let i;if(s&&!Fe(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=ec(this._props[l])),(i||(i=Object.create(null)))[xt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(r),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)Ze(this,n)||Object.defineProperty(this,n,{get:()=>ge(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(xt))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(s){this._setProp(a,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):Bu;const a=xt(t);o&&this._numberProps&&this._numberProps[a]&&(n=ec(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===Bu?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),a&&this._instance&&this._update(),n)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),o===!0?this.setAttribute(Yt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Yt(t),o+""):o||this.removeAttribute(Yt(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),qm(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=tt(this._def,mt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const a=(s,r)=>{this.dispatchEvent(new CustomEvent(s,rs(r[0])?mt({detail:r},r[0]):{detail:r}))};n.emit=(s,...r)=>{a(s,r),Yt(s)!==s&&a(Yt(s),r)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const a=this._nonce,s=this.shadowRoot,r=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(s);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],s.insertBefore(c,i||r),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o<t.childNodes.length;o++){const n=t.childNodes[o];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const n=o.nodeType===1&&o.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=this._getSlots(),o=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const a=t[n],s=a.getAttribute("name")||"default",r=this._slots[s],i=a.parentNode;if(r)for(const l of r){if(o&&l.nodeType===1){const c=o+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let d;for(;d=u.nextNode();)d.setAttribute(c,"")}i.insertBefore(l,a)}else for(;a.firstChild;)i.insertBefore(a.firstChild,a);i.removeChild(a)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const o=new Set;for(const n of t){const a=n.querySelectorAll("slot");for(let s=0;s<a.length;s++)o.add(a[s])}return Array.from(o)}_injectChildStyle(t,o){this._applyStyles(t.styles,t,o)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const Gu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Fe(t)?o=>us(t,o):t};function zm(e){e.target.composing=!0}function ju(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Us=Symbol("_assign"),zs=Symbol("_initialValue");function hi(e,t,o){return t&&(e=e.trim()),o&&(e=Mr(e)),e}const Uu={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[zs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[zs]=e.defaultValue.replace(/\r\n?/g,`
|
||
`))),e[Us]=Gu(a);const s=n||a.props&&a.props.type==="number";Hn(e,t?"change":"input",r=>{r.target.composing||e[Us](hi(e.value,o,s))}),(o||s)&&Hn(e,"change",()=>{e.value=hi(e.value,o,s)}),t||(Hn(e,"compositionstart",zm),Hn(e,"compositionend",ju),Hn(e,"change",ju))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",s=e[zs];delete e[zs],s!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==s?e[Us](hi(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:s}},r){if(e[Us]=Gu(r),e.composing)return;const i=(s||e.type==="number")&&!/^0\d/.test(e.value)?Mr(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)}},Hm=["ctrl","shift","alt","meta"],Vm={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)=>Hm.some(o=>e[`${o}Key`]&&!t.includes(o))},gt=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(a,...s)=>{for(let r=0;r<t.length;r++){const i=Vm[t[r]];if(i&&i(a,t))return}return e(a,...s)})},Km=mt({patchProp:Dm},vm);let zu;function Hu(){return zu||(zu=Qh(Km))}const qm=(...e)=>{Hu().render(...e)},Vu=(...e)=>{const t=Hu().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=Ym(n);if(!a)return;const s=t._component;!De(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const r=o(a,!1,Wm(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),r},t};function Wm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ym(e){return it(e)?document.querySelector(e):e}/*!
|
||
* pinia v2.3.1
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let Ku;const Hs=e=>Ku=e,qu=Symbol();function mi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Fa;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Fa||(Fa={}));function Xm(){const e=Fr(!0),t=e.run(()=>he({}));let o=[],n=[];const a=In({install(s){Hs(a),a._a=s,s.provide(qu,a),s.config.globalProperties.$pinia=a,n.forEach(r=>o.push(r)),n=[]},use(s){return this._a?o.push(s):n.push(s),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const Wu=()=>{};function Yu(e,t,o,n=Wu){e.push(t);const a=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),n())};return!o&&ic()&&Af(a),a}function Vn(e,...t){e.slice().forEach(o=>{o(...t)})}const Zm=e=>e(),Xu=Symbol(),bi=Symbol();function $i(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],a=e[o];mi(a)&&mi(n)&&e.hasOwnProperty(o)&&!ut(n)&&!Mo(n)?e[o]=$i(a,n):e[o]=n}return e}const Jm=Symbol();function Qm(e){return!mi(e)||!e.hasOwnProperty(Jm)}const{assign:Zo}=Object;function eb(e){return!!(ut(e)&&e.effect)}function tb(e,t,o,n){const{state:a,actions:s,getters:r}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=a?a():{});const u=Yf(o.state.value[e]);return Zo(u,s,Object.keys(r||{}).reduce((d,f)=>(d[f]=In(oe(()=>{Hs(o);const A=o._s.get(e);return r[f].call(A,A)})),d),{}))}return l=Zu(e,c,t,o,n,!0),l}function Zu(e,t,o={},n,a,s){let r;const i=Zo({actions:{}},o),l={deep:!0};let c,u,d=[],f=[],A;const v=n.state.value[e];!s&&!v&&(n.state.value[e]={});let b;function _(C){let S;c=u=!1,typeof C=="function"?(C(n.state.value[e]),S={type:Fa.patchFunction,storeId:e,events:A}):($i(n.state.value[e],C),S={type:Fa.patchObject,payload:C,storeId:e,events:A});const G=b=Symbol();It().then(()=>{b===G&&(c=!0)}),u=!0,Vn(d,S,n.state.value[e])}const $=s?function(){const{state:S}=o,G=S?S():{};this.$patch(H=>{Zo(H,G)})}:Wu;function h(){r.stop(),d=[],f=[],n._s.delete(e)}const m=(C,S="")=>{if(Xu in C)return C[bi]=S,C;const G=function(){Hs(n);const H=Array.from(arguments),J=[],U=[];function D(M){J.push(M)}function L(M){U.push(M)}Vn(f,{args:H,name:G[bi],store:p,after:D,onError:L});let y;try{y=C.apply(this&&this.$id===e?this:p,H)}catch(M){throw Vn(U,M),M}return y instanceof Promise?y.then(M=>(Vn(J,M),M)).catch(M=>(Vn(U,M),Promise.reject(M))):(Vn(J,y),y)};return G[Xu]=!0,G[bi]=S,G},w={_p:n,$id:e,$onAction:Yu.bind(null,f),$patch:_,$reset:$,$subscribe(C,S={}){const G=Yu(d,C,S.detached,()=>H()),H=r.run(()=>Re(()=>n.state.value[e],J=>{(S.flush==="sync"?u:c)&&C({storeId:e,type:Fa.direct,events:A},J)},Zo({},l,S)));return G},$dispose:h},p=Fn(w);n._s.set(e,p);const g=(n._a&&n._a.runWithContext||Zm)(()=>n._e.run(()=>(r=Fr()).run(()=>t({action:m}))));for(const C in g){const S=g[C];if(ut(S)&&!eb(S)||Mo(S))s||(v&&Qm(S)&&(ut(S)?S.value=v[C]:$i(S,v[C])),n.state.value[e][C]=S);else if(typeof S=="function"){const G=m(S,C);g[C]=G,i.actions[C]=S}}return Zo(p,g),Zo(Ke(p),g),Object.defineProperty(p,"$state",{get:()=>n.state.value[e],set:C=>{_(S=>{Zo(S,C)})}}),n._p.forEach(C=>{Zo(p,r.run(()=>C({store:p,app:n._a,pinia:n,options:i})))}),v&&s&&o.hydrate&&o.hydrate(p.$state,v),c=!0,u=!0,p}/*! #__NO_SIDE_EFFECTS__ */function yi(e,t,o){let n,a;const s=typeof t=="function";typeof e=="string"?(n=e,a=s?o:t):(a=e,n=e.id);function r(i,l){const c=ch();return i=i||(c?Ne(qu,null):null),i&&Hs(i),i=Ku,i._s.has(n)||(s?Zu(n,t,a,i):tb(n,a,i)),i._s.get(n)}return r.$id=n,r}const _i="__doxaMapToken",vi="doxa:map-token",Ju="__doxaMapTokenBridge",Kn=()=>{if(typeof window>"u")return"";const e=window[_i];return typeof e=="string"?e:""};function Qu(e){if(typeof window>"u")return"";const t=typeof e=="string"?e.trim():"";if(!t||t===Kn())return Kn();window[_i]=t;try{window.dispatchEvent(new CustomEvent(vi,{detail:t}))}catch{}return t}function ob(){if(typeof window>"u"||window[Ju])return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!Kn()&&(window[_i]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return Kn()},set(t){Qu(t)}}),window[Ju]=!0}catch{}}function nb(){ob();const e=he(Kn());if(typeof window<"u"){const t=()=>{e.value=Kn()};window.addEventListener(vi,t);try{Xt(()=>window.removeEventListener(vi,t))}catch{}}return e}function Vs(e){return _h({loader:e,onError(t,o,n,a){a<=3?setTimeout(o,a*500):n()}})}const ab={title:"كل مجموعات الشعوب",locations:"{n} موقعًا (مجموعة × بلد)",doxa:"مجموعات شعوب DOXA",frontier:"حدودية — لم يبدأ شيء",unreached:"غير مُبشَّرة — العمل يبدأ",reached:"مُبشَّرة — الكنيسة موجودة",hint:"انقر على صف لعرضها كلها · انقر مرة أخرى لعرض الكل",loading:"جارٍ تحميل كل مجموعات الشعوب…",loadError:"تعذّر تحميل الخريطة.",pray:"صلِّ لأجلهم ←",population:"السكان {n}"},sb={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل",collapseLegend:"طيّ وسيلة الإيضاح",expandLegend:"توسيع وسيلة الإيضاح",toggleLegend:"إظهار وسيلة الإيضاح أو إخفاؤها"},rb={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:"الملصقات في كل صف"},ib={title:"الوصول إلى الإنترنت حيث تعيش الشعوب غير المنخرطة",bands:{yes:"متصل 60%+",partial:"جزئي 25–59%",no:"منخفض، أقل من 25%",unknown:"غير مُقاس"},peopleGroup:"شعب",caveat:"أرقام وطنية (البنك الدولي). بيانات الاتصال لكل مدينة غير متاحة للعامة — لا تستنتج حال مدينة من بيانات بلدها.",sheet:{close:"إغلاق",ai:"عُثر على هذه البيانات عبر بحث معمّق بالذكاء الاصطناعي — وقد تتضمن معلومات خاطئة.",dismiss:"إغلاق التنبيه",internetUsers:"مستخدمو الإنترنت",measured:"سنة القياس",mobilePer100:"اشتراكات الجوال لكل 100",peopleGroups:"الشعوب",topPlatform:"المنصة الأولى",unknown:"غير معروف",carriers:"شركات الاتصالات ومزودو الإنترنت ({n})",socialPlatforms:"منصات التواصل الاجتماعي",note:"أرقام وطنية وليست قياسات للمدن. أسماء شركات الاتصالات هي أسماء أصحاب سجلات ASN — وتشمل البنوك والجامعات إلى جانب مزودي الإنترنت، لذا فإن تصنيفها كشركات اتصالات تقدير مبني على الاسم وليس تصنيفًا مُتحقَّقًا منه."}},lb={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:"أدوات التحكم بالخريطة"},cb={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:"المكان"},ub={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},pb={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"الملاحظات التوضيحية أدناه باللغة الإنجليزية."},mode:{gap:"الفجوة",coverage:"الموارد المتوفرة"},search:{placeholder:"ابحث عن شعب أو لغة أو رمز ISO",clear:"مسح البحث",none:"لا شيء يطابق هذا الاسم أو اللغة أو الرمز.",placeholderShort:"شعب أو لغة أو رمز ISO"},legend:{title:"شعوب غير مبلَّغة ولا يوجد لها أي مورد إنجيلي",band60:"60%+ بلا أي مورد",band30:"30–59%",bandSome:"بعض الشعوب",bandAll:"كل الشعوب لديها شيء",tier2:"الكتاب المقدس والفيلم",tier1:"وُجد بعض الموارد",tier0:"لا شيء",hnr:"يمكنهم السماع، ولا يوجد نص",showAll:"عرض كل الشعوب",titleCoverage:"شعوب غير مبلَّغة ويوجد لها بعض الموارد الإنجيلية",cov80:"80%+ لديهم شيء",cov50:"50–79%",cov1:"1–49%",cov0:"لا شيء لأي منهم",tallyEach:"كل",tallyIs:"هو شعب واحد —",tallyOf:"منها،",tallyLink:"لديها رابط",doxa0:"لدى الجميع شيء",doxa1:"1–4 بلا شيء",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 لديهم موارد",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"شعوب دوكسا على هذه الخريطة",notPlaced:"ضمن القائمة، بلا موقع بعد",outOfScope:"لا توجد شعوب دوكسا — غير ملوَّنة"},tabs:{groups:"أكبر الشعوب",countries:"حسب البلد",regions:"حسب المنطقة",noprayer:"لا أحد يصلّي",hnr:"يسمعون، بلا نص"},stat:{language:"اللغة",population:"عدد السكان",countries:"البلدان",peopleGroups:"الشعوب",noResource:"لا يوجد أي مورد",peopleAffected:"الأشخاص المتأثرون",haveScripture:"لديهم الكتاب المقدس",haveFilm:"لديهم الفيلم",haveAudio:"لديهم كتاب مقدس مسموع",signLanguages:"لغات الإشارة",growingUnreached:"متزايدون وغير مبلَّغين",deathsDay:"الوفيات المقدَّرة يوميًا"},sheet:{ownLanguage:"بلغتهم الأم",close:"إغلاق",loading:"جارٍ تحميل الموارد…",pray:"صلِّ من أجل",everyResource:"كل الموارد بـ",alsoSpeak:"يتحدثون أيضًا"},res:{scripture:"الكتاب المقدس",film:"الفيلم",audio:"صوتي",bibleVideo:"فيديو كتابي",bibleStories:"Open Bible Stories",gospelAudio:"صوتيات الإنجيل",gospelPresentation:"عرض للإنجيل",scriptureEarth:"Scripture Earth",training:"تدريب على التلمذة",jesusFilm:"فيلم يسوع",audioScripture:"الكتاب المقدس الصوتي",bibleStoriesPlain:"قصص الكتاب المقدس"},state:{noneFound:"لا شيء",noneAtFcbh:"لا شيء في FCBH",noneAtGrn:"لا شيء في GRN",notInZume:"ليست ضمن لغات Zume الـ54",linkChecked:"تم التحقق من الرابط",unchecked:"لم يُتحقق منه",linkDead:"رابط معطّل",wrongLanguage:"لغة غير صحيحة",varietyNotStated:"(اللهجة غير محددة)",inLanguage:"بـ"},guide:{dotVsCountry:"كل نقطة هي شعب واحد من شعوب دوكسا ولغته؛ أما لون البلد فهو عدد تلك الشعوب.",noneFoundShort:"«لا شيء» تعني غير موجود في المصادر التي بحثنا فيها — وليست دليلًا على عدم وجوده.",tapCountry:"اضغط على بلد لترى الموارد الفعلية، شعبًا شعبًا."},tables:{title:"موارد الإنجيل — البيانات",showing:"عرض",of:"من",for:"لـ",filteredTo:"مصفّى حسب",showAll:"عرض كل الموارد",t_doxa:"دوكسا — الوصول إلى الإنجيل",t_links:"كل مورد ورابطه",t_nothing:"حيث لا يوجد شيء",t_countrygap:"الفجوة حسب البلد",t_translation:"يسمعون ولا نص لديهم",t_translationcountry:"أين نترجم",t_gaps:"الفجوات والفرص",t_bridges:"جسور المدن",t_deaf:"فجوة الصم",t_resources:"الموارد حسب الشعب",t_languages:"اللغات حسب البلد",t_growth:"الوصول مقابل نمو السكان"},pages:{listTitle:"موارد الإنجيل حسب اللغة",chartsTitle:"موارد الإنجيل — حسب اللغة",loadingTables:"جارٍ تحميل جداول الموارد…"},list:{noText:"بلا نص مقدس",hasScripture:"لديها الكتاب المقدس",allLanguages:"كل اللغات",peopleGroup:"شعب",peopleGroups:"شعوب",scriptureHere:"الكتاب المقدس بهذه اللغة"},columns:{"People group":"الشعب",Country:"البلد",Region:"المنطقة",Language:"اللغة",Population:"عدد السكان",Religion:"الديانة","Gospel access":"الوصول إلى الإنجيل",Resources:"الموارد",Scripture:"الكتاب المقدس","Bible video":"فيديو كتابي","Gospel presentation":"عرض للإنجيل",Countries:"البلدان","People groups":"الشعوب"},charts:{scriptureAny:"الكتاب المقدس (أي نوع)",fullBible:"الكتاب المقدس كاملاً",newTestament:"العهد الجديد",filmAny:"الفيلم (أي نوع)",nothingInPools:"لا شيء في المصادر التي جرى البحث فيها",nothingInPoolsLower:"لا شيء في المصادر التي جرى البحث فيها",noResourceInPools:"لم يُعثر على أي مورد في المصادر التي جرى البحث فيها",aResourceFound:"وُجد مورد",tabCoverage:"تغطية الموارد",tabGap:"أكبر الفجوات",keyScripture:"الكتاب المقدس",keyFilmStories:"الفيلم / القصص",keyAudioEtc:"صوتيات / عرض / تدريب",unresolvedCode:"رمز خارج ISO 639-3 — غير محسوم، لم يُقَس"}},db={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:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية."},gb={title:{adoption:"تقدم التبني",affinityBlocs:"كتل القرابة",doxaRegions:"مناطق Doxa",engagement:"تقدم الانخراط",gospelResources:"موارد الإنجيل",languageFamilies:"العائلات اللغوية",prayer:"تقدم الصلاة",upg100List:"قائمة UPG 100 الخاصة بي"},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:"مجموعة شعبية — المجموعات غير الموصول إليها داخل القائمة، الأكثر حاجة للصلاة أولاً. كل نقطة على الخريطة هي واحدة منها."},a11y:{expandRow:"توسيع {label}",collapseRow:"طي {label}",clearSelection:"إلغاء التحديد"}},fb={menuComingSoon:"القائمة قادمة قريباً",pinHint:{tapDot:"اضغط على نقطة ملوّنة — لا يزال هناك من يحتاج إلى الصلاة"},upg100WallHeading:"قائمتي UPG 100 — قوائم الصلاة والملصقات",upg100WallTag:"تعبئة للصلاة",upg100WallIntro:"وزّع مهمة الصلاة في مجموعات من خمسين ومئة — كما أطعم يسوع الخمسة آلاف (لوقا ٩:١٤). كل ملصق هو قائمة من 100 يمكنك أن تصلي بها وتطبعها وتعلّقها على الحائط — مصلّيًا لأجلهم <strong>باسم شعبهم</strong>."},hb={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},mb={country:{wagfRegion:"منطقة WAGF",wagfBlock:"كتلة WAGF",country:"الدولة",uupgCount:"عدد UUPG"}},bb={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},$b={"%count% people groups in %countries% countries":"%count% مجموعة شعبية في %countries% دولة","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"تضم %region% %count% مجموعة شعبية في %countries% دولة. يشير لون كل نقطة إلى عدد الأشخاص الذين يصلّون من أجل تلك المجموعة الشعبية.","1+ People Praying":"شخص واحد أو أكثر يصلّي","100+ People Praying":"أكثر من 100 شخص يصلّون",Adopted:"متبنَّاة","Adoption Progress":"تقدُّم التبنّي","All Regions":"جميع المناطق","Alternate Names":"الأسماء البديلة","Choose a region":"اختر منطقة","Clear All":"مسح الكل",Countries:"الدول","Countries in this region":"الدول في هذه المنطقة",Country:"الدولة",Engaged:"مَخْدُومَة","Engagement Progress":"تقدُّم الانخراط","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"كل مجموعة شعبية غير مَخْدُومَة تتبنّاها كنيسة ملتزمة بالصلاة والعطاء والإرسال","Exact Search":"بحث دقيق","Find unreached people groups by region and country.":"ابحث عن المجموعات الشعبية غير المبلَّغة حسب المنطقة والدولة.","Full Profile":"الملف الكامل",Goal:"الهدف","Hide Filters":"إخفاء المرشحات","Hide country posters":"إخفاء ملصقات الدولة",Intercessors:"المتشفعين","Load More":"تحميل المزيد","Loading results...":"النتائج قيد التحميل...",Map:"الخريطة","Mobilize 100+ people praying daily for each DOXA people group":"حشد أكثر من 100 شخص للصلاة يوميًا من أجل كل مجموعة شعبية من مجموعات دوكسا","No One Praying":"لا أحد يصلّي","No options found":"لم يتم العثور على أي خيارات","No poster has been generated for this country yet.":"لم يُنشأ أي ملصق لهذه الدولة بعد.","No unengaged people groups by 2033":"لا مجموعات شعبية غير مَخْدُومَة بحلول عام 2033","Not Adopted":"لم يتم انتماؤه",Other:"أخرى","Page Not Found":"الصفحة غير موجودة","People Group":"مجموعة شعبية","People Groups":"مجموعات شعبية","People committed to praying":"الأشخاص الذين التزموا بالصلاة","Pick a region above, or click any dot to open that people group's country.":"اختر منطقة أعلاه، أو انقر على أي نقطة لفتح دولة تلك المجموعة الشعبية.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"اختر منطقة أو دولة من تبويب قائمة المناطق لتضييق نطاق لوحة المعلومات هذه.",Population:"عدد السكان","Prayer Coverage":"تغطية الصلاة","Prayer coverage progress":"تقدم تغطية الصلاة","Region Dashboards":"لوحات معلومات المناطق","Region dashboard":"لوحة معلومات المنطقة",Regions:"المناطق","Regions List":"قائمة المناطق",Religion:"الدين","Search names, country/continent, religions...":"ابحث عن الأسماء، الدولة/القارة، الأديان...","See %region% dashboard":"عرض لوحة معلومات %region%","See All":"عرض جميع العناصر",Select:"اختر","Select View":"اختر العرض","Show Filters":"إظهار عوامل التصفية","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"توجد %count% مجموعة شعبية في %country%. تحقق من الخريطة لمعرفة المجموعات الشعبية الواقعة على حدود هذه الدولة أيضًا.",Total:"المجموع","Type to search...":"اكتب ما تريد البحث عنه...","Unengaged people groups":"المجموعات الشعبية غير المَخْدُومَة","View country posters":"عرض ملصقات الدولة",Views:"العروض","WAGF Block":"كتلة WAGF","WAGF Region":"منطقة WAGF","people groups adopted":"مجموعات شعبية متبنَّاة","people groups engaged":"مجموعات شعبية مَخْدُومَة","Outside this region":"خارج هذه المنطقة",Pray:"صلّي","Loading region dashboards…":"جارٍ تحميل لوحات المناطق…","No regions found.":"لم يتم العثور على مناطق.","Region data could not be loaded. This is a connection problem, not a filter.":"تعذّر تحميل بيانات المناطق. هذه مشكلة في الاتصال، وليست تصفية.","People groups could not be loaded. This is a connection problem, not a filter.":"تعذّر تحميل الشعوب. هذه مشكلة في الاتصال، وليست تصفية.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"تعذّر تشغيل الخريطة. هذه مشكلة في رمز الخريطة أو في الاتصال، وليست تصفية — والأرقام أعلاه غير متأثرة."},yb={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"},sections:{within:"ضمن {selection}",allData:"كل بيانات DOXA"},upg100Placeholder:"ابحث عن شعب أو قائمة UPG-100 أو منطقة…"},_b={title:"استوديو الإضافات",navLabel:"الإضافات حسب القدرة",countLabel:"{bundles} حزمة · {elements} إضافة مدرجة هنا",changeLanguage:"تغيير اللغة",copyEmbed:"نسخ رمز التضمين",copy:"نسخ",copied:"تم النسخ",scriptEmbed:"تضمين عبر سكربت",loading:"جارٍ تحميل {name}…",couldNotLoad:"تعذّر تحميل {name}.",chooseElement:"اختر إضافة من القائمة.",filterPlaceholder:"تصفية الإضافات",collapseAll:"طي الكل",noMatch:"لا توجد إضافة تطابق «{query}».",openSection:"فتح {cap}، {label}",part:"جزء",noStandalone:"بلا صفحة مستقلة",cap5:"هيكل التطبيق",cap4:"مركّب",cap3:"متعدد العروض",cap2:"إعداد مسبق",cap1:"مفرد",toggleList:"إظهار القائمة أو إخفاؤها",openViews:"فتح قائمة العروض",expandList:"توسيع القائمة",collapseList:"طي القائمة",collapse:"طي",partOf:"جزء من {name}، غير منشور بمفرده",mapToken:"رمز الخريطة",tokenPaste:"رمز Mapbox العام (pk.…)",tokenUrlLabel:"…أو رابط خدمة الرموز",tokenApply:"استخدام",tokenClear:"مسح",tokenStoredHere:"يُحفظ في هذا المتصفح فقط.",tokenSourceYours:"يُستخدم رمزك",tokenSourceUrl:"يُستخدم رمز من {url}",tokenSourceBuilt:"يُستخدم الرمز المضمَّن في هذه الصفحة",tokenSourceNone:"لا يوجد رمز Mapbox: لا يمكن تحميل خرائط Mapbox (خرائط MapLibre لا تحتاج رمزًا)",tokenSecret:"هذا رمز سري (sk.…). الصق رمزًا عامًا (pk.…): هذه الصفحة عامة.",tokenNotPk:"يبدأ رمز Mapbox العام بـ pk.",tokenUrlFailed:"تعذّر الحصول على رمز من هذا الرابط: {why}",settings:"الإعدادات",mapEngine:"محرّك الخرائط",engineDefault:"الافتراضي لكل خريطة",engineMapboxNote:"يحتاج إلى رمز",engineMaplibreNote:"لا يحتاج إلى رمز",tokenNotNeeded:"تم اختيار MapLibre: خرائطه لا تحتاج إلى رمز Mapbox"},vb={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة",upg100Region:"المنطقة",upg100Zone:"قوائم UPG-100",upg100Group:"مجموعة شعبية",selectView:"اختر العرض",views:"العروض",prayerResources:"موارد الصلاة",map:"الخريطة"},kb={kicker:"DOXA · الرؤية",title:"كل شعب. كل مكان.",tagline:"من كل مجموعات الشعوب في العالم إلى التي تصلي لأجلها DOXA، محسوبةً من البيانات.",funnelLabel:"من كل مجموعات الشعوب إلى مجموعات شعوب DOXA",allLabel:"مجموعات الشعوب",allNote:"كل مجموعة شعب، في كل بلد تعيش فيه",unreachedLabel:"غير المُبشَّرة",unreachedNote:"أقل من 2% إنجيليون",frontierLabel:"الحدودية",frontierNote:"أقل من 0.1% إنجيليون",doxaLabel:"مجموعات شعوب DOXA",doxaNote:"{frontier} منها حدودية",people:"{n} نسمة",sources:"مجموعات الشعوب: {imb}، بيانات {date}. قائمة DOXA: pray.doxa.life، {date2}.",howCounted:"كيف تُحسب هذه الأرقام",ruleAll:"كل صف في بيانات IMB لمجموعات الشعوب: مجموعة شعب واحدة في بلد واحد.",ruleUnreached:"أولوية الضياع لدى IMB من 0 إلى 2: أقل من 2% إنجيليون.",ruleFrontier:"أولوية الضياع لدى IMB رقم 0: أقل من 0.1% إنجيليون. جزء من غير المُبشَّرة.",ruleDoxa:"كل مجموعة في قائمة صلاة DOXA، مطابَقة مع بيانات IMB حسب الشعب والبلد. ليست كلها حدودية."},wb={title:"Alle Volksgruppen",locations:"{n} Standorte (Gruppe × Land)",doxa:"DOXA-Volksgruppen",frontier:"Frontier — noch nichts begonnen",unreached:"Unerreicht — Arbeit beginnt",reached:"Erreicht — Gemeinde ist da",hint:"Zeile anklicken, um alle zu sehen · erneut klicken für alle",loading:"Alle Volksgruppen werden geladen…",loadError:"Die Karte konnte nicht geladen werden.",pray:"Für sie beten →",population:"Einw. {n}"},xb={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen",collapseLegend:"Legende einklappen",expandLegend:"Legende ausklappen",toggleLegend:"Legende ein- oder ausblenden"},Lb={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"},Sb={title:"Internetzugang dort, wo Volksgruppen ohne Engagement leben",bands:{yes:"verbunden 60%+",partial:"teilweise 25–59%",no:"gering, unter 25%",unknown:"nicht gemessen"},peopleGroup:"Volksgruppe",caveat:"LANDESWEITE Zahlen (Weltbank). Konnektivität je Stadt ist nicht öffentlich verfügbar — schließen Sie nicht vom Land auf eine Stadt.",sheet:{close:"Schließen",ai:"Diese Daten wurden durch KI-gestützte Recherche gefunden — sie können falsche Angaben enthalten.",dismiss:"Ausblenden",internetUsers:"Internetnutzer",measured:"Gemessen",mobilePer100:"Mobilfunk pro 100",peopleGroups:"Volksgruppen",topPlatform:"Wichtigste Plattform",unknown:"unbekannt",carriers:"Netzbetreiber & ISPs ({n})",socialPlatforms:"Soziale Plattformen",note:"Landesweite Zahlen, keine Messungen je Stadt. Betreibernamen sind ASN-Registerinhaber — darunter neben ISPs auch Banken und Universitäten; die Einstufung als Netzbetreiber ist daher eine Namensheuristik, keine geprüfte Klassifizierung."}},Ab={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"},Pb={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"},Cb={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Eb={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"Die erläuternden Hinweise unten sind auf Englisch."},mode:{gap:"Lücke",coverage:"Gefundene Ressourcen"},search:{placeholder:"Volksgruppe, Sprache oder ISO-Code suchen",clear:"Suche löschen",none:"Nichts passt zu diesem Namen, dieser Sprache oder diesem Code.",placeholderShort:"Gruppe, Sprache oder ISO-Code"},legend:{title:"Unerreichte Volksgruppen ohne gefundene Evangeliums-Ressource",band60:"60 %+ ohne jede Ressource",band30:"30–59 %",bandSome:"einige Gruppen",bandAll:"alle Gruppen haben etwas",tier2:"Bibeltext und Film",tier1:"etwas gefunden",tier0:"nichts gefunden",hnr:"können hören, kein Text",showAll:"Alle Gruppen anzeigen",titleCoverage:"Unerreichte Volksgruppen mit einer gefundenen Evangeliums-Ressource",cov80:"80 %+ haben etwas",cov50:"50–79 %",cov1:"1–49 %",cov0:"für keinen etwas gefunden",tallyEach:"Jeder",tallyIs:"ist EINE Volksgruppe —",tallyOf:"davon,",tallyLink:"mit einem Link",doxa0:"alle haben etwas",doxa1:"1–4 ohne",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 erreicht",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Doxa-Volksgruppen auf dieser Karte",notPlaced:"auf der Liste, noch nicht verortet",outOfScope:"keine Doxa-Volksgruppen — nicht eingefärbt"},tabs:{groups:"Größte Gruppen",countries:"Nach Land",regions:"Nach Region",noprayer:"Niemand betet",hnr:"Hören ja, Text nein"},stat:{language:"Sprache",population:"Bevölkerung",countries:"Länder",peopleGroups:"Volksgruppen",noResource:"Keine Ressource gefunden",peopleAffected:"Betroffene Menschen",haveScripture:"Haben Bibeltext",haveFilm:"Haben Film",haveAudio:"Haben Hörbibel",signLanguages:"Gebärdensprachen",growingUnreached:"Wachsend & unerreicht",deathsDay:"Geschätzte Todesfälle/Tag"},sheet:{ownLanguage:"In ihrer eigenen Sprache",close:"Schließen",loading:"Ressourcen werden geladen…",pray:"Betet für",everyResource:"Alle Ressourcen auf",alsoSpeak:"Sprechen ebenfalls"},res:{scripture:"Bibeltext",film:"Film",audio:"Audio",bibleVideo:"Bibelvideo",bibleStories:"Open Bible Stories",gospelAudio:"Evangeliums-Audio",gospelPresentation:"Evangeliums-Darstellung",scriptureEarth:"Scripture Earth",training:"Jüngerschaftstraining",jesusFilm:"JESUS Film",audioScripture:"Audio-Bibeltext",bibleStoriesPlain:"Bibelgeschichten"},state:{noneFound:"nichts gefunden",noneAtFcbh:"nichts bei FCBH",noneAtGrn:"nichts bei GRN",notInZume:"nicht in Zumes 54",linkChecked:"Link geprüft",unchecked:"ungeprüft",linkDead:"Link tot",wrongLanguage:"falsche Sprache",varietyNotStated:"(Varietät nicht angegeben)",inLanguage:"auf"},guide:{dotVsCountry:"Ein Punkt ist EINE Volksgruppe von Doxa mit ihrer eigenen Sprache; ein Land ist die ANZAHL dieser Gruppen.",noneFoundShort:"„Nichts gefunden“ heißt: nicht in den geprüften Quellen — nie ein Beweis, dass es nichts gibt.",tapCountry:"Tippen Sie auf ein Land, um die Ressourcen Gruppe für Gruppe zu sehen."},tables:{title:"Evangeliums-Ressourcen — Daten",showing:"Zeige",of:"von",for:"für",filteredTo:"Gefiltert nach",showAll:"Alle Ressourcen zeigen",t_doxa:"Doxa — Zugang zum Evangelium",t_links:"Jede Ressource + Link",t_nothing:"Wo nichts gefunden wurde",t_countrygap:"Die Lücke nach Land",t_translation:"Hören ja, Text nein",t_translationcountry:"Wo übersetzen",t_gaps:"Lücken & Chancen",t_bridges:"Stadt-Brücken",t_deaf:"Die Gehörlosen-Lücke",t_resources:"Ressourcen nach Volksgruppe",t_languages:"Sprachen nach Land",t_growth:"Zugang vs. Bevölkerungswachstum"},pages:{listTitle:"Evangeliums-Ressourcen nach Sprache",chartsTitle:"Evangeliums-Ressourcen — nach Sprache",loadingTables:"Ressourcentabellen werden geladen…"},list:{noText:"Kein Bibeltext",hasScripture:"Hat Bibeltext",allLanguages:"Alle Sprachen",peopleGroup:"Volksgruppe",peopleGroups:"Volksgruppen",scriptureHere:"Bibeltext in dieser Sprache"},columns:{"People group":"Volksgruppe",Country:"Land",Region:"Region",Language:"Sprache",Population:"Bevölkerung",Religion:"Religion","Gospel access":"Zugang zum Evangelium",Resources:"Ressourcen",Scripture:"Bibeltext","Bible video":"Bibelvideo","Gospel presentation":"Evangeliums-Darstellung",Countries:"Länder","People groups":"Volksgruppen"},charts:{scriptureAny:"Bibeltext (beliebig)",fullBible:"Vollbibel",newTestament:"Neues Testament",filmAny:"Film (beliebig)",nothingInPools:"Nichts in den geprüften Quellen gefunden",nothingInPoolsLower:"nichts in den geprüften Quellen gefunden",noResourceInPools:"keine Ressource in den geprüften Quellen gefunden",aResourceFound:"eine Ressource gefunden",tabCoverage:"Ressourcenabdeckung",tabGap:"Größte Lücken",keyScripture:"Bibeltext",keyFilmStories:"Film / Geschichten",keyAudioEtc:"Audio / Präsentation / Schulung",unresolvedCode:"Code außerhalb ISO 639-3 — ungeklärt, nicht gemessen"}},Tb={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."},Nb={title:{adoption:"Adoptionsfortschritt",affinityBlocs:"Affinitätsblöcke",doxaRegions:"Doxa-Regionen",engagement:"Engagement-Fortschritt",gospelResources:"Evangeliumsressourcen",languageFamilies:"Sprachfamilien",prayer:"Gebetsfortschritt",upg100List:"Meine UPG-100-Liste"},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."},a11y:{expandRow:"{label} ausklappen",collapseRow:"{label} einklappen",clearSelection:"Auswahl aufheben"}},Mb={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",upg100WallIntro:"Teilen Sie die Gebetsaufgabe in Gruppen zu fünfzig und hundert auf — so wie Jesus die 5.000 speiste (Lukas 9,14). Jedes Poster ist eine 100er-Liste, die Sie beten, drucken und an die Wand hängen können — und für sie <strong>mit dem Namen ihrer Volksgruppe</strong> beten."},Rb={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Fb={country:{wagfRegion:"WAGF-Region",wagfBlock:"WAGF-Block",country:"Land",uupgCount:"Anzahl UUPG"}},Ib={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Ob={"%count% people groups in %countries% countries":"%count% Volksgruppen in %countries% Ländern","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% hat %count% Volksgruppen in %countries% Ländern. Die Farbe jedes Punktes zeigt, wie viele Menschen für diese Volksgruppe beten.","1+ People Praying":"1+ Menschen beten","100+ People Praying":"100+ Menschen beten",Adopted:"Adoptiert","Adoption Progress":"Adoptionsfortschritt","All Regions":"Alle Regionen","Alternate Names":"Alternative Namen","Choose a region":"Region auswählen","Clear All":"Alle löschen",Countries:"Länder","Countries in this region":"Länder in dieser Region",Country:"Land",Engaged:"Engagiert","Engagement Progress":"Fortschritt der Arbeit vor Ort","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Jede einzelne der völlig unerreichten Volksgruppen soll von einer Ortsgemeinde adoptiert werden, durch Beten, Geben und Senden","Exact Search":"Exakte Suche","Find unreached people groups by region and country.":"Finde unerreichte Volksgruppen nach Region und Land.","Full Profile":"Vollständiges Profil",Goal:"Ziel","Hide Filters":"Filter ausblenden","Hide country posters":"Länderposter ausblenden",Intercessors:"Fürbitter","Load More":"Mehr laden","Loading results...":"Ergebnisse werden geladen...",Map:"Karte","Mobilize 100+ people praying daily for each DOXA people group":"Mobilisiere 100+ Menschen, die täglich für jede DOXA-Volksgruppe beten","No One Praying":"Niemand betet","No options found":"Keine Standorte gefunden","No poster has been generated for this country yet.":"Für dieses Land wurde noch kein Poster erstellt.","No unengaged people groups by 2033":"Dass es bis 2033 keine völlig unerreichte Volksgruppe mehr gibt","Not Adopted":"noch nicht adoptiert",Other:"Andere","Page Not Found":"Seite nicht gefunden","People Group":"Personengruppe","People Groups":"Volksgruppen","People committed to praying":"Menschen, die sich dem Beten verpflichtet haben","Pick a region above, or click any dot to open that people group's country.":"Wählen Sie oben eine Region aus oder klicken Sie auf einen Punkt, um das Land dieser Volksgruppe zu öffnen.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Wählen Sie im Tab „Regionenliste“ eine Region oder ein Land aus, um dieses Dashboard einzugrenzen.",Population:"Bevölkerung","Prayer Coverage":"Gebetsabdeckung","Prayer coverage progress":"Fortschritt der Gebetsabdeckung","Region Dashboards":"Regionen-Dashboards","Region dashboard":"Regions-Dashboard",Regions:"Regionen","Regions List":"Regionenliste",Religion:"Primäre Religion","Search names, country/continent, religions...":"Suche nach Namen, Land/Kontinent, Religionen...","See %region% dashboard":"Dashboard anzeigen: %region%","See All":"Alle anzeigen",Select:"Auswählen","Select View":"Ansicht auswählen","Show Filters":"Filter anzeigen","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"In %country% gibt es %count% Volksgruppen. Sieh auch auf der Karte nach den Volksgruppen an der Grenze dieses Landes.",Total:"Gesamt","Type to search...":"Geben Sie etwas ein, um danach zu suchen","Unengaged people groups":"Unberührte Volksgruppen","View country posters":"Länderposter ansehen",Views:"Ansichten","WAGF Block":"WAGF-Block","WAGF Region":"WAGF-Region","people groups adopted":"adoptierte Volksgruppen","people groups engaged":"engagierte Volksgruppen","Outside this region":"Außerhalb dieser Region",Pray:"Ich bete","Loading region dashboards…":"Regions-Dashboards werden geladen…","No regions found.":"Keine Regionen gefunden.","Region data could not be loaded. This is a connection problem, not a filter.":"Regionsdaten konnten nicht geladen werden. Das ist ein Verbindungsproblem, kein Filter.","People groups could not be loaded. This is a connection problem, not a filter.":"Volksgruppen konnten nicht geladen werden. Das ist ein Verbindungsproblem, kein Filter.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"Die Karte konnte nicht starten. Das ist ein Karten-Token- oder Verbindungsproblem, kein Filter — die Zahlen oben sind davon nicht betroffen."},Db={placeholder:"Volk, Ort, Sprache, Religion",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…"},Bb={title:"Plugin-Studio",navLabel:"Plugins nach Fähigkeit",countLabel:"{bundles} Bundles · {elements} Plugins hier aufgeführt",changeLanguage:"Sprache ändern",copyEmbed:"Einbettung kopieren",copy:"Kopieren",copied:"Kopiert",scriptEmbed:"Skript-Einbettung",loading:"{name} wird geladen…",couldNotLoad:"{name} konnte nicht geladen werden.",chooseElement:"Wählen Sie ein Plugin aus der Liste.",filterPlaceholder:"Plugins filtern",collapseAll:"Alle einklappen",noMatch:"Kein Plugin entspricht „{query}“.",openSection:"{cap} öffnen, {label}",part:"Teil",noStandalone:"keine eigene Seite",cap5:"App-Shell",cap4:"Komposit",cap3:"Mehrfachansicht",cap2:"Voreinstellung",cap1:"Einzeln",toggleList:"Liste ein-/ausblenden",openViews:"Ansichtsliste öffnen",expandList:"Liste ausklappen",collapseList:"Liste einklappen",collapse:"Einklappen",partOf:"Teil von {name}, nicht eigenständig veröffentlicht",mapToken:"Karten-Token",tokenPaste:"Öffentlicher Mapbox-Token (pk.…)",tokenUrlLabel:"…oder die URL eines Token-Dienstes",tokenApply:"Verwenden",tokenClear:"Löschen",tokenStoredHere:"Nur in diesem Browser gespeichert.",tokenSourceYours:"Ihr Token wird verwendet",tokenSourceUrl:"Token von {url} wird verwendet",tokenSourceBuilt:"Der in diese Seite eingebaute Token wird verwendet",tokenSourceNone:"Kein Mapbox-Token: Mapbox-Karten können nicht laden (MapLibre-Karten brauchen keinen)",tokenSecret:"Das ist ein geheimer Token (sk.…). Fügen Sie einen öffentlichen ein (pk.…): Diese Seite ist öffentlich.",tokenNotPk:"Ein öffentlicher Mapbox-Token beginnt mit pk.",tokenUrlFailed:"Von dieser URL kam kein Token: {why}",settings:"Einstellungen",mapEngine:"Karten-Engine",engineDefault:"Je Karte eigenes",engineMapboxNote:"braucht einen Token",engineMaplibreNote:"kein Token nötig",tokenNotNeeded:"MapLibre ist gewählt: Seine Karten brauchen keinen Mapbox-Token"},Gb={prayer:"Gebet",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Volksgruppen",regions:"Regionen",countries:"Länder","language-families":"Sprachen",religion:"Religionen",family:"Sprachfamilie",language:"Sprache",dialect:"Dialekt/Varietät",bloc:"Affinitätsblock",cluster:"Cluster",group:"Volksgruppe",pgic:"Volksgruppe im Land",region:"WAGF-Region",block:"WAGF-Block",country:"Land",upg100Region:"Region",upg100Zone:"UPG-100-Listen",upg100Group:"Volksgruppe",selectView:"Ansicht wählen",views:"Ansichten",prayerResources:"Gebetsressourcen",map:"Karte"},jb={kicker:"DOXA · Vision",title:"Jedes Volk. Jeder Ort.",tagline:"Von allen Volksgruppen der Welt bis zu denen, für die DOXA betet, aus den Daten gezählt.",funnelLabel:"Von allen Volksgruppen zu den DOXA-Volksgruppen",allLabel:"Volksgruppen",allNote:"jede Volksgruppe in jedem Land, in dem sie lebt",unreachedLabel:"Unerreicht",unreachedNote:"unter 2 % Evangelikale",frontierLabel:"Frontier",frontierNote:"unter 0,1 % Evangelikale",doxaLabel:"DOXA-Volksgruppen",doxaNote:"{frontier} davon sind Frontier",people:"{n} Menschen",sources:"Volksgruppen: {imb}, Datenstand {date}. DOXA-Liste: pray.doxa.life, {date2}.",howCounted:"So wird gezählt",ruleAll:"Jede Zeile der IMB-Volksgruppendaten: eine Volksgruppe in einem Land.",ruleUnreached:"IMB-Lostness-Priorität 0 bis 2: weniger als 2 % Evangelikale.",ruleFrontier:"IMB-Lostness-Priorität 0: weniger als 0,1 % Evangelikale. Eine Teilmenge der Unerreichten.",ruleDoxa:"Jede Gruppe auf der DOXA-Gebetsliste, den IMB-Daten nach Volk und Land zugeordnet. Nicht alle sind Frontier."},Ub={title:"All People Groups",locations:"{n} group–country locations",doxa:"DOXA people groups",frontier:"Frontier — nothing started",unreached:"Unreached — work beginning",reached:"Reached — church is there",hint:"Click a row to see all of them · click again for everything",loading:"Loading every people group…",loadError:"The map could not be loaded.",pray:"Pray for them →",population:"pop {n}"},zb={backToLegend:"Back to Legend",closeDetailView:"Close detail view",collapseLegend:"Collapse legend",expandLegend:"Expand legend",toggleLegend:"Show or hide the legend"},Hb={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",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"},Vb={title:"Internet access where unengaged people groups live",bands:{yes:"connected 60%+",partial:"partial 25–59%",no:"low, under 25%",unknown:"not measured"},peopleGroup:"people group",caveat:"NATIONAL figures (World Bank). Per-city connectivity is not publicly available — do not read a city off a country.",sheet:{close:"Close",ai:"Data was found by AI deep research — it is subject to false information.",dismiss:"Dismiss",internetUsers:"Internet users",measured:"Measured",mobilePer100:"Mobile per 100",peopleGroups:"People groups",topPlatform:"Top platform",unknown:"unknown",carriers:"Carriers & ISPs ({n})",socialPlatforms:"Social platforms",note:"National figures, not city measurements. Carrier names are ASN registry holders — that set includes banks and universities as well as ISPs, so the carrier flag is a name heuristic, not a verified classification."}},Kb={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"},qb={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"},Wb={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Yb={_note:'SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file: it carries doctrinal and statistical precision — which pools were searched, what "nothing found" does and does not claim, why Open Bible Stories is not Scripture — and a mistranslated caveat there would read as authoritative. `prose.english` is the one translated line that says so. When a human-reviewed translation of the prose exists, it gets its own area file and that line comes out.',prose:{english:"Explanatory notes below are in English."},mode:{gap:"Gap",coverage:"Resources found"},search:{placeholder:"Find a people group, language or ISO code",clear:"Clear search",none:"Nothing matches that name, language or code.",placeholderShort:"Group, language or ISO code"},legend:{title:"Unengaged groups with no gospel resource found",band60:"60%+ with nothing found",band30:"30–59%",bandSome:"some groups",bandAll:"all groups have some",tier2:"Scripture and film",tier1:"some resource found",tier0:"nothing found",hnr:"can hear it, no text found",showAll:"Show all groups",titleCoverage:"Unengaged groups with some gospel resource found",cov80:"80%+ have something found",cov50:"50–79%",cov1:"1–49%",cov0:"nothing found for any",tallyEach:"Each",tallyIs:"is ONE people group —",tallyOf:"of them,",tallyLink:"with a link",doxa0:"all have something",doxa1:"1–4 with nothing",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 reached",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Doxa people groups on this map",notPlaced:"on the roster, not yet placed",outOfScope:"no Doxa people groups — not coloured"},tabs:{groups:"Largest groups",countries:"By country",regions:"By region",noprayer:"Nobody praying",hnr:"Can hear, no text"},stat:{language:"Language",population:"Population",countries:"Countries",peopleGroups:"People groups",noResource:"No resource found",peopleAffected:"People affected",haveScripture:"Have scripture",haveFilm:"Have film",haveAudio:"Have audio Scripture",signLanguages:"Sign languages",growingUnreached:"Growing & unreached",deathsDay:"Est. deaths/day"},sheet:{ownLanguage:"In their own language",close:"Close",loading:"Loading resources…",pray:"Pray for",everyResource:"Every resource in",alsoSpeak:"Also speak"},res:{scripture:"Scripture",film:"Film",audio:"Audio",bibleVideo:"Bible video",bibleStories:"Open Bible Stories",gospelAudio:"Gospel audio",gospelPresentation:"Gospel presentation",scriptureEarth:"Scripture Earth",training:"Discipleship training",jesusFilm:"JESUS Film",audioScripture:"Audio Scripture",bibleStoriesPlain:"Bible Stories"},state:{noneFound:"none found",noneAtFcbh:"none found at FCBH",noneAtGrn:"none found at GRN",notInZume:"not in Zume's 54",linkChecked:"link checked",unchecked:"unchecked",linkDead:"link dead",wrongLanguage:"wrong language",varietyNotStated:"(variety not stated)",inLanguage:"in"},guide:{dotVsCountry:"A dot is ONE of Doxa's people groups and its own language; a country is a COUNT of those groups.",noneFoundShort:"“None found” means not present in the pools this build checked — never proof that nothing exists.",tapCountry:"Tap a country to see the actual resources, group by group."},tables:{title:"Gospel Resources — Data",showing:"Showing",of:"of",for:"for",filteredTo:"Filtered to",showAll:"Show all resources",t_doxa:"Doxa — Gospel Access",t_links:"Every Resource + Link",t_nothing:"Where Nothing Was Found",t_countrygap:"The Gap by Country",t_translation:"Can Hear It, No Text",t_translationcountry:"Where to Translate",t_gaps:"Gaps & Opportunities",t_bridges:"City Bridges",t_deaf:"The Deaf Gap",t_resources:"Resources by People Group",t_languages:"Languages by Country",t_growth:"Access vs Population Growth"},pages:{listTitle:"Gospel Resources by Language",chartsTitle:"Gospel Resources — by Language",loadingTables:"Loading resource tables…"},list:{noText:"No text Scripture",hasScripture:"Has scripture",allLanguages:"All languages",peopleGroup:"people group",peopleGroups:"people groups",scriptureHere:"Scripture in this language"},columns:{"People group":"People group",Country:"Country",Region:"Region",Language:"Language",Population:"Population",Religion:"Religion","Gospel access":"Gospel access",Resources:"Resources",Scripture:"Scripture","Bible video":"Bible video","Gospel presentation":"Gospel presentation",Countries:"Countries","People groups":"People groups"},charts:{scriptureAny:"Scripture (any)",fullBible:"Full Bible",newTestament:"New Testament",filmAny:"Film (any)",nothingInPools:"Nothing found in pools checked",nothingInPoolsLower:"nothing found in pools checked",noResourceInPools:"no resource found in pools checked",aResourceFound:"a resource found",tabCoverage:"Resource coverage",tabGap:"Largest gaps",keyScripture:"scripture",keyFilmStories:"film / stories",keyAudioEtc:"audio / presentation / training",unresolvedCode:"code outside ISO 639-3 — unresolved, not measured"}},Xb={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."},Zb={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"},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."},a11y:{expandRow:"Expand {label}",collapseRow:"Collapse {label}",clearSelection:"Clear selection"}},Jb={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",upg100WallIntro:"Hand away the prayer task in clusters of fifties and hundreds — the way Jesus fed the 5,000 (Luke 9:14). Each poster is a 100-list you can pray, print, and put on a wall — praying for them <strong>by their people group name</strong>."},Qb={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},e$={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},t$={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},o$={"%count% people groups in %countries% countries":"%count% people groups in %countries% countries","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.","1+ People Praying":"1+ People Praying","100+ People Praying":"100+ People Praying",Adopted:"Adopted","Adoption Progress":"Adoption Progress","All Regions":"All Regions","Alternate Names":"Alternate Names","Choose a region":"Choose a region","Clear All":"Clear All",Countries:"Countries","Countries in this region":"Countries in this region",Country:"Country",Engaged:"Engaged","Engagement Progress":"Engagement Progress","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Every unengaged people group adopted by a church committed to prayer, giving, and sending","Exact Search":"Exact Search","Find unreached people groups by region and country.":"Find unreached people groups by region and country.","Full Profile":"Full Profile",Goal:"Goal","Hide Filters":"Hide Filters","Hide country posters":"Hide country posters",Intercessors:"Intercessors","Load More":"Load More","Loading results...":"Loading results...",Map:"Map","Mobilize 100+ people praying daily for each DOXA people group":"Mobilize 100+ people praying daily for each DOXA people group","No One Praying":"No One Praying","No options found":"No options found","No poster has been generated for this country yet.":"No poster has been generated for this country yet.","No unengaged people groups by 2033":"No unengaged people groups by 2033","Not Adopted":"Not Adopted",Other:"Other","Page Not Found":"Page Not Found","People Group":"People Group","People Groups":"People Groups","People committed to praying":"People committed to praying","Pick a region above, or click any dot to open that people group's country.":"Pick a region above, or click any dot to open that people group's country.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Pick a region or a country on the Regions List tab to narrow this dashboard.",Population:"Population","Prayer Coverage":"Prayer Coverage","Prayer coverage progress":"Prayer coverage progress","Region Dashboards":"Region Dashboards","Region dashboard":"Region dashboard",Regions:"Regions","Regions List":"Regions List",Religion:"Religion","Search names, country/continent, religions...":"Search names, country/continent, religions...","See %region% dashboard":"See %region% dashboard","See All":"See All",Select:"Select","Select View":"Select View","Show Filters":"Show Filters","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.",Total:"Total","Type to search...":"Type to search...","Unengaged people groups":"Unengaged people groups","View country posters":"View country posters",Views:"Views","WAGF Block":"WAGF Block","WAGF Region":"WAGF Region","people groups adopted":"people groups adopted","people groups engaged":"people groups engaged","Outside this region":"Outside this region",Pray:"Pray","Loading region dashboards…":"Loading region dashboards…","No regions found.":"No regions found.","Region data could not be loaded. This is a connection problem, not a filter.":"Region data could not be loaded. This is a connection problem, not a filter.","People groups could not be loaded. This is a connection problem, not a filter.":"People groups could not be loaded. This is a connection problem, not a filter.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected."},n$={placeholder:"People, place, language, religion",labels:{people:"People:",place:"Place:",language:"Language:",religion:"Religion:"},kinds:{people:"People Group + Country",peopleGroup:"People Group",bloc:"Affinity Block",cluster:"People Cluster",country:"Country",region:"Region",family:"Language Family",languageKind:"Language",dialect:"Dialect",religionKind:"Religion"},sections:{within:"Within {selection}",allData:"All DOXA Data"},upg100Placeholder:"Search people group, UPG-100 list, or region…"},a$={title:"Plugin Studio",navLabel:"Plugins by capability",countLabel:"{bundles} bundles · {elements} plugins listed here",changeLanguage:"Change language",copyEmbed:"Copy embed",copy:"Copy",copied:"Copied",scriptEmbed:"Script embed",loading:"Loading {name}…",couldNotLoad:"Could not load {name}.",chooseElement:"Choose a plugin from the list.",filterPlaceholder:"Filter plugins",collapseAll:"Collapse all",noMatch:"No plugin matches “{query}”.",openSection:"Open {cap}, {label}",part:"part",noStandalone:"no standalone page",cap5:"App shell",cap4:"Composite",cap3:"Multi-view",cap2:"Preset",cap1:"Single",toggleList:"Toggle list",openViews:"Open the list of views",expandList:"Expand list",collapseList:"Collapse list",collapse:"Collapse",partOf:"part of {name}, not published on its own",mapToken:"Map token",tokenPaste:"Mapbox public token (pk.…)",tokenUrlLabel:"…or the URL of a token service",tokenApply:"Use",tokenClear:"Clear",tokenStoredHere:"Kept in this browser only.",tokenSourceYours:"Using your token",tokenSourceUrl:"Using a token from {url}",tokenSourceBuilt:"Using the token built into this page",tokenSourceNone:"No Mapbox token: Mapbox maps cannot load (MapLibre maps need none)",tokenSecret:"That is a secret token (sk.…). Paste a public one (pk.…): this page is public.",tokenNotPk:"A Mapbox public token starts with pk.",tokenUrlFailed:"Could not get a token from that URL: {why}",settings:"Settings",mapEngine:"Map engine",engineDefault:"Each map’s own",engineMapboxNote:"needs a token",engineMaplibreNote:"no token needed",tokenNotNeeded:"MapLibre is selected: its maps need no Mapbox token"},s$={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country",upg100Region:"Region",upg100Zone:"UPG-100 Lists",upg100Group:"People Group",selectView:"Select View",views:"Views",prayerResources:"Prayer Resources",map:"Map"},r$={kicker:"DOXA · Vision",title:"Every people. Every place.",tagline:"From every people group on earth to the ones DOXA prays for, counted from the data.",funnelLabel:"From all people groups to DOXA people groups",allLabel:"People groups",allNote:"each people group, in each country it lives in",unreachedLabel:"Unreached",unreachedNote:"under 2% evangelical",frontierLabel:"Frontier",frontierNote:"under 0.1% evangelical",doxaLabel:"DOXA people groups",doxaNote:"{frontier} of them are frontier",people:"{n} people",sources:"People groups: {imb}, data of {date}. DOXA list: pray.doxa.life, {date2}.",howCounted:"How these are counted",ruleAll:"Every row of the IMB people-group data: one people group in one country.",ruleUnreached:"IMB lostness priority 0 to 2: less than 2% evangelical.",ruleFrontier:"IMB lostness priority 0: less than 0.1% evangelical. A subset of the unreached.",ruleDoxa:"Every group on the DOXA prayer list, matched to the IMB data by people and country. Not all are frontier."},i$={title:"Todos los grupos étnicos",locations:"{n} ubicaciones (grupo × país)",doxa:"Grupos étnicos de DOXA",frontier:"Frontera — nada iniciado",unreached:"No alcanzados — el trabajo comienza",reached:"Alcanzados — la iglesia está ahí",hint:"Haga clic en una fila para verlos todos · de nuevo para ver todo",loading:"Cargando todos los grupos étnicos…",loadError:"No se pudo cargar el mapa.",pray:"Ore por ellos →",population:"pobl. {n}"},l$={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle",collapseLegend:"Contraer la leyenda",expandLegend:"Expandir la leyenda",toggleLegend:"Mostrar u ocultar la leyenda"},c$={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"},u$={title:"Acceso a internet donde viven pueblos sin implicación",bands:{yes:"conectado 60%+",partial:"parcial 25–59%",no:"bajo, menos del 25%",unknown:"sin medir"},peopleGroup:"pueblo",caveat:"Cifras NACIONALES (Banco Mundial). La conectividad por ciudad no está disponible públicamente: no deduzca una ciudad a partir de su país.",sheet:{close:"Cerrar",ai:"Estos datos se obtuvieron mediante investigación con IA y pueden contener información falsa.",dismiss:"Descartar",internetUsers:"Usuarios de internet",measured:"Medido",mobilePer100:"Móviles por cada 100",peopleGroups:"Pueblos",topPlatform:"Plataforma principal",unknown:"desconocido",carriers:"Operadores y proveedores de internet ({n})",socialPlatforms:"Redes sociales",note:"Cifras nacionales, no mediciones por ciudad. Los nombres de operadores son titulares de registros ASN (incluyen bancos y universidades además de proveedores), así que la marca de operador es una heurística por nombre, no una clasificación verificada."}},p$={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"},d$={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"},g$={labels:{country:"País:",population:"Población:",language:"Idioma:",religion:"Religión:",languageFamily:"Familia lingüística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"No hay descripción disponible."}},f$={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"Las notas explicativas siguientes están en inglés."},mode:{gap:"Brecha",coverage:"Recursos encontrados"},search:{placeholder:"Busca un pueblo, idioma o código ISO",clear:"Borrar búsqueda",none:"Nada coincide con ese nombre, idioma o código.",placeholderShort:"Pueblo, idioma o código ISO"},legend:{title:"Pueblos no alcanzados sin ningún recurso del evangelio",band60:"60 %+ sin nada encontrado",band30:"30–59 %",bandSome:"algunos pueblos",bandAll:"todos los pueblos tienen algo",tier2:"Escrituras y película",tier1:"se encontró algún recurso",tier0:"no se encontró nada",hnr:"pueden oírlo, sin texto",showAll:"Mostrar todos los pueblos",titleCoverage:"Pueblos no alcanzados con algún recurso del evangelio",cov80:"80 %+ tienen algo",cov50:"50–79 %",cov1:"1–49 %",cov0:"nada para ninguno",tallyEach:"Cada",tallyIs:"es UN pueblo —",tallyOf:"de ellos,",tallyLink:"con un enlace",doxa0:"todos tienen algo",doxa1:"1–4 sin nada",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 alcanzados",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Pueblos de Doxa en este mapa",notPlaced:"en la lista, aún sin ubicar",outOfScope:"sin pueblos de Doxa — sin color"},tabs:{groups:"Pueblos más grandes",countries:"Por país",regions:"Por región",noprayer:"Nadie ora",hnr:"Oyen, sin texto"},stat:{language:"Idioma",population:"Población",countries:"Países",peopleGroups:"Pueblos",noResource:"Ningún recurso encontrado",peopleAffected:"Personas afectadas",haveScripture:"Tienen Escrituras",haveFilm:"Tienen película",haveAudio:"Tienen Escrituras en audio",signLanguages:"Lenguas de señas",growingUnreached:"En crecimiento y no alcanzados",deathsDay:"Muertes estimadas/día"},sheet:{ownLanguage:"En su propio idioma",close:"Cerrar",loading:"Cargando recursos…",pray:"Ora por",everyResource:"Todos los recursos en",alsoSpeak:"También hablan"},res:{scripture:"Escrituras",film:"Película",audio:"Audio",bibleVideo:"Video bíblico",bibleStories:"Open Bible Stories",gospelAudio:"Audio del evangelio",gospelPresentation:"Presentación del evangelio",scriptureEarth:"Scripture Earth",training:"Formación de discipulado",jesusFilm:"Película JESÚS",audioScripture:"Escrituras en audio",bibleStoriesPlain:"Historias bíblicas"},state:{noneFound:"nada encontrado",noneAtFcbh:"nada en FCBH",noneAtGrn:"nada en GRN",notInZume:"no está entre los 54 de Zume",linkChecked:"enlace verificado",unchecked:"sin verificar",linkDead:"enlace roto",wrongLanguage:"idioma incorrecto",varietyNotStated:"(variedad no indicada)",inLanguage:"en"},guide:{dotVsCountry:"Cada punto es UN pueblo de Doxa y su propio idioma; un país es el NÚMERO de esos pueblos.",noneFoundShort:"«Nada encontrado» significa ausente de las fuentes consultadas, nunca prueba de que no exista.",tapCountry:"Toca un país para ver los recursos, pueblo por pueblo."},tables:{title:"Recursos del evangelio — Datos",showing:"Mostrando",of:"de",for:"para",filteredTo:"Filtrado por",showAll:"Mostrar todos los recursos",t_doxa:"Doxa — Acceso al evangelio",t_links:"Cada recurso + enlace",t_nothing:"Donde no se encontró nada",t_countrygap:"La brecha por país",t_translation:"Pueden oírlo, sin texto",t_translationcountry:"Dónde traducir",t_gaps:"Brechas y oportunidades",t_bridges:"Puentes urbanos",t_deaf:"La brecha sorda",t_resources:"Recursos por pueblo",t_languages:"Idiomas por país",t_growth:"Acceso vs crecimiento"},pages:{listTitle:"Recursos del evangelio por idioma",chartsTitle:"Recursos del evangelio — por idioma",loadingTables:"Cargando tablas de recursos…"},list:{noText:"Sin texto bíblico",hasScripture:"Tiene Escrituras",allLanguages:"Todos los idiomas",peopleGroup:"pueblo",peopleGroups:"pueblos",scriptureHere:"Escrituras en este idioma"},columns:{"People group":"Pueblo",Country:"País",Region:"Región",Language:"Idioma",Population:"Población",Religion:"Religión","Gospel access":"Acceso al evangelio",Resources:"Recursos",Scripture:"Escrituras","Bible video":"Video bíblico","Gospel presentation":"Presentación del evangelio",Countries:"Países","People groups":"Pueblos"},charts:{scriptureAny:"Escrituras (cualquiera)",fullBible:"Biblia completa",newTestament:"Nuevo Testamento",filmAny:"Película (cualquiera)",nothingInPools:"No se encontró nada en las fuentes consultadas",nothingInPoolsLower:"no se encontró nada en las fuentes consultadas",noResourceInPools:"no se encontró ningún recurso en las fuentes consultadas",aResourceFound:"se encontró un recurso",tabCoverage:"Cobertura de recursos",tabGap:"Mayores brechas",keyScripture:"escrituras",keyFilmStories:"película / historias",keyAudioEtc:"audio / presentación / formación",unresolvedCode:"código fuera de ISO 639-3 — sin resolver, no medido"}},h$={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."},m$={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"},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."},a11y:{expandRow:"Expandir {label}",collapseRow:"Contraer {label}",clearSelection:"Borrar la selección"}},b$={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",upg100WallIntro:"Reparte la tarea de la oración en grupos de cincuenta y de cien, como Jesús alimentó a los 5.000 (Lucas 9:14). Cada cartel es una lista de 100 que puedes orar, imprimir y poner en la pared — orando por ellos <strong>por el nombre de su pueblo</strong>."},$$={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},y$={country:{wagfRegion:"Región WAGF",wagfBlock:"Bloque WAGF",country:"País",uupgCount:"Número de UUPG"}},_$={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},v$={"%count% people groups in %countries% countries":"%count% grupos étnicos en %countries% países","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% tiene %count% grupos étnicos en %countries% países. El color de cada punto indica cuántas personas oran por ese grupo étnico.","1+ People Praying":"1+ personas orando","100+ People Praying":"100+ personas orando",Adopted:"Adoptado","Adoption Progress":"Progreso de la adopción","All Regions":"Todas las regiones","Alternate Names":"Nombres alternativos","Choose a region":"Elige una región","Clear All":"Borrar todo",Countries:"Países","Countries in this region":"Países de esta región",Country:"País",Engaged:"Comprometido","Engagement Progress":"Progreso del compromiso","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Cada grupo étnico no evangelizado adoptado por una iglesia comprometida con la oración, la ofrenda y el envío.","Exact Search":"Búsqueda exacta","Find unreached people groups by region and country.":"Encuentra grupos étnicos no alcanzados por región y país.","Full Profile":"Perfil completo",Goal:"Meta","Hide Filters":"Ocultar filtros","Hide country posters":"Ocultar los carteles del país",Intercessors:"Intercesores","Load More":"Cargar más","Loading results...":"Cargando resultados...",Map:"Mapa","Mobilize 100+ people praying daily for each DOXA people group":"Movilizar a más de 100 personas que oren diariamente por cada grupo étnico DOXA.","No One Praying":"Nadie orando","No options found":"No se han encontrado opciones","No poster has been generated for this country yet.":"Todavía no se ha generado ningún cartel para este país.","No unengaged people groups by 2033":"No habrá grupos étnicos sin evangelizar para 2033","Not Adopted":"No adoptado",Other:"Otros","Page Not Found":"Página no encontrada","People Group":"Grupo Étnico","People Groups":"Grupos Étnicos","People committed to praying":"Personas comprometidas con la oración","Pick a region above, or click any dot to open that people group's country.":"Elige una región arriba, o haz clic en cualquier punto para abrir el país de ese pueblo.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Elige una región o un país en la pestaña Lista de regiones para acotar este panel.",Population:"Población","Prayer Coverage":"Cobertura de oración","Prayer coverage progress":"Progreso de la cobertura de oración","Region Dashboards":"Paneles de regiones","Region dashboard":"Panel de la región",Regions:"Regiones","Regions List":"Lista de regiones",Religion:"Religión","Search names, country/continent, religions...":"Buscar nombres, país/continente, religiones...","See %region% dashboard":"Ver el panel de %region%","See All":"Ver todo",Select:"Seleccionar","Select View":"Seleccionar vista","Show Filters":"Mostrar filtros","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"Hay %count% grupos étnicos en %country%. Consulta también el mapa para ver los grupos étnicos en la frontera de este país.",Total:"Total","Type to search...":"Escribe para buscar...","Unengaged people groups":"Grupos étnicos no comprometidos","View country posters":"Ver los carteles del país",Views:"Vistas","WAGF Block":"Bloque WAGF","WAGF Region":"Región de la WAGF","people groups adopted":"grupos étnicos adoptados","people groups engaged":"grupos étnicos comprometidos","Outside this region":"Fuera de esta región",Pray:"Oración","Loading region dashboards…":"Cargando los paneles de regiones…","No regions found.":"No se encontraron regiones.","Region data could not be loaded. This is a connection problem, not a filter.":"No se pudieron cargar los datos de las regiones. Es un problema de conexión, no un filtro.","People groups could not be loaded. This is a connection problem, not a filter.":"No se pudieron cargar los pueblos. Es un problema de conexión, no un filtro.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"El mapa no pudo iniciarse. Es un problema del token del mapa o de conexión, no un filtro: las cifras de arriba no se ven afectadas."},k$={placeholder:"Pueblo, lugar, idioma, religión",labels:{people:"Pueblo:",place:"Lugar:",language:"Idioma:",religion:"Religión:"},kinds:{people:"Pueblo + país",peopleGroup:"Pueblo",bloc:"Bloque de afinidad",cluster:"Clúster de pueblos",country:"País",region:"Región",family:"Familia lingüística",languageKind:"Idioma",dialect:"Dialecto",religionKind:"Religión"},sections:{within:"Dentro de {selection}",allData:"Todos los datos DOXA"},upg100Placeholder:"Buscar pueblo, lista UPG-100 o región…"},w$={title:"Estudio de plugins",navLabel:"Plugins por capacidad",countLabel:"{bundles} paquetes · {elements} plugins listados aquí",changeLanguage:"Cambiar idioma",copyEmbed:"Copiar código de inserción",copy:"Copiar",copied:"Copiado",scriptEmbed:"Inserción por script",loading:"Cargando {name}…",couldNotLoad:"No se pudo cargar {name}.",chooseElement:"Elija un plugin de la lista.",filterPlaceholder:"Filtrar plugins",collapseAll:"Contraer todo",noMatch:"Ningún plugin coincide con «{query}».",openSection:"Abrir {cap}, {label}",part:"parte",noStandalone:"sin página propia",cap5:"Contenedor de aplicación",cap4:"Compuesto",cap3:"Multivista",cap2:"Preajuste",cap1:"Individual",toggleList:"Mostrar u ocultar la lista",openViews:"Abrir la lista de vistas",expandList:"Expandir la lista",collapseList:"Contraer la lista",collapse:"Contraer",partOf:"parte de {name}, no publicada por separado",mapToken:"Token del mapa",tokenPaste:"Token público de Mapbox (pk.…)",tokenUrlLabel:"…o la URL de un servicio de tokens",tokenApply:"Usar",tokenClear:"Borrar",tokenStoredHere:"Se guarda solo en este navegador.",tokenSourceYours:"Usando tu token",tokenSourceUrl:"Usando un token de {url}",tokenSourceBuilt:"Usando el token integrado en esta página",tokenSourceNone:"Sin token de Mapbox: los mapas de Mapbox no cargan (los de MapLibre no lo necesitan)",tokenSecret:"Ese es un token secreto (sk.…). Pega uno público (pk.…): esta página es pública.",tokenNotPk:"Un token público de Mapbox empieza por pk.",tokenUrlFailed:"No se pudo obtener un token de esa URL: {why}",settings:"Ajustes",mapEngine:"Motor de mapas",engineDefault:"El de cada mapa",engineMapboxNote:"necesita un token",engineMaplibreNote:"no necesita token",tokenNotNeeded:"MapLibre está seleccionado: sus mapas no necesitan token de Mapbox"},x$={prayer:"Oración",adoption:"Adopción",engagement:"Compromiso","affinity-blocks":"Pueblos",regions:"Regiones",countries:"Países","language-families":"Idiomas",religion:"Religiones",family:"Familia lingüística",language:"Idioma",dialect:"Dialecto/Variedad",bloc:"Bloque de afinidad",cluster:"Clúster",group:"Pueblo",pgic:"Pueblo en país",region:"Región WAGF",block:"Bloque WAGF",country:"País",upg100Region:"Región",upg100Zone:"Listas UPG-100",upg100Group:"Grupo étnico",selectView:"Seleccionar vista",views:"Vistas",prayerResources:"Recursos de oración",map:"Mapa"},L$={kicker:"DOXA · Visión",title:"Cada pueblo. Cada lugar.",tagline:"De todos los grupos étnicos del mundo a aquellos por los que DOXA ora, contados a partir de los datos.",funnelLabel:"De todos los grupos étnicos a los grupos étnicos de DOXA",allLabel:"Grupos étnicos",allNote:"cada grupo étnico, en cada país donde vive",unreachedLabel:"No alcanzados",unreachedNote:"menos del 2 % evangélicos",frontierLabel:"Frontera",frontierNote:"menos del 0,1 % evangélicos",doxaLabel:"Grupos étnicos de DOXA",doxaNote:"{frontier} de ellos son de frontera",people:"{n} personas",sources:"Grupos étnicos: {imb}, datos de {date}. Lista de DOXA: pray.doxa.life, {date2}.",howCounted:"Cómo se cuentan",ruleAll:"Cada fila de los datos de grupos étnicos del IMB: un grupo étnico en un país.",ruleUnreached:"Prioridad de perdición del IMB de 0 a 2: menos del 2 % evangélicos.",ruleFrontier:"Prioridad de perdición del IMB 0: menos del 0,1 % evangélicos. Un subconjunto de los no alcanzados.",ruleDoxa:"Cada grupo de la lista de oración de DOXA, vinculado a los datos del IMB por pueblo y país. No todos son de frontera."},S$={title:"Tous les groupes ethniques",locations:"{n} emplacements (groupe × pays)",doxa:"Groupes ethniques DOXA",frontier:"Frontière — rien n’a commencé",unreached:"Non atteints — le travail commence",reached:"Atteints — l’Église est là",hint:"Cliquez sur une ligne pour les voir tous · recliquez pour tout voir",loading:"Chargement de tous les groupes ethniques…",loadError:"La carte n’a pas pu être chargée.",pray:"Priez pour eux →",population:"pop. {n}"},A$={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"},P$={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"},C$={title:"Accès à Internet là où vivent les peuples sans engagement",bands:{yes:"connecté 60 %+",partial:"partiel 25–59 %",no:"faible, moins de 25 %",unknown:"non mesuré"},peopleGroup:"peuple",caveat:"Chiffres NATIONAUX (Banque mondiale). La connectivité par ville n'est pas publique — ne déduisez pas une ville à partir de son pays.",sheet:{close:"Fermer",ai:"Ces données proviennent d'une recherche approfondie par IA — elles peuvent contenir des informations erronées.",dismiss:"Ignorer",internetUsers:"Internautes",measured:"Mesuré",mobilePer100:"Mobiles pour 100",peopleGroups:"Peuples",topPlatform:"Plateforme principale",unknown:"inconnu",carriers:"Opérateurs et FAI ({n})",socialPlatforms:"Réseaux sociaux",note:"Chiffres nationaux, pas des mesures par ville. Les noms d'opérateurs sont les titulaires de registres ASN (on y trouve aussi des banques et des universités à côté des FAI), donc l'étiquette « opérateur » est une heuristique fondée sur le nom, non une classification vérifiée."}},E$={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"},T$={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"},N$={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},M$={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"Les notes explicatives ci-dessous sont en anglais."},mode:{gap:"Écart",coverage:"Ressources trouvées"},search:{placeholder:"Chercher un peuple, une langue ou un code ISO",clear:"Effacer la recherche",none:"Rien ne correspond à ce nom, cette langue ou ce code.",placeholderShort:"Peuple, langue ou code ISO"},legend:{title:"Peuples non atteints sans aucune ressource de l'Évangile",band60:"60 %+ sans rien trouvé",band30:"30–59 %",bandSome:"quelques peuples",bandAll:"tous les peuples ont quelque chose",tier2:"Écritures et film",tier1:"une ressource trouvée",tier0:"rien trouvé",hnr:"peuvent l'entendre, aucun texte",showAll:"Afficher tous les peuples",titleCoverage:"Peuples non atteints avec une ressource de l'Évangile",cov80:"80 %+ ont quelque chose",cov50:"50–79 %",cov1:"1–49 %",cov0:"rien pour aucun",tallyEach:"Chaque",tallyIs:"est UN peuple —",tallyOf:"d'entre eux,",tallyLink:"avec un lien",doxa0:"tous ont quelque chose",doxa1:"1–4 sans rien",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 atteints",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Peuples Doxa sur cette carte",notPlaced:"sur la liste, pas encore localisés",outOfScope:"aucun peuple Doxa — non coloré"},tabs:{groups:"Peuples les plus nombreux",countries:"Par pays",regions:"Par région",noprayer:"Personne ne prie",hnr:"Entendent, sans texte"},stat:{language:"Langue",population:"Population",countries:"Pays",peopleGroups:"Peuples",noResource:"Aucune ressource trouvée",peopleAffected:"Personnes concernées",haveScripture:"Ont les Écritures",haveFilm:"Ont le film",haveAudio:"Ont les Écritures en audio",signLanguages:"Langues des signes",growingUnreached:"En croissance et non atteints",deathsDay:"Décès estimés/jour"},sheet:{ownLanguage:"Dans leur propre langue",close:"Fermer",loading:"Chargement des ressources…",pray:"Priez pour",everyResource:"Toutes les ressources en",alsoSpeak:"Parlent aussi"},res:{scripture:"Écritures",film:"Film",audio:"Audio",bibleVideo:"Vidéo biblique",bibleStories:"Open Bible Stories",gospelAudio:"Audio de l'Évangile",gospelPresentation:"Présentation de l'Évangile",scriptureEarth:"Scripture Earth",training:"Formation au discipulat",jesusFilm:"Film JÉSUS",audioScripture:"Écritures en audio",bibleStoriesPlain:"Histoires bibliques"},state:{noneFound:"rien trouvé",noneAtFcbh:"rien chez FCBH",noneAtGrn:"rien chez GRN",notInZume:"pas dans les 54 de Zume",linkChecked:"lien vérifié",unchecked:"non vérifié",linkDead:"lien mort",wrongLanguage:"mauvaise langue",varietyNotStated:"(variété non précisée)",inLanguage:"en"},guide:{dotVsCountry:"Un point est UN peuple de Doxa et sa propre langue ; un pays est le NOMBRE de ces peuples.",noneFoundShort:"« Rien trouvé » signifie absent des sources consultées, jamais la preuve que rien n'existe.",tapCountry:"Touchez un pays pour voir les ressources, peuple par peuple."},tables:{title:"Ressources de l'Évangile — Données",showing:"Affichage de",of:"sur",for:"pour",filteredTo:"Filtré sur",showAll:"Afficher toutes les ressources",t_doxa:"Doxa — Accès à l'Évangile",t_links:"Chaque ressource + lien",t_nothing:"Où rien n'a été trouvé",t_countrygap:"L'écart par pays",t_translation:"Entendent, sans texte",t_translationcountry:"Où traduire",t_gaps:"Écarts et opportunités",t_bridges:"Ponts urbains",t_deaf:"L'écart sourd",t_resources:"Ressources par peuple",t_languages:"Langues par pays",t_growth:"Accès vs croissance"},pages:{listTitle:"Ressources de l'Évangile par langue",chartsTitle:"Ressources de l'Évangile — par langue",loadingTables:"Chargement des tableaux…"},list:{noText:"Pas de texte biblique",hasScripture:"A les Écritures",allLanguages:"Toutes les langues",peopleGroup:"peuple",peopleGroups:"peuples",scriptureHere:"Écritures dans cette langue"},columns:{"People group":"Peuple",Country:"Pays",Region:"Région",Language:"Langue",Population:"Population",Religion:"Religion","Gospel access":"Accès à l'Évangile",Resources:"Ressources",Scripture:"Écritures","Bible video":"Vidéo biblique","Gospel presentation":"Présentation de l'Évangile",Countries:"Pays","People groups":"Peuples"},charts:{scriptureAny:"Écritures (toutes)",fullBible:"Bible complète",newTestament:"Nouveau Testament",filmAny:"Film (tous)",nothingInPools:"Rien trouvé dans les sources consultées",nothingInPoolsLower:"rien trouvé dans les sources consultées",noResourceInPools:"aucune ressource trouvée dans les sources consultées",aResourceFound:"une ressource trouvée",tabCoverage:"Couverture des ressources",tabGap:"Plus grands écarts",keyScripture:"écritures",keyFilmStories:"film / histoires",keyAudioEtc:"audio / présentation / formation",unresolvedCode:"code hors ISO 639-3 — non résolu, non mesuré"}},R$={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."},F$={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"},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."},a11y:{expandRow:"Développer {label}",collapseRow:"Réduire {label}",clearSelection:"Effacer la sélection"}},I$={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",upg100WallIntro:"Répartissez la tâche de la prière par groupes de cinquante et de cent — comme Jésus a nourri les 5 000 (Luc 9:14). Chaque affiche est une liste de 100 que vous pouvez prier, imprimer et afficher au mur — en priant pour eux <strong>par le nom de leur peuple</strong>."},O$={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},D$={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},B$={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},G$={"%count% people groups in %countries% countries":"%count% peuples dans %countries% pays","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% compte %count% peuples répartis dans %countries% pays. La couleur de chaque point indique combien de personnes prient pour ce peuple.","1+ People Praying":"1+ personnes en prière","100+ People Praying":"100+ personnes en prière",Adopted:"Adopté","Adoption Progress":"Progrès de l'adoption","All Regions":"Toutes les régions","Alternate Names":"Autres noms","Choose a region":"Choisissez une région","Clear All":"Tout effacer",Countries:"Pays","Countries in this region":"Pays de cette région",Country:"Pays",Engaged:"Engagé","Engagement Progress":"Progrès de l'engagement","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Chaque peuple non engagé adopté par une église locale engagée dans la prière, le don et l'envoi","Exact Search":"Recherche exacte","Find unreached people groups by region and country.":"Trouvez des peuples non atteints par région et par pays.","Full Profile":"Profil complet",Goal:"Objectif","Hide Filters":"Masquer les filtres","Hide country posters":"Masquer les affiches du pays",Intercessors:"Intercesseurs","Load More":"Afficher plus","Loading results...":"Chargement des résultats...",Map:"Carte","Mobilize 100+ people praying daily for each DOXA people group":"Mobiliser plus de 100 personnes priant chaque jour pour chaque peuple DOXA","No One Praying":"Personne ne prie","No options found":"Aucun lieu trouvé","No poster has been generated for this country yet.":"Aucune affiche n'a encore été générée pour ce pays.","No unengaged people groups by 2033":"Plus aucun peuple non engagé d'ici 2033","Not Adopted":"Non adopté",Other:"Autre","Page Not Found":"Page introuvable","People Group":"Peuple","People Groups":"Peuples","People committed to praying":"Personnes engagées dans la prière","Pick a region above, or click any dot to open that people group's country.":"Choisissez une région ci-dessus, ou cliquez sur un point pour ouvrir le pays de ce peuple.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Choisissez une région ou un pays dans l’onglet Liste des régions pour affiner ce tableau de bord.",Population:"Population","Prayer Coverage":"Couverture de prière","Prayer coverage progress":"Progression de la couverture de prière","Region Dashboards":"Tableaux de bord des régions","Region dashboard":"Tableau de bord de la région",Regions:"Régions","Regions List":"Liste des régions",Religion:"Religion","Search names, country/continent, religions...":"Rechercher des noms, pays/continent, religions...","See %region% dashboard":"Voir le tableau de bord : %region%","See All":"Tout afficher",Select:"Sélectionner","Select View":"Sélectionner la vue","Show Filters":"Afficher les filtres","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"Il y a %count% peuples en %country%. Consultez la carte pour découvrir également les peuples situés à la frontière de ce pays.",Total:"Total","Type to search...":"Entrer votre recherche","Unengaged people groups":"Peuples non engagés","View country posters":"Voir les affiches du pays",Views:"Vues","WAGF Block":"Bloc WAGF","WAGF Region":"Région WAGF","people groups adopted":"peuples adoptés","people groups engaged":"peuples engagés","Outside this region":"Hors de cette région",Pray:"Prier","Loading region dashboards…":"Chargement des tableaux de bord des régions…","No regions found.":"Aucune région trouvée.","Region data could not be loaded. This is a connection problem, not a filter.":"Les données des régions n'ont pas pu être chargées. Il s'agit d'un problème de connexion, pas d'un filtre.","People groups could not be loaded. This is a connection problem, not a filter.":"Les peuples n'ont pas pu être chargés. Il s'agit d'un problème de connexion, pas d'un filtre.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"La carte n'a pas pu démarrer. Il s'agit d'un problème de jeton de carte ou de connexion, pas d'un filtre — les chiffres ci-dessus ne sont pas affectés."},j$={placeholder:"Peuple, lieu, langue, religion",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"},sections:{within:"Dans {selection}",allData:"Toutes les données DOXA"},upg100Placeholder:"Rechercher un peuple, une liste UPG-100 ou une région…"},U$={title:"Studio de plugins",navLabel:"Plugins par capacité",countLabel:"{bundles} paquets · {elements} plugins listés ici",changeLanguage:"Changer de langue",copyEmbed:"Copier le code d’intégration",copy:"Copier",copied:"Copié",scriptEmbed:"Intégration par script",loading:"Chargement de {name}…",couldNotLoad:"Impossible de charger {name}.",chooseElement:"Choisissez un plugin dans la liste.",filterPlaceholder:"Filtrer les plugins",collapseAll:"Tout replier",noMatch:"Aucun plugin ne correspond à « {query} ».",openSection:"Ouvrir {cap}, {label}",part:"partie",noStandalone:"pas de page autonome",cap5:"Coquille d’application",cap4:"Composite",cap3:"Multivue",cap2:"Préréglage",cap1:"Simple",toggleList:"Afficher ou masquer la liste",openViews:"Ouvrir la liste des vues",expandList:"Déplier la liste",collapseList:"Replier la liste",collapse:"Replier",partOf:"partie de {name}, non publiée seule",mapToken:"Jeton de carte",tokenPaste:"Jeton public Mapbox (pk.…)",tokenUrlLabel:"…ou l’URL d’un service de jetons",tokenApply:"Utiliser",tokenClear:"Effacer",tokenStoredHere:"Conservé dans ce navigateur uniquement.",tokenSourceYours:"Votre jeton est utilisé",tokenSourceUrl:"Jeton obtenu de {url}",tokenSourceBuilt:"Jeton intégré à cette page",tokenSourceNone:"Aucun jeton Mapbox : les cartes Mapbox ne peuvent pas charger (MapLibre n’en a pas besoin)",tokenSecret:"C’est un jeton secret (sk.…). Collez un jeton public (pk.…) : cette page est publique.",tokenNotPk:"Un jeton public Mapbox commence par pk.",tokenUrlFailed:"Impossible d’obtenir un jeton depuis cette URL : {why}",settings:"Paramètres",mapEngine:"Moteur de carte",engineDefault:"Celui de chaque carte",engineMapboxNote:"nécessite un jeton",engineMaplibreNote:"aucun jeton requis",tokenNotNeeded:"MapLibre est sélectionné : ses cartes n’ont pas besoin de jeton Mapbox"},z$={prayer:"Prière",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Peuples",regions:"Régions",countries:"Pays","language-families":"Langues",religion:"Religions",family:"Famille linguistique",language:"Langue",dialect:"Dialecte/Variété",bloc:"Bloc d'affinité",cluster:"Grappe",group:"Peuple",pgic:"Peuple dans le pays",region:"Région WAGF",block:"Bloc WAGF",country:"Pays",upg100Region:"Région",upg100Zone:"Listes UPG-100",upg100Group:"Groupe de peuples",selectView:"Choisir la vue",views:"Vues",prayerResources:"Ressources de prière",map:"Carte"},H$={kicker:"DOXA · Vision",title:"Chaque peuple. Chaque lieu.",tagline:"De tous les groupes ethniques du monde à ceux pour qui DOXA prie, comptés à partir des données.",funnelLabel:"De tous les groupes ethniques aux groupes ethniques DOXA",allLabel:"Groupes ethniques",allNote:"chaque groupe ethnique, dans chaque pays où il vit",unreachedLabel:"Non atteints",unreachedNote:"moins de 2 % d’évangéliques",frontierLabel:"Frontière",frontierNote:"moins de 0,1 % d’évangéliques",doxaLabel:"Groupes ethniques DOXA",doxaNote:"dont {frontier} de frontière",people:"{n} personnes",sources:"Groupes ethniques : {imb}, données du {date}. Liste DOXA : pray.doxa.life, {date2}.",howCounted:"Comment ces chiffres sont comptés",ruleAll:"Chaque ligne des données IMB : un groupe ethnique dans un pays.",ruleUnreached:"Priorité de perdition IMB 0 à 2 : moins de 2 % d’évangéliques.",ruleFrontier:"Priorité de perdition IMB 0 : moins de 0,1 % d’évangéliques. Un sous-ensemble des non-atteints.",ruleDoxa:"Chaque groupe de la liste de prière DOXA, rapproché des données IMB par peuple et pays. Tous ne sont pas de frontière."},V$={title:"सभी जनसमूह",locations:"{n} स्थान (समूह × देश)",doxa:"DOXA जनसमूह",frontier:"सीमांत — कुछ शुरू नहीं हुआ",unreached:"अप्रचारित — काम शुरू हो रहा है",reached:"प्रचारित — कलीसिया मौजूद है",hint:"सभी देखने के लिए पंक्ति पर क्लिक करें · सब कुछ देखने के लिए फिर क्लिक करें",loading:"सभी जनसमूह लोड हो रहे हैं…",loadError:"मानचित्र लोड नहीं हो सका।",pray:"उनके लिए प्रार्थना करें →",population:"जनसंख्या {n}"},K$={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें",collapseLegend:"लेजेंड संक्षिप्त करें",expandLegend:"लेजेंड विस्तृत करें",toggleLegend:"लेजेंड दिखाएँ या छिपाएँ"},q$={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:"प्रति पंक्ति पोस्टर"},W$={title:"इंटरनेट पहुँच जहाँ बिना सहभागिता वाले जनसमूह रहते हैं",bands:{yes:"जुड़ा हुआ 60%+",partial:"आंशिक 25–59%",no:"कम, 25% से नीचे",unknown:"मापा नहीं गया"},peopleGroup:"जनसमूह",caveat:"राष्ट्रीय आँकड़े (विश्व बैंक)। शहर-स्तर की कनेक्टिविटी सार्वजनिक रूप से उपलब्ध नहीं है — देश के आँकड़ों से किसी शहर का अनुमान न लगाएँ।",sheet:{close:"बंद करें",ai:"यह डेटा एआई गहन शोध से मिला है — इसमें गलत जानकारी हो सकती है।",dismiss:"हटाएँ",internetUsers:"इंटरनेट उपयोगकर्ता",measured:"मापा गया",mobilePer100:"प्रति 100 मोबाइल",peopleGroups:"जनसमूह",topPlatform:"शीर्ष प्लेटफ़ॉर्म",unknown:"अज्ञात",carriers:"कैरियर और आईएसपी ({n})",socialPlatforms:"सोशल प्लेटफ़ॉर्म",note:"ये राष्ट्रीय आँकड़े हैं, शहरों के माप नहीं। कैरियर के नाम ASN रजिस्ट्री धारकों के हैं — उनमें आईएसपी के साथ बैंक और विश्वविद्यालय भी शामिल हैं, इसलिए कैरियर का चिह्न नाम पर आधारित अनुमान है, सत्यापित वर्गीकरण नहीं।"}},Y$={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:"मानचित्र नियंत्रण"},X$={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:"स्थान"},Z$={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},J$={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"नीचे दी गई व्याख्यात्मक टिप्पणियाँ अंग्रेज़ी में हैं।"},mode:{gap:"कमी",coverage:"उपलब्ध संसाधन"},search:{placeholder:"जनसमूह, भाषा या ISO कोड खोजें",clear:"खोज साफ़ करें",none:"इस नाम, भाषा या कोड से कुछ भी मेल नहीं खाता।",placeholderShort:"जनसमूह, भाषा या ISO कोड"},legend:{title:"ऐसे जनसमूह जिन तक सुसमाचार नहीं पहुँचा और कोई संसाधन नहीं मिला",band60:"60%+ के पास कुछ नहीं",band30:"30–59%",bandSome:"कुछ जनसमूह",bandAll:"सभी जनसमूहों के पास कुछ है",tier2:"पवित्र शास्त्र और फ़िल्म",tier1:"कुछ संसाधन मिला",tier0:"कुछ नहीं मिला",hnr:"सुन सकते हैं, पाठ नहीं",showAll:"सभी जनसमूह दिखाएँ",titleCoverage:"ऐसे अनपहुँचे जनसमूह जिनके लिए कुछ सुसमाचार संसाधन मिला",cov80:"80%+ के पास कुछ है",cov50:"50–79%",cov1:"1–49%",cov0:"किसी के लिए कुछ नहीं",tallyEach:"हर",tallyIs:"एक जनसमूह है —",tallyOf:"में से,",tallyLink:"के पास लिंक है",doxa0:"सभी के पास कुछ है",doxa1:"1–4 के पास कुछ नहीं",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 तक पहुँच",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"इस मानचित्र पर दोक्सा जनसमूह",notPlaced:"सूची में, अभी स्थान नहीं",outOfScope:"कोई दोक्सा जनसमूह नहीं — रंग नहीं"},tabs:{groups:"सबसे बड़े जनसमूह",countries:"देश के अनुसार",regions:"क्षेत्र के अनुसार",noprayer:"कोई प्रार्थना नहीं कर रहा",hnr:"सुन सकते हैं, पाठ नहीं"},stat:{language:"भाषा",population:"जनसंख्या",countries:"देश",peopleGroups:"जनसमूह",noResource:"कोई संसाधन नहीं मिला",peopleAffected:"प्रभावित लोग",haveScripture:"पवित्र शास्त्र उपलब्ध",haveFilm:"फ़िल्म उपलब्ध",haveAudio:"ऑडियो शास्त्र उपलब्ध",signLanguages:"सांकेतिक भाषाएँ",growingUnreached:"बढ़ते और अनपहुँचे",deathsDay:"अनुमानित मृत्यु/दिन"},sheet:{ownLanguage:"उनकी अपनी भाषा में",close:"बंद करें",loading:"संसाधन लोड हो रहे हैं…",pray:"के लिए प्रार्थना करें",everyResource:"में सभी संसाधन",alsoSpeak:"यह भी बोलते हैं"},res:{scripture:"पवित्र शास्त्र",film:"फ़िल्म",audio:"ऑडियो",bibleVideo:"बाइबल वीडियो",bibleStories:"Open Bible Stories",gospelAudio:"सुसमाचार ऑडियो",gospelPresentation:"सुसमाचार प्रस्तुति",scriptureEarth:"Scripture Earth",training:"शिष्यत्व प्रशिक्षण",jesusFilm:"यीशु फ़िल्म",audioScripture:"ऑडियो पवित्र शास्त्र",bibleStoriesPlain:"बाइबल की कहानियाँ"},state:{noneFound:"कुछ नहीं मिला",noneAtFcbh:"FCBH में कुछ नहीं",noneAtGrn:"GRN में कुछ नहीं",notInZume:"Zume की 54 भाषाओं में नहीं",linkChecked:"लिंक जाँचा गया",unchecked:"अनजाँचा",linkDead:"लिंक निष्क्रिय",wrongLanguage:"ग़लत भाषा",varietyNotStated:"(उपभाषा नहीं बताई गई)",inLanguage:"में"},guide:{dotVsCountry:"हर बिंदु दोक्सा का एक जनसमूह और उसकी अपनी भाषा है; देश का रंग उन जनसमूहों की संख्या है।",noneFoundShort:"“कुछ नहीं मिला” का अर्थ है जाँचे गए स्रोतों में नहीं — यह प्रमाण नहीं कि कुछ है ही नहीं।",tapCountry:"संसाधन देखने के लिए किसी देश पर टैप करें, जनसमूह दर जनसमूह।"},tables:{title:"सुसमाचार संसाधन — डेटा",showing:"दिखा रहे हैं",of:"में से",for:"के लिए",filteredTo:"फ़िल्टर:",showAll:"सभी संसाधन दिखाएँ",t_doxa:"दोक्सा — सुसमाचार पहुँच",t_links:"हर संसाधन + लिंक",t_nothing:"जहाँ कुछ नहीं मिला",t_countrygap:"देश अनुसार कमी",t_translation:"सुन सकते हैं, पाठ नहीं",t_translationcountry:"अनुवाद कहाँ करें",t_gaps:"कमियाँ और अवसर",t_bridges:"नगर सेतु",t_deaf:"बधिर कमी",t_resources:"जनसमूह अनुसार संसाधन",t_languages:"देश अनुसार भाषाएँ",t_growth:"पहुँच बनाम जनसंख्या वृद्धि"},pages:{listTitle:"भाषा अनुसार सुसमाचार संसाधन",chartsTitle:"सुसमाचार संसाधन — भाषा अनुसार",loadingTables:"संसाधन तालिकाएँ लोड हो रही हैं…"},list:{noText:"कोई लिखित शास्त्र नहीं",hasScripture:"शास्त्र उपलब्ध",allLanguages:"सभी भाषाएँ",peopleGroup:"जनसमूह",peopleGroups:"जनसमूह",scriptureHere:"इस भाषा में पवित्र शास्त्र"},columns:{"People group":"जनसमूह",Country:"देश",Region:"क्षेत्र",Language:"भाषा",Population:"जनसंख्या",Religion:"धर्म","Gospel access":"सुसमाचार पहुँच",Resources:"संसाधन",Scripture:"पवित्र शास्त्र","Bible video":"बाइबल वीडियो","Gospel presentation":"सुसमाचार प्रस्तुति",Countries:"देश","People groups":"जनसमूह"},charts:{scriptureAny:"पवित्र शास्त्र (कोई भी)",fullBible:"पूरी बाइबल",newTestament:"नया नियम",filmAny:"फ़िल्म (कोई भी)",nothingInPools:"जाँचे गए स्रोतों में कुछ नहीं मिला",nothingInPoolsLower:"जाँचे गए स्रोतों में कुछ नहीं मिला",noResourceInPools:"जाँचे गए स्रोतों में कोई संसाधन नहीं मिला",aResourceFound:"एक संसाधन मिला",tabCoverage:"संसाधन कवरेज",tabGap:"सबसे बड़े अंतराल",keyScripture:"पवित्र शास्त्र",keyFilmStories:"फ़िल्म / कहानियाँ",keyAudioEtc:"ऑडियो / प्रस्तुति / प्रशिक्षण",unresolvedCode:"ISO 639-3 से बाहर कोड — अनसुलझा, मापा नहीं गया"}},Q$={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:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।"},ey={title:{adoption:"गोद लेने की प्रगति",affinityBlocs:"समानता समूह",doxaRegions:"Doxa क्षेत्र",engagement:"सहभागिता प्रगति",gospelResources:"सुसमाचार संसाधन",languageFamilies:"भाषा परिवार",prayer:"प्रार्थना प्रगति",upg100List:"मेरी UPG 100 सूची"},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:"जनसमूह — किसी सूची के भीतर के अलग-अलग अनपहुँचे समूह, सबसे बड़ी प्रार्थना आवश्यकता पहले। मानचित्र का हर बिंदु इनमें से एक है।"},a11y:{expandRow:"{label} का विस्तार करें",collapseRow:"{label} को छोटा करें",clearSelection:"चयन हटाएँ"}},ty={menuComingSoon:"मेनू शीघ्र आ रहा है",pinHint:{tapDot:"किसी रंगीन बिंदु पर टैप करें — किसी को अभी भी प्रार्थना की आवश्यकता है"},upg100WallHeading:"मेरी UPG 100 सूची — प्रार्थना सूचियाँ और पोस्टर",upg100WallTag:"प्रार्थना लामबंदी",upg100WallIntro:"प्रार्थना के काम को पचास-पचास और सौ-सौ के समूहों में बाँटें — जैसे यीशु ने 5,000 लोगों को खिलाया (लूका 9:14)। हर पोस्टर 100 की एक सूची है जिसके लिए आप प्रार्थना कर सकते हैं, छाप सकते हैं और दीवार पर लगा सकते हैं — उनके लिए <strong>उनके जनसमूह के नाम से</strong> प्रार्थना करते हुए।"},oy={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},ny={country:{wagfRegion:"WAGF क्षेत्र",wagfBlock:"WAGF ब्लॉक",country:"देश",uupgCount:"UUPG संख्या"}},ay={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},sy={"%count% people groups in %countries% countries":"%countries% देशों में %count% जनसमूह","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% में %countries% देशों में %count% लोगों के समूह हैं। प्रत्येक बिंदु का रंग दर्शाता है कि उस लोगों के समूह के लिए कितने लोग प्रार्थना कर रहे हैं।","1+ People Praying":"1+ लोग प्रार्थना कर रहे हैं","100+ People Praying":"100+ लोग प्रार्थना कर रहे हैं",Adopted:"गोद लिया गया","Adoption Progress":"गोद लेने की प्रगति","All Regions":"सभी क्षेत्र","Alternate Names":"वैकल्पिक नाम","Choose a region":"क्षेत्र चुनें","Clear All":"सभी साफ़ करें",Countries:"देश","Countries in this region":"इस क्षेत्र के देश",Country:"देश",Engaged:"संपर्कित","Engagement Progress":"संलग्नता की प्रगति","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"प्रत्येक असंलग्न जनसमूह जिसे प्रार्थना, दान और भेजने के लिए प्रतिबद्ध एक चर्च ने अपनाया है।","Exact Search":"सटीक खोज","Find unreached people groups by region and country.":"क्षेत्र और देश के अनुसार अगम्य लोगों के समूह खोजें।","Full Profile":"पूरी प्रोफ़ाइल",Goal:"लक्ष्य","Hide Filters":"फ़िल्टर छिपाएँ","Hide country posters":"देश के पोस्टर छिपाएँ",Intercessors:"मध्यस्थ","Load More":"और लोड करें","Loading results...":"परिणाम लोड हो रहे हैं..।",Map:"नक्शा","Mobilize 100+ people praying daily for each DOXA people group":"प्रत्येक DOXA जनसमूह के लिए प्रतिदिन प्रार्थना करने हेतु 100+ लोगों को सक्रिय करें।","No One Praying":"कोई प्रार्थना नहीं कर रहा","No options found":"कोई विकल्प नहीं मिला","No poster has been generated for this country yet.":"इस देश के लिए अभी तक कोई पोस्टर नहीं बना है।","No unengaged people groups by 2033":"2033 तक कोई भी संलग्न न किया गया जनसमूह नहीं रहेगा।","Not Adopted":"दत्तक नहीं लिया गया",Other:"अन्य","Page Not Found":"पृष्ठ नहीं मिला","People Group":"लोगों का समूह","People Groups":"जनसमूह","People committed to praying":"प्रार्थना के लिए प्रतिबद्ध लोग","Pick a region above, or click any dot to open that people group's country.":"ऊपर कोई क्षेत्र चुनें, या उस लोगों के समूह का देश खोलने के लिए किसी बिंदु पर क्लिक करें।","Pick a region or a country on the Regions List tab to narrow this dashboard.":"इस डैशबोर्ड को सीमित करने के लिए क्षेत्रों की सूची टैब में कोई क्षेत्र या देश चुनें।",Population:"जनसंख्या","Prayer Coverage":"प्रार्थना कवरेज","Prayer coverage progress":"प्रार्थना कवरेज की प्रगति","Region Dashboards":"क्षेत्र डैशबोर्ड","Region dashboard":"क्षेत्र डैशबोर्ड",Regions:"क्षेत्र","Regions List":"क्षेत्रों की सूची",Religion:"धर्म","Search names, country/continent, religions...":"नाम, देश/महाद्वीप, धर्म खोजें…","See %region% dashboard":"%region% डैशबोर्ड देखें","See All":"सभी देखें",Select:"चयन/छंटनी","Select View":"दृश्य चुनें","Show Filters":"फ़िल्टर दिखाएँ","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"%country% में %count% लोगों के समूह हैं। इस देश की सीमा पर स्थित लोगों के समूहों के लिए मानचित्र भी देखें।",Total:"संपूर्ण","Type to search...":"खोजने के लिए टाइप करें..।","Unengaged people groups":"अनसंपर्कित जनसमूह","View country posters":"देश के पोस्टर देखें",Views:"दृश्य","WAGF Block":"WAGF ब्लॉक","WAGF Region":"डब्ल्यूएजीएफ क्षेत्र","people groups adopted":"जनसमूह गोद लिए गए","people groups engaged":"संपर्कित जनसमूह","Outside this region":"इस क्षेत्र के बाहर",Pray:"प्रार्थना करें","Loading region dashboards…":"क्षेत्र डैशबोर्ड लोड हो रहे हैं…","No regions found.":"कोई क्षेत्र नहीं मिला।","Region data could not be loaded. This is a connection problem, not a filter.":"क्षेत्र डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, फ़िल्टर की नहीं।","People groups could not be loaded. This is a connection problem, not a filter.":"लोकसमूह लोड नहीं हो सके। यह कनेक्शन की समस्या है, फ़िल्टर की नहीं।","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"नक्शा शुरू नहीं हो सका। यह नक्शा-टोकन या कनेक्शन की समस्या है, फ़िल्टर की नहीं — ऊपर के आंकड़े प्रभावित नहीं हैं।"},ry={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"},sections:{within:"{selection} के भीतर",allData:"सभी DOXA डेटा"},kinds:{people:"जनसमूह + देश",peopleGroup:"जनसमूह",bloc:"समानता समूह",cluster:"जनसमूह क्लस्टर",country:"देश",region:"क्षेत्र",family:"भाषा परिवार",languageKind:"भाषा",dialect:"बोली",religionKind:"धर्म"},upg100Placeholder:"जनसमूह, UPG-100 सूची या क्षेत्र खोजें…"},iy={title:"प्लगइन स्टूडियो",navLabel:"क्षमता के अनुसार प्लगइन",countLabel:"{bundles} बंडल · यहाँ {elements} प्लगइन सूचीबद्ध",changeLanguage:"भाषा बदलें",copyEmbed:"एम्बेड कोड कॉपी करें",copy:"कॉपी करें",copied:"कॉपी हो गया",scriptEmbed:"स्क्रिप्ट एम्बेड",loading:"{name} लोड हो रहा है…",couldNotLoad:"{name} लोड नहीं हो सका।",chooseElement:"सूची से कोई प्लगइन चुनें।",filterPlaceholder:"प्लगइन फ़िल्टर करें",collapseAll:"सभी संक्षिप्त करें",noMatch:"“{query}” से कोई प्लगइन मेल नहीं खाता।",openSection:"{cap} खोलें, {label}",part:"भाग",noStandalone:"कोई अलग पेज नहीं",cap5:"ऐप शेल",cap4:"संयुक्त",cap3:"बहु-दृश्य",cap2:"प्रीसेट",cap1:"एकल",toggleList:"सूची दिखाएँ या छिपाएँ",openViews:"दृश्यों की सूची खोलें",expandList:"सूची फैलाएँ",collapseList:"सूची संक्षिप्त करें",collapse:"संक्षिप्त करें",partOf:"{name} का भाग, अलग से प्रकाशित नहीं",mapToken:"मानचित्र टोकन",tokenPaste:"Mapbox सार्वजनिक टोकन (pk.…)",tokenUrlLabel:"…या किसी टोकन सेवा का URL",tokenApply:"उपयोग करें",tokenClear:"साफ़ करें",tokenStoredHere:"केवल इसी ब्राउज़र में रखा जाता है।",tokenSourceYours:"आपका टोकन उपयोग हो रहा है",tokenSourceUrl:"{url} से टोकन उपयोग हो रहा है",tokenSourceBuilt:"इस पेज में बना टोकन उपयोग हो रहा है",tokenSourceNone:"कोई Mapbox टोकन नहीं: Mapbox मानचित्र लोड नहीं हो सकते (MapLibre को इसकी ज़रूरत नहीं)",tokenSecret:"यह एक गुप्त टोकन है (sk.…)। सार्वजनिक टोकन (pk.…) चिपकाएँ: यह पेज सार्वजनिक है।",tokenNotPk:"Mapbox सार्वजनिक टोकन pk. से शुरू होता है",tokenUrlFailed:"उस URL से टोकन नहीं मिल सका: {why}",settings:"सेटिंग्स",mapEngine:"मानचित्र इंजन",engineDefault:"हर मानचित्र का अपना",engineMapboxNote:"टोकन चाहिए",engineMaplibreNote:"टोकन की ज़रूरत नहीं",tokenNotNeeded:"MapLibre चुना गया है: इसके मानचित्रों को Mapbox टोकन नहीं चाहिए"},ly={prayer:"प्रार्थना",adoption:"गोद लेना",engagement:"सहभागिता","affinity-blocks":"जनसमूह",regions:"क्षेत्र",countries:"देश","language-families":"भाषाएँ",religion:"धर्म",family:"भाषा परिवार",language:"भाषा",dialect:"बोली/रूप",bloc:"समानता समूह",cluster:"क्लस्टर",group:"जनसमूह",pgic:"देश में जनसमूह",region:"WAGF क्षेत्र",block:"WAGF ब्लॉक",country:"देश",upg100Region:"क्षेत्र",upg100Zone:"UPG-100 सूचियाँ",upg100Group:"जनसमूह",selectView:"दृश्य चुनें",views:"दृश्य",prayerResources:"प्रार्थना संसाधन",map:"मानचित्र"},cy={kicker:"DOXA · दर्शन",title:"हर जनसमूह। हर स्थान।",tagline:"दुनिया के हर जनसमूह से उन तक जिनके लिए DOXA प्रार्थना करता है, आँकड़ों से गिने गए।",funnelLabel:"सभी जनसमूहों से DOXA जनसमूहों तक",allLabel:"जनसमूह",allNote:"हर जनसमूह, हर उस देश में जहाँ वह रहता है",unreachedLabel:"अप्रचारित",unreachedNote:"2% से कम इवेंजेलिकल",frontierLabel:"सीमांत",frontierNote:"0.1% से कम इवेंजेलिकल",doxaLabel:"DOXA जनसमूह",doxaNote:"इनमें से {frontier} सीमांत हैं",people:"{n} लोग",sources:"जनसमूह: {imb}, {date} के आँकड़े। DOXA सूची: pray.doxa.life, {date2}।",howCounted:"ये कैसे गिने गए",ruleAll:"IMB जनसमूह आँकड़ों की हर पंक्ति: एक देश में एक जनसमूह।",ruleUnreached:"IMB लॉस्टनेस प्राथमिकता 0 से 2: 2% से कम इवेंजेलिकल।",ruleFrontier:"IMB लॉस्टनेस प्राथमिकता 0: 0.1% से कम इवेंजेलिकल। अप्रचारितों का एक भाग।",ruleDoxa:"DOXA प्रार्थना सूची का हर समूह, जनसमूह और देश के आधार पर IMB आँकड़ों से मिलाया गया। सभी सीमांत नहीं हैं।"},uy={title:"Tutti i gruppi etnici",locations:"{n} località (gruppo × paese)",doxa:"Gruppi etnici DOXA",frontier:"Frontiera — non è iniziato nulla",unreached:"Non raggiunti — il lavoro inizia",reached:"Raggiunti — la chiesa c’è",hint:"Fai clic su una riga per vederli tutti · di nuovo per vedere tutto",loading:"Caricamento di tutti i gruppi etnici…",loadError:"Impossibile caricare la mappa.",pray:"Prega per loro →",population:"pop. {n}"},py={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio",collapseLegend:"Comprimi la legenda",expandLegend:"Espandi la legenda",toggleLegend:"Mostra o nascondi la legenda"},dy={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"},gy={title:"Accesso a internet dove vivono i popoli senza impegno",bands:{yes:"connesso 60%+",partial:"parziale 25–59%",no:"basso, sotto il 25%",unknown:"non misurato"},peopleGroup:"popolo",caveat:"Dati NAZIONALI (Banca Mondiale). La connettività per città non è disponibile pubblicamente: non dedurre una città dal suo paese.",sheet:{close:"Chiudi",ai:"Questi dati provengono da una ricerca approfondita con IA e possono contenere informazioni errate.",dismiss:"Ignora",internetUsers:"Utenti internet",measured:"Misurato",mobilePer100:"Cellulari ogni 100",peopleGroups:"Popoli",topPlatform:"Piattaforma principale",unknown:"sconosciuto",carriers:"Operatori e ISP ({n})",socialPlatforms:"Piattaforme social",note:"Dati nazionali, non misure per città. I nomi degli operatori sono titolari di registri ASN (includono banche e università oltre agli ISP), quindi l'etichetta di operatore è un'euristica basata sul nome, non una classificazione verificata."}},fy={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"},hy={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"},my={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},by={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"Le note esplicative qui sotto sono in inglese."},mode:{gap:"Divario",coverage:"Risorse trovate"},search:{placeholder:"Cerca un popolo, una lingua o un codice ISO",clear:"Cancella ricerca",none:"Nessuna corrispondenza per quel nome, lingua o codice.",placeholderShort:"Popolo, lingua o codice ISO"},legend:{title:"Popoli non raggiunti senza alcuna risorsa del vangelo",band60:"60%+ senza nulla",band30:"30–59%",bandSome:"alcuni popoli",bandAll:"tutti i popoli hanno qualcosa",tier2:"Scritture e film",tier1:"qualche risorsa trovata",tier0:"nulla trovato",hnr:"possono ascoltarlo, nessun testo",showAll:"Mostra tutti i popoli",titleCoverage:"Popoli non raggiunti con qualche risorsa del vangelo",cov80:"80%+ hanno qualcosa",cov50:"50–79%",cov1:"1–49%",cov0:"nulla per nessuno",tallyEach:"Ogni",tallyIs:"è UN popolo —",tallyOf:"di questi,",tallyLink:"con un link",doxa0:"tutti hanno qualcosa",doxa1:"1–4 senza nulla",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 raggiunti",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Popoli Doxa su questa mappa",notPlaced:"in elenco, non ancora collocati",outOfScope:"nessun popolo Doxa — non colorato"},tabs:{groups:"Popoli più numerosi",countries:"Per paese",regions:"Per regione",noprayer:"Nessuno prega",hnr:"Ascoltano, senza testo"},stat:{language:"Lingua",population:"Popolazione",countries:"Paesi",peopleGroups:"Popoli",noResource:"Nessuna risorsa trovata",peopleAffected:"Persone coinvolte",haveScripture:"Hanno le Scritture",haveFilm:"Hanno il film",haveAudio:"Hanno le Scritture in audio",signLanguages:"Lingue dei segni",growingUnreached:"In crescita e non raggiunti",deathsDay:"Decessi stimati/giorno"},sheet:{ownLanguage:"Nella loro lingua",close:"Chiudi",loading:"Caricamento risorse…",pray:"Prega per",everyResource:"Tutte le risorse in",alsoSpeak:"Parlano anche"},res:{scripture:"Scritture",film:"Film",audio:"Audio",bibleVideo:"Video biblico",bibleStories:"Open Bible Stories",gospelAudio:"Audio del Vangelo",gospelPresentation:"Presentazione del Vangelo",scriptureEarth:"Scripture Earth",training:"Formazione al discepolato",jesusFilm:"Film GESÙ",audioScripture:"Scritture in audio",bibleStoriesPlain:"Storie bibliche"},state:{noneFound:"nulla trovato",noneAtFcbh:"nulla presso FCBH",noneAtGrn:"nulla presso GRN",notInZume:"non tra le 54 di Zume",linkChecked:"link verificato",unchecked:"non verificato",linkDead:"link non attivo",wrongLanguage:"lingua errata",varietyNotStated:"(varietà non indicata)",inLanguage:"in"},guide:{dotVsCountry:"Ogni punto è UN popolo di Doxa con la sua lingua; un paese è il NUMERO di quei popoli.",noneFoundShort:"«Nulla trovato» significa assente dalle fonti controllate, mai la prova che non esista.",tapCountry:"Tocca un paese per vedere le risorse, popolo per popolo."},tables:{title:"Risorse del Vangelo — Dati",showing:"Mostrando",of:"di",for:"per",filteredTo:"Filtrato per",showAll:"Mostra tutte le risorse",t_doxa:"Doxa — Accesso al Vangelo",t_links:"Ogni risorsa + link",t_nothing:"Dove non si è trovato nulla",t_countrygap:"Il divario per paese",t_translation:"Ascoltano, senza testo",t_translationcountry:"Dove tradurre",t_gaps:"Divari e opportunità",t_bridges:"Ponti urbani",t_deaf:"Il divario sordo",t_resources:"Risorse per popolo",t_languages:"Lingue per paese",t_growth:"Accesso vs crescita"},pages:{listTitle:"Risorse del Vangelo per lingua",chartsTitle:"Risorse del Vangelo — per lingua",loadingTables:"Caricamento delle tabelle…"},list:{noText:"Nessun testo biblico",hasScripture:"Ha le Scritture",allLanguages:"Tutte le lingue",peopleGroup:"popolo",peopleGroups:"popoli",scriptureHere:"Scritture in questa lingua"},columns:{"People group":"Popolo",Country:"Paese",Region:"Regione",Language:"Lingua",Population:"Popolazione",Religion:"Religione","Gospel access":"Accesso al Vangelo",Resources:"Risorse",Scripture:"Scritture","Bible video":"Video biblico","Gospel presentation":"Presentazione del Vangelo",Countries:"Paesi","People groups":"Popoli"},charts:{scriptureAny:"Scritture (qualsiasi)",fullBible:"Bibbia completa",newTestament:"Nuovo Testamento",filmAny:"Film (qualsiasi)",nothingInPools:"Nulla trovato nelle fonti controllate",nothingInPoolsLower:"nulla trovato nelle fonti controllate",noResourceInPools:"nessuna risorsa trovata nelle fonti controllate",aResourceFound:"una risorsa trovata",tabCoverage:"Copertura delle risorse",tabGap:"Lacune maggiori",keyScripture:"scritture",keyFilmStories:"film / storie",keyAudioEtc:"audio / presentazione / formazione",unresolvedCode:"codice fuori ISO 639-3 — non risolto, non misurato"}},$y={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."},yy={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"},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."},a11y:{expandRow:"Espandi {label}",collapseRow:"Comprimi {label}",clearSelection:"Cancella la selezione"}},_y={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 poster",upg100WallTag:"Mobilitazione alla preghiera",upg100WallIntro:"Distribuisci il compito della preghiera in gruppi di cinquanta e di cento — come Gesù sfamò i 5.000 (Luca 9:14). Ogni poster è una lista di 100 che puoi pregare, stampare e appendere al muro — pregando per loro <strong>con il nome del loro popolo</strong>."},vy={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},ky={country:{wagfRegion:"Regione WAGF",wagfBlock:"Blocco WAGF",country:"Paese",uupgCount:"Numero di UUPG"}},wy={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},xy={"%count% people groups in %countries% countries":"%count% popoli in %countries% paesi","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% conta %count% popoli in %countries% paesi. Il colore di ogni punto indica quante persone pregano per quel popolo.","1+ People Praying":"1+ persone in preghiera","100+ People Praying":"100+ persone in preghiera",Adopted:"Adottato","Adoption Progress":"Avanzamento dell'adozione","All Regions":"Tutte le regioni","Alternate Names":"Nomi alternativi","Choose a region":"Scegli una regione","Clear All":"Cancella tutto",Countries:"Paesi","Countries in this region":"Paesi di questa regione",Country:"Paese",Engaged:"Coinvolto","Engagement Progress":"Avanzamento dell'impegno","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Ogni popolo non ancora raggiunto adottato da una chiesa impegnata nella preghiera, nel dare e nell'inviare","Exact Search":"Ricerca esatta","Find unreached people groups by region and country.":"Trova i popoli non raggiunti per regione e paese.","Full Profile":"Profilo completo",Goal:"Obiettivo","Hide Filters":"Nascondi i filtri","Hide country posters":"Nascondi i poster del paese",Intercessors:"Intercessori","Load More":"Carica altri","Loading results...":"Caricamento dei risultati…",Map:"Mappa","Mobilize 100+ people praying daily for each DOXA people group":"Mobilitare oltre 100 persone che pregano ogni giorno per ciascun popolo DOXA","No One Praying":"Nessuno prega","No options found":"Nessuna opzione trovata","No poster has been generated for this country yet.":"Per questo paese non è ancora stato generato alcun poster.","No unengaged people groups by 2033":"Nessun popolo senza impegno entro il 2033","Not Adopted":"Non adottato",Other:"Altro","Page Not Found":"Pagina non trovata","People Group":"Popolo","People Groups":"Popoli","People committed to praying":"Persone impegnate a pregare","Pick a region above, or click any dot to open that people group's country.":"Scegli una regione qui sopra, oppure clicca su un punto per aprire il paese di quel gruppo etnico.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Scegli una regione o un paese nella scheda Elenco delle regioni per restringere questo cruscotto.",Population:"Popolazione","Prayer Coverage":"Copertura della preghiera","Prayer coverage progress":"Avanzamento della copertura di preghiera","Region Dashboards":"Cruscotti delle regioni","Region dashboard":"Cruscotto della regione",Regions:"Regioni","Regions List":"Elenco delle regioni",Religion:"Religione","Search names, country/continent, religions...":"Cerca nomi, paese/continente, religioni…","See %region% dashboard":"Vedi il cruscotto di %region%","See All":"Vedi tutto",Select:"Seleziona","Select View":"Seleziona vista","Show Filters":"Mostra i filtri","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"In %country% ci sono %count% popoli. Controlla sulla mappa anche i popoli ai confini di questo paese.",Total:"Totale","Type to search...":"Digita per cercare…","Unengaged people groups":"Popoli senza impegno","View country posters":"Vedi i poster del paese",Views:"Viste","WAGF Block":"Blocco WAGF","WAGF Region":"Regione WAGF","people groups adopted":"popoli adottati","people groups engaged":"popoli coinvolti","Outside this region":"Fuori da questa regione",Pray:"Prega","Loading region dashboards…":"Caricamento delle dashboard delle regioni…","No regions found.":"Nessuna regione trovata.","Region data could not be loaded. This is a connection problem, not a filter.":"Non è stato possibile caricare i dati delle regioni. È un problema di connessione, non un filtro.","People groups could not be loaded. This is a connection problem, not a filter.":"Non è stato possibile caricare i gruppi di popolazione. È un problema di connessione, non un filtro.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"La mappa non è potuta avviare. È un problema di token della mappa o di connessione, non un filtro: i dati sopra non sono interessati."},Ly={placeholder:"Popolo, luogo, lingua, religione",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…"},Sy={title:"Studio dei plugin",navLabel:"Plugin per capacità",countLabel:"{bundles} pacchetti · {elements} plugin elencati qui",changeLanguage:"Cambia lingua",copyEmbed:"Copia codice di incorporamento",copy:"Copia",copied:"Copiato",scriptEmbed:"Incorporamento tramite script",loading:"Caricamento di {name}…",couldNotLoad:"Impossibile caricare {name}.",chooseElement:"Scegli un plugin dall’elenco.",filterPlaceholder:"Filtra i plugin",collapseAll:"Comprimi tutto",noMatch:"Nessun plugin corrisponde a «{query}».",openSection:"Apri {cap}, {label}",part:"parte",noStandalone:"nessuna pagina propria",cap5:"Shell dell’app",cap4:"Composito",cap3:"Multivista",cap2:"Preimpostato",cap1:"Singolo",toggleList:"Mostra o nascondi l’elenco",openViews:"Apri l’elenco delle viste",expandList:"Espandi l’elenco",collapseList:"Comprimi l’elenco",collapse:"Comprimi",partOf:"parte di {name}, non pubblicata da sola",mapToken:"Token mappa",tokenPaste:"Token pubblico Mapbox (pk.…)",tokenUrlLabel:"…o l’URL di un servizio di token",tokenApply:"Usa",tokenClear:"Cancella",tokenStoredHere:"Conservato solo in questo browser.",tokenSourceYours:"Uso il tuo token",tokenSourceUrl:"Uso un token da {url}",tokenSourceBuilt:"Uso il token integrato in questa pagina",tokenSourceNone:"Nessun token Mapbox: le mappe Mapbox non si caricano (MapLibre non ne ha bisogno)",tokenSecret:"Questo è un token segreto (sk.…). Incolla un token pubblico (pk.…): questa pagina è pubblica.",tokenNotPk:"Un token pubblico Mapbox inizia con pk.",tokenUrlFailed:"Impossibile ottenere un token da quell’URL: {why}",settings:"Impostazioni",mapEngine:"Motore mappe",engineDefault:"Quello di ogni mappa",engineMapboxNote:"richiede un token",engineMaplibreNote:"nessun token necessario",tokenNotNeeded:"MapLibre è selezionato: le sue mappe non richiedono un token Mapbox"},Ay={prayer:"Preghiera",adoption:"Adozione",engagement:"Impegno","affinity-blocks":"Popoli",regions:"Regioni",countries:"Paesi","language-families":"Lingue",religion:"Religioni",family:"Famiglia ling.",language:"Lingua",dialect:"Dialetto/Variante",bloc:"Blocco di affinità",cluster:"Cluster",group:"Popolo",pgic:"Popolo nel paese",region:"Regione WAGF",block:"Blocco WAGF",country:"Paese",upg100Region:"Regione",upg100Zone:"Liste UPG-100",upg100Group:"Gruppo etnico",selectView:"Seleziona vista",views:"Viste",prayerResources:"Risorse di preghiera",map:"Mappa"},Py={kicker:"DOXA · Visione",title:"Ogni popolo. Ogni luogo.",tagline:"Da tutti i gruppi etnici del mondo a quelli per cui DOXA prega, contati dai dati.",funnelLabel:"Da tutti i gruppi etnici ai gruppi etnici DOXA",allLabel:"Gruppi etnici",allNote:"ogni gruppo etnico, in ogni paese in cui vive",unreachedLabel:"Non raggiunti",unreachedNote:"meno del 2% evangelici",frontierLabel:"Frontiera",frontierNote:"meno dello 0,1% evangelici",doxaLabel:"Gruppi etnici DOXA",doxaNote:"{frontier} di questi sono di frontiera",people:"{n} persone",sources:"Gruppi etnici: {imb}, dati del {date}. Elenco DOXA: pray.doxa.life, {date2}.",howCounted:"Come vengono contati",ruleAll:"Ogni riga dei dati IMB sui gruppi etnici: un gruppo etnico in un paese.",ruleUnreached:"Priorità di perdizione IMB da 0 a 2: meno del 2% evangelici.",ruleFrontier:"Priorità di perdizione IMB 0: meno dello 0,1% evangelici. Un sottoinsieme dei non raggiunti.",ruleDoxa:"Ogni gruppo dell’elenco di preghiera DOXA, abbinato ai dati IMB per popolo e paese. Non tutti sono di frontiera."},Cy={title:"Todos os grupos étnicos",locations:"{n} locais (grupo × país)",doxa:"Grupos étnicos da DOXA",frontier:"Fronteira — nada iniciado",unreached:"Não alcançados — o trabalho começa",reached:"Alcançados — a igreja está lá",hint:"Clique em uma linha para ver todos · clique de novo para ver tudo",loading:"Carregando todos os grupos étnicos…",loadError:"Não foi possível carregar o mapa.",pray:"Ore por eles →",population:"pop. {n}"},Ey={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe",collapseLegend:"Recolher a legenda",expandLegend:"Expandir a legenda",toggleLegend:"Mostrar ou ocultar a legenda"},Ty={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"},Ny={title:"Acesso à internet onde vivem os povos sem envolvimento",bands:{yes:"conectado 60%+",partial:"parcial 25–59%",no:"baixo, abaixo de 25%",unknown:"não medido"},peopleGroup:"povo",caveat:"Números NACIONAIS (Banco Mundial). A conectividade por cidade não está disponível publicamente — não deduza uma cidade a partir do país.",sheet:{close:"Fechar",ai:"Estes dados foram encontrados por pesquisa aprofundada com IA — podem conter informações falsas.",dismiss:"Dispensar",internetUsers:"Usuários de internet",measured:"Medido",mobilePer100:"Celulares por 100",peopleGroups:"Povos",topPlatform:"Plataforma principal",unknown:"desconhecido",carriers:"Operadoras e provedores ({n})",socialPlatforms:"Redes sociais",note:"Números nacionais, não medições por cidade. Os nomes das operadoras são titulares de registros ASN (incluem bancos e universidades além de provedores), então a marcação de operadora é uma heurística pelo nome, não uma classificação verificada."}},My={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"},Ry={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"},Fy={labels:{country:"País:",population:"População:",language:"Língua:",religion:"Religião:",languageFamily:"Família linguística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"Sem descrição disponível."}},Iy={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"As notas explicativas abaixo estão em inglês."},mode:{gap:"Lacuna",coverage:"Recursos encontrados"},search:{placeholder:"Procure um povo, idioma ou código ISO",clear:"Limpar busca",none:"Nada corresponde a esse nome, idioma ou código.",placeholderShort:"Povo, idioma ou código ISO"},legend:{title:"Povos não alcançados sem nenhum recurso do evangelho",band60:"60%+ sem nada encontrado",band30:"30–59%",bandSome:"alguns povos",bandAll:"todos os povos têm algo",tier2:"Escrituras e filme",tier1:"algum recurso encontrado",tier0:"nada encontrado",hnr:"podem ouvir, sem texto",showAll:"Mostrar todos os povos",titleCoverage:"Povos não alcançados com algum recurso do evangelho",cov80:"80%+ têm algo",cov50:"50–79%",cov1:"1–49%",cov0:"nada para ninguém",tallyEach:"Cada",tallyIs:"é UM povo —",tallyOf:"deles,",tallyLink:"com um link",doxa0:"todos têm algo",doxa1:"1–4 sem nada",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 alcançados",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Povos Doxa neste mapa",notPlaced:"na lista, ainda sem localização",outOfScope:"sem povos Doxa — sem cor"},tabs:{groups:"Maiores povos",countries:"Por país",regions:"Por região",noprayer:"Ninguém orando",hnr:"Ouvem, sem texto"},stat:{language:"Idioma",population:"População",countries:"Países",peopleGroups:"Povos",noResource:"Nenhum recurso encontrado",peopleAffected:"Pessoas afetadas",haveScripture:"Têm Escrituras",haveFilm:"Têm filme",haveAudio:"Têm Escrituras em áudio",signLanguages:"Línguas de sinais",growingUnreached:"Em crescimento e não alcançados",deathsDay:"Mortes estimadas/dia"},sheet:{ownLanguage:"No próprio idioma",close:"Fechar",loading:"Carregando recursos…",pray:"Ore por",everyResource:"Todos os recursos em",alsoSpeak:"Também falam"},res:{scripture:"Escrituras",film:"Filme",audio:"Áudio",bibleVideo:"Vídeo bíblico",bibleStories:"Open Bible Stories",gospelAudio:"Áudio do evangelho",gospelPresentation:"Apresentação do evangelho",scriptureEarth:"Scripture Earth",training:"Treinamento de discipulado",jesusFilm:"Filme JESUS",audioScripture:"Escrituras em áudio",bibleStoriesPlain:"Histórias bíblicas"},state:{noneFound:"nada encontrado",noneAtFcbh:"nada na FCBH",noneAtGrn:"nada na GRN",notInZume:"não está entre as 54 da Zume",linkChecked:"link verificado",unchecked:"não verificado",linkDead:"link inativo",wrongLanguage:"idioma incorreto",varietyNotStated:"(variedade não indicada)",inLanguage:"em"},guide:{dotVsCountry:"Cada ponto é UM povo da Doxa e o seu próprio idioma; um país é o NÚMERO desses povos.",noneFoundShort:"«Nada encontrado» significa ausente das fontes verificadas, nunca prova de que não exista.",tapCountry:"Toque num país para ver os recursos, povo a povo."},tables:{title:"Recursos do evangelho — Dados",showing:"Mostrando",of:"de",for:"para",filteredTo:"Filtrado por",showAll:"Mostrar todos os recursos",t_doxa:"Doxa — Acesso ao evangelho",t_links:"Cada recurso + link",t_nothing:"Onde nada foi encontrado",t_countrygap:"A lacuna por país",t_translation:"Ouvem, sem texto",t_translationcountry:"Onde traduzir",t_gaps:"Lacunas e oportunidades",t_bridges:"Pontes urbanas",t_deaf:"A lacuna surda",t_resources:"Recursos por povo",t_languages:"Idiomas por país",t_growth:"Acesso vs crescimento"},pages:{listTitle:"Recursos do evangelho por idioma",chartsTitle:"Recursos do evangelho — por idioma",loadingTables:"Carregando tabelas de recursos…"},list:{noText:"Sem texto bíblico",hasScripture:"Tem Escrituras",allLanguages:"Todos os idiomas",peopleGroup:"povo",peopleGroups:"povos",scriptureHere:"Escrituras neste idioma"},columns:{"People group":"Povo",Country:"País",Region:"Região",Language:"Idioma",Population:"População",Religion:"Religião","Gospel access":"Acesso ao evangelho",Resources:"Recursos",Scripture:"Escrituras","Bible video":"Vídeo bíblico","Gospel presentation":"Apresentação do evangelho",Countries:"Países","People groups":"Povos"},charts:{scriptureAny:"Escrituras (qualquer)",fullBible:"Bíblia completa",newTestament:"Novo Testamento",filmAny:"Filme (qualquer)",nothingInPools:"Nada encontrado nas fontes consultadas",nothingInPoolsLower:"nada encontrado nas fontes consultadas",noResourceInPools:"nenhum recurso encontrado nas fontes consultadas",aResourceFound:"um recurso encontrado",tabCoverage:"Cobertura de recursos",tabGap:"Maiores lacunas",keyScripture:"escrituras",keyFilmStories:"filme / histórias",keyAudioEtc:"áudio / apresentação / treinamento",unresolvedCode:"código fora da ISO 639-3 — não resolvido, não medido"}},Oy={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."},Dy={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"},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."},a11y:{expandRow:"Expandir {label}",collapseRow:"Recolher {label}",clearSelection:"Limpar a seleção"}},By={menuComingSoon:"Menu em breve",pinHint:{tapDot:"Toque num ponto colorido — alguém ainda precisa de oração"},upg100WallHeading:"A minha lista UPG 100 — Listas de oração e cartazes",upg100WallTag:"Mobilização de oração",upg100WallIntro:"Reparta a tarefa da oração em grupos de cinquenta e de cem — como Jesus alimentou os 5.000 (Lucas 9:14). Cada cartaz é uma lista de 100 que pode orar, imprimir e pôr na parede — orando por eles <strong>pelo nome do seu povo</strong>."},Gy={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},jy={country:{wagfRegion:"Região WAGF",wagfBlock:"Bloco WAGF",country:"País",uupgCount:"Número de UUPG"}},Uy={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},zy={"%count% people groups in %countries% countries":"%count% grupos étnicos em %countries% países","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% tem %count% grupos étnicos em %countries% países. A cor de cada ponto indica quantas pessoas oram por esse grupo étnico.","1+ People Praying":"1+ pessoas orando","100+ People Praying":"100+ pessoas orando",Adopted:"Adotado","Adoption Progress":"Progresso da adoção","All Regions":"Todas as regiões","Alternate Names":"Nomes alternativos","Choose a region":"Escolha uma região","Clear All":"Limpar tudo",Countries:"Países","Countries in this region":"Países desta região",Country:"País",Engaged:"Engajado","Engagement Progress":"Progresso do engajamento","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Cada grupo étnico não engajado adotado por uma igreja comprometida com a oração, contribuição e o envio","Exact Search":"Pesquisa exata","Find unreached people groups by region and country.":"Encontre grupos étnicos não alcançados por região e país.","Full Profile":"Perfil completo",Goal:"Meta","Hide Filters":"Ocultar filtros","Hide country posters":"Ocultar os cartazes do país",Intercessors:"Intercessores","Load More":"Carregar mais","Loading results...":"A carregar resultados...",Map:"Mapa","Mobilize 100+ people praying daily for each DOXA people group":"Mobilizar mais de 100 pessoas para orar diariamente por cada grupo étnico DOXA","No One Praying":"Ninguém orando","No options found":"Não foram encontradas opções","No poster has been generated for this country yet.":"Ainda não foi gerado nenhum cartaz para este país.","No unengaged people groups by 2033":"Nenhum grupo étnico não engajado até 2033","Not Adopted":"Não adotado",Other:"Outros","Page Not Found":"Página não encontrada","People Group":"Grupo étnico","People Groups":"Grupos étnicos","People committed to praying":"Pessoas comprometidas com a oração","Pick a region above, or click any dot to open that people group's country.":"Escolha uma região acima, ou clique em qualquer ponto para abrir o país desse povo.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Escolha uma região ou um país na aba Lista de regiões para restringir este painel.",Population:"População","Prayer Coverage":"Cobertura de oração","Prayer coverage progress":"Progresso da cobertura de oração","Region Dashboards":"Painéis das regiões","Region dashboard":"Painel da região",Regions:"Regiões","Regions List":"Lista de regiões",Religion:"Religião","Search names, country/continent, religions...":"Busque nomes, país/continente, religiões...","See %region% dashboard":"Ver o painel: %region%","See All":"Ver tudo",Select:"Selecionar","Select View":"Selecionar visualização","Show Filters":"Mostrar filtros","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"Existem %count% grupos étnicos em %country%. Verifique no mapa também os grupos étnicos na fronteira deste país.",Total:"Total","Type to search...":"Digite para pesquisar...","Unengaged people groups":"Grupos étnicos não engajados","View country posters":"Ver os cartazes do país",Views:"Visualizações","WAGF Block":"Bloco WAGF","WAGF Region":"Região da WAGF","people groups adopted":"grupos étnicos adotados","people groups engaged":"grupos étnicos engajados","Outside this region":"Fora desta região",Pray:"Ore","Loading region dashboards…":"Carregando os painéis das regiões…","No regions found.":"Nenhuma região encontrada.","Region data could not be loaded. This is a connection problem, not a filter.":"Não foi possível carregar os dados das regiões. É um problema de conexão, não um filtro.","People groups could not be loaded. This is a connection problem, not a filter.":"Não foi possível carregar os povos. É um problema de conexão, não um filtro.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"O mapa não pôde iniciar. É um problema do token do mapa ou de conexão, não um filtro — os números acima não são afetados."},Hy={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"},sections:{within:"Dentro de {selection}",allData:"Todos os dados DOXA"},upg100Placeholder:"Procurar povo, lista UPG-100 ou região…"},Vy={title:"Estúdio de plugins",navLabel:"Plugins por capacidade",countLabel:"{bundles} pacotes · {elements} plugins listados aqui",changeLanguage:"Mudar idioma",copyEmbed:"Copiar código de incorporação",copy:"Copiar",copied:"Copiado",scriptEmbed:"Incorporação por script",loading:"Carregando {name}…",couldNotLoad:"Não foi possível carregar {name}.",chooseElement:"Escolha um plugin na lista.",filterPlaceholder:"Filtrar plugins",collapseAll:"Recolher tudo",noMatch:"Nenhum plugin corresponde a “{query}”.",openSection:"Abrir {cap}, {label}",part:"parte",noStandalone:"sem página própria",cap5:"Shell do aplicativo",cap4:"Composto",cap3:"Multivisualização",cap2:"Predefinição",cap1:"Único",toggleList:"Mostrar ou ocultar a lista",openViews:"Abrir a lista de visualizações",expandList:"Expandir a lista",collapseList:"Recolher a lista",collapse:"Recolher",partOf:"parte de {name}, não publicada separadamente",mapToken:"Token do mapa",tokenPaste:"Token público do Mapbox (pk.…)",tokenUrlLabel:"…ou o URL de um serviço de tokens",tokenApply:"Usar",tokenClear:"Limpar",tokenStoredHere:"Guardado apenas neste navegador.",tokenSourceYours:"A usar o seu token",tokenSourceUrl:"A usar um token de {url}",tokenSourceBuilt:"A usar o token incorporado nesta página",tokenSourceNone:"Sem token do Mapbox: os mapas Mapbox não carregam (os MapLibre não precisam)",tokenSecret:"Esse é um token secreto (sk.…). Cole um público (pk.…): esta página é pública.",tokenNotPk:"Um token público do Mapbox começa por pk.",tokenUrlFailed:"Não foi possível obter um token desse URL: {why}",settings:"Definições",mapEngine:"Motor de mapas",engineDefault:"O de cada mapa",engineMapboxNote:"precisa de um token",engineMaplibreNote:"não precisa de token",tokenNotNeeded:"MapLibre está selecionado: os seus mapas não precisam de token do Mapbox"},Ky={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País",upg100Region:"Região",upg100Zone:"Listas UPG-100",upg100Group:"Grupo étnico",selectView:"Selecionar vista",views:"Vistas",prayerResources:"Recursos de oração",map:"Mapa"},qy={kicker:"DOXA · Visão",title:"Cada povo. Cada lugar.",tagline:"De todos os grupos étnicos do mundo àqueles pelos quais a DOXA ora, contados a partir dos dados.",funnelLabel:"De todos os grupos étnicos aos grupos étnicos da DOXA",allLabel:"Grupos étnicos",allNote:"cada grupo étnico, em cada país onde vive",unreachedLabel:"Não alcançados",unreachedNote:"menos de 2% evangélicos",frontierLabel:"Fronteira",frontierNote:"menos de 0,1% evangélicos",doxaLabel:"Grupos étnicos da DOXA",doxaNote:"{frontier} deles são de fronteira",people:"{n} pessoas",sources:"Grupos étnicos: {imb}, dados de {date}. Lista da DOXA: pray.doxa.life, {date2}.",howCounted:"Como são contados",ruleAll:"Cada linha dos dados de grupos étnicos do IMB: um grupo étnico em um país.",ruleUnreached:"Prioridade de perdição do IMB de 0 a 2: menos de 2% evangélicos.",ruleFrontier:"Prioridade de perdição do IMB 0: menos de 0,1% evangélicos. Um subconjunto dos não alcançados.",ruleDoxa:"Cada grupo da lista de oração da DOXA, associado aos dados do IMB por povo e país. Nem todos são de fronteira."},Wy={title:"Toate grupurile etnice",locations:"{n} locații (grup × țară)",doxa:"Grupuri etnice DOXA",frontier:"Frontieră — nimic început",unreached:"Neatinse — lucrarea începe",reached:"Atinse — biserica este acolo",hint:"Faceți clic pe un rând pentru a le vedea pe toate · din nou pentru tot",loading:"Se încarcă toate grupurile etnice…",loadError:"Harta nu a putut fi încărcată.",pray:"Rugați-vă pentru ei →",population:"pop. {n}"},Yy={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată",collapseLegend:"Restrânge legenda",expandLegend:"Extinde legenda",toggleLegend:"Afișează sau ascunde legenda"},Xy={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"},Zy={title:"Acces la internet unde trăiesc popoarele fără implicare",bands:{yes:"conectat 60%+",partial:"parțial 25–59%",no:"scăzut, sub 25%",unknown:"nemăsurat"},peopleGroup:"popor",caveat:"Cifre NAȚIONALE (Banca Mondială). Conectivitatea pe oraș nu este disponibilă public — nu deduceți un oraș din datele țării.",sheet:{close:"Închide",ai:"Aceste date au fost găsite prin cercetare aprofundată cu IA — pot conține informații false.",dismiss:"Închide notificarea",internetUsers:"Utilizatori de internet",measured:"Măsurat",mobilePer100:"Mobile la 100",peopleGroups:"Popoare",topPlatform:"Platforma principală",unknown:"necunoscut",carriers:"Operatori și ISP-uri ({n})",socialPlatforms:"Platforme sociale",note:"Cifre naționale, nu măsurători pe oraș. Numele operatorilor sunt titulari de înregistrări ASN (printre ei se află și bănci și universități, nu doar ISP-uri), deci eticheta de operator este o euristică după nume, nu o clasificare verificată."}},Jy={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"},Qy={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"},e_={labels:{country:"Țară:",population:"Populație:",language:"Limbă:",religion:"Religie:",languageFamily:"Familie de limbi:",peopleCommitted:"Angajați să se roage:"},messages:{noDescription:"Nicio descriere disponibilă."}},t_={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"Notele explicative de mai jos sunt în limba engleză."},mode:{gap:"Golul",coverage:"Resurse găsite"},search:{placeholder:"Caută un popor, o limbă sau un cod ISO",clear:"Șterge căutarea",none:"Nimic nu se potrivește cu acel nume, limbă sau cod.",placeholderShort:"Popor, limbă sau cod ISO"},legend:{title:"Popoare neatinse, fără nicio resursă a Evangheliei",band60:"60%+ fără nimic găsit",band30:"30–59%",bandSome:"unele popoare",bandAll:"toate popoarele au ceva",tier2:"Scripturi și film",tier1:"s-a găsit o resursă",tier0:"nimic găsit",hnr:"pot auzi, fără text",showAll:"Arată toate popoarele",titleCoverage:"Popoare neatinse cu o resursă a Evangheliei",cov80:"80%+ au ceva",cov50:"50–79%",cov1:"1–49%",cov0:"nimic pentru niciunul",tallyEach:"Fiecare",tallyIs:"este UN popor —",tallyOf:"dintre ele,",tallyLink:"cu un link",doxa0:"toate au ceva",doxa1:"1–4 fără nimic",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 atinse",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Popoare Doxa pe această hartă",notPlaced:"pe listă, încă nelocalizate",outOfScope:"niciun popor Doxa — necolorat"},tabs:{groups:"Cele mai mari popoare",countries:"După țară",regions:"După regiune",noprayer:"Nimeni nu se roagă",hnr:"Aud, fără text"},stat:{language:"Limba",population:"Populație",countries:"Țări",peopleGroups:"Popoare",noResource:"Nicio resursă găsită",peopleAffected:"Persoane afectate",haveScripture:"Au Scripturile",haveFilm:"Au filmul",haveAudio:"Au Scripturi audio",signLanguages:"Limbaje semne",growingUnreached:"În creștere și neatinse",deathsDay:"Decese estimate/zi"},sheet:{ownLanguage:"În limba lor",close:"Închide",loading:"Se încarcă resursele…",pray:"Roagă-te pentru",everyResource:"Toate resursele în",alsoSpeak:"Vorbesc și"},res:{scripture:"Scripturi",film:"Film",audio:"Audio",bibleVideo:"Video biblic",bibleStories:"Open Bible Stories",gospelAudio:"Audio cu Evanghelia",gospelPresentation:"Prezentarea Evangheliei",scriptureEarth:"Scripture Earth",training:"Instruire în ucenicie",jesusFilm:"Filmul ISUS",audioScripture:"Scripturi audio",bibleStoriesPlain:"Povestiri biblice"},state:{noneFound:"nimic găsit",noneAtFcbh:"nimic la FCBH",noneAtGrn:"nimic la GRN",notInZume:"nu este între cele 54 Zume",linkChecked:"link verificat",unchecked:"neverificat",linkDead:"link mort",wrongLanguage:"limbă greșită",varietyNotStated:"(varietate nespecificată)",inLanguage:"în"},guide:{dotVsCountry:"Fiecare punct este UN popor Doxa și limba lui; o țară este NUMĂRUL acelor popoare.",noneFoundShort:"„Nimic găsit” înseamnă absent din sursele verificate, niciodată dovada că nu există.",tapCountry:"Atinge o țară pentru a vedea resursele, popor cu popor."},tables:{title:"Resurse ale Evangheliei — Date",showing:"Se afișează",of:"din",for:"pentru",filteredTo:"Filtrat după",showAll:"Arată toate resursele",t_doxa:"Doxa — Acces la Evanghelie",t_links:"Fiecare resursă + link",t_nothing:"Unde nu s-a găsit nimic",t_countrygap:"Golul pe țări",t_translation:"Aud, fără text",t_translationcountry:"Unde să traducem",t_gaps:"Goluri și oportunități",t_bridges:"Punți urbane",t_deaf:"Golul surd",t_resources:"Resurse pe popoare",t_languages:"Limbi pe țări",t_growth:"Acces vs creștere"},pages:{listTitle:"Resurse ale Evangheliei pe limbi",chartsTitle:"Resurse ale Evangheliei — pe limbi",loadingTables:"Se încarcă tabelele…"},list:{noText:"Fără text biblic",hasScripture:"Are Scripturi",allLanguages:"Toate limbile",peopleGroup:"popor",peopleGroups:"popoare",scriptureHere:"Scripturi în această limbă"},columns:{"People group":"Popor",Country:"Țară",Region:"Regiune",Language:"Limbă",Population:"Populație",Religion:"Religie","Gospel access":"Acces la Evanghelie",Resources:"Resurse",Scripture:"Scripturi","Bible video":"Video biblic","Gospel presentation":"Prezentarea Evangheliei",Countries:"Țări","People groups":"Popoare"},charts:{scriptureAny:"Scripturi (oricare)",fullBible:"Biblia completă",newTestament:"Noul Testament",filmAny:"Film (oricare)",nothingInPools:"Nimic găsit în sursele verificate",nothingInPoolsLower:"nimic găsit în sursele verificate",noResourceInPools:"nicio resursă găsită în sursele verificate",aResourceFound:"o resursă găsită",tabCoverage:"Acoperirea resurselor",tabGap:"Cele mai mari lacune",keyScripture:"scripturi",keyFilmStories:"film / povestiri",keyAudioEtc:"audio / prezentare / instruire",unresolvedCode:"cod în afara ISO 639-3 — nerezolvat, nemăsurat"}},o_={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."},n_={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"},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."},a11y:{expandRow:"Extinde {label}",collapseRow:"Restrânge {label}",clearSelection:"Șterge selecția"}},a_={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",upg100WallIntro:"Împarte sarcina rugăciunii în grupuri de câte cincizeci și o sută — așa cum Isus a hrănit cei 5.000 (Luca 9:14). Fiecare afiș este o listă de 100 pe care o poți ruga, tipări și pune pe perete — rugându-te pentru ei <strong>pe numele poporului lor</strong>."},s_={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},r_={country:{wagfRegion:"Regiunea WAGF",wagfBlock:"Blocul WAGF",country:"Țară",uupgCount:"Număr de UUPG"}},i_={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},l_={"%count% people groups in %countries% countries":"%count% popoare în %countries% țări","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% are %count% popoare în %countries% țări. Culoarea fiecărui punct arată câți oameni se roagă pentru acel popor.","1+ People Praying":"1+ persoane se roagă","100+ People Praying":"100+ persoane se roagă",Adopted:"Adoptat","Adoption Progress":"Progresul adopției","All Regions":"Toate regiunile","Alternate Names":"Denumiri alternative","Choose a region":"Alege o regiune","Clear All":"Șterge tot",Countries:"Țări","Countries in this region":"Țările din această regiune",Country:"Țară",Engaged:"Implicat","Engagement Progress":"Progresul implicării","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Fiecare popor neimplicat adoptat de o biserică dedicată rugăciunii, dăruirii și trimiterii","Exact Search":"Căutare exactă","Find unreached people groups by region and country.":"Găsește popoarele neatinse după regiune și țară.","Full Profile":"Profil complet",Goal:"Obiectiv","Hide Filters":"Ascunde filtrele","Hide country posters":"Ascunde posterele țării",Intercessors:"Mijlocitori","Load More":"Încarcă mai multe","Loading results...":"Se încarcă rezultatele…",Map:"Hartă","Mobilize 100+ people praying daily for each DOXA people group":"Mobilizarea a peste 100 de persoane care se roagă zilnic pentru fiecare popor DOXA","No One Praying":"Nimeni nu se roagă","No options found":"Nu s-a găsit nicio opțiune","No poster has been generated for this country yet.":"Pentru această țară nu a fost generat încă niciun poster.","No unengaged people groups by 2033":"Niciun popor neimplicat până în 2033","Not Adopted":"Neadoptat",Other:"Altele","Page Not Found":"Pagina nu a fost găsită","People Group":"Popor","People Groups":"Popoare","People committed to praying":"Persoane dedicate rugăciunii","Pick a region above, or click any dot to open that people group's country.":"Alege o regiune mai sus sau dă clic pe orice punct pentru a deschide țara acelui grup etnic.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Alege o regiune sau o țară din fila Lista regiunilor pentru a restrânge acest panou.",Population:"Populație","Prayer Coverage":"Acoperirea prin rugăciune","Prayer coverage progress":"Progresul acoperirii prin rugăciune","Region Dashboards":"Panouri ale regiunilor","Region dashboard":"Panoul regiunii",Regions:"Regiuni","Regions List":"Lista regiunilor",Religion:"Religie","Search names, country/continent, religions...":"Caută nume, țară/continent, religii…","See %region% dashboard":"Vezi panoul %region%","See All":"Vezi tot",Select:"Selectează","Select View":"Selectează vizualizarea","Show Filters":"Arată filtrele","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"În %country% există %count% popoare. Verifică pe hartă și popoarele de la granițele acestei țări.",Total:"Total","Type to search...":"Scrie pentru a căuta…","Unengaged people groups":"Popoare neimplicate","View country posters":"Vezi posterele țării",Views:"Vizualizări","WAGF Block":"Bloc WAGF","WAGF Region":"Regiune WAGF","people groups adopted":"popoare adoptate","people groups engaged":"popoare implicate","Outside this region":"În afara acestei regiuni",Pray:"Roagă-te","Loading region dashboards…":"Se încarcă panourile regiunilor…","No regions found.":"Nu au fost găsite regiuni.","Region data could not be loaded. This is a connection problem, not a filter.":"Datele regiunilor nu au putut fi încărcate. Este o problemă de conexiune, nu un filtru.","People groups could not be loaded. This is a connection problem, not a filter.":"Grupurile de popoare nu au putut fi încărcate. Este o problemă de conexiune, nu un filtru.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"Harta nu a putut porni. Este o problemă de token al hărții sau de conexiune, nu un filtru — cifrele de mai sus nu sunt afectate."},c_={placeholder:"Popor, loc, limbă, religie",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…"},u_={title:"Studio de pluginuri",navLabel:"Pluginuri după capacitate",countLabel:"{bundles} pachete · {elements} pluginuri listate aici",changeLanguage:"Schimbă limba",copyEmbed:"Copiază codul de încorporare",copy:"Copiază",copied:"Copiat",scriptEmbed:"Încorporare prin script",loading:"Se încarcă {name}…",couldNotLoad:"{name} nu a putut fi încărcat.",chooseElement:"Alegeți un plugin din listă.",filterPlaceholder:"Filtrează pluginurile",collapseAll:"Restrânge tot",noMatch:"Niciun plugin nu corespunde cu „{query}”.",openSection:"Deschide {cap}, {label}",part:"parte",noStandalone:"fără pagină proprie",cap5:"Cadru de aplicație",cap4:"Compus",cap3:"Vizualizări multiple",cap2:"Presetat",cap1:"Simplu",toggleList:"Afișează sau ascunde lista",openViews:"Deschide lista de vizualizări",expandList:"Extinde lista",collapseList:"Restrânge lista",collapse:"Restrânge",partOf:"parte din {name}, nepublicată separat",mapToken:"Token hartă",tokenPaste:"Token public Mapbox (pk.…)",tokenUrlLabel:"…sau adresa URL a unui serviciu de tokenuri",tokenApply:"Folosește",tokenClear:"Șterge",tokenStoredHere:"Păstrat doar în acest browser.",tokenSourceYours:"Se folosește tokenul tău",tokenSourceUrl:"Se folosește un token de la {url}",tokenSourceBuilt:"Se folosește tokenul inclus în această pagină",tokenSourceNone:"Niciun token Mapbox: hărțile Mapbox nu se pot încărca (MapLibre nu are nevoie)",tokenSecret:"Acesta este un token secret (sk.…). Lipește unul public (pk.…): pagina este publică.",tokenNotPk:"Un token public Mapbox începe cu pk.",tokenUrlFailed:"Nu s-a putut obține un token de la acea adresă: {why}",settings:"Setări",mapEngine:"Motor hărți",engineDefault:"Al fiecărei hărți",engineMapboxNote:"necesită un token",engineMaplibreNote:"nu necesită token",tokenNotNeeded:"MapLibre este selectat: hărțile sale nu necesită token Mapbox"},p_={prayer:"Rugăciune",adoption:"Adopție",engagement:"Implicare","affinity-blocks":"Popoare",regions:"Regiuni",countries:"Țări","language-families":"Limbi",religion:"Religii",family:"Familie de limbi",language:"Limbă",dialect:"Dialect/Variantă",bloc:"Bloc de afinitate",cluster:"Grup",group:"Popor",pgic:"Popor în țară",region:"Regiune WAGF",block:"Bloc WAGF",country:"Țară",upg100Region:"Regiune",upg100Zone:"Liste UPG-100",upg100Group:"Grup etnic",selectView:"Alege vizualizarea",views:"Vizualizări",prayerResources:"Resurse de rugăciune",map:"Hartă"},d_={kicker:"DOXA · Viziune",title:"Fiecare popor. Fiecare loc.",tagline:"De la toate grupurile etnice ale lumii la cele pentru care se roagă DOXA, numărate din date.",funnelLabel:"De la toate grupurile etnice la grupurile etnice DOXA",allLabel:"Grupuri etnice",allNote:"fiecare grup etnic, în fiecare țară în care trăiește",unreachedLabel:"Neatinse",unreachedNote:"sub 2% evanghelici",frontierLabel:"Frontieră",frontierNote:"sub 0,1% evanghelici",doxaLabel:"Grupuri etnice DOXA",doxaNote:"{frontier} dintre ele sunt de frontieră",people:"{n} oameni",sources:"Grupuri etnice: {imb}, date din {date}. Lista DOXA: pray.doxa.life, {date2}.",howCounted:"Cum sunt numărate",ruleAll:"Fiecare rând din datele IMB despre grupuri etnice: un grup etnic într-o țară.",ruleUnreached:"Prioritatea de pierzare IMB 0–2: sub 2% evanghelici.",ruleFrontier:"Prioritatea de pierzare IMB 0: sub 0,1% evanghelici. O submulțime a celor neatinse.",ruleDoxa:"Fiecare grup de pe lista de rugăciune DOXA, potrivit cu datele IMB după popor și țară. Nu toate sunt de frontieră."},g_={title:"Все народы",locations:"{n} мест (народ × страна)",doxa:"Народы DOXA",frontier:"Рубежные — ничего не начато",unreached:"Недостигнутые — работа начинается",reached:"Достигнутые — церковь есть",hint:"Нажмите на строку, чтобы увидеть все · ещё раз — чтобы показать всё",loading:"Загрузка всех народов…",loadError:"Не удалось загрузить карту.",pray:"Молиться за них →",population:"нас. {n}"},f_={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид",collapseLegend:"Свернуть легенду",expandLegend:"Развернуть легенду",toggleLegend:"Показать или скрыть легенду"},h_={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:"Плакатов в ряду"},m_={title:"Доступ к интернету там, где живут народы без вовлечённости",bands:{yes:"подключено 60%+",partial:"частично 25–59%",no:"низкий, менее 25%",unknown:"не измерено"},peopleGroup:"народ",caveat:"НАЦИОНАЛЬНЫЕ данные (Всемирный банк). Данных о подключении по городам в открытом доступе нет — не судите о городе по стране.",sheet:{close:"Закрыть",ai:"Эти данные найдены с помощью углублённого поиска ИИ и могут содержать ошибки.",dismiss:"Скрыть",internetUsers:"Пользователи интернета",measured:"Год измерения",mobilePer100:"Мобильных на 100",peopleGroups:"Народы",topPlatform:"Главная платформа",unknown:"неизвестно",carriers:"Операторы и провайдеры ({n})",socialPlatforms:"Социальные платформы",note:"Национальные данные, а не измерения по городам. Названия операторов — это владельцы записей в реестре ASN; среди них есть банки и университеты, а не только провайдеры, поэтому пометка «оператор» — эвристика по названию, а не проверенная классификация."}},b_={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:"Элементы управления картой"},$_={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:"Место"},y_={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},__={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"Пояснительные примечания ниже — на английском языке."},mode:{gap:"Пробел",coverage:"Найденные ресурсы"},search:{placeholder:"Найдите народ, язык или код ISO",clear:"Очистить поиск",none:"Ничего не найдено по этому названию, языку или коду.",placeholderShort:"Народ, язык или код ISO"},legend:{title:"Недостигнутые народы, для которых не найдено ни одного ресурса",band60:"60%+ без единого ресурса",band30:"30–59%",bandSome:"часть народов",bandAll:"у всех народов что-то есть",tier2:"Писание и фильм",tier1:"что-то найдено",tier0:"ничего не найдено",hnr:"могут услышать, текста нет",showAll:"Показать все народы",titleCoverage:"Недостигнутые народы, для которых найдены ресурсы",cov80:"у 80%+ что-то есть",cov50:"50–79%",cov1:"1–49%",cov0:"ни для кого ничего",tallyEach:"Каждая",tallyIs:"— это ОДИН народ,",tallyOf:"из них",tallyLink:"со ссылкой",doxa0:"у всех что-то есть",doxa1:"1–4 без ресурсов",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 достигнуты",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"Народы Doxa на этой карте",notPlaced:"в списке, пока без координат",outOfScope:"нет народов Doxa — не окрашено"},tabs:{groups:"Крупнейшие народы",countries:"По странам",regions:"По регионам",noprayer:"Никто не молится",hnr:"Слышат, но не читают"},stat:{language:"Язык",population:"Численность",countries:"Страны",peopleGroups:"Народы",noResource:"Ресурсов не найдено",peopleAffected:"Затронутые люди",haveScripture:"Есть Писание",haveFilm:"Есть фильм",haveAudio:"Есть аудио-Писание",signLanguages:"Жестовые языки",growingUnreached:"Растущие и недостигнутые",deathsDay:"Оценка смертей в день"},sheet:{ownLanguage:"На их родном языке",close:"Закрыть",loading:"Загрузка ресурсов…",pray:"Молитесь о",everyResource:"Все ресурсы на",alsoSpeak:"Также говорят на"},res:{scripture:"Писание",film:"Фильм",audio:"Аудио",bibleVideo:"Библейское видео",bibleStories:"Open Bible Stories",gospelAudio:"Аудио с Евангелием",gospelPresentation:"Изложение Евангелия",scriptureEarth:"Scripture Earth",training:"Обучение ученичеству",jesusFilm:"Фильм «Иисус»",audioScripture:"Аудио с Писанием",bibleStoriesPlain:"Библейские истории"},state:{noneFound:"ничего не найдено",noneAtFcbh:"нет в FCBH",noneAtGrn:"нет в GRN",notInZume:"нет среди 54 языков Zume",linkChecked:"ссылка проверена",unchecked:"не проверено",linkDead:"ссылка не работает",wrongLanguage:"не тот язык",varietyNotStated:"(вариант не указан)",inLanguage:"на"},guide:{dotVsCountry:"Точка — это ОДИН народ Doxa и его родной язык; цвет страны — это ЧИСЛО таких народов.",noneFoundShort:"«Ничего не найдено» значит: нет в проверенных источниках — но не доказательство отсутствия.",tapCountry:"Нажмите на страну, чтобы увидеть ресурсы по каждому народу."},tables:{title:"Ресурсы Евангелия — данные",showing:"Показано",of:"из",for:"для",filteredTo:"Фильтр:",showAll:"Показать все ресурсы",t_doxa:"Doxa — доступ к Евангелию",t_links:"Каждый ресурс и ссылка",t_nothing:"Где ничего не найдено",t_countrygap:"Пробел по странам",t_translation:"Слышат, но не читают",t_translationcountry:"Где переводить",t_gaps:"Пробелы и возможности",t_bridges:"Городские мосты",t_deaf:"Пробел у глухих",t_resources:"Ресурсы по народам",t_languages:"Языки по странам",t_growth:"Доступ и рост населения"},pages:{listTitle:"Ресурсы Евангелия по языкам",chartsTitle:"Ресурсы Евангелия — по языкам",loadingTables:"Загрузка таблиц ресурсов…"},list:{noText:"Нет текста Писания",hasScripture:"Есть Писание",allLanguages:"Все языки",peopleGroup:"народ",peopleGroups:"народов",scriptureHere:"Писание на этом языке"},columns:{"People group":"Народ",Country:"Страна",Region:"Регион",Language:"Язык",Population:"Численность",Religion:"Религия","Gospel access":"Доступ к Евангелию",Resources:"Ресурсы",Scripture:"Писание","Bible video":"Библейское видео","Gospel presentation":"Изложение Евангелия",Countries:"Страны","People groups":"Народы"},charts:{scriptureAny:"Писание (любое)",fullBible:"Полная Библия",newTestament:"Новый Завет",filmAny:"Фильм (любой)",nothingInPools:"Ничего не найдено в проверенных источниках",nothingInPoolsLower:"ничего не найдено в проверенных источниках",noResourceInPools:"ни одного ресурса не найдено в проверенных источниках",aResourceFound:"ресурс найден",tabCoverage:"Охват ресурсами",tabGap:"Наибольшие пробелы",keyScripture:"писание",keyFilmStories:"фильм / истории",keyAudioEtc:"аудио / презентация / обучение",unresolvedCode:"код вне ISO 639-3 — не определён, не измерен"}},v_={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:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра."},k_={title:{adoption:"Прогресс усыновления",affinityBlocs:"Блоки родства",doxaRegions:"Регионы Doxa",engagement:"Прогресс вовлечённости",gospelResources:"Евангельские ресурсы",languageFamilies:"Языковые семьи",prayer:"Прогресс молитвы",upg100List:"Мой список UPG 100"},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:"Народ — отдельные непросвещённые народы внутри списка, сначала с наибольшей нуждой в молитве. Каждая точка на карте — один из них."},a11y:{expandRow:"Развернуть {label}",collapseRow:"Свернуть {label}",clearSelection:"Снять выделение"}},w_={menuComingSoon:"Меню скоро появится",pinHint:{tapDot:"Нажмите на цветную точку — кому-то всё ещё нужна молитва"},upg100WallHeading:"Мой список UPG 100 — молитвенные списки и плакаты",upg100WallTag:"Молитвенная мобилизация",upg100WallIntro:"Разделите молитвенный труд на группы по пятьдесят и по сто — так Иисус накормил 5000 (Луки 9:14). Каждый плакат — это список из 100, о котором можно молиться, распечатать и повесить на стену, молясь о них <strong>по имени их народа</strong>."},x_={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},L_={country:{wagfRegion:"Регион WAGF",wagfBlock:"Блок WAGF",country:"Страна",uupgCount:"Число UUPG"}},S_={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},A_={"%count% people groups in %countries% countries":"%count% народов в %countries% странах","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"В регионе %region% — %count% групп людей в %countries% странах. Цвет каждой точки показывает, сколько человек молится за эту группу людей.","1+ People Praying":"1+ человек молится","100+ People Praying":"100+ человек молятся",Adopted:"Ответственность взята","Adoption Progress":"Прогресс принятия ответственности","All Regions":"Все регионы","Alternate Names":"Альтернативные названия","Choose a region":"Выберите регион","Clear All":"Очистить всё",Countries:"Страны","Countries in this region":"Страны этого региона",Country:"Страна",Engaged:"Вовлечён","Engagement Progress":"Прогресс вовлечения","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"Каждая незадействованная народность принята церковью, приверженной молитве, пожертвованиям и посылке миссионеров","Exact Search":"Точный поиск","Find unreached people groups by region and country.":"Найдите недостигнутые группы людей по регионам и странам.","Full Profile":"Полный профиль",Goal:"Цель","Hide Filters":"Скрыть фильтры","Hide country posters":"Скрыть плакаты страны",Intercessors:"Ходатаи","Load More":"Загрузить ещё","Loading results...":"Загрузка результатов...",Map:"Карта","Mobilize 100+ people praying daily for each DOXA people group":"Мобилизуйте 100+ человек для ежедневной молитвы за каждую народность DOXA","No One Praying":"Никто не молится","No options found":"Вариантов не найдено","No poster has been generated for this country yet.":"Для этой страны плакат ещё не создан.","No unengaged people groups by 2033":"К 2033 году не останется незадействованных народов","Not Adopted":"Не принято",Other:"Другое","Page Not Found":"Страница не найдена","People Group":"Группа людей","People Groups":"Народы","People committed to praying":"Люди, посвятившие себя молитве","Pick a region above, or click any dot to open that people group's country.":"Выберите регион выше или нажмите на любую точку, чтобы открыть страну этой группы народа.","Pick a region or a country on the Regions List tab to narrow this dashboard.":"Выберите регион или страну на вкладке «Список регионов», чтобы сузить эту панель.",Population:"Население","Prayer Coverage":"Молитвенный охват","Prayer coverage progress":"Прогресс молитвенного покрытия","Region Dashboards":"Панели регионов","Region dashboard":"Панель региона",Regions:"Регионы","Regions List":"Список регионов",Religion:"Религия","Search names, country/continent, religions...":"Поиск по названиям, странам/континентам, религиям...","See %region% dashboard":"Открыть панель: %region%","See All":"Смотреть все",Select:"Выбрать","Select View":"Выберите вид","Show Filters":"Показать фильтры","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"Страна %country% насчитывает %count% групп людей. Проверьте также на карте группы людей, расположенные вдоль границ этой страны.",Total:"Итого","Type to search...":"Введите текст для поиска...","Unengaged people groups":"Невовлечённые народы","View country posters":"Показать плакаты страны",Views:"Виды","WAGF Block":"Блок WAGF","WAGF Region":"Регион WAGF","people groups adopted":"народов, за которые взята ответственность","people groups engaged":"вовлечённые народы","Outside this region":"За пределами этого региона",Pray:"Молиться","Loading region dashboards…":"Загрузка панелей по регионам…","No regions found.":"Регионы не найдены.","Region data could not be loaded. This is a connection problem, not a filter.":"Не удалось загрузить данные по регионам. Это проблема соединения, а не фильтра.","People groups could not be loaded. This is a connection problem, not a filter.":"Не удалось загрузить народы. Это проблема соединения, а не фильтра.","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"Карта не запустилась. Это проблема токена карты или соединения, а не фильтра — цифры выше не затронуты."},P_={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"},sections:{within:"В пределах {selection}",allData:"Все данные DOXA"},upg100Placeholder:"Поиск народа, списка UPG-100 или региона…"},C_={title:"Студия плагинов",navLabel:"Плагины по возможностям",countLabel:"Здесь: пакетов {bundles} · плагинов {elements}",changeLanguage:"Сменить язык",copyEmbed:"Скопировать код встраивания",copy:"Копировать",copied:"Скопировано",scriptEmbed:"Встраивание через скрипт",loading:"Загрузка {name}…",couldNotLoad:"Не удалось загрузить {name}.",chooseElement:"Выберите плагин из списка.",filterPlaceholder:"Фильтр плагинов",collapseAll:"Свернуть всё",noMatch:"Нет плагинов, соответствующих «{query}».",openSection:"Открыть {cap}, {label}",part:"часть",noStandalone:"нет отдельной страницы",cap5:"Оболочка приложения",cap4:"Составной",cap3:"Несколько видов",cap2:"Предустановка",cap1:"Одиночный",toggleList:"Показать или скрыть список",openViews:"Открыть список представлений",expandList:"Развернуть список",collapseList:"Свернуть список",collapse:"Свернуть",partOf:"часть {name}, не публикуется отдельно",mapToken:"Токен карты",tokenPaste:"Публичный токен Mapbox (pk.…)",tokenUrlLabel:"…или адрес службы токенов",tokenApply:"Применить",tokenClear:"Очистить",tokenStoredHere:"Хранится только в этом браузере.",tokenSourceYours:"Используется ваш токен",tokenSourceUrl:"Используется токен с {url}",tokenSourceBuilt:"Используется токен, встроенный в страницу",tokenSourceNone:"Нет токена Mapbox: карты Mapbox не загрузятся (MapLibre он не нужен)",tokenSecret:"Это секретный токен (sk.…). Вставьте публичный (pk.…): эта страница общедоступна.",tokenNotPk:"Публичный токен Mapbox начинается с pk.",tokenUrlFailed:"Не удалось получить токен по этому адресу: {why}",settings:"Настройки",mapEngine:"Движок карт",engineDefault:"Свой у каждой карты",engineMapboxNote:"нужен токен",engineMaplibreNote:"токен не нужен",tokenNotNeeded:"Выбран MapLibre: его картам не нужен токен Mapbox"},E_={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна",upg100Region:"Регион",upg100Zone:"Списки UPG-100",upg100Group:"Народ",selectView:"Выбрать вид",views:"Виды",prayerResources:"Молитвенные ресурсы",map:"Карта"},T_={kicker:"DOXA · Видение",title:"Каждый народ. Каждое место.",tagline:"От всех народов мира до тех, за кого молится DOXA, — по данным.",funnelLabel:"От всех народов до народов DOXA",allLabel:"Народы",allNote:"каждый народ в каждой стране, где он живёт",unreachedLabel:"Недостигнутые",unreachedNote:"менее 2% евангельских христиан",frontierLabel:"Рубежные",frontierNote:"менее 0,1% евангельских христиан",doxaLabel:"Народы DOXA",doxaNote:"из них рубежных: {frontier}",people:"{n} человек",sources:"Народы: {imb}, данные на {date}. Список DOXA: pray.doxa.life, {date2}.",howCounted:"Как это посчитано",ruleAll:"Каждая строка данных IMB о народах: один народ в одной стране.",ruleUnreached:"Приоритет IMB 0–2: менее 2% евангельских христиан.",ruleFrontier:"Приоритет IMB 0: менее 0,1% евангельских христиан. Часть недостигнутых.",ruleDoxa:"Каждая группа из молитвенного списка DOXA, сопоставленная с данными IMB по народу и стране. Не все из них рубежные."},N_={title:"所有族群",locations:"{n} 个族群–国家位置",doxa:"DOXA 族群",frontier:"前沿族群 — 尚未开始",unreached:"未得之民 — 事工起步",reached:"已得之民 — 教会已在",hint:"点击一行查看全部 · 再次点击显示所有",loading:"正在加载所有族群…",loadError:"无法加载地图。",pray:"为他们祷告 →",population:"人口 {n}"},M_={backToLegend:"返回图例",closeDetailView:"关闭详情视图",collapseLegend:"收起图例",expandLegend:"展开图例",toggleLegend:"显示或隐藏图例"},R_={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:"每行海报数"},F_={title:"未参与族群所在地的互联网接入",bands:{yes:"已联网 60%+",partial:"部分 25–59%",no:"低,低于 25%",unknown:"未测量"},peopleGroup:"族群",caveat:"全国数据(世界银行)。各城市的联网数据未公开——请勿用国家数据推断某个城市。",sheet:{close:"关闭",ai:"这些数据来自人工智能深度检索,可能包含错误信息。",dismiss:"忽略",internetUsers:"互联网用户",measured:"测量年份",mobilePer100:"每百人移动电话",peopleGroups:"族群",topPlatform:"主要平台",unknown:"未知",carriers:"运营商和互联网服务商({n})",socialPlatforms:"社交平台",note:"这是全国数据,不是城市测量值。运营商名称来自 ASN 注册持有者——其中除互联网服务商外还包括银行和大学,因此“运营商”标记是基于名称的推断,并非经过核实的分类。"}},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:"地图控件"},O_={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:"地点"},D_={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},B_={_note:"SHORT UI LABELS ONLY for the gospel-resources bundle. The explanatory prose on those surfaces stays in English on purpose and is NOT in this file; prose.english is the one translated line that says so.",prose:{english:"以下说明性文字为英文。"},mode:{gap:"缺口",coverage:"已找到的资源"},search:{placeholder:"搜索族群、语言或 ISO 代码",clear:"清除搜索",none:"没有符合该名称、语言或代码的结果。",placeholderShort:"族群、语言或 ISO 代码"},legend:{title:"尚未接触且未找到任何福音资源的族群",band60:"60% 以上一无所有",band30:"30–59%",bandSome:"部分族群",bandAll:"所有族群都有一些",tier2:"圣经与影片",tier1:"找到部分资源",tier0:"一无所获",hnr:"能听,但没有文字",showAll:"显示所有族群",titleCoverage:"尚未接触但已找到部分福音资源的族群",cov80:"80% 以上有资源",cov50:"50–79%",cov1:"1–49%",cov0:"无人拥有",tallyEach:"每个",tallyIs:"代表一个族群 —",tallyOf:"个族群中,",tallyLink:"个有链接",doxa0:"全部都有资源",doxa1:"1–4 个一无所有",doxa5:"5–14",doxa15:"15–39",doxa40:"40+",cvd1:"1–4 个已触及",cvd5:"5–14",cvd15:"15–39",cvd40:"40+",onMap:"本地图上的 Doxa 族群",notPlaced:"在名单上,尚未定位",outOfScope:"没有 Doxa 族群 — 不着色"},tabs:{groups:"最大的族群",countries:"按国家",regions:"按地区",noprayer:"无人代祷",hnr:"能听,无文字"},stat:{language:"语言",population:"人口",countries:"国家",peopleGroups:"族群",noResource:"未找到资源",peopleAffected:"受影响人数",haveScripture:"有圣经",haveFilm:"有影片",haveAudio:"有有声圣经",signLanguages:"手语",growingUnreached:"增长中且未接触",deathsDay:"每日估计死亡人数"},sheet:{ownLanguage:"以他们自己的语言",close:"关闭",loading:"正在加载资源…",pray:"为其代祷:",everyResource:"所有资源 —",alsoSpeak:"同样使用"},res:{scripture:"圣经",film:"影片",audio:"音频",bibleVideo:"圣经视频",bibleStories:"Open Bible Stories",gospelAudio:"福音音频",gospelPresentation:"福音简介",scriptureEarth:"Scripture Earth",training:"门徒训练",jesusFilm:"《耶稣传》",audioScripture:"音频圣经",bibleStoriesPlain:"圣经故事"},state:{noneFound:"一无所获",noneAtFcbh:"FCBH 没有",noneAtGrn:"GRN 没有",notInZume:"不在 Zume 的 54 种语言内",linkChecked:"链接已核实",unchecked:"未核实",linkDead:"链接失效",wrongLanguage:"语言不符",varietyNotStated:"(未注明变体)",inLanguage:"—"},guide:{dotVsCountry:"每个圆点代表 Doxa 的一个族群及其语言;国家的颜色代表这类族群的数量。",noneFoundShort:"“一无所获”指未见于本次查询的资源库,并不证明其不存在。",tapCountry:"点按国家,逐个族群查看实际资源。"},tables:{title:"福音资源 — 数据",showing:"显示",of:"/共",for:"—",filteredTo:"筛选:",showAll:"显示全部资源",t_doxa:"Doxa — 福音可及性",t_links:"每项资源与链接",t_nothing:"一无所获之处",t_countrygap:"各国缺口",t_translation:"能听,无文字",t_translationcountry:"何处需要翻译",t_gaps:"缺口与机会",t_bridges:"城市桥梁",t_deaf:"聋人缺口",t_resources:"按族群列出资源",t_languages:"各国语言",t_growth:"可及性与人口增长"},pages:{listTitle:"按语言列出的福音资源",chartsTitle:"福音资源 — 按语言",loadingTables:"正在加载资源表…"},list:{noText:"没有文字圣经",hasScripture:"有圣经",allLanguages:"全部语言",peopleGroup:"个族群",peopleGroups:"个族群",scriptureHere:"本语言的圣经"},columns:{"People group":"族群",Country:"国家",Region:"地区",Language:"语言",Population:"人口",Religion:"宗教","Gospel access":"福音可及性",Resources:"资源",Scripture:"圣经","Bible video":"圣经视频","Gospel presentation":"福音简介",Countries:"国家","People groups":"族群"},charts:{scriptureAny:"圣经(任意)",fullBible:"全本圣经",newTestament:"新约",filmAny:"影片(任意)",nothingInPools:"在已检索的资源库中一无所获",nothingInPoolsLower:"在已检索的资源库中一无所获",noResourceInPools:"在已检索的资源库中未找到资源",aResourceFound:"找到资源",tabCoverage:"资源覆盖",tabGap:"最大缺口",keyScripture:"圣经",keyFilmStories:"影片 / 故事",keyAudioEtc:"音频 / 简介 / 训练",unresolvedCode:"ISO 639-3 之外的代码 — 未确定,未测量"}},G_={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:"无法加载民族数据。这是连接问题,而不是筛选问题。"},j_={title:{adoption:"认领进度",affinityBlocs:"亲缘板块",doxaRegions:"Doxa 区域",engagement:"参与进度",gospelResources:"福音资源",languageFamilies:"语系",prayer:"祷告进度",upg100List:"我的 UPG 100 名单"},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:"族群 — 名单内各个未得之民群体,祷告需要最大的排在前面。地图上每个点就是其中之一。"},a11y:{expandRow:"展开{label}",collapseRow:"折叠{label}",clearSelection:"清除选择"}},U_={menuComingSoon:"菜单即将推出",pinHint:{tapDot:"点按一个彩色圆点——仍有人需要祷告"},upg100WallHeading:"我的 UPG 100 名單 — 禱告名單與海報",upg100WallTag:"禱告動員",upg100WallIntro:"將禱告的工作分成五十人、一百人一組 — 就像耶穌餵飽五千人那樣(路加福音 9:14)。每一張海報都是一份 100 人名單,你可以為他們禱告、列印出來、貼在牆上 — <strong>按著他們族群的名字</strong>為他們禱告。"},z_={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},H_={country:{wagfRegion:"WAGF 地區",wagfBlock:"WAGF 區塊",country:"國家",uupgCount:"UUPG 數量"}},V_={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},K_={"%count% people groups in %countries% countries":"%countries% 个国家中的 %count% 个民族","%region% has %count% people groups across %countries% countries. Each pin is coloured by how many people are praying for that people group.":"%region% 在 %countries% 个国家中有 %count% 个民族。每个标记的颜色表示有多少人在为该民族祷告。","1+ People Praying":"1 人以上祷告","100+ People Praying":"100 人以上祷告",Adopted:"已认领","Adoption Progress":"认领进度","All Regions":"所有区域","Alternate Names":"其他名称","Choose a region":"选择区域","Clear All":"全部清除",Countries:"国家","Countries in this region":"本区域的国家",Country:"国家",Engaged:"已参与","Engagement Progress":"参与进度","Every unengaged people group adopted by a church committed to prayer, giving, and sending":"每一个尚无人参与的民族,都由一间委身于祷告、奉献与差派的教会认领","Exact Search":"精确搜索","Find unreached people groups by region and country.":"按区域和国家查找未得之民。","Full Profile":"完整档案",Goal:"目标","Hide Filters":"隐藏筛选","Hide country posters":"隐藏国家海报",Intercessors:"代祷者","Load More":"加载更多","Loading results...":"正在加载结果…",Map:"地图","Mobilize 100+ people praying daily for each DOXA people group":"为每个 DOXA 民族动员 100 人以上每日祷告","No One Praying":"无人祷告","No options found":"未找到选项","No poster has been generated for this country yet.":"尚未为该国家生成海报。","No unengaged people groups by 2033":"到 2033 年不再有无人参与的民族","Not Adopted":"未认领",Other:"其他","Page Not Found":"未找到页面","People Group":"民族","People Groups":"民族","People committed to praying":"委身祷告的人数","Pick a region above, or click any dot to open that people group's country.":"在上方选择一个区域,或点击任意圆点以打开该民族所在的国家。","Pick a region or a country on the Regions List tab to narrow this dashboard.":"在“区域列表”标签中选择一个区域或国家,以缩小此仪表板的范围。",Population:"人口","Prayer Coverage":"祷告覆盖","Prayer coverage progress":"祷告覆盖进度","Region Dashboards":"区域仪表板","Region dashboard":"区域仪表板",Regions:"区域","Regions List":"区域列表",Religion:"宗教","Search names, country/continent, religions...":"搜索名称、国家/大洲、宗教…","See %region% dashboard":"查看 %region% 仪表板","See All":"查看全部",Select:"选择","Select View":"选择视图","Show Filters":"显示筛选","There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.":"%country% 有 %count% 个民族。也请在地图上查看该国边境地区的民族。",Total:"总计","Type to search...":"输入以搜索…","Unengaged people groups":"无人参与的民族","View country posters":"查看国家海报",Views:"视图","WAGF Block":"WAGF 板块","WAGF Region":"WAGF 区域","people groups adopted":"已认领的民族","people groups engaged":"已参与的民族","Outside this region":"在此区域之外",Pray:"祷告","Loading region dashboards…":"正在加载区域面板…","No regions found.":"未找到区域。","Region data could not be loaded. This is a connection problem, not a filter.":"无法加载区域数据。这是连接问题,不是筛选问题。","People groups could not be loaded. This is a connection problem, not a filter.":"无法加载民族群体。这是连接问题,不是筛选问题。","The map could not start. This is a map-token or connection problem, not a filter — the figures above are unaffected.":"地图无法启动。这是地图令牌或连接问题,不是筛选问题——上方的数字不受影响。"},q_={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"},sections:{within:"在 {selection} 之內",allData:"所有 DOXA 資料"},kinds:{people:"民族 + 国家",peopleGroup:"民族",bloc:"亲缘板块",cluster:"民族群",country:"国家",region:"区域",family:"语系",languageKind:"语言",dialect:"方言",religionKind:"宗教"},upg100Placeholder:"搜索民族、UPG-100 名单或区域…"},W_={title:"插件工作室",navLabel:"按能力分类的插件",countLabel:"此处列出 {bundles} 个包 · {elements} 个插件",changeLanguage:"切换语言",copyEmbed:"复制嵌入代码",copy:"复制",copied:"已复制",scriptEmbed:"脚本嵌入",loading:"正在加载 {name}…",couldNotLoad:"无法加载 {name}。",chooseElement:"请从列表中选择一个插件。",filterPlaceholder:"筛选插件",collapseAll:"全部折叠",noMatch:"没有与“{query}”匹配的插件。",openSection:"打开 {cap},{label}",part:"部分",noStandalone:"无独立页面",cap5:"应用外壳",cap4:"组合",cap3:"多视图",cap2:"预设",cap1:"单一",toggleList:"显示或隐藏列表",openViews:"打开视图列表",expandList:"展开列表",collapseList:"折叠列表",collapse:"折叠",partOf:"{name} 的一部分,不单独发布",mapToken:"地图令牌",tokenPaste:"Mapbox 公开令牌 (pk.…)",tokenUrlLabel:"…或令牌服务的网址",tokenApply:"使用",tokenClear:"清除",tokenStoredHere:"仅保存在此浏览器中。",tokenSourceYours:"正在使用您的令牌",tokenSourceUrl:"正在使用来自 {url} 的令牌",tokenSourceBuilt:"正在使用此页面内置的令牌",tokenSourceNone:"没有 Mapbox 令牌:Mapbox 地图无法加载(MapLibre 地图不需要)",tokenSecret:"这是秘密令牌 (sk.…)。请粘贴公开令牌 (pk.…):此页面是公开的。",tokenNotPk:"Mapbox 公开令牌以 pk. 开头",tokenUrlFailed:"无法从该网址获取令牌:{why}",settings:"设置",mapEngine:"地图引擎",engineDefault:"各地图自身的",engineMapboxNote:"需要令牌",engineMaplibreNote:"无需令牌",tokenNotNeeded:"已选择 MapLibre:其地图无需 Mapbox 令牌"},Y_={prayer:"祷告",adoption:"认领",engagement:"参与","affinity-blocks":"民族",regions:"区域",countries:"国家","language-families":"语言",religion:"宗教",family:"语系",language:"语言",dialect:"方言/变体",bloc:"亲缘板块",cluster:"民族群",group:"民族",pgic:"国内民族",region:"WAGF 区域",block:"WAGF 板块",country:"国家",upg100Region:"区域",upg100Zone:"UPG-100 名单",upg100Group:"族群",selectView:"選擇檢視",views:"檢視",prayerResources:"禱告資源",map:"地圖"},X_={kicker:"DOXA · 异象",title:"每一个民族,每一个地方。",tagline:"从世界上所有族群到 DOXA 为之祷告的族群,全部依据数据计算。",funnelLabel:"从所有族群到 DOXA 族群",allLabel:"族群",allNote:"每个族群在其居住的每个国家各计一次",unreachedLabel:"未得之民",unreachedNote:"福音派信徒少于 2%",frontierLabel:"前沿族群",frontierNote:"福音派信徒少于 0.1%",doxaLabel:"DOXA 族群",doxaNote:"其中 {frontier} 个为前沿族群",people:"{n} 人",sources:"族群:{imb},数据日期 {date}。DOXA 名单:pray.doxa.life,{date2}。",howCounted:"这些数字如何计算",ruleAll:"IMB 族群数据的每一行:一个国家中的一个族群。",ruleUnreached:"IMB 迷失优先级 0 至 2:福音派信徒少于 2%。",ruleFrontier:"IMB 迷失优先级 0:福音派信徒少于 0.1%。属于未得之民的一部分。",ruleDoxa:"DOXA 祷告名单上的每个族群,按民族和国家与 IMB 数据匹配。并非全部都是前沿族群。"};/*!
|
||
* shared v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Z_(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ks=typeof window<"u",Jo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),J_=(e,t,o)=>Q_({l:e,k:t,s:o}),Q_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),$t=e=>typeof e=="number"&&isFinite(e),e0=e=>ap(e)==="[object Date]",Qo=e=>ap(e)==="[object RegExp]",qs=e=>Ge(e)&&Object.keys(e).length===0,Et=Object.assign,t0=Object.create,ot=(e=null)=>t0(e);let ep;const Go=()=>ep||(ep=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ot());function tp(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function op(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function o0(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,a,s)=>`${a}="${op(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,a,s)=>`${a}='${op(s)}'`),/\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 n0=Object.prototype.hasOwnProperty;function ro(e,t){return n0.call(e,t)}const pt=Array.isArray,ct=e=>typeof e=="function",we=e=>typeof e=="string",Ve=e=>typeof e=="boolean",We=e=>e!==null&&typeof e=="object",a0=e=>We(e)&&ct(e.then)&&ct(e.catch),np=Object.prototype.toString,ap=e=>np.call(e),Ge=e=>{if(!We(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},s0=e=>e==null?"":pt(e)||Ge(e)&&e.toString===np?JSON.stringify(e,null,2):String(e);function r0(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}function Ws(e){let t=e;return()=>++t}const Ys=e=>!We(e)||pt(e);function Xs(e,t){if(Ys(e)||Ys(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(s=>{s!=="__proto__"&&(We(n[s])&&!We(a[s])&&(a[s]=Array.isArray(n[s])?[]:ot()),Ys(a[s])||Ys(n[s])?a[s]=n[s]:o.push({src:n[s],des:a[s]}))})}}/*!
|
||
* message-compiler v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function i0(e,t,o){return{line:e,column:t,offset:o}}function Zs(e,t,o){return{start:e,end:t}}const l0=/\{([0-9a-zA-Z]+)\}/g;function sp(e,...t){return t.length===1&&c0(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(l0,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const rp=Object.assign,ip=e=>typeof e=="string",c0=e=>e!==null&&typeof e=="object";function lp(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const ki={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},u0={[ki.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function p0(e,t,...o){const n=sp(u0[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const Oe={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},d0={[Oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Oe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Oe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function qn(e,t,o={}){const{domain:n,messages:a,args:s}=o,r=sp((a||d0)[e]||"",...s||[]),i=new SyntaxError(String(r));return i.code=e,t&&(i.location=t),i.domain=n,i}function g0(e){throw e}const jo=" ",f0="\r",Bt=`
|
||
`,h0="\u2028",m0="\u2029";function b0(e){const t=e;let o=0,n=1,a=1,s=0;const r=g=>t[g]===f0&&t[g+1]===Bt,i=g=>t[g]===Bt,l=g=>t[g]===m0,c=g=>t[g]===h0,u=g=>r(g)||i(g)||l(g)||c(g),d=()=>o,f=()=>n,A=()=>a,v=()=>s,b=g=>r(g)||l(g)||c(g)?Bt:t[g],_=()=>b(o),$=()=>b(o+s);function h(){return s=0,u(o)&&(n++,a=0),r(o)&&o++,o++,a++,t[o]}function m(){return r(o+s)&&s++,s++,t[o+s]}function w(){o=0,n=1,a=1,s=0}function p(g=0){s=g}function P(){const g=o+s;for(;g!==o;)h();s=0}return{index:d,line:f,column:A,peekOffset:v,charAt:b,currentChar:_,currentPeek:$,next:h,peek:m,reset:w,resetPeek:p,skipToPeek:P}}const en=void 0,$0=".",cp="'",y0="tokenizer";function _0(e,t={}){const o=t.location!==!1,n=b0(e),a=()=>n.index(),s=()=>i0(n.line(),n.column(),n.index()),r=s(),i=a(),l={currentType:14,offset:i,startLoc:r,endLoc:r,lastType:14,lastOffset:i,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(k,x,B,...X){const me=c();if(x.column+=B,x.offset+=B,u){const ce=o?Zs(me.startLoc,x):null,Z=qn(k,ce,{domain:y0,args:X});u(Z)}}function f(k,x,B){k.endLoc=s(),k.currentType=x;const X={type:x};return o&&(X.loc=Zs(k.startLoc,k.endLoc)),B!=null&&(X.value=B),X}const A=k=>f(k,14);function v(k,x){return k.currentChar()===x?(k.next(),x):(d(Oe.EXPECTED_TOKEN,s(),0,x),"")}function b(k){let x="";for(;k.currentPeek()===jo||k.currentPeek()===Bt;)x+=k.currentPeek(),k.peek();return x}function _(k){const x=b(k);return k.skipToPeek(),x}function $(k){if(k===en)return!1;const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function h(k){if(k===en)return!1;const x=k.charCodeAt(0);return x>=48&&x<=57}function m(k,x){const{currentType:B}=x;if(B!==2)return!1;b(k);const X=$(k.currentPeek());return k.resetPeek(),X}function w(k,x){const{currentType:B}=x;if(B!==2)return!1;b(k);const X=k.currentPeek()==="-"?k.peek():k.currentPeek(),me=h(X);return k.resetPeek(),me}function p(k,x){const{currentType:B}=x;if(B!==2)return!1;b(k);const X=k.currentPeek()===cp;return k.resetPeek(),X}function P(k,x){const{currentType:B}=x;if(B!==8)return!1;b(k);const X=k.currentPeek()===".";return k.resetPeek(),X}function g(k,x){const{currentType:B}=x;if(B!==9)return!1;b(k);const X=$(k.currentPeek());return k.resetPeek(),X}function C(k,x){const{currentType:B}=x;if(!(B===8||B===12))return!1;b(k);const X=k.currentPeek()===":";return k.resetPeek(),X}function S(k,x){const{currentType:B}=x;if(B!==10)return!1;const X=()=>{const ce=k.currentPeek();return ce==="{"?$(k.peek()):ce==="@"||ce==="%"||ce==="|"||ce===":"||ce==="."||ce===jo||!ce?!1:ce===Bt?(k.peek(),X()):J(k,!1)},me=X();return k.resetPeek(),me}function G(k){b(k);const x=k.currentPeek()==="|";return k.resetPeek(),x}function H(k){const x=b(k),B=k.currentPeek()==="%"&&k.peek()==="{";return k.resetPeek(),{isModulo:B,hasSpace:x.length>0}}function J(k,x=!0){const B=(me=!1,ce="",Z=!1)=>{const le=k.currentPeek();return le==="{"?ce==="%"?!1:me:le==="@"||!le?ce==="%"?!0:me:le==="%"?(k.peek(),B(me,"%",!0)):le==="|"?ce==="%"||Z?!0:!(ce===jo||ce===Bt):le===jo?(k.peek(),B(!0,jo,Z)):le===Bt?(k.peek(),B(!0,Bt,Z)):!0},X=B();return x&&k.resetPeek(),X}function U(k,x){const B=k.currentChar();return B===en?en:x(B)?(k.next(),B):null}function D(k){const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36}function L(k){return U(k,D)}function y(k){const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36||x===45}function M(k){return U(k,y)}function z(k){const x=k.charCodeAt(0);return x>=48&&x<=57}function K(k){return U(k,z)}function Q(k){const x=k.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102}function ie(k){return U(k,Q)}function j(k){let x="",B="";for(;x=K(k);)B+=x;return B}function be(k){_(k);const x=k.currentChar();return x!=="%"&&d(Oe.EXPECTED_TOKEN,s(),0,x),k.next(),"%"}function xe(k){let x="";for(;;){const B=k.currentChar();if(B==="{"||B==="}"||B==="@"||B==="|"||!B)break;if(B==="%")if(J(k))x+=B,k.next();else break;else if(B===jo||B===Bt)if(J(k))x+=B,k.next();else{if(G(k))break;x+=B,k.next()}else x+=B,k.next()}return x}function fe(k){_(k);let x="",B="";for(;x=M(k);)B+=x;return k.currentChar()===en&&d(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),B}function ke(k){_(k);let x="";return k.currentChar()==="-"?(k.next(),x+=`-${j(k)}`):x+=j(k),k.currentChar()===en&&d(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),x}function $e(k){return k!==cp&&k!==Bt}function ne(k){_(k),v(k,"'");let x="",B="";for(;x=U(k,$e);)x==="\\"?B+=ee(k):B+=x;const X=k.currentChar();return X===Bt||X===en?(d(Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),X===Bt&&(k.next(),v(k,"'")),B):(v(k,"'"),B)}function ee(k){const x=k.currentChar();switch(x){case"\\":case"'":return k.next(),`\\${x}`;case"u":return de(k,x,4);case"U":return de(k,x,6);default:return d(Oe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,x),""}}function de(k,x,B){v(k,x);let X="";for(let me=0;me<B;me++){const ce=ie(k);if(!ce){d(Oe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${x}${X}${k.currentChar()}`);break}X+=ce}return`\\${x}${X}`}function Pe(k){return k!=="{"&&k!=="}"&&k!==jo&&k!==Bt}function T(k){_(k);let x="",B="";for(;x=U(k,Pe);)B+=x;return B}function F(k){let x="",B="";for(;x=L(k);)B+=x;return B}function I(k){const x=B=>{const X=k.currentChar();return X==="{"||X==="%"||X==="@"||X==="|"||X==="("||X===")"||!X||X===jo?B:(B+=X,k.next(),x(B))};return x("")}function W(k){_(k);const x=v(k,"|");return _(k),x}function Y(k,x){let B=null;switch(k.currentChar()){case"{":return x.braceNest>=1&&d(Oe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),k.next(),B=f(x,2,"{"),_(k),x.braceNest++,B;case"}":return x.braceNest>0&&x.currentType===2&&d(Oe.EMPTY_PLACEHOLDER,s(),0),k.next(),B=f(x,3,"}"),x.braceNest--,x.braceNest>0&&_(k),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),B;case"@":return x.braceNest>0&&d(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),B=O(k,x)||A(x),x.braceNest=0,B;default:{let me=!0,ce=!0,Z=!0;if(G(k))return x.braceNest>0&&d(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),B=f(x,1,W(k)),x.braceNest=0,x.inLinked=!1,B;if(x.braceNest>0&&(x.currentType===5||x.currentType===6||x.currentType===7))return d(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),x.braceNest=0,ue(k,x);if(me=m(k,x))return B=f(x,5,fe(k)),_(k),B;if(ce=w(k,x))return B=f(x,6,ke(k)),_(k),B;if(Z=p(k,x))return B=f(x,7,ne(k)),_(k),B;if(!me&&!ce&&!Z)return B=f(x,13,T(k)),d(Oe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,B.value),_(k),B;break}}return B}function O(k,x){const{currentType:B}=x;let X=null;const me=k.currentChar();switch((B===8||B===9||B===12||B===10)&&(me===Bt||me===jo)&&d(Oe.INVALID_LINKED_FORMAT,s(),0),me){case"@":return k.next(),X=f(x,8,"@"),x.inLinked=!0,X;case".":return _(k),k.next(),f(x,9,".");case":":return _(k),k.next(),f(x,10,":");default:return G(k)?(X=f(x,1,W(k)),x.braceNest=0,x.inLinked=!1,X):P(k,x)||C(k,x)?(_(k),O(k,x)):g(k,x)?(_(k),f(x,12,F(k))):S(k,x)?(_(k),me==="{"?Y(k,x)||X:f(x,11,I(k))):(B===8&&d(Oe.INVALID_LINKED_FORMAT,s(),0),x.braceNest=0,x.inLinked=!1,ue(k,x))}}function ue(k,x){let B={type:14};if(x.braceNest>0)return Y(k,x)||A(x);if(x.inLinked)return O(k,x)||A(x);switch(k.currentChar()){case"{":return Y(k,x)||A(x);case"}":return d(Oe.UNBALANCED_CLOSING_BRACE,s(),0),k.next(),f(x,3,"}");case"@":return O(k,x)||A(x);default:{if(G(k))return B=f(x,1,W(k)),x.braceNest=0,x.inLinked=!1,B;const{isModulo:me,hasSpace:ce}=H(k);if(me)return ce?f(x,0,xe(k)):f(x,4,be(k));if(J(k))return f(x,0,xe(k));break}}return B}function te(){const{currentType:k,offset:x,startLoc:B,endLoc:X}=l;return l.lastType=k,l.lastOffset=x,l.lastStartLoc=B,l.lastEndLoc=X,l.offset=a(),l.startLoc=s(),n.currentChar()===en?f(l,14):ue(n,l)}return{nextToken:te,currentOffset:a,currentPosition:s,context:c}}const v0="parser",k0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function w0(e,t,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||o,16);return n<=55295||n>=57344?String.fromCodePoint(n):"<22>"}}}function x0(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(m,w,p,P,...g){const C=m.currentPosition();if(C.offset+=P,C.column+=P,o){const S=t?Zs(p,C):null,G=qn(w,S,{domain:v0,args:g});o(G)}}function s(m,w,p,P,...g){const C=m.currentPosition();if(C.offset+=P,C.column+=P,n){const S=t?Zs(p,C):null;n(p0(w,S,g))}}function r(m,w,p){const P={type:m};return t&&(P.start=w,P.end=w,P.loc={start:p,end:p}),P}function i(m,w,p,P){t&&(m.end=w,m.loc&&(m.loc.end=p))}function l(m,w){const p=m.context(),P=r(3,p.offset,p.startLoc);return P.value=w,i(P,m.currentOffset(),m.currentPosition()),P}function c(m,w){const p=m.context(),{lastOffset:P,lastStartLoc:g}=p,C=r(5,P,g);return C.index=parseInt(w,10),m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function u(m,w,p){const P=m.context(),{lastOffset:g,lastStartLoc:C}=P,S=r(4,g,C);return S.key=w,p===!0&&(S.modulo=!0),m.nextToken(),i(S,m.currentOffset(),m.currentPosition()),S}function d(m,w){const p=m.context(),{lastOffset:P,lastStartLoc:g}=p,C=r(9,P,g);return C.value=w.replace(k0,w0),m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function f(m){const w=m.nextToken(),p=m.context(),{lastOffset:P,lastStartLoc:g}=p,C=r(8,P,g);return w.type!==12?(a(m,Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,p.lastStartLoc,0),C.value="",i(C,P,g),{nextConsumeToken:w,node:C}):(w.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,io(w)),C.value=w.value||"",i(C,m.currentOffset(),m.currentPosition()),{node:C})}function A(m,w){const p=m.context(),P=r(7,p.offset,p.startLoc);return P.value=w,i(P,m.currentOffset(),m.currentPosition()),P}function v(m){const w=m.context(),p=r(6,w.offset,w.startLoc);let P=m.nextToken();if(P.type===9){const g=f(m);p.modifier=g.node,P=g.nextConsumeToken||m.nextToken()}switch(P.type!==10&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(P)),P=m.nextToken(),P.type===2&&(P=m.nextToken()),P.type){case 11:P.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(P)),p.key=A(m,P.value||"");break;case 5:P.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(P)),p.key=u(m,P.value||"");break;case 6:P.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(P)),p.key=c(m,P.value||"");break;case 7:P.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(P)),p.key=d(m,P.value||"");break;default:{a(m,Oe.UNEXPECTED_EMPTY_LINKED_KEY,w.lastStartLoc,0);const g=m.context(),C=r(7,g.offset,g.startLoc);return C.value="",i(C,g.offset,g.startLoc),p.key=C,i(p,g.offset,g.startLoc),{nextConsumeToken:P,node:p}}}return i(p,m.currentOffset(),m.currentPosition()),{node:p}}function b(m){const w=m.context(),p=w.currentType===1?m.currentOffset():w.offset,P=w.currentType===1?w.endLoc:w.startLoc,g=r(2,p,P);g.items=[];let C=null,S=null;do{const J=C||m.nextToken();switch(C=null,J.type){case 0:J.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(J)),g.items.push(l(m,J.value||""));break;case 6:J.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(J)),g.items.push(c(m,J.value||""));break;case 4:S=!0;break;case 5:J.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(J)),g.items.push(u(m,J.value||"",!!S)),S&&(s(m,ki.USE_MODULO_SYNTAX,w.lastStartLoc,0,io(J)),S=null);break;case 7:J.value==null&&a(m,Oe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,io(J)),g.items.push(d(m,J.value||""));break;case 8:{const U=v(m);g.items.push(U.node),C=U.nextConsumeToken||null;break}}}while(w.currentType!==14&&w.currentType!==1);const G=w.currentType===1?w.lastOffset:m.currentOffset(),H=w.currentType===1?w.lastEndLoc:m.currentPosition();return i(g,G,H),g}function _(m,w,p,P){const g=m.context();let C=P.items.length===0;const S=r(1,w,p);S.cases=[],S.cases.push(P);do{const G=b(m);C||(C=G.items.length===0),S.cases.push(G)}while(g.currentType!==14);return C&&a(m,Oe.MUST_HAVE_MESSAGES_IN_PLURAL,p,0),i(S,m.currentOffset(),m.currentPosition()),S}function $(m){const w=m.context(),{offset:p,startLoc:P}=w,g=b(m);return w.currentType===14?g:_(m,p,P,g)}function h(m){const w=_0(m,rp({},e)),p=w.context(),P=r(0,p.offset,p.startLoc);return t&&P.loc&&(P.loc.source=m),P.body=$(w),e.onCacheKey&&(P.cacheKey=e.onCacheKey(m)),p.currentType!==14&&a(w,Oe.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,m[p.offset]||""),i(P,w.currentOffset(),w.currentPosition()),P}return{parse:h}}function io(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 L0(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:s=>(o.helpers.add(s),s)}}function up(e,t){for(let o=0;o<e.length;o++)wi(e[o],t)}function wi(e,t){switch(e.type){case 1:up(e.cases,t),t.helper("plural");break;case 2:up(e.items,t);break;case 6:{wi(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function S0(e,t={}){const o=L0(e);o.helper("normalize"),e.body&&wi(e.body,o);const n=o.context();e.helpers=Array.from(n.helpers)}function A0(e){const t=e.body;return t.type===2?pp(t):t.cases.forEach(o=>pp(o)),e}function pp(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;o<e.items.length;o++){const n=e.items[o];if(!(n.type===3||n.type===9)||n.value==null)break;t.push(n.value)}if(t.length===e.items.length){e.static=lp(t);for(let o=0;o<e.items.length;o++){const n=e.items[o];(n.type===3||n.type===9)&&delete n.value}}}}const P0="minifier";function Wn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Wn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,o=t.cases;for(let n=0;n<o.length;n++)Wn(o[n]);t.c=o,delete t.cases;break}case 2:{const t=e,o=t.items;for(let n=0;n<o.length;n++)Wn(o[n]);t.i=o,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Wn(t.key),t.k=t.key,delete t.key,t.modifier&&(Wn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw qn(Oe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:P0,args:[e.type]})}delete e.type}const C0="parser";function E0(e,t){const{filename:o,breakLineCode:n,needIndent:a}=t,s=t.location!==!1,r={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:a,indentLevel:0};s&&e.loc&&(r.source=e.loc.source);const i=()=>r;function l(b,_){r.code+=b}function c(b,_=!0){const $=_?n:"";l(a?$+" ".repeat(b):$)}function u(b=!0){const _=++r.indentLevel;b&&c(_)}function d(b=!0){const _=--r.indentLevel;b&&c(_)}function f(){c(r.indentLevel)}return{context:i,push:l,indent:u,deindent:d,newline:f,helper:b=>`_${b}`,needIndent:()=>r.needIndent}}function T0(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),Yn(e,t.key),t.modifier?(e.push(", "),Yn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function N0(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let s=0;s<a&&(Yn(e,t.items[s]),s!==a-1);s++)e.push(", ");e.deindent(n()),e.push("])")}function M0(e,t){const{helper:o,needIndent:n}=e;if(t.cases.length>1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let s=0;s<a&&(Yn(e,t.cases[s]),s!==a-1);s++)e.push(", ");e.deindent(n()),e.push("])")}}function R0(e,t){t.body?Yn(e,t.body):e.push("null")}function Yn(e,t){const{helper:o}=e;switch(t.type){case 0:R0(e,t);break;case 1:M0(e,t);break;case 2:N0(e,t);break;case 6:T0(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${o("interpolate")}(${o("list")}(${t.index}))`,t);break;case 4:e.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw qn(Oe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:C0,args:[t.type]})}}const F0=(e,t={})=>{const o=ip(t.mode)?t.mode:"normal",n=ip(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":`
|
||
`,s=t.needIndent?t.needIndent:o!=="arrow",r=e.helpers||[],i=E0(e,{filename:n,breakLineCode:a,needIndent:s});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(s),r.length>0&&(i.push(`const { ${lp(r.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),Yn(i,e),i.deindent(s),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function I0(e,t={}){const o=rp({},t),n=!!o.jit,a=!!o.minify,s=o.optimize==null?!0:o.optimize,i=x0(o).parse(e);return n?(s&&A0(i),a&&Wn(i),{ast:i,code:""}):(S0(i,o),F0(i,o))}/*!
|
||
* core-base v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function O0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Go().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Go().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Go().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function wo(e){return We(e)&&xi(e)===0&&(ro(e,"b")||ro(e,"body"))}const dp=["b","body"];function D0(e){return tn(e,dp)}const gp=["c","cases"];function B0(e){return tn(e,gp,[])}const fp=["s","static"];function G0(e){return tn(e,fp)}const hp=["i","items"];function j0(e){return tn(e,hp,[])}const mp=["t","type"];function xi(e){return tn(e,mp)}const bp=["v","value"];function Js(e,t){const o=tn(e,bp);if(o!=null)return o;throw Ia(t)}const $p=["m","modifier"];function U0(e){return tn(e,$p)}const yp=["k","key"];function z0(e){const t=tn(e,yp);if(t)return t;throw Ia(6)}function tn(e,t,o){for(let n=0;n<t.length;n++){const a=t[n];if(ro(e,a)&&e[a]!=null)return e[a]}return o}const _p=[...dp,...gp,...fp,...hp,...yp,...$p,...bp,...mp];function Ia(e){return new Error(`unhandled node type: ${e}`)}const on=[];on[0]={w:[0],i:[3,0],"[":[4],o:[7]},on[1]={w:[1],".":[2],"[":[4],o:[7]},on[2]={w:[2],i:[3,0],0:[3,0]},on[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},on[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},on[5]={"'":[4,0],o:8,l:[5,0]},on[6]={'"':[4,0],o:8,l:[6,0]};const H0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function V0(e){return H0.test(e)}function K0(e){const t=e.charCodeAt(0),o=e.charCodeAt(e.length-1);return t===o&&(t===34||t===39)?e.slice(1,-1):e}function q0(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function W0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:V0(t)?K0(t):"*"+t}function Y0(e){const t=[];let o=-1,n=0,a=0,s,r,i,l,c,u,d;const f=[];f[0]=()=>{r===void 0?r=i:r+=i},f[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},f[2]=()=>{f[0](),a++},f[3]=()=>{if(a>0)a--,n=4,f[0]();else{if(a=0,r===void 0||(r=W0(r),r===!1))return!1;f[1]()}};function A(){const v=e[o+1];if(n===5&&v==="'"||n===6&&v==='"')return o++,i="\\"+v,f[0](),!0}for(;n!==null;)if(o++,s=e[o],!(s==="\\"&&A())){if(l=q0(s),d=on[n],c=d[l]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(i=s,u()===!1))))return;if(n===7)return t}}const vp=new Map;function X0(e,t){return We(e)?e[t]:null}function Z0(e,t){if(!We(e))return null;let o=vp.get(t);if(o||(o=Y0(t),o&&vp.set(t,o)),!o)return null;const n=o.length;let a=e,s=0;for(;s<n;){const r=o[s];if(_p.includes(r)&&wo(a))return null;const i=a[r];if(i===void 0||ct(a))return null;a=i,s++}return a}const J0=e=>e,Q0=e=>"",ev="text",tv=e=>e.length===0?"":r0(e),ov=s0;function kp(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function nv(e){const t=$t(e.pluralIndex)?e.pluralIndex:-1;return e.named&&($t(e.named.count)||$t(e.named.n))?$t(e.named.count)?e.named.count:$t(e.named.n)?e.named.n:t:t}function av(e,t){t.count||(t.count=e),t.n||(t.n=e)}function sv(e={}){const t=e.locale,o=nv(e),n=We(e.pluralRules)&&we(t)&&ct(e.pluralRules[t])?e.pluralRules[t]:kp,a=We(e.pluralRules)&&we(t)&&ct(e.pluralRules[t])?kp:void 0,s=$=>$[n(o,$.length,a)],r=e.list||[],i=$=>r[$],l=e.named||ot();$t(e.pluralIndex)&&av(o,l);const c=$=>l[$];function u($){const h=ct(e.messages)?e.messages($):We(e.messages)?e.messages[$]:!1;return h||(e.parent?e.parent.message($):Q0)}const d=$=>e.modifiers?e.modifiers[$]:J0,f=Ge(e.processor)&&ct(e.processor.normalize)?e.processor.normalize:tv,A=Ge(e.processor)&&ct(e.processor.interpolate)?e.processor.interpolate:ov,v=Ge(e.processor)&&we(e.processor.type)?e.processor.type:ev,_={list:i,named:c,plural:s,linked:($,...h)=>{const[m,w]=h;let p="text",P="";h.length===1?We(m)?(P=m.modifier||P,p=m.type||p):we(m)&&(P=m||P):h.length===2&&(we(m)&&(P=m||P),we(w)&&(p=w||p));const g=u($)(_),C=p==="vnode"&&pt(g)&&P?g[0]:g;return P?d(P)(C,p):C},message:u,type:v,interpolate:A,normalize:f,values:Et(ot(),r,l)};return _}let Oa=null;function rv(e){Oa=e}function iv(e,t,o){Oa&&Oa.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const lv=cv("function:translate");function cv(e){return t=>Oa&&Oa.emit(e,t)}const uv=ki.__EXTEND_POINT__,$n=Ws(uv),pv={FALLBACK_TO_TRANSLATE:$n(),CANNOT_FORMAT_NUMBER:$n(),FALLBACK_TO_NUMBER_FORMAT:$n(),CANNOT_FORMAT_DATE:$n(),FALLBACK_TO_DATE_FORMAT:$n(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:$n(),__EXTEND_POINT__:$n()},wp=Oe.__EXTEND_POINT__,yn=Ws(wp),lo={INVALID_ARGUMENT:wp,INVALID_DATE_ARGUMENT:yn(),INVALID_ISO_DATE_ARGUMENT:yn(),NOT_SUPPORT_NON_STRING_MESSAGE:yn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:yn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:yn(),NOT_SUPPORT_LOCALE_TYPE:yn(),__EXTEND_POINT__:yn()};function xo(e){return qn(e,null,void 0)}function Li(e,t){return t.locale!=null?xp(t.locale):xp(e.locale)}let Si;function xp(e){if(we(e))return e;if(ct(e)){if(e.resolvedOnce&&Si!=null)return Si;if(e.constructor.name==="Function"){const t=e();if(a0(t))throw xo(lo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Si=t}else throw xo(lo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw xo(lo.NOT_SUPPORT_LOCALE_TYPE)}function dv(e,t,o){return[...new Set([o,...pt(t)?t:We(t)?Object.keys(t):we(t)?[t]:[o]])]}function Lp(e,t,o){const n=we(o)?o:Xn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(n);if(!s){s=[];let r=[o];for(;pt(r);)r=Sp(s,r,t);const i=pt(t)||!Ge(t)?t:t.default?t.default:null;r=we(i)?[i]:i,pt(r)&&Sp(s,r,!1),a.__localeChainCache.set(n,s)}return s}function Sp(e,t,o){let n=!0;for(let a=0;a<t.length&&Ve(n);a++){const s=t[a];we(s)&&(n=gv(e,t[a],o))}return n}function gv(e,t,o){let n;const a=t.split("-");do{const s=a.join("-");n=fv(e,s,o),a.splice(-1,1)}while(a.length&&n===!0);return n}function fv(e,t,o){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(pt(o)||Ge(o))&&o[a]&&(n=o[a])}return n}const hv="9.14.5",Qs=-1,Xn="en-US",Ap="",Pp=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function mv(){return{upper:(e,t)=>t==="text"&&we(e)?e.toUpperCase():t==="vnode"&&We(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&we(e)?e.toLowerCase():t==="vnode"&&We(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&we(e)?Pp(e):t==="vnode"&&We(e)&&"__v_isVNode"in e?Pp(e.children):e}}let Cp;function Ep(e){Cp=e}let Tp;function bv(e){Tp=e}let Np;function $v(e){Np=e}let Mp=null;const yv=e=>{Mp=e},_v=()=>Mp;let Rp=null;const Fp=e=>{Rp=e},vv=()=>Rp;let Ip=0;function kv(e={}){const t=ct(e.onWarn)?e.onWarn:Z_,o=we(e.version)?e.version:hv,n=we(e.locale)||ct(e.locale)?e.locale:Xn,a=ct(n)?Xn:n,s=pt(e.fallbackLocale)||Ge(e.fallbackLocale)||we(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,r=Ge(e.messages)?e.messages:Ai(a),i=Ge(e.datetimeFormats)?e.datetimeFormats:Ai(a),l=Ge(e.numberFormats)?e.numberFormats:Ai(a),c=Et(ot(),e.modifiers,mv()),u=e.pluralRules||ot(),d=ct(e.missing)?e.missing:null,f=Ve(e.missingWarn)||Qo(e.missingWarn)?e.missingWarn:!0,A=Ve(e.fallbackWarn)||Qo(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,b=!!e.unresolving,_=ct(e.postTranslation)?e.postTranslation:null,$=Ge(e.processor)?e.processor:null,h=Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,w=ct(e.messageCompiler)?e.messageCompiler:Cp,p=ct(e.messageResolver)?e.messageResolver:Tp||X0,P=ct(e.localeFallbacker)?e.localeFallbacker:Np||dv,g=We(e.fallbackContext)?e.fallbackContext:void 0,C=e,S=We(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,G=We(C.__numberFormatters)?C.__numberFormatters:new Map,H=We(C.__meta)?C.__meta:{};Ip++;const J={version:o,cid:Ip,locale:n,fallbackLocale:s,messages:r,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:A,fallbackFormat:v,unresolving:b,postTranslation:_,processor:$,warnHtmlMessage:h,escapeParameter:m,messageCompiler:w,messageResolver:p,localeFallbacker:P,fallbackContext:g,onWarn:t,__meta:H};return J.datetimeFormats=i,J.numberFormats=l,J.__datetimeFormatters=S,J.__numberFormatters=G,__INTLIFY_PROD_DEVTOOLS__&&iv(J,o,H),J}const Ai=e=>({[e]:ot()});function Pi(e,t,o,n,a){const{missing:s,onWarn:r}=e;if(s!==null){const i=s(e,o,t,a);return we(i)?i:t}else return t}function Da(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function wv(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function xv(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;n<t.length;n++)if(wv(e,t[n]))return!0;return!1}function Ci(e){return o=>Lv(o,e)}function Lv(e,t){const o=D0(t);if(o==null)throw Ia(0);if(xi(o)===1){const s=B0(o);return e.plural(s.reduce((r,i)=>[...r,Op(e,i)],[]))}else return Op(e,o)}function Op(e,t){const o=G0(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=j0(t).reduce((a,s)=>[...a,Ei(e,s)],[]);return e.normalize(n)}}function Ei(e,t){const o=xi(t);switch(o){case 3:return Js(t,o);case 9:return Js(t,o);case 4:{const n=t;if(ro(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(ro(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Ia(o)}case 5:{const n=t;if(ro(n,"i")&&$t(n.i))return e.interpolate(e.list(n.i));if(ro(n,"index")&&$t(n.index))return e.interpolate(e.list(n.index));throw Ia(o)}case 6:{const n=t,a=U0(n),s=z0(n);return e.linked(Ei(e,s),a?Ei(e,a):void 0,e.type)}case 7:return Js(t,o);case 8:return Js(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Dp=e=>e;let Zn=ot();function Bp(e,t={}){let o=!1;const n=t.onError||g0;return t.onError=a=>{o=!0,n(a)},{...I0(e,t),detectError:o}}const Sv=(e,t)=>{if(!we(e))throw xo(lo.NOT_SUPPORT_NON_STRING_MESSAGE);{Ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Dp)(e),a=Zn[n];if(a)return a;const{code:s,detectError:r}=Bp(e,t),i=new Function(`return ${s}`)();return r?i:Zn[n]=i}};function Av(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&we(e)){Ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Dp)(e),a=Zn[n];if(a)return a;const{ast:s,detectError:r}=Bp(e,{...t,location:!1,jit:!0}),i=Ci(s);return r?i:Zn[n]=i}else{const o=e.cacheKey;if(o){const n=Zn[o];return n||(Zn[o]=Ci(e))}else return Ci(e)}}const Gp=()=>"",Zt=e=>ct(e);function jp(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:s,fallbackLocale:r,messages:i}=e,[l,c]=Ti(...t),u=Ve(c.missingWarn)?c.missingWarn:e.missingWarn,d=Ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,A=!!c.resolvedMessage,v=we(c.default)||Ve(c.default)?Ve(c.default)?s?l:()=>l:c.default:o?s?l:()=>l:"",b=o||v!=="",_=Li(e,c);f&&Pv(c);let[$,h,m]=A?[l,_,i[_]||ot()]:Up(e,l,_,r,d,u),w=$,p=l;if(!A&&!(we(w)||wo(w)||Zt(w))&&b&&(w=v,p=w),!A&&(!(we(w)||wo(w)||Zt(w))||!we(h)))return a?Qs:l;let P=!1;const g=()=>{P=!0},C=Zt(w)?w:zp(e,l,h,w,p,g);if(P)return w;const S=Tv(e,h,m,c),G=sv(S),H=Cv(e,C,G);let J=n?n(H,l):H;if(f&&we(J)&&(J=o0(J)),__INTLIFY_PROD_DEVTOOLS__){const U={timestamp:Date.now(),key:we(l)?l:Zt(w)?w.key:"",locale:h||(Zt(w)?w.locale:""),format:we(w)?w:Zt(w)?w.source:"",message:J};U.meta=Et({},e.__meta,_v()||{}),lv(U)}return J}function Pv(e){pt(e.list)?e.list=e.list.map(t=>we(t)?tp(t):t):We(e.named)&&Object.keys(e.named).forEach(t=>{we(e.named[t])&&(e.named[t]=tp(e.named[t]))})}function Up(e,t,o,n,a,s){const{messages:r,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let d=ot(),f,A=null;const v="translate";for(let b=0;b<u.length&&(f=u[b],d=r[f]||ot(),(A=l(d,t))===null&&(A=d[t]),!(we(A)||wo(A)||Zt(A)));b++)if(!xv(f,u)){const _=Pi(e,t,f,s,v);_!==t&&(A=_)}return[A,f,d]}function zp(e,t,o,n,a,s){const{messageCompiler:r,warnHtmlMessage:i}=e;if(Zt(n)){const c=n;return c.locale=c.locale||o,c.key=c.key||t,c}if(r==null){const c=()=>n;return c.locale=o,c.key=t,c}const l=r(n,Ev(e,o,a,n,i,s));return l.locale=o,l.key=t,l.source=n,l}function Cv(e,t,o){return t(o)}function Ti(...e){const[t,o,n]=e,a=ot();if(!we(t)&&!$t(t)&&!Zt(t)&&!wo(t))throw xo(lo.INVALID_ARGUMENT);const s=$t(t)?String(t):(Zt(t),t);return $t(o)?a.plural=o:we(o)?a.default=o:Ge(o)&&!qs(o)?a.named=o:pt(o)&&(a.list=o),$t(n)?a.plural=n:we(n)?a.default=n:Ge(n)&&Et(a,n),[s,a]}function Ev(e,t,o,n,a,s){return{locale:t,key:o,warnHtmlMessage:a,onError:r=>{throw s&&s(r),r},onCacheKey:r=>J_(t,o,r)}}function Tv(e,t,o,n){const{modifiers:a,pluralRules:s,messageResolver:r,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:a,pluralRules:s,messages:A=>{let v=r(o,A);if(v==null&&u){const[,,b]=Up(u,A,t,i,l,c);v=r(b,A)}if(we(v)||wo(v)){let b=!1;const $=zp(e,A,t,v,A,()=>{b=!0});return b?Gp:$}else return Zt(v)?v:Gp}};return e.processor&&(f.processor=e.processor),n.list&&(f.list=n.list),n.named&&(f.named=n.named),$t(n.plural)&&(f.pluralIndex=n.plural),f}function Hp(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:s,localeFallbacker:r}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=Ni(...t),f=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const A=!!u.part,v=Li(e,u),b=r(e,a,v);if(!we(l)||l==="")return new Intl.DateTimeFormat(v,d).format(c);let _={},$,h=null;const m="datetime format";for(let P=0;P<b.length&&($=b[P],_=o[$]||{},h=_[l],!Ge(h));P++)Pi(e,l,$,f,m);if(!Ge(h)||!we($))return n?Qs:l;let w=`${$}__${l}`;qs(d)||(w=`${w}__${JSON.stringify(d)}`);let p=i.get(w);return p||(p=new Intl.DateTimeFormat($,Et({},h,d)),i.set(w,p)),A?p.formatToParts(c):p.format(c)}const Vp=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ni(...e){const[t,o,n,a]=e,s=ot();let r=ot(),i;if(we(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw xo(lo.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw xo(lo.INVALID_ISO_DATE_ARGUMENT)}}else if(e0(t)){if(isNaN(t.getTime()))throw xo(lo.INVALID_DATE_ARGUMENT);i=t}else if($t(t))i=t;else throw xo(lo.INVALID_ARGUMENT);return we(o)?s.key=o:Ge(o)&&Object.keys(o).forEach(l=>{Vp.includes(l)?r[l]=o[l]:s[l]=o[l]}),we(n)?s.locale=n:Ge(n)&&(r=n),Ge(a)&&(r=a),[s.key||"",i,s,r]}function Kp(e,t,o){const n=e;for(const a in o){const s=`${t}__${a}`;n.__datetimeFormatters.has(s)&&n.__datetimeFormatters.delete(s)}}function qp(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:s,localeFallbacker:r}=e,{__numberFormatters:i}=e,[l,c,u,d]=Mi(...t),f=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const A=!!u.part,v=Li(e,u),b=r(e,a,v);if(!we(l)||l==="")return new Intl.NumberFormat(v,d).format(c);let _={},$,h=null;const m="number format";for(let P=0;P<b.length&&($=b[P],_=o[$]||{},h=_[l],!Ge(h));P++)Pi(e,l,$,f,m);if(!Ge(h)||!we($))return n?Qs:l;let w=`${$}__${l}`;qs(d)||(w=`${w}__${JSON.stringify(d)}`);let p=i.get(w);return p||(p=new Intl.NumberFormat($,Et({},h,d)),i.set(w,p)),A?p.formatToParts(c):p.format(c)}const Wp=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Mi(...e){const[t,o,n,a]=e,s=ot();let r=ot();if(!$t(t))throw xo(lo.INVALID_ARGUMENT);const i=t;return we(o)?s.key=o:Ge(o)&&Object.keys(o).forEach(l=>{Wp.includes(l)?r[l]=o[l]:s[l]=o[l]}),we(n)?s.locale=n:Ge(n)&&(r=n),Ge(a)&&(r=a),[s.key||"",i,s,r]}function Yp(e,t,o){const n=e;for(const a in o){const s=`${t}__${a}`;n.__numberFormatters.has(s)&&n.__numberFormatters.delete(s)}}O0();/*!
|
||
* vue-i18n v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Nv="9.14.5";function Mv(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Go().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Go().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Go().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Go().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Go().__INTLIFY_PROD_DEVTOOLS__=!1)}const Rv=pv.__EXTEND_POINT__,Uo=Ws(Rv);Uo(),Uo(),Uo(),Uo(),Uo(),Uo(),Uo(),Uo(),Uo();const Xp=lo.__EXTEND_POINT__,Ut=Ws(Xp),kt={UNEXPECTED_RETURN_TYPE:Xp,INVALID_ARGUMENT:Ut(),MUST_BE_CALL_SETUP_TOP:Ut(),NOT_INSTALLED:Ut(),NOT_AVAILABLE_IN_LEGACY_MODE:Ut(),REQUIRED_VALUE:Ut(),INVALID_VALUE:Ut(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ut(),NOT_INSTALLED_WITH_PROVIDE:Ut(),UNEXPECTED_ERROR:Ut(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ut(),BRIDGE_SUPPORT_VUE_2_ONLY:Ut(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ut(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ut(),__EXTEND_POINT__:Ut()};function Lt(e,...t){return qn(e,null,void 0)}const Ri=Jo("__translateVNode"),Fi=Jo("__datetimeParts"),Ii=Jo("__numberParts"),Zp=Jo("__setPluralRules"),Jp=Jo("__injectWithOption"),Oi=Jo("__dispose");function Ba(e){if(!We(e)||wo(e))return e;for(const t in e)if(ro(e,t))if(!t.includes("."))We(e[t])&&Ba(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,s=!1;for(let r=0;r<n;r++){if(o[r]==="__proto__")throw new Error(`unsafe key: ${o[r]}`);if(o[r]in a||(a[o[r]]=ot()),!We(a[o[r]])){s=!0;break}a=a[o[r]]}if(s||(wo(a)?_p.includes(o[n])||delete e[t]:(a[o[n]]=e[t],delete e[t])),!wo(a)){const r=a[o[n]];We(r)&&Ba(r)}}return e}function er(e,t){const{messages:o,__i18n:n,messageResolver:a,flatJson:s}=t,r=Ge(o)?o:pt(n)?ot():{[e]:ot()};if(pt(n)&&n.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(r[l]=r[l]||ot(),Xs(c,r[l])):Xs(c,r)}else we(i)&&Xs(JSON.parse(i),r)}),a==null&&s)for(const i in r)ro(r,i)&&Ba(r[i]);return r}function Qp(e){return e.type}function ed(e,t,o){let n=We(t.messages)?t.messages:ot();"__i18nGlobal"in o&&(n=er(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,n[s])});{if(We(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(We(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function td(e){return tt(Aa,null,e,0)}const od="__INTLIFY_META__",nd=()=>[],Fv=()=>!1;let ad=0;function sd(e){return(t,o,n,a)=>e(o,n,ko()||void 0,a)}const Iv=()=>{const e=ko();let t=null;return e&&(t=Qp(e)[od])?{[od]:t}:null};function Di(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,s=e.flatJson,r=Ks?he:$a,i=!!e.translateExistCompatible;let l=Ve(e.inheritLocale)?e.inheritLocale:!0;const c=r(o&&l?o.locale.value:we(e.locale)?e.locale:Xn),u=r(o&&l?o.fallbackLocale.value:we(e.fallbackLocale)||pt(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=r(er(c.value,e)),f=r(Ge(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),A=r(Ge(e.numberFormats)?e.numberFormats:{[c.value]:{}});let v=o?o.missingWarn:Ve(e.missingWarn)||Qo(e.missingWarn)?e.missingWarn:!0,b=o?o.fallbackWarn:Ve(e.fallbackWarn)||Qo(e.fallbackWarn)?e.fallbackWarn:!0,_=o?o.fallbackRoot:Ve(e.fallbackRoot)?e.fallbackRoot:!0,$=!!e.fallbackFormat,h=ct(e.missing)?e.missing:null,m=ct(e.missing)?sd(e.missing):null,w=ct(e.postTranslation)?e.postTranslation:null,p=o?o.warnHtmlMessage:Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,P=!!e.escapeParameter;const g=o?o.modifiers:Ge(e.modifiers)?e.modifiers:{};let C=e.pluralRules||o&&o.pluralRules,S;S=(()=>{a&&Fp(null);const Z={version:Nv,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:g,pluralRules:C,missing:m===null?void 0:m,missingWarn:v,fallbackWarn:b,fallbackFormat:$,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:p,escapeParameter:P,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};Z.datetimeFormats=f.value,Z.numberFormats=A.value,Z.__datetimeFormatters=Ge(S)?S.__datetimeFormatters:void 0,Z.__numberFormatters=Ge(S)?S.__numberFormatters:void 0;const le=kv(Z);return a&&Fp(le),le})(),Da(S,c.value,u.value);function H(){return[c.value,u.value,d.value,f.value,A.value]}const J=oe({get:()=>c.value,set:Z=>{c.value=Z,S.locale=c.value}}),U=oe({get:()=>u.value,set:Z=>{u.value=Z,S.fallbackLocale=u.value,Da(S,c.value,Z)}}),D=oe(()=>d.value),L=oe(()=>f.value),y=oe(()=>A.value);function M(){return ct(w)?w:null}function z(Z){w=Z,S.postTranslation=Z}function K(){return h}function Q(Z){Z!==null&&(m=sd(Z)),h=Z,S.missing=m}const ie=(Z,le,Ce,Te,qe,nt)=>{H();let Qe;try{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=o?vv():void 0),Qe=Z(S)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(Ce!=="translate exists"&&$t(Qe)&&Qe===Qs||Ce==="translate exists"&&!Qe){const[V,se]=le();return o&&_?Te(o):qe(V)}else{if(nt(Qe))return Qe;throw Lt(kt.UNEXPECTED_RETURN_TYPE)}};function j(...Z){return ie(le=>Reflect.apply(jp,null,[le,...Z]),()=>Ti(...Z),"translate",le=>Reflect.apply(le.t,le,[...Z]),le=>le,le=>we(le))}function be(...Z){const[le,Ce,Te]=Z;if(Te&&!We(Te))throw Lt(kt.INVALID_ARGUMENT);return j(le,Ce,Et({resolvedMessage:!0},Te||{}))}function xe(...Z){return ie(le=>Reflect.apply(Hp,null,[le,...Z]),()=>Ni(...Z),"datetime format",le=>Reflect.apply(le.d,le,[...Z]),()=>Ap,le=>we(le))}function fe(...Z){return ie(le=>Reflect.apply(qp,null,[le,...Z]),()=>Mi(...Z),"number format",le=>Reflect.apply(le.n,le,[...Z]),()=>Ap,le=>we(le))}function ke(Z){return Z.map(le=>we(le)||$t(le)||Ve(le)?td(String(le)):le)}const ne={normalize:ke,interpolate:Z=>Z,type:"vnode"};function ee(...Z){return ie(le=>{let Ce;const Te=le;try{Te.processor=ne,Ce=Reflect.apply(jp,null,[Te,...Z])}finally{Te.processor=null}return Ce},()=>Ti(...Z),"translate",le=>le[Ri](...Z),le=>[td(le)],le=>pt(le))}function de(...Z){return ie(le=>Reflect.apply(qp,null,[le,...Z]),()=>Mi(...Z),"number format",le=>le[Ii](...Z),nd,le=>we(le)||pt(le))}function Pe(...Z){return ie(le=>Reflect.apply(Hp,null,[le,...Z]),()=>Ni(...Z),"datetime format",le=>le[Fi](...Z),nd,le=>we(le)||pt(le))}function T(Z){C=Z,S.pluralRules=C}function F(Z,le){return ie(()=>{if(!Z)return!1;const Ce=we(le)?le:c.value,Te=Y(Ce),qe=S.messageResolver(Te,Z);return i?qe!=null:wo(qe)||Zt(qe)||we(qe)},()=>[Z],"translate exists",Ce=>Reflect.apply(Ce.te,Ce,[Z,le]),Fv,Ce=>Ve(Ce))}function I(Z){let le=null;const Ce=Lp(S,u.value,c.value);for(let Te=0;Te<Ce.length;Te++){const qe=d.value[Ce[Te]]||{},nt=S.messageResolver(qe,Z);if(nt!=null){le=nt;break}}return le}function W(Z){const le=I(Z);return le??(o?o.tm(Z)||{}:{})}function Y(Z){return d.value[Z]||{}}function O(Z,le){if(s){const Ce={[Z]:le};for(const Te in Ce)ro(Ce,Te)&&Ba(Ce[Te]);le=Ce[Z]}d.value[Z]=le,S.messages=d.value}function ue(Z,le){d.value[Z]=d.value[Z]||{};const Ce={[Z]:le};if(s)for(const Te in Ce)ro(Ce,Te)&&Ba(Ce[Te]);le=Ce[Z],Xs(le,d.value[Z]),S.messages=d.value}function te(Z){return f.value[Z]||{}}function k(Z,le){f.value[Z]=le,S.datetimeFormats=f.value,Kp(S,Z,le)}function x(Z,le){f.value[Z]=Et(f.value[Z]||{},le),S.datetimeFormats=f.value,Kp(S,Z,le)}function B(Z){return A.value[Z]||{}}function X(Z,le){A.value[Z]=le,S.numberFormats=A.value,Yp(S,Z,le)}function me(Z,le){A.value[Z]=Et(A.value[Z]||{},le),S.numberFormats=A.value,Yp(S,Z,le)}ad++,o&&Ks&&(Re(o.locale,Z=>{l&&(c.value=Z,S.locale=Z,Da(S,c.value,u.value))}),Re(o.fallbackLocale,Z=>{l&&(u.value=Z,S.fallbackLocale=Z,Da(S,c.value,u.value))}));const ce={id:ad,locale:J,fallbackLocale:U,get inheritLocale(){return l},set inheritLocale(Z){l=Z,Z&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Da(S,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:D,get modifiers(){return g},get pluralRules(){return C||{}},get isGlobal(){return a},get missingWarn(){return v},set missingWarn(Z){v=Z,S.missingWarn=v},get fallbackWarn(){return b},set fallbackWarn(Z){b=Z,S.fallbackWarn=b},get fallbackRoot(){return _},set fallbackRoot(Z){_=Z},get fallbackFormat(){return $},set fallbackFormat(Z){$=Z,S.fallbackFormat=$},get warnHtmlMessage(){return p},set warnHtmlMessage(Z){p=Z,S.warnHtmlMessage=Z},get escapeParameter(){return P},set escapeParameter(Z){P=Z,S.escapeParameter=Z},t:j,getLocaleMessage:Y,setLocaleMessage:O,mergeLocaleMessage:ue,getPostTranslationHandler:M,setPostTranslationHandler:z,getMissingHandler:K,setMissingHandler:Q,[Zp]:T};return ce.datetimeFormats=L,ce.numberFormats=y,ce.rt=be,ce.te=F,ce.tm=W,ce.d=xe,ce.n=fe,ce.getDateTimeFormat=te,ce.setDateTimeFormat=k,ce.mergeDateTimeFormat=x,ce.getNumberFormat=B,ce.setNumberFormat=X,ce.mergeNumberFormat=me,ce[Jp]=n,ce[Ri]=ee,ce[Fi]=Pe,ce[Ii]=de,ce}function Ov(e){const t=we(e.locale)?e.locale:Xn,o=we(e.fallbackLocale)||pt(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ct(e.missing)?e.missing:void 0,a=Ve(e.silentTranslationWarn)||Qo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ve(e.silentFallbackWarn)||Qo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Ve(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ge(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ct(e.postTranslation)?e.postTranslation:void 0,d=we(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,A=Ve(e.sync)?e.sync:!0;let v=e.messages;if(Ge(e.sharedMessages)){const P=e.sharedMessages;v=Object.keys(P).reduce((C,S)=>{const G=C[S]||(C[S]={});return Et(G,P[S]),C},v||{})}const{__i18n:b,__root:_,__injectWithOption:$}=e,h=e.datetimeFormats,m=e.numberFormats,w=e.flatJson,p=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:v,flatJson:w,datetimeFormats:h,numberFormats:m,missing:n,missingWarn:a,fallbackWarn:s,fallbackRoot:r,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:A,translateExistCompatible:p,__i18n:b,__root:_,__injectWithOption:$}}function Bi(e={},t){{const o=Di(Ov(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(s){o.locale.value=s},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(s){o.fallbackLocale.value=s},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return o.getMissingHandler()},set missing(s){o.setMissingHandler(s)},get silentTranslationWarn(){return Ve(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(s){o.missingWarn=Ve(s)?!s:s},get silentFallbackWarn(){return Ve(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(s){o.fallbackWarn=Ve(s)?!s:s},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(s){o.fallbackFormat=s},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(s){o.setPostTranslationHandler(s)},get sync(){return o.inheritLocale},set sync(s){o.inheritLocale=s},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){o.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(s){o.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...s){const[r,i,l]=s,c={};let u=null,d=null;if(!we(r))throw Lt(kt.INVALID_ARGUMENT);const f=r;return we(i)?c.locale=i:pt(i)?u=i:Ge(i)&&(d=i),pt(l)?u=l:Ge(l)&&(d=l),Reflect.apply(o.t,o,[f,u||d||{},c])},rt(...s){return Reflect.apply(o.rt,o,[...s])},tc(...s){const[r,i,l]=s,c={plural:1};let u=null,d=null;if(!we(r))throw Lt(kt.INVALID_ARGUMENT);const f=r;return we(i)?c.locale=i:$t(i)?c.plural=i:pt(i)?u=i:Ge(i)&&(d=i),we(l)?c.locale=l:pt(l)?u=l:Ge(l)&&(d=l),Reflect.apply(o.t,o,[f,u||d||{},c])},te(s,r){return o.te(s,r)},tm(s){return o.tm(s)},getLocaleMessage(s){return o.getLocaleMessage(s)},setLocaleMessage(s,r){o.setLocaleMessage(s,r)},mergeLocaleMessage(s,r){o.mergeLocaleMessage(s,r)},d(...s){return Reflect.apply(o.d,o,[...s])},getDateTimeFormat(s){return o.getDateTimeFormat(s)},setDateTimeFormat(s,r){o.setDateTimeFormat(s,r)},mergeDateTimeFormat(s,r){o.mergeDateTimeFormat(s,r)},n(...s){return Reflect.apply(o.n,o,[...s])},getNumberFormat(s){return o.getNumberFormat(s)},setNumberFormat(s,r){o.setNumberFormat(s,r)},mergeNumberFormat(s,r){o.mergeNumberFormat(s,r)},getChoiceIndex(s,r){return-1}};return a.__extender=n,a}}const Gi={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Dv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ue?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},ot())}function rd(e){return Ue}const id=wa({name:"i18n-t",props:Et({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>$t(e)||!isNaN(e)}},Gi),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||bt({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(o).filter(d=>d!=="_"),r=ot();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=we(e.plural)?+e.plural:e.plural);const i=Dv(t,s),l=a[Ri](e.keypath,i,r),c=Et(ot(),n),u=we(e.tag)||We(e.tag)?e.tag:rd();return Pu(u,c,l)}}});function Bv(e){return pt(e)&&!we(e[0])}function ld(e,t,o,n){const{slots:a,attrs:s}=t;return()=>{const r={part:!0};let i=ot();e.locale&&(r.locale=e.locale),we(e.format)?r.key=e.format:We(e.format)&&(we(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((f,A)=>o.includes(A)?Et(ot(),f,{[A]:e.format[A]}):f,ot()));const l=n(e.value,r,i);let c=[r.key];pt(l)?c=l.map((f,A)=>{const v=a[f.type],b=v?v({[f.type]:f.value,index:A,parts:l}):[f.value];return Bv(b)&&(b[0].key=`${f.type}-${A}`),b}):we(l)&&(c=[l]);const u=Et(ot(),s),d=we(e.tag)||We(e.tag)?e.tag:rd();return Pu(d,u,c)}}const cd=wa({name:"i18n-n",props:Et({value:{type:Number,required:!0},format:{type:[String,Object]}},Gi),setup(e,t){const o=e.i18n||bt({useScope:e.scope,__useComponent:!0});return ld(e,t,Wp,(...n)=>o[Ii](...n))}}),ud=wa({name:"i18n-d",props:Et({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Gi),setup(e,t){const o=e.i18n||bt({useScope:e.scope,__useComponent:!0});return ld(e,t,Vp,(...n)=>o[Fi](...n))}});function Gv(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 jv(e){const t=r=>{const{instance:i,modifiers:l,value:c}=r;if(!i||!i.$)throw Lt(kt.UNEXPECTED_ERROR);const u=Gv(e,i.$),d=pd(c);return[Reflect.apply(u.t,u,[...dd(d)]),u]};return{created:(r,i)=>{const[l,c]=t(i);Ks&&e.global===c&&(r.__i18nWatcher=Re(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{Ks&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const l=r.__composer,c=pd(i);r.textContent=Reflect.apply(l.t,l,[...dd(c)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function pd(e){if(we(e))return{path:e};if(Ge(e)){if(!("path"in e))throw Lt(kt.REQUIRED_VALUE,"path");return e}else throw Lt(kt.INVALID_VALUE)}function dd(e){const{path:t,locale:o,args:n,choice:a,plural:s}=e,r={},i=n||{};return we(o)&&(r.locale=o),$t(a)&&(r.plural=a),$t(s)&&(r.plural=s),[t,i,r]}function Uv(e,t,...o){const n=Ge(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Ve(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":id.name,"I18nT"].forEach(r=>e.component(r,id)),[cd.name,"I18nN"].forEach(r=>e.component(r,cd)),[ud.name,"I18nD"].forEach(r=>e.component(r,ud))),e.directive("t",jv(t))}function zv(e,t,o){return{beforeCreate(){const n=ko();if(!n)throw Lt(kt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=gd(e,s);else{s.__injectWithOption=!0,s.__extender=o.__vueI18nExtend,this.$i18n=Bi(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=gd(e,a);else{this.$i18n=Bi({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&ed(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=ko();if(!n)throw Lt(kt.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 gd(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[Zp](t.pluralizationRules||e.pluralizationRules);const o=er(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 Hv=Jo("global-vue-i18n");function Vv(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,s=new Map,[r,i]=Kv(e,o),l=Jo("");function c(f){return s.get(f)||null}function u(f,A){s.set(f,A)}function d(f){s.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(A,...v){if(A.__VUE_I18N_SYMBOL__=l,A.provide(A.__VUE_I18N_SYMBOL__,f),Ge(v[0])){const $=v[0];f.__composerExtend=$.__composerExtend,f.__vueI18nExtend=$.__vueI18nExtend}let b=null;!o&&n&&(b=t1(A,f.global)),__VUE_I18N_FULL_INSTALL__&&Uv(A,f,...v),__VUE_I18N_LEGACY_API__&&o&&A.mixin(zv(i,i.__composer,f));const _=A.unmount;A.unmount=()=>{b&&b(),f.dispose(),_()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function bt(e={}){const t=ko();if(t==null)throw Lt(kt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(kt.NOT_INSTALLED);const o=qv(t),n=Yv(o),a=Qp(t),s=Wv(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Lt(kt.NOT_AVAILABLE_IN_LEGACY_MODE);return Qv(t,s,n,e)}if(s==="global")return ed(n,e,a),n;if(s==="parent"){let l=Xv(o,t,e.__useComponent);return l==null&&(l=n),l}const r=o;let i=r.__getInstance(t);if(i==null){const l=Et({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Di(l),r.__composerExtend&&(i[Oi]=r.__composerExtend(i)),Jv(r,t,i),r.__setInstance(t,i)}return i}function Kv(e,t,o){const n=Fr();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Bi(e)):n.run(()=>Di(e));if(a==null)throw Lt(kt.UNEXPECTED_ERROR);return[n,a]}}function qv(e){{const t=Ne(e.isCE?Hv:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?kt.NOT_INSTALLED_WITH_PROVIDE:kt.UNEXPECTED_ERROR);return t}}function Wv(e,t){return qs(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Yv(e){return e.mode==="composition"?e.global:e.global.__composer}function Xv(e,t,o=!1){let n=null;const a=t.root;let s=Zv(t,o);for(;s!=null;){const r=e;if(e.mode==="composition")n=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=r.__getInstance(s);i!=null&&(n=i.__composer,o&&n&&!n[Jp]&&(n=null))}if(n!=null||a===s)break;s=s.parent}return n}function Zv(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Jv(e,t,o){$o(()=>{},t),Ts(()=>{const n=o;e.__deleteInstance(t);const a=n[Oi];a&&(a(),delete n[Oi])},t)}function Qv(e,t,o,n={}){const a=t==="local",s=$a(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Lt(kt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ve(n.inheritLocale)?n.inheritLocale:!we(n.locale),i=he(!a||r?o.locale.value:we(n.locale)?n.locale:Xn),l=he(!a||r?o.fallbackLocale.value:we(n.fallbackLocale)||pt(n.fallbackLocale)||Ge(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=he(er(i.value,n)),u=he(Ge(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=he(Ge(n.numberFormats)?n.numberFormats:{[i.value]:{}}),f=a?o.missingWarn:Ve(n.missingWarn)||Qo(n.missingWarn)?n.missingWarn:!0,A=a?o.fallbackWarn:Ve(n.fallbackWarn)||Qo(n.fallbackWarn)?n.fallbackWarn:!0,v=a?o.fallbackRoot:Ve(n.fallbackRoot)?n.fallbackRoot:!0,b=!!n.fallbackFormat,_=ct(n.missing)?n.missing:null,$=ct(n.postTranslation)?n.postTranslation:null,h=a?o.warnHtmlMessage:Ve(n.warnHtmlMessage)?n.warnHtmlMessage:!0,m=!!n.escapeParameter,w=a?o.modifiers:Ge(n.modifiers)?n.modifiers:{},p=n.pluralRules||a&&o.pluralRules;function P(){return[i.value,l.value,c.value,u.value,d.value]}const g=oe({get:()=>s.value?s.value.locale.value:i.value,set:I=>{s.value&&(s.value.locale.value=I),i.value=I}}),C=oe({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:I=>{s.value&&(s.value.fallbackLocale.value=I),l.value=I}}),S=oe(()=>s.value?s.value.messages.value:c.value),G=oe(()=>u.value),H=oe(()=>d.value);function J(){return s.value?s.value.getPostTranslationHandler():$}function U(I){s.value&&s.value.setPostTranslationHandler(I)}function D(){return s.value?s.value.getMissingHandler():_}function L(I){s.value&&s.value.setMissingHandler(I)}function y(I){return P(),I()}function M(...I){return s.value?y(()=>Reflect.apply(s.value.t,null,[...I])):y(()=>"")}function z(...I){return s.value?Reflect.apply(s.value.rt,null,[...I]):""}function K(...I){return s.value?y(()=>Reflect.apply(s.value.d,null,[...I])):y(()=>"")}function Q(...I){return s.value?y(()=>Reflect.apply(s.value.n,null,[...I])):y(()=>"")}function ie(I){return s.value?s.value.tm(I):{}}function j(I,W){return s.value?s.value.te(I,W):!1}function be(I){return s.value?s.value.getLocaleMessage(I):{}}function xe(I,W){s.value&&(s.value.setLocaleMessage(I,W),c.value[I]=W)}function fe(I,W){s.value&&s.value.mergeLocaleMessage(I,W)}function ke(I){return s.value?s.value.getDateTimeFormat(I):{}}function $e(I,W){s.value&&(s.value.setDateTimeFormat(I,W),u.value[I]=W)}function ne(I,W){s.value&&s.value.mergeDateTimeFormat(I,W)}function ee(I){return s.value?s.value.getNumberFormat(I):{}}function de(I,W){s.value&&(s.value.setNumberFormat(I,W),d.value[I]=W)}function Pe(I,W){s.value&&s.value.mergeNumberFormat(I,W)}const T={get id(){return s.value?s.value.id:-1},locale:g,fallbackLocale:C,messages:S,datetimeFormats:G,numberFormats:H,get inheritLocale(){return s.value?s.value.inheritLocale:r},set inheritLocale(I){s.value&&(s.value.inheritLocale=I)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:w},get pluralRules(){return s.value?s.value.pluralRules:p},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:f},set missingWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackWarn(){return s.value?s.value.fallbackWarn:A},set fallbackWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackRoot(){return s.value?s.value.fallbackRoot:v},set fallbackRoot(I){s.value&&(s.value.fallbackRoot=I)},get fallbackFormat(){return s.value?s.value.fallbackFormat:b},set fallbackFormat(I){s.value&&(s.value.fallbackFormat=I)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:h},set warnHtmlMessage(I){s.value&&(s.value.warnHtmlMessage=I)},get escapeParameter(){return s.value?s.value.escapeParameter:m},set escapeParameter(I){s.value&&(s.value.escapeParameter=I)},t:M,getPostTranslationHandler:J,setPostTranslationHandler:U,getMissingHandler:D,setMissingHandler:L,rt:z,d:K,n:Q,tm:ie,te:j,getLocaleMessage:be,setLocaleMessage:xe,mergeLocaleMessage:fe,getDateTimeFormat:ke,setDateTimeFormat:$e,mergeDateTimeFormat:ne,getNumberFormat:ee,setNumberFormat:de,mergeNumberFormat:Pe};function F(I){I.locale.value=i.value,I.fallbackLocale.value=l.value,Object.keys(c.value).forEach(W=>{I.mergeLocaleMessage(W,c.value[W])}),Object.keys(u.value).forEach(W=>{I.mergeDateTimeFormat(W,u.value[W])}),Object.keys(d.value).forEach(W=>{I.mergeNumberFormat(W,d.value[W])}),I.escapeParameter=m,I.fallbackFormat=b,I.fallbackRoot=v,I.fallbackWarn=A,I.missingWarn=f,I.warnHtmlMessage=h}return Vc(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Lt(kt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const I=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=I.locale.value,l.value=I.fallbackLocale.value,c.value=I.messages.value,u.value=I.datetimeFormats.value,d.value=I.numberFormats.value):a&&F(I)}),T}const e1=["locale","fallbackLocale","availableLocales"],fd=["t","rt","d","n","tm","te"];function t1(e,t){const o=Object.create(null);return e1.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Lt(kt.UNEXPECTED_ERROR);const r=ut(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(o,a,r)}),e.config.globalProperties.$i18n=o,fd.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Lt(kt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,fd.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Mv(),__INTLIFY_JIT_COMPILATION__?Ep(Av):Ep(Sv),bv(Z0),$v(Lp),__INTLIFY_PROD_DEVTOOLS__){const e=Go();e.__INTLIFY__=!0,rv(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const o1=Object.assign({"./locales/ar/allPeopleGroups.json":ab,"./locales/ar/aria.json":sb,"./locales/ar/buttons.json":rb,"./locales/ar/connectivity.json":ib,"./locales/ar/controls.json":lb,"./locales/ar/dashboard.json":cb,"./locales/ar/detail.json":ub,"./locales/ar/gospel.json":pb,"./locales/ar/grid.json":db,"./locales/ar/legend.json":gb,"./locales/ar/messages.json":fb,"./locales/ar/options.json":hb,"./locales/ar/popup.json":mb,"./locales/ar/prayerLaps.json":bb,"./locales/ar/regions.json":$b,"./locales/ar/search.json":yb,"./locales/ar/studio.json":_b,"./locales/ar/tabs.json":vb,"./locales/ar/vision.json":kb,"./locales/de/allPeopleGroups.json":wb,"./locales/de/aria.json":xb,"./locales/de/buttons.json":Lb,"./locales/de/connectivity.json":Sb,"./locales/de/controls.json":Ab,"./locales/de/dashboard.json":Pb,"./locales/de/detail.json":Cb,"./locales/de/gospel.json":Eb,"./locales/de/grid.json":Tb,"./locales/de/legend.json":Nb,"./locales/de/messages.json":Mb,"./locales/de/options.json":Rb,"./locales/de/popup.json":Fb,"./locales/de/prayerLaps.json":Ib,"./locales/de/regions.json":Ob,"./locales/de/search.json":Db,"./locales/de/studio.json":Bb,"./locales/de/tabs.json":Gb,"./locales/de/vision.json":jb,"./locales/en/allPeopleGroups.json":Ub,"./locales/en/aria.json":zb,"./locales/en/buttons.json":Hb,"./locales/en/connectivity.json":Vb,"./locales/en/controls.json":Kb,"./locales/en/dashboard.json":qb,"./locales/en/detail.json":Wb,"./locales/en/gospel.json":Yb,"./locales/en/grid.json":Xb,"./locales/en/legend.json":Zb,"./locales/en/messages.json":Jb,"./locales/en/options.json":Qb,"./locales/en/popup.json":e$,"./locales/en/prayerLaps.json":t$,"./locales/en/regions.json":o$,"./locales/en/search.json":n$,"./locales/en/studio.json":a$,"./locales/en/tabs.json":s$,"./locales/en/vision.json":r$,"./locales/es/allPeopleGroups.json":i$,"./locales/es/aria.json":l$,"./locales/es/buttons.json":c$,"./locales/es/connectivity.json":u$,"./locales/es/controls.json":p$,"./locales/es/dashboard.json":d$,"./locales/es/detail.json":g$,"./locales/es/gospel.json":f$,"./locales/es/grid.json":h$,"./locales/es/legend.json":m$,"./locales/es/messages.json":b$,"./locales/es/options.json":$$,"./locales/es/popup.json":y$,"./locales/es/prayerLaps.json":_$,"./locales/es/regions.json":v$,"./locales/es/search.json":k$,"./locales/es/studio.json":w$,"./locales/es/tabs.json":x$,"./locales/es/vision.json":L$,"./locales/fr/allPeopleGroups.json":S$,"./locales/fr/aria.json":A$,"./locales/fr/buttons.json":P$,"./locales/fr/connectivity.json":C$,"./locales/fr/controls.json":E$,"./locales/fr/dashboard.json":T$,"./locales/fr/detail.json":N$,"./locales/fr/gospel.json":M$,"./locales/fr/grid.json":R$,"./locales/fr/legend.json":F$,"./locales/fr/messages.json":I$,"./locales/fr/options.json":O$,"./locales/fr/popup.json":D$,"./locales/fr/prayerLaps.json":B$,"./locales/fr/regions.json":G$,"./locales/fr/search.json":j$,"./locales/fr/studio.json":U$,"./locales/fr/tabs.json":z$,"./locales/fr/vision.json":H$,"./locales/hi/allPeopleGroups.json":V$,"./locales/hi/aria.json":K$,"./locales/hi/buttons.json":q$,"./locales/hi/connectivity.json":W$,"./locales/hi/controls.json":Y$,"./locales/hi/dashboard.json":X$,"./locales/hi/detail.json":Z$,"./locales/hi/gospel.json":J$,"./locales/hi/grid.json":Q$,"./locales/hi/legend.json":ey,"./locales/hi/messages.json":ty,"./locales/hi/options.json":oy,"./locales/hi/popup.json":ny,"./locales/hi/prayerLaps.json":ay,"./locales/hi/regions.json":sy,"./locales/hi/search.json":ry,"./locales/hi/studio.json":iy,"./locales/hi/tabs.json":ly,"./locales/hi/vision.json":cy,"./locales/it/allPeopleGroups.json":uy,"./locales/it/aria.json":py,"./locales/it/buttons.json":dy,"./locales/it/connectivity.json":gy,"./locales/it/controls.json":fy,"./locales/it/dashboard.json":hy,"./locales/it/detail.json":my,"./locales/it/gospel.json":by,"./locales/it/grid.json":$y,"./locales/it/legend.json":yy,"./locales/it/messages.json":_y,"./locales/it/options.json":vy,"./locales/it/popup.json":ky,"./locales/it/prayerLaps.json":wy,"./locales/it/regions.json":xy,"./locales/it/search.json":Ly,"./locales/it/studio.json":Sy,"./locales/it/tabs.json":Ay,"./locales/it/vision.json":Py,"./locales/pt/allPeopleGroups.json":Cy,"./locales/pt/aria.json":Ey,"./locales/pt/buttons.json":Ty,"./locales/pt/connectivity.json":Ny,"./locales/pt/controls.json":My,"./locales/pt/dashboard.json":Ry,"./locales/pt/detail.json":Fy,"./locales/pt/gospel.json":Iy,"./locales/pt/grid.json":Oy,"./locales/pt/legend.json":Dy,"./locales/pt/messages.json":By,"./locales/pt/options.json":Gy,"./locales/pt/popup.json":jy,"./locales/pt/prayerLaps.json":Uy,"./locales/pt/regions.json":zy,"./locales/pt/search.json":Hy,"./locales/pt/studio.json":Vy,"./locales/pt/tabs.json":Ky,"./locales/pt/vision.json":qy,"./locales/ro/allPeopleGroups.json":Wy,"./locales/ro/aria.json":Yy,"./locales/ro/buttons.json":Xy,"./locales/ro/connectivity.json":Zy,"./locales/ro/controls.json":Jy,"./locales/ro/dashboard.json":Qy,"./locales/ro/detail.json":e_,"./locales/ro/gospel.json":t_,"./locales/ro/grid.json":o_,"./locales/ro/legend.json":n_,"./locales/ro/messages.json":a_,"./locales/ro/options.json":s_,"./locales/ro/popup.json":r_,"./locales/ro/prayerLaps.json":i_,"./locales/ro/regions.json":l_,"./locales/ro/search.json":c_,"./locales/ro/studio.json":u_,"./locales/ro/tabs.json":p_,"./locales/ro/vision.json":d_,"./locales/ru/allPeopleGroups.json":g_,"./locales/ru/aria.json":f_,"./locales/ru/buttons.json":h_,"./locales/ru/connectivity.json":m_,"./locales/ru/controls.json":b_,"./locales/ru/dashboard.json":$_,"./locales/ru/detail.json":y_,"./locales/ru/gospel.json":__,"./locales/ru/grid.json":v_,"./locales/ru/legend.json":k_,"./locales/ru/messages.json":w_,"./locales/ru/options.json":x_,"./locales/ru/popup.json":L_,"./locales/ru/prayerLaps.json":S_,"./locales/ru/regions.json":A_,"./locales/ru/search.json":P_,"./locales/ru/studio.json":C_,"./locales/ru/tabs.json":E_,"./locales/ru/vision.json":T_,"./locales/zh/allPeopleGroups.json":N_,"./locales/zh/aria.json":M_,"./locales/zh/buttons.json":R_,"./locales/zh/connectivity.json":F_,"./locales/zh/controls.json":I_,"./locales/zh/dashboard.json":O_,"./locales/zh/detail.json":D_,"./locales/zh/gospel.json":B_,"./locales/zh/grid.json":G_,"./locales/zh/legend.json":j_,"./locales/zh/messages.json":U_,"./locales/zh/options.json":z_,"./locales/zh/popup.json":H_,"./locales/zh/prayerLaps.json":V_,"./locales/zh/regions.json":K_,"./locales/zh/search.json":q_,"./locales/zh/studio.json":W_,"./locales/zh/tabs.json":Y_,"./locales/zh/vision.json":X_}),_n={};for(const[e,t]of Object.entries(o1)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;_n[n]??(_n[n]={}),_n[n][a]=t}_n.en;const Ga=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],hd=new Set(["ar"]);function n1(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function md(){var n;const e=n1();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"}function a1(){const e=md();try{hd.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const t=Vv({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:_n,missingWarn:!1,fallbackWarn:!1});Re(t.global.locale,n=>$d(n),{immediate:!0});const o=t.install.bind(t);return t.install=(n,...a)=>{const s=o(n,...a);return n.provide("appI18n",t),s},t}const bd="__DOXA_PAGE_LOCALE";function $d(e){const t=String(e||"").split("-")[0].toLowerCase();if(Ga.includes(t))try{typeof window<"u"&&(window[bd]=t)}catch{}}function s1(){try{return typeof window<"u"&&window[bd]||""}catch{return""}}function ja(e,t){const o=a=>{let s=_n[a];for(const r of String(e).split(".")){if(!s||typeof s!="object")return;s=s[r]}return typeof s=="string"?s:void 0},n=t||s1()||md();return o(n)??o("en")}function wt(e,t){const o=t||r1(e);$o(()=>{var i;const n=ko();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${o}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",o),r.textContent=e,s.appendChild(r)})}function r1(e){let t=0;for(let o=0;o<e.length;o++)t=(t<<5)-t+e.charCodeAt(o),t|=0;return"s"+Math.abs(t).toString(36)}const i1={class:"pin-hint-pill"},l1={__name:"PinHint",setup(e){const t={"messages.pinHint.tapDot":"Tap a dot to see who still needs prayer"};let o=C=>t[C]||C,n=()=>!1;try{const C=bt();o=C.t,n=C.te}catch{}const a=Ne("uiStore",null),s=Ne("profileConfig",null),r=oe(()=>(a==null?void 0:a.theme)==="dark"),i=oe(()=>{var G;const C=(G=s==null?void 0:s.value)==null?void 0:G.pinHintLabel;if(C)return C;const S="Tap a coloured dot — someone still needs prayer";try{return n("messages.pinHint.tapDot")?o("messages.pinHint.tapDot"):S}catch{return S}}),l=he(!1),c=he(null);let u=null,d=null,f=null,A=null,v=null,b=null,_=[],$=null,h=null;function m(){l.value=!1}function w(C,S){var H;let G=C==null?void 0:C.parentElement;for(let J=0;G&&J<12;J++,G=G.parentElement){if(G===S||(H=G.classList)!=null&&H.contains("profile-loader"))return null;let U="";try{U=getComputedStyle(G).position}catch{}if(U&&U!=="static"){const D=G.getBoundingClientRect();if(D.height>=120&&D.width>=160)return G}}return null}function p(C){var G;const S=(G=A==null?void 0:A.querySelector)==null?void 0:G.call(A,".legend-mobile-sheet");if(!S)return 1/0;if(v&&b!==S){try{v.disconnect()}catch{}v=null}if(!v&&typeof ResizeObserver<"u")try{v=new ResizeObserver(()=>P()),v.observe(S),b=S}catch{v=null}try{const H=S.getBoundingClientRect();return!(H.height>16)||!(H.width>16)||C.right<=H.left||H.right<=C.left?1/0:H.top}catch{return 1/0}}function P(){const C=c.value;if(C)try{C.style.removeProperty("--pin-hint-lift");const S=C.getBoundingClientRect();if(!S.height)return;const G=Math.min(window.innerHeight,p(S)),H=Math.round(S.bottom-G);H>0&&C.style.setProperty("--pin-hint-lift",H+8+"px")}catch{}}function g(C){const S=c.value;if(!S||!(C!=null&&C.querySelector))return;let G=0;try{const J=C.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(J){const U=J.getBoundingClientRect(),D=S.parentElement,L=D?D.getBoundingClientRect():null;if(G=L?Math.max(U.height||0,L.bottom-U.top):U.height||0,h!==J&&typeof ResizeObserver<"u"){if(f)try{f.disconnect()}catch{}h=J,f=new ResizeObserver(()=>g(C)),f.observe(J)}}}catch{}const H=Math.min(Math.max(Math.ceil(G)||20,20),72);S.style.setProperty("--pin-hint-attrib-clear",H+"px"),P()}return $o(()=>{var H,J,U;const C=ko(),S=(U=(J=(H=C==null?void 0:C.proxy)==null?void 0:H.$el)==null?void 0:J.getRootNode)==null?void 0:U.call(J);if(!S||typeof S.querySelector!="function")return;A=S;let G=0;u=setInterval(()=>{G++;const D=S.querySelector("canvas");D?(clearInterval(u),u=null,l.value=!0,It(()=>{const L=w(D,S),y=c.value;if(L&&y&&y.parentElement!==L)try{L.appendChild(y),d=L}catch{}g(S),P(),_.push(setTimeout(P,1200),setTimeout(P,3e3),setTimeout(P,6e3));try{const M=c.value&&c.value.offsetParent||null;if(M&&typeof ResizeObserver<"u"){if($)try{$.disconnect()}catch{}$=new ResizeObserver(()=>P()),$.observe(M)}}catch{}})):G>40&&(clearInterval(u),u=null)},300)}),Xt(()=>{var C;if(u&&clearInterval(u),f){try{f.disconnect()}catch{}f=null}if(h=null,$){try{$.disconnect()}catch{}$=null}if(v){try{v.disconnect()}catch{}v=null}b=null;for(const S of _)clearTimeout(S);if(_=[],A=null,d&&((C=c.value)==null?void 0:C.parentElement)===d)try{d.removeChild(c.value)}catch{}d=null}),wt(`
|
||
.pin-hint { position: absolute; left: 50%;
|
||
bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%);
|
||
z-index: 2147482000; pointer-events: none;
|
||
max-width: calc(100% - 24px); box-sizing: border-box;
|
||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||
animation: pinhint-in .5s ease both; }
|
||
.pin-hint-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 9px;
|
||
padding: 9px 14px 9px 11px; border-radius: 999px;
|
||
background: rgba(23, 29, 38, .92); color: #fff; font-size: 13.5px; font-weight: 600;
|
||
letter-spacing: .01em; box-shadow: 0 4px 18px rgba(0,0,0,.30);
|
||
animation: pinhint-bob 2.6s ease-in-out 1s infinite; }
|
||
.pin-hint-dot { position: relative; width: 12px; height: 12px; flex: none; }
|
||
.pin-hint-dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
|
||
background: #e05252; box-shadow: 0 0 0 2px rgba(224,82,82,.35); }
|
||
.pin-hint-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%;
|
||
border: 2px solid rgba(224,82,82,.55); animation: pinhint-pulse 1.8s ease-out infinite; }
|
||
.pin-hint-x { pointer-events: auto; border: none; background: none; color: #aeb7c2;
|
||
font-size: 16px; line-height: 1; cursor: pointer; padding: 0 0 0 2px; }
|
||
.pin-hint-x:hover { color: #fff; }
|
||
@media (pointer:coarse) { .pin-hint-x { min-width: 24px; min-height: 24px;
|
||
display: inline-flex; align-items: center; justify-content: center; padding: 0; } }
|
||
.pin-hint.dark .pin-hint-pill { background: rgba(240, 243, 247, .95); color: #1b212b; }
|
||
.pin-hint.dark .pin-hint-x { color: #5a6470; }
|
||
.pin-hint.dark .pin-hint-x:hover { color: #1b212b; }
|
||
@keyframes pinhint-pulse { 0% { transform: scale(.6); opacity: .9 } 70% { transform: scale(1.5); opacity: 0 } 100% { opacity: 0 } }
|
||
@keyframes pinhint-bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }
|
||
@keyframes pinhint-in { from { opacity: 0; transform: translateX(-50%) translateY(10px) } to { opacity: 1; transform: translateX(-50%) translateY(0) } }
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; }
|
||
}
|
||
`,"pin-hint"),(C,S)=>l.value?(ae(),pe("div",{key:0,ref_key:"hintEl",ref:c,class:Me(["pin-hint",{dark:r.value}]),role:"status"},[R("span",i1,[S[0]||(S[0]=R("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),Pt(" "+ye(i.value)+" ",1),R("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:m},"×")])],2)):Le("",!0)}},tr="mapbox://styles/mapbox/standard",c1=tr,u1=tr,p1=!1,yd={lightPreset:"night",theme:"default"},d1={lightPreset:"day",theme:"monochrome"};function g1(e){return e?/affinity|region|language/i.test(String(e))?"light":"dark":null}function f1(e){let t=!1;const o=new WeakSet;function n(){return!1}function a(){return n()?"night":"day"}let s="dark";function r($){return g1($)}function i($,h){$!=="light"&&$!=="dark"||(s=$,h&&b(h))}function l(){return{...s==="light"?d1:yd}}function c(){return tr}function u(){return{basemap:l()}}function d($,h){try{return typeof $.getConfigProperty=="function"?$.getConfigProperty("basemap",h):void 0}catch{return}}function f($){return!!$&&typeof $.setConfigProperty=="function"&&typeof $.getConfigProperty=="function"}function A($,h=!1){if(!f($))return!1;const m=l();let w=!1;try{for(const[p,P]of Object.entries(m))!h&&d($,p)===P||($.setConfigProperty("basemap",p,P),w=!0)}catch(p){console.warn("[useMapTheme] setConfigProperty failed:",p)}return w}function v($){if(!o.has($)&&(o.add($),!!f($)))try{$.on("style.load",()=>A($)),$.on("styledata",()=>A($))}catch{}}function b($){if(!$)return;if(v($),A($)&&!t){t=!0;try{$.once("idle",()=>{t=!1,A($,!0)})}catch{t=!1}}}function _($){e.toggleTheme(),b($)}return{setLook:i,lookFor:r,STANDARD_STYLE:tr,LIGHT_STYLE:c1,DARK_STYLE:u1,isDarkTheme:n,lightPreset:a,basemapConfig:l,bootStyle:c,bootConfig:u,applyTheme:b,swapTheme:_}}let h1=0;const m1=yi("ui",{state:()=>({_storeInstanceId:++h1,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:a=null,persistent:s=!1}=e,r={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(r),!s&&n>0&&setTimeout(()=>{this.removeToast(r.id)},n),r.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),b1=yi("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusteringMode:"off",clusterPinOpacity:.6,clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusteringMode(e){["off","mapbox","mst","network"].includes(e)&&(this.clusteringMode=e,this.showClusters=e!=="off")},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),$1=yi("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const o=await t();this.sources[e]=In({features:o,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(o){console.error(`[dataStore] Failed to load source "${e}":`,o),this.loadingStates[e]={isLoading:!1,error:o}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=In({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var o;return((o=e.sources[t])==null?void 0:o.features)??null},isLoading:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.isLoading)??!1},getError:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.error)??null}}}),vn={_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}}},y1=".profile-loader[data-v-ccbcaedb]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-ccbcaedb]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",nn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},_1=["dir"],v1={key:0,class:"profile-error"},k1={key:1,class:"profile-error"},w1=nn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var P;const o=e,n=Ne("profileConfig",null),a=oe(()=>{var C;if(!o.profileConfig)return null;let g;try{g=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(g&&g.assetsBase===void 0){const S=(C=n==null?void 0:n.value)==null?void 0:C.assetsBase;typeof S=="string"&&S&&(g.assetsBase=S)}return g}),s=oe(()=>{var g;return((g=a.value)==null?void 0:g.profile)||null}),r=nb(),i=oe(()=>{var C;const g=(C=a.value)==null?void 0:C.tk;return typeof g=="string"&&g?g:r.value||""});Re(()=>{var g;return(g=a.value)==null?void 0:g.tk},g=>{typeof g=="string"&&g&&Qu(g)},{immediate:!0});const l=oe(()=>{var g;return((g=a.value)==null?void 0:g.dataSource)||vn.activeSource||"doxa-csv"}),c=oe(()=>{var g;return((g=a.value)==null?void 0:g.colorSet)||"default"}),u=oe(()=>!1),d=oe(()=>{var g;return((g=a.value)==null?void 0:g.pinHint)!==!1}),f=oe(()=>{var C,S;const g=(((C=a.value)==null?void 0:C.locale)||((S=a.value)==null?void 0:S.lang)||"").split("-")[0].toLowerCase();return Ga.includes(g)?g:""}),A=Ne("appI18n",null);dh(()=>{f.value&&(A&&(A.global.locale.value=f.value),$d(f.value))});const v=oe(()=>{var g,C;return f.value||((C=(g=A==null?void 0:A.global)==null?void 0:g.locale)==null?void 0:C.value)||"en"}),b=oe(()=>hd.has(v.value)?"rtl":"ltr"),_=oe(()=>{var g;return((g=a.value)==null?void 0:g.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),$=Ne("profileModules",null);if(!$)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const h=oe(()=>{if(!s.value)return null;const g=`./${s.value}.vue`;return $[g]?Vs($[g]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys($)),null)});vt("mapboxToken",i),vt("dataSource",l),vt("colorSet",c),vt("profileConfig",a),vt("instanceId",_),vt("lang",v);const m=m1(),w=b1(),p=$1();try{const g=typeof localStorage<"u"?localStorage.getItem("theme"):null;g&&((P=m.setTheme)==null||P.call(m,g))}catch{}return vt("uiStore",m),vt("mapStore",w),vt("dataStore",p),(g,C)=>(ae(),pe("div",{class:"profile-loader",dir:b.value},[a.value?h.value?(ae(),et(qc(h.value),{key:2})):(ae(),pe("div",k1,[R("p",null,[C[1]||(C[1]=Pt("⚠️ Profile ",-1)),R("strong",null,'"'+ye(s.value)+'"',1),C[2]||(C[2]=Pt(" not found.",-1))])])):(ae(),pe("div",v1,[...C[0]||(C[0]=[R("p",null,[Pt("⚠️ "),R("strong",null,"doxa-map"),Pt(": missing or invalid "),R("code",null,"profile-config"),Pt(" prop.")],-1),R("p",null,[Pt("Example: "),R("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),h.value&&u.value?(ae(),et(qc(ge(null)),{key:3})):Le("",!0),h.value&&d.value?(ae(),et(l1,{key:4})):Le("",!0)],8,_1))}},[["styles",[y1]],["__scopeId","data-v-ccbcaedb"]]),_d="adoptionStatus",zo={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},ji=zo,Ui={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},x1=Ui;function vd(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)?zo.hasAdoption:zo.notAdopted}function zi({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],zo.hasAdoption,["==",t,1],zo.hasAdoption,zo.notAdopted]}const kd=zi,L1=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:ji,ADOPTION_LABELS:x1,LABELS:Ui,PALETTE:zo,PROPERTY_KEY:_d,applyColor:zi,buildColorExpression:kd,default:{name:"Adoption Progress",propertyKey:_d,palette:zo,colors:zo,labels:Ui,getColor:vd,applyColor:zi,buildColorExpression:kd},getColor:vd},Symbol.toStringTag,{value:"Module"})),wd="engagementStatus",Ho={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},Hi=Ho,Vi={notEngaged:"Unengaged",hasEngagement:"Engaged"},S1=Vi;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)?Ho.hasEngagement:Ho.notEngaged}function Ki({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Ho.hasEngagement,["==",t,1],Ho.hasEngagement,Ho.notEngaged]}const Ld=Ki,A1=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Hi,ENGAGEMENT_LABELS:S1,LABELS:Vi,PALETTE:Ho,PROPERTY_KEY:wd,applyColor:Ki,buildColorExpression:Ld,default:{name:"Engagement Progress",propertyKey:wd,palette:Ho,colors:Ho,labels:Vi,getColor:xd,applyColor:Ki,buildColorExpression:Ld},getColor:xd},Symbol.toStringTag,{value:"Module"})),qi="languageFamily",P1="#000000",an={"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"},Sd=an;function co(e){return an[e]||P1}const C1=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(an))t[e(o)]=o;return t})(),E1={"tai-kadai":"Kra-Dai",none:"Unknown"};function or(e){if(!e)return"Unknown";const t=String(e).trim(),o=t.toLowerCase();return E1[o]||C1[o]||t}function Ad(e){var t;return co(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Wi(){const e=["match",["get",qi]];return Object.entries(an).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Pd=Wi,T1=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Sd,PALETTE:an,PROPERTY_KEY:qi,applyColor:Wi,buildColorExpression:Pd,canonicalFamilyName:or,default:{name:"Language Family",propertyKey:qi,palette:an,colors:an,getColor:Ad,applyColor:Wi,buildColorExpression:Pd,getLanguageFamilyColor:co,canonicalFamilyName:or},defaultFamilyColor:"#95a5a6",getColor:Ad,getLanguageFamilyColor:co,languageFamilyColors:an},Symbol.toStringTag,{value:"Module"})),Cd="peoplePraying",Lo=144,sn={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},kn=sn,Yi={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},N1=Yi;function nr(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>=Lo?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function Xi(e){return sn[nr(e)]}function Ed(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 Td(e){return nr(e)==="fullPrayer"}function Nd(e){return Xi(e)}function Zi({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Lo],sn.fullPrayer,[">",t,0],sn.hasPrayer,sn.noPrayer]}const Md=Zi,M1=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Lo,LABELS:Yi,PALETTE:sn,PRAYER_COLORS:kn,PRAYER_LABELS:N1,PROPERTY_KEY:Cd,applyColor:Zi,buildColorExpression:Md,checkHasFullPrayer:Td,checkHasPrayer:Ed,default:{name:"Prayer Progress",propertyKey:Cd,palette:sn,colors:sn,labels:Yi,threshold:Lo,getColor:Nd,applyColor:Zi,buildColorExpression:Md,getPrayerLevel:nr,getPrayerColor:Xi,checkHasPrayer:Ed,checkHasFullPrayer:Td},getColor:Nd,getPrayerColor:Xi,getPrayerLevel:nr},Symbol.toStringTag,{value:"Module"})),Rd="religion",Ji="#94a3b8",Jt={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},qt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function Ua(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return Jt[t]?t:"U"}function Fd(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 qt[Ua(t)]||Ji}function Qi(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",qt.C,"M",qt.M,"H",qt.H,"B",qt.B,"E",qt.E,"J",qt.J,"S",qt.S,"N",qt.N,"O",qt.O,Ji]}const Id=Qi,R1=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:qt,PROPERTY_KEY:Rd,RELIGION_FAMILIES:Jt,applyColor:Qi,buildColorExpression:Id,default:{name:"Religion",propertyKey:Rd,palette:qt,families:Jt,getColor:Fd,applyColor:Qi,buildColorExpression:Id,fallback:Ji},getColor:Fd,getReligionFamily:Ua},Symbol.toStringTag,{value:"Module"})),Od="region",el="#6d766e",Dd={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"},za={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},tl=Object.keys(za);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 za[t]||el}function ol(){const e=["match",["coalesce",["get","region"],""]];for(const t of tl)e.push(t,za[t]);return e.push(el),e}const Gd=ol,F1=Object.assign({"./adoption.js":L1,"./engagement.js":A1,"./language-family.js":T1,"./prayer-progress.js":M1,"./religion.js":R1,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:za,PROPERTY_KEY:Od,REGION_ORDER:tl,WAGF_REGIONS:Dd,applyColor:ol,buildColorExpression:Gd,default:{name:"WAGF Region",propertyKey:Od,palette:za,regions:Dd,order:tl,getColor:Bd,applyColor:ol,buildColorExpression:Gd,fallback:el},getColor:Bd},Symbol.toStringTag,{value:"Module"}))}),I1=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),O1=e=>e.replace(/-/g,"_").toUpperCase(),Jn={...{STATUS:"status",CUSTOM:"custom"}},nl={};function jd(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=I1(o);Jn[O1(o)]=a,nl[a]=n}}jd(F1);function D1(e){e&&jd(e)}function So(e){return nl[e]||nl[Jn.LANGUAGE_FAMILY]}function B1(e,t={}){return So(e).applyColor(t)}const G1=Object.assign({"./research-map.vue":()=>oo(()=>Promise.resolve().then(()=>MA),void 0)});if(D1(Object.assign({"./src/colors/affinity-block.js":uf,"./src/colors/doxa-region.js":gf,"./src/colors/resource.js":mf})),typeof window<"u"&&((Vg=window.mapboxgl)!=null&&Vg.setRTLTextPlugin))try{window.mapboxgl.setRTLTextPlugin("https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",null,!0)}catch{}function j1(){return jm(w1,{configureApp(e){e.use(Xm());const t=a1();e.use(t),e.provide("appI18n",t),e.provide("profileModules",G1)}})}const U1=j1();typeof customElements<"u"&&(customElements.get("doxa-research-map")||customElements.define("doxa-research-map",U1));const z1="rgba(120, 128, 134, 0.28)",Ud="36px",zd=()=>{};function H1(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return zd;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return zd;const a=h=>h.classList.contains("map-scroll-edge--left");for(const h of n)h.style.background=`linear-gradient(${a(h)?"to right":"to left"}, ${z1} ${Ud}, transparent ${Ud})`,h.style.opacity="0",h.style.transition="opacity 0.16s ease",h.style.userSelect="none",h.style.webkitUserSelect="none";const s=h=>{h.style.opacity="1"},r=h=>{h.style.opacity="0"},i=()=>n.find(h=>!a(h))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const h of n)l.has(h)||r(h)},f=()=>{const h=i();h&&(s(h),u&&clearTimeout(u),u=setTimeout(d,250))},A=()=>f(),v=h=>{if(!(h.touches&&h.touches.length===1))return;const m=h.target;m&&m.classList&&m.classList.contains("map-scroll-edge")||f()},b=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",A,{passive:!0}),e.addEventListener("touchmove",v,{passive:!0}),e.addEventListener("touchend",b,{passive:!0}),e.addEventListener("touchcancel",b,{passive:!0});const _=()=>{c||f()};typeof window<"u"&&window.addEventListener("scroll",_,{passive:!0});const $=[];for(const h of n){const m=()=>{l.add(h),s(h)},w=()=>{l.delete(h),r(h)},p=()=>{c=!0,s(h)},P=()=>{c=!1,r(h)};h.addEventListener("mouseenter",m),h.addEventListener("mouseleave",w),h.addEventListener("touchstart",p,{passive:!0}),h.addEventListener("touchend",P,{passive:!0}),$.push(()=>{h.removeEventListener("mouseenter",m),h.removeEventListener("mouseleave",w),h.removeEventListener("touchstart",p),h.removeEventListener("touchend",P)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",A),e.removeEventListener("touchmove",v),e.removeEventListener("touchend",b),e.removeEventListener("touchcancel",b),typeof window<"u"&&window.removeEventListener("scroll",_);for(const m of $)m();for(const m of n)r(m)}}const V1=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 K1(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const o=V1[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 q1(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 W1=["mapbox","maplibre"],Hd="mapbox";function Y1(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Vd(e){const t=Y1(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(o||n||a||Hd).toLowerCase().trim();return W1.includes(s)?s:Hd}function X1(e){return e==="maplibre"?"MapLibre":"Mapbox"}function Kd(e){return typeof window<"u"&&!!window.mapboxgl&&e instanceof window.mapboxgl.Map}function ar(e){if(typeof window>"u")return;const t=window.maplibregl,o=window.mapboxgl;return t&&t.Map&&e instanceof t.Map?t:o&&o.Map&&e instanceof o.Map?o:o||t}function Ao(e,t="circle"){return Kd(e)?{[`${t}-emissive-strength`]:1}:{}}const qd={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 Z1(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function J1(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(Z1(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(qd.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(qd.mapbox,null,!0);o=!0}catch{}return o}const Q1=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,Wd=new WeakMap;function ek(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function Yd(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!ek(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=Wd.get(e);a||(a=new Map,Wd.set(e,a));let s=0;for(const r of n.layers){if(r.type!=="symbol"||!r.layout||r.layout["text-field"]==null)continue;const i=r.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(r.id))continue}else{if(!Q1.test(l))continue;a.set(r.id,i)}const c=o==="en"?a.get(r.id):["coalesce",["get","name:"+o],["get","name:latin"],["get","name"]];e.setLayoutProperty(r.id,"text-field",c),s++}return s}catch{return 0}}const Qn={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function Xd(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 tk=Qn.mapbox.css,ok="https://tiles.openfreemap.org/styles/liberty",nk="https://tiles.openfreemap.org/styles/fiord";function al(e){var o;const t=((o=Qn[e])==null?void 0:o.global)||Qn.mapbox.global;return typeof window<"u"?window[t]:void 0}async function ak(e){const t=Qn[e]||Qn.mapbox;if(al(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(al(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const s=document.createElement("script");s.src=t.js,s.async=!1,s.addEventListener("load",n,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function sk(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=r=>new Promise(i=>setTimeout(i,r)),a=o.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(r=>{a.addEventListener("load",r,{once:!0}),a.addEventListener("error",r,{once:!0})}),n(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=t,await Promise.race([new Promise(r=>{s.addEventListener("load",r,{once:!0}),s.addEventListener("error",r,{once:!0}),o.prepend(s)}),n(2e3)])}function rk(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?nk:ok}const ik=85.0511,sl=-2,lk=0,ck=-60;function Zd(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function uk(e,t,o,n){if(!e||e<=0||!t||t<=0)return lk;const a=Math.log2(e/512),s=Zd(n)-Zd(ik),r=Math.log2(t/(512*s)),i=Math.max(a,r);return Math.max(sl,Math.min(i,(o??18)-1))}function pk({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:a=void 0,center:s=[20,10],zoom:r=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:d=18,pitch:f=0,bearing:A=0,renderWorldCopies:v=!0,showEdgeBorders:b=!0,southCutoff:_=ck,maxBounds:$=void 0}){const h=$a(null),m=he(!1);let w=null,p=null,P=null,g=null;try{g=Ne("profileConfig",null)}catch{}a=a||Vd(g);const C=a==="maplibre";let S=null;try{S=Ne("lang",null)}catch{}const G=()=>{const U=S&&typeof S=="object"&&"value"in S?S.value:S;if(typeof U=="string"&&U)return U;const D=g&&typeof g=="object"&&"value"in g?g.value:g;if(D&&(D.locale||D.lang))return String(D.locale||D.lang);try{const L=new URLSearchParams(location.search);return L.get("lang")||L.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function H(){var $e;const U=K1(o,a),D=U.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const L=()=>!e.value;if(await ak(a),L())return;const y=al(a);if(!y){console.error(`[useMapInstance] ${C?"maplibregl":"mapboxgl"} is not available. Add the ${C?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(J1(y),!C){if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await sk(e.value,C?Qn.maplibre.css:tk),L()||(await new Promise(ne=>requestAnimationFrame(ne)),L()))return;const M=e.value,z=M.clientWidth,K=M.clientHeight;if(z===0||K===0){console.error(`[useMapInstance] Container has ZERO dimensions (${z}×${K}). Map will be invisible. Check that parent elements have CSS sizing.`);let ne=M.parentElement,ee=0;for(;ne&&ee<5;)ne=ne.parentElement,ee++}const Q=t;C||(y.accessToken=Q);const ie=()=>typeof window<"u"&&window.innerWidth>=1024,j=(ne,ee)=>{if(u)return typeof c=="number"?c:sl;if(!ie())return sl;const de=uk(ne,ee,d,_);return typeof c=="number"?Math.max(c,de):de},be=j(M.clientWidth,M.clientHeight),xe=U.lightPreset||(()=>{var ne;try{const ee=typeof n=="function"?n():n;return(ne=ee==null?void 0:ee.basemap)==null?void 0:ne.lightPreset}catch{return}})();if(C){h.value=new y.Map({container:e.value,style:rk(D,xe),center:s,zoom:r,minZoom:be,maxZoom:d,pitch:f,bearing:A,dragRotate:!1,renderWorldCopies:v,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...$?{maxBounds:$}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Xd(h.value);try{e.value.__doxaMap=h.value}catch{}}else{const ne=typeof n=="function"?n():n;h.value=new y.Map({accessToken:Q,container:e.value,style:D,...ne?{config:ne}:{},center:s,zoom:r,minZoom:be,maxZoom:d,pitch:f,bearing:A,dragRotate:!1,touchPitch:!1,renderWorldCopies:v,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...$?{maxBounds:$}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Xd(h.value);try{e.value.__doxaMap=h.value}catch{}}try{let ne=!1;h.value.on("error",ee=>{var T,F;const de=((T=ee==null?void 0:ee.error)==null?void 0:T.status)??(ee==null?void 0:ee.status),Pe=String(((F=ee==null?void 0:ee.error)==null?void 0:F.url)||(ee==null?void 0:ee.sourceId)||"");de!==401&&de!==403||ne||(ne=!0,console.error(`[doxa-maps] Mapbox returned ${de} 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.`+(Pe?` First failing request: ${Pe.slice(0,120)}`:"")))})}catch{}try{h.value.touchZoomRotate.disableRotation()}catch{}P=H1((($e=e.value)==null?void 0:$e.parentElement)||null,{enabled:b});let fe=be,ke=null;w=()=>{const ne=h.value;if(!ne)return;const ee=j(M.clientWidth,M.clientHeight);ee!==fe&&(fe=ee,ne.setMinZoom(ee)),ne.getZoom()<ee?(ke&&clearTimeout(ke),ke=setTimeout(()=>{ke=null;const de=h.value;if(!de)return;const Pe=j(M.clientWidth,M.clientHeight);if(de.getZoom()<Pe)try{de.jumpTo({zoom:Pe})}catch{de.setZoom(Pe)}},150)):ke&&(clearTimeout(ke),ke=null)},p=()=>{ke&&(clearTimeout(ke),ke=null)},h.value.on("resize",w),typeof window<"u"&&(window.addEventListener("resize",w),window.addEventListener("orientationchange",w)),h.value.on("style.load",()=>{if(h.value&&Yd(h.value,G()),U.paint&&h.value){const ne=q1(h.value,U.paint);console.info("[useMapInstance] style paint applied ("+a+"):",ne.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var ne;(ne=h.value)==null||ne.resize(),h.value&&h.value.setMinZoom(j(M.clientWidth,M.clientHeight)),m.value=!0})})}function J(){if(h.value){if(w&&(h.value.off("resize",w),typeof window<"u"&&(window.removeEventListener("resize",w),window.removeEventListener("orientationchange",w)),w=null),p){try{p()}catch{}p=null}P&&(P(),P=null),h.value.remove(),h.value=null,m.value=!1}}if(S&&typeof S=="object"&&"value"in S)try{Re(S,()=>{h.value&&m.value&&Yd(h.value,G())})}catch{}return{map:h,isMapReady:m,initializeMap:H,destroy:J}}const dk=Tn&&Tn.tagName.toUpperCase()==="SCRIPT"&&Tn.src||new URL("doxa-research-map.js",document.baseURI).href,wn=e=>String(e||"").trim().replace(/\/+$/,"");function Jd(){try{const t=String(dk||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function gk(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return wn(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return wn(o)}return wn(Jd()||"")}function Qd(e){const t=wn("")||wn(Jd()||"");if(t)try{const o=typeof document<"u"?document.baseURI:void 0;return wn(new URL(t+"/assets",o).href)}catch{return wn(t+"/assets")}return"./assets"}function fk({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",s=e||(n==null?void 0:n.shareUrl);if(typeof s=="string"&&s.trim())return s.trim();const r=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(r){if(/^https?:\/\//i.test(r))return r;if(r.startsWith("/"))return a?window.location.origin+r:r;const i=gk(n),l=r.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const hk={Africa:{zoom:1.3,center:[16.6512,26.3538]},Asia:{zoom:.8,center:[98.2654,49.9282]},Europe:{zoom:1.4,center:[22.7826,70.1026]},"Latin America & Caribbean":{zoom:1.8,center:[-60.4619,10.1428]},"Middle East":{zoom:1.7,center:[22.9056,39.5752]},"No WAGF Region/Bloc":{zoom:.6,center:[-8.2363,44.2392]},"North America & Non-Spanish Caribbean":{zoom:2.1,center:[-68.1935,31.4282]},Oceania:{zoom:1.5,center:[161.6257,-.668]}},eg={circleRadius:{standard:["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],highlighted:["interpolate",["linear"],["zoom"],0,4,4,5,8,12,12,20],faded:["interpolate",["linear"],["zoom"],0,2,4,2.5,8,5,12,8],compact:["interpolate",["linear"],["zoom"],0,2,4,3,8,6,12,10],large:["interpolate",["linear"],["zoom"],0,4,4,6,8,14,12,24],touchTarget:["interpolate",["linear"],["zoom"],0,12,2,15,4,19,6,20,8,21,10,22,12,24,14,28]}};function mk(e){return hk[e]||null}function rl(e="standard"){return eg.circleRadius[e]||eg.circleRadius.standard}function tg(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,s=Ne("uiStore"),{t:r,locale:i}=bt(),l=he([]);function c(m){const w=n(m.languageFamily),p="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg";let P=m.imageUrl;(!P||P.includes("NoImageAvailable"))&&(P=p);const g=(m.name||"U")[0].toUpperCase(),C=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"],S=g.charCodeAt(0)%C.length;return`
|
||
<div style="
|
||
width: 300px;
|
||
background: white;
|
||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||
">
|
||
<!-- Header with Avatar and Name -->
|
||
<div style="
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 12px;
|
||
border-bottom: 1px solid #efefef;
|
||
">
|
||
<!-- Avatar -->
|
||
<div style="
|
||
width: 32px;
|
||
height: 32px;
|
||
border-radius: 4px;
|
||
background-color: ${C[S]};
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
color: white;
|
||
font-weight: 700;
|
||
font-size: 16px;
|
||
margin-right: 10px;
|
||
flex-shrink: 0;
|
||
">
|
||
${g}
|
||
</div>
|
||
|
||
<!-- Name and Status -->
|
||
<div style="flex: 1; min-width: 0;">
|
||
<h3 style="
|
||
margin: 0;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: #262626;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
">${m.name}</h3>
|
||
<p style="
|
||
margin: 2px 0 0 0;
|
||
font-size: 12px;
|
||
color: #8e8e8e;
|
||
">${m.country||"Unknown"} • ${m.status||"Unknown Status"}</p>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Image -->
|
||
<div style="
|
||
width: 100%;
|
||
height: 200px;
|
||
background-color: #fafafa;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
overflow: hidden;
|
||
">
|
||
<img
|
||
src="${P}"
|
||
alt="${m.name}"
|
||
style="
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
"
|
||
onerror="this.onerror=null; this.src='${p}'"
|
||
/>
|
||
</div>
|
||
|
||
<!-- Info Section -->
|
||
<div style="padding: 12px;">
|
||
<p style="margin: 0 0 6px 0; font-size: 13px;">
|
||
<strong>Language:</strong> ${m.language||"Unknown"}
|
||
</p>
|
||
<p style="margin: 0 0 6px 0; font-size: 13px;">
|
||
<strong>Family:</strong>
|
||
<span style="background: ${w}; color: white; padding: 2px 8px; border-radius: 4px; font-size: 12px;">
|
||
${m.languageFamily||"Unknown"}
|
||
</span>
|
||
</p>
|
||
${m.population?`<p style="margin: 0 0 6px 0; font-size: 13px;"><strong>Population:</strong> ${m.population}</p>`:""}
|
||
${m.description?`<p style="margin: 8px 0; font-size: 13px; color: #262626; line-height: 1.4;">${m.description}</p>`:""}
|
||
</div>
|
||
</div>
|
||
`}function u(m){const w=m.iso_3166_1_alpha_3||"",P=m["name_"+((i==null?void 0:i.value)||"en")]||m.name_en||m.name||w,g=a(),C=w.toUpperCase(),S=g.filter(D=>{const L=(D.countryIso||D.country||"").toUpperCase();return L&&L===C}),G=S.length,H=S[0],J=(H==null?void 0:H.wagfRegionLabel)||(H==null?void 0:H.doxaRegionLabel)||(H==null?void 0:H.doxaRegion)||(H==null?void 0:H.wagfRegion)||"—",U=(H==null?void 0:H.wagfBlockLabel)||(H==null?void 0:H.wagfBlock)||"—";return`
|
||
<div style="padding: 8px; min-width: 220px;">
|
||
<h3 style="margin: 0 0 8px 0; font-size: 16px; font-weight: 600; color: #333;">
|
||
${P}
|
||
</h3>
|
||
<p style="margin: 4px 0; font-size: 14px;">
|
||
<strong>${r("popup.country.wagfRegion")}:</strong> ${J}
|
||
</p>
|
||
<p style="margin: 4px 0; font-size: 14px;">
|
||
<strong>${r("popup.country.wagfBlock")}:</strong> ${U}
|
||
</p>
|
||
<p style="margin: 4px 0; font-size: 14px;">
|
||
<strong>${r("popup.country.country")}:</strong> ${P} (${w})
|
||
</p>
|
||
<p style="margin: 4px 0; font-size: 14px;">
|
||
<strong>${r("popup.country.uupgCount")}:</strong> ${G}
|
||
</p>
|
||
</div>
|
||
`}function d(m){const w=t();if(!w)return;const p=m||"language-family-pins";if(!w.getLayer(p))return;const P=g=>{try{const C=g.features[0],S=C.properties,G=C.geometry.coordinates.slice();for(;Math.abs(g.lngLat.lng-G[0])>180;)G[0]+=g.lngLat.lng>G[0]?360:-360;if(s&&s.legendMode!==void 0){s.selectPeopleGroup(C),s.isMobile&&s.legendState==="collapsed"&&s.setLegendState("open"),s.isMobile||window.dispatchEvent(new CustomEvent("dxm:openDesktopLegend",{detail:{mapId:o}}));return}new(ar(w)).Popup({maxWidth:"320px",className:"people-group-popup"}).setLngLat(G).setHTML(c(S)).addTo(w)}catch(C){console.error(` [${o}] Pin click handler error:`,C)}};w.on("click",p,P),l.value.push({event:"click",layer:p,handler:P})}function f(){const m=t();if(!m)return;const w="regions-fill";if(!m.getLayer(w))return;const p=P=>{const g=["language-family-pins","language-family-pins-hitbox","people-groups-pins"];for(const C of g)if(m.getLayer(C)){const S=m.queryRenderedFeatures(P.point,{layers:[C]});if(S&&S.length>0)return}if(P.features&&P.features.length>0){const C=P.features[0].properties;new(ar(m)).Popup().setLngLat(P.lngLat).setHTML(u(C)).addTo(m)}};m.on("click",w,p),l.value.push({event:"click",layer:w,handler:p})}function A(){const m=t();if(!m)return;const w="clusters";if(!m.getLayer(w))return;const p=P=>{const g=m.queryRenderedFeatures(P.point,{layers:[w]});if(!g.length)return;const C=g[0].properties.cluster_id,S=g[0].source;m.getSource(S).getClusterExpansionZoom(C,(G,H)=>{G||m.easeTo({center:g[0].geometry.coordinates,zoom:H})})};m.on("click",w,p),l.value.push({event:"click",layer:w,handler:p})}function v(m){const w=t();if(!w||!w.getLayer(m))return;const p=()=>{w.getCanvas().style.cursor="pointer"},P=()=>{w.getCanvas().style.cursor=""};w.on("mouseenter",m,p),w.on("mouseleave",m,P),l.value.push({event:"mouseenter",layer:m,handler:p}),l.value.push({event:"mouseleave",layer:m,handler:P})}function b(){d(),v("language-family-pins"),d("language-family-pins-hitbox"),v("language-family-pins-hitbox"),A(),v("clusters")}function _(){f(),v("regions-fill")}function $(){const m=t();m&&(m.getLayer("language-family-pins")&&b(),m.getLayer("regions-fill")&&_(),m.getLayer("people-groups-pins")&&(d(),v("people-groups-pins")))}function h(){const m=t();if(m){for(const{event:w,layer:p,handler:P}of l.value)try{m.off(w,p,P)}catch{}l.value=[]}}return{attachAllEventHandlers:$,attachLanguageFamilyEvents:b,attachRegionEvents:_,attachPinClickHandler:d,attachRegionClickHandler:f,attachClusterClickHandler:A,attachCursorHandlers:v,detachAllEventHandlers:h,generatePinPopupContent:c,generateRegionPopupContent:u,registeredHandlers:l}}const Ye={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"},il=[">",["to-number",["get","peoplePraying"],0],0],ll={0:.25,8:.4,14:.5},ea={0:.1,8:.18,14:.22},ta={0:1.2,8:1.6,14:2},og=["interpolate",["linear"],["zoom"],0,["case",il,ll[0],ea[0]],8,["case",il,ll[8],ea[8]],14,["case",il,ll[14],ea[14]]],bk=["interpolate",["linear"],["zoom"],0,ta[0],8,ta[8],14,ta[14]],ng=["==",["to-number",["get","peoplePraying"],0],0],$k={prayer:[ng],prayerProgress:[ng],engagement:[["all",["!=",["get","engagementStatus"],!0],["!=",["get","engagementStatus"],1]]],adoption:[["all",["!=",["get","adoptionStatus"],!0],["!=",["get","adoptionStatus"],1]]]};function yk(e){const t=$k[e]||[];if(!t.length)return bk;const o=t.length===1?t[0]:["any",...t];return["interpolate",["linear"],["zoom"],0,["case",o,ea[0],ta[0]],8,["case",o,ea[8],ta[8]],14,["case",o,ea[14],ta[14]]]}const _k=[[/ sign language$/i,"Sign Language"]];function vk(e){if(!e||typeof e!="string")return null;const t=e.trim(),o=t.split(",").map(a=>a.trim()).filter(Boolean);if(o.length>=2){const a=[...o].reverse().join(" ");if(Ye[a])return Ye[a];if(o.length>=3){const s=[o[1],o[0]].join(" ");if(Ye[s])return Ye[s]}}if(Ye[t])return Ye[t];const n=t.replace(/\s*\(.*?\)\s*$/,"").trim();if(n!==t&&Ye[n])return Ye[n];for(const[a,s]of _k)if(a.test(t))return s;return null}function kk(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,s=()=>{const ne=t();return ne?Ke(ne):null},r=tg({getMap:s,mapId:o,getLanguageFamilyColor:n,getNormalizedPeopleGroups:a}),i=he({languageFamilyPins:!1,regions:!1,peopleGroups:!1,familyConnections:!1}),l=he({});function c(ne,ee="languageFamily"){const de=s();if(!de||!(ne!=null&&ne.length))return;const Pe=B1(ee),T=ne.map(O=>{var ue,te,k,x,B,X,me,ce,Z,le,Ce,Te,qe,nt,Qe,V,se,ve,Se;return{type:"Feature",properties:{uniqueId:O.id||O.uniqueId,slug:O.slug||((ue=O._normalized)==null?void 0:ue.slug)||"",rop3:O.rop3||O.peopleGroupId,peopleId3:O.peopleId3||"",name:O.name,language:O.language,languageFamily:O.languageFamily||((te=O._normalized)==null?void 0:te.languageFamily)||vk(O.language)||"Unknown",affinityBlock:O.affinityBlock||O.affbloc||O.Affbloc||((k=O._normalized)==null?void 0:k.affinityBlock)||"Unknown",affinityBlockLabel:O.affinityBlockLabel||((x=O._normalized)==null?void 0:x.affinityBlockLabel)||"",cluster:O.cluster||((B=O._normalized)==null?void 0:B.cluster)||"",clusterLabel:O.clusterLabel||((X=O._normalized)==null?void 0:X.clusterLabel)||"",peopleGroup:O.peopleGroup||((me=O._normalized)==null?void 0:me.peopleGroup)||"",peopleGroupLabel:O.peopleGroupLabel||((ce=O._normalized)==null?void 0:ce.peopleGroupLabel)||"",doxaRegion:O.doxaRegion||((Z=O._normalized)==null?void 0:Z.doxaRegion)||"Unknown",wagfBlock:O.wagfBlock||((le=O._normalized)==null?void 0:le.wagfBlock)||"",wagfBlockLabel:O.wagfBlockLabel||((Ce=O._normalized)==null?void 0:Ce.wagfBlockLabel)||"",wagfRegionLabel:O.wagfRegionLabel||((Te=O._normalized)==null?void 0:Te.wagfRegionLabel)||"",country:O.country,countryIso:O.countryIso,countryIsoLabel:O.countryIsoLabel,countryName:O.countryName,religion:O.religion,religionCode:O.religionCode,religionLabel:O.religionLabel,religionName:O.religionName,population:O.population,status:O.status,description:O.description||"",imageUrl:O.imageUrl||"",peoplePraying:Number(O.peoplePraying??((qe=O._normalized)==null?void 0:qe.peoplePraying)??0),engagementStatus:O.engagementStatus===!0||O.engagementStatus===1||!1,adoptionStatus:O.adoptionStatus===!0||O.adoptionStatus===1||!1,bible:O.bible||((nt=O._normalized)==null?void 0:nt.bible)||"Not Available",jesusFilm:O.jesusFilm||((Qe=O._normalized)==null?void 0:Qe.jesusFilm)||"Not Available",radio:O.radio||((V=O._normalized)==null?void 0:V.radio)||"Not Available",gospel:O.gospel||((se=O._normalized)==null?void 0:se.gospel)||"Not Available",audio:O.audio||((ve=O._normalized)==null?void 0:ve.audio)||"Not Available",stories:O.stories||((Se=O._normalized)==null?void 0:Se.stories)||"Not Available",lng:parseFloat(O.longitude||O.lng)||0},geometry:{type:"Point",coordinates:[parseFloat(O.longitude||O.lng),parseFloat(O.latitude||O.lat)]}}}).filter(O=>!isNaN(O.geometry.coordinates[0])&&!isNaN(O.geometry.coordinates[1])),F=.04,I=O=>`${O.geometry.coordinates[0]},${O.geometry.coordinates[1]}`,W=new Map;for(const O of T){const ue=I(O);W.has(ue)||W.set(ue,[]),W.get(ue).push(O)}for(const O of W.values()){if(O.length<2)continue;const[ue,te]=O[0].geometry.coordinates,k=O.length;for(let x=0;x<k;x++){const B=2*Math.PI*x/k;O[x].geometry.coordinates=[ue+F*Math.cos(B),te+F*Math.sin(B)]}}const Y={type:"FeatureCollection",features:T};de.addSource("language-families",{type:"geojson",data:Y,promoteId:"uniqueId"}),de.addLayer({id:"language-family-pins-shadow",type:"circle",source:"language-families",paint:{"circle-radius":rl("standard"),"circle-color":"rgba(0,0,0,0.12)","circle-blur":.8,"circle-translate":[0,1],"circle-stroke-width":0,"circle-opacity":1}}),de.addLayer({id:"language-family-pins",type:"circle",source:"language-families",paint:{"circle-radius":rl("standard"),"circle-color":Pe,...Ao(de),"circle-stroke-width":og,"circle-stroke-color":["case",[">",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"],"circle-opacity":1,"circle-stroke-opacity":1,"circle-opacity-transition":{duration:250}}}),de.addLayer({id:"language-family-pins-hitbox",type:"circle",source:"language-families",paint:{"circle-radius":rl("touchTarget"),"circle-color":"rgba(0,0,0,0)","circle-stroke-width":0,"circle-opacity":0}}),i.value.languageFamilyPins=!0,r.attachLanguageFamilyEvents()}function u(ne,ee="doxa-regions"){const de=s();if(!de)return;de.getLayer("regions-fill")&&de.removeLayer("regions-fill"),de.getLayer("regions-border")&&de.removeLayer("regions-border"),de.getSource("regions")&&de.removeSource("regions");const Pe={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},T="#cccccc",F=ne&&ne.isoToRegion?ne.isoToRegion:{},I=[],W={};for(const[te,k]of Object.entries(F)){const x=Pe[String(k).toLowerCase()];x&&I.push(te,x),W[k]||(W[k]=[]),W[k].push(te)}l.value=W;const Y=I.length?["match",["get","iso_3166_1_alpha_3"],...I,T]:T,O=de.getLayer("language-family-pins-shadow")?"language-family-pins-shadow":de.getLayer("language-family-pins")?"language-family-pins":void 0,ue=(()=>{var te,k,x;try{return!!((x=(k=(te=de.getContainer)==null?void 0:te.call(de))==null?void 0:k.classList)!=null&&x.contains("maplibregl-map"))}catch{return!1}})();ue?(de.addSource("regions",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),fetch(`${Qd()}/boundaries/world-adm0.geojson`).then(te=>te.json()).then(te=>{for(const x of te.features||[])x.properties&&x.properties.iso3&&(x.properties.iso_3166_1_alpha_3=x.properties.iso3);const k=de.getSource("regions");k&&k.setData(te)}).catch(te=>console.warn("[map-layers] region boundaries failed to load",te))):de.addSource("regions",{type:"vector",url:"mapbox://mapbox.country-boundaries-v1"}),de.addLayer({id:"regions-fill",type:"fill",source:"regions",...ue?{}:{"source-layer":"country_boundaries"},paint:{"fill-color":Y,"fill-opacity":ee==="none"?.1:.7,"fill-antialias":!0,...Ao(de,"fill"),"fill-opacity-transition":{duration:300}}},O),de.addLayer({id:"regions-border",type:"line",source:"regions",...ue?{}:{"source-layer":"country_boundaries"},paint:{"line-color":Y,"line-width":1,"line-opacity":.9,...Ao(de,"line")}},O),i.value.regions=!0,r.attachRegionEvents()}function d(ne,ee){const de=s();if(!de||!ne||!(ee!=null&&ee.length))return;f();const Pe=ee.filter(Y=>{var ue;return(Y.languageFamily||((ue=Y._normalized)==null?void 0:ue.languageFamily)||"Unknown")===ne});if(Pe.length<2)return;const T=n(ne),F=[],I=15,W=[...Pe].sort((Y,O)=>(Y.longitude||Y.lng)-(O.longitude||O.lng));for(let Y=0;Y<W.length;Y++){const O=W[Y],ue=O.longitude||O.lng,te=O.latitude||O.lat;for(let k=Y+1;k<Math.min(Y+15,W.length);k++){const x=W[k],B=x.longitude||x.lng,X=x.latitude||x.lat;Math.sqrt(Math.pow(ue-B,2)+Math.pow(te-X,2))<I&&F.push({type:"Feature",properties:{family:ne},geometry:{type:"LineString",coordinates:[[ue,te],[B,X]]}})}}de.addSource("family-connections",{type:"geojson",data:{type:"FeatureCollection",features:F}}),de.addLayer({id:"family-connection-lines",type:"line",source:"family-connections",paint:{"line-color":T,"line-width":.75,"line-opacity":.5,...Ao(de,"line")}},"language-family-pins"),i.value.familyConnections=!0}function f(){const ne=s();ne&&(ne.getLayer("family-connection-lines")&&ne.removeLayer("family-connection-lines"),ne.getSource("family-connections")&&ne.removeSource("family-connections"),i.value.familyConnections=!1)}function A(ne,ee){const de=s();if(!de)return;const Pe=de.getSource(ne);Pe&&Pe.setData(ee)}function v(ne,ee=null){const de=s();de&&(de.getLayer(ne)&&de.removeLayer(ne),de.getSource(ee||ne)&&de.removeSource(ee||ne))}function b(ne){const ee=s();return ee?!!ee.getLayer(ne):!1}function _(ne,ee,de){const Pe=s();!Pe||!Pe.getLayer(ne)||Pe.setPaintProperty(ne,ee,de)}function $(){r.detachAllEventHandlers(),ke()}let h=null,m=!1,w=0;const p="prayer-glow-base",P=4,g=[];for(let ne=0;ne<P;ne++)g.push("prayer-glow-ring-"+ne);const C=[p,...g],S=6,G=.3,H=2.5,U=1e3/12,D={duration:0,delay:0};let L=!0,y=null;function M(){return["case",[">=",["get","peoplePraying"],Lo],"#15803d",[">",["get","peoplePraying"],0],"#d97706","rgba(0,0,0,0)"]}const z=[0,5,2,6,4,7,5,9,6,12,7,14,8,18,10,25,12,32,14,40];function K(ne,ee){const de=["interpolate",["linear"],["zoom"]];for(let Pe=0;Pe<ne.length;Pe+=2)de.push(ne[Pe],ne[Pe+1]*ee);return de}function Q(){const ne=s();if(!ne||!ne.getSource("language-families"))return;const ee=[">",["get","peoplePraying"],0],de=M();if(!C.every(T=>ne.getLayer(T))){for(const T of C)if(ne.getLayer(T))try{ne.removeLayer(T)}catch{}ne.addLayer({id:p,type:"circle",source:"language-families",filter:ee,paint:{"circle-radius":K(z,1),"circle-color":de,"circle-blur":.3,"circle-opacity":.45,"circle-stroke-width":0,...Ao(ne)}},"language-family-pins");for(const T of g)ne.addLayer({id:T,type:"circle",source:"language-families",filter:ee,paint:{"circle-radius":K(z,1),"circle-radius-transition":D,"circle-color":"rgba(0,0,0,0)","circle-blur":0,"circle-opacity":1,"circle-stroke-width":2.5,"circle-stroke-color":de,"circle-stroke-opacity":0,"circle-stroke-opacity-transition":D,...Ao(ne)}},"language-family-pins")}}function ie(){const ne=s();if(ne)for(const ee of C)ne.getLayer(ee)&&ne.removeLayer(ee)}function j(ne){const ee=s();if(!ee)return;const de=[">",["get","peoplePraying"],0],Pe=ne?["all",de,ne]:de;for(const T of C)if(ee.getLayer(T))try{ee.setFilter(T,Pe)}catch{}}function be(){const ne=s();if(ne){if(Q(),h&&(cancelAnimationFrame(h),h=null),m=!0,ne.getLayer("language-family-pins"))try{ne.setLayoutProperty("language-family-pins","circle-sort-key",["case",[">=",["get","peoplePraying"],Lo],1,[">",["get","peoplePraying"],0],1,3])}catch{}fe(ne),xe()}}function xe(){h&&(cancelAnimationFrame(h),h=null);const ne=++w;let ee=performance.now(),de=-1/0;function Pe(T){if(!m||ne!==w)return;const F=s();if(!F||!C.some(W=>F.getLayer(W))){h=null;return}if(T-de<U||!L){h=requestAnimationFrame(Pe);return}de=T;const I=(T-ee)/1e3;for(let W=0;W<P;W++){const Y=g[W];if(!F.getLayer(Y))continue;const O=W*(S/P),te=((I-O)%S+S)%S/S,k=G+te*(H-G),x=.5*(1-te);try{F.setPaintProperty(Y,"circle-radius",K(z,k)),F.setPaintProperty(Y,"circle-stroke-opacity",x)}catch{}}h=requestAnimationFrame(Pe)}h=requestAnimationFrame(Pe)}function fe(ne){if(y||typeof IntersectionObserver>"u")return;const ee=typeof ne.getContainer=="function"?ne.getContainer():null;if(ee)try{y=new IntersectionObserver(de=>{for(const Pe of de)L=Pe.isIntersecting},{threshold:0}),y.observe(ee)}catch{y=null,L=!0}}function ke(){if(y){try{y.disconnect()}catch{}y=null}L=!0}function $e(){m=!1,h&&(cancelAnimationFrame(h),h=null),ke();try{ie();const ne=s();ne&&ne.getLayer("language-family-pins")&&ne.setLayoutProperty("language-family-pins","circle-sort-key",void 0)}catch{}}return{layersAdded:i,regionIsoMap:l,addLanguageFamilyLayer:c,addRegionsLayer:u,addFamilyConnectionLines:d,removeFamilyConnectionLines:f,updateLayerSource:A,removeLayer:v,hasLayer:b,setPaintProperty:_,mapEvents:r,startPrayerGlow:be,stopPrayerGlow:$e,syncGlowFilter:j,cleanup:$}}const uo={style:"mapbox://styles/mapbox/standard",center:[20,10],zoom:1.8,minZoom:.5,maxZoom:22,pitch:20,bearing:0,projection:"mercator",renderWorldCopies:!0};function wk(e={}){const{getMap:t=()=>null,mapId:o="unknown",mapStore:n=null,regionsGeoData:a=null,defaultCenter:s=(uo==null?void 0:uo.center)||[20,10],defaultZoom:r=uo==null?void 0:uo.zoom}=e,i={speed:.5,essential:!0,curve:1.2};function l(D,L,y={x:150,y:0}){const M=t();if(!M)return D;try{const z=M.getCanvas(),K=z.width,Q=z.height,ie=M.project(D),j=window.devicePixelRatio||1,be=(y.x||0)*j,xe=(y.y||0)*j,fe={x:ie.x-be,y:ie.y-xe},ke=M.unproject(fe);return[ke.lng,ke.lat]}catch{return D}}function c(D,L=[]){const y=t();if(!y)return;let M=null,z=5;const K=L.filter(ie=>ie.languageFamily===D);if(K.length>0){let ie=1/0,j=-1/0,be=1/0,xe=-1/0;if(K.forEach(fe=>{fe.longitude&&fe.latitude&&(ie=Math.min(ie,fe.longitude),j=Math.max(j,fe.longitude),be=Math.min(be,fe.latitude),xe=Math.max(xe,fe.latitude))}),ie!==1/0){M=[(ie+j)/2,(be+xe)/2];const fe=j-ie,ke=xe-be,$e=Math.max(fe,ke);$e>50?z=2:$e>20?z=3:$e>10?z=4:$e>5?z=5:z=6}}if(!M)return;const Q=l(M);y.flyTo({center:Q,zoom:z,...i})}function u(D){const L=t();if(!L)return;let y=null,M=4;const z=mk(D);if(z)y=z.center,M=z.zoom||4;else if(a!=null&&a.features){const Q=a.features.find(ie=>{var j,be;return((j=ie.properties)==null?void 0:j.region)===D||((be=ie.properties)==null?void 0:be.name)===D});Q&&(y=d(Q))}if(!y)return;const K=l(y);L.flyTo({center:K,zoom:M,...i})}function d(D){if(!D||!D.geometry)return null;const{type:L,coordinates:y}=D.geometry;let M=[];if(L==="Polygon"?M=y[0]||[]:L==="MultiPolygon"&&y.forEach(Q=>{M=M.concat(Q[0]||[])}),M.length===0)return null;let z=0,K=0;return M.forEach(Q=>{z+=Q[0],K+=Q[1]}),[z/M.length,K/M.length]}function f(D,L={}){const y=t();if(!y)return;const M={center:D,...i,...L};y.flyTo(M)}function A(D,L){const y=t();if(!y||(D==null?void 0:D.longitude)==null||(D==null?void 0:D.latitude)==null)return;const M=L??Math.min(y.getZoom()+2,8);f([D.longitude,D.latitude],{zoom:M})}function v(D,L={top:40,right:40,bottom:40,left:40},y={}){const M=t();if(!M||!D)return;const z=y.maxZoom??4,K=y.duration??900;M.fitBounds(D,{padding:L,maxZoom:z,duration:K,...i,...y})}function b(){const D=t();D&&D.flyTo({center:s,zoom:r,...i})}const _=80,$=800,h=5,m=5,w=110,p=1.2;function P(D){const L=D.filter(Number.isFinite).slice().sort((T,F)=>T-F),y=L.length;if(!y)return null;let M=-1,z=0;for(let T=0;T<y;T++){const I=(T+1<y?L[T+1]:L[0]+360)-L[T];I>M&&(M=I,z=T)}const K=(z+1)%y,Q=new Array(y);for(let T=0;T<y;T++){let F=L[(K+T)%y];T>0&&F<Q[T-1]&&(F+=360),Q[T]=F}const ie=Math.floor(y*.025),j=Math.max(ie,Math.ceil(y*.975)-1),be=Q[ie],xe=Q[j],fe=T=>((T+180)%360+360)%360-180,ke=fe(be),$e=24,ne=360/$e,ee=new Array($e).fill(0);for(const T of L){let F=Math.floor(((T+180)%360+360)%360/ne);F>=$e&&(F=$e-1),ee[F]++}let de=0;for(let T=1;T<$e;T++)ee[T]>ee[de]&&(de=T);return{center:fe(-180+(de+.5)*ne),minLng:ke,maxLng:ke+(xe-be),span:xe-be}}function g(D){try{const L=D.getContainer&&D.getContainer().clientWidth||0,y=L>0?Math.log2(L/512):p,M=typeof D.getMinZoom=="function"?D.getMinZoom():y;return Math.max(M,y)}catch{return p}}function C(D,L,y,M){D.easeTo({center:[L,(y+M)/2],zoom:g(D),duration:$,essential:!0})}function S(D,L,y){if(y>w)return!0;try{const M=typeof D.cameraForBounds=="function"?D.cameraForBounds(L,{padding:_,maxZoom:h}):null;return M==null?!0:typeof M.zoom=="number"&&M.zoom<=g(D)+.05}catch{return!1}}function G(D,L){if(!Array.isArray(D))return D;switch(D[0]){case"get":return L==null?void 0:L[D[1]];case"literal":return D[1];case"has":return L!=null&&D[1]in L;case"!has":return L==null||!(D[1]in L);case"!":return!G(D[1],L);case"coalesce":{for(let M=1;M<D.length;M++){const z=G(D[M],L);if(z!=null)return z}return null}case"to-number":{const M=G(D[1],L),z=Number(M);if(Number.isFinite(z))return z;if(D.length>2){const K=Number(G(D[2],L));return Number.isFinite(K)?K:0}return NaN}case"to-string":{const M=G(D[1],L);return M==null?"":String(M)}case"to-boolean":return!!G(D[1],L);case"slice":{const M=G(D[1],L),z=G(D[2],L),K=D.length>3?G(D[3],L):void 0;return typeof M!="string"?"":K!=null?M.slice(z,K):M.slice(z)}default:return D}}function H(D,L){if(D===!0)return!0;if(D===!1)return!1;if(!Array.isArray(D))return!!D;const y=D[0];if(y==="all"){for(let M=1;M<D.length;M++)if(!H(D[M],L))return!1;return!0}if(y==="any"){for(let M=1;M<D.length;M++)if(H(D[M],L))return!0;return!1}if(y==="!")return!H(D[1],L);if(y==="has")return L!=null&&D[1]in L;if(y==="!has")return L==null||!(D[1]in L);if(y==="=="||y==="!="||y===">"||y===">="||y==="<"||y==="<="){const M=typeof D[1]=="string"?L==null?void 0:L[D[1]]:G(D[1],L),z=G(D[2],L);switch(y){case"==":return M===z||M==null&&z==null;case"!=":return!(M===z||M==null&&z==null);case">":return M>z;case">=":return M>=z;case"<":return M<z;case"<=":return M<=z}}if(y==="in"){const M=G(D[1],L),z=G(D[2],L);return Array.isArray(z)||typeof z=="string"?z.includes(M):!1}if(y==="match"){const M=G(D[1],L),z=D.length-1;for(let K=2;K<z;K+=2){const Q=D[K];if((Array.isArray(Q)?Q:[Q]).includes(M))return!!G(D[K+1],L)}return!!G(D[z],L)}return!1}function J(D,L){var z,K;const y=D.getSource(L);if(!y)return[];const M=y._data??((K=(z=y.serialize)==null?void 0:z.call(y))==null?void 0:K.data);return M?Array.isArray(M==null?void 0:M.features)?M.features:(M==null?void 0:M.type)==="Feature"?[M]:[]:[]}function U(D,L={}){var ee,de;const y=t();if(!y||!D)return;if(L.regionPolygonSource&&y.getSource(L.regionPolygonSource)){const Pe=J(y,L.regionPolygonSource),T=D.id??D.label,F=Pe.find(I=>{const W=(I==null?void 0:I.properties)||{};return W.region===T||W.name===T||W.id===T});if(F){const I=[];let W=1/0,Y=-1/0;const O=te=>{for(const k of te)Array.isArray(k[0])?O(k):Number.isFinite(k[0])&&Number.isFinite(k[1])&&(I.push(k[0]),k[1]<W&&(W=k[1]),k[1]>Y&&(Y=k[1]))};(ee=F.geometry)!=null&&ee.coordinates&&O(F.geometry.coordinates);const ue=P(I);if(ue&&Number.isFinite(W)){const te=[[ue.minLng,W],[ue.maxLng,Y]];S(y,te,ue.span)?C(y,ue.center,W,Y):y.fitBounds(te,{padding:_,maxZoom:h,duration:$,essential:!0});return}}}const M=L.sourceId??"language-families";if(!y.getSource(M))return;const z=L.matchExpr??D.filter;if(!z)return;const K=J(y,M);if(!K.length)return;const Q=[];let ie=1/0,j=-1/0,be=0,xe=0,fe=0;const ke=new Set;for(const Pe of K){const T=Pe==null?void 0:Pe.properties;if(!H(z,T))continue;const F=T==null?void 0:T.uniqueId;if(F!=null){if(ke.has(F))continue;ke.add(F)}const I=(de=Pe.geometry)==null?void 0:de.coordinates;if(!Array.isArray(I)||I.length<2)continue;const W=I[0],Y=I[1];!Number.isFinite(W)||!Number.isFinite(Y)||(be===0&&(xe=W,fe=Y),Q.push(W),Y<ie&&(ie=Y),Y>j&&(j=Y),be++)}if(be===0)return;if(be===1){y.flyTo({center:[xe,fe],zoom:m,duration:$,essential:!0});return}const $e=P(Q)||{center:0,minLng:0,maxLng:0,span:0},ne=[[$e.minLng,ie],[$e.maxLng,j]];if(S(y,ne,$e.span)){C(y,$e.center,ie,j);return}try{y.fitBounds(ne,{padding:_,maxZoom:h,duration:$,essential:!0})}catch{}}return{getOffsetCenter:l,slowFlyToFamily:c,slowFlyToRegion:u,flyTo:f,flyToCoords:A,fitBounds:v,resetView:b,zoomToLegendRow:U,calculateRegionCenterFromPolygon:d}}const sr="#1a1a1a",Vo="selected-pin-highlight";function xk(e=sr){const t=document.createElement("div");t.className="map-go-pin-wrapper";const o=`pinGrad-${Math.random().toString(36).slice(2,8)}`;return t.innerHTML=`
|
||
<style>
|
||
/* Angled, brush-style pin: a slight tilt, a diagonal gradient and a stronger
|
||
drop-shadow give it a hand-drawn, "set down on the map" look without raster art. */
|
||
.map-go-pin-wrapper {
|
||
position: relative;
|
||
width: 32px;
|
||
height: 40px;
|
||
pointer-events: none;
|
||
overflow: visible;
|
||
}
|
||
.map-go-pin__svg {
|
||
position: relative;
|
||
width: 32px;
|
||
height: 40px;
|
||
filter: drop-shadow(2px 4px 3px rgba(0,0,0,0.4));
|
||
}
|
||
</style>
|
||
|
||
<svg
|
||
class="map-go-pin__svg"
|
||
viewBox="-2 -2 32 40"
|
||
xmlns="http://www.w3.org/2000/svg"
|
||
aria-label="Selected people group"
|
||
>
|
||
<defs>
|
||
<linearGradient id="${o}" x1="0%" y1="0%" x2="100%" y2="100%">
|
||
<stop offset="0%" stop-color="${e}" stop-opacity="0.92"/>
|
||
<stop offset="55%" stop-color="${e}" stop-opacity="1"/>
|
||
<stop offset="100%" stop-color="#000" stop-opacity="0.85"/>
|
||
</linearGradient>
|
||
</defs>
|
||
<path
|
||
d="M14 1 C6.8 1 1 6.8 1 14 C1 24 14 35 14 35 C14 35 27 24 27 14 C27 6.8 21.2 1 14 1 Z"
|
||
fill="none" stroke="white" stroke-width="2" stroke-linejoin="round"
|
||
/>
|
||
<path
|
||
d="M14 1 C6.8 1 1 6.8 1 14 C1 24 14 35 14 35 C14 35 27 24 27 14 C27 6.8 21.2 1 14 1 Z"
|
||
fill="url(#${o})"
|
||
/>
|
||
</svg>
|
||
`,t}function Lk(e={}){const{getMap:t=()=>null,getActivePinColor:o=null}=e,n=Ne("uiStore");let a=null,s=null;const r=o??Ne("getActivePinColor",null);let i=sr;function l(){const b=t();b&&(b.getLayer(Vo)||b.getSource("language-families")&&b.addLayer({id:Vo,type:"circle",source:"language-families",paint:{"circle-radius":["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],"circle-color":i,...Ao(b),"circle-opacity":1,"circle-stroke-width":2,"circle-stroke-color":"#FFFFFF","circle-stroke-opacity":1},filter:["==",["get","uniqueId"],"__none__"]}))}function c(){a||(a=xk(sr))}function u(b,_){const $=t();$&&(c(),s&&s.remove(),s=new(ar($)).Marker({element:a,anchor:"bottom",offset:[0,0]}).setLngLat([b,_]).addTo($))}function d(){s&&(s.remove(),s=null)}function f(b){var p,P;const _=t();if(!_)return;if(b&&(i=(r==null?void 0:r(b.properties))??sr),l(),_.getLayer(Vo)&&(_.setPaintProperty(Vo,"circle-color",i),Kd(_)&&_.setPaintProperty(Vo,"circle-emissive-strength",1)),!b){_.getLayer(Vo)&&_.setFilter(Vo,["==",["get","uniqueId"],"__none__"]),d();return}const $=((p=b.properties)==null?void 0:p.uniqueId)||"__none__",h=(P=b.geometry)==null?void 0:P.coordinates;if(!h)return;_.getLayer(Vo)&&_.setFilter(Vo,["==",["get","uniqueId"],$]);const[m,w]=h;u(m,w)}Re(()=>n.selectedPeopleGroup,b=>{f(b)});function A(){l()}function v(){d(),a=null}return{initialize:A,cleanup:v,updateSelectedPin:f}}const oa="doxa-country-outline",Ha="doxa-country-outline-line",Sk="mapbox://mapbox.country-boundaries-v1",Ak="country_boundaries";function Pk(e,t){if(!e)return"";const o=Array.isArray(t)?t:[],n=Array.isArray(e.memberIds)?e.memberIds.map(String):[],a=new Set(n);let s=n.length?o.find(r=>a.has(String(r.uniqueId??r.id??r.slug??""))):null;if(!s){const r=String(e.label??"").toLowerCase();s=o.find(i=>String(i.countryName??i.country??"").toLowerCase()===r)}return String((s==null?void 0:s.countryIso)??"").trim().toUpperCase()}function Ck(e){return["all",["==",["get","iso_3166_1_alpha_3"],e],["any",["==",["get","worldview"],"all"],["in","US",["get","worldview"]]]]}function Ek(e,t={}){const o=t.lineColor??"#2563eb",n=t.lineWidth??2.5,a=t.lineOpacity??.8;function s(){const i=typeof e=="function"?e():null;if(i)try{i.getLayer(Ha)&&i.removeLayer(Ha),i.getSource(oa)&&i.removeSource(oa)}catch{}}function r(i){const l=String(i||"").trim().toUpperCase();if(l.length!==3)return;const c=typeof e=="function"?e():null;if(!c)return;const u=Ck(l);if(c.getLayer(Ha))try{c.setFilter(Ha,u);return}catch{}s();try{const d=(()=>{var f,A,v;try{return!!((v=(A=(f=c.getContainer)==null?void 0:f.call(c))==null?void 0:A.classList)!=null&&v.contains("maplibregl-map"))}catch{return!1}})();d?(c.addSource(oa,{type:"geojson",data:{type:"FeatureCollection",features:[]}}),fetch(`${Qd(null)}/boundaries/world-adm0.geojson`).then(f=>f.json()).then(f=>{for(const b of f.features||[])b.properties&&b.properties.iso3&&(b.properties.iso_3166_1_alpha_3=b.properties.iso3);const A=typeof e=="function"?e():null,v=A&&A.getSource(oa);v&&v.setData(f)}).catch(f=>console.warn("[country-outline] boundaries failed to load",f))):c.addSource(oa,{type:"vector",url:Sk}),c.addLayer({id:Ha,type:"line",source:oa,...d?{}:{"source-layer":Ak},filter:u,layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":o,"line-width":n,"line-opacity":a,...Ao(c,"line")}})}catch{}}return{showCountry:r,clearCountry:s}}const ag="doxa-prayed-local",Tk=7*24*60*60*1e3;function sg(){try{const e=localStorage.getItem(ag);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function rg(e){try{localStorage.setItem(ag,JSON.stringify(e))}catch{}}function Nk(){const e=Date.now(),t=sg();let o=!1;for(const[n,a]of Object.entries(t))(typeof a!="number"||e-a>Tk)&&(delete t[n],o=!0);return o&&rg(t),new Set(Object.keys(t))}function Mk(e){if(!e)return;const t=sg();t[e]=Date.now(),rg(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}function Rk(e){const t=Nk();return!t.size||!Array.isArray(e)?e:e.map(o=>(Number(o&&o.peoplePraying)||0)>0||!o||!t.has(o.slug)?o:{...o,peoplePraying:1})}const ig={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"};function cl(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const Fk=[[/ sign language$/i,"Sign Language"]];function Ik(e){var i,l;const t=cl(e.languageFamily);if(t)return t;const o=String(((l=(i=e._raw)==null?void 0:i.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(o&&ig[o])return ig[o];const n=cl(e.language||e.primary_language);if(!n||typeof n!="string")return"";const a=n.trim(),s=a.split(",").map(c=>c.trim()).filter(Boolean);if(s.length>=2){const c=[...s].reverse().join(" ");if(Ye[c])return Ye[c];if(s.length>=3){const u=[s[1],s[0]].join(" ");if(Ye[u])return Ye[u]}}if(Ye[a])return Ye[a];const r=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(r!==a&&Ye[r])return Ye[r];for(const[c,u]of Fk)if(c.test(a))return u;return""}function Ok(e){const{mapId:t="unknown",dataSourceId:o="doxa-csv",dataSourceManager:n=null,dataStore:a=null,markRaw:s=g=>g}=e;n||console.error("useMapData: dataSourceManager is required!");const r=he(!1),i=he(null),l=he(!1),c=he([]),u=he([]),d=he(null),f=he([]),A=he([]),v=he([]),b=he(null);async function _(){if(!n)throw new Error("dataSourceManager is required for useMapData");r.value=!0,i.value=null;try{if(await n.init(),a&&a.hasSourceData&&a.hasSourceData(o)){const L=a.getSourceData(o);u.value=s(L.normalizedData||[])}else{const L=await n.setActiveSource(o);for(const y of L){const M=cl(y.language||y.primary_language);M&&(y.language=M);const z=Ik(y);y.languageFamily=or(z)}u.value=s(L),a&&a.cacheSourceData&&a.cacheSourceData(o,{normalizedData:L,timestamp:Date.now()})}c.value=s(Rk(u.value.map(L=>({id:L.uniqueId,slug:L.slug||"",rop3:L.peopleGroupId,peopleId3:L.peopleId3,name:L.name,language:L.language,languageFamily:L.languageFamily,country:L.country,population:L.population,status:L.engagementStatus||L.status,latitude:L.latitude,longitude:L.longitude,lng:L.longitude,lat:L.latitude,description:L.description,imageUrl:L.imageUrl,doxaRegion:L.doxaRegion||L.wagfRegion||"",peoplePraying:L.peoplePraying??null,_normalized:L}))));const g=n.getDataByLanguageFamily();f.value=Object.entries(g).map(([L,y])=>{const M=y.reduce((z,K)=>{const Q=parseInt(K.population)||0;return z+Q},0);return{name:L,count:y.length,peopleGroupCount:y.length,population:M,groups:y}}).sort((L,y)=>y.count-L.count);const C=n.getDataByRegion();A.value=Object.entries(C).map(([L,y])=>{const M=y.reduce((z,K)=>{const Q=parseInt(K.population)||0;return z+Q},0);return{name:L,count:y.length,peopleGroupCount:y.length,population:M,groups:y}}).sort((L,y)=>L.name.localeCompare(y.name));const S={bible:{count:0,population:0,groups:[]},jesusFilm:{count:0,population:0,groups:[]},radio:{count:0,population:0,groups:[]},gospel:{count:0,population:0,groups:[]},audio:{count:0,population:0,groups:[]},stories:{count:0,population:0,groups:[]},hasResources:{count:0,population:0,groups:[]},noResources:{count:0,population:0,groups:[]}};u.value.forEach(L=>{const y=parseInt(L.population)||0;let M=!1;L.bible==="Available"&&(S.bible.count++,S.bible.population+=y,S.bible.groups.push(L),M=!0),L.jesusFilm==="Available"&&(S.jesusFilm.count++,S.jesusFilm.population+=y,S.jesusFilm.groups.push(L),M=!0),L.radio==="Available"&&(S.radio.count++,S.radio.population+=y,S.radio.groups.push(L),M=!0),L.gospel==="Available"&&(S.gospel.count++,S.gospel.population+=y,S.gospel.groups.push(L),M=!0),L.audio==="Available"&&(S.audio.count++,S.audio.population+=y,S.audio.groups.push(L),M=!0),L.stories==="Available"&&(S.stories.count++,S.stories.population+=y,S.stories.groups.push(L),M=!0),M?(S.hasResources.count++,S.hasResources.population+=y,S.hasResources.groups.push(L)):(S.noResources.count++,S.noResources.population+=y,S.noResources.groups.push(L))});const G=u.value.length,H=u.value.reduce((L,y)=>L+(parseInt(y.population)||0),0),J={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},U={bible:{count:G-S.bible.count,population:H-S.bible.population},jesusFilm:{count:G-S.jesusFilm.count,population:H-S.jesusFilm.population},radio:{count:G-S.radio.count,population:H-S.radio.population},gospel:{count:G-S.gospel.count,population:H-S.gospel.population},audio:{count:G-S.audio.count,population:H-S.audio.population},stories:{count:G-S.stories.count,population:H-S.stories.population}},D="#2c3e50";return v.value=[{name:J.bible,key:"bible",count:S.bible.count,population:S.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:U.bible.count,population:U.bible.population,color:D}]},{name:J.jesusFilm,key:"jesusFilm",count:S.jesusFilm.count,population:S.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:U.jesusFilm.count,population:U.jesusFilm.population,color:D}]},{name:J.radio,key:"radio",count:S.radio.count,population:S.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:U.radio.count,population:U.radio.population,color:D}]},{name:J.gospel,key:"gospel",count:S.gospel.count,population:S.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:U.gospel.count,population:U.gospel.population,color:D}]},{name:J.audio,key:"audio",count:S.audio.count,population:S.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:U.audio.count,population:U.audio.population,color:D}]},{name:J.stories,key:"stories",count:S.stories.count,population:S.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:U.stories.count,population:U.stories.population,color:D}]},{name:J.hasResources,key:"hasResources",count:S.hasResources.count,population:S.hasResources.population,isParent:!0,children:[{name:J.noResources,key:"noResources",count:S.noResources.count,population:S.noResources.population,color:D}]}],b.value=n.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:f.value,doxaRegionsData:A.value,resourcesData:v.value,stats:b.value}}catch(g){throw console.error(`Failed to load data for map "${t}":`,g),i.value=g.message||"Failed to load data",g}finally{r.value=!1}}async function $(){var g,C,S;try{const G={},H=u.value||[];for(const J of H){const U=J.countryIso||((C=(g=J._raw)==null?void 0:g.country_code)==null?void 0:C.value)||"",D=(S=J._raw)==null?void 0:S.wagf_region,L=J.doxaRegion||J.wagfRegion||(D&&typeof D=="object"?D.value:"")||"";U&&L&&!G[U]&&(G[U]=L)}return d.value={isoToRegion:G},d.value}catch(G){throw console.error(`Error building regions data for map "${t}":`,G),i.value=G.message||"Failed to build regions",G}}function h(){return n?n.getDataByLanguageFamily():{}}function m(){return n?n.getDataByRegion():{}}function w(g){return h()[g]||[]}function p(g){return m()[g]||[]}function P(){c.value=[],u.value=[],d.value=null,f.value=[],A.value=[],v.value=[],b.value=null,l.value=!1,i.value=null}return{isLoading:r,isInitialized:l,error:i,peopleGroups:c,normalizedPeopleGroups:u,regionsData:d,languageFamiliesData:f,doxaRegionsData:A,resourcesData:v,stats:b,loadData:_,loadRegionsData:$,getDataByLanguageFamily:h,getDataByRegion:m,getPeopleGroupsByFamily:w,getPeopleGroupsByRegion:p,clearData:P}}function Dk(e){const{map:t,geocoderRef:o,clustering:n,mapStore:a,uiStore:s,mapLayers:r,pplrInstance:i,onSemanticTreeSelect:l,switchTab:c,activeTabId:u,clearAllHighlights:d,clearCountryHighlight:f,mapId:A,supportedKinds:v,legendRouters:b={},peopleGroupResult:_,busAdapter:$}=e,h=e.filterLayerId||"language-family-pins";let m=!1;function w(){var L,y,M,z,K;m=!0;const U=(y=(L=o.value)==null?void 0:L.geocoder)==null?void 0:y.value;(M=U==null?void 0:U.clear)==null||M.call(U);const D=(U==null?void 0:U._inputEl)||((K=(z=U==null?void 0:U.container)==null?void 0:z.querySelector)==null?void 0:K.call(z,"input.mapboxgl-ctrl-geocoder--input"));if(D){D.value="";try{D.dispatchEvent(new Event("input",{bubbles:!0}))}catch{}}m=!1}function p(U,D){const L=`${h}-hitbox`;if(U!=null&&U.getLayer(L))try{U.setFilter(L,D)}catch{}}function P(){typeof window>"u"||typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:reveal-selected",{detail:{mapId:A}}))}const g={country:"countryName","language-family":"languageFamily",language:"language",dialect:"language",religion:"religionName",region:"doxaRegion","affinity-bloc":"affinityBlock",cluster:"cluster","people-group":"peopleGroup"};function C(U,D,L){var y,M,z;if(U.kind==="language")return["any",["==",["get",D],L],["==",["slice",["get",D],0,L.length+1],L+","],["in"," "+L,["get",D]]];if(U.kind==="dialect"){const K=Array.isArray(U.originalLabels)?U.originalLabels:[];return K.length===1?["==",["get",D],K[0]]:K.length>1?["in",["get",D],["literal",K]]:["==",["get",D],L]}else if(U.kind==="affinity-bloc"){const K=U.blocCode||((y=U.properties)==null?void 0:y.blocCode)||"";return K?["==",["get","affinityBlock"],K]:["==",["get","affinityBlockLabel"],L]}else if(U.kind==="cluster"){const K=U.clusterCode||((M=U.properties)==null?void 0:M.clusterCode)||"",Q=U.blocCode||((z=U.properties)==null?void 0:z.blocCode)||"";return K&&Q?["all",["==",["get","affinityBlock"],Q],["==",["get","cluster"],K]]:["==",["get","clusterLabel"],L]}else return["==",["get",D],L]}function S(U){if(!U||v&&!v.includes(U.kind))return null;const D=g[U.kind]||null,L=U.label;return!D||L==null||L===""?null:{kind:U.kind,value:L,property:D,expr:C(U,D,L)}}function G(U){var y,M,z,K;if(!U)return;f==null||f();const D=ge(t),L=((y=U.properties)==null?void 0:y.id)||((M=U.properties)==null?void 0:M.uniqueId)||null;if((z=s==null?void 0:s.selectPeopleGroup)==null||z.call(s,{...U,properties:{...U.properties,uniqueId:L}}),D&&L!=null&&D.getLayer(h)){const Q=["==",["get","uniqueId"],L];try{D.setFilter(h,null)}catch{}p(D,Q),D.setPaintProperty(h,"circle-opacity",["case",Q,1,0]),D.setPaintProperty(h,"circle-stroke-opacity",["case",Q,1,0]),D.getLayer(`${h}-shadow`)&&D.setPaintProperty(`${h}-shadow`,"circle-opacity",["case",Q,1,0]),(K=r==null?void 0:r.syncGlowFilter)==null||K.call(r,Q)}}function H(U){var K;if($){const Q=S(U);if(!Q)return;$.aggregate(Q,U);return}const D=ge(t);if(!U||!D||!D.getLayer(h)||v&&!v.includes(U.kind))return;U.kind!=="country"&&(f==null||f());const L=S(U);if(!L)return;const{property:y,value:M}=L;try{D.setFilter(h,L.expr)}catch{}n.setSelectionFilter({property:y,value:M});let z=!1;if(U.kind==="language-family"||U.kind==="family")a.selectFamily(U.label),a.setActiveLegendTab("family"),z=!0;else if(U.kind==="language")a.selectLanguage(U.label),a.setActiveLegendTab("language"),z=!0;else if(U.kind==="dialect"){const Q=Array.isArray(U.originalLabels)?U.originalLabels:[],ie=U.familyDerived||"",j=U.baseLang||"",be=U.dialectLabel||"",xe=`${ie}__${j}__${be}`;(K=a.selectDialect)==null||K.call(a,{key:xe,originalLabels:Q}),a.setActiveLegendTab("dialect"),z=!0}else if(U.kind==="affinity-bloc"||U.kind==="cluster"||U.kind==="people-group"){let Q=null;if(U.kind==="affinity-bloc"){const ie=U.blocCode||"";Q={id:`bloc:${ie}`,label:U.label,depth:0,filter:ie?["==",["get","affinityBlock"],ie]:null}}else if(U.kind==="cluster"){const ie=U.blocCode||"",j=U.clusterCode||"";Q={id:`cluster:${ie}__${j}`,label:U.label,depth:1,filter:j?["==",["get","cluster"],j]:null}}else if(U.kind==="people-group"){const ie=U.blocCode||"",j=U.clusterCode||"",be=U.peopleGroupCode||"";Q={id:`pg:${ie}__${j}__${be}`,label:U.label,depth:2,filter:be?["==",["get","peopleGroup"],be]:null}}if(Q&&Q.filter){const ie=()=>{try{D.setFilter(h,null)}catch{}l(Q),i&&i.selection&&(i.selection.value=Q)};u.value!=="affinity-blocks"?(c("affinity-blocks"),It(ie)):ie()}z=!0}else b[U.kind]&&(b[U.kind](U,{map:D,filterLayerId:h,clearGeocoder:w,emitLegendReveal:P,property:y,value:M}),z=!0);z&&(w(),P())}function J(){var D,L,y;if($){$.clear();return}if(m)return;f==null||f();const U=ge(t);a.selectedRegion&&((D=a.selectRegion)==null||D.call(a,null)),a.selectedResource&&((L=a.selectResource)==null||L.call(a,null)),U&&U.getLayer(h)?d(U):(a.selectFamily(null),a.selectLanguage(null),(y=a.selectDialect)==null||y.call(a,null),n.setSelectionFilter(null))}return{onPeopleGroupResult:$?U=>$.peopleGroup(U):_||G,onAggregateResult:H,onClear:J,clearGeocoderProgrammatic:w}}const ul={};function pl(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:Tn&&Tn.tagName.toUpperCase()==="SCRIPT"&&Tn.src||new URL("doxa-research-map.js",document.baseURI).href}<"u"&&(ul==null?void 0:ul.VITE_API_BASE_URL)||""}const dl=he(0),rr=he(0),ir=he(0),gl=he(!1),fl=he(!1),hl=he(null);let Va=null;async function Bk(){if(!gl.value)return Va||(fl.value=!0,hl.value=null,Va=(async()=>{var e,t;try{const o=((e=vn==null?void 0:vn.sources)==null?void 0:e[vn.activeSource])||{},n=pl(),a=((t=o.endpoints)==null?void 0:t.statistics)||"/api/people-groups/statistics",s=await fetch(`${n}${a}`,{cache:"no-store"});if(!s.ok)throw new Error(`statistics HTTP ${s.status}`);const r=await s.json();dl.value=Number(r.total||0),rr.value=Number(r.total_with_prayer_committed??r.total_with_prayer??0),ir.value=Number(r.total_with_100_committed??r.total_with_full_prayer??0),gl.value=!0}catch(o){hl.value=o&&o.message?o.message:String(o)}finally{fl.value=!1,Va=null}})(),Va)}function Gk(){return{total:dl,withPrayer:rr,withFullPrayer:ir,loaded:gl,loading:fl,error:hl,load:Bk,noPrayerCount:()=>Math.max(0,dl.value-rr.value),hasPrayerCount:()=>Math.max(0,rr.value-ir.value),fullPrayerCount:()=>ir.value}}function jk(e){return(e==null?void 0:e.properties)||e||{}}function lr(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function Uk(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(Ye[n])return Ye[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if(Ye[a])return Ye[a]}}if(Ye[e])return Ye[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&Ye[o]?Ye[o]:null}const zk=[[/ sign language$/i,"Sign Language"]];function Hk(e){if(!e||typeof e!="string")return"— Unknown —";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function Vk(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function Kk(e){var r,i,l,c;const t=e.language_family??e.languageFamily??((r=e._raw)==null?void 0:r.LanguageFamily)??((i=e._raw)==null?void 0:i.language_family),o=lr(t),n=or(o);if(n&&n!=="Unknown")return n;const a=e.primary_language??e.primaryLanguage??((l=e._raw)==null?void 0:l.PrimaryLanguage)??((c=e._raw)==null?void 0:c.primary_language),s=lr(a);if(s){const u=String(s).trim(),d=Uk(u);if(d)return d;for(const[f,A]of zk)if(f.test(u))return A}return"Unknown"}function qk(e){var a,s;const t=((a=e._raw)==null?void 0:a.primary_language)??((s=e._raw)==null?void 0:s.PrimaryLanguage);if(t){const r=lr(t);if(r)return String(r).trim()}const o=e.primary_language??e.primaryLanguage??e.language,n=lr(o);return n&&String(n).trim()||"— Unknown —"}function Wk(e){var o,n;const t=e.population??((o=e._raw)==null?void 0:o.Population)??((n=e._raw)==null?void 0:n.population)??0;return parseInt(t,10)||0}function Yk(e,t){var o,n;return(e==null?void 0:e.id)??t.id??t.peopleGroupId??((o=t._raw)==null?void 0:o.PeopleID3)??((n=t._raw)==null?void 0:n.PeopleID)??null}function Xk(e,t){return(e==null?void 0:e.clusterId)??t.clusterId??null}function Zk(e,t){var a,s,r,i;const o=parseFloat(t.latitude??t.lat??((a=t._raw)==null?void 0:a.Latitude)??((s=t._raw)==null?void 0:s.latitude)),n=parseFloat(t.longitude??t.lng??((r=t._raw)==null?void 0:r.Longitude)??((i=t._raw)==null?void 0:i.longitude));return!isFinite(o)||!isFinite(n)?null:[n,o]}function Jk(e,t){return t.peopleGroupCount!==e.peopleGroupCount?t.peopleGroupCount-e.peopleGroupCount:(t.population||0)-(e.population||0)}function cr(e,t){return(t.population||0)!==(e.population||0)?(t.population||0)-(e.population||0):t.peopleGroupCount-e.peopleGroupCount}function ml(e,t={}){t.aggregator;const o=Fn({});function n(b){return!!o[b]}function a(b){o[b]=!o[b]}function s(b){const _=new Set(Array.isArray(b)?b:[]);for(const $ of Object.keys(o))_.has($)||(o[$]=!1);for(const $ of _)o[$]=!0}const r=oe(()=>{const b=(e==null?void 0:e.value)||[],_=new Map;for(const $ of b){const h=jk($),m=Kk(h),w=qk(h),p=Hk(w),P=Vk(w),g=Wk(h),C=Yk($,h),S=Xk($,h),G=Zk($,h);let H=_.get(m);H||(H={key:m,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},_.set(m,H)),H.peopleGroupCount+=1,H.population+=g,C!=null&&H.pinIds.push(C),G&&H.coords.push(G),S&&!H.clusterId&&(H.clusterId=S);let J=H.languages.get(p);if(J||(J={key:p,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},H.languages.set(p,J)),J.peopleGroupCount+=1,J.population+=g,C!=null&&J.pinIds.push(C),G&&J.coords.push(G),S&&!J.clusterId&&(J.clusterId=S),P){let U=J.dialects.get(P);U?U.originalLabels.add(w):(U={key:P,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([w])},J.dialects.set(P,U)),U.peopleGroupCount+=1,U.population+=g,C!=null&&U.pinIds.push(C),G&&U.coords.push(G)}}return _}),i=t.showAllKnown!==!1,l=oe(()=>{const b=r.value,_=[],$=new Set;for(const h of b.values())_.push({key:h.key,label:h.key,color:co(h.key),peopleGroupCount:h.peopleGroupCount,population:h.population,kind:h.clusterId?"cluster":"family",clusterId:h.clusterId||void 0,pinIds:h.pinIds,coords:h.coords}),$.add(h.key);if(i)for(const h of Object.keys(Sd))$.has(h)||_.push({key:h,label:h,color:co(h),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return _.sort(Jk),_});function c(b){const _=r.value.get(b);if(!_)return[];const $=[];for(const h of _.languages.values())$.push({key:`${b}__${h.key}`,label:h.key,color:co(b),peopleGroupCount:h.peopleGroupCount,population:h.population,kind:h.clusterId?"cluster":"language",familyKey:b,clusterId:h.clusterId||void 0,pinIds:h.pinIds,coords:h.coords,hasDialects:h.dialects.size>0});return $.sort(cr),$}function u(b){const _=b.indexOf("__");if(_<0)return[];const $=b.slice(0,_),h=b.slice(_+2),m=r.value.get($);if(!m)return[];const w=m.languages.get(h);if(!w)return[];const p=[];for(const P of w.dialects.values())p.push({key:`${b}__${P.key}`,label:`${h}, ${P.key}`,dialectOnly:P.key,color:co($),peopleGroupCount:P.peopleGroupCount,population:P.population,kind:"dialect",languageKey:h,familyKey:$,pinIds:P.pinIds,coords:P.coords,originalLabels:Array.from(P.originalLabels)});return p.sort(cr),p}const d=oe(()=>{const b=r.value,_=[];for(const $ of b.values())for(const h of $.languages.values())_.push({key:`${$.key}__${h.key}`,label:h.key,color:co($.key),peopleGroupCount:h.peopleGroupCount,population:h.population,kind:h.clusterId?"cluster":"language",familyKey:$.key,clusterId:h.clusterId||void 0,pinIds:h.pinIds,coords:h.coords,hasDialects:h.dialects.size>0});return _.sort(cr),_}),f=oe(()=>{const b=r.value,_=[];for(const $ of b.values())for(const h of $.languages.values())for(const m of h.dialects.values())_.push({key:`${$.key}__${h.key}__${m.key}`,label:`${h.key}, ${m.key}`,dialectOnly:m.key,color:co($.key),peopleGroupCount:m.peopleGroupCount,population:m.population,kind:"dialect",languageKey:h.key,familyKey:$.key,pinIds:m.pinIds,coords:m.coords,originalLabels:Array.from(m.originalLabels)});return _.sort(cr),_});function A(b){let _=b;if(typeof b=="string"&&(_=l.value.find(h=>h.key===b),!_))return;const $={kind:_.kind,pinIds:_.pinIds||[],coords:_.coords||[]};_.kind==="family"&&($.familyKey=_.label),_.kind==="language"&&($.languageKey=_.label,$.familyKey=_.familyKey),_.kind==="dialect"&&($.dialectKey=_.key,$.dialectOnly=_.dialectOnly||_.label,$.languageKey=_.languageKey,$.familyKey=_.familyKey,$.originalLabels=_.originalLabels||[]),_.kind==="cluster"&&($.clusterId=_.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:$}))}const v=oe(()=>{const b=r.value,_=[];for(const $ of b.values()){const h=co($.key),m=[];for(const p of $.languages.values()){p.key&&p.key!=="— Unknown —"&&m.push(p.key);for(const P of p.dialects.values())for(const g of P.originalLabels)g&&m.push(g)}const w={id:`fam:${$.key}`,label:$.key,color:h,count:$.peopleGroupCount,pop:$.population,filter:m.length>0?["any",["==",["get","languageFamily"],$.key],["in",["get","language"],["literal",Array.from(new Set(m))]]]:["==",["get","languageFamily"],$.key],children:[]};for(const p of $.languages.values()){const P=p.key,g={id:`lang:${$.key}__${P}`,label:P,color:h,count:p.peopleGroupCount,pop:p.population,filter:["any",["==",["get","language"],P],["==",["slice",["get","language"],0,P.length+1],P+","],["in"," "+P,["get","language"]]],children:[]};for(const C of p.dialects.values()){const S=Array.from(C.originalLabels);g.children.push({id:`dial:${$.key}__${P}__${C.key}`,label:`${P}, ${C.key}`,color:h,count:C.peopleGroupCount,pop:C.population,filter:S.length===1?["==",["get","language"],S[0]]:["in",["get","language"],["literal",S]],originalLabels:S,children:[]})}w.children.push(g)}_.push(w)}return _.sort(($,h)=>h.pop-$.pop||h.count-$.count),_});return{rows:l,languageRows:d,dialectRows:f,langTree:v,toggle:a,isExpanded:n,setExpansionToOnly:s,childRowsFor:c,dialectRowsFor:u,highlight:A}}const Qk=[];function ew(){const e=So(Jn.RESOURCE);return e&&e.propertyKey==="resourceType"?e:null}function tw(){const e=So(Jn.DOXA_REGION);return e&&e.propertyKey==="doxaRegion"?e.palette||{}:{}}function ow(){const e=So(Jn.AFFINITY_BLOCK);if(!e||e.propertyKey!=="affinityBlock")return{};const t=e.names||{},o=e.palette||{},n={};for(const a of Object.keys(t))n[t[a]]=o[a]||"#999";return n}function xn(e,t){const a=Object.values(e.sources||{}).flatMap(s=>(s==null?void 0:s.features)||[]).filter(s=>t(s.properties||s));return{count:a.length,population:a.reduce((s,r)=>{var l;const i=r.properties||r;return s+(parseInt(i.population||((l=i._raw)==null?void 0:l.Population)||0)||0)},0)}}const lg=100;function nw(e){var o;let t=(e==null?void 0:e.peopleCommitted)??((o=e==null?void 0:e._raw)==null?void 0:o.people_committed)??(e==null?void 0:e.people_committed)??null;return t&&typeof t=="object"&&(t=t.value??t.label??0),Number(t)||0}function bl(e){return t=>{const o=nw(t);return e==="fullPrayer"?o>=lg:e==="hasPrayer"?o>0&&o<lg:o<=0}}function cg(e){var o;const t=e.engagementStatus??((o=e._raw)==null?void 0:o.people_committed);return t===!0||t===1||t==="1"||t==="true"||typeof t=="number"&&t>0||typeof t=="string"&&parseInt(t,10)>0}function ug(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||t==="1"||t==="true"||typeof t=="number"&&t>0||typeof t=="string"&&parseInt(t,10)>0}const aw={prayer:"legend.title.prayer",engagement:"legend.title.engagement",adoption:"legend.title.adoption","language-families":"legend.title.languageFamilies","language-family":"legend.title.languageFamilies","doxa-regions":"legend.title.doxaRegions","doxa-region":"legend.title.doxaRegions","affinity-blocs":"legend.title.affinityBlocs",countries:"legend.title.countries",country:"legend.title.countries","gospel-resources":"legend.title.gospelResources",religion:"legend.title.religion"};function na(e){return e==="doxa-region"?"doxa-regions":e==="country"?"countries":e}function sw(e){return e?e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toLocaleString():"0"}function rw(e){return(Number(e)||0).toLocaleString()}function Ka(e,t={}){const o=Ne("dataStore"),n=Ne("uiStore"),a=Ne("mapStore"),{t:s}=bt(),r=Gk();r.load();const i=oe(()=>{if(na(e.value)==="religion")return"Religion";const $=aw[e.value];return $?s($):""}),l=oe(()=>na(e.value)==="affinity-blocs"?Qk:[{key:"count",label:s("legend.columns.upgs"),width:48},{key:"population",label:s("legend.columns.population"),width:48}]),c=oe(()=>{const _=na(e.value);return _==="prayer"?n.prayerFilter:_==="engagement"?n.engagementFilter:_==="adoption"?n.adoptionFilter:_==="language-families"?a.selectedFamily:_==="doxa-regions"?a.selectedRegion:_==="gospel-resources"?a.selectedResource:_==="religion"?n.religionFilter:null});function u(_){const $=na(e.value);$==="prayer"?n.setPrayerFilter(n.prayerFilter===_?null:_):$==="engagement"?n.setEngagementFilter(n.engagementFilter===_?null:_):$==="adoption"?n.setAdoptionFilter(n.adoptionFilter===_?null:_):$==="language-families"?a.selectFamily(a.selectedFamily===_?null:_):$==="doxa-regions"?a.selectRegion(a.selectedRegion===_?null:_):$==="gospel-resources"?a.selectResource(a.selectedResource===_?null:_):$==="religion"&&n.setReligionFilter(n.religionFilter===_?null:_)}const d=oe(()=>{var $,h,m,w;const _=na(e.value);if(_==="prayer"){const p=xn(o,bl("noPrayer")),P=xn(o,bl("hasPrayer")),g=xn(o,bl("fullPrayer")),C=r.loaded.value,S=C?r.noPrayerCount():p.count,G=C?r.hasPrayerCount():P.count,H=C?r.fullPrayerCount():g.count;return[{key:"noPrayer",label:s("legend.prayer.needsPrayer"),color:kn.noPrayer,count:S,population:p.population,filterKey:"noPrayer",children:[{key:"hasPrayer",label:s("legend.prayer.hasPrayer"),color:kn.hasPrayer,count:G,population:P.population,filterKey:"hasPrayer"},{key:"fullPrayer",label:s("legend.prayer.fullPrayerCoverage"),color:kn.fullPrayer,count:H,population:g.population,filterKey:"fullPrayer"}]}]}if(_==="engagement"){const p=xn(o,g=>!cg(g)),P=xn(o,g=>cg(g));return[{key:"notEngaged",label:s("legend.engagement.needsEngagement"),color:Hi.notEngaged,count:p.count,population:p.population,filterKey:"notEngaged",children:[{key:"hasEngagement",label:s("legend.engagement.hasEngagement"),color:Hi.hasEngagement,count:P.count,population:P.population,filterKey:"hasEngagement"}]}]}if(_==="adoption"){const p=xn(o,g=>!ug(g)),P=xn(o,g=>ug(g));return[{key:"notAdopted",label:s("legend.adoption.needsAdoption"),color:ji.notAdopted,count:p.count,population:p.population,filterKey:"notAdopted",children:[{key:"hasAdoption",label:s("legend.adoption.hasAdoption"),color:ji.hasAdoption,count:P.count,population:P.population,filterKey:"hasAdoption"}]}]}if(_==="religion"){const p={},g=Object.values(o.sources||{}).flatMap(G=>(G==null?void 0:G.features)||[]);for(const G of g){const H=G.properties||G,J=H.religion||((h=($=H._raw)==null?void 0:$.religion)==null?void 0:h.value)||((m=H._raw)==null?void 0:m.religion)||"",U=Ua(J);p[U]||(p[U]={count:0,population:0}),p[U].count+=1,p[U].population+=parseInt(H.population||((w=H._raw)==null?void 0:w.Population)||0)||0}const C=new Set((t==null?void 0:t.excludeReligionFamilies)||[]);for(const G of C)delete p[G];return Object.keys(p).sort((G,H)=>G==="C"?-1:H==="C"?1:p[H].population-p[G].population).map(G=>({key:G,label:Jt[G]||"Unknown",color:qt[G]||"#94a3b8",count:p[G].count,population:p[G].population,filterKey:G,children:[]}))}if(_==="language-families")return(o.languageFamiliesData||[]).map(p=>({key:p.name,label:p.name,color:co(p.name),count:p.count,population:p.population,filterKey:p.name,children:[]}));if(_==="language-family"){const P={value:Object.values(o.sources||{}).flatMap(C=>(C==null?void 0:C.features)||[])},{rows:g}=ml(P);return g.value.map(C=>({key:C.key,label:C.label,color:C.color,count:C.peopleGroupCount,population:C.population,filterKey:C.key,children:[]}))}if(_==="doxa-regions"){const p=tw();return(o.doxaRegionsData||[]).map(P=>({key:P.name,label:P.name,color:p[P.name]||"#999",count:P.count,population:P.population,filterKey:P.name,children:[]}))}if(_==="gospel-resources"){const p=ew(),P=(p==null?void 0:p.palette)??{},g=(p==null?void 0:p.names)??{},C=o.resourcesData||[];return Object.keys(P).map(S=>{const G=C.find(H=>H.key===S);return{key:S,label:g[S]||S,color:P[S],count:(G==null?void 0:G.count)||0,population:(G==null?void 0:G.population)||0,filterKey:S,children:((G==null?void 0:G.children)||[]).map(H=>({key:H.key,label:H.name||H.key,color:H.color||P[S],count:H.count||0,population:H.population||0,filterKey:H.key}))}})}if(_==="affinity-blocs"){const p=ow();return Object.keys(p).sort().map(P=>({key:P,label:P,color:p[P],filterKey:P,children:[]}))}return[]});function f(_,$){return _.reduce((h,m)=>{var p;let w=m[$]||0;return(p=m.children)!=null&&p.length&&(w+=f(m.children,$)),h+w},0)}const A=oe(()=>f(d.value,"count")),v=oe(()=>f(d.value,"population")),b=oe(()=>{if(na(e.value)!=="prayer")return null;const _=d.value[0];if(!_)return null;const $=(_.children||[]).find(g=>g.key==="hasPrayer"),h=(_.children||[]).find(g=>g.key==="fullPrayer"),m=Number(_.count)||0,w=Number($==null?void 0:$.count)||0,p=Number(h==null?void 0:h.count)||0,P=(Number($==null?void 0:$.population)||0)+(Number(h==null?void 0:h.population)||0);return{covered:w+p,total:A.value,coveredPopulation:P,totalPopulation:v.value,segments:[{key:"fullPrayer",label:(h==null?void 0:h.label)??s("legend.prayer.fullPrayerCoverage"),count:p,color:kn.fullPrayer},{key:"hasPrayer",label:($==null?void 0:$.label)??s("legend.prayer.hasPrayer"),count:w,color:kn.hasPrayer},{key:"noPrayer",label:_.label,count:m,color:kn.noPrayer}]}});return{items:d,columns:l,title:i,activeFilter:c,setFilter:u,totalCount:A,totalPopulation:v,progress:b,fmtPop:sw,fmtCount:rw}}class pg{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.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=vn,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="",s=!1,r=[],i=!0;for(let l=0;l<t.length;l++){const c=t[l],u=t[l+1];if(c==='"')s&&u==='"'?(a+='"',l++):s=!s;else if(c===","&&!s)r.push(a.trim()),a="";else if((c===`
|
||
`||c==="\r")&&!s){if(c==="\r"&&u===`
|
||
`&&l++,a||r.length>0){if(r.push(a.trim()),a="",i)n.push(...r),i=!1;else if(r.length>1){const d={};n.forEach((f,A)=>{d[f]=r[A]||""}),o.push(d)}r=[]}}else a+=c}if((a||r.length>0)&&(r.push(a.trim()),!i&&r.length>1)){const l={};n.forEach((c,u)=>{l[c]=r[u]||""}),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:s}=this.parseCSV(n);return this.rawData=s,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(r=>r.trim())),s=[];for(const[r,i]of Object.entries(t||{}))if(Array.isArray(i))for(const l of i)a.has(l)||s.push({systemField:r,sourceField:l,isComposite:!0});else i&&!a.has(i)&&s.push({systemField:r,sourceField:i,isComposite:!1});s.length>0&&console.warn(`[DataSourceManager] ${n}: missing CSV columns:`,s)}async loadAPIData(t){try{const n=await(await fetch(t.url||t.endpoint)).json();return this.rawData=Array.isArray(n)?n:n.posts||n.data||n.peopleGroups||n.results||[],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=pl(),n=((l=t.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=t.defaultFields)==null?void 0:c.join(","))||"",s=[];a&&s.push(`fields=${a}`);const r={...t.queryParams||{}};this.locale&&(r.lang=this.locale);for(const[u,d]of Object.entries(r))s.push(`${u}=${encodeURIComponent(d)}`);const i=`${o}${n}?${s.join("&")}`;try{const u=await fetch(i);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const d=u.headers.get("content-type")||"";if(!d.includes("application/json"))throw new Error(`API returned "${d}" instead of JSON. Server at ${o} may be down or misconfigured.`);const f=await u.json();return this.rawData=Array.isArray(f)?f:f.posts||f.data||f.results||[],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 s=a.engagementStatus;s!=null&&(typeof s=="object"&&"value"in s?(a.engagementStatusLabel=s.label||s.value,a.engagementStatus=s.value==="engaged"):a.engagementStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const r=a.adoptionStatus;r!=null&&(a.adoptionStatus=r===!0||r===1||r==="1"||r==="true"||typeof r=="object"&&!!(r!=null&&r.value)||typeof r=="number"&&r>0||typeof r=="string"&&parseInt(r,10)>0);const i=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of i){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=n,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(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)<n&&Math.abs(a.longitude-o)<n)}getByPeopleGroupId(t){return this.normalizedData.filter(o=>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 pg;const iw="",lw=["data-covered","data-total","data-pct"],cw={class:"lpb-track"},uw=["data-span-pct"],pw=["data-seg","data-count","aria-label","onMouseenter","onFocus","onClick"],dw=["data-seg","data-count","aria-label"],gw=["aria-valuenow","aria-valuemax","aria-valuetext","aria-label","title"],dg=nn({__name:"LegendProgressBar",props:{covered:{type:Number,default:0},total:{type:Number,default:0},segments:{type:Array,default:()=>[]},isDark:{type:Boolean,default:!1},label:{type:String,default:""},fmtCount:{type:Function,default:e=>(Number(e)||0).toLocaleString()},compact:{type:Boolean,default:!1},stacked:{type:Boolean,default:!1},showText:{type:Boolean,default:!0}},emits:["select-segment"],setup(e,{emit:t}){const{t:o}=bt();wt(`
|
||
.lpb{position:relative;display:flex;align-items:center;gap:8px;min-width:0;width:100%;box-sizing:border-box;}
|
||
.lpb-track{position:relative;flex:1 1 auto;min-width:60px;display:flex;height:10px;border-radius:5px;overflow:hidden;background:rgba(110,118,129,0.25);}
|
||
.lpb-span{display:flex;height:100%;min-width:0;flex:0 0 auto;}
|
||
.lpb-seg{appearance:none;-webkit-appearance:none;border:none;margin:0;padding:0;height:100%;display:block;flex:0 0 auto;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;transition:filter 0.12s,box-shadow 0.12s;}
|
||
.lpb-seg-rest{flex:1 1 auto;}
|
||
.lpb-seg:focus{outline:none;}
|
||
.lpb-seg:hover,.lpb-seg:focus-visible,.lpb-seg.active{filter:brightness(1.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.65);}
|
||
.lpb-light .lpb-seg:hover,.lpb-light .lpb-seg:focus-visible,.lpb-light .lpb-seg.active{box-shadow:inset 0 0 0 1px rgba(0,0,0,0.35);}
|
||
.lpb-text{flex:0 0 auto;font:600 10px ui-monospace,monospace;letter-spacing:0.02em;color:#8b949e;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1;}
|
||
.lpb-light .lpb-text{color:#57606a;}
|
||
.lpb-stacked{flex-direction:column;align-items:stretch;gap:6px;}
|
||
.lpb-stacked .lpb-text{order:1;text-align:center;font-size:12px;letter-spacing:0.03em;}
|
||
.lpb-stacked .lpb-track{order:2;width:100%;}
|
||
.lpb-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:10;padding:7px 10px;background:#0d1117;border:1px solid #30363d;border-radius:6px;font:11px system-ui;color:#c9d1d9;line-height:1.45;white-space:nowrap;pointer-events:none;box-shadow:0 8px 24px rgba(0,0,0,0.5);}
|
||
.lpb-light .lpb-pop{background:#f6f8fa;border-color:#d0d7de;color:#1f2328;box-shadow:0 8px 24px rgba(31,35,40,0.18);}
|
||
.lpb-pop-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:-1px;box-shadow:0 0 0 1px rgba(0,0,0,0.4);}
|
||
.legend-mobile-sheet.collapsed .lpb{display:none!important;}
|
||
`,"legend-progress-bar");const n=e,a=t,s=oe(()=>n.total>0?Math.round(n.covered/n.total*100):0),r=oe(()=>n.total>0?Math.min(100,Math.max(0,n.covered/n.total*100)):0),i=oe(()=>n.segments.slice(0,-1)),l=oe(()=>n.segments.length?n.segments[n.segments.length-1]:null);function c(g){return n.covered>0?Math.min(100,Math.max(0,(g.count||0)/n.covered*100)):0}function u(g){return n.total>0?Math.round((g.count||0)/n.total*100):0}const d=oe(()=>n.label||o("legend.progress.covered",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:s.value})),f=oe(()=>o("legend.progress.short",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:s.value}));function A(g){return o("legend.progress.segment",{label:g.label,count:n.fmtCount(g.count||0),pct:u(g)})}const v=he(null),b=he(null),_={},$=he(null),h=he(0),m=oe(()=>n.segments.find(g=>g.key===$.value)||null);function w(g,C){C?_[g]=C:delete _[g]}async function p(g){$.value=g,await It();const C=v.value,S=_[g],G=b.value;if(!C||!S||!G)return;const H=C.getBoundingClientRect(),J=S.getBoundingClientRect(),U=Math.max(0,H.width-G.offsetWidth);h.value=Math.min(Math.max(0,J.left-H.left),U)}function P(){$.value=null}return(g,C)=>(ae(),pe("div",{ref_key:"rootEl",ref:v,class:Me(["lpb",[e.isDark?"lpb-dark":"lpb-light",{"lpb-stacked":e.stacked}]]),"data-covered":e.covered,"data-total":e.total,"data-pct":s.value,onMouseleave:P},[R("div",cw,[R("span",{class:"lpb-span",style:dt({width:r.value+"%"}),"data-span-pct":r.value.toFixed(2)},[(ae(!0),pe(Ue,null,Mt(i.value,S=>(ae(),pe("button",{key:S.key,type:"button",class:Me(["lpb-seg",{active:$.value===S.key}]),style:dt({width:c(S)+"%",background:S.color}),"data-seg":S.key,"data-count":S.count||0,"aria-label":A(S),ref_for:!0,ref:G=>w(S.key,G),onMouseenter:G=>p(S.key),onFocus:G=>p(S.key),onBlur:P,onClick:gt(G=>a("select-segment",S.key),["stop"])},null,46,pw))),128))],12,uw),l.value?(ae(),pe("button",{key:0,type:"button",class:Me(["lpb-seg lpb-seg-rest",{active:$.value===l.value.key}]),style:dt({background:l.value.color}),"data-seg":l.value.key,"data-count":l.value.count||0,"aria-label":A(l.value),ref:S=>w(l.value.key,S),onMouseenter:C[0]||(C[0]=S=>p(l.value.key)),onFocus:C[1]||(C[1]=S=>p(l.value.key)),onBlur:P,onClick:C[2]||(C[2]=gt(S=>a("select-segment",l.value.key),["stop"]))},null,46,dw)):Le("",!0)]),e.showText?(ae(),pe("span",{key:0,class:"lpb-text",role:"progressbar","aria-valuenow":e.covered,"aria-valuemin":"0","aria-valuemax":e.total,"aria-valuetext":f.value,"aria-label":d.value,title:d.value},ye(e.compact?s.value+"%":f.value),9,gw)):Le("",!0),m.value?(ae(),pe("div",{key:1,ref_key:"popEl",ref:b,class:"lpb-pop",role:"tooltip",style:dt({left:h.value+"px"})},[R("span",{class:"lpb-pop-dot",style:dt({background:m.value.color})},null,4),Pt(ye(A(m.value)),1)],4)):Le("",!0)],42,lw))}},[["styles",[iw]],["__scopeId","data-v-acafdbf6"]]),fw="",hw={key:0,class:"lrg-title-row"},mw={class:"lrg-title-caret-slot"},bw={class:"lrg-title"},$w=["data-lrg-filter-key"],yw=["onClick"],_w={key:1,class:"lrg-caret-placeholder","aria-hidden":"true"},vw=["onClick"],kw={class:"lrg-name"},ww={class:"lrg-badge-inner"},xw=["data-lrg-filter-key"],Lw=["onClick"],Sw={class:"lrg-name"},Aw={class:"lrg-badge-inner"},Pw={key:1,class:"lrg-footer"},Cw={class:"lrg-footer-label"},gg=nn({__name:"LegendRows",props:{title:{type:String,default:""},items:{type:Array,required:!0},columns:{type:Array,default:()=>[]},activeFilter:{type:String,default:null},isDark:{type:Boolean,default:!1},hideColumnHeader:{type:Boolean,default:!1},showFooter:{type:Boolean,default:!1},totalCount:{type:Number,default:0},totalPopulation:{type:Number,default:0},fmtPop:{type:Function,default:e=>String(e||0)},fmtCount:{type:Function,default:e=>String(e||0)},disableCollapse:{type:Boolean,default:!1},progress:{type:Object,default:null}},emits:["filter-click"],setup(e){const{t}=bt();wt(`
|
||
.legend-row-group{--lrg-caret-col:30px;display:flex;flex-direction:column;height:100%;min-height:0;}
|
||
.lrg-items{display:grid;grid-template-columns:var(--lrg-grid-cols, var(--lrg-caret-col) minmax(80px,1fr) auto auto var(--lrg-caret-col));grid-auto-rows:auto;align-content:start;column-gap:6px;row-gap:6px;padding:0 0 12px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;}
|
||
.lrg-items::-webkit-scrollbar{display:none;width:0;height:0;}
|
||
.lrg-title-row{display:grid;grid-template-columns:subgrid;grid-column:1 / -1;align-items:center;padding:12px 0 6px;position:sticky;top:0;z-index:5;background:#fff;}
|
||
.lrg-dark .lrg-title-row{background:#3b463d;}
|
||
.lrg-title-caret-slot{grid-column:1;align-self:center;display:flex;align-items:center;justify-content:center;line-height:1;}
|
||
.lrg-title{grid-column:2;align-self:center;font-weight:600;font-size:13px;line-height:1.2;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||
.lrg-header-col{align-self:center;text-align:center;white-space:nowrap;font-size:10px;line-height:1.3;color:#888;text-transform:uppercase;letter-spacing:0.3px;font-weight:700;}
|
||
.lrg-progress{grid-column:2 / -2;margin-top:6px;}
|
||
.lrg-row{display:grid;grid-template-columns:subgrid;grid-column:1 / -1;align-items:center;}
|
||
.lrg-row-child{margin-left:0;}
|
||
.lrg-item{display:contents;cursor:pointer;}
|
||
.lrg-item-inner{display:grid;grid-template-columns:subgrid;grid-column:2 / -2;align-items:center;border-radius:6px;min-height:36px;padding:6px 0;transition:opacity 0.15s ease;}
|
||
.lrg-item-inner:hover{opacity:0.92;}
|
||
.lrg-item.selected .lrg-item-inner{outline:2px solid rgba(0,0,0,0.25);outline-offset:-2px;}
|
||
.lrg-caret{grid-column:1;justify-self:center;align-self:center;width:10px;height:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;background:none;border:none;padding:0;transition:transform 0.2s ease;outline:none;-webkit-tap-highlight-color:transparent;opacity:0.85;}
|
||
.lrg-caret:focus{outline:none;}
|
||
.lrg-caret.expanded{transform:rotate(90deg);}
|
||
.lrg-caret-placeholder{grid-column:1;display:block;}
|
||
.lrg-name{grid-column:1;padding:0 0 0 8px;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||
.lrg-badge{display:flex;align-items:center;justify-content:center;}
|
||
.lrg-badge-inner{display:inline-block;background:color-mix(in srgb, var(--lrg-item-color, #888), #000 28%);border-radius:8px;padding:2px 10px;font-size:11px;font-weight:600;font-family:'Courier New',monospace;white-space:nowrap;min-width:32px;text-align:center;}
|
||
.lrg-footer{display:grid;grid-template-columns:subgrid;grid-column:1 / -1;align-items:center;padding:5px 0;border-top:1px solid rgba(0,0,0,0.07);font-size:11px;font-weight:600;color:#555;background:#fff;position:sticky;bottom:0;}
|
||
.lrg-footer-caret-slot{grid-column:1;}
|
||
.lrg-footer-label{grid-column:2;color:#777;}
|
||
.lrg-footer-value{text-align:center;font-family:'Courier New',monospace;}
|
||
.lrg-light .lrg-name{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,0.35);}
|
||
.lrg-light .lrg-badge-inner{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,0.4);}
|
||
.lrg-light .lrg-caret{color:#666;}
|
||
.lrg-dark .lrg-name{color:#F3F3F1;text-shadow:0 1px 2px rgba(0,0,0,0.4);}
|
||
.lrg-dark .lrg-badge-inner{color:#F3F3F1;text-shadow:0 1px 2px rgba(0,0,0,0.4);}
|
||
.lrg-dark .lrg-caret{color:rgba(243,243,241,0.75);}
|
||
.lrg-dark .lrg-title{color:#F3F3F1;}
|
||
.lrg-dark .lrg-header-col{color:rgba(243,243,241,0.65);}
|
||
.lrg-dark .lrg-footer{background:#2a332a;border-top-color:rgba(255,255,255,0.1);color:rgba(243,243,241,0.75);}
|
||
.lrg-dark .lrg-footer-label{color:rgba(243,243,241,0.65);}
|
||
`,"legend-row-group");const o=e,n=Ne("legendProgress",null),a=oe(()=>o.progress??ge(n)??null),s=oe(()=>a.value?t("legend.progress.title"):o.title),r=he(null);function i(f){let A=f.parentElement;for(;A;){const v=getComputedStyle(A).overflowY;if((v==="auto"||v==="scroll")&&A.scrollHeight>A.clientHeight+1){const b=f.getBoundingClientRect(),_=A.getBoundingClientRect();A.scrollTop+=b.top-_.top-8}A=A.parentElement}}let l=0;Re(()=>o.activeFilter,async f=>{if(!f)return;const A=++l,v=r.value;if(!v)return;await It();const b=(_=0)=>{if(A!==l)return;const $=v.querySelector(`[data-lrg-filter-key="${CSS.escape(String(f))}"]`);$&&i($),_<6&&setTimeout(()=>b(_+1),70)};b(0)});const c=Fn({});function u(f){c[f]=!c[f]}const d=oe(()=>`var(--lrg-caret-col) minmax(80px, 1fr) ${o.columns.map(()=>"auto").join(" ")} var(--lrg-caret-col)`);return(f,A)=>(ae(),pe("div",{class:Me(["legend-row-group",e.isDark?"lrg-dark":"lrg-light"])},[R("div",{class:"lrg-items",style:dt({"--lrg-grid-cols":d.value}),ref_key:"itemsContainer",ref:r},[!e.hideColumnHeader&&(e.title||e.columns.length)?(ae(),pe("div",hw,[R("span",mw,[hn(f.$slots,"title-caret",{},void 0,!0)]),R("span",bw,ye(s.value),1),(ae(!0),pe(Ue,null,Mt(e.columns,v=>(ae(),pe("span",{key:v.key,class:"lrg-header-col"},ye(v.label),1))),128)),a.value?(ae(),et(dg,{key:0,class:"lrg-progress",covered:a.value.covered,total:a.value.total,segments:a.value.segments,"is-dark":e.isDark,"fmt-count":e.fmtCount,onSelectSegment:A[0]||(A[0]=v=>f.$emit("filter-click",v))},null,8,["covered","total","segments","is-dark","fmt-count"])):Le("",!0)])):Le("",!0),(ae(!0),pe(Ue,null,Mt(e.items,v=>(ae(),pe(Ue,{key:v.key},[R("div",{class:"lrg-row","data-lrg-filter-key":v.filterKey},[v.children&&v.children.length&&!e.disableCollapse?(ae(),pe("button",{key:0,class:Me(["lrg-caret",{expanded:!c[v.key]}]),onClick:gt(b=>u(v.key),["stop"]),"aria-label":"Toggle children"},[...A[1]||(A[1]=[R("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,yw)):(ae(),pe("span",_w)),R("div",{class:Me(["lrg-item",{selected:e.activeFilter===v.filterKey}]),onClick:b=>f.$emit("filter-click",v.filterKey)},[R("div",{class:"lrg-item-inner",style:dt({backgroundColor:v.color,"--lrg-item-color":v.color})},[R("span",kw,ye(v.label),1),(ae(!0),pe(Ue,null,Mt(e.columns,b=>(ae(),pe("span",{key:b.key,class:"lrg-badge"},[R("span",ww,ye(b.key==="population"?e.fmtPop(v.population):e.fmtCount(v.count)),1)]))),128))],4)],10,vw)],8,$w),v.children&&v.children.length&&!c[v.key]?(ae(!0),pe(Ue,{key:0},Mt(v.children,b=>(ae(),pe("div",{key:b.key,class:"lrg-row lrg-row-child","data-lrg-filter-key":b.filterKey},[A[2]||(A[2]=R("span",{class:"lrg-caret-placeholder","aria-hidden":"true"},null,-1)),R("div",{class:Me(["lrg-item",{selected:e.activeFilter===b.filterKey}]),onClick:_=>f.$emit("filter-click",b.filterKey)},[R("div",{class:"lrg-item-inner",style:dt({backgroundColor:b.color,"--lrg-item-color":b.color})},[R("span",Sw,ye(b.label),1),(ae(!0),pe(Ue,null,Mt(e.columns,_=>(ae(),pe("span",{key:_.key,class:"lrg-badge"},[R("span",Aw,ye(_.key==="population"?e.fmtPop(b.population):e.fmtCount(b.count)),1)]))),128))],4)],10,Lw)],8,xw))),128)):Le("",!0)],64))),128)),e.columns.length&&e.showFooter?(ae(),pe("div",Pw,[A[3]||(A[3]=R("span",{class:"lrg-footer-caret-slot","aria-hidden":"true"},null,-1)),R("span",Cw,ye(ge(t)("legend.footer.total")),1),(ae(!0),pe(Ue,null,Mt(e.columns,v=>(ae(),pe("span",{key:v.key,class:"lrg-footer-value"},ye(v.key==="population"?e.fmtPop(e.totalPopulation):e.fmtCount(e.totalCount)),1))),128))])):Le("",!0)],4)],2))}},[["styles",[fw]],["__scopeId","data-v-b2cd86d3"]]),fg=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"];function hg(e){const t=(e||"U")[0].toUpperCase(),o=t.charCodeAt(0)%fg.length,n=fg[o];return{letter:t,color:"#ffffff",backgroundColor:n}}function Ew(e,t={}){const{size:o=32,borderRadius:n=4}=t,a=hg(e);return{width:`${o}px`,height:`${o}px`,borderRadius:`${n}px`,backgroundColor:a.backgroundColor,color:a.color,display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"600",fontSize:`${Math.floor(o*.5)}px`,flexShrink:"0"}}const Tw=".people-group-detail[data-v-06241c48]{display:flex;flex-direction:column;height:100%;overflow-y:auto}.detail-header[data-v-06241c48]{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #e0e0e0;background:#fff;position:sticky;top:0;z-index:10}.header-left[data-v-06241c48]{display:flex;gap:12px;align-items:center;flex:1;min-width:0}.header-text[data-v-06241c48]{flex:1;min-width:0}.people-group-name[data-v-06241c48]{margin:0;font-size:18px;font-weight:700;color:#333;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:text;-webkit-user-select:text;cursor:text}.people-group-subtitle[data-v-06241c48]{margin:4px 0 0;font-size:13px;color:#666;line-height:1.2}.close-button[data-v-06241c48]{background:none;border:none;padding:4px;cursor:pointer;color:#666;transition:color .2s ease;flex-shrink:0}.close-button[data-v-06241c48]:hover{color:#333}.detail-content[data-v-06241c48]{padding:6px 12px 12px;flex:1;overflow-y:auto}.quick-stats[data-v-06241c48]{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.stat-item[data-v-06241c48]{display:flex;justify-content:space-between;align-items:baseline;font-size:13px}.stat-label[data-v-06241c48]{color:#666;font-weight:500}.stat-value[data-v-06241c48]{color:#333;font-weight:600;text-align:right}.action-buttons[data-v-06241c48]{display:flex;gap:8px;padding-top:4px;margin-bottom:10px;overflow-x:auto;padding-bottom:2px}.action-btn[data-v-06241c48]{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.action-btn.primary[data-v-06241c48]{background:#92b195;color:#fff}.action-btn.primary[data-v-06241c48]:hover{background:#73a17f;box-shadow:0 2px 4px #92b1954d}.action-btn.secondary[data-v-06241c48]{background:#ecf0f1;color:#333}.action-btn.secondary[data-v-06241c48]:hover{background:#d5dbdb}.btn-icon[data-v-06241c48]{flex-shrink:0}.image-container[data-v-06241c48]{margin-bottom:16px;border-radius:8px;overflow:hidden;background:#f5f5f5}.image-container.position-above[data-v-06241c48]{width:120px;height:150px;margin:0 auto 16px}.image-container.position-inside[data-v-06241c48]{width:200px;height:250px;margin:0 auto 16px}.people-group-image[data-v-06241c48]{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s ease}.people-group-image.loaded[data-v-06241c48]{opacity:1}.image-placeholder-svg[data-v-06241c48]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#f0f0f0;transition:opacity .3s ease}.image-placeholder-svg.hidden[data-v-06241c48]{opacity:0;pointer-events:none}.image-container[data-v-06241c48]{position:relative}.description-section[data-v-06241c48]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.description-text[data-v-06241c48]{margin:0;font-size:14px;line-height:1.6;color:#555}.description-text.empty[data-v-06241c48]{color:#999;font-style:italic}.action-buttons[data-v-06241c48]::-webkit-scrollbar{height:4px}.action-buttons[data-v-06241c48]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.action-buttons[data-v-06241c48]::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.action-buttons[data-v-06241c48]::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width: 480px){.people-group-name[data-v-06241c48]{font-size:16px}.stat-item[data-v-06241c48]{font-size:13px}.action-btn[data-v-06241c48]{padding:8px 14px;font-size:13px}}",Nw={key:0,class:"detail-header"},Mw={class:"header-left"},Rw={class:"header-text"},Fw={class:"people-group-name"},Iw={class:"people-group-subtitle"},Ow=["aria-label"],Dw={class:"detail-content"},Bw={key:0,class:"pg-name-lead"},Gw={class:"action-buttons"},jw={class:"quick-stats"},Uw={class:"stat-item"},zw={class:"stat-label"},Hw={class:"stat-value"},Vw={class:"stat-item"},Kw={class:"stat-label"},qw={class:"stat-value"},Ww={class:"stat-item"},Yw={class:"stat-label"},Xw={class:"stat-value"},Zw={class:"stat-item"},Jw={class:"stat-label"},Qw={class:"stat-value"},ex={class:"stat-item stat-committed"},tx={class:"stat-label"},ox={class:"stat-value"},nx={key:1,class:"image-container position-inside"},ax=["src","alt"],sx={key:2,class:"description-section"},rx={key:0,class:"description-text"},ix={key:1,class:"description-text empty"},mg="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",$l=nn({__name:"PeopleGroupDetail",props:{peopleGroup:{type:Object,required:!0},hideHeader:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},action:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)}},setup(e){const{t,locale:o}=bt();wt(`
|
||
.people-group-detail{display:flex;flex-direction:column;height:100%;overflow-y:auto;}
|
||
.people-group-detail.dark-mode{background:#1a1a2e;color:#eee;}
|
||
.detail-header{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #e0e0e0;background:white;position:sticky;top:0;z-index:10;}
|
||
.dark-mode .detail-header{background:#16213e;border-bottom-color:#2d2d4e;}
|
||
.header-left{display:flex;gap:12px;align-items:center;flex:1;min-width:0;}
|
||
.header-text{flex:1;min-width:0;}
|
||
.people-group-name{margin:0;font-size:18px;font-weight:700;color:#333;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:text;-webkit-user-select:text;cursor:text;}
|
||
.dark-mode .people-group-name{color:#fff;}
|
||
.people-group-subtitle{margin:4px 0 0 0;font-size:13px;color:#666;line-height:1.2;}
|
||
.dark-mode .people-group-subtitle{color:#aaa;}
|
||
.close-button{background:none;border:none;padding:4px;cursor:pointer;color:#666;transition:color 0.2s ease;flex-shrink:0;}
|
||
.dark-mode .close-button{color:#aaa;}
|
||
.close-button:hover{color:#333;}
|
||
.dark-mode .close-button:hover{color:#fff;}
|
||
.detail-content{padding:6px 12px 12px;flex:1;overflow-y:auto;}
|
||
.dark-mode .detail-content{background:#1a1a2e;}
|
||
.quick-stats{display:flex;flex-direction:column;gap:4px;margin-bottom:8px;}
|
||
.stat-item{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;}
|
||
.stat-label{color:#666;font-weight:500;}
|
||
.dark-mode .stat-label{color:#9ca3af;}
|
||
.stat-value{color:#333;font-weight:600;text-align:right;}
|
||
.dark-mode .stat-value{color:#e5e7eb;}
|
||
.stat-committed .stat-value{color:#73A17F;}
|
||
.dark-mode .stat-committed .stat-value{color:#92b195;}
|
||
.pg-name-lead{margin:0 0 8px 0;font-size:16px;font-weight:700;color:#333;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:text;-webkit-user-select:text;cursor:text;}
|
||
.dark-mode .pg-name-lead{color:#F3F3F1;}
|
||
.action-buttons{display:flex;gap:8px;padding-top:4px;margin-bottom:10px;overflow-x:auto;padding-bottom:2px;}
|
||
.action-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.2s ease;white-space:nowrap;flex-shrink:0;}
|
||
.action-btn.primary{background:#92b195;color:white;}
|
||
.action-btn.primary:hover{background:#73A17F;box-shadow:0 2px 4px rgba(146,177,149,0.3);}
|
||
.action-btn.secondary{background:#ecf0f1;color:#333;}
|
||
.dark-mode .action-btn.secondary{background:#2d2d4e;color:#e5e7eb;}
|
||
.action-btn.secondary:hover{background:#d5dbdb;}
|
||
.dark-mode .action-btn.secondary:hover{background:#3d3d5e;}
|
||
.btn-icon{flex-shrink:0;}
|
||
.image-container{margin-bottom:16px;border-radius:8px;overflow:hidden;background:#f5f5f5;position:relative;}
|
||
.dark-mode .image-container{background:#2d2d4e;}
|
||
.image-container.position-above{width:120px;height:150px;margin:0 auto 16px auto;}
|
||
.image-container.position-inside{width:200px;height:250px;margin:0 auto 16px auto;}
|
||
.people-group-image{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 0.3s ease;}
|
||
.people-group-image.loaded{opacity:1;}
|
||
.image-placeholder-svg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#f0f0f0;transition:opacity 0.3s ease;}
|
||
.dark-mode .image-placeholder-svg{background:#2d2d4e;}
|
||
.image-placeholder-svg.hidden{opacity:0;pointer-events:none;}
|
||
.description-section{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0;}
|
||
.dark-mode .description-section{border-top-color:#2d2d4e;}
|
||
.description-text{margin:0;font-size:14px;line-height:1.6;color:#555;}
|
||
.dark-mode .description-text{color:#d1d5db;}
|
||
.description-text.empty{color:#999;font-style:italic;}
|
||
.dark-mode .description-text.empty{color:#6b7280;}
|
||
`,"legend-people-group-detail");const n=e,a=Ne("uiStore"),s=Ne("profileConfig",null),r=oe(()=>a.legendState),i=oe(()=>a.isMobile),l=oe(()=>!i.value||r.value==="fullyOpen"),c=oe(()=>hg(n.peopleGroup.properties.name)),u=oe(()=>c.value.letter),d=oe(()=>Ew(n.peopleGroup.properties.name,{size:32,borderRadius:4})),f=oe(()=>n.peopleGroup.properties),A=he(null),v=he(!1),b=oe(()=>f.value.slug||"");async function _(Q){if(!Q)return;const ie=pl();if(ie)try{const j=await fetch(`${ie}/api/people-groups/detail/${encodeURIComponent(Q)}?lang=${encodeURIComponent(o.value)}`);if(!j.ok)throw new Error(`HTTP ${j.status}`);A.value=await j.json()}catch{A.value=null}}Re(b,Q=>{v.value=!1,A.value=null,_(Q)},{immediate:!0});const $=oe(()=>{var Q;return f.value.countryName||f.value.countryIsoLabel||f.value.country||f.value.countryIso||((Q=f.value._raw)==null?void 0:Q.Country)||""}),h=oe(()=>{var j;const Q=f.value.status||((j=f.value._raw)==null?void 0:j.Status),ie=$.value||"Unknown";return Q?`${ie} • ${Q}`:ie}),m=oe(()=>{var ie;const Q=f.value.language||((ie=f.value._raw)==null?void 0:ie.Language);if(!Q)return"Unknown";if(typeof Q=="object"&&Q.label)return Q.label;if(typeof Q=="string"&&Q.startsWith("{"))try{const j=JSON.parse(Q);if(j!=null&&j.label)return j.label}catch{}return Q}),w=oe(()=>{var Q;return f.value.population||((Q=f.value._raw)==null?void 0:Q.Population)||0}),p=oe(()=>{var ie,j;const Q=[(ie=A.value)==null?void 0:ie.people_praying,f.value.peoplePraying,(j=f.value._raw)==null?void 0:j.people_praying];for(const be of Q)if(be!=null&&be!=="")return Number(be);return null}),P=oe(()=>p.value===null?"—":p.value.toLocaleString()),g=oe(()=>{var Q;return f.value.religionName||f.value.religionLabel||f.value.religion||((Q=f.value._raw)==null?void 0:Q.Religion)||""}),C=oe(()=>{var Q,ie,j;return((Q=A.value)==null?void 0:Q.imb_people_description)||((ie=A.value)==null?void 0:ie.description)||f.value.description||((j=f.value._raw)==null?void 0:j.Description)||""}),S=oe(()=>{var Q,ie,j;return((Q=A.value)==null?void 0:Q.image_url)||((ie=A.value)==null?void 0:ie.imageUrl)||f.value.imageUrl||((j=f.value._raw)==null?void 0:j.ImageURL)||mg}),G=oe(()=>{const Q=parseInt(w.value);return Q>=1e6?`${(Q/1e6).toFixed(1)}M`:Q>=1e3?`${(Q/1e3).toFixed(1)}K`:Q.toLocaleString()});function H(){a.selectPeopleGroup(null)}function J(){var be;let Q="";try{Q=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const ie=(be=s==null?void 0:s.value)==null?void 0:be.utmSource,j=typeof window<"u"&&window.DOXA_UTM_SOURCE||"";return encodeURIComponent(String(Q||ie||j||"agwm"))}function U(Q){return`https://pray.doxa.life/${encodeURIComponent(Q)}?source=doxalife&utm_source=${J()}`}function D(Q){return`${L()}/adopt/${encodeURIComponent(Q)}/?source=doxalife&utm_source=${J()}`}function L(){const Q=typeof window<"u"&&window.DOXA_SITE_URL||"";return String(Q||"https://doxa.life").replace(/\/+$/,"")}function y(Q){return`${L()}/research/${encodeURIComponent(Q)}/?utm_source=${J()}`}function M(){const Q=b.value;if(!Q)return;n.action!=="adopt"&&Mk(Q);const ie=n.action==="adopt"?D(Q):U(Q);window.open(ie,"_blank","noopener")}function z(){const Q=b.value;Q&&window.open(y(Q),"_blank","noopener")}function K(Q){Q.target.dataset.usedFallback||(Q.target.dataset.usedFallback="true",Q.target.src=mg)}return(Q,ie)=>(ae(),pe("div",{class:Me(["people-group-detail",{"dark-mode":e.dark}])},[e.hideHeader?Le("",!0):(ae(),pe("div",Nw,[R("div",Mw,[R("div",{class:"avatar",style:dt(d.value)},ye(u.value),5),R("div",Rw,[R("h3",Fw,ye(e.peopleGroup.properties.name),1),R("p",Iw,ye(h.value),1)])]),R("button",{class:"close-button",onClick:H,"aria-label":ge(t)("aria.closeDetailView")},[...ie[1]||(ie[1]=[R("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},[R("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Ow)])),R("div",Dw,[e.hideHeader?(ae(),pe("h3",Bw,ye(e.peopleGroup.properties.name||ge(t)("legend.header.peopleGroupFallback")),1)):Le("",!0),R("div",Gw,[e.action==="pray"||e.action==="adopt"?(ae(),pe("button",{key:0,class:"action-btn primary",onClick:M},[ie[2]||(ie[2]=R("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[R("path",{d:"M8 2L10 6L14 6.5L11 9.5L11.5 14L8 12L4.5 14L5 9.5L2 6.5L6 6L8 2Z",fill:"currentColor"})],-1)),R("span",null,ye(e.action==="adopt"?ge(t)("buttons.adoptThem"):ge(t)("buttons.prayForThem")),1)])):Le("",!0),R("button",{class:"action-btn secondary",onClick:z},[ie[3]||(ie[3]=R("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[R("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none"}),R("path",{d:"M8 6V8M8 10H8.01",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),R("span",null,ye(ge(t)("buttons.moreInfo")),1)])]),R("div",jw,[R("div",Uw,[R("span",zw,ye(ge(t)("detail.labels.country")),1),R("span",Hw,ye($.value||"—"),1)]),R("div",Vw,[R("span",Kw,ye(ge(t)("detail.labels.population")),1),R("span",qw,ye(G.value||"—"),1)]),R("div",Ww,[R("span",Yw,ye(ge(t)("detail.labels.language")),1),R("span",Xw,ye(m.value||"—"),1)]),R("div",Zw,[R("span",Jw,ye(ge(t)("detail.labels.religion")),1),R("span",Qw,ye(g.value||"—"),1)]),R("div",ex,[R("span",tx,ye(ge(t)("detail.labels.peopleCommitted")),1),R("span",ox,ye(P.value),1)])]),l.value?(ae(),pe("div",nx,[R("div",{class:Me(["image-placeholder-svg",{hidden:v.value}])},[...ie[4]||(ie[4]=[R("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 120",width:"80",height:"96","aria-hidden":"true"},[R("circle",{cx:"50",cy:"36",r:"22",fill:"#ccc"}),R("ellipse",{cx:"50",cy:"95",rx:"36",ry:"28",fill:"#ccc"})],-1)])],2),S.value?(ae(),pe("img",{key:0,src:S.value,alt:`${e.peopleGroup.properties.name} people group`,class:Me(["people-group-image",{loaded:v.value}]),onLoad:ie[0]||(ie[0]=j=>v.value=!0),onError:K},null,42,ax)):Le("",!0)])):Le("",!0),l.value?(ae(),pe("div",sx,[C.value?(ae(),pe("p",rx,ye(C.value),1)):(ae(),pe("p",ix,ye(ge(t)("detail.messages.noDescription")),1))])):Le("",!0)])],2))}},[["styles",[Tw]],["__scopeId","data-v-06241c48"]]),lx=Object.freeze(Object.defineProperty({__proto__:null,default:$l},Symbol.toStringTag,{value:"Module"})),ur={excludeReligionFamilies:["C"]},cx="",ux={class:"legend-reopen-label"},px=["aria-label"],dx=["aria-label"],gx=["aria-label"],fx=nn({__name:"LegendDesktop",props:{legendType:{type:String,required:!0},initiallyCollapsed:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},popupAction:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)},disableCollapse:{type:Boolean,default:!1}},setup(e){const t=Vs(()=>oo(()=>Promise.resolve().then(()=>Pg),void 0)),{t:o}=bt();wt(`
|
||
.legend-container{position:absolute;top:60px;left:8px;width:var(--map-legend-width,380px);max-height:calc(100vh - 80px);background:#fff;border-radius:var(--map-radius,16px);box-shadow:0 2px 8px rgba(0,0,0,0.12),0 1px 3px rgba(0,0,0,0.08);z-index:1000;overflow:hidden;display:flex;flex-direction:column;transition:width 200ms cubic-bezier(0.2,0,0,1),max-height 200ms cubic-bezier(0.2,0,0,1),min-width 200ms cubic-bezier(0.2,0,0,1),border-radius 200ms linear,box-shadow 200ms linear;will-change:width,max-height;}
|
||
.legend-container .lrg-title{font-size:15px;}
|
||
.legend-container .lrg-header-col{font-size:11px;}
|
||
.legend-container .lrg-name{font-size:15px;}
|
||
.legend-container .lrg-badge-inner{font-size:12px;}
|
||
.legend-reopen{position:absolute;left:8px;top:60px;z-index:1000;display:inline-flex;align-items:center;gap:8px;background:#0d1117;border:1px solid #30363d;border-radius:999px;color:#c9d1d9;cursor:pointer;height:36px;padding:0 14px 0 12px;box-shadow:0 4px 14px rgba(0,0,0,0.25);font:600 11px ui-monospace,monospace;text-transform:uppercase;letter-spacing:0.06em;max-width:320px;transition:color 0.12s,background 0.12s,border-color 0.12s,transform 0.12s,box-shadow 0.12s;}
|
||
.legend-reopen:hover{color:#fff;background:#1c2333;border-color:#73A17F;box-shadow:0 6px 20px rgba(59,70,61,0.25);transform:translateY(-1px);}
|
||
.legend-reopen-icon{color:#73A17F;flex-shrink:0;}
|
||
.legend-reopen-label{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none;letter-spacing:0;font:600 12px system-ui,sans-serif;}
|
||
.legend-reopen-caret{color:#6e7681;flex-shrink:0;}
|
||
.legend-reopen:hover .legend-reopen-caret{color:#c9d1d9;}
|
||
.legend-reopen-light{background:#ffffff;border-color:#d0d7de;color:#1f2328;box-shadow:0 4px 16px rgba(31,35,40,0.18);}
|
||
.legend-reopen-light:hover{background:#f6f8fa;border-color:#3b463d;color:#3b463d;box-shadow:0 6px 20px rgba(59,70,61,0.2);}
|
||
.legend-reopen-light .legend-reopen-icon{color:#3b463d;}
|
||
.legend-reopen-light .legend-reopen-caret{color:#57606a;}
|
||
.legend-collapse-caret{background:rgba(110,118,129,0.15);border:1px solid #30363d;border-radius:5px;color:#8b949e;cursor:pointer;width:22px;height:20px;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:color 0.1s,background 0.1s,transform 0.18s;outline:none;-webkit-tap-highlight-color:transparent;padding:0;}
|
||
.legend-collapse-caret:focus{outline:none;}
|
||
.legend-collapse-caret:hover{color:#c9d1d9;background:rgba(59,70,61,0.18);border-color:#73A17F;}
|
||
.legend-collapse-caret svg{transition:transform 0.18s;transform:rotate(180deg);}
|
||
.legend-collapse-caret.rotated svg{transform:rotate(0deg);}
|
||
.legend-container:not(.legend-dark) .legend-collapse-caret{background:rgba(208,215,222,0.4);border-color:#d0d7de;color:#57606a;}
|
||
.legend-container:not(.legend-dark) .legend-collapse-caret:hover{background:rgba(59,70,61,0.12);border-color:#3b463d;color:#3b463d;}
|
||
.detail-close-btn{position:absolute;top:10px;right:10px;background:none;border:none;padding:4px;cursor:pointer;color:#888;display:flex;align-items:center;justify-content:center;z-index:20;transition:color 0.2s ease;}
|
||
.detail-close-btn:hover{color:#333;}
|
||
.detail-collapse-btn{position:absolute;top:10px;left:10px;z-index:20;background:transparent;border:none;color:transparent;cursor:pointer;width:28px;height:28px;padding:0;outline:none;-webkit-tap-highlight-color:transparent;}
|
||
.detail-collapse-btn:focus{outline:none;}
|
||
.legend-container .people-group-detail .pg-name-lead{padding-left:28px;padding-right:32px;}
|
||
.legend-content{padding:0;overflow-y:auto;overflow-x:hidden;flex:1;max-height:650px;display:flex;flex-direction:column;min-height:0;}
|
||
.legend-content.no-padding{padding:0;}
|
||
.legend-section-label{padding:8px 12px 4px;font-size:11px;font-weight:700;color:#9ca3af;letter-spacing:0.5px;text-transform:uppercase;}
|
||
.legend-dark .legend-section-label{color:rgba(243,243,241,0.55);}
|
||
.legend-container .lrg-row,
|
||
.legend-container .lft-row{min-height:24px;}
|
||
.legend-container .lrg-item-inner,
|
||
.legend-container .lft-item-inner{min-height:24px;padding:2px 0;}
|
||
.legend-items-container{display:flex;flex-direction:column;gap:4px;}
|
||
.legend-item{padding:6px 10px;border-radius:4px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:var(--map-font-md,13px);transition:all 0.2s;}
|
||
.legend-item-clickable{cursor:pointer;}
|
||
.legend-item-clickable:hover{transform:translateX(4px);box-shadow:0 2px 4px rgba(0,0,0,0.1);}
|
||
.legend-item-selected{outline:2px solid #333;outline-offset:2px;}
|
||
.legend-item-text{flex:1;font-weight:500;color:#333;}
|
||
.legend-item-count{font-size:var(--map-font-sm,11px);color:#555;background:rgba(0,0,0,0.08);padding:2px 7px;border-radius:10px;min-width:40px;text-align:right;margin-right:4px;}
|
||
.legend-item-population{font-size:var(--map-font-sm,11px);color:#555;background:rgba(0,0,0,0.08);padding:2px 7px;border-radius:10px;min-width:52px;text-align:right;margin-right:4px;}
|
||
.legend-export-btn{background:none;border:none;cursor:pointer;font-size:15px;padding:0 4px;}
|
||
.legend-tree-item{display:flex;flex-direction:column;gap:4px;}
|
||
.legend-tree-parent{display:flex;align-items:center;gap:6px;}
|
||
.legend-tree-caret{width:16px;height:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform 0.2s;font-size:12px;color:#666;}
|
||
.legend-tree-caret.expanded{transform:rotate(90deg);}
|
||
.legend-tree-child{margin-left:20px;display:flex;gap:6px;}
|
||
.legend-tree-caret-placeholder{width:16px;}
|
||
.legend-item-child{font-size:12px;}
|
||
.legend-stats-header{display:flex;align-items:center;padding:4px 0;background:#fff;border-bottom:1px solid rgba(0,0,0,0.07);font-weight:600;font-size:10px;color:#777;text-transform:uppercase;letter-spacing:0.4px;position:sticky;top:0;z-index:10;}
|
||
.legend-stats-label{flex:1;min-width:0;padding:0 10px;}
|
||
.legend-stats-value{width:58px;text-align:right;flex-shrink:0;font-family:'Courier New',monospace;padding-right:10px;white-space:pre;}
|
||
.legend-footer{display:flex;align-items:center;padding:5px 0;border-top:1px solid rgba(0,0,0,0.07);font-size:11px;font-weight:600;color:#555;background:#fff;}
|
||
.legend-footer-label{flex:1;padding-left:10px;color:#777;}
|
||
.legend-footer-value{width:56px;text-align:right;padding-right:10px;font-family:'Courier New',monospace;}
|
||
.legend-content::-webkit-scrollbar{width:4px;}
|
||
.legend-content::-webkit-scrollbar-track{background:transparent;}
|
||
.legend-content::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.18);border-radius:4px;}
|
||
.legend-content::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0.3);}
|
||
.legend-dark{background:#3b463d!important;border:1px solid rgba(255,255,255,0.10)!important;box-shadow:0 4px 16px rgba(0,0,0,0.5)!important;}
|
||
.legend-dark .legend-content{background:#3b463d;}
|
||
.legend-dark .legend-collapse-caret{background:rgba(110,118,129,0.15);border-color:#30363d;color:#8b949e;}
|
||
.legend-dark .legend-collapse-caret:hover{color:#c9d1d9;background:rgba(59,70,61,0.18);border-color:#73A17F;}
|
||
.legend-dark .detail-close-btn{color:rgba(243,243,241,0.75)!important;}
|
||
.legend-dark .detail-close-btn:hover{color:#F3F3F1!important;}
|
||
.legend-dark .legend-stats-header{background:#2a332a!important;color:rgba(243,243,241,0.65)!important;border-bottom-color:rgba(255,255,255,0.1)!important;}
|
||
.legend-dark .legend-footer{background:#2a332a!important;border-top-color:rgba(255,255,255,0.1)!important;color:rgba(243,243,241,0.75)!important;}
|
||
.legend-dark .legend-footer-label{color:rgba(243,243,241,0.65)!important;}
|
||
.legend-dark .legend-item-text{color:#F3F3F1!important;}
|
||
.legend-dark .legend-item-count{background:rgba(255,255,255,0.12)!important;color:rgba(243,243,241,0.9)!important;}
|
||
.legend-dark .legend-item-population{background:rgba(255,255,255,0.12)!important;color:rgba(243,243,241,0.9)!important;}
|
||
.legend-dark .legend-item-selected{outline-color:rgba(255,255,255,0.5)!important;}
|
||
.legend-dark .legend-tree-caret{color:rgba(243,243,241,0.7)!important;}
|
||
.legend-dark .legend-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.18);}
|
||
`,"legend-component");const n=e;Ne("mapStore"),Ne("dataStore");const a=Ne("uiStore"),s=_s(n,"legendType"),{items:r,columns:i,title:l,activeFilter:c,setFilter:u,totalCount:d,totalPopulation:f,progress:A,fmtPop:v,fmtCount:b}=Ka(s,ur);Ne("normalizedPeopleGroups",null);const _=Ne("mapId",null),$=oe(()=>a.isMobile),h=oe(()=>a.legendMode),m=oe(()=>a.selectedPeopleGroup),w=he(n.initiallyCollapsed);let p=null;const P=oe(()=>{var S;return h.value==="detail"&&m.value?((S=m.value.properties)==null?void 0:S.name)||o("legend.header.peopleGroupFallback"):w.value?o("legend.header.collapsed"):l.value});function g(){w.value=!w.value}Re(h,(S,G)=>{S==="detail"&&G!=="detail"&&w.value&&(w.value=!1)});function C(S){u(S)}return $o(()=>{window.innerWidth<768&&(w.value=!0),p=S=>{var G;_&&((G=S.detail)!=null&&G.mapId)&&S.detail.mapId!==_||(w.value=!1)},window.addEventListener("dxm:openDesktopLegend",p)}),Xt(()=>{p&&window.removeEventListener("dxm:openDesktopLegend",p)}),(S,G)=>$.value?(ae(),et(ge(t),{key:0,legendType:e.legendType,popupAction:e.popupAction,isDark:e.isDark,disableCollapse:e.disableCollapse},null,8,["legendType","popupAction","isDark","disableCollapse"])):w.value?(ae(),pe("button",{key:1,class:Me(["legend-reopen",{"legend-reopen-light":!e.isDark}]),title:"Expand legend",onClick:G[0]||(G[0]=H=>w.value=!1)},[G[2]||(G[2]=R("svg",{class:"legend-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),R("span",ux,ye(ge(l)),1),G[3]||(G[3]=R("svg",{class:"legend-reopen-caret",width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],2)):(ae(),pe("div",{key:2,class:Me(["legend-container",{"legend-dark":e.isDark}])},[h.value==="detail"?(ae(),pe("button",{key:0,class:"detail-collapse-btn",onClick:gt(g,["stop"]),"aria-label":ge(o)("aria.toggleLegend")},null,8,px)):Le("",!0),h.value==="detail"?(ae(),pe("button",{key:1,class:"detail-close-btn",onClick:G[1]||(G[1]=gt(H=>ge(a).selectPeopleGroup(null),["stop"])),"aria-label":ge(o)("aria.backToLegend")},[...G[4]||(G[4]=[R("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[R("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,dx)):Le("",!0),R("div",{class:Me(["legend-content",{"no-padding":ge(i).length>0}])},[h.value==="detail"&&m.value?(ae(),et($l,{key:0,peopleGroup:m.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):e.legendType==="language-family"?(ae(),pe(Ue,{key:1},[],64)):(ae(),et(gg,{key:2,title:P.value,items:ge(r),columns:ge(i),activeFilter:ge(c),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:ge(d),totalPopulation:ge(f),fmtPop:ge(v),fmtCount:ge(b),progress:ge(A),onFilterClick:C},{"title-caret":jt(()=>[R("button",{class:"legend-collapse-caret",onClick:gt(g,["stop"]),"aria-label":ge(o)("aria.toggleLegend")},[...G[5]||(G[5]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round",style:{transform:"rotate(180deg)","transform-origin":"center"}})],-1)])],8,gx)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount","progress"]))],2)],2))}},[["styles",[cx]],["__scopeId","data-v-9250730f"]]);function hx(e){const t=(e==null?void 0:e.parentElement)||e;if(!t||!t.ownerDocument)return{x:0,y:0};const o=t.ownerDocument.createElement("div");o.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",t.appendChild(o);const n=o.getBoundingClientRect();return o.remove(),{x:n.left,y:n.top}}function bg(e){const t=he(null),o=$a({position:"fixed",inset:"0"}),n=()=>{var u,d;const s=t.value;if(!s)return;const r=hx(s),i=s.ownerDocument||(typeof document<"u"?document:null),l=((u=i==null?void 0:i.documentElement)==null?void 0:u.clientWidth)||0,c=((d=i==null?void 0:i.documentElement)==null?void 0:d.clientHeight)||0;o.value={position:"fixed",top:`${-r.y}px`,left:`${-r.x}px`,right:"auto",bottom:"auto",width:`${l}px`,height:`${c}px`,boxSizing:"border-box"}};Re(e,s=>{s&&requestAnimationFrame(()=>{n(),requestAnimationFrame(n)})},{flush:"post"});const a=()=>{e.value&&n()};return typeof window<"u"&&window.addEventListener("resize",a),Xt(()=>{typeof window<"u"&&window.removeEventListener("resize",a)}),{scrimRef:t,scrimStyle:o}}const mx="",bx={class:"lt-btn-group"},$x=["title"],yx={class:"lt-btn-text"},_x=["title"],vx={class:"lt-btn-group"},kx=["title"],wx={key:0,width:"12",height:"12",viewBox:"0 0 12 12"},xx=["title"];function $g(e){return e==="doxa-regions"||e==="language-family"||e==="language-families"}const Lx=nn({__name:"LegendTools",props:{legendType:{type:String,required:!0},isDark:{type:Boolean,default:!1}},emits:["legend-row-fly"],setup(e,{emit:t}){wt(`
|
||
.lt-root{position:absolute;top:14px;left:calc(10px + var(--map-legend-width,340px) / 2);transform:translateX(-50%);z-index:1050;display:flex;gap:8px;align-items:center;flex-wrap:nowrap;background:transparent;pointer-events:auto;}
|
||
@media(max-width:767px){
|
||
.lt-root{display:none;}
|
||
}
|
||
.lt-btn-group{position:relative;display:inline-flex;align-items:stretch;background:#fff;border:1px solid #e5e7eb;border-radius:9999px;overflow:visible;box-shadow:0 2px 8px rgba(0,0,0,0.12),0 1px 3px rgba(0,0,0,0.08);}
|
||
.lt-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;background:transparent;border:none;cursor:pointer;font-size:12px;font-weight:600;color:#374151;border-radius:9999px 0 0 9999px;transition:background 0.15s;}
|
||
.lt-btn:last-child{border-radius:0 9999px 9999px 0;}
|
||
.lt-btn:hover{background:rgba(59,130,246,0.08);}
|
||
.lt-btn.active{background:var(--dx-accent-weak, rgba(146,177,149,0.18));color:var(--dx-text, #3b463d);}
|
||
.lt-btn-icon{font-size:13px;line-height:1;}
|
||
.lt-btn-text{font-size:12px;line-height:1;}
|
||
.lt-side-btn{display:inline-flex;align-items:center;justify-content:center;padding:0 10px;background:transparent;border:none;border-left:1px solid #e5e7eb;cursor:pointer;color:#6b7280;border-radius:0 9999px 9999px 0;transition:background 0.15s;}
|
||
.lt-side-btn:hover{background:rgba(59,130,246,0.08);color:#374151;}
|
||
.lt-side-icon{font-size:13px;line-height:1;}
|
||
.lt-checkbox{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border:1.5px solid #9ca3af;border-radius:3px;background:#fff;transition:border-color 0.15s;}
|
||
.lt-checkbox.checked{border-color:#3498db;background:#fff;}
|
||
.lt-popup{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.10);z-index:1100;min-width:160px;padding:4px 0;}
|
||
.lt-popup-row{display:flex;align-items:center;gap:6px;padding:6px 12px;font-size:12px;color:#374151;cursor:pointer;transition:background 0.12s;}
|
||
.lt-popup-row:hover{background:rgba(59,130,246,0.08);}
|
||
.lt-popup-row.active{background:var(--dx-accent-weak, rgba(146,177,149,0.18));color:var(--dx-text, #3b463d);font-weight:600;}
|
||
.lt-popup-icon{font-size:13px;}
|
||
.lt-overlay{position:fixed;inset:0;z-index:1099;background:transparent;}
|
||
.lt-dark .lt-btn-group{background:#2a332a;border-color:rgba(255,255,255,0.12);box-shadow:0 2px 8px rgba(0,0,0,0.4);}
|
||
.lt-dark .lt-btn{color:rgba(243,243,241,0.85);}
|
||
.lt-dark .lt-btn:hover{background:rgba(255,255,255,0.06);}
|
||
.lt-dark .lt-btn.active{background:rgba(124,140,248,0.18);color:#7c8cf8;}
|
||
.lt-dark .lt-side-btn{border-left-color:rgba(255,255,255,0.12);color:rgba(243,243,241,0.7);}
|
||
.lt-dark .lt-side-btn:hover{background:rgba(255,255,255,0.06);color:#F3F3F1;}
|
||
.lt-dark .lt-popup{background:#2a332a;border-color:rgba(255,255,255,0.12);}
|
||
.lt-dark .lt-popup-row{color:rgba(243,243,241,0.85);}
|
||
.lt-dark .lt-popup-row:hover{background:rgba(255,255,255,0.06);}
|
||
.lt-dark .lt-popup-row.active{background:rgba(124,140,248,0.18);color:#7c8cf8;}
|
||
`,"legend-tools");const o=e,n=t,{t:a}=bt(),s=Ne("mapStore"),r=_s(o,"legendType"),{items:i,setFilter:l}=Ka(r,ur),c=he(!1),u=he(!1),{scrimRef:d,scrimStyle:f}=bg(u),A=he(0),v=he(null),b=oe(()=>s.isAutoFlying),_=oe(()=>s.isGuidedTourActive),$=oe(()=>s.flySpeed),h=oe(()=>s.showClusters),m=oe(()=>$g(o.legendType)),w=oe(()=>({slow:a("buttons.speedOption.slow"),normal:a("buttons.speedOption.normal"),fast:a("buttons.speedOption.fast")})[$.value]||a("buttons.speedOption.normal")),p=oe(()=>({slow:8e3,normal:5e3,fast:3e3})[$.value]||5e3);function P(){c.value=!c.value,c.value&&(u.value=!1)}function g(L){s.setFlySpeed(L),setTimeout(()=>{c.value=!1},300)}function C(){s.toggleClusters()}function S(L){s.setClusterMode(L),setTimeout(()=>{u.value=!1},500)}function G(){b.value?J():(_.value,H())}function H(){i.value.length!==0&&(A.value=0,s.startAutoFly([]),D(),U())}function J(){v.value&&(clearTimeout(v.value),v.value=null),s.stopAutoFly()}function U(){v.value=setTimeout(()=>{b.value&&(A.value=(A.value+1)%i.value.length,D(),U())},p.value)}function D(){const L=i.value[A.value];L&&(l(L.filterKey),n("legend-row-fly",{index:A.value,filterKey:L.filterKey}))}return Xt(()=>{v.value&&clearTimeout(v.value)}),(L,y)=>m.value?(ae(),pe("div",{key:0,class:Me(["lt-root",{"lt-dark":e.isDark}])},[R("div",bx,[R("button",{class:Me(["lt-btn",{active:b.value}]),onClick:gt(G,["stop"]),title:b.value?ge(a)("buttons.stopFlight"):ge(a)("buttons.startAutoFly")},[y[8]||(y[8]=R("span",{class:"lt-btn-icon"},"✈️",-1)),R("span",yx,ye(b.value?"Stop":"Fly"),1)],10,$x),R("button",{class:"lt-side-btn",onClick:gt(P,["stop"]),title:ge(a)("buttons.speedLabel")+" "+w.value},[...y[9]||(y[9]=[R("span",{class:"lt-side-icon"},"⏱️",-1)])],8,_x),c.value?(ae(),pe("div",{key:0,class:"lt-popup",onClick:y[3]||(y[3]=gt(()=>{},["stop"]))},[R("div",{class:Me(["lt-popup-row",{active:$.value==="slow"}]),onClick:y[0]||(y[0]=M=>g("slow"))},ye(ge(a)("buttons.speedOption.slow")),3),R("div",{class:Me(["lt-popup-row",{active:$.value==="normal"}]),onClick:y[1]||(y[1]=M=>g("normal"))},ye(ge(a)("buttons.speedOption.normal")),3),R("div",{class:Me(["lt-popup-row",{active:$.value==="fast"}]),onClick:y[2]||(y[2]=M=>g("fast"))},ye(ge(a)("buttons.speedOption.fast")),3)])):Le("",!0)]),R("div",vx,[R("button",{class:Me(["lt-btn",{active:h.value}]),onClick:gt(C,["stop"]),title:ge(a)("buttons.showClusters")},[R("span",{class:Me(["lt-checkbox",{checked:h.value}])},[h.value?(ae(),pe("svg",wx,[...y[10]||(y[10]=[R("path",{d:"M2 6l3 3 5-6",stroke:"#3498db","stroke-width":"2",fill:"none"},null,-1)])])):Le("",!0)],2),y[11]||(y[11]=R("span",{class:"lt-btn-text"},"Clusters",-1))],10,kx),R("button",{class:"lt-side-btn",onClick:y[4]||(y[4]=gt(M=>u.value=!u.value,["stop"])),title:ge(a)("buttons.clusterSettings")},[...y[12]||(y[12]=[R("span",{class:"lt-side-icon"},"⚙️",-1)])],8,xx),u.value?(ae(),pe("div",{key:0,class:"lt-popup",onClick:y[6]||(y[6]=gt(()=>{},["stop"]))},[R("div",{class:"lt-popup-row active",onClick:y[5]||(y[5]=M=>S("mst"))},[...y[13]||(y[13]=[R("span",{class:"lt-popup-icon"},"⌬",-1),R("span",null,[Pt("Minimum Spanning Tree"),R("br"),R("small",{style:{opacity:"0.7","font-weight":"400"}},"click a legend row to cluster only that group")],-1)])])])):Le("",!0),u.value?(ae(),pe("div",{key:1,ref_key:"scrimRef",ref:d,style:dt(ge(f)),class:"lt-overlay",onClick:y[7]||(y[7]=gt(M=>u.value=!1,["stop"]))},null,4)):Le("",!0)])],2)):Le("",!0)}},[["styles",[mx]],["__scopeId","data-v-9da69bcf"]]),Sx={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){const t=he(null);return vt("mapToolbar",{el:t}),wt(`
|
||
.map-toolbar {
|
||
position: absolute;
|
||
top: 6px;
|
||
inset-inline-end: 3px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--map-toolbar-gap, 8px);
|
||
z-index: 10;
|
||
}
|
||
.map-toolbar .mcb,
|
||
.map-toolbar .hbg-btn { width: 32px; height: 32px; }
|
||
.map-toolbar .hbg-ctrl { margin: 10px 0 0 0; }
|
||
@media (max-width: 767px) {
|
||
.map-toolbar { top: 72px; gap: 6px; }
|
||
.map-toolbar.map-toolbar--no-geocoder { top: 6px; gap: 6px; }
|
||
}
|
||
`,"map-toolbar"),(o,n)=>(ae(),pe("div",{ref_key:"toolbarEl",ref:t,class:Me(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder}])},[hn(o.$slots,"default")],2))}},Ax=["title","aria-label","disabled"],Ln={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e){return wt(`
|
||
.mcb{
|
||
width:var(--map-btn-size,40px);height:var(--map-btn-size,40px);
|
||
background:#fff;
|
||
border:none;
|
||
border-radius:50%;
|
||
cursor:pointer;
|
||
user-select:none;-webkit-user-select:none;
|
||
display:flex;align-items:center;justify-content:center;
|
||
box-shadow:0 1px 3px rgba(0,0,0,0.18);
|
||
transition:background-color 0.2s,box-shadow 0.2s,transform 0.1s;
|
||
color:#333;
|
||
flex-shrink:0;
|
||
outline:none;
|
||
-webkit-tap-highlight-color:transparent;
|
||
}
|
||
.mcb:hover:not(:disabled){background:#f0f0f0;box-shadow:0 2px 8px rgba(0,0,0,0.18),0 4px 16px rgba(0,0,0,0.12);}
|
||
.mcb:active:not(:disabled){transform:scale(0.93);}
|
||
.mcb:disabled{opacity:0.4;cursor:not-allowed;}
|
||
.mcb:focus-visible{outline:2px solid #1a73e8;outline-offset:2px;}
|
||
.mcb.dark:focus-visible{outline:2px solid #92b195;outline-offset:2px;}
|
||
.mcb.active{background:#e8f0fe;color:#1a73e8;}
|
||
.mcb.dark{background:#3b463d;color:#F3F3F1;border:1px solid rgba(255,255,255,0.14);box-shadow:0 1px 4px rgba(0,0,0,0.4);}
|
||
.mcb.dark:hover:not(:disabled){background:#4e594f;box-shadow:0 2px 8px rgba(0,0,0,0.5);}
|
||
.mcb.dark.active{background:#4e594f;color:#92b195;}
|
||
@media(max-width:767px){.mcb{width:36px;height:36px;}}
|
||
`,"map-control-button"),(t,o)=>(ae(),pe("button",{class:Me(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[hn(t.$slots,"default")],10,Ax))}},Px={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=bt(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomIn()}return(a,s)=>(ae(),et(Ln,{"is-dark":e.isDark,disabled:e.disabled,title:ge(t)("buttons.zoomIn"),onClick:n},{default:jt(()=>[...s[0]||(s[0]=[R("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","disabled","title"]))}},Cx={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=bt(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomOut()}return(a,s)=>(ae(),et(Ln,{"is-dark":e.isDark,disabled:e.disabled,title:ge(t)("buttons.zoomOut"),onClick:n},{default:jt(()=>[...s[0]||(s[0]=[R("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","disabled","title"]))}},Ex={__name:"LocationButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},center:{type:Array,default:()=>[20,10]},zoom:{type:Number,default:1.8},userZoom:{type:Number,default:10}},setup(e){const{t}=bt(),o=e;function n(){var s;(s=o.map)==null||s.flyTo({center:o.center,zoom:o.zoom,duration:1200})}function a(){if(o.map){if(typeof navigator>"u"||!navigator.geolocation){n();return}navigator.geolocation.getCurrentPosition(s=>{const{longitude:r,latitude:i}=s.coords;Number.isFinite(r)&&Number.isFinite(i)?o.map.flyTo({center:[r,i],zoom:o.userZoom,duration:1500}):n()},()=>n(),{enableHighAccuracy:!1,timeout:5e3,maximumAge:6e4})}}return(s,r)=>(ae(),et(Ln,{"is-dark":e.isDark,title:ge(t)("buttons.resetView"),onClick:a},{default:jt(()=>[...r[0]||(r[0]=[R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor"},[R("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"})],-1)])]),_:1},8,["is-dark","title"]))}},Tx={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Nx={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Mx={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=bt(),n=e,a=t,s=he(!1);let r=null,i=null,l=null,c=null,u=null,d=null,f=null,A=null,v=null,b=null,_=null,$=0,h=0,m=null,w=null;function p(){if(typeof document>"u")return!1;const L=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(L)||L.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function P(){var L,y,M;return((M=(y=(L=n.mapContainer)==null?void 0:L.getRootNode)==null?void 0:y.call(L))==null?void 0:M.host)??null}function g(){var y,M;const L=(M=(y=n.mapContainer)==null?void 0:y.getRootNode)==null?void 0:M.call(y);return document.fullscreenElement||document.webkitFullscreenElement||(L&&L instanceof ShadowRoot?L.fullscreenElement:null)||null}function C(L){const y=L.requestFullscreen||L.webkitRequestFullscreen;if(!y)return Promise.reject(new Error("Fullscreen API unavailable"));const M=y.call(L);return M&&typeof M.then=="function"?M:Promise.resolve()}function S(){const L=document.exitFullscreen||document.webkitExitFullscreen;if(!L)return Promise.reject(new Error("Fullscreen API unavailable"));const y=L.call(document);return y&&typeof y.then=="function"?y:Promise.resolve()}function G(){const L=P();if(!L)return!1;if(l=L,i=L.style.cssText,L.style.position="fixed",L.style.top="0",L.style.left="0",L.style.right="0",L.style.bottom="0",L.style.width="100vw",L.style.height="100vh",L.style.height="100dvh",L.style.zIndex="2147483647",L.style.margin="0",L.style.borderRadius="0",L.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){$=window.scrollY||window.pageYOffset||0,h=window.scrollX||window.pageXOffset||0;const y=document.body,M=document.documentElement;c=y?y.style.overflow:null,u=M?M.style.overflow:null,d=y?y.style.position:null,f=y?y.style.top:null,A=y?y.style.left:null,v=y?y.style.width:null,b=y?y.style.touchAction:null,_=M?M.style.touchAction:null,M&&(M.style.overflow="hidden",M.style.touchAction="none"),y&&(y.style.overflow="hidden",y.style.position="fixed",y.style.top=`-${$}px`,y.style.left=`-${h}px`,y.style.width="100%",y.style.touchAction="none"),m=z=>{if(!l)return;const K=z.target;K&&(K===l||l.contains&&l.contains(K))||z.cancelable&&z.preventDefault()},w=z=>{if(!l)return;const K=z.target;K&&(K===l||l.contains&&l.contains(K))||z.cancelable&&z.preventDefault()},document.addEventListener("touchmove",m,{passive:!1,capture:!0}),document.addEventListener("wheel",w,{passive:!1,capture:!0})}return!0}function H(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const L=document.body,y=document.documentElement;L&&(L.style.overflow=c??"",L.style.position=d??"",L.style.top=f??"",L.style.left=A??"",L.style.width=v??"",L.style.touchAction=b??""),y&&(y.style.overflow=u??"",y.style.touchAction=_??""),m&&(document.removeEventListener("touchmove",m,{capture:!0}),m=null),w&&(document.removeEventListener("wheel",w,{capture:!0}),w=null),typeof window<"u"&&($||h)&&window.scrollTo(h,$)}c=null,u=null,d=null,f=null,A=null,v=null,b=null,_=null,$=0,h=0}}function J(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function U(){if(!p()){s.value?(H(),s.value=!1,a("change",!1)):G()&&(s.value=!0,a("change",!0)),J();return}if(g())S().then(()=>{s.value=!1,a("change",!1)}).catch(()=>{});else{const y=P()??document.documentElement;C(y).then(()=>{s.value=!0,a("change",!0)}).catch(()=>{C(document.documentElement).then(()=>{s.value=!0,a("change",!0)}).catch(()=>{})})}}function D(){s.value=!!g(),a("change",s.value)}return $o(()=>{var y,M;document.addEventListener("fullscreenchange",D),document.addEventListener("webkitfullscreenchange",D);const L=(M=(y=n.mapContainer)==null?void 0:y.getRootNode)==null?void 0:M.call(y);L instanceof ShadowRoot&&(r=L,L.addEventListener("fullscreenchange",D),L.addEventListener("webkitfullscreenchange",D))}),Xt(()=>{document.removeEventListener("fullscreenchange",D),document.removeEventListener("webkitfullscreenchange",D),r&&(r.removeEventListener("fullscreenchange",D),r.removeEventListener("webkitfullscreenchange",D),r=null),l&&H()}),(L,y)=>(ae(),et(Ln,{"is-dark":e.isDark,active:s.value,title:ge(o)("buttons.toggleFullscreen"),onClick:U},{default:jt(()=>[s.value?(ae(),pe("svg",Nx,[...y[1]||(y[1]=[R("path",{d:"M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z"},null,-1)])])):(ae(),pe("svg",Tx,[...y[0]||(y[0]=[R("path",{d:"M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z"},null,-1)])]))]),_:1},8,["is-dark","active","title"]))}},Rx={style:{"font-size":"16px","line-height":"1"}},Fx={__name:"ThemeToggleButton",props:{isDark:{type:Boolean,default:!1}},emits:["toggle"],setup(e){const{t}=bt();return(o,n)=>ge(p1)?(ae(),et(Ln,{key:0,"is-dark":e.isDark,title:e.isDark?ge(t)("buttons.switchToLightMode"):ge(t)("buttons.switchToDarkMode"),onClick:n[0]||(n[0]=a=>o.$emit("toggle"))},{default:jt(()=>[R("span",Rx,ye(e.isDark?"☀️":"🌙"),1)]),_:1},8,["is-dark","title"])):Le("",!0)}},Ix=["blocs","clusters","peopleGroups","families","languages","dialects","people","places","regions","wagfBlocks","religions"],Ox={"people-groups":["blocs","clusters","peopleGroups","people","places","families","languages","dialects","regions","religions"],language:["families","languages","dialects","people","blocs","clusters","peopleGroups","places","regions","religions"],regions:["regions","wagfBlocks","places","blocs","clusters","peopleGroups","people","families","languages","dialects","religions"],religion:["religions","people","blocs","clusters","peopleGroups","places","families","languages","dialects","regions"]};function Dx(e){return Ox[e]||Ix}const Bx={blocs:3,clusters:3,peopleGroups:3,families:3,languages:3,dialects:3,people:5,places:2,regions:3,wagfBlocks:3,religions:2},pr=["peopleGroups","people","places","languages","religions"],Gx={regions:[...pr,"regions","wagfBlocks"],"people-groups":[...pr,"blocs","clusters"],language:[...pr,"dialects","families"],religion:[...pr]},jx=100,Ux=50,zx=25,Hx=10,yl=5,yg=20,Vx=[[/ sign language$/i,"Sign Language"]];function Kx(e){if(!e||typeof e!="string")return"";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function qx(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function Wx(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(Ye[n])return Ye[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if(Ye[a])return Ye[a]}}if(Ye[e])return Ye[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();if(o!==e&&Ye[o])return Ye[o];for(const[n,a]of Vx)if(n.test(e))return a;return null}function _g(e,t){return{id:`doxa-section-header-${_l(e)}`,place_name:e,text:e,center:[0,0],place_type:["doxa-section-header"],geometry:{type:"Point",coordinates:[0,0]},properties:{headerLabel:e,isHeader:!0,isAllDataSection:!!t},feature:null}}function _l(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Be(e){return e==null?"":typeof e=="string"?e.toLowerCase():typeof e=="object"&&"label"in e?String(e.label||"").toLowerCase():typeof e=="object"&&"value"in e?String(e.value||"").toLowerCase():String(e).toLowerCase()}function dr(e){return e==null?"":typeof e=="string"?e:typeof e=="object"?e.label||e.value||"":String(e)}function Yx(e){var o,n,a,s,r;if(!Array.isArray(e))return[];const t=[];for(const i of e){if(!i)continue;const l=Number(i.latitude),c=Number(i.longitude);if(!Number.isFinite(l)||!Number.isFinite(c))continue;const u=Be(i.name)+" "+Be(i.displayName)+" "+Be(i.alternateName),d=Be(i.countryName)+" "+Be(i.country)+" "+Be(i.countryIso)+" "+Be(i.countryIsoLabel),f=Be(i.religionName)+" "+Be(i.religion)+" "+Be(i.religionLabel)+" "+Be(i.religionCode),A=Be(i.language)+" "+Be(i.languageFamily)+" "+Be(i.languageCode),v=Be(i.doxaRegion)+" "+Be(i.wagfRegion)+" "+Be(i.wagfBlock),b=Be(i.affinityBlock)+" "+Be(i.affinityBlockLabel)+" "+Be((o=i._raw)==null?void 0:o.rop1),_=Be(i.cluster)+" "+Be(i.clusterLabel)+" "+Be((n=i._raw)==null?void 0:n.imb_reg_of_people_2),$=Be(i.peopleGroup)+" "+Be(i.peopleGroupLabel)+" "+Be((a=i._raw)==null?void 0:a.imb_reg_of_people_25),h=((s=i._raw)==null?void 0:s.primary_language)??((r=i._raw)==null?void 0:r.PrimaryLanguage),m=h&&(typeof h=="object"?h.label||h.value:h)||dr(i.language)||dr(i.primaryLanguage)||"",w=Kx(m),p=qx(m);t.push({feature:i,nameHay:u,countryHay:d,religionHay:f,languageHay:A,regionHay:v,haystack:u+" "+d+" "+f+" "+A+" "+v+" "+b+" "+_+" "+$,blocHay:b,clusterHay:_,pgHay:$,lat:l,lng:c,familyDerived:Wx(m)||null,languageLabel:m,baseLang:w,dialectLabel:p})}return t}function Xx(e){const t=(o,n,a)=>{const s=new Map;for(const r of e){const i=o(r);if(!i)continue;const l=s.get(i);if(l)l.count+=1,l.lngSum+=r.lng,l.latSum+=r.lat,l.memberIds.push(String(r.feature.uniqueId??r.feature.id??r.feature.slug??"")),l.minLng=Math.min(l.minLng,r.lng),l.maxLng=Math.max(l.maxLng,r.lng),l.minLat=Math.min(l.minLat,r.lat),l.maxLat=Math.max(l.maxLat,r.lat),a&&a(l,r,!1);else{const c={key:i,label:dr(n(r))||i,count:1,lngSum:r.lng,latSum:r.lat,minLng:r.lng,maxLng:r.lng,minLat:r.lat,maxLat:r.lat,memberIds:[String(r.feature.uniqueId??r.feature.id??r.feature.slug??"")]};a&&a(c,r,!0),s.set(i,c)}}for(const r of s.values())r.lng=r.lngSum/r.count,r.lat=r.latSum/r.count;return Array.from(s.values())};return{countries:t(o=>Be(o.feature.countryName)||Be(o.feature.country)||Be(o.feature.countryIso),o=>o.feature.countryName||o.feature.country||o.feature.countryIso||""),families:t(o=>Be(o.familyDerived),o=>o.familyDerived||""),languages:t(o=>Be(o.baseLang),o=>o.baseLang||""),dialects:t(o=>o.dialectLabel?`${Be(o.baseLang)}__${Be(o.dialectLabel)}`:"",o=>`${o.baseLang}, ${o.dialectLabel}`,(o,n,a)=>{a?(o.originalLabels=new Set([n.languageLabel]),o.familyDerived=n.familyDerived||"",o.baseLang=n.baseLang||"",o.dialectLabel=n.dialectLabel||""):(o.originalLabels.add(n.languageLabel),!o.familyDerived&&n.familyDerived&&(o.familyDerived=n.familyDerived))}),religions:t(o=>{var n,a,s;return Ua(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((s=o.feature._raw)==null?void 0:s.religion)||"")},o=>{var n,a,s;return Jt[Ua(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((s=o.feature._raw)==null?void 0:s.religion)||"")]||"Unknown"}),regions:t(o=>Be(o.feature.doxaRegion)||Be(o.feature.wagfRegion),o=>{var n,a;return o.feature.wagfRegionLabel||o.feature.doxaRegionLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_region)==null?void 0:a.label)||o.feature.doxaRegion||o.feature.wagfRegion||""}),wagfBlocks:t(o=>Be(o.feature.wagfBlock),o=>{var n,a;return o.feature.wagfBlockLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_block)==null?void 0:a.label)||o.feature.wagfBlock||""}),blocs:t(o=>Be(o.feature.affinityBlockLabel)||Be(o.feature.affinityBlock),o=>o.feature.affinityBlockLabel||o.feature.affinityBlock||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"")}),clusters:t(o=>{const n=o.feature.affinityBlock||"",a=o.feature.cluster||"";return a?`${n}__${a}`:""},o=>o.feature.clusterLabel||o.feature.cluster||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"")}),peopleGroups:t(o=>Be(o.feature.peopleGroup)||Be(o.feature.peopleGroupLabel),o=>o.feature.peopleGroupLabel||o.feature.peopleGroup||o.feature.name||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"",o.clusterLabel=n.feature.clusterLabel||"",o.peopleGroupCode=n.feature.peopleGroup||"")})}}function Zx(e){const t=e.feature,o=t.name||t.displayName||t.slug||"Unknown",n=t.countryName||t.country||t.countryIso||"",a=t.religionName||t.religion||"",s=t.slug||t.uniqueId||_l(o+"-"+n),r=[e.lng,e.lat],i=[n,a].filter(Boolean).join(" — "),l=i?`${o}, ${i}`:o;return{id:`doxa-pg-${s}`,place_name:l,text:o,center:r,place_type:["people-group"],geometry:{type:"Point",coordinates:r},properties:{slug:s,...t},feature:t}}function Po(e,t){let o,n;switch(e){case"country":o="doxa-country",n="doxa-country-";break;case"region":o="doxa-region",n="doxa-region-";break;case"language-family":o="doxa-language-family",n="doxa-language-family-";break;case"language":o="doxa-language",n="doxa-language-";break;case"dialect":o="doxa-dialect",n="doxa-dialect-";break;case"religion":o="doxa-religion",n="doxa-religion-";break;case"affinity-bloc":o="doxa-affinity-bloc",n="doxa-affinity-bloc-";break;case"cluster":o="doxa-cluster",n="doxa-cluster-";break;case"people-group":o="doxa-people-group",n="doxa-people-group-";break;default:o="doxa",n="doxa-"}const a=dr(t.label)||t.key,s=_l(t.key),r=[t.lng,t.lat],l={"affinity-bloc":"Affinity Block",cluster:"Cluster","people-group":"PG","pg-in-country":"PGIC"}[e],c=l?`${a} (${l}) · ${t.count}`:`${a} (${t.count})`,u=t.originalLabels?Array.from(t.originalLabels):void 0,d=e==="dialect"?{familyDerived:t.familyDerived||"",baseLang:t.baseLang||"",dialectLabel:t.dialectLabel||""}:null;return{id:`${n}${s}`,place_name:c,text:a,center:r,bbox:[t.minLng,t.minLat,t.maxLng,t.maxLat],place_type:[o],geometry:{type:"Point",coordinates:r},properties:{slug:s,doxaAggregate:e,count:t.count,label:a,memberIds:t.memberIds,bounds:[t.minLng,t.minLat,t.maxLng,t.maxLat],...u?{originalLabels:u}:{},...d||{},...e==="affinity-bloc"?{blocCode:t.blocCode||""}:{},...e==="cluster"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||""}:{},...e==="people-group"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||"",clusterLabel:t.clusterLabel||"",peopleGroupCode:t.peopleGroupCode||""}:{}},feature:null}}function Jx(e={}){const{dataStore:t,dataSourceId:o,getActiveFilter:n,getActiveContext:a}=e,{t:s}=bt(),r=oe(()=>{var d,f;if(!t||!t.sources)return[];if(o&&((d=t.sources[o])!=null&&d.features))return t.sources[o].features;for(const A of Object.keys(t.sources)){const v=t.sources[A];if((f=v==null?void 0:v.features)!=null&&f.length)return v.features}return[]}),i=oe(()=>Yx(r.value)),l=oe(()=>Xx(i.value));function c(d){const f=String(d||"").trim().toLowerCase(),A={people:[],places:[],regions:[],wagfBlocks:[],families:[],languages:[],dialects:[],religions:[],blocs:[],clusters:[],peopleGroups:[]};if(f.length<2)return A;const v=f.split(/[\s,;]+/).filter(Boolean);if(!v.length)return A;const b=i.value;if(!b.length)return A;const _=l.value,$=[];for(const y of b){let M=!0;for(const K of v)if(!y.haystack.includes(K)){M=!1;break}if(!M)continue;let z=0;v.some(K=>y.nameHay.includes(K))&&(z+=jx),v.some(K=>y.countryHay.includes(K))&&(z+=Ux),v.some(K=>y.religionHay.includes(K))&&(z+=zx),v.some(K=>y.languageHay.includes(K))&&(z+=Hx),$.push({entry:y,score:z})}$.sort((y,M)=>M.score-y.score);const h=$.slice(0,yl).map(y=>Zx(y.entry)),m=y=>y.filter(M=>v.every(z=>M.key.includes(z)||Be(M.label).includes(z))).sort((M,z)=>z.count-M.count).slice(0,yl),w=m(_.countries).map(y=>Po("country",y)),p=m(_.regions).map(y=>Po("region",y)),P=m(_.wagfBlocks).map(y=>Po("region",y)),g=m(_.families).map(y=>Po("language-family",y)),C=m(_.languages).map(y=>Po("language",y)),S=m(_.dialects).map(y=>Po("dialect",y)),G=m(_.religions).map(y=>Po("religion",y)),H=m(_.blocs).map(y=>Po("affinity-bloc",y));let J=m(_.clusters).map(y=>Po("cluster",y)),U=m(_.peopleGroups).map(y=>Po("people-group",y));const D=new Set(H.map(y=>Be(y.text)));J=J.filter(y=>!D.has(Be(y.text)));const L=new Set(J.map(y=>Be(y.text)));return U=U.filter(y=>!D.has(Be(y.text))&&!L.has(Be(y.text))),{people:h,places:w,regions:p,wagfBlocks:P,families:g,languages:C,dialects:S,religions:G,blocs:H,clusters:J,peopleGroups:U}}function u(d){const f=typeof n=="function"?n():null,A=typeof a=="function"?a():null,v=c(d),b=Dx(A),_=Gx[A],$=_?Object.fromEntries(_.filter(g=>v[g]).map(g=>[g,v[g]])):v,h=b.flatMap(g=>$[g]||[]);if(!(f!=null&&f.key)||!h.length)return h.slice(0,yg);const m=[];for(const g of v.people){const C=i.value.find(G=>G.feature===g.feature);let S=!1;C&&(f.kind==="family"?S=(C.familyDerived||"").toLowerCase()===f.key.toLowerCase():f.kind==="language"&&(S=C.languageLabel.toLowerCase()===f.key.toLowerCase())),S&&m.push(g)}const w=[],p=f.key;m.length&&(w.push(_g(s("search.sections.within",{selection:p}),!1)),w.push(...m.slice(0,yl)));const P=b.flatMap(g=>($[g]||[]).slice(0,Bx[g]??3)).map(g=>({...g,properties:{...g.properties,_allDataSection:!0}}));return w.push(_g(s("search.sections.allData"),!0)),w.push(...P),w.slice(0,yg+8)}return{search:u,searchGrouped:c,index:i,aggregates:l}}const vg="https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.min.js",Qx="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",eL={__name:"GeocoderComponent",props:{mapInstance:{type:Object,required:!1,default:null},accessToken:{type:String,required:!0},provider:{type:String,default:"mapbox"},isDark:{type:Boolean,default:!1},standalone:{type:Boolean,default:!1},placeholder:{type:String,default:""},dataSourceId:{type:String,default:""},activeContext:{type:String,default:""}},emits:["result","people-group-result","aggregate-result","clear","error"],setup(e,{expose:t,emit:o}){function n(L){return L+L.replace(/mapboxgl/g,"maplibregl")}wt(n('.mapboxgl-ctrl-geocoder--input,.mapboxgl-ctrl-geocoder input[type="text"],.mapboxgl-ctrl-geocoder input[type="search"]{font-size:16px !important;line-height:1.3;}'),"geocoder-ios-zoom-fix"),wt(n(".mapboxgl-ctrl-geocoder--icon-loading{display:none !important;}"),"geocoder-hide-loading"),wt(n(".mapboxgl-ctrl-geocoder{height:35px!important;min-height:35px!important;box-sizing:border-box!important;}.mapboxgl-ctrl-geocoder--input{height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;}.mapboxgl-ctrl-geocoder--icon-search{top:50%!important;transform:translateY(-50%)!important;margin-top:0!important;left:7px!important;}"),"geocoder-height-35"),wt(n(".mapboxgl-ctrl-geocoder{width:100%!important;max-width:100%!important;min-width:0!important;}@media(max-width:767px){.dg-search-band{top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;padding:9px 14px!important;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,0.10);}.dg-search-band--dark{background:#3b463d;box-shadow:0 1px 4px rgba(0,0,0,0.35);}.dg-search-band .mapboxgl-ctrl,.dg-search-band .maplibregl-ctrl{margin:0!important;float:none!important;}}.mapboxgl-ctrl-geocoder{border-radius:999px!important;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.15)!important;transition:box-shadow .12s,border-color .12s;}.mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.15),0 0 0 3px rgba(59,70,61,0.18)!important;}.mapboxgl-ctrl-geocoder--input{border-radius:999px!important;font-size:13px!important;}.mapboxgl-ctrl-geocoder--input::placeholder{font-size:12px!important;}.mapboxgl-ctrl-geocoder--button{display:none!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;width:24px!important;height:24px!important;background:transparent!important;border:none!important;box-shadow:none!important;}.mapboxgl-ctrl-geocoder:has(.mapboxgl-ctrl-geocoder--input:not(:placeholder-shown)) .mapboxgl-ctrl-geocoder--button{display:block!important;}.mapboxgl-ctrl-geocoder--button .mapboxgl-ctrl-geocoder--icon-close{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:16px!important;height:16px!important;}.mapboxgl-ctrl-geocoder--suggestions,.mapboxgl-ctrl-geocoder .suggestions{z-index:1200!important;position:absolute;max-height:60vh!important;overflow-y:auto!important;}.geocoder-dark.mapboxgl-ctrl-geocoder,.dsm-dark .mapboxgl-ctrl-geocoder{background:#4e594f!important;border:1px solid rgba(255,255,255,0.14)!important;box-shadow:0 2px 8px rgba(0,0,0,0.4)!important;}.geocoder-dark.mapboxgl-ctrl-geocoder:focus-within,.dsm-dark .mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.4),0 0 0 3px rgba(115,161,127,0.22)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input,.dsm-dark .mapboxgl-ctrl-geocoder--input{color:#F3F3F1!important;background:transparent!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input::placeholder,.dsm-dark .mapboxgl-ctrl-geocoder--input::placeholder{color:rgba(243,243,241,0.65)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--icon,.dsm-dark .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon{fill:rgba(243,243,241,0.75)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--button,.dsm-dark .mapboxgl-ctrl-geocoder--button{background:transparent!important;}"),"geocoder-skin");const{t:a,locale:s}=bt(),r=e,i=oe(()=>r.placeholder||a("search.placeholder")),l=o,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(L){return String(L??"").replace(/[&<>"']/g,y=>c[y])}function d(L){return L==null?"":typeof L=="string"?L:typeof L=="object"?L.label||L.value||"":String(L)}const f={"people-group":"people","doxa-people-group":"peopleGroup","doxa-affinity-bloc":"bloc","doxa-cluster":"cluster","doxa-country":"country","doxa-region":"region","doxa-language-family":"family","doxa-language":"languageKind","doxa-dialect":"dialect","doxa-religion":"religionKind"};function A(L){const y=f[L];if(!y)return"";const M=a("search.kinds."+y);return`<span class="dg-tag" title="${u(M)}">${u(M)}</span>`}function v(L){var z;if(!L)return"";const y=L.place_type||[];if(y.includes("doxa-section-header"))return`<div class="dg-section-header-item">${u(((z=L.properties)==null?void 0:z.headerLabel)||L.text||"")}</div>`;if(y.includes("people-group")){const K=L.properties||{},Q=d(K.name)||d(K.displayName)||d(L.text)||"",ie=d(K.countryName)||d(K.country)||d(K.countryIso)||"",j=d(K.language)||d(K.primaryLanguage)||d(K.languageFamily)||"",be=d(K.religionName)||d(K.religion)||"",xe=a("search.labels.place"),fe=a("search.labels.language"),ke=a("search.labels.religion"),$e=[];return ie&&$e.push(`<span class="dg-field"><strong>${u(xe)}</strong> ${u(ie)}</span>`),j&&$e.push(`<span class="dg-field"><strong>${u(fe)}</strong> ${u(j)}</span>`),be&&$e.push(`<span class="dg-field"><strong>${u(ke)}</strong> ${u(be)}</span>`),`<div class="dg-main">${A("people-group")}<strong>${u(Q)}</strong></div>`+($e.length?`<div class="dg-meta">${$e.join("")}</div>`:"")}const M=y.find(K=>K.startsWith("doxa-"));if(M){const K=L.properties||{},Q=u(d(K.label)||L.text||""),ie=Number(K.count)||0,j=ie?` <span class="dg-count">${ie}</span>`:"";return`<div class="dg-main">${A(M)}<span class="dg-agg-label">${Q}</span>${j}</div>`}return`<div class="dg-main">${u(L.place_name||L.text||"")}</div>`}const b=Ne("dataStore",null),_=Ne("mapStore",null),$=Ne("uiStore",null);function h(){return _?_.selectedFamily?{kind:"family",key:_.selectedFamily}:_.selectedLanguage?{kind:"language",key:_.selectedLanguage}:null:null}const{search:m}=Jx({dataStore:b,dataSourceId:r.dataSourceId||void 0,getActiveFilter:h,getActiveContext:()=>r.activeContext||null}),w=$a(null),p=he(null),P={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",maplibre:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.css"};function g(L,y){const M=P[y]||P.mapbox;if(L.querySelector(`link[href="${M}"]`))return;const z=document.createElement("link");z.rel="stylesheet",z.href=M,L.prepend(z)}async function C(L,y){if(typeof window<"u"&&window[y]||typeof document>"u")return;const M=document.querySelector(`script[src="${L}"]`);if(M){if(window[y])return;await new Promise(z=>{M.addEventListener("load",z,{once:!0}),M.addEventListener("error",z,{once:!0})});return}await new Promise(z=>{const K=document.createElement("script");K.src=L,K.async=!0,K.addEventListener("load",z,{once:!0}),K.addEventListener("error",z,{once:!0}),document.head.appendChild(K)})}function S(L=document){let y=L.activeElement;for(;y&&y.shadowRoot&&y.shadowRoot.activeElement;)y=y.shadowRoot.activeElement;return y}function G(L){const y=L==null?void 0:L._onKeyDown;typeof y=="function"&&(L._onKeyDown=function(M){const z=S();return!z||z===M.target||typeof z.value!="string"?y.call(L,M):y.call(L,new Proxy(M,{get(K,Q){if(Q==="target"||Q==="srcElement")return z;const ie=Reflect.get(K,Q);return typeof ie=="function"?ie.bind(K):ie}}))})}async function H(){await C(Qx,"MapboxGeocoder")}async function J(){if(typeof window<"u"&&window.MaplibreGeocoder||typeof document>"u")return;const L=document.querySelector(`script[src="${vg}"]`);if(L){if(window.MaplibreGeocoder)return;await new Promise(y=>{L.addEventListener("load",y,{once:!0}),L.addEventListener("error",y,{once:!0})});return}await new Promise((y,M)=>{const z=document.createElement("script");z.src=vg,z.async=!1,z.addEventListener("load",y,{once:!0}),z.addEventListener("error",()=>M(new Error("[GeocoderComponent] Failed to load MapLibre geocoder")),{once:!0}),document.head.appendChild(z)})}function U(L,y){return async M=>{const z={features:[]};if(!L||!(M!=null&&M.query))return z;try{const K=Array.isArray(M.language)?M.language[0]:M.language||y()||"en",Q=new URLSearchParams({access_token:L,autocomplete:"true",limit:String(M.limit||5)});K&&Q.set("language",K);const ie=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(M.query)}.json?${Q.toString()}`,j=await fetch(ie);if(!j.ok)return z;const be=await j.json();return be&&Array.isArray(be.features)?be:z}catch{return z}}}$o(async()=>{var K,Q,ie,j,be;const L=r.provider==="maplibre";if(L){if(await J(),typeof MaplibreGeocoder>"u"){console.error("[GeocoderComponent] MaplibreGeocoder global unavailable.");return}}else if(typeof MapboxGeocoder>"u"&&(await H(),typeof MapboxGeocoder>"u")){console.error("[GeocoderComponent] MapboxGeocoder global unavailable.");return}const y=r.mapInstance;if(!r.standalone&&!y)return;const M=r.standalone?(Q=(K=p.value)==null?void 0:K.getRootNode)==null?void 0:Q.call(K):(be=(j=(ie=y.getContainer)==null?void 0:ie.call(y))==null?void 0:j.getRootNode)==null?void 0:be.call(j);M instanceof ShadowRoot&&g(M,r.provider);const z={marker:!1,flyTo:!r.standalone,trackProximity:!r.standalone,placeholder:i.value,language:s.value||"en",localGeocoder:m,limit:20,zoom:6,render:v};if(L){const xe=typeof maplibregl<"u"?maplibregl:void 0,fe={forwardGeocode:U(r.accessToken,()=>s.value)};w.value=new MaplibreGeocoder(fe,{...z,maplibregl:xe,showResultsWhileTyping:!0,reverseGeocode:!1})}else w.value=new MapboxGeocoder({accessToken:r.accessToken,mapboxgl,...z});if(G(w.value),w.value.on("result",xe=>{var ke,$e,ne,ee,de,Pe,T,F,I,W,Y,O,ue,te,k,x,B,X,me,ce,Z,le,Ce,Te,qe,nt,Qe,V,se,ve;const fe=xe==null?void 0:xe.result;fe&&((ke=fe.place_type)!=null&&ke.includes("doxa-section-header")||(_&&(_.selectedRegion=null,_.selectedResource=null,_.selectedAffinityBlock=null,_.selectedDialect=null),$&&(($e=$.setPrayerFilter)==null||$e.call($,null),(ne=$.setEngagementFilter)==null||ne.call($,null),(ee=$.setAdoptionFilter)==null||ee.call($,null),(de=$.setReligionFilter)==null||de.call($,null)),(Pe=fe.properties)!=null&&Pe._allDataSection&&_&&(_.selectedFamily=null,_.selectedLanguage=null),l("result",xe),(T=fe.place_type)!=null&&T.includes("people-group")&&fe.feature?l("people-group-result",{type:"Feature",properties:fe.properties||fe.feature,geometry:fe.geometry||{type:"Point",coordinates:fe.center}}):((F=fe.place_type)!=null&&F.includes("doxa-country")||(I=fe.place_type)!=null&&I.includes("doxa-region")||(W=fe.place_type)!=null&&W.includes("doxa-language-family")||(Y=fe.place_type)!=null&&Y.includes("doxa-language")||(O=fe.place_type)!=null&&O.includes("doxa-dialect")||(ue=fe.place_type)!=null&&ue.includes("doxa-religion")||(te=fe.place_type)!=null&&te.includes("doxa-affinity-bloc")||(k=fe.place_type)!=null&&k.includes("doxa-cluster")||(x=fe.place_type)!=null&&x.includes("doxa-people-group"))&&l("aggregate-result",{kind:fe.place_type[0].replace(/^doxa-/,""),label:((B=fe.properties)==null?void 0:B.label)||fe.text,count:((X=fe.properties)==null?void 0:X.count)||0,memberIds:((me=fe.properties)==null?void 0:me.memberIds)||[],bounds:((ce=fe.properties)==null?void 0:ce.bounds)||null,center:fe.center,originalLabels:((Z=fe.properties)==null?void 0:Z.originalLabels)||null,familyDerived:((le=fe.properties)==null?void 0:le.familyDerived)||"",baseLang:((Ce=fe.properties)==null?void 0:Ce.baseLang)||"",dialectLabel:((Te=fe.properties)==null?void 0:Te.dialectLabel)||"",slug:((qe=fe.properties)==null?void 0:qe.slug)||null,id:fe.id||null,blocCode:((nt=fe.properties)==null?void 0:nt.blocCode)||"",blocLabel:((Qe=fe.properties)==null?void 0:Qe.blocLabel)||"",clusterCode:((V=fe.properties)==null?void 0:V.clusterCode)||"",clusterLabel:((se=fe.properties)==null?void 0:se.clusterLabel)||"",peopleGroupCode:((ve=fe.properties)==null?void 0:ve.peopleGroupCode)||"",properties:fe.properties||null})))}),w.value.on("clear",()=>l("clear")),w.value.on("error",xe=>l("error",xe)),r.standalone){if(p.value){const xe={on(){},off(){},fire(){},getContainer:()=>p.value,getZoom:()=>0,getCenter:()=>({lng:0,lat:0}),getBounds:()=>null,flyTo(){},fitBounds(){},addControl(){},removeControl(){},hasControl:()=>!1};try{const fe=w.value.onAdd(r.mapInstance||xe);fe&&p.value.appendChild(fe)}catch(fe){l("error",fe)}}}else y.addControl(w.value,"top-left"),D()});function D(){var y,M;const L=(M=(y=w.value)==null?void 0:y.container)==null?void 0:M.parentElement;L&&(L.classList.add("dg-search-band"),L.classList.toggle("dg-search-band--dark",!!r.isDark))}return Re(()=>r.isDark,()=>D()),Re(i,L=>{var z,K;const y=w.value;if(!y)return;const M=y._inputEl||((K=(z=y.container)==null?void 0:z.querySelector)==null?void 0:K.call(z,"input.mapboxgl-ctrl-geocoder--input"));M&&(M.placeholder=L,M.setAttribute("placeholder",L)),y.options&&(y.options.placeholder=L)}),Re(s,L=>{const y=w.value;y!=null&&y.options&&(y.options.language=L||"en")}),Xt(()=>{var L,y;if(w.value){try{r.standalone?(y=(L=w.value).onRemove)==null||y.call(L):r.mapInstance&&r.mapInstance.removeControl(w.value)}catch{}w.value=null}}),t({geocoder:w}),(L,y)=>e.standalone?(ae(),pe("div",{key:0,ref_key:"standaloneContainer",ref:p,class:"dg-standalone-geocoder"},null,512)):hn(L.$slots,"default",{},void 0,void 0,1)}},tL=["aria-label"],oL={class:"mcm-header"},nL={class:"mcm-title"},aL={class:"mcm-body"},sL=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",vl="doxa-map-menu-open",rL={__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}){wt(`
|
||
.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;
|
||
overflow:hidden;opacity:0;transform:translateY(-4px) scale(0.98);animation:mcm-in 0.18s ease-out forwards;}
|
||
@keyframes mcm-in{to{opacity:1;transform:translateY(0) scale(1);}}
|
||
.mcm.light{background:#ffffff;border-color:#d8dee4;box-shadow:0 6px 24px rgba(0,0,0,0.16);color:#1f2328;}
|
||
.mcm-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;min-height:32px;flex:0 0 auto;border-bottom:1px solid #21262d;}
|
||
.mcm.light .mcm-header{border-bottom-color:#d8dee4;}
|
||
.mcm-title{font:600 10px ui-monospace,monospace;color:#73A17F;text-transform:uppercase;letter-spacing:0.07em;}
|
||
.mcm.light .mcm-title{color:#3b463d;}
|
||
.mcm-close{width:22px;height:20px;border:1px solid #30363d;background:rgba(110,118,129,0.12);border-radius:5px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#8b949e;padding:0;transition:color 0.1s,background 0.1s,border-color 0.1s;}
|
||
.mcm-close:hover{color:#c9d1d9;background:rgba(59,70,61,0.18);border-color:#73A17F;}
|
||
.mcm.light .mcm-close{background:rgba(208,215,222,0.4);border-color:#d0d7de;color:#57606a;}
|
||
.mcm.light .mcm-close:hover{color:#3b463d;background:rgba(59,70,61,0.12);border-color:#3b463d;}
|
||
.mcm-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;}
|
||
`,"map-control-menu");const o=e,n=t,a=Ne("mapToolbar",null),s=he(null),r=he(null),i=he({});function l(){var S;const A=(S=a==null?void 0:a.el)==null?void 0:S.value,v=s.value;if(!A||!v){i.value={};return}const b=v.getBoundingClientRect(),_=A.getBoundingClientRect(),$=(_.left+_.right)/2>(b.left+b.right)/2,h=8,m=12,w=$?b.right-_.left+h:_.right-b.left+h,p=Math.max(200,Math.min(o.width,b.width-w-m)),P=Math.max(0,_.top-b.top);let C=v.getAttribute&&v.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-_.top-m):Math.max(120,b.height-P-m);o.matchToolbar&&(C=Math.max(120,Math.min(C,_.height))),o.maxHeight&&(C=Math.min(C,o.maxHeight)),i.value={top:`${Math.round(P)}px`,[$?"right":"left"]:`${Math.round(w)}px`,width:`${Math.round(p)}px`,maxHeight:`${Math.round(C)}px`,...o.height?{height:`${Math.round(Math.min(o.height,C))}px`}:{}}}function c(A){o.open&&A.detail!==r.value&&n("close")}Re(()=>o.open,async A=>{var v;if(A){await It(),l();try{(v=s.value)==null||v.dispatchEvent(new CustomEvent(vl,{detail:r.value}))}catch{}}});function u(){o.open&&l()}function d(A){A.key==="Escape"&&o.open&&n("close")}function f(A){var b;if(!o.open)return;const v=A.composedPath?A.composedPath():[A.target];r.value&&v.includes(r.value)||(b=a==null?void 0:a.el)!=null&&b.value&&v.includes(a.el.value)||v.some(_=>{var $,h,m,w;return((h=($=_==null?void 0:_.classList)==null?void 0:$.contains)==null?void 0:h.call($,"mapboxgl-canvas"))||((w=(m=_==null?void 0:_.classList)==null?void 0:m.contains)==null?void 0:w.call(m,"maplibregl-canvas"))})&&n("close")}return $o(()=>{var A,v,b;s.value=((v=(A=a==null?void 0:a.el)==null?void 0:A.value)==null?void 0:v.closest(sL))||null,(b=s.value)==null||b.addEventListener(vl,c),window.addEventListener("resize",u),document.addEventListener("click",f,!0),document.addEventListener("keydown",d)}),Xt(()=>{var A;(A=s.value)==null||A.removeEventListener(vl,c),window.removeEventListener("resize",u),document.removeEventListener("click",f,!0),document.removeEventListener("keydown",d)}),(A,v)=>(ae(),et(bh,{to:s.value,disabled:!s.value},[e.open?(ae(),pe("div",{key:0,ref_key:"el",ref:r,class:Me(["mcm",{light:!e.isDark}]),style:dt(i.value),role:"dialog","aria-label":e.title},[R("div",oL,[R("span",nL,ye(e.title),1),R("button",{class:"mcm-close",type:"button","aria-label":"Close",onClick:v[0]||(v[0]=b=>n("close"))},[...v[1]||(v[1]=[R("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[R("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),R("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])])]),R("div",aL,[hn(A.$slots,"default")])],14,tL)):Le("",!0)],8,["to","disabled"]))}},iL={class:"share-steps"},lL={class:"share-tabs"},cL={key:0,class:"share-body"},uL={class:"share-url-box"},pL={class:"share-url-text"},dL={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},gL={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"},fL={key:1,class:"share-body"},hL={class:"share-size-pills"},mL=["onClick"],bL={class:"share-code-box"},$L={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},yL={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"},_L={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){wt(`
|
||
.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);
|
||
-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
|
||
opacity:0.6;animation:share-ring-turn 5s linear infinite;}
|
||
.share-wrap:hover::before{opacity:0.95;}
|
||
@keyframes share-ring-turn{to{transform:rotate(360deg);}}
|
||
@media(prefers-reduced-motion:reduce){.share-wrap::before{animation:none;}}
|
||
.share-steps{margin:10px 14px 6px;padding:0 0 0 15px;list-style:'- ';font:14px/1.55 system-ui,sans-serif;color:#c9d1d9;}
|
||
.share-steps li{margin:0 0 3px;padding-left:3px;}
|
||
.share-steps li:last-child{font-weight:600;color:#92b195;}
|
||
.share-pop.light .share-steps{color:#3b463d;}
|
||
.share-pop.light .share-steps li:last-child{color:#3b463d;}
|
||
.share-pop{
|
||
font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
|
||
font-size:13px;
|
||
color:#e6edf3;
|
||
}
|
||
.share-pop.light{color:#1f2328;}
|
||
.share-tabs{
|
||
display:flex;
|
||
gap:0;
|
||
padding:0 16px;
|
||
margin-top:8px;
|
||
border-bottom:1px solid rgba(255,255,255,0.08);
|
||
}
|
||
.share-pop.light .share-tabs{border-bottom:1px solid rgba(0,0,0,0.08);}
|
||
.share-tab{
|
||
padding:6px 0;
|
||
margin-right:20px;
|
||
font-size:12.5px;
|
||
font-weight:600;
|
||
background:none;border:none;
|
||
color:inherit;opacity:0.5;
|
||
cursor:pointer;
|
||
border-bottom:2px solid transparent;
|
||
transition:opacity 0.15s,border-color 0.2s;
|
||
font-family:inherit;
|
||
white-space:nowrap;
|
||
}
|
||
.share-tab:hover{opacity:0.75;}
|
||
.share-tab.active{
|
||
opacity:1;
|
||
border-bottom-color:#4a90d9;
|
||
}
|
||
.share-pop.light .share-tab.active{
|
||
border-bottom-color:#1a73e8;
|
||
}
|
||
.share-body{
|
||
padding:12px 16px 14px 16px;
|
||
}
|
||
.share-url-box{
|
||
display:flex;
|
||
align-items:center;
|
||
gap:0;
|
||
background:rgba(0,0,0,0.22);
|
||
border:1px solid rgba(255,255,255,0.08);
|
||
border-radius:10px;
|
||
overflow:hidden;
|
||
}
|
||
.share-pop.light .share-url-box{
|
||
background:rgba(0,0,0,0.035);
|
||
border:1px solid rgba(0,0,0,0.10);
|
||
}
|
||
.share-url-text{
|
||
flex:1;
|
||
padding:11px 14px;
|
||
font-size:13px;
|
||
color:#b0b8c8;
|
||
overflow:hidden;
|
||
text-overflow:ellipsis;
|
||
white-space:nowrap;
|
||
-webkit-user-select:all;
|
||
user-select:all;
|
||
}
|
||
.share-pop.light .share-url-text{color:#555;}
|
||
.share-primary-btn{
|
||
display:flex;
|
||
align-items:center;
|
||
justify-content:center;
|
||
gap:8px;
|
||
width:100%;
|
||
padding:12px 0;
|
||
margin-top:14px;
|
||
background:#4a90d9;
|
||
border:none;
|
||
border-radius:10px;
|
||
color:#fff;
|
||
font-size:14.5px;
|
||
font-weight:600;
|
||
cursor:pointer;
|
||
transition:background 0.15s,transform 0.1s;
|
||
font-family:inherit;
|
||
}
|
||
.share-primary-btn:hover{background:#3d7ec5;}
|
||
.share-primary-btn:active{transform:scale(0.98);}
|
||
.share-primary-btn.copied{
|
||
background:#2ea44f;
|
||
}
|
||
.share-pop.light .share-primary-btn{
|
||
background:#1a73e8;
|
||
}
|
||
.share-pop.light .share-primary-btn:hover{
|
||
background:#1565c0;
|
||
}
|
||
.share-pop.light .share-primary-btn.copied{
|
||
background:#2ea44f;
|
||
}
|
||
.share-social-row{
|
||
display:flex;
|
||
align-items:center;
|
||
gap:10px;
|
||
margin-top:16px;
|
||
padding-top:14px;
|
||
border-top:1px solid rgba(255,255,255,0.06);
|
||
}
|
||
.share-pop.light .share-social-row{
|
||
border-top:1px solid rgba(0,0,0,0.06);
|
||
}
|
||
.share-social-label{
|
||
font-size:12px;
|
||
opacity:0.45;
|
||
font-weight:500;
|
||
margin-right:auto;
|
||
white-space:nowrap;
|
||
}
|
||
.share-social-btn{
|
||
width:36px;height:36px;
|
||
border-radius:50%;
|
||
border:1px solid rgba(255,255,255,0.10);
|
||
background:rgba(255,255,255,0.06);
|
||
display:flex;align-items:center;justify-content:center;
|
||
cursor:pointer;
|
||
color:inherit;
|
||
transition:background 0.15s,border-color 0.15s;
|
||
}
|
||
.share-social-btn:hover{
|
||
background:rgba(255,255,255,0.12);
|
||
border-color:rgba(255,255,255,0.18);
|
||
}
|
||
.share-pop.light .share-social-btn{
|
||
border:1px solid rgba(0,0,0,0.10);
|
||
background:rgba(0,0,0,0.03);
|
||
}
|
||
.share-pop.light .share-social-btn:hover{
|
||
background:rgba(0,0,0,0.07);
|
||
border-color:rgba(0,0,0,0.16);
|
||
}
|
||
.share-embed-desc{
|
||
font-size:13.5px;
|
||
line-height:1.55;
|
||
opacity:0.72;
|
||
margin-bottom:16px;
|
||
}
|
||
.share-size-pills{
|
||
display:flex;
|
||
gap:8px;
|
||
margin-bottom:14px;
|
||
}
|
||
.share-size-pill{
|
||
padding:6px 14px;
|
||
border-radius:20px;
|
||
border:1px solid rgba(255,255,255,0.12);
|
||
background:transparent;
|
||
color:inherit;
|
||
font-size:12.5px;
|
||
font-weight:500;
|
||
cursor:pointer;
|
||
transition:background 0.15s,border-color 0.15s;
|
||
font-family:inherit;
|
||
}
|
||
.share-size-pill:hover{
|
||
background:rgba(255,255,255,0.06);
|
||
}
|
||
.share-size-pill.active{
|
||
background:rgba(74,144,217,0.18);
|
||
border-color:rgba(74,144,217,0.45);
|
||
color:#7ab8f5;
|
||
}
|
||
.share-pop.light .share-size-pill{
|
||
border:1px solid rgba(0,0,0,0.12);
|
||
}
|
||
.share-pop.light .share-size-pill:hover{
|
||
background:rgba(0,0,0,0.04);
|
||
}
|
||
.share-pop.light .share-size-pill.active{
|
||
background:rgba(26,115,232,0.10);
|
||
border-color:rgba(26,115,232,0.40);
|
||
color:#1a73e8;
|
||
}
|
||
.share-code-box{
|
||
background:rgba(0,0,0,0.28);
|
||
border:1px solid rgba(255,255,255,0.06);
|
||
border-radius:10px;
|
||
padding:12px 14px;
|
||
font-family:'SF Mono',SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;
|
||
font-size:11.5px;
|
||
line-height:1.5;
|
||
color:#a0aab8;
|
||
word-break:break-all;
|
||
white-space:pre-wrap;
|
||
height:auto;
|
||
-webkit-user-select:all;
|
||
user-select:all;
|
||
}
|
||
.share-pop.light .share-code-box{
|
||
background:rgba(0,0,0,0.035);
|
||
border:1px solid rgba(0,0,0,0.08);
|
||
color:#444;
|
||
}
|
||
.share-secondary-btn{
|
||
display:flex;
|
||
align-items:center;
|
||
justify-content:center;
|
||
gap:8px;
|
||
width:100%;
|
||
padding:11px 0;
|
||
margin-top:12px;
|
||
background:rgba(255,255,255,0.08);
|
||
border:1px solid rgba(255,255,255,0.12);
|
||
border-radius:10px;
|
||
color:#e0e4ec;
|
||
font-size:14px;
|
||
font-weight:600;
|
||
cursor:pointer;
|
||
transition:background 0.15s,border-color 0.15s,transform 0.1s;
|
||
font-family:inherit;
|
||
}
|
||
.share-secondary-btn:hover{
|
||
background:rgba(255,255,255,0.13);
|
||
border-color:rgba(255,255,255,0.18);
|
||
}
|
||
.share-secondary-btn:active{transform:scale(0.98);}
|
||
.share-secondary-btn.copied{
|
||
background:rgba(46,164,79,0.16);
|
||
border-color:rgba(46,164,79,0.35);
|
||
color:#5cd680;
|
||
}
|
||
.share-pop.light .share-secondary-btn{
|
||
background:rgba(0,0,0,0.04);
|
||
border:1px solid rgba(0,0,0,0.12);
|
||
color:#333;
|
||
}
|
||
.share-pop.light .share-secondary-btn:hover{
|
||
background:rgba(0,0,0,0.07);
|
||
}
|
||
.share-pop.light .share-secondary-btn.copied{
|
||
background:rgba(46,164,79,0.10);
|
||
border-color:rgba(46,164,79,0.30);
|
||
color:#2ea44f;
|
||
}
|
||
`,"share-button");const{t,tm:o,rt:n}=bt(),a=e,s=he(null),r=he(!1),i=he(null),l=he(null),c=he("link"),u=he(!1),d=he(!1),f=he("medium"),A={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},v=Ne("profileConfig",null),b=oe(()=>fk({embedPath:a.embedPath,profileConfig:ge(v)||null})),_=oe(()=>{const G=A[f.value].height;return'<iframe src="'+b.value+'" width="100%" height="'+G+'" style="border:none; border-radius:12px;" allowfullscreen></iframe>'});function $(){r.value=!r.value,r.value&&(c.value="link",u.value=!1,d.value=!1)}function h(){r.value=!1}async function m(G){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(G),!0}catch{}try{const H=document.createElement("textarea");H.value=G,H.setAttribute("readonly",""),H.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(H),H.select();const J=document.execCommand("copy");return document.body.removeChild(H),J}catch{return!1}}async function w(){await m(b.value)&&(u.value=!0,setTimeout(()=>{u.value=!1},2e3))}async function p(){await m(_.value)&&(d.value=!0,setTimeout(()=>{d.value=!1},2e3))}const P=Ne("mapToolbar",null),g=he(null);vt("mapToolbar",P||{el:g});const C=!P;function S(G){if(s.value=G||null,!C||!G){G||(g.value=null);return}const H=G.offsetParent||G.parentElement;H&&!H.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&H.setAttribute("data-map-area","share-fallback"),g.value=G}return(G,H)=>(ae(),pe("div",{ref:S,class:"share-wrap","data-share-root":""},[tt(Ln,{ref_key:"btnEl",ref:l,"is-dark":e.isDark,active:r.value,title:ge(t)("buttons.share"),onClick:$},{default:jt(()=>[...H[2]||(H[2]=[R("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"},[R("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),R("polyline",{points:"16 6 12 2 8 6"}),R("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),tt(rL,{open:r.value,title:ge(t)("buttons.share"),"is-dark":e.isDark,onClose:h},{default:jt(()=>[R("div",{ref_key:"popoverEl",ref:i,class:Me(["share-pop",{light:!e.isDark}])},[R("ul",iL,[(ae(!0),pe(Ue,null,Mt(ge(o)("buttons.shareSteps"),(J,U)=>(ae(),pe("li",{key:U},ye(ge(n)(J)),1))),128))]),R("div",lL,[R("button",{class:Me(["share-tab",{active:c.value==="link"}]),onClick:H[0]||(H[0]=J=>c.value="link")},"Embed link",2),R("button",{class:Me(["share-tab",{active:c.value==="embed"}]),onClick:H[1]||(H[1]=J=>c.value="embed")},"Add to Your Website",2)]),c.value==="link"?(ae(),pe("div",cL,[R("div",uL,[R("div",pL,ye(b.value),1)]),R("button",{class:Me(["share-primary-btn",{copied:u.value}]),onClick:w},[u.value?(ae(),pe("svg",gL,[...H[4]||(H[4]=[R("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(ae(),pe("svg",dL,[...H[3]||(H[3]=[R("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),R("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(" "+ye(u.value?"Copied!":"Copy Link"),1)],2)])):Le("",!0),c.value==="embed"?(ae(),pe("div",fL,[H[7]||(H[7]=R("div",{class:"share-embed-desc"}," Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets). ",-1)),R("div",hL,[(ae(),pe(Ue,null,Mt(A,(J,U)=>R("button",{key:U,class:Me(["share-size-pill",{active:f.value===U}]),onClick:D=>f.value=U},ye(J.label),11,mL)),64))]),R("div",bL,ye(_.value),1),R("button",{class:Me(["share-secondary-btn",{copied:d.value}]),onClick:p},[d.value?(ae(),pe("svg",yL,[...H[6]||(H[6]=[R("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(ae(),pe("svg",$L,[...H[5]||(H[5]=[R("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),R("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(" "+ye(d.value?"Copied!":"Copy Code"),1)],2)])):Le("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},vL=["aria-label"],kL={class:"rm-side-header"},wL={class:"rm-side-title"},xL=["aria-label"],LL={class:"rm-side-body"},SL={class:"rm-section"},AL={class:"rm-cluster-grid"},PL=["onClick"],CL={class:"label"},EL={class:"desc"},TL={key:0,class:"rm-slider-row"},NL={for:"rm-pin-op"},ML=["value"],RL={class:"val"},FL={class:"rm-section"},IL={class:"rm-side-footer"},OL={__name:"ResearchMapSideMenu",props:{isOpen:{type:Boolean,default:!1}},emits:["close","open-poster","reload-map"],setup(e,{emit:t}){const o=t,n=(l,c)=>ja("controls."+l)||ja("dashboard."+l)||c,a=Ne("mapStore");Ne("uiStore");const s=[{id:"off",label:n("off","Off"),desc:n("off_desc","Show every pin individually")},{id:"mapbox",label:n("native","Native"),desc:n("native_desc","Mapbox circle clusters (fastest)")},{id:"mst",label:n("mst","MST"),desc:n("mst_desc","Minimum-spanning-tree affinity webs")},{id:"network",label:n("network","Network"),desc:n("network_desc","Nearest-neighbor connection lines")}],r=oe({get:()=>(a==null?void 0:a.clusteringMode)??"off",set:l=>{a&&(a.clusteringMode=l)}}),i=oe({get:()=>(a==null?void 0:a.clusterPinOpacity)??.6,set:l=>{a&&(a.clusterPinOpacity=Number(l))}});return wt(`
|
||
.rm-side-backdrop { position:absolute;inset:0;background:rgba(0,0,0,0.45);z-index:1500;opacity:0;pointer-events:none;transition:opacity .18s; }
|
||
.rm-side-backdrop.open { opacity:1;pointer-events:auto; }
|
||
.rm-side-drawer { position:absolute;top:0;right:0;bottom:0;width:340px;max-width:100vw;background:#171c23;color:#e7ebf0;border-left:1px solid #232a33;z-index:1600;transform:translateX(100%);transition:transform .22s ease;display:flex;flex-direction:column;font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
|
||
.rm-side-drawer.open { transform:translateX(0); box-shadow:-4px 0 16px rgba(0,0,0,0.4); }
|
||
.rm-side-header { display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #232a33;flex:0 0 auto; }
|
||
.rm-side-title { font-size:14px;font-weight:600;color:#e7ebf0;margin:0; }
|
||
.rm-side-close { background:none;border:none;color:#a8b2bd;font-size:22px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:4px; }
|
||
.rm-side-close:hover { color:#e7ebf0;background:rgba(255,255,255,0.06); }
|
||
.rm-side-body { flex:1 1 auto;overflow-y:auto;padding:14px 18px; }
|
||
.rm-section { margin-bottom:22px; }
|
||
.rm-section h4 { margin:0 0 8px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#a8b2bd; }
|
||
.rm-cluster-grid { display:grid;grid-template-columns:1fr 1fr;gap:6px; }
|
||
.rm-cluster-btn { background:#232a33;border:1px solid #2c343f;color:#e7ebf0;padding:8px 10px;border-radius:6px;cursor:pointer;font-size:12px;text-align:left;line-height:1.3; }
|
||
.rm-cluster-btn:hover { background:#2c343f;border-color:#3a4250; }
|
||
.rm-cluster-btn.active { background:rgba(124,140,248,0.16);border-color:#7c8cf8;color:#a8b8ff; }
|
||
.rm-cluster-btn .label { display:block;font-weight:600;font-size:12px;margin-bottom:2px; }
|
||
.rm-cluster-btn .desc { display:block;font-size:10.5px;color:#a8b2bd; }
|
||
.rm-slider-row { display:flex;align-items:center;gap:10px;margin-top:8px; }
|
||
.rm-slider-row input[type=range] { flex:1; }
|
||
.rm-slider-row .val { width:36px;text-align:right;font-variant-numeric:tabular-nums;color:#a8b2bd;font-size:11px; }
|
||
.rm-side-footer { flex:0 0 auto;padding:12px 18px;border-top:1px solid #232a33;display:flex;flex-direction:column;gap:8px; }
|
||
.rm-btn { display:flex;align-items:center;justify-content:center;gap:8px;background:#7c8cf8;border:none;color:#0f1216;padding:10px 14px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600; }
|
||
.rm-btn:hover { background:#9aa6ff; }
|
||
.rm-btn.ghost { background:transparent;color:#a8b2bd;border:1px solid #2c343f; }
|
||
.rm-btn.ghost:hover { background:#232a33;color:#e7ebf0; }
|
||
`,"research-map-side-menu"),(l,c)=>(ae(),pe(Ue,null,[R("div",{class:Me(["rm-side-backdrop",{open:e.isOpen}]),onClick:c[0]||(c[0]=u=>o("close"))},null,2),R("aside",{class:Me(["rm-side-drawer",{open:e.isOpen}]),role:"dialog","aria-label":n("map_controls","Research map controls")},[R("header",kL,[R("h3",wL,ye(n("research_controls","Research controls")),1),R("button",{class:"rm-side-close","aria-label":ge(ja)("buttons.close")||"Close",onClick:c[1]||(c[1]=u=>o("close"))},"×",8,xL)]),R("div",LL,[R("div",SL,[R("h4",null,ye(n("clustering","Clustering")),1),R("div",AL,[(ae(),pe(Ue,null,Mt(s,u=>R("button",{key:u.id,class:Me(["rm-cluster-btn",{active:r.value===u.id}]),onClick:d=>r.value=u.id},[R("span",CL,ye(u.label),1),R("span",EL,ye(u.desc),1)],10,PL)),64))]),r.value!=="off"?(ae(),pe("div",TL,[R("label",NL,ye(n("pin_dim","Pin dim")),1),R("input",{id:"rm-pin-op",type:"range",min:"0.05",max:"1",step:"0.05",value:i.value,onInput:c[2]||(c[2]=u=>i.value=u.target.value)},null,40,ML),R("span",RL,ye(Math.round(i.value*100))+"%",1)])):Le("",!0)]),R("div",FL,[R("h4",null,ye(n("filters","Filters")),1),hn(l.$slots,"default")])]),R("footer",IL,[R("button",{class:"rm-btn",onClick:c[3]||(c[3]=u=>o("open-poster"))},ye(n("export_poster","Export poster…")),1),R("button",{class:"rm-btn ghost",onClick:c[4]||(c[4]=u=>o("reload-map"))},ye(n("reload_data","Reload data")),1)])],10,vL)],64))}},DL={class:"rm-filter"},BL={class:"field"},GL={class:"rm-pop-row"},jL=["placeholder","value"],UL=["placeholder","value"],zL={class:"field"},HL=["value"],VL={value:"any"},KL={value:"engaged"},qL={value:"unengaged"},WL={class:"field"},YL=["value"],XL={value:"any"},ZL={value:"adopted"},JL={value:"unadopted"},QL={class:"field"},eS=["placeholder"],tS={class:"rm-chips"},oS={key:0,class:"rm-empty"},nS=["onClick"],aS={class:"field"},sS=["placeholder"],rS={class:"rm-chips"},iS={key:0,class:"rm-empty"},lS=["onClick"],cS={class:"rm-filter-footer"},uS={class:"rm-pill"},pS={__name:"ResearchMapFilterPanel",setup(e){const t=(P,g)=>ja("controls."+P)||ja("dashboard."+P)||g,o=Ne("mapStore"),n=Ne("dataStore"),a={populationMin:null,populationMax:null,engagement:"any",adoption:"any",languages:[],religions:[]};o&&!o.filters&&(o.filters={...a});const s=oe({get:()=>{var P;return((P=o==null?void 0:o.filters)==null?void 0:P.populationMin)??""},set:P=>{o.filters.populationMin=P===""?null:Number(P)}}),r=oe({get:()=>{var P;return((P=o==null?void 0:o.filters)==null?void 0:P.populationMax)??""},set:P=>{o.filters.populationMax=P===""?null:Number(P)}}),i=oe({get:()=>{var P;return((P=o==null?void 0:o.filters)==null?void 0:P.engagement)??"any"},set:P=>{o.filters.engagement=P}}),l=oe({get:()=>{var P;return((P=o==null?void 0:o.filters)==null?void 0:P.adoption)??"any"},set:P=>{o.filters.adoption=P}}),c=oe(()=>(n==null?void 0:n.facets)??{}),u=oe(()=>{var P;return((P=c.value)==null?void 0:P.languages)??[]}),d=oe(()=>{var P;return((P=c.value)==null?void 0:P.religions)??[]});function f(P){const g=o.filters.languages??[],C=g.indexOf(P);C===-1?g.push(P):g.splice(C,1),o.filters.languages=[...g]}function A(P){const g=o.filters.religions??[],C=g.indexOf(P);C===-1?g.push(P):g.splice(C,1),o.filters.religions=[...g]}const v=he(""),b=he(""),_=oe(()=>{const P=v.value.trim().toLowerCase();return P?u.value.filter(g=>g.toLowerCase().includes(P)):u.value}),$=oe(()=>{const P=b.value.trim().toLowerCase();return P?d.value.filter(g=>g.toLowerCase().includes(P)):d.value});function h(P){var g;return(((g=o==null?void 0:o.filters)==null?void 0:g.languages)??[]).includes(P)}function m(P){var g;return(((g=o==null?void 0:o.filters)==null?void 0:g.religions)??[]).includes(P)}function w(){o&&(o.filters={...a,languages:[],religions:[]})}const p=oe(()=>{var C,S;const P=(o==null?void 0:o.filters)??{};let g=0;return P.populationMin!=null&&g++,P.populationMax!=null&&g++,P.engagement&&P.engagement!=="any"&&g++,P.adoption&&P.adoption!=="any"&&g++,(C=P.languages)!=null&&C.length&&g++,(S=P.religions)!=null&&S.length&&g++,g});return wt(`
|
||
.rm-filter { display:flex;flex-direction:column;gap:14px;font:12px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#e7ebf0; }
|
||
.rm-filter .row { display:flex;align-items:center;gap:8px; }
|
||
.rm-filter label { font-size:11px;color:#a8b2bd;letter-spacing:.04em;text-transform:uppercase;font-weight:600; }
|
||
.rm-filter .field { display:flex;flex-direction:column;gap:4px; }
|
||
.rm-filter input[type=number],
|
||
.rm-filter select,
|
||
.rm-filter input[type=search] { background:#0f1216;border:1px solid #2c343f;color:#e7ebf0;padding:6px 8px;border-radius:5px;font-size:12px;min-width:0;flex:1; }
|
||
.rm-filter input[type=search] { height:35px;box-sizing:border-box; }
|
||
.rm-filter input:focus,
|
||
.rm-filter select:focus { outline:none;border-color:#7c8cf8; }
|
||
.rm-pop-row { display:grid;grid-template-columns:1fr 1fr;gap:8px; }
|
||
.rm-chips { display:flex;flex-wrap:wrap;gap:5px;max-height:140px;overflow-y:auto;padding:4px 2px;border:1px solid #232a33;border-radius:5px;background:#0f1216; }
|
||
.rm-chip { background:#232a33;border:1px solid #2c343f;color:#e7ebf0;padding:3px 8px;border-radius:11px;cursor:pointer;font-size:11px;line-height:1.4; }
|
||
.rm-chip:hover { background:#2c343f; }
|
||
.rm-chip.active { background:rgba(124,140,248,0.18);border-color:#7c8cf8;color:#a8b8ff; }
|
||
.rm-empty { padding:8px;color:#a8b2bd;font-size:11px;text-align:center; }
|
||
.rm-filter-footer { display:flex;align-items:center;justify-content:space-between;margin-top:6px; }
|
||
.rm-pill { background:rgba(124,140,248,0.12);color:#a8b8ff;padding:2px 8px;border-radius:11px;font-size:11px;font-weight:600; }
|
||
.rm-link-btn { background:none;border:none;color:#7c8cf8;cursor:pointer;font-size:11px;padding:0; }
|
||
.rm-link-btn:hover { text-decoration:underline; }
|
||
@media (pointer:coarse) { .rm-link-btn { min-height: 24px; } }
|
||
`,"research-map-filter-panel"),(P,g)=>(ae(),pe("div",DL,[R("div",BL,[R("label",null,ye(t("population","Population")),1),R("div",GL,[R("input",{type:"number",min:"0",placeholder:t("min","min"),value:s.value,onInput:g[0]||(g[0]=C=>s.value=C.target.value)},null,40,jL),R("input",{type:"number",min:"0",placeholder:t("max","max"),value:r.value,onInput:g[1]||(g[1]=C=>r.value=C.target.value)},null,40,UL)])]),R("div",zL,[R("label",null,ye(t("engagement","Engagement")),1),R("select",{value:i.value,onChange:g[2]||(g[2]=C=>i.value=C.target.value)},[R("option",VL,ye(t("any","Any")),1),R("option",KL,ye(t("engaged","Engaged")),1),R("option",qL,ye(t("unengaged","Unengaged")),1)],40,HL)]),R("div",WL,[R("label",null,ye(t("adoption","Adoption")),1),R("select",{value:l.value,onChange:g[3]||(g[3]=C=>l.value=C.target.value)},[R("option",XL,ye(t("any","Any")),1),R("option",ZL,ye(t("adopted","Adopted")),1),R("option",JL,ye(t("unadopted","Unadopted")),1)],40,YL)]),R("div",QL,[R("label",null,ye(t("language","Language")),1),Wr(R("input",{type:"search","onUpdate:modelValue":g[4]||(g[4]=C=>v.value=C),placeholder:t("search_languages","Search languages…")},null,8,eS),[[Uu,v.value]]),R("div",tS,[_.value.length?Le("",!0):(ae(),pe("span",oS,ye(t("no_languages","No languages loaded yet")),1)),(ae(!0),pe(Ue,null,Mt(_.value,C=>(ae(),pe("button",{key:C,class:Me(["rm-chip",{active:h(C)}]),onClick:S=>f(C)},ye(C),11,nS))),128))])]),R("div",aS,[R("label",null,ye(t("religion","Religion")),1),Wr(R("input",{type:"search","onUpdate:modelValue":g[5]||(g[5]=C=>b.value=C),placeholder:t("search_religions","Search religions…")},null,8,sS),[[Uu,b.value]]),R("div",rS,[$.value.length?Le("",!0):(ae(),pe("span",iS,ye(t("no_religions","No religions loaded yet")),1)),(ae(!0),pe(Ue,null,Mt($.value,C=>(ae(),pe("button",{key:C,class:Me(["rm-chip",{active:m(C)}]),onClick:S=>A(C)},ye(C),11,lS))),128))])]),R("div",cS,[R("span",uS,ye(t("active_count","{n} active").replace("{n}",p.value)),1),R("button",{class:"rm-link-btn",onClick:w},ye(t("reset_all","Reset all")),1)])]))}},kg="pplrInstance";function dS(e){return{instanceId:e,selection:he(null),activeTab:he(0),activeTabTouched:he(!1),isSearching:he(!1),geocoderText:he(""),pinDetail:he(null),theme:he("dark")}}function gS(e){vt(kg,e)}function fS(){return Ne(kg,null)}const hS="",mS=["data-theme"],bS={class:"stl-inner"},$S={class:"stl-tb-caret-slot"},yS=["title","aria-label","aria-expanded"],_S={class:"stl-tb-eyebrow"},vS=["title","aria-label"],kS=["title"],wS={key:2,class:"stl-tb-title"},xS={key:3,class:"stl-export"},LS=["aria-expanded"],SS={class:"stl-export-menu",role:"menu"},AS={key:0,class:"stl-tabs-wrap"},PS={class:"stl-tabs"},CS=["onClick"],ES=["title","onClick"],TS={key:0,class:"stl-info-pop"},NS={class:"stl-col-hdr"},MS={class:"stl-hdr-name"},RS=["title"],FS={key:0,class:"stl-sort-arrow"},IS=["title"],OS={key:0,class:"stl-sort-arrow"},DS=["data-stl-node-id","onClick"],BS=["aria-expanded","aria-label","onClick"],GS={key:1,class:"stl-caret-sp"},jS={key:3,class:"stl-dot-sp"},US={class:"stl-name"},zS={key:4,class:"stl-num"},HS={key:5,class:"stl-num"},VS={class:"stl-x-slot"},KS=["title","aria-label"],qS={key:0,class:"stl-empty stl-loading"},WS={key:1,class:"stl-empty"},YS={key:2,class:"stl-empty"},XS={key:3,class:"stl-overflow"},ZS=["data-theme"],JS={class:"stl-reopen-label"},wg=nn({__name:"SemanticTreeLegend",props:{nodes:{type:Array,default:()=>[]},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columns:{type:Array,default:()=>["count","pop"]},title:{type:String,default:"Legend"},hideTabs:{type:Boolean,default:!1},columnLabel:{type:String,default:""},open:{type:Boolean,default:null},exportEnabled:{type:Boolean,default:!1},progress:{type:Object,default:null}},emits:["select","update:open","export"],setup(e,{emit:t}){const o=V=>String(V).split(".").pop().replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/^./,se=>se.toUpperCase());let n=V=>o(V),a=()=>!1;try{const V=bt();n=V.t,a=V.te}catch{}function s(V){const se="tabs."+((V==null?void 0:V.i18nKey)||(V==null?void 0:V.id));return V&&a(se)?n(se):(V==null?void 0:V.label)??""}function r(V){const se="legend.tabInfo."+((V==null?void 0:V.i18nKey)||(V==null?void 0:V.id));return V&&a(se)?n(se):(V==null?void 0:V.info)??""}const i=e,l=t,c=fS(),u=Ne("legendProgress",null),d=oe(()=>i.progress??ge(u)??null),f=oe(()=>d.value?n("legend.progress.title"):i.title),A=oe(()=>((c==null?void 0:c.theme.value)||"dark")==="dark");function v(V,se){var ve;for(const Se of V||[]){if((Se==null?void 0:Se.id)===se)return Se;const Ie=(ve=Se==null?void 0:Se.children)!=null&&ve.length?v(Se.children,se):null;if(Ie)return Ie}return null}function b(V){const se=v(p.value,V);se&&k(se)}function _(V,se=0){return V!=null&&V.length?Math.max(...V.map(ve=>_(ve.children??[],se+1))):se}function $(V,se,ve=0){return ve===se?V.slice():V.flatMap(Se=>$(Se.children??[],se,ve+1))}function h(V,se,ve=[]){var Se;for(const Ie of V){if(Ie.id===se)return ve;if((Se=Ie.children)!=null&&Se.length){const rt=h(Ie.children,se,[...ve,Ie]);if(rt)return rt}}return null}function m(V,se=new Set){var ve;if(!((ve=V==null?void 0:V.children)!=null&&ve.length))return se;for(const Se of V.children)se.add(Se.id),m(Se,se);return se}function w(V,se="root"){var Se;if(!Array.isArray(V))return[];const ve=[];for(const Ie of V){if(!Ie||typeof Ie!="object"){try{console.warn("[SemanticTreeLegend] dropped null node under",se)}catch{}continue}ve.push((Se=Ie.children)!=null&&Se.length?{...Ie,children:w(Ie.children,Ie.label||Ie.id||se)}:Ie)}return ve}const p=oe(()=>w(i.nodes)),P=oe(()=>_(p.value)),g=oe(()=>{const V=i.tabs??[],se=V.length||P.value+1;return Array.from({length:se},(ve,Se)=>V[Se]??{id:`gen${Se+1}`,label:`Generation ${Se+1}`})}),C=he(Math.max(0,i.defaultTab|0)),S=he(new Set),G=he(null),H=he(i.open!==null?i.open:!0),J=he(null),U=he(!1),{scrimRef:D,scrimStyle:L}=bg(U),y=he(null),M=he("desc"),z=oe({get:()=>{var V;return i.hideTabs?0:c&&!((V=c.activeTabTouched)!=null&&V.value)?Math.min(Math.max(0,i.defaultTab|0),Math.max(0,g.value.length-1)):c?c.activeTab.value:C.value},set:V=>{i.hideTabs||(c?(c.activeTab.value=V,c.activeTabTouched&&(c.activeTabTouched.value=!0)):C.value=V)}}),K=oe({get:()=>c?c.selection.value:G.value,set:V=>{c?c.selection.value=V:G.value=V}}),Q=oe(()=>{var V;return((V=K.value)==null?void 0:V.id)||null}),ie=he(null);Re(()=>i.open,V=>{V!==null&&(H.value=V)}),Re(()=>p.value,()=>{var Ie;const V=c?(Ie=c.activeTabTouched)==null?void 0:Ie.value:!1,se=V?c==null?void 0:c.activeTab.value:void 0,ve=Math.min(Math.max(0,i.defaultTab|0),Math.max(0,g.value.length-1)),Se=typeof se=="number"&&se>=0?se:ve;c?(c.activeTab.value=Se,!V&&c.activeTabTouched&&(c.activeTabTouched.value=!1)):C.value=Se,S.value=new Set,K.value=null,l("select",null)},{deep:!1});let j=null;c&&Re(()=>c.selection.value,V=>{if((V==null?void 0:V.id)===j)return;if(!V){j=null;return}j=V.id;const se=h(p.value,V.id)||[];typeof V.depth=="number"&&(z.value=Math.min(V.depth,g.value.length-1));const ve=new Set;se.forEach(Se=>ve.add(Se.id)),S.value=ve,l("select",V)});function be(V,se){const ve=(se.pop??0)-(V.pop??0);return ve!==0?ve:(se.count??0)-(V.count??0)}const xe=oe(()=>{if(!y.value)return be;const V=y.value,se=M.value==="asc"?1:-1;return(ve,Se)=>((ve[V]??0)-(Se[V]??0))*se});function fe(V){y.value===V?M.value==="desc"?M.value="asc":(y.value=null,M.value="desc"):(y.value=V,M.value="desc")}const ke=he([]),$e=he(!1);let ne=-1;function ee(V){if(ke.value[V]){$e.value=!1;return}$e.value=!0,ne=V,setTimeout(()=>{if(ne!==V)return;const se=[...$(p.value,V)].sort(xe.value),ve=[...ke.value];ve[V]=se,ke.value=ve,$e.value=!1},0)}Re(z,V=>ee(V),{immediate:!0}),Re(()=>[p.value,y.value,M.value],()=>{ke.value=[],ee(z.value)},{deep:!1});const de=oe(()=>ke.value[z.value]||[]),Pe=oe(()=>{var se;const V=(se=g.value[z.value])==null?void 0:se.topLimit;return V?de.value.slice(0,V):de.value}),T=oe(()=>{var se;const V=(se=g.value[z.value])==null?void 0:se.topLimit;return V?Math.max(0,de.value.length-V):0});function F(V,se,ve,Se,Ie){var rt;for(const je of se)je&&(V.push({node:je,relDepth:ve,parent:Se,ancestors:Ie}),S.value.has(je.id)&&((rt=je.children)!=null&&rt.length)&&F(V,[...je.children].sort(xe.value),ve+1,je,[...Ie,je]))}const I=oe(()=>{const V=[];F(V,Pe.value,0,null,[]);for(let se=0;se<V.length;se++){const ve=V[se],Se=[];for(let Ie=0;Ie<ve.relDepth;Ie++){const rt=ve.ancestors[Ie];let je=!1;for(let Gt=se+1;Gt<V.length;Gt++){const ft=V[Gt];if(ft.relDepth<=Ie)break;if(ft.relDepth===Ie+1&&ft.ancestors[Ie]===rt){je=!0;break}ft.relDepth>Ie+1&&ft.ancestors[Ie]}if(Ie===ve.relDepth-1){let Gt=!1;for(let ft=se+1;ft<V.length;ft++){const eo=V[ft];if(eo.relDepth<ve.relDepth)break;if(eo.relDepth===ve.relDepth&&eo.parent===ve.parent){Gt=!0;break}}Se.push(Gt?"tee":"elbow")}else Se.push(je?"pipe":"blank")}ve.trunks=Se}return V}),W=oe(()=>Q.value!==null),Y=oe(()=>i.columns.includes("count")),O=oe(()=>i.columns.includes("pop")),ue=oe(()=>K.value?m(K.value):new Set),te=oe(()=>{var rt;const V=K.value;if(!V)return null;const se=h(p.value,V.id);if(!se||!se.length)return null;const ve=se[se.length-1],Se=se.length-1,Ie=((rt=g.value[Se])==null?void 0:rt.label)||"Parent";return{node:ve,tabName:Ie,depth:Se}});function k(V){Q.value===V.id?(j=null,K.value=null,l("select",null)):(j=V.id,K.value=V,l("select",V))}function x(V,se){se==null||se.stopPropagation();const ve=new Set(S.value),Se=ve.has(V);if(Se?ve.delete(V):ve.add(V),S.value=ve,Se&&K.value){const Ie=h(p.value,K.value.id);Ie&&Ie.some(rt=>rt.id===V)&&(j=null,K.value=null,l("select",null))}}function B(){const V=te.value;V!=null&&V.node&&(!i.hideTabs&&typeof V.depth=="number"&&(z.value=V.depth),S.value=new Set,k(V.node))}function X(V){if(z.value===V){J.value=J.value===V?null:V;return}z.value=V,S.value=new Set,j=null,K.value=null,J.value=null,l("select",null)}function me(V){V==null||V.stopPropagation(),j=null,K.value=null,l("select",null)}function ce(V,se){se==null||se.stopPropagation(),J.value=J.value===V?null:V}function Z(V){V==null||V.stopPropagation(),U.value=!U.value}function le(V){U.value=!1,l("export",V)}Re(Q,V=>{V||(U.value=!1)});function Ce(V){let se=V.parentElement;for(;se;){const ve=getComputedStyle(se).overflowY;if((ve==="auto"||ve==="scroll")&&se.scrollHeight>se.clientHeight+1){const Se=V.getBoundingClientRect(),Ie=se.getBoundingClientRect();se.scrollTop+=Se.top-Ie.top-8}se=se.parentElement}}let Te=0;Re(Q,async V=>{if(!V)return;const se=++Te,ve=ie.value;if(!ve)return;await It();const Se=(Ie=0)=>{if(se!==Te)return;const rt=ve.querySelector(`[data-stl-node-id="${CSS.escape(String(V))}"]`);rt&&Ce(rt),Ie<6&&setTimeout(()=>Se(Ie+1),70)};Se(0)});function qe(V){return V?V>=1e6?(V/1e6).toFixed(1)+"M":V>=1e3?Math.round(V/1e3)+"k":V.toLocaleString():"—"}function nt(V){return V!=null?V.toLocaleString():"—"}function Qe(V){var se;return{selected:Q.value===V.node.id,descendant:W.value&&ue.value.has(V.node.id),child:V.relDepth>0,leaf:!((se=V.node.children)!=null&&se.length)}}return wt(`
|
||
.stl-inner {
|
||
--stl-pad-x: 10px;
|
||
--stl-gap: 6px;
|
||
--stl-caret-w: 14px;
|
||
--stl-dot-w: 8px;
|
||
--stl-num-w: 60px;
|
||
--stl-x-w: 22px;
|
||
flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column;
|
||
background: #161b22; border: 1px solid #30363d;
|
||
border-radius: var(--map-radius, 16px);
|
||
box-shadow: 0 6px 24px rgba(0,0,0,0.45);
|
||
overflow: hidden;
|
||
}
|
||
.stl-panel {
|
||
position: absolute; left: 8px; top: var(--stl-top, 60px); width: var(--map-legend-width, 380px); z-index: 4;
|
||
display: flex; flex-direction: column;
|
||
max-height: calc(100% - var(--stl-top, 60px) - 12px);
|
||
transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), opacity 0.2s;
|
||
pointer-events: auto;
|
||
}
|
||
.stl-panel.closed { transform: translateX(-100%); opacity: 0; pointer-events: none; }
|
||
.stl-panel.fit-content { max-height: calc(100% - var(--stl-top, 60px) - 12px); }
|
||
.stl-titlebar {
|
||
display: flex; align-items: center; gap: 6px;
|
||
padding: 8px 12px; flex-shrink: 0;
|
||
border-bottom: 1px solid #21262d;
|
||
min-height: 32px;
|
||
}
|
||
.stl-tb-caret-slot { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
|
||
.stl-tb-caret-slot:empty { display: none; }
|
||
.stl-titlebar.has-progress { flex-wrap: wrap; row-gap: 7px; }
|
||
.stl-progress { flex: 1 1 100%; min-width: 0; }
|
||
.stl-tb-title,
|
||
.stl-tb-eyebrow {
|
||
font: 600 10px ui-monospace, monospace;
|
||
color: #73A17F; text-transform: uppercase; letter-spacing: 0.07em;
|
||
flex-shrink: 0;
|
||
}
|
||
.stl-tb-eyebrow { color: #6e7681; font-size: 9px; letter-spacing: 0.08em; }
|
||
.stl-tb-dot {
|
||
width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
|
||
box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 0 0 3px rgba(115,161,127,0.15);
|
||
}
|
||
.stl-tb-text {
|
||
flex: 1; min-width: 0;
|
||
font: 600 12px system-ui; color: #e6edf3;
|
||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||
}
|
||
.stl-tb-up {
|
||
flex: 1; min-width: 0;
|
||
display: inline-flex; align-items: center; gap: 6px;
|
||
background: transparent; border: 1px solid transparent; border-radius: 6px;
|
||
margin: -2px -4px; padding: 2px 6px 2px 4px;
|
||
cursor: pointer; text-align: left;
|
||
transition: background 0.12s, border-color 0.12s, color 0.12s;
|
||
}
|
||
.stl-tb-up:hover { background: rgba(115,161,127,0.10); border-color: rgba(115,161,127,0.35); }
|
||
.stl-tb-up:focus-visible {
|
||
outline: none;
|
||
border-color: #73A17F;
|
||
box-shadow: 0 0 0 2px rgba(115,161,127,0.30);
|
||
}
|
||
.stl-tb-up .stl-tb-text {
|
||
flex: 1; min-width: 0;
|
||
font: 600 12px system-ui; color: #e6edf3;
|
||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||
}
|
||
.stl-tb-up:hover .stl-tb-text { color: #fff; }
|
||
.stl-tb-up-icon { color: #73A17F; flex-shrink: 0; }
|
||
.stl-panel[data-theme="light"] .stl-tb-up:hover {
|
||
background: rgba(59,70,61,0.08); border-color: rgba(59,70,61,0.3);
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-tb-up:focus-visible {
|
||
border-color: #3b463d; box-shadow: 0 0 0 2px rgba(59,70,61,0.25);
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-tb-up .stl-tb-text { color: #1f2328; }
|
||
.stl-panel[data-theme="light"] .stl-tb-up-icon { color: #3b463d; }
|
||
.stl-tabs-wrap { flex-shrink: 0; }
|
||
.stl-tabs {
|
||
display: flex; flex-wrap: nowrap; gap: 4px;
|
||
padding: 6px 8px;
|
||
border-bottom: 1px solid #21262d;
|
||
overflow-x: auto;
|
||
scrollbar-width: none;
|
||
}
|
||
.stl-tabs::-webkit-scrollbar { display: none; }
|
||
.stl-tab-chip {
|
||
display: inline-flex; align-items: stretch; flex-shrink: 0;
|
||
background: #1c2333; border: 1px solid #30363d; border-radius: 6px;
|
||
overflow: hidden; transition: border-color 0.12s, box-shadow 0.12s;
|
||
}
|
||
.stl-tab-chip:hover { border-color: #484f58; }
|
||
.stl-tab-chip.active {
|
||
background: #3b463d; border-color: #73A17F;
|
||
box-shadow: 0 0 0 2px rgba(115,161,127,0.22), 0 1px 4px rgba(59,70,61,0.4);
|
||
}
|
||
.stl-tab {
|
||
display: inline-flex; align-items: center;
|
||
background: transparent; border: none;
|
||
color: #8b949e; font: 600 10px ui-monospace, monospace;
|
||
text-transform: uppercase; letter-spacing: 0.04em;
|
||
padding: 4px 8px; cursor: pointer; white-space: nowrap;
|
||
}
|
||
.stl-tab:hover { color: #c9d1d9; }
|
||
.stl-tab-chip.active .stl-tab { color: #fff; }
|
||
.stl-tab-info {
|
||
background: rgba(110,118,129,0.15); border: none; border-left: 1px solid #30363d;
|
||
color: #6e7681; cursor: pointer;
|
||
width: 18px; padding: 0; font: 700 9px ui-monospace, monospace;
|
||
}
|
||
.stl-tab-info:hover { background: rgba(59,70,61,0.2); color: #73A17F; }
|
||
.stl-tab-chip.active .stl-tab-info {
|
||
border-left-color: rgba(0,0,0,0.3); color: #fff;
|
||
background: rgba(0,0,0,0.2);
|
||
}
|
||
.stl-info-pop {
|
||
margin: 2px 8px 6px; padding: 7px 10px;
|
||
background: #0d1117; border: 1px solid #30363d; border-radius: 6px;
|
||
font: 11px system-ui; color: #c9d1d9; line-height: 1.45;
|
||
}
|
||
.stl-col-hdr,
|
||
.stl-row {
|
||
display: flex; align-items: center; gap: var(--stl-gap);
|
||
padding: 0 var(--stl-pad-x);
|
||
}
|
||
.stl-col-hdr {
|
||
height: 26px; flex-shrink: 0;
|
||
background: #0d1117; border-bottom: 1px solid #21262d;
|
||
}
|
||
.stl-hdr-name {
|
||
flex: 1; min-width: 0;
|
||
font: 700 11px ui-monospace, monospace;
|
||
color: #8b949e; text-transform: uppercase; letter-spacing: 0.04em;
|
||
}
|
||
.stl-hdr-num {
|
||
width: var(--stl-num-w); text-align: center; flex-shrink: 0;
|
||
font: 600 9px ui-monospace, monospace;
|
||
color: #6e7681; text-transform: uppercase; letter-spacing: 0.05em;
|
||
background: transparent; border: none; cursor: pointer;
|
||
padding: 0; transition: color 0.1s;
|
||
display: inline-flex; align-items: center; justify-content: center; gap: 3px;
|
||
}
|
||
.stl-hdr-num:hover { color: #c9d1d9; }
|
||
@media (pointer:coarse) { .stl-hdr-num { min-height: 24px; } }
|
||
.stl-hdr-num.active { color: #73A17F; }
|
||
.stl-sort-arrow { font-size: 8px; }
|
||
.stl-rows { flex: 1; overflow-y: auto; padding-bottom: 6px; }
|
||
.stl-rows::-webkit-scrollbar { width: 6px; }
|
||
.stl-rows::-webkit-scrollbar-track { background: transparent; }
|
||
.stl-rows::-webkit-scrollbar-thumb { background: #21262d; border-radius: 3px; }
|
||
.stl-rows::-webkit-scrollbar-thumb:hover { background: #30363d; }
|
||
.stl-empty {
|
||
padding: 20px 12px; text-align: center;
|
||
font: 11px system-ui; color: #484f58;
|
||
}
|
||
.stl-loading {
|
||
display: inline-flex; align-items: center; gap: 8px;
|
||
width: 100%; justify-content: center;
|
||
color: #73A17F;
|
||
}
|
||
.stl-spinner {
|
||
width: 12px; height: 12px; border-radius: 50%;
|
||
border: 2px solid rgba(115,161,127,0.25);
|
||
border-top-color: #73A17F;
|
||
animation: stl-spin 0.7s linear infinite;
|
||
}
|
||
@keyframes stl-spin { to { transform: rotate(360deg); } }
|
||
.stl-overflow {
|
||
padding: 8px 10px; margin: 4px 0 0;
|
||
background: #0d1117; border-top: 1px dashed #30363d;
|
||
text-align: center; font: 10px system-ui; color: #6e7681;
|
||
}
|
||
.stl-overflow-hint { color: #73A17F; }
|
||
.stl-row {
|
||
min-height: 27px;
|
||
cursor: pointer; transition: opacity 0.12s, background 0.1s;
|
||
border-bottom: 1px solid rgba(33,38,45,0.45);
|
||
}
|
||
.stl-row:last-child { border-bottom: none; }
|
||
.stl-row:hover { background: rgba(255,255,255,0.04); }
|
||
.stl-row.child .stl-name { color: #adbac7; }
|
||
.stl-row.leaf .stl-name { font-style: italic; }
|
||
.stl-rows.has-sel .stl-row:not(.selected):not(.descendant) { opacity: 0.30; }
|
||
.stl-rows.has-sel .stl-row:not(.selected):not(.descendant):hover { opacity: 0.6; }
|
||
.stl-rows.has-sel .stl-row.descendant { opacity: 1; }
|
||
.stl-rows.has-sel .stl-row.selected {
|
||
opacity: 1;
|
||
background: rgba(255,255,255,0.05);
|
||
box-shadow:
|
||
inset 3px 0 0 0 var(--row-color, #73A17F),
|
||
inset 0 0 0 1px rgba(255,255,255,0.05),
|
||
0 0 14px -2px var(--row-color, rgba(115,161,127,0.4));
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-rows.has-sel .stl-row.selected {
|
||
background: rgba(255,255,255,0.7);
|
||
box-shadow:
|
||
inset 3px 0 0 0 var(--row-color, #3b463d),
|
||
inset 0 0 0 1px rgba(0,0,0,0.04),
|
||
0 0 14px -2px var(--row-color, rgba(59,70,61,0.35));
|
||
}
|
||
.stl-caret-sp { width: var(--stl-caret-w); flex-shrink: 0; }
|
||
.stl-dot-sp { width: var(--stl-dot-w); flex-shrink: 0; }
|
||
.stl-x-slot {
|
||
width: var(--stl-x-w); flex-shrink: 0;
|
||
display: flex; align-items: center; justify-content: center;
|
||
}
|
||
.stl-trunk { position: relative; flex-shrink: 0; width: 12px; align-self: stretch; }
|
||
.stl-trunk-pipe::before {
|
||
content: ''; position: absolute;
|
||
left: 5px; top: 0; bottom: 0; width: 1px;
|
||
background: var(--trunk-color, #6e7681);
|
||
opacity: 0.45;
|
||
}
|
||
.stl-trunk-tee::before {
|
||
content: ''; position: absolute;
|
||
left: 5px; top: 0; bottom: 0; width: 1px;
|
||
background: var(--trunk-color, #6e7681);
|
||
opacity: 0.45;
|
||
}
|
||
.stl-trunk-tee::after {
|
||
content: ''; position: absolute;
|
||
left: 5px; top: 50%; height: 1px; width: 7px;
|
||
background: var(--trunk-color, #6e7681);
|
||
opacity: 0.55;
|
||
}
|
||
.stl-trunk-elbow::before {
|
||
content: ''; position: absolute;
|
||
left: 5px; top: 0; height: 50%; width: 1px;
|
||
background: var(--trunk-color, #6e7681);
|
||
opacity: 0.45;
|
||
}
|
||
.stl-trunk-elbow::after {
|
||
content: ''; position: absolute;
|
||
left: 5px; top: calc(50% - 0.5px); height: 1px; width: 7px;
|
||
background: var(--trunk-color, #6e7681);
|
||
opacity: 0.55;
|
||
}
|
||
.stl-row.selected .stl-trunk-pipe::before,
|
||
.stl-row.selected .stl-trunk-tee::before,
|
||
.stl-row.selected .stl-trunk-tee::after,
|
||
.stl-row.selected .stl-trunk-elbow::before,
|
||
.stl-row.selected .stl-trunk-elbow::after,
|
||
.stl-row.descendant .stl-trunk-pipe::before,
|
||
.stl-row.descendant .stl-trunk-tee::before,
|
||
.stl-row.descendant .stl-trunk-tee::after,
|
||
.stl-row.descendant .stl-trunk-elbow::before,
|
||
.stl-row.descendant .stl-trunk-elbow::after {
|
||
opacity: 0.85;
|
||
}
|
||
.stl-caret {
|
||
background: none; border: none; padding: 0; cursor: pointer;
|
||
color: #6e7681; width: var(--stl-caret-w); height: var(--stl-caret-w); flex-shrink: 0;
|
||
display: flex; align-items: center; justify-content: center;
|
||
border-radius: 3px;
|
||
}
|
||
.stl-caret svg { transition: transform 0.15s; }
|
||
.stl-caret.open svg { transform: rotate(90deg); }
|
||
.stl-caret:hover { color: #c9d1d9; background: rgba(255,255,255,0.06); }
|
||
.stl-dot {
|
||
width: var(--stl-dot-w); height: var(--stl-dot-w); border-radius: 50%; flex-shrink: 0;
|
||
box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
|
||
}
|
||
.stl-row.selected .stl-dot {
|
||
box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 0 0 3px rgba(115,161,127,0.25);
|
||
}
|
||
.stl-name {
|
||
flex: 1; min-width: 0;
|
||
font: 11.5px system-ui, sans-serif; color: #e6edf3;
|
||
white-space: normal; word-wrap: break-word; overflow-wrap: break-word;
|
||
line-height: 1.3;
|
||
}
|
||
.stl-num {
|
||
width: var(--stl-num-w); text-align: center; flex-shrink: 0;
|
||
font: 10.5px ui-monospace, monospace; color: #8b949e;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
.stl-row.selected .stl-num { color: #e6edf3; }
|
||
.stl-x-chip {
|
||
background: rgba(110,118,129,0.12); border: none; border-radius: 50%;
|
||
color: #6e7681; cursor: pointer;
|
||
width: 16px; height: 16px;
|
||
display: flex; align-items: center; justify-content: center;
|
||
transition: color 0.12s, background 0.12s;
|
||
}
|
||
.stl-x-chip:hover { color: #c9d1d9; background: rgba(110,118,129,0.25); }
|
||
.stl-collapse-btn {
|
||
background: rgba(110,118,129,0.15); border: 1px solid #30363d; border-radius: 5px;
|
||
color: #8b949e; cursor: pointer;
|
||
width: 22px; height: 20px; flex-shrink: 0;
|
||
display: flex; align-items: center; justify-content: center;
|
||
transition: color 0.1s, background 0.1s, transform 0.18s;
|
||
}
|
||
.stl-collapse-btn:hover { color: #c9d1d9; background: rgba(59,70,61,0.18); border-color: #73A17F; }
|
||
.stl-collapse-btn svg { transition: transform 0.18s; transform: rotate(180deg); }
|
||
.stl-reopen {
|
||
position: absolute; left: 8px; top: 60px; z-index: 3;
|
||
display: inline-flex; align-items: center; gap: 8px;
|
||
background: #0d1117; border: 1px solid #30363d;
|
||
border-radius: 999px;
|
||
color: #c9d1d9; cursor: pointer;
|
||
height: 36px;
|
||
padding: 0 14px 0 12px;
|
||
box-shadow: 0 4px 14px rgba(0,0,0,0.25);
|
||
font: 600 11px ui-monospace, monospace;
|
||
text-transform: uppercase; letter-spacing: 0.06em;
|
||
max-width: 320px;
|
||
transition: color 0.12s, background 0.12s, border-color 0.12s, transform 0.12s, box-shadow 0.12s;
|
||
}
|
||
.stl-reopen:hover {
|
||
color: #fff; background: #1c2333; border-color: #73A17F;
|
||
box-shadow: 0 6px 20px rgba(59,70,61,0.25);
|
||
transform: translateY(-1px);
|
||
}
|
||
.stl-reopen-icon { color: #73A17F; flex-shrink: 0; }
|
||
.stl-reopen-label {
|
||
display: inline-flex; align-items: center; gap: 6px;
|
||
min-width: 0; max-width: 200px;
|
||
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||
text-transform: none; letter-spacing: 0;
|
||
font: 600 12px system-ui, sans-serif;
|
||
}
|
||
.stl-reopen-dot {
|
||
width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
|
||
box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
|
||
}
|
||
.stl-reopen-caret { color: #6e7681; flex-shrink: 0; }
|
||
.stl-reopen:hover .stl-reopen-caret { color: #c9d1d9; }
|
||
@media (max-width: 640px) {
|
||
.stl-panel { width: 92vw; max-width: 380px; --stl-top: 64px; }
|
||
.stl-reopen { top: 64px; }
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-inner {
|
||
background: #ffffff; border-color: #d0d7de;
|
||
box-shadow: 0 6px 24px rgba(31, 35, 40, 0.12);
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-titlebar { border-color: #d8dee4; }
|
||
.stl-panel[data-theme="light"] .stl-tb-title,
|
||
.stl-panel[data-theme="light"] .stl-tb-eyebrow { color: #3b463d; }
|
||
.stl-panel[data-theme="light"] .stl-tb-eyebrow { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-tb-text { color: #1f2328; }
|
||
.stl-panel[data-theme="light"] .stl-collapse-btn {
|
||
background: rgba(208,215,222,0.4); border-color: #d0d7de; color: #57606a;
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-collapse-btn:hover {
|
||
background: rgba(59,70,61,0.12); border-color: #3b463d; color: #3b463d;
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-tabs { border-color: #d8dee4; }
|
||
.stl-panel[data-theme="light"] .stl-tab-chip { background: #f6f8fa; border-color: #d0d7de; }
|
||
.stl-panel[data-theme="light"] .stl-tab { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-tab:hover { color: #1f2328; }
|
||
.stl-panel[data-theme="light"] .stl-tab-chip.active {
|
||
background: #3b463d; border-color: #3b463d;
|
||
box-shadow: 0 0 0 2px rgba(59,70,61,0.18);
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-tab-chip.active .stl-tab { color: #fff; }
|
||
.stl-panel[data-theme="light"] .stl-tab-info {
|
||
background: rgba(208,215,222,0.4); border-color: #d0d7de; color: #57606a;
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-info-pop { background: #f6f8fa; border-color: #d0d7de; color: #1f2328; }
|
||
.stl-panel[data-theme="light"] .stl-col-hdr { background: #f6f8fa; border-color: #d8dee4; }
|
||
.stl-panel[data-theme="light"] .stl-hdr-name,
|
||
.stl-panel[data-theme="light"] .stl-hdr-num { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-hdr-num:hover { color: #3b463d; }
|
||
.stl-panel[data-theme="light"] .stl-hdr-num.active { color: #3b463d; }
|
||
.stl-panel[data-theme="light"] .stl-rows::-webkit-scrollbar-thumb { background: #d0d7de; }
|
||
.stl-panel[data-theme="light"] .stl-rows::-webkit-scrollbar-thumb:hover { background: #afb8c1; }
|
||
.stl-panel[data-theme="light"] .stl-empty,
|
||
.stl-panel[data-theme="light"] .stl-overflow {
|
||
color: #57606a; background: #f6f8fa; border-color: #d8dee4;
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-overflow-hint { color: #3b463d; }
|
||
.stl-panel[data-theme="light"] .stl-row { border-color: rgba(208,215,222,0.5); }
|
||
.stl-panel[data-theme="light"] .stl-row:hover { background: rgba(59,70,61,0.04); }
|
||
.stl-panel[data-theme="light"] .stl-row.child .stl-name { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-name { color: #1f2328; }
|
||
.stl-panel[data-theme="light"] .stl-num { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-row.selected .stl-num { color: #1f2328; }
|
||
.stl-panel[data-theme="light"] .stl-caret { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-caret:hover { background: rgba(59,70,61,0.08); color: #3b463d; }
|
||
.stl-reopen[data-theme="light"] {
|
||
background: #ffffff; border-color: #d0d7de; color: #1f2328;
|
||
box-shadow: 0 4px 16px rgba(31,35,40,0.18);
|
||
}
|
||
.stl-reopen[data-theme="light"]:hover {
|
||
background: #f6f8fa; border-color: #3b463d; color: #3b463d;
|
||
box-shadow: 0 6px 20px rgba(59,70,61,0.2);
|
||
}
|
||
.stl-reopen[data-theme="light"] .stl-reopen-icon { color: #3b463d; }
|
||
.stl-reopen[data-theme="light"] .stl-reopen-caret { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-x-chip { color: #57606a; border-color: rgba(208,215,222,0.6); }
|
||
.stl-panel[data-theme="light"] .stl-x-chip:hover { color: #1f2328; background: rgba(208,215,222,0.3); border-color: #afb8c1; }
|
||
.stl-export { margin-left: auto; position: relative; flex-shrink: 0; }
|
||
.stl-export-btn {
|
||
display: inline-flex; align-items: center; gap: 5px;
|
||
background: rgba(110,118,129,0.15); border: 1px solid #30363d; border-radius: 6px;
|
||
color: #c9d1d9; cursor: pointer;
|
||
height: 22px; padding: 0 8px;
|
||
font: 600 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.05em;
|
||
transition: color 0.12s, background 0.12s, border-color 0.12s;
|
||
}
|
||
.stl-export-btn:hover { color: #fff; background: rgba(59,70,61,0.25); border-color: #73A17F; }
|
||
.stl-export-btn.open { color: #fff; background: #3b463d; border-color: #73A17F; box-shadow: 0 0 0 2px rgba(115,161,127,0.22); }
|
||
.stl-export-btn:focus-visible { outline: none; border-color: #73A17F; box-shadow: 0 0 0 2px rgba(115,161,127,0.3); }
|
||
.stl-export-label { line-height: 1; }
|
||
.stl-export-backdrop { position: fixed; inset: 0; z-index: 9; }
|
||
.stl-export-menu {
|
||
position: absolute; right: 0; top: calc(100% + 6px); z-index: 10;
|
||
min-width: 168px;
|
||
display: flex; flex-direction: column;
|
||
background: #0d1117; border: 1px solid #30363d; border-radius: 8px;
|
||
box-shadow: 0 8px 24px rgba(0,0,0,0.5);
|
||
padding: 4px; overflow: hidden;
|
||
}
|
||
.stl-export-item {
|
||
display: flex; align-items: center; gap: 8px;
|
||
background: transparent; border: none; border-radius: 5px;
|
||
padding: 7px 8px; width: 100%; text-align: left;
|
||
color: #6e7681; cursor: not-allowed;
|
||
font: 600 11px system-ui, sans-serif;
|
||
}
|
||
.stl-export-item[disabled] { opacity: 0.55; }
|
||
.stl-export-lock { color: #6e7681; flex-shrink: 0; }
|
||
.stl-export-item-label { flex: 1; min-width: 0; }
|
||
.stl-export-soon {
|
||
flex-shrink: 0;
|
||
font: 700 8px ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.06em;
|
||
color: #6e7681; background: rgba(110,118,129,0.15);
|
||
border-radius: 4px; padding: 2px 5px;
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-export-btn {
|
||
background: rgba(208,215,222,0.4); border-color: #d0d7de; color: #57606a;
|
||
}
|
||
.stl-panel[data-theme="light"] .stl-export-btn:hover { color: #3b463d; background: rgba(59,70,61,0.12); border-color: #3b463d; }
|
||
.stl-panel[data-theme="light"] .stl-export-btn.open { color: #fff; background: #3b463d; border-color: #3b463d; }
|
||
.stl-panel[data-theme="light"] .stl-export-menu { background: #ffffff; border-color: #d0d7de; box-shadow: 0 8px 24px rgba(31,35,40,0.18); }
|
||
.stl-panel[data-theme="light"] .stl-export-item { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-export-lock { color: #57606a; }
|
||
.stl-panel[data-theme="light"] .stl-export-soon { color: #57606a; background: rgba(208,215,222,0.5); }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-tb-title,
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-tb-text { font-size: 14px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-tb-eyebrow { font-size: 11px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-tab { font-size: 12px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-hdr-name { font-size: 13px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-hdr-num { font-size: 10px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-name { font-size: 15px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-num { font-size: 13px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-inner { --stl-num-w: 70px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-hdr-num,
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-num { white-space: nowrap; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-info-pop { font-size: 13px; }
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-empty,
|
||
.stl-panel:not(.legend-mobile-sheet *) .stl-overflow { font-size: 12.5px; }
|
||
`,"semantic-tree-legend"),(V,se)=>{var ve,Se,Ie,rt;return ae(),pe(Ue,null,[R("div",{class:Me(["stl-panel",{closed:!H.value,"fit-content":e.hideTabs}]),"data-theme":((ve=ge(c))==null?void 0:ve.theme.value)||"dark"},[R("div",bS,[R("div",{class:Me(["stl-titlebar",{"has-progress":!!d.value}])},[R("span",$S,[hn(V.$slots,"title-caret",{},void 0,!0)]),V.$slots["title-caret"]?Le("",!0):(ae(),pe("button",{key:0,class:Me(["stl-collapse-btn",{closed:!H.value}]),title:H.value?ge(n)("aria.collapseLegend"):ge(n)("aria.expandLegend"),"aria-label":H.value?ge(n)("aria.collapseLegend"):ge(n)("aria.expandLegend"),"aria-expanded":String(H.value),onClick:se[0]||(se[0]=je=>{H.value=!H.value,l("update:open",H.value)})},[...se[8]||(se[8]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,yS)),te.value&&K.value?(ae(),pe(Ue,{key:1},[R("span",_S,ye(te.value.tabName),1),R("button",{type:"button",class:"stl-tb-up",title:`Go up to ${te.value.node.label}`,"aria-label":`Go up to ${te.value.tabName} ${te.value.node.label}`,onClick:gt(B,["stop"])},[se[9]||(se[9]=R("svg",{class:"stl-tb-up-icon",width:"9",height:"9",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[R("path",{d:"M3 7.5L6 4.5L9 7.5",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),te.value.node.color?(ae(),pe("span",{key:0,class:"stl-tb-dot",style:dt({background:te.value.node.color})},null,4)):Le("",!0),R("span",{class:"stl-tb-text",title:te.value.node.label},ye(te.value.node.label),9,kS)],8,vS)],64)):(ae(),pe("span",wS,ye(f.value),1)),e.exportEnabled&&K.value?(ae(),pe("div",xS,[R("button",{type:"button",class:Me(["stl-export-btn",{open:U.value}]),"aria-expanded":U.value?"true":"false","aria-haspopup":"menu",title:"Export selection","aria-label":"Export selection",onClick:gt(Z,["stop"])},[...se[10]||(se[10]=[R("svg",{width:"11",height:"11",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true"},[R("path",{d:"M7 1.5V9M7 1.5L4.2 4.3M7 1.5L9.8 4.3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),R("path",{d:"M2 9.5V11.5C2 12.05 2.45 12.5 3 12.5H11C11.55 12.5 12 12.05 12 11.5V9.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1),R("span",{class:"stl-export-label"},"Export",-1)])],10,LS),U.value?(ae(),pe(Ue,{key:0},[R("div",{ref_key:"scrimRef",ref:D,style:dt(ge(L)),class:"stl-export-backdrop",onClick:se[1]||(se[1]=gt(je=>U.value=!1,["stop"]))},null,4),R("div",SS,[R("button",{type:"button",class:"stl-export-item",role:"menuitem",onClick:se[2]||(se[2]=gt(je=>le("poster"),["stop"]))},[...se[11]||(se[11]=[R("svg",{width:"10",height:"10",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[R("rect",{x:"2",y:"1.5",width:"8",height:"9",rx:"1",stroke:"currentColor","stroke-width":"1.3"}),R("path",{d:"M4 4.5H8M4 6.5H8M4 8.5H6.5",stroke:"currentColor","stroke-width":"1.1","stroke-linecap":"round"})],-1),R("span",{class:"stl-export-item-label"},"Poster",-1)])]),R("button",{type:"button",class:"stl-export-item",role:"menuitem",onClick:se[3]||(se[3]=gt(je=>le("packet"),["stop"]))},[...se[12]||(se[12]=[rm('<svg width="10" height="10" viewBox="0 0 12 12" fill="none" aria-hidden="true" data-v-a15d92ac><path d="M3 1.5H7.5L9.5 3.5V10.5H3V1.5Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" data-v-a15d92ac></path><path d="M7.5 1.5V3.5H9.5" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" data-v-a15d92ac></path><path d="M4.5 6H8M4.5 8H7" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" data-v-a15d92ac></path></svg><span class="stl-export-item-label" data-v-a15d92ac>Packet</span>',2)])])])],64)):Le("",!0)])):Le("",!0),d.value?(ae(),et(dg,{key:4,class:"stl-progress","show-text":!1,covered:d.value.covered,total:d.value.total,segments:d.value.segments,"is-dark":A.value,"fmt-count":nt,onSelectSegment:b},null,8,["covered","total","segments","is-dark"])):Le("",!0)],2),e.hideTabs?Le("",!0):(ae(),pe("div",AS,[R("div",PS,[(ae(!0),pe(Ue,null,Mt(g.value,(je,Gt)=>(ae(),pe("div",{key:je.id,class:Me(["stl-tab-chip",{active:z.value===Gt}])},[R("button",{class:"stl-tab",onClick:ft=>X(Gt)},ye(s(je)),9,CS),je.info?(ae(),pe("button",{key:0,class:"stl-tab-info",title:r(je),onClick:ft=>ce(Gt,ft)},"i",8,ES)):Le("",!0)],2))),128))]),J.value!==null&&((Se=g.value[J.value])!=null&&Se.info)?(ae(),pe("div",TS,ye(r(g.value[J.value])),1)):Le("",!0)])),R("div",NS,[se[13]||(se[13]=R("span",{class:"stl-caret-sp"},null,-1)),se[14]||(se[14]=R("span",{class:"stl-dot-sp"},null,-1)),R("span",MS,ye(e.columnLabel||(e.hideTabs?e.title:s(g.value[z.value])||ge(n)("legend.columns.name"))),1),Y.value?(ae(),pe("button",{key:0,class:Me(["stl-hdr-num",{active:y.value==="count"}]),title:ge(n)("legend.sortByUpgs"),onClick:se[4]||(se[4]=je=>fe("count"))},[Pt(ye(ge(n)("legend.columns.upgs"))+" ",1),y.value==="count"?(ae(),pe("span",FS,ye(M.value==="desc"?"▼":"▲"),1)):Le("",!0)],10,RS)):Le("",!0),O.value?(ae(),pe("button",{key:1,class:Me(["stl-hdr-num",{active:y.value==="pop"}]),title:ge(n)("legend.sortByPop"),onClick:se[5]||(se[5]=je=>fe("pop"))},[Pt(ye(ge(n)("legend.columns.population"))+" ",1),y.value==="pop"?(ae(),pe("span",OS,ye(M.value==="desc"?"▼":"▲"),1)):Le("",!0)],10,IS)):Le("",!0),se[15]||(se[15]=R("span",{class:"stl-x-slot"},null,-1))]),R("div",{class:Me(["stl-rows",{"has-sel":W.value}]),ref_key:"rowsContainer",ref:ie},[(ae(!0),pe(Ue,null,Mt(I.value,je=>{var Gt,ft;return ae(),pe("div",{key:je.node.id,class:Me(["stl-row",Qe(je)]),"data-stl-node-id":je.node.id,style:dt({"--trunk-color":((Gt=je.parent)==null?void 0:Gt.color)||"#6e7681","--row-color":je.node.color||"#73A17F"}),onClick:eo=>k(je.node)},[(ae(!0),pe(Ue,null,Mt(je.trunks,(eo,Ll)=>(ae(),pe("span",{key:`tr${Ll}`,class:Me(["stl-trunk",`stl-trunk-${eo}`])},null,2))),128)),(ft=je.node.children)!=null&&ft.length?(ae(),pe("button",{key:0,class:Me(["stl-caret",{open:S.value.has(je.node.id)}]),"aria-expanded":S.value.has(je.node.id)?"true":"false","aria-label":ge(n)(S.value.has(je.node.id)?"legend.a11y.collapseRow":"legend.a11y.expandRow",{label:je.node.label}),onClick:gt(eo=>x(je.node.id,eo),["stop"])},[...se[16]||(se[16]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,BS)):(ae(),pe("span",GS)),je.node.color?(ae(),pe("span",{key:2,class:"stl-dot",style:dt({background:je.node.color})},null,4)):(ae(),pe("span",jS)),R("span",US,ye(je.node.label),1),Y.value?(ae(),pe("span",zS,ye(nt(je.node.count)),1)):Le("",!0),O.value?(ae(),pe("span",HS,ye(qe(je.node.pop)),1)):Le("",!0),R("span",VS,[Q.value===je.node.id?(ae(),pe("button",{key:0,class:"stl-x-chip",title:ge(n)("legend.a11y.clearSelection"),"aria-label":ge(n)("legend.a11y.clearSelection"),onClick:se[6]||(se[6]=gt(eo=>me(eo),["stop"]))},[...se[17]||(se[17]=[R("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M2 2L10 10M10 2L2 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,KS)):Le("",!0)])],14,DS)}),128)),$e.value&&!I.value.length?(ae(),pe("div",qS,[se[18]||(se[18]=R("span",{class:"stl-spinner"},null,-1)),R("span",null,"Loading "+ye(((Ie=g.value[z.value])==null?void 0:Ie.label)||"rows")+"…",1)])):!I.value.length&&e.nodes.length===0?(ae(),pe("div",WS,"Loading data…")):I.value.length?Le("",!0):(ae(),pe("div",YS,"No data at this level")),T.value>0?(ae(),pe("div",XS,[Pt(" Showing top "+ye(g.value[z.value].topLimit.toLocaleString())+" of "+ye(de.value.length.toLocaleString())+" — ",1),se[19]||(se[19]=R("span",{class:"stl-overflow-hint"},"use the geocoder above to find the rest",-1))])):Le("",!0)],2)])],10,mS),H.value?Le("",!0):(ae(),pe("button",{key:0,class:"stl-reopen","data-theme":((rt=ge(c))==null?void 0:rt.theme.value)||"dark",title:"Expand legend",onClick:se[7]||(se[7]=je=>{H.value=!0,l("update:open",!0)})},[se[20]||(se[20]=R("svg",{class:"stl-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),R("span",JS,[K.value?(ae(),pe(Ue,{key:0},[K.value.color?(ae(),pe("span",{key:0,class:"stl-reopen-dot",style:dt({background:K.value.color})},null,4)):Le("",!0),Pt(" "+ye(K.value.label),1)],64)):(ae(),pe(Ue,{key:1},[Pt(ye(f.value),1)],64))]),se[21]||(se[21]=R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none",class:"stl-reopen-caret"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,ZS))],64)}}},[["styles",[hS]],["__scopeId","data-v-a15d92ac"]]),QS="#6b7280";function eA(){const e=So(Jn.AFFINITY_BLOCK);return e&&e.propertyKey==="affinityBlock"&&e.palette?e.palette:{}}function tA(e,t){const o=eA();return e&&o[e]?o[e]:QS}function oA(e){return(e==null?void 0:e.properties)||e||{}}function kl(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function nA(e){var t;return String(e.affinityBlock||kl((t=e._raw)==null?void 0:t.rop1)||"").trim()}function aA(e){var t;return String(e.affinityBlockLabel||((t=e._raw)!=null&&t.rop1&&typeof e._raw.rop1=="object"?e._raw.rop1.label:"")||"").trim()}function sA(e){var t;return String(e.cluster||kl((t=e._raw)==null?void 0:t.imb_reg_of_people_2)||"").trim()}function rA(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 iA(e){var t;return String(e.peopleGroup||kl((t=e._raw)==null?void 0:t.imb_reg_of_people_25)||"").trim()}function lA(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 cA(e){var t;return String(e.uniqueId||e.slug||((t=e._raw)==null?void 0:t.slug)||"").trim()}function uA(e){var t;return String(e.name||e.displayName||((t=e._raw)==null?void 0:t.name)||"").trim()}function pA(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 dA(e){return String(e.countryName||e.country||e.countryIsoLabel||e.countryIso||"").trim()}function xg(e){const t=oe(()=>{const s=e&&e.value||[],r=new Map;for(const i of s){const l=oA(i),c=nA(l),u=aA(l)||c||"— Unknown —",d=sA(l),f=rA(l)||d||"— Unknown —",A=iA(l),v=lA(l)||A||"— Unknown —",b=cA(l),_=uA(l)||b,$=pA(l),h=dA(l);if(!b)continue;let m=r.get(c||"__unknown__");m||(m={code:c,label:u,count:0,pop:0,memberIds:[],clusters:new Map},r.set(c||"__unknown__",m)),m.count+=1,m.pop+=$,m.memberIds.push(b);let w=m.clusters.get(d||"__unknown__");w||(w={code:d,label:f,count:0,pop:0,memberIds:[],peopleGroups:new Map},m.clusters.set(d||"__unknown__",w)),w.count+=1,w.pop+=$,w.memberIds.push(b);let p=w.peopleGroups.get(A||"__unknown__");p||(p={code:A,label:v,count:0,pop:0,memberIds:[],instances:[]},w.peopleGroups.set(A||"__unknown__",p)),p.count+=1,p.pop+=$,p.memberIds.push(b),p.instances.push({id:b,name:_,country:h,pop:$})}return r}),o=s=>s&&s.length?["in",["get","uniqueId"],["literal",s]]:["==",["get","uniqueId"],"__none__"],n=oe(()=>{const s=t.value,r=[];for(const i of s.values()){const l=tA(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 f of u.peopleGroups.values()){const A={id:`pg:${i.code}__${u.code}__${f.code||f.label}`,label:`${f.label} (PG)`,color:l,count:f.count,pop:f.pop,filter:o(f.memberIds),children:[]};f.instances.sort((v,b)=>b.pop-v.pop||v.country.localeCompare(b.country));for(const v of f.instances)A.children.push({id:`pgic:${v.id}`,label:`${v.country?`${v.name}, ${v.country}`:v.name} (PGIC)`,color:l,count:1,pop:v.pop,filter:["==",["get","uniqueId"],v.id],children:[]});d.children.push(A)}d.children.sort((f,A)=>A.count-f.count||A.pop-f.pop),c.children.push(d)}c.children.sort((u,d)=>d.count-u.count||d.pop-u.pop),r.push(c)}return r.sort((i,l)=>l.count-i.count||l.pop-i.pop),r});function a(s){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!s){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const r=String(s.id||""),i={kind:null,label:s.label,filterExpr:s.filter};r.startsWith("bloc:")?i.kind="bloc":r.startsWith("cluster:")?i.kind="cluster":r.startsWith("pg:")?i.kind="people-group":r.startsWith("pgic:")&&(i.kind="people-group-in-country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:i}))}return{aggregated:t,affinityTree:n,highlight:a}}const gA={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},fA="#95a5a6";function hA(e){return gA[String(e||"").toLowerCase()]||fA}function mA(e){return(e==null?void 0:e.properties)||e||{}}function bA(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 $A(e){var t,o;return String(e.doxaRegion||e.wagfRegion||((o=(t=e._raw)==null?void 0:t.wagf_region)==null?void 0:o.value)||"").trim()}function yA(e){var o;const t=(o=e._raw)==null?void 0:o.wagf_region;return String(e.wagfRegionLabel||e.doxaRegionLabel||(t&&typeof t=="object"?t.label:"")||e.doxaRegion||"").trim()}function _A(e){var t,o;return String(e.wagfBlock||((o=(t=e._raw)==null?void 0:t.wagf_block)==null?void 0:o.value)||"").trim()}function vA(e){var o;const t=(o=e._raw)==null?void 0:o.wagf_block;return String(e.wagfBlockLabel||(t&&typeof t=="object"?t.label:"")||e.wagfBlock||"").trim()}function kA(e){var t,o;return String(e.countryIso||((o=(t=e._raw)==null?void 0:t.country_code)==null?void 0:o.value)||"").trim().toUpperCase()}function wA(e){var o;const t=(o=e._raw)==null?void 0:o.country_code;return String(e.countryIsoLabel||(t&&typeof t=="object"?t.label:"")||e.countryIso||"").trim()}function Lg(e){const t=oe(()=>{const a=e&&e.value||[],s=new Map;for(const r of a){const i=mA(r),l=$A(i),c=yA(i)||l||"— Unknown —",u=_A(i),d=vA(i)||u||"— Unknown —",f=kA(i),A=wA(i)||f||"— Unknown —",v=bA(i);if(!l||l==="na"||l==="none")continue;let b=s.get(l);if(b||(b={slug:l,label:c,count:0,pop:0,blocks:new Map},s.set(l,b)),b.count+=1,b.pop+=v,!u||u==="na")continue;let _=b.blocks.get(u);if(_||(_={slug:u,label:d,count:0,pop:0,countries:new Map},b.blocks.set(u,_)),_.count+=1,_.pop+=v,!f)continue;let $=_.countries.get(f);$||($={iso:f,name:A,count:0,pop:0},_.countries.set(f,$)),$.count+=1,$.pop+=v}return s}),o=oe(()=>{const a=t.value,s=[];for(const r of a.values()){const i=hA(r.slug),l=[],c=[],u=[...r.blocks.values()].sort((d,f)=>f.pop-d.pop||d.label.localeCompare(f.label));for(const d of u){const f=[],A=[],v=[...d.countries.values()].sort((b,_)=>_.pop-b.pop||b.name.localeCompare(_.name));for(const b of v)f.push(b.iso),l.push(b.iso),A.push({id:`country:${r.slug}__${d.slug}__${b.iso}`,label:b.name,color:i,count:b.count,pop:b.pop,filter:["==",["get","countryIso"],b.iso],isoCodes:[b.iso],children:[]});c.push({id:`block:${r.slug}__${d.slug}`,label:`${d.label} (Bloc)`,color:i,count:d.count,pop:d.pop,filter:["==",["get","wagfBlock"],d.slug],isoCodes:f,children:A})}s.push({id:`region:${r.slug}`,label:`${r.label} (Region)`,color:i,count:r.count,pop:r.pop,filter:["==",["get","doxaRegion"],r.slug],isoCodes:[...new Set(l)],children:c})}return s.sort((r,i)=>i.pop-r.pop||r.label.localeCompare(i.label)),s});function n(a){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!a){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const s=String(a.id||""),r={kind:null,label:a.label,filterExpr:a.filter};s.startsWith("region:")?r.kind="region":s.startsWith("block:")?r.kind="block":s.startsWith("country:")&&(r.kind="country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:r}))}return{aggregated:t,regionsTree:o,highlight:n}}const xA=["onClick"],LA={key:0,class:"rm-tab-sep","aria-hidden":"true"},SA={class:"rm-map-area"},AA={key:0,class:"rm-loading"},PA={key:1,class:"rm-error"},CA=["data-provider"],EA={class:"rm-legend-mobile-slot"},TA=!0,NA=22,MA=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"research-map",setup(e){var ef,tf,of,nf,af,sf,rf,lf,cf;let t=null;function o(E,N){if(E!=null&&E.getLayer("language-family-pins-hitbox"))try{E.setFilter("language-family-pins-hitbox",N)}catch{}}function n(E){var q;let N=E&&E.parentNode;for(;N;){if(N.nodeType===1){const re=getComputedStyle(N);if(/auto|scroll/.test(re.overflowY)&&N.scrollHeight>N.clientHeight+4)return N}if(N=N.parentElement||((q=N.parentNode)==null?void 0:q.host)||(N.parentNode!==N?N.parentNode:null),N&&N.nodeType===9)break}return null}function a(E){if(!(!E||!E.scrollZoom))try{const q=document.documentElement.scrollHeight>window.innerHeight+4,re=E.getContainer&&E.getContainer()||null,_e=re?!!n(re):!1;E.scrollZoom.enable()}catch{}}const s=Vs(()=>oo(()=>Promise.resolve().then(()=>Pg),void 0)),r=Vs(()=>oo(()=>Promise.resolve().then(()=>lx),void 0));wt(`
|
||
.mapboxgl-ctrl-top-left { top:12px!important;left:8px!important;width:var(--map-legend-width,380px)!important;max-width:var(--map-legend-width,380px)!important;z-index:1200!important; }
|
||
.mapboxgl-ctrl-top-left .mapboxgl-ctrl { margin:0!important;float:none!important; }
|
||
.mapboxgl-ctrl-geocoder { width:100%!important;max-width:100%!important;min-width:0!important;border-radius:999px!important;box-shadow:0 2px 8px rgba(0,0,0,0.15)!important;background:#fff;transition:box-shadow 0.12s,border-color 0.12s; }
|
||
.mapboxgl-ctrl-geocoder:focus-within { box-shadow:0 2px 8px rgba(0,0,0,0.15),0 0 0 3px rgba(59,70,61,0.18)!important; }
|
||
.mapboxgl-ctrl-geocoder--input { border-radius:999px!important;font-size:13px!important; }
|
||
.mapboxgl-ctrl-geocoder--input::placeholder { font-size:12px!important; }
|
||
.mapboxgl-ctrl-geocoder:has(.mapboxgl-ctrl-geocoder--input:not(:placeholder-shown)) .mapboxgl-ctrl-geocoder--button { display:block!important; }
|
||
.mapboxgl-ctrl-geocoder--button { display:none!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;width:24px!important;height:24px!important;background:transparent!important;border:none!important;box-shadow:none!important; }
|
||
.mapboxgl-ctrl-geocoder--button .mapboxgl-ctrl-geocoder--icon-close { position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:16px!important;height:16px!important; }
|
||
.mapboxgl-ctrl-geocoder--suggestions { z-index:1200!important;position:absolute;max-height:60vh!important;overflow-y:auto!important; }
|
||
.suggestions { border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.15);max-height:60vh!important;overflow-y:auto!important; }
|
||
.mapboxgl-ctrl-geocoder--suggestions::-webkit-scrollbar,
|
||
.suggestions::-webkit-scrollbar { width:8px; }
|
||
.mapboxgl-ctrl-geocoder--suggestions::-webkit-scrollbar-thumb,
|
||
.suggestions::-webkit-scrollbar-thumb { background:rgba(0,0,0,0.3);border-radius:4px; }
|
||
.mapboxgl-ctrl-geocoder--suggestions::-webkit-scrollbar-track,
|
||
.suggestions::-webkit-scrollbar-track { background:rgba(0,0,0,0.05); }
|
||
.dg-main { font-weight:500;font-size:13px;color:#222;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px; }
|
||
.dg-main strong { font-weight:700;overflow:hidden;text-overflow:ellipsis; }
|
||
.dg-meta { margin-top:2px;display:flex;flex-wrap:wrap;gap:4px 10px;font-size:11px;color:#555;line-height:1.35; }
|
||
.dg-field strong { font-weight:600;color:#333;margin-right:2px; }
|
||
.dg-tag { flex:none;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:0.4px;color:#3b463d;background:rgba(59,70,61,0.10);border-radius:4px;padding:1px 5px;line-height:1.5;white-space:nowrap; }
|
||
.dg-agg-label { overflow:hidden;text-overflow:ellipsis; }
|
||
.dg-count { flex:none;font-size:11px;font-weight:600;color:#73a17f; }
|
||
.dsm-dark .dg-tag { color:#cfe3d6;background:rgba(115,161,127,0.22); }
|
||
.dsm-dark .dg-count { color:#9fd0ab; }
|
||
.suggestions li:has(.dg-section-header-item) > a { pointer-events:none!important;cursor:default!important;background:none!important;padding:4px 10px 2px!important; }
|
||
.dg-section-header-item { font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:#9ca3af;padding:2px 0; }
|
||
.dsm-dark .dg-section-header-item { color:rgba(243,243,241,0.45); }
|
||
@media(max-width:767px){
|
||
}
|
||
.dsm-dark .mapboxgl-ctrl-geocoder { background:#4e594f!important;border:1px solid rgba(255,255,255,0.14)!important;box-shadow:0 2px 8px rgba(0,0,0,0.4)!important; }
|
||
.dsm-dark .mapboxgl-ctrl-geocoder:focus-within { box-shadow:0 2px 8px rgba(0,0,0,0.4),0 0 0 3px rgba(115,161,127,0.22)!important; }
|
||
.dsm-dark .mapboxgl-ctrl-geocoder--input { color:#F3F3F1!important;background:transparent!important; }
|
||
.dsm-dark .mapboxgl-ctrl-geocoder--input::placeholder { color:rgba(243,243,241,0.65)!important; }
|
||
.dsm-dark .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon { fill:rgba(243,243,241,0.75)!important; }
|
||
.dsm-dark .mapboxgl-ctrl-geocoder--button { background:transparent!important; }
|
||
.dsm-dark .mapboxgl-ctrl-geocoder--icon-close { fill:rgba(243,243,241,0.75)!important; }
|
||
.dsm-dark .mapboxgl-ctrl-geocoder--button:hover .mapboxgl-ctrl-geocoder--icon-close { fill:#F3F3F1!important; }
|
||
.dsm-dark .suggestions { background:#3b463d!important;border:1px solid rgba(255,255,255,0.12)!important; }
|
||
.dsm-dark .suggestions > li { background:transparent!important; }
|
||
.dsm-dark .suggestions > li > a { background:transparent!important;color:#F3F3F1!important; }
|
||
.dsm-dark .suggestions > li.active > a,
|
||
.dsm-dark .suggestions > li.selected > a,
|
||
.dsm-dark .suggestions > li:hover > a,
|
||
.dsm-dark .suggestions > li > a:hover,
|
||
.dsm-dark .suggestions > li > a:focus { background:rgba(255,255,255,0.1)!important;color:#F3F3F1!important; }
|
||
.dsm-dark .dg-main { color:#F3F3F1!important; }
|
||
.dsm-dark .dg-meta { color:rgba(243,243,241,0.75)!important; }
|
||
.dsm-dark .dg-field strong { color:#F3F3F1!important; }
|
||
.rm-root { position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;background:#ffffff;color:#1f2937;isolation:isolate; }
|
||
.rm-root.rm-dark { background:#1a1a2e;color:#F3F3F1; }
|
||
.rm-tab-bar {
|
||
flex:0 0 auto;display:flex;align-items:center;
|
||
background:#ffffff;
|
||
height:44px;
|
||
border-top-left-radius:var(--map-radius, 0px);
|
||
border-top-right-radius:var(--map-radius, 0px);
|
||
padding-inline-start:36px;
|
||
padding-inline-end:16px;
|
||
scroll-padding-inline:16px;
|
||
gap:44px;
|
||
z-index:10;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;
|
||
font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
|
||
}
|
||
.rm-tab-bar::-webkit-scrollbar{display:none;width:0;height:0;}
|
||
.rm-dark .rm-tab-bar { background:#2a332a; }
|
||
.rm-tab {
|
||
background:none;border:none;padding:0;height:100%;
|
||
display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
|
||
font-family:inherit;
|
||
font-size:15px;font-weight:600;
|
||
color:#9aa19b;
|
||
cursor:pointer;
|
||
white-space:nowrap;
|
||
transition:color .12s;
|
||
}
|
||
.rm-tab::after {
|
||
content:'';display:block;align-self:stretch;height:4px;border-radius:2px;
|
||
background:transparent;transition:background .12s;
|
||
}
|
||
.rm-tab:hover { color:#3b463d; }
|
||
.rm-tab.active { color:#3b463d;font-weight:700; }
|
||
.rm-tab.active::after { background:#73A17F; }
|
||
.rm-tab-sep {
|
||
flex: 0 0 1px;
|
||
align-self: center;
|
||
width: 1px;
|
||
height: 50%;
|
||
background: rgba(0, 0, 0, 0.18);
|
||
pointer-events: none;
|
||
}
|
||
.rm-dark .rm-tab.active { color:#92b195; }
|
||
.rm-dark .rm-tab { color:rgba(243,243,241,0.55); }
|
||
.rm-dark .rm-tab:hover { color:#F3F3F1; }
|
||
.rm-dark .rm-tab.active { color:#cbc5b9;border-bottom-color:#cbc5b9; }
|
||
@media(max-width:767px){
|
||
.rm-tab-bar { padding-inline:16px; scroll-padding-inline:16px; gap:16px; height:40px; }
|
||
.rm-tab { font-size:13px; }
|
||
}
|
||
.rm-map-area { flex:1 1 0;position:relative;overflow:hidden; }
|
||
.rm-root, .rm-map-area, .rm-map-canvas,
|
||
.rm-map-canvas .mapboxgl-canvas-container, .rm-map-canvas .mapboxgl-canvas,
|
||
.rm-map-canvas .maplibregl-canvas-container, .rm-map-canvas .maplibregl-canvas { border-radius: var(--map-radius-corners, var(--map-radius, 0px)); }
|
||
.rm-map-area { clip-path: inset(0 round var(--map-radius-corners, var(--map-radius, 0px))); }
|
||
.rm-map-canvas { position:absolute;inset:0; }
|
||
.rm-loading { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#f3f3f1;color:#6d766e;font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;z-index:5; }
|
||
.rm-error { position:absolute;top:50%;left:12px;right:12px;z-index:7;transform:translateY(-50%);text-align:center;font:13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#fecaca;background:rgba(15,18,22,.95);border:1px solid rgba(254,202,202,.28);border-radius:10px;padding:12px 14px;box-shadow:0 2px 10px rgba(0,0,0,.4); }
|
||
.rm-badge { position:absolute;top:10px;right:10px;background:rgba(124,140,248,0.12);color:#7c8cf8;border:1px solid rgba(124,140,248,0.3);padding:3px 9px;border-radius:4px;font-size:11px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;pointer-events:none;z-index:50; }
|
||
.rm-provider-badge { position:absolute;bottom:8px;left:8px;z-index:50;pointer-events:none;padding:2px 8px;border-radius:999px;font:600 10px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.04em;color:#fff;background:rgba(30,41,59,0.72);border:1px solid rgba(255,255,255,0.18);backdrop-filter:blur(2px); }
|
||
.rm-provider-badge[data-provider="mapbox"] { background:rgba(37,99,235,0.78);border-color:rgba(147,197,253,0.5); }
|
||
.rm-provider-badge[data-provider="maplibre"] { background:rgba(5,150,105,0.80);border-color:rgba(110,231,183,0.5); }
|
||
.rm-legend-mobile-slot { display:none; }
|
||
@media(max-width:767px){
|
||
.rm-legend-mobile-slot { display:block; }
|
||
.rm-legend-desktop-slot { display:none; }
|
||
}
|
||
.map-scroll-edge { position:absolute;top:0;bottom:0;width:calc(var(--map-btn-size,32px) + 6px);z-index:2;touch-action:pan-y;pointer-events:auto;background:transparent; }
|
||
.map-scroll-edge--left { left:0; }
|
||
.map-scroll-edge--right { right:0; }
|
||
`,"research-map");const i=Ne("profileConfig"),l=Ne("mapboxToken"),c=Vd(i),u=oe(()=>{var E;return((E=i==null?void 0:i.value)==null?void 0:E.search)===!1?!1:c==="mapbox"}),d=oe(()=>u.value?null:$g((y==null?void 0:y.value)??y)?"56px":"14px"),f=oe(()=>{var E;return((E=i==null?void 0:i.value)==null?void 0:E.legendTools)!==!1}),A=X1(c),v=Ne("dataSource");Ne("colorSet");const b=Ne("instanceId",null),_=(()=>{var N;const E=(N=i==null?void 0:i.value)==null?void 0:N.locale;return E&&Ga.includes(E)?E:null})(),{locale:$,t:h,te:m}=bt();_&&($.value=_);function w(E){const N="tabs."+((E==null?void 0:E.i18nKey)||(E==null?void 0:E.id));return E&&m(N)?h(N):(E==null?void 0:E.label)??""}const p=Ne("mapStore"),P=Ne("dataStore"),g=Ne("uiStore"),C=f1(g),S={doxaRegions:!0,adoption:!1,share:!0,hamburgerMenu:!1,geocoderPersistAcrossTabs:!1},H=[{id:"prayer",label:"Prayer",colorStrategy:"prayerProgress",legend:"prayer",popup:"pray",feature:null},{id:"adoption",label:"Adoption",colorStrategy:"adoption",legend:"adoption",popup:"adopt",feature:"adoption"},{id:"engagement",label:"Engagement",colorStrategy:"engagement",legend:"engagement",popup:"pray",feature:null,sepAfter:!0},{id:"affinity-blocks",label:"People Groups (Affinity)",colorStrategy:"affinityBlock",legend:"affinity-block",popup:"pray",feature:null},{id:"doxa-regions",label:"Regions",colorStrategy:"doxaRegion",legend:"doxa-regions",popup:"pray",feature:"doxaRegions",i18nKey:"regions"},{id:"language-families",label:"Languages",colorStrategy:"languageFamily",legend:"language-family",popup:"pray",feature:null},{id:"religion",label:"Religions",colorStrategy:"religion",legend:"religion",popup:"pray",feature:null}].filter(E=>!E.feature||S[E.feature]),J=oe(()=>H),U=oe(()=>!0),D=he(null),L=oe(()=>J.value.find(E=>E.id===D.value)??J.value[0]);C.setLook(C.lookFor((ef=L.value)==null?void 0:ef.colorStrategy)),Re(()=>{var E;return(E=L.value)==null?void 0:E.colorStrategy},E=>C.setLook(C.lookFor(E),ee.value));const y=oe(()=>{var E;return((E=L.value)==null?void 0:E.legend)??"default"}),M=oe(()=>{var E;return((E=L.value)==null?void 0:E.popup)??"pray"}),z=oe(()=>{var E,N,q,re;return((E=L.value)==null?void 0:E.id)==="language-families"?"Search language family, language, dialect/variety":((N=L.value)==null?void 0:N.id)==="affinity-blocks"?"Search affinity bloc, cluster, people group":((q=L.value)==null?void 0:q.id)==="doxa-regions"?"Search region, country, people group":((re=L.value)==null?void 0:re.id)==="religion"?"Search religion, people group":""}),K={"affinity-blocks":"people-groups",prayer:"people-groups",adoption:"people-groups",engagement:"people-groups","language-families":"language","doxa-regions":"regions",religion:"religion"},Q=oe(()=>{var E;return K[(E=L.value)==null?void 0:E.id]||""}),ie=(b==null?void 0:b.value)||b||"research-map-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,8);vt("mapId",ie);const j=he(null),be=he(null),xe=he(null),fe=new Map;Re(()=>D==null?void 0:D.value,async(E,N)=>{var _e,Ee,Ae;if(N!==void 0&&E!==N){N&&fe.set(N,g.legendState);const ze=fe.get(E)||(g.isMobile?"collapsed":"open");ze==="fullyOpen"?(_e=g.fullyOpenLegend)==null||_e.call(g):ze==="open"?(Ee=g.openLegend)==null||Ee.call(g):(Ae=g.collapseLegend)==null||Ae.call(g)}await It();const q=be.value,re=q==null?void 0:q.querySelector(".rm-tab.active");if(q&&re&&q.scrollWidth>q.clientWidth+1){const ze=q.getBoundingClientRect(),at=re.getBoundingClientRect(),ht=q.scrollLeft+(at.left-ze.left)-(ze.width-at.width)/2,to=q.scrollWidth-q.clientWidth,Xe=Math.max(0,Math.min(to,ht));typeof q.scrollTo=="function"?q.scrollTo({left:Xe,behavior:"smooth"}):q.scrollLeft=Xe}});const ke=he(null),$e=he(!1),ne=he(null),{map:ee,initializeMap:de,destroy:Pe}=pk({containerRef:ke,accessToken:l.value,provider:c,style:((tf=i==null?void 0:i.value)==null?void 0:tf.style)??C.bootStyle(),config:C.bootConfig,center:((of=i==null?void 0:i.value)==null?void 0:of.center)??uo.center??[20,10],zoom:((nf=i==null?void 0:i.value)==null?void 0:nf.zoom)??uo.zoom??1.8,pitch:((af=i==null?void 0:i.value)==null?void 0:af.pitch)??uo.pitch??0,bearing:((sf=i==null?void 0:i.value)==null?void 0:sf.bearing)??uo.bearing??0,minZoom:((rf=i==null?void 0:i.value)==null?void 0:rf.minZoom)??uo.minZoom??.5,maxZoom:NA}),T=new pg({sourcesConfig:vn,locale:_}),F=Ok({mapId:ie,dataSourceId:v.value,dataSourceManager:T,dataStore:P,markRaw:E=>E});async function I(E){const N=String(E||"").trim().toUpperCase();if(N.length!==3)return;await Xa();const q=ee.value;if(!q||!q.getLayer("regions-fill"))return;q.setLayoutProperty("regions-fill","visibility","visible"),q.setLayoutProperty("regions-border","visibility","visible");const re=["literal",[N]];q.setPaintProperty("regions-fill","fill-opacity",["case",["in",["get","iso_3166_1_alpha_3"],re],.3,.02]),q.setPaintProperty("regions-border","line-color",["case",["in",["get","iso_3166_1_alpha_3"],re],"#111827","rgba(60,60,80,0.15)"]),q.setPaintProperty("regions-border","line-width",["case",["in",["get","iso_3166_1_alpha_3"],re],2.5,.3]),q.getLayer("language-family-pins")&&q.moveLayer("language-family-pins")}function W(){var N;me.clearCountry();const E=ee.value;!E||!E.getLayer("regions-fill")||(E.setPaintProperty("regions-fill","fill-opacity",.2),E.setPaintProperty("regions-fill","fill-outline-color",null),E.setPaintProperty("regions-border","line-color","rgba(60,60,80,0.35)"),E.setPaintProperty("regions-border","line-width",.6),((N=L.value)==null?void 0:N.id)!=="doxa-regions"&&(E.setLayoutProperty("regions-fill","visibility","none"),E.setLayoutProperty("regions-border","visibility","none")))}const Y=kk({getMap:()=>ee.value,mapId:ie,getLanguageFamilyColor:E=>{var q,re;const N=So((q=L.value)==null?void 0:q.colorStrategy);return((re=N==null?void 0:N.colors)==null?void 0:re[E])??(N==null?void 0:N.fallback)??"#7c8cf8"},getNormalizedPeopleGroups:()=>F.normalizedPeopleGroups.value||[]});tg({getMap:()=>ee.value,mapId:ie,getLanguageFamilyColor:()=>"#7c8cf8",getNormalizedPeopleGroups:()=>F.normalizedPeopleGroups.value||[]});const O=wk({getMap:()=>ee.value,mapId:ie,mapStore:p,defaultCenter:((lf=i==null?void 0:i.value)==null?void 0:lf.center)??[20,10],defaultZoom:((cf=i==null?void 0:i.value)==null?void 0:cf.zoom)??1.8}),ue=Lk({getMap:()=>ee.value,getActivePinColor:E=>{var q,re;const N=So(((q=L.value)==null?void 0:q.colorStrategy)??"languageFamily");return((re=N==null?void 0:N.getColor)==null?void 0:re.call(N,E))??"#1a1a1a"}});let te=null,k=null;function x(){return te?Promise.resolve(te):(k||(k=oo(()=>Promise.resolve().then(()=>tP),void 0).then(E=>(te=E.useMapClustering({getMap:()=>ee.value,mapId:ie,mapStore:p,getPeopleGroups:()=>F.normalizedPeopleGroups.value||[],getClusterColor:()=>{var N,q;return((q=So((N=L.value)==null?void 0:N.colorStrategy))==null?void 0:q.fallback)??"#7c8cf8"}}),te))),k)}const B={setData(E){var N;(N=te==null?void 0:te.setData)==null||N.call(te,E)},applyFilters(E){var N;(N=te==null?void 0:te.applyFilters)==null||N.call(te,E)},refreshColors(){var E;(E=te==null?void 0:te.refreshColors)==null||E.call(te)},cleanup(){var E;(E=te==null?void 0:te.cleanup)==null||E.call(te)},async setEnabled(E){var N,q;(q=(N=await x()).setEnabled)==null||q.call(N,E)},async setMode(E){var N,q;(q=(N=await x()).setMode)==null||q.call(N,E)},_pendingSelectionFilter:null,setSelectionFilter(E){this._pendingSelectionFilter=E||null,te!=null&&te.setSelectionFilter&&te.setSelectionFilter(E)},flushSelectionFilter(){te!=null&&te.setSelectionFilter&&te.setSelectionFilter(this._pendingSelectionFilter)}},X=Ka({});vt("legendRows",X.rows),vt("normalizedPeopleGroups",F.normalizedPeopleGroups);const me=Ek(()=>ee.value),ce=dS(ie);gS(ce);const{onPeopleGroupResult:Z,onAggregateResult:le,onClear:Ce,clearGeocoderProgrammatic:Te}=Dk({map:ee,geocoderRef:xe,clustering:B,mapStore:p,uiStore:g,mapLayers:Y,pplrInstance:ce,onSemanticTreeSelect:ia,switchTab:Za,activeTabId:D,clearAllHighlights:fr,clearCountryHighlight:W,mapId:ie,legendRouters:{country:IP,region:FP,religion:RP}});ce.activeTab.value=1;function qe(E){return E==="affinity-block"?0:E==="language-family"?1:0}Re(y,E=>{ce.activeTab.value=qe(E)});const nt={get value(){return F.normalizedPeopleGroups.value||[]}},{langTree:Qe}=ml(nt),V=[{id:"family",label:"Lang Family",info:"A language family is a group of languages descended from a common ancestor (e.g. Indo-European, Afro-Asiatic)."},{id:"language",label:"Language",info:"A language is a system of communication used by a people (e.g. Arabic, Bengali, Hindi)."},{id:"dialect",label:"Dialect/Variety",info:"A dialect/variety is a regional or social form of a language (e.g. Arabic, Sudanese; Pakistan Sign Language)."}],{affinityTree:se}=xg(nt),ve=[{id:"bloc",label:"Affinity Block",info:"Affinity Block (field: rop1) — broadest grouping by cultural/linguistic/geographic kinship. 16 blocks total. Examples: Malay Peoples, South Asian Peoples, Deaf, Arab World."},{id:"cluster",label:"Cluster",info:'Cluster (field: imb_reg_of_people_2, ROP 2) — finer-grained grouping inside a bloc. 194 clusters total. Suffix "(Cluster)" appears on each row to distinguish from PG/PGIC. Example: Borneo-Kalimantan within Malay Peoples.'},{id:"group",label:"People Group",info:'People Group (field: imb_reg_of_people_25, ROP 2.5) — abstract ethnolinguistic identity, country-agnostic. Suffix "(PG)" on each row. 1,736 PGs total; 131 of them have rows in multiple countries (e.g. Deaf in 123 countries). Example: Abai Sungai (PG) is one ROP25 code regardless of where its people live.'},{id:"pgic",label:"PG in Country",info:'PGIC = People Group In Country (field: imb_reg_of_people_3 + country_code) — one row per (people group, country) pair. Suffix "(PGIC)" on each row. 2,106 rows total. Example: "Abai Sungai, Malaysia (PGIC)" is the Abai Sungai PG specifically as it exists in Malaysia.'}],{regionsTree:Se}=Lg(nt),Ie=[{id:"region",label:"WAGF Region",info:'WAGF macro-region (e.g. "Asia", "Africa"). Color-coded on the map.'},{id:"block",label:"WAGF Bloc",info:'WAGF bloc — the organizational sub-grouping within each region (e.g. "South East Asia", "West Africa").'},{id:"country",label:"Country",info:"Individual countries, listed by unreached-population size within their bloc."}],rt=Ka(_s(()=>y.value),ur),je=rt.progress;vt("legendProgress",je);function Gt(E){const N=[];for(const q of E){N.push({id:q.key,label:q.label,color:q.color,count:q.count??0,pop:q.population??0,filter:q.filterKey?["==",["get","_flat_filter"],q.filterKey]:null,children:[]});for(const re of q.children||[])N.push({id:re.key,label:re.label,color:re.color,count:re.count??0,pop:re.population??0,filter:re.filterKey?["==",["get","_flat_filter"],re.filterKey]:null,children:[]})}return N}const ft=oe(()=>["prayer","engagement","adoption","religion"].includes(y.value)),eo=oe(()=>ft.value?Gt(rt.items.value):y.value==="affinity-block"?se.value:y.value==="doxa-regions"?Se.value:Qe.value),Ll=oe(()=>ft.value?null:y.value==="affinity-block"?ve:y.value==="doxa-regions"?Ie:V),xP=oe(()=>ft.value),LP=oe(()=>y.value==="religion"?h("legend.colLabel.religion"):y.value==="prayer"?h("legend.colLabel.prayer"):y.value==="engagement"?h("legend.colLabel.engagement"):y.value==="adoption"?h("legend.colLabel.adoption"):ft.value?h("legend.colLabel.status"):""),SP=oe(()=>g.legendState!=="collapsed");function AP(E){E?g.openLegend():g.collapseLegend()}const gr=oe(()=>ft.value?h("legend.titleBar.legend"):y.value==="affinity-block"?h("legend.titleBar.peopleGroups"):y.value==="doxa-regions"?h("legend.titleBar.wagfRegions"):h("legend.titleBar.languages"));function Pn(E,N){var q;for(const re of E){if(N(re))return re;if((q=re.children)!=null&&q.length){const _e=Pn(re.children,N);if(_e)return _e}}return null}vt("onSemanticTreeSelect",E=>ia(E)),vt("getActivePinColor",E=>{var q,re;const N=So(((q=L.value)==null?void 0:q.colorStrategy)??"languageFamily");return((re=N==null?void 0:N.getColor)==null?void 0:re.call(N,E))??"#1a1a1a"});function PP(E,N){if(!E||!N)return null;const q=E.id;if(N==="prayer"){const re=["to-number",["get","peoplePraying"]];if(q==="noPrayer")return["==",re,0];if(q==="fullPrayer")return[">=",re,Lo];if(q==="hasPrayer")return["all",[">",re,0],["<",re,Lo]]}else if(N==="engagement"){if(q==="hasEngagement")return["==",["get","engagementStatus"],!0];if(q==="notEngaged")return["==",["get","engagementStatus"],!1]}else if(N==="adoption"){if(q==="hasAdoption")return["==",["get","adoptionStatus"],!0];if(q==="notAdopted")return["==",["get","adoptionStatus"],!1]}else if(N==="religion")return["==",["slice",["coalesce",["get","religion"],""],0,1],q];return null}function ia(E){var re,_e,Ee,Ae,ze,at,ht,to;const N=ee.value;if(E){const Xe=ft.value?PP(E,y.value):null,He=((re=L.value)==null?void 0:re.id)==="doxa-regions",St=Xe?{matchExpr:Xe}:{};He&&(St.regionPolygonSource="regions"),(_e=O.zoomToLegendRow)==null||_e.call(O,E,Object.keys(St).length?St:void 0)}if(!E){if(ft.value){const Xe=y.value;Xe==="prayer"?g.setPrayerFilter(null):Xe==="engagement"?g.setEngagementFilter(null):Xe==="adoption"?g.setAdoptionFilter(null):Xe==="religion"&&g.setReligionFilter(null)}if(N&&N.getLayer("language-family-pins")){try{N.setFilter("language-family-pins",null)}catch{}o(N,null),cn(N,null),Y.syncGlowFilter(null)}N&&N.getLayer("regions-fill")&&(N.setPaintProperty("regions-fill","fill-opacity",.7),N.setPaintProperty("regions-border","line-color","rgba(60,60,80,0.35)"),N.setPaintProperty("regions-border","line-width",.6)),p.selectedFamily&&p.selectFamily(null),p.selectedLanguage&&p.selectLanguage(null),p.selectedDialect&&((Ee=p.selectDialect)==null||Ee.call(p,null)),p.selectedRegion&&((Ae=p.selectRegion)==null||Ae.call(p,null)),Te();return}if(ft.value){const Xe=y.value;Xe==="prayer"?g.setPrayerFilter(E.id):Xe==="engagement"?g.setEngagementFilter(E.id):Xe==="adoption"?g.setAdoptionFilter(E.id):Xe==="religion"&&g.setReligionFilter(E.id);return}if(N&&N.getLayer("language-family-pins")&&E.filter){try{N.setFilter("language-family-pins",E.filter)}catch{}o(N,E.filter),cn(N,null),Y.syncGlowFilter(E.filter)}const q=String(E.id||"");if(q.startsWith("fam:"))(ze=p.selectFamily)==null||ze.call(p,E.label);else if(q.startsWith("lang:"))(at=p.selectLanguage)==null||at.call(p,E.label);else if(q.startsWith("dial:"))(ht=p.selectDialect)==null||ht.call(p,{key:q.slice(5),originalLabels:E.originalLabels||[]});else if(q.startsWith("bloc:")||q.startsWith("cluster:")||q.startsWith("pg:")||q.startsWith("pgic:")){if(N&&N.getLayer("language-family-pins")&&E.filter){try{N.setFilter("language-family-pins",null)}catch{}o(N,E.filter),cn(N,E.filter),Y.syncGlowFilter(E.filter)}}else if(q.startsWith("region:")||q.startsWith("block:")||q.startsWith("country:")){if(N&&N.getLayer("language-family-pins")&&E.filter){try{N.setFilter("language-family-pins",E.filter)}catch{}o(N,E.filter),cn(N,null)}if(q.startsWith("region:")&&((to=p.selectRegion)==null||to.call(p,q.slice(7))),N&&N.getLayer("regions-fill")){const Xe=E.isoCodes||[];if(Xe.length){const He=["literal",Xe];N.setPaintProperty("regions-fill","fill-opacity",["case",["in",["get","iso_3166_1_alpha_3"],He],.85,.15]),N.setPaintProperty("regions-border","line-color",["case",["in",["get","iso_3166_1_alpha_3"],He],"#111827","rgba(60,60,80,0.15)"]),N.setPaintProperty("regions-border","line-width",["case",["in",["get","iso_3166_1_alpha_3"],He],2.5,.3])}else N.setPaintProperty("regions-fill","fill-opacity",.7),N.setPaintProperty("regions-border","line-color","rgba(60,60,80,0.35)"),N.setPaintProperty("regions-border","line-width",.6)}}}Re(()=>g.theme,E=>{ce.theme.value=E==="dark"?"dark":"light"},{immediate:!0});function ln(E,N){var re,_e;if(!N){const Ee=ce.selection.value;Ee&&((re=Ee.id)!=null&&re.startsWith(E+":"))&&(ce.selection.value=null);return}const q=ce.selection.value;q&&((_e=q.id)!=null&&_e.startsWith(E+":"))&&q.label===N.label||(ce.selection.value=N)}Re(()=>p.selectedFamily,E=>{if(!E)return ln("fam",null);const N=Pn(Qe.value,q=>q.id.startsWith("fam:")&&q.label===E);N&&ln("fam",{...N,depth:0})}),Re(()=>p.selectedLanguage,E=>{if(!E)return ln("lang",null);const N=Pn(Qe.value,q=>q.id.startsWith("lang:")&&q.label===E);N&&ln("lang",{...N,depth:1})}),Re(()=>p.selectedDialect,E=>{if(!(E!=null&&E.key))return ln("dial",null);const N=`dial:${E.key}`,q=Pn(Qe.value,re=>re.id===N);q&&ln("dial",{...q,depth:2})}),Re(()=>p.selectedRegion,E=>{if(!E)return ln("region",null);const N=Pn(Se.value,q=>q.id===`region:${E}`);N&&ln("region",{...N,depth:0})});const la=he(!1);async function Sl(){var E,N;if(!la.value){la.value=!0;try{const[{useMapPoster:q},{defaultPosterSpec:re}]=await Promise.all([oo(()=>Promise.resolve().then(()=>fP),void 0),oo(()=>Promise.resolve().then(()=>Rg),void 0)]),_e=q(()=>ee.value),Ee=re({widthIn:8.5,heightIn:11,dpi:200,orientation:"portrait"}),Ae=w(L.value)||gr.value||"Doxa Map";Ee.dir=["ar","fa","he","ur"].includes(String($.value||"").split("-")[0])?"rtl":"ltr",Ee.slots.title={...Ee.slots.title,text:Ae};const ze=(rt.items.value||[]).flatMap(He=>[He,...He.children||[]]),at=(ze.length?ze:((E=X==null?void 0:X.rows)==null?void 0:E.value)||[]).map(He=>({label:He.label,color:He.color}));Ee.slots.legend={...Ee.slots.legend,rows:at,title:gr.value},Ee.slots.scaleBar=!1,Ee.slots.north=!1;const ht=!!(window.maplibregl&&ee.value instanceof window.maplibregl.Map);Ee.slots.footer={...Ee.slots.footer,left:"pray.doxa.life",right:new Date().toISOString().slice(0,10),attribution:ht?"© OpenFreeMap © OpenMapTiles © OpenStreetMap":"© Mapbox © OpenStreetMap"};const to=await _e.render(Ee,"png"),Xe=String(((N=L.value)==null?void 0:N.id)||"").replace(/[^a-z0-9]+/gi,"-").replace(/^-+|-+$/g,"").toLowerCase();Kg(to,"doxa-"+(Xe||"map")+"-poster.png")}catch(q){console.error("[research-map] poster export failed:",q)}finally{la.value=!1}}}const CP=oe(()=>String(h("controls.export_poster")||"Export poster").replace(/\s*…\s*$/,""));function EP(E){if(E==="poster")return Sl();if(E==="packet")return TP()}let Al=!1;function Kg(E,N){const q=URL.createObjectURL(E),re=document.createElement("a");re.href=q,re.download=N,document.body.appendChild(re),re.click(),re.remove(),setTimeout(()=>URL.revokeObjectURL(q),1e3)}async function TP(){var E;if(!Al){Al=!0;try{t||(t=oo(()=>Promise.resolve().then(()=>wP),void 0).then(Ae=>Ae.useMapPacket(()=>ee.value)));const N=await t;let q=F.normalizedPeopleGroups.value||[];q.length>50&&(console.warn(`[research-map] packet export truncated ${q.length} → 50 people groups`),q=q.slice(0,50));const{defaultPosterSpec:re}=await oo(async()=>{const{defaultPosterSpec:Ae}=await Promise.resolve().then(()=>Rg);return{defaultPosterSpec:Ae}},void 0),_e=re({widthIn:8.27,heightIn:11.69,dpi:150,orientation:"portrait"});_e.slots.title={..._e.slots.title,text:gr.value||"Doxa Map"},_e.slots.legend={..._e.slots.legend,rows:((E=X==null?void 0:X.rows)==null?void 0:E.value)||[]};const Ee=await N.renderPacket(_e,q,{source:"pray.doxa.life",date:new Date().toISOString().slice(0,10)});Kg(Ee,"packet.pdf")}catch(N){console.error("[research-map] packet export failed:",N)}finally{Al=!1}}}const qg=he(!1),Wg=oe(()=>p.selectedFeature),zt=oe(()=>g.isDarkTheme),Pl=oe(()=>yd.lightPreset==="night");function Cl(){var q;const E=ee.value;if(!E||!E.getLayer("language-family-pins"))return;const N=Pl.value?"#ffffff":["case",[">",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"];E.setPaintProperty("language-family-pins","circle-stroke-color",N),E.setPaintProperty("language-family-pins","circle-stroke-width",Pl.value?yk((q=L.value)==null?void 0:q.colorStrategy):og)}Re(Pl,Cl,{immediate:!1}),Re(()=>{var E;return(E=L.value)==null?void 0:E.id},Cl),Re(()=>g.theme,()=>C.applyTheme(ee.value));function NP(){C.swapTheme(ee.value)}const Yg=he(!1);let Ya=null;async function Xa(){if(!Yg.value)return Ya||(Ya=(async()=>{var E,N,q;try{const re=await((E=F.loadRegionsData)==null?void 0:E.call(F));re&&ee.value&&((N=Y.addRegionsLayer)==null||N.call(Y,re,"doxa-regions"),ee.value.getLayer("regions-fill")&&((q=L.value)==null?void 0:q.id)!=="doxa-regions"&&(ee.value.setLayoutProperty("regions-fill","visibility","none"),ee.value.setLayoutProperty("regions-border","visibility","none")),ee.value.getLayer("language-family-pins")&&ee.value.moveLayer("language-family-pins")),Yg.value=!0,F.regionsData.value=null}catch(re){console.warn("[research-map] regions layer failed:",re)}finally{Ya=null}})(),Ya)}function Za(E){var re,_e,Ee;if(E===D.value)return;D.value=E,(re=g.setActiveTab)==null||re.call(g,E),Te();const N=J.value.find(Ae=>Ae.id===E);if(!N||!ee.value)return;C.setLook(C.lookFor(N.colorStrategy),ee.value),N.id==="doxa-regions"&&Xa();const q=So(N.colorStrategy);if(ee.value.getLayer("language-family-pins")&&(q!=null&&q.buildColorExpression)){const Ae=N.id==="doxa-regions"?"#a30000":q.buildColorExpression();ee.value.setPaintProperty("language-family-pins","circle-color",Ae),fr(ee.value),N.id==="prayer"?Y.startPrayerGlow():Y.stopPrayerGlow();const ze=N.id==="doxa-regions";ee.value.getLayer("regions-fill")&&(ee.value.setLayoutProperty("regions-fill","visibility",ze?"visible":"none"),ee.value.setLayoutProperty("regions-border","visibility",ze?"visible":"none")),ee.value.getLayer("language-family-pins")&&ee.value.moveLayer("language-family-pins")}(_e=X.refresh)==null||_e.call(X),(Ee=B.refreshColors)==null||Ee.call(B)}function Xg(E){var q,re;const N=E==null?void 0:E.detail;!N||N.mapId!==ie||(N.center&&Array.isArray(N.center)?(q=O.flyToCoords)==null||q.call(O,{longitude:N.center[0],latitude:N.center[1]},N.zoom??4):N.bounds&&((re=O.fitBounds)==null||re.call(O,N.bounds,60)))}function Zg(E){var at,ht,to;const N=E==null?void 0:E.detail;if(!N||(Tt(N),!((at=N.coords)!=null&&at.length)))return;const q=N.coords;if(q.length===1){(ht=O.flyToCoords)==null||ht.call(O,{longitude:q[0][0],latitude:q[0][1]},3);return}let re=1/0,_e=-1/0,Ee=1/0,Ae=-1/0;for(const[Xe,He]of q)Xe<re&&(re=Xe),Xe>_e&&(_e=Xe),He<Ee&&(Ee=He),He>Ae&&(Ae=He);const ze=N.kind==="region"?2.2:3;(to=O.fitBounds)==null||to.call(O,[[re,Ee],[_e,Ae]],60,{maxZoom:ze})}let El=null;function MP(){const E=(p==null?void 0:p.showClusters)&&((p==null?void 0:p.clusteringMode)||"off")!=="off",N=Number(p==null?void 0:p.clusterPinOpacity);return E&&Number.isFinite(N)?Math.min(1,Math.max(0,N)):1}function cn(E,N){var _e;if(N!==void 0&&(El=N||null),!E||!((_e=E.getLayer)!=null&&_e.call(E,"language-family-pins")))return;const q=MP(),re=El?["case",El,q,0]:q;try{E.setPaintProperty("language-family-pins","circle-opacity",re),E.setPaintProperty("language-family-pins","circle-stroke-opacity",re),E.getLayer("language-family-pins-shadow")&&E.setPaintProperty("language-family-pins-shadow","circle-opacity",re)}catch{}}Re(()=>[p==null?void 0:p.clusterPinOpacity,p==null?void 0:p.clusteringMode,p==null?void 0:p.showClusters],()=>cn(ee.value));const Wt={family:null,language:null,dialect:null,region:null,prayer:null,engagement:null,adoption:null};function fr(E){cn(E,null),E.setFilter("language-family-pins",null),o(E,null),Y.syncGlowFilter(null),E.getLayer("regions-fill")&&(E.setPaintProperty("regions-fill","fill-opacity",.7),E.setPaintProperty("regions-fill","fill-outline-color",null)),E.getLayer("regions-border")&&(E.setPaintProperty("regions-border","line-color","rgba(60,60,80,0.35)"),E.setPaintProperty("regions-border","line-width",.6)),Wt.family=Wt.language=Wt.dialect=Wt.region=null,Wt.prayer=Wt.engagement=Wt.adoption=null,g.prayerFilter&&g.setPrayerFilter(null),g.engagementFilter&&g.setEngagementFilter(null),g.adoptionFilter&&g.setAdoptionFilter(null),g.religionFilter&&g.setReligionFilter(null),B.setSelectionFilter(null),p.selectedFamily&&p.selectFamily(null),p.selectedLanguage&&p.selectLanguage(null),p.selectedDialect&&p.selectDialect(null);try{ce&&ce.selection&&ce.selection.value&&(ce.selection.value=null)}catch{}}let hr=null,mr=0;function Tt(E){var ze,at,ht,to,Xe;const N=ee.value;if(!N||!N.getLayer("language-family-pins"))return;let q,re,_e;if(E.kind==="family")_e="family",q="languageFamily",re=E.familyKey;else if(E.kind==="language")_e="language",q="language",re=E.languageKey;else if(E.kind==="region")_e="region",q="doxaRegion",re=E.regionKey;else if(E.kind==="prayer")_e="prayer",q=E.property||"peoplePraying",re=E.expectedValue;else if(E.kind==="engagement")_e="engagement",q=E.property||"engagementStatus",re=E.expectedValue;else if(E.kind==="adoption")_e="adoption",q=E.property||"adoptionStatus",re=E.expectedValue;else if(E.kind==="religion")_e="religion",q=E.property||"religion",re=E.expectedValue;else if(E.kind==="dialect")_e="dialect",q="language",re=E.dialectKey||"";else{fr(N),Te();for(const He of Object.keys(Wt))Wt[He]=null;hr=null,mr=0;return}const Ee=Date.now(),Ae=`${_e}|${re}`;if(!(hr===Ae&&Ee-mr<80)){if(hr=Ae,mr=Ee,Wt[_e]===re){fr(N),Te(),hr=null,mr=0;return}for(const He of Object.keys(Wt))Wt[He]=null;if(Wt[_e]=re,_e==="family"?(ze=p.selectFamily)==null||ze.call(p,re):_e==="region"?(at=p.selectRegion)==null||at.call(p,re):_e==="language"?(ht=p.selectLanguage)==null||ht.call(p,re):_e==="dialect"&&((to=p.selectDialect)==null||to.call(p,{key:re,originalLabels:E.originalLabels||[]})),B.setSelectionFilter({property:q,value:re}),_e==="region"){if(N.setFilter("language-family-pins",["==",["get","doxaRegion"],re]),o(N,["==",["get","doxaRegion"],re]),cn(N,null),N.getLayer("regions-fill")){const He=((Xe=Y.regionIsoMap)==null?void 0:Xe.value)||{},St=En=>String(En).toLowerCase().replace(/[^a-z]/g,""),BP=St(re);let br=He[re]||[];if(!br.length){for(const[En,GP]of Object.entries(He))if(St(En)===BP){br=GP;break}}if(br.length){const En=["literal",br];N.setPaintProperty("regions-fill","fill-opacity",["case",["in",["get","iso_3166_1_alpha_3"],En],.85,.15]),N.setPaintProperty("regions-border","line-color",["case",["in",["get","iso_3166_1_alpha_3"],En],"#111827","rgba(60,60,80,0.15)"]),N.setPaintProperty("regions-border","line-width",["case",["in",["get","iso_3166_1_alpha_3"],En],2.5,.3])}else N.setPaintProperty("regions-fill","fill-opacity",.7),N.setPaintProperty("regions-border","line-color","rgba(60,60,80,0.35)"),N.setPaintProperty("regions-border","line-width",.6)}}else{N.setFilter("language-family-pins",null);let He;if(_e==="prayer"){const St=["to-number",["get",q]];re==="noPrayer"?He=["==",St,0]:re==="fullPrayer"?He=[">=",St,Lo]:re==="hasPrayer"?He=["all",[">",St,0],["<",St,Lo]]:He=["==",["get",q],re]}else if(_e==="engagement")He=["==",["get",q],re==="hasEngagement"];else if(_e==="adoption")He=["==",["get",q],re==="hasAdoption"];else if(_e==="religion")He=["==",["slice",["coalesce",["get",q],""],0,1],re];else if(E.filterExpr)He=E.filterExpr;else if(_e==="language")He=["any",["==",["get",q],re],["==",["slice",["get",q],0,re.length+1],re+","],["in"," "+re,["get",q]]];else if(_e==="dialect"){const St=E.originalLabels||[];St.length===1?He=["==",["get",q],St[0]]:St.length>1?He=["in",["get",q],["literal",St]]:He=["==",["get",q],re]}else He=["==",["get",q],re];cn(N,He),o(N,He),Y.syncGlowFilter(He),N.getLayer("regions-fill")&&(N.setPaintProperty("regions-fill","fill-opacity",.2),N.setPaintProperty("regions-border","line-color","rgba(60,60,80,0.35)"),N.setPaintProperty("regions-border","line-width",.6))}}}function RP(E,{map:N,filterLayerId:q}){const re=E.label;try{N.setFilter(q,null)}catch{}const _e=Object.keys(Jt).find(Ee=>Jt[Ee]===re);if(_e){const Ee={id:_e,label:re,depth:0},Ae=()=>{try{N.setFilter(q,null)}catch{}ia(Ee),ce&&ce.selection&&(ce.selection.value=Ee)};D.value!=="religion"&&Za("religion"),It(Ae)}}function FP(E,{map:N,filterLayerId:q}){const re=E.label,_e=at=>String(at).toLowerCase().replace(/[^a-z0-9]/g,""),Ee=at=>String(at||"").replace(/\s*\((?:Region|Bloc)\)\s*$/i,""),Ae=_e(re),ze=()=>{try{N.setFilter(q,null)}catch{}const at=Pn(Se.value,ht=>(ht.id.startsWith("region:")||ht.id.startsWith("block:"))&&_e(Ee(ht.label))===Ae);at&&(ia(at),ce&&ce.selection&&(ce.selection.value=at))};D.value!=="doxa-regions"?(Za("doxa-regions"),Promise.resolve(Xa()).finally(()=>It(ze))):ze()}function IP(E){var q,re,_e,Ee;if(Array.isArray(E.bounds)&&E.bounds.length===4){const[Ae,ze,at,ht]=E.bounds;(q=O.fitBounds)==null||q.call(O,[[Ae,ze],[at,ht]],60)}else Array.isArray(E.center)&&E.center.length===2&&((re=O.flyTo)==null||re.call(O,E.center));const N=Pk(E,F.normalizedPeopleGroups.value||[]);if(N&&I(N),N&&((_e=L.value)==null?void 0:_e.id)!=="doxa-regions"&&me.showCountry(N),N&&((Ee=L.value)==null?void 0:Ee.id)==="doxa-regions"){const Ae=()=>{const ze=Pn(Se.value,at=>at.id.startsWith("country:")&&(at.isoCodes||[]).includes(N));ze&&(ia(ze),ce&&ce.selection&&(ce.selection.value=ze))};Promise.resolve(Xa()).finally(()=>It(Ae))}}Re(()=>p.filters,()=>{var E,N;(E=Y.applyFilters)==null||E.call(Y,p.filters),(N=B.applyFilters)==null||N.call(B,p.filters)},{deep:!0});let Tl=!1;Re(()=>{var E;return(E=i==null?void 0:i.value)==null?void 0:E.externalFilters},E=>{var N,q;if(!(!E||typeof E!="object"||!p)){Tl=!0;try{if("region"in E&&((N=p.selectRegion)==null||N.call(p,E.region||null)),"religion"in E){const re=String(E.religion||"").trim(),_e=re?Object.keys(Jt).find(Ee=>String(Jt[Ee]).toLowerCase()===re.toLowerCase()):"";re?_e&&(D.value!=="religion"&&Za("religion"),It(()=>g.setReligionFilter(_e))):g.religionFilter&&g.setReligionFilter(null)}"language"in E&&((q=p.selectLanguage)==null||q.call(p,E.language||null))}finally{It(()=>{Tl=!1})}}},{deep:!0,immediate:!0}),typeof window<"u"&&(window.__researchMapFilterState=()=>{var E,N;return{selectedRegion:(p==null?void 0:p.selectedRegion)||"",externalRegion:((N=(E=i==null?void 0:i.value)==null?void 0:E.externalFilters)==null?void 0:N.region)||"",religionFamily:Jt[g==null?void 0:g.religionFilter]||"",selectedLanguage:(p==null?void 0:p.selectedLanguage)||""}},window.__researchMapPinOpacity=()=>{var E,N;try{return((N=(E=ee.value)==null?void 0:E.getPaintProperty)==null?void 0:N.call(E,"language-family-pins","circle-opacity"))??null}catch{return null}},window.__researchMapClusterDraw=()=>{var q,re;const E=ee.value,N={};try{for(const _e of((re=(q=E==null?void 0:E.getStyle)==null?void 0:q.call(E))==null?void 0:re.layers)||[]){if(!/^(mapbox-clusters|cluster-lines)/.test(_e.id))continue;let Ee=0;try{Ee=E.queryRenderedFeatures({layers:[_e.id]}).length}catch{Ee=-1}N[_e.id]={visibility:_e.layout&&_e.layout.visibility||"visible",rendered:Ee}}}catch{}return N},window.__researchMapVocabulary=E=>{var re;const N=((re=F==null?void 0:F.normalizedPeopleGroups)==null?void 0:re.value)||[],q=new Set;for(const _e of N){if(E==="religionFamily"){const Ae=Jt[String((_e==null?void 0:_e.religion)||"").charAt(0)];Ae&&q.add(Ae);continue}const Ee=_e&&_e[E];typeof Ee=="string"&&Ee&&q.add(Ee)}return[...q].sort()});function OP(){var re,_e,Ee,Ae,ze;if(Tl||typeof window>"u")return;const E=(ze=(Ae=(Ee=(_e=(re=ko())==null?void 0:re.proxy)==null?void 0:_e.$el)==null?void 0:Ee.getRootNode)==null?void 0:Ae.call(Ee))==null?void 0:ze.host;if(!E)return;const N=Jt[g==null?void 0:g.religionFilter]||"",q={region:(p==null?void 0:p.selectedRegion)||"",religion:N,language:(p==null?void 0:p.selectedLanguage)||""};E.dispatchEvent(new CustomEvent("map-filtered",{detail:q,bubbles:!0,composed:!0}))}Re(()=>[p==null?void 0:p.selectedRegion,p==null?void 0:p.selectedLanguage,g==null?void 0:g.religionFilter],()=>OP()),Re(()=>p.selectedRegion,E=>{Tt(E?{kind:"region",regionKey:E}:{kind:null})}),Re(()=>p.selectedFamily,E=>{E?Tt({kind:"family",familyKey:E}):!p.selectedLanguage&&!p.selectedDialect&&Tt({kind:null})}),Re(()=>p.selectedLanguage,E=>{E?Tt({kind:"language",languageKey:E}):!p.selectedFamily&&!p.selectedDialect&&Tt({kind:null})}),Re(()=>p.selectedDialect,E=>{E!=null&&E.key?Tt({kind:"dialect",dialectKey:E.key,originalLabels:E.originalLabels||[]}):!p.selectedFamily&&!p.selectedLanguage&&Tt({kind:null})}),Re(()=>g.prayerFilter,E=>{Tt(E?{kind:"prayer",property:"peoplePraying",expectedValue:E}:{kind:null})}),Re(()=>g.engagementFilter,E=>{Tt(E?{kind:"engagement",property:"engagementStatus",expectedValue:E}:{kind:null})}),Re(()=>g.adoptionFilter,E=>{Tt(E?{kind:"adoption",property:"adoptionStatus",expectedValue:E}:{kind:null})}),Re(()=>g.religionFilter,E=>{Tt(E?{kind:"religion",property:"religion",expectedValue:E}:{kind:null})});let Ja=!1;async function Jg(){var E,N,q,re;if(!Ja){Ja=!0;try{const _e=p.clusteringMode||"off";if(_e==="off"){p.showClusters&&(p.showClusters=!1),await((E=B.setEnabled)==null?void 0:E.call(B,!1));return}p.showClusters||(p.showClusters=!0),await((N=B.setMode)==null?void 0:N.call(B,_e)),(q=B.flushSelectionFilter)==null||q.call(B),await((re=B.setEnabled)==null?void 0:re.call(B,!0))}finally{Ja=!1}}}Re(()=>p.showClusters,async E=>{Ja||(E&&(!p.clusteringMode||p.clusteringMode==="off")?p.clusteringMode="mst":!E&&p.clusteringMode!=="off"&&(p.clusteringMode="off"),await Jg())}),Re(()=>p.clusteringMode,async()=>{Ja||await Jg()});async function DP(E){var N,q,re,_e,Ee,Ae,ze;p.registerMap(ie,ee.value);try{ee.value.setProjection("mercator")}catch{}C.applyTheme(ee.value),E!=null&&E.length&&(Y.addLanguageFamilyLayer(E,((N=L.value)==null?void 0:N.colorStrategy)??"languageFamily"),((q=L.value)==null?void 0:q.id)==="doxa-regions"&&((re=ee.value)!=null&&re.getLayer("language-family-pins"))&&ee.value.setPaintProperty("language-family-pins","circle-color","#4b5563"),((_e=L.value)==null?void 0:_e.id)==="prayer"&&Y.startPrayerGlow(),(Ee=B.setData)==null||Ee.call(B,E),(Ae=X.build)==null||Ae.call(X,E),ue.initialize()),((ze=L.value)==null?void 0:ze.id)==="doxa-regions"&&(typeof window<"u"&&window.requestIdleCallback?ht=>window.requestIdleCallback(ht,{timeout:2e3}):ht=>setTimeout(ht,800))(()=>{Xa()}),Cl(),p.setMapReady(ie),$e.value=!0}let Qa=null,Cn=null;function Qg(E){const N=j.value;N&&(getComputedStyle(N).getPropertyValue("--map-radius").trim()||(N.style.setProperty("--map-radius","16px"),N.style.setProperty("--map-radius-sm","8px")),E>=700?(N.style.setProperty("--map-btn-size","40px"),N.style.setProperty("--map-toolbar-gap","8px"),N.style.setProperty("--map-font-md","13px"),N.style.setProperty("--map-font-sm","11px"),N.style.setProperty("--map-legend-width","380px")):E>=500?(N.style.setProperty("--map-btn-size","36px"),N.style.setProperty("--map-toolbar-gap","6px"),N.style.setProperty("--map-font-md","12px"),N.style.setProperty("--map-font-sm","10px"),N.style.setProperty("--map-legend-width","360px")):(N.style.setProperty("--map-btn-size","32px"),N.style.setProperty("--map-toolbar-gap","5px"),N.style.setProperty("--map-font-md","11px"),N.style.setProperty("--map-font-sm","10px"),N.style.setProperty("--map-legend-width","280px")))}return $o(async()=>{var q,re,_e,Ee;(q=g.init)==null||q.call(g),D.value=((re=J.value[0])==null?void 0:re.id)??"doxa-regions",g.isMobile?(_e=g.collapseLegend)==null||_e.call(g):(Ee=g.openLegend)==null||Ee.call(g),j.value&&(Qg(j.value.getBoundingClientRect().width),typeof ResizeObserver<"u"&&(Qa=new ResizeObserver(Ae=>{for(const ze of Ae)Qg(ze.contentRect.width)}),Qa.observe(j.value))),window.addEventListener("doxa:legend-row-click",Xg),window.addEventListener("legend:highlight",Zg);const E=F.loadData().catch(Ae=>(console.error("[research-map] data load failed:",Ae),{normalizedPeopleGroups:[]}));try{await de()}catch(Ae){console.error("[research-map] Map failed to initialize —",Ae),ne.value=String((Ae==null?void 0:Ae.message)||Ae);return}{const Ae=ee.value?Ke(ee.value):null;Ae&&Ae!==ee.value&&(ee.value=null,ee.value=In(Ae))}if(!ee.value){console.error("[research-map] Map failed to initialize — check token and container"),ne.value="Map failed to initialize — check token and container";return}ee.value.once("style.load",async()=>{try{const{normalizedPeopleGroups:Ae}=await E;await DP(Ae)}catch(Ae){console.error("[research-map] onMapReady failed:",Ae),ne.value=String((Ae==null?void 0:Ae.message)||Ae)}}),a(ee.value);const N=()=>a(ee.value);try{Cn=new ResizeObserver(N);const Ae=ee.value.getContainer&&ee.value.getContainer()||null;Ae&&Cn.observe(Ae);const ze=Ae?n(Ae):null;ze&&Cn.observe(ze),document.body&&Cn.observe(document.body)}catch{}window.addEventListener("resize",N),Xt(()=>window.removeEventListener("resize",N))}),Xt(()=>{var E,N;window.removeEventListener("doxa:legend-row-click",Xg),window.removeEventListener("legend:highlight",Zg),Qa&&(Qa.disconnect(),Qa=null),Cn&&(Cn.disconnect(),Cn=null),Y.stopPrayerGlow(),(E=B.cleanup)==null||E.call(B),(N=ue.cleanup)==null||N.call(ue),p.unregisterMap(ie),Pe()}),(E,N)=>(ae(),pe("div",{ref_key:"rmRoot",ref:j,class:Me(["rm-root",{"rm-dark":zt.value,"dsm-dark":zt.value}])},[U.value?(ae(),pe("div",{key:0,ref_key:"tabBar",ref:be,class:"rm-tab-bar"},[(ae(!0),pe(Ue,null,Mt(J.value,q=>(ae(),pe(Ue,{key:q.id},[R("button",{class:Me(["rm-tab",{active:D.value===q.id}]),onClick:re=>Za(q.id)},ye(w(q)),11,xA),q.sepAfter?(ae(),pe("div",LA)):Le("",!0)],64))),128))],512)):Le("",!0),R("div",SA,[!$e.value&&!ne.value?(ae(),pe("div",AA,"Research map loading…")):Le("",!0),ne.value?(ae(),pe("div",PA,"The map could not be loaded. "+ye(ne.value),1)):Le("",!0),R("div",{ref_key:"mapContainer",ref:ke,class:"rm-map-canvas"},null,512),N[4]||(N[4]=R("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),N[5]||(N[5]=R("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1)),ge(c)!=="mapbox"?(ae(),pe("div",{key:2,class:"rm-provider-badge","data-provider":ge(c)},ye(ge(A)),9,CA)):Le("",!0),$e.value&&ge(ee)&&u.value?(ae(),et(eL,{key:3,ref_key:"geocoderRef",ref:xe,"map-instance":ge(ee),"access-token":ge(l),provider:ge(c),"data-source-id":ge(v),"is-dark":zt.value,placeholder:z.value,"active-context":Q.value,onPeopleGroupResult:ge(Z),onAggregateResult:ge(le),onClear:ge(Ce)},null,8,["map-instance","access-token","provider","data-source-id","is-dark","placeholder","active-context","onPeopleGroupResult","onAggregateResult","onClear"])):Le("",!0),Le("",!0),$e.value&&ge(ee)?(ae(),et(Sx,{key:5,"has-geocoder":u.value},{default:jt(()=>[tt(Px,{map:ge(ee),"is-dark":zt.value},null,8,["map","is-dark"]),tt(Cx,{map:ge(ee),"is-dark":zt.value},null,8,["map","is-dark"]),tt(Ex,{map:ge(ee),"is-dark":zt.value},null,8,["map","is-dark"]),tt(Mx,{"map-container":ke.value,"is-dark":zt.value},null,8,["map-container","is-dark"]),tt(Fx,{"is-dark":zt.value,onToggle:NP},null,8,["is-dark"]),tt(Ln,{"is-dark":zt.value,active:la.value,disabled:la.value,title:CP.value,class:"export-poster-btn","aria-busy":la.value?"true":"false",onClick:Sl},{default:jt(()=>[...N[3]||(N[3]=[R("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[R("path",{d:"M12 3v12M7 10l5 5 5-5M5 21h14"})],-1)])]),_:1},8,["is-dark","active","disabled","title","aria-busy"]),S.share?(ae(),et(_L,{key:0,"is-dark":zt.value,"embed-path":"doxa-research-map/research-map/index.html"},null,8,["is-dark"])):Le("",!0)]),_:1},8,["has-geocoder"])):Le("",!0),$e.value&&f.value?(ae(),et(Lx,{key:6,"legend-type":y.value,"is-dark":zt.value},null,8,["legend-type","is-dark"])):Le("",!0),$e.value?(ae(),et(OL,{key:7,"is-open":qg.value,onClose:N[1]||(N[1]=q=>qg.value=!1),onOpenPoster:Sl},{default:jt(()=>[tt(pS)]),_:1},8,["is-open"])):Le("",!0),R("div",{class:"rm-legend-desktop-slot",style:dt(d.value?{"--stl-top":d.value}:null)},[$e.value&&ge(g).legendMode==="detail"&&ge(g).selectedPeopleGroup?(ae(),et(fx,{key:0,"legend-type":y.value,"popup-action":M.value,"initially-collapsed":!1,"is-dark":zt.value},null,8,["legend-type","popup-action","is-dark"])):Le("",!0),Wr(R("div",null,[$e.value?(ae(),et(wg,{key:0,nodes:eo.value,tabs:Ll.value,title:gr.value,hideTabs:xP.value,columnLabel:LP.value,progress:ge(je),open:SP.value,"export-enabled":TA,onSelect:ia,onExport:EP,"onUpdate:open":AP},null,8,["nodes","tabs","title","hideTabs","columnLabel","progress","open"])):Le("",!0)],512),[[xm,!(ge(g).legendMode==="detail"&&ge(g).selectedPeopleGroup)]])],4),R("div",EA,[$e.value?(ae(),et(ge(s),{key:0,"legend-type":y.value,"popup-action":M.value,"is-dark":zt.value},null,8,["legend-type","popup-action","is-dark"])):Le("",!0)]),$e.value&&Wg.value?(ae(),et(ge(r),{key:8,feature:Wg.value,action:M.value,dark:zt.value,onClose:N[2]||(N[2]=q=>ge(p).selectFeature(null))},null,8,["feature","action","dark"])):Le("",!0)])],2))}}},Symbol.toStringTag,{value:"Module"})),RA="",FA={class:"legend-sheet-root"},IA=["src","alt"],OA={key:0,class:"pull-tab-handle"},DA=["aria-label"],BA=["aria-label"],GA=["aria-label"],jA={class:"collapsed-detail-title"},UA={class:"legend-content"},zA=["aria-label"],HA=["aria-label"],Sg=80,VA=48,KA=44,qA=24,Ag="--legend-sheet-h",Pg=Object.freeze(Object.defineProperty({__proto__:null,default:nn({__name:"LegendMobile",props:{legendType:{type:String,required:!0},nodes:{type:Array,default:null},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columnLabel:{type:String,default:null},title:{type:String,default:null},columns:{type:Array,default:null},isDark:{type:Boolean,default:!1},popupAction:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)},disableCollapse:{type:Boolean,default:!1}},setup(e){const{t}=bt();wt(`
|
||
.floating-mini-image{position:absolute;left:16px;bottom:calc(30% + 16px);z-index:999;pointer-events:auto;cursor:pointer;}
|
||
.mini-image{width:120px;height:150px;object-fit:cover;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.25);display:block;}
|
||
.legend-sheet-root{position:absolute;inset:0;pointer-events:none;overflow:hidden;}
|
||
.legend-sheet-root>*{pointer-events:auto;}
|
||
.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,
|
||
.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{transform:translateY(calc(-1 * min(var(--legend-sheet-h,0px),48px)));}
|
||
.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{z-index:3;}
|
||
.mapboxgl-ctrl-bottom-right,.maplibregl-ctrl-bottom-right{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:2px;opacity:0.72;transform:translateY(calc(-1 * min(var(--legend-sheet-h,0px),48px))) scale(0.85);transform-origin:bottom right;transition:opacity 0.15s;}
|
||
.mapboxgl-ctrl-bottom-right:hover,.maplibregl-ctrl-bottom-right:hover{opacity:1;}
|
||
.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl,.maplibregl-ctrl-bottom-right .maplibregl-ctrl{margin:0 6px 6px 0;}
|
||
.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib.mapboxgl-compact{margin-right:6px;}
|
||
.legend-mobile-sheet .stl-row{position:relative;}
|
||
.legend-mobile-sheet .stl-row .stl-x-slot{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:auto;}
|
||
.legend-mobile-sheet .stl-col-hdr .stl-x-slot{display:none;}
|
||
.legend-mobile-sheet{position:absolute;bottom:0;left:0;right:0;z-index:1000;background:white;border-top-left-radius:var(--map-radius,16px);border-top-right-radius:var(--map-radius,16px);box-shadow:0 -4px 20px rgba(0,0,0,0.2);transition:height 0.3s ease-out;display:flex;flex-direction:column;overflow:hidden;max-height:calc(100% - var(--legend-sheet-top-reserve,80px));}
|
||
.legend-mobile-sheet.dragging{transition:none!important;}
|
||
.sheet-drag-strip{position:absolute;top:0;left:0;right:0;height:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;user-select:none;z-index:2;}
|
||
.pull-tab-handle{width:40px;height:4px;background:#ccc;border-radius:2px;}
|
||
.mobile-collapse-caret{width:22px;height:20px;display:flex;align-items:center;justify-content:center;background:rgba(208,215,222,0.4);border:1px solid #d0d7de;border-radius:5px;cursor:pointer;color:#57606a;padding:0;transition:transform 0.3s ease-out,color 0.1s,background 0.1s,border-color 0.1s;transform-origin:center;outline:none;-webkit-tap-highlight-color:transparent;flex-shrink:0;}
|
||
.mobile-collapse-caret:focus{outline:none;}
|
||
@media (pointer:coarse){.mobile-collapse-caret{width:24px;height:24px;}}
|
||
.mobile-collapse-caret:hover{color:#3b463d;background:rgba(59,70,61,0.12);border-color:#3b463d;}
|
||
.legend-mobile-sheet.sheet-dark .mobile-collapse-caret{background:rgba(110,118,129,0.15);border-color:#30363d;color:#8b949e;box-shadow:none;}
|
||
.legend-mobile-sheet.sheet-dark .mobile-collapse-caret:hover{color:#c9d1d9;background:rgba(59,70,61,0.18);border-color:#73A17F;}
|
||
.detail-collapse-btn-mobile{position:absolute;top:10px;left:12px;background:transparent;border:none;padding:0;cursor:pointer;color:transparent;width:28px;height:28px;z-index:3;outline:none;-webkit-tap-highlight-color:transparent;}
|
||
.detail-collapse-btn-mobile:focus{outline:none;}
|
||
.detail-close-btn{position:absolute;top:10px;right:12px;background:none;border:none;padding:4px;cursor:pointer;color:#666;display:flex;align-items:center;justify-content:center;z-index:3;transition:color 0.2s ease;}
|
||
.detail-close-btn:hover{color:#333;}
|
||
.legend-mobile-sheet .pg-name-lead{padding-right:32px;}
|
||
.collapsed-detail-footer{position:absolute;top:12px;left:0;right:0;height:36px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;cursor:pointer;background:transparent;z-index:4;}
|
||
.collapsed-detail-title{font:600 13px system-ui,sans-serif;letter-spacing:0.02em;line-height:1.4;color:#1f2328;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||
.legend-mobile-sheet.sheet-dark .collapsed-detail-title{color:#F3F3F1;}
|
||
.legend-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;padding:12px 0;-webkit-overflow-scrolling:touch;}
|
||
.legend-mobile-sheet .legend-content>.stl-panel,
|
||
.legend-mobile-sheet .legend-content>.legend-row-group{flex:1;min-height:0;}
|
||
.legend-mobile-sheet .legend-row-group{--lrg-caret-col:24px;}
|
||
.legend-content::-webkit-scrollbar{width:4px;}
|
||
.legend-content::-webkit-scrollbar-track{background:transparent;}
|
||
.legend-content::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.18);border-radius:4px;}
|
||
.legend-content::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0.3);}
|
||
.legend-mobile-sheet.collapsed .legend-content .lrg-row,
|
||
.legend-mobile-sheet.collapsed .legend-content .lrg-footer,
|
||
.legend-mobile-sheet.collapsed .legend-content .lrg-header-col,
|
||
.legend-mobile-sheet.collapsed .legend-content .lft-row,
|
||
.legend-mobile-sheet.collapsed .legend-content .lft-row-child,
|
||
.legend-mobile-sheet.collapsed .legend-content .lft-header-col{display:none!important;}
|
||
.legend-mobile-sheet.collapsed{box-shadow:0 -2px 8px rgba(0,0,0,0.15);height:48px !important;min-height:48px;border-top-left-radius:0;border-top-right-radius:0;}
|
||
.legend-mobile-sheet.collapsed .legend-content{padding:0!important;display:flex;align-items:center;height:48px;}
|
||
.legend-mobile-sheet.collapsed .lrg-items,
|
||
.legend-mobile-sheet.collapsed .lft-items{padding:0!important;align-content:center;height:48px;}
|
||
.legend-mobile-sheet .stl-titlebar{padding:8px 10px 8px 8px!important;border-bottom:1px solid rgba(33,38,45,0.10)!important;}
|
||
.legend-mobile-sheet .stl-tb-title{text-transform:none!important;letter-spacing:0!important;font:600 14px system-ui,sans-serif!important;color:#1f2328!important;}
|
||
.legend-mobile-sheet.sheet-dark .stl-tb-title{color:#F3F3F1!important;}
|
||
.legend-mobile-sheet.collapsed .lrg-title-row,
|
||
.legend-mobile-sheet.collapsed .lft-title-row,
|
||
.legend-mobile-sheet.collapsed .stl-titlebar{padding:0 16px!important;display:flex;align-items:center;justify-content:center;gap:8px;height:48px;min-height:0!important;border-bottom:none!important;}
|
||
.legend-mobile-sheet.collapsed .stl-tb-title,
|
||
.legend-mobile-sheet.collapsed .lrg-title,
|
||
.legend-mobile-sheet.collapsed .lrg-title-row .lrg-title,
|
||
.legend-mobile-sheet.collapsed .lft-title{font-size:13px!important;letter-spacing:0.02em!important;line-height:1.4!important;}
|
||
.legend-mobile-sheet.collapsed .stl-tabs-wrap,
|
||
.legend-mobile-sheet.collapsed .stl-col-hdr,
|
||
.legend-mobile-sheet.collapsed .stl-rows,
|
||
.legend-mobile-sheet.collapsed .lrg-row,
|
||
.legend-mobile-sheet.collapsed .lrg-footer,
|
||
.legend-mobile-sheet.collapsed .lrg-header-col,
|
||
.legend-mobile-sheet.collapsed .lft-row,
|
||
.legend-mobile-sheet.collapsed .lft-row-child,
|
||
.legend-mobile-sheet.collapsed .lft-header-col{display:none!important;}
|
||
.legend-mobile-sheet .stl-panel{position:static!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-width:none!important;z-index:auto!important;display:flex;flex-direction:column;min-height:0;max-height:none!important;}
|
||
.legend-mobile-sheet .stl-panel.closed{transform:none!important;opacity:1!important;pointer-events:auto!important;}
|
||
.legend-mobile-sheet .stl-inner{border:none!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;}
|
||
.legend-mobile-sheet .lrg-item-inner{min-height:28px!important;padding:2px 0!important;}
|
||
.legend-mobile-sheet .lrg-items{row-gap:3px!important;}
|
||
.legend-mobile-sheet .stl-rows{min-height:0;}
|
||
.legend-mobile-sheet .stl-reopen{display:none!important;}
|
||
.legend-mobile-sheet .stl-collapse-btn{display:none!important;}
|
||
.legend-mobile-sheet .stl-titlebar{border-bottom-color:rgba(0,0,0,0.08)!important;}
|
||
.legend-mobile-sheet .lft-row{min-height:44px;column-gap:8px;}
|
||
.legend-mobile-sheet .lft-row-child{margin-left:0;}
|
||
.legend-mobile-sheet .lft-item-inner{min-height:36px;padding:6px 8px;}
|
||
.legend-mobile-sheet .lft-name{font-size:13px;}
|
||
.sheet-dark{background:#3b463d!important;box-shadow:0 -4px 20px rgba(0,0,0,0.5)!important;}
|
||
.sheet-dark .mobile-collapse-caret{background:rgba(110,118,129,0.15)!important;border-color:#30363d!important;color:#8b949e!important;}
|
||
.sheet-dark .mobile-collapse-caret:hover{color:#c9d1d9!important;background:rgba(59,70,61,0.18)!important;border-color:#73A17F!important;}
|
||
.sheet-dark .detail-close-btn{color:rgba(243,243,241,0.75)!important;}
|
||
.sheet-dark .detail-close-btn:hover{color:#F3F3F1!important;}
|
||
.sheet-dark .pull-tab-handle{background:rgba(243,243,241,0.3)!important;}
|
||
.sheet-dark .legend-content{background:#3b463d!important;}
|
||
.sheet-dark .legend-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.2);}
|
||
`,"legend-mobile-sheet");const o=e,n=Ne("uiStore");Ne("mapStore");const a=Ne("dataStore"),s=Ne("onSemanticTreeSelect",()=>{}),r=Ne("onLegendExport",null),i=oe(()=>typeof r=="function"),l=_s(o,"legendType"),{items:c,columns:u,title:d,activeFilter:f,setFilter:A,totalCount:v,totalPopulation:b,fmtPop:_,fmtCount:$}=Ka(l,ur),h=Ne("normalizedPeopleGroups",null),m=oe(()=>{var x,B;if((x=h==null?void 0:h.value)!=null&&x.length)return h.value;const k=[];for(const X in(a==null?void 0:a.sources)||{}){const me=a.sources[X];(B=me==null?void 0:me.features)!=null&&B.length&&k.push(...me.features)}return k}),w={get value(){return m.value}},{langTree:p}=ml(w),{affinityTree:P}=xg(w),{regionsTree:g}=Lg(w),C=[{id:"family",label:"Lang Family",info:"A language family is a group of languages descended from a common ancestor."},{id:"language",label:"Language",info:"A language is a system of communication used by a people."},{id:"dialect",label:"Dialect",info:"A dialect/variety is a regional or social form of a language."}],S=[{id:"bloc",label:"Block",info:"Affinity Block (rop1) — broadest grouping. 16 blocks total."},{id:"cluster",label:"Cluster",info:"Cluster (imb_reg_of_people_2, ROP 2) — finer grouping inside a block. 194 total."},{id:"group",label:"PG",info:"People Group (imb_reg_of_people_25, ROP 2.5) — abstract identity. 1,736 PGs."},{id:"pgic",label:"PGIC",info:"PG in Country (imb_reg_of_people_3 + country_code) — one row per PG-country pair. 2,106 rows."}],G=[{id:"region",label:"Region",info:'WAGF macro-region (e.g. "Asia", "Africa"). Color-coded on the map.'},{id:"block",label:"Bloc",info:'WAGF bloc — organizational sub-grouping within each region (e.g. "South East Asia").'},{id:"country",label:"Country",info:"Individual countries, listed by unreached-population size within their bloc."}],H=oe(()=>["prayer","engagement","adoption","religion"].includes(o.legendType));function J(k){const x=[];for(const B of k){x.push({id:B.key,label:B.label,color:B.color,count:B.count??0,pop:B.population??0,filter:B.filterKey?["==",["get","_flat_filter"],B.filterKey]:null,children:[]});for(const X of B.children||[])x.push({id:X.key,label:X.label,color:X.color,count:X.count??0,pop:X.population??0,filter:X.filterKey?["==",["get","_flat_filter"],X.filterKey]:null,children:[]})}return x}const U=oe(()=>o.nodes?o.nodes:H.value?J(c.value):o.legendType==="affinity-block"?P.value:o.legendType==="doxa-regions"?g.value:p.value),D=oe(()=>o.nodes?o.tabs:H.value?null:o.legendType==="affinity-block"?S:o.legendType==="doxa-regions"?G:C),L=oe(()=>o.title?o.title:H.value?t("legend.titleBar.legend"):o.legendType==="affinity-block"?t("legend.titleBar.peopleGroups"):o.legendType==="doxa-regions"?t("legend.titleBar.wagfRegions"):t("legend.titleBar.languages")),y=oe(()=>o.columnLabel!==null?o.columnLabel:["religion","prayer","engagement","adoption"].includes(o.legendType)?t("legend.colLabel."+o.legendType):H.value?t("legend.colLabel.status"):""),M=he(null),z=he(!1),K={pending:null,active:!1,startY:0,startH:0,startState:"",containerH:0,maxH:0,lastH:0,contentEl:null};let Q=0;const ie=()=>Date.now()-Q<400,j=oe(()=>n.legendState),be=oe(()=>n.legendHeight),xe=oe(()=>n.caretRotation),fe=oe(()=>n.showPullTab),ke=oe(()=>n.legendMode),$e=oe(()=>n.selectedPeopleGroup),ne=oe(()=>{var k;return ke.value==="detail"&&$e.value?((k=$e.value.properties)==null?void 0:k.name)||t("legend.header.peopleGroupFallback"):j.value==="collapsed"?o.title||t("legend.header.collapsed"):o.title||d.value});function ee(k){n.handleLegendItemClick(),A(k)}function de(){ie()||n.toggleLegend()}function Pe(){ie()||(n.selectPeopleGroup(null),n.openLegend())}const T=oe(()=>{var x;if(!$e.value)return null;const k=$e.value.properties||{};return k.imageUrl||((x=k._raw)==null?void 0:x.ImageURL)||null});function F(k){var ce;if(j.value==="collapsed")return;const x=k.touches[0],B=M.value;if(!x||!B)return;const me=x.clientY-B.getBoundingClientRect().top<=KA?"grab":ke.value==="detail"?"content":null;me&&(K.pending=me,K.active=!1,K.startY=x.clientY,K.startH=B.offsetHeight,K.lastH=K.startH,K.startState=j.value,K.containerH=((ce=B.parentElement)==null?void 0:ce.offsetHeight)||window.innerHeight,K.maxH=K.containerH-Sg,K.contentEl=B.querySelector(".legend-content"))}function I(k){if(!K.pending&&!K.active)return;const x=k.touches[0];if(!x)return;const B=K.startY-x.clientY;if(!K.active){if(B===0)return;let me=K.pending==="grab";if(K.pending==="content"){const ce=!K.contentEl||K.contentEl.scrollTop<=0;me=B>0?K.startH<K.maxH-1:ce}if(K.pending=null,!me)return;K.active=!0,z.value=!0}k.preventDefault();const X=Math.round(Math.min(K.maxH,Math.max(VA,K.startH+B)));K.lastH=X,n.setLegendHeight(`${X}px`)}function W(){if(K.pending=null,!K.active)return;K.active=!1,z.value=!1,Q=Date.now();const k=K.lastH,x=k-K.startH,B=K.containerH*.3;if(ke.value!=="detail"){k<B*.5&&n.collapseLegend();return}if(Math.abs(x)<qA){Y(K.startState);return}if(k<B*.5){n.collapseLegend();return}x>0?n.fullyOpenLegend():K.startState==="fullyOpen"?n.openLegend():n.collapseLegend()}function Y(k){k==="fullyOpen"?n.fullyOpenLegend():k==="collapsed"?n.collapseLegend():n.openLegend()}let O=null,ue=null,te=null;return $o(()=>{const k=M.value;if(!k||typeof ResizeObserver>"u")return;const x=k.getRootNode();ue=x instanceof ShadowRoot?x.host:x.documentElement||null,ue&&(te=k,O=new ResizeObserver(()=>{const B=k.offsetHeight;B<=0||(ue.style.setProperty(Ag,`${B}px`),ue.__legendSheetVarOwner=k)}),O.observe(k))}),Xt(()=>{O&&(O.disconnect(),O=null),ue&&ue.__legendSheetVarOwner===te&&(ue.style.removeProperty(Ag),ue.__legendSheetVarOwner=null),ue=null,te=null}),(k,x)=>{var B;return ae(),pe("div",FA,[ke.value==="detail"&&$e.value&&j.value==="open"&&T.value?(ae(),pe("div",{key:0,class:"floating-mini-image",onClick:x[0]||(x[0]=X=>ge(n).fullyOpenLegend())},[R("img",{src:T.value,alt:(B=$e.value.properties)==null?void 0:B.name,class:"mini-image"},null,8,IA)])):Le("",!0),R("div",{ref_key:"sheetRef",ref:M,class:Me(["legend-mobile-sheet",[j.value,{"sheet-dark":e.isDark,dragging:z.value}]]),style:dt({height:be.value,"--legend-sheet-top-reserve":Sg+"px"}),onTouchstart:F,onTouchmove:I,onTouchend:W,onTouchcancel:W},[R("div",{class:"sheet-drag-strip",onClick:de},[fe.value?(ae(),pe("div",OA)):Le("",!0)]),ke.value==="detail"&&j.value!=="collapsed"?(ae(),pe("button",{key:0,class:"detail-collapse-btn-mobile",onClick:gt(de,["stop"]),"aria-label":ge(t)("aria.toggleLegend")},null,8,DA)):Le("",!0),ke.value==="detail"&&j.value!=="collapsed"?(ae(),pe("button",{key:1,class:"detail-close-btn",onClick:gt(Pe,["stop"]),"aria-label":ge(t)("aria.backToLegend")},[...x[2]||(x[2]=[R("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[R("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,BA)):Le("",!0),j.value==="collapsed"&&ke.value==="detail"&&$e.value?(ae(),pe("div",{key:2,class:"collapsed-detail-footer",onClick:de},[R("button",{class:"mobile-collapse-caret",style:dt({transform:`rotate(${xe.value}deg)`}),"aria-label":ge(t)("aria.toggleLegend"),tabindex:"-1"},[...x[3]||(x[3]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,GA),R("span",jA,ye(ne.value),1)])):Le("",!0),R("div",UA,[ke.value==="detail"&&$e.value?(ae(),pe(Ue,{key:0},[j.value!=="collapsed"?(ae(),et($l,{key:0,peopleGroup:$e.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):Le("",!0)],64)):e.legendType!=="default"?(ae(),et(wg,{key:1,nodes:U.value,tabs:D.value,"default-tab":e.defaultTab,title:ne.value||L.value,hideTabs:e.nodes?!e.tabs:H.value,columnLabel:y.value,columns:e.columns||["count","pop"],"export-enabled":i.value,onSelect:ge(s),onExport:x[1]||(x[1]=X=>ge(r)&&ge(r)(X))},{"title-caret":jt(()=>[R("button",{class:"mobile-collapse-caret",style:dt({transform:`rotate(${xe.value}deg)`}),onClick:gt(de,["stop"]),"aria-label":ge(t)("aria.toggleLegend")},[...x[4]||(x[4]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,zA)]),_:1},8,["nodes","tabs","default-tab","title","hideTabs","columnLabel","columns","export-enabled","onSelect"])):(ae(),et(gg,{key:2,title:ne.value,items:ge(c),columns:ge(u),activeFilter:ge(f),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:ge(v),totalPopulation:ge(b),fmtPop:ge(_),fmtCount:ge($),onFilterClick:ee},{"title-caret":jt(()=>[R("button",{class:"mobile-collapse-caret",style:dt({transform:`rotate(${xe.value}deg)`}),onClick:gt(de,["stop"]),"aria-label":ge(t)("aria.toggleLegend")},[...x[5]||(x[5]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,HA)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount"]))])],38)])}}},[["styles",[RA]],["__scopeId","data-v-f1552af9"]])},Symbol.toStringTag,{value:"Module"})),Cg={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function WA(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function YA(e,{weight:t="regular",mapbox:o}={}){return WA(e)?{"text-font":[Cg[t]||Cg.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}function Eg(e,t,o,n){const a=parseFloat(t)-parseFloat(n),s=parseFloat(e)-parseFloat(o);return Math.sqrt(a*a+s*s)}function XA(e,t){const o={};for(const n of e){const a=t(n);o[a]||(o[a]=[]),o[a].push(n)}return o}const ZA=Object.freeze({cluster:!0,clusterMaxZoom:6,clusterRadius:40}),JA=Object.freeze(["step",["get","point_count"],"#51bbd6",10,"#f1f075",50,"#f28cb1",500,"#e74c3c"]),QA=Object.freeze(["step",["get","point_count"],15,10,20,50,25,500,35]);class Tg{constructor(t={}){this.maxConnectionDistance=t.maxConnectionDistance??1/0}_calculateDistance(t,o){return Eg(parseFloat(t.latitude),parseFloat(t.longitude),parseFloat(o.latitude),parseFloat(o.longitude))}_createUnionFind(t){const o=Array.from({length:t},(r,i)=>i),n=new Array(t).fill(0),a=r=>(o[r]!==r&&(o[r]=a(o[r])),o[r]);return{find:a,union:(r,i)=>{const l=a(r),c=a(i);return l===c?!1:(n[l]<n[c]?o[l]=c:n[l]>n[c]?o[c]=l:(o[c]=l,n[l]++),!0)}}}generateMSTLines(t,o={}){const n=o.maxConnectionDistance??this.maxConnectionDistance;if(!t||t.length<2)return[];const a=t.filter(d=>{const f=parseFloat(d.latitude),A=parseFloat(d.longitude);return!isNaN(f)&&!isNaN(A)});if(a.length<2)return[];const s=[];for(let d=0;d<a.length;d++)for(let f=d+1;f<a.length;f++){const A=this._calculateDistance(a[d],a[f]);A<=n&&s.push({from:d,to:f,distance:A,fromPoint:a[d],toPoint:a[f]})}s.sort((d,f)=>d.distance-f.distance);const r=this._createUnionFind(a.length),i=[];let l=0;const c=a.length-1;for(const d of s){if(l>=c)break;r.union(d.from,d.to)&&(i.push(d),l++)}const u=i.map(d=>({type:"Feature",geometry:{type:"LineString",coordinates:[[parseFloat(d.fromPoint.longitude),parseFloat(d.fromPoint.latitude)],[parseFloat(d.toPoint.longitude),parseFloat(d.toPoint.latitude)]]},properties:{distance:d.distance,algorithm:"MST"}}));return i.length<c&&console.warn(`[MST] Connected ${l+1} of ${a.length} points. Some points may be too far apart (>${n} deg).`),u}generateMultiGroupMSTLines(t,o=null,n={}){const a={},s=Object.keys(t).sort((r,i)=>t[i].length-t[r].length);for(const r of s){const i=t[r];if(!i||i.length<2){a[r]={lines:[],count:0,pointCount:(i==null?void 0:i.length)||0};continue}const l=this.generateMSTLines(i,n);if(typeof o=="function"){const c=o(r);l.forEach(u=>{u.properties={...u.properties,group:r,color:c}})}else l.forEach(c=>{c.properties={...c.properties,group:r}});a[r]={lines:l,count:l.length,pointCount:i.length}}return a}generateAllMSTLines(t,o=null,n={}){const a=this.generateMultiGroupMSTLines(t,o,n),s=[];for(const r in a)s.push(...a[r].lines);return s}getMSTStats(t,o={}){const n=this.generateMultiGroupMSTLines(t,null,o);let a=0,s=0;const r=[];for(const l in n){const{lines:c,pointCount:u}=n[l];a+=c.length,s+=u;const d=Math.max(0,u-1),f=u>1?(c.length/d*100).toFixed(1):100;r.push({name:l,points:u,lines:c.length,expected:d,coverage:f+"%",hasOrphans:c.length<d})}r.sort((l,c)=>c.points-l.points);const i=r.filter(l=>l.hasOrphans).length;return{algorithm:"MST (Minimum Spanning Tree)",totalGroups:Object.keys(t).length,totalPoints:s,totalLines:a,expectedLines:Math.max(0,s-Object.keys(t).length),groupsWithOrphans:i,allPointsConnected:i===0,groups:r}}}new Tg;class Ng{constructor(t={}){this.maxDistance=t.maxDistance??15,this.maxNeighbors=t.maxNeighbors??15,this.sortKey=t.sortKey??"longitude"}_calculateDistance(t,o,n,a){return Eg(t,o,n,a)}generateNetworkLines(t,o={}){const n=o.maxDistance??this.maxDistance,a=o.maxNeighbors??this.maxNeighbors,s=o.sortKey??this.sortKey,r=o.connectOrphans??!0;if(!t||t.length<2)return[];const i=t.filter(d=>{const f=parseFloat(d.latitude),A=parseFloat(d.longitude);return!isNaN(f)&&!isNaN(A)});if(i.length<2)return[];const l=[],c=new Set,u=[...i].sort((d,f)=>parseFloat(d[s])-parseFloat(f[s]));for(let d=0;d<u.length;d++){const f=u[d],A=parseFloat(f.latitude),v=parseFloat(f.longitude),b=Math.min(d+1+a,u.length);for(let _=d+1;_<b;_++){const $=u[_],h=parseFloat($.latitude),m=parseFloat($.longitude),w=this._calculateDistance(A,v,h,m);w<n&&(l.push({type:"Feature",geometry:{type:"LineString",coordinates:[[v,A],[m,h]]},properties:{distance:w,type:"normal"}}),c.add(d),c.add(_))}}if(r){for(let f=0;f<u.length;f++){if(c.has(f))continue;const A=u[f],v=parseFloat(A.latitude),b=parseFloat(A.longitude);let _=-1,$=1/0;for(let h=0;h<u.length;h++){if(f===h||!c.has(h))continue;const m=u[h],w=parseFloat(m.latitude),p=parseFloat(m.longitude),P=this._calculateDistance(v,b,w,p);P<$&&($=P,_=h)}if(_!==-1){const h=u[_];l.push({type:"Feature",geometry:{type:"LineString",coordinates:[[b,v],[parseFloat(h.longitude),parseFloat(h.latitude)]]},properties:{distance:$,type:"orphan-connector"}}),c.add(f)}}const d=[];for(let f=0;f<u.length;f++)c.has(f)||d.push(f);for(const f of d){const A=u[f],v=parseFloat(A.latitude),b=parseFloat(A.longitude);let _=-1,$=1/0;for(let h=0;h<u.length;h++){if(f===h)continue;const m=u[h],w=parseFloat(m.latitude),p=parseFloat(m.longitude),P=this._calculateDistance(v,b,w,p);P<$&&($=P,_=h)}if(_!==-1){const h=u[_];l.push({type:"Feature",geometry:{type:"LineString",coordinates:[[b,v],[parseFloat(h.longitude),parseFloat(h.latitude)]]},properties:{distance:$,type:"orphan-to-orphan"}}),c.add(f)}}}return l}generateMultiGroupNetworkLines(t,o=null,n={}){const a={},s=Object.keys(t).sort((r,i)=>t[i].length-t[r].length);for(const r of s){const i=t[r];if(!i||i.length<2){a[r]={lines:[],count:0,pointCount:(i==null?void 0:i.length)||0};continue}const l=this.generateNetworkLines(i,n);if(typeof o=="function"){const c=o(r);l.forEach(u=>{u.properties={...u.properties,group:r,color:c}})}else l.forEach(c=>{c.properties={...c.properties,group:r}});a[r]={lines:l,count:l.length,pointCount:i.length}}return a}generateAllNetworkLines(t,o=null,n={}){const a=this.generateMultiGroupNetworkLines(t,o,n),s=[];for(const r in a)s.push(...a[r].lines);return s}getClusteringStats(t,o={}){const n=this.generateMultiGroupNetworkLines(t,null,o);let a=0,s=0;const r=[];for(const i in n){const{lines:l,pointCount:c}=n[i];a+=l.length,s+=c,r.push({name:i,points:c,lines:l.length,ratio:c>0?(l.length/c).toFixed(2):0})}return r.sort((i,l)=>l.points-i.points),{algorithm:"Network (nearest-neighbor)",totalGroups:Object.keys(t).length,totalPoints:s,totalLines:a,avgLinesPerPoint:s>0?(a/s).toFixed(2):0,groups:r}}}new Ng({maxDistance:15,maxNeighbors:15,sortKey:"longitude"});const aa="cluster-lines-source",sa="cluster-lines",rn="mapbox-clusters",Qt="mapbox-clusters-circle",ra="mapbox-clusters-count",eP=Object.freeze({type:"FeatureCollection",features:[]});function Mg(e={}){const{getMap:t=()=>null,mapId:o="unknown",getPeopleGroups:n=()=>[],pinSourceId:a="language-families",pinLayerId:s="language-family-pins",groupKey:r="languageFamily",getGroupColor:i=null,mapboxClusterOptions:l={}}=e,c=Ne("mapStore",null),u=new Tg({maxConnectionDistance:1/0}),d=new Ng({maxDistance:15,maxNeighbors:15,sortKey:"longitude"}),f=he(!1),A=he("mapbox"),v=oe(()=>c&&"clusteringEnabled"in c?!!c.clusteringEnabled:f.value),b=oe(()=>c&&c.clusteringMode?c.clusteringMode:A.value),_=he([]);let $=null,h=null,m=null;function w(j){const be=["mapbox","mst","network"];if(!be.includes(j)){console.warn(`[${o}] useMapClustering.setMode: unknown mode "${j}". Allowed: ${be.join(", ")}`);return}c&&typeof c.setClusteringMode=="function"?c.setClusteringMode(j):c&&"clusteringMode"in c?c.clusteringMode=j:A.value=j,v.value&&(G(),S())}function p(j){const be=!!j;c&&typeof c.setClusteringEnabled=="function"?c.setClusteringEnabled(be):c&&"clusteringEnabled"in c?c.clusteringEnabled=be:f.value=be,be?S():G()}function P(j){!j||!j.property||j.value==null?m=null:m={property:j.property,value:j.value},c&&("clusterFilterProperty"in c&&(c.clusterFilterProperty=(m==null?void 0:m.property)??null),"clusterFilterValue"in c&&(c.clusterFilterValue=(m==null?void 0:m.value)??null)),v.value&&(G(),S())}function g(j){if(!m)return j;const{property:be,value:xe}=m,fe=$e=>String($e||"").toLowerCase().replace(/[^a-z0-9]+/g,""),ke=fe(xe);return ke?j.filter($e=>{var ee,de;const ne=($e==null?void 0:$e[be])??((ee=$e==null?void 0:$e.properties)==null?void 0:ee[be])??((de=$e==null?void 0:$e._normalized)==null?void 0:de[be]);return fe(ne)===ke}):j}function C(j){$=j}function S(){const j=t();if(j){switch(G(),b.value){case"mapbox":D(j);break;case"mst":L(j,"mst");break;case"network":L(j,"network");break;default:console.warn(`[${o}] Unknown clustering mode: ${b.value}`)}ie(j,!0)}}function G(){const j=t();j&&(J(j,ra,!1),J(j,Qt,!1),U(j,rn),J(j,sa,!1),U(j,aa),_.value=[],M(j),ie(j,!1))}function H(){const j=t();j&&(M(j),j.getLayer(ra)&&j.removeLayer(ra),j.getLayer(Qt)&&j.removeLayer(Qt),j.getSource(rn)&&j.removeSource(rn),j.getLayer(sa)&&j.removeLayer(sa),j.getSource(aa)&&j.removeSource(aa),ie(j,!1)),_.value=[],$=null}function J(j,be,xe){if(j.getLayer(be))try{j.setLayoutProperty(be,"visibility",xe?"visible":"none")}catch{}}function U(j,be){const xe=j.getSource(be);if(xe&&typeof xe.setData=="function")try{xe.setData(eP)}catch{}}function D(j){const be=g(n());if(!be.length)return;const xe=be.map($e=>{const ne=parseFloat($e.longitude??$e.lng),ee=parseFloat($e.latitude??$e.lat);return isNaN(ne)||isNaN(ee)?null:{type:"Feature",geometry:{type:"Point",coordinates:[ne,ee]},properties:{...$e.properties||$e}}}).filter(Boolean),fe={type:"FeatureCollection",features:xe},ke=j.getSource(rn);ke&&typeof ke.setData=="function"?ke.setData(fe):j.addSource(rn,{type:"geojson",data:fe,...ZA,...l}),j.getLayer(Qt)?J(j,Qt,!0):j.addLayer({id:Qt,type:"circle",source:rn,filter:["has","point_count"],paint:{"circle-color":JA,"circle-radius":QA,"circle-stroke-width":2,"circle-stroke-color":"#ffffff",...Ao(j),"circle-opacity":.85}}),j.getLayer(ra)?J(j,ra,!0):j.addLayer({id:ra,type:"symbol",source:rn,filter:["has","point_count"],layout:{"text-field":["get","point_count_abbreviated"],...YA(j,{weight:"medium",mapbox:["DIN Offc Pro Medium","Arial Unicode MS Bold"]}),"text-size":12},paint:{"text-color":"#000000"}}),y(j),console.log(`[${o}] Clustering: mapbox-native applied (${xe.length} features)`)}function L(j,be){const xe=g(n());if(!xe.length)return;const fe=XA(xe,Pe=>{var T;return Pe[r]??((T=Pe._normalized)==null?void 0:T[r])??"Unknown"}),ke=typeof i=="function"?i:()=>"#666666";let $e=[],ne=null;if(be==="mst"?($e=u.generateAllMSTLines(fe,ke),ne=u.getMSTStats(fe)):($e=d.generateAllNetworkLines(fe,ke),ne=d.getClusteringStats(fe)),_.value=$e,$e.length===0)return;const ee={type:"FeatureCollection",features:$e},de=j.getSource(aa);if(de&&typeof de.setData=="function"?de.setData(ee):j.addSource(aa,{type:"geojson",data:ee}),j.getLayer(sa))J(j,sa,!0);else{const Pe={id:sa,type:"line",source:aa,paint:{"line-color":["coalesce",["get","color"],"#666666"],"line-width":["interpolate",["linear"],["zoom"],0,.5,4,.75,8,1,12,1.5],...Ao(j,"line"),"line-opacity":.5},layout:{"line-cap":"round","line-join":"round"}};j.getLayer(s)?j.addLayer(Pe,s):j.addLayer(Pe)}console.log(`[${o}] Clustering: ${be} applied — ${$e.length} lines across ${(ne==null?void 0:ne.totalGroups)??0} groups`)}function y(j){j.getLayer(Qt)&&(j.on("click",Qt,z),j.on("mouseenter",Qt,K),j.on("mouseleave",Qt,Q),h=Qt)}function M(j){if(!h)return;const be=h;try{j.off("click",be,z),j.off("mouseenter",be,K),j.off("mouseleave",be,Q)}catch{}h=null}function z(j){const be=t();if(!be)return;const xe=be.queryRenderedFeatures(j.point,{layers:[Qt]});if(!xe.length)return;const fe=xe[0],ke=fe.properties.cluster_id,$e=fe.geometry.coordinates,ne=fe.properties.point_count;if(typeof $=="function"){$({clusterId:ke,coordinates:$e,pointCount:ne,originalEvent:j});return}const ee=be.getSource(rn);!ee||typeof ee.getClusterExpansionZoom!="function"||ee.getClusterExpansionZoom(ke,(de,Pe)=>{de||be.easeTo({center:$e,zoom:Pe})})}function K(){const j=t();j&&(j.getCanvas().style.cursor="pointer")}function Q(){const j=t();j&&(j.getCanvas().style.cursor="")}function ie(j,be){if(j.getLayer(s))try{j.setPaintProperty(s,"circle-opacity",be?.25:.9)}catch{}}return{enabled:v,mode:b,clusterLines:_,setMode:w,setEnabled:p,setSelectionFilter:P,onClusterClick:C,applyClustering:S,clearClustering:G,cleanup:H,mstUtil:u,networkUtil:d}}const tP=Object.freeze(Object.defineProperty({__proto__:null,default:Mg,useMapClustering:Mg},Symbol.toStringTag,{value:"Module"})),yt={dpi:300,margins:{top:.75,right:.75,bottom:.75,left:.75},bleed:.125,gutter:{in:.2},title:{heightIn:1.25,fontFamily:'Inter, system-ui, -apple-system, "Segoe UI", sans-serif',fontWeightTitle:700,fontWeightSubtitle:500,fontSizeTitlePt:36,fontSizeSubtitlePt:16,color:"#0a0a0a"},legend:{widthIn:3,fontFamily:"Inter, system-ui, sans-serif",fontSizePt:11,swatchSize:14,backgroundColor:"rgba(255,255,255,0.94)",borderColor:"#cccccc"},chromeBand:{heightIn:.6},scaleBar:{widthIn:2.5,units:"both",color:"#111",backgroundColor:"rgba(255,255,255,0.9)"},north:{sizeIn:.6,color:"#111"},footer:{heightIn:.45,fontFamily:"Inter, system-ui, sans-serif",fontSizePt:10,color:"#222",attribution:"© Mapbox © OpenStreetMap",backgroundColor:"rgba(255,255,255,0.92)"}};function oP(e){return{widthIn:e.widthIn,heightIn:e.heightIn,dpi:e.dpi||yt.dpi,orientation:e.orientation||(e.heightIn>=e.widthIn?"portrait":"landscape"),margins:{...yt.margins},bleed:yt.bleed,slots:{title:{text:"Untitled",subtitle:"",heightIn:yt.title.heightIn},legend:{rows:[],type:"generic",widthIn:yt.legend.widthIn},scaleBar:!0,north:!0,footer:{left:"",right:"",attribution:yt.footer.attribution,heightIn:yt.footer.heightIn}},renderPath:"auto"}}const Rg=Object.freeze(Object.defineProperty({__proto__:null,defaultPosterSpec:oP,posterDefaults:yt},Symbol.toStringTag,{value:"Module"}));function Rt(e,t){return Math.round(e*t)}function nP(e,t){var p,P,g,C,S,G,H,J;const o=t.dpi,n=e.margins||yt.margins,a={x:0,y:0,w:t.width,h:t.height},s={x:Rt(n.left,o),y:Rt(n.top,o),w:t.width-Rt(n.left+n.right,o),h:t.height-Rt(n.top+n.bottom,o)},r=(p=e.slots)!=null&&p.title?Rt(e.slots.title.heightIn||yt.title.heightIn,o):0,i={x:s.x,y:s.y,w:s.w,h:r},l=Rt(((g=(P=e.slots)==null?void 0:P.footer)==null?void 0:g.heightIn)||yt.footer.heightIn,o),c={x:s.x,y:s.y+s.h-l,w:s.w,h:l},u=(C=e.slots)!=null&&C.legend?Rt(e.slots.legend.widthIn||yt.legend.widthIn,o):0,d=(S=e.slots)!=null&&S.scaleBar||(G=e.slots)!=null&&G.north?Rt(yt.chromeBand.heightIn,o):0,f=s.y+r+(r?Rt(yt.gutter.in,o):0),A=c.y-d-(d?Rt(yt.gutter.in,o):0),v={x:s.x,y:f,w:s.w-(u?u+Rt(yt.gutter.in,o):0),h:A-f},b=u?{x:s.x+s.w-u,y:f,w:u,h:v.h}:{x:0,y:0,w:0,h:0},_=Rt(yt.scaleBar.widthIn,o),$=d,h=(H=e.slots)!=null&&H.scaleBar?{x:s.x,y:A+(d?Rt(yt.gutter.in,o):0),w:_,h:$}:{x:0,y:0,w:0,h:0},m=Rt(yt.north.sizeIn,o),w=(J=e.slots)!=null&&J.north?{x:s.x+s.w-m-(u?u+Rt(yt.gutter.in,o):0),y:A+(d?Rt(yt.gutter.in,o):0),w:m,h:m}:{x:0,y:0,w:0,h:0};return{page:a,content:s,title:i,map:v,legend:b,scaleBar:h,north:w,footer:c}}const Sn=4096,Co=2048,Fg=15e3;function Ig(e){const t=he({phase:"idle",completed:0,total:0,message:"",fraction:0,percent:0}),o=he(!1);let n=null;async function a(v,b="png"){if(o.value)throw new Error("useMapPoster: already rendering");const _=e();if(!_)throw new Error("useMapPoster: no source map");n=new AbortController;const $=lP(v.signal,n.signal);o.value=!0,l=0,c("init",1,1,"preparing render");try{const h=Og(v),m=aP(v.renderPath||"auto",h);m==="single"&&(h.width>Sn||h.height>Sn)&&console.warn(`[useMapPoster] requested single-canvas ${h.width}×${h.height}px > ${Sn}; auto-switching to tile-stitch.`);const p=(m==="single"&&(h.width>Sn||h.height>Sn)?"stitch":m)==="single"?await u(_,h,$):await d(_,h,$);c("compose",0,1,"compositing overlay");const P=await f(p,v,h);c("encode",0,1,`encoding ${b.toUpperCase()}`);const g=b==="pdf"?await iP(P,v):await rP(P,"image/png");return c("done",1,1,"render complete"),g}finally{o.value=!1,n=null}}function s(){n&&n.abort()}const r={init:.02,"hidden-map":.3,stitch:.42,capture:.14,compose:.06,encode:.05,done:.01},i=["init","hidden-map","stitch","capture","compose","encode","done"];let l=0;function c(v,b,_,$){const h=i.indexOf(v);let m=0;for(let P=0;P<h;P++)m+=r[i[P]]||0;const w=_>0?Math.min(1,b/_):0,p=m+(r[v]||0)*w;l=v==="init"?p:Math.max(l,p),t.value={phase:v,completed:b,total:_,message:$,fraction:Math.min(1,l),percent:Math.round(Math.min(1,l)*100)}}async function u(v,b,_){c("hidden-map",0,3,"creating hidden map");const{hiddenMap:$,restoreDpr:h,container:m}=await Dg(v,b.width,b.height);try{wl(_),c("hidden-map",1,3,"loading map tiles"),await Gg($),c("hidden-map",3,3,"tiles loaded"),wl(_),c("capture",0,1,"capturing canvas");const w=$.getCanvas().toDataURL("image/png"),p=await jg(w),P=document.createElement("canvas");return P.width=b.width,P.height=b.height,P.getContext("2d").drawImage(p,0,0,b.width,b.height),P}finally{try{$.remove()}catch{}m!=null&&m.parentNode&&m.parentNode.removeChild(m),h()}}async function d(v,b,_){const $=Math.ceil(b.width/Co),h=Math.ceil(b.height/Co),m=$*h;c("hidden-map",0,m,`creating hidden map (${$}×${h} tiles)`);const w=v.getBounds(),p=v.getCenter(),P=v.getZoom(),g=v.getBearing(),C=v.getPitch(),{hiddenMap:S,restoreDpr:G,container:H}=await Dg(v,Co,Co,{preserveBounds:!0,bounds:w});try{const J=document.createElement("canvas");J.width=b.width,J.height=b.height;const U=J.getContext("2d"),D=w.getNorthEast(),L=w.getSouthWest(),y=D.lng-L.lng,M=D.lat-L.lat,z=y/$,K=M/h;let Q=0;for(let ie=0;ie<h;ie++)for(let j=0;j<$;j++){wl(_);const be=[L.lng+j*z,D.lat-(ie+1)*K],xe=[L.lng+(j+1)*z,D.lat-ie*K];S.fitBounds([be,xe],{padding:0,animate:!1,duration:0}),await Gg(S);const fe=S.getCanvas().toDataURL("image/png"),ke=await jg(fe),$e=j*Co,ne=ie*Co,ee=Math.min(Co,b.width-$e),de=Math.min(Co,b.height-ne);U.drawImage(ke,0,0,Co,Co,$e,ne,ee,de),Q++,c("stitch",Q,m,`tile ${Q}/${m}`)}return v.jumpTo({center:p,zoom:P,bearing:g,pitch:C}),J}finally{try{S.remove()}catch{}H!=null&&H.parentNode&&H.parentNode.removeChild(H),G()}}async function f(v,b,_){const $=nP(b,_),h=v.getContext("2d"),m=await A(b,$);for(const w of m){const p=await sP(w.svg,w.box.w,w.box.h);h.drawImage(p,w.box.x,w.box.y,w.box.w,w.box.h)}return v}async function A(v,b){var $,h,m,w,p,P;const _=[];return($=v.slots)!=null&&$.title&&_.push({box:b.title,svg:cP(v,b.title)}),(w=(m=(h=v.slots)==null?void 0:h.legend)==null?void 0:m.rows)!=null&&w.length&&_.push({box:b.legend,svg:uP(v,b.legend)}),(p=v.slots)!=null&&p.scaleBar&&_.push({box:b.scaleBar,svg:pP(v,b.scaleBar)}),(P=v.slots)!=null&&P.north&&_.push({box:b.north,svg:dP(v,b.north)}),_.push({box:b.footer,svg:gP(v,b.footer)}),_}return{render:a,progress:pn(t),isRendering:pn(o),cancel:s}}function Og(e){let t=e.widthIn,o=e.heightIn;e.orientation==="landscape"&&o>t&&([t,o]=[o,t]),e.orientation==="portrait"&&t>o&&([t,o]=[o,t]);const n=e.dpi||300;return{width:Math.round(t*n),height:Math.round(o*n),dpi:n}}function aP(e,t){return e==="single"||e==="stitch"?e:t.width>Sn||t.height>Sn?"stitch":"single"}async function Dg(e,t,o,n={}){const a=document.createElement("div");a.style.cssText=`
|
||
position: fixed; top: -100000px; left: -100000px;
|
||
width: ${t}px; height: ${o}px; pointer-events: none; visibility: hidden;
|
||
`,document.body.appendChild(a);const s=window.devicePixelRatio,r=()=>{try{Object.defineProperty(window,"devicePixelRatio",{value:s,configurable:!0})}catch{}};try{Object.defineProperty(window,"devicePixelRatio",{value:1,configurable:!0})}catch{}const i=typeof window<"u"?window:{},l=!!i.maplibregl&&e instanceof i.maplibregl.Map,c=ar(e);if(!c)throw new Error("useMapPoster: "+(l?"maplibregl":"mapboxgl")+" global not found");const u=e.getStyle();l&&u&&typeof u.projection=="string"&&(u.projection={type:u.projection});const d=new c.Map({container:a,style:u,center:e.getCenter(),zoom:e.getZoom(),bearing:e.getBearing(),pitch:e.getPitch(),interactive:!1,attributionControl:!1,preserveDrawingBuffer:!0,canvasContextAttributes:{preserveDrawingBuffer:!0},fadeDuration:0});let f="";await new Promise((A,v)=>{let b=!1;const _=m=>{b||(b=!0,clearTimeout($),clearInterval(h),m?v(m):A())},$=setTimeout(()=>_(new Error("useMapPoster: hidden map style.load timeout"+(f?" ("+f+")":""))),Fg),h=setInterval(()=>{try{d.isStyleLoaded()&&_()}catch{}},100);d.once("style.load",()=>_()),d.once("load",()=>_()),d.on("error",m=>{var w;f=String(((w=m==null?void 0:m.error)==null?void 0:w.message)||(m==null?void 0:m.message)||m).slice(0,160)})});try{const A=typeof e.getLanguage=="function"?e.getLanguage():null;A&&typeof d.setLanguage=="function"&&d.setLanguage(A)}catch{}return n.preserveBounds&&n.bounds&&d.fitBounds(n.bounds,{padding:0,animate:!1,duration:0}),{hiddenMap:d,restoreDpr:r,container:a}}const Bg=6e4;function Gg(e){return new Promise(t=>{let o=!1;const n=[],a=r=>{o||(o=!0,n.forEach(clearTimeout),r&&console.warn("[useMapPoster] "+r),requestAnimationFrame(()=>t()))},s=()=>{try{return typeof e.areTilesLoaded=="function"&&e.areTilesLoaded()}catch{return!1}};n.push(setTimeout(()=>{s()&&a()},Fg)),n.push(setTimeout(()=>a("hidden map not idle after "+Bg/1e3+"s; capturing what is drawn"),Bg)),e.loaded()&&!e.isMoving()?a():e.once("idle",()=>a())})}function jg(e){return new Promise((t,o)=>{const n=new Image;n.crossOrigin="anonymous",n.onload=()=>t(n),n.onerror=a=>o(new Error("image load failed: "+((a==null?void 0:a.message)||"unknown"))),n.src=typeof e=="string"?e:URL.createObjectURL(e)})}function sP(e,t,o){const n=new Blob([e],{type:"image/svg+xml;charset=utf-8"}),a=URL.createObjectURL(n);return new Promise((s,r)=>{const i=new Image;i.onload=()=>{URL.revokeObjectURL(a),s(i)},i.onerror=l=>{URL.revokeObjectURL(a),r(new Error("svg load failed: "+((l==null?void 0:l.message)||"unknown")))},i.width=t,i.height=o,i.src=a})}function rP(e,t){return new Promise((o,n)=>{e.toBlob(a=>a?o(a):n(new Error("toBlob failed")),t)})}async function iP(e,t){let o;try{const r=await oo(()=>import("https://esm.sh/jspdf@4.2.1"),void 0);o=r.jsPDF||r.default}catch{throw new Error("useMapPoster.toPdf: jspdf not installed (npm i jspdf svg2pdf.js)")}const n=e.toDataURL("image/png"),a=e.width>e.height?"l":"p",s=new o({orientation:a,unit:"in",format:[t.widthIn,t.heightIn]});return s.addImage(n,"PNG",0,0,t.widthIn,t.heightIn),s.output("blob")}function wl(e){if(e!=null&&e.aborted)throw new DOMException("useMapPoster: aborted","AbortError")}function lP(...e){const t=new AbortController;for(const o of e)if(o){if(o.aborted){t.abort();break}o.addEventListener("abort",()=>t.abort(),{once:!0})}return t.signal}function Ug(e){return(e==null?void 0:e.dir)==="rtl"}function xl(e,t,o){return Ug(e)?`x="${t.w-o}" text-anchor="start" direction="rtl"`:`x="${o}"`}function cP(e,t){var a,s,r,i;const o=(((s=(a=e.slots)==null?void 0:a.title)==null?void 0:s.text)||"").replace(/[<>&]/g,An),n=(((i=(r=e.slots)==null?void 0:r.title)==null?void 0:i.subtitle)||"").replace(/[<>&]/g,An);return`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="${t.w}" height="${t.h}" viewBox="0 0 ${t.w} ${t.h}">
|
||
<rect width="100%" height="100%" fill="rgba(255,255,255,0.92)"/>
|
||
<text ${xl(e,t,20)} y="${t.h*.55}" font-family="Inter, system-ui, sans-serif"
|
||
font-size="${Math.min(t.h*.5,64)}" font-weight="700" fill="#0a0a0a">${o}</text>
|
||
${n?`<text ${xl(e,t,20)} y="${t.h*.85}" font-family="Inter, system-ui, sans-serif"
|
||
font-size="${Math.min(t.h*.22,28)}" fill="#444">${n}</text>`:""}
|
||
</svg>`}function uP(e,t){var A,v,b,_;const o=(((v=(A=e.slots)==null?void 0:A.legend)==null?void 0:v.rows)||[]).slice(0,24),n=(((_=(b=e.slots)==null?void 0:b.legend)==null?void 0:_.title)||"Legend").replace(/[<>&]/g,An),a=Ug(e),s=Math.max(14,Math.round(t.w/26)),r=Math.round(s*1.9),i=Math.round(s*1.2),l=Math.round(s*1.1),c=Math.min(t.h,l*2+r*(o.length+1)),u=a?t.w-l-i:l,d=a?`x="${t.w-l-i-Math.round(s*.7)}" text-anchor="start" direction="rtl"`:`x="${l+i+Math.round(s*.7)}"`,f=o.map(($,h)=>{const m=l+r*(h+1.5),w=($.color||"#999").replace(/[<>&]/g,An),p=($.label||"").replace(/[<>&]/g,An);return`<g><rect x="${u}" y="${m-i+Math.round(s*.15)}" width="${i}" height="${i}" rx="2" fill="${w}" stroke="#222" stroke-width="0.5"/><text ${d} y="${m}" font-family="Inter, sans-serif" font-size="${s}" fill="#111">${p}</text></g>`}).join("");return`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="${t.w}" height="${t.h}" viewBox="0 0 ${t.w} ${t.h}">
|
||
<rect width="${t.w}" height="${c}" fill="rgba(255,255,255,0.94)" stroke="#ccc"/>
|
||
<text ${xl(e,t,l)} y="${l+r*.6}" font-family="Inter, sans-serif" font-size="${Math.round(s*1.1)}" font-weight="700" fill="#111">${n}</text>
|
||
${f}
|
||
</svg>`}function pP(e,t){return`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="${t.w}" height="${t.h}" viewBox="0 0 ${t.w} ${t.h}">
|
||
<rect x="0" y="${t.h-18}" width="${t.w*.9}" height="6" fill="#000"/>
|
||
<text x="0" y="${t.h-22}" font-family="Inter, sans-serif" font-size="12" fill="#111">scale</text>
|
||
</svg>`}function dP(e,t){const o=Math.min(t.w,t.h);return`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="${t.w}" height="${t.h}" viewBox="0 0 ${o} ${o}">
|
||
<polygon points="${o/2},4 ${o*.65},${o*.85} ${o/2},${o*.7} ${o*.35},${o*.85}" fill="#111"/>
|
||
<text x="${o/2}" y="${o*.98}" text-anchor="middle" font-family="Inter, sans-serif" font-size="${o*.18}" fill="#111">N</text>
|
||
</svg>`}function gP(e,t){var s,r,i,l,c,u;const o=(((r=(s=e.slots)==null?void 0:s.footer)==null?void 0:r.left)||"").replace(/[<>&]/g,An),n=(((l=(i=e.slots)==null?void 0:i.footer)==null?void 0:l.right)||"").replace(/[<>&]/g,An),a=((u=(c=e.slots)==null?void 0:c.footer)==null?void 0:u.attribution)||"© Mapbox © OpenStreetMap";return`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="${t.w}" height="${t.h}" viewBox="0 0 ${t.w} ${t.h}">
|
||
<rect width="100%" height="100%" fill="rgba(255,255,255,0.92)"/>
|
||
<text x="14" y="${t.h*.55}" font-family="Inter, sans-serif" font-size="12" fill="#222">${o}</text>
|
||
<text x="${t.w/2}" y="${t.h*.55}" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="#222">${a}</text>
|
||
<text x="${t.w-14}" y="${t.h*.55}" text-anchor="end" font-family="Inter, sans-serif" font-size="12" fill="#222">${n}</text>
|
||
</svg>`}function An(e){return e==="<"?"<":e===">"?">":"&"}const fP=Object.freeze(Object.defineProperty({__proto__:null,posterPixels:Og,useMapPoster:Ig},Symbol.toStringTag,{value:"Module"}));function hP(e){const t=he({phase:"idle",completed:0,total:0,message:""}),o=he(!1);function n(s,r,i,l){t.value={phase:s,completed:r,total:i,message:l}}async function a(s,r,i={}){if(o.value)throw new Error("useMapPacket: already rendering");o.value=!0;const l=Array.isArray(r)?r:[],c=1+l.length;try{n("map",0,c,"rendering map page");const u=await Ig(e).render(s,"png"),d=await kP(u);n("pdf-init",1,c,"building PDF");let f;try{const $=await oo(()=>import("https://esm.sh/jspdf@4.2.1"),void 0);f=$.jsPDF||$.default}catch{throw new Error("useMapPacket: jspdf not installed (npm i jspdf)")}const A=new f({orientation:s.widthIn>s.heightIn?"l":"p",unit:"in",format:[s.widthIn,s.heightIn]}),v=s.widthIn,b=s.heightIn,_=bP(i);A.addImage(d,"PNG",0,0,v,b),zg(A,v,b,_);for(let $=0;$<l.length;$++){const h=l[$]||{};A.addPage(),mP(A,v,b,h,_),n("cards",2+$,c,`card ${$+1}/${l.length}`)}return n("done",c,c,"packet complete"),A.output("blob")}finally{o.value=!1}}return{renderPacket:a,progress:pn(t),isRendering:pn(o)}}function mP(e,t,o,n,a){const s=Math.min(t,o)*.08,r=s;let i=s;const l=$P(n);e.setFont("helvetica","bold"),e.setFontSize(28),e.setTextColor(20,20,20),e.text(l,r,i+.32),i+=.7,e.setDrawColor(146,177,149),e.setLineWidth(.02),e.line(r,i,t-s,i),i+=.45;const c=[["Country",yP(n)],["Population",_P(n)],["% Evangelical",Hg(n,"evangelical")],["% Christian",Hg(n,"christian")],["Prayer count",vP(n)]],u=r,d=r+2.4,f=.5;e.setFontSize(14);for(const[A,v]of c)e.setFont("helvetica","normal"),e.setTextColor(110,110,110),e.text(String(A),u,i),e.setFont("helvetica","bold"),e.setTextColor(40,40,40),e.text(String(v),d,i),e.setDrawColor(225,225,225),e.setLineWidth(.008),e.line(u,i+.14,t-s,i+.14),i+=f;zg(e,t,o,a)}function zg(e,t,o,n){const a=Math.min(t,o)*.04;e.setFont("helvetica","normal"),e.setFontSize(8),e.setTextColor(120,120,120),e.text(n,a,o-a,{baseline:"bottom"})}function bP(e={}){const t=e.date||new Date().toISOString().slice(0,10),o=e.attribution||"© Mapbox © OpenStreetMap",n=[];return e.source&&n.push(String(e.source)),n.push(String(t)),n.push(o),n.join(" • ")}function qa(e){return e&&e.properties?e.properties:e||{}}function Wa(...e){for(const t of e)if(t!=null&&t!=="")return t}function $P(e){var o,n;const t=qa(e);return Wa(t.name,t.peopleName,t.PeopNameInCountry,(o=t._raw)==null?void 0:o.PeopNameInCountry,(n=t._raw)==null?void 0:n.peo_name,e.name)??"—"}function yP(e){var o;const t=qa(e);return Wa(t.countryName,t.countryIsoLabel,t.country,t.countryIso,(o=t._raw)==null?void 0:o.Country,e.country)??"—"}function _P(e){var a;const t=qa(e),o=Wa(t.population,(a=t._raw)==null?void 0:a.Population,e.population),n=Number(String(o??"").replace(/,/g,""));return o===void 0||Number.isNaN(n)?"—":n.toLocaleString()}function Hg(e,t){var i,l,c,u,d;const o=qa(e),n=t==="evangelical"?[o.percentEvangelical,o.pctEvangelical,o.evangelical,(i=o._raw)==null?void 0:i.PercentEvangelical,(l=o._raw)==null?void 0:l.percent_evangelical]:[o.percentChristian,o.pctChristian,o.percentAdherents,o.christian,(c=o._raw)==null?void 0:c.PercentChristianPC,(u=o._raw)==null?void 0:u.percent_christian,(d=o._raw)==null?void 0:d.PercentAdherents],a=Wa(...n);if(a===void 0)return"—";const s=Number(a);return Number.isNaN(s)?"—":`${(s>0&&s<=1?s*100:s).toFixed(1)}%`}function vP(e){var a;const t=qa(e),o=Wa(t.peoplePraying,(a=t._raw)==null?void 0:a.people_praying,e.peoplePraying);if(o===void 0)return"—";const n=Number(o);return Number.isNaN(n)?"—":n.toLocaleString()}function kP(e){return new Promise((t,o)=>{const n=new FileReader;n.onload=()=>t(n.result),n.onerror=()=>o(new Error("useMapPacket: failed to read map blob")),n.readAsDataURL(e)})}const wP=Object.freeze(Object.defineProperty({__proto__:null,useMapPacket:hP},Symbol.toStringTag,{value:"Module"}))})();
|