@everymatrix/loyalty-marketing-content 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const ds="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(ds);const ps=1,vs=2,ms=16,gs=2,qn="[",Xr="[!",vn="[?",Qr="]",Ge={},z=Symbol("uninitialized"),_s="http://www.w3.org/1999/xhtml",Vn=!1;var zn=Array.isArray,bs=Array.prototype.indexOf,Lt=Array.prototype.includes,ar=Array.from,Zt=Object.keys,ct=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,ys=Object.getOwnPropertyDescriptors,Es=Object.prototype,xs=Array.prototype,Wn=Object.getPrototypeOf,mn=Object.isExtensible;const $e=()=>{};function Xn(e){for(var t=0;t<e.length;t++)e[t]()}function Qn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const J=2,dt=4,or=8,Yn=1<<24,de=16,we=32,Be=64,Ar=128,Yr=256,me=512,W=1024,q=2048,oe=4096,ee=8192,Y=16384,Ke=32768,Jt=1<<25,Rt=65536,Kt=1<<17,ws=1<<18,et=1<<19,Ss=1<<20,He=1<<25,er=1<<21,lt=1<<22,ke=1<<23,vr=Symbol("$state"),Zn=Symbol("component"),Ts=Symbol("legacy props"),Jn=Symbol("attributes"),Nr=Symbol("class"),As=Symbol("style"),Hr=Symbol("text"),Gt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Zr=3,Ut=8;function Ns(){console.warn("https://svelte.dev/e/derived_inert")}function ur(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Hs(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let L=!1;function ze(e){L=e}let k;function ue(e){if(e===null)throw ur(),Ge;return k=e}function Jr(){return ue(Pe(k))}function at(e){if(L){if(Pe(k)!==null)throw ur(),Ge;k=e}}function Os(e=1){if(L){for(var t=e,r=k;t--;)r=Pe(r);k=r}}function Or(e=!0){for(var t=0,r=k;;){if(r.nodeType===Ut){var n=r.data;if(n===Qr){if(t===0)return r;t-=1}else(n===qn||n===Xr||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var i=Pe(r);e&&r.remove(),r=i}}function Kn(e){if(!e||e.nodeType!==Ut)throw ur(),Ge;return e.data}function ei(e){return e===this.v}function ti(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ri(e){return!ti(e,this.v)}function $s(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Bs(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Ms(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ps(){throw new Error("https://svelte.dev/e/hydration_failed")}function Is(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Cs(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ls(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Rs(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let Ds=!1,ge=null;function pt(e){ge=e}function Kr(e,t=!1,r){ge={p:ge,i:!1,c:null,e:null,s:e,x:null,r:$,l:null}}function en(e){var t=ge,r=t.e;if(r!==null){t.e=null;for(var n of r)Ks(n)}return e!==void 0&&(t.x=e),t.i=!0,ge=t.p,ni(e)}function ni(e={}){return ct(e,Zn,{value:!0}),e}function ii(){return!0}let We=[];function si(){var e=We;We=[],Xn(e)}function Xe(e){if(We.length===0&&!Pt){var t=We;queueMicrotask(()=>{t===We&&si()})}We.push(e)}function ks(){for(;We.length>0;)si()}const Fs=-7169;function U(e,t){e.f=e.f&Fs|t}function tn(e){e.f&me||e.deps===null?U(e,W):U(e,oe)}function ai(e,t,r){e.f&q?t.add(e):e.f&oe&&r.add(e),U(e,W)}function lr(e){var t=O,r=$;fe(null),Se(null);try{return e()}finally{fe(t),Se(r)}}function Gs(e,t,r,n){const i=rn;var s=e.filter(p=>!p.settled),o=t.map(i);if(r.length===0&&s.length===0){n(o);return}var a=$,l=Us(),u=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(p=>p.promise)):null;function f(p){if(!(a.f&Y)){l();try{n([...o,...p])}catch(d){be(d,a)}tr()}}var h=oi();if(r.length===0){u.then(()=>f([])).finally(h);return}function c(){Promise.all(r.map(p=>js(p))).then(f).catch(p=>be(p,a)).finally(h)}u?u.then(()=>{if(a.f&Y){h();return}l(),c(),tr()}):c()}function Us(){var e=$,t=O,r=ge,n=H;return function(s=!0){Se(e),fe(t),pt(r),s&&!(e.f&Y)&&(n?.activate(),n?.apply())}}function tr(e=!0){Se(null),fe(null),pt(null),e&&H?.deactivate()}function oi(){var e=$,t=e.b,r=H,n=!!t?.is_rendered();return t?.update_pending_count(1,r),r.increment(n,e),()=>{t?.update_pending_count(-1,r),r.decrement(n,e)}}function rn(e){var t=J|q;return $!==null&&($.f|=et),{ctx:ge,deps:null,effects:null,equals:ei,f:t,fn:e,reactions:null,rv:0,v:z,wv:0,parent:$,ac:null}}const Ot=Symbol("obsolete");function js(e,t,r){let n=$;n===null&&$s();var i=void 0,s=Ze(z),o=!O,a=new Set;return na(()=>{var l=$,u=Qn();i=u.promise;try{Promise.resolve(e()).then(u.resolve,p=>{p!==Gt&&u.reject(p)}).finally(tr)}catch(p){u.reject(p),tr()}var f=H;if(o){if(l.f&Ke)var h=oi();if(n.b?.is_rendered())f.async_deriveds.get(l)?.reject(Ot);else for(const p of a.values())p.reject(Ot);a.add(u),f.async_deriveds.set(l,u)}const c=(p,d=void 0)=>{h?.(),a.delete(u),d!==Ot&&(f.activate(),d?(s.f|=ke,vt(s,d)):(s.f&ke&&(s.f^=ke),vt(s,p)),f.deactivate())};u.promise.then(c,p=>c(null,p||"unknown"))}),yi(()=>{for(const l of a)l.reject(Ot)}),new Promise(l=>{function u(f){function h(){f===i?l(s):u(i)}f.then(h,h)}u(i)})}function qs(e){const t=rn(e);return t.equals=ri,t}function Vs(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)le(t[r])}}function nn(e){var t,r=$,n=e.parent;if(!Ue&&n!==null&&e.v!==z&&n.f&(Y|ee))return Ns(),e.v;Se(n);try{Vs(e),t=Mi(e)}finally{Se(r)}return t}function ui(e){var t=nn(e);if(!e.equals(t)&&(e.wv=$i(),(!H?.is_fork||e.deps===null)&&(H!==null?(H.capture(e,t,!0),ft?.capture(e,t,!0)):e.v=t,e.deps===null))){U(e,W);return}Ue||(pe!==null?(ln()||H?.is_fork)&&pe.set(e,t):tn(e))}function zs(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&lr(()=>{t.ac.abort(Gt),t.ac=null}),t.fn!==null&&(t.teardown=$e),Dt(t,0),fn(t))}function li(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&gt(t)}let mr=null,it=null,H=null,ft=null,pe=null,$r=null,Pt=!1,gr=!1,It=null,Wt=null;var gn=0;let Ws=1;class Me{id=Ws++;#e=!1;linked=!0;#r=null;#s=null;async_deriveds=new Map;current=new Map;previous=new Map;#d=new Set;#i=new Set;#a=0;#t=new Map;#o=null;#n=[];#m=[];#u=new Set;#l=new Set;#h=new Map;#g=new Set;is_fork=!1;#f=!1;constructor(){it===null?mr=it=this:(it.#s=this,this.#r=it),it=this}#E(){if(this.is_fork)return!0;for(const n of this.#t.keys()){for(var t=n,r=!1;t.parent!==null;){if(this.#h.has(t)){r=!0;break}t=t.parent}if(!r)return!0}return!1}skip_effect(t){this.#h.has(t)||this.#h.set(t,{d:[],m:[]}),this.#g.delete(t)}unskip_effect(t,r=n=>this.schedule(n)){var n=this.#h.get(t);if(n){this.#h.delete(t);for(var i of n.d)U(i,q),r(i);for(i of n.m)U(i,oe),r(i)}this.#g.add(t)}#x(){var t=[];for(const s of this.#n)if(!(s.f&Y||!(s.f&(q|oe)))){for(var r=s,n=!1;r.parent!==null;){r=r.parent;var i=r.f;if(i&(Be|we)){if(!(i&W)){n=!0;break}r.f^=W}}n||t.push(r)}return this.#n=[],t}#_(){this.#e=!0;for(const a of this.#u)this.#l.delete(a),U(a,q),this.schedule(a);for(const a of this.#l)U(a,oe),this.schedule(a);this.apply();for(var t=It=[],r=[],n=Wt=[];this.#n.length>0;){gn++>1e3&&(this.#v(),Xs());for(const a of this.#x())try{this.#b(a,t,r)}catch(l){throw ci(a),this.#E()||this.discard(),l}}if(H=null,n.length>0){var i=Me.ensure();for(const a of n)i.schedule(a)}if(It=null,Wt=null,this.#E()){this.#p(r),this.#p(t);for(const[a,l]of this.#h)hi(a,l);n.length>0&&H.#_();return}const s=this.#c();if(s){this.#p(r),this.#p(t),s.#w(this);return}this.#u.clear(),this.#l.clear();for(const a of this.#d)a(this);this.#d.clear(),ft=this,_n(r),_n(t),ft=null,this.#o?.resolve();var o=H;if(this.#a===0&&(this.#n.length===0||o!==null)&&this.#v(),this.#n.length>0)if(o!==null){for(const a of this.#n)o.#n.push(a);this.#n=[]}else o=this;o!==null&&(Ee.clear(),o.#_())}#b(t,r,n){t.f^=W;for(var i=t.first;i!==null;){var s=i.f,o=(s&(we|Be))!==0,a=o&&(s&W)!==0,l=a||(s&ee)!==0||this.#h.has(i);if(!l&&i.fn!==null){o?i.f^=W:s&dt?r.push(i):jt(i)&&(s&de&&this.#l.add(i),gt(i));var u=i.first;if(u!==null){i=u;continue}}for(;i!==null;){var f=i.next;if(f!==null){i=f;break}i=i.parent}}}#c(){for(var t=this.#r;t!==null;){if(!t.is_fork){for(const[r,[,n]]of this.current)if(t.current.has(r)&&!n)return t}t=t.#r}return null}#w(t){for(const[n,i]of t.current)!this.previous.has(n)&&t.previous.has(n)&&this.previous.set(n,t.previous.get(n)),this.current.set(n,i);for(const[n,i]of t.async_deriveds){const s=this.async_deriveds.get(n);s&&i.promise.then(s.resolve).catch(s.reject)}t.async_deriveds.clear(),this.transfer_effects(t.#u,t.#l);const r=n=>{var i=n.reactions;if(i!==null&&!(n.f&J&&!(n.f&(q|oe))))for(const a of i){var s=a.f;if(s&J)r(a);else{var o=a;s&(lt|de)&&!this.async_deriveds.has(o)&&(this.#l.delete(o),U(o,q),this.schedule(o))}}};for(const n of this.current.keys())r(n);this.oncommit(()=>t.discard()),t.#v(),H=this,this.#_()}#p(t){for(var r=0;r<t.length;r+=1)ai(t[r],this.#u,this.#l)}capture(t,r,n=!1){t.v!==z&&!this.previous.has(t)&&this.previous.set(t,t.v),t.f&ke||(this.current.set(t,[r,n]),pe?.set(t,r)),this.is_fork||(t.v=r)}activate(){H=this}deactivate(){H=null,pe=null}flush(){try{gr=!0,H=this,this.#_()}finally{gn=0,$r=null,It=null,Wt=null,gr=!1,H=null,pe=null,Ee.clear()}}discard(){for(const t of this.#i)t(this);this.#i.clear();for(const t of this.async_deriveds.values())t.reject(Ot);this.#v(),this.#o?.resolve()}register_created_effect(t){this.#m.push(t)}#y(){for(let h=mr;h!==null;h=h.#s){var t=h.id<this.id,r=[];for(const[c,[p,d]]of this.current){if(h.current.has(c)){var n=h.current.get(c)[0];if(t&&p!==n)h.current.set(c,[p,d]);else continue}r.push(c)}if(t)for(const[c,p]of this.async_deriveds){const d=h.async_deriveds.get(c);d&&p.promise.then(d.resolve).catch(d.reject)}var i=[...h.current.keys()].filter(c=>!h.current.get(c)[1]);if(!(!h.#e||i.length===0)){var s=i.filter(c=>!this.current.has(c));if(s.length===0)t&&h.discard();else if(r.length>0){if(t)for(const c of this.#g)h.unskip_effect(c,p=>{p.f&(de|lt)?h.schedule(p):h.#p([p])});h.activate();var o=new Set,a=new Map;for(var l of r)fi(l,s,o,a);a=new Map;var u=[...h.current].filter(([c,p])=>{const d=this.current.get(c);return d?d[0]!==p[0]||d[1]!==p[1]:!0}).map(([c])=>c);if(u.length>0)for(const c of this.#m)!(c.f&(Y|ee|Kt))&&sn(c,u,a)&&(c.f&(lt|de)?(U(c,q),h.schedule(c)):h.#u.add(c));if(h.#n.length>0&&!h.#f){h.apply();for(var f of h.#x())h.#b(f,[],[])}h.deactivate()}}}}increment(t,r){if(this.#a+=1,t){let n=this.#t.get(r)??0;this.#t.set(r,n+1)}}decrement(t,r){if(this.#a-=1,t){let n=this.#t.get(r)??0;n===1?this.#t.delete(r):this.#t.set(r,n-1)}this.#f||(this.#f=!0,Xe(()=>{this.#f=!1,this.linked&&this.flush()}))}transfer_effects(t,r){for(const n of t)this.#u.add(n);for(const n of r)this.#l.add(n);t.clear(),r.clear()}oncommit(t){this.#d.add(t)}ondiscard(t){this.#i.add(t)}settled(){return(this.#o??=Qn()).promise}static ensure(){if(H===null){const t=H=new Me;!gr&&!Pt&&Xe(()=>{t.#e||t.flush()})}return H}apply(){{pe=null;return}}schedule(t){if($r=t,t.b?.is_pending&&t.f&(dt|or|Yn)&&!(t.f&Ke)){t.b.defer_effect(t);return}this.#n.push(t)}#v(){if(this.linked){var t=this.#r,r=this.#s;t===null?mr=r:t.#s=r,r===null?it=t:r.#r=t,this.linked=!1}}}function Oe(e){var t=Pt,r=ft;ft=null,Pt=!0;try{for(var n;;){if(ks(),H===null)return n;H.flush()}}finally{Pt=t,ft=r}}function Xs(){try{Ms()}catch(e){be(e,$r)}}let Ne=null;function _n(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if(!(n.f&(Y|ee))&&jt(n)&&(Ne=new Set,gt(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&Si(n),Ne?.size>0)){Ee.clear();for(const i of Ne){if(i.f&(Y|ee))continue;const s=[i];let o=i.parent;for(;o!==null;)Ne.has(o)&&(Ne.delete(o),s.push(o)),o=o.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];l.f&(Y|ee)||gt(l)}}Ne.clear()}}Ne=null}}function fi(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;s&J?fi(i,t,r,n):s&(lt|de)&&!(s&q)&&sn(i,t,n)&&(U(i,q),an(i))}}function sn(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(Lt.call(t,i))return!0;if(i.f&J&&sn(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function an(e){H.schedule(e)}function hi(e,t){if(!(e.f&we&&e.f&W)){e.f&q?t.d.push(e):e.f&oe&&t.m.push(e),U(e,W);for(var r=e.first;r!==null;)hi(r,t),r=r.next}}function ci(e){U(e,W);for(var t=e.first;t!==null;)ci(t),t=t.next}let rr=new Set;const Ee=new Map;let di=!1;function Ze(e,t){var r={f:0,v:e,reactions:null,equals:ei,rv:0,wv:0};return r}function Ae(e,t){const r=Ze(e);return oa(r),r}function on(e,t=!1,r=!0){const n=Ze(e);return t||(n.equals=ri),n}function ce(e,t,r=!1){O!==null&&(!ve||O.f&Kt)&&ii()&&O.f&(J|de|lt|Kt)&&(xe===null||!xe.has(e))&&Ls();let n=r?ot(t):t;return vt(e,n,Wt)}var Ve=null,Br=0;function vt(e,t,r=null){if(!e.equals(t)){Ue?Ee.set(e,t):Ee.has(e)||Ee.set(e,e.v);var n=Me.ensure();if(n.capture(e,t),e.f&J){const i=e;e.f&q&&nn(i),pe===null&&tn(i)}e.wv=$i(),Ve=null,Br=0,pi(e,q,r),Ve=null,$!==null&&$.f&W&&!($.f&(we|Be))&&(ae===null?ua([e]):ae.push(e)),!n.is_fork&&rr.size>0&&!di&&Qs()}return t}function Qs(){di=!1;for(const e of rr){e.f&W&&U(e,oe);let t;try{t=jt(e)}catch{t=!0}t&&gt(e)}rr.clear()}function Ct(e){ce(e,e.v+1)}function pi(e,t,r){var n=e.reactions;if(n!==null){var i=n.length;if(Br+=i,Br>1e5&&Ve===null&&(Ve=new Set),Ve!==null){if(Ve.has(e))return;Ve.add(e)}for(var s=0;s<i;s++){var o=n[s],a=o.f,l=(a&q)===0;if(l&&U(o,t),a&Kt)rr.add(o);else if(a&J){var u=o;pe?.delete(u),pi(u,oe,r)}else if(l){var f=o;a&de&&Ne!==null&&Ne.add(f),r!==null?r.push(f):an(f)}}}}function ot(e){if(typeof e!="object"||e===null||vr in e||Zn in e)return e;const t=Wn(e);if(t!==Es&&t!==xs)return e;var r=new Map,n=zn(e),i=Ae(0),s=Ye,o=a=>{if(Ye===s)return a();var l=O,u=Ye;fe(null),wn(s);var f=a();return fe(l),wn(u),f};return n&&r.set("length",Ae(e.length)),new Proxy(e,{defineProperty(a,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Is();var f=r.get(l);return f===void 0?o(()=>{var h=Ae(u.value);return r.set(l,h),h}):ce(f,u.value,!0),!0},deleteProperty(a,l){var u=r.get(l);if(u===void 0){if(l in a){const f=o(()=>Ae(z));r.set(l,f),Ct(i)}}else ce(u,z),Ct(i);return!0},get(a,l,u){if(l===vr)return e;var f=r.get(l),h=l in a;if(f===void 0&&(!h||ut(a,l)?.writable)&&(f=o(()=>{var p=ot(h?a[l]:z),d=Ae(p);return d}),r.set(l,f)),f!==void 0){var c=G(f);return c===z?void 0:c}return Reflect.get(a,l,u)},getOwnPropertyDescriptor(a,l){this.has?.(a,l);var u=Reflect.getOwnPropertyDescriptor(a,l),f=r.get(l);if(f!==void 0){var h=G(f);if(h===z)return;if(u&&"value"in u)u.value=h;else return{enumerable:!0,configurable:!0,value:h,writable:!0}}return u},has(a,l){if(l===vr)return!0;var u=r.get(l),f=u!==void 0&&u.v!==z||Reflect.has(a,l);if(u!==void 0||$!==null&&(!f||ut(a,l)?.writable)){u===void 0&&(u=o(()=>{var c=f?ot(a[l]):z,p=Ae(c);return p}),r.set(l,u));var h=G(u);if(h===z)return!1}return f},set(a,l,u,f){var h=r.get(l),c=l in a;if(n&&l==="length")for(var p=u;p<h.v;p+=1){var d=r.get(p+"");d!==void 0?ce(d,z):p in a&&(d=o(()=>Ae(z)),r.set(p+"",d))}if(h===void 0)(!c||ut(a,l)?.writable)&&(h=o(()=>Ae(void 0)),ce(h,ot(u)),r.set(l,h));else{c=h.v!==z;var y=o(()=>ot(u));ce(h,y)}var B=Reflect.getOwnPropertyDescriptor(a,l);if(B?.set&&B.set.call(f,u),!c){if(n&&typeof l=="string"){var b=r.get("length"),T=Number(l);Number.isInteger(T)&&T>=b.v&&ce(b,T+1)}Ct(i)}return!0},ownKeys(a){G(i);var l=Reflect.ownKeys(a).filter(h=>{var c=r.get(h);return c===void 0||c.v!==z});for(var[u,f]of r)f.v!==z&&!(u in a)&&l.push(u);return l},setPrototypeOf(){Cs()}})}var bn,vi,mi,gi;function Mr(){if(bn===void 0){bn=window,vi=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;mi=ut(t,"firstChild").get,gi=ut(t,"nextSibling").get,mn(e)&&(e[Nr]=void 0,e[Jn]=null,e[As]=void 0,e.__e=void 0),mn(r)&&(r[Hr]=void 0)}}function Fe(e=""){return document.createTextNode(e)}function mt(e){return mi.call(e)}function Pe(e){return gi.call(e)}function $t(e,t){if(!L)return mt(e);var r=mt(k);if(r===null)r=k.appendChild(Fe());else if(t&&r.nodeType!==Zr){var n=Fe();return r?.before(n),ue(n),n}return t&&bi(r),ue(r),r}function yn(e,t=!1){if(!L)return mt(e);var r=$t(e,t);return at(e),r}function En(e,t=1,r=!1){let n=L?k:e;for(var i;t--;)i=n,n=Pe(n);if(!L)return n;if(r){if(n?.nodeType!==Zr){var s=Fe();return n===null?i?.after(s):n.before(s),ue(s),s}bi(n)}return ue(n),n}function _i(e){e.textContent=""}function Ys(){return!1}function un(e,t,r){return r?document.createElement(e,{is:r}):document.createElement(e)}function bi(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Zr;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Zs(e){var t=$;if(t===null)return O.f|=ke,e;if(!(t.f&Ke)&&!(t.f&dt))throw e;be(e,t)}function be(e,t){if(e===Ge)throw e;if(!(t!==null&&t.f&Y)){for(;t!==null;){if(t.f&Ar&&!(t.f&(Y|Jt))){if(!(t.f&Ke))throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}}function Js(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Te(e,t){var r=$;r!==null&&r.f&ee&&(e|=ee);var n={ctx:ge,deps:null,nodes:null,f:e|q|me,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};H?.register_created_effect(n);var i=n;if(e&dt)It!==null?It.push(n):Me.ensure().schedule(n);else if(t!==null){try{gt(n)}catch(o){throw le(n),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&et)&&(i=i.first,e&de&&e&Rt&&i!==null&&(i.f|=Rt))}if(i!==null&&(i.parent=r,r!==null&&Js(i,r),O!==null&&O.f&J&&!(e&Be))){var s=O;(s.effects??=[]).push(i)}return n}function ln(){return O!==null&&!ve}function yi(e){const t=Te(or,null);return U(t,W),t.teardown=e,t}function Ks(e){return Te(dt|Ss,e)}function ea(e){Me.ensure();const t=Te(Be|et,e);return()=>{le(t)}}function ta(e){Me.ensure();const t=Te(Be|et,e);return(r={})=>new Promise(n=>{r.outro?ht(t,()=>{le(t),n(void 0)}):(le(t),n(void 0))})}function ra(e){return Te(dt,e)}function na(e){return Te(lt|et,e)}function Ei(e,t=0){return Te(or|t,e)}function ia(e,t=[],r=[],n=[]){Gs(n,t,r,i=>{Te(or,()=>{e(...i.map(G))})})}function xi(e,t=0){var r=Te(de|t,e);return r}function _e(e){return Te(we|et,e)}function wi(e){var t=e.teardown;if(t!==null){const r=Ue,n=O;xn(!0),fe(null);try{t.call(null)}catch(i){be(i,e.parent)}finally{xn(r),fe(n)}}}function fn(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&lr(()=>{i.abort(Gt)});var n=r.next;r.f&Be?r.parent=null:le(r,t),r=n}}function sa(e){for(var t=e.first;t!==null;){var r=t.next;t.f&we||le(t),t=r}}function le(e,t=!0){var r=!1;(t||e.f&ws)&&e.nodes!==null&&e.nodes.end!==null&&(aa(e.nodes.start,e.nodes.end),r=!0),e.f|=Jt,fn(e,t&&!r),Dt(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)s.stop();wi(e),e.f^=Jt,e.f|=Y;var i=e.parent;i!==null&&i.first!==null&&Si(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function aa(e,t){for(;e!==null;){var r=e===t?null:Pe(e);e.remove(),e=r}}function Si(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function ht(e,t,r=!0){var n=[];e.f|=Yr,Ti(e,n,!0);var i=()=>{r&&le(e),t&&t()},s=n.length;if(s>0){var o=()=>--s||i();for(var a of n)a.out(o)}else i()}function Ti(e,t,r){if(!(e.f&ee)){e.f^=ee;var n=e.nodes&&e.nodes.t;if(n!==null)for(const a of n)(a.is_global||r)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next;if(!(i.f&Be)){var o=(i.f&Rt)!==0||(i.f&we)!==0&&(e.f&de)!==0;Ti(i,t,o?r:!1)}i=s}}}function Ai(e){e.f&=~Yr,Ni(e,!0)}function Ni(e,t){if(!(e.f&Yr)&&e.f&ee){e.f^=ee,e.f&W||(U(e,q),Me.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Rt)!==0||(r.f&we)!==0;Ni(r,i?t:!1),r=n}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function Hi(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:Pe(r);t.append(r),r=i}}let Ue=!1;function xn(e){Ue=e}let O=null,ve=!1;function fe(e){O=e}let $=null;function Se(e){$=e}let xe=null;function oa(e){O!==null&&(O.f&er||O.f&J)&&(xe??=new Set).add(e)}let re=null,ne=0,ae=null;function ua(e){ae=e}let Oi=1,Qe=0,Ye=Qe;function wn(e){Ye=e}function $i(){return++Oi}function jt(e){var t=e.f;if(t&q)return!0;if(t&oe){for(var r=e.deps,n=r.length,i=0;i<n;i++){var s=r[i];if(jt(s)&&ui(s),s.wv>e.wv)return!0}t&me&&pe===null&&U(e,W)}return!1}function Bi(e,t,r=!0){var n=e.reactions;if(n!==null&&!(xe!==null&&xe.has(e)))for(var i=0;i<n.length;i++){var s=n[i];s.f&J?Bi(s,t,!1):t===s&&(r?U(s,q):s.f&W&&U(s,oe),an(s))}}function Mi(e){var t=re,r=ne,n=ae,i=O,s=xe,o=ge,a=ve,l=Ye,u=e.f;re=null,ne=0,ae=null,O=u&(we|Be)?null:e,xe=null,pt(e.ctx),ve=!1,Ye=++Qe,e.ac!==null&&(lr(()=>{e.ac.abort(Gt)}),e.ac=null);try{e.f|=er;var f=e.fn,h=f();e.f|=Ke;var c=Sn(e);if(ii()&&ae!==null&&!ve&&c!==null&&!(e.f&(J|oe|q)))for(var p=0;p<ae.length;p++)Bi(ae[p],e);if(i!==null&&i!==e){if(Qe++,i.deps!==null)for(let d=0;d<r;d+=1)i.deps[d].rv=Qe;if(t!==null)for(const d of t)d.rv=Qe;ae!==null&&(n===null?n=ae:n.push(...ae))}return e.f&ke&&(e.f^=ke),h}catch(d){return Sn(e),Zs(d)}finally{e.f^=er,re=t,ne=r,ae=n,O=i,xe=s,pt(o),ve=a,Ye=l}}function Sn(e){var t=e.deps,r=H?.is_fork;if(re!==null){var n;if(r||Dt(e,ne),t!==null&&ne>0)for(t.length=ne+re.length,n=0;n<re.length;n++)t[ne+n]=re[n];else e.deps=t=re;if(ln()&&e.f&me)for(n=ne;n<t.length;n++)(t[n].reactions??=[]).push(e)}else!r&&t!==null&&ne<t.length&&(Dt(e,ne),t.length=ne);return t}function la(e,t){let r=t.reactions;if(r!==null){var n=bs.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}if(r===null&&t.f&J&&(re===null||!Lt.call(re,t))){var s=t;s.f&me&&(s.f^=me),s.v!==z&&tn(s),s.ac!==null&&lr(()=>{s.ac.abort(Gt),s.ac=null,U(s,q)}),zs(s),Dt(s,0)}}function Dt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)la(e,r[n])}function gt(e){var t=e.f;if(!(t&Y)){U(e,W);var r=$;$=e;try{t&(de|Yn)?sa(e):fn(e),wi(e);var n=Mi(e);e.teardown=typeof n=="function"?n:null,e.wv=Oi;var i;Vn&&Ds&&e.f&q&&e.deps}finally{$=r}}}function G(e){var t=e.f,r=(t&J)!==0;if(O!==null&&!ve){var n=$!==null&&($.f&Y)!==0;if(!n&&(xe===null||!xe.has(e))){var i=O.deps;if(O.f&er)e.rv<Qe&&(e.rv=Qe,re===null&&i!==null&&i[ne]===e?ne++:re===null?re=[e]:re.push(e));else{O.deps??=[],Lt.call(O.deps,e)||O.deps.push(e);var s=e.reactions;s===null?e.reactions=[O]:Lt.call(s,O)||s.push(O)}}}if(Ue&&Ee.has(e))return Ee.get(e);if(r){var o=e;if(Ue){var a=o.v;return(!(o.f&W)&&o.reactions!==null||Ii(o))&&(a=nn(o)),Ee.set(o,a),a}var l=(o.f&me)===0&&!ve&&O!==null&&(O.f&me)!==0,u=(o.f&Ke)===0;jt(o)&&(l&&(o.f|=me),ui(o)),l&&!u&&(li(o),Pi(o))}if(pe?.has(e))return pe.get(e);if(e.f&ke)throw e.v;return e.v}function Pi(e){if(e.f|=me,e.deps!==null)for(const r of e.deps){var t=r.reactions;t===null?r.reactions=[e]:Lt.call(t,e)||t.push(e),r.f&J&&!(r.f&me)&&(li(r),Pi(r))}}function Ii(e){if(e.v===z)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ee.has(t)||t.f&J&&Ii(t))return!0;return!1}function Ci(e){var t=ve;try{return ve=!0,e()}finally{ve=t}}const Bt=Symbol("events"),Li=new Set,Pr=new Set;function fa(e,t,r){(t[Bt]??={})[e]=r}function ha(e){for(var t=0;t<e.length;t++)Li.add(e[t]);for(var r of Pr)r(e)}let _r=null,br=!1;function Tn(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;_r=e,br||(br=!0,setTimeout(()=>{br=!1,_r=null}));var o=0,a=_r===e&&e[Bt];if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e[Bt]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(o=l)}if(s=i[o]||e.target,s!==t){ct(e,"currentTarget",{configurable:!0,get(){return s||r}});var f=O,h=$;fe(null),Se(null);try{for(var c,p=[];s!==null&&s!==t;){try{var d=s[Bt]?.[n];d!=null&&(!s.disabled||e.target===s)&&d.call(s,e)}catch(y){c?p.push(y):c=y}if(e.cancelBubble)break;o++,s=o<i.length?i[o]:null}if(c){for(let y of p)queueMicrotask(()=>{throw y});throw c}}finally{e[Bt]=t,delete e.currentTarget,fe(f),Se(h)}}}const ca=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function da(e){return ca?.createHTML(e)??e}function pa(e){var t=un("template");return t.innerHTML=da(e.replaceAll("<!>","<!---->")),t.content}function Ir(e,t){var r=$;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function Ri(e,t){var r=(t&gs)!==0,n,i=!e.startsWith("<!>");return()=>{if(L)return Ir(k,null),k;n===void 0&&(n=pa(i?e:"<!>"+e),n=mt(n));var s=r||vi?document.importNode(n,!0):n.cloneNode(!0);return Ir(s,s),s}}function Cr(e,t){if(L){var r=$;(!(r.f&Ke)||r.nodes.end===null)&&(r.nodes.end=k),Jr();return}e!==null&&e.before(t)}const va=["touchstart","touchmove"];function ma(e){return va.includes(e)}function ga(e){let t=0,r=Ze(0),n;return()=>{ln()&&(G(r),Ei(()=>(t===0&&(n=Ci(()=>e(()=>Ct(r)))),t+=1,()=>{Xe(()=>{t-=1,t===0&&(n?.(),n=void 0,Ct(r))})})))}}var _a=Rt|et;function ba(e,t,r,n){new ya(e,t,r,n)}class ya{parent;is_pending=!1;transform_error;#e;#r=L?k:null;#s;#d;#i;#a=null;#t=null;#o=null;#n=null;#m=0;#u=0;#l=!1;#h=new Set;#g=new Set;#f=null;#E=ga(()=>(this.#f=Ze(this.#m),()=>{this.#f=null}));constructor(t,r,n,i){this.#e=t,this.#s=r,this.#d=s=>{var o=$;o.b=this,o.f|=Ar,n(s)},this.parent=$.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#i=xi(()=>{if(L){const s=Kn(this.#r);Jr();const o=s===Xr;if(s.startsWith(vn)){const l=JSON.parse(s.slice(vn.length));this.#_(l)}else o?this.#w():this.#x()}else this.#p()},_a),L&&(this.#e=k)}#x(){try{this.#a=_e(()=>this.#d(this.#e))}catch(t){this.error(t)}}#_(t){const r=this.#s.failed,{reset:n,invoke_onerror:i}=this.#b(t);Xe(i),r&&(this.#o=_e(()=>{r(this.#e,()=>t,()=>n)}))}#b(t){var r=!1,n=!1;const i=()=>{if(!this.#c()){if(r){Hs();return}r=!0,n&&Rs(),this.#o!==null&&ht(this.#o,()=>{this.#o=null}),this.#v(()=>{this.#p()})}};return{reset:i,invoke_onerror:()=>{if(!this.#c())try{n=!0,this.#s.onerror?.(t,i),n=!1}catch(o){be(o,this.#i&&this.#i.parent)}}}}#c(){return(this.#i.f&(Y|Jt))!==0}#w(){const t=this.#s.pending;t&&(this.is_pending=!0,this.#t=_e(()=>t(this.#e)),Xe(()=>{if(!this.#c()){var r=this.#n=document.createDocumentFragment(),n=Fe(),i=!1;if(r.append(n),this.#a=this.#v(()=>{try{return _e(()=>this.#d(n))}catch(s){try{this.error(s),i=!0}catch(o){be(o,this.#i.parent)}return null}}),this.#a===null){this.#n=null,i&&this.#y(H);return}this.#u===0&&(this.#e.before(r),this.#n=null,ht(this.#t,()=>{this.#t=null}),this.#y(H))}}))}#p(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#m=0,this.#a=_e(()=>{this.#d(this.#e)}),this.#u>0){var t=this.#n=document.createDocumentFragment();Hi(this.#a,t);const r=this.#s.pending;this.#t=_e(()=>r(this.#e))}else this.#y(H)}catch(r){this.error(r)}}#y(t){this.is_pending=!1,t.transfer_effects(this.#h,this.#g)}defer_effect(t){ai(t,this.#h,this.#g)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#s.pending}#v(t){var r=$,n=O,i=ge;Se(this.#i),fe(this.#i),pt(this.#i.ctx);try{return Me.ensure(),t()}finally{Se(r),fe(n),pt(i)}}#S(t,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(t,r);return}this.#u+=t,this.#u===0&&(this.#y(r),this.#t&&ht(this.#t,()=>{this.#t=null}),this.#n&&(this.#e.before(this.#n),this.#n=null))}update_pending_count(t,r){this.#S(t,r),this.#m+=t,!(!this.#f||this.#l)&&(this.#l=!0,Xe(()=>{this.#l=!1,this.#f&&vt(this.#f,this.#m)}))}get_effect_pending(){return this.#E(),G(this.#f)}error(t){if(t===Ge||!this.#s.onerror&&!this.#s.failed)throw t;H?.is_fork?(this.#a&&H.skip_effect(this.#a),this.#t&&H.skip_effect(this.#t),this.#o&&H.skip_effect(this.#o),H.oncommit(()=>{this.#c()||this.#T(t)})):this.#T(t)}#T(t){this.#a&&(le(this.#a),this.#a=null),this.#t&&(le(this.#t),this.#t=null),this.#o&&(le(this.#o),this.#o=null),L&&(ue(this.#r),Os(),ue(Or()));let r=this.#s.failed;const n=i=>{if(this.#c())return;const{reset:s,invoke_onerror:o}=this.#b(i);o(),r&&!this.#c()&&(this.#o=this.#v(()=>{try{return _e(()=>{var a=$;a.b=this,a.f|=Ar,r(this.#e,()=>i,()=>s)})}catch(a){return be(a,this.#i.parent),null}}))};Xe(()=>{if(!this.#c()){var i;try{i=this.transform_error(t)}catch(s){be(s,this.#i&&this.#i.parent);return}i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(n,s=>be(s,this.#i&&this.#i.parent)):n(i)}})}}function An(e,t){var r=t==null?"":typeof t=="object"?`${t}`:t;r!==(e[Hr]??=e.nodeValue)&&(e[Hr]=r,e.nodeValue=`${r}`)}function Di(e,t){return ki(e,t)}function Ea(e,t){Mr(),t.intro=t.intro??!1;const r=t.target,n=L,i=k;try{for(var s=mt(r);s&&(s.nodeType!==Ut||s.data!==qn);)s=Pe(s);if(!s)throw Ge;ze(!0),ue(s);const o=ki(e,{...t,anchor:s});return ze(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==Ge&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Ps(),Mr(),_i(r),ze(!1),Di(e,t)}finally{ze(n),ue(i)}}const Vt=new Map;function ki(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0,transformError:a}){Mr();var l=void 0,u=ta(()=>{var f=r??t.appendChild(Fe());ba(f,{pending:()=>{}},p=>{Kr({});var d=ge;if(s&&(d.c=s),i&&(n.$$events=i),L&&Ir(p,null),l=e(p,n)||ni(),L&&($.nodes.end=k,k===null||k.nodeType!==Ut||k.data!==Qr))throw ur(),Ge;en()},a);var h=new Set,c=p=>{for(var d=0;d<p.length;d++){var y=p[d];if(!h.has(y)){h.add(y);var B=ma(y);for(const M of[t,document]){var b=Vt.get(M);b===void 0&&(b=new Map,Vt.set(M,b));var T=b.get(y);T===void 0?(M.addEventListener(y,Tn,{passive:B}),b.set(y,1)):b.set(y,T+1)}}}};return c(ar(Li)),Pr.add(c),()=>{for(var p of h)for(const B of[t,document]){var d=Vt.get(B),y=d.get(p);--y==0?(B.removeEventListener(p,Tn),d.delete(p),d.size===0&&Vt.delete(B)):d.set(p,y)}Pr.delete(c),f!==r&&f.parentNode?.removeChild(f)}});return Lr.set(l,u),l}let Lr=new WeakMap;function xa(e,t){const r=Lr.get(e);return r?(Lr.delete(e),r(t)):Promise.resolve()}function wa(e,t){return t}function Sa(e,t,r){for(var n=[],i=t.length,s,o=t.length,a=0;a<i;a++){let h=t[a];ht(h,()=>{if(s){if(s.pending.delete(h),s.done.add(h),s.pending.size===0){var c=e.outrogroups;Rr(e,ar(s.done)),c.delete(s),c.size===0&&(e.outrogroups=null)}}else o-=1},!1)}if(o===0){var l=n.length===0&&r!==null&&e.pending.size===0;if(l){var u=r,f=u.parentNode;_i(f),f.append(u),e.items.clear()}Rr(e,t,!l)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function Rr(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const o of e.pending.values())for(const a of o)n.add(e.items.get(a).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n?.has(s)){s.f|=He;const o=document.createDocumentFragment();Hi(s,o)}else le(t[i],r)}}var Nn;function Ta(e,t,r,n,i,s=null){var o=e,a=new Map;{var l=e;o=L?ue(mt(l)):l.appendChild(Fe())}L&&Jr();var u=null,f=qs(()=>{var b=r();return zn(b)?b:b==null?[]:ar(b)}),h=new Map,c=!0;function p(b){if(!(B.effect.f&Y)){B.pending.delete(b);var T=G(f);B.fallback=u,Aa(B,T,o,t,n),u!==null&&(T.length===0?u.f&He?(u.f^=He,Mt(u,null,o)):Ai(u):ht(u,()=>{u=null}))}}function d(b){B.pending.delete(b)}var y=xi(()=>{var b=G(f),T=b.length;let M=!1;if(L){var Q=Kn(o)===Xr;Q!==(T===0)&&(o=Or(),ue(o),ze(!1),M=!0)}for(var P=new Set,R=H,ie=Ys(),V=0;V<T;V+=1){L&&k.nodeType===Ut&&k.data===Qr&&(o=k,M=!0,ze(!1));var he=b[V],I=n(he,V),x=c?null:a.get(I);x?(x.v&&vt(x.v,he),x.i&&vt(x.i,V),ie&&R.unskip_effect(x.e)):(x=Na(a,c?o:Nn??=Fe(),he,I,V,i,t,r),c||(x.e.f|=He),a.set(I,x)),P.add(I)}if(T===0&&s&&!u&&(c?u=_e(()=>s(o)):(u=_e(()=>s(Nn??=Fe())),u.f|=He)),T>P.size&&Bs(),L&&T>0&&ue(Or()),!c)if(h.set(R,P),ie){for(const[Ie,rt]of a)P.has(Ie)||R.skip_effect(rt.e);R.oncommit(p),R.ondiscard(d)}else p(R);M&&ze(!0),G(f)}),B={effect:y,items:a,pending:h,outrogroups:null,fallback:u};c=!1,L&&(o=k)}function Nt(e){for(;e!==null&&!(e.f&we);)e=e.next;return e}function Aa(e,t,r,n,i){var s=t.length,o=e.items,a=Nt(e.effect.first),l,u=null,f=[],h=[],c,p,d,y;for(y=0;y<s;y+=1){if(c=t[y],p=i(c,y),d=o.get(p).e,e.outrogroups!==null)for(const V of e.outrogroups)V.pending.delete(d),V.done.delete(d);if(d.f&ee&&Ai(d),d.f&He)if(d.f^=He,d===a)Mt(d,null,r);else{var B=u?u.next:a;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),Le(e,u,d),Le(e,d,B),Mt(d,B,r),u=d,f=[],h=[],a=Nt(u.next);continue}if(d!==a){if(l!==void 0&&l.has(d)){if(f.length<h.length){var b=h[0],T;u=b.prev;var M=f[0],Q=f[f.length-1];for(T=0;T<f.length;T+=1)Mt(f[T],b,r);for(T=0;T<h.length;T+=1)l.delete(h[T]);Le(e,M.prev,Q.next),Le(e,u,M),Le(e,Q,b),a=b,u=Q,y-=1,f=[],h=[]}else l.delete(d),Mt(d,a,r),Le(e,d.prev,d.next),Le(e,d,u===null?e.effect.first:u.next),Le(e,u,d),u=d;continue}for(f=[],h=[];a!==null&&a!==d;)(l??=new Set).add(a),h.push(a),a=Nt(a.next);if(a===null)continue}d.f&He||f.push(d),u=d,a=Nt(d.next)}if(e.outrogroups!==null){for(const V of e.outrogroups)V.pending.size===0&&(Rr(e,ar(V.done)),e.outrogroups?.delete(V));e.outrogroups.size===0&&(e.outrogroups=null)}if(a!==null||l!==void 0){var P=[];if(l!==void 0)for(d of l)d.f&ee||P.push(d);for(;a!==null;)!(a.f&ee)&&a!==e.fallback&&P.push(a),a=Nt(a.next);var R=P.length;if(R>0){var ie=s===0?r:null;Sa(e,P,ie)}}}function Na(e,t,r,n,i,s,o,a){var l=o&ps?o&ms?Ze(r):on(r,!1,!1):null,u=o&vs?Ze(i):null;return{v:l,i:u,e:_e(()=>(s(t,l??r,u??i,a),()=>{e.delete(n)}))}}function Mt(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&!(t.f&He)?t.nodes.start:r;n!==null;){var o=Pe(n);if(s.before(n),n===i)return;n=o}}function Le(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function Ha(e,t){ra(()=>{e=$?.parent?.nodes?.start??e;var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=un("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}const Hn=[...`
3
+ \r\f \v\uFEFF`];function Oa(e,t,r){var n=e==null?"":""+e;if(r){for(var i of Object.keys(r))if(r[i])n=n?n+" "+i:i;else if(n.length)for(var s=i.length,o=0;(o=n.indexOf(i,o))>=0;){var a=o+s;(o===0||Hn.includes(n[o-1]))&&(a===n.length||Hn.includes(n[a]))?n=(o===0?"":n.substring(0,o))+n.substring(a+1):o=a}}return n===""?null:n}function On(e,t,r,n,i,s){var o=e[Nr];if(L||o!==r||o===void 0){var a=Oa(r,n,s);(!L||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e[Nr]=r}else if(s&&i!==s)for(var l in s){var u=!!s[l];(i==null||u!==!!i[l])&&e.classList.toggle(l,u)}return s}const $a=Symbol("is custom element"),Ba=Symbol("is html");function Ma(e,t,r,n){var i=Pa(e);L&&(i[t]=e.getAttribute(t)),i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&Ia(e).has(t)?e[t]=r:e.setAttribute(t,r))}function Pa(e){return e[Jn]??={[$a]:e.nodeName.includes("-"),[Ba]:e.namespaceURI===_s}}var $n=new Map;function Ia(e){var t=e.getAttribute("is")||e.nodeName,r=$n.get(t);if(r)return r;$n.set(t,r=new Set);for(var n,i=e,s=Element.prototype;s!==i;){n=ys(i);for(var o in n)n[o].set&&o!=="innerHTML"&&o!=="textContent"&&o!=="innerText"&&r.add(o);i=Wn(i)}return r}function hn(e,t,r){if(e==null)return t(void 0),r&&r(void 0),$e;const n=Ci(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const st=[];function Ca(e,t){return{subscribe:fr(e,t).subscribe}}function fr(e,t=$e){let r=null;const n=new Set;function i(a){if(ti(e,a)&&(e=a,r)){const l=!st.length;for(const u of n)u[1](),st.push(u,e);if(l){for(let u=0;u<st.length;u+=2)st[u][0](st[u+1]);st.length=0}}}function s(a){i(a(e))}function o(a,l=$e){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,s)||$e),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:o}}function xt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Ca(r,(o,a)=>{let l=!1;const u=[];let f=0,h=$e;const c=()=>{if(f)return;h();const d=t(n?u[0]:u,o,a);s?o(d):h=typeof d=="function"?d:$e},p=i.map((d,y)=>hn(d,B=>{u[y]=B,f&=~(1<<y),l&&c()},()=>{f|=1<<y}));return l=!0,c(),function(){Xn(p),h(),l=!1}})}function La(e){let t;return hn(e,r=>t=r)(),t}let Dr=Symbol("unmounted");function Ra(e,t,r){const n=r[t]??={store:null,source:on(void 0),unsubscribe:$e};if(n.store!==e&&!(Dr in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=$e;else{var i=!0;n.unsubscribe=hn(e,s=>{i?n.source.v=s:ce(n.source,s)}),i=!1}return e&&Dr in r?La(e):G(n.source)}function Da(){const e={};function t(){yi(()=>{for(var r in e)e[r].unsubscribe();ct(e,Dr,{enumerable:!1,value:!0})})}return[e,t]}function Re(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=o());var l;l=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var u=!1,f=rn(()=>(u=!1,l())),h=$;return function(c,p){if(arguments.length>0){const d=p?G(f):c;return ce(f,d),u=!0,i!==void 0&&(i=d),c}return Ue&&u||h.f&Y?f.v:G(f)}}function ka(e){return new Fa(e)}class Fa{#e;#r;constructor(t){var r=new Map,n=(s,o)=>{var a=on(o,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return G(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Ts?!0:(G(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,a){return ce(r.get(o)??n(o,a),a),Reflect.set(s,o,a)}});this.#r=(t.hydrate?Ea:Di)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Oe(),this.#e=i.$$events;for(const s of Object.keys(this.#r))s==="$set"||s==="$destroy"||s==="$on"||ct(this,s,{get(){return this.#r[s]},set(o){this.#r[s]=o},enumerable:!0});this.#r.$set=s=>{Object.assign(i,s)},this.#r.$destroy=()=>{xa(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...i)=>r.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#r.$destroy()}}let Fi;typeof HTMLElement=="function"&&(Fi=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return s=>{const o=un("slot");i!=="default"&&(o.name=i),Cr(s,o)}};var e=t;if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ga(this);for(const i of this.$$s)i in n&&(i==="default"&&!this.$$d.children?(this.$$d.children=t(i),r.default=!0):r[i]=t(i));for(const i of this.attributes){const s=this.$$g_p(i.name);s in this.$$d||(this.$$d[s]=Xt(s,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=ka({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=ea(()=>{Ei(()=>{this.$$r=!0;for(const i of Zt(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const s=Xt(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1})});for(const i in this.$$l)for(const s of this.$$l[i]){const o=this.$$c.$on(i,s);this.$$l_u.set(s,o)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Xt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Zt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Xt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ga(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Gi(e,t,r,n,i,s){let o=class extends Fi{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Zt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Zt(t).forEach(a=>{ct(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Xt(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var f=ut(u,a)?.get;f?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{ct(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}var Ua=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qa={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ua,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",a="minute",l="hour",u="day",f="week",h="month",c="quarter",p="year",d="date",y="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var m=["th","st","nd","rd"],v=E%100;return"["+E+(m[(v-20)%10]||m[v]||m[0])+"]"}},M=function(E,m,v){var _=String(E);return!_||_.length>=m?E:""+Array(m+1-_.length).join(v)+E},Q={s:M,z:function(E){var m=-E.utcOffset(),v=Math.abs(m),_=Math.floor(v/60),g=v%60;return(m<=0?"+":"-")+M(_,2,"0")+":"+M(g,2,"0")},m:function E(m,v){if(m.date()<v.date())return-E(v,m);var _=12*(v.year()-m.year())+(v.month()-m.month()),g=m.clone().add(_,h),w=v-g<0,S=m.clone().add(_+(w?-1:1),h);return+(-(_+(v-g)/(w?g-S:S-g))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:h,y:p,w:f,d:u,D:d,h:l,m:a,s:o,ms:s,Q:c}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},P="en",R={};R[P]=T;var ie="$isDayjsObject",V=function(E){return E instanceof Ie||!(!E||!E[ie])},he=function E(m,v,_){var g;if(!m)return P;if(typeof m=="string"){var w=m.toLowerCase();R[w]&&(g=w),v&&(R[w]=v,g=w);var S=m.split("-");if(!g&&S.length>1)return E(S[0])}else{var C=m.name;R[C]=m,g=C}return!_&&g&&(P=g),g||!_&&P},I=function(E,m){if(V(E))return E.clone();var v=typeof m=="object"?m:{};return v.date=E,v.args=arguments,new Ie(v)},x=Q;x.l=he,x.i=V,x.w=function(E,m){return I(E,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var Ie=function(){function E(v){this.$L=he(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[ie]=!0}var m=E.prototype;return m.parse=function(v){this.$d=function(_){var g=_.date,w=_.utc;if(g===null)return new Date(NaN);if(x.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(B);if(S){var C=S[2]-1||0,j=(S[7]||"0").substring(0,3);return w?new Date(Date.UTC(S[1],C,S[3]||1,S[4]||0,S[5]||0,S[6]||0,j)):new Date(S[1],C,S[3]||1,S[4]||0,S[5]||0,S[6]||0,j)}}return new Date(g)}(v),this.init()},m.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},m.$utils=function(){return x},m.isValid=function(){return this.$d.toString()!==y},m.isSame=function(v,_){var g=I(v);return this.startOf(_)<=g&&g<=this.endOf(_)},m.isAfter=function(v,_){return I(v)<this.startOf(_)},m.isBefore=function(v,_){return this.endOf(_)<I(v)},m.$g=function(v,_,g){return x.u(v)?this[_]:this.set(g,v)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(v,_){var g=this,w=!!x.u(_)||_,S=x.p(v),C=function(qe,te){var Ce=x.w(g.$u?Date.UTC(g.$y,te,qe):new Date(g.$y,te,qe),g);return w?Ce:Ce.endOf(u)},j=function(qe,te){return x.w(g.toDate()[qe].apply(g.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(te)),g)},X=this.$W,Z=this.$M,se=this.$D,nt="set"+(this.$u?"UTC":"");switch(S){case p:return w?C(1,0):C(31,11);case h:return w?C(1,Z):C(0,Z+1);case f:var je=this.$locale().weekStart||0,Tt=(X<je?X+7:X)-je;return C(w?se-Tt:se+(6-Tt),Z);case u:case d:return j(nt+"Hours",0);case l:return j(nt+"Minutes",1);case a:return j(nt+"Seconds",2);case o:return j(nt+"Milliseconds",3);default:return this.clone()}},m.endOf=function(v){return this.startOf(v,!1)},m.$set=function(v,_){var g,w=x.p(v),S="set"+(this.$u?"UTC":""),C=(g={},g[u]=S+"Date",g[d]=S+"Date",g[h]=S+"Month",g[p]=S+"FullYear",g[l]=S+"Hours",g[a]=S+"Minutes",g[o]=S+"Seconds",g[s]=S+"Milliseconds",g)[w],j=w===u?this.$D+(_-this.$W):_;if(w===h||w===p){var X=this.clone().set(d,1);X.$d[C](j),X.init(),this.$d=X.set(d,Math.min(this.$D,X.daysInMonth())).$d}else C&&this.$d[C](j);return this.init(),this},m.set=function(v,_){return this.clone().$set(v,_)},m.get=function(v){return this[x.p(v)]()},m.add=function(v,_){var g,w=this;v=Number(v);var S=x.p(_),C=function(Z){var se=I(w);return x.w(se.date(se.date()+Math.round(Z*v)),w)};if(S===h)return this.set(h,this.$M+v);if(S===p)return this.set(p,this.$y+v);if(S===u)return C(1);if(S===f)return C(7);var j=(g={},g[a]=n,g[l]=i,g[o]=r,g)[S]||1,X=this.$d.getTime()+v*j;return x.w(X,this)},m.subtract=function(v,_){return this.add(-1*v,_)},m.format=function(v){var _=this,g=this.$locale();if(!this.isValid())return g.invalidDate||y;var w=v||"YYYY-MM-DDTHH:mm:ssZ",S=x.z(this),C=this.$H,j=this.$m,X=this.$M,Z=g.weekdays,se=g.months,nt=g.meridiem,je=function(te,Ce,At,qt){return te&&(te[Ce]||te(_,w))||At[Ce].slice(0,qt)},Tt=function(te){return x.s(C%12||12,te,"0")},qe=nt||function(te,Ce,At){var qt=te<12?"AM":"PM";return At?qt.toLowerCase():qt};return w.replace(b,function(te,Ce){return Ce||function(At){switch(At){case"YY":return String(_.$y).slice(-2);case"YYYY":return x.s(_.$y,4,"0");case"M":return X+1;case"MM":return x.s(X+1,2,"0");case"MMM":return je(g.monthsShort,X,se,3);case"MMMM":return je(se,X);case"D":return _.$D;case"DD":return x.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return je(g.weekdaysMin,_.$W,Z,2);case"ddd":return je(g.weekdaysShort,_.$W,Z,3);case"dddd":return Z[_.$W];case"H":return String(C);case"HH":return x.s(C,2,"0");case"h":return Tt(1);case"hh":return Tt(2);case"a":return qe(C,j,!0);case"A":return qe(C,j,!1);case"m":return String(j);case"mm":return x.s(j,2,"0");case"s":return String(_.$s);case"ss":return x.s(_.$s,2,"0");case"SSS":return x.s(_.$ms,3,"0");case"Z":return S}return null}(te)||S.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(v,_,g){var w,S=this,C=x.p(_),j=I(v),X=(j.utcOffset()-this.utcOffset())*n,Z=this-j,se=function(){return x.m(S,j)};switch(C){case p:w=se()/12;break;case h:w=se();break;case c:w=se()/3;break;case f:w=(Z-X)/6048e5;break;case u:w=(Z-X)/864e5;break;case l:w=Z/i;break;case a:w=Z/n;break;case o:w=Z/r;break;default:w=Z}return g?w:x.a(w)},m.daysInMonth=function(){return this.endOf(h).$D},m.$locale=function(){return R[this.$L]},m.locale=function(v,_){if(!v)return this.$L;var g=this.clone(),w=he(v,_,!0);return w&&(g.$L=w),g},m.clone=function(){return x.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},E}(),rt=Ie.prototype;return I.prototype=rt,[["$ms",s],["$s",o],["$m",a],["$H",l],["$W",u],["$M",h],["$y",p],["$D",d]].forEach(function(E){rt[E[1]]=function(m){return this.$g(m,E[0],E[1])}}),I.extend=function(E,m){return E.$i||(E(m,Ie,I),E.$i=!0),I},I.locale=he,I.isDayjs=V,I.unix=function(E){return I(1e3*E)},I.en=R[P],I.Ls=R,I.p={},I})})(qa);var Va=function(t){return za(t)&&!Wa(t)};function za(e){return!!e&&typeof e=="object"}function Wa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ya(e)}var Xa=typeof Symbol=="function"&&Symbol.for,Qa=Xa?Symbol.for("react.element"):60103;function Ya(e){return e.$$typeof===Qa}function Za(e){return Array.isArray(e)?[]:{}}function kt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_t(Za(e),e,t):e}function Ja(e,t,r){return e.concat(t).map(function(n){return kt(n,r)})}function Ka(e,t){if(!t.customMerge)return _t;var r=t.customMerge(e);return typeof r=="function"?r:_t}function eo(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Bn(e){return Object.keys(e).concat(eo(e))}function Ui(e,t){try{return t in e}catch{return!1}}function to(e,t){return Ui(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ro(e,t,r){var n={};return r.isMergeableObject(e)&&Bn(e).forEach(function(i){n[i]=kt(e[i],r)}),Bn(t).forEach(function(i){to(e,i)||(Ui(e,i)&&r.isMergeableObject(t[i])?n[i]=Ka(i,r)(e[i],t[i],r):n[i]=kt(t[i],r))}),n}function _t(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ja,r.isMergeableObject=r.isMergeableObject||Va,r.cloneUnlessOtherwiseSpecified=kt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):ro(e,t,r):kt(t,r)}_t.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return _t(n,i,r)},{})};var no=_t,io=no;const so=ja(io);var kr=function(e,t){return kr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},kr(e,t)};function hr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");kr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ye=function(){return ye=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},ye.apply(this,arguments)};function ao(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function yr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Er(e,t){var r=t&&t.cache?t.cache:po,n=t&&t.serializer?t.serializer:ho,i=t&&t.strategy?t.strategy:lo;return i(e,{cache:r,serializer:n})}function oo(e){return e==null||typeof e=="number"||typeof e=="boolean"}function uo(e,t,r,n){var i=oo(n)?n:r(n),s=t.get(i);return typeof s>"u"&&(s=e.call(this,n),t.set(i,s)),s}function ji(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s>"u"&&(s=e.apply(this,n),t.set(i,s)),s}function qi(e,t,r,n,i){return r.bind(t,e,n,i)}function lo(e,t){var r=e.length===1?uo:ji;return qi(e,this,r,t.cache.create(),t.serializer)}function fo(e,t){return qi(e,this,ji,t.cache.create(),t.serializer)}var ho=function(){return JSON.stringify(arguments)},co=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),po={create:function(){return new co}},xr={variadic:fo},nr=function(){return nr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},nr.apply(this,arguments)};var A;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(A||(A={}));var D;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(D||(D={}));var bt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(bt||(bt={}));function Mn(e){return e.type===D.literal}function vo(e){return e.type===D.argument}function Vi(e){return e.type===D.number}function zi(e){return e.type===D.date}function Wi(e){return e.type===D.time}function Xi(e){return e.type===D.select}function Qi(e){return e.type===D.plural}function mo(e){return e.type===D.pound}function Yi(e){return e.type===D.tag}function Zi(e){return!!(e&&typeof e=="object"&&e.type===bt.number)}function Fr(e){return!!(e&&typeof e=="object"&&e.type===bt.dateTime)}var Ji=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,go=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function _o(e){var t={};return e.replace(go,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var F=function(){return F=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},F.apply(this,arguments)};var bo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function yo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(bo).filter(function(c){return c.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],o=s.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var a=o[0],l=o.slice(1),u=0,f=l;u<f.length;u++){var h=f[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:l})}return r}function Eo(e){return e.replace(/^(.*?)-/,"")}var Pn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ki=/^(@+)?(\+|#+)?[rs]?$/g,xo=/(\*)(0+)|(#+)(0+)|(0+)/g,es=/^(0+)$/;function In(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ki,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function ts(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function wo(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!es.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Cn(e){var t={},r=ts(e);return r||t}function So(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Eo(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=F(F(F({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return F(F({},l),Cn(u))},{}));continue;case"engineering":t=F(F(F({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return F(F({},l),Cn(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(xo,function(l,u,f,h,c,p){if(u)t.minimumIntegerDigits=f.length;else{if(h&&c)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(es.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Pn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pn,function(l,u,f,h,c,p){return f==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:c&&p?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=F(F({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=F(F({},t),In(s)));continue}if(Ki.test(i.stem)){t=F(F({},t),In(i.stem));continue}var o=ts(i.stem);o&&(t=F(F({},t),o));var a=wo(i.stem);a&&(t=F(F({},t),a))}return t}var zt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function To(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var o=1+(s&1),a=s<2?1:3+(s>>1),l="a",u=Ao(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;o-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Ao(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=zt[n||""]||zt[r||""]||zt["".concat(r,"-001")]||zt["001"];return i[0]}var wr,No=new RegExp("^".concat(Ji.source,"*")),Ho=new RegExp("".concat(Ji.source,"*$"));function N(e,t){return{start:e,end:t}}var Oo=!!String.prototype.startsWith&&"_a".startsWith("a",1),$o=!!String.fromCodePoint,Bo=!!Object.fromEntries,Mo=!!String.prototype.codePointAt,Po=!!String.prototype.trimStart,Io=!!String.prototype.trimEnd,Co=!!Number.isSafeInteger,Lo=Co?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gr=!0;try{var Ro=ns("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gr=((wr=Ro.exec("a"))===null||wr===void 0?void 0:wr[0])==="a"}catch{Gr=!1}var Ln=Oo?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ur=$o?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,o;i>s;){if(o=t[s++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Rn=Bo?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],o=s[0],a=s[1];r[o]=a}return r},rs=Mo?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Do=Po?function(t){return t.trimStart()}:function(t){return t.replace(No,"")},ko=Io?function(t){return t.trimEnd()}:function(t){return t.replace(Ho,"")};function ns(e,t){return new RegExp(e,t)}var jr;if(Gr){var Dn=ns("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");jr=function(t,r){var n;Dn.lastIndex=r;var i=Dn.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else jr=function(t,r){for(var n=[];;){var i=rs(t,r);if(i===void 0||is(i)||jo(i))break;n.push(i),r+=i>=65536?2:1}return Ur.apply(void 0,n)};var Fo=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:D.pound,location:N(a,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(A.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&qr(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:D.literal,value:"<".concat(i,"/>"),location:N(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var o=s.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!qr(this.char()))return this.error(A.INVALID_TAG,N(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(A.UNMATCHED_CLOSING_TAG,N(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:i,children:o,location:N(n,this.clonePosition())},err:null}:this.error(A.INVALID_TAG,N(a,this.clonePosition())))}else return this.error(A.UNCLOSED_TAG,N(n,this.clonePosition()))}else return this.error(A.INVALID_TAG,N(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Uo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=N(n,this.clonePosition());return{val:{type:D.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Go(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Ur.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Ur(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(A.EMPTY_ARGUMENT,N(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(A.MALFORMED_ARGUMENT,N(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:i,location:N(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(A.MALFORMED_ARGUMENT,N(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=jr(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),o=N(t,s);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(A.EXPECT_ARGUMENT_TYPE,N(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var c=ko(h.val);if(c.length===0)return this.error(A.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));var p=N(f,this.clonePosition());u={style:c,styleLocation:p}}var d=this.tryParseArgumentClose(i);if(d.err)return d;var y=N(i,this.clonePosition());if(u&&Ln(u?.style,"::",0)){var B=Do(u.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(B,u.styleLocation);return h.err?h:{val:{type:D.number,value:n,location:y,style:h.val},err:null}}else{if(B.length===0)return this.error(A.EXPECT_DATE_TIME_SKELETON,y);var b=B;this.locale&&(b=To(B,this.locale));var c={type:bt.dateTime,pattern:b,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?_o(b):{}},T=a==="date"?D.date:D.time;return{val:{type:T,value:n,location:y,style:c},err:null}}}return{val:{type:a==="number"?D.number:a==="date"?D.date:D.time,value:n,location:y,style:(s=u?.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS,N(M,nr({},M)));this.bumpSpace();var Q=this.parseIdentifierIfPossible(),P=0;if(a!=="select"&&Q.value==="offset"){if(!this.bumpIf(":"))return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),Q=this.parseIdentifierIfPossible(),P=h.val}var R=this.tryParsePluralOrSelectOptions(t,a,r,Q);if(R.err)return R;var d=this.tryParseArgumentClose(i);if(d.err)return d;var ie=N(i,this.clonePosition());return a==="select"?{val:{type:D.select,value:n,options:Rn(R.val),location:ie},err:null}:{val:{type:D.plural,value:n,options:Rn(R.val),offset:P,pluralType:a==="plural"?"cardinal":"ordinal",location:ie},err:null}}default:return this.error(A.INVALID_ARGUMENT_TYPE,N(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=yo(t)}catch{return this.error(A.INVALID_NUMBER_SKELETON,r)}return{val:{type:bt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?So(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,o=!1,a=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR,A.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;f=N(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?A.DUPLICATE_SELECT_ARGUMENT_SELECTOR:A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(t+1,r,n);if(d.err)return d;var y=this.tryParseArgumentClose(p);if(y.err)return y;a.push([u,{value:d.val,location:N(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,f=s.location}return a.length===0?this.error(r==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR:A.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(A.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)s=!0,o=o*10+(a-48),this.bump();else break}var l=N(i,this.clonePosition());return s?(o*=n,Lo(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=rs(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ln(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&is(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function qr(e){return e>=97&&e<=122||e>=65&&e<=90}function Go(e){return qr(e)||e===47}function Uo(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function is(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function jo(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Vr(e){e.forEach(function(t){if(delete t.location,Xi(t)||Qi(t))for(var r in t.options)delete t.options[r].location,Vr(t.options[r].value);else Vi(t)&&Zi(t.style)||(zi(t)||Wi(t))&&Fr(t.style)?delete t.style.location:Yi(t)&&Vr(t.children)})}function qo(e,t){t===void 0&&(t={}),t=nr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Fo(e,t).parse();if(r.err){var n=SyntaxError(A[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Vr(r.val),r.val}var yt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(yt||(yt={}));var cr=function(e){hr(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),kn=function(e){hr(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),yt.INVALID_VALUE,s)||this}return t}(cr),Vo=function(e){hr(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),yt.INVALID_VALUE,i)||this}return t}(cr),zo=function(e){hr(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),yt.MISSING_VALUE,n)||this}return t}(cr),K;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(K||(K={}));function Wo(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==K.literal||r.type!==K.literal?t.push(r):n.value+=r.value,t},[])}function Xo(e){return typeof e=="function"}function Qt(e,t,r,n,i,s,o){if(e.length===1&&Mn(e[0]))return[{type:K.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var f=u[l];if(Mn(f)){a.push({type:K.literal,value:f.value});continue}if(mo(f)){typeof s=="number"&&a.push({type:K.literal,value:r.getNumberFormat(t).format(s)});continue}var h=f.value;if(!(i&&h in i))throw new zo(h,o);var c=i[h];if(vo(f)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),a.push({type:typeof c=="string"?K.literal:K.object,value:c});continue}if(zi(f)){var p=typeof f.style=="string"?n.date[f.style]:Fr(f.style)?f.style.parsedOptions:void 0;a.push({type:K.literal,value:r.getDateTimeFormat(t,p).format(c)});continue}if(Wi(f)){var p=typeof f.style=="string"?n.time[f.style]:Fr(f.style)?f.style.parsedOptions:n.time.medium;a.push({type:K.literal,value:r.getDateTimeFormat(t,p).format(c)});continue}if(Vi(f)){var p=typeof f.style=="string"?n.number[f.style]:Zi(f.style)?f.style.parsedOptions:void 0;p&&p.scale&&(c=c*(p.scale||1)),a.push({type:K.literal,value:r.getNumberFormat(t,p).format(c)});continue}if(Yi(f)){var d=f.children,y=f.value,B=i[y];if(!Xo(B))throw new Vo(y,"function",o);var b=Qt(d,t,r,n,i,s),T=B(b.map(function(P){return P.value}));Array.isArray(T)||(T=[T]),a.push.apply(a,T.map(function(P){return{type:typeof P=="string"?K.literal:K.object,value:P}}))}if(Xi(f)){var M=f.options[c]||f.options.other;if(!M)throw new kn(f.value,c,Object.keys(f.options),o);a.push.apply(a,Qt(M.value,t,r,n,i));continue}if(Qi(f)){var M=f.options["=".concat(c)];if(!M){if(!Intl.PluralRules)throw new cr(`Intl.PluralRules is not available in this environment.
4
+ Try polyfilling it using "@formatjs/intl-pluralrules"
5
+ `,yt.MISSING_INTL_API,o);var Q=r.getPluralRules(t,{type:f.pluralType}).select(c-(f.offset||0));M=f.options[Q]||f.options.other}if(!M)throw new kn(f.value,c,Object.keys(f.options),o);a.push.apply(a,Qt(M.value,t,r,n,i,c-(f.offset||0)));continue}}return Wo(a)}function Qo(e,t){return t?ye(ye(ye({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ye(ye({},e[n]),t[n]||{}),r},{})):e}function Yo(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Qo(e[n],t[n]),r},ye({},e)):e}function Sr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Zo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.number),strategy:xr.variadic}),getDateTimeFormat:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.dateTime),strategy:xr.variadic}),getPluralRules:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.pluralRules),strategy:xr.variadic})}}var Jo=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(h,c){return!h.length||c.type!==K.literal||typeof h[h.length-1]!="string"?h.push(c.value):h[h.length-1]+=c.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return Qt(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var a=ao(o,["formatters"]);this.ast=e.__parse(t,ye(ye({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Yo(e.formats,n),this.formatters=i&&i.formatters||Zo(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=qo,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ko(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const De={},eu=(e,t,r)=>r&&(t in De||(De[t]={}),e in De[t]||(De[t][e]=r),r),ss=(e,t)=>{if(t==null)return;if(t in De&&e in De[t])return De[t][e];const r=dr(t);for(let n=0;n<r.length;n++){const i=r[n],s=ru(i,e);if(s)return eu(e,t,s)}};let cn;const wt=fr({});function tu(e){return cn[e]||null}function as(e){return e in cn}function ru(e,t){if(!as(e))return null;const r=tu(e);return Ko(r,t)}function nu(e){if(e==null)return;const t=dr(e);for(let r=0;r<t.length;r++){const n=t[r];if(as(n))return n}}function os(e,...t){delete De[e],wt.update(r=>(r[e]=so.all([r[e]||{},...t]),r))}xt([wt],([e])=>Object.keys(e));wt.subscribe(e=>cn=e);const Yt={};function iu(e,t){Yt[e].delete(t),Yt[e].size===0&&delete Yt[e]}function us(e){return Yt[e]}function su(e){return dr(e).map(t=>{const r=us(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function zr(e){return e==null?!1:dr(e).some(t=>{var r;return(r=us(t))==null?void 0:r.size})}function au(e,t){return Promise.all(t.map(n=>(iu(e,n),n().then(i=>i.default||i)))).then(n=>os(e,...n))}const Ht={};function ls(e){if(!zr(e))return e in Ht?Ht[e]:Promise.resolve();const t=su(e);return Ht[e]=Promise.all(t.map(([r,n])=>au(r,n))).then(()=>{if(zr(e))return ls(e);delete Ht[e]}),Ht[e]}const ou={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},uu={fallbackLocale:null,loadingDelay:200,formats:ou,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},lu=uu;function Et(){return lu}const Tr=fr(!1);var fu=Object.defineProperty,hu=Object.defineProperties,cu=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,pu=Object.prototype.propertyIsEnumerable,Gn=(e,t,r)=>t in e?fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vu=(e,t)=>{for(var r in t||(t={}))du.call(t,r)&&Gn(e,r,t[r]);if(Fn)for(var r of Fn(t))pu.call(t,r)&&Gn(e,r,t[r]);return e},mu=(e,t)=>hu(e,cu(t));let Wr;const ir=fr(null);function Un(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function dr(e,t=Et().fallbackLocale){const r=Un(e);return t?[...new Set([...r,...Un(t)])]:r}function tt(){return Wr??void 0}ir.subscribe(e=>{Wr=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const gu=e=>{if(e&&nu(e)&&zr(e)){const{loadingDelay:t}=Et();let r;return typeof window<"u"&&tt()!=null&&t?r=window.setTimeout(()=>Tr.set(!0),t):Tr.set(!0),ls(e).then(()=>{ir.set(e)}).finally(()=>{clearTimeout(r),Tr.set(!1)})}return ir.set(e)},Je=mu(vu({},ir),{set:gu}),pr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var _u=Object.defineProperty,sr=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,jn=(e,t,r)=>t in e?_u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dn=(e,t)=>{for(var r in t||(t={}))fs.call(t,r)&&jn(e,r,t[r]);if(sr)for(var r of sr(t))hs.call(t,r)&&jn(e,r,t[r]);return e},St=(e,t)=>{var r={};for(var n in e)fs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&sr)for(var n of sr(e))t.indexOf(n)<0&&hs.call(e,n)&&(r[n]=e[n]);return r};const Ft=(e,t)=>{const{formats:r}=Et();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},bu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Ft("number",n)),new Intl.NumberFormat(r,i)}),yu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Ft("date",n):Object.keys(i).length===0&&(i=Ft("date","short")),new Intl.DateTimeFormat(r,i)}),Eu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Ft("time",n):Object.keys(i).length===0&&(i=Ft("time","short")),new Intl.DateTimeFormat(r,i)}),xu=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return bu(dn({locale:r},n))},wu=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return yu(dn({locale:r},n))},Su=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return Eu(dn({locale:r},n))},Tu=pr((e,t=tt())=>new Jo(e,t,Et().formats,{ignoreTag:Et().ignoreTag})),Au=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=tt(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ss(e,l);if(!f)f=(s=(i=(n=(r=Et()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!a)return f;let h=f;try{h=Tu(f,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return h},Nu=(e,t)=>Su(t).format(e),Hu=(e,t)=>wu(t).format(e),Ou=(e,t)=>xu(t).format(e),$u=(e,t=tt())=>ss(e,t),Bu=xt([Je,wt],()=>Au);xt([Je],()=>Nu);xt([Je],()=>Hu);xt([Je],()=>Ou);xt([Je,wt],()=>$u);function Mu({withLocale:e,translations:t}){Je.subscribe(r=>{r==null&&(wt.set(t),Je.set(e))})}function Pu(e,t){os(e,t)}const Iu={en:{faqBestQuestion:"Why is {operatorName}'s program the best?",faqBestAnswer:"{operatorName} offers a unique loyalty programme that rewards players with exclusive benefits, including 50 Free Spins automatically credited every Wednesday.",faqWinningsQuestion:"How can you increase your winnings at {operatorName}?",faqWinningsAnswer:"{operatorName} provides users with regular exclusive bonuses and promotions, giving them opportunities to boost their earnings.",faqGamesQuestion:"What variety of games does {operatorName} offer?",faqGamesAnswer:"{operatorName} caters to every type of player by offering a wide range of games, from slots to table games.",faqSupportQuestion:"How is {operatorName}'s customer service?",faqSupportAnswer:"{operatorName} offers 24/7 customer support, providing players with quick and effective solutions to any queries."},tr:{faqBestQuestion:"{operatorName} programı neden en iyisi?",faqBestAnswer:"{operatorName}, oyunculara her Çarşamba otomatik olarak tanımlanan 50 Ücretsiz Dönüş dahil olmak üzere özel avantajlar sunan benzersiz bir sadakat programı sunar.",faqWinningsQuestion:"{operatorName} ile kazançlarınızı nasıl artırabilirsiniz?",faqWinningsAnswer:"{operatorName}, kullanıcılarına düzenli olarak özel bonuslar ve promosyonlar sunarak kazançlarını artırma fırsatı verir.",faqGamesQuestion:"{operatorName} ne tür oyunlar sunuyor?",faqGamesAnswer:"{operatorName}, slotlardan masa oyunlarına kadar geniş bir oyun yelpazesi sunarak her tür oyuncuya hitap eder.",faqSupportQuestion:"{operatorName} müşteri hizmetleri nasıl?",faqSupportAnswer:"{operatorName}, 7/24 müşteri desteği sunarak oyunculara her türlü soruya hızlı ve etkili çözümler sağlar."},da:{faqBestQuestion:"Hvorfor er {operatorName}s program det bedste?",faqBestAnswer:"{operatorName} tilbyder et unikt loyalitetsprogram, der belønner spillere med eksklusive fordele, herunder 50 gratis spins, som automatisk bliver krediteret hver onsdag.",faqWinningsQuestion:"Hvordan kan du øge dine gevinster hos {operatorName}?",faqWinningsAnswer:"{operatorName} tilbyder regelmæssige eksklusive bonusser og kampagner, som giver brugerne mulighed for at øge deres gevinster.",faqGamesQuestion:"Hvilket udvalg af spil tilbyder {operatorName}?",faqGamesAnswer:"{operatorName} tilbyder et bredt udvalg af spil, fra spilleautomater til bordspil, så der er noget for enhver spiller.",faqSupportQuestion:"Hvordan er {operatorName}s kundeservice?",faqSupportAnswer:"{operatorName} tilbyder kundesupport døgnet rundt med hurtige og effektive løsninger på alle spørgsmål."},de:{faqBestQuestion:"Warum ist das Programm von {operatorName} das beste?",faqBestAnswer:"{operatorName} bietet ein einzigartiges Treueprogramm mit exklusiven Vorteilen, darunter 50 Freispiele, die jeden Mittwoch automatisch gutgeschrieben werden.",faqWinningsQuestion:"Wie können Sie Ihre Gewinne bei {operatorName} steigern?",faqWinningsAnswer:"{operatorName} bietet seinen Nutzern regelmäßig exklusive Boni und Aktionen, mit denen sie ihre Gewinne steigern können.",faqGamesQuestion:"Welche Spielauswahl bietet {operatorName}?",faqGamesAnswer:"{operatorName} bietet eine große Auswahl an Spielen – von Spielautomaten bis hin zu Tischspielen – und spricht damit jeden Spielertyp an.",faqSupportQuestion:"Wie ist der Kundenservice von {operatorName}?",faqSupportAnswer:"{operatorName} bietet rund um die Uhr Kundensupport und hilft Spielern schnell und zuverlässig bei allen Fragen."},nl:{faqBestQuestion:"Waarom is het programma van {operatorName} het beste?",faqBestAnswer:"{operatorName} biedt een uniek loyaliteitsprogramma met exclusieve voordelen, waaronder 50 gratis spins die elke woensdag automatisch worden toegekend.",faqWinningsQuestion:"Hoe kun je je winst vergroten bij {operatorName}?",faqWinningsAnswer:"{operatorName} biedt gebruikers regelmatig exclusieve bonussen en promoties om hun winstkansen te vergroten.",faqGamesQuestion:"Welke spellen biedt {operatorName} aan?",faqGamesAnswer:"{operatorName} biedt een breed aanbod aan spellen, van slots tot tafelspellen, zodat er voor iedere speler iets is.",faqSupportQuestion:"Hoe is de klantenservice van {operatorName}?",faqSupportAnswer:"{operatorName} biedt 24/7 klantenservice met snelle en effectieve oplossingen voor al je vragen."},fr:{faqBestQuestion:"Pourquoi le programme de {operatorName} est-il le meilleur ?",faqBestAnswer:"{operatorName} propose un programme de fidélité unique offrant des avantages exclusifs, dont 50 tours gratuits crédités automatiquement chaque mercredi.",faqWinningsQuestion:"Comment augmenter vos gains chez {operatorName} ?",faqWinningsAnswer:"{operatorName} propose régulièrement des bonus et promotions exclusifs permettant aux joueurs d’augmenter leurs gains.",faqGamesQuestion:"Quelle variété de jeux propose {operatorName} ?",faqGamesAnswer:"{operatorName} propose un large choix de jeux, des machines à sous aux jeux de table, pour satisfaire tous les types de joueurs.",faqSupportQuestion:"Comment est le service client de {operatorName} ?",faqSupportAnswer:"{operatorName} propose un service client disponible 24h/24 et 7j/7, avec des réponses rapides et efficaces à toutes vos questions."},hu:{faqBestQuestion:"Miért a {operatorName} programja a legjobb?",faqBestAnswer:"A {operatorName} egyedülálló hűségprogramot kínál exkluzív előnyökkel, köztük minden szerdán automatikusan jóváírt 50 ingyenes pörgetéssel.",faqWinningsQuestion:"Hogyan növelheted a nyereményeidet a {operatorName} oldalon?",faqWinningsAnswer:"A {operatorName} rendszeresen exkluzív bónuszokat és promóciókat kínál, amelyek segítenek növelni a nyerési lehetőségeket.",faqGamesQuestion:"Milyen játékokat kínál a {operatorName}?",faqGamesAnswer:"A {operatorName} a nyerőgépektől az asztali játékokig széles játékválasztékot kínál, így minden játékos megtalálhatja a kedvencét.",faqSupportQuestion:"Milyen a {operatorName} ügyfélszolgálata?",faqSupportAnswer:"A {operatorName} a hét minden napján, 24 órában elérhető ügyfélszolgálatot biztosít gyors és hatékony segítséggel."}};var Cu=Ri('<div class="faq__item svelte-tlosd8"><button class="faq__title svelte-tlosd8" type="button"><span class="faq__question svelte-tlosd8"> </span> <span><svg width="16" height="16" viewBox="0 0 16 16" fill="none" class="svelte-tlosd8"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" class="svelte-tlosd8"></path></svg></span></button> <div><div class="faq__answer svelte-tlosd8"> </div></div></div>'),Lu=Ri('<div class="faq svelte-tlosd8"><div class="faq__list svelte-tlosd8"></div></div>');const Ru={hash:"svelte-tlosd8",code:`.faq.svelte-tlosd8 {color:var(--text-default, #FFFFFF);width:100%;box-sizing:border-box;}.faq__list.svelte-tlosd8 {display:flex;flex-direction:column;gap:12px;}.faq__item.svelte-tlosd8 {background:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));overflow:hidden;padding:16px;}.faq__title.svelte-tlosd8 {width:100%;display:flex;justify-content:space-between;align-items:flex-start;background:transparent;color:var(--text-default, #FFFFFF);font-size:12px;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;border:none;padding:0;}.faq__title.svelte-tlosd8:hover {background:transparent;}.faq__title.svelte-tlosd8,
6
+ .faq__title.svelte-tlosd8 :where(.svelte-tlosd8) {-webkit-tap-highlight-color:transparent;}.faq__question.svelte-tlosd8 {text-align:left;}.faq__icon.svelte-tlosd8 {flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--text-default, #FFFFFF);transition:transform 0.25s ease;}.faq__icon--open.svelte-tlosd8 {transform:rotate(180deg);}.faq__answer-wrapper.svelte-tlosd8 {display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);transition:grid-template-rows 0.35s ease,
7
+ opacity 0.2s ease,
8
+ transform 0.25s ease;}.faq__answer.svelte-tlosd8 {overflow:hidden;font-size:12px;font-weight:500;line-height:1.5;color:var(--text-subtle, #DFE3E8);}.faq__answer-wrapper.open.svelte-tlosd8 {grid-template-rows:1fr;opacity:1;transform:translateY(0);padding-top:16px;}`};function pn(e,t){Kr(t,!0),Ha(e,Ru);const r=()=>Ra(Bu,"$_",n),[n,i]=Da(),s=Re(t,"apiEndpoint",7,""),o=Re(t,"operatorName",7,""),a=Re(t,"locale",7,"en"),l=Re(t,"isExpanded",7,!0),u=l()===!0||l()==="true",f=[{questionKey:"faqBestQuestion",answerKey:"faqBestAnswer"},{questionKey:"faqWinningsQuestion",answerKey:"faqWinningsAnswer"},{questionKey:"faqGamesQuestion",answerKey:"faqGamesAnswer"},{questionKey:"faqSupportQuestion",answerKey:"faqSupportAnswer"}];Mu({withLocale:a(),translations:{}}),Object.entries(Iu).forEach(([b,T])=>{Pu(b,T)});let h=Ae(ot(Object.fromEntries(f.map((b,T)=>[T,u]))));const c=b=>{ce(h,{...G(h),[b]:!G(h)[b]},!0)};var p={get apiEndpoint(){return s()},set apiEndpoint(b=""){s(b),Oe()},get operatorName(){return o()},set operatorName(b=""){o(b),Oe()},get locale(){return a()},set locale(b="en"){a(b),Oe()},get isExpanded(){return l()},set isExpanded(b=!0){l(b),Oe()}},d=Lu(),y=$t(d);Ta(y,21,()=>f,wa,(b,T,M)=>{var Q=Cu(),P=$t(Q),R=$t(P),ie=yn(R,!0),V=En(R,2);let he;at(P);var I=En(P,2);let x;var Ie=$t(I),rt=yn(Ie,!0);at(I),at(Q),ia((E,m)=>{Ma(P,"aria-expanded",!!G(h)[M]),An(ie,E),he=On(V,1,"faq__icon svelte-tlosd8",null,he,{"faq__icon--open":G(h)[M]}),x=On(I,1,"faq__answer-wrapper svelte-tlosd8",null,x,{open:G(h)[M]}),An(rt,m)},[()=>r()(G(T).questionKey,{values:{operatorName:o()}}),()=>r()(G(T).answerKey,{values:{operatorName:o()}})]),fa("click",P,()=>c(M)),Cr(b,Q)}),at(y),at(d),Cr(e,d);var B=en(p);return i(),B}ha(["click"]);Gi(pn,{apiEndpoint:{},operatorName:{},locale:{},isExpanded:{}},[],[],{mode:"open"});function cs(e,t){Kr(t,!0);let r=Re(t,"apiEndpoint",7,""),n=Re(t,"operatorName",7,""),i=Re(t,"locale",7,"en"),s=Re(t,"isExpanded",7,!0);var o={get apiEndpoint(){return r()},set apiEndpoint(a=""){r(a),Oe()},get operatorName(){return n()},set operatorName(a=""){n(a),Oe()},get locale(){return i()},set locale(a="en"){i(a),Oe()},get isExpanded(){return s()},set isExpanded(a=!0){s(a),Oe()}};return pn(e,{get apiEndpoint(){return r()},get operatorName(){return n()},get locale(){return i()},get isExpanded(){return s()}}),en(o)}customElements.define("loyalty-marketing-content",Gi(cs,{apiEndpoint:{},operatorName:{},locale:{},isExpanded:{}},[],[]));const Du=Object.freeze(Object.defineProperty({__proto__:null,default:cs},Symbol.toStringTag,{value:"Module"}));exports.LoyaltyMarketingContent=pn;exports.LoyaltyMarketingContent_ce=Du;