348 lines
266 KiB
JavaScript
348 lines
266 KiB
JavaScript
(function(){"use strict";var er=typeof document<"u"?document.currentScript:null;/**
|
||
* @vue/shared v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function tr(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ve={},fo=[],yt=()=>{},vs=()=>!1,an=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ln=e=>e.startsWith("onUpdate:"),Ce=Object.assign,or=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Yl=Object.prototype.hasOwnProperty,ge=(e,t)=>Yl.call(e,t),oe=Array.isArray,Bt=e=>Mo(e)==="[object Map]",cn=e=>Mo(e)==="[object Set]",ks=e=>Mo(e)==="[object Date]",re=e=>typeof e=="function",Ae=e=>typeof e=="string",ht=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",Ls=e=>(be(e)||re(e))&&re(e.then)&&re(e.catch),Ss=Object.prototype.toString,Mo=e=>Ss.call(e),ql=e=>Mo(e).slice(8,-1),un=e=>Mo(e)==="[object Object]",nr=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Po=tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dn=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Zl=/-\w/g,nt=dn(e=>e.replace(Zl,t=>t.slice(1).toUpperCase())),Xl=/\B([A-Z])/g,ct=dn(e=>e.replace(Xl,"-$1").toLowerCase()),Es=dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rr=dn(e=>e?`on${Es(e)}`:""),vt=(e,t)=>!Object.is(e,t),sr=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},As=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Jl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ts=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let xs;const pn=()=>xs||(xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fn(e){if(oe(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],s=Ae(n)?oc(n):fn(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(Ae(e)||be(e))return e}const Ql=/;(?![^(]*\))/g,ec=/:([^]+)/,tc=/\/\*[^]*?\*\//g;function oc(e){const t={};return e.replace(tc,"").split(Ql).forEach(o=>{if(o){const n=o.split(ec);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ve(e){let t="";if(Ae(e))t=e;else if(oe(e))for(let o=0;o<e.length;o++){const n=Ve(e[o]);n&&(t+=n+" ")}else if(be(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const nc=tr("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ms(e){return!!e||e===""}function rc(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&n<e.length;n++)o=hn(e[n],t[n]);return o}function Ps(e,t){if(e.size!==t.size)return!1;const o=Array.from(t),n=new Uint8Array(o.length);for(const s of e){let r=-1;for(let a=0;a<o.length;a++)if(!n[a]&&hn(s,o[a])){r=a;break}if(r<0)return!1;n[r]=1}return!0}function hn(e,t){if(e===t)return!0;let o=ks(e),n=ks(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=oe(e),n=oe(t),o||n)return o&&n?rc(e,t):!1;if(o=be(e),n=be(t),o||n){if(!o||!n)return!1;if(o=Bt(e),n=Bt(t),o||n||(o=cn(e),n=cn(t),o||n))return o&&n?Ps(e,t):!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const a in e){const i=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(i&&!l||!i&&l||!hn(e[a],t[a]))return!1}}return String(e)===String(t)}const Os=e=>!!(e&&e.__v_isRef===!0),Te=e=>Ae(e)?e:e==null?"":oe(e)||be(e)&&(e.toString===Ss||!re(e.toString))?Os(e)?Te(e.value):JSON.stringify(e,Fs,2):String(e),Fs=(e,t)=>Os(t)?Fs(e,t.value):Bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],r)=>(o[ar(n,r)+" =>"]=s,o),{})}:cn(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>ar(o))}:ht(t)?ar(t):be(t)&&!oe(t)&&!un(t)?String(t):t,ar=(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 Ge;class Cs{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&&Ge&&(Ge.active?(this.parent=Ge,this.index=(Ge.scopes||(Ge.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 s=this.scopes.slice();for(t=0,o=s.length;t<o;t++)s[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=Ge;try{return Ge=this,t()}finally{Ge=o}}}on(){++this._on===1&&(this.prevScope=Ge,Ge=this)}off(){if(this._on>0&&--this._on===0){if(Ge===this)Ge=this.prevScope;else{let t=Ge;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 s=this.scopes.slice();for(o=0,n=s.length;o<n;o++)s[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Is(e){return new Cs(e)}function sc(){return Ge}let ke;const ir=new WeakSet;class Ns{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,Ge&&(Ge.active?Ge.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||Ds(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Hs(this),zs(this);const t=ke,o=mt;ke=this,mt=!0;try{return this.fn()}finally{Us(this),ke=t,mt=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)dr(t);this.deps=this.depsTail=void 0,Hs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ir.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ur(this)&&this.run()}get dirty(){return ur(this)}}let Rs=0,Oo,Fo;function Ds(e,t=!1){if(e.flags|=8,t){e.next=Fo,Fo=e;return}e.next=Oo,Oo=e}function lr(){Rs++}function cr(){if(--Rs>0)return;if(Fo){let t=Fo;for(Fo=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Oo;){let t=Oo;for(Oo=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 zs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Us(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),dr(n),ac(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function ur(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(js(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function js(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Co)||(e.globalVersion=Co,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ur(e))))return;e.flags|=2;const t=e.dep,o=ke,n=mt;ke=e,mt=!0;try{zs(e);const s=e.fn(e._value);(t.version===0||vt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ke=o,mt=n,Us(e),e.flags&=-3}}function dr(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)dr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function ac(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let mt=!0;const Ws=[];function kt(){Ws.push(mt),mt=!1}function Lt(){const e=Ws.pop();mt=e===void 0?!0:e}function Hs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=ke;ke=void 0;try{t()}finally{ke=o}}}let Co=0;class ic{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 pr{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(!ke||!mt||ke===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==ke)o=this.activeLink=new ic(ke,this),ke.deps?(o.prevDep=ke.depsTail,ke.depsTail.nextDep=o,ke.depsTail=o):ke.deps=ke.depsTail=o,Vs(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=ke.depsTail,o.nextDep=void 0,ke.depsTail.nextDep=o,ke.depsTail=o,ke.deps===o&&(ke.deps=n)}return o}trigger(t){this.version++,Co++,this.notify(t)}notify(t){lr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{cr()}}}function Vs(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)Vs(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const fr=new WeakMap,no=Symbol(""),hr=Symbol(""),Io=Symbol("");function Ye(e,t,o){if(mt&&ke){let n=fr.get(e);n||fr.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new pr),s.map=n,s.key=o),s.track()}}function Ct(e,t,o,n,s,r){const a=fr.get(e);if(!a){Co++;return}const i=l=>{l&&l.trigger()};if(lr(),t==="clear")a.forEach(i);else{const l=oe(e),c=l&&nr(o);if(l&&o==="length"){const u=Number(n);a.forEach((h,_)=>{(_==="length"||_===Io||!ht(_)&&_>=u)&&i(h)})}else switch((o!==void 0||a.has(void 0))&&i(a.get(o)),c&&i(a.get(Io)),t){case"add":l?c&&i(a.get("length")):(i(a.get(no)),Bt(e)&&i(a.get(hr)));break;case"delete":l||(i(a.get(no)),Bt(e)&&i(a.get(hr)));break;case"set":Bt(e)&&i(a.get(no));break}}cr()}function ho(e){const t=fe(e);return t===e?t:(Ye(t,"iterate",Io),pt(e)?t:t.map(gt))}function mn(e){return Ye(e=fe(e),"iterate",Io),e}function St(e,t){return Nt(e)?mo(ro(e)?gt(t):t):gt(t)}const lc={__proto__:null,[Symbol.iterator](){return mr(this,Symbol.iterator,e=>St(this,e))},concat(...e){return ho(this).concat(...e.map(t=>oe(t)?ho(t):t))},entries(){return mr(this,"entries",e=>(e[1]=St(this,e[1]),e))},every(e,t){return It(this,"every",e,t,void 0,arguments)},filter(e,t){return It(this,"filter",e,t,o=>o.map(n=>St(this,n)),arguments)},find(e,t){return It(this,"find",e,t,o=>St(this,o),arguments)},findIndex(e,t){return It(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return It(this,"findLast",e,t,o=>St(this,o),arguments)},findLastIndex(e,t){return It(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return It(this,"forEach",e,t,void 0,arguments)},includes(...e){return gr(this,"includes",e)},indexOf(...e){return gr(this,"indexOf",e)},join(e){return ho(this).join(e)},lastIndexOf(...e){return gr(this,"lastIndexOf",e)},map(e,t){return It(this,"map",e,t,void 0,arguments)},pop(){return No(this,"pop")},push(...e){return No(this,"push",e)},reduce(e,...t){return Gs(this,"reduce",e,t)},reduceRight(e,...t){return Gs(this,"reduceRight",e,t)},shift(){return No(this,"shift")},some(e,t){return It(this,"some",e,t,void 0,arguments)},splice(...e){return No(this,"splice",e)},toReversed(){return ho(this).toReversed()},toSorted(e){return ho(this).toSorted(e)},toSpliced(...e){return ho(this).toSpliced(...e)},unshift(...e){return No(this,"unshift",e)},values(){return mr(this,"values",e=>St(this,e))}};function mr(e,t,o){const n=mn(e),s=n[t]();return n!==e&&!pt(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=o(r.value)),r}),s}const cc=Array.prototype;function It(e,t,o,n,s,r){const a=mn(e),i=a!==e&&!pt(e),l=a[t];if(l!==cc[t]){const h=l.apply(e,r);return i?gt(h):h}let c=o;a!==e&&(i?c=function(h,_){return o.call(this,St(e,h),_,e)}:o.length>2&&(c=function(h,_){return o.call(this,h,_,e)}));const u=l.call(a,c,n);return i&&s?s(u):u}function Gs(e,t,o,n){const s=mn(e),r=s!==e&&!pt(e);let a=o,i=!1;s!==e&&(r?(i=n.length===0,a=function(c,u,h){return i&&(i=!1,c=St(e,c)),o.call(this,c,St(e,u),h,e)}):o.length>3&&(a=function(c,u,h){return o.call(this,c,u,h,e)}));const l=s[t](a,...n);return i?St(e,l):l}function gr(e,t,o){const n=fe(e);Ye(n,"iterate",Io);const s=n[t](...o);return(s===-1||s===!1)&&$r(o[0])?(o[0]=fe(o[0]),n[t](...o)):s}function No(e,t,o=[]){kt(),lr();const n=fe(e)[t].apply(e,o);return cr(),Lt(),n}const uc=tr("__proto__,__v_isRef,__isVue"),Bs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function dc(e){ht(e)||(e=String(e));const t=fe(this);return Ye(t,"has",e),t.hasOwnProperty(e)}class Ks{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(s?r?Qs:Js:r?Xs:Zs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=oe(t);if(!s){let l;if(a&&(l=lc[o]))return l;if(o==="hasOwnProperty")return dc}const i=Reflect.get(t,o,Ue(t)?t:n);if((ht(o)?Bs.has(o):uc(o))||(s||Ye(t,"get",o),r))return i;if(Ue(i)){const l=a&&nr(o)?i:i.value;return s&&be(l)?br(l):l}return be(i)?s?br(i):$n(i):i}}class Ys extends Ks{constructor(t=!1){super(!1,t)}set(t,o,n,s){let r=t[o];const a=oe(t)&&nr(o);if(!this._isShallow){const c=Nt(r);if(!pt(n)&&!Nt(n)&&(r=fe(r),n=fe(n)),!a&&Ue(r)&&!Ue(n))return c||(r.value=n),!0}const i=a?Number(o)<t.length:ge(t,o),l=Reflect.set(t,o,n,Ue(t)?t:s);return t===fe(s)&&l&&(i?vt(n,r)&&Ct(t,"set",o,n):Ct(t,"add",o,n)),l}deleteProperty(t,o){const n=ge(t,o);t[o];const s=Reflect.deleteProperty(t,o);return s&&n&&Ct(t,"delete",o,void 0),s}has(t,o){const n=Reflect.has(t,o);return(!ht(o)||!Bs.has(o))&&Ye(t,"has",o),n}ownKeys(t){return Ye(t,"iterate",oe(t)?"length":no),Reflect.ownKeys(t)}}class qs extends Ks{constructor(t=!1){super(!0,t)}set(t,o){return!0}deleteProperty(t,o){return!0}}const pc=new Ys,fc=new qs,hc=new Ys(!0),mc=new qs(!0),_r=e=>e,gn=e=>Reflect.getPrototypeOf(e);function gc(e,t,o){return function(...n){const s=this.__v_raw,r=fe(s),a=Bt(r),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=s[e](...n),u=o?_r:t?mo:gt;return!t&&Ye(r,"iterate",l?hr:no),Ce(Object.create(c),{next(){const{value:h,done:_}=c.next();return _?{value:h,done:_}:{value:i?[u(h[0]),u(h[1])]:u(h),done:_}}})}}function _n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _c(e,t){const o={get(s){const r=this.__v_raw,a=fe(r),i=fe(s);e||(vt(s,i)&&Ye(a,"get",s),Ye(a,"get",i));const{has:l}=gn(a),c=t?_r:e?mo:gt;if(l.call(a,s))return c(r.get(s));if(l.call(a,i))return c(r.get(i));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Ye(fe(s),"iterate",no),s.size},has(s){const r=this.__v_raw,a=fe(r),i=fe(s);return e||(vt(s,i)&&Ye(a,"has",s),Ye(a,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const a=this,i=a.__v_raw,l=fe(i),c=t?_r:e?mo:gt;return!e&&Ye(l,"iterate",no),i.forEach((u,h)=>s.call(r,c(u),c(h),a))}};return Ce(o,e?{add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear")}:{add(s){const r=fe(this),a=gn(r),i=fe(s),l=!t&&!pt(s)&&!Nt(s)?i:s;return a.has.call(r,l)||vt(s,l)&&a.has.call(r,s)||vt(i,l)&&a.has.call(r,i)||(r.add(l),Ct(r,"add",l,l)),this},set(s,r){!t&&!pt(r)&&!Nt(r)&&(r=fe(r));const a=fe(this),{has:i,get:l}=gn(a);let c=i.call(a,s);c||(s=fe(s),c=i.call(a,s));const u=l.call(a,s);return a.set(s,r),c?vt(r,u)&&Ct(a,"set",s,r):Ct(a,"add",s,r),this},delete(s){const r=fe(this),{has:a,get:i}=gn(r);let l=a.call(r,s);l||(s=fe(s),l=a.call(r,s)),i&&i.call(r,s);const c=r.delete(s);return l&&Ct(r,"delete",s,void 0),c},clear(){const s=fe(this),r=s.size!==0,a=s.clear();return r&&Ct(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=gc(s,e,t)}),o}function bn(e,t){const o=_c(e,t);return(n,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(ge(o,s)&&s in n?o:n,s,r)}const bc={get:bn(!1,!1)},$c={get:bn(!1,!0)},wc={get:bn(!0,!1)},yc={get:bn(!0,!0)},Zs=new WeakMap,Xs=new WeakMap,Js=new WeakMap,Qs=new WeakMap;function vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $n(e){return Nt(e)?e:wn(e,!1,pc,bc,Zs)}function kc(e){return wn(e,!1,hc,$c,Xs)}function br(e){return wn(e,!0,fc,wc,Js)}function mg(e){return wn(e,!0,mc,yc,Qs)}function wn(e,t,o,n,s){if(!be(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=s.get(e);if(r)return r;const a=vc(ql(e));if(a===0)return e;const i=new Proxy(e,a===2?n:o);return s.set(e,i),i}function ro(e){return Nt(e)?ro(e.__v_raw):!!(e&&e.__v_isReactive)}function Nt(e){return!!(e&&e.__v_isReadonly)}function pt(e){return!!(e&&e.__v_isShallow)}function $r(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Lc(e){return!ge(e,"__v_skip")&&Object.isExtensible(e)&&As(e,"__v_skip",!0),e}const gt=e=>be(e)?$n(e):e,mo=e=>be(e)?br(e):e;function Ue(e){return e?e.__v_isRef===!0:!1}function _e(e){return ea(e,!1)}function wr(e){return ea(e,!0)}function ea(e,t){return Ue(e)?e:new Sc(e,t)}class Sc{constructor(t,o){this.dep=new pr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:fe(t),this._value=o?t:gt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||pt(t)||Nt(t);t=n?t:fe(t),vt(t,o)&&(this._rawValue=t,this._value=n?t:gt(t),this.dep.trigger())}}function Rt(e){return Ue(e)?e.value:e}const Ec={get:(e,t,o)=>t==="__v_raw"?e:Rt(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Ue(s)&&!Ue(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function ta(e){return ro(e)?e:new Proxy(e,Ec)}class Ac{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new pr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Co-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ke!==this)return Ds(this,!0),!0}get value(){const t=this.dep.track();return js(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Tc(e,t,o=!1){let n,s;return re(e)?n=e:(n=e.get,s=e.set),new Ac(n,s,o)}const yn={},vn=new WeakMap;let so;function xc(e,t=!1,o=so){if(o){let n=vn.get(o);n||vn.set(o,n=[]),n.push(e)}}function Mc(e,t,o=ve){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=o,c=g=>s?g:pt(g)||s===!1||s===0?Kt(g,1):Kt(g);let u,h,_,k,E=!1,y=!1;if(Ue(e)?(h=()=>e.value,E=pt(e)):ro(e)?(h=()=>c(e),E=!0):oe(e)?(y=!0,E=e.some(g=>ro(g)||pt(g)),h=()=>e.map(g=>{if(Ue(g))return g.value;if(ro(g))return c(g);if(re(g))return l?l(g,2):g()})):re(e)?t?h=l?()=>l(e,2):e:h=()=>{if(_){kt();try{_()}finally{Lt()}}const g=so;so=u;try{return l?l(e,3,[k]):e(k)}finally{so=g}}:h=yt,t&&s){const g=h,A=s===!0?1/0:s;h=()=>Kt(g(),A)}const O=sc(),F=()=>{u.stop(),O&&O.active&&or(O.effects,u)};if(r&&t){const g=t;t=(...A)=>{const T=g(...A);return F(),T}}let b=y?new Array(e.length).fill(yn):yn;const w=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const A=u.run();if(g||s||E||(y?A.some((T,x)=>vt(T,b[x])):vt(A,b))){_&&_();const T=so;so=u;try{const x=[A,b===yn?void 0:y&&b[0]===yn?[]:b,k];b=A,l?l(t,3,x):t(...x)}finally{so=T}}}else u.run()};return i&&i(w),u=new Ns(h),u.scheduler=a?()=>a(w,!1):w,k=g=>xc(g,!1,u),_=u.onStop=()=>{const g=vn.get(u);if(g){if(l)l(g,4);else for(const A of g)A();vn.delete(u)}},t?n?w(!0):b=u.run():a?a(w.bind(null,!0),!0):u.run(),F.pause=u.pause.bind(u),F.resume=u.resume.bind(u),F.stop=F,F}function Kt(e,t=1/0,o){if(t<=0||!be(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ue(e))Kt(e.value,t,o);else if(oe(e))for(let n=0;n<e.length;n++)Kt(e[n],t,o);else if(cn(e)||Bt(e))e.forEach(n=>{Kt(n,t,o)});else if(un(e)){for(const n in e)Kt(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Kt(e[n],t,o)}return e}/**
|
||
* @vue/runtime-core v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Ro=[];let yr=!1;function gg(e,...t){if(yr)return;yr=!0,kt();const o=Ro.length?Ro[Ro.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Pc();if(n)go(n,o,11,[e+t.map(r=>{var a,i;return(i=(a=r.toString)==null?void 0:a.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,s.map(({vnode:r})=>`at <${Qa(o,r.type)}>`).join(`
|
||
`),s]);else{const r=[`[Vue warn]: ${e}`,...t];s.length&&r.push(`
|
||
`,...Oc(s)),console.warn(...r)}Lt(),yr=!1}function Pc(){let e=Ro[Ro.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 Oc(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
|
||
`],...Fc(o))}),t}function Fc({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${Qa(e.component,e.type,n)}`,r=">"+o;return e.props?[s,...Cc(e.props),r]:[s+r]}function Cc(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...oa(n,e[n]))}),o.length>3&&t.push(" ..."),t}function oa(e,t,o){return Ae(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ue(t)?(t=oa(e,fe(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):re(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=fe(t),o?t:[`${e}=`,t])}function go(e,t,o,n){try{return n?e(...n):e()}catch(s){kn(s,t,o)}}function _t(e,t,o,n){if(re(e)){const s=go(e,t,o,n);return s&&Ls(s)&&s.catch(r=>{kn(r,t,o)}),s}if(oe(e)){const s=[];for(let r=0;r<e.length;r++)s.push(_t(e[r],t,o,n));return s}}function kn(e,t,o,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||ve;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 h=0;h<u.length;h++)if(u[h](e,l,c)===!1)return}i=i.parent}if(r){kt(),go(r,null,10,[e,l,c]),Lt();return}}Ic(e,o,s,n,a)}function Ic(e,t,o,n=!0,s=!1){if(s)throw e;console.error(e)}const Ze=[];let Et=-1;const _o=[];let Yt=null,bo=0;const na=Promise.resolve();let Ln=null;function $o(e){const t=Ln||na;return e?t.then(this?e.bind(this):e):t}function Nc(e){let t=Et+1,o=Ze.length;for(;t<o;){const n=t+o>>>1,s=Ze[n],r=Do(s);r<e||r===e&&s.flags&2?t=n+1:o=n}return t}function vr(e){if(!(e.flags&1)){const t=Do(e),o=Ze[Ze.length-1];!o||!(e.flags&2)&&t>=Do(o)?Ze.push(e):Ze.splice(Nc(t),0,e),e.flags|=1,ra()}}function ra(){Ln||(Ln=na.then(ia))}function Rc(e){if(!oe(e))Yt&&e.id===-1?Yt.splice(bo+1,0,e):e.flags&1||(_o.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)_o.push(e[t]);ra()}function sa(e,t,o=Et+1){for(;o<Ze.length;o++){const n=Ze[o];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Ze.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function aa(e){if(_o.length){const t=[...new Set(_o)].sort((o,n)=>Do(o)-Do(n));if(_o.length=0,Yt){for(let o=0;o<t.length;o++)Yt.push(t[o]);return}for(Yt=t,bo=0;bo<Yt.length;bo++){const o=Yt[bo];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}Yt=null,bo=0}}const Do=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ia(e){try{for(Et=0;Et<Ze.length;Et++){const t=Ze[Et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),go(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Et<Ze.length;Et++){const t=Ze[Et];t&&(t.flags&=-2)}Et=-1,Ze.length=0,aa(),Ln=null,(Ze.length||_o.length)&&ia()}}let rt=null,la=null;function Sn(e){const t=rt;return rt=e,la=e&&e.type.__scopeId||null,t}function zo(e,t=rt,o){if(!t||e._n)return e;const n=(...s)=>{n._d&&Cn(-1);const r=Sn(t),a=zt.length;let i;try{i=e(...s)}finally{for(let l=zt.length;l>a;l--)Ur();Sn(r),n._d&&Cn(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function ao(e,t,o,n){const s=e.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];r&&(i.oldValue=r[a].value);let l=i.dir[n];l&&(kt(),_t(l,o,8,[e.el,i,e,t]),Lt())}}function ca(e,t){if(Qe){let o=Qe.provides;const n=Qe.parent&&Qe.parent.provides;n===o&&(o=Qe.provides=Object.create(n)),o[e]=t}}function bt(e,t,o=!1){const n=Xt();if(n||yo){let s=yo?yo._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return o&&re(t)?t.call(n&&n.proxy):t}}const Dc=Symbol.for("v-scx"),zc=()=>bt(Dc);function At(e,t,o){return ua(e,t,o)}function ua(e,t,o=ve){const{immediate:n,deep:s,flush:r,once:a}=o,i=Ce({},o),l=t&&n||!t&&r!=="post";let c;if(Zo){if(r==="sync"){const k=zc();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=yt,k.resume=yt,k.pause=yt,k}}const u=Qe;i.call=(k,E,y)=>_t(k,u,E,y);let h=!1;r==="post"?i.scheduler=k=>{Je(k,u&&u.suspense)}:r!=="sync"&&(h=!0,i.scheduler=(k,E)=>{E?k():vr(k)}),i.augmentJob=k=>{t&&(k.flags|=4),h&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const _=Mc(e,t,i);return Zo&&(c?c.push(_):l&&_()),_}function Uc(e,t,o){const n=this.proxy,s=Ae(e)?e.includes(".")?da(n,e):()=>n[e]:e.bind(n,n);let r;re(t)?r=t:(r=t.handler,o=t);const a=qo(this),i=ua(s,r.bind(n),o);return a(),i}function da(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;s<o.length&&n;s++)n=n[o[s]];return n}}const qt=new WeakMap,pa=Symbol("_vte"),En=e=>e.__isTeleport,io=e=>e&&(e.disabled||e.disabled===""),jc=e=>e&&(e.defer||e.defer===""),fa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ha=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,kr=(e,t)=>{const o=e&&e.to;return Ae(o)?t?t(o):null:o},Wc={name:"Teleport",__isTeleport:!0,process(e,t,o,n,s,r,a,i,l,c){const{mc:u,pc:h,pbc:_,o:{insert:k,querySelector:E,createText:y,createComment:O,parentNode:F}}=c,b=io(t.props);let{dynamicChildren:w}=t;const g=(x,U,I)=>{x.shapeFlag&16&&u(x.children,U,I,s,r,a,i,l)},A=(x=t)=>{const U=io(x.props),I=x.target=kr(x.props,E),J=Lr(I,x,y,k);I&&(a!=="svg"&&fa(I)?a="svg":a!=="mathml"&&ha(I)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(I),U||(g(x,I,J),Uo(x,!1)))},T=x=>{const U=()=>{if(qt.get(x)===U){if(qt.delete(x),io(x.props)){const I=F(x.el)||o;g(x,I,x.anchor),Uo(x,!0)}A(x)}};qt.set(x,U),Je(U,r)};if(e==null){const x=t.el=y(""),U=t.anchor=y("");if(k(x,o,n),k(U,o,n),jc(t.props)||r&&r.pendingBranch){T(t);return}b&&(g(t,o,U),Uo(t,!0)),A()}else{t.el=e.el;const x=t.anchor=e.anchor,U=qt.get(e);if(U){U.flags|=8,qt.delete(e),T(t);return}t.targetStart=e.targetStart;const I=t.target=e.target,J=t.targetAnchor=e.targetAnchor,ee=io(e.props),z=ee?o:I,ue=ee?x:J;if(a==="svg"||fa(I)?a="svg":(a==="mathml"||ha(I))&&(a="mathml"),w?(_(e.dynamicChildren,w,z,s,r,a,i),Dr(e,t,!0)):l||h(e,t,z,ue,s,r,a,i,!1),b)ee?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):An(t,o,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ie=kr(t.props,E);ie&&(t.target=ie,An(t,ie,null,c,0))}else ee&&An(t,I,J,c,1);Uo(t,b)}},remove(e,t,o,{um:n,o:{remove:s}},r){const{shapeFlag:a,children:i,anchor:l,targetStart:c,targetAnchor:u,target:h,props:_}=e,k=io(_),E=r||!k,y=qt.get(e);if(y&&(y.flags|=8,qt.delete(e)),h&&(s(c),s(u)),r&&s(l),!y&&(k||h)&&a&16)for(let O=0;O<i.length;O++){const F=i[O];n(F,t,o,E,!!F.dynamicChildren)}},move:An,hydrate:Hc};function An(e,t,o,{o:{insert:n},m:s},r=2){r===0&&n(e.targetAnchor,t,o);const{el:a,anchor:i,shapeFlag:l,children:c,props:u}=e,h=r===2;if(h&&n(a,t,o),!qt.has(e)&&(!h||io(u))&&l&16)for(let _=0;_<c.length;_++)s(c[_],t,o,2);h&&n(i,t,o)}function Hc(e,t,o,n,s,r,{o:{nextSibling:a,parentNode:i,querySelector:l,insert:c,createText:u}},h){function _(O,F){let b=F;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,O._lpa=t.targetAnchor&&a(t.targetAnchor);break}}b=a(b)}}function k(O,F){F.anchor=h(a(O),F,i(O),o,n,s,r)}const E=t.target=kr(t.props,l),y=io(t.props);if(E){const O=E._lpa||E.firstChild;t.shapeFlag&16&&(y?(k(e,t),_(E,O),t.targetAnchor||Lr(E,t,u,c,i(e)===E?e:null)):(t.anchor=a(e),_(E,O),t.targetAnchor||Lr(E,t,u,c),h(O&&a(O),t,E,o,n,s,r))),Uo(t,y)}else y&&t.shapeFlag&16&&(k(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}const Vc=Wc;function Uo(e,t){const o=e.ctx;if(o&&o.ut){let n,s;for(t?(n=e.el,s=e.anchor):(n=e.targetStart,s=e.targetAnchor);n&&n!==s;)n.nodeType===1&&n.setAttribute("data-v-owner",o.uid),n=n.nextSibling;o.ut()}}function Lr(e,t,o,n,s=null){const r=t.targetStart=o(""),a=t.targetAnchor=o("");return r[pa]=a,e&&(n(r,e,s),n(a,e,s)),a}const Sr=Symbol("_leaveCb");function Gc(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==Tt){t=o;break}}return t}function ma(e){if(!Ar(e))return En(e.type)&&e.children?Gc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&re(o.default))return o.default()}}function Er(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Er(En(o.type)&&ma(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 Tn(e,t){return re(e)?Ce({name:e.name},t,{setup:e}):e}function ga(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function _a(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const xn=new WeakMap;function jo(e,t,o,n,s=!1){if(oe(e)){e.forEach((y,O)=>jo(y,t&&(oe(t)?t[O]:t),o,n,s));return}if(wo(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&jo(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Wr(n.component):n.el,a=s?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===ve?i.refs={}:i.refs,h=i.setupState,_=fe(h),k=h===ve?vs:y=>_a(u,y)?!1:ge(_,y),E=(y,O)=>!(O&&_a(u,O));if(c!=null&&c!==l){if(ba(t),Ae(c))u[c]=null,k(c)&&(h[c]=null);else if(Ue(c)){const y=t;E(c,y.k)&&(c.value=null),y.k&&(u[y.k]=null)}}if(re(l))go(l,i,12,[a,u]);else{const y=Ae(l),O=Ue(l);if(y||O){const F=()=>{if(e.f){const b=y?k(l)?h[l]:u[l]:E()||!e.k?l.value:u[e.k];if(s)oe(b)&&or(b,r);else if(oe(b))b.includes(r)||b.push(r);else if(y)u[l]=[r],k(l)&&(h[l]=u[l]);else{const w=[r];E(l,e.k)&&(l.value=w),e.k&&(u[e.k]=w)}}else y?(u[l]=a,k(l)&&(h[l]=a)):O&&(E(l,e.k)&&(l.value=a),e.k&&(u[e.k]=a))};if(a){const b=()=>{F(),xn.delete(e)};b.id=-1,xn.set(e,b),Je(b,o)}else ba(e),F()}}}function ba(e){const t=xn.get(e);t&&(t.flags|=8,xn.delete(e))}pn().requestIdleCallback,pn().cancelIdleCallback;const wo=e=>!!e.type.__asyncLoader,Ar=e=>e.type.__isKeepAlive;function Bc(e,t){$a(e,"a",t)}function Kc(e,t){$a(e,"da",t)}function $a(e,t,o=Qe){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Mn(t,n,o),o){let s=o.parent;for(;s&&s.parent;)Ar(s.parent.vnode)&&Yc(n,t,o,s),s=s.parent}}function Yc(e,t,o,n){const s=Mn(t,e,n,!0);Tr(()=>{or(n[t],s)},o)}function Mn(e,t,o=Qe,n=!1){if(o){const s=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...a)=>{kt();const i=qo(o),l=_t(t,o,e,a);return i(),Lt(),l});return n?s.unshift(r):s.push(r),r}}const Dt=e=>(t,o=Qe)=>{(!Zo||e==="sp")&&Mn(e,(...n)=>t(...n),o)},wa=Dt("bm"),lo=Dt("m"),qc=Dt("bu"),Zc=Dt("u"),Pn=Dt("bum"),Tr=Dt("um"),Xc=Dt("sp"),Jc=Dt("rtg"),Qc=Dt("rtc");function eu(e,t=Qe){Mn("ec",e,t)}const tu=Symbol.for("v-ndc");function xr(e,t,o,n){let s;const r=o,a=oe(e);if(a||Ae(e)){const i=a&&ro(e);let l=!1,c=!1;i&&(l=!pt(e),c=Nt(e),e=mn(e)),s=new Array(e.length);for(let u=0,h=e.length;u<h;u++)s[u]=t(l?c?mo(gt(e[u])):gt(e[u]):e[u],u,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,r)}else if(be(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,r));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];s[l]=t(e[u],u,l,r)}}else s=[];return s}function ya(e,t,o,n,s,r){if(o==null&&(o={}),rt.ce||rt.parent&&wo(rt.parent)&&rt.parent.ce){const c=o,u=Object.keys(c).length>0;return $e(),vo(Be,null,[Ie("slot",c,n)],u?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const i=zt.length;$e();let l;try{const c=a&&va(a(o)),u=o.key||r||c&&c.key;l=vo(Be,{key:(u&&!ht(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=zt.length;u>i;u--)Ur();throw c}finally{a&&a._c&&(a._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function va(e){return e.some(t=>Bo(t)?!(t.type===Tt||t.type===Be&&!va(t.children)):!0)?e:null}const Mr=e=>e?Za(e)?Wr(e):Mr(e.parent):null,Wo=Ce(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=>Mr(e.parent),$root:e=>Mr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ea(e),$forceUpdate:e=>e.f||(e.f=()=>{vr(e.update)}),$nextTick:e=>e.n||(e.n=$o.bind(e.proxy)),$watch:e=>Uc.bind(e)}),Pr=(e,t)=>e!==ve&&!e.__isScriptSetup&&ge(e,t),ou={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:r,accessCache:a,type:i,appContext:l}=e;if(t[0]!=="$"){const _=a[t];if(_!==void 0)switch(_){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return r[t]}else{if(Pr(n,t))return a[t]=1,n[t];if(s!==ve&&ge(s,t))return a[t]=2,s[t];if(ge(r,t))return a[t]=3,r[t];if(o!==ve&&ge(o,t))return a[t]=4,o[t];Or&&(a[t]=0)}}const c=Wo[t];let u,h;if(c)return t==="$attrs"&&Ye(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==ve&&ge(o,t))return a[t]=4,o[t];if(h=l.config.globalProperties,ge(h,t))return h[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:r}=e;return Pr(s,t)?(s[t]=o,!0):n!==ve&&ge(n,t)?(n[t]=o,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:r,type:a}},i){let l;return!!(o[i]||e!==ve&&i[0]!=="$"&&ge(e,i)||Pr(t,i)||ge(r,i)||ge(n,i)||ge(Wo,i)||ge(s.config.globalProperties,i)||(l=a.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:ge(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ka(e){return oe(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Or=!0;function nu(e){const t=Ea(e),o=e.proxy,n=e.ctx;Or=!1,t.beforeCreate&&La(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:h,mounted:_,beforeUpdate:k,updated:E,activated:y,deactivated:O,beforeDestroy:F,beforeUnmount:b,destroyed:w,unmounted:g,render:A,renderTracked:T,renderTriggered:x,errorCaptured:U,serverPrefetch:I,expose:J,inheritAttrs:ee,components:z,directives:ue,filters:ie}=t;if(c&&ru(c,n,null),a)for(const q in a){const Q=a[q];re(Q)&&(n[q]=Q.bind(o))}if(s){const q=s.call(o,o);be(q)&&(e.data=$n(q))}if(Or=!0,r)for(const q in r){const Q=r[q],de=re(Q)?Q.bind(o,o):re(Q.get)?Q.get.bind(o,o):yt,tt=!re(Q)&&re(Q.set)?Q.set.bind(o):yt,Se=je({get:de,set:tt});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>Se.value,set:Me=>Se.value=Me})}if(i)for(const q in i)Sa(i[q],n,o,q);if(l){const q=re(l)?l.call(o):l;Reflect.ownKeys(q).forEach(Q=>{ca(Q,q[Q])})}u&&La(u,e,"c");function W(q,Q){oe(Q)?Q.forEach(de=>q(de.bind(o))):Q&&q(Q.bind(o))}if(W(wa,h),W(lo,_),W(qc,k),W(Zc,E),W(Bc,y),W(Kc,O),W(eu,U),W(Qc,T),W(Jc,x),W(Pn,b),W(Tr,g),W(Xc,I),oe(J))if(J.length){const q=e.exposed||(e.exposed={});J.forEach(Q=>{Object.defineProperty(q,Q,{get:()=>o[Q],set:de=>o[Q]=de,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===yt&&(e.render=A),ee!=null&&(e.inheritAttrs=ee),z&&(e.components=z),ue&&(e.directives=ue),I&&ga(e)}function ru(e,t,o=yt){oe(e)&&(e=Fr(e));for(const n in e){const s=e[n];let r;be(s)?"default"in s?r=bt(s.from||n,s.default,!0):r=bt(s.from||n):r=bt(s),Ue(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r}}function La(e,t,o){_t(oe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Sa(e,t,o,n){let s=n.includes(".")?da(o,n):()=>o[n];if(Ae(e)){const r=t[e];re(r)&&At(s,r)}else if(re(e))At(s,e.bind(o));else if(be(e))if(oe(e))e.forEach(r=>Sa(r,t,o,n));else{const r=re(e.handler)?e.handler.bind(o):t[e.handler];re(r)&&At(s,r,e)}}function Ea(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(c=>On(l,c,a,!0)),On(l,t,a)),be(t)&&r.set(t,l),l}function On(e,t,o,n=!1){const{mixins:s,extends:r}=t;r&&On(e,r,o,!0),s&&s.forEach(a=>On(e,a,o,!0));for(const a in t)if(!(n&&a==="expose")){const i=su[a]||o&&o[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const su={data:Aa,props:Ta,emits:Ta,methods:Ho,computed:Ho,beforeCreate:Xe,created:Xe,beforeMount:Xe,mounted:Xe,beforeUpdate:Xe,updated:Xe,beforeDestroy:Xe,beforeUnmount:Xe,destroyed:Xe,unmounted:Xe,activated:Xe,deactivated:Xe,errorCaptured:Xe,serverPrefetch:Xe,components:Ho,directives:Ho,watch:iu,provide:Aa,inject:au};function Aa(e,t){return t?e?function(){return Ce(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function au(e,t){return Ho(Fr(e),Fr(t))}function Fr(e){if(oe(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function Xe(e,t){return e?[...new Set([].concat(e,t))]:t}function Ho(e,t){return e?Ce(Object.create(null),e,t):t}function Ta(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:Ce(Object.create(null),ka(e),ka(t??{})):t}function iu(e,t){if(!e)return t;if(!t)return e;const o=Ce(Object.create(null),e);for(const n in t)o[n]=Xe(e[n],t[n]);return o}function xa(){return{app:null,config:{isNativeTag:vs,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 lu=0;function cu(e,t){return function(n,s=null){re(n)||(n=Ce({},n)),s!=null&&!be(s)&&(s=null);const r=xa(),a=new WeakSet,i=[];let l=!1;const c=r.app={_uid:lu++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Wu,get config(){return r.config},set config(u){},use(u,...h){return a.has(u)||(u&&re(u.install)?(a.add(u),u.install(c,...h)):re(u)&&(a.add(u),u(c,...h))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,h){return h?(r.components[u]=h,c):r.components[u]},directive(u,h){return h?(r.directives[u]=h,c):r.directives[u]},mount(u,h,_){if(!l){const k=c._ceVNode||Ie(n,s);return k.appContext=r,_===!0?_="svg":_===!1&&(_=void 0),e(k,u,_),l=!0,c._container=u,u.__vue_app__=c,Wr(k.component)}},onUnmount(u){i.push(u)},unmount(){l&&(_t(i,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,h){return r.provides[u]=h,c},runWithContext(u){const h=yo;yo=c;try{return u()}finally{yo=h}}};return c}}let yo=null;const uu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${nt(t)}Modifiers`]||e[`${ct(t)}Modifiers`];function du(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ve;let s=o;const r=t.startsWith("update:"),a=r&&uu(n,t.slice(7));a&&(a.trim&&(s=o.map(u=>Ae(u)?u.trim():u)),a.number&&(s=s.map(Jl)));let i,l=n[i=rr(t)]||n[i=rr(nt(t))];!l&&r&&(l=n[i=rr(ct(t))]),l&&_t(l,e,6,s);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,_t(c,e,6,s)}}const pu=new WeakMap;function Ma(e,t,o=!1){const n=o?pu:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const r=e.emits;let a={},i=!1;if(!re(e)){const l=c=>{const u=Ma(c,t,!0);u&&(i=!0,Ce(a,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(be(e)&&n.set(e,null),null):(oe(r)?r.forEach(l=>a[l]=null):Ce(a,r),be(e)&&n.set(e,a),a)}function Fn(e,t){return!e||!an(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,ct(t))||ge(e,t))}function _g(){}function Pa(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[r],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:h,data:_,setupState:k,ctx:E,inheritAttrs:y}=e,O=Sn(e);let F,b;try{if(o.shapeFlag&4){const g=s||n,A=g;F=xt(c.call(A,g,u,h,k,_,E)),b=i}else{const g=t;F=xt(g.length>1?g(h,{attrs:i,slots:a,emit:l}):g(h,null)),b=t.props?i:fu(i)}}catch(g){zt.length=0,kn(g,e,1),F=Ie(Tt)}let w=F;if(b&&y!==!1){const g=Object.keys(b),{shapeFlag:A}=w;g.length&&A&7&&(r&&g.some(ln)&&(b=hu(b,r)),w=ko(w,b,!1,!0))}if(o.dirs&&(w=ko(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(o.dirs):o.dirs),o.transition){const g=En(w.type)&&ma(w)||w;Er(g,o.transition)}return F=w,Sn(O),F}const fu=e=>{let t;for(const o in e)(o==="class"||o==="style"||an(o))&&((t||(t={}))[o]=e[o]);return t},hu=(e,t)=>{const o={};for(const n in e)(!ln(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function mu(e,t,o){const{props:n,children:s,component:r}=e,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Oa(n,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const _=u[h];if(Fa(a,n,_)&&!Fn(c,_))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:n===a?!1:n?a?Oa(n,a,c):!0:!!a;return!1}function Oa(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(Fa(t,e,r)&&!Fn(o,r))return!0}return!1}function Fa(e,t,o){const n=e[o],s=t[o];return o==="style"&&be(n)&&be(s)?!hn(n,s):n!==s}function gu({vnode:e,parent:t,suspense:o},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=n,e=s),s===e)(e=t.vnode).el=n,t=t.parent;else break}o&&o.activeBranch===e&&(o.vnode.el=n)}const Ca={},Ia=()=>Object.create(Ca),Na=e=>Object.getPrototypeOf(e)===Ca;function _u(e,t,o,n=!1){const s={},r=Ia();e.propsDefaults=Object.create(null),Ra(e,t,s,r);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);o?e.props=n?s:kc(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function bu(e,t,o,n){const{props:s,attrs:r,vnode:{patchFlag:a}}=e,i=fe(s),[l]=e.propsOptions;let c=!1;if((n||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let _=u[h];if(Fn(e.emitsOptions,_))continue;const k=t[_];if(l)if(ge(r,_))k!==r[_]&&(r[_]=k,c=!0);else{const E=nt(_);s[E]=Cr(l,i,E,k,e,!1)}else k!==r[_]&&(r[_]=k,c=!0)}}}else{Ra(e,t,s,r)&&(c=!0);let u;for(const h in i)(!t||!ge(t,h)&&((u=ct(h))===h||!ge(t,u)))&&(l?o&&(o[h]!==void 0||o[u]!==void 0)&&(s[h]=Cr(l,i,h,void 0,e,!0)):delete s[h]);if(r!==i)for(const h in r)(!t||!ge(t,h))&&(delete r[h],c=!0)}c&&Ct(e.attrs,"set","")}function Ra(e,t,o,n){const[s,r]=e.propsOptions;let a=!1,i;if(t)for(let l in t){if(Po(l))continue;const c=t[l];let u;s&&ge(s,u=nt(l))?!r||!r.includes(u)?o[u]=c:(i||(i={}))[u]=c:Fn(e.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,a=!0)}if(r){const l=fe(o),c=i||ve;for(let u=0;u<r.length;u++){const h=r[u];o[h]=Cr(s,l,h,c[h],e,!ge(c,h))}}return a}function Cr(e,t,o,n,s,r){const a=e[o];if(a!=null){const i=ge(a,"default");if(i&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&re(l)){const{propsDefaults:c}=s;if(o in c)n=c[o];else{const u=qo(s);n=c[o]=l.call(null,t),u()}}else n=l;s.ce&&s.ce._setProp(o,n)}a[0]&&(r&&!i?n=!1:a[1]&&(n===""||n===ct(o))&&(n=!0))}return n}const $u=new WeakMap;function Da(e,t,o=!1){const n=o?$u:t.propsCache,s=n.get(e);if(s)return s;const r=e.props,a={},i=[];let l=!1;if(!re(e)){const u=h=>{l=!0;const[_,k]=Da(h,t,!0);Ce(a,_),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return be(e)&&n.set(e,fo),fo;if(oe(r))for(let u=0;u<r.length;u++){const h=nt(r[u]);za(h)&&(a[h]=ve)}else if(r)for(const u in r){const h=nt(u);if(za(h)){const _=r[u],k=a[h]=oe(_)||re(_)?{type:_}:Ce({},_),E=k.type;let y=!1,O=!0;if(oe(E))for(let F=0;F<E.length;++F){const b=E[F],w=re(b)&&b.name;if(w==="Boolean"){y=!0;break}else w==="String"&&(O=!1)}else y=re(E)&&E.name==="Boolean";k[0]=y,k[1]=O,(y||ge(k,"default"))&&i.push(h)}}const c=[a,i];return be(e)&&n.set(e,c),c}function za(e){return e[0]!=="$"&&!Po(e)}const Ir=e=>e==="_"||e==="_ctx"||e==="$stable",Nr=e=>oe(e)?e.map(xt):[xt(e)],wu=(e,t,o)=>{if(t._n)return t;const n=zo((...s)=>Nr(t(...s)),o);return n._c=!1,n},Ua=(e,t,o)=>{const n=e._ctx;for(const s in e){if(Ir(s))continue;const r=e[s];if(re(r))t[s]=wu(s,r,n);else if(r!=null){const a=Nr(r);t[s]=()=>a}}},ja=(e,t)=>{const o=Nr(t);e.slots.default=()=>o},Wa=(e,t,o)=>{for(const n in t)(o||!Ir(n))&&(e[n]=t[n])},yu=(e,t,o)=>{const n=e.slots=Ia();if(e.vnode.shapeFlag&32){const s=t._;s?(Wa(n,t,o),o&&As(n,"_",s,!0)):Ua(t,n)}else t&&ja(e,t)},vu=(e,t,o)=>{const{vnode:n,slots:s}=e;let r=!0,a=ve;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Wa(s,t,o):(r=!t.$stable,Ua(t,s)),a=t}else t&&(ja(e,t),a={default:1});if(r)for(const i in s)!Ir(i)&&a[i]==null&&delete s[i]},Je=Au;function ku(e){return Lu(e)}function Lu(e,t){const o=pn();o.__VUE__=!0;const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:_,setScopeId:k=yt,insertStaticContent:E}=e,y=(f,$,m,M=null,R=null,N=null,V=void 0,H=null,d=!!$.dynamicChildren)=>{if(f===$)return;f&&!Ko(f,$)&&(M=Oe(f),Me(f,R,N,!0),f=null),$.patchFlag===-2&&(d=!1,$.dynamicChildren=null);const{type:p,ref:L,shapeFlag:C}=$;switch(p){case Vo:O(f,$,m,M);break;case Tt:F(f,$,m,M);break;case zr:f==null&&b($,m,M,V);break;case Be:z(f,$,m,M,R,N,V,H,d);break;default:C&1?A(f,$,m,M,R,N,V,H,d):C&6?ue(f,$,m,M,R,N,V,H,d):(C&64||C&128)&&p.process(f,$,m,M,R,N,V,H,d,ae)}L!=null&&R?jo(L,f&&f.ref,N,$||f,!$):L==null&&f&&f.ref!=null&&jo(f.ref,null,N,f,!0)},O=(f,$,m,M)=>{if(f==null)n($.el=i($.children),m,M);else{const R=$.el=f.el;$.children!==f.children&&c(R,$.children)}},F=(f,$,m,M)=>{f==null?n($.el=l($.children||""),m,M):$.el=f.el},b=(f,$,m,M)=>{[f.el,f.anchor]=E(f.children,$,m,M,f.el,f.anchor)},w=({el:f,anchor:$},m,M)=>{let R;for(;f&&f!==$;)R=_(f),n(f,m,M),f=R;n($,m,M)},g=({el:f,anchor:$})=>{let m;for(;f&&f!==$;)m=_(f),s(f),f=m;s($)},A=(f,$,m,M,R,N,V,H,d)=>{if($.type==="svg"?V="svg":$.type==="math"&&(V="mathml"),f==null)T($,m,M,R,N,V,H,d);else{const p=f.el&&f.el._isVueCE?f.el:null;try{p&&p._beginPatch(),I(f,$,R,N,V,H,d)}finally{p&&p._endPatch()}}},T=(f,$,m,M,R,N,V,H)=>{let d,p;const{props:L,shapeFlag:C,transition:G,dirs:j}=f;if(d=f.el=a(f.type,N,L&&L.is,L),C&8?u(d,f.children):C&16&&U(f.children,d,null,M,R,Rr(f,N),V,H),j&&ao(f,null,M,"created"),x(d,f,f.scopeId,V,M),L){for(const P in L)P!=="value"&&!Po(P)&&r(d,P,null,L[P],N,M);"value"in L&&r(d,"value",null,L.value,N),(p=L.onVnodeBeforeMount)&&Mt(p,M,f)}j&&ao(f,null,M,"beforeMount");const v=Su(R,G);v&&G.beforeEnter(d),n(d,$,m),((p=L&&L.onVnodeMounted)||v||j)&&Je(()=>{try{p&&Mt(p,M,f),v&&G.enter(d),j&&ao(f,null,M,"mounted")}finally{}},R)},x=(f,$,m,M,R)=>{if(m&&k(f,m),M)for(let N=0;N<M.length;N++)k(f,M[N]);if(R){let N=R.subTree;if($===N||Ba(N.type)&&(N.ssContent===$||N.ssFallback===$)){const V=R.vnode;x(f,V,V.scopeId,V.slotScopeIds,R.parent)}}},U=(f,$,m,M,R,N,V,H,d=0)=>{for(let p=d;p<f.length;p++){const L=f[p]=H?Ut(f[p]):xt(f[p]);y(null,L,$,m,M,R,N,V,H)}},I=(f,$,m,M,R,N,V)=>{const H=$.el=f.el;let{patchFlag:d,dynamicChildren:p,dirs:L}=$;d|=f.patchFlag&16;const C=f.props||ve,G=$.props||ve;let j;if(m&&co(m,!1),(j=G.onVnodeBeforeUpdate)&&Mt(j,m,$,f),L&&ao($,f,m,"beforeUpdate"),m&&co(m,!0),p&&(!f.dynamicChildren||f.dynamicChildren.length!==p.length)&&(d=0,V=!1,p=null),(C.innerHTML&&G.innerHTML==null||C.textContent&&G.textContent==null)&&u(H,""),p?J(f.dynamicChildren,p,H,m,M,Rr($,R),N):V||Q(f,$,H,null,m,M,Rr($,R),N,!1),d>0){if(d&16)ee(H,C,G,m,R);else if(d&2&&C.class!==G.class&&r(H,"class",null,G.class,R),d&4&&r(H,"style",C.style,G.style,R),d&8){const v=$.dynamicProps;for(let P=0;P<v.length;P++){const Z=v[P],se=C[Z],we=G[Z];(we!==se||Z==="value")&&r(H,Z,se,we,R,m)}}d&1&&f.children!==$.children&&u(H,$.children)}else!V&&p==null&&ee(H,C,G,m,R);((j=G.onVnodeUpdated)||L)&&Je(()=>{j&&Mt(j,m,$,f),L&&ao($,f,m,"updated")},M)},J=(f,$,m,M,R,N,V)=>{for(let H=0;H<$.length;H++){const d=f[H],p=$[H],L=d.el&&(d.type===Be||!Ko(d,p)||d.shapeFlag&198)?h(d.el):m;y(d,p,L,null,M,R,N,V,!0)}},ee=(f,$,m,M,R)=>{if($!==m){if($!==ve)for(const N in $)!Po(N)&&!(N in m)&&r(f,N,$[N],null,R,M);for(const N in m){if(Po(N))continue;const V=m[N],H=$[N];V!==H&&N!=="value"&&r(f,N,H,V,R,M)}"value"in m&&r(f,"value",$.value,m.value,R)}},z=(f,$,m,M,R,N,V,H,d)=>{const p=$.el=f?f.el:i(""),L=$.anchor=f?f.anchor:i("");let{patchFlag:C,dynamicChildren:G,slotScopeIds:j}=$;j&&(H=H?H.concat(j):j),f==null?(n(p,m,M),n(L,m,M),U($.children||[],m,L,R,N,V,H,d)):C>0&&C&64&&G&&f.dynamicChildren&&f.dynamicChildren.length===G.length?(J(f.dynamicChildren,G,m,R,N,V,H),($.key!=null||R&&$===R.subTree)&&Dr(f,$,!0)):Q(f,$,m,L,R,N,V,H,d)},ue=(f,$,m,M,R,N,V,H,d)=>{$.slotScopeIds=H,f==null?$.shapeFlag&512?R.ctx.activate($,m,M,V,d):ie($,m,M,R,N,V,d):B(f,$,d)},ie=(f,$,m,M,R,N,V)=>{const H=f.component=Fu(f,M,R);if(Ar(f)&&(H.ctx.renderer=ae),Cu(H,!1,V),H.asyncDep){if(R&&R.registerDep(H,W,V),!f.el){const d=H.subTree=Ie(Tt);F(null,d,$,m),f.placeholder=d.el}}else W(H,f,$,m,R,N,V)},B=(f,$,m)=>{const M=$.component=f.component;if(mu(f,$,m))if(M.asyncDep&&!M.asyncResolved){q(M,$,m);return}else M.next=$,M.update();else $.el=f.el,M.vnode=$},W=(f,$,m,M,R,N,V)=>{const H=()=>{if(f.isMounted){let{next:C,bu:G,u:j,parent:v,vnode:P}=f;{const D=Ha(f);if(D){C&&(C.el=P.el,q(f,C,V)),D.asyncDep.then(()=>{Je(()=>{f.isUnmounted||p()},R)});return}}let Z=C,se;co(f,!1),C?(C.el=P.el,q(f,C,V)):C=P,G&&sr(G),(se=C.props&&C.props.onVnodeBeforeUpdate)&&Mt(se,v,C,P),co(f,!0);const we=Pa(f),S=f.subTree;f.subTree=we,y(S,we,h(S.el),Oe(S),f,R,N),C.el=we.el,Z===null&&gu(f,we.el),j&&Je(j,R),(se=C.props&&C.props.onVnodeUpdated)&&Je(()=>Mt(se,v,C,P),R)}else{let C;const{el:G,props:j}=$,{bm:v,m:P,parent:Z,root:se,type:we}=f,S=wo($);co(f,!1),v&&sr(v),!S&&(C=j&&j.onVnodeBeforeMount)&&Mt(C,Z,$),co(f,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(we,f.parent?f.parent.type:void 0);const D=f.subTree=Pa(f);y(null,D,m,M,f,R,N),$.el=D.el}if(P&&Je(P,R),!S&&(C=j&&j.onVnodeMounted)){const D=$;Je(()=>Mt(C,Z,D),R)}($.shapeFlag&256||Z&&wo(Z.vnode)&&Z.vnode.shapeFlag&256)&&f.a&&Je(f.a,R),f.isMounted=!0,$=m=M=null}};f.scope.on();const d=f.effect=new Ns(H);f.scope.off();const p=f.update=d.run.bind(d),L=f.job=d.runIfDirty.bind(d);L.i=f,L.id=f.uid,d.scheduler=()=>vr(L),co(f,!0),p()},q=(f,$,m)=>{$.component=f;const M=f.vnode.props;f.vnode=$,f.next=null,bu(f,$.props,M,m),vu(f,$.children,m),kt(),sa(f),Lt()},Q=(f,$,m,M,R,N,V,H,d=!1)=>{const p=f&&f.children,L=f?f.shapeFlag:0,C=$.children,{patchFlag:G,shapeFlag:j}=$;if(G>0){if(G&128){tt(p,C,m,M,R,N,V,H,d);return}else if(G&256){de(p,C,m,M,R,N,V,H,d);return}}j&8?(L&16&&He(p,R,N),C!==p&&u(m,C)):L&16?j&16?tt(p,C,m,M,R,N,V,H,d):He(p,R,N,!0):(L&8&&u(m,""),j&16&&U(C,m,M,R,N,V,H,d))},de=(f,$,m,M,R,N,V,H,d)=>{f=f||fo,$=$||fo;const p=f.length,L=$.length,C=Math.min(p,L);let G;for(G=0;G<C;G++){const j=$[G]=d?Ut($[G]):xt($[G]);y(f[G],j,m,null,R,N,V,H,d)}p>L?He(f,R,N,!0,!1,C):U($,m,M,R,N,V,H,d,C)},tt=(f,$,m,M,R,N,V,H,d)=>{let p=0;const L=$.length;let C=f.length-1,G=L-1;for(;p<=C&&p<=G;){const j=f[p],v=$[p]=d?Ut($[p]):xt($[p]);if(Ko(j,v))y(j,v,m,null,R,N,V,H,d);else break;p++}for(;p<=C&&p<=G;){const j=f[C],v=$[G]=d?Ut($[G]):xt($[G]);if(Ko(j,v))y(j,v,m,null,R,N,V,H,d);else break;C--,G--}if(p>C){if(p<=G){const j=G+1,v=j<L?$[j].el:M;for(;p<=G;)y(null,$[p]=d?Ut($[p]):xt($[p]),m,v,R,N,V,H,d),p++}}else if(p>G)for(;p<=C;)Me(f[p],R,N,!0),p++;else{const j=p,v=p,P=new Map;for(p=v;p<=G;p++){const Ee=$[p]=d?Ut($[p]):xt($[p]);Ee.key!=null&&P.set(Ee.key,p)}let Z,se=0;const we=G-v+1;let S=!1,D=0;const Y=new Array(we);for(p=0;p<we;p++)Y[p]=0;for(p=j;p<=C;p++){const Ee=f[p];if(se>=we){Me(Ee,R,N,!0);continue}let ze;if(Ee.key!=null)ze=P.get(Ee.key);else for(Z=v;Z<=G;Z++)if(Y[Z-v]===0&&Ko(Ee,$[Z])){ze=Z;break}ze===void 0?Me(Ee,R,N,!0):(Y[ze-v]=p+1,ze>=D?D=ze:S=!0,y(Ee,$[ze],m,null,R,N,V,H,d),se++)}const pe=S?Eu(Y):fo;for(Z=pe.length-1,p=we-1;p>=0;p--){const Ee=v+p,ze=$[Ee],Ft=$[Ee+1],Fe=Ee+1<L?Ft.el||Ga(Ft):M;Y[p]===0?y(null,ze,m,Fe,R,N,V,H,d):S&&(Z<0||p!==pe[Z]?Se(ze,m,Fe,2):Z--)}}},Se=(f,$,m,M,R=null)=>{const{el:N,type:V,transition:H,children:d,shapeFlag:p}=f;if(p&6){Se(f.component.subTree,$,m,M);return}if(p&128){f.suspense.move($,m,M);return}if(p&64){V.move(f,$,m,ae);return}if(V===Be){n(N,$,m);for(let C=0;C<d.length;C++)Se(d[C],$,m,M);n(f.anchor,$,m);return}if(V===zr){w(f,$,m);return}if(M!==2&&p&1&&H)if(M===0)H.persisted&&!N[Sr]?n(N,$,m):(H.beforeEnter(N),n(N,$,m),Je(()=>H.enter(N),R));else{const{leave:C,delayLeave:G,afterLeave:j}=H,v=()=>{f.ctx.isUnmounted?s(N):n(N,$,m)},P=()=>{const Z=N._isLeaving||!!N[Sr];N._isLeaving&&N[Sr](!0),H.persisted&&!Z?v():C(N,()=>{v(),j&&j()})};G?G(N,v,P):P()}else n(N,$,m)},Me=(f,$,m,M=!1,R=!1)=>{const{type:N,props:V,ref:H,children:d,dynamicChildren:p,shapeFlag:L,patchFlag:C,dirs:G,cacheIndex:j,memo:v}=f;if(C===-2&&(R=!1),H!=null&&(kt(),jo(H,null,m,f,!0),Lt()),j!=null&&($.renderCache[j]=void 0),L&256){$.ctx.deactivate(f);return}const P=L&1&&G,Z=!wo(f);let se;if(Z&&(se=V&&V.onVnodeBeforeUnmount)&&Mt(se,$,f),L&6)dt(f.component,m,M);else{if(L&128){f.suspense.unmount(m,M);return}P&&ao(f,null,$,"beforeUnmount"),L&64?f.type.remove(f,$,m,ae,M):p&&!p.hasOnce&&(N!==Be||C>0&&C&64)?He(p,$,m,!1,!0):(N===Be&&C&384||!R&&L&16)&&He(d,$,m),M&&qe(f)}const we=v!=null&&j==null;(Z&&(se=V&&V.onVnodeUnmounted)||P||we)&&Je(()=>{se&&Mt(se,$,f),P&&ao(f,null,$,"unmounted"),we&&(f.el=null)},m)},qe=f=>{const{type:$,el:m,anchor:M,transition:R}=f;if($===Be){ot(m,M);return}if($===zr){g(f);return}const N=()=>{s(m),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(f.shapeFlag&1&&R&&!R.persisted){const{leave:V,delayLeave:H}=R,d=()=>V(m,N);H?H(f.el,N,d):d()}else N()},ot=(f,$)=>{let m;for(;f!==$;)m=_(f),s(f),f=m;s($)},dt=(f,$,m)=>{const{bum:M,scope:R,job:N,subTree:V,um:H,m:d,a:p}=f;Va(d),Va(p),M&&sr(M),R.stop(),N&&(N.flags|=8,Me(V,f,$,m)),H&&Je(H,$),Je(()=>{f.isUnmounted=!0},$)},He=(f,$,m,M=!1,R=!1,N=0)=>{for(let V=N;V<f.length;V++)Me(f[V],$,m,M,R)},Oe=f=>{if(f.shapeFlag&6)return Oe(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const $=_(f.anchor||f.el),m=$&&$[pa];return m?_(m):$};let it=!1;const le=(f,$,m)=>{let M;f==null?$._vnode&&(Me($._vnode,null,null,!0),M=$._vnode.component):y($._vnode||null,f,$,null,null,null,m),$._vnode=f,it||(it=!0,sa(M),aa(),it=!1)},ae={p:y,um:Me,m:Se,r:qe,mt:ie,mc:U,pc:Q,pbc:J,n:Oe,o:e};return{render:le,hydrate:void 0,createApp:cu(le)}}function Rr({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 co({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Su(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,o=!1){const n=e.children,s=t.children;if(oe(n)&&oe(s))for(let r=0;r<n.length;r++){const a=n[r];let i=s[r];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[r]=Ut(s[r]),i.el=a.el),!o&&i.patchFlag!==-2&&Dr(a,i)),i.type===Vo&&(i.patchFlag===-1&&(i=s[r]=Ut(i)),i.el=a.el),i.type===Tt&&!i.el&&(i.el=a.el)}}function Eu(e){const t=e.slice(),o=[0];let n,s,r,a,i;const l=e.length;for(n=0;n<l;n++){const c=e[n];if(c!==0){if(s=o[o.length-1],e[s]<c){t[n]=s,o.push(n);continue}for(r=0,a=o.length-1;r<a;)i=r+a>>1,e[o[i]]<c?r=i+1:a=i;c<e[o[r]]&&(r>0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,a=o[r-1];r-- >0;)o[r]=a,a=t[a];return o}function Ha(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ha(t)}function Va(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ga(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ga(t.subTree):null}const Ba=e=>e.__isSuspense;function Au(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Rc(e)}const Be=Symbol.for("v-fgt"),Vo=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),zr=Symbol.for("v-stc"),zt=[];let ut=null;function $e(e=!1){zt.push(ut=e?null:[])}function Ur(){zt.pop(),ut=zt[zt.length-1]||null}let Go=1;function Cn(e,t=!1){Go+=e,e<0&&ut&&t&&(ut.hasOnce=!0)}function Ka(e){return e.dynamicChildren=Go>0?ut||fo:null,Ur(),Go>0&&ut&&ut.push(e),e}function Pe(e,t,o,n,s,r){return Ka(X(e,t,o,n,s,r,!0))}function vo(e,t,o,n,s){return Ka(Ie(e,t,o,n,s,!0))}function Bo(e){return e?e.__v_isVNode===!0:!1}function Ko(e,t){return e.type===t.type&&e.key===t.key}const Ya=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||Ue(e)||re(e)?{i:rt,r:e,k:t,f:!!o}:e:null);function X(e,t=null,o=null,n=0,s=null,r=e===Be?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ya(t),ref:t&&In(t),scopeId:la,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:rt};return i?(Nn(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=Ae(o)?8:16),Go>0&&!a&&ut&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ut.push(l),l}const Ie=Tu;function Tu(e,t=null,o=null,n=0,s=null,r=!1){if((!e||e===tu)&&(e=Tt),Bo(e)){const i=ko(e,t,!0);return o&&Nn(i,o),Go>0&&!r&&ut&&(i.shapeFlag&6?ut[ut.indexOf(e)]=i:ut.push(i)),i.patchFlag=-2,i}if(ju(e)&&(e=e.__vccOpts),t){t=xu(t);let{class:i,style:l}=t;i&&!Ae(i)&&(t.class=Ve(i)),be(l)&&($r(l)&&!oe(l)&&(l=Ce({},l)),t.style=fn(l))}const a=Ae(e)?1:Ba(e)?128:En(e)?64:be(e)?4:re(e)?2:0;return X(e,t,o,n,s,a,r,!0)}function xu(e){return e?$r(e)||Na(e)?Ce({},e):e:null}function ko(e,t,o=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=e,c=t?Mu(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ya(c),ref:t&&t.ref?o&&r?oe(r)?r.concat(In(t)):[r,In(t)]:In(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Be?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ko(e.ssContent),ssFallback:e.ssFallback&&ko(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Er(u,l.clone(u)),u}function jr(e=" ",t=0){return Ie(Vo,null,e,t)}function Zt(e="",t=!1){return t?($e(),vo(Tt,null,e)):Ie(Tt,null,e)}function xt(e){return e==null||typeof e=="boolean"?Ie(Tt):oe(e)?Ie(Be,null,e.slice()):Bo(e)?Ut(e):Ie(Vo,null,String(e))}function Ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ko(e)}function Nn(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(oe(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Nn(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!Na(t)?t._ctx=rt:s===3&&rt&&(rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(re(t)){if(n&65){Nn(e,{default:t});return}t={default:t,_ctx:rt},o=32}else t=String(t),n&64?(o=16,t=[jr(t)]):o=8;e.children=t,e.shapeFlag|=o}function Mu(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=Ve([t.class,n.class]));else if(s==="style")t.style=fn([t.style,n.style]);else if(an(s)){const r=t[s],a=n[s];a&&r!==a&&!(oe(r)&&r.includes(a))?t[s]=r?[].concat(r,a):a:a==null&&r==null&&!ln(s)&&(t[s]=a)}else s!==""&&(t[s]=n[s])}return t}function Mt(e,t,o,n=null){_t(e,t,7,[o,n])}const Pu=xa();let Ou=0;function Fu(e,t,o){const n=e.type,s=(t?t.appContext:e.appContext)||Pu,r={uid:Ou++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Cs(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Da(n,s),emitsOptions:Ma(n,s),emit:null,emitted:null,propsDefaults:ve,inheritAttrs:n.inheritAttrs,ctx:ve,data:ve,props:ve,attrs:ve,slots:ve,refs:ve,setupState:ve,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=du.bind(null,r),e.ce&&e.ce(r),r}let Qe=null;const Xt=()=>Qe||rt;let Rn,Yo;{const e=pn(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Rn=t("__VUE_INSTANCE_SETTERS__",o=>Qe=o),Yo=t("__VUE_SSR_SETTERS__",o=>Zo=o)}const qo=e=>{const t=Qe;return Rn(e),e.scope.on(),()=>{e.scope.off(),Rn(t)}},qa=()=>{Qe&&Qe.scope.off(),Rn(null)};function Za(e){return e.vnode.shapeFlag&4}let Zo=!1;function Cu(e,t=!1,o=!1){t&&Yo(t);const{props:n,children:s}=e.vnode,r=Za(e);_u(e,n,r,t),yu(e,s,o||t);const a=r?Iu(e,t):void 0;return t&&Yo(!1),a}function Iu(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ou);const{setup:n}=o;if(n){kt();const s=e.setupContext=n.length>1?Ru(e):null,r=qo(e),a=go(n,e,0,[e.props,s]),i=Ls(a);if(Lt(),r(),(i||e.sp)&&!wo(e)&&ga(e),i){if(a.then(qa,qa),t)return a.then(l=>{Yo(!0);try{Xa(e,l,t)}finally{Yo(!1)}}).catch(l=>{kn(l,e,0)});e.asyncDep=a}else Xa(e,a)}else Ja(e)}function Xa(e,t,o){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)&&(e.setupState=ta(t)),Ja(e)}function Ja(e,t,o){const n=e.type;e.render||(e.render=n.render||yt);{const s=qo(e);kt();try{nu(e)}finally{Lt(),s()}}}const Nu={get(e,t){return Ye(e,"get",""),e[t]}};function Ru(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Nu),slots:e.slots,emit:e.emit,expose:t}}function Wr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ta(Lc(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Wo)return Wo[o](e)},has(t,o){return o in t||o in Wo}})):e.proxy}const Du=/(?:^|[-_])\w/g,zu=e=>e.replace(Du,t=>t.toUpperCase()).replace(/[-_]/g,"");function Uu(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function Qa(e,t,o=!1){let n=Uu(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?zu(n):o?"App":"Anonymous"}function ju(e){return re(e)&&"__vccOpts"in e}const je=(e,t)=>Tc(e,t,Zo);function ei(e,t,o){try{Cn(-1);const n=arguments.length;return n===2?be(t)&&!oe(t)?Bo(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Bo(o)&&(o=[o]),Ie(e,t,o))}finally{Cn(1)}}const Wu="3.5.42";/**
|
||
* @vue/runtime-dom v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Hr;const ti=typeof window<"u"&&window.trustedTypes;if(ti)try{Hr=ti.createPolicy("vue",{createHTML:e=>e})}catch{}const oi=Hr?e=>Hr.createHTML(e):e=>e,Hu="http://www.w3.org/2000/svg",Vu="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,ni=jt&&jt.createElement("template"),Gu={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?jt.createElementNS(Hu,e):t==="mathml"?jt.createElementNS(Vu,e):o?jt.createElement(e,{is:o}):jt.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,r){const a=o?o.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===r||!(s=s.nextSibling)););else{ni.innerHTML=oi(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const i=ni.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[a?a.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Bu=Symbol("_vtc");function Ku(e,t,o){const n=e[Bu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const ri=Symbol("_vod"),Yu=Symbol("_vsh"),qu=Symbol(""),Zu=/(?:^|;)\s*display\s*:/;function Xu(e,t,o){const n=e.style,s=Ae(o);let r=!1;if(o&&!s){if(t)if(Ae(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();o[i]==null&&Xo(n,i,"")}else for(const a in t)o[a]==null&&Xo(n,a,"");for(const a in o){a==="display"&&(r=!0);const i=o[a];i!=null?Qu(e,a,!Ae(t)&&t?t[a]:void 0,i)||Xo(n,a,i):Xo(n,a,"")}}else if(s){if(t!==o){const a=n[qu];a&&(o+=";"+a),n.cssText=o,r=Zu.test(o)}}else t&&e.removeAttribute("style");ri in e&&(e[ri]=r?n.display:"",e[Yu]&&(n.display="none"))}const Dn=/\s*!important$/;function Xo(e,t,o){if(oe(o))o.forEach(n=>Xo(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Dn.test(o)?e.setProperty(t,o.replace(Dn,""),"important"):e.setProperty(t,o);else{const n=Ju(e,t);Dn.test(o)?e.setProperty(ct(n),o.replace(Dn,""),"important"):e[n]=o}}const si=["Webkit","Moz","ms"],Vr={};function Ju(e,t){const o=Vr[t];if(o)return o;let n=nt(t);if(n!=="filter"&&n in e)return Vr[t]=n;n=Es(n);for(let s=0;s<si.length;s++){const r=si[s]+n;if(r in e)return Vr[t]=r}return t}function Qu(e,t,o,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ae(n)&&o===n}const ai="http://www.w3.org/1999/xlink";function ii(e,t,o,n,s,r=nc(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(ai,t.slice(6,t.length)):e.setAttributeNS(ai,t,o):o==null||r&&!Ms(o)?e.removeAttribute(t):e.setAttribute(t,r?"":ht(o)?String(o):o)}function li(e,t,o,n,s){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?oi(o):o);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const i=r==="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 a=!1;if(o===""||o==null){const i=typeof e[t];i==="boolean"?o=Ms(o):o==null&&i==="string"?(o="",a=!0):i==="number"&&(o=0,a=!0)}try{e[t]=o}catch{}a&&e.removeAttribute(s||t)}function ed(e,t,o,n){e.addEventListener(t,o,n)}function td(e,t,o,n){e.removeEventListener(t,o,n)}const ci=Symbol("_vei");function od(e,t,o,n,s=null){const r=e[ci]||(e[ci]={}),a=r[t];if(n&&a)a.value=n;else{const[i,l]=sd(t);if(n){const c=r[t]=ld(n,s);ed(e,i,c,l)}else a&&(td(e,i,a,l),r[t]=void 0)}}const nd=/(Once|Passive|Capture)$/,rd=/^on:?(?:Once|Passive|Capture)$/;function sd(e){let t,o;for(;(o=e.match(nd))&&!rd.test(e);)t||(t={}),e=e.slice(0,e.length-o[1].length),t[o[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):ct(e.slice(2)),t]}let Gr=0;const ad=Promise.resolve(),id=()=>Gr||(ad.then(()=>Gr=0),Gr=Date.now());function ld(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(oe(s)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const a=s.slice(),i=[n];for(let l=0;l<a.length&&!n._stopped;l++){const c=a[l];c&&_t(c,t,5,i)}}else _t(s,t,5,[n])};return o.value=e,o.attached=id(),o}const ui=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,cd=(e,t,o,n,s,r)=>{const a=s==="svg";t==="class"?Ku(e,n,a):t==="style"?Xu(e,o,n):an(t)?ln(t)||od(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ud(e,t,n,a))?(li(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ii(e,t,n,a,r,t!=="value")):e._isVueCE&&(dd(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ae(n)))?li(e,nt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ii(e,t,n,a))};function ud(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ui(t)&&re(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ui(t)&&Ae(o)?!1:t in e}function dd(e,t){const o=e._def.props;if(!o)return!1;const n=nt(t);return Array.isArray(o)?o.some(s=>nt(s)===n):Object.keys(o).some(s=>nt(s)===n)}const di={};function pd(e,t,o){let n=Tn(e,t);un(n)&&(n=Ce({},n,t));class s extends Br{constructor(a){super(n,a,o)}}return s.def=n,s}const fd=typeof HTMLElement<"u"?HTMLElement:class{};class Br extends fd{constructor(t,o={},n=hi){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!==hi?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Ce({},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 Br){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,$o(()=>{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,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=n;let i;if(r&&!oe(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Ts(this._props[l])),(i||(i=Object.create(null)))[nt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),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)ge(this,n)||Object.defineProperty(this,n,{get:()=>Rt(o[n])})}_resolveProps(t){const{props:o}=t,n=oe(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(nt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):di;const s=nt(t);o&&this._numberProps&&this._numberProps[s]&&(n=Ts(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===di?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(ct(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(ct(t),o+""):o||this.removeAttribute(ct(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),$d(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Ie(this._def,Ce(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,un(a[0])?Ce({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),ct(r)!==r&&s(ct(r),a)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const s=this._nonce,r=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");s&&c.setAttribute("nonce",s),c.textContent=t[l],r.insertBefore(c,i||a),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 s=t[n],r=s.getAttribute("name")||"default",a=this._slots[r],i=s.parentNode;if(a)for(const l of a){if(o&&l.nodeType===1){const c=o+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let h;for(;h=u.nextNode();)h.setAttribute(c,"")}i.insertBefore(l,s)}else for(;s.firstChild;)i.insertBefore(s.firstChild,s);i.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const o=new Set;for(const n of t){const s=n.querySelectorAll("slot");for(let r=0;r<s.length;r++)o.add(s[r])}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 hd=["ctrl","shift","alt","meta"],md={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)=>hd.some(o=>e[`${o}Key`]&&!t.includes(o))},Kr=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...r)=>{for(let a=0;a<t.length;a++){const i=md[t[a]];if(i&&i(s,t))return}return e(s,...r)})},gd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_d=(e,t)=>{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=s=>{if(!("key"in s))return;const r=ct(s.key);if(t.some(a=>a===r||gd[a]===r))return e(s)})},bd=Ce({patchProp:cd},Gu);let pi;function fi(){return pi||(pi=ku(bd))}const $d=(...e)=>{fi().render(...e)},hi=(...e)=>{const t=fi().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=yd(n);if(!s)return;const r=t._component;!re(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=o(s,!1,wd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function wd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function yd(e){return Ae(e)?document.querySelector(e):e}const mi={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function vd(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function kd(e,{weight:t="regular",mapbox:o}={}){return vd(e)?{"text-font":[mi[t]||mi.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}const Ld="rgba(120, 128, 134, 0.28)",gi="36px",_i=()=>{};function Sd(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return _i;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return _i;const s=b=>b.classList.contains("map-scroll-edge--left");for(const b of n)b.style.background=`linear-gradient(${s(b)?"to right":"to left"}, ${Ld} ${gi}, transparent ${gi})`,b.style.opacity="0",b.style.transition="opacity 0.16s ease",b.style.userSelect="none",b.style.webkitUserSelect="none";const r=b=>{b.style.opacity="1"},a=b=>{b.style.opacity="0"},i=()=>n.find(b=>!s(b))||null,l=new Set;let c=!1,u=null;const h=()=>{for(const b of n)l.has(b)||a(b)},_=()=>{const b=i();b&&(r(b),u&&clearTimeout(u),u=setTimeout(h,250))},k=()=>_(),E=b=>{if(!(b.touches&&b.touches.length===1))return;const w=b.target;w&&w.classList&&w.classList.contains("map-scroll-edge")||_()},y=()=>{u&&clearTimeout(u),h()};e.addEventListener("wheel",k,{passive:!0}),e.addEventListener("touchmove",E,{passive:!0}),e.addEventListener("touchend",y,{passive:!0}),e.addEventListener("touchcancel",y,{passive:!0});const O=()=>{c||_()};typeof window<"u"&&window.addEventListener("scroll",O,{passive:!0});const F=[];for(const b of n){const w=()=>{l.add(b),r(b)},g=()=>{l.delete(b),a(b)},A=()=>{c=!0,r(b)},T=()=>{c=!1,a(b)};b.addEventListener("mouseenter",w),b.addEventListener("mouseleave",g),b.addEventListener("touchstart",A,{passive:!0}),b.addEventListener("touchend",T,{passive:!0}),F.push(()=>{b.removeEventListener("mouseenter",w),b.removeEventListener("mouseleave",g),b.removeEventListener("touchstart",A),b.removeEventListener("touchend",T)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",k),e.removeEventListener("touchmove",E),e.removeEventListener("touchend",y),e.removeEventListener("touchcancel",y),typeof window<"u"&&window.removeEventListener("scroll",O);for(const w of F)w();for(const w of n)a(w)}}const Ed=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 bi(e,t="mapbox"){const o=Ed[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 Ad(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 Td=["mapbox","maplibre"],xd="auto";function $i(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Md(e,{token:t}={}){const o=$i(e);return wi(o)||"maplibre"}function wi(e){const t=$i(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,s=typeof window<"u"?window.MAP_PROVIDER:void 0,r=String(o||n||s||xd).toLowerCase().trim();return Td.includes(r)?r:""}const Jo={mapboxGlJs:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",integrity:"sha384-tO0clamXONKwbiz7O6xJpUeyJbTSPugC+xM9clvfFvKTH3i8SmCawHGdf5quMWmZ"},mapboxGlCss:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css",integrity:"sha384-rp1X/jJ9MpWPef9OimfXhOaOc4Gzs87yQvF+ajwY6X2H4PTeHNycNlLWiWvj7ehV"},maplibreGlJs:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.js",integrity:"sha384-5+cfbwT0iiub6VsQAdn6yz16nr6sDiQoHx6tm4O8OVYXHYOxcffFmCJBL0dgdvGp"},maplibreGlCss:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.css",integrity:"sha384-uTttxo/aOKbdE5RlD/SPzSDoDmNvGlUYPjONi2MN/b7c9HPSvW07OIuyP7uL6jxK"},mapboxGeocoderJs:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",integrity:"sha384-Lx9WK8XhZk57czwxt6B6nyaDHB5Ayrcrsu4Fw4bCp/Ot/QLOsUZ0xYqLOpOOSXZw"},mapboxGeocoderCss:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",integrity:"sha384-1KNhwJNCQTr0DCi/5/OnQcFytgycxTahxNZaqKbAtqmY8bUhu26qxXqvDGXXwplS"},maplibreGeocoderJs:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.min.js",integrity:"sha384-RGV5vfoJd7alk8HE+71IyVfu19ciH1FKA15+AuXs6OeBM2npXrmTPFqG23yMiHXi"},maplibreGeocoderCss:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.css",integrity:"sha384-UkDpPApjTpHJHpcJiSNAmbobh30W0/dmt0DoKm4V8CWYRYvQ/Jhd/ijFz0tFdVnH"},d3:{url:"https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js",integrity:"sha384-CjloA8y00+1SDAUkjs099PVfnY2KmDC2BZnws9kh8D/lX1s46w6EPhpXdqMfjK6i"}};function Yr(e,t){const o=Object.values(Jo).find(n=>n.url===t);return o&&(e.integrity=o.integrity,e.crossOrigin="anonymous"),e}const qr={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 yi(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function Pd(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(yi(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const s=n.setRTLTextPlugin(qr.maplibre,!0);s&&s.catch&&s.catch(()=>{})}else n.setRTLTextPlugin(qr.mapbox,null,!0);o=!0}catch{}return o}async function Od(e){if(!(!e||!yi(e)||!e.getRTLTextPluginStatus))try{e.getRTLTextPluginStatus()==="unavailable"&&await e.setRTLTextPlugin(qr.maplibre,!1);for(let t=0;t<50&&!["loaded","error"].includes(e.getRTLTextPluginStatus());t++)await new Promise(o=>setTimeout(o,100))}catch{}}const Fd=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,vi=new WeakMap;function Cd(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function zn(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!Cd(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 s=vi.get(e);s||(s=new Map,vi.set(e,s));let r=0;for(const a of n.layers){if(a.type!=="symbol"||!a.layout||a.layout["text-field"]==null)continue;const i=a.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!s.has(a.id))continue}else{if(!Fd.test(l))continue;s.set(a.id,i)}const c=["coalesce",["get","name:"+o],["get","name_"+o],["get","name:latin"],["get","name_en"],["get","name"]];e.setLayoutProperty(a.id,"text-field",c),r++}return r}catch{return 0}}const Id={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين",posterMap:"خريطة الملصق",prayerList:"قائمة الصلاة",cardDeck:"مجموعة البطاقات",printOptions:"خيارات الطباعة",showOnMap:"أظهر على الخريطة",close:"إغلاق",showOnMapAria:"أظهر {label} على الخريطة",cardStockAria:"حجم بطاقة الصلاة",previewPrintPoster:"معاينة وطباعة ملصق {label}",share:"مشاركة",shareSteps:["ضع هذه الخريطة على موقعك","أعدّ قائمة بمواقع الويب في مدينتك","علّمهم أن يضعوها أيضًا","علّمهم أن يعلّموا غيرهم وضعها","لنكثر الخرائط في كل مكان ليسوع!"],clearSelection:"إلغاء التحديد",noOptions:"لا توجد نتائج",renderingLocal:"يتم إنشاء صورة بجودة الطباعة في متصفحك — لا يتم تحميل أي شيء.",postersPerRow:"الملصقات في كل صف",packetVariantAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة",working:"جارٍ العمل…",postersPerRowAuto:"تلقائي"},Nd={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:"تلقائي"},Rd={map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},Dd={embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},zd={prayForThem:"Für sie beten",adoptThem:"Sie adoptieren",moreInfo:"Mehr Infos",zoomIn:"Vergrößern",zoomOut:"Verkleinern",switchToLightMode:"Zum hellen Modus wechseln",switchToDarkMode:"Zum dunklen Modus wechseln",resetView:"Ansicht zurücksetzen",toggleFullscreen:"Vollbild umschalten",aboutThisMap:"Über diese Karte",closeMenu:"Menü schließen",reloadMap:"Karte neu laden",showClusters:"Cluster anzeigen",clusterSettings:"Cluster-Einstellungen",startAutoFly:"Auto-Flug starten",stopFlight:"Flug stoppen",speedLabel:"Geschwindigkeit:",speedOption:{slow:"Langsam",normal:"Normal",fast:"Schnell"},shareEmbed:"Teilen und einbetten",posterMap:"Posterkarte",prayerList:"Gebetsliste",cardDeck:"Kartenset",printOptions:"Druckoptionen",showOnMap:"Auf der Karte zeigen",close:"Schließen",showOnMapAria:"{label} auf der Karte zeigen",cardStockAria:"Größe der Gebetskarte",previewPrintPoster:"Vorschau und Druck des Posters {label}",share:"Teilen",shareSteps:["Binde diese Karte auf deiner Website ein","Erstelle eine Liste der Websites in deiner Stadt","Zeige ihnen, wie sie sie ebenfalls einbinden","Zeige ihnen, wie sie es anderen beibringen","Lasst uns Karten überall vermehren – für Jesus!"],clearSelection:"Auswahl aufheben",noOptions:"Keine Optionen gefunden",renderingLocal:"Ein druckfähiges Bild wird in deinem Browser erzeugt — es wird nichts hochgeladen.",postersPerRow:"Poster pro Zeile",packetVariantAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt",working:"Wird bearbeitet…",postersPerRowAuto:"Automatisch"},Ud={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"},jd={map:"Karte",marker:"Kartenmarkierung",closePopup:"Popup schließen",zoomIn:"Vergrößern",zoomOut:"Verkleinern",resetBearing:"Ziehen, um die Karte zu drehen; klicken, um nach Norden auszurichten",toggleAttribution:"Quellenangaben ein-/ausblenden",mapFeedback:"Feedback zur Karte",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",findMyLocation:"Meinen Standort finden",locationNotAvailable:"Standort nicht verfügbar",enableGlobe:"Globus einschalten",disableGlobe:"Globus ausschalten",ctrlScroll:"Strg + Scrollen zum Zoomen der Karte",cmdScroll:"⌘ + Scrollen zum Zoomen der Karte",twoFingers:"Mit zwei Fingern die Karte bewegen",mapboxHomepage:"Mapbox-Startseite",maplibreLogo:"MapLibre-Logo"},Wd={embed_link:"Einbettungslink",add_to_website:"Zu Ihrer Website hinzufügen",embed_paste_hint:"Fügen Sie diesen Code in Ihren Website-Baukasten ein (WordPress, Squarespace, Wix oder jede Website, die HTML-Widgets akzeptiert)."},Hd={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share",posterMap:"Poster Map",prayerList:"Prayer List",cardDeck:"Card Deck",printOptions:"Print Options",showOnMap:"Show on map",close:"Close",showOnMapAria:"Show {label} on the map",cardStockAria:"Prayer card size",working:"Working…",packetVariantAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight",previewPrintPoster:"Preview & print the {label} poster",clearSelection:"Clear selection",noOptions:"No options found",renderingLocal:"Rendering a print-quality image in your browser — nothing is uploaded.",postersPerRow:"Posters per row",postersPerRowAuto:"Auto"},Vd={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"},Gd={map:"Map",marker:"Map marker",closePopup:"Close popup",zoomIn:"Zoom in",zoomOut:"Zoom out",resetBearing:"Drag to rotate map, click to reset north",toggleAttribution:"Toggle attribution",mapFeedback:"Map feedback",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",findMyLocation:"Find my location",locationNotAvailable:"Location not available",enableGlobe:"Enable globe",disableGlobe:"Disable globe",ctrlScroll:"Use Ctrl + scroll to zoom the map",cmdScroll:"Use ⌘ + scroll to zoom the map",twoFingers:"Use two fingers to move the map",mapboxHomepage:"Mapbox homepage",maplibreLogo:"MapLibre logo"},Bd={embed_link:"Embed link",add_to_website:"Add to Your Website",embed_paste_hint:"Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets)."},Kd={prayForThem:"Ora por ellos",adoptThem:"Adóptalos",moreInfo:"Más información",zoomIn:"Acercar",zoomOut:"Alejar",switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",resetView:"Restablecer vista",toggleFullscreen:"Alternar pantalla completa",aboutThisMap:"Acerca de este mapa",closeMenu:"Cerrar menú",reloadMap:"Recargar mapa",showClusters:"Mostrar clústeres",clusterSettings:"Ajustes de clústeres",startAutoFly:"Iniciar vuelo automático",stopFlight:"Detener vuelo",speedLabel:"Velocidad:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Compartir e incrustar",posterMap:"Mapa del cartel",prayerList:"Lista de oración",cardDeck:"Baraja de tarjetas",printOptions:"Opciones de impresión",showOnMap:"Ver en el mapa",close:"Cerrar",showOnMapAria:"Ver {label} en el mapa",cardStockAria:"Tamaño de la tarjeta de oración",previewPrintPoster:"Previsualizar e imprimir el cartel de {label}",share:"Compartir",shareSteps:["Inserta este mapa en tu sitio","Haz una lista de los sitios web de tu ciudad","Enséñales a insertarlo también","Enséñales a enseñar a otros a insertarlo","¡Multiplica los mapas por todas partes para Jesús!"],clearSelection:"Borrar la selección",noOptions:"No se encontraron opciones",renderingLocal:"Se está generando una imagen con calidad de impresión en tu navegador: no se sube nada.",postersPerRow:"Pósteres por fila",packetVariantAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero",working:"Procesando…",postersPerRowAuto:"Automático"},Yd={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"},qd={map:"Mapa",marker:"Marcador del mapa",closePopup:"Cerrar ventana",zoomIn:"Acercar",zoomOut:"Alejar",resetBearing:"Arrastra para girar el mapa; haz clic para orientar al norte",toggleAttribution:"Mostrar u ocultar atribución",mapFeedback:"Comentarios sobre el mapa",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",findMyLocation:"Buscar mi ubicación",locationNotAvailable:"Ubicación no disponible",enableGlobe:"Activar globo",disableGlobe:"Desactivar globo",ctrlScroll:"Usa Ctrl + desplazamiento para hacer zoom en el mapa",cmdScroll:"Usa ⌘ + desplazamiento para hacer zoom en el mapa",twoFingers:"Usa dos dedos para mover el mapa",mapboxHomepage:"Página de inicio de Mapbox",maplibreLogo:"Logotipo de MapLibre"},Zd={embed_link:"Enlace para insertar",add_to_website:"Añádelo a tu sitio web",embed_paste_hint:"Pega este código en tu creador de sitios web (WordPress, Squarespace, Wix o cualquier sitio que acepte widgets HTML)."},Xd={prayForThem:"Priez pour eux",adoptThem:"Adoptez-les",moreInfo:"Plus d'infos",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",switchToLightMode:"Passer au mode clair",switchToDarkMode:"Passer au mode sombre",resetView:"Réinitialiser la vue",toggleFullscreen:"Basculer en plein écran",aboutThisMap:"À propos de cette carte",closeMenu:"Fermer le menu",reloadMap:"Recharger la carte",showClusters:"Afficher les clusters",clusterSettings:"Paramètres des clusters",startAutoFly:"Démarrer le vol auto",stopFlight:"Arrêter le vol",speedLabel:"Vitesse :",speedOption:{slow:"Lente",normal:"Normale",fast:"Rapide"},shareEmbed:"Partager et intégrer",posterMap:"Carte de l'affiche",prayerList:"Liste de prière",cardDeck:"Jeu de cartes",printOptions:"Options d'impression",showOnMap:"Voir sur la carte",close:"Fermer",showOnMapAria:"Voir {label} sur la carte",cardStockAria:"Taille de la carte de prière",previewPrintPoster:"Aperçu et impression de l’affiche {label}",share:"Partager",shareSteps:["Intégrez cette carte à votre site","Dressez la liste des sites web de votre ville","Apprenez-leur à l’intégrer aussi","Apprenez-leur à former d’autres personnes à l’intégrer","Multiplions les cartes partout pour Jésus !"],clearSelection:"Effacer la sélection",noOptions:"Aucune option trouvée",renderingLocal:"Une image de qualité impression est générée dans votre navigateur — rien n’est envoyé.",postersPerRow:"Affiches par ligne",packetVariantAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé",working:"Traitement…",postersPerRowAuto:"Auto"},Jd={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"},Qd={map:"Carte",marker:"Marqueur de carte",closePopup:"Fermer la fenêtre",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetBearing:"Faites glisser pour faire pivoter la carte, cliquez pour revenir au nord",toggleAttribution:"Afficher/masquer l'attribution",mapFeedback:"Commentaires sur la carte",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",findMyLocation:"Trouver ma position",locationNotAvailable:"Position non disponible",enableGlobe:"Activer le globe",disableGlobe:"Désactiver le globe",ctrlScroll:"Utilisez Ctrl + molette pour zoomer sur la carte",cmdScroll:"Utilisez ⌘ + molette pour zoomer sur la carte",twoFingers:"Utilisez deux doigts pour déplacer la carte",mapboxHomepage:"Page d'accueil de Mapbox",maplibreLogo:"Logo MapLibre"},ep={embed_link:"Lien d'intégration",add_to_website:"Ajouter à votre site web",embed_paste_hint:"Collez ce code dans votre créateur de site web (WordPress, Squarespace, Wix ou tout site acceptant les widgets HTML)."},tp={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें",posterMap:"पोस्टर मानचित्र",prayerList:"प्रार्थना सूची",cardDeck:"कार्ड सेट",printOptions:"छपाई विकल्प",showOnMap:"मानचित्र पर देखें",close:"बंद करें",showOnMapAria:"{label} को मानचित्र पर देखें",cardStockAria:"प्रार्थना कार्ड का आकार",previewPrintPoster:"{label} पोस्टर देखें और प्रिंट करें",share:"साझा करें",shareSteps:["इस मानचित्र को अपनी वेबसाइट पर लगाएँ","अपने शहर की वेबसाइटों की सूची बनाएँ","उन्हें भी इसे लगाना सिखाएँ","उन्हें सिखाएँ कि वे औरों को लगाना सिखाएँ","यीशु के लिए हर जगह मानचित्र बढ़ाएँ!"],clearSelection:"चयन हटाएँ",noOptions:"कोई विकल्प नहीं मिला",renderingLocal:"आपके ब्राउज़र में प्रिंट-गुणवत्ता वाली छवि बन रही है — कुछ भी अपलोड नहीं किया जाता।",postersPerRow:"प्रति पंक्ति पोस्टर",packetVariantAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त",working:"कार्य जारी…",postersPerRowAuto:"स्वतः"},op={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:"स्वचालित"},np={map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},rp={embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},sp={prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora",posterMap:"Mappa del poster",prayerList:"Lista di preghiera",cardDeck:"Mazzo di carte",printOptions:"Opzioni di stampa",showOnMap:"Mostra sulla mappa",close:"Chiudi",showOnMapAria:"Mostra {label} sulla mappa",cardStockAria:"Formato della scheda di preghiera",previewPrintPoster:"Anteprima e stampa del poster {label}",share:"Condividi",shareSteps:["Incorpora questa mappa nel tuo sito","Fai un elenco dei siti web della tua città","Insegna loro a incorporarla a loro volta","Insegna loro a formare altri a incorporarla","Moltiplichiamo le mappe ovunque per Gesù!"],clearSelection:"Cancella la selezione",noOptions:"Nessuna opzione trovata",renderingLocal:"Un’immagine con qualità di stampa viene generata nel tuo browser: nulla viene caricato.",postersPerRow:"Poster per riga",packetVariantAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero",working:"Elaborazione…",postersPerRowAuto:"Automatico"},ap={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"},ip={map:"Mappa",marker:"Indicatore sulla mappa",closePopup:"Chiudi popup",zoomIn:"Ingrandisci",zoomOut:"Riduci",resetBearing:"Trascina per ruotare la mappa, fai clic per tornare al nord",toggleAttribution:"Mostra/nascondi attribuzione",mapFeedback:"Feedback sulla mappa",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero",findMyLocation:"Trova la mia posizione",locationNotAvailable:"Posizione non disponibile",enableGlobe:"Attiva globo",disableGlobe:"Disattiva globo",ctrlScroll:"Usa Ctrl + scorrimento per ingrandire la mappa",cmdScroll:"Usa ⌘ + scorrimento per ingrandire la mappa",twoFingers:"Usa due dita per spostare la mappa",mapboxHomepage:"Home page di Mapbox",maplibreLogo:"Logo di MapLibre"},lp={embed_link:"Link di incorporamento",add_to_website:"Aggiungi al tuo sito web",embed_paste_hint:"Incolla questo codice nel tuo costruttore di siti web (WordPress, Squarespace, Wix o qualsiasi sito che accetti widget HTML)."},cp={prayForThem:"Ore por eles",adoptThem:"Adote-os",moreInfo:"Mais informações",zoomIn:"Ampliar",zoomOut:"Reduzir",switchToLightMode:"Mudar para modo claro",switchToDarkMode:"Mudar para modo escuro",resetView:"Repor vista",toggleFullscreen:"Alternar ecrã inteiro",aboutThisMap:"Sobre este mapa",closeMenu:"Fechar menu",reloadMap:"Recarregar mapa",showClusters:"Mostrar clusters",clusterSettings:"Definições de clusters",startAutoFly:"Iniciar voo automático",stopFlight:"Parar voo",speedLabel:"Velocidade:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Partilhar e incorporar",posterMap:"Mapa do cartaz",prayerList:"Lista de oração",cardDeck:"Baralho de cartões",printOptions:"Opções de impressão",showOnMap:"Ver no mapa",close:"Fechar",showOnMapAria:"Ver {label} no mapa",cardStockAria:"Tamanho do cartão de oração",previewPrintPoster:"Pré-visualizar e imprimir o cartaz de {label}",share:"Partilhar",shareSteps:["Incorpore este mapa no seu site","Faça uma lista dos sites da sua cidade","Ensine-os a incorporá-lo também","Ensine-os a ensinar outros a incorporá-lo","Multipliquemos mapas por toda a parte para Jesus!"],clearSelection:"Limpar a seleção",noOptions:"Nenhuma opção encontrada",renderingLocal:"Uma imagem com qualidade de impressão está a ser gerada no seu navegador — nada é enviado.",postersPerRow:"Cartazes por linha",packetVariantAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve",working:"Processando…",postersPerRowAuto:"Automático"},up={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"},dp={map:"Mapa",marker:"Marcador do mapa",closePopup:"Fechar janela",zoomIn:"Aumentar zoom",zoomOut:"Diminuir zoom",resetBearing:"Arraste para girar o mapa, clique para voltar ao norte",toggleAttribution:"Mostrar/ocultar atribuição",mapFeedback:"Comentários sobre o mapa",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia",findMyLocation:"Encontrar minha localização",locationNotAvailable:"Localização indisponível",enableGlobe:"Ativar globo",disableGlobe:"Desativar globo",ctrlScroll:"Use Ctrl + rolagem para ampliar o mapa",cmdScroll:"Use ⌘ + rolagem para ampliar o mapa",twoFingers:"Use dois dedos para mover o mapa",mapboxHomepage:"Página inicial do Mapbox",maplibreLogo:"Logótipo do MapLibre"},pp={embed_link:"Link de incorporação",add_to_website:"Adicione ao seu site",embed_paste_hint:"Cole este código no seu construtor de sites (WordPress, Squarespace, Wix ou qualquer site que aceite widgets HTML)."},fp={prayForThem:"Roagă-te pentru ei",adoptThem:"Adoptă-i",moreInfo:"Mai multe informații",zoomIn:"Mărește",zoomOut:"Micșorează",switchToLightMode:"Comută la modul luminos",switchToDarkMode:"Comută la modul întunecat",resetView:"Resetează vizualizarea",toggleFullscreen:"Comută ecran complet",aboutThisMap:"Despre această hartă",closeMenu:"Închide meniul",reloadMap:"Reîncarcă harta",showClusters:"Arată clusterele",clusterSettings:"Setări clustere",startAutoFly:"Pornește zborul automat",stopFlight:"Oprește zborul",speedLabel:"Viteză:",speedOption:{slow:"Lent",normal:"Normal",fast:"Rapid"},shareEmbed:"Partajează și încorporează",posterMap:"Harta afișului",prayerList:"Listă de rugăciune",cardDeck:"Pachet de cartonașe",printOptions:"Opțiuni de tipărire",showOnMap:"Arată pe hartă",close:"Închide",showOnMapAria:"Arată {label} pe hartă",cardStockAria:"Dimensiunea cardului de rugăciune",previewPrintPoster:"Previzualizează și tipărește posterul {label}",share:"Distribuie",shareSteps:["Încorporează această hartă pe site-ul tău","Fă o listă cu site-urile din orașul tău","Învață-i să o încorporeze și ei","Învață-i să îi formeze pe alții să o încorporeze","Să multiplicăm hărți pretutindeni pentru Isus!"],clearSelection:"Șterge selecția",noOptions:"Nicio opțiune găsită",renderingLocal:"O imagine de calitate pentru tipar este generată în browserul tău — nimic nu este încărcat.",postersPerRow:"Postere pe rând",packetVariantAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus",working:"Se procesează…",postersPerRowAuto:"Automat"},hp={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"},mp={map:"Hartă",marker:"Marcaj pe hartă",closePopup:"Închide fereastra",zoomIn:"Mărește",zoomOut:"Micșorează",resetBearing:"Trage pentru a roti harta, apasă pentru a reveni la nord",toggleAttribution:"Afișează/ascunde atribuirea",mapFeedback:"Feedback despre hartă",enterFullscreen:"Ecran complet",exitFullscreen:"Ieși din ecran complet",findMyLocation:"Găsește-mi locația",locationNotAvailable:"Locație indisponibilă",enableGlobe:"Activează globul",disableGlobe:"Dezactivează globul",ctrlScroll:"Folosește Ctrl + derulare pentru a mări harta",cmdScroll:"Folosește ⌘ + derulare pentru a mări harta",twoFingers:"Folosește două degete pentru a muta harta",mapboxHomepage:"Pagina principală Mapbox",maplibreLogo:"Sigla MapLibre"},gp={embed_link:"Link de încorporare",add_to_website:"Adaugă pe site-ul tău",embed_paste_hint:"Lipește acest cod în constructorul site-ului tău (WordPress, Squarespace, Wix sau orice site care acceptă widget-uri HTML)."},_p={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить",posterMap:"Карта плаката",prayerList:"Молитвенный список",cardDeck:"Набор карточек",printOptions:"Параметры печати",showOnMap:"Показать на карте",close:"Закрыть",showOnMapAria:"Показать {label} на карте",cardStockAria:"Размер молитвенной карточки",previewPrintPoster:"Просмотр и печать плаката {label}",share:"Поделиться",shareSteps:["Разместите эту карту на своём сайте","Составьте список сайтов вашего города","Научите их тоже размещать её","Научите их учить других размещать её","Умножим карты повсюду для Иисуса!"],clearSelection:"Снять выделение",noOptions:"Ничего не найдено",renderingLocal:"Изображение типографского качества создаётся в вашем браузере — ничего не загружается на сервер.",postersPerRow:"Плакатов в ряду",packetVariantAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия",working:"Выполняется…",postersPerRowAuto:"Авто"},bp={search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},$p={map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},wp={embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},yp={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入",posterMap:"海报地图",prayerList:"祷告名单",cardDeck:"祷告卡组",printOptions:"打印选项",showOnMap:"在地图上显示",close:"关闭",showOnMapAria:"在地图上显示 {label}",cardStockAria:"祷告卡片尺寸",previewPrintPoster:"预览并打印 {label} 海报",share:"分享",shareSteps:["把这张地图嵌入你的网站","列出你城市里的网站","教他们也嵌入这张地图","教他们去教别人嵌入","为耶稣让地图遍地繁增!"],clearSelection:"清除选择",noOptions:"未找到选项",renderingLocal:"正在您的浏览器中生成可打印质量的图片——不会上传任何内容。",postersPerRow:"每行海报数",packetVariantAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版",working:"处理中…",postersPerRowAuto:"自动"},vp={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:"自动"},kp={map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},Lp={embed_link:"嵌入链接",add_to_website:"添加到您的网站",embed_paste_hint:"将此代码粘贴到您的网站构建器中(WordPress、Squarespace、Wix,或任何接受 HTML 小部件的网站)。"};/*!
|
||
* shared v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Sp(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Un=typeof window<"u",Jt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ep=(e,t,o)=>Ap({l:e,k:t,s:o}),Ap=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ne=e=>typeof e=="number"&&isFinite(e),Tp=e=>Ai(e)==="[object Date]",Qt=e=>Ai(e)==="[object RegExp]",jn=e=>ne(e)&&Object.keys(e).length===0,Ke=Object.assign,xp=Object.create,ye=(e=null)=>xp(e);let ki;const Qo=()=>ki||(ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ye());function Li(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Si(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Mp(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,s,r)=>`${s}="${Si(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,s,r)=>`${s}='${Si(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const Pp=Object.prototype.hasOwnProperty;function $t(e,t){return Pp.call(e,t)}const xe=Array.isArray,Le=e=>typeof e=="function",K=e=>typeof e=="string",ce=e=>typeof e=="boolean",he=e=>e!==null&&typeof e=="object",Op=e=>he(e)&&Le(e.then)&&Le(e.catch),Ei=Object.prototype.toString,Ai=e=>Ei.call(e),ne=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fp=e=>e==null?"":xe(e)||ne(e)&&e.toString===Ei?JSON.stringify(e,null,2):String(e);function Cp(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}function Wn(e){let t=e;return()=>++t}const Hn=e=>!he(e)||xe(e);function Vn(e,t){if(Hn(e)||Hn(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:s}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(he(n[r])&&!he(s[r])&&(s[r]=Array.isArray(n[r])?[]:ye()),Hn(s[r])||Hn(n[r])?s[r]=n[r]:o.push({src:n[r],des:s[r]}))})}}/*!
|
||
* message-compiler v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Ip(e,t,o){return{line:e,column:t,offset:o}}function Gn(e,t,o){return{start:e,end:t}}const Np=/\{([0-9a-zA-Z]+)\}/g;function Ti(e,...t){return t.length===1&&Rp(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Np,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const xi=Object.assign,Mi=e=>typeof e=="string",Rp=e=>e!==null&&typeof e=="object";function Pi(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}const Zr={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Dp={[Zr.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function zp(e,t,...o){const n=Ti(Dp[e],...o||[]),s={message:String(n),code:e};return t&&(s.location=t),s}const te={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},Up={[te.EXPECTED_TOKEN]:"Expected token: '{0}'",[te.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[te.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[te.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[te.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[te.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[te.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[te.EMPTY_PLACEHOLDER]:"Empty placeholder",[te.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[te.INVALID_LINKED_FORMAT]:"Invalid linked format",[te.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[te.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[te.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[te.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[te.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[te.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Lo(e,t,o={}){const{domain:n,messages:s,args:r}=o,a=Ti((s||Up)[e]||"",...r||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=n,i}function jp(e){throw e}const Wt=" ",Wp="\r",et=`
|
||
`,Hp="\u2028",Vp="\u2029";function Gp(e){const t=e;let o=0,n=1,s=1,r=0;const a=x=>t[x]===Wp&&t[x+1]===et,i=x=>t[x]===et,l=x=>t[x]===Vp,c=x=>t[x]===Hp,u=x=>a(x)||i(x)||l(x)||c(x),h=()=>o,_=()=>n,k=()=>s,E=()=>r,y=x=>a(x)||l(x)||c(x)?et:t[x],O=()=>y(o),F=()=>y(o+r);function b(){return r=0,u(o)&&(n++,s=0),a(o)&&o++,o++,s++,t[o]}function w(){return a(o+r)&&r++,r++,t[o+r]}function g(){o=0,n=1,s=1,r=0}function A(x=0){r=x}function T(){const x=o+r;for(;x!==o;)b();r=0}return{index:h,line:_,column:k,peekOffset:E,charAt:y,currentChar:O,currentPeek:F,next:b,peek:w,reset:g,resetPeek:A,skipToPeek:T}}const eo=void 0,Bp=".",Oi="'",Kp="tokenizer";function Yp(e,t={}){const o=t.location!==!1,n=Gp(e),s=()=>n.index(),r=()=>Ip(n.line(),n.column(),n.index()),a=r(),i=s(),l={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function h(d,p,L,...C){const G=c();if(p.column+=L,p.offset+=L,u){const j=o?Gn(G.startLoc,p):null,v=Lo(d,j,{domain:Kp,args:C});u(v)}}function _(d,p,L){d.endLoc=r(),d.currentType=p;const C={type:p};return o&&(C.loc=Gn(d.startLoc,d.endLoc)),L!=null&&(C.value=L),C}const k=d=>_(d,14);function E(d,p){return d.currentChar()===p?(d.next(),p):(h(te.EXPECTED_TOKEN,r(),0,p),"")}function y(d){let p="";for(;d.currentPeek()===Wt||d.currentPeek()===et;)p+=d.currentPeek(),d.peek();return p}function O(d){const p=y(d);return d.skipToPeek(),p}function F(d){if(d===eo)return!1;const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function b(d){if(d===eo)return!1;const p=d.charCodeAt(0);return p>=48&&p<=57}function w(d,p){const{currentType:L}=p;if(L!==2)return!1;y(d);const C=F(d.currentPeek());return d.resetPeek(),C}function g(d,p){const{currentType:L}=p;if(L!==2)return!1;y(d);const C=d.currentPeek()==="-"?d.peek():d.currentPeek(),G=b(C);return d.resetPeek(),G}function A(d,p){const{currentType:L}=p;if(L!==2)return!1;y(d);const C=d.currentPeek()===Oi;return d.resetPeek(),C}function T(d,p){const{currentType:L}=p;if(L!==8)return!1;y(d);const C=d.currentPeek()===".";return d.resetPeek(),C}function x(d,p){const{currentType:L}=p;if(L!==9)return!1;y(d);const C=F(d.currentPeek());return d.resetPeek(),C}function U(d,p){const{currentType:L}=p;if(!(L===8||L===12))return!1;y(d);const C=d.currentPeek()===":";return d.resetPeek(),C}function I(d,p){const{currentType:L}=p;if(L!==10)return!1;const C=()=>{const j=d.currentPeek();return j==="{"?F(d.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===Wt||!j?!1:j===et?(d.peek(),C()):z(d,!1)},G=C();return d.resetPeek(),G}function J(d){y(d);const p=d.currentPeek()==="|";return d.resetPeek(),p}function ee(d){const p=y(d),L=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:L,hasSpace:p.length>0}}function z(d,p=!0){const L=(G=!1,j="",v=!1)=>{const P=d.currentPeek();return P==="{"?j==="%"?!1:G:P==="@"||!P?j==="%"?!0:G:P==="%"?(d.peek(),L(G,"%",!0)):P==="|"?j==="%"||v?!0:!(j===Wt||j===et):P===Wt?(d.peek(),L(!0,Wt,v)):P===et?(d.peek(),L(!0,et,v)):!0},C=L();return p&&d.resetPeek(),C}function ue(d,p){const L=d.currentChar();return L===eo?eo:p(L)?(d.next(),L):null}function ie(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function B(d){return ue(d,ie)}function W(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function q(d){return ue(d,W)}function Q(d){const p=d.charCodeAt(0);return p>=48&&p<=57}function de(d){return ue(d,Q)}function tt(d){const p=d.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function Se(d){return ue(d,tt)}function Me(d){let p="",L="";for(;p=de(d);)L+=p;return L}function qe(d){O(d);const p=d.currentChar();return p!=="%"&&h(te.EXPECTED_TOKEN,r(),0,p),d.next(),"%"}function ot(d){let p="";for(;;){const L=d.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L==="%")if(z(d))p+=L,d.next();else break;else if(L===Wt||L===et)if(z(d))p+=L,d.next();else{if(J(d))break;p+=L,d.next()}else p+=L,d.next()}return p}function dt(d){O(d);let p="",L="";for(;p=q(d);)L+=p;return d.currentChar()===eo&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),L}function He(d){O(d);let p="";return d.currentChar()==="-"?(d.next(),p+=`-${Me(d)}`):p+=Me(d),d.currentChar()===eo&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),p}function Oe(d){return d!==Oi&&d!==et}function it(d){O(d),E(d,"'");let p="",L="";for(;p=ue(d,Oe);)p==="\\"?L+=le(d):L+=p;const C=d.currentChar();return C===et||C===eo?(h(te.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),C===et&&(d.next(),E(d,"'")),L):(E(d,"'"),L)}function le(d){const p=d.currentChar();switch(p){case"\\":case"'":return d.next(),`\\${p}`;case"u":return ae(d,p,4);case"U":return ae(d,p,6);default:return h(te.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function ae(d,p,L){E(d,p);let C="";for(let G=0;G<L;G++){const j=Se(d);if(!j){h(te.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${p}${C}${d.currentChar()}`);break}C+=j}return`\\${p}${C}`}function Re(d){return d!=="{"&&d!=="}"&&d!==Wt&&d!==et}function f(d){O(d);let p="",L="";for(;p=ue(d,Re);)L+=p;return L}function $(d){let p="",L="";for(;p=B(d);)L+=p;return L}function m(d){const p=L=>{const C=d.currentChar();return C==="{"||C==="%"||C==="@"||C==="|"||C==="("||C===")"||!C||C===Wt?L:(L+=C,d.next(),p(L))};return p("")}function M(d){O(d);const p=E(d,"|");return O(d),p}function R(d,p){let L=null;switch(d.currentChar()){case"{":return p.braceNest>=1&&h(te.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),d.next(),L=_(p,2,"{"),O(d),p.braceNest++,L;case"}":return p.braceNest>0&&p.currentType===2&&h(te.EMPTY_PLACEHOLDER,r(),0),d.next(),L=_(p,3,"}"),p.braceNest--,p.braceNest>0&&O(d),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),L;case"@":return p.braceNest>0&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),L=N(d,p)||k(p),p.braceNest=0,L;default:{let G=!0,j=!0,v=!0;if(J(d))return p.braceNest>0&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),L=_(p,1,M(d)),p.braceNest=0,p.inLinked=!1,L;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return h(te.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,V(d,p);if(G=w(d,p))return L=_(p,5,dt(d)),O(d),L;if(j=g(d,p))return L=_(p,6,He(d)),O(d),L;if(v=A(d,p))return L=_(p,7,it(d)),O(d),L;if(!G&&!j&&!v)return L=_(p,13,f(d)),h(te.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),O(d),L;break}}return L}function N(d,p){const{currentType:L}=p;let C=null;const G=d.currentChar();switch((L===8||L===9||L===12||L===10)&&(G===et||G===Wt)&&h(te.INVALID_LINKED_FORMAT,r(),0),G){case"@":return d.next(),C=_(p,8,"@"),p.inLinked=!0,C;case".":return O(d),d.next(),_(p,9,".");case":":return O(d),d.next(),_(p,10,":");default:return J(d)?(C=_(p,1,M(d)),p.braceNest=0,p.inLinked=!1,C):T(d,p)||U(d,p)?(O(d),N(d,p)):x(d,p)?(O(d),_(p,12,$(d))):I(d,p)?(O(d),G==="{"?R(d,p)||C:_(p,11,m(d))):(L===8&&h(te.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,V(d,p))}}function V(d,p){let L={type:14};if(p.braceNest>0)return R(d,p)||k(p);if(p.inLinked)return N(d,p)||k(p);switch(d.currentChar()){case"{":return R(d,p)||k(p);case"}":return h(te.UNBALANCED_CLOSING_BRACE,r(),0),d.next(),_(p,3,"}");case"@":return N(d,p)||k(p);default:{if(J(d))return L=_(p,1,M(d)),p.braceNest=0,p.inLinked=!1,L;const{isModulo:G,hasSpace:j}=ee(d);if(G)return j?_(p,0,ot(d)):_(p,4,qe(d));if(z(d))return _(p,0,ot(d));break}}return L}function H(){const{currentType:d,offset:p,startLoc:L,endLoc:C}=l;return l.lastType=d,l.lastOffset=p,l.lastStartLoc=L,l.lastEndLoc=C,l.offset=s(),l.startLoc=r(),n.currentChar()===eo?_(l,14):V(n,l)}return{nextToken:H,currentOffset:s,currentPosition:r,context:c}}const qp="parser",Zp=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Xp(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 Jp(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function s(w,g,A,T,...x){const U=w.currentPosition();if(U.offset+=T,U.column+=T,o){const I=t?Gn(A,U):null,J=Lo(g,I,{domain:qp,args:x});o(J)}}function r(w,g,A,T,...x){const U=w.currentPosition();if(U.offset+=T,U.column+=T,n){const I=t?Gn(A,U):null;n(zp(g,I,x))}}function a(w,g,A){const T={type:w};return t&&(T.start=g,T.end=g,T.loc={start:A,end:A}),T}function i(w,g,A,T){t&&(w.end=g,w.loc&&(w.loc.end=A))}function l(w,g){const A=w.context(),T=a(3,A.offset,A.startLoc);return T.value=g,i(T,w.currentOffset(),w.currentPosition()),T}function c(w,g){const A=w.context(),{lastOffset:T,lastStartLoc:x}=A,U=a(5,T,x);return U.index=parseInt(g,10),w.nextToken(),i(U,w.currentOffset(),w.currentPosition()),U}function u(w,g,A){const T=w.context(),{lastOffset:x,lastStartLoc:U}=T,I=a(4,x,U);return I.key=g,A===!0&&(I.modulo=!0),w.nextToken(),i(I,w.currentOffset(),w.currentPosition()),I}function h(w,g){const A=w.context(),{lastOffset:T,lastStartLoc:x}=A,U=a(9,T,x);return U.value=g.replace(Zp,Xp),w.nextToken(),i(U,w.currentOffset(),w.currentPosition()),U}function _(w){const g=w.nextToken(),A=w.context(),{lastOffset:T,lastStartLoc:x}=A,U=a(8,T,x);return g.type!==12?(s(w,te.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),U.value="",i(U,T,x),{nextConsumeToken:g,node:U}):(g.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,wt(g)),U.value=g.value||"",i(U,w.currentOffset(),w.currentPosition()),{node:U})}function k(w,g){const A=w.context(),T=a(7,A.offset,A.startLoc);return T.value=g,i(T,w.currentOffset(),w.currentPosition()),T}function E(w){const g=w.context(),A=a(6,g.offset,g.startLoc);let T=w.nextToken();if(T.type===9){const x=_(w);A.modifier=x.node,T=x.nextConsumeToken||w.nextToken()}switch(T.type!==10&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(T)),T=w.nextToken(),T.type===2&&(T=w.nextToken()),T.type){case 11:T.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(T)),A.key=k(w,T.value||"");break;case 5:T.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(T)),A.key=u(w,T.value||"");break;case 6:T.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(T)),A.key=c(w,T.value||"");break;case 7:T.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(T)),A.key=h(w,T.value||"");break;default:{s(w,te.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const x=w.context(),U=a(7,x.offset,x.startLoc);return U.value="",i(U,x.offset,x.startLoc),A.key=U,i(A,x.offset,x.startLoc),{nextConsumeToken:T,node:A}}}return i(A,w.currentOffset(),w.currentPosition()),{node:A}}function y(w){const g=w.context(),A=g.currentType===1?w.currentOffset():g.offset,T=g.currentType===1?g.endLoc:g.startLoc,x=a(2,A,T);x.items=[];let U=null,I=null;do{const z=U||w.nextToken();switch(U=null,z.type){case 0:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(z)),x.items.push(l(w,z.value||""));break;case 6:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(z)),x.items.push(c(w,z.value||""));break;case 4:I=!0;break;case 5:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(z)),x.items.push(u(w,z.value||"",!!I)),I&&(r(w,Zr.USE_MODULO_SYNTAX,g.lastStartLoc,0,wt(z)),I=null);break;case 7:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,wt(z)),x.items.push(h(w,z.value||""));break;case 8:{const ue=E(w);x.items.push(ue.node),U=ue.nextConsumeToken||null;break}}}while(g.currentType!==14&&g.currentType!==1);const J=g.currentType===1?g.lastOffset:w.currentOffset(),ee=g.currentType===1?g.lastEndLoc:w.currentPosition();return i(x,J,ee),x}function O(w,g,A,T){const x=w.context();let U=T.items.length===0;const I=a(1,g,A);I.cases=[],I.cases.push(T);do{const J=y(w);U||(U=J.items.length===0),I.cases.push(J)}while(x.currentType!==14);return U&&s(w,te.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),i(I,w.currentOffset(),w.currentPosition()),I}function F(w){const g=w.context(),{offset:A,startLoc:T}=g,x=y(w);return g.currentType===14?x:O(w,A,T,x)}function b(w){const g=Yp(w,xi({},e)),A=g.context(),T=a(0,A.offset,A.startLoc);return t&&T.loc&&(T.loc.source=w),T.body=F(g),e.onCacheKey&&(T.cacheKey=e.onCacheKey(w)),A.currentType!==14&&s(g,te.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,w[A.offset]||""),i(T,g.currentOffset(),g.currentPosition()),T}return{parse:b}}function wt(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 Qp(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Fi(e,t){for(let o=0;o<e.length;o++)Xr(e[o],t)}function Xr(e,t){switch(e.type){case 1:Fi(e.cases,t),t.helper("plural");break;case 2:Fi(e.items,t);break;case 6:{Xr(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 ef(e,t={}){const o=Qp(e);o.helper("normalize"),e.body&&Xr(e.body,o);const n=o.context();e.helpers=Array.from(n.helpers)}function tf(e){const t=e.body;return t.type===2?Ci(t):t.cases.forEach(o=>Ci(o)),e}function Ci(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=Pi(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 of="minifier";function So(e){switch(e.t=e.type,e.type){case 0:{const t=e;So(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++)So(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++)So(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;So(t.key),t.k=t.key,delete t.key,t.modifier&&(So(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 Lo(te.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:of,args:[e.type]})}delete e.type}const nf="parser";function rf(e,t){const{filename:o,breakLineCode:n,needIndent:s}=t,r=t.location!==!1,a={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:s,indentLevel:0};r&&e.loc&&(a.source=e.loc.source);const i=()=>a;function l(y,O){a.code+=y}function c(y,O=!0){const F=O?n:"";l(s?F+" ".repeat(y):F)}function u(y=!0){const O=++a.indentLevel;y&&c(O)}function h(y=!0){const O=--a.indentLevel;y&&c(O)}function _(){c(a.indentLevel)}return{context:i,push:l,indent:u,deindent:h,newline:_,helper:y=>`_${y}`,needIndent:()=>a.needIndent}}function sf(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),Eo(e,t.key),t.modifier?(e.push(", "),Eo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function af(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const s=t.items.length;for(let r=0;r<s&&(Eo(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(n()),e.push("])")}function lf(e,t){const{helper:o,needIndent:n}=e;if(t.cases.length>1){e.push(`${o("plural")}([`),e.indent(n());const s=t.cases.length;for(let r=0;r<s&&(Eo(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(n()),e.push("])")}}function cf(e,t){t.body?Eo(e,t.body):e.push("null")}function Eo(e,t){const{helper:o}=e;switch(t.type){case 0:cf(e,t);break;case 1:lf(e,t);break;case 2:af(e,t);break;case 6:sf(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 Lo(te.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:nf,args:[t.type]})}}const uf=(e,t={})=>{const o=Mi(t.mode)?t.mode:"normal",n=Mi(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":`
|
||
`,r=t.needIndent?t.needIndent:o!=="arrow",a=e.helpers||[],i=rf(e,{filename:n,breakLineCode:s,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),a.length>0&&(i.push(`const { ${Pi(a.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),Eo(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function df(e,t={}){const o=xi({},t),n=!!o.jit,s=!!o.minify,r=o.optimize==null?!0:o.optimize,i=Jp(o).parse(e);return n?(r&&tf(i),s&&So(i),{ast:i,code:""}):(ef(i,o),uf(i,o))}/*!
|
||
* core-base v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function pf(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qo().__INTLIFY_PROD_DEVTOOLS__=!1)}function Pt(e){return he(e)&&Jr(e)===0&&($t(e,"b")||$t(e,"body"))}const Ii=["b","body"];function ff(e){return to(e,Ii)}const Ni=["c","cases"];function hf(e){return to(e,Ni,[])}const Ri=["s","static"];function mf(e){return to(e,Ri)}const Di=["i","items"];function gf(e){return to(e,Di,[])}const zi=["t","type"];function Jr(e){return to(e,zi)}const Ui=["v","value"];function Bn(e,t){const o=to(e,Ui);if(o!=null)return o;throw en(t)}const ji=["m","modifier"];function _f(e){return to(e,ji)}const Wi=["k","key"];function bf(e){const t=to(e,Wi);if(t)return t;throw en(6)}function to(e,t,o){for(let n=0;n<t.length;n++){const s=t[n];if($t(e,s)&&e[s]!=null)return e[s]}return o}const Hi=[...Ii,...Ni,...Ri,...Di,...Wi,...ji,...Ui,...zi];function en(e){return new Error(`unhandled node type: ${e}`)}const oo=[];oo[0]={w:[0],i:[3,0],"[":[4],o:[7]},oo[1]={w:[1],".":[2],"[":[4],o:[7]},oo[2]={w:[2],i:[3,0],0:[3,0]},oo[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},oo[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},oo[5]={"'":[4,0],o:8,l:[5,0]},oo[6]={'"':[4,0],o:8,l:[6,0]};const $f=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function wf(e){return $f.test(e)}function yf(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 vf(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 kf(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:wf(t)?yf(t):"*"+t}function Lf(e){const t=[];let o=-1,n=0,s=0,r,a,i,l,c,u,h;const _=[];_[0]=()=>{a===void 0?a=i:a+=i},_[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},_[2]=()=>{_[0](),s++},_[3]=()=>{if(s>0)s--,n=4,_[0]();else{if(s=0,a===void 0||(a=kf(a),a===!1))return!1;_[1]()}};function k(){const E=e[o+1];if(n===5&&E==="'"||n===6&&E==='"')return o++,i="\\"+E,_[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=vf(r),h=oo[n],c=h[l]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=_[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const Vi=new Map;function Sf(e,t){return he(e)?e[t]:null}function Ef(e,t){if(!he(e))return null;let o=Vi.get(t);if(o||(o=Lf(t),o&&Vi.set(t,o)),!o)return null;const n=o.length;let s=e,r=0;for(;r<n;){const a=o[r];if(Hi.includes(a)&&Pt(s))return null;const i=s[a];if(i===void 0||Le(s))return null;s=i,r++}return s}const Af=e=>e,Tf=e=>"",xf="text",Mf=e=>e.length===0?"":Cp(e),Pf=Fp;function Gi(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Of(e){const t=Ne(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ne(e.named.count)||Ne(e.named.n))?Ne(e.named.count)?e.named.count:Ne(e.named.n)?e.named.n:t:t}function Ff(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Cf(e={}){const t=e.locale,o=Of(e),n=he(e.pluralRules)&&K(t)&&Le(e.pluralRules[t])?e.pluralRules[t]:Gi,s=he(e.pluralRules)&&K(t)&&Le(e.pluralRules[t])?Gi:void 0,r=F=>F[n(o,F.length,s)],a=e.list||[],i=F=>a[F],l=e.named||ye();Ne(e.pluralIndex)&&Ff(o,l);const c=F=>l[F];function u(F){const b=Le(e.messages)?e.messages(F):he(e.messages)?e.messages[F]:!1;return b||(e.parent?e.parent.message(F):Tf)}const h=F=>e.modifiers?e.modifiers[F]:Af,_=ne(e.processor)&&Le(e.processor.normalize)?e.processor.normalize:Mf,k=ne(e.processor)&&Le(e.processor.interpolate)?e.processor.interpolate:Pf,E=ne(e.processor)&&K(e.processor.type)?e.processor.type:xf,O={list:i,named:c,plural:r,linked:(F,...b)=>{const[w,g]=b;let A="text",T="";b.length===1?he(w)?(T=w.modifier||T,A=w.type||A):K(w)&&(T=w||T):b.length===2&&(K(w)&&(T=w||T),K(g)&&(A=g||A));const x=u(F)(O),U=A==="vnode"&&xe(x)&&T?x[0]:x;return T?h(T)(U,A):U},message:u,type:E,interpolate:k,normalize:_,values:Ke(ye(),a,l)};return O}let tn=null;function If(e){tn=e}function Nf(e,t,o){tn&&tn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Rf=Df("function:translate");function Df(e){return t=>tn&&tn.emit(e,t)}const zf=Zr.__EXTEND_POINT__,uo=Wn(zf),Uf={FALLBACK_TO_TRANSLATE:uo(),CANNOT_FORMAT_NUMBER:uo(),FALLBACK_TO_NUMBER_FORMAT:uo(),CANNOT_FORMAT_DATE:uo(),FALLBACK_TO_DATE_FORMAT:uo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:uo(),__EXTEND_POINT__:uo()},Bi=te.__EXTEND_POINT__,po=Wn(Bi),Ot={INVALID_ARGUMENT:Bi,INVALID_DATE_ARGUMENT:po(),INVALID_ISO_DATE_ARGUMENT:po(),NOT_SUPPORT_NON_STRING_MESSAGE:po(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:po(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:po(),NOT_SUPPORT_LOCALE_TYPE:po(),__EXTEND_POINT__:po()};function Ht(e){return Lo(e,null,void 0)}function Qr(e,t){return t.locale!=null?Ki(t.locale):Ki(e.locale)}let es;function Ki(e){if(K(e))return e;if(Le(e)){if(e.resolvedOnce&&es!=null)return es;if(e.constructor.name==="Function"){const t=e();if(Op(t))throw Ht(Ot.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return es=t}else throw Ht(Ot.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ht(Ot.NOT_SUPPORT_LOCALE_TYPE)}function jf(e,t,o){return[...new Set([o,...xe(t)?t:he(t)?Object.keys(t):K(t)?[t]:[o]])]}function Yi(e,t,o){const n=K(o)?o:Ao,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(n);if(!r){r=[];let a=[o];for(;xe(a);)a=qi(r,a,t);const i=xe(t)||!ne(t)?t:t.default?t.default:null;a=K(i)?[i]:i,xe(a)&&qi(r,a,!1),s.__localeChainCache.set(n,r)}return r}function qi(e,t,o){let n=!0;for(let s=0;s<t.length&&ce(n);s++){const r=t[s];K(r)&&(n=Wf(e,t[s],o))}return n}function Wf(e,t,o){let n;const s=t.split("-");do{const r=s.join("-");n=Hf(e,r,o),s.splice(-1,1)}while(s.length&&n===!0);return n}function Hf(e,t,o){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(xe(o)||ne(o))&&o[s]&&(n=o[s])}return n}const Vf="9.14.5",Kn=-1,Ao="en-US",Zi="",Xi=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Gf(){return{upper:(e,t)=>t==="text"&&K(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&K(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&K(e)?Xi(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?Xi(e.children):e}}let Ji;function Bf(e){Ji=e}let Qi;function Kf(e){Qi=e}let el;function Yf(e){el=e}let tl=null;const qf=e=>{tl=e},Zf=()=>tl;let ol=null;const nl=e=>{ol=e},Xf=()=>ol;let rl=0;function Jf(e={}){const t=Le(e.onWarn)?e.onWarn:Sp,o=K(e.version)?e.version:Vf,n=K(e.locale)||Le(e.locale)?e.locale:Ao,s=Le(n)?Ao:n,r=xe(e.fallbackLocale)||ne(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,a=ne(e.messages)?e.messages:ts(s),i=ne(e.datetimeFormats)?e.datetimeFormats:ts(s),l=ne(e.numberFormats)?e.numberFormats:ts(s),c=Ke(ye(),e.modifiers,Gf()),u=e.pluralRules||ye(),h=Le(e.missing)?e.missing:null,_=ce(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,k=ce(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,y=!!e.unresolving,O=Le(e.postTranslation)?e.postTranslation:null,F=ne(e.processor)?e.processor:null,b=ce(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter,g=Le(e.messageCompiler)?e.messageCompiler:Ji,A=Le(e.messageResolver)?e.messageResolver:Qi||Sf,T=Le(e.localeFallbacker)?e.localeFallbacker:el||jf,x=he(e.fallbackContext)?e.fallbackContext:void 0,U=e,I=he(U.__datetimeFormatters)?U.__datetimeFormatters:new Map,J=he(U.__numberFormatters)?U.__numberFormatters:new Map,ee=he(U.__meta)?U.__meta:{};rl++;const z={version:o,cid:rl,locale:n,fallbackLocale:r,messages:a,modifiers:c,pluralRules:u,missing:h,missingWarn:_,fallbackWarn:k,fallbackFormat:E,unresolving:y,postTranslation:O,processor:F,warnHtmlMessage:b,escapeParameter:w,messageCompiler:g,messageResolver:A,localeFallbacker:T,fallbackContext:x,onWarn:t,__meta:ee};return z.datetimeFormats=i,z.numberFormats=l,z.__datetimeFormatters=I,z.__numberFormatters=J,__INTLIFY_PROD_DEVTOOLS__&&Nf(z,o,ee),z}const ts=e=>({[e]:ye()});function os(e,t,o,n,s){const{missing:r,onWarn:a}=e;if(r!==null){const i=r(e,o,t,s);return K(i)?i:t}else return t}function on(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Qf(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function eh(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;n<t.length;n++)if(Qf(e,t[n]))return!0;return!1}function ns(e){return o=>th(o,e)}function th(e,t){const o=ff(t);if(o==null)throw en(0);if(Jr(o)===1){const r=hf(o);return e.plural(r.reduce((a,i)=>[...a,sl(e,i)],[]))}else return sl(e,o)}function sl(e,t){const o=mf(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=gf(t).reduce((s,r)=>[...s,rs(e,r)],[]);return e.normalize(n)}}function rs(e,t){const o=Jr(t);switch(o){case 3:return Bn(t,o);case 9:return Bn(t,o);case 4:{const n=t;if($t(n,"k")&&n.k)return e.interpolate(e.named(n.k));if($t(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw en(o)}case 5:{const n=t;if($t(n,"i")&&Ne(n.i))return e.interpolate(e.list(n.i));if($t(n,"index")&&Ne(n.index))return e.interpolate(e.list(n.index));throw en(o)}case 6:{const n=t,s=_f(n),r=bf(n);return e.linked(rs(e,r),s?rs(e,s):void 0,e.type)}case 7:return Bn(t,o);case 8:return Bn(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const oh=e=>e;let Yn=ye();function nh(e,t={}){let o=!1;const n=t.onError||jp;return t.onError=s=>{o=!0,n(s)},{...df(e,t),detectError:o}}function rh(e,t){if(K(e)){ce(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||oh)(e),s=Yn[n];if(s)return s;const{ast:r,detectError:a}=nh(e,{...t,location:!1,jit:!0}),i=ns(r);return a?i:Yn[n]=i}else{const o=e.cacheKey;if(o){const n=Yn[o];return n||(Yn[o]=ns(e))}else return ns(e)}}const al=()=>"",ft=e=>Le(e);function il(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:s,messageCompiler:r,fallbackLocale:a,messages:i}=e,[l,c]=ss(...t),u=ce(c.missingWarn)?c.missingWarn:e.missingWarn,h=ce(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,_=ce(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,E=K(c.default)||ce(c.default)?ce(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",y=o||E!=="",O=Qr(e,c);_&&sh(c);let[F,b,w]=k?[l,O,i[O]||ye()]:ll(e,l,O,a,h,u),g=F,A=l;if(!k&&!(K(g)||Pt(g)||ft(g))&&y&&(g=E,A=g),!k&&(!(K(g)||Pt(g)||ft(g))||!K(b)))return s?Kn:l;let T=!1;const x=()=>{T=!0},U=ft(g)?g:cl(e,l,b,g,A,x);if(T)return g;const I=lh(e,b,w,c),J=Cf(I),ee=ah(e,U,J);let z=n?n(ee,l):ee;if(_&&K(z)&&(z=Mp(z)),__INTLIFY_PROD_DEVTOOLS__){const ue={timestamp:Date.now(),key:K(l)?l:ft(g)?g.key:"",locale:b||(ft(g)?g.locale:""),format:K(g)?g:ft(g)?g.source:"",message:z};ue.meta=Ke({},e.__meta,Zf()||{}),Rf(ue)}return z}function sh(e){xe(e.list)?e.list=e.list.map(t=>K(t)?Li(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{K(e.named[t])&&(e.named[t]=Li(e.named[t]))})}function ll(e,t,o,n,s,r){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let h=ye(),_,k=null;const E="translate";for(let y=0;y<u.length&&(_=u[y],h=a[_]||ye(),(k=l(h,t))===null&&(k=h[t]),!(K(k)||Pt(k)||ft(k)));y++)if(!eh(_,u)){const O=os(e,t,_,r,E);O!==t&&(k=O)}return[k,_,h]}function cl(e,t,o,n,s,r){const{messageCompiler:a,warnHtmlMessage:i}=e;if(ft(n)){const c=n;return c.locale=c.locale||o,c.key=c.key||t,c}if(a==null){const c=()=>n;return c.locale=o,c.key=t,c}const l=a(n,ih(e,o,s,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function ah(e,t,o){return t(o)}function ss(...e){const[t,o,n]=e,s=ye();if(!K(t)&&!Ne(t)&&!ft(t)&&!Pt(t))throw Ht(Ot.INVALID_ARGUMENT);const r=Ne(t)?String(t):(ft(t),t);return Ne(o)?s.plural=o:K(o)?s.default=o:ne(o)&&!jn(o)?s.named=o:xe(o)&&(s.list=o),Ne(n)?s.plural=n:K(n)?s.default=n:ne(n)&&Ke(s,n),[r,s]}function ih(e,t,o,n,s,r){return{locale:t,key:o,warnHtmlMessage:s,onError:a=>{throw r&&r(a),a},onCacheKey:a=>Ep(t,o,a)}}function lh(e,t,o,n){const{modifiers:s,pluralRules:r,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,_={locale:t,modifiers:s,pluralRules:r,messages:k=>{let E=a(o,k);if(E==null&&u){const[,,y]=ll(u,k,t,i,l,c);E=a(y,k)}if(K(E)||Pt(E)){let y=!1;const F=cl(e,k,t,E,k,()=>{y=!0});return y?al:F}else return ft(E)?E:al}};return e.processor&&(_.processor=e.processor),n.list&&(_.list=n.list),n.named&&(_.named=n.named),Ne(n.plural)&&(_.pluralIndex=n.plural),_}function ul(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:s,onWarn:r,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,u,h]=as(...t),_=ce(u.missingWarn)?u.missingWarn:e.missingWarn;ce(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,E=Qr(e,u),y=a(e,s,E);if(!K(l)||l==="")return new Intl.DateTimeFormat(E,h).format(c);let O={},F,b=null;const w="datetime format";for(let T=0;T<y.length&&(F=y[T],O=o[F]||{},b=O[l],!ne(b));T++)os(e,l,F,_,w);if(!ne(b)||!K(F))return n?Kn:l;let g=`${F}__${l}`;jn(h)||(g=`${g}__${JSON.stringify(h)}`);let A=i.get(g);return A||(A=new Intl.DateTimeFormat(F,Ke({},b,h)),i.set(g,A)),k?A.formatToParts(c):A.format(c)}const dl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function as(...e){const[t,o,n,s]=e,r=ye();let a=ye(),i;if(K(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Ht(Ot.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 Ht(Ot.INVALID_ISO_DATE_ARGUMENT)}}else if(Tp(t)){if(isNaN(t.getTime()))throw Ht(Ot.INVALID_DATE_ARGUMENT);i=t}else if(Ne(t))i=t;else throw Ht(Ot.INVALID_ARGUMENT);return K(o)?r.key=o:ne(o)&&Object.keys(o).forEach(l=>{dl.includes(l)?a[l]=o[l]:r[l]=o[l]}),K(n)?r.locale=n:ne(n)&&(a=n),ne(s)&&(a=s),[r.key||"",i,r,a]}function pl(e,t,o){const n=e;for(const s in o){const r=`${t}__${s}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function fl(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:s,onWarn:r,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,u,h]=is(...t),_=ce(u.missingWarn)?u.missingWarn:e.missingWarn;ce(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,E=Qr(e,u),y=a(e,s,E);if(!K(l)||l==="")return new Intl.NumberFormat(E,h).format(c);let O={},F,b=null;const w="number format";for(let T=0;T<y.length&&(F=y[T],O=o[F]||{},b=O[l],!ne(b));T++)os(e,l,F,_,w);if(!ne(b)||!K(F))return n?Kn:l;let g=`${F}__${l}`;jn(h)||(g=`${g}__${JSON.stringify(h)}`);let A=i.get(g);return A||(A=new Intl.NumberFormat(F,Ke({},b,h)),i.set(g,A)),k?A.formatToParts(c):A.format(c)}const hl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function is(...e){const[t,o,n,s]=e,r=ye();let a=ye();if(!Ne(t))throw Ht(Ot.INVALID_ARGUMENT);const i=t;return K(o)?r.key=o:ne(o)&&Object.keys(o).forEach(l=>{hl.includes(l)?a[l]=o[l]:r[l]=o[l]}),K(n)?r.locale=n:ne(n)&&(a=n),ne(s)&&(a=s),[r.key||"",i,r,a]}function ml(e,t,o){const n=e;for(const s in o){const r=`${t}__${s}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}pf();/*!
|
||
* vue-i18n v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const ch="9.14.5";function uh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Qo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Qo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qo().__INTLIFY_PROD_DEVTOOLS__=!1)}const dh=Uf.__EXTEND_POINT__,Vt=Wn(dh);Vt(),Vt(),Vt(),Vt(),Vt(),Vt(),Vt(),Vt(),Vt();const gl=Ot.__EXTEND_POINT__,st=Wn(gl),De={UNEXPECTED_RETURN_TYPE:gl,INVALID_ARGUMENT:st(),MUST_BE_CALL_SETUP_TOP:st(),NOT_INSTALLED:st(),NOT_AVAILABLE_IN_LEGACY_MODE:st(),REQUIRED_VALUE:st(),INVALID_VALUE:st(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:st(),NOT_INSTALLED_WITH_PROVIDE:st(),UNEXPECTED_ERROR:st(),NOT_COMPATIBLE_LEGACY_VUE_I18N:st(),BRIDGE_SUPPORT_VUE_2_ONLY:st(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:st(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:st(),__EXTEND_POINT__:st()};function We(e,...t){return Lo(e,null,void 0)}const ls=Jt("__translateVNode"),cs=Jt("__datetimeParts"),us=Jt("__numberParts"),_l=Jt("__setPluralRules"),bl=Jt("__injectWithOption"),ds=Jt("__dispose");function nn(e){if(!he(e)||Pt(e))return e;for(const t in e)if($t(e,t))if(!t.includes("."))he(e[t])&&nn(e[t]);else{const o=t.split("."),n=o.length-1;let s=e,r=!1;for(let a=0;a<n;a++){if(o[a]==="__proto__")throw new Error(`unsafe key: ${o[a]}`);if(o[a]in s||(s[o[a]]=ye()),!he(s[o[a]])){r=!0;break}s=s[o[a]]}if(r||(Pt(s)?Hi.includes(o[n])||delete e[t]:(s[o[n]]=e[t],delete e[t])),!Pt(s)){const a=s[o[n]];he(a)&&nn(a)}}return e}function qn(e,t){const{messages:o,__i18n:n,messageResolver:s,flatJson:r}=t,a=ne(o)?o:xe(n)?ye():{[e]:ye()};if(xe(n)&&n.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||ye(),Vn(c,a[l])):Vn(c,a)}else K(i)&&Vn(JSON.parse(i),a)}),s==null&&r)for(const i in a)$t(a,i)&&nn(a[i]);return a}function $l(e){return e.type}function wl(e,t,o){let n=he(t.messages)?t.messages:ye();"__i18nGlobal"in o&&(n=qn(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(he(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(he(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function yl(e){return Ie(Vo,null,e,0)}const vl="__INTLIFY_META__",kl=()=>[],ph=()=>!1;let Ll=0;function Sl(e){return(t,o,n,s)=>e(o,n,Xt()||void 0,s)}const fh=()=>{const e=Xt();let t=null;return e&&(t=$l(e)[vl])?{[vl]:t}:null};function ps(e={},t){const{__root:o,__injectWithOption:n}=e,s=o===void 0,r=e.flatJson,a=Un?_e:wr,i=!!e.translateExistCompatible;let l=ce(e.inheritLocale)?e.inheritLocale:!0;const c=a(o&&l?o.locale.value:K(e.locale)?e.locale:Ao),u=a(o&&l?o.fallbackLocale.value:K(e.fallbackLocale)||xe(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=a(qn(c.value,e)),_=a(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=a(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let E=o?o.missingWarn:ce(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,y=o?o.fallbackWarn:ce(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,O=o?o.fallbackRoot:ce(e.fallbackRoot)?e.fallbackRoot:!0,F=!!e.fallbackFormat,b=Le(e.missing)?e.missing:null,w=Le(e.missing)?Sl(e.missing):null,g=Le(e.postTranslation)?e.postTranslation:null,A=o?o.warnHtmlMessage:ce(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const x=o?o.modifiers:ne(e.modifiers)?e.modifiers:{};let U=e.pluralRules||o&&o.pluralRules,I;I=(()=>{s&&nl(null);const v={version:ch,locale:c.value,fallbackLocale:u.value,messages:h.value,modifiers:x,pluralRules:U,missing:w===null?void 0:w,missingWarn:E,fallbackWarn:y,fallbackFormat:F,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:A,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};v.datetimeFormats=_.value,v.numberFormats=k.value,v.__datetimeFormatters=ne(I)?I.__datetimeFormatters:void 0,v.__numberFormatters=ne(I)?I.__numberFormatters:void 0;const P=Jf(v);return s&&nl(P),P})(),on(I,c.value,u.value);function ee(){return[c.value,u.value,h.value,_.value,k.value]}const z=je({get:()=>c.value,set:v=>{c.value=v,I.locale=c.value}}),ue=je({get:()=>u.value,set:v=>{u.value=v,I.fallbackLocale=u.value,on(I,c.value,v)}}),ie=je(()=>h.value),B=je(()=>_.value),W=je(()=>k.value);function q(){return Le(g)?g:null}function Q(v){g=v,I.postTranslation=v}function de(){return b}function tt(v){v!==null&&(w=Sl(v)),b=v,I.missing=w}const Se=(v,P,Z,se,we,S)=>{ee();let D;try{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=o?Xf():void 0),D=v(I)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=void 0)}if(Z!=="translate exists"&&Ne(D)&&D===Kn||Z==="translate exists"&&!D){const[Y,pe]=P();return o&&O?se(o):we(Y)}else{if(S(D))return D;throw We(De.UNEXPECTED_RETURN_TYPE)}};function Me(...v){return Se(P=>Reflect.apply(il,null,[P,...v]),()=>ss(...v),"translate",P=>Reflect.apply(P.t,P,[...v]),P=>P,P=>K(P))}function qe(...v){const[P,Z,se]=v;if(se&&!he(se))throw We(De.INVALID_ARGUMENT);return Me(P,Z,Ke({resolvedMessage:!0},se||{}))}function ot(...v){return Se(P=>Reflect.apply(ul,null,[P,...v]),()=>as(...v),"datetime format",P=>Reflect.apply(P.d,P,[...v]),()=>Zi,P=>K(P))}function dt(...v){return Se(P=>Reflect.apply(fl,null,[P,...v]),()=>is(...v),"number format",P=>Reflect.apply(P.n,P,[...v]),()=>Zi,P=>K(P))}function He(v){return v.map(P=>K(P)||Ne(P)||ce(P)?yl(String(P)):P)}const it={normalize:He,interpolate:v=>v,type:"vnode"};function le(...v){return Se(P=>{let Z;const se=P;try{se.processor=it,Z=Reflect.apply(il,null,[se,...v])}finally{se.processor=null}return Z},()=>ss(...v),"translate",P=>P[ls](...v),P=>[yl(P)],P=>xe(P))}function ae(...v){return Se(P=>Reflect.apply(fl,null,[P,...v]),()=>is(...v),"number format",P=>P[us](...v),kl,P=>K(P)||xe(P))}function Re(...v){return Se(P=>Reflect.apply(ul,null,[P,...v]),()=>as(...v),"datetime format",P=>P[cs](...v),kl,P=>K(P)||xe(P))}function f(v){U=v,I.pluralRules=U}function $(v,P){return Se(()=>{if(!v)return!1;const Z=K(P)?P:c.value,se=R(Z),we=I.messageResolver(se,v);return i?we!=null:Pt(we)||ft(we)||K(we)},()=>[v],"translate exists",Z=>Reflect.apply(Z.te,Z,[v,P]),ph,Z=>ce(Z))}function m(v){let P=null;const Z=Yi(I,u.value,c.value);for(let se=0;se<Z.length;se++){const we=h.value[Z[se]]||{},S=I.messageResolver(we,v);if(S!=null){P=S;break}}return P}function M(v){const P=m(v);return P??(o?o.tm(v)||{}:{})}function R(v){return h.value[v]||{}}function N(v,P){if(r){const Z={[v]:P};for(const se in Z)$t(Z,se)&&nn(Z[se]);P=Z[v]}h.value[v]=P,I.messages=h.value}function V(v,P){h.value[v]=h.value[v]||{};const Z={[v]:P};if(r)for(const se in Z)$t(Z,se)&&nn(Z[se]);P=Z[v],Vn(P,h.value[v]),I.messages=h.value}function H(v){return _.value[v]||{}}function d(v,P){_.value[v]=P,I.datetimeFormats=_.value,pl(I,v,P)}function p(v,P){_.value[v]=Ke(_.value[v]||{},P),I.datetimeFormats=_.value,pl(I,v,P)}function L(v){return k.value[v]||{}}function C(v,P){k.value[v]=P,I.numberFormats=k.value,ml(I,v,P)}function G(v,P){k.value[v]=Ke(k.value[v]||{},P),I.numberFormats=k.value,ml(I,v,P)}Ll++,o&&Un&&(At(o.locale,v=>{l&&(c.value=v,I.locale=v,on(I,c.value,u.value))}),At(o.fallbackLocale,v=>{l&&(u.value=v,I.fallbackLocale=v,on(I,c.value,u.value))}));const j={id:Ll,locale:z,fallbackLocale:ue,get inheritLocale(){return l},set inheritLocale(v){l=v,v&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,on(I,c.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:ie,get modifiers(){return x},get pluralRules(){return U||{}},get isGlobal(){return s},get missingWarn(){return E},set missingWarn(v){E=v,I.missingWarn=E},get fallbackWarn(){return y},set fallbackWarn(v){y=v,I.fallbackWarn=y},get fallbackRoot(){return O},set fallbackRoot(v){O=v},get fallbackFormat(){return F},set fallbackFormat(v){F=v,I.fallbackFormat=F},get warnHtmlMessage(){return A},set warnHtmlMessage(v){A=v,I.warnHtmlMessage=v},get escapeParameter(){return T},set escapeParameter(v){T=v,I.escapeParameter=v},t:Me,getLocaleMessage:R,setLocaleMessage:N,mergeLocaleMessage:V,getPostTranslationHandler:q,setPostTranslationHandler:Q,getMissingHandler:de,setMissingHandler:tt,[_l]:f};return j.datetimeFormats=B,j.numberFormats=W,j.rt=qe,j.te=$,j.tm=M,j.d=ot,j.n=dt,j.getDateTimeFormat=H,j.setDateTimeFormat=d,j.mergeDateTimeFormat=p,j.getNumberFormat=L,j.setNumberFormat=C,j.mergeNumberFormat=G,j[bl]=n,j[ls]=le,j[cs]=Re,j[us]=ae,j}function hh(e){const t=K(e.locale)?e.locale:Ao,o=K(e.fallbackLocale)||xe(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Le(e.missing)?e.missing:void 0,s=ce(e.silentTranslationWarn)||Qt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=ce(e.silentFallbackWarn)||Qt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=ce(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Le(e.postTranslation)?e.postTranslation:void 0,h=K(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,_=!!e.escapeParameterHtml,k=ce(e.sync)?e.sync:!0;let E=e.messages;if(ne(e.sharedMessages)){const T=e.sharedMessages;E=Object.keys(T).reduce((U,I)=>{const J=U[I]||(U[I]={});return Ke(J,T[I]),U},E||{})}const{__i18n:y,__root:O,__injectWithOption:F}=e,b=e.datetimeFormats,w=e.numberFormats,g=e.flatJson,A=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:E,flatJson:g,datetimeFormats:b,numberFormats:w,missing:n,missingWarn:s,fallbackWarn:r,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:h,escapeParameter:_,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:A,__i18n:y,__root:O,__injectWithOption:F}}function fs(e={},t){{const o=ps(hh(e)),{__extender:n}=e,s={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return ce(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=ce(r)?!r:r},get silentFallbackWarn(){return ce(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=ce(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[a,i,l]=r,c={};let u=null,h=null;if(!K(a))throw We(De.INVALID_ARGUMENT);const _=a;return K(i)?c.locale=i:xe(i)?u=i:ne(i)&&(h=i),xe(l)?u=l:ne(l)&&(h=l),Reflect.apply(o.t,o,[_,u||h||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[a,i,l]=r,c={plural:1};let u=null,h=null;if(!K(a))throw We(De.INVALID_ARGUMENT);const _=a;return K(i)?c.locale=i:Ne(i)?c.plural=i:xe(i)?u=i:ne(i)&&(h=i),K(l)?c.locale=l:xe(l)?u=l:ne(l)&&(h=l),Reflect.apply(o.t,o,[_,u||h||{},c])},te(r,a){return o.te(r,a)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,a){o.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){o.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,a){o.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){o.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,a){o.setNumberFormat(r,a)},mergeNumberFormat(r,a){o.mergeNumberFormat(r,a)},getChoiceIndex(r,a){return-1}};return s.__extender=n,s}}const hs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function mh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,s)=>[...n,...s.type===Be?s.children:[s]],[]):t.reduce((o,n)=>{const s=e[n];return s&&(o[n]=s()),o},ye())}function El(e){return Be}const Al=Tn({name:"i18n-t",props:Ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ne(e)||!isNaN(e)}},hs),setup(e,t){const{slots:o,attrs:n}=t,s=e.i18n||To({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(h=>h!=="_"),a=ye();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=K(e.plural)?+e.plural:e.plural);const i=mh(t,r),l=s[ls](e.keypath,i,a),c=Ke(ye(),n),u=K(e.tag)||he(e.tag)?e.tag:El();return ei(u,c,l)}}});function gh(e){return xe(e)&&!K(e[0])}function Tl(e,t,o,n){const{slots:s,attrs:r}=t;return()=>{const a={part:!0};let i=ye();e.locale&&(a.locale=e.locale),K(e.format)?a.key=e.format:he(e.format)&&(K(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((_,k)=>o.includes(k)?Ke(ye(),_,{[k]:e.format[k]}):_,ye()));const l=n(e.value,a,i);let c=[a.key];xe(l)?c=l.map((_,k)=>{const E=s[_.type],y=E?E({[_.type]:_.value,index:k,parts:l}):[_.value];return gh(y)&&(y[0].key=`${_.type}-${k}`),y}):K(l)&&(c=[l]);const u=Ke(ye(),r),h=K(e.tag)||he(e.tag)?e.tag:El();return ei(h,u,c)}}const xl=Tn({name:"i18n-n",props:Ke({value:{type:Number,required:!0},format:{type:[String,Object]}},hs),setup(e,t){const o=e.i18n||To({useScope:e.scope,__useComponent:!0});return Tl(e,t,hl,(...n)=>o[us](...n))}}),Ml=Tn({name:"i18n-d",props:Ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},hs),setup(e,t){const o=e.i18n||To({useScope:e.scope,__useComponent:!0});return Tl(e,t,dl,(...n)=>o[cs](...n))}});function _h(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 bh(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw We(De.UNEXPECTED_ERROR);const u=_h(e,i.$),h=Pl(c);return[Reflect.apply(u.t,u,[...Ol(h)]),u]};return{created:(a,i)=>{const[l,c]=t(i);Un&&e.global===c&&(a.__i18nWatcher=At(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Un&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=Pl(i);a.textContent=Reflect.apply(l.t,l,[...Ol(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function Pl(e){if(K(e))return{path:e};if(ne(e)){if(!("path"in e))throw We(De.REQUIRED_VALUE,"path");return e}else throw We(De.INVALID_VALUE)}function Ol(e){const{path:t,locale:o,args:n,choice:s,plural:r}=e,a={},i=n||{};return K(o)&&(a.locale=o),Ne(s)&&(a.plural=s),Ne(r)&&(a.plural=r),[t,i,a]}function $h(e,t,...o){const n=ne(o[0])?o[0]:{},s=!!n.useI18nComponentName;(ce(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":Al.name,"I18nT"].forEach(a=>e.component(a,Al)),[xl.name,"I18nN"].forEach(a=>e.component(a,xl)),[Ml.name,"I18nD"].forEach(a=>e.component(a,Ml))),e.directive("t",bh(t))}function wh(e,t,o){return{beforeCreate(){const n=Xt();if(!n)throw We(De.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=Fl(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=fs(r);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Fl(e,s);else{this.$i18n=fs({__i18n:s.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&wl(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,a)=>this.$i18n.te(r,a),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Xt();if(!n)throw We(De.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Fl(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[_l](t.pluralizationRules||e.pluralizationRules);const o=qn(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 yh=Jt("global-vue-i18n");function vh(e={},t){const o=__VUE_I18N_LEGACY_API__&&ce(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ce(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[a,i]=kh(e,o),l=Jt("");function c(_){return r.get(_)||null}function u(_,k){r.set(_,k)}function h(_){r.delete(_)}{const _={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return s},async install(k,...E){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,_),ne(E[0])){const F=E[0];_.__composerExtend=F.__composerExtend,_.__vueI18nExtend=F.__vueI18nExtend}let y=null;!o&&n&&(y=Oh(k,_.global)),__VUE_I18N_FULL_INSTALL__&&$h(k,_,...E),__VUE_I18N_LEGACY_API__&&o&&k.mixin(wh(i,i.__composer,_));const O=k.unmount;k.unmount=()=>{y&&y(),_.dispose(),O()}},get global(){return i},dispose(){a.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:h};return _}}function To(e={}){const t=Xt();if(t==null)throw We(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw We(De.NOT_INSTALLED);const o=Lh(t),n=Eh(o),s=$l(t),r=Sh(e,s);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw We(De.NOT_AVAILABLE_IN_LEGACY_MODE);return Mh(t,r,n,e)}if(r==="global")return wl(n,e,s),n;if(r==="parent"){let l=Ah(o,t,e.__useComponent);return l==null&&(l=n),l}const a=o;let i=a.__getInstance(t);if(i==null){const l=Ke({},e);"__i18n"in s&&(l.__i18n=s.__i18n),n&&(l.__root=n),i=ps(l),a.__composerExtend&&(i[ds]=a.__composerExtend(i)),xh(a,t,i),a.__setInstance(t,i)}return i}function kh(e,t,o){const n=Is();{const s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>fs(e)):n.run(()=>ps(e));if(s==null)throw We(De.UNEXPECTED_ERROR);return[n,s]}}function Lh(e){{const t=bt(e.isCE?yh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw We(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}}function Sh(e,t){return jn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Eh(e){return e.mode==="composition"?e.global:e.global.__composer}function Ah(e,t,o=!1){let n=null;const s=t.root;let r=Th(t,o);for(;r!=null;){const a=e;if(e.mode==="composition")n=a.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[bl]&&(n=null))}if(n!=null||s===r)break;r=r.parent}return n}function Th(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function xh(e,t,o){lo(()=>{},t),Tr(()=>{const n=o;e.__deleteInstance(t);const s=n[ds];s&&(s(),delete n[ds])},t)}function Mh(e,t,o,n={}){const s=t==="local",r=wr(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw We(De.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=ce(n.inheritLocale)?n.inheritLocale:!K(n.locale),i=_e(!s||a?o.locale.value:K(n.locale)?n.locale:Ao),l=_e(!s||a?o.fallbackLocale.value:K(n.fallbackLocale)||xe(n.fallbackLocale)||ne(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=_e(qn(i.value,n)),u=_e(ne(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),h=_e(ne(n.numberFormats)?n.numberFormats:{[i.value]:{}}),_=s?o.missingWarn:ce(n.missingWarn)||Qt(n.missingWarn)?n.missingWarn:!0,k=s?o.fallbackWarn:ce(n.fallbackWarn)||Qt(n.fallbackWarn)?n.fallbackWarn:!0,E=s?o.fallbackRoot:ce(n.fallbackRoot)?n.fallbackRoot:!0,y=!!n.fallbackFormat,O=Le(n.missing)?n.missing:null,F=Le(n.postTranslation)?n.postTranslation:null,b=s?o.warnHtmlMessage:ce(n.warnHtmlMessage)?n.warnHtmlMessage:!0,w=!!n.escapeParameter,g=s?o.modifiers:ne(n.modifiers)?n.modifiers:{},A=n.pluralRules||s&&o.pluralRules;function T(){return[i.value,l.value,c.value,u.value,h.value]}const x=je({get:()=>r.value?r.value.locale.value:i.value,set:m=>{r.value&&(r.value.locale.value=m),i.value=m}}),U=je({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:m=>{r.value&&(r.value.fallbackLocale.value=m),l.value=m}}),I=je(()=>r.value?r.value.messages.value:c.value),J=je(()=>u.value),ee=je(()=>h.value);function z(){return r.value?r.value.getPostTranslationHandler():F}function ue(m){r.value&&r.value.setPostTranslationHandler(m)}function ie(){return r.value?r.value.getMissingHandler():O}function B(m){r.value&&r.value.setMissingHandler(m)}function W(m){return T(),m()}function q(...m){return r.value?W(()=>Reflect.apply(r.value.t,null,[...m])):W(()=>"")}function Q(...m){return r.value?Reflect.apply(r.value.rt,null,[...m]):""}function de(...m){return r.value?W(()=>Reflect.apply(r.value.d,null,[...m])):W(()=>"")}function tt(...m){return r.value?W(()=>Reflect.apply(r.value.n,null,[...m])):W(()=>"")}function Se(m){return r.value?r.value.tm(m):{}}function Me(m,M){return r.value?r.value.te(m,M):!1}function qe(m){return r.value?r.value.getLocaleMessage(m):{}}function ot(m,M){r.value&&(r.value.setLocaleMessage(m,M),c.value[m]=M)}function dt(m,M){r.value&&r.value.mergeLocaleMessage(m,M)}function He(m){return r.value?r.value.getDateTimeFormat(m):{}}function Oe(m,M){r.value&&(r.value.setDateTimeFormat(m,M),u.value[m]=M)}function it(m,M){r.value&&r.value.mergeDateTimeFormat(m,M)}function le(m){return r.value?r.value.getNumberFormat(m):{}}function ae(m,M){r.value&&(r.value.setNumberFormat(m,M),h.value[m]=M)}function Re(m,M){r.value&&r.value.mergeNumberFormat(m,M)}const f={get id(){return r.value?r.value.id:-1},locale:x,fallbackLocale:U,messages:I,datetimeFormats:J,numberFormats:ee,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(m){r.value&&(r.value.inheritLocale=m)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:g},get pluralRules(){return r.value?r.value.pluralRules:A},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:_},set missingWarn(m){r.value&&(r.value.missingWarn=m)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(m){r.value&&(r.value.missingWarn=m)},get fallbackRoot(){return r.value?r.value.fallbackRoot:E},set fallbackRoot(m){r.value&&(r.value.fallbackRoot=m)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(m){r.value&&(r.value.fallbackFormat=m)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:b},set warnHtmlMessage(m){r.value&&(r.value.warnHtmlMessage=m)},get escapeParameter(){return r.value?r.value.escapeParameter:w},set escapeParameter(m){r.value&&(r.value.escapeParameter=m)},t:q,getPostTranslationHandler:z,setPostTranslationHandler:ue,getMissingHandler:ie,setMissingHandler:B,rt:Q,d:de,n:tt,tm:Se,te:Me,getLocaleMessage:qe,setLocaleMessage:ot,mergeLocaleMessage:dt,getDateTimeFormat:He,setDateTimeFormat:Oe,mergeDateTimeFormat:it,getNumberFormat:le,setNumberFormat:ae,mergeNumberFormat:Re};function $(m){m.locale.value=i.value,m.fallbackLocale.value=l.value,Object.keys(c.value).forEach(M=>{m.mergeLocaleMessage(M,c.value[M])}),Object.keys(u.value).forEach(M=>{m.mergeDateTimeFormat(M,u.value[M])}),Object.keys(h.value).forEach(M=>{m.mergeNumberFormat(M,h.value[M])}),m.escapeParameter=w,m.fallbackFormat=y,m.fallbackRoot=E,m.fallbackWarn=k,m.missingWarn=_,m.warnHtmlMessage=b}return wa(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw We(De.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const m=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=m.locale.value,l.value=m.fallbackLocale.value,c.value=m.messages.value,u.value=m.datetimeFormats.value,h.value=m.numberFormats.value):s&&$(m)}),f}const Ph=["locale","fallbackLocale","availableLocales"],Cl=["t","rt","d","n","tm","te"];function Oh(e,t){const o=Object.create(null);return Ph.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw We(De.UNEXPECTED_ERROR);const a=Ue(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,s,a)}),e.config.globalProperties.$i18n=o,Cl.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw We(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,Cl.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(uh(),Bf(rh),Kf(Ef),Yf(Yi),__INTLIFY_PROD_DEVTOOLS__){const e=Qo();e.__INTLIFY__=!0,If(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Fh=Object.assign({"./locales/ar/buttons.json":Id,"./locales/ar/grid.json":Nd,"./locales/ar/mapui.json":Rd,"./locales/ar/share.json":Dd,"./locales/de/buttons.json":zd,"./locales/de/grid.json":Ud,"./locales/de/mapui.json":jd,"./locales/de/share.json":Wd,"./locales/en/buttons.json":Hd,"./locales/en/grid.json":Vd,"./locales/en/mapui.json":Gd,"./locales/en/share.json":Bd,"./locales/es/buttons.json":Kd,"./locales/es/grid.json":Yd,"./locales/es/mapui.json":qd,"./locales/es/share.json":Zd,"./locales/fr/buttons.json":Xd,"./locales/fr/grid.json":Jd,"./locales/fr/mapui.json":Qd,"./locales/fr/share.json":ep,"./locales/hi/buttons.json":tp,"./locales/hi/grid.json":op,"./locales/hi/mapui.json":np,"./locales/hi/share.json":rp,"./locales/it/buttons.json":sp,"./locales/it/grid.json":ap,"./locales/it/mapui.json":ip,"./locales/it/share.json":lp,"./locales/pt/buttons.json":cp,"./locales/pt/grid.json":up,"./locales/pt/mapui.json":dp,"./locales/pt/share.json":pp,"./locales/ro/buttons.json":fp,"./locales/ro/grid.json":hp,"./locales/ro/mapui.json":mp,"./locales/ro/share.json":gp,"./locales/ru/buttons.json":_p,"./locales/ru/grid.json":bp,"./locales/ru/mapui.json":$p,"./locales/ru/share.json":wp,"./locales/zh/buttons.json":yp,"./locales/zh/grid.json":vp,"./locales/zh/mapui.json":kp,"./locales/zh/share.json":Lp}),at={};for(const[e,t]of Object.entries(Fh)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;at[n]??(at[n]={}),at[n][s]=t}const Il=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),Nl=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},ms=new Map;let Rl=null;function Dl(e,t){var s,r;const o=String(t||"").split("-")[0].toLowerCase();if(!o||o==="en"||!Zn.includes(o))return Promise.resolve(o==="en");if(at[o])return(r=(s=e==null?void 0:e.global)==null?void 0:s.setLocaleMessage)==null||r.call(s,o,at[o]),Promise.resolve(!0);if(ms.has(o))return ms.get(o).then(a=>{var i,l;return a&&at[o]&&((l=(i=e==null?void 0:e.global)==null?void 0:i.setLocaleMessage)==null||l.call(i,o,at[o])),a});if(!Nl[o])return Promise.resolve(!!at[o]);const n=(async()=>{var a,i;try{if(!Il)return!1;const l=new URL(`locales/${o}.json`,Il).href,c=await fetch(l,{integrity:Nl[o]});if(!c.ok)return!1;const u=await c.json();return!u||typeof u!="object"?!1:(at[o]=u,(i=(a=e==null?void 0:e.global)==null?void 0:a.setLocaleMessage)==null||i.call(a,o,u),!0)}catch{return!1}})();return ms.set(o,n),n}at.en;const Zn=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],Ch=new Set(["ar"]);function Ih(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function gs(){var n;const e=Ih();if(Zn.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Zn.includes(o)?o:"en"}try{Rl=Dl(null,gs())}catch{Rl=null}function Nh(){const e=gs();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&e&&(document!=null&&document.documentElement)&&(document.documentElement.lang=e,Ch.has(e)&&(document.documentElement.dir="rtl"))}catch{}const t=Is(!0),o=t.run(()=>vh({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:at,missingWarn:!1,fallbackWarn:!1,pluralRules:Uh}));e!=="en"&&!at[e]&&Dl(o,e).catch(()=>{}),t.run(()=>At(o.global.locale,s=>Rh(s),{immediate:!0}));const n=o.install.bind(o);return o.install=(s,...r)=>{const a=n(s,...r);s.provide("appI18n",o);const i=s.provide.bind(s);return s.provide=(l,c)=>l==="appI18n"&&c===o?s:i(l,c),a},o}const zl="__DOXA_PAGE_LOCALE";function Rh(e){const t=String(e||"").split("-")[0].toLowerCase();if(Zn.includes(t))try{typeof window<"u"&&(window[zl]=t)}catch{}}const Dh=["zero","one","two","few","many","other"];function zh(e,t,o){let n;try{n=new Intl.PluralRules(o)}catch{return e===1?0:1}const s=n.select(e),r=n.resolvedOptions().pluralCategories,a=Dh.filter(l=>r.includes(l));let i=a.indexOf(s);if(i<0&&(i=a.indexOf("other")),i>=t){const l=a.indexOf("other");i=l>=0&&l<t?l:t-1}return Math.max(0,Math.min(i,t-1))}const Uh=Object.fromEntries(["ar","de","es","fr","hi","it","pt","ro","ru","zh"].map(e=>[e,(t,o)=>zh(t,o,e)]));function jh(){try{return typeof window<"u"&&window[zl]||""}catch{return""}}function Xn(e,t){const o=s=>{let r=at[s];for(const a of String(e).split(".")){if(!r||typeof r!="object")return;r=r[a]}return typeof r=="string"?r:void 0},n=t||jh()||gs();return o(n)??o("en")}const xo={mapbox:{global:"mapboxgl",js:Jo.mapboxGlJs.url,css:Jo.mapboxGlCss.url},maplibre:{global:"maplibregl",js:Jo.maplibreGlJs.url,css:Jo.maplibreGlCss.url}},Wh={"Map.Title":"map","Marker.Title":"marker","Popup.Close":"closePopup","NavigationControl.ZoomIn":"zoomIn","NavigationControl.ZoomOut":"zoomOut","NavigationControl.ResetBearing":"resetBearing","AttributionControl.ToggleAttribution":"toggleAttribution","AttributionControl.MapFeedback":"mapFeedback","FullscreenControl.Enter":"enterFullscreen","FullscreenControl.Exit":"exitFullscreen","GeolocateControl.FindMyLocation":"findMyLocation","GeolocateControl.LocationNotAvailable":"locationNotAvailable","GlobeControl.Enable":"enableGlobe","GlobeControl.Disable":"disableGlobe","CooperativeGesturesHandler.WindowsHelpText":"ctrlScroll","CooperativeGesturesHandler.MacHelpText":"cmdScroll","CooperativeGesturesHandler.MobileHelpText":"twoFingers","ScrollZoomBlocker.CtrlMessage":"ctrlScroll","ScrollZoomBlocker.CmdMessage":"cmdScroll","TouchPanBlocker.Message":"twoFingers"};function Ul(e,t){const o={};for(const[s,r]of Object.entries(Wh)){const a=Xn(`mapui.${r}`,e);a&&(o[s]=a)}const n=Xn(t==="maplibre"?"mapui.maplibreLogo":"mapui.mapboxHomepage",e);return n&&(o["LogoControl.Title"]=n),o}function jl(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 Hh=xo.mapbox.css,Vh="https://tiles.openfreemap.org/styles/liberty",Gh="https://tiles.openfreemap.org/styles/fiord";function _s(e){var o;const t=((o=xo[e])==null?void 0:o.global)||xo.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Wl(e){const t=xo[e]||xo.mapbox;if(_s(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,Yr(n,t.css),document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(_s(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,s)=>{const r=document.createElement("script");r.src=t.js,Yr(r,t.js),r.async=!1,r.addEventListener("load",n,{once:!0}),r.addEventListener("error",()=>s(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(r)})}async function Bh(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=a=>new Promise(i=>setTimeout(i,a)),s=o.querySelector(`link[href="${t}"]`);if(s){if(s.sheet)return;await Promise.race([new Promise(a=>{s.addEventListener("load",a,{once:!0}),s.addEventListener("error",a,{once:!0})}),n(2e3)]);return}const r=document.createElement("link");r.rel="stylesheet",r.href=t,Yr(r,t),await Promise.race([new Promise(a=>{r.addEventListener("load",a,{once:!0}),r.addEventListener("error",a,{once:!0}),o.prepend(r)}),n(2e3)])}function Kh(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?Gh:Vh}const Yh=85.0511,bs=-2,qh=0,Zh=-60;function Hl(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Xh(e,t,o,n){if(!e||e<=0||!t||t<=0)return qh;const s=Math.log2(e/512),r=Hl(n)-Hl(Yh),a=Math.log2(t/(512*r)),i=Math.max(s,a);return Math.max(bs,Math.min(i,(o??18)-1))}function Jh({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:s=void 0,center:r=[20,10],zoom:a=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:h=18,pitch:_=0,bearing:k=0,renderWorldCopies:E=!0,showEdgeBorders:y=!0,southCutoff:O=Zh,maxBounds:F=void 0}){const b=wr(null),w=_e(!1);let g=null,A=null,T=null,x=null;try{x=bt("profileConfig",null)}catch{}const U=!s&&!wi(x);s=s||Md(x,{token:t});let I=s==="maplibre";typeof document<"u"&&Wl(s).catch(()=>{});let J=null;try{J=bt("lang",null)}catch{}const ee=()=>{const ie=J&&typeof J=="object"&&"value"in J?J.value:J;if(typeof ie=="string"&&ie)return ie;const B=x&&typeof x=="object"&&"value"in x?x.value:x;if(B&&(B.locale||B.lang))return String(B.locale||B.lang);try{const W=new URLSearchParams(location.search);return W.get("lang")||W.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function z(){var it;if(U&&!I&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(s="maplibre",I=!0)}const ie=bi(o,s),B=ie.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const W=()=>!e.value;if(await Wl(s),W())return;const q=_s(s);if(!q){console.error(`[useMapInstance] ${I?"maplibregl":"mapboxgl"} is not available. Add the ${I?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(Pd(q),!I){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,W()))return;if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){typeof window<"u"&&!window.__doxaNoTokenWarned&&(window.__doxaNoTokenWarned=!0,console.warn('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.'));return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await Bh(e.value,I?xo.maplibre.css:Hh),W()||(await new Promise(le=>requestAnimationFrame(le)),W()))return;const Q=e.value,de=Q.clientWidth,tt=Q.clientHeight;if(de===0||tt===0){console.error(`[useMapInstance] Container has ZERO dimensions (${de}×${tt}). Map will be invisible. Check that parent elements have CSS sizing.`);let le=Q.parentElement,ae=0;for(;le&&ae<5;)le=le.parentElement,ae++}const Se=t;I||(q.accessToken=Se);const Me=()=>typeof window<"u"&&window.innerWidth>=1024,qe=(le,ae)=>{if(u)return typeof c=="number"?c:bs;if(!Me())return bs;const Re=Xh(le,ae,h,O);return typeof c=="number"?Math.max(c,Re):Re},ot=qe(Q.clientWidth,Q.clientHeight),dt=ie.lightPreset||(()=>{var le;try{const ae=typeof n=="function"?n():n;return(le=ae==null?void 0:ae.basemap)==null?void 0:le.lightPreset}catch{return}})();if(I){b.value=new q.Map({container:e.value,style:Kh(B,dt),locale:Ul(ee(),"maplibre"),center:r,zoom:a,minZoom:ot,maxZoom:h,pitch:_,bearing:k,dragRotate:!1,renderWorldCopies:E,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),jl(b.value);try{e.value.__doxaMap=b.value}catch{}}else{const le=typeof n=="function"?n():n;b.value=new q.Map({accessToken:Se,container:e.value,style:B,locale:Ul(ee(),"mapbox"),...le?{config:le}:{},center:r,zoom:a,minZoom:ot,maxZoom:h,pitch:_,bearing:k,dragRotate:!1,touchPitch:!1,renderWorldCopies:E,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),jl(b.value);try{e.value.__doxaMap=b.value}catch{}}try{let le=!1;b.value.on("error",ae=>{var $,m;const Re=(($=ae==null?void 0:ae.error)==null?void 0:$.status)??(ae==null?void 0:ae.status),f=String(((m=ae==null?void 0:ae.error)==null?void 0:m.url)||(ae==null?void 0:ae.sourceId)||"");Re!==401&&Re!==403||le||(le=!0,console.error(`[doxa-maps] Mapbox returned ${Re} 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.`+(f?` First failing request: ${f.slice(0,120)}`:"")))})}catch{}try{b.value.touchZoomRotate.disableRotation()}catch{}T=Sd(((it=e.value)==null?void 0:it.parentElement)||null,{enabled:y});let He=ot,Oe=null;g=()=>{const le=b.value;if(!le)return;const ae=qe(Q.clientWidth,Q.clientHeight);ae!==He&&(He=ae,le.setMinZoom(ae)),le.getZoom()<ae?(Oe&&clearTimeout(Oe),Oe=setTimeout(()=>{Oe=null;const Re=b.value;if(!Re)return;const f=qe(Q.clientWidth,Q.clientHeight);if(Re.getZoom()<f)try{Re.jumpTo({zoom:f})}catch{Re.setZoom(f)}},150)):Oe&&(clearTimeout(Oe),Oe=null)},A=()=>{Oe&&(clearTimeout(Oe),Oe=null)},b.value.on("resize",g),typeof window<"u"&&(window.addEventListener("resize",g),window.addEventListener("orientationchange",g)),b.value.on("style.load",()=>{if(b.value&&zn(b.value,ee()),ie.paint&&b.value){const le=Ad(b.value,ie.paint);console.info("[useMapInstance] style paint applied ("+s+"):",le.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var le;(le=b.value)==null||le.resize(),b.value&&b.value.setMinZoom(qe(Q.clientWidth,Q.clientHeight)),w.value=!0})})}function ue(){if(b.value){if(g&&(b.value.off("resize",g),typeof window<"u"&&(window.removeEventListener("resize",g),window.removeEventListener("orientationchange",g)),g=null),A){try{A()}catch{}A=null}T&&(T(),T=null);try{const B=typeof window<"u"?window:null;B&&B.__doxaLogoOwner===b.value&&(B.__doxaLogoOwner=null)}catch{}const ie=b.value;b.value.remove();try{e&&e.value&&e.value.__doxaMap===ie&&(e.value.__doxaMap=null)}catch{}b.value=null,w.value=!1}}if(J&&typeof J=="object"&&"value"in J)try{At(J,()=>{b.value&&w.value&&zn(b.value,ee())})}catch{}return{map:b,isMapReady:w,initializeMap:z,destroy:ue}}function Jn(e,t){const o=Xt(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:em(e));lo(()=>{var l;if(!o)return;const s=(l=o.proxy)==null?void 0:l.$el;if(!s)return;const r=s.getRootNode();if(!(r instanceof ShadowRoot))return;if(!r.querySelector('style[data-shadow-styles="reduced-motion"]')){const c=document.createElement("style");c.setAttribute("data-shadow-styles","reduced-motion"),c.textContent=Qh,r.appendChild(c)}const a=r.querySelector(`style[data-shadow-styles="${n}"]`);if(a){a.textContent!==e&&(a.textContent=e);return}const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,r.appendChild(i)})}const Qh=`@media (prefers-reduced-motion: reduce) {
|
||
*, *::before, *::after {
|
||
animation-duration: 0.01ms !important;
|
||
animation-iteration-count: 1 !important;
|
||
transition-duration: 0.01ms !important;
|
||
scroll-behavior: auto !important;
|
||
}
|
||
}`;function em(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)}function tm(e,{autoprint:t=!1}={}){const o=document.createElement("iframe");o.setAttribute("aria-hidden","true"),o.style.cssText="position:fixed;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0",document.body.appendChild(o);const n=o.contentDocument;if(!n)return o.remove(),null;n.open(),n.write(e),t&&n.write('<script>window.addEventListener("load",function(){setTimeout(function(){window.focus();window.print()},150)})<\/script>'),n.close();let s=null;const r=()=>{clearTimeout(s),o.parentNode&&o.remove()};s=setTimeout(r,om);try{const a=o.contentWindow;a.addEventListener("afterprint",()=>setTimeout(r,0)),a.addEventListener("load",()=>setTimeout(r,Vl),{once:!0})}catch{setTimeout(r,Vl)}return o.contentWindow}const Vl=6e4,om=6e5,nm=er&&er.tagName.toUpperCase()==="SCRIPT"&&er.src||new URL("prayer-walk-planner.js",document.baseURI).href,$s=e=>String(e||"").trim().replace(/\/+$/,"");function rm(){try{const t=String(nm||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function sm(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return $s(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return $s(o)}return $s(rm()||"")}function am({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,s=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.trim();const a=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(a){if(/^https?:\/\//i.test(a))return a;if(a.startsWith("/"))return s?window.location.origin+a:a;const i=sm(n),l=a.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return s?window.location.origin+window.location.pathname:""}const im=["title","aria-label","disabled"],ws={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["click"],setup(e){return Jn(`
|
||
.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;}}
|
||
.mcb--square{ border-radius:4px; }
|
||
.mcb--rounded-square{ border-radius:var(--vtl-radius,8px); }
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.mcb-btn { transition: none !important; animation: none !important; }
|
||
}
|
||
`,"map-control-button"),(t,o)=>($e(),Pe("button",{class:Ve(["mcb",{dark:e.isDark,active:e.active,"mcb--square":e.shape==="square","mcb--rounded-square":e.shape==="rounded-square"}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[ya(t.$slots,"default")],10,im))}},lm=["aria-label"],cm={class:"mcm-header"},um={class:"mcm-title"},dm=["aria-label"],pm={class:"mcm-body"},fm=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",ys="doxa-map-menu-open",hm={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const o=(E,y)=>Xn(E)||y;Jn(`
|
||
.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;}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.mcm-menu, .mcm-item { transition: none !important; animation: none !important; }
|
||
}
|
||
`,"map-control-menu");const n=e,s=t,r=bt("mapToolbar",null),a=_e(null),i=_e(null),l=_e({});function c(){var J;const E=(J=r==null?void 0:r.el)==null?void 0:J.value,y=a.value;if(!E||!y){l.value={};return}const O=y.getBoundingClientRect(),F=E.getBoundingClientRect(),b=(F.left+F.right)/2>(O.left+O.right)/2,w=8,g=12,A=b?O.right-F.left+w:F.right-O.left+w,T=Math.max(200,Math.min(n.width,O.width-A-g)),x=Math.max(0,F.top-O.top);let I=y.getAttribute&&y.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-F.top-g):Math.max(120,O.height-x-g);n.matchToolbar&&(I=Math.max(120,Math.min(I,F.height))),n.maxHeight&&(I=Math.min(I,n.maxHeight)),l.value={top:`${Math.round(x)}px`,[b?"right":"left"]:`${Math.round(A)}px`,width:`${Math.round(T)}px`,maxHeight:`${Math.round(I)}px`,...n.height?{height:`${Math.round(Math.min(n.height,I))}px`}:{}}}function u(E){n.open&&E.detail!==i.value&&s("close")}At(()=>n.open,async E=>{var y;if(E){await $o(),c();try{(y=a.value)==null||y.dispatchEvent(new CustomEvent(ys,{detail:i.value}))}catch{}}});function h(){n.open&&c()}function _(E){E.key==="Escape"&&n.open&&s("close")}function k(E){var O;if(!n.open)return;const y=E.composedPath?E.composedPath():[E.target];i.value&&y.includes(i.value)||(O=r==null?void 0:r.el)!=null&&O.value&&y.includes(r.el.value)||y.some(F=>{var b,w,g,A;return((w=(b=F==null?void 0:F.classList)==null?void 0:b.contains)==null?void 0:w.call(b,"mapboxgl-canvas"))||((A=(g=F==null?void 0:F.classList)==null?void 0:g.contains)==null?void 0:A.call(g,"maplibregl-canvas"))})&&s("close")}return lo(()=>{var y,O;const E=((y=r==null?void 0:r.el)==null?void 0:y.value)||null;a.value=(E==null?void 0:E.closest(fm))||(E==null?void 0:E.offsetParent)||(E==null?void 0:E.parentElement)||null,(O=a.value)==null||O.addEventListener(ys,u),window.addEventListener("resize",h),document.addEventListener("click",k,!0),document.addEventListener("keydown",_)}),Pn(()=>{var E;(E=a.value)==null||E.removeEventListener(ys,u),window.removeEventListener("resize",h),document.removeEventListener("click",k,!0),document.removeEventListener("keydown",_)}),(E,y)=>($e(),vo(Vc,{to:a.value,disabled:!a.value},[e.open?($e(),Pe("div",{key:0,ref_key:"el",ref:i,class:Ve(["mcm",{light:!e.isDark}]),style:fn(l.value),role:"dialog","aria-label":e.title},[X("div",cm,[X("span",um,Te(e.title),1),X("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:y[0]||(y[0]=O=>s("close"))},[...y[1]||(y[1]=[X("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[X("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),X("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])],8,dm)]),X("div",pm,[ya(E.$slots,"default")])],14,lm)):Zt("",!0)],8,["to","disabled"]))}},mm={class:"share-steps"},gm={class:"share-tabs"},_m={key:0,class:"share-body"},bm={class:"share-url-box"},$m={class:"share-url-text"},wm={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},ym={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"},vm={key:1,class:"share-body"},km={class:"share-embed-desc"},Lm={class:"share-size-pills"},Sm=["onClick"],Em={class:"share-code-box"},Am={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Tm={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"},xm={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""},shape:{type:String,default:"round"}},setup(e){const t=(ee,z)=>Xn(ee)||z;Jn(`
|
||
.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;}
|
||
.share-wrap--rounded-square,.share-wrap--rounded-square::before{border-radius:var(--vtl-radius,8px);}
|
||
@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-inline-start: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-inline-end: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-inline-end: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:o,tm:n,rt:s}=To(),r=e,a=_e(null),i=_e(!1),l=_e(null),c=_e(null),u=_e("link"),h=_e(!1),_=_e(!1),k=_e("medium"),E={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},y=bt("profileConfig",null),O=je(()=>am({embedPath:r.embedPath,profileConfig:Rt(y)||null})),F=je(()=>{const ee=E[k.value].height;return'<iframe src="'+O.value+'" width="100%" height="'+ee+'" style="border:none; border-radius:12px;" allowfullscreen></iframe>'});function b(){i.value=!i.value,i.value&&(u.value="link",h.value=!1,_.value=!1)}function w(){i.value=!1}async function g(ee){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(ee),!0}catch{}try{const z=document.createElement("textarea");z.value=ee,z.setAttribute("readonly",""),z.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(z),z.select();const ue=document.execCommand("copy");return document.body.removeChild(z),ue}catch{return!1}}async function A(){await g(O.value)&&(h.value=!0,setTimeout(()=>{h.value=!1},2e3))}async function T(){await g(F.value)&&(_.value=!0,setTimeout(()=>{_.value=!1},2e3))}const x=bt("mapToolbar",null),U=_e(null);ca("mapToolbar",x||{el:U});const I=!x;function J(ee){if(a.value=ee||null,!I||!ee){ee||(U.value=null);return}const z=ee.offsetParent||ee.parentElement;z&&!z.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&z.setAttribute("data-map-area","share-fallback"),U.value=ee}return(ee,z)=>($e(),Pe("div",{ref:J,class:Ve(["share-wrap",{"share-wrap--rounded-square":e.shape==="rounded-square"}]),"data-share-root":""},[Ie(ws,{ref_key:"btnEl",ref:c,"data-control":"share","is-dark":e.isDark,active:i.value,shape:e.shape,title:Rt(o)("buttons.share"),onClick:b},{default:zo(()=>[...z[2]||(z[2]=[X("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"},[X("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),X("polyline",{points:"16 6 12 2 8 6"}),X("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","shape","title"]),Ie(hm,{open:i.value,title:Rt(o)("buttons.share"),"is-dark":e.isDark,onClose:w},{default:zo(()=>[X("div",{ref_key:"popoverEl",ref:l,class:Ve(["share-pop",{light:!e.isDark}])},[X("ul",mm,[($e(!0),Pe(Be,null,xr(Rt(n)("buttons.shareSteps"),(ue,ie)=>($e(),Pe("li",{key:ie},Te(Rt(s)(ue)),1))),128))]),X("div",gm,[X("button",{class:Ve(["share-tab",{active:u.value==="link"}]),onClick:z[0]||(z[0]=ue=>u.value="link")},Te(t("share.embed_link","Embed link")),3),X("button",{class:Ve(["share-tab",{active:u.value==="embed"}]),onClick:z[1]||(z[1]=ue=>u.value="embed")},Te(t("share.add_to_website","Add to Your Website")),3)]),u.value==="link"?($e(),Pe("div",_m,[X("div",bm,[X("div",$m,Te(O.value),1)]),X("button",{class:Ve(["share-primary-btn",{copied:h.value}]),onClick:A},[h.value?($e(),Pe("svg",ym,[...z[4]||(z[4]=[X("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):($e(),Pe("svg",wm,[...z[3]||(z[3]=[X("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),X("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),jr(" "+Te(h.value?"Copied!":"Copy Link"),1)],2)])):Zt("",!0),u.value==="embed"?($e(),Pe("div",vm,[X("div",km,Te(t("share.embed_paste_hint","Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets).")),1),X("div",Lm,[($e(),Pe(Be,null,xr(E,(ue,ie)=>X("button",{key:ie,class:Ve(["share-size-pill",{active:k.value===ie}]),onClick:B=>k.value=ie},Te(ue.label),11,Sm)),64))]),X("div",Em,Te(F.value),1),X("button",{class:Ve(["share-secondary-btn",{copied:_.value}]),onClick:T},[_.value?($e(),Pe("svg",Tm,[...z[6]||(z[6]=[X("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):($e(),Pe("svg",Am,[...z[5]||(z[5]=[X("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),X("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),jr(" "+Te(_.value?"Copied!":"Copy Code"),1)],2)])):Zt("",!0)],2)]),_:1},8,["open","title","is-dark"])],2))}},Mm={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Pm={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Om={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=To(),n=e,s=t,r=_e(!1);let a=null,i=null,l=null,c=null,u=null,h=null,_=null,k=null,E=null,y=null,O=null,F=0,b=0,w=null,g=null;function A(){if(typeof document>"u")return!1;const B=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(B)||B.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function T(){var B,W,q;return((q=(W=(B=n.mapContainer)==null?void 0:B.getRootNode)==null?void 0:W.call(B))==null?void 0:q.host)??null}function x(){var W,q;const B=(q=(W=n.mapContainer)==null?void 0:W.getRootNode)==null?void 0:q.call(W);return document.fullscreenElement||document.webkitFullscreenElement||(B&&B instanceof ShadowRoot?B.fullscreenElement:null)||null}function U(B){const W=B.requestFullscreen||B.webkitRequestFullscreen;if(!W)return Promise.reject(new Error("Fullscreen API unavailable"));const q=W.call(B);return q&&typeof q.then=="function"?q:Promise.resolve()}function I(){const B=document.exitFullscreen||document.webkitExitFullscreen;if(!B)return Promise.reject(new Error("Fullscreen API unavailable"));const W=B.call(document);return W&&typeof W.then=="function"?W:Promise.resolve()}function J(){const B=T();if(!B)return!1;if(l=B,i=B.style.cssText,B.style.position="fixed",B.style.top="0",B.style.left="0",B.style.right="0",B.style.bottom="0",B.style.width="100vw",B.style.height="100vh",B.style.height="100dvh",B.style.zIndex="2147483647",B.style.margin="0",B.style.borderRadius="0",B.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){F=window.scrollY||window.pageYOffset||0,b=window.scrollX||window.pageXOffset||0;const W=document.body,q=document.documentElement;c=W?W.style.overflow:null,u=q?q.style.overflow:null,h=W?W.style.position:null,_=W?W.style.top:null,k=W?W.style.left:null,E=W?W.style.width:null,y=W?W.style.touchAction:null,O=q?q.style.touchAction:null,q&&(q.style.overflow="hidden",q.style.touchAction="none"),W&&(W.style.overflow="hidden",W.style.position="fixed",W.style.top=`-${F}px`,W.style.left=`-${b}px`,W.style.width="100%",W.style.touchAction="none"),w=Q=>{if(!l)return;const de=Q.target;de&&(de===l||l.contains&&l.contains(de))||Q.cancelable&&Q.preventDefault()},g=Q=>{if(!l)return;const de=Q.target;de&&(de===l||l.contains&&l.contains(de))||Q.cancelable&&Q.preventDefault()},document.addEventListener("touchmove",w,{passive:!1,capture:!0}),document.addEventListener("wheel",g,{passive:!1,capture:!0})}return!0}function ee(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const B=document.body,W=document.documentElement;B&&(B.style.overflow=c??"",B.style.position=h??"",B.style.top=_??"",B.style.left=k??"",B.style.width=E??"",B.style.touchAction=y??""),W&&(W.style.overflow=u??"",W.style.touchAction=O??""),w&&(document.removeEventListener("touchmove",w,{capture:!0}),w=null),g&&(document.removeEventListener("wheel",g,{capture:!0}),g=null),typeof window<"u"&&(F||b)&&window.scrollTo(b,F)}c=null,u=null,h=null,_=null,k=null,E=null,y=null,O=null,F=0,b=0}}function z(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function ue(){if(!A()){r.value?(ee(),r.value=!1,s("change",!1)):J()&&(r.value=!0,s("change",!0)),z();return}if(x())I().then(()=>{r.value=!1,s("change",!1)}).catch(()=>{});else{const W=T()??document.documentElement;U(W).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{U(document.documentElement).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{})})}}function ie(){r.value=!!x(),s("change",r.value)}return lo(()=>{var W,q;document.addEventListener("fullscreenchange",ie),document.addEventListener("webkitfullscreenchange",ie);const B=(q=(W=n.mapContainer)==null?void 0:W.getRootNode)==null?void 0:q.call(W);B instanceof ShadowRoot&&(a=B,B.addEventListener("fullscreenchange",ie),B.addEventListener("webkitfullscreenchange",ie))}),Pn(()=>{document.removeEventListener("fullscreenchange",ie),document.removeEventListener("webkitfullscreenchange",ie),a&&(a.removeEventListener("fullscreenchange",ie),a.removeEventListener("webkitfullscreenchange",ie),a=null),l&&ee()}),(B,W)=>($e(),vo(ws,{"data-control":"fullscreen","is-dark":e.isDark,active:r.value,title:Rt(o)("buttons.toggleFullscreen"),onClick:ue},{default:zo(()=>[r.value?($e(),Pe("svg",Pm,[...W[1]||(W[1]=[X("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)])])):($e(),Pe("svg",Mm,[...W[0]||(W[0]=[X("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"]))}};function Fm(e){for(let t=e;t;t=t.parentNode||t.host)if(t.nodeType===1&&t.hasAttribute("data-doxa-help"))return!0;return!1}function Cm(e){e&&e.dispatchEvent&&e.dispatchEvent(new CustomEvent("doxa:help",{bubbles:!0,composed:!0}))}function Im(){const e=Xt(),t=_e(!1);return lo(()=>{t.value=Fm(e&&e.proxy&&e.proxy.$el)}),{hosted:t,askForHelp:o=>Cm(o||e&&e.proxy&&e.proxy.$el)}}const Nm={__name:"HelpButton",props:{isDark:{type:Boolean,default:!1},hosted:{type:Boolean,default:!1}},emits:["open-help"],setup(e,{emit:t}){const{t:o}=To(),n=e,s=t,{hosted:r,askForHelp:a}=Im(),i=je(()=>!n.hosted||r.value);function l(){s("open-help"),a()}return(c,u)=>i.value?($e(),vo(ws,{key:0,"data-control":"help","is-dark":e.isDark,title:Rt(o)("buttons.aboutThisMap"),onClick:l},{default:zo(()=>[...u[0]||(u[0]=[X("span",{style:{"font-size":"15px","font-weight":"700","font-family":"serif","line-height":"1"}},"?",-1)])]),_:1},8,["is-dark","title"])):Zt("",!0)}},Qn={en:{draw:"Draw polygon",drawing:"Drawing… (click map)",finish:"Finish polygon ({n} pts)",deleteSelected:"Delete selected",deleteSelectedAria:"Delete selected polygons",more:"More",zones:"Zones ({n})",closeZones:"Close the zone list",selectAll:"Select all",clearSelection:"Clear selection",countSelected:"{n} / {total} selected",printSelected:"Print selected",printAria:"Print selected prayer-walking zones",emptyList:"No zones yet — draw a polygon on the map to start a prayer-walking plan.",delete:"Delete",deleteAria:"Delete {title}",zone:"Zone {n}",clickToPlace:"Click to place points. Double-click (or Finish) to close the polygon.",need3:"Need at least 3 points to make a polygon.",added:"Polygon added.",selectOne:"Select at least one polygon to print.",printUnavailable:"Print frame unavailable in this host.",preparing:"Preparing the print map…",shareScope:"This link shares the planner. Your drawn zones stay on this device.",mapFailed:"Map failed to load (no WebGL?) — drawing needs the map, but your saved zones and Print still work.",kicker:"Prayer walking map · centre {c}",charge:"Walk the streets of this zone and pray for the people who live, work and worship along them.",corners:"Zone corners",mapAlt:"Walking map of {title}",footer:"Prayer Walk Planner · generated {date} · Map © OpenFreeMap · Data © OpenStreetMap contributors",docTitleOne:"Prayer Walking Plan — 1 zone",docTitleMany:"Prayer Walking Plan — {n} zones"},es:{draw:"Dibujar polígono",drawing:"Dibujando… (haz clic en el mapa)",finish:"Terminar polígono ({n} puntos)",deleteSelected:"Eliminar selección",deleteSelectedAria:"Eliminar los polígonos seleccionados",more:"Más",zones:"Zonas ({n})",closeZones:"Cerrar la lista de zonas",selectAll:"Seleccionar todo",clearSelection:"Quitar selección",countSelected:"{n} / {total} seleccionadas",printSelected:"Imprimir selección",printAria:"Imprimir las zonas de caminata de oración seleccionadas",emptyList:"Aún no hay zonas: dibuja un polígono en el mapa para empezar un plan de caminata de oración.",delete:"Eliminar",deleteAria:"Eliminar {title}",zone:"Zona {n}",clickToPlace:"Haz clic para colocar puntos. Doble clic (o Terminar) para cerrar el polígono.",need3:"Se necesitan al menos 3 puntos para formar un polígono.",added:"Polígono añadido.",selectOne:"Selecciona al menos un polígono para imprimir.",printUnavailable:"La impresión no está disponible en esta página.",preparing:"Preparando el mapa para imprimir…",shareScope:"Este enlace comparte el planificador. Tus zonas dibujadas se quedan en este dispositivo.",mapFailed:"No se pudo cargar el mapa (¿sin WebGL?). Para dibujar hace falta el mapa, pero tus zonas guardadas y la impresión siguen funcionando.",kicker:"Mapa de caminata de oración · centro {c}",charge:"Recorre las calles de esta zona y ora por las personas que viven, trabajan y adoran en ellas.",corners:"Esquinas de la zona",mapAlt:"Mapa para caminar de {title}",footer:"Planificador de caminatas de oración · generado el {date} · Mapa © OpenFreeMap · Datos © colaboradores de OpenStreetMap",docTitleOne:"Plan de caminata de oración — 1 zona",docTitleMany:"Plan de caminata de oración — {n} zonas"},fr:{draw:"Dessiner un polygone",drawing:"Dessin en cours… (cliquez sur la carte)",finish:"Terminer le polygone ({n} points)",deleteSelected:"Supprimer la sélection",deleteSelectedAria:"Supprimer les polygones sélectionnés",more:"Plus",zones:"Zones ({n})",closeZones:"Fermer la liste des zones",selectAll:"Tout sélectionner",clearSelection:"Effacer la sélection",countSelected:"{n} / {total} sélectionnées",printSelected:"Imprimer la sélection",printAria:"Imprimer les zones de marche de prière sélectionnées",emptyList:"Aucune zone pour l’instant — dessinez un polygone sur la carte pour commencer un plan de marche de prière.",delete:"Supprimer",deleteAria:"Supprimer {title}",zone:"Zone {n}",clickToPlace:"Cliquez pour placer des points. Double-cliquez (ou Terminer) pour fermer le polygone.",need3:"Il faut au moins 3 points pour former un polygone.",added:"Polygone ajouté.",selectOne:"Sélectionnez au moins un polygone à imprimer.",printUnavailable:"L’impression n’est pas disponible sur cette page.",preparing:"Préparation de la carte à imprimer…",shareScope:"Ce lien partage le planificateur. Vos zones dessinées restent sur cet appareil.",mapFailed:"La carte n’a pas pu se charger (pas de WebGL ?). Le dessin nécessite la carte, mais vos zones enregistrées et l’impression fonctionnent toujours.",kicker:"Carte de marche de prière · centre {c}",charge:"Parcourez les rues de cette zone et priez pour les personnes qui y vivent, y travaillent et y adorent.",corners:"Coins de la zone",mapAlt:"Carte de marche de {title}",footer:"Planificateur de marches de prière · généré le {date} · Carte © OpenFreeMap · Données © contributeurs OpenStreetMap",docTitleOne:"Plan de marche de prière — 1 zone",docTitleMany:"Plan de marche de prière — {n} zones"},de:{draw:"Polygon zeichnen",drawing:"Zeichnen… (auf die Karte klicken)",finish:"Polygon abschließen ({n} Punkte)",deleteSelected:"Auswahl löschen",deleteSelectedAria:"Ausgewählte Polygone löschen",more:"Mehr",zones:"Zonen ({n})",closeZones:"Zonenliste schließen",selectAll:"Alle auswählen",clearSelection:"Auswahl aufheben",countSelected:"{n} / {total} ausgewählt",printSelected:"Auswahl drucken",printAria:"Ausgewählte Gebetsspaziergang-Zonen drucken",emptyList:"Noch keine Zonen — zeichnen Sie ein Polygon auf der Karte, um einen Gebetsspaziergang zu planen.",delete:"Löschen",deleteAria:"{title} löschen",zone:"Zone {n}",clickToPlace:"Klicken, um Punkte zu setzen. Doppelklick (oder Abschließen) schließt das Polygon.",need3:"Für ein Polygon sind mindestens 3 Punkte nötig.",added:"Polygon hinzugefügt.",selectOne:"Wählen Sie mindestens ein Polygon zum Drucken aus.",printUnavailable:"Drucken ist auf dieser Seite nicht verfügbar.",preparing:"Druckkarte wird vorbereitet…",shareScope:"Dieser Link teilt den Planer. Ihre gezeichneten Zonen bleiben auf diesem Gerät.",mapFailed:"Die Karte konnte nicht geladen werden (kein WebGL?). Zum Zeichnen wird die Karte benötigt, aber gespeicherte Zonen und Drucken funktionieren weiterhin.",kicker:"Karte für den Gebetsspaziergang · Mitte {c}",charge:"Gehen Sie durch die Straßen dieser Zone und beten Sie für die Menschen, die hier leben, arbeiten und Gott anbeten.",corners:"Eckpunkte der Zone",mapAlt:"Spaziergangskarte von {title}",footer:"Gebetsspaziergang-Planer · erstellt am {date} · Karte © OpenFreeMap · Daten © OpenStreetMap-Mitwirkende",docTitleOne:"Gebetsspaziergang-Plan — 1 Zone",docTitleMany:"Gebetsspaziergang-Plan — {n} Zonen"},pt:{draw:"Desenhar polígono",drawing:"Desenhando… (clique no mapa)",finish:"Concluir polígono ({n} pontos)",deleteSelected:"Excluir seleção",deleteSelectedAria:"Excluir os polígonos selecionados",more:"Mais",zones:"Zonas ({n})",closeZones:"Fechar a lista de zonas",selectAll:"Selecionar tudo",clearSelection:"Limpar seleção",countSelected:"{n} / {total} selecionadas",printSelected:"Imprimir seleção",printAria:"Imprimir as zonas de caminhada de oração selecionadas",emptyList:"Ainda não há zonas — desenhe um polígono no mapa para começar um plano de caminhada de oração.",delete:"Excluir",deleteAria:"Excluir {title}",zone:"Zona {n}",clickToPlace:"Clique para marcar pontos. Clique duas vezes (ou Concluir) para fechar o polígono.",need3:"São necessários pelo menos 3 pontos para formar um polígono.",added:"Polígono adicionado.",selectOne:"Selecione pelo menos um polígono para imprimir.",printUnavailable:"A impressão não está disponível nesta página.",preparing:"Preparando o mapa para impressão…",shareScope:"Este link compartilha o planejador. Suas zonas desenhadas ficam neste dispositivo.",mapFailed:"O mapa não carregou (sem WebGL?). Desenhar exige o mapa, mas suas zonas salvas e a impressão continuam funcionando.",kicker:"Mapa de caminhada de oração · centro {c}",charge:"Caminhe pelas ruas desta zona e ore pelas pessoas que vivem, trabalham e adoram nelas.",corners:"Cantos da zona",mapAlt:"Mapa de caminhada de {title}",footer:"Planejador de caminhadas de oração · gerado em {date} · Mapa © OpenFreeMap · Dados © colaboradores do OpenStreetMap",docTitleOne:"Plano de caminhada de oração — 1 zona",docTitleMany:"Plano de caminhada de oração — {n} zonas"},it:{draw:"Disegna poligono",drawing:"Disegno in corso… (clicca sulla mappa)",finish:"Completa poligono ({n} punti)",deleteSelected:"Elimina selezionati",deleteSelectedAria:"Elimina i poligoni selezionati",more:"Altro",zones:"Zone ({n})",closeZones:"Chiudi l’elenco delle zone",selectAll:"Seleziona tutto",clearSelection:"Deseleziona",countSelected:"{n} / {total} selezionate",printSelected:"Stampa selezionate",printAria:"Stampa le zone di passeggiata di preghiera selezionate",emptyList:"Ancora nessuna zona — disegna un poligono sulla mappa per iniziare un piano di passeggiata di preghiera.",delete:"Elimina",deleteAria:"Elimina {title}",zone:"Zona {n}",clickToPlace:"Clicca per posizionare i punti. Doppio clic (o Completa) per chiudere il poligono.",need3:"Servono almeno 3 punti per formare un poligono.",added:"Poligono aggiunto.",selectOne:"Seleziona almeno un poligono da stampare.",printUnavailable:"La stampa non è disponibile in questa pagina.",preparing:"Preparazione della mappa di stampa…",shareScope:"Questo link condivide il pianificatore. Le zone che hai disegnato restano su questo dispositivo.",mapFailed:"Impossibile caricare la mappa (niente WebGL?). Per disegnare serve la mappa, ma le zone salvate e la stampa funzionano ancora.",kicker:"Mappa della passeggiata di preghiera · centro {c}",charge:"Percorri le strade di questa zona e prega per le persone che vi abitano, vi lavorano e vi adorano.",corners:"Vertici della zona",mapAlt:"Mappa della passeggiata di {title}",footer:"Pianificatore di passeggiate di preghiera · generato il {date} · Mappa © OpenFreeMap · Dati © contributori OpenStreetMap",docTitleOne:"Piano di passeggiata di preghiera — 1 zona",docTitleMany:"Piano di passeggiata di preghiera — {n} zone"},ro:{draw:"Desenează poligon",drawing:"Se desenează… (dă clic pe hartă)",finish:"Finalizează poligonul ({n} puncte)",deleteSelected:"Șterge selecția",deleteSelectedAria:"Șterge poligoanele selectate",more:"Mai mult",zones:"Zone ({n})",closeZones:"Închideți lista zonelor",selectAll:"Selectează tot",clearSelection:"Anulează selecția",countSelected:"{n} / {total} selectate",printSelected:"Tipărește selecția",printAria:"Tipărește zonele de plimbare de rugăciune selectate",emptyList:"Încă nu există zone — desenează un poligon pe hartă pentru a începe un plan de plimbare de rugăciune.",delete:"Șterge",deleteAria:"Șterge {title}",zone:"Zona {n}",clickToPlace:"Dă clic pentru a plasa puncte. Dublu clic (sau Finalizează) pentru a închide poligonul.",need3:"Sunt necesare cel puțin 3 puncte pentru un poligon.",added:"Poligon adăugat.",selectOne:"Selectează cel puțin un poligon de tipărit.",printUnavailable:"Tipărirea nu este disponibilă pe această pagină.",preparing:"Se pregătește harta de tipărit…",shareScope:"Acest link partajează planificatorul. Zonele desenate rămân pe acest dispozitiv.",mapFailed:"Harta nu s-a încărcat (fără WebGL?). Desenarea are nevoie de hartă, dar zonele salvate și tipărirea funcționează în continuare.",kicker:"Hartă pentru plimbarea de rugăciune · centru {c}",charge:"Plimbă-te pe străzile acestei zone și roagă-te pentru oamenii care locuiesc, lucrează și se închină aici.",corners:"Colțurile zonei",mapAlt:"Harta de plimbare pentru {title}",footer:"Planificator de plimbări de rugăciune · generat pe {date} · Hartă © OpenFreeMap · Date © contribuitorii OpenStreetMap",docTitleOne:"Plan de plimbare de rugăciune — 1 zonă",docTitleMany:"Plan de plimbare de rugăciune — {n} zone"},ru:{draw:"Нарисовать область",drawing:"Рисование… (щёлкайте по карте)",finish:"Завершить область (точек: {n})",deleteSelected:"Удалить выбранные",deleteSelectedAria:"Удалить выбранные области",more:"Ещё",zones:"Зоны ({n})",closeZones:"Закрыть список зон",selectAll:"Выбрать все",clearSelection:"Снять выбор",countSelected:"Выбрано: {n} из {total}",printSelected:"Печать выбранных",printAria:"Печать выбранных зон молитвенной прогулки",emptyList:"Зон пока нет — нарисуйте область на карте, чтобы начать план молитвенной прогулки.",delete:"Удалить",deleteAria:"Удалить: {title}",zone:"Зона {n}",clickToPlace:"Щёлкайте, чтобы ставить точки. Двойной щелчок (или «Завершить») замыкает область.",need3:"Для области нужно не менее 3 точек.",added:"Область добавлена.",selectOne:"Выберите хотя бы одну область для печати.",printUnavailable:"Печать недоступна на этой странице.",preparing:"Подготовка карты для печати…",shareScope:"Эта ссылка открывает планировщик. Нарисованные зоны остаются на этом устройстве.",mapFailed:"Не удалось загрузить карту (нет WebGL?). Для рисования нужна карта, но сохранённые зоны и печать по-прежнему работают.",kicker:"Карта молитвенной прогулки · центр {c}",charge:"Пройдите по улицам этой зоны и помолитесь о людях, которые здесь живут, работают и поклоняются.",corners:"Углы зоны",mapAlt:"Карта прогулки: {title}",footer:"Планировщик молитвенных прогулок · создано {date} · Карта © OpenFreeMap · Данные © участники OpenStreetMap",docTitleOne:"План молитвенной прогулки — 1 зона",docTitleMany:"План молитвенной прогулки — зон: {n}"},ar:{draw:"ارسم مضلّعًا",drawing:"جارٍ الرسم… (انقر على الخريطة)",finish:"إنهاء المضلّع ({n} نقاط)",deleteSelected:"حذف المحدد",deleteSelectedAria:"حذف المضلّعات المحددة",more:"المزيد",zones:"المناطق ({n})",closeZones:"إغلاق قائمة المناطق",selectAll:"تحديد الكل",clearSelection:"إلغاء التحديد",countSelected:"{n} / {total} محدد",printSelected:"طباعة المحدد",printAria:"طباعة مناطق جولات الصلاة المحددة",emptyList:"لا توجد مناطق بعد — ارسم مضلّعًا على الخريطة لتبدأ خطة جولة صلاة.",delete:"حذف",deleteAria:"حذف {title}",zone:"المنطقة {n}",clickToPlace:"انقر لوضع النقاط. انقر نقرًا مزدوجًا (أو «إنهاء») لإغلاق المضلّع.",need3:"يلزم 3 نقاط على الأقل لتكوين مضلّع.",added:"أُضيف المضلّع.",selectOne:"حدّد مضلّعًا واحدًا على الأقل للطباعة.",printUnavailable:"الطباعة غير متاحة في هذه الصفحة.",preparing:"جارٍ تجهيز خريطة الطباعة…",shareScope:"يشارك هذا الرابط المخطِّط. تبقى المناطق التي رسمتها على هذا الجهاز.",mapFailed:"تعذّر تحميل الخريطة (لا يوجد WebGL؟). الرسم يحتاج إلى الخريطة، لكن مناطقك المحفوظة والطباعة ما زالت تعمل.",kicker:"خريطة جولة الصلاة · المركز {c}",charge:"امشِ في شوارع هذه المنطقة وصلِّ من أجل الناس الذين يسكنون ويعملون ويعبدون فيها.",corners:"زوايا المنطقة",mapAlt:"خريطة جولة {title}",footer:"مخطِّط جولات الصلاة · أُنشئت في {date} · الخريطة © OpenFreeMap · البيانات © مساهمو OpenStreetMap",docTitleOne:"خطة جولة الصلاة — منطقة واحدة",docTitleMany:"خطة جولة الصلاة — عدد المناطق: {n}"},hi:{draw:"बहुभुज बनाएँ",drawing:"बनाया जा रहा है… (मानचित्र पर क्लिक करें)",finish:"बहुभुज पूरा करें ({n} बिंदु)",deleteSelected:"चयनित हटाएँ",deleteSelectedAria:"चयनित बहुभुज हटाएँ",more:"और",zones:"क्षेत्र ({n})",closeZones:"क्षेत्रों की सूची बंद करें",selectAll:"सभी चुनें",clearSelection:"चयन हटाएँ",countSelected:"{n} / {total} चयनित",printSelected:"चयनित प्रिंट करें",printAria:"चयनित प्रार्थना पदयात्रा क्षेत्र प्रिंट करें",emptyList:"अभी कोई क्षेत्र नहीं — प्रार्थना पदयात्रा की योजना शुरू करने के लिए मानचित्र पर बहुभुज बनाएँ।",delete:"हटाएँ",deleteAria:"{title} हटाएँ",zone:"क्षेत्र {n}",clickToPlace:"बिंदु लगाने के लिए क्लिक करें। बहुभुज बंद करने के लिए डबल-क्लिक करें (या पूरा करें)।",need3:"बहुभुज बनाने के लिए कम से कम 3 बिंदु चाहिए।",added:"बहुभुज जोड़ा गया।",selectOne:"प्रिंट करने के लिए कम से कम एक बहुभुज चुनें।",printUnavailable:"इस पेज पर प्रिंट उपलब्ध नहीं है।",preparing:"प्रिंट मानचित्र तैयार हो रहा है…",shareScope:"यह लिंक योजनाकार साझा करता है। आपके बनाए क्षेत्र इसी डिवाइस पर रहते हैं।",mapFailed:"मानचित्र लोड नहीं हुआ (WebGL नहीं?)। बनाने के लिए मानचित्र चाहिए, पर आपके सहेजे क्षेत्र और प्रिंट अब भी काम करते हैं।",kicker:"प्रार्थना पदयात्रा मानचित्र · केंद्र {c}",charge:"इस क्षेत्र की गलियों में चलें और यहाँ रहने, काम करने और आराधना करने वाले लोगों के लिए प्रार्थना करें।",corners:"क्षेत्र के कोने",mapAlt:"{title} का पदयात्रा मानचित्र",footer:"प्रार्थना पदयात्रा योजनाकार · {date} को बनाया गया · मानचित्र © OpenFreeMap · डेटा © OpenStreetMap योगदानकर्ता",docTitleOne:"प्रार्थना पदयात्रा योजना — 1 क्षेत्र",docTitleMany:"प्रार्थना पदयात्रा योजना — {n} क्षेत्र"},zh:{draw:"绘制多边形",drawing:"正在绘制…(点击地图)",finish:"完成多边形({n} 个点)",deleteSelected:"删除所选",deleteSelectedAria:"删除所选多边形",more:"更多",zones:"区域({n})",closeZones:"关闭区域列表",selectAll:"全选",clearSelection:"清除选择",countSelected:"已选 {n} / {total}",printSelected:"打印所选",printAria:"打印所选的祷告行走区域",emptyList:"还没有区域——在地图上绘制一个多边形,开始制定祷告行走计划。",delete:"删除",deleteAria:"删除{title}",zone:"区域 {n}",clickToPlace:"点击放置顶点。双击(或点“完成”)闭合多边形。",need3:"多边形至少需要 3 个点。",added:"已添加多边形。",selectOne:"请至少选择一个要打印的多边形。",printUnavailable:"此页面无法打印。",preparing:"正在准备打印地图…",shareScope:"此链接分享的是规划工具。您绘制的区域保留在本设备上。",mapFailed:"地图加载失败(没有 WebGL?)。绘制需要地图,但已保存的区域和打印仍可使用。",kicker:"祷告行走地图 · 中心 {c}",charge:"走遍这个区域的街道,为在这里生活、工作和敬拜的人祷告。",corners:"区域顶点",mapAlt:"{title}的行走地图",footer:"祷告行走规划 · 生成于 {date} · 地图 © OpenFreeMap · 数据 © OpenStreetMap 贡献者",docTitleOne:"祷告行走计划 — 1 个区域",docTitleMany:"祷告行走计划 — {n} 个区域"}},Gl=Object.keys(Qn);function Rm(e,t,o){let s=(Qn[e]||Qn.en)[t]??Qn.en[t]??t;if(o)for(const r in o)s=s.split("{"+r+"}").join(String(o[r]));return s}const Dm=["dir","lang"],zm={class:"pwp-toolbar"},Um=["aria-expanded"],jm=["aria-pressed"],Wm=["disabled"],Hm=["aria-expanded"],Vm=["disabled","aria-label"],Gm=["disabled"],Bm=["disabled"],Km={class:"pwp-count"},Ym=["disabled","aria-busy","aria-label"],qm={key:0,class:"pwp-status"},Zm={class:"pwp-body"},Xm={class:"pwp-map"},Jm={class:"pwp-map-controls"},Qm={class:"pwp-list-head"},eg=["aria-label"],tg={key:0,class:"pwp-list-empty"},og=["onClick"],ng=["value","onKeydown","onBlur"],rg=["onDblclick","title"],sg=["onClick","aria-label"],ag="prayer-walk-planner/prayer-walk-planner/index.html",rn="pwp-draw",sn="pwp-polygons",Bl=1200,ig=1344,lg=2,cg=pd(Object.assign({inheritAttrs:!1},{__name:"prayer-walk-planner",props:{instanceId:{type:String,default:""},profileConfig:{type:[String,Object],default:""},language:{type:String,default:""}},setup(e,{expose:t}){const o=e,n=je(()=>{let S=o.profileConfig;if(typeof S=="string")try{S=S?JSON.parse(S):{}}catch{S={}}return S&&typeof S=="object"?S:{}});function s(){try{const S=new URLSearchParams(location.search),D=(S.get("lang")||S.get("locale")||"").split("-")[0].toLowerCase();if(Gl.includes(D))return D}catch{}try{return(document.documentElement.lang||"").split("-")[0].toLowerCase()}catch{return""}}const r=je(()=>{const S=String(o.language||n.value.locale||n.value.lang||s()||"en").split("-")[0].toLowerCase();return Gl.includes(S)?S:"en"}),a=je(()=>r.value==="ar"?"rtl":"ltr"),i=(S,D)=>Rm(r.value,S,D),l=_e(!1),c=_e(!1),u=_e(null),h=_e(null);function _(){c.value=!0,$o(()=>{var S,D;return(D=(S=h.value)==null?void 0:S.focus)==null?void 0:D.call(S)})}function k(){c.value=!1,$o(()=>{var S,D;return(D=(S=u.value)==null?void 0:S.focus)==null?void 0:D.call(S)})}function E(S){S.key==="Escape"&&c.value&&(S.preventDefault(),S.stopPropagation(),k())}const y=bt("appI18n",null);At(r,S=>{try{y&&y.global&&(typeof y.global.locale=="object"?y.global.locale.value=S:y.global.locale=S)}catch{}},{immediate:!0});const O=o.instanceId||"pwp-"+Math.random().toString(36).slice(2,10),F="prayer-walk-planner:v1:"+O,b=$n([]),w=_e(!1),g=_e([]),A=_e(""),T=_e(null);function x(){const S=i("shareScope");A.value=S,setTimeout(()=>{A.value===S&&(A.value="")},6e3)}const U=je(()=>b.filter(S=>S.selected).length);function I(){try{const S=window.localStorage.getItem(F);if(!S)return;const D=JSON.parse(S);Array.isArray(D)&&b.splice(0,b.length,...D.map(Y=>({...Y,selected:!1})))}catch(S){console.error("[prayer-walk-planner] failed to load localStorage:",S)}}function J(){try{const S=b.map(({selected:D,...Y})=>Y);window.localStorage.setItem(F,JSON.stringify(S))}catch(S){console.error("[prayer-walk-planner] failed to save localStorage:",S)}}const ee=_e(null),{map:z,isMapReady:ue,initializeMap:ie,destroy:B}=Jh({containerRef:ee,provider:"maplibre",style:"daylight",center:[0,20],zoom:2,showEdgeBorders:!1});function W(S){if(S.length<3)return S;const[D,Y]=S[0],[pe,Ee]=S[S.length-1];return D===pe&&Y===Ee?S:[...S,S[0]]}function q(){return{type:"FeatureCollection",features:b.map(S=>({type:"Feature",id:S.id,properties:{id:S.id,title:S.title,selected:!!S.selected},geometry:{type:"Polygon",coordinates:[W(S.coords)]}}))}}function Q(){const S=g.value;if(S.length===0)return{type:"FeatureCollection",features:[]};const D=[];return D.push({type:"Feature",geometry:{type:"MultiPoint",coordinates:S},properties:{}}),S.length>=2&&D.push({type:"Feature",geometry:{type:"LineString",coordinates:S},properties:{}}),S.length>=3&&D.push({type:"Feature",geometry:{type:"Polygon",coordinates:[W(S)]},properties:{preview:!0}}),{type:"FeatureCollection",features:D}}function de(){if(!z.value||!ue.value)return;const S=z.value.getSource(sn);S&&S.setData(q());const D=z.value.getSource(rn);D&&D.setData(Q())}function tt(){z.value&&(z.value.addSource(sn,{type:"geojson",data:q()}),z.value.addLayer({id:"pwp-polygons-fill",type:"fill",source:sn,paint:{"fill-color":["case",["get","selected"],"#92b195","#6d766e"],"fill-opacity":["case",["get","selected"],.35,.18]}}),z.value.addLayer({id:"pwp-polygons-line",type:"line",source:sn,paint:{"line-color":["case",["get","selected"],"#3b463d","#92b195"],"line-width":["case",["get","selected"],3,2]}}),z.value.addLayer({id:"pwp-polygons-label",type:"symbol",source:sn,layout:{...kd(z.value),"text-field":["get","title"],"text-size":12,"text-anchor":"center"},paint:{"text-color":"#3b463d","text-halo-color":"#ffffff","text-halo-width":1.5}}),z.value.addSource(rn,{type:"geojson",data:Q()}),z.value.addLayer({id:"pwp-draw-fill",type:"fill",source:rn,filter:["==","$type","Polygon"],paint:{"fill-color":"#92b195","fill-opacity":.25}}),z.value.addLayer({id:"pwp-draw-line",type:"line",source:rn,filter:["==","$type","LineString"],paint:{"line-color":"#3b463d","line-width":2,"line-dasharray":[2,1]}}),z.value.addLayer({id:"pwp-draw-points",type:"circle",source:rn,filter:["==","$type","Point"],paint:{"circle-radius":5,"circle-color":"#3b463d","circle-stroke-color":"#fff","circle-stroke-width":2}}),z.value.on("click","pwp-polygons-fill",S=>{var Y,pe,Ee;if(w.value)return;const D=(Ee=(pe=(Y=S.features)==null?void 0:Y[0])==null?void 0:pe.properties)==null?void 0:Ee.id;D!=null&&He(String(D))}),z.value.on("click",S=>{w.value&&(g.value=[...g.value,[S.lngLat.lng,S.lngLat.lat]],de())}),z.value.on("dblclick",()=>{w.value&&qe()}))}function Se(){w.value||(w.value=!0,g.value=[],A.value=i("clickToPlace"),z.value&&(z.value.getCanvas().style.cursor="crosshair"))}function Me(){w.value=!1,g.value=[],A.value="",z.value&&(z.value.getCanvas().style.cursor=""),de()}function qe(){if(g.value.length<3){A.value=i("need3");return}const S=W(g.value),D=i("zone",{n:b.length+1});ot(S,D),w.value=!1,g.value=[],z.value&&(z.value.getCanvas().style.cursor="");const Y=i("added");A.value=Y,setTimeout(()=>{A.value===Y&&(A.value="")},2e3)}function ot(S,D){if(!Array.isArray(S)||S.length<3)throw new Error("[prayer-walk-planner] addPolygon needs at least 3 [lng,lat] points");const Y="zone-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,7);return b.push({id:Y,title:D||i("zone",{n:b.length+1}),coords:W(S),createdAt:new Date().toISOString(),selected:!1}),J(),de(),Y}function dt(S){const D=b.findIndex(Y=>Y.id===S);return D===-1?!1:(b.splice(D,1),J(),de(),!0)}function He(S,D){const Y=b.find(pe=>pe.id===S);return Y?(Y.selected=D===void 0?!Y.selected:!!D,de(),!0):!1}function Oe(){b.forEach(S=>{S.selected=!1}),de()}function it(S){let D=0,Y=0;const pe=S.length;for(const[Ee,ze]of S)D+=Ee,Y+=ze;return[D/pe,Y/pe]}function le(S,D){const Y=D>=0?"N":"S",pe=S>=0?"E":"W";return Math.abs(D).toFixed(5)+"°"+Y+", "+Math.abs(S).toFixed(5)+"°"+pe}async function ae(S){const D=typeof window<"u"&&window.maplibregl;if(!D)return null;await Od(D);let Y=1/0,pe=1/0,Ee=-1/0,ze=-1/0;for(const[lt,me]of S.coords)lt<Y&&(Y=lt),lt>Ee&&(Ee=lt),me<pe&&(pe=me),me>ze&&(ze=me);const Ft=document.createElement("div");Ft.setAttribute("aria-hidden","true"),Ft.style.cssText=`position:fixed;left:-${Bl*3}px;top:0;width:${Bl}px;height:${ig}px;pointer-events:none;`,document.body.appendChild(Ft);let Fe=null;try{return Fe=new D.Map({container:Ft,style:bi("daylight","maplibre").style,bounds:[[Y,pe],[Ee,ze]],fitBoundsOptions:{padding:90,maxZoom:18},pixelRatio:lg,interactive:!1,attributionControl:!1,fadeDuration:0,canvasContextAttributes:{preserveDrawingBuffer:!0},preserveDrawingBuffer:!0}),await new Promise((lt,me)=>{Fe.once("load",lt),Fe.once("error",Gt=>me(Gt&&Gt.error||Gt)),setTimeout(()=>me(new Error("style load timeout")),3e4)}),zn(Fe,r.value),Fe.addSource("pwp-print-zone",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"Polygon",coordinates:[W(S.coords)]}}}),Fe.addLayer({id:"pwp-print-fill",type:"fill",source:"pwp-print-zone",paint:{"fill-color":"#92b195","fill-opacity":.12}}),Fe.addLayer({id:"pwp-print-casing",type:"line",source:"pwp-print-zone",paint:{"line-color":"#ffffff","line-width":9}}),Fe.addLayer({id:"pwp-print-line",type:"line",source:"pwp-print-zone",paint:{"line-color":"#1f5f3a","line-width":5}}),await new Promise(lt=>{const me=()=>{Fe.loaded()&&Fe.areTilesLoaded()?lt():Fe.once("idle",me)};Fe.once("idle",me),setTimeout(lt,25e3)}),await new Promise(lt=>{Fe.once("render",()=>{try{lt(Fe.getCanvas().toDataURL("image/png"))}catch{lt(null)}}),Fe.triggerRepaint()})}finally{try{Fe&&Fe.remove()}catch{}Ft.remove()}}async function Re(S){const D=S&&S.length?b.filter(me=>S.includes(me.id)):b.filter(me=>me.selected);if(D.length===0)return A.value=i("selectOne"),{opened:!1,count:0};const Y=me=>String(me??"").replace(/[<>&]/g,Gt=>({"<":"<",">":">","&":"&"})[Gt]);A.value=i("preparing");const pe={};for(const me of D){try{pe[me.id]=await ae(me)}catch(Gt){console.error("[prayer-walk-planner] print map failed for",me.title,Gt)}pe[me.id]||delete pe[me.id]}A.value===i("preparing")&&(A.value="");const Ee=Y(new Date().toLocaleDateString(r.value)),ze=me=>'<bdi dir="ltr">'+Y(me)+"</bdi>",Ft=D.map(me=>{const[Gt,ug]=it(me.coords),dg=me.coords.slice(0,-1).map(([pg,fg])=>ze(le(pg,fg))).join(" · "),Kl=pe[me.id];return'<section class="zone-page"><header class="band"><h1>'+Y(me.title)+'</h1><p class="kicker">'+Y(i("kicker",{c:"\0"})).replace("\0",ze(le(Gt,ug)))+"</p></header>"+(Kl?'<figure class="mapframe"><img class="snapshot" src="'+Kl+'" alt="'+Y(i("mapAlt",{title:me.title}))+'"></figure>':"")+'<p class="charge">'+Y(i("charge"))+'</p><p class="points"><b>'+Y(i("corners"))+":</b> "+dg+'</p><p class="footer">'+Y(i("footer",{date:"\0"})).replace("\0",Ee)+"</p></section>"}).join(""),Fe=D.length===1?i("docTitleOne"):i("docTitleMany",{n:D.length});return tm('<!DOCTYPE html><html lang="'+r.value+'" dir="'+a.value+'"><head><meta charset="utf-8"><title>'+Y(Fe)+'</title><style>@page{size:letter portrait;margin:12mm}html,body{margin:0;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#3b463d}.zone-page{page-break-after:always;break-inside:avoid;margin:0 auto}.zone-page:last-child{page-break-after:auto}.band{background:#3b463d;color:#fff;border-radius:6px;padding:8px 14px;margin:0 0 6px;-webkit-print-color-adjust:exact;print-color-adjust:exact}h1{font-size:20px;margin:0;letter-spacing:-0.01em}.kicker{margin:2px 0 0;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#d1d4cd}.mapframe{margin:0;border:1px solid #d1d4cd;border-radius:4px;overflow:hidden}.snapshot{display:block;width:100%;height:8.4in;object-fit:cover}.charge{font-size:12px;line-height:1.45;color:#3b463d;margin:6px 0 0}.points{font-size:9.5px;line-height:1.5;color:#6d766e;margin:4px 0 0}.footer{margin-top:4px;font-size:9px;color:#6d766e;border-top:1px solid #d1d4cd;padding-top:4px}</style></head><body>'+Ft+"</body></html>",{autoprint:!0})?{opened:!0,count:D.length}:(A.value=i("printUnavailable"),{opened:!1,count:0})}function f(S,D){return ot(S,D)}function $(S){return dt(S)}function m(S,D=!0){return He(S,D)}function M(){Oe()}function R(){return b.map(S=>({...S}))}function N(S){const D=b.find(Y=>Y.id===S);return D?{...D}:null}function V(S=null){return Re(S)}async function H(S){const D=b.find(Y=>Y.id===S);return D?ae(D):null}t({addPolygon:f,deletePolygon:$,selectPolygon:m,clearSelection:M,listPolygons:R,getPolygon:N,print:V,renderZoneMap:H,startDrawing:Se,stopDrawing:Me,resolvedInstanceId:O});function d(){if(typeof window>"u")return;const S={addPolygon:f,deletePolygon:$,selectPolygon:m,clearSelection:M,listPolygons:R,getPolygon:N,print:V,renderZoneMap:H,startDrawing:Se,stopDrawing:Me,instanceId:O};window.PrayerWalkPlanner=window.PrayerWalkPlanner||{instances:{}},window.PrayerWalkPlanner.instances[O]=S,window.PrayerWalkPlanner.first=()=>{const D=Object.keys(window.PrayerWalkPlanner.instances);return D.length?window.PrayerWalkPlanner.instances[D[0]]:null}}function p(){typeof window>"u"||!window.PrayerWalkPlanner||delete window.PrayerWalkPlanner.instances[O]}function L(){w.value?Me():Se()}function C(){qe()}function G(){b.filter(D=>D.selected).map(D=>D.id).forEach(D=>dt(D))}function j(){b.forEach(S=>{S.selected=!0}),de()}function v(){Oe()}const P=_e(!1);async function Z(){if(!P.value){P.value=!0;try{await Re(null)}finally{P.value=!1}}}function se(S){T.value=S}function we(S,D){const Y=b.find(pe=>pe.id===S);Y&&(Y.title=(D||"").trim()||Y.title,J(),de()),T.value=null}return lo(async()=>{I(),d(),await $o();try{await ie(),z.value&&z.value.on("load",()=>{zn(z.value,r.value),tt(),de()})}catch(S){console.error("[prayer-walk-planner] map failed to initialize — polygon list, localStorage and print still work:",S),A.value=i("mapFailed")}}),Pn(()=>{p(),B()}),Jn(":host{display:block;position:relative;width:100%;height:100%;min-height:420px}.pwp{position:absolute;inset:0;display:flex;flex-direction:column;background:#f3f3f1;color:#3b463d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.pwp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #d1d4cd;z-index:5}.pwp-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:6px;border:1px solid #d1d4cd;background:#fff;color:#3b463d;font-size:13px;font-weight:600;cursor:pointer}.pwp-btn:hover{border-color:#92b195}.pwp-btn.is-active{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent:hover{opacity:.9}.pwp-btn.busy{cursor:progress;opacity:.75}.pwp-btn.busy::after{content:'';display:inline-block;width:.8em;height:.8em;margin-inline-start:.5em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:pwp-spin .8s linear infinite}@keyframes pwp-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.pwp-btn.busy::after{animation:none}}.pwp-btn:disabled{opacity:.45;cursor:not-allowed}.pwp-btn.is-danger{color:#8a3b3b;border-color:#e0c4c4}.pwp-spacer{flex:1}.pwp-more-btn{display:none}.pwp-listops{display:contents}.pwp-count{font-size:12px;color:#6d766e}.pwp-status{padding:6px 12px;font-size:12px;color:#6d766e;background:#fff;border-bottom:1px solid #d1d4cd}.pwp-body{position:relative;flex:1;min-height:0;display:flex}.pwp-map{position:relative;flex:1;min-width:0}.pwp-map-el{position:absolute;inset:0}.pwp-map-controls{position:absolute;top:10px;right:10px;z-index:4;display:flex;flex-direction:column;gap:8px}.pwp[dir=rtl] .pwp-map-controls{right:auto;left:10px}.pwp-list{width:260px;flex-shrink:0;overflow-y:auto;background:#fff;border-inline-start:1px solid #d1d4cd;padding:8px}.pwp-zones-btn,.pwp-list-head,.pwp-backdrop{display:none}.pwp-list-empty{padding:16px 10px;font-size:12px;color:#6d766e}.pwp-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;margin-bottom:4px;border:1px solid transparent;cursor:pointer}.pwp-item:hover{background:#f3f3f1}.pwp-item.is-selected{background:rgba(146,177,149,.18);border-color:#92b195}.pwp-item-title{flex:1;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pwp-item-title-input{flex:1;font-size:13px;font-weight:600;padding:2px 4px;border:1px solid #92b195;border-radius:4px}.pwp-item-del{border:none;background:transparent;color:#8a3b3b;cursor:pointer;font-size:14px;padding:2px 6px;border-radius:4px}.pwp-item-del:hover{background:rgba(138,59,59,.12)}@media (max-width:640px){.pwp-list{display:none;position:absolute;inset-block:0;inset-inline-end:0;width:min(300px,86%);z-index:7;box-shadow:0 0 24px rgba(0,0,0,.22);border-inline-start:none}.pwp-list.is-open{display:block}.pwp-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 2px 8px;margin-bottom:6px;border-bottom:1px solid #eceee9;font-size:13px;font-weight:700}.pwp-list-x{border:none;background:transparent;font-size:20px;line-height:1;cursor:pointer;color:#6d766e;min-width:36px;min-height:36px;border-radius:6px}.pwp-backdrop{display:block;position:absolute;inset:0;z-index:6;background:rgba(20,28,22,.28)}.pwp-zones-btn{display:inline-flex;order:-3}}@media (max-width:640px){.pwp-toolbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px 10px;gap:6px}.pwp-toolbar::-webkit-scrollbar{display:none}.pwp-toolbar>*{flex:0 0 auto}.pwp-btn{white-space:nowrap;padding:8px 12px}.pwp-spacer{display:none}.pwp-draw{order:-2}.pwp-print{order:-1}.pwp-toolbar{flex-wrap:wrap;overflow:visible}.pwp-more-btn{display:inline-flex}.pwp-listops{display:none;flex-basis:100%;flex-wrap:wrap;gap:6px}.pwp-listops.is-open{display:flex}}"),(S,D)=>($e(),Pe("div",{class:"pwp",dir:a.value,lang:r.value},[X("div",zm,[X("button",{ref_key:"zonesBtn",ref:u,type:"button",class:"pwp-btn pwp-zones-btn","aria-expanded":c.value?"true":"false","aria-controls":"pwp-zone-list",onClick:D[0]||(D[0]=Y=>c.value?k():_())},"☰ "+Te(i("zones",{n:b.length})),9,Um),X("button",{type:"button",class:Ve(["pwp-btn pwp-draw",{"is-active":w.value}]),"aria-pressed":w.value,onClick:L},Te(w.value?i("drawing"):i("draw")),11,jm),w.value?($e(),Pe("button",{key:0,type:"button",class:"pwp-btn is-accent",disabled:g.value.length<3,onClick:C},Te(i("finish",{n:g.value.length})),9,Wm)):Zt("",!0),X("button",{type:"button",class:"pwp-btn pwp-more-btn","aria-expanded":l.value?"true":"false",onClick:D[1]||(D[1]=Y=>l.value=!l.value)},"⋯ "+Te(i("more")),9,Hm),X("div",{class:Ve(["pwp-listops",{"is-open":l.value}]),onClick:D[2]||(D[2]=Y=>l.value=!1)},[X("button",{type:"button",class:"pwp-btn is-danger",disabled:U.value===0,onClick:G,"aria-label":i("deleteSelectedAria")},Te(i("deleteSelected")),9,Vm),X("button",{type:"button",class:"pwp-btn",disabled:b.length===0,onClick:j},Te(i("selectAll")),9,Gm),X("button",{type:"button",class:"pwp-btn",disabled:U.value===0,onClick:v},Te(i("clearSelection")),9,Bm)],2),D[4]||(D[4]=X("div",{class:"pwp-spacer"},null,-1)),X("span",Km,Te(i("countSelected",{n:U.value,total:b.length})),1),X("button",{type:"button",class:Ve(["pwp-btn is-accent pwp-print",{busy:P.value}]),disabled:U.value===0||P.value,"aria-busy":P.value?"true":"false",onClick:Z,"aria-label":i("printAria")},Te(i("printSelected")),11,Ym),Ie(xm,{"is-dark":!1,"embed-path":ag,onClick:x})]),A.value?($e(),Pe("div",qm,Te(A.value),1)):Zt("",!0),X("div",Zm,[X("div",Xm,[X("div",{ref_key:"mapContainer",ref:ee,class:"pwp-map-el"},null,512),X("div",Jm,[Ie(Om,{"map-container":ee.value},null,8,["map-container"]),Ie(Nm,{hosted:""})])]),c.value?($e(),Pe("div",{key:0,class:"pwp-backdrop",onClick:k})):Zt("",!0),X("div",{id:"pwp-zone-list",class:Ve(["pwp-list",{"is-open":c.value}]),onKeydown:E},[X("div",Qm,[X("span",null,Te(i("zones",{n:b.length})),1),X("button",{ref_key:"zonesClose",ref:h,type:"button",class:"pwp-list-x","aria-label":i("closeZones"),onClick:k},"×",8,eg)]),b.length===0?($e(),Pe("div",tg,Te(i("emptyList")),1)):Zt("",!0),($e(!0),Pe(Be,null,xr(b,Y=>($e(),Pe("div",{key:Y.id,class:Ve(["pwp-item",{"is-selected":Y.selected}]),onClick:pe=>He(Y.id)},[T.value===Y.id?($e(),Pe("input",{key:0,class:"pwp-item-title-input",type:"text",value:Y.title,onClick:D[3]||(D[3]=Kr(()=>{},["stop"])),onKeydown:_d(pe=>we(Y.id,pe.target.value),["enter"]),onBlur:pe=>we(Y.id,pe.target.value),autofocus:""},null,40,ng)):($e(),Pe("span",{key:1,class:"pwp-item-title",onDblclick:Kr(pe=>se(Y.id),["stop"]),title:Y.title},Te(Y.title),41,rg)),X("button",{type:"button",class:"pwp-item-del",onClick:Kr(pe=>dt(Y.id),["stop"]),"aria-label":i("deleteAria",{title:Y.title})},Te(i("delete")),9,sg)],10,og))),128))],34)])],8,Dm))}}),{configureApp(e){const t=Nh();e.use(t),e.provide("appI18n",t)}});typeof customElements<"u"&&!customElements.get("prayer-walk-planner")&&customElements.define("prayer-walk-planner",cg)})();
|