{const{el:_,type:v,transition:x,children:$,shapeFlag:g}=a;if(g&6){at(a.component.subTree,f,h,w);return}if(g&128){a.suspense.move(f,h,w);return}if(g&64){v.move(a,f,h,Ht);return}if(v===_e){o(_,f,h);for(let S=0;S<$.length;S++)at($[S],f,h,w);o(a.anchor,f,h);return}if(v===ao){U(a,f,h);return}if(w!==2&&g&1&&x)if(w===0)x.persisted&&!_[Xs]?o(_,f,h):(x.beforeEnter(_),o(_,f,h),he(()=>x.enter(_),m));else{const{leave:S,delayLeave:T,afterLeave:M}=x,j=()=>{a.ctx.isUnmounted?r(_):o(_,f,h)},W=()=>{const K=_._isLeaving||!!_[Xs];_._isLeaving&&_[Xs](!0),x.persisted&&!K?j():S(_,()=>{j(),M&&M()})};T?T(_,j,W):W()}else o(_,f,h)},Ne=(a,f,h,w=!1,m=!1)=>{const{type:_,props:v,ref:x,children:$,dynamicChildren:g,shapeFlag:P,patchFlag:S,dirs:T,cacheIndex:M,memo:j}=a;if(S===-2&&(m=!1),x!=null&&(Pe(),Pt(x,null,h,a,!0),Oe()),M!=null&&(f.renderCache[M]=void 0),P&256){f.ctx.deactivate(a);return}const W=P&1&&T,K=!gt(a);let te;if(K&&(te=v&&v.onVnodeBeforeUnmount)&&Ie(te,f,a),P&6)ea(a.component,h,w);else{if(P&128){a.suspense.unmount(h,w);return}W&&rt(a,null,f,"beforeUnmount"),P&64?a.type.remove(a,f,h,Ht,w):g&&!g.hasOnce&&(_!==_e||S>0&&S&64)?Dt(g,f,h,!1,!0):(_===_e&&S&384||!m&&P&16)&&Dt($,f,h),w&&Tn(a)}const ne=j!=null&&M==null;(K&&(te=v&&v.onVnodeUnmounted)||W||ne)&&he(()=>{te&&Ie(te,f,a),W&&rt(a,null,f,"unmounted"),ne&&(a.el=null)},h)},Tn=a=>{const{type:f,el:h,anchor:w,transition:m}=a;if(f===_e){Qc(h,w);return}if(f===ao){E(a);return}const _=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(a.shapeFlag&1&&m&&!m.persisted){const{leave:v,delayLeave:x}=m,$=()=>v(h,_);x?x(a.el,_,$):$()}else _()},Qc=(a,f)=>{let h;for(;a!==f;)h=C(a),r(a),a=h;r(f)},ea=(a,f,h)=>{const{bum:w,scope:m,job:_,subTree:v,um:x,m:$,a:g}=a;Ur($),Ur(g),w&&ks(w),m.stop(),_&&(_.flags|=8,Ne(v,a,f,h)),x&&he(x,f),he(()=>{a.isUnmounted=!0},f)},Dt=(a,f,h,w=!1,m=!1,_=0)=>{for(let v=_;v{if(a.shapeFlag&6)return Ts(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const f=C(a.anchor||a.el),h=f&&f[Oi];return h?C(h):f};let xo=!1;const En=(a,f,h)=>{let w;a==null?f._vnode&&(Ne(f._vnode,null,null,!0),w=f._vnode.component):O(f._vnode||null,a,f,null,null,null,h),f._vnode=a,xo||(xo=!0,ir(w),lr(),xo=!1)},Ht={p:O,um:Ne,m:at,r:Tn,mt:$e,mc:Fe,pc:G,pbc:A,n:Ts,o:e};return{render:En,hydrate:void 0,createApp:Xi(En)}}function co({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function nt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,s=!1){const o=e.children,r=t.children;if(R(o)&&R(r))for(let n=0;n>1,e[s[l]]0&&(t[o]=s[n-1]),s[n]=o)}}for(n=s.length,i=s[n-1];n-- >0;)s[n]=i,i=t[i];return s}function Hr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Hr(t)}function Ur(e){if(e)for(let t=0;te.__isSuspense;function _l(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):vi(e)}const _e=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),ao=Symbol.for("v-stc"),We=[];let ge=null;function me(e=!1){We.push(ge=e?null:[])}function fo(){We.pop(),ge=We[We.length-1]||null}let Mt=1;function Kr(e,t=!1){Mt+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function Wr(e){return e.dynamicChildren=Mt>0?ge||ft:null,fo(),Mt>0&&ge&&ge.push(e),e}function qe(e,t,s,o,r,n){return Wr(it(e,t,s,o,r,n,!0))}function bs(e,t,s,o,r){return Wr(Ae(e,t,s,o,r,!0))}function uo(e){return e?e.__v_isVNode===!0:!1}function kt(e,t){return e.type===t.type&&e.key===t.key}const qr=({key:e})=>e??null,ws=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||re(e)||k(e)?{i:de,r:e,k:t,f:!!s}:e:null);function it(e,t=null,s=null,o=0,r=null,n=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qr(t),ref:t&&ws(t),scopeId:ar,slotScopeIds:null,children:s,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:n,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:de};return l?($s(c,s),n&128&&e.normalize(c)):s&&(c.shapeFlag|=J(s)?8:16),Mt>0&&!i&&ge&&(c.patchFlag>0||n&6)&&c.patchFlag!==32&&ge.push(c),c}const Ae=gl;function gl(e,t=null,s=null,o=0,r=null,n=!1){if((!e||e===Bi)&&(e=ke),uo(e)){const l=bt(e,t,!0);return s&&$s(l,s),Mt>0&&!n&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(Ol(e)&&(e=e.__vccOpts),t){t=ml(t);let{class:l,style:c}=t;l&&!J(l)&&(t.class=Jt(l)),V(c)&&(zs(c)&&!R(c)&&(c=Q({},c)),t.style=Gt(c))}const i=J(e)?1:Vr(e)?128:fs(e)?64:V(e)?4:k(e)?2:0;return it(e,t,s,o,r,i,n,!0)}function ml(e){return e?zs(e)||Mr(e)?Q({},e):e:null}function bt(e,t,s=!1,o=!1){const{props:r,ref:n,patchFlag:i,children:l,transition:c}=e,d=t?wl(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&qr(d),ref:t&&t.ref?s&&n?R(n)?n.concat(ws(t)):[n,ws(t)]:ws(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&o&&Zs(u,c.clone(u)),u}function bl(e=" ",t=0){return Ae(ms,null,e,t)}function ys(e="",t=!1){return t?(me(),bs(ke,null,e)):Ae(ke,null,e)}function Le(e){return e==null||typeof e=="boolean"?Ae(ke):R(e)?Ae(_e,null,e.slice()):uo(e)?ze(e):Ae(ms,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function $s(e,t){let s=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),$s(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Mr(t)?t._ctx=de:r===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(k(t)){if(o&65){$s(e,{default:t});return}t={default:t,_ctx:de},s=32}else t=String(t),o&64?(s=16,t=[bl(t)]):s=8;e.children=t,e.shapeFlag|=s}function wl(...e){const t={};for(let s=0;sfe||de;let vs,Lt;{const e=zt(),t=(s,o)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(o),n=>{r.length>1?r.forEach(i=>i(n)):r[0](n)}};vs=t("__VUE_INSTANCE_SETTERS__",s=>fe=s),Lt=t("__VUE_SSR_SETTERS__",s=>Ft=s)}const It=e=>{const t=fe;return vs(e),e.scope.on(),()=>{e.scope.off(),vs(t)}},zr=()=>{fe&&fe.scope.off(),vs(null)};function Gr(e){return e.vnode.shapeFlag&4}let Ft=!1;function vl(e,t=!1,s=!1){t&&Lt(t);const{props:o,children:r}=e.vnode,n=Gr(e);nl(e,o,n,t),al(e,r,s||t);const i=n?Sl(e,t):void 0;return t&&Lt(!1),i}function Sl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ki);const{setup:o}=s;if(o){Pe();const r=e.setupContext=o.length>1?Al(e):null,n=It(e),i=ht(o,e,0,[e.props,r]),l=Co(i);if(Oe(),n(),(l||e.sp)&&!gt(e)&&hr(e),l){if(i.then(zr,zr),t)return i.then(c=>{Lt(!0);try{Jr(e,c,t)}finally{Lt(!1)}}).catch(c=>{is(c,e,0)});e.asyncDep=i}else Jr(e,i)}else Yr(e)}function Jr(e,t,s){k(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:V(t)&&(e.setupState=tr(t)),Yr(e)}function Yr(e,t,s){const o=e.type;e.render||(e.render=o.render||Te);{const r=It(e);Pe();try{Wi(e)}finally{Oe(),r()}}}const Cl={get(e,t){return ie(e,"get",""),e[t]}};function Al(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Cl),slots:e.slots,emit:e.emit,expose:t}}function ho(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tr(ai(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ot)return Ot[s](e)},has(t,s){return s in t||s in Ot}})):e.proxy}const Tl=/(?:^|[-_])\w/g,El=e=>e.replace(Tl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Pl(e,t=!0){return k(e)?e.displayName||e.name:e.name||t&&e.__name}function Xr(e,t,s=!1){let o=Pl(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e){const r=n=>{for(const i in n)if(n[i]===t)return i};o=r(e.components)||e.parent&&r(e.parent.type.components)||r(e.appContext.components)}return o?El(o):s?"App":"Anonymous"}function Ol(e){return k(e)&&"__vccOpts"in e}const Ge=(e,t)=>pi(e,t,Ft),Rl="3.5.42";/**
* @vue/runtime-dom v3.5.42
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/let po;const Zr=typeof window<"u"&&window.trustedTypes;if(Zr)try{po=Zr.createPolicy("vue",{createHTML:e=>e})}catch{}const Qr=po?e=>po.createHTML(e):e=>e,Ml="http://www.w3.org/2000/svg",kl="http://www.w3.org/1998/Math/MathML",Je=typeof document<"u"?document:null,en=Je&&Je.createElement("template"),Ll={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,o)=>{const r=t==="svg"?Je.createElementNS(Ml,e):t==="mathml"?Je.createElementNS(kl,e):s?Je.createElement(e,{is:s}):Je.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Je.createTextNode(e),createComment:e=>Je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,o,r,n){const i=s?s.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===n||!(r=r.nextSibling)););else{en.innerHTML=Qr(o==="svg"?``:o==="mathml"?``:e);const l=en.content;if(o==="svg"||o==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Il=Symbol("_vtc");function Fl(e,t,s){const o=e[Il];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const tn=Symbol("_vod"),jl=Symbol("_vsh"),Nl=Symbol(""),Dl=/(?:^|;)\s*display\s*:/;function Hl(e,t,s){const o=e.style,r=J(s);let n=!1;if(s&&!r){if(t)if(J(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&jt(o,l,"")}else for(const i in t)s[i]==null&&jt(o,i,"");for(const i in s){i==="display"&&(n=!0);const l=s[i];l!=null?Bl(e,i,!J(t)&&t?t[i]:void 0,l)||jt(o,i,l):jt(o,i,"")}}else if(r){if(t!==s){const i=o[Nl];i&&(s+=";"+i),o.cssText=s,n=Dl.test(s)}}else t&&e.removeAttribute("style");tn in e&&(e[tn]=n?o.display:"",e[jl]&&(o.display="none"))}const Ss=/\s*!important$/;function jt(e,t,s){if(O(s))s.forEach(o=>jt(e,t,o));else if(s==null&&(s=""),t.startsWith("--"))Ss.test(s)?e.setProperty(t,s.replace(Ss,""),"important"):e.setProperty(t,s);else{const o=Ul(e,t);Ss.test(s)?e.setProperty(we(o),s.replace(Ss,""),"important"):e[o]=s}}const sn=["Webkit","Moz","ms"],_o={};function Ul(e,t){const s=_o[t];if(s)return s;let o=ue(t);if(o!=="filter"&&o in e)return _o[t]=o;o=To(o);for(let r=0;rgo||(Jl.then(()=>go=0),go=Date.now());function Xl(e,t){const s=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=s.attached)return;const r=s.value;if(O(r)){const n=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{n.call(o),o._stopped=!0};const i=r.slice(),l=[o];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zl=(e,t,s,o,r,n)=>{const i=r==="svg";t==="class"?Fl(e,o,i):t==="style"?Hl(e,s,o):Bt(t)?Vt(t)||Wl(e,t,s,o,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ql(e,t,o,i))?(nn(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rn(e,t,o,i,n,t!=="value")):e._isVueCE&&(ec(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(o)))?nn(e,ue(t),o,n,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),rn(e,t,o,i))};function Ql(e,t,s,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&cn(t)&&k(s));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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return cn(t)&&J(s)?!1:t in e}function ec(e,t){const s=e._def.props;if(!s)return!1;const o=ue(t);return Array.isArray(s)?s.some(r=>ue(r)===o):Object.keys(s).some(r=>ue(r)===o)}const an={};function tc(e,t,s){let o=dr(e,t);Wt(o)&&(o=Q({},o,t));class r extends mo{constructor(i){super(o,i,s)}}return r.def=o,r}const sc=typeof HTMLElement<"u"?HTMLElement:class{};class mo extends sc{constructor(t,s={},o=dn){super(),this._def=t,this._props=s,this._createApp=o,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&&o!==dn?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Q({},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 mo){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,rr(()=>{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 s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=o;let l;if(n&&!O(n))for(const c in n){const d=n[c];(d===Number||d&&d.type===Number)&&(c in this._props&&(this._props[c]=Po(this._props[c])),(l||(l=Object.create(null)))[ue(c)]=!0)}this._numberProps=l,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!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 s=this._instance&&this._instance.exposed;if(s)for(const o in s)H(this,o)||Object.defineProperty(this,o,{get:()=>er(s[o])})}_resolveProps(t){const{props:s}=t,o=O(s)?s:Object.keys(s||{});for(const r of Object.keys(this))r[0]!=="_"&&o.includes(r)&&this._setProp(r,this[r]);for(const r of o.map(ue))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(n){this._setProp(r,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let o=s?this.getAttribute(t):an;const r=ue(t);s&&this._numberProps&&this._numberProps[r]&&(o=Po(o)),this._setProp(r,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,o=!0,r=!1){if(s!==this._props[t]&&(this._dirty=!0,s===an?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),r&&this._instance&&this._update(),o)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),s===!0?this.setAttribute(we(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(we(t),s+""):s||this.removeAttribute(we(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),rc(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Ae(this._def,Q(t,this._props));return this._instance||(s.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const r=(n,i)=>{this.dispatchEvent(new CustomEvent(n,Wt(i[0])?Q({detail:i},i[0]):{detail:i}))};o.emit=(n,...i)=>{r(n,i),we(n)!==n&&r(we(n),i)},this._setParent()}),s}_applyStyles(t,s,o){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const r=this._nonce,n=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let c=t.length-1;c>=0;c--){const d=document.createElement("style");r&&d.setAttribute("nonce",r),d.textContent=t[c],n.insertBefore(d,l||i),l=d,c===0&&(o||this._styleAnchors.set(this._def,d),s&&this._styleAnchors.set(s,d))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s{un().render(...e)},dn=(...e)=>{const t=un().createApp(...e),{mount:s}=t;return t.mount=o=>{const r=ic(o);if(!r)return;const n=t._component;!k(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=s(r,!1,nc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function nc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ic(e){return J(e)?document.querySelector(e):e}const lc=Object.assign({"./locales/ar/grid.json":{search:"ابحث عن الشعوب…",hide_filters:"إخفاء عوامل التصفية",show_filters:"إظهار عوامل التصفية",total:"الإجمالي",showing:"المعروض",load_more:"عرض المزيد",full_profile:"الملف الكامل",wagf_region:"المنطقة",wagf_block:"كتلة التقارب",rop1:"الشعب",religion:"الدين",exact_filter:"تطابق تام",clear_all:"مسح الكل",loading:"جارٍ التحميل…",no_results:"لا توجد شعوب مطابقة لهذا التصفية.",type_to_search:"اكتب للبحث...",load_failed:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية.",search_people_or_countries:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},"./locales/de/grid.json":{search:"Volksgruppen suchen…",hide_filters:"Filter ausblenden",show_filters:"Filter anzeigen",total:"Gesamt",showing:"Angezeigt",load_more:"Mehr laden",full_profile:"Vollständiges Profil",wagf_region:"Region",wagf_block:"Affinitätsblock",rop1:"Volk",religion:"Religion",exact_filter:"Exakt",clear_all:"Alle löschen",loading:"Wird geladen…",no_results:"Keine Volksgruppen entsprechen diesem Filter.",type_to_search:"Zum Suchen tippen...",load_failed:"Die Daten konnten nicht geladen werden. Das ist ein Verbindungsproblem, nicht Ihr Filter.",search_people_or_countries:"Volksgruppen oder Länder suchen…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},"./locales/en/grid.json":{search:"Search people groups…",hide_filters:"Hide Filters",show_filters:"Show Filters",total:"Total",showing:"Showing",load_more:"Load More",full_profile:"Full Profile",wagf_region:"Region",wagf_block:"Affinity Block",rop1:"People Group",religion:"Religion",exact_filter:"Exact",clear_all:"Clear All",loading:"Loading…",no_results:"No people groups match this filter.",type_to_search:"Type to search...",load_failed:"People-group data could not be loaded. This is a connection problem, not your filter.",search_people_or_countries:"Search people groups or countries…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},"./locales/es/grid.json":{search:"Buscar pueblos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Cargar más",full_profile:"Perfil completo",wagf_region:"Región",wagf_block:"Bloque de afinidad",rop1:"Pueblo",religion:"Religión",exact_filter:"Exacto",clear_all:"Borrar todo",loading:"Cargando…",no_results:"Ningún pueblo coincide con este filtro.",type_to_search:"Escribe para buscar...",load_failed:"No se pudieron cargar los datos de pueblos. Es un problema de conexión, no de tu filtro.",search_people_or_countries:"Buscar pueblos o países…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},"./locales/fr/grid.json":{search:"Rechercher des peuples…",hide_filters:"Masquer les filtres",show_filters:"Afficher les filtres",total:"Total",showing:"Affichage",load_more:"Charger plus",full_profile:"Profil complet",wagf_region:"Région",wagf_block:"Bloc d'affinité",rop1:"Peuple",religion:"Religion",exact_filter:"Exact",clear_all:"Tout effacer",loading:"Chargement…",no_results:"Aucun peuple ne correspond à ce filtre.",type_to_search:"Tapez pour rechercher...",load_failed:"Les données n’ont pas pu être chargées. C’est un problème de connexion, pas votre filtre.",search_people_or_countries:"Rechercher des peuples ou des pays…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},"./locales/hi/grid.json":{search:"जनसमूह खोजें…",hide_filters:"फ़िल्टर छिपाएँ",show_filters:"फ़िल्टर दिखाएँ",total:"कुल",showing:"दिखा रहे हैं",load_more:"और देखें",full_profile:"पूरी प्रोफ़ाइल",wagf_region:"क्षेत्र",wagf_block:"समानता समूह",rop1:"जनसमूह",religion:"धर्म",exact_filter:"सटीक",clear_all:"सब हटाएँ",loading:"लोड हो रहा है…",no_results:"इस फ़िल्टर से कोई जनसमूह मेल नहीं खाता।",type_to_search:"खोजने के लिए लिखें...",load_failed:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।",search_people_or_countries:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},"./locales/it/grid.json":{search:"Cerca popoli…",hide_filters:"Nascondi filtri",show_filters:"Mostra filtri",total:"Totale",showing:"Mostrati",load_more:"Carica altro",full_profile:"Profilo completo",wagf_region:"Regione",wagf_block:"Blocco di affinità",rop1:"Popolo",religion:"Religione",exact_filter:"Esatto",clear_all:"Cancella tutto",loading:"Caricamento…",no_results:"Nessun popolo corrisponde a questo filtro.",type_to_search:"Digita per cercare...",load_failed:"Impossibile caricare i dati dei popoli. È un problema di connessione, non del filtro.",search_people_or_countries:"Cerca popoli o paesi…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},"./locales/pt/grid.json":{search:"Pesquisar povos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Carregar mais",full_profile:"Perfil completo",wagf_region:"Região",wagf_block:"Bloco de afinidade",rop1:"Povo",religion:"Religião",exact_filter:"Exato",clear_all:"Limpar tudo",loading:"A carregar…",no_results:"Nenhum povo corresponde a este filtro.",type_to_search:"Escreva para pesquisar...",load_failed:"Não foi possível carregar os dados dos povos. É um problema de ligação, não do seu filtro.",search_people_or_countries:"Pesquisar povos ou países…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},"./locales/ro/grid.json":{search:"Caută popoare…",hide_filters:"Ascunde filtrele",show_filters:"Arată filtrele",total:"Total",showing:"Se afișează",load_more:"Încarcă mai mult",full_profile:"Profil complet",wagf_region:"Regiune",wagf_block:"Bloc de afinitate",rop1:"Popor",religion:"Religie",exact_filter:"Exact",clear_all:"Șterge tot",loading:"Se încarcă…",no_results:"Niciun popor nu corespunde acestui filtru.",type_to_search:"Scrie pentru a căuta...",load_failed:"Datele despre popoare nu au putut fi încărcate. Este o problemă de conexiune, nu a filtrului.",search_people_or_countries:"Caută popoare sau țări…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},"./locales/ru/grid.json":{search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},"./locales/zh/grid.json":{search:"搜索民族…",hide_filters:"隐藏筛选",show_filters:"显示筛选",total:"总计",showing:"显示",load_more:"加载更多",full_profile:"完整档案",wagf_region:"区域",wagf_block:"亲缘板块",rop1:"民族",religion:"宗教",exact_filter:"精确",clear_all:"全部清除",loading:"加载中…",no_results:"没有符合此筛选条件的民族。",type_to_search:"输入以搜索...",load_failed:"无法加载民族数据。这是连接问题,而不是筛选问题。",search_people_or_countries:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"}}),lt={};for(const[e,t]of Object.entries(lc)){const s=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!s)continue;const[,o,r]=s;lt[o]??(lt[o]={}),lt[o][r]=t}const hn=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),pn=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},bo=new Map;let _n=null;function cc(e,t){const s=String(t||"").split("-")[0].toLowerCase();if(!s||s==="en"||!Nt.includes(s))return Promise.resolve(s==="en");if(lt[s])return Promise.resolve(!0);if(bo.has(s))return bo.get(s).then(r=>r);if(!pn[s])return Promise.resolve(!!lt[s]);const o=(async()=>{var r,n;try{if(!hn)return!1;const i=new URL(`locales/${s}.json`,hn).href,l=await fetch(i,{integrity:pn[s]});if(!l.ok)return!1;const c=await l.json();return!c||typeof c!="object"?!1:(lt[s]=c,(n=(r=e==null?void 0:e.global)==null?void 0:r.setLocaleMessage)==null||n.call(r,s,c),!0)}catch{return!1}})();return bo.set(s,o),o}const Nt=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],ac=new Set(["ar"]);function fc(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function gn(){var o;const e=fc();if(Nt.includes(e))return e;const s=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return Nt.includes(s)?s:"en"}try{_n=cc(null,gn())}catch{_n=null}const mn="__DOXA_PAGE_LOCALE";function uc(e){const t=String(e||"").split("-")[0].toLowerCase();if(Nt.includes(t))try{typeof window<"u"&&(window[mn]=t)}catch{}}const dc=["zero","one","two","few","many","other"];function hc(e,t,s){let o;try{o=new Intl.PluralRules(s)}catch{return e===1?0:1}const r=o.select(e),n=o.resolvedOptions().pluralCategories,i=dc.filter(c=>n.includes(c));let l=i.indexOf(r);if(l<0&&(l=i.indexOf("other")),l>=t){const c=i.indexOf("other");l=c>=0&&c[e,(t,s)=>hc(t,s,e)]));function pc(){try{return typeof window<"u"&&window[mn]||""}catch{return""}}function _c(e,t){const s=xs(),o=t;hs(()=>{var c;if(!s)return;const r=(c=s.proxy)==null?void 0:c.$el;if(!r)return;const n=r.getRootNode();if(!(n instanceof ShadowRoot))return;if(!n.querySelector('style[data-shadow-styles="reduced-motion"]')){const d=document.createElement("style");d.setAttribute("data-shadow-styles","reduced-motion"),d.textContent=gc,n.appendChild(d)}const i=n.querySelector(`style[data-shadow-styles="${o}"]`);if(i){i.textContent!==e&&(i.textContent=e);return}const l=document.createElement("style");l.setAttribute("data-shadow-styles",o),l.textContent=e,n.appendChild(l)})}const gc=`@media (prefers-reduced-motion: reduce) {
+**/let po;const Zr=typeof window<"u"&&window.trustedTypes;if(Zr)try{po=Zr.createPolicy("vue",{createHTML:e=>e})}catch{}const Qr=po?e=>po.createHTML(e):e=>e,Ml="http://www.w3.org/2000/svg",kl="http://www.w3.org/1998/Math/MathML",Je=typeof document<"u"?document:null,en=Je&&Je.createElement("template"),Ll={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,o)=>{const r=t==="svg"?Je.createElementNS(Ml,e):t==="mathml"?Je.createElementNS(kl,e):s?Je.createElement(e,{is:s}):Je.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Je.createTextNode(e),createComment:e=>Je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,o,r,n){const i=s?s.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===n||!(r=r.nextSibling)););else{en.innerHTML=Qr(o==="svg"?``:o==="mathml"?``:e);const l=en.content;if(o==="svg"||o==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Il=Symbol("_vtc");function Fl(e,t,s){const o=e[Il];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const tn=Symbol("_vod"),Nl=Symbol("_vsh"),jl=Symbol(""),Dl=/(?:^|;)\s*display\s*:/;function Hl(e,t,s){const o=e.style,r=J(s);let n=!1;if(s&&!r){if(t)if(J(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&Nt(o,l,"")}else for(const i in t)s[i]==null&&Nt(o,i,"");for(const i in s){i==="display"&&(n=!0);const l=s[i];l!=null?Bl(e,i,!J(t)&&t?t[i]:void 0,l)||Nt(o,i,l):Nt(o,i,"")}}else if(r){if(t!==s){const i=o[jl];i&&(s+=";"+i),o.cssText=s,n=Dl.test(s)}}else t&&e.removeAttribute("style");tn in e&&(e[tn]=n?o.display:"",e[Nl]&&(o.display="none"))}const Ss=/\s*!important$/;function Nt(e,t,s){if(R(s))s.forEach(o=>Nt(e,t,o));else if(s==null&&(s=""),t.startsWith("--"))Ss.test(s)?e.setProperty(t,s.replace(Ss,""),"important"):e.setProperty(t,s);else{const o=Ul(e,t);Ss.test(s)?e.setProperty(we(o),s.replace(Ss,""),"important"):e[o]=s}}const sn=["Webkit","Moz","ms"],_o={};function Ul(e,t){const s=_o[t];if(s)return s;let o=ue(t);if(o!=="filter"&&o in e)return _o[t]=o;o=To(o);for(let r=0;rgo||(Jl.then(()=>go=0),go=Date.now());function Xl(e,t){const s=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=s.attached)return;const r=s.value;if(R(r)){const n=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{n.call(o),o._stopped=!0};const i=r.slice(),l=[o];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zl=(e,t,s,o,r,n)=>{const i=r==="svg";t==="class"?Fl(e,o,i):t==="style"?Hl(e,s,o):Bt(t)?Vt(t)||Wl(e,t,s,o,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ql(e,t,o,i))?(nn(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rn(e,t,o,i,n,t!=="value")):e._isVueCE&&(ec(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(o)))?nn(e,ue(t),o,n,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),rn(e,t,o,i))};function Ql(e,t,s,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&cn(t)&&k(s));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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return cn(t)&&J(s)?!1:t in e}function ec(e,t){const s=e._def.props;if(!s)return!1;const o=ue(t);return Array.isArray(s)?s.some(r=>ue(r)===o):Object.keys(s).some(r=>ue(r)===o)}const an={};function tc(e,t,s){let o=dr(e,t);Wt(o)&&(o=Q({},o,t));class r extends mo{constructor(i){super(o,i,s)}}return r.def=o,r}const sc=typeof HTMLElement<"u"?HTMLElement:class{};class mo extends sc{constructor(t,s={},o=dn){super(),this._def=t,this._props=s,this._createApp=o,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&&o!==dn?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Q({},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 mo){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,rr(()=>{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 s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=o;let l;if(n&&!R(n))for(const c in n){const d=n[c];(d===Number||d&&d.type===Number)&&(c in this._props&&(this._props[c]=Po(this._props[c])),(l||(l=Object.create(null)))[ue(c)]=!0)}this._numberProps=l,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!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 s=this._instance&&this._instance.exposed;if(s)for(const o in s)H(this,o)||Object.defineProperty(this,o,{get:()=>er(s[o])})}_resolveProps(t){const{props:s}=t,o=R(s)?s:Object.keys(s||{});for(const r of Object.keys(this))r[0]!=="_"&&o.includes(r)&&this._setProp(r,this[r]);for(const r of o.map(ue))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(n){this._setProp(r,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let o=s?this.getAttribute(t):an;const r=ue(t);s&&this._numberProps&&this._numberProps[r]&&(o=Po(o)),this._setProp(r,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,o=!0,r=!1){if(s!==this._props[t]&&(this._dirty=!0,s===an?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),r&&this._instance&&this._update(),o)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),s===!0?this.setAttribute(we(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(we(t),s+""):s||this.removeAttribute(we(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),rc(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Ae(this._def,Q(t,this._props));return this._instance||(s.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const r=(n,i)=>{this.dispatchEvent(new CustomEvent(n,Wt(i[0])?Q({detail:i},i[0]):{detail:i}))};o.emit=(n,...i)=>{r(n,i),we(n)!==n&&r(we(n),i)},this._setParent()}),s}_applyStyles(t,s,o){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const r=this._nonce,n=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let c=t.length-1;c>=0;c--){const d=document.createElement("style");r&&d.setAttribute("nonce",r),d.textContent=t[c],n.insertBefore(d,l||i),l=d,c===0&&(o||this._styleAnchors.set(this._def,d),s&&this._styleAnchors.set(s,d))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s{un().render(...e)},dn=(...e)=>{const t=un().createApp(...e),{mount:s}=t;return t.mount=o=>{const r=ic(o);if(!r)return;const n=t._component;!k(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=s(r,!1,nc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function nc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ic(e){return J(e)?document.querySelector(e):e}const lc=Object.assign({"./locales/ar/grid.json":{search:"ابحث عن الشعوب…",hide_filters:"إخفاء عوامل التصفية",show_filters:"إظهار عوامل التصفية",total:"الإجمالي",showing:"المعروض",load_more:"عرض المزيد",full_profile:"الملف الكامل",wagf_region:"المنطقة",wagf_block:"كتلة التقارب",rop1:"الشعب",religion:"الدين",exact_filter:"تطابق تام",clear_all:"مسح الكل",loading:"جارٍ التحميل…",no_results:"لا توجد شعوب مطابقة لهذا التصفية.",type_to_search:"اكتب للبحث...",load_failed:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية.",search_people_or_countries:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},"./locales/de/grid.json":{search:"Volksgruppen suchen…",hide_filters:"Filter ausblenden",show_filters:"Filter anzeigen",total:"Gesamt",showing:"Angezeigt",load_more:"Mehr laden",full_profile:"Vollständiges Profil",wagf_region:"Region",wagf_block:"Affinitätsblock",rop1:"Volk",religion:"Religion",exact_filter:"Exakt",clear_all:"Alle löschen",loading:"Wird geladen…",no_results:"Keine Volksgruppen entsprechen diesem Filter.",type_to_search:"Zum Suchen tippen...",load_failed:"Die Daten konnten nicht geladen werden. Das ist ein Verbindungsproblem, nicht Ihr Filter.",search_people_or_countries:"Volksgruppen oder Länder suchen…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},"./locales/en/grid.json":{search:"Search people groups…",hide_filters:"Hide Filters",show_filters:"Show Filters",total:"Total",showing:"Showing",load_more:"Load More",full_profile:"Full Profile",wagf_region:"Region",wagf_block:"Affinity Block",rop1:"People Group",religion:"Religion",exact_filter:"Exact",clear_all:"Clear All",loading:"Loading…",no_results:"No people groups match this filter.",type_to_search:"Type to search...",load_failed:"People-group data could not be loaded. This is a connection problem, not your filter.",search_people_or_countries:"Search people groups or countries…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},"./locales/es/grid.json":{search:"Buscar pueblos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Cargar más",full_profile:"Perfil completo",wagf_region:"Región",wagf_block:"Bloque de afinidad",rop1:"Pueblo",religion:"Religión",exact_filter:"Exacto",clear_all:"Borrar todo",loading:"Cargando…",no_results:"Ningún pueblo coincide con este filtro.",type_to_search:"Escribe para buscar...",load_failed:"No se pudieron cargar los datos de pueblos. Es un problema de conexión, no de tu filtro.",search_people_or_countries:"Buscar pueblos o países…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},"./locales/fr/grid.json":{search:"Rechercher des peuples…",hide_filters:"Masquer les filtres",show_filters:"Afficher les filtres",total:"Total",showing:"Affichage",load_more:"Charger plus",full_profile:"Profil complet",wagf_region:"Région",wagf_block:"Bloc d'affinité",rop1:"Peuple",religion:"Religion",exact_filter:"Exact",clear_all:"Tout effacer",loading:"Chargement…",no_results:"Aucun peuple ne correspond à ce filtre.",type_to_search:"Tapez pour rechercher...",load_failed:"Les données n’ont pas pu être chargées. C’est un problème de connexion, pas votre filtre.",search_people_or_countries:"Rechercher des peuples ou des pays…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},"./locales/hi/grid.json":{search:"जनसमूह खोजें…",hide_filters:"फ़िल्टर छिपाएँ",show_filters:"फ़िल्टर दिखाएँ",total:"कुल",showing:"दिखा रहे हैं",load_more:"और देखें",full_profile:"पूरी प्रोफ़ाइल",wagf_region:"क्षेत्र",wagf_block:"समानता समूह",rop1:"जनसमूह",religion:"धर्म",exact_filter:"सटीक",clear_all:"सब हटाएँ",loading:"लोड हो रहा है…",no_results:"इस फ़िल्टर से कोई जनसमूह मेल नहीं खाता।",type_to_search:"खोजने के लिए लिखें...",load_failed:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।",search_people_or_countries:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},"./locales/it/grid.json":{search:"Cerca popoli…",hide_filters:"Nascondi filtri",show_filters:"Mostra filtri",total:"Totale",showing:"Mostrati",load_more:"Carica altro",full_profile:"Profilo completo",wagf_region:"Regione",wagf_block:"Blocco di affinità",rop1:"Popolo",religion:"Religione",exact_filter:"Esatto",clear_all:"Cancella tutto",loading:"Caricamento…",no_results:"Nessun popolo corrisponde a questo filtro.",type_to_search:"Digita per cercare...",load_failed:"Impossibile caricare i dati dei popoli. È un problema di connessione, non del filtro.",search_people_or_countries:"Cerca popoli o paesi…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},"./locales/pt/grid.json":{search:"Pesquisar povos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Carregar mais",full_profile:"Perfil completo",wagf_region:"Região",wagf_block:"Bloco de afinidade",rop1:"Povo",religion:"Religião",exact_filter:"Exato",clear_all:"Limpar tudo",loading:"A carregar…",no_results:"Nenhum povo corresponde a este filtro.",type_to_search:"Escreva para pesquisar...",load_failed:"Não foi possível carregar os dados dos povos. É um problema de ligação, não do seu filtro.",search_people_or_countries:"Pesquisar povos ou países…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},"./locales/ro/grid.json":{search:"Caută popoare…",hide_filters:"Ascunde filtrele",show_filters:"Arată filtrele",total:"Total",showing:"Se afișează",load_more:"Încarcă mai mult",full_profile:"Profil complet",wagf_region:"Regiune",wagf_block:"Bloc de afinitate",rop1:"Popor",religion:"Religie",exact_filter:"Exact",clear_all:"Șterge tot",loading:"Se încarcă…",no_results:"Niciun popor nu corespunde acestui filtru.",type_to_search:"Scrie pentru a căuta...",load_failed:"Datele despre popoare nu au putut fi încărcate. Este o problemă de conexiune, nu a filtrului.",search_people_or_countries:"Caută popoare sau țări…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},"./locales/ru/grid.json":{search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},"./locales/zh/grid.json":{search:"搜索民族…",hide_filters:"隐藏筛选",show_filters:"显示筛选",total:"总计",showing:"显示",load_more:"加载更多",full_profile:"完整档案",wagf_region:"区域",wagf_block:"亲缘板块",rop1:"民族",religion:"宗教",exact_filter:"精确",clear_all:"全部清除",loading:"加载中…",no_results:"没有符合此筛选条件的民族。",type_to_search:"输入以搜索...",load_failed:"无法加载民族数据。这是连接问题,而不是筛选问题。",search_people_or_countries:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"}}),lt={};for(const[e,t]of Object.entries(lc)){const s=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!s)continue;const[,o,r]=s;lt[o]??(lt[o]={}),lt[o][r]=t}const hn=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),pn=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},bo=new Map;let _n=null;function cc(e,t){const s=String(t||"").split("-")[0].toLowerCase();if(!s||s==="en"||!jt.includes(s))return Promise.resolve(s==="en");if(lt[s])return Promise.resolve(!0);if(bo.has(s))return bo.get(s).then(r=>r);if(!pn[s])return Promise.resolve(!!lt[s]);const o=(async()=>{var r,n;try{if(!hn)return!1;const i=new URL(`locales/${s}.json`,hn).href,l=await fetch(i,{integrity:pn[s]});if(!l.ok)return!1;const c=await l.json();return!c||typeof c!="object"?!1:(lt[s]=c,(n=(r=e==null?void 0:e.global)==null?void 0:r.setLocaleMessage)==null||n.call(r,s,c),!0)}catch{return!1}})();return bo.set(s,o),o}const jt=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],ac=new Set(["ar"]);function fc(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function gn(){var o;const e=fc();if(jt.includes(e))return e;const s=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return jt.includes(s)?s:"en"}try{_n=cc(null,gn())}catch{_n=null}const mn="__DOXA_PAGE_LOCALE";function uc(e){const t=String(e||"").split("-")[0].toLowerCase();if(jt.includes(t))try{typeof window<"u"&&(window[mn]=t)}catch{}}const dc=["zero","one","two","few","many","other"];function hc(e,t,s){let o;try{o=new Intl.PluralRules(s)}catch{return e===1?0:1}const r=o.select(e),n=o.resolvedOptions().pluralCategories,i=dc.filter(c=>n.includes(c));let l=i.indexOf(r);if(l<0&&(l=i.indexOf("other")),l>=t){const c=i.indexOf("other");l=c>=0&&c[e,(t,s)=>hc(t,s,e)]));function pc(){try{return typeof window<"u"&&window[mn]||""}catch{return""}}function _c(e,t){const s=xs(),o=t;hs(()=>{var c;if(!s)return;const r=(c=s.proxy)==null?void 0:c.$el;if(!r)return;const n=r.getRootNode();if(!(n instanceof ShadowRoot))return;if(!n.querySelector('style[data-shadow-styles="reduced-motion"]')){const d=document.createElement("style");d.setAttribute("data-shadow-styles","reduced-motion"),d.textContent=gc,n.appendChild(d)}const i=n.querySelector(`style[data-shadow-styles="${o}"]`);if(i){i.textContent!==e&&(i.textContent=e);return}const l=document.createElement("style");l.setAttribute("data-shadow-styles",o),l.textContent=e,n.appendChild(l)})}const gc=`@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
@@ -51,4 +51,4 @@
.stl ::-webkit-scrollbar-thumb { background:#c4c8c0; border-radius:8px; }
.stl ::-webkit-scrollbar-thumb:hover { background:#9aa197; }
.stl ::-webkit-scrollbar-corner { background:transparent; }
-`,Ec=dr({name:"StackLayout",props:{sections:{type:Array,default:()=>[]},title:{type:String,default:""},maxSectionHeight:{type:String,default:""},minSectionHeight:{type:String,default:""}},setup(){_c(Tc,"stack-layout")},data(){return{_hosts:{},_mounted:{}}},mounted(){for(const e of this.sections||[])e.element&&this.mountSection(e)},methods:{registerHost(e,t){t&&(this._hosts[e]=t)},sectionStyle(e){const t={},s=e.maxHeight||this.maxSectionHeight,o=e.minHeight||this.minSectionHeight,r=!!(s&&o&&s===o);return s&&(t.maxHeight=s,r||(t.overflow="auto")),o&&(t.minHeight=o),Object.keys(t).length?t:null},hasDefiniteHeight(e){const t=e.maxHeight||this.maxSectionHeight,s=e.minHeight||this.minSectionHeight;return!!(t&&s&&t===s)},mountSection(e){if(this._mounted[e.key])return;this._mounted[e.key]=!0;const t=this._hosts[e.key];t&&Cc(e.src).then(()=>Ac(e.element)).then(()=>{if(xc(e.element,vn(e.src)),!customElements.get(e.element))return;const s=document.createElement(e.element),o=e.attrs||{};for(const r in o){const n=o[r];try{s[r]=n}catch{}try{s.setAttribute(r,n==null?"":String(n))}catch{}}t.innerHTML="",t.appendChild(s)}).catch(s=>{const o=s&&s.message||String(s);console.error('[StackLayout] section "'+e.key+'" failed to mount <'+e.element+">"+(e.src?" from "+e.src:"")+": "+o);try{t.innerHTML="";const r=document.createElement("div");r.setAttribute("role","status"),r.style.cssText="box-sizing:border-box;max-width:100%;padding:16px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#6d766e;background:#fff;border:1px solid #d1d4cd;border-radius:8px;margin:12px 0;overflow-wrap:anywhere;word-break:break-word",r.textContent="Could not load <"+e.element+">"+(e.src?" from "+e.src:"")+" — "+o,t.appendChild(r)}catch{}})}}}),Pc={class:"stl"},Rc={key:0,class:"stl-top"},Oc={class:"stl-brand"},Mc={key:0,class:"stl-title"},kc={class:"stl-meta"},Lc={class:"stl-stack"},Ic={key:0,class:"stl-sec-head"},Fc={class:"stl-sec-title"},jc={key:0,class:"stl-sec-sub"},Nc={key:2,class:"stl-slot"},Dc={class:"stl-tail"};function Hc(e,t,s,o,r,n){return ge(),qe("div",Pc,[e.$slots.brand||e.$slots.meta||e.title?(ge(),qe("header",Rc,[it("span",Oc,[ps(e.$slots,"brand")]),e.title?(ge(),qe("b",Mc,Xt(e.title),1)):ys("",!0),it("span",kc,[ps(e.$slots,"meta")])])):ys("",!0),it("div",Lc,[(ge(!0),qe(pe,null,Vi(e.sections,i=>(ge(),qe("section",{key:i.key,class:Jt(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(i)}]),style:Gt(e.sectionStyle(i))},[i.title?(ge(),qe("div",Ic,[it("b",Fc,Xt(i.title),1),i.sub?(ge(),qe("span",jc,Xt(i.sub),1)):ys("",!0)])):ys("",!0),i.element?(ge(),qe("div",{key:1,class:"stl-host",ref_for:!0,ref:l=>e.registerHost(i.key,l)},null,512)):(ge(),qe("div",Nc,[ps(e.$slots,"section-"+i.key)]))],6))),128)),it("div",Dc,[ps(e.$slots,"default")])])])}const Uc=xn(Ec,[["render",Hc],["styles",[vc]]]),Bc=3,Vc=e=>e*500;async function Kc(e,t=void 0,{attempts:s=Bc,backoff:o=Vc,signal:r=null}={}){let n;for(let i=1;i<=Math.max(1,s);i++){if(r!=null&&r.aborted)throw r.reason??new Error("aborted");try{return await fetch(e,t)}catch(l){if((l==null?void 0:l.name)==="AbortError"||r!=null&&r.aborted)throw l;if(n=l,i>=s)break;await new Promise(c=>setTimeout(c,o(i)))}}throw n}const wo="__doxaMapToken",yo="doxa:map-token",Sn="__doxaMapTokenBridge",wt=()=>{if(typeof window>"u")return"";const e=window[wo];return typeof e=="string"?e:""};function $o(e){if(typeof window>"u")return"";Cn();const t=typeof e=="string"?e.trim():"";if(!t||t===wt())return wt();window[wo]=t;try{window.dispatchEvent(new CustomEvent(yo,{detail:t}))}catch{}return t}function Cn(){var t;if(typeof window>"u"||window[Sn]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!wt()&&(window[wo]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return wt()},set(s){$o(s)}}),window[Sn]=!0}catch{}}function Wc(){Cn();const e=Qo(wt());if(typeof window<"u"){const t=()=>{e.value=wt()};window.addEventListener(yo,t);try{eo(()=>window.removeEventListener(yo,t))}catch{}}return e}function qc(e){if(typeof window>"u"||!/^https?:\/\//i.test(String(e||"")))return Promise.resolve("");const t=window.__doxaMapTokenFetches=window.__doxaMapTokenFetches||{};if(t[e])return t[e];const s=Kc(e).then(o=>{if(!o.ok)throw new Error("HTTP "+o.status);return(o.headers.get("content-type")||"").includes("json")?o.json():o.text()}).then(o=>{const r=String((typeof o=="string"?o:o&&(o.token||o.tk||o.accessToken))||"").trim();return r.startsWith("pk.")?($o(r),r):""}).catch(o=>(console.warn(`[map token] ${e}: ${o&&o.message?o.message:o}`),"")).finally(()=>{window.__doxaMapTokenPending===s&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=s,t[e]=s,s}function zc({tokenUrl:e="",token:t="",sharedToken:s=""}={}){return!!e&&!t&&!s}function Gc(e){const t=e&&e.tokenUrl;return typeof t=="string"&&t?t:""}function Jc(e,t){const s=Wc(),o=Ge(()=>Gc(e==null?void 0:e.value));return rt(o,r=>{zc({tokenUrl:r,token:(t==null?void 0:t.value)||"",sharedToken:s.value})&&qc(r)},{immediate:!0}),o}const Yc=":host{display:block;width:100%}",An="88svh",Xc=400,Zc=tc(xn(Object.assign({inheritAttrs:!1},{__name:"research-map-plus-grid",props:{profileConfig:{type:[String,Object],default:null}},setup(e){const t=e,s=Ge(()=>{const b=t.profileConfig;if(!b)return{};if(typeof b=="object")return b;try{return JSON.parse(b)}catch{return{}}}),o=Ge(()=>{var E;const b=(E=s.value)==null?void 0:E.tk;return typeof b=="string"&&b?b:""});o.value&&$o(o.value);const r=Jc(s,o),n=Ge(()=>{var E;const b=(E=s.value)==null?void 0:E.provider;return b==="maplibre"||b==="mapbox"?b:""}),i=Ge(()=>{var E,I;const b=String(((E=s.value)==null?void 0:E.lang)||((I=s.value)==null?void 0:I.locale)||"").split("-")[0].toLowerCase();return Nt.includes(b)?b:""});Ei(()=>{i.value&&uc(i.value)});const l=Ge(()=>{var b;return typeof((b=s.value)==null?void 0:b.list)=="string"?s.value.list:""}),c=Ge(()=>{const b=i.value||pc()||gn();return ac.has(b)?"rtl":"ltr"}),d=xs();function u(){var b,E,I,ee;try{const le=(ee=(I=(E=(b=d==null?void 0:d.proxy)==null?void 0:b.$el)==null?void 0:E.getRootNode)==null?void 0:I.call(E))==null?void 0:ee.host;le&&c.value==="rtl"&&le.setAttribute("dir","rtl")}catch{}}hs(u),rt(c,u);const p=wc("research-map-plus-grid/research-map-plus-grid/index.html"),C=(b,E)=>`../../${b}/${E}.js`,y=ss({region:{value:"",label:""},religion:"",language:{value:"",label:"",codes:[]}}),j=Qo([]);function R(b){b!=="region"&&(y.region.value||y.region.label)&&(y.region.value="",y.region.label=""),b!=="religion"&&y.religion&&(y.religion=""),b!=="language"&&(y.language.value||y.language.label)&&(y.language.value="",y.language.label="",y.language.codes=[])}const X=b=>String(b||"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");let B=!1;function F(b){if(b){if(b.region&&(b.region.value||b.region.label)){const E=b.region.value||"",I=b.region.label||"";(E!==y.region.value||I!==y.region.label)&&(y.region.value=E,y.region.label=I,R("region"));return}if(b.religion){b.religion!==y.religion&&(y.religion=b.religion,R("religion"));return}if(b.language&&(b.language.value||b.language.label)){const E=b.language.value||"",I=b.language.label||"";(E!==y.language.value||I!==y.language.label)&&(y.language.value=E,y.language.label=I,y.language.codes=Array.isArray(b.language.codes)?b.language.codes:E?[E]:[],R("language"));return}("region"in b||"religion"in b||"language"in b)&&R(null)}}function U(b){var $e,Qe;if(B)return;const E=Array.isArray(($e=b==null?void 0:b.detail)==null?void 0:$e.slugs)?b.detail.slugs:[];j.value=E.length&&E.length<=Xc?E:[];const I=((Qe=b==null?void 0:b.detail)==null?void 0:Qe.activeFilters)||{},ee=I.wagf_region,le=se=>se&&(se.label||se.value)||"";F({region:{value:ee&&(ee.value??ee)||"",label:ee&&ee.label||""},religion:le(I.__religion_family),language:{value:I.primary_language&&I.primary_language.value||"",label:I.primary_language&&I.primary_language.label||""}})}function T(b){var I,ee,le,$e,Qe;if(B)return;const E=((I=b==null?void 0:b.detail)==null?void 0:I.region)||"";F({region:{value:E?X(E):"",label:E},religion:((ee=b==null?void 0:b.detail)==null?void 0:ee.religion)||"",language:{value:((le=b==null?void 0:b.detail)==null?void 0:le.languageCode)||"",label:(($e=b==null?void 0:b.detail)==null?void 0:$e.language)||"",codes:Array.isArray((Qe=b==null?void 0:b.detail)==null?void 0:Qe.languageCodes)?b.detail.languageCodes:[]}})}function Z(){const b=Array.isArray(y.language.codes)?y.language.codes:[];return b.length>1?b.join("|"):y.language.value||y.language.label}let L=null;function me(){if(!(L!=null&&L.querySelector))return;B=!0,setTimeout(()=>{B=!1},1200);const b=L.querySelector("doxa-research-map");if(b){let I={};try{I=JSON.parse(b.getAttribute("profile-config")||"{}")}catch{I={}}I.externalFilters={region:y.region.value,religion:y.religion,language:y.language.label,fitSlugs:j.value},b.setAttribute("profile-config",JSON.stringify(I))}const E=L.querySelector("people-groups-grid");E&&(E.setAttribute("wagf-region",y.region.value),E.setAttribute("religion-family",y.religion),E.setAttribute("primary-language",Z()))}rt(y,me,{deep:!0}),rt(j,me),hs(()=>{var b,E,I,ee,le,$e;L=((ee=(I=(E=(b=xs())==null?void 0:b.proxy)==null?void 0:E.$el)==null?void 0:I.getRootNode)==null?void 0:ee.call(I))||null,(le=L==null?void 0:L.addEventListener)==null||le.call(L,"groups-filtered",U),($e=L==null?void 0:L.addEventListener)==null||$e.call(L,"map-filtered",T)}),eo(()=>{var b,E;(b=L==null?void 0:L.removeEventListener)==null||b.call(L,"groups-filtered",U),(E=L==null?void 0:L.removeEventListener)==null||E.call(L,"map-filtered",T)});const Fe=Ge(()=>[{key:"map",element:"doxa-research-map",src:C("doxa-research-map","doxa-research-map"),attrs:{"profile-config":JSON.stringify({profile:"research-map",dataSource:"pray-tools",instanceId:"rmpg-research-map",legendTools:!1,...o.value?{tk:o.value}:{},...r.value?{tokenUrl:r.value}:{},...n.value?{provider:n.value}:{},...i.value?{lang:i.value}:{},...l.value?{list:l.value}:{},externalFilters:{region:y.region.value,religion:y.religion,language:y.language.label,fitSlugs:j.value},assetsBase:"../../assets",shareUrl:p})},minHeight:An,maxHeight:An},{key:"grid",element:"people-groups-grid",src:C("people-groups-grid","people-groups-grid"),attrs:{"show-search":"true","show-filters":"true","show-total":"true",...l.value?{"profile-config":JSON.stringify({list:l.value})}:{},"wagf-region":y.region.value,"religion-family":y.religion,"primary-language":Z()}}]);return(b,E)=>(ge(),bs(Uc,{sections:Fe.value},null,8,["sections"]))}}),[["styles",[Yc]]]));typeof customElements<"u"&&(customElements.get("research-map-plus-grid")||customElements.define("research-map-plus-grid",Zc))})();
+`,Ec=dr({name:"StackLayout",props:{sections:{type:Array,default:()=>[]},title:{type:String,default:""},maxSectionHeight:{type:String,default:""},minSectionHeight:{type:String,default:""}},setup(){_c(Tc,"stack-layout")},data(){return{_hosts:{},_mounted:{}}},mounted(){for(const e of this.sections||[])e.element&&this.mountSection(e)},methods:{registerHost(e,t){t&&(this._hosts[e]=t)},sectionStyle(e){const t={},s=e.maxHeight||this.maxSectionHeight,o=e.minHeight||this.minSectionHeight,r=!!(s&&o&&s===o);return s&&(t.maxHeight=s,r||(t.overflow="auto")),o&&(t.minHeight=o),Object.keys(t).length?t:null},hasDefiniteHeight(e){const t=e.maxHeight||this.maxSectionHeight,s=e.minHeight||this.minSectionHeight;return!!(t&&s&&t===s)},mountSection(e){if(this._mounted[e.key])return;this._mounted[e.key]=!0;const t=this._hosts[e.key];t&&Cc(e.src).then(()=>Ac(e.element)).then(()=>{if(xc(e.element,vn(e.src)),!customElements.get(e.element))return;const s=document.createElement(e.element),o=e.attrs||{};for(const r in o){const n=o[r];try{s[r]=n}catch{}try{s.setAttribute(r,n==null?"":String(n))}catch{}}t.innerHTML="",t.appendChild(s)}).catch(s=>{const o=s&&s.message||String(s);console.error('[StackLayout] section "'+e.key+'" failed to mount <'+e.element+">"+(e.src?" from "+e.src:"")+": "+o);try{t.innerHTML="";const r=document.createElement("div");r.setAttribute("role","status"),r.style.cssText="box-sizing:border-box;max-width:100%;padding:16px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#6d766e;background:#fff;border:1px solid #d1d4cd;border-radius:8px;margin:12px 0;overflow-wrap:anywhere;word-break:break-word",r.textContent="Could not load <"+e.element+">"+(e.src?" from "+e.src:"")+" — "+o,t.appendChild(r)}catch{}})}}}),Pc={class:"stl"},Oc={key:0,class:"stl-top"},Rc={class:"stl-brand"},Mc={key:0,class:"stl-title"},kc={class:"stl-meta"},Lc={class:"stl-stack"},Ic={key:0,class:"stl-sec-head"},Fc={class:"stl-sec-title"},Nc={key:0,class:"stl-sec-sub"},jc={key:2,class:"stl-slot"},Dc={class:"stl-tail"};function Hc(e,t,s,o,r,n){return me(),qe("div",Pc,[e.$slots.brand||e.$slots.meta||e.title?(me(),qe("header",Oc,[it("span",Rc,[ps(e.$slots,"brand")]),e.title?(me(),qe("b",Mc,Xt(e.title),1)):ys("",!0),it("span",kc,[ps(e.$slots,"meta")])])):ys("",!0),it("div",Lc,[(me(!0),qe(_e,null,Vi(e.sections,i=>(me(),qe("section",{key:i.key,class:Jt(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(i)}]),style:Gt(e.sectionStyle(i))},[i.title?(me(),qe("div",Ic,[it("b",Fc,Xt(i.title),1),i.sub?(me(),qe("span",Nc,Xt(i.sub),1)):ys("",!0)])):ys("",!0),i.element?(me(),qe("div",{key:1,class:"stl-host",ref_for:!0,ref:l=>e.registerHost(i.key,l)},null,512)):(me(),qe("div",jc,[ps(e.$slots,"section-"+i.key)]))],6))),128)),it("div",Dc,[ps(e.$slots,"default")])])])}const Uc=xn(Ec,[["render",Hc],["styles",[vc]]]),Bc=3,Vc=e=>e*500;async function Kc(e,t=void 0,{attempts:s=Bc,backoff:o=Vc,signal:r=null}={}){let n;for(let i=1;i<=Math.max(1,s);i++){if(r!=null&&r.aborted)throw r.reason??new Error("aborted");try{return await fetch(e,t)}catch(l){if((l==null?void 0:l.name)==="AbortError"||r!=null&&r.aborted)throw l;if(n=l,i>=s)break;await new Promise(c=>setTimeout(c,o(i)))}}throw n}const wo="__doxaMapToken",yo="doxa:map-token",Sn="__doxaMapTokenBridge",wt=()=>{if(typeof window>"u")return"";const e=window[wo];return typeof e=="string"?e:""};function $o(e){if(typeof window>"u")return"";Cn();const t=typeof e=="string"?e.trim():"";if(!t||t===wt())return wt();window[wo]=t;try{window.dispatchEvent(new CustomEvent(yo,{detail:t}))}catch{}return t}function Cn(){var t;if(typeof window>"u"||window[Sn]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!wt()&&(window[wo]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return wt()},set(s){$o(s)}}),window[Sn]=!0}catch{}}function Wc(){Cn();const e=Qo(wt());if(typeof window<"u"){const t=()=>{e.value=wt()};window.addEventListener(yo,t);try{eo(()=>window.removeEventListener(yo,t))}catch{}}return e}function qc(e){if(typeof window>"u"||!/^https?:\/\//i.test(String(e||"")))return Promise.resolve("");const t=window.__doxaMapTokenFetches=window.__doxaMapTokenFetches||{};if(t[e])return t[e];const s=Kc(e).then(o=>{if(!o.ok)throw new Error("HTTP "+o.status);return(o.headers.get("content-type")||"").includes("json")?o.json():o.text()}).then(o=>{const r=String((typeof o=="string"?o:o&&(o.token||o.tk||o.accessToken))||"").trim();return r.startsWith("pk.")?($o(r),r):""}).catch(o=>(console.warn(`[map token] ${e}: ${o&&o.message?o.message:o}`),"")).finally(()=>{window.__doxaMapTokenPending===s&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=s,t[e]=s,s}function zc({tokenUrl:e="",token:t="",sharedToken:s=""}={}){return!!e&&!t&&!s}function Gc(e){const t=e&&e.tokenUrl;return typeof t=="string"&&t?t:""}function Jc(e,t){const s=Wc(),o=Ge(()=>Gc(e==null?void 0:e.value));return Qe(o,r=>{zc({tokenUrl:r,token:(t==null?void 0:t.value)||"",sharedToken:s.value})&&qc(r)},{immediate:!0}),o}const Yc=":host{display:block;width:100%}",An="88svh",Xc=400,Zc=tc(xn(Object.assign({inheritAttrs:!1},{__name:"research-map-plus-grid",props:{profileConfig:{type:[String,Object],default:null}},setup(e){const t=e,s=Ge(()=>{const b=t.profileConfig;if(!b)return{};if(typeof b=="object")return b;try{return JSON.parse(b)}catch{return{}}}),o=Ge(()=>{var A;const b=(A=s.value)==null?void 0:A.tk;return typeof b=="string"&&b?b:""});o.value&&$o(o.value);const r=Jc(s,o),n=Ge(()=>{var A;const b=(A=s.value)==null?void 0:A.provider;return b==="maplibre"||b==="mapbox"?b:""}),i=Ge(()=>{var A,L;const b=String(((A=s.value)==null?void 0:A.lang)||((L=s.value)==null?void 0:L.locale)||"").split("-")[0].toLowerCase();return jt.includes(b)?b:""});Ei(()=>{i.value&&uc(i.value)});const l=Ge(()=>{var b;return typeof((b=s.value)==null?void 0:b.list)=="string"?s.value.list:""}),c=Ge(()=>{const b=i.value||pc()||gn();return ac.has(b)?"rtl":"ltr"}),d=xs();function u(){var b,A,L,ee;try{const le=(ee=(L=(A=(b=d==null?void 0:d.proxy)==null?void 0:b.$el)==null?void 0:A.getRootNode)==null?void 0:L.call(A))==null?void 0:ee.host;le&&c.value==="rtl"&&le.setAttribute("dir","rtl")}catch{}}hs(u),Qe(c,u);const p=wc("research-map-plus-grid/research-map-plus-grid/index.html"),C=(b,A)=>`../../${b}/${A}.js`,y=ss({region:{value:"",label:""},religion:"",language:{value:"",label:"",codes:[]}}),N=Qo([]);function O(b){b!=="region"&&(y.region.value||y.region.label)&&(y.region.value="",y.region.label=""),b!=="religion"&&y.religion&&(y.religion=""),b!=="language"&&(y.language.value||y.language.label)&&(y.language.value="",y.language.label="",y.language.codes=[])}const X=b=>String(b||"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");let B=!1;function F(b){if(b){if(b.region&&(b.region.value||b.region.label)){const A=b.region.value||"",L=b.region.label||"";(A!==y.region.value||L!==y.region.label)&&(y.region.value=A,y.region.label=L,O("region"));return}if(b.religion){b.religion!==y.religion&&(y.religion=b.religion,O("religion"));return}if(b.language&&(b.language.value||b.language.label)){const A=b.language.value||"",L=b.language.label||"";(A!==y.language.value||L!==y.language.label)&&(y.language.value=A,y.language.label=L,y.language.codes=Array.isArray(b.language.codes)?b.language.codes:A?[A]:[],O("language"));return}("region"in b||"religion"in b||"language"in b)&&O(null)}}function U(b){var $e,et;if(B)return;const A=Array.isArray(($e=b==null?void 0:b.detail)==null?void 0:$e.slugs)?b.detail.slugs:[];N.value=A.length&&A.length<=Xc?A:[];const L=((et=b==null?void 0:b.detail)==null?void 0:et.activeFilters)||{},ee=L.wagf_region,le=se=>se&&(se.label||se.value)||"";F({region:{value:ee&&(ee.value??ee)||"",label:ee&&ee.label||""},religion:le(L.__religion_family),language:{value:L.primary_language&&L.primary_language.value||"",label:L.primary_language&&L.primary_language.label||""}})}function E(b){var L,ee,le,$e,et;if(B)return;const A=((L=b==null?void 0:b.detail)==null?void 0:L.region)||"";F({region:{value:A?X(A):"",label:A},religion:((ee=b==null?void 0:b.detail)==null?void 0:ee.religion)||"",language:{value:((le=b==null?void 0:b.detail)==null?void 0:le.languageCode)||"",label:(($e=b==null?void 0:b.detail)==null?void 0:$e.language)||"",codes:Array.isArray((et=b==null?void 0:b.detail)==null?void 0:et.languageCodes)?b.detail.languageCodes:[]}})}function Z(){const b=Array.isArray(y.language.codes)?y.language.codes:[];return b.length>1?b.join("|"):y.language.value||y.language.label}let I=null;function pe(){if(!(I!=null&&I.querySelector))return;B=!0,setTimeout(()=>{B=!1},1200);const b=I.querySelector("doxa-research-map");if(b){let L={};try{L=JSON.parse(b.getAttribute("profile-config")||"{}")}catch{L={}}L.externalFilters={region:y.region.value,religion:y.religion,language:y.language.label,fitSlugs:N.value},i.value&&(L.lang=i.value),b.setAttribute("profile-config",JSON.stringify(L))}const A=I.querySelector("people-groups-grid");if(A&&(A.setAttribute("wagf-region",y.region.value),A.setAttribute("religion-family",y.religion),A.setAttribute("primary-language",Z()),i.value)){let L={};try{L=JSON.parse(A.getAttribute("profile-config")||"{}")}catch{L={}}L.lang!==i.value&&(L.lang=i.value,A.setAttribute("profile-config",JSON.stringify(L)))}}Qe(i,pe),Qe(y,pe,{deep:!0}),Qe(N,pe),hs(()=>{var b,A,L,ee,le,$e;I=((ee=(L=(A=(b=xs())==null?void 0:b.proxy)==null?void 0:A.$el)==null?void 0:L.getRootNode)==null?void 0:ee.call(L))||null,(le=I==null?void 0:I.addEventListener)==null||le.call(I,"groups-filtered",U),($e=I==null?void 0:I.addEventListener)==null||$e.call(I,"map-filtered",E)}),eo(()=>{var b,A;(b=I==null?void 0:I.removeEventListener)==null||b.call(I,"groups-filtered",U),(A=I==null?void 0:I.removeEventListener)==null||A.call(I,"map-filtered",E)});const Fe=Ge(()=>[{key:"map",element:"doxa-research-map",src:C("doxa-research-map","doxa-research-map"),attrs:{"profile-config":JSON.stringify({profile:"research-map",dataSource:"pray-tools",instanceId:"rmpg-research-map",legendTools:!1,...o.value?{tk:o.value}:{},...r.value?{tokenUrl:r.value}:{},...n.value?{provider:n.value}:{},...i.value?{lang:i.value}:{},...l.value?{list:l.value}:{},externalFilters:{region:y.region.value,religion:y.religion,language:y.language.label,fitSlugs:N.value},assetsBase:"../../assets",shareUrl:p})},minHeight:An,maxHeight:An},{key:"grid",element:"people-groups-grid",src:C("people-groups-grid","people-groups-grid"),attrs:{"show-search":"true","show-filters":"true","show-total":"true",...l.value?{"profile-config":JSON.stringify({list:l.value})}:{},"wagf-region":y.region.value,"religion-family":y.religion,"primary-language":Z()}}]);return(b,A)=>(me(),bs(Uc,{sections:Fe.value},null,8,["sections"]))}}),[["styles",[Yc]]]));typeof customElements<"u"&&(customElements.get("research-map-plus-grid")||customElements.define("research-map-plus-grid",Zc))})();
diff --git a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html
index 660e02c07..31ab2119b 100644
--- a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html
+++ b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html
@@ -77,7 +77,7 @@
-
+
-
+