@retailrocketgroup/retailrocket-create.multicast-vue-email-template-render 1.0.345112-dev
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.
- package/assets/index.create.multicast.css +1 -0
- package/assets/main.js +82 -0
- package/favicon.ico +0 -0
- package/index.html +36 -0
- package/package.json +5 -0
package/assets/main.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();/**
|
|
2
|
+
* @vue/shared v3.5.12
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Fd(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ht={},Ki=[],_r=()=>{},E1=()=>!1,Tu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$d=e=>e.startsWith("onUpdate:"),qt=Object.assign,Wd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},v1=Object.prototype.hasOwnProperty,et=(e,t)=>v1.call(e,t),xe=Array.isArray,zi=e=>wu(e)==="[object Map]",VE=e=>wu(e)==="[object Set]",Oe=e=>typeof e=="function",Lt=e=>typeof e=="string",lo=e=>typeof e=="symbol",bt=e=>e!==null&&typeof e=="object",GE=e=>(bt(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),jE=Object.prototype.toString,wu=e=>jE.call(e),y1=e=>wu(e).slice(8,-1),YE=e=>wu(e)==="[object Object]",Hd=e=>Lt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qs=Fd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Au=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b1=/-(\w)/g,rr=Au(e=>e.replace(b1,(t,n)=>n?n.toUpperCase():"")),C1=/\B([A-Z])/g,pi=Au(e=>e.replace(C1,"-$1").toLowerCase()),Su=Au(e=>e.charAt(0).toUpperCase()+e.slice(1)),_f=Au(e=>e?`on${Su(e)}`:""),xo=(e,t)=>!Object.is(e,t),Ef=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},KE=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},T1=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let lg;const xu=()=>lg||(lg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ae(e){if(xe(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=Lt(o)?x1(o):Ae(o);if(s)for(const a in s)t[a]=s[a]}return t}else if(Lt(e)||bt(e))return e}const w1=/;(?![^(]*\))/g,A1=/:([^]+)/,S1=/\/\*[^]*?\*\//g;function x1(e){const t={};return e.replace(S1,"").split(w1).forEach(n=>{if(n){const o=n.split(A1);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function pr(e){let t="";if(Lt(e))t=e;else if(xe(e))for(let n=0;n<e.length;n++){const o=pr(e[n]);o&&(t+=o+" ")}else if(bt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const L1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",I1=Fd(L1);function zE(e){return!!e||e===""}const qE=e=>!!(e&&e.__v_isRef===!0),Ud=e=>Lt(e)?e:e==null?"":xe(e)||bt(e)&&(e.toString===jE||!Oe(e.toString))?qE(e)?Ud(e.value):JSON.stringify(e,XE,2):String(e),XE=(e,t)=>qE(t)?XE(e,t.value):zi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],a)=>(n[vf(o,a)+" =>"]=s,n),{})}:VE(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>vf(n))}:lo(t)?vf(t):bt(t)&&!xe(t)&&!YE(t)?String(t):t,vf=(e,t="")=>{var n;return lo(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.12
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let En;class JE{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=En,!t&&En&&(this.index=(En.scopes||(En.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=En;try{return En=this,t()}finally{En=n}}}on(){En=this}off(){En=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function ZE(e){return new JE(e)}function O1(){return En}function R1(e,t=!1){En&&En.cleanups.push(e)}let _t;const yf=new WeakSet;class QE{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,En&&En.active&&En.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,yf.has(this)&&(yf.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||tv(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ug(this),nv(this);const t=_t,n=Er;_t=this,Er=!0;try{return this.fn()}finally{rv(this),_t=t,Er=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)jd(t);this.deps=this.depsTail=void 0,ug(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?yf.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ed(this)&&this.run()}get dirty(){return ed(this)}}let ev=0,ea,ta;function tv(e,t=!1){if(e.flags|=8,t){e.next=ta,ta=e;return}e.next=ea,ea=e}function Vd(){ev++}function Gd(){if(--ev>0)return;if(ta){let t=ta;for(ta=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ea;){let t=ea;for(ea=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function nv(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function rv(e){let t,n=e.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),jd(o),P1(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=n}function ed(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ov(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ov(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ua))return;e.globalVersion=ua;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ed(e)){e.flags&=-3;return}const n=_t,o=Er;_t=e,Er=!0;try{nv(e);const s=e.fn(e._value);(t.version===0||xo(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{_t=n,Er=o,rv(e),e.flags&=-3}}function jd(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)jd(a,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function P1(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Er=!0;const iv=[];function Mo(){iv.push(Er),Er=!1}function Bo(){const e=iv.pop();Er=e===void 0?!0:e}function ug(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_t;_t=void 0;try{t()}finally{_t=n}}}let ua=0;class N1{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Yd{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!_t||!Er||_t===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_t)n=this.activeLink=new N1(_t,this),_t.deps?(n.prevDep=_t.depsTail,_t.depsTail.nextDep=n,_t.depsTail=n):_t.deps=_t.depsTail=n,sv(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=_t.depsTail,n.nextDep=void 0,_t.depsTail.nextDep=n,_t.depsTail=n,_t.deps===n&&(_t.deps=o)}return n}trigger(t){this.version++,ua++,this.notify(t)}notify(t){Vd();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Gd()}}}function sv(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)sv(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const au=new WeakMap,ai=Symbol(""),td=Symbol(""),ca=Symbol("");function cn(e,t,n){if(Er&&_t){let o=au.get(e);o||au.set(e,o=new Map);let s=o.get(n);s||(o.set(n,s=new Yd),s.map=o,s.key=n),s.track()}}function Zr(e,t,n,o,s,a){const l=au.get(e);if(!l){ua++;return}const c=d=>{d&&d.trigger()};if(Vd(),t==="clear")l.forEach(c);else{const d=xe(e),m=d&&Hd(n);if(d&&n==="length"){const p=Number(o);l.forEach((E,C)=>{(C==="length"||C===ca||!lo(C)&&C>=p)&&c(E)})}else switch((n!==void 0||l.has(void 0))&&c(l.get(n)),m&&c(l.get(ca)),t){case"add":d?m&&c(l.get("length")):(c(l.get(ai)),zi(e)&&c(l.get(td)));break;case"delete":d||(c(l.get(ai)),zi(e)&&c(l.get(td)));break;case"set":zi(e)&&c(l.get(ai));break}}Gd()}function D1(e,t){const n=au.get(e);return n&&n.get(t)}function Ni(e){const t=Xe(e);return t===e?t:(cn(t,"iterate",ca),tr(e)?t:t.map(fn))}function Lu(e){return cn(e=Xe(e),"iterate",ca),e}const M1={__proto__:null,[Symbol.iterator](){return bf(this,Symbol.iterator,fn)},concat(...e){return Ni(this).concat(...e.map(t=>xe(t)?Ni(t):t))},entries(){return bf(this,"entries",e=>(e[1]=fn(e[1]),e))},every(e,t){return qr(this,"every",e,t,void 0,arguments)},filter(e,t){return qr(this,"filter",e,t,n=>n.map(fn),arguments)},find(e,t){return qr(this,"find",e,t,fn,arguments)},findIndex(e,t){return qr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qr(this,"findLast",e,t,fn,arguments)},findLastIndex(e,t){return qr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Cf(this,"includes",e)},indexOf(...e){return Cf(this,"indexOf",e)},join(e){return Ni(this).join(e)},lastIndexOf(...e){return Cf(this,"lastIndexOf",e)},map(e,t){return qr(this,"map",e,t,void 0,arguments)},pop(){return Vs(this,"pop")},push(...e){return Vs(this,"push",e)},reduce(e,...t){return cg(this,"reduce",e,t)},reduceRight(e,...t){return cg(this,"reduceRight",e,t)},shift(){return Vs(this,"shift")},some(e,t){return qr(this,"some",e,t,void 0,arguments)},splice(...e){return Vs(this,"splice",e)},toReversed(){return Ni(this).toReversed()},toSorted(e){return Ni(this).toSorted(e)},toSpliced(...e){return Ni(this).toSpliced(...e)},unshift(...e){return Vs(this,"unshift",e)},values(){return bf(this,"values",fn)}};function bf(e,t,n){const o=Lu(e),s=o[t]();return o!==e&&!tr(e)&&(s._next=s.next,s.next=()=>{const a=s._next();return a.value&&(a.value=n(a.value)),a}),s}const B1=Array.prototype;function qr(e,t,n,o,s,a){const l=Lu(e),c=l!==e&&!tr(e),d=l[t];if(d!==B1[t]){const E=d.apply(e,a);return c?fn(E):E}let m=n;l!==e&&(c?m=function(E,C){return n.call(this,fn(E),C,e)}:n.length>2&&(m=function(E,C){return n.call(this,E,C,e)}));const p=d.call(l,m,o);return c&&s?s(p):p}function cg(e,t,n,o){const s=Lu(e);let a=n;return s!==e&&(tr(e)?n.length>3&&(a=function(l,c,d){return n.call(this,l,c,d,e)}):a=function(l,c,d){return n.call(this,l,fn(c),d,e)}),s[t](a,...o)}function Cf(e,t,n){const o=Xe(e);cn(o,"iterate",ca);const s=o[t](...n);return(s===-1||s===!1)&&qd(n[0])?(n[0]=Xe(n[0]),o[t](...n)):s}function Vs(e,t,n=[]){Mo(),Vd();const o=Xe(e)[t].apply(e,n);return Gd(),Bo(),o}const k1=Fd("__proto__,__v_isRef,__isVue"),av=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lo));function F1(e){lo(e)||(e=String(e));const t=Xe(this);return cn(t,"has",e),t.hasOwnProperty(e)}class lv{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const s=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return a;if(n==="__v_raw")return o===(s?a?z1:dv:a?fv:cv).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=xe(t);if(!s){let d;if(l&&(d=M1[n]))return d;if(n==="hasOwnProperty")return F1}const c=Reflect.get(t,n,Mt(t)?t:o);return(lo(n)?av.has(n):k1(n))||(s||cn(t,"get",n),a)?c:Mt(c)?l&&Hd(n)?c:c.value:bt(c)?s?hv(c):dn(c):c}}class uv extends lv{constructor(t=!1){super(!1,t)}set(t,n,o,s){let a=t[n];if(!this._isShallow){const d=ci(a);if(!tr(o)&&!ci(o)&&(a=Xe(a),o=Xe(o)),!xe(t)&&Mt(a)&&!Mt(o))return d?!1:(a.value=o,!0)}const l=xe(t)&&Hd(n)?Number(n)<t.length:et(t,n),c=Reflect.set(t,n,o,Mt(t)?t:s);return t===Xe(s)&&(l?xo(o,a)&&Zr(t,"set",n,o):Zr(t,"add",n,o)),c}deleteProperty(t,n){const o=et(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&Zr(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!lo(n)||!av.has(n))&&cn(t,"has",n),o}ownKeys(t){return cn(t,"iterate",xe(t)?"length":ai),Reflect.ownKeys(t)}}class $1 extends lv{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const W1=new uv,H1=new $1,U1=new uv(!0);const nd=e=>e,Ol=e=>Reflect.getPrototypeOf(e);function V1(e,t,n){return function(...o){const s=this.__v_raw,a=Xe(s),l=zi(a),c=e==="entries"||e===Symbol.iterator&&l,d=e==="keys"&&l,m=s[e](...o),p=n?nd:t?rd:fn;return!t&&cn(a,"iterate",d?td:ai),{next(){const{value:E,done:C}=m.next();return C?{value:E,done:C}:{value:c?[p(E[0]),p(E[1])]:p(E),done:C}},[Symbol.iterator](){return this}}}}function Rl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function G1(e,t){const n={get(s){const a=this.__v_raw,l=Xe(a),c=Xe(s);e||(xo(s,c)&&cn(l,"get",s),cn(l,"get",c));const{has:d}=Ol(l),m=t?nd:e?rd:fn;if(d.call(l,s))return m(a.get(s));if(d.call(l,c))return m(a.get(c));a!==l&&a.get(s)},get size(){const s=this.__v_raw;return!e&&cn(Xe(s),"iterate",ai),Reflect.get(s,"size",s)},has(s){const a=this.__v_raw,l=Xe(a),c=Xe(s);return e||(xo(s,c)&&cn(l,"has",s),cn(l,"has",c)),s===c?a.has(s):a.has(s)||a.has(c)},forEach(s,a){const l=this,c=l.__v_raw,d=Xe(c),m=t?nd:e?rd:fn;return!e&&cn(d,"iterate",ai),c.forEach((p,E)=>s.call(a,m(p),m(E),l))}};return qt(n,e?{add:Rl("add"),set:Rl("set"),delete:Rl("delete"),clear:Rl("clear")}:{add(s){!t&&!tr(s)&&!ci(s)&&(s=Xe(s));const a=Xe(this);return Ol(a).has.call(a,s)||(a.add(s),Zr(a,"add",s,s)),this},set(s,a){!t&&!tr(a)&&!ci(a)&&(a=Xe(a));const l=Xe(this),{has:c,get:d}=Ol(l);let m=c.call(l,s);m||(s=Xe(s),m=c.call(l,s));const p=d.call(l,s);return l.set(s,a),m?xo(a,p)&&Zr(l,"set",s,a):Zr(l,"add",s,a),this},delete(s){const a=Xe(this),{has:l,get:c}=Ol(a);let d=l.call(a,s);d||(s=Xe(s),d=l.call(a,s)),c&&c.call(a,s);const m=a.delete(s);return d&&Zr(a,"delete",s,void 0),m},clear(){const s=Xe(this),a=s.size!==0,l=s.clear();return a&&Zr(s,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=V1(s,e,t)}),n}function Kd(e,t){const n=G1(e,t);return(o,s,a)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(et(n,s)&&s in o?n:o,s,a)}const j1={get:Kd(!1,!1)},Y1={get:Kd(!1,!0)},K1={get:Kd(!0,!1)};const cv=new WeakMap,fv=new WeakMap,dv=new WeakMap,z1=new WeakMap;function q1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function X1(e){return e.__v_skip||!Object.isExtensible(e)?0:q1(y1(e))}function dn(e){return ci(e)?e:zd(e,!1,W1,j1,cv)}function J1(e){return zd(e,!1,U1,Y1,fv)}function hv(e){return zd(e,!0,H1,K1,dv)}function zd(e,t,n,o,s){if(!bt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=s.get(e);if(a)return a;const l=X1(e);if(l===0)return e;const c=new Proxy(e,l===2?o:n);return s.set(e,c),c}function qi(e){return ci(e)?qi(e.__v_raw):!!(e&&e.__v_isReactive)}function ci(e){return!!(e&&e.__v_isReadonly)}function tr(e){return!!(e&&e.__v_isShallow)}function qd(e){return e?!!e.__v_raw:!1}function Xe(e){const t=e&&e.__v_raw;return t?Xe(t):e}function Z1(e){return!et(e,"__v_skip")&&Object.isExtensible(e)&&KE(e,"__v_skip",!0),e}const fn=e=>bt(e)?dn(e):e,rd=e=>bt(e)?hv(e):e;function Mt(e){return e?e.__v_isRef===!0:!1}function Zt(e){return mv(e,!1)}function li(e){return mv(e,!0)}function mv(e,t){return Mt(e)?e:new Q1(e,t)}class Q1{constructor(t,n){this.dep=new Yd,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Xe(t),this._value=n?t:fn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||tr(t)||ci(t);t=o?t:Xe(t),xo(t,n)&&(this._rawValue=t,this._value=o?t:fn(t),this.dep.trigger())}}function oe(e){return Mt(e)?e.value:e}const eL={get:(e,t,n)=>t==="__v_raw"?e:oe(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return Mt(s)&&!Mt(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function pv(e){return qi(e)?e:new Proxy(e,eL)}function gv(e){const t=xe(e)?new Array(e.length):{};for(const n in e)t[n]=_v(e,n);return t}class tL{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return D1(Xe(this._object),this._key)}}class nL{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function rL(e,t,n){return Mt(e)?e:Oe(e)?new nL(e):bt(e)&&arguments.length>1?_v(e,t,n):Zt(e)}function _v(e,t,n){const o=e[t];return Mt(o)?o:new tL(e,t,n)}class oL{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Yd(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ua-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&_t!==this)return tv(this,!0),!0}get value(){const t=this.dep.track();return ov(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function iL(e,t,n=!1){let o,s;return Oe(e)?o=e:(o=e.get,s=e.set),new oL(o,s,n)}const Pl={},lu=new WeakMap;let ri;function sL(e,t=!1,n=ri){if(n){let o=lu.get(n);o||lu.set(n,o=[]),o.push(e)}}function aL(e,t,n=ht){const{immediate:o,deep:s,once:a,scheduler:l,augmentJob:c,call:d}=n,m=S=>s?S:tr(S)||s===!1||s===0?Qr(S,1):Qr(S);let p,E,C,w,D=!1,x=!1;if(Mt(e)?(E=()=>e.value,D=tr(e)):qi(e)?(E=()=>m(e),D=!0):xe(e)?(x=!0,D=e.some(S=>qi(S)||tr(S)),E=()=>e.map(S=>{if(Mt(S))return S.value;if(qi(S))return m(S);if(Oe(S))return d?d(S,2):S()})):Oe(e)?t?E=d?()=>d(e,2):e:E=()=>{if(C){Mo();try{C()}finally{Bo()}}const S=ri;ri=p;try{return d?d(e,3,[w]):e(w)}finally{ri=S}}:E=_r,t&&s){const S=E,H=s===!0?1/0:s;E=()=>Qr(S(),H)}const F=O1(),A=()=>{p.stop(),F&&Wd(F.effects,p)};if(a&&t){const S=t;t=(...H)=>{S(...H),A()}}let B=x?new Array(e.length).fill(Pl):Pl;const $=S=>{if(!(!(p.flags&1)||!p.dirty&&!S))if(t){const H=p.run();if(s||D||(x?H.some((G,U)=>xo(G,B[U])):xo(H,B))){C&&C();const G=ri;ri=p;try{const U=[H,B===Pl?void 0:x&&B[0]===Pl?[]:B,w];d?d(t,3,U):t(...U),B=H}finally{ri=G}}}else p.run()};return c&&c($),p=new QE(E),p.scheduler=l?()=>l($,!1):$,w=S=>sL(S,!1,p),C=p.onStop=()=>{const S=lu.get(p);if(S){if(d)d(S,4);else for(const H of S)H();lu.delete(p)}},t?o?$(!0):B=p.run():l?l($.bind(null,!0),!0):p.run(),A.pause=p.pause.bind(p),A.resume=p.resume.bind(p),A.stop=A,A}function Qr(e,t=1/0,n){if(t<=0||!bt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Mt(e))Qr(e.value,t,n);else if(xe(e))for(let o=0;o<e.length;o++)Qr(e[o],t,n);else if(VE(e)||zi(e))e.forEach(o=>{Qr(o,t,n)});else if(YE(e)){for(const o in e)Qr(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Qr(e[o],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.12
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Ta(e,t,n,o){try{return o?e(...o):e()}catch(s){Iu(s,t,n)}}function Br(e,t,n,o){if(Oe(e)){const s=Ta(e,t,n,o);return s&&GE(s)&&s.catch(a=>{Iu(a,t,n)}),s}if(xe(e)){const s=[];for(let a=0;a<e.length;a++)s.push(Br(e[a],t,n,o));return s}}function Iu(e,t,n,o=!0){const s=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||ht;if(t){let c=t.parent;const d=t.proxy,m=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const p=c.ec;if(p){for(let E=0;E<p.length;E++)if(p[E](e,d,m)===!1)return}c=c.parent}if(a){Mo(),Ta(a,null,10,[e,d,m]),Bo();return}}lL(e,n,s,o,l)}function lL(e,t,n,o=!0,s=!1){if(s)throw e;console.error(e)}const yn=[];let Lr=-1;const Xi=[];let Ao=null,Wi=0;const Ev=Promise.resolve();let uu=null;function vv(e){const t=uu||Ev;return e?t.then(this?e.bind(this):e):t}function uL(e){let t=Lr+1,n=yn.length;for(;t<n;){const o=t+n>>>1,s=yn[o],a=fa(s);a<e||a===e&&s.flags&2?t=o+1:n=o}return t}function Xd(e){if(!(e.flags&1)){const t=fa(e),n=yn[yn.length-1];!n||!(e.flags&2)&&t>=fa(n)?yn.push(e):yn.splice(uL(t),0,e),e.flags|=1,yv()}}function yv(){uu||(uu=Ev.then(Cv))}function cL(e){xe(e)?Xi.push(...e):Ao&&e.id===-1?Ao.splice(Wi+1,0,e):e.flags&1||(Xi.push(e),e.flags|=1),yv()}function fg(e,t,n=Lr+1){for(;n<yn.length;n++){const o=yn[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;yn.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function bv(e){if(Xi.length){const t=[...new Set(Xi)].sort((n,o)=>fa(n)-fa(o));if(Xi.length=0,Ao){Ao.push(...t);return}for(Ao=t,Wi=0;Wi<Ao.length;Wi++){const n=Ao[Wi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ao=null,Wi=0}}const fa=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Cv(e){const t=_r;try{for(Lr=0;Lr<yn.length;Lr++){const n=yn[Lr];n&&!(n.flags&8)&&(n.flags&4&&(n.flags&=-2),Ta(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2))}}finally{for(;Lr<yn.length;Lr++){const n=yn[Lr];n&&(n.flags&=-2)}Lr=-1,yn.length=0,bv(),uu=null,(yn.length||Xi.length)&&Cv()}}let Kt=null,Tv=null;function cu(e){const t=Kt;return Kt=e,Tv=e&&e.type.__scopeId||null,t}function na(e,t=Kt,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Cg(-1);const a=cu(t);let l;try{l=e(...s)}finally{cu(a),o._d&&Cg(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function oo(e,t){if(Kt===null)return e;const n=Mu(Kt),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[a,l,c,d=ht]=t[s];a&&(Oe(a)&&(a={mounted:a,updated:a}),a.deep&&Qr(l),o.push({dir:a,instance:n,value:l,oldValue:void 0,arg:c,modifiers:d}))}return e}function Qo(e,t,n,o){const s=e.dirs,a=t&&t.dirs;for(let l=0;l<s.length;l++){const c=s[l];a&&(c.oldValue=a[l].value);let d=c.dir[o];d&&(Mo(),Br(d,n,8,[e.el,c,e,t]),Bo())}}const wv=Symbol("_vte"),fL=e=>e.__isTeleport,ra=e=>e&&(e.disabled||e.disabled===""),dL=e=>e&&(e.defer||e.defer===""),dg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,hg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,od=(e,t)=>{const n=e&&e.to;return Lt(n)?t?t(n):null:n},hL={name:"Teleport",__isTeleport:!0,process(e,t,n,o,s,a,l,c,d,m){const{mc:p,pc:E,pbc:C,o:{insert:w,querySelector:D,createText:x,createComment:F}}=m,A=ra(t.props);let{shapeFlag:B,children:$,dynamicChildren:S}=t;if(e==null){const H=t.el=x(""),G=t.anchor=x("");w(H,n,o),w(G,n,o);const U=(ce,de)=>{B&16&&(s&&s.isCE&&(s.ce._teleportTarget=ce),p($,ce,de,s,a,l,c,d))},le=()=>{const ce=t.target=od(t.props,D),de=Av(ce,t,x,w);ce&&(l!=="svg"&&dg(ce)?l="svg":l!=="mathml"&&hg(ce)&&(l="mathml"),A||(U(ce,de),Xl(t,!1)))};A&&(U(n,G),Xl(t,!0)),dL(t.props)?On(le,a):le()}else{t.el=e.el,t.targetStart=e.targetStart;const H=t.anchor=e.anchor,G=t.target=e.target,U=t.targetAnchor=e.targetAnchor,le=ra(e.props),ce=le?n:G,de=le?H:U;if(l==="svg"||dg(G)?l="svg":(l==="mathml"||hg(G))&&(l="mathml"),S?(C(e.dynamicChildren,S,ce,s,a,l,c),oh(e,t,!0)):d||E(e,t,ce,de,s,a,l,c,!1),A)le?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Nl(t,n,H,m,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Pe=t.target=od(t.props,D);Pe&&Nl(t,Pe,null,m,0)}else le&&Nl(t,G,U,m,1);Xl(t,A)}},remove(e,t,n,{um:o,o:{remove:s}},a){const{shapeFlag:l,children:c,anchor:d,targetStart:m,targetAnchor:p,target:E,props:C}=e;if(E&&(s(m),s(p)),a&&s(d),l&16){const w=a||!ra(C);for(let D=0;D<c.length;D++){const x=c[D];o(x,t,n,w,!!x.dynamicChildren)}}},move:Nl,hydrate:mL};function Nl(e,t,n,{o:{insert:o},m:s},a=2){a===0&&o(e.targetAnchor,t,n);const{el:l,anchor:c,shapeFlag:d,children:m,props:p}=e,E=a===2;if(E&&o(l,t,n),(!E||ra(p))&&d&16)for(let C=0;C<m.length;C++)s(m[C],t,n,2);E&&o(c,t,n)}function mL(e,t,n,o,s,a,{o:{nextSibling:l,parentNode:c,querySelector:d,insert:m,createText:p}},E){const C=t.target=od(t.props,d);if(C){const w=ra(t.props),D=C._lpa||C.firstChild;if(t.shapeFlag&16)if(w)t.anchor=E(l(e),t,c(e),n,o,s,a),t.targetStart=D,t.targetAnchor=D&&l(D);else{t.anchor=l(e);let x=D;for(;x;){if(x&&x.nodeType===8){if(x.data==="teleport start anchor")t.targetStart=x;else if(x.data==="teleport anchor"){t.targetAnchor=x,C._lpa=t.targetAnchor&&l(t.targetAnchor);break}}x=l(x)}t.targetAnchor||Av(C,t,p,m),E(D&&l(D),t,C,n,o,s,a)}Xl(t,w)}return t.anchor&&l(t.anchor)}const pL=hL;function Xl(e,t){const n=e.ctx;if(n&&n.ut){let o,s;for(t?(o=e.el,s=e.anchor):(o=e.targetStart,s=e.targetAnchor);o&&o!==s;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function Av(e,t,n,o){const s=t.targetStart=n(""),a=t.targetAnchor=n("");return s[wv]=a,e&&(o(s,e),o(a,e)),a}function Jd(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Jd(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function at(e,t){return Oe(e)?(()=>qt({name:e.name},t,{setup:e}))():e}function Sv(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function id(e,t,n,o,s=!1){if(xe(e)){e.forEach((D,x)=>id(D,t&&(xe(t)?t[x]:t),n,o,s));return}if(Ji(o)&&!s)return;const a=o.shapeFlag&4?Mu(o.component):o.el,l=s?null:a,{i:c,r:d}=e,m=t&&t.r,p=c.refs===ht?c.refs={}:c.refs,E=c.setupState,C=Xe(E),w=E===ht?()=>!1:D=>et(C,D);if(m!=null&&m!==d&&(Lt(m)?(p[m]=null,w(m)&&(E[m]=null)):Mt(m)&&(m.value=null)),Oe(d))Ta(d,c,12,[l,p]);else{const D=Lt(d),x=Mt(d);if(D||x){const F=()=>{if(e.f){const A=D?w(d)?E[d]:p[d]:d.value;s?xe(A)&&Wd(A,a):xe(A)?A.includes(a)||A.push(a):D?(p[d]=[a],w(d)&&(E[d]=p[d])):(d.value=[a],e.k&&(p[e.k]=d.value))}else D?(p[d]=l,w(d)&&(E[d]=l)):x&&(d.value=l,e.k&&(p[e.k]=l))};l?(F.id=-1,On(F,n)):F()}}}xu().requestIdleCallback;xu().cancelIdleCallback;const Ji=e=>!!e.type.__asyncLoader,xv=e=>e.type.__isKeepAlive;function gL(e,t){Lv(e,"a",t)}function _L(e,t){Lv(e,"da",t)}function Lv(e,t,n=Qt){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ou(t,o,n),n){let s=n.parent;for(;s&&s.parent;)xv(s.parent.vnode)&&EL(o,t,n,s),s=s.parent}}function EL(e,t,n,o){const s=Ou(t,e,o,!0);Ru(()=>{Wd(o[t],s)},n)}function Ou(e,t,n=Qt,o=!1){if(n){const s=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...l)=>{Mo();const c=Aa(n),d=Br(t,n,e,l);return c(),Bo(),d});return o?s.unshift(a):s.push(a),a}}const uo=e=>(t,n=Qt)=>{(!ma||e==="sp")&&Ou(e,(...o)=>t(...o),n)},Zd=uo("bm"),Qd=uo("m"),vL=uo("bu"),yL=uo("u"),bL=uo("bum"),Ru=uo("um"),CL=uo("sp"),TL=uo("rtg"),wL=uo("rtc");function AL(e,t=Qt){Ou("ec",e,t)}const eh="components";function SL(e,t){return Ov(eh,e,!0,t)||e}const Iv=Symbol.for("v-ndc");function xL(e){return Lt(e)?Ov(eh,e,!1)||e:e||Iv}function Ov(e,t,n=!0,o=!1){const s=Kt||Qt;if(s){const a=s.type;if(e===eh){const c=hI(a,!1);if(c&&(c===t||c===rr(t)||c===Su(rr(t))))return a}const l=mg(s[e]||a[e],t)||mg(s.appContext[e],t);return!l&&o?a:l}}function mg(e,t){return e&&(e[t]||e[rr(t)]||e[Su(rr(t))])}function $n(e,t,n,o){let s;const a=n&&n[o],l=xe(e);if(l||Lt(e)){const c=l&&qi(e);let d=!1;c&&(d=!tr(e),e=Lu(e)),s=new Array(e.length);for(let m=0,p=e.length;m<p;m++)s[m]=t(d?fn(e[m]):e[m],m,void 0,a&&a[m])}else if(typeof e=="number"){s=new Array(e);for(let c=0;c<e;c++)s[c]=t(c+1,c,void 0,a&&a[c])}else if(bt(e))if(e[Symbol.iterator])s=Array.from(e,(c,d)=>t(c,d,void 0,a&&a[d]));else{const c=Object.keys(e);s=new Array(c.length);for(let d=0,m=c.length;d<m;d++){const p=c[d];s[d]=t(e[p],p,d,a&&a[d])}}else s=[];return n&&(n[o]=s),s}function sd(e,t,n={},o,s){if(Kt.ce||Kt.parent&&Ji(Kt.parent)&&Kt.parent.ce)return t!=="default"&&(n.name=t),ie(),mt(ot,null,[Ke("slot",n,o&&o())],64);let a=e[t];a&&a._c&&(a._d=!1),ie();const l=a&&Rv(a(n)),c=n.key||l&&l.key,d=mt(ot,{key:(c&&!lo(c)?c:`_${t}`)+(!l&&o?"_fb":"")},l||(o?o():[]),l&&e._===1?64:-2);return!s&&d.scopeId&&(d.slotScopeIds=[d.scopeId+"-s"]),a&&a._c&&(a._d=!0),d}function Rv(e){return e.some(t=>ha(t)?!(t.type===Io||t.type===ot&&!Rv(t.children)):!0)?e:null}const ad=e=>e?qv(e)?Mu(e):ad(e.parent):null,oa=qt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ad(e.parent),$root:e=>ad(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>th(e),$forceUpdate:e=>e.f||(e.f=()=>{Xd(e.update)}),$nextTick:e=>e.n||(e.n=vv.bind(e.proxy)),$watch:e=>qL.bind(e)}),Tf=(e,t)=>e!==ht&&!e.__isScriptSetup&&et(e,t),LL={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:a,accessCache:l,type:c,appContext:d}=e;let m;if(t[0]!=="$"){const w=l[t];if(w!==void 0)switch(w){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return a[t]}else{if(Tf(o,t))return l[t]=1,o[t];if(s!==ht&&et(s,t))return l[t]=2,s[t];if((m=e.propsOptions[0])&&et(m,t))return l[t]=3,a[t];if(n!==ht&&et(n,t))return l[t]=4,n[t];ld&&(l[t]=0)}}const p=oa[t];let E,C;if(p)return t==="$attrs"&&cn(e.attrs,"get",""),p(e);if((E=c.__cssModules)&&(E=E[t]))return E;if(n!==ht&&et(n,t))return l[t]=4,n[t];if(C=d.config.globalProperties,et(C,t))return C[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:a}=e;return Tf(s,t)?(s[t]=n,!0):o!==ht&&et(o,t)?(o[t]=n,!0):et(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:a}},l){let c;return!!n[l]||e!==ht&&et(e,l)||Tf(t,l)||(c=a[0])&&et(c,l)||et(o,l)||et(oa,l)||et(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:et(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pg(e){return xe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ld=!0;function IL(e){const t=th(e),n=e.proxy,o=e.ctx;ld=!1,t.beforeCreate&&gg(t.beforeCreate,e,"bc");const{data:s,computed:a,methods:l,watch:c,provide:d,inject:m,created:p,beforeMount:E,mounted:C,beforeUpdate:w,updated:D,activated:x,deactivated:F,beforeDestroy:A,beforeUnmount:B,destroyed:$,unmounted:S,render:H,renderTracked:G,renderTriggered:U,errorCaptured:le,serverPrefetch:ce,expose:de,inheritAttrs:Pe,components:ke,directives:We,filters:Tt}=t;if(m&&OL(m,o,null),l)for(const ge in l){const Te=l[ge];Oe(Te)&&(o[ge]=Te.bind(n))}if(s){const ge=s.call(n,n);bt(ge)&&(e.data=dn(ge))}if(ld=!0,a)for(const ge in a){const Te=a[ge],qe=Oe(Te)?Te.bind(n,n):Oe(Te.get)?Te.get.bind(n,n):_r,Fe=!Oe(Te)&&Oe(Te.set)?Te.set.bind(n):_r,Je=Re({get:qe,set:Fe});Object.defineProperty(o,ge,{enumerable:!0,configurable:!0,get:()=>Je.value,set:Ne=>Je.value=Ne})}if(c)for(const ge in c)Pv(c[ge],o,n,ge);if(d){const ge=Oe(d)?d.call(n):d;Reflect.ownKeys(ge).forEach(Te=>{nh(Te,ge[Te])})}p&&gg(p,e,"c");function Le(ge,Te){xe(Te)?Te.forEach(qe=>ge(qe.bind(n))):Te&&ge(Te.bind(n))}if(Le(Zd,E),Le(Qd,C),Le(vL,w),Le(yL,D),Le(gL,x),Le(_L,F),Le(AL,le),Le(wL,G),Le(TL,U),Le(bL,B),Le(Ru,S),Le(CL,ce),xe(de))if(de.length){const ge=e.exposed||(e.exposed={});de.forEach(Te=>{Object.defineProperty(ge,Te,{get:()=>n[Te],set:qe=>n[Te]=qe})})}else e.exposed||(e.exposed={});H&&e.render===_r&&(e.render=H),Pe!=null&&(e.inheritAttrs=Pe),ke&&(e.components=ke),We&&(e.directives=We),ce&&Sv(e)}function OL(e,t,n=_r){xe(e)&&(e=ud(e));for(const o in e){const s=e[o];let a;bt(s)?"default"in s?a=Lo(s.from||o,s.default,!0):a=Lo(s.from||o):a=Lo(s),Mt(a)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>a.value,set:l=>a.value=l}):t[o]=a}}function gg(e,t,n){Br(xe(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pv(e,t,n,o){let s=o.includes(".")?Gv(n,o):()=>n[o];if(Lt(e)){const a=t[e];Oe(a)&&tn(s,a)}else if(Oe(e))tn(s,e.bind(n));else if(bt(e))if(xe(e))e.forEach(a=>Pv(a,t,n,o));else{const a=Oe(e.handler)?e.handler.bind(n):t[e.handler];Oe(a)&&tn(s,a,e)}}function th(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:a,config:{optionMergeStrategies:l}}=e.appContext,c=a.get(t);let d;return c?d=c:!s.length&&!n&&!o?d=t:(d={},s.length&&s.forEach(m=>fu(d,m,l,!0)),fu(d,t,l)),bt(t)&&a.set(t,d),d}function fu(e,t,n,o=!1){const{mixins:s,extends:a}=t;a&&fu(e,a,n,!0),s&&s.forEach(l=>fu(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const c=RL[l]||n&&n[l];e[l]=c?c(e[l],t[l]):t[l]}return e}const RL={data:_g,props:Eg,emits:Eg,methods:Zs,computed:Zs,beforeCreate:gn,created:gn,beforeMount:gn,mounted:gn,beforeUpdate:gn,updated:gn,beforeDestroy:gn,beforeUnmount:gn,destroyed:gn,unmounted:gn,activated:gn,deactivated:gn,errorCaptured:gn,serverPrefetch:gn,components:Zs,directives:Zs,watch:NL,provide:_g,inject:PL};function _g(e,t){return t?e?function(){return qt(Oe(e)?e.call(this,this):e,Oe(t)?t.call(this,this):t)}:t:e}function PL(e,t){return Zs(ud(e),ud(t))}function ud(e){if(xe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function gn(e,t){return e?[...new Set([].concat(e,t))]:t}function Zs(e,t){return e?qt(Object.create(null),e,t):t}function Eg(e,t){return e?xe(e)&&xe(t)?[...new Set([...e,...t])]:qt(Object.create(null),pg(e),pg(t??{})):t}function NL(e,t){if(!e)return t;if(!t)return e;const n=qt(Object.create(null),e);for(const o in t)n[o]=gn(e[o],t[o]);return n}function Nv(){return{app:null,config:{isNativeTag:E1,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let DL=0;function ML(e,t){return function(o,s=null){Oe(o)||(o=qt({},o)),s!=null&&!bt(s)&&(s=null);const a=Nv(),l=new WeakSet,c=[];let d=!1;const m=a.app={_uid:DL++,_component:o,_props:s,_container:null,_context:a,_instance:null,version:pI,get config(){return a.config},set config(p){},use(p,...E){return l.has(p)||(p&&Oe(p.install)?(l.add(p),p.install(m,...E)):Oe(p)&&(l.add(p),p(m,...E))),m},mixin(p){return a.mixins.includes(p)||a.mixins.push(p),m},component(p,E){return E?(a.components[p]=E,m):a.components[p]},directive(p,E){return E?(a.directives[p]=E,m):a.directives[p]},mount(p,E,C){if(!d){const w=m._ceVNode||Ke(o,s);return w.appContext=a,C===!0?C="svg":C===!1&&(C=void 0),E&&t?t(w,p):e(w,p,C),d=!0,m._container=p,p.__vue_app__=m,Mu(w.component)}},onUnmount(p){c.push(p)},unmount(){d&&(Br(c,m._instance,16),e(null,m._container),delete m._container.__vue_app__)},provide(p,E){return a.provides[p]=E,m},runWithContext(p){const E=Zi;Zi=m;try{return p()}finally{Zi=E}}};return m}}let Zi=null;function nh(e,t){if(Qt){let n=Qt.provides;const o=Qt.parent&&Qt.parent.provides;o===n&&(n=Qt.provides=Object.create(o)),n[e]=t}}function Lo(e,t,n=!1){const o=Qt||Kt;if(o||Zi){const s=Zi?Zi._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Oe(t)?t.call(o&&o.proxy):t}}const Dv={},Mv=()=>Object.create(Dv),Bv=e=>Object.getPrototypeOf(e)===Dv;function BL(e,t,n,o=!1){const s={},a=Mv();e.propsDefaults=Object.create(null),kv(e,t,s,a);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=o?s:J1(s):e.type.props?e.props=s:e.props=a,e.attrs=a}function kL(e,t,n,o){const{props:s,attrs:a,vnode:{patchFlag:l}}=e,c=Xe(s),[d]=e.propsOptions;let m=!1;if((o||l>0)&&!(l&16)){if(l&8){const p=e.vnode.dynamicProps;for(let E=0;E<p.length;E++){let C=p[E];if(Du(e.emitsOptions,C))continue;const w=t[C];if(d)if(et(a,C))w!==a[C]&&(a[C]=w,m=!0);else{const D=rr(C);s[D]=cd(d,c,D,w,e,!1)}else w!==a[C]&&(a[C]=w,m=!0)}}}else{kv(e,t,s,a)&&(m=!0);let p;for(const E in c)(!t||!et(t,E)&&((p=pi(E))===E||!et(t,p)))&&(d?n&&(n[E]!==void 0||n[p]!==void 0)&&(s[E]=cd(d,c,E,void 0,e,!0)):delete s[E]);if(a!==c)for(const E in a)(!t||!et(t,E))&&(delete a[E],m=!0)}m&&Zr(e.attrs,"set","")}function kv(e,t,n,o){const[s,a]=e.propsOptions;let l=!1,c;if(t)for(let d in t){if(Qs(d))continue;const m=t[d];let p;s&&et(s,p=rr(d))?!a||!a.includes(p)?n[p]=m:(c||(c={}))[p]=m:Du(e.emitsOptions,d)||(!(d in o)||m!==o[d])&&(o[d]=m,l=!0)}if(a){const d=Xe(n),m=c||ht;for(let p=0;p<a.length;p++){const E=a[p];n[E]=cd(s,d,E,m[E],e,!et(m,E))}}return l}function cd(e,t,n,o,s,a){const l=e[n];if(l!=null){const c=et(l,"default");if(c&&o===void 0){const d=l.default;if(l.type!==Function&&!l.skipFactory&&Oe(d)){const{propsDefaults:m}=s;if(n in m)o=m[n];else{const p=Aa(s);o=m[n]=d.call(null,t),p()}}else o=d;s.ce&&s.ce._setProp(n,o)}l[0]&&(a&&!c?o=!1:l[1]&&(o===""||o===pi(n))&&(o=!0))}return o}const FL=new WeakMap;function Fv(e,t,n=!1){const o=n?FL:t.propsCache,s=o.get(e);if(s)return s;const a=e.props,l={},c=[];let d=!1;if(!Oe(e)){const p=E=>{d=!0;const[C,w]=Fv(E,t,!0);qt(l,C),w&&c.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!a&&!d)return bt(e)&&o.set(e,Ki),Ki;if(xe(a))for(let p=0;p<a.length;p++){const E=rr(a[p]);vg(E)&&(l[E]=ht)}else if(a)for(const p in a){const E=rr(p);if(vg(E)){const C=a[p],w=l[E]=xe(C)||Oe(C)?{type:C}:qt({},C),D=w.type;let x=!1,F=!0;if(xe(D))for(let A=0;A<D.length;++A){const B=D[A],$=Oe(B)&&B.name;if($==="Boolean"){x=!0;break}else $==="String"&&(F=!1)}else x=Oe(D)&&D.name==="Boolean";w[0]=x,w[1]=F,(x||et(w,"default"))&&c.push(E)}}const m=[l,c];return bt(e)&&o.set(e,m),m}function vg(e){return e[0]!=="$"&&!Qs(e)}const $v=e=>e[0]==="_"||e==="$stable",rh=e=>xe(e)?e.map(Ir):[Ir(e)],$L=(e,t,n)=>{if(t._n)return t;const o=na((...s)=>rh(t(...s)),n);return o._c=!1,o},Wv=(e,t,n)=>{const o=e._ctx;for(const s in e){if($v(s))continue;const a=e[s];if(Oe(a))t[s]=$L(s,a,o);else if(a!=null){const l=rh(a);t[s]=()=>l}}},Hv=(e,t)=>{const n=rh(t);e.slots.default=()=>n},Uv=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},WL=(e,t,n)=>{const o=e.slots=Mv();if(e.vnode.shapeFlag&32){const s=t._;s?(Uv(o,t,n),n&&KE(o,"_",s,!0)):Wv(t,o)}else t&&Hv(e,t)},HL=(e,t,n)=>{const{vnode:o,slots:s}=e;let a=!0,l=ht;if(o.shapeFlag&32){const c=t._;c?n&&c===1?a=!1:Uv(s,t,n):(a=!t.$stable,Wv(t,s)),l=t}else t&&(Hv(e,t),l={default:1});if(a)for(const c in s)!$v(c)&&l[c]==null&&delete s[c]},On=nI;function UL(e){return VL(e)}function VL(e,t){const n=xu();n.__VUE__=!0;const{insert:o,remove:s,patchProp:a,createElement:l,createText:c,createComment:d,setText:m,setElementText:p,parentNode:E,nextSibling:C,setScopeId:w=_r,insertStaticContent:D}=e,x=(g,h,b,N=null,M=null,V=null,ee=void 0,q=null,J=!!h.dynamicChildren)=>{if(g===h)return;g&&!Gs(g,h)&&(N=kt(g),Ne(g,M,V,!0),g=null),h.patchFlag===-2&&(J=!1,h.dynamicChildren=null);const{type:z,ref:ne,shapeFlag:I}=h;switch(z){case wa:F(g,h,b,N);break;case Io:A(g,h,b,N);break;case Jl:g==null&&B(h,b,N,ee);break;case ot:ke(g,h,b,N,M,V,ee,q,J);break;default:I&1?H(g,h,b,N,M,V,ee,q,J):I&6?We(g,h,b,N,M,V,ee,q,J):(I&64||I&128)&&z.process(g,h,b,N,M,V,ee,q,J,St)}ne!=null&&M&&id(ne,g&&g.ref,V,h||g,!h)},F=(g,h,b,N)=>{if(g==null)o(h.el=c(h.children),b,N);else{const M=h.el=g.el;h.children!==g.children&&m(M,h.children)}},A=(g,h,b,N)=>{g==null?o(h.el=d(h.children||""),b,N):h.el=g.el},B=(g,h,b,N)=>{[g.el,g.anchor]=D(g.children,h,b,N,g.el,g.anchor)},$=({el:g,anchor:h},b,N)=>{let M;for(;g&&g!==h;)M=C(g),o(g,b,N),g=M;o(h,b,N)},S=({el:g,anchor:h})=>{let b;for(;g&&g!==h;)b=C(g),s(g),g=b;s(h)},H=(g,h,b,N,M,V,ee,q,J)=>{h.type==="svg"?ee="svg":h.type==="math"&&(ee="mathml"),g==null?G(h,b,N,M,V,ee,q,J):ce(g,h,M,V,ee,q,J)},G=(g,h,b,N,M,V,ee,q)=>{let J,z;const{props:ne,shapeFlag:I,transition:k,dirs:re}=g;if(J=g.el=l(g.type,V,ne&&ne.is,ne),I&8?p(J,g.children):I&16&&le(g.children,J,null,N,M,wf(g,V),ee,q),re&&Qo(g,null,N,"created"),U(J,g,g.scopeId,ee,N),ne){for(const we in ne)we!=="value"&&!Qs(we)&&a(J,we,null,ne[we],V,N);"value"in ne&&a(J,"value",null,ne.value,V),(z=ne.onVnodeBeforeMount)&&Sr(z,N,g)}re&&Qo(g,null,N,"beforeMount");const ue=GL(M,k);ue&&k.beforeEnter(J),o(J,h,b),((z=ne&&ne.onVnodeMounted)||ue||re)&&On(()=>{z&&Sr(z,N,g),ue&&k.enter(J),re&&Qo(g,null,N,"mounted")},M)},U=(g,h,b,N,M)=>{if(b&&w(g,b),N)for(let V=0;V<N.length;V++)w(g,N[V]);if(M){let V=M.subTree;if(h===V||Yv(V.type)&&(V.ssContent===h||V.ssFallback===h)){const ee=M.vnode;U(g,ee,ee.scopeId,ee.slotScopeIds,M.parent)}}},le=(g,h,b,N,M,V,ee,q,J=0)=>{for(let z=J;z<g.length;z++){const ne=g[z]=q?So(g[z]):Ir(g[z]);x(null,ne,h,b,N,M,V,ee,q)}},ce=(g,h,b,N,M,V,ee)=>{const q=h.el=g.el;let{patchFlag:J,dynamicChildren:z,dirs:ne}=h;J|=g.patchFlag&16;const I=g.props||ht,k=h.props||ht;let re;if(b&&ei(b,!1),(re=k.onVnodeBeforeUpdate)&&Sr(re,b,h,g),ne&&Qo(h,g,b,"beforeUpdate"),b&&ei(b,!0),(I.innerHTML&&k.innerHTML==null||I.textContent&&k.textContent==null)&&p(q,""),z?de(g.dynamicChildren,z,q,b,N,wf(h,M),V):ee||Te(g,h,q,null,b,N,wf(h,M),V,!1),J>0){if(J&16)Pe(q,I,k,b,M);else if(J&2&&I.class!==k.class&&a(q,"class",null,k.class,M),J&4&&a(q,"style",I.style,k.style,M),J&8){const ue=h.dynamicProps;for(let we=0;we<ue.length;we++){const Me=ue[we],ut=I[Me],ct=k[Me];(ct!==ut||Me==="value")&&a(q,Me,ut,ct,M,b)}}J&1&&g.children!==h.children&&p(q,h.children)}else!ee&&z==null&&Pe(q,I,k,b,M);((re=k.onVnodeUpdated)||ne)&&On(()=>{re&&Sr(re,b,h,g),ne&&Qo(h,g,b,"updated")},N)},de=(g,h,b,N,M,V,ee)=>{for(let q=0;q<h.length;q++){const J=g[q],z=h[q],ne=J.el&&(J.type===ot||!Gs(J,z)||J.shapeFlag&70)?E(J.el):b;x(J,z,ne,null,N,M,V,ee,!0)}},Pe=(g,h,b,N,M)=>{if(h!==b){if(h!==ht)for(const V in h)!Qs(V)&&!(V in b)&&a(g,V,h[V],null,M,N);for(const V in b){if(Qs(V))continue;const ee=b[V],q=h[V];ee!==q&&V!=="value"&&a(g,V,q,ee,M,N)}"value"in b&&a(g,"value",h.value,b.value,M)}},ke=(g,h,b,N,M,V,ee,q,J)=>{const z=h.el=g?g.el:c(""),ne=h.anchor=g?g.anchor:c("");let{patchFlag:I,dynamicChildren:k,slotScopeIds:re}=h;re&&(q=q?q.concat(re):re),g==null?(o(z,b,N),o(ne,b,N),le(h.children||[],b,ne,M,V,ee,q,J)):I>0&&I&64&&k&&g.dynamicChildren?(de(g.dynamicChildren,k,b,M,V,ee,q),(h.key!=null||M&&h===M.subTree)&&oh(g,h,!0)):Te(g,h,b,ne,M,V,ee,q,J)},We=(g,h,b,N,M,V,ee,q,J)=>{h.slotScopeIds=q,g==null?h.shapeFlag&512?M.ctx.activate(h,b,N,ee,J):Tt(h,b,N,M,V,ee,J):Bt(g,h,J)},Tt=(g,h,b,N,M,V,ee)=>{const q=g.component=lI(g,N,M);if(xv(g)&&(q.ctx.renderer=St),uI(q,!1,ee),q.asyncDep){if(M&&M.registerDep(q,Le,ee),!g.el){const J=q.subTree=Ke(Io);A(null,J,h,b)}}else Le(q,g,h,b,M,V,ee)},Bt=(g,h,b)=>{const N=h.component=g.component;if(eI(g,h,b))if(N.asyncDep&&!N.asyncResolved){ge(N,h,b);return}else N.next=h,N.update();else h.el=g.el,N.vnode=h},Le=(g,h,b,N,M,V,ee)=>{const q=()=>{if(g.isMounted){let{next:I,bu:k,u:re,parent:ue,vnode:we}=g;{const ft=Vv(g);if(ft){I&&(I.el=we.el,ge(g,I,ee)),ft.asyncDep.then(()=>{g.isUnmounted||q()});return}}let Me=I,ut;ei(g,!1),I?(I.el=we.el,ge(g,I,ee)):I=we,k&&Ef(k),(ut=I.props&&I.props.onVnodeBeforeUpdate)&&Sr(ut,ue,I,we),ei(g,!0);const ct=Af(g),It=g.subTree;g.subTree=ct,x(It,ct,E(It.el),kt(It),g,M,V),I.el=ct.el,Me===null&&tI(g,ct.el),re&&On(re,M),(ut=I.props&&I.props.onVnodeUpdated)&&On(()=>Sr(ut,ue,I,we),M)}else{let I;const{el:k,props:re}=h,{bm:ue,m:we,parent:Me,root:ut,type:ct}=g,It=Ji(h);if(ei(g,!1),ue&&Ef(ue),!It&&(I=re&&re.onVnodeBeforeMount)&&Sr(I,Me,h),ei(g,!0),k&&Ft){const ft=()=>{g.subTree=Af(g),Ft(k,g.subTree,g,M,null)};It&&ct.__asyncHydrate?ct.__asyncHydrate(k,g,ft):ft()}else{ut.ce&&ut.ce._injectChildStyle(ct);const ft=g.subTree=Af(g);x(null,ft,b,N,g,M,V),h.el=ft.el}if(we&&On(we,M),!It&&(I=re&&re.onVnodeMounted)){const ft=h;On(()=>Sr(I,Me,ft),M)}(h.shapeFlag&256||Me&&Ji(Me.vnode)&&Me.vnode.shapeFlag&256)&&g.a&&On(g.a,M),g.isMounted=!0,h=b=N=null}};g.scope.on();const J=g.effect=new QE(q);g.scope.off();const z=g.update=J.run.bind(J),ne=g.job=J.runIfDirty.bind(J);ne.i=g,ne.id=g.uid,J.scheduler=()=>Xd(ne),ei(g,!0),z()},ge=(g,h,b)=>{h.component=g;const N=g.vnode.props;g.vnode=h,g.next=null,kL(g,h.props,N,b),HL(g,h.children,b),Mo(),fg(g),Bo()},Te=(g,h,b,N,M,V,ee,q,J=!1)=>{const z=g&&g.children,ne=g?g.shapeFlag:0,I=h.children,{patchFlag:k,shapeFlag:re}=h;if(k>0){if(k&128){Fe(z,I,b,N,M,V,ee,q,J);return}else if(k&256){qe(z,I,b,N,M,V,ee,q,J);return}}re&8?(ne&16&&pt(z,M,V),I!==z&&p(b,I)):ne&16?re&16?Fe(z,I,b,N,M,V,ee,q,J):pt(z,M,V,!0):(ne&8&&p(b,""),re&16&&le(I,b,N,M,V,ee,q,J))},qe=(g,h,b,N,M,V,ee,q,J)=>{g=g||Ki,h=h||Ki;const z=g.length,ne=h.length,I=Math.min(z,ne);let k;for(k=0;k<I;k++){const re=h[k]=J?So(h[k]):Ir(h[k]);x(g[k],re,b,null,M,V,ee,q,J)}z>ne?pt(g,M,V,!0,!1,I):le(h,b,N,M,V,ee,q,J,I)},Fe=(g,h,b,N,M,V,ee,q,J)=>{let z=0;const ne=h.length;let I=g.length-1,k=ne-1;for(;z<=I&&z<=k;){const re=g[z],ue=h[z]=J?So(h[z]):Ir(h[z]);if(Gs(re,ue))x(re,ue,b,null,M,V,ee,q,J);else break;z++}for(;z<=I&&z<=k;){const re=g[I],ue=h[k]=J?So(h[k]):Ir(h[k]);if(Gs(re,ue))x(re,ue,b,null,M,V,ee,q,J);else break;I--,k--}if(z>I){if(z<=k){const re=k+1,ue=re<ne?h[re].el:N;for(;z<=k;)x(null,h[z]=J?So(h[z]):Ir(h[z]),b,ue,M,V,ee,q,J),z++}}else if(z>k)for(;z<=I;)Ne(g[z],M,V,!0),z++;else{const re=z,ue=z,we=new Map;for(z=ue;z<=k;z++){const Ot=h[z]=J?So(h[z]):Ir(h[z]);Ot.key!=null&&we.set(Ot.key,z)}let Me,ut=0;const ct=k-ue+1;let It=!1,ft=0;const rn=new Array(ct);for(z=0;z<ct;z++)rn[z]=0;for(z=re;z<=I;z++){const Ot=g[z];if(ut>=ct){Ne(Ot,M,V,!0);continue}let on;if(Ot.key!=null)on=we.get(Ot.key);else for(Me=ue;Me<=k;Me++)if(rn[Me-ue]===0&&Gs(Ot,h[Me])){on=Me;break}on===void 0?Ne(Ot,M,V,!0):(rn[on-ue]=z+1,on>=ft?ft=on:It=!0,x(Ot,h[on],b,null,M,V,ee,q,J),ut++)}const br=It?jL(rn):Ki;for(Me=br.length-1,z=ct-1;z>=0;z--){const Ot=ue+z,on=h[Ot],Cr=Ot+1<ne?h[Ot+1].el:N;rn[z]===0?x(null,on,b,Cr,M,V,ee,q,J):It&&(Me<0||z!==br[Me]?Je(on,b,Cr,2):Me--)}}},Je=(g,h,b,N,M=null)=>{const{el:V,type:ee,transition:q,children:J,shapeFlag:z}=g;if(z&6){Je(g.component.subTree,h,b,N);return}if(z&128){g.suspense.move(h,b,N);return}if(z&64){ee.move(g,h,b,St);return}if(ee===ot){o(V,h,b);for(let I=0;I<J.length;I++)Je(J[I],h,b,N);o(g.anchor,h,b);return}if(ee===Jl){$(g,h,b);return}if(N!==2&&z&1&&q)if(N===0)q.beforeEnter(V),o(V,h,b),On(()=>q.enter(V),M);else{const{leave:I,delayLeave:k,afterLeave:re}=q,ue=()=>o(V,h,b),we=()=>{I(V,()=>{ue(),re&&re()})};k?k(V,ue,we):we()}else o(V,h,b)},Ne=(g,h,b,N=!1,M=!1)=>{const{type:V,props:ee,ref:q,children:J,dynamicChildren:z,shapeFlag:ne,patchFlag:I,dirs:k,cacheIndex:re}=g;if(I===-2&&(M=!1),q!=null&&id(q,null,b,g,!0),re!=null&&(h.renderCache[re]=void 0),ne&256){h.ctx.deactivate(g);return}const ue=ne&1&&k,we=!Ji(g);let Me;if(we&&(Me=ee&&ee.onVnodeBeforeUnmount)&&Sr(Me,h,g),ne&6)it(g.component,b,N);else{if(ne&128){g.suspense.unmount(b,N);return}ue&&Qo(g,null,h,"beforeUnmount"),ne&64?g.type.remove(g,h,b,St,N):z&&!z.hasOnce&&(V!==ot||I>0&&I&64)?pt(z,h,b,!1,!0):(V===ot&&I&384||!M&&ne&16)&&pt(J,h,b),N&&Gt(g)}(we&&(Me=ee&&ee.onVnodeUnmounted)||ue)&&On(()=>{Me&&Sr(Me,h,g),ue&&Qo(g,null,h,"unmounted")},b)},Gt=g=>{const{type:h,el:b,anchor:N,transition:M}=g;if(h===ot){He(b,N);return}if(h===Jl){S(g);return}const V=()=>{s(b),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(g.shapeFlag&1&&M&&!M.persisted){const{leave:ee,delayLeave:q}=M,J=()=>ee(b,V);q?q(g.el,V,J):J()}else V()},He=(g,h)=>{let b;for(;g!==h;)b=C(g),s(g),g=b;s(h)},it=(g,h,b)=>{const{bum:N,scope:M,job:V,subTree:ee,um:q,m:J,a:z}=g;yg(J),yg(z),N&&Ef(N),M.stop(),V&&(V.flags|=8,Ne(ee,g,h,b)),q&&On(q,h),On(()=>{g.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},pt=(g,h,b,N=!1,M=!1,V=0)=>{for(let ee=V;ee<g.length;ee++)Ne(g[ee],h,b,N,M)},kt=g=>{if(g.shapeFlag&6)return kt(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const h=C(g.anchor||g.el),b=h&&h[wv];return b?C(b):h};let nt=!1;const wt=(g,h,b)=>{g==null?h._vnode&&Ne(h._vnode,null,null,!0):x(h._vnode||null,g,h,null,null,null,b),h._vnode=g,nt||(nt=!0,fg(),bv(),nt=!1)},St={p:x,um:Ne,m:Je,r:Gt,mt:Tt,mc:le,pc:Te,pbc:de,n:kt,o:e};let lt,Ft;return t&&([lt,Ft]=t(St)),{render:wt,hydrate:lt,createApp:ML(wt,lt)}}function wf({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ei({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function GL(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function oh(e,t,n=!1){const o=e.children,s=t.children;if(xe(o)&&xe(s))for(let a=0;a<o.length;a++){const l=o[a];let c=s[a];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=s[a]=So(s[a]),c.el=l.el),!n&&c.patchFlag!==-2&&oh(l,c)),c.type===wa&&(c.el=l.el)}}function jL(e){const t=e.slice(),n=[0];let o,s,a,l,c;const d=e.length;for(o=0;o<d;o++){const m=e[o];if(m!==0){if(s=n[n.length-1],e[s]<m){t[o]=s,n.push(o);continue}for(a=0,l=n.length-1;a<l;)c=a+l>>1,e[n[c]]<m?a=c+1:l=c;m<e[n[a]]&&(a>0&&(t[o]=n[a-1]),n[a]=o)}}for(a=n.length,l=n[a-1];a-- >0;)n[a]=l,l=t[l];return n}function Vv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Vv(t)}function yg(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const YL=Symbol.for("v-scx"),KL=()=>Lo(YL);function Pu(e,t){return Nu(e,null,t)}function zL(e,t){return Nu(e,null,{flush:"post"})}function tn(e,t,n){return Nu(e,t,n)}function Nu(e,t,n=ht){const{immediate:o,deep:s,flush:a,once:l}=n,c=qt({},n),d=t&&o||!t&&a!=="post";let m;if(ma){if(a==="sync"){const w=KL();m=w.__watcherHandles||(w.__watcherHandles=[])}else if(!d){const w=()=>{};return w.stop=_r,w.resume=_r,w.pause=_r,w}}const p=Qt;c.call=(w,D,x)=>Br(w,p,D,x);let E=!1;a==="post"?c.scheduler=w=>{On(w,p&&p.suspense)}:a!=="sync"&&(E=!0,c.scheduler=(w,D)=>{D?w():Xd(w)}),c.augmentJob=w=>{t&&(w.flags|=4),E&&(w.flags|=2,p&&(w.id=p.uid,w.i=p))};const C=aL(e,t,c);return ma&&(m?m.push(C):d&&C()),C}function qL(e,t,n){const o=this.proxy,s=Lt(e)?e.includes(".")?Gv(o,e):()=>o[e]:e.bind(o,o);let a;Oe(t)?a=t:(a=t.handler,n=t);const l=Aa(this),c=Nu(s,a.bind(o),n);return l(),c}function Gv(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}const XL=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${rr(t)}Modifiers`]||e[`${pi(t)}Modifiers`];function JL(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||ht;let s=n;const a=t.startsWith("update:"),l=a&&XL(o,t.slice(7));l&&(l.trim&&(s=n.map(p=>Lt(p)?p.trim():p)),l.number&&(s=n.map(T1)));let c,d=o[c=_f(t)]||o[c=_f(rr(t))];!d&&a&&(d=o[c=_f(pi(t))]),d&&Br(d,e,6,s);const m=o[c+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Br(m,e,6,s)}}function jv(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const a=e.emits;let l={},c=!1;if(!Oe(e)){const d=m=>{const p=jv(m,t,!0);p&&(c=!0,qt(l,p))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!a&&!c?(bt(e)&&o.set(e,null),null):(xe(a)?a.forEach(d=>l[d]=null):qt(l,a),bt(e)&&o.set(e,l),l)}function Du(e,t){return!e||!Tu(t)?!1:(t=t.slice(2).replace(/Once$/,""),et(e,t[0].toLowerCase()+t.slice(1))||et(e,pi(t))||et(e,t))}function Af(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[a],slots:l,attrs:c,emit:d,render:m,renderCache:p,props:E,data:C,setupState:w,ctx:D,inheritAttrs:x}=e,F=cu(e);let A,B;try{if(n.shapeFlag&4){const S=s||o,H=S;A=Ir(m.call(H,S,p,E,w,C,D)),B=c}else{const S=t;A=Ir(S.length>1?S(E,{attrs:c,slots:l,emit:d}):S(E,null)),B=t.props?c:ZL(c)}}catch(S){ia.length=0,Iu(S,e,1),A=Ke(Io)}let $=A;if(B&&x!==!1){const S=Object.keys(B),{shapeFlag:H}=$;S.length&&H&7&&(a&&S.some($d)&&(B=QL(B,a)),$=es($,B,!1,!0))}return n.dirs&&($=es($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&Jd($,n.transition),A=$,cu(F),A}const ZL=e=>{let t;for(const n in e)(n==="class"||n==="style"||Tu(n))&&((t||(t={}))[n]=e[n]);return t},QL=(e,t)=>{const n={};for(const o in e)(!$d(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function eI(e,t,n){const{props:o,children:s,component:a}=e,{props:l,children:c,patchFlag:d}=t,m=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&d>=0){if(d&1024)return!0;if(d&16)return o?bg(o,l,m):!!l;if(d&8){const p=t.dynamicProps;for(let E=0;E<p.length;E++){const C=p[E];if(l[C]!==o[C]&&!Du(m,C))return!0}}}else return(s||c)&&(!c||!c.$stable)?!0:o===l?!1:o?l?bg(o,l,m):!0:!!l;return!1}function bg(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const a=o[s];if(t[a]!==e[a]&&!Du(n,a))return!0}return!1}function tI({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Yv=e=>e.__isSuspense;function nI(e,t){t&&t.pendingBranch?xe(e)?t.effects.push(...e):t.effects.push(e):cL(e)}const ot=Symbol.for("v-fgt"),wa=Symbol.for("v-txt"),Io=Symbol.for("v-cmt"),Jl=Symbol.for("v-stc"),ia=[];let Fn=null;function ie(e=!1){ia.push(Fn=e?null:[])}function rI(){ia.pop(),Fn=ia[ia.length-1]||null}let da=1;function Cg(e){da+=e,e<0&&Fn&&(Fn.hasOnce=!0)}function Kv(e){return e.dynamicChildren=da>0?Fn||Ki:null,rI(),da>0&&Fn&&Fn.push(e),e}function Ce(e,t,n,o,s,a){return Kv(Z(e,t,n,o,s,a,!0))}function mt(e,t,n,o,s){return Kv(Ke(e,t,n,o,s,!0))}function ha(e){return e?e.__v_isVNode===!0:!1}function Gs(e,t){return e.type===t.type&&e.key===t.key}const zv=({key:e})=>e??null,Zl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Lt(e)||Mt(e)||Oe(e)?{i:Kt,r:e,k:t,f:!!n}:e:null);function Z(e,t=null,n=null,o=0,s=null,a=e===ot?0:1,l=!1,c=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zv(t),ref:t&&Zl(t),scopeId:Tv,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Kt};return c?(sh(d,n),a&128&&e.normalize(d)):n&&(d.shapeFlag|=Lt(n)?8:16),da>0&&!l&&Fn&&(d.patchFlag>0||a&6)&&d.patchFlag!==32&&Fn.push(d),d}const Ke=oI;function oI(e,t=null,n=null,o=0,s=null,a=!1){if((!e||e===Iv)&&(e=Io),ha(e)){const c=es(e,t,!0);return n&&sh(c,n),da>0&&!a&&Fn&&(c.shapeFlag&6?Fn[Fn.indexOf(e)]=c:Fn.push(c)),c.patchFlag=-2,c}if(mI(e)&&(e=e.__vccOpts),t){t=iI(t);let{class:c,style:d}=t;c&&!Lt(c)&&(t.class=pr(c)),bt(d)&&(qd(d)&&!xe(d)&&(d=qt({},d)),t.style=Ae(d))}const l=Lt(e)?1:Yv(e)?128:fL(e)?64:bt(e)?4:Oe(e)?2:0;return Z(e,t,n,o,s,l,a,!0)}function iI(e){return e?qd(e)||Bv(e)?qt({},e):e:null}function es(e,t,n=!1,o=!1){const{props:s,ref:a,patchFlag:l,children:c,transition:d}=e,m=t?ah(s||{},t):s,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:m,key:m&&zv(m),ref:t&&t.ref?n&&a?xe(a)?a.concat(Zl(t)):[a,Zl(t)]:Zl(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:d,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&es(e.ssContent),ssFallback:e.ssFallback&&es(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return d&&o&&Jd(p,d.clone(p)),p}function ih(e=" ",t=0){return Ke(wa,null,e,t)}function vn(e="",t=!1){return t?(ie(),mt(Io,null,e)):Ke(Io,null,e)}function Ir(e){return e==null||typeof e=="boolean"?Ke(Io):xe(e)?Ke(ot,null,e.slice()):ha(e)?So(e):Ke(wa,null,String(e))}function So(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:es(e)}function sh(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(xe(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),sh(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Bv(t)?t._ctx=Kt:s===3&&Kt&&(Kt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:Kt},n=32):(t=String(t),o&64?(n=16,t=[ih(t)]):n=8);e.children=t,e.shapeFlag|=n}function ah(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=pr([t.class,o.class]));else if(s==="style")t.style=Ae([t.style,o.style]);else if(Tu(s)){const a=t[s],l=o[s];l&&a!==l&&!(xe(a)&&a.includes(l))&&(t[s]=a?[].concat(a,l):l)}else s!==""&&(t[s]=o[s])}return t}function Sr(e,t,n,o=null){Br(e,t,7,[n,o])}const sI=Nv();let aI=0;function lI(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||sI,a={uid:aI++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new JE(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fv(o,s),emitsOptions:jv(o,s),emit:null,emitted:null,propsDefaults:ht,inheritAttrs:o.inheritAttrs,ctx:ht,data:ht,props:ht,attrs:ht,slots:ht,refs:ht,setupState:ht,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=JL.bind(null,a),e.ce&&e.ce(a),a}let Qt=null;const fi=()=>Qt||Kt;let du,fd;{const e=xu(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),a=>{s.length>1?s.forEach(l=>l(a)):s[0](a)}};du=t("__VUE_INSTANCE_SETTERS__",n=>Qt=n),fd=t("__VUE_SSR_SETTERS__",n=>ma=n)}const Aa=e=>{const t=Qt;return du(e),e.scope.on(),()=>{e.scope.off(),du(t)}},Tg=()=>{Qt&&Qt.scope.off(),du(null)};function qv(e){return e.vnode.shapeFlag&4}let ma=!1;function uI(e,t=!1,n=!1){t&&fd(t);const{props:o,children:s}=e.vnode,a=qv(e);BL(e,o,a,t),WL(e,s,n);const l=a?cI(e,t):void 0;return t&&fd(!1),l}function cI(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,LL);const{setup:o}=n;if(o){Mo();const s=e.setupContext=o.length>1?dI(e):null,a=Aa(e),l=Ta(o,e,0,[e.props,s]),c=GE(l);if(Bo(),a(),(c||e.sp)&&!Ji(e)&&Sv(e),c){if(l.then(Tg,Tg),t)return l.then(d=>{wg(e,d,t)}).catch(d=>{Iu(d,e,0)});e.asyncDep=l}else wg(e,l,t)}else Xv(e,t)}function wg(e,t,n){Oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:bt(t)&&(e.setupState=pv(t)),Xv(e,n)}let Ag;function Xv(e,t,n){const o=e.type;if(!e.render){if(!t&&Ag&&!o.render){const s=o.template||th(e).template;if(s){const{isCustomElement:a,compilerOptions:l}=e.appContext.config,{delimiters:c,compilerOptions:d}=o,m=qt(qt({isCustomElement:a,delimiters:c},l),d);o.render=Ag(s,m)}}e.render=o.render||_r}{const s=Aa(e);Mo();try{IL(e)}finally{Bo(),s()}}}const fI={get(e,t){return cn(e,"get",""),e[t]}};function dI(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,fI),slots:e.slots,emit:e.emit,expose:t}}function Mu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(pv(Z1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in oa)return oa[n](e)},has(t,n){return n in t||n in oa}})):e.proxy}function hI(e,t=!0){return Oe(e)?e.displayName||e.name:e.name||t&&e.__name}function mI(e){return Oe(e)&&"__vccOpts"in e}const Re=(e,t)=>iL(e,t,ma);function Bu(e,t,n){const o=arguments.length;return o===2?bt(t)&&!xe(t)?ha(t)?Ke(e,null,[t]):Ke(e,t):Ke(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&ha(n)&&(n=[n]),Ke(e,t,n))}const pI="3.5.12";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.12
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let dd;const Sg=typeof window<"u"&&window.trustedTypes;if(Sg)try{dd=Sg.createPolicy("vue",{createHTML:e=>e})}catch{}const Jv=dd?e=>dd.createHTML(e):e=>e,gI="http://www.w3.org/2000/svg",_I="http://www.w3.org/1998/Math/MathML",Jr=typeof document<"u"?document:null,xg=Jr&&Jr.createElement("template"),EI={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?Jr.createElementNS(gI,e):t==="mathml"?Jr.createElementNS(_I,e):n?Jr.createElement(e,{is:n}):Jr.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Jr.createTextNode(e),createComment:e=>Jr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Jr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,a){const l=n?n.previousSibling:t.lastChild;if(s&&(s===a||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===a||!(s=s.nextSibling)););else{xg.innerHTML=Jv(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const c=xg.content;if(o==="svg"||o==="mathml"){const d=c.firstChild;for(;d.firstChild;)c.appendChild(d.firstChild);c.removeChild(d)}t.insertBefore(c,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vI=Symbol("_vtc");function yI(e,t,n){const o=e[vI];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Lg=Symbol("_vod"),bI=Symbol("_vsh"),Zv=Symbol("");function ku(e){const t=fi();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>hu(a,s))},o=()=>{const s=e(t.proxy);t.ce?hu(t.ce,s):hd(t.subTree,s),n(s)};Zd(()=>{zL(o)}),Qd(()=>{const s=new MutationObserver(o);s.observe(t.subTree.el.parentNode,{childList:!0}),Ru(()=>s.disconnect())})}function hd(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{hd(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)hu(e.el,t);else if(e.type===ot)e.children.forEach(n=>hd(n,t));else if(e.type===Jl){let{el:n,anchor:o}=e;for(;n&&(hu(n,t),n!==o);)n=n.nextSibling}}function hu(e,t){if(e.nodeType===1){const n=e.style;let o="";for(const s in t)n.setProperty(`--${s}`,t[s]),o+=`--${s}: ${t[s]};`;n[Zv]=o}}const CI=/(^|;)\s*display\s*:/;function TI(e,t,n){const o=e.style,s=Lt(n);let a=!1;if(n&&!s){if(t)if(Lt(t))for(const l of t.split(";")){const c=l.slice(0,l.indexOf(":")).trim();n[c]==null&&Ql(o,c,"")}else for(const l in t)n[l]==null&&Ql(o,l,"");for(const l in n)l==="display"&&(a=!0),Ql(o,l,n[l])}else if(s){if(t!==n){const l=o[Zv];l&&(n+=";"+l),o.cssText=n,a=CI.test(n)}}else t&&e.removeAttribute("style");Lg in e&&(e[Lg]=a?o.display:"",e[bI]&&(o.display="none"))}const Ig=/\s*!important$/;function Ql(e,t,n){if(xe(n))n.forEach(o=>Ql(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=wI(e,t);Ig.test(n)?e.setProperty(pi(o),n.replace(Ig,""),"important"):e[o]=n}}const Og=["Webkit","Moz","ms"],Sf={};function wI(e,t){const n=Sf[t];if(n)return n;let o=rr(t);if(o!=="filter"&&o in e)return Sf[t]=o;o=Su(o);for(let s=0;s<Og.length;s++){const a=Og[s]+o;if(a in e)return Sf[t]=a}return t}const Rg="http://www.w3.org/1999/xlink";function Pg(e,t,n,o,s,a=I1(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Rg,t.slice(6,t.length)):e.setAttributeNS(Rg,t,n):n==null||a&&!zE(n)?e.removeAttribute(t):e.setAttribute(t,a?"":lo(n)?String(n):n)}function Ng(e,t,n,o,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Jv(n):n);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,d=n==null?e.type==="checkbox"?"on":"":String(n);(c!==d||!("_value"in e))&&(e.value=d),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=zE(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(s||t)}function AI(e,t,n,o){e.addEventListener(t,n,o)}function SI(e,t,n,o){e.removeEventListener(t,n,o)}const Dg=Symbol("_vei");function xI(e,t,n,o,s=null){const a=e[Dg]||(e[Dg]={}),l=a[t];if(o&&l)l.value=o;else{const[c,d]=LI(t);if(o){const m=a[t]=RI(o,s);AI(e,c,m,d)}else l&&(SI(e,c,l,d),a[t]=void 0)}}const Mg=/(?:Once|Passive|Capture)$/;function LI(e){let t;if(Mg.test(e)){t={};let o;for(;o=e.match(Mg);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pi(e.slice(2)),t]}let xf=0;const II=Promise.resolve(),OI=()=>xf||(II.then(()=>xf=0),xf=Date.now());function RI(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Br(PI(o,n.value),t,5,[o])};return n.value=e,n.attached=OI(),n}function PI(e,t){if(xe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const Bg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,NI=(e,t,n,o,s,a)=>{const l=s==="svg";t==="class"?yI(e,o,l):t==="style"?TI(e,n,o):Tu(t)?$d(t)||xI(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):DI(e,t,o,l))?(Ng(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pg(e,t,o,l,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Lt(o))?Ng(e,rr(t),o,a,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Pg(e,t,o,l))};function DI(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Bg(t)&&Oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Bg(t)&&Lt(n)?!1:t in e}const MI=["ctrl","shift","alt","meta"],BI={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>MI.some(n=>e[`${n}Key`]&&!t.includes(n))},fs=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(s,...a)=>{for(let l=0;l<t.length;l++){const c=BI[t[l]];if(c&&c(s,t))return}return e(s,...a)})},kI=qt({patchProp:NI},EI);let kg;function FI(){return kg||(kg=UL(kI))}const $I=(...e)=>{const t=FI().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=HI(o);if(!s)return;const a=t._component;!Oe(a)&&!a.render&&!a.template&&(a.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const l=n(s,!1,WI(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t};function WI(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function HI(e){return Lt(e)?document.querySelector(e):e}function UI(e,t){let n;function o(){n=ZE(),n.run(()=>t.length?t(()=>{n==null||n.stop(),o()}):t())}tn(e,s=>{s&&!n?o():s||(n==null||n.stop(),n=void 0)},{immediate:!0}),R1(()=>{n==null||n.stop()})}const Or=typeof window<"u",VI=Or&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function GI(e,t,n){const o=t.length-1;if(o<0)return e===void 0?n:e;for(let s=0;s<o;s++){if(e==null)return n;e=e[t[s]]}return e==null||e[t[o]]===void 0?n:e[t[o]]}function Fg(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),GI(e,t.split("."),n))}function Qv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,o)=>t+o)}function Di(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function $g(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function Lf(e,t){return t.every(n=>e.hasOwnProperty(n))}function jI(e,t){const n={},o=new Set(Object.keys(e));for(const s of t)o.has(s)&&(n[s]=e[s]);return n}function YI(e){return e==null?[]:Array.isArray(e)?e:[e]}function KI(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function Wg(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function Hg(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function zI(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let o=0;for(;o<e.length;)n.push(e.substr(o,t)),o+=t;return n}function io(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const o={};for(const s in e)o[s]=e[s];for(const s in t){const a=e[s],l=t[s];if($g(a)&&$g(l)){o[s]=io(a,l,n);continue}if(n&&Array.isArray(a)&&Array.isArray(l)){o[s]=n(a,l);continue}o[s]=l}return o}function Qi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Qi.cache.has(e))return Qi.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Qi.cache.set(e,t),t}Qi.cache=new Map;function qI(e){const t=dn({}),n=Re(e);return Pu(()=>{for(const o in n.value)t[o]=n.value[o]},{flush:"sync"}),gv(t)}const Mi=2.4,Ug=.2126729,Vg=.7151522,Gg=.072175,XI=.55,JI=.58,ZI=.57,QI=.62,Dl=.03,jg=1.45,eO=5e-4,tO=1.25,nO=1.25,Yg=.078,Kg=12.82051282051282,Ml=.06,zg=.001;function qg(e,t){const n=(e.r/255)**Mi,o=(e.g/255)**Mi,s=(e.b/255)**Mi,a=(t.r/255)**Mi,l=(t.g/255)**Mi,c=(t.b/255)**Mi;let d=n*Ug+o*Vg+s*Gg,m=a*Ug+l*Vg+c*Gg;if(d<=Dl&&(d+=(Dl-d)**jg),m<=Dl&&(m+=(Dl-m)**jg),Math.abs(m-d)<eO)return 0;let p;if(m>d){const E=(m**XI-d**JI)*tO;p=E<zg?0:E<Yg?E-E*Kg*Ml:E-Ml}else{const E=(m**QI-d**ZI)*nO;p=E>-zg?0:E>-Yg?E-E*Kg*Ml:E+Ml}return p*100}const mu=.20689655172413793,rO=e=>e>mu**3?Math.cbrt(e):e/(3*mu**2)+4/29,oO=e=>e>mu?e**3:3*mu**2*(e-4/29);function ey(e){const t=rO,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function ty(e){const t=oO,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const iO=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],sO=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,aO=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],lO=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function ny(e){const t=Array(3),n=sO,o=iO;for(let s=0;s<3;++s)t[s]=Math.round(KI(n(o[s][0]*e[0]+o[s][1]*e[1]+o[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function lh(e){let{r:t,g:n,b:o}=e;const s=[0,0,0],a=lO,l=aO;t=a(t/255),n=a(n/255),o=a(o/255);for(let c=0;c<3;++c)s[c]=l[c][0]*t+l[c][1]*n+l[c][2]*o;return s}function md(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function uO(e){return md(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Xg=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,cO={rgb:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),rgba:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),hsl:(e,t,n,o)=>Jg({h:e,s:t,l:n,a:o}),hsla:(e,t,n,o)=>Jg({h:e,s:t,l:n,a:o}),hsv:(e,t,n,o)=>pa({h:e,s:t,v:n,a:o}),hsva:(e,t,n,o)=>pa({h:e,s:t,v:n,a:o})};function Rr(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Xg.test(e)){const{groups:t}=e.match(Xg),{fn:n,values:o}=t,s=o.split(/,\s*/).map(a=>a.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(a)/100:parseFloat(a));return cO[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),dO(t)}else if(typeof e=="object"){if(Lf(e,["r","g","b"]))return e;if(Lf(e,["h","s","l"]))return pa(ry(e));if(Lf(e,["h","s","v"]))return pa(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
|
|
18
|
+
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function pa(e){const{h:t,s:n,v:o,a:s}=e,a=c=>{const d=(c+t/60)%6;return o-o*n*Math.max(Math.min(d,4-d,1),0)},l=[a(5),a(3),a(1)].map(c=>Math.round(c*255));return{r:l[0],g:l[1],b:l[2],a:s}}function Jg(e){return pa(ry(e))}function ry(e){const{h:t,s:n,l:o,a:s}=e,a=o+n*Math.min(o,1-o),l=a===0?0:2-2*o/a;return{h:t,s:l,v:a,a:s}}function Bl(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function fO(e){let{r:t,g:n,b:o,a:s}=e;return`#${[Bl(t),Bl(n),Bl(o),s!==void 0?Bl(Math.round(s*255)):""].join("")}`}function dO(e){e=hO(e);let[t,n,o,s]=zI(e,2).map(a=>parseInt(a,16));return s=s===void 0?s:s/255,{r:t,g:n,b:o,a:s}}function hO(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=Wg(Wg(e,6),8,"F")),e}function mO(e,t){const n=ey(lh(e));return n[0]=n[0]+t*10,ny(ty(n))}function pO(e,t){const n=ey(lh(e));return n[0]=n[0]-t*10,ny(ty(n))}function gO(e){const t=Rr(e);return lh(t)[1]}function oy(e){const t=Math.abs(qg(Rr(0),Rr(e)));return Math.abs(qg(Rr(16777215),Rr(e)))>Math.min(t,50)?"#fff":"#000"}function ds(e,t){return n=>Object.keys(e).reduce((o,s)=>{const l=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?o[s]={...l,default:n[s]}:o[s]=l,t&&!o[s].source&&(o[s].source=t),o},{})}function hs(e,t){const n=fi();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}let iy=0,eu=new WeakMap;function sy(){const e=hs("getUid");if(eu.has(e))return eu.get(e);{const t=iy++;return eu.set(e,t),t}}sy.reset=()=>{iy=0,eu=new WeakMap};function _O(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hs("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const ga=Symbol.for("vuetify:defaults");function EO(e){return Zt(e)}function ay(){const e=Lo(ga);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function vO(e,t){var n,o;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((o=e.props)==null?void 0:o[Qi(t)])<"u"}function yO(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ay();const o=hs("useDefaults");if(t=t??o.type.name??o.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=Re(()=>{var d;return(d=n.value)==null?void 0:d[e._as??t]}),a=new Proxy(e,{get(d,m){var E,C,w,D,x,F,A;const p=Reflect.get(d,m);return m==="class"||m==="style"?[(E=s.value)==null?void 0:E[m],p].filter(B=>B!=null):typeof m=="string"&&!vO(o.vnode,m)?((C=s.value)==null?void 0:C[m])!==void 0?(w=s.value)==null?void 0:w[m]:((x=(D=n.value)==null?void 0:D.global)==null?void 0:x[m])!==void 0?(A=(F=n.value)==null?void 0:F.global)==null?void 0:A[m]:p:p}}),l=li();Pu(()=>{if(s.value){const d=Object.entries(s.value).filter(m=>{let[p]=m;return p.startsWith(p[0].toUpperCase())});l.value=d.length?Object.fromEntries(d):void 0}else l.value=void 0});function c(){const d=_O(ga,o);nh(ga,Re(()=>l.value?io((d==null?void 0:d.value)??{},l.value):d==null?void 0:d.value))}return{props:a,provideSubDefaults:c}}function Sa(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=ds(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(o){return jI(o,t)},e.props._as=String,e.setup=function(o,s){const a=ay();if(!a.value)return e._setup(o,s);const{props:l,provideSubDefaults:c}=yO(o,o._as??e.name,a),d=e._setup(l,s);return c(),d}}return e}function ly(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Sa:at)(t)}function bO(e){const t=hs("useRender");t.render=e}function CO(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:E=>E,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:E=>E;const a=hs("useProxiedModel"),l=Zt(e[t]!==void 0?e[t]:n),c=Qi(t),m=Re(c!==t?()=>{var E,C,w,D;return e[t],!!(((E=a.vnode.props)!=null&&E.hasOwnProperty(t)||(C=a.vnode.props)!=null&&C.hasOwnProperty(c))&&((w=a.vnode.props)!=null&&w.hasOwnProperty(`onUpdate:${t}`)||(D=a.vnode.props)!=null&&D.hasOwnProperty(`onUpdate:${c}`)))}:()=>{var E,C;return e[t],!!((E=a.vnode.props)!=null&&E.hasOwnProperty(t)&&((C=a.vnode.props)!=null&&C.hasOwnProperty(`onUpdate:${t}`)))});UI(()=>!m.value,()=>{tn(()=>e[t],E=>{l.value=E})});const p=Re({get(){const E=e[t];return o(m.value?E:l.value)},set(E){const C=s(E),w=Xe(m.value?e[t]:l.value);w===C||o(w)===E||(l.value=C,a==null||a.emit(`update:${t}`,C))}});return Object.defineProperty(p,"externalValue",{get:()=>m.value?e[t]:l.value}),p}const TO={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},Zg="$vuetify.",Qg=(e,t)=>e.replace(/\{(\d+)\}/g,(n,o)=>String(t[+o])),uy=(e,t,n)=>function(o){for(var s=arguments.length,a=new Array(s>1?s-1:0),l=1;l<s;l++)a[l-1]=arguments[l];if(!o.startsWith(Zg))return Qg(o,a);const c=o.replace(Zg,""),d=e.value&&n.value[e.value],m=t.value&&n.value[t.value];let p=Fg(d,c,null);return p||(`${o}${e.value}`,p=Fg(m,c,null)),p||(p=o),typeof p!="string"&&(p=o),Qg(p,a)};function cy(e,t){return(n,o)=>new Intl.NumberFormat([e.value,t.value],o).format(n)}function If(e,t,n){const o=CO(e,t,e[t]??n.value);return o.value=e[t]??n.value,tn(n,s=>{e[t]==null&&(o.value=n.value)}),o}function fy(e){return t=>{const n=If(t,"locale",e.current),o=If(t,"fallback",e.fallback),s=If(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:o,messages:s,t:uy(n,o,s),n:cy(n,o),provide:fy({current:n,fallback:o,messages:s})}}}function wO(e){const t=li((e==null?void 0:e.locale)??"en"),n=li((e==null?void 0:e.fallback)??"en"),o=Zt({en:TO,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:o,t:uy(t,n,o),n:cy(t,n),provide:fy({current:t,fallback:n,messages:o})}}const pd=Symbol.for("vuetify:locale");function AO(e){return e.name!=null}function SO(e){const t=e!=null&&e.adapter&&AO(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:wO(e),n=IO(t,e);return{...t,...n}}function xO(){const e=Lo(pd);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function LO(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function IO(e,t){const n=Zt((t==null?void 0:t.rtl)??LO()),o=Re(()=>n.value[e.current.value]??!1);return{isRtl:o,rtl:n,rtlClasses:Re(()=>`v-locale--is-${o.value?"rtl":"ltr"}`)}}const Fu={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function OO(e,t,n){const o=[];let s=[];const a=dy(e),l=hy(e),c=n??Fu[t.slice(-2).toUpperCase()]??0,d=(a.getDay()-c+7)%7,m=(l.getDay()-c+7)%7;for(let p=0;p<d;p++){const E=new Date(a);E.setDate(E.getDate()-(d-p)),s.push(E)}for(let p=1;p<=l.getDate();p++){const E=new Date(e.getFullYear(),e.getMonth(),p);s.push(E),s.length===7&&(o.push(s),s=[])}for(let p=1;p<7-m;p++){const E=new Date(l);E.setDate(E.getDate()+p),s.push(E)}return s.length>0&&o.push(s),o}function RO(e,t,n){const o=n??Fu[t.slice(-2).toUpperCase()]??0,s=new Date(e);for(;s.getDay()!==o;)s.setDate(s.getDate()-1);return s}function PO(e,t){const n=new Date(e),o=((Fu[t.slice(-2).toUpperCase()]??0)+6)%7;for(;n.getDay()!==o;)n.setDate(n.getDate()+1);return n}function dy(e){return new Date(e.getFullYear(),e.getMonth(),1)}function hy(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function NO(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const DO=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function my(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(DO.test(e))return NO(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const e_=new Date(2e3,0,2);function MO(e,t){const n=t??Fu[e.slice(-2).toUpperCase()]??0;return Qv(7).map(o=>{const s=new Date(e_);return s.setDate(e_.getDate()+n+o),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(s)})}function BO(e,t,n,o){const s=my(e)??new Date,a=o==null?void 0:o[t];if(typeof a=="function")return a(s,t,n);let l={};switch(t){case"fullDate":l={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":l={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const c=s.getDate(),d=new Intl.DateTimeFormat(n,{month:"long"}).format(s);return`${c} ${d}`;case"normalDateWithWeekday":l={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":l={month:"short",day:"numeric"};break;case"year":l={year:"numeric"};break;case"month":l={month:"long"};break;case"monthShort":l={month:"short"};break;case"monthAndYear":l={month:"long",year:"numeric"};break;case"monthAndDate":l={month:"long",day:"numeric"};break;case"weekday":l={weekday:"long"};break;case"weekdayShort":l={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(s.getDate());case"hours12h":l={hour:"numeric",hour12:!0};break;case"hours24h":l={hour:"numeric",hour12:!1};break;case"minutes":l={minute:"numeric"};break;case"seconds":l={second:"numeric"};break;case"fullTime":l={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":l={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":l={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":l={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":l={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":l={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":l={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":l={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":l={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":l={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:l=a??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,l).format(s)}function kO(e,t){const n=e.toJsDate(t),o=n.getFullYear(),s=Hg(String(n.getMonth()+1),2,"0"),a=Hg(String(n.getDate()),2,"0");return`${o}-${s}-${a}`}function FO(e){const[t,n,o]=e.split("-").map(Number);return new Date(t,n-1,o)}function $O(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function WO(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function HO(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function UO(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function VO(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function GO(e){return e.getFullYear()}function jO(e){return e.getMonth()}function YO(e){return e.getDate()}function KO(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function zO(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function qO(e){return e.getHours()}function XO(e){return e.getMinutes()}function JO(e){return new Date(e.getFullYear(),0,1)}function ZO(e){return new Date(e.getFullYear(),11,31)}function QO(e,t){return pu(e,t[0])&&nR(e,t[1])}function eR(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function pu(e,t){return e.getTime()>t.getTime()}function tR(e,t){return pu(gd(e),gd(t))}function nR(e,t){return e.getTime()<t.getTime()}function t_(e,t){return e.getTime()===t.getTime()}function rR(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function oR(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function iR(e,t){return e.getFullYear()===t.getFullYear()}function sR(e,t,n){const o=new Date(e),s=new Date(t);switch(n){case"years":return o.getFullYear()-s.getFullYear();case"quarters":return Math.floor((o.getMonth()-s.getMonth()+(o.getFullYear()-s.getFullYear())*12)/4);case"months":return o.getMonth()-s.getMonth()+(o.getFullYear()-s.getFullYear())*12;case"weeks":return Math.floor((o.getTime()-s.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((o.getTime()-s.getTime())/(1e3*60*60*24));case"hours":return Math.floor((o.getTime()-s.getTime())/(1e3*60*60));case"minutes":return Math.floor((o.getTime()-s.getTime())/(1e3*60));case"seconds":return Math.floor((o.getTime()-s.getTime())/1e3);default:return o.getTime()-s.getTime()}}function aR(e,t){const n=new Date(e);return n.setHours(t),n}function lR(e,t){const n=new Date(e);return n.setMinutes(t),n}function uR(e,t){const n=new Date(e);return n.setMonth(t),n}function cR(e,t){const n=new Date(e);return n.setDate(t),n}function fR(e,t){const n=new Date(e);return n.setFullYear(t),n}function gd(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function dR(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class hR{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return my(t)}toJsDate(t){return t}toISO(t){return kO(this,t)}parseISO(t){return FO(t)}addMinutes(t,n){return $O(t,n)}addHours(t,n){return WO(t,n)}addDays(t,n){return HO(t,n)}addWeeks(t,n){return UO(t,n)}addMonths(t,n){return VO(t,n)}getWeekArray(t,n){return OO(t,this.locale,n?Number(n):void 0)}startOfWeek(t,n){return RO(t,this.locale,n?Number(n):void 0)}endOfWeek(t){return PO(t,this.locale)}startOfMonth(t){return dy(t)}endOfMonth(t){return hy(t)}format(t,n){return BO(t,n,this.locale,this.formats)}isEqual(t,n){return t_(t,n)}isValid(t){return eR(t)}isWithinRange(t,n){return QO(t,n)}isAfter(t,n){return pu(t,n)}isAfterDay(t,n){return tR(t,n)}isBefore(t,n){return!pu(t,n)&&!t_(t,n)}isSameDay(t,n){return rR(t,n)}isSameMonth(t,n){return oR(t,n)}isSameYear(t,n){return iR(t,n)}setMinutes(t,n){return lR(t,n)}setHours(t,n){return aR(t,n)}setMonth(t,n){return uR(t,n)}setDate(t,n){return cR(t,n)}setYear(t,n){return fR(t,n)}getDiff(t,n,o){return sR(t,n,o)}getWeekdays(t){return MO(this.locale,t?Number(t):void 0)}getYear(t){return GO(t)}getMonth(t){return jO(t)}getDate(t){return YO(t)}getNextMonth(t){return KO(t)}getPreviousMonth(t){return zO(t)}getHours(t){return qO(t)}getMinutes(t){return XO(t)}startOfDay(t){return gd(t)}endOfDay(t){return dR(t)}startOfYear(t){return JO(t)}endOfYear(t){return ZO(t)}}const mR=Symbol.for("vuetify:date-options"),n_=Symbol.for("vuetify:date-adapter");function pR(e,t){const n=io({adapter:hR,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:n,instance:gR(n,t)}}function gR(e,t){const n=dn(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return tn(t.current,o=>{n.locale=e.locale[o]??o??n.locale}),n}const r_=Symbol.for("vuetify:display"),o_={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},_R=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o_;return io(o_,e)};function i_(e){return Or&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function s_(e){return Or&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function a_(e){const t=Or&&!e?window.navigator.userAgent:"ssr";function n(D){return!!t.match(D)}const o=n(/android/i),s=n(/iphone|ipad|ipod/i),a=n(/cordova/i),l=n(/electron/i),c=n(/chrome/i),d=n(/edge/i),m=n(/firefox/i),p=n(/opera/i),E=n(/win/i),C=n(/mac/i),w=n(/linux/i);return{android:o,ios:s,cordova:a,electron:l,chrome:c,edge:d,firefox:m,opera:p,win:E,mac:C,linux:w,touch:VI,ssr:t==="ssr"}}function ER(e,t){const{thresholds:n,mobileBreakpoint:o}=_R(e),s=li(s_(t)),a=li(a_(t)),l=dn({}),c=li(i_(t));function d(){s.value=s_(),c.value=i_()}function m(){d(),a.value=a_()}return Pu(()=>{const p=c.value<n.sm,E=c.value<n.md&&!p,C=c.value<n.lg&&!(E||p),w=c.value<n.xl&&!(C||E||p),D=c.value<n.xxl&&!(w||C||E||p),x=c.value>=n.xxl,F=p?"xs":E?"sm":C?"md":w?"lg":D?"xl":"xxl",A=typeof o=="number"?o:n[o],B=c.value<A;l.xs=p,l.sm=E,l.md=C,l.lg=w,l.xl=D,l.xxl=x,l.smAndUp=!p,l.mdAndUp=!(p||E),l.lgAndUp=!(p||E||C),l.xlAndUp=!(p||E||C||w),l.smAndDown=!(C||w||D||x),l.mdAndDown=!(w||D||x),l.lgAndDown=!(D||x),l.xlAndDown=!x,l.name=F,l.height=s.value,l.width=c.value,l.mobile=B,l.mobileBreakpoint=o,l.platform=a.value,l.thresholds=n}),Or&&window.addEventListener("resize",d,{passive:!0}),{...gv(l),update:m,ssr:!!t}}const vR=Symbol.for("vuetify:goto");function yR(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function bR(e,t){return{rtl:t.isRtl,options:io(yR(),e)}}const CR={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},TR={component:e=>Bu(py,{...e,class:"mdi"})},wR=[String,Function,Object,Array],l_=Symbol.for("vuetify:icons"),$u=ds({icon:{type:wR},tag:{type:String,required:!0}},"icon");ly()({name:"VComponentIcon",props:$u(),setup(e,t){let{slots:n}=t;return()=>{const o=e.icon;return Ke(e.tag,null,{default:()=>{var s;return[e.icon?Ke(o,null,null):(s=n.default)==null?void 0:s.call(n)]}})}}});const AR=Sa({name:"VSvgIcon",inheritAttrs:!1,props:$u(),setup(e,t){let{attrs:n}=t;return()=>Ke(e.tag,ah(n,{style:null}),{default:()=>[Ke("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(o=>Array.isArray(o)?Ke("path",{d:o[0],"fill-opacity":o[1]},null):Ke("path",{d:o},null)):Ke("path",{d:e.icon},null)])]})}});Sa({name:"VLigatureIcon",props:$u(),setup(e){return()=>Ke(e.tag,null,{default:()=>[e.icon]})}});const py=Sa({name:"VClassIcon",props:$u(),setup(e){return()=>Ke(e.tag,{class:e.icon},null)}});function SR(){return{svg:{component:AR},class:{component:py}}}function xR(e){const t=SR(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=TR),io({defaultSet:n,sets:t,aliases:{...CR,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const gu=Symbol.for("vuetify:theme"),LR=ds({theme:String},"theme");function u_(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function IR(){var o,s;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u_();const t=u_();if(!e)return{...t,isDisabled:!0};const n={};for(const[a,l]of Object.entries(e.themes??{})){const c=l.dark||a==="dark"?(o=t.themes)==null?void 0:o.dark:(s=t.themes)==null?void 0:s.light;n[a]=io(c,l)}return io(t,{...e,themes:n})}function OR(e){const t=IR(e),n=Zt(t.defaultTheme),o=Zt(t.themes),s=Re(()=>{const p={};for(const[E,C]of Object.entries(o.value)){const w=p[E]={...C,colors:{...C.colors}};if(t.variations)for(const D of t.variations.colors){const x=w.colors[D];if(x)for(const F of["lighten","darken"]){const A=F==="lighten"?mO:pO;for(const B of Qv(t.variations[F],1))w.colors[`${D}-${F}-${B}`]=fO(A(Rr(x),B))}}for(const D of Object.keys(w.colors)){if(/^on-[a-z]/.test(D)||w.colors[`on-${D}`])continue;const x=`on-${D}`,F=Rr(w.colors[D]);w.colors[x]=oy(F)}}return p}),a=Re(()=>s.value[n.value]),l=Re(()=>{var D;const p=[];(D=a.value)!=null&&D.dark&&ti(p,":root",["color-scheme: dark"]),ti(p,":root",c_(a.value));for(const[x,F]of Object.entries(s.value))ti(p,`.v-theme--${x}`,[`color-scheme: ${F.dark?"dark":"normal"}`,...c_(F)]);const E=[],C=[],w=new Set(Object.values(s.value).flatMap(x=>Object.keys(x.colors)));for(const x of w)/^on-[a-z]/.test(x)?ti(C,`.${x}`,[`color: rgb(var(--v-theme-${x})) !important`]):(ti(E,`.bg-${x}`,[`--v-theme-overlay-multiplier: var(--v-theme-${x}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${x})) !important`,`color: rgb(var(--v-theme-on-${x})) !important`]),ti(C,`.text-${x}`,[`color: rgb(var(--v-theme-${x})) !important`]),ti(C,`.border-${x}`,[`--v-border-color: var(--v-theme-${x})`]));return p.push(...E,...C),p.map((x,F)=>F===0?x:` ${x}`).join("")});function c(){return{style:[{children:l.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function d(p){if(t.isDisabled)return;const E=p._context.provides.usehead;if(E)if(E.push){const w=E.push(c);Or&&tn(l,()=>{w.patch(c)})}else Or?(E.addHeadObjs(Re(c)),Pu(()=>E.updateDOM())):E.addHeadObjs(c());else{let D=function(){if(typeof document<"u"&&!w){const x=document.createElement("style");x.type="text/css",x.id="vuetify-theme-stylesheet",t.cspNonce&&x.setAttribute("nonce",t.cspNonce),w=x,document.head.appendChild(w)}w&&(w.innerHTML=l.value)};var C=D;let w=Or?document.getElementById("vuetify-theme-stylesheet"):null;Or?tn(l,D,{immediate:!0}):D()}}const m=Re(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:d,isDisabled:t.isDisabled,name:n,themes:o,current:a,computedThemes:s,themeClasses:m,styles:l,global:{name:n,current:a}}}function RR(e){hs("provideTheme");const t=Lo(gu,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=Re(()=>e.theme??t.name.value),o=Re(()=>t.themes.value[n.value]),s=Re(()=>t.isDisabled?void 0:`v-theme--${n.value}`),a={...t,name:n,current:o,themeClasses:s};return nh(gu,a),a}function ti(e,t,n){e.push(`${t} {
|
|
19
|
+
`,...n.map(o=>` ${o};
|
|
20
|
+
`),`}
|
|
21
|
+
`)}function c_(e){const t=e.dark?2:1,n=e.dark?1:2,o=[];for(const[s,a]of Object.entries(e.colors)){const l=Rr(a);o.push(`--v-theme-${s}: ${l.r},${l.g},${l.b}`),s.startsWith("on-")||o.push(`--v-theme-${s}-overlay-multiplier: ${gO(a)>.18?t:n}`)}for(const[s,a]of Object.entries(e.variables)){const l=typeof a=="string"&&a.startsWith("#")?Rr(a):void 0,c=l?`${l.r}, ${l.g}, ${l.b}`:void 0;o.push(`--v-${s}: ${c??a}`)}return o}function gy(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,o=io(t,n),{aliases:s={},components:a={},directives:l={}}=o,c=EO(o.defaults),d=ER(o.display,o.ssr),m=OR(o.theme),p=xR(o.icons),E=SO(o.locale),C=pR(o.date,E),w=bR(o.goTo,E);return{install:x=>{for(const F in l)x.directive(F,l[F]);for(const F in a)x.component(F,a[F]);for(const F in s)x.component(F,Sa({...s[F],name:F,aliasName:s[F].name}));if(m.install(x),x.provide(ga,c),x.provide(r_,d),x.provide(gu,m),x.provide(l_,p),x.provide(pd,E),x.provide(mR,C.options),x.provide(n_,C.instance),x.provide(vR,w),Or&&o.ssr)if(x.$nuxt)x.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:F}=x;x.mount=function(){const A=F(...arguments);return vv(()=>d.update()),x.mount=F,A}}sy.reset(),x.mixin({computed:{$vuetify(){return dn({defaults:Bi.call(this,ga),display:Bi.call(this,r_),theme:Bi.call(this,gu),icons:Bi.call(this,l_),locale:Bi.call(this,pd),date:Bi.call(this,n_)})}}})},defaults:c,display:d,theme:m,icons:p,locale:E,date:C,goTo:w}}const PR="3.7.2";gy.version=PR;function Bi(e){var o,s;const t=this.$,n=((o=t.parent)==null?void 0:o.provides)??((s=t.vnode.appContext)==null?void 0:s.provides);if(n&&e in n)return n[e]}const Gn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},NR={},DR={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function MR(e,t){return ie(),Ce("svg",DR,t[0]||(t[0]=[Z("path",{d:"M11.1665 11.1667V0.166748H14.8332V11.1667H25.8332V14.8334H14.8332V25.8334H11.1665V14.8334H0.166504V11.1667H11.1665Z",fill:"var(--blue-400)"},null,-1)]))}const BR=Gn(NR,[["render",MR]]),kR={},FR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function $R(e,t){return ie(),Ce("svg",FR,t[0]||(t[0]=[Z("path",{d:"M3 3L13 13",stroke:"var(--black)"},null,-1),Z("path",{d:"M13 3L3 13",stroke:"var(--black)"},null,-1)]))}const WR=Gn(kR,[["render",$R]]),HR={class:"template-select bootstrap-styles d-flex flex-column bg-white justify-content-start align-items-center"},UR=["href"],VR={class:"icon-hover-stroke-black"},GR={class:"template-select__list"},jR={class:"bootstrap-styles mb-3"},YR=at({__name:"FavoritesTemplateList",props:{deps:{}},emits:["initialTemplateSelected"],setup(e,{emit:t}){const n=e,o=t,s=n.deps.emailTemplatePreviewComponents;return(a,l)=>(ie(),Ce("div",HR,[Z("a",{class:"favorites-template-selector__close",href:n.deps.exitLink},[Z("i",VR,[Ke(WR)])],8,UR),l[2]||(l[2]=Z("h1",{class:"bootstrap-styles mb-11"}," Username, добро пожаловать! ",-1)),l[3]||(l[3]=Z("div",{class:"bootstrap-styles mb-13"}," Выберите готовую тему или начните с чистого листа ",-1)),Z("div",GR,[Z("button",{class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center template-select__new-item overflow-hidden border rounded-3",type:"button",onClick:l[0]||(l[0]=c=>o("initialTemplateSelected"))},[Z("i",jR,[Ke(BR)]),l[1]||(l[1]=ih(" Чистый лист "))]),(ie(!0),Ce(ot,null,$n(oe(s),(c,d)=>(ie(),Ce("div",{key:d,class:"template-select__item bootstrap-styles overflow-hidden border rounded-3"},[(ie(),mt(xL(c)))]))),128))])]))}});const KR=Gn(YR,[["__scopeId","data-v-191c3a09"]]),zR=at({__name:"FavoritesTemplateSelector",props:{deps:{}},emits:["initialTemplateSelected"],setup(e,{emit:t}){const n=e,o=t;return(s,a)=>(ie(),mt(KR,{deps:n.deps.favoritesTemplateListDeps,onInitialTemplateSelected:a[0]||(a[0]=l=>o("initialTemplateSelected"))},null,8,["deps"]))}}),qR=at({__name:"CreateEmailTemplateApp",props:{deps:{}},emits:["initialTemplateSelected"],setup(e,{emit:t}){const n=dn({template:void 0}),o=e,s=t;return(a,l)=>n.template===void 0?(ie(),mt(zR,{key:0,deps:o.deps.favoritesTemplateSelectorDeps,onInitialTemplateSelected:l[0]||(l[0]=c=>s("initialTemplateSelected"))},null,8,["deps"])):vn("",!0)}});var XR=Symbol("@ts-pattern/matcher");function gi(e){var t;return(t={})[XR]=function(){return{match:function(n){return{matched:!!e(n)}}}},t}gi(function(e){return!0});gi(function(e){return typeof e=="string"});gi(function(e){return typeof e=="number"});gi(function(e){return typeof e=="boolean"});gi(function(e){return typeof e=="bigint"});gi(function(e){return typeof e=="symbol"});gi(function(e){return e==null});/*!
|
|
22
|
+
* shared v9.8.0
|
|
23
|
+
* (c) 2023 kazuya kawaguchi
|
|
24
|
+
* Released under the MIT License.
|
|
25
|
+
*/const _d=typeof window<"u",ko=(e,t=!1)=>t?Symbol.for(e):Symbol(e),JR=(e,t,n)=>ZR({l:e,k:t,s:n}),ZR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ut=e=>typeof e=="number"&&isFinite(e),QR=e=>Ey(e)==="[object Date]",Oo=e=>Ey(e)==="[object RegExp]",Wu=e=>Se(e)&&Object.keys(e).length===0,nn=Object.assign;let f_;const eo=()=>f_||(f_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function d_(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const eP=Object.prototype.hasOwnProperty;function _a(e,t){return eP.call(e,t)}const yt=Array.isArray,Et=e=>typeof e=="function",ae=e=>typeof e=="string",Ve=e=>typeof e=="boolean",tt=e=>e!==null&&typeof e=="object",tP=e=>tt(e)&&Et(e.then)&&Et(e.catch),_y=Object.prototype.toString,Ey=e=>_y.call(e),Se=e=>{if(!tt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},nP=e=>e==null?"":yt(e)||Se(e)&&e.toString===_y?JSON.stringify(e,null,2):String(e);function rP(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}function uh(e){let t=e;return()=>++t}function oP(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const kl=e=>!tt(e)||yt(e);function sa(e,t){if(kl(e)||kl(t))throw new Error("Invalid value");for(const n in e)_a(e,n)&&(kl(e[n])||kl(t[n])?t[n]=e[n]:sa(e[n],t[n]))}/*!
|
|
26
|
+
* message-compiler v9.8.0
|
|
27
|
+
* (c) 2023 kazuya kawaguchi
|
|
28
|
+
* Released under the MIT License.
|
|
29
|
+
*/function iP(e,t,n){return{line:e,column:t,offset:n}}function Ed(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const sP=/\{([0-9a-zA-Z]+)\}/g;function aP(e,...t){return t.length===1&&lP(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(sP,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const vy=Object.assign,h_=e=>typeof e=="string",lP=e=>e!==null&&typeof e=="object";function yy(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}const be={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},uP={[be.EXPECTED_TOKEN]:"Expected token: '{0}'",[be.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[be.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[be.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[be.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[be.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[be.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[be.EMPTY_PLACEHOLDER]:"Empty placeholder",[be.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[be.INVALID_LINKED_FORMAT]:"Invalid linked format",[be.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[be.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[be.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[be.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[be.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[be.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ms(e,t,n={}){const{domain:o,messages:s,args:a}=n,l=aP((s||uP)[e]||"",...a||[]),c=new SyntaxError(String(l));return c.code=e,t&&(c.location=t),c.domain=o,c}function cP(e){throw e}const Xr=" ",fP="\r",_n=`
|
|
30
|
+
`,dP=String.fromCharCode(8232),hP=String.fromCharCode(8233);function mP(e){const t=e;let n=0,o=1,s=1,a=0;const l=U=>t[U]===fP&&t[U+1]===_n,c=U=>t[U]===_n,d=U=>t[U]===hP,m=U=>t[U]===dP,p=U=>l(U)||c(U)||d(U)||m(U),E=()=>n,C=()=>o,w=()=>s,D=()=>a,x=U=>l(U)||d(U)||m(U)?_n:t[U],F=()=>x(n),A=()=>x(n+a);function B(){return a=0,p(n)&&(o++,s=0),l(n)&&n++,n++,s++,t[n]}function $(){return l(n+a)&&a++,a++,t[n+a]}function S(){n=0,o=1,s=1,a=0}function H(U=0){a=U}function G(){const U=n+a;for(;U!==n;)B();a=0}return{index:E,line:C,column:w,peekOffset:D,charAt:x,currentChar:F,currentPeek:A,next:B,peek:$,reset:S,resetPeek:H,skipToPeek:G}}const bo=void 0,pP=".",m_="'",gP="tokenizer";function _P(e,t={}){const n=t.location!==!1,o=mP(e),s=()=>o.index(),a=()=>iP(o.line(),o.column(),o.index()),l=a(),c=s(),d={currentType:14,offset:c,startLoc:l,endLoc:l,lastType:14,lastOffset:c,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},m=()=>d,{onError:p}=t;function E(g,h,b,...N){const M=m();if(h.column+=b,h.offset+=b,p){const V=n?Ed(M.startLoc,h):null,ee=ms(g,V,{domain:gP,args:N});p(ee)}}function C(g,h,b){g.endLoc=a(),g.currentType=h;const N={type:h};return n&&(N.loc=Ed(g.startLoc,g.endLoc)),b!=null&&(N.value=b),N}const w=g=>C(g,14);function D(g,h){return g.currentChar()===h?(g.next(),h):(E(be.EXPECTED_TOKEN,a(),0,h),"")}function x(g){let h="";for(;g.currentPeek()===Xr||g.currentPeek()===_n;)h+=g.currentPeek(),g.peek();return h}function F(g){const h=x(g);return g.skipToPeek(),h}function A(g){if(g===bo)return!1;const h=g.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h===95}function B(g){if(g===bo)return!1;const h=g.charCodeAt(0);return h>=48&&h<=57}function $(g,h){const{currentType:b}=h;if(b!==2)return!1;x(g);const N=A(g.currentPeek());return g.resetPeek(),N}function S(g,h){const{currentType:b}=h;if(b!==2)return!1;x(g);const N=g.currentPeek()==="-"?g.peek():g.currentPeek(),M=B(N);return g.resetPeek(),M}function H(g,h){const{currentType:b}=h;if(b!==2)return!1;x(g);const N=g.currentPeek()===m_;return g.resetPeek(),N}function G(g,h){const{currentType:b}=h;if(b!==8)return!1;x(g);const N=g.currentPeek()===".";return g.resetPeek(),N}function U(g,h){const{currentType:b}=h;if(b!==9)return!1;x(g);const N=A(g.currentPeek());return g.resetPeek(),N}function le(g,h){const{currentType:b}=h;if(!(b===8||b===12))return!1;x(g);const N=g.currentPeek()===":";return g.resetPeek(),N}function ce(g,h){const{currentType:b}=h;if(b!==10)return!1;const N=()=>{const V=g.currentPeek();return V==="{"?A(g.peek()):V==="@"||V==="%"||V==="|"||V===":"||V==="."||V===Xr||!V?!1:V===_n?(g.peek(),N()):A(V)},M=N();return g.resetPeek(),M}function de(g){x(g);const h=g.currentPeek()==="|";return g.resetPeek(),h}function Pe(g){const h=x(g),b=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:b,hasSpace:h.length>0}}function ke(g,h=!0){const b=(M=!1,V="",ee=!1)=>{const q=g.currentPeek();return q==="{"?V==="%"?!1:M:q==="@"||!q?V==="%"?!0:M:q==="%"?(g.peek(),b(M,"%",!0)):q==="|"?V==="%"||ee?!0:!(V===Xr||V===_n):q===Xr?(g.peek(),b(!0,Xr,ee)):q===_n?(g.peek(),b(!0,_n,ee)):!0},N=b();return h&&g.resetPeek(),N}function We(g,h){const b=g.currentChar();return b===bo?bo:h(b)?(g.next(),b):null}function Tt(g){return We(g,b=>{const N=b.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36})}function Bt(g){return We(g,b=>{const N=b.charCodeAt(0);return N>=48&&N<=57})}function Le(g){return We(g,b=>{const N=b.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102})}function ge(g){let h="",b="";for(;h=Bt(g);)b+=h;return b}function Te(g){F(g);const h=g.currentChar();return h!=="%"&&E(be.EXPECTED_TOKEN,a(),0,h),g.next(),"%"}function qe(g){let h="";for(;;){const b=g.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b==="%")if(ke(g))h+=b,g.next();else break;else if(b===Xr||b===_n)if(ke(g))h+=b,g.next();else{if(de(g))break;h+=b,g.next()}else h+=b,g.next()}return h}function Fe(g){F(g);let h="",b="";for(;h=Tt(g);)b+=h;return g.currentChar()===bo&&E(be.UNTERMINATED_CLOSING_BRACE,a(),0),b}function Je(g){F(g);let h="";return g.currentChar()==="-"?(g.next(),h+=`-${ge(g)}`):h+=ge(g),g.currentChar()===bo&&E(be.UNTERMINATED_CLOSING_BRACE,a(),0),h}function Ne(g){F(g),D(g,"'");let h="",b="";const N=V=>V!==m_&&V!==_n;for(;h=We(g,N);)h==="\\"?b+=Gt(g):b+=h;const M=g.currentChar();return M===_n||M===bo?(E(be.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),M===_n&&(g.next(),D(g,"'")),b):(D(g,"'"),b)}function Gt(g){const h=g.currentChar();switch(h){case"\\":case"'":return g.next(),`\\${h}`;case"u":return He(g,h,4);case"U":return He(g,h,6);default:return E(be.UNKNOWN_ESCAPE_SEQUENCE,a(),0,h),""}}function He(g,h,b){D(g,h);let N="";for(let M=0;M<b;M++){const V=Le(g);if(!V){E(be.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${h}${N}${g.currentChar()}`);break}N+=V}return`\\${h}${N}`}function it(g){F(g);let h="",b="";const N=M=>M!=="{"&&M!=="}"&&M!==Xr&&M!==_n;for(;h=We(g,N);)b+=h;return b}function pt(g){let h="",b="";for(;h=Tt(g);)b+=h;return b}function kt(g){const h=(b=!1,N)=>{const M=g.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===Xr?N:M===_n||M===pP?(N+=M,g.next(),h(b,N)):(N+=M,g.next(),h(!0,N))};return h(!1,"")}function nt(g){F(g);const h=D(g,"|");return F(g),h}function wt(g,h){let b=null;switch(g.currentChar()){case"{":return h.braceNest>=1&&E(be.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),g.next(),b=C(h,2,"{"),F(g),h.braceNest++,b;case"}":return h.braceNest>0&&h.currentType===2&&E(be.EMPTY_PLACEHOLDER,a(),0),g.next(),b=C(h,3,"}"),h.braceNest--,h.braceNest>0&&F(g),h.inLinked&&h.braceNest===0&&(h.inLinked=!1),b;case"@":return h.braceNest>0&&E(be.UNTERMINATED_CLOSING_BRACE,a(),0),b=St(g,h)||w(h),h.braceNest=0,b;default:let M=!0,V=!0,ee=!0;if(de(g))return h.braceNest>0&&E(be.UNTERMINATED_CLOSING_BRACE,a(),0),b=C(h,1,nt(g)),h.braceNest=0,h.inLinked=!1,b;if(h.braceNest>0&&(h.currentType===5||h.currentType===6||h.currentType===7))return E(be.UNTERMINATED_CLOSING_BRACE,a(),0),h.braceNest=0,lt(g,h);if(M=$(g,h))return b=C(h,5,Fe(g)),F(g),b;if(V=S(g,h))return b=C(h,6,Je(g)),F(g),b;if(ee=H(g,h))return b=C(h,7,Ne(g)),F(g),b;if(!M&&!V&&!ee)return b=C(h,13,it(g)),E(be.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,b.value),F(g),b;break}return b}function St(g,h){const{currentType:b}=h;let N=null;const M=g.currentChar();switch((b===8||b===9||b===12||b===10)&&(M===_n||M===Xr)&&E(be.INVALID_LINKED_FORMAT,a(),0),M){case"@":return g.next(),N=C(h,8,"@"),h.inLinked=!0,N;case".":return F(g),g.next(),C(h,9,".");case":":return F(g),g.next(),C(h,10,":");default:return de(g)?(N=C(h,1,nt(g)),h.braceNest=0,h.inLinked=!1,N):G(g,h)||le(g,h)?(F(g),St(g,h)):U(g,h)?(F(g),C(h,12,pt(g))):ce(g,h)?(F(g),M==="{"?wt(g,h)||N:C(h,11,kt(g))):(b===8&&E(be.INVALID_LINKED_FORMAT,a(),0),h.braceNest=0,h.inLinked=!1,lt(g,h))}}function lt(g,h){let b={type:14};if(h.braceNest>0)return wt(g,h)||w(h);if(h.inLinked)return St(g,h)||w(h);switch(g.currentChar()){case"{":return wt(g,h)||w(h);case"}":return E(be.UNBALANCED_CLOSING_BRACE,a(),0),g.next(),C(h,3,"}");case"@":return St(g,h)||w(h);default:if(de(g))return b=C(h,1,nt(g)),h.braceNest=0,h.inLinked=!1,b;const{isModulo:M,hasSpace:V}=Pe(g);if(M)return V?C(h,0,qe(g)):C(h,4,Te(g));if(ke(g))return C(h,0,qe(g));break}return b}function Ft(){const{currentType:g,offset:h,startLoc:b,endLoc:N}=d;return d.lastType=g,d.lastOffset=h,d.lastStartLoc=b,d.lastEndLoc=N,d.offset=s(),d.startLoc=a(),o.currentChar()===bo?C(d,14):lt(o,d)}return{nextToken:Ft,currentOffset:s,currentPosition:a,context:m}}const EP="parser",vP=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function yP(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function bP(e={}){const t=e.location!==!1,{onError:n}=e;function o(A,B,$,S,...H){const G=A.currentPosition();if(G.offset+=S,G.column+=S,n){const U=t?Ed($,G):null,le=ms(B,U,{domain:EP,args:H});n(le)}}function s(A,B,$){const S={type:A};return t&&(S.start=B,S.end=B,S.loc={start:$,end:$}),S}function a(A,B,$,S){S&&(A.type=S),t&&(A.end=B,A.loc&&(A.loc.end=$))}function l(A,B){const $=A.context(),S=s(3,$.offset,$.startLoc);return S.value=B,a(S,A.currentOffset(),A.currentPosition()),S}function c(A,B){const $=A.context(),{lastOffset:S,lastStartLoc:H}=$,G=s(5,S,H);return G.index=parseInt(B,10),A.nextToken(),a(G,A.currentOffset(),A.currentPosition()),G}function d(A,B){const $=A.context(),{lastOffset:S,lastStartLoc:H}=$,G=s(4,S,H);return G.key=B,A.nextToken(),a(G,A.currentOffset(),A.currentPosition()),G}function m(A,B){const $=A.context(),{lastOffset:S,lastStartLoc:H}=$,G=s(9,S,H);return G.value=B.replace(vP,yP),A.nextToken(),a(G,A.currentOffset(),A.currentPosition()),G}function p(A){const B=A.nextToken(),$=A.context(),{lastOffset:S,lastStartLoc:H}=$,G=s(8,S,H);return B.type!==12?(o(A,be.UNEXPECTED_EMPTY_LINKED_MODIFIER,$.lastStartLoc,0),G.value="",a(G,S,H),{nextConsumeToken:B,node:G}):(B.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,xr(B)),G.value=B.value||"",a(G,A.currentOffset(),A.currentPosition()),{node:G})}function E(A,B){const $=A.context(),S=s(7,$.offset,$.startLoc);return S.value=B,a(S,A.currentOffset(),A.currentPosition()),S}function C(A){const B=A.context(),$=s(6,B.offset,B.startLoc);let S=A.nextToken();if(S.type===9){const H=p(A);$.modifier=H.node,S=H.nextConsumeToken||A.nextToken()}switch(S.type!==10&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(S)),S=A.nextToken(),S.type===2&&(S=A.nextToken()),S.type){case 11:S.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(S)),$.key=E(A,S.value||"");break;case 5:S.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(S)),$.key=d(A,S.value||"");break;case 6:S.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(S)),$.key=c(A,S.value||"");break;case 7:S.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(S)),$.key=m(A,S.value||"");break;default:o(A,be.UNEXPECTED_EMPTY_LINKED_KEY,B.lastStartLoc,0);const H=A.context(),G=s(7,H.offset,H.startLoc);return G.value="",a(G,H.offset,H.startLoc),$.key=G,a($,H.offset,H.startLoc),{nextConsumeToken:S,node:$}}return a($,A.currentOffset(),A.currentPosition()),{node:$}}function w(A){const B=A.context(),$=B.currentType===1?A.currentOffset():B.offset,S=B.currentType===1?B.endLoc:B.startLoc,H=s(2,$,S);H.items=[];let G=null;do{const ce=G||A.nextToken();switch(G=null,ce.type){case 0:ce.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(ce)),H.items.push(l(A,ce.value||""));break;case 6:ce.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(ce)),H.items.push(c(A,ce.value||""));break;case 5:ce.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(ce)),H.items.push(d(A,ce.value||""));break;case 7:ce.value==null&&o(A,be.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,xr(ce)),H.items.push(m(A,ce.value||""));break;case 8:const de=C(A);H.items.push(de.node),G=de.nextConsumeToken||null;break}}while(B.currentType!==14&&B.currentType!==1);const U=B.currentType===1?B.lastOffset:A.currentOffset(),le=B.currentType===1?B.lastEndLoc:A.currentPosition();return a(H,U,le),H}function D(A,B,$,S){const H=A.context();let G=S.items.length===0;const U=s(1,B,$);U.cases=[],U.cases.push(S);do{const le=w(A);G||(G=le.items.length===0),U.cases.push(le)}while(H.currentType!==14);return G&&o(A,be.MUST_HAVE_MESSAGES_IN_PLURAL,$,0),a(U,A.currentOffset(),A.currentPosition()),U}function x(A){const B=A.context(),{offset:$,startLoc:S}=B,H=w(A);return B.currentType===14?H:D(A,$,S,H)}function F(A){const B=_P(A,vy({},e)),$=B.context(),S=s(0,$.offset,$.startLoc);return t&&S.loc&&(S.loc.source=A),S.body=x(B),e.onCacheKey&&(S.cacheKey=e.onCacheKey(A)),$.currentType!==14&&o(B,be.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,A[$.offset]||""),a(S,B.currentOffset(),B.currentPosition()),S}return{parse:F}}function xr(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function CP(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function p_(e,t){for(let n=0;n<e.length;n++)ch(e[n],t)}function ch(e,t){switch(e.type){case 1:p_(e.cases,t),t.helper("plural");break;case 2:p_(e.items,t);break;case 6:ch(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function TP(e,t={}){const n=CP(e);n.helper("normalize"),e.body&&ch(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function wP(e){const t=e.body;return t.type===2?g_(t):t.cases.forEach(n=>g_(n)),e}function g_(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=yy(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}const AP="minifier";function Hi(e){switch(e.t=e.type,e.type){case 0:const t=e;Hi(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,o=n.cases;for(let p=0;p<o.length;p++)Hi(o[p]);n.c=o,delete n.cases;break;case 2:const s=e,a=s.items;for(let p=0;p<a.length;p++)Hi(a[p]);s.i=a,delete s.items,s.static&&(s.s=s.static,delete s.static);break;case 3:case 9:case 8:case 7:const l=e;l.value&&(l.v=l.value,delete l.value);break;case 6:const c=e;Hi(c.key),c.k=c.key,delete c.key,c.modifier&&(Hi(c.modifier),c.m=c.modifier,delete c.modifier);break;case 5:const d=e;d.i=d.index,delete d.index;break;case 4:const m=e;m.k=m.key,delete m.key;break;default:throw ms(be.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:AP,args:[e.type]})}delete e.type}const SP="parser";function xP(e,t){const{sourceMap:n,filename:o,breakLineCode:s,needIndent:a}=t,l=t.location!==!1,c={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:a,indentLevel:0};l&&e.loc&&(c.source=e.loc.source);const d=()=>c;function m(F,A){c.code+=F}function p(F,A=!0){const B=A?s:"";m(a?B+" ".repeat(F):B)}function E(F=!0){const A=++c.indentLevel;F&&p(A)}function C(F=!0){const A=--c.indentLevel;F&&p(A)}function w(){p(c.indentLevel)}return{context:d,push:m,indent:E,deindent:C,newline:w,helper:F=>`_${F}`,needIndent:()=>c.needIndent}}function LP(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ts(e,t.key),t.modifier?(e.push(", "),ts(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function IP(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const s=t.items.length;for(let a=0;a<s&&(ts(e,t.items[a]),a!==s-1);a++)e.push(", ");e.deindent(o()),e.push("])")}function OP(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const s=t.cases.length;for(let a=0;a<s&&(ts(e,t.cases[a]),a!==s-1);a++)e.push(", ");e.deindent(o()),e.push("])")}}function RP(e,t){t.body?ts(e,t.body):e.push("null")}function ts(e,t){const{helper:n}=e;switch(t.type){case 0:RP(e,t);break;case 1:OP(e,t);break;case 2:IP(e,t);break;case 6:LP(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw ms(be.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:SP,args:[t.type]})}}const PP=(e,t={})=>{const n=h_(t.mode)?t.mode:"normal",o=h_(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
31
|
+
`,l=t.needIndent?t.needIndent:n!=="arrow",c=e.helpers||[],d=xP(e,{mode:n,filename:o,sourceMap:s,breakLineCode:a,needIndent:l});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(l),c.length>0&&(d.push(`const { ${yy(c.map(E=>`${E}: _${E}`),", ")} } = ctx`),d.newline()),d.push("return "),ts(d,e),d.deindent(l),d.push("}"),delete e.helpers;const{code:m,map:p}=d.context();return{ast:e,code:m,map:p?p.toJSON():void 0}};function NP(e,t={}){const n=vy({},t),o=!!n.jit,s=!!n.minify,a=n.optimize==null?!0:n.optimize,c=bP(n).parse(e);return o?(a&&wP(c),s&&Hi(c),{ast:c,code:""}):(TP(c,n),PP(c,n))}/*!
|
|
32
|
+
* core-base v9.8.0
|
|
33
|
+
* (c) 2023 kazuya kawaguchi
|
|
34
|
+
* Released under the MIT License.
|
|
35
|
+
*/function DP(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(eo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(eo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(eo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Fo=[];Fo[0]={w:[0],i:[3,0],"[":[4],o:[7]};Fo[1]={w:[1],".":[2],"[":[4],o:[7]};Fo[2]={w:[2],i:[3,0],0:[3,0]};Fo[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Fo[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Fo[5]={"'":[4,0],o:8,l:[5,0]};Fo[6]={'"':[4,0],o:8,l:[6,0]};const MP=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function BP(e){return MP.test(e)}function kP(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function FP(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function $P(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:BP(t)?kP(t):"*"+t}function WP(e){const t=[];let n=-1,o=0,s=0,a,l,c,d,m,p,E;const C=[];C[0]=()=>{l===void 0?l=c:l+=c},C[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},C[2]=()=>{C[0](),s++},C[3]=()=>{if(s>0)s--,o=4,C[0]();else{if(s=0,l===void 0||(l=$P(l),l===!1))return!1;C[1]()}};function w(){const D=e[n+1];if(o===5&&D==="'"||o===6&&D==='"')return n++,c="\\"+D,C[0](),!0}for(;o!==null;)if(n++,a=e[n],!(a==="\\"&&w())){if(d=FP(a),E=Fo[o],m=E[d]||E.l||8,m===8||(o=m[0],m[1]!==void 0&&(p=C[m[1]],p&&(c=a,p()===!1))))return;if(o===7)return t}}const __=new Map;function HP(e,t){return tt(e)?e[t]:null}function UP(e,t){if(!tt(e))return null;let n=__.get(t);if(n||(n=WP(t),n&&__.set(t,n)),!n)return null;const o=n.length;let s=e,a=0;for(;a<o;){const l=s[n[a]];if(l===void 0||Et(s))return null;s=l,a++}return s}const VP=e=>e,GP=e=>"",jP="text",YP=e=>e.length===0?"":rP(e),KP=nP;function E_(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function zP(e){const t=Ut(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ut(e.named.count)||Ut(e.named.n))?Ut(e.named.count)?e.named.count:Ut(e.named.n)?e.named.n:t:t}function qP(e,t){t.count||(t.count=e),t.n||(t.n=e)}function XP(e={}){const t=e.locale,n=zP(e),o=tt(e.pluralRules)&&ae(t)&&Et(e.pluralRules[t])?e.pluralRules[t]:E_,s=tt(e.pluralRules)&&ae(t)&&Et(e.pluralRules[t])?E_:void 0,a=A=>A[o(n,A.length,s)],l=e.list||[],c=A=>l[A],d=e.named||{};Ut(e.pluralIndex)&&qP(n,d);const m=A=>d[A];function p(A){const B=Et(e.messages)?e.messages(A):tt(e.messages)?e.messages[A]:!1;return B||(e.parent?e.parent.message(A):GP)}const E=A=>e.modifiers?e.modifiers[A]:VP,C=Se(e.processor)&&Et(e.processor.normalize)?e.processor.normalize:YP,w=Se(e.processor)&&Et(e.processor.interpolate)?e.processor.interpolate:KP,D=Se(e.processor)&&ae(e.processor.type)?e.processor.type:jP,F={list:c,named:m,plural:a,linked:(A,...B)=>{const[$,S]=B;let H="text",G="";B.length===1?tt($)?(G=$.modifier||G,H=$.type||H):ae($)&&(G=$||G):B.length===2&&(ae($)&&(G=$||G),ae(S)&&(H=S||H));const U=p(A)(F),le=H==="vnode"&&yt(U)&&G?U[0]:U;return G?E(G)(le,H):le},message:p,type:D,interpolate:w,normalize:C,values:nn({},l,d)};return F}let Ea=null;function JP(e){Ea=e}function ZP(e,t,n){Ea&&Ea.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const QP=eN("function:translate");function eN(e){return t=>Ea&&Ea.emit(e,t)}const tN={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},by=be.__EXTEND_POINT__,ni=uh(by),gr={INVALID_ARGUMENT:by,INVALID_DATE_ARGUMENT:ni(),INVALID_ISO_DATE_ARGUMENT:ni(),NOT_SUPPORT_NON_STRING_MESSAGE:ni(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ni(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ni(),NOT_SUPPORT_LOCALE_TYPE:ni(),__EXTEND_POINT__:ni()};function Pr(e){return ms(e,null,void 0)}function fh(e,t){return t.locale!=null?v_(t.locale):v_(e.locale)}let Of;function v_(e){if(ae(e))return e;if(Et(e)){if(e.resolvedOnce&&Of!=null)return Of;if(e.constructor.name==="Function"){const t=e();if(tP(t))throw Pr(gr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Of=t}else throw Pr(gr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Pr(gr.NOT_SUPPORT_LOCALE_TYPE)}function nN(e,t,n){return[...new Set([n,...yt(t)?t:tt(t)?Object.keys(t):ae(t)?[t]:[n]])]}function Cy(e,t,n){const o=ae(n)?n:ns,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let a=s.__localeChainCache.get(o);if(!a){a=[];let l=[n];for(;yt(l);)l=y_(a,l,t);const c=yt(t)||!Se(t)?t:t.default?t.default:null;l=ae(c)?[c]:c,yt(l)&&y_(a,l,!1),s.__localeChainCache.set(o,a)}return a}function y_(e,t,n){let o=!0;for(let s=0;s<t.length&&Ve(o);s++){const a=t[s];ae(a)&&(o=rN(e,t[s],n))}return o}function rN(e,t,n){let o;const s=t.split("-");do{const a=s.join("-");o=oN(e,a,n),s.splice(-1,1)}while(s.length&&o===!0);return o}function oN(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(yt(n)||Se(n))&&n[s]&&(o=n[s])}return o}const iN="9.8.0",Hu=-1,ns="en-US",b_="",C_=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function sN(){return{upper:(e,t)=>t==="text"&&ae(e)?e.toUpperCase():t==="vnode"&&tt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ae(e)?e.toLowerCase():t==="vnode"&&tt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ae(e)?C_(e):t==="vnode"&&tt(e)&&"__v_isVNode"in e?C_(e.children):e}}let Ty;function T_(e){Ty=e}let wy;function aN(e){wy=e}let Ay;function lN(e){Ay=e}let Sy=null;const uN=e=>{Sy=e},cN=()=>Sy;let xy=null;const w_=e=>{xy=e},fN=()=>xy;let A_=0;function dN(e={}){const t=Et(e.onWarn)?e.onWarn:oP,n=ae(e.version)?e.version:iN,o=ae(e.locale)||Et(e.locale)?e.locale:ns,s=Et(o)?ns:o,a=yt(e.fallbackLocale)||Se(e.fallbackLocale)||ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,l=Se(e.messages)?e.messages:{[s]:{}},c=Se(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},d=Se(e.numberFormats)?e.numberFormats:{[s]:{}},m=nn({},e.modifiers||{},sN()),p=e.pluralRules||{},E=Et(e.missing)?e.missing:null,C=Ve(e.missingWarn)||Oo(e.missingWarn)?e.missingWarn:!0,w=Ve(e.fallbackWarn)||Oo(e.fallbackWarn)?e.fallbackWarn:!0,D=!!e.fallbackFormat,x=!!e.unresolving,F=Et(e.postTranslation)?e.postTranslation:null,A=Se(e.processor)?e.processor:null,B=Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,$=!!e.escapeParameter,S=Et(e.messageCompiler)?e.messageCompiler:Ty,H=Et(e.messageResolver)?e.messageResolver:wy||HP,G=Et(e.localeFallbacker)?e.localeFallbacker:Ay||nN,U=tt(e.fallbackContext)?e.fallbackContext:void 0,le=e,ce=tt(le.__datetimeFormatters)?le.__datetimeFormatters:new Map,de=tt(le.__numberFormatters)?le.__numberFormatters:new Map,Pe=tt(le.__meta)?le.__meta:{};A_++;const ke={version:n,cid:A_,locale:o,fallbackLocale:a,messages:l,modifiers:m,pluralRules:p,missing:E,missingWarn:C,fallbackWarn:w,fallbackFormat:D,unresolving:x,postTranslation:F,processor:A,warnHtmlMessage:B,escapeParameter:$,messageCompiler:S,messageResolver:H,localeFallbacker:G,fallbackContext:U,onWarn:t,__meta:Pe};return ke.datetimeFormats=c,ke.numberFormats=d,ke.__datetimeFormatters=ce,ke.__numberFormatters=de,__INTLIFY_PROD_DEVTOOLS__&&ZP(ke,n,Pe),ke}function dh(e,t,n,o,s){const{missing:a,onWarn:l}=e;if(a!==null){const c=a(e,n,t,s);return ae(c)?c:t}else return t}function js(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Rf(e){return n=>hN(n,e)}function hN(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,s=o.c||o.cases;return e.plural(s.reduce((a,l)=>[...a,S_(e,l)],[]))}else return S_(e,n)}function S_(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((s,a)=>[...s,vd(e,a)],[]);return e.normalize(o)}}function vd(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const s=t;return s.v||s.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const l=t;return e.interpolate(e.list(l.i!=null?l.i:l.index));case 6:const c=t,d=c.m||c.modifier;return e.linked(vd(e,c.k||c.key),d?vd(e,d):void 0,e.type);case 7:const m=t;return m.v||m.value;case 8:const p=t;return p.v||p.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Ly=e=>e;let ji=Object.create(null);const rs=e=>tt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Iy(e,t={}){let n=!1;const o=t.onError||cP;return t.onError=s=>{n=!0,o(s)},{...NP(e,t),detectError:n}}const mN=(e,t)=>{if(!ae(e))throw Pr(gr.NOT_SUPPORT_NON_STRING_MESSAGE);{Ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Ly)(e),s=ji[o];if(s)return s;const{code:a,detectError:l}=Iy(e,t),c=new Function(`return ${a}`)();return l?c:ji[o]=c}};function pN(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&ae(e)){Ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Ly)(e),s=ji[o];if(s)return s;const{ast:a,detectError:l}=Iy(e,{...t,location:!1,jit:!0}),c=Rf(a);return l?c:ji[o]=c}else{const n=e.cacheKey;if(n){const o=ji[n];return o||(ji[n]=Rf(e))}else return Rf(e)}}const x_=()=>"",er=e=>Et(e);function L_(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:s,messageCompiler:a,fallbackLocale:l,messages:c}=e,[d,m]=yd(...t),p=Ve(m.missingWarn)?m.missingWarn:e.missingWarn,E=Ve(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,C=Ve(m.escapeParameter)?m.escapeParameter:e.escapeParameter,w=!!m.resolvedMessage,D=ae(m.default)||Ve(m.default)?Ve(m.default)?a?d:()=>d:m.default:n?a?d:()=>d:"",x=n||D!=="",F=fh(e,m);C&&gN(m);let[A,B,$]=w?[d,F,c[F]||{}]:Oy(e,d,F,l,E,p),S=A,H=d;if(!w&&!(ae(S)||rs(S)||er(S))&&x&&(S=D,H=S),!w&&(!(ae(S)||rs(S)||er(S))||!ae(B)))return s?Hu:d;let G=!1;const U=()=>{G=!0},le=er(S)?S:Ry(e,d,B,S,H,U);if(G)return S;const ce=vN(e,B,$,m),de=XP(ce),Pe=_N(e,le,de),ke=o?o(Pe,d):Pe;if(__INTLIFY_PROD_DEVTOOLS__){const We={timestamp:Date.now(),key:ae(d)?d:er(S)?S.key:"",locale:B||(er(S)?S.locale:""),format:ae(S)?S:er(S)?S.source:"",message:ke};We.meta=nn({},e.__meta,cN()||{}),QP(We)}return ke}function gN(e){yt(e.list)?e.list=e.list.map(t=>ae(t)?d_(t):t):tt(e.named)&&Object.keys(e.named).forEach(t=>{ae(e.named[t])&&(e.named[t]=d_(e.named[t]))})}function Oy(e,t,n,o,s,a){const{messages:l,onWarn:c,messageResolver:d,localeFallbacker:m}=e,p=m(e,o,n);let E={},C,w=null;const D="translate";for(let x=0;x<p.length&&(C=p[x],E=l[C]||{},(w=d(E,t))===null&&(w=E[t]),!(ae(w)||rs(w)||er(w)));x++){const F=dh(e,t,C,a,D);F!==t&&(w=F)}return[w,C,E]}function Ry(e,t,n,o,s,a){const{messageCompiler:l,warnHtmlMessage:c}=e;if(er(o)){const m=o;return m.locale=m.locale||n,m.key=m.key||t,m}if(l==null){const m=()=>o;return m.locale=n,m.key=t,m}const d=l(o,EN(e,n,s,o,c,a));return d.locale=n,d.key=t,d.source=o,d}function _N(e,t,n){return t(n)}function yd(...e){const[t,n,o]=e,s={};if(!ae(t)&&!Ut(t)&&!er(t)&&!rs(t))throw Pr(gr.INVALID_ARGUMENT);const a=Ut(t)?String(t):(er(t),t);return Ut(n)?s.plural=n:ae(n)?s.default=n:Se(n)&&!Wu(n)?s.named=n:yt(n)&&(s.list=n),Ut(o)?s.plural=o:ae(o)?s.default=o:Se(o)&&nn(s,o),[a,s]}function EN(e,t,n,o,s,a){return{locale:t,key:n,warnHtmlMessage:s,onError:l=>{throw a&&a(l),l},onCacheKey:l=>JR(t,n,l)}}function vN(e,t,n,o){const{modifiers:s,pluralRules:a,messageResolver:l,fallbackLocale:c,fallbackWarn:d,missingWarn:m,fallbackContext:p}=e,C={locale:t,modifiers:s,pluralRules:a,messages:w=>{let D=l(n,w);if(D==null&&p){const[,,x]=Oy(p,w,t,c,d,m);D=l(x,w)}if(ae(D)||rs(D)){let x=!1;const A=Ry(e,w,t,D,w,()=>{x=!0});return x?x_:A}else return er(D)?D:x_}};return e.processor&&(C.processor=e.processor),o.list&&(C.list=o.list),o.named&&(C.named=o.named),Ut(o.plural)&&(C.pluralIndex=o.plural),C}function I_(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:s,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:c}=e,[d,m,p,E]=bd(...t),C=Ve(p.missingWarn)?p.missingWarn:e.missingWarn;Ve(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const w=!!p.part,D=fh(e,p),x=l(e,s,D);if(!ae(d)||d==="")return new Intl.DateTimeFormat(D,E).format(m);let F={},A,B=null;const $="datetime format";for(let G=0;G<x.length&&(A=x[G],F=n[A]||{},B=F[d],!Se(B));G++)dh(e,d,A,C,$);if(!Se(B)||!ae(A))return o?Hu:d;let S=`${A}__${d}`;Wu(E)||(S=`${S}__${JSON.stringify(E)}`);let H=c.get(S);return H||(H=new Intl.DateTimeFormat(A,nn({},B,E)),c.set(S,H)),w?H.formatToParts(m):H.format(m)}const Py=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function bd(...e){const[t,n,o,s]=e,a={};let l={},c;if(ae(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Pr(gr.INVALID_ISO_DATE_ARGUMENT);const m=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();c=new Date(m);try{c.toISOString()}catch{throw Pr(gr.INVALID_ISO_DATE_ARGUMENT)}}else if(QR(t)){if(isNaN(t.getTime()))throw Pr(gr.INVALID_DATE_ARGUMENT);c=t}else if(Ut(t))c=t;else throw Pr(gr.INVALID_ARGUMENT);return ae(n)?a.key=n:Se(n)&&Object.keys(n).forEach(d=>{Py.includes(d)?l[d]=n[d]:a[d]=n[d]}),ae(o)?a.locale=o:Se(o)&&(l=o),Se(s)&&(l=s),[a.key||"",c,a,l]}function O_(e,t,n){const o=e;for(const s in n){const a=`${t}__${s}`;o.__datetimeFormatters.has(a)&&o.__datetimeFormatters.delete(a)}}function R_(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:s,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:c}=e,[d,m,p,E]=Cd(...t),C=Ve(p.missingWarn)?p.missingWarn:e.missingWarn;Ve(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const w=!!p.part,D=fh(e,p),x=l(e,s,D);if(!ae(d)||d==="")return new Intl.NumberFormat(D,E).format(m);let F={},A,B=null;const $="number format";for(let G=0;G<x.length&&(A=x[G],F=n[A]||{},B=F[d],!Se(B));G++)dh(e,d,A,C,$);if(!Se(B)||!ae(A))return o?Hu:d;let S=`${A}__${d}`;Wu(E)||(S=`${S}__${JSON.stringify(E)}`);let H=c.get(S);return H||(H=new Intl.NumberFormat(A,nn({},B,E)),c.set(S,H)),w?H.formatToParts(m):H.format(m)}const Ny=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Cd(...e){const[t,n,o,s]=e,a={};let l={};if(!Ut(t))throw Pr(gr.INVALID_ARGUMENT);const c=t;return ae(n)?a.key=n:Se(n)&&Object.keys(n).forEach(d=>{Ny.includes(d)?l[d]=n[d]:a[d]=n[d]}),ae(o)?a.locale=o:Se(o)&&(l=o),Se(s)&&(l=s),[a.key||"",c,a,l]}function P_(e,t,n){const o=e;for(const s in n){const a=`${t}__${s}`;o.__numberFormatters.has(a)&&o.__numberFormatters.delete(a)}}DP();/*!
|
|
36
|
+
* vue-i18n v9.8.0
|
|
37
|
+
* (c) 2023 kazuya kawaguchi
|
|
38
|
+
* Released under the MIT License.
|
|
39
|
+
*/const yN="9.8.0";function bN(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(eo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(eo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(eo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(eo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(eo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Dy=tN.__EXTEND_POINT__,Co=uh(Dy);Co(),Co(),Co(),Co(),Co(),Co(),Co(),Co();const My=gr.__EXTEND_POINT__,Ln=uh(My),Vt={UNEXPECTED_RETURN_TYPE:My,INVALID_ARGUMENT:Ln(),MUST_BE_CALL_SETUP_TOP:Ln(),NOT_INSTALLED:Ln(),NOT_AVAILABLE_IN_LEGACY_MODE:Ln(),REQUIRED_VALUE:Ln(),INVALID_VALUE:Ln(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ln(),NOT_INSTALLED_WITH_PROVIDE:Ln(),UNEXPECTED_ERROR:Ln(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ln(),BRIDGE_SUPPORT_VUE_2_ONLY:Ln(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ln(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ln(),__EXTEND_POINT__:Ln()};function zt(e,...t){return ms(e,null,void 0)}const Td=ko("__translateVNode"),wd=ko("__datetimeParts"),Ad=ko("__numberParts"),By=ko("__setPluralRules"),ky=ko("__injectWithOption"),Sd=ko("__dispose");function va(e){if(!tt(e))return e;for(const t in e)if(_a(e,t))if(!t.includes("."))tt(e[t])&&va(e[t]);else{const n=t.split("."),o=n.length-1;let s=e,a=!1;for(let l=0;l<o;l++){if(n[l]in s||(s[n[l]]={}),!tt(s[n[l]])){a=!0;break}s=s[n[l]]}a||(s[n[o]]=e[t],delete e[t]),tt(s[n[o]])&&va(s[n[o]])}return e}function Uu(e,t){const{messages:n,__i18n:o,messageResolver:s,flatJson:a}=t,l=Se(n)?n:yt(o)?{}:{[e]:{}};if(yt(o)&&o.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:d,resource:m}=c;d?(l[d]=l[d]||{},sa(m,l[d])):sa(m,l)}else ae(c)&&sa(JSON.parse(c),l)}),s==null&&a)for(const c in l)_a(l,c)&&va(l[c]);return l}function Fy(e){return e.type}function $y(e,t,n){let o=tt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Uu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const s=Object.keys(o);s.length&&s.forEach(a=>{e.mergeLocaleMessage(a,o[a])});{if(tt(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(tt(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function N_(e){return Ke(wa,null,e,0)}const D_="__INTLIFY_META__",M_=()=>[],CN=()=>!1;let B_=0;function k_(e){return(t,n,o,s)=>e(n,o,fi()||void 0,s)}const TN=()=>{const e=fi();let t=null;return e&&(t=Fy(e)[D_])?{[D_]:t}:null};function hh(e={},t){const{__root:n,__injectWithOption:o}=e,s=n===void 0,a=e.flatJson;let l=Ve(e.inheritLocale)?e.inheritLocale:!0;const c=Zt(n&&l?n.locale.value:ae(e.locale)?e.locale:ns),d=Zt(n&&l?n.fallbackLocale.value:ae(e.fallbackLocale)||yt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),m=Zt(Uu(c.value,e)),p=Zt(Se(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),E=Zt(Se(e.numberFormats)?e.numberFormats:{[c.value]:{}});let C=n?n.missingWarn:Ve(e.missingWarn)||Oo(e.missingWarn)?e.missingWarn:!0,w=n?n.fallbackWarn:Ve(e.fallbackWarn)||Oo(e.fallbackWarn)?e.fallbackWarn:!0,D=n?n.fallbackRoot:Ve(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,F=Et(e.missing)?e.missing:null,A=Et(e.missing)?k_(e.missing):null,B=Et(e.postTranslation)?e.postTranslation:null,$=n?n.warnHtmlMessage:Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const H=n?n.modifiers:Se(e.modifiers)?e.modifiers:{};let G=e.pluralRules||n&&n.pluralRules,U;U=(()=>{s&&w_(null);const I={version:yN,locale:c.value,fallbackLocale:d.value,messages:m.value,modifiers:H,pluralRules:G,missing:A===null?void 0:A,missingWarn:C,fallbackWarn:w,fallbackFormat:x,unresolving:!0,postTranslation:B===null?void 0:B,warnHtmlMessage:$,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=p.value,I.numberFormats=E.value,I.__datetimeFormatters=Se(U)?U.__datetimeFormatters:void 0,I.__numberFormatters=Se(U)?U.__numberFormatters:void 0;const k=dN(I);return s&&w_(k),k})(),js(U,c.value,d.value);function ce(){return[c.value,d.value,m.value,p.value,E.value]}const de=Re({get:()=>c.value,set:I=>{c.value=I,U.locale=c.value}}),Pe=Re({get:()=>d.value,set:I=>{d.value=I,U.fallbackLocale=d.value,js(U,c.value,I)}}),ke=Re(()=>m.value),We=Re(()=>p.value),Tt=Re(()=>E.value);function Bt(){return Et(B)?B:null}function Le(I){B=I,U.postTranslation=I}function ge(){return F}function Te(I){I!==null&&(A=k_(I)),F=I,U.missing=A}const qe=(I,k,re,ue,we,Me)=>{ce();let ut;try{__INTLIFY_PROD_DEVTOOLS__,s||(U.fallbackContext=n?fN():void 0),ut=I(U)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(U.fallbackContext=void 0)}if(re!=="translate exists"&&Ut(ut)&&ut===Hu||re==="translate exists"&&!ut){const[ct,It]=k();return n&&D?ue(n):we(ct)}else{if(Me(ut))return ut;throw zt(Vt.UNEXPECTED_RETURN_TYPE)}};function Fe(...I){return qe(k=>Reflect.apply(L_,null,[k,...I]),()=>yd(...I),"translate",k=>Reflect.apply(k.t,k,[...I]),k=>k,k=>ae(k))}function Je(...I){const[k,re,ue]=I;if(ue&&!tt(ue))throw zt(Vt.INVALID_ARGUMENT);return Fe(k,re,nn({resolvedMessage:!0},ue||{}))}function Ne(...I){return qe(k=>Reflect.apply(I_,null,[k,...I]),()=>bd(...I),"datetime format",k=>Reflect.apply(k.d,k,[...I]),()=>b_,k=>ae(k))}function Gt(...I){return qe(k=>Reflect.apply(R_,null,[k,...I]),()=>Cd(...I),"number format",k=>Reflect.apply(k.n,k,[...I]),()=>b_,k=>ae(k))}function He(I){return I.map(k=>ae(k)||Ut(k)||Ve(k)?N_(String(k)):k)}const pt={normalize:He,interpolate:I=>I,type:"vnode"};function kt(...I){return qe(k=>{let re;const ue=k;try{ue.processor=pt,re=Reflect.apply(L_,null,[ue,...I])}finally{ue.processor=null}return re},()=>yd(...I),"translate",k=>k[Td](...I),k=>[N_(k)],k=>yt(k))}function nt(...I){return qe(k=>Reflect.apply(R_,null,[k,...I]),()=>Cd(...I),"number format",k=>k[Ad](...I),M_,k=>ae(k)||yt(k))}function wt(...I){return qe(k=>Reflect.apply(I_,null,[k,...I]),()=>bd(...I),"datetime format",k=>k[wd](...I),M_,k=>ae(k)||yt(k))}function St(I){G=I,U.pluralRules=G}function lt(I,k){return qe(()=>{if(!I)return!1;const re=ae(k)?k:c.value,ue=h(re),we=U.messageResolver(ue,I);return rs(we)||er(we)||ae(we)},()=>[I],"translate exists",re=>Reflect.apply(re.te,re,[I,k]),CN,re=>Ve(re))}function Ft(I){let k=null;const re=Cy(U,d.value,c.value);for(let ue=0;ue<re.length;ue++){const we=m.value[re[ue]]||{},Me=U.messageResolver(we,I);if(Me!=null){k=Me;break}}return k}function g(I){const k=Ft(I);return k??(n?n.tm(I)||{}:{})}function h(I){return m.value[I]||{}}function b(I,k){if(a){const re={[I]:k};for(const ue in re)_a(re,ue)&&va(re[ue]);k=re[I]}m.value[I]=k,U.messages=m.value}function N(I,k){m.value[I]=m.value[I]||{};const re={[I]:k};for(const ue in re)_a(re,ue)&&va(re[ue]);k=re[I],sa(k,m.value[I]),U.messages=m.value}function M(I){return p.value[I]||{}}function V(I,k){p.value[I]=k,U.datetimeFormats=p.value,O_(U,I,k)}function ee(I,k){p.value[I]=nn(p.value[I]||{},k),U.datetimeFormats=p.value,O_(U,I,k)}function q(I){return E.value[I]||{}}function J(I,k){E.value[I]=k,U.numberFormats=E.value,P_(U,I,k)}function z(I,k){E.value[I]=nn(E.value[I]||{},k),U.numberFormats=E.value,P_(U,I,k)}B_++,n&&_d&&(tn(n.locale,I=>{l&&(c.value=I,U.locale=I,js(U,c.value,d.value))}),tn(n.fallbackLocale,I=>{l&&(d.value=I,U.fallbackLocale=I,js(U,c.value,d.value))}));const ne={id:B_,locale:de,fallbackLocale:Pe,get inheritLocale(){return l},set inheritLocale(I){l=I,I&&n&&(c.value=n.locale.value,d.value=n.fallbackLocale.value,js(U,c.value,d.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ke,get modifiers(){return H},get pluralRules(){return G||{}},get isGlobal(){return s},get missingWarn(){return C},set missingWarn(I){C=I,U.missingWarn=C},get fallbackWarn(){return w},set fallbackWarn(I){w=I,U.fallbackWarn=w},get fallbackRoot(){return D},set fallbackRoot(I){D=I},get fallbackFormat(){return x},set fallbackFormat(I){x=I,U.fallbackFormat=x},get warnHtmlMessage(){return $},set warnHtmlMessage(I){$=I,U.warnHtmlMessage=I},get escapeParameter(){return S},set escapeParameter(I){S=I,U.escapeParameter=I},t:Fe,getLocaleMessage:h,setLocaleMessage:b,mergeLocaleMessage:N,getPostTranslationHandler:Bt,setPostTranslationHandler:Le,getMissingHandler:ge,setMissingHandler:Te,[By]:St};return ne.datetimeFormats=We,ne.numberFormats=Tt,ne.rt=Je,ne.te=lt,ne.tm=g,ne.d=Ne,ne.n=Gt,ne.getDateTimeFormat=M,ne.setDateTimeFormat=V,ne.mergeDateTimeFormat=ee,ne.getNumberFormat=q,ne.setNumberFormat=J,ne.mergeNumberFormat=z,ne[ky]=o,ne[Td]=kt,ne[wd]=wt,ne[Ad]=nt,ne}function wN(e){const t=ae(e.locale)?e.locale:ns,n=ae(e.fallbackLocale)||yt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Et(e.missing)?e.missing:void 0,s=Ve(e.silentTranslationWarn)||Oo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=Ve(e.silentFallbackWarn)||Oo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=Ve(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,d=Se(e.modifiers)?e.modifiers:{},m=e.pluralizationRules,p=Et(e.postTranslation)?e.postTranslation:void 0,E=ae(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,C=!!e.escapeParameterHtml,w=Ve(e.sync)?e.sync:!0;let D=e.messages;if(Se(e.sharedMessages)){const H=e.sharedMessages;D=Object.keys(H).reduce((U,le)=>{const ce=U[le]||(U[le]={});return nn(ce,H[le]),U},D||{})}const{__i18n:x,__root:F,__injectWithOption:A}=e,B=e.datetimeFormats,$=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:D,flatJson:S,datetimeFormats:B,numberFormats:$,missing:o,missingWarn:s,fallbackWarn:a,fallbackRoot:l,fallbackFormat:c,modifiers:d,pluralRules:m,postTranslation:p,warnHtmlMessage:E,escapeParameter:C,messageResolver:e.messageResolver,inheritLocale:w,__i18n:x,__root:F,__injectWithOption:A}}function xd(e={},t){{const n=hh(wN(e)),{__extender:o}=e,s={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return Ve(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=Ve(a)?!a:a},get silentFallbackWarn(){return Ve(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=Ve(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[l,c,d]=a,m={};let p=null,E=null;if(!ae(l))throw zt(Vt.INVALID_ARGUMENT);const C=l;return ae(c)?m.locale=c:yt(c)?p=c:Se(c)&&(E=c),yt(d)?p=d:Se(d)&&(E=d),Reflect.apply(n.t,n,[C,p||E||{},m])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[l,c,d]=a,m={plural:1};let p=null,E=null;if(!ae(l))throw zt(Vt.INVALID_ARGUMENT);const C=l;return ae(c)?m.locale=c:Ut(c)?m.plural=c:yt(c)?p=c:Se(c)&&(E=c),ae(d)?m.locale=d:yt(d)?p=d:Se(d)&&(E=d),Reflect.apply(n.t,n,[C,p||E||{},m])},te(a,l){return n.te(a,l)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,l){n.setLocaleMessage(a,l)},mergeLocaleMessage(a,l){n.mergeLocaleMessage(a,l)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,l){n.setDateTimeFormat(a,l)},mergeDateTimeFormat(a,l){n.mergeDateTimeFormat(a,l)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,l){n.setNumberFormat(a,l)},mergeNumberFormat(a,l){n.mergeNumberFormat(a,l)},getChoiceIndex(a,l){return-1}};return s.__extender=o,s}}const mh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function AN({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,s)=>[...o,...s.type===ot?s.children:[s]],[]):t.reduce((n,o)=>{const s=e[o];return s&&(n[o]=s()),n},{})}function Wy(e){return ot}const SN=at({name:"i18n-t",props:nn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ut(e)||!isNaN(e)}},mh),setup(e,t){const{slots:n,attrs:o}=t,s=e.i18n||ph({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(E=>E!=="_"),l={};e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=ae(e.plural)?+e.plural:e.plural);const c=AN(t,a),d=s[Td](e.keypath,c,l),m=nn({},o),p=ae(e.tag)||tt(e.tag)?e.tag:Wy();return Bu(p,m,d)}}}),F_=SN;function xN(e){return yt(e)&&!ae(e[0])}function Hy(e,t,n,o){const{slots:s,attrs:a}=t;return()=>{const l={part:!0};let c={};e.locale&&(l.locale=e.locale),ae(e.format)?l.key=e.format:tt(e.format)&&(ae(e.format.key)&&(l.key=e.format.key),c=Object.keys(e.format).reduce((C,w)=>n.includes(w)?nn({},C,{[w]:e.format[w]}):C,{}));const d=o(e.value,l,c);let m=[l.key];yt(d)?m=d.map((C,w)=>{const D=s[C.type],x=D?D({[C.type]:C.value,index:w,parts:d}):[C.value];return xN(x)&&(x[0].key=`${C.type}-${w}`),x}):ae(d)&&(m=[d]);const p=nn({},a),E=ae(e.tag)||tt(e.tag)?e.tag:Wy();return Bu(E,p,m)}}const LN=at({name:"i18n-n",props:nn({value:{type:Number,required:!0},format:{type:[String,Object]}},mh),setup(e,t){const n=e.i18n||ph({useScope:"parent",__useComponent:!0});return Hy(e,t,Ny,(...o)=>n[Ad](...o))}}),$_=LN,IN=at({name:"i18n-d",props:nn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},mh),setup(e,t){const n=e.i18n||ph({useScope:"parent",__useComponent:!0});return Hy(e,t,Py,(...o)=>n[wd](...o))}}),W_=IN;function ON(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function RN(e){const t=l=>{const{instance:c,modifiers:d,value:m}=l;if(!c||!c.$)throw zt(Vt.UNEXPECTED_ERROR);const p=ON(e,c.$),E=H_(m);return[Reflect.apply(p.t,p,[...U_(E)]),p]};return{created:(l,c)=>{const[d,m]=t(c);_d&&e.global===m&&(l.__i18nWatcher=tn(m.locale,()=>{c.instance&&c.instance.$forceUpdate()})),l.__composer=m,l.textContent=d},unmounted:l=>{_d&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:c})=>{if(l.__composer){const d=l.__composer,m=H_(c);l.textContent=Reflect.apply(d.t,d,[...U_(m)])}},getSSRProps:l=>{const[c]=t(l);return{textContent:c}}}}function H_(e){if(ae(e))return{path:e};if(Se(e)){if(!("path"in e))throw zt(Vt.REQUIRED_VALUE,"path");return e}else throw zt(Vt.INVALID_VALUE)}function U_(e){const{path:t,locale:n,args:o,choice:s,plural:a}=e,l={},c=o||{};return ae(n)&&(l.locale=n),Ut(s)&&(l.plural=s),Ut(a)&&(l.plural=a),[t,c,l]}function PN(e,t,...n){const o=Se(n[0])?n[0]:{},s=!!o.useI18nComponentName;(Ve(o.globalInstall)?o.globalInstall:!0)&&([s?"i18n":F_.name,"I18nT"].forEach(l=>e.component(l,F_)),[$_.name,"I18nN"].forEach(l=>e.component(l,$_)),[W_.name,"I18nD"].forEach(l=>e.component(l,W_))),e.directive("t",RN(t))}function NN(e,t,n){return{beforeCreate(){const o=fi();if(!o)throw zt(Vt.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const a=s.i18n;if(s.__i18n&&(a.__i18n=s.__i18n),a.__root=t,this===this.$root)this.$i18n=V_(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=xd(a);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=V_(e,s);else{this.$i18n=xd({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&$y(t,s,s),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,l)=>this.$i18n.te(a,l),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=fi();if(!o)throw zt(Vt.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(o),delete this.$i18n}}}function V_(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[By](t.pluralizationRules||e.pluralizationRules);const n=Uu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const DN=ko("global-vue-i18n");function MN(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=Ve(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,a=new Map,[l,c]=BN(e,n),d=ko("");function m(C){return a.get(C)||null}function p(C,w){a.set(C,w)}function E(C){a.delete(C)}{const C={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(w,...D){if(w.__VUE_I18N_SYMBOL__=d,w.provide(w.__VUE_I18N_SYMBOL__,C),Se(D[0])){const A=D[0];C.__composerExtend=A.__composerExtend,C.__vueI18nExtend=A.__vueI18nExtend}let x=null;!n&&o&&(x=jN(w,C.global)),__VUE_I18N_FULL_INSTALL__&&PN(w,C,...D),__VUE_I18N_LEGACY_API__&&n&&w.mixin(NN(c,c.__composer,C));const F=w.unmount;w.unmount=()=>{x&&x(),C.dispose(),F()}},get global(){return c},dispose(){l.stop()},__instances:a,__getInstance:m,__setInstance:p,__deleteInstance:E};return C}}function ph(e={}){const t=fi();if(t==null)throw zt(Vt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw zt(Vt.NOT_INSTALLED);const n=kN(t),o=$N(n),s=Fy(t),a=FN(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw zt(Vt.NOT_AVAILABLE_IN_LEGACY_MODE);return VN(t,a,o,e)}if(a==="global")return $y(o,e,s),o;if(a==="parent"){let d=WN(n,t,e.__useComponent);return d==null&&(d=o),d}const l=n;let c=l.__getInstance(t);if(c==null){const d=nn({},e);"__i18n"in s&&(d.__i18n=s.__i18n),o&&(d.__root=o),c=hh(d),l.__composerExtend&&(c[Sd]=l.__composerExtend(c)),UN(l,t,c),l.__setInstance(t,c)}return c}function BN(e,t,n){const o=ZE();{const s=__VUE_I18N_LEGACY_API__&&t?o.run(()=>xd(e)):o.run(()=>hh(e));if(s==null)throw zt(Vt.UNEXPECTED_ERROR);return[o,s]}}function kN(e){{const t=Lo(e.isCE?DN:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw zt(e.isCE?Vt.NOT_INSTALLED_WITH_PROVIDE:Vt.UNEXPECTED_ERROR);return t}}function FN(e,t){return Wu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function $N(e){return e.mode==="composition"?e.global:e.global.__composer}function WN(e,t,n=!1){let o=null;const s=t.root;let a=HN(t,n);for(;a!=null;){const l=e;if(e.mode==="composition")o=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const c=l.__getInstance(a);c!=null&&(o=c.__composer,n&&o&&!o[ky]&&(o=null))}if(o!=null||s===a)break;a=a.parent}return o}function HN(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function UN(e,t,n){Qd(()=>{},t),Ru(()=>{const o=n;e.__deleteInstance(t);const s=o[Sd];s&&(s(),delete o[Sd])},t)}function VN(e,t,n,o={}){const s=t==="local",a=li(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw zt(Vt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=Ve(o.inheritLocale)?o.inheritLocale:!ae(o.locale),c=Zt(!s||l?n.locale.value:ae(o.locale)?o.locale:ns),d=Zt(!s||l?n.fallbackLocale.value:ae(o.fallbackLocale)||yt(o.fallbackLocale)||Se(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:c.value),m=Zt(Uu(c.value,o)),p=Zt(Se(o.datetimeFormats)?o.datetimeFormats:{[c.value]:{}}),E=Zt(Se(o.numberFormats)?o.numberFormats:{[c.value]:{}}),C=s?n.missingWarn:Ve(o.missingWarn)||Oo(o.missingWarn)?o.missingWarn:!0,w=s?n.fallbackWarn:Ve(o.fallbackWarn)||Oo(o.fallbackWarn)?o.fallbackWarn:!0,D=s?n.fallbackRoot:Ve(o.fallbackRoot)?o.fallbackRoot:!0,x=!!o.fallbackFormat,F=Et(o.missing)?o.missing:null,A=Et(o.postTranslation)?o.postTranslation:null,B=s?n.warnHtmlMessage:Ve(o.warnHtmlMessage)?o.warnHtmlMessage:!0,$=!!o.escapeParameter,S=s?n.modifiers:Se(o.modifiers)?o.modifiers:{},H=o.pluralRules||s&&n.pluralRules;function G(){return[c.value,d.value,m.value,p.value,E.value]}const U=Re({get:()=>a.value?a.value.locale.value:c.value,set:h=>{a.value&&(a.value.locale.value=h),c.value=h}}),le=Re({get:()=>a.value?a.value.fallbackLocale.value:d.value,set:h=>{a.value&&(a.value.fallbackLocale.value=h),d.value=h}}),ce=Re(()=>a.value?a.value.messages.value:m.value),de=Re(()=>p.value),Pe=Re(()=>E.value);function ke(){return a.value?a.value.getPostTranslationHandler():A}function We(h){a.value&&a.value.setPostTranslationHandler(h)}function Tt(){return a.value?a.value.getMissingHandler():F}function Bt(h){a.value&&a.value.setMissingHandler(h)}function Le(h){return G(),h()}function ge(...h){return a.value?Le(()=>Reflect.apply(a.value.t,null,[...h])):Le(()=>"")}function Te(...h){return a.value?Reflect.apply(a.value.rt,null,[...h]):""}function qe(...h){return a.value?Le(()=>Reflect.apply(a.value.d,null,[...h])):Le(()=>"")}function Fe(...h){return a.value?Le(()=>Reflect.apply(a.value.n,null,[...h])):Le(()=>"")}function Je(h){return a.value?a.value.tm(h):{}}function Ne(h,b){return a.value?a.value.te(h,b):!1}function Gt(h){return a.value?a.value.getLocaleMessage(h):{}}function He(h,b){a.value&&(a.value.setLocaleMessage(h,b),m.value[h]=b)}function it(h,b){a.value&&a.value.mergeLocaleMessage(h,b)}function pt(h){return a.value?a.value.getDateTimeFormat(h):{}}function kt(h,b){a.value&&(a.value.setDateTimeFormat(h,b),p.value[h]=b)}function nt(h,b){a.value&&a.value.mergeDateTimeFormat(h,b)}function wt(h){return a.value?a.value.getNumberFormat(h):{}}function St(h,b){a.value&&(a.value.setNumberFormat(h,b),E.value[h]=b)}function lt(h,b){a.value&&a.value.mergeNumberFormat(h,b)}const Ft={get id(){return a.value?a.value.id:-1},locale:U,fallbackLocale:le,messages:ce,datetimeFormats:de,numberFormats:Pe,get inheritLocale(){return a.value?a.value.inheritLocale:l},set inheritLocale(h){a.value&&(a.value.inheritLocale=h)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(m.value)},get modifiers(){return a.value?a.value.modifiers:S},get pluralRules(){return a.value?a.value.pluralRules:H},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:C},set missingWarn(h){a.value&&(a.value.missingWarn=h)},get fallbackWarn(){return a.value?a.value.fallbackWarn:w},set fallbackWarn(h){a.value&&(a.value.missingWarn=h)},get fallbackRoot(){return a.value?a.value.fallbackRoot:D},set fallbackRoot(h){a.value&&(a.value.fallbackRoot=h)},get fallbackFormat(){return a.value?a.value.fallbackFormat:x},set fallbackFormat(h){a.value&&(a.value.fallbackFormat=h)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:B},set warnHtmlMessage(h){a.value&&(a.value.warnHtmlMessage=h)},get escapeParameter(){return a.value?a.value.escapeParameter:$},set escapeParameter(h){a.value&&(a.value.escapeParameter=h)},t:ge,getPostTranslationHandler:ke,setPostTranslationHandler:We,getMissingHandler:Tt,setMissingHandler:Bt,rt:Te,d:qe,n:Fe,tm:Je,te:Ne,getLocaleMessage:Gt,setLocaleMessage:He,mergeLocaleMessage:it,getDateTimeFormat:pt,setDateTimeFormat:kt,mergeDateTimeFormat:nt,getNumberFormat:wt,setNumberFormat:St,mergeNumberFormat:lt};function g(h){h.locale.value=c.value,h.fallbackLocale.value=d.value,Object.keys(m.value).forEach(b=>{h.mergeLocaleMessage(b,m.value[b])}),Object.keys(p.value).forEach(b=>{h.mergeDateTimeFormat(b,p.value[b])}),Object.keys(E.value).forEach(b=>{h.mergeNumberFormat(b,E.value[b])}),h.escapeParameter=$,h.fallbackFormat=x,h.fallbackRoot=D,h.fallbackWarn=w,h.missingWarn=C,h.warnHtmlMessage=B}return Zd(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw zt(Vt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=a.value=e.proxy.$i18n.__composer;t==="global"?(c.value=h.locale.value,d.value=h.fallbackLocale.value,m.value=h.messages.value,p.value=h.datetimeFormats.value,E.value=h.numberFormats.value):s&&g(h)}),Ft}const GN=["locale","fallbackLocale","availableLocales"],G_=["t","rt","d","n","tm","te"];function jN(e,t){const n=Object.create(null);return GN.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a)throw zt(Vt.UNEXPECTED_ERROR);const l=Mt(a.value)?{get(){return a.value.value},set(c){a.value.value=c}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,G_.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a||!a.value)throw zt(Vt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)}),()=>{delete e.config.globalProperties.$i18n,G_.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}bN();__INTLIFY_JIT_COMPILATION__?T_(pN):T_(mN);aN(UP);lN(Cy);if(__INTLIFY_PROD_DEVTOOLS__){const e=eo();e.__INTLIFY__=!0,JP(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const YN={productShelfBuilderComponent:{titleText:"Algorithm Selection",algorithmLabel:"Algorithm",cancelButton:"Cancel",applyButton:"Apply",listSelector:{productListShelf:"Product Shelf",relatedProductsForProductListShelf:"Related Products for Product Shelf",alternativeProductsForProductListShelf:"Alternative Products for Product Shelf",popularProductsInCategoryListShelf:"Popular Products in Category",popularProductsShelf:"Popular Products"},productShelfBuilders:{productsQuantityLabel:"Number of Products",productsAtLeastText:"From",productsLimitText:"To",popularProductListDescriptionText:"The email will display popular products across the store.",productListDescriptionText:"Select products to display",relatedProductListDescriptionText:"Select products to display",alternativeProductListDescriptionText:"Select a block of products to determine which ones we will offer alternative products for. Please note that customers will see not the selected products, but the products calculated by the alternative products algorithm for the selected products.",popularFromCategoryListDescriptionText:"Select a block of categories to determine which ones we will offer popular products for. Please note that customers will see additional products in the email that match your selection.",productsSelectButton:"Select Products",categorySelectButton:"Select Categories"}},productListComposerModalWindow:{titleText:"Product List",cancelButton:"Cancel",applyButton:"Apply",transferAllButton:"Transfer All",searchInputPlaceholder:"Name of one product or list of IDs",emptySearchProductListTopText:"Name of one product",emptySearchProductListBottomText:"or list of IDs separated by commas",emptySelectedProductListText:"The product list is currently empty.",selectedProductListTitleText:"Product List",selectedProductListDeclensions:{one:"product",few:"products",many:"products"}},categoryListComposerModalWindow:{titleText:"Category Selection",cancelButton:"Cancel",applyButton:"Apply",transferAllButton:"Transfer All",searchInputPlaceholder:"Name of one category or list of IDs",emptySearchCategoryListText:"Enter the name of a category to display results.",emptySelectedCategoryListText:"The category list is currently empty.",selectedCategoryListTitleText:"Category List",selectedCategoryListDeclensions:{one:"category",few:"categories",many:"categories"}}},KN={productShelfBuilderComponent:{titleText:"Настройки товарной полки",algorithmLabel:"Алгоритм подбора товаров",cancelButton:"Отмена",applyButton:"Применить",listSelector:{productListShelf:"Продуктовая полка",relatedProductsForProductListShelf:"Сопутствующие товары к товарам",alternativeProductsForProductListShelf:"Альтернативы товаров",popularProductsInCategoryListShelf:"Популярные товары из категории",popularProductsShelf:"Популярные товары"},productShelfBuilders:{productsQuantityLabel:"Количество товаров",productsAtLeastText:"От",productsLimitText:"До",popularProductListDescriptionText:"В письме будут отображаться самые популярные товары магазина.",productListDescriptionText:"Выберите товары для отображения",relatedProductListDescriptionText:"Выберите товары для отображения",alternativeProductListDescriptionText:"Выберите блок товаров, чтобы определить, к каким из них мы предложим <b>альтернативные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме не выбранные товары, а товары рассчитанные по алгоритму <b>альтернативные товары</b> к выбранным товарам.",popularFromCategoryListDescriptionText:"Выберите блок категорий, чтобы определить, к каким из них мы предложим <b>популярные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме дополнительные товары, соответствующие вашему выбору.",productsSelectButton:"Выбрать товары",categorySelectButton:"Выбрать категории"}},productListComposerModalWindow:{titleText:"Список товаров",cancelButton:"Отменить",applyButton:"Применить",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одного товара или список ID",emptySearchProductListTopText:"Название одного товара",emptySearchProductListBottomText:"или список ID через запятую",emptySelectedProductListText:"Список товаров пока что пуст.",selectedProductListTitleText:"Список товаров",selectedProductListDeclensions:{one:"продукт",few:"продукта",many:"продуктов"}},categoryListComposerModalWindow:{titleText:"Выбор категорий",cancelButton:"Отменить",applyButton:"Применить",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одной категории или список ID",emptySearchCategoryListText:"Введите название категории, чтобы отобразились результаты.",emptySelectedCategoryListText:"Список категорий пока что пуст.",selectedCategoryListTitleText:"Список категорий",selectedCategoryListDeclensions:{one:"категория",few:"категории",many:"категорий"}}},Uy=MN({locale:"ru",legacy:!1,fallbackWarn:!1,missingWarn:!1,messages:{en:YN,ru:KN},warnHtmlMessage:!1}),zN=()=>{const{t:e}=Uy.global;return(t,n)=>n?e(t,n):e(t)};zN();function qN(e){return qI(()=>{const t=[],n={};if(e.value.background)if(md(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&uO(e.value.background)){const o=Rr(e.value.background);if(o.a==null||o.a===1){const s=oy(o);n.color=s,n.caretColor=s}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(md(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function XN(e,t){const n=Re(()=>({background:Mt(e)?e.value:t?e[t]:null})),{colorClasses:o,colorStyles:s}=qN(n);return{backgroundColorClasses:o,backgroundColorStyles:s}}const JN=ds({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function ZN(e){return{dimensionStyles:Re(()=>{const n={},o=Di(e.height),s=Di(e.maxHeight),a=Di(e.maxWidth),l=Di(e.minHeight),c=Di(e.minWidth),d=Di(e.width);return o!=null&&(n.height=o),s!=null&&(n.maxHeight=s),a!=null&&(n.maxWidth=a),l!=null&&(n.minHeight=l),c!=null&&(n.minWidth=c),d!=null&&(n.width=d),n})}}const QN=ds({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function eD(e){return{elevationClasses:Re(()=>{const n=Mt(e)?e.value:e.elevation,o=[];return n==null||o.push(`elevation-${n}`),o})}}const tD={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function nD(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Ke("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[t])}function j_(e){const[t,n]=e.split("@");return Array.from({length:n}).map(()=>Vu(t))}function Vu(e){let t=[];if(!e)return t;const n=tD[e];if(e!==n){if(e.includes(","))return Y_(e);if(e.includes("@"))return j_(e);n.includes(",")?t=Y_(n):n.includes("@")?t=j_(n):n&&t.push(Vu(n))}return[nD(e,t)]}function Y_(e){return e.replace(/\s/g,"").split(",").map(Vu)}const rD=ds({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...JN(),...QN(),...LR()},"VSkeletonLoader"),oD=ly()({name:"VSkeletonLoader",props:rD(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:o,backgroundColorStyles:s}=XN(rL(e,"color")),{dimensionStyles:a}=ZN(e),{elevationClasses:l}=eD(e),{themeClasses:c}=RR(e),{t:d}=xO(),m=Re(()=>Vu(YI(e.type).join(",")));return bO(()=>{var C;const p=!n.default||e.loading,E=e.boilerplate||!p?{}:{ariaLive:"polite",ariaLabel:d(e.loadingText),role:"alert"};return Ke("div",ah({class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},c.value,o.value,l.value],style:[s.value,p?a.value:{}]},E),[p?m.value:(C=n.default)==null?void 0:C.call(n)])}),{}}}),iD=e=>({emailTemplatePreviewComponents:e.emailTemplatePreviewComponents,initialEmailTemplate:e.initialEmailTemplate,exitLink:e.exitLink}),sD=e=>({favoritesTemplateListDeps:iD({emailTemplatePreviewComponents:e.emailTemplatePreviewComponents,initialEmailTemplate:e.initialEmailTemplate,exitLink:e.exitLink})}),aD=e=>({favoritesTemplateSelectorDeps:sD({partnerId:e.partnerId,emailTemplatePreviewComponents:e.emailTemplatePreviewComponents,initialEmailTemplate:e.initialEmailTemplate,exitLink:e.exitLink})}),vr=e=>({Match:t=>{for(const n in e)if(e[n]!==void 0)return t[`when${n}`](e[n]);throw Error("")}}),lD=vr,uD=e=>({InternalProductId:e.internalId,Name:e.name,Description:e.description,Url:e.url,Price:e.price,OldPrice:e.oldPrice,PictureUrl:e.pictureUrl,CategoryIds:[],Vendor:"p.vendor"}),cD=async e=>(await e.getProductsByIDsHttpClient({body:{partnerId:e.partnerId,internalProductIds:e.productIDs.concat([]),stockId:e.stockId}})).body.products.map(t=>uD(t)),Gu=e=>({InternalProductId:e.internalProductId,Name:e.name,Description:e.description,Price:e.price,OldPrice:e.oldPrice,PictureUrl:e.pictureUrl,Url:e.url,CategoryIds:[],Vendor:"p.vendor"}),fD=async e=>(await e.getRelatedProducts({body:{partnerId:e.partnerId,internalProductIds:e.productIDs.concat([]),stockId:e.stockId}})).body.recommendations.map(t=>Gu(t)),dD=async e=>(await e.getAlternativeProductsHttpClient({body:{partnerId:e.partnerId,internalProductIds:e.productIDs.concat([]),stockId:e.stockId}})).body.recommendations.map(t=>Gu(t)),hD=async e=>(await e.getPopularProductsInCategoriesHttpClient({body:{partnerId:e.partnerId,categoryIds:e.categoryIds.concat([]),stockId:e.stockId}})).body.recommendations.map(t=>Gu(t)),mD=async e=>(await e.getPopularProductsHttpClient({body:{partnerId:e.partnerId,stockId:e.stockId}})).body.recommendations.map(t=>Gu(t)),pD=vr,Fl=e=>pD(e.stockSource).Match({whenCustomerStockId:()=>e.customerStockId,whenDefaultStoreStockId:()=>{},whenSpecificStockId:t=>t.Value}),gD=e=>{let t={};return n=>lD(n).Match({whenProductList:({ProductIds:o,StockSource:s})=>cD({partnerId:e.partnerId,productIDs:o,stockId:Fl({stockSource:s,customerStockId:e.customerStockId}),productCache:t,getProductsByIDsHttpClient:e.listExpressionDataSourceBffClient.postGetProductsByIds}),whenRelatedProductsFor:({ProductIds:o,StockSource:s})=>{var a;return fD({partnerId:e.partnerId,productIDs:o,stockId:((a=s.SpecificStockId)==null?void 0:a.Value)??void 0,getRelatedProducts:e.listExpressionDataSourceBffClient.postGetRelatedRecommendations})},whenAlternativeProductsFor:({ProductIds:o,StockSource:s})=>dD({partnerId:e.partnerId,productIDs:o,stockId:Fl({stockSource:s,customerStockId:e.customerStockId}),getAlternativeProductsHttpClient:e.listExpressionDataSourceBffClient.postGetAlternativeRecommendations}),whenPopularProductsInCategories:({CategoryIds:o,StockSource:s})=>hD({partnerId:e.partnerId,categoryIds:o,stockId:Fl({stockSource:s,customerStockId:e.customerStockId}),getPopularProductsInCategoriesHttpClient:e.listExpressionDataSourceBffClient.postGetPopularInCategoriesRecommendations}),whenPopular:({StockSource:o})=>mD({partnerId:e.partnerId,stockId:Fl({stockSource:o,customerStockId:e.customerStockId}),getPopularProductsHttpClient:e.listExpressionDataSourceBffClient.postGetPopularRecommendations})})},_D=e=>{const t={[e.antiForgeryTokenHeaderName]:e.antiForgeryTokenValue};return async n=>{const o=e.baseUrl+n.path+"?"+n.query,s=await fetch(o,{method:n.method,body:n.body,headers:{...n.headers,...t}});return{status:s.status,body:await a()};async function a(){try{return await s.json()}catch{return}}}};var to=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gh={},ps=to&&to.__awaiter||function(e,t,n,o){function s(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function c(p){try{m(o.next(p))}catch(E){l(E)}}function d(p){try{m(o.throw(p))}catch(E){l(E)}}function m(p){p.done?a(p.value):s(p.value).then(c,d)}m((o=o.apply(e,t||[])).next())})},gs=to&&to.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,s,a,l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=c(0),l.throw=c(1),l.return=c(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(m){return function(p){return d([m,p])}}function d(m){if(o)throw new TypeError("Generator is already executing.");for(;l&&(l=0,m[0]&&(n=0)),n;)try{if(o=1,s&&(a=m[0]&2?s.return:m[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,m[1])).done)return a;switch(s=0,a&&(m=[m[0]&2,a.value]),m[0]){case 0:case 1:a=m;break;case 4:return n.label++,{value:m[1],done:!1};case 5:n.label++,s=m[1],m=[0];continue;case 7:m=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(m[0]===6||m[0]===2)){n=0;continue}if(m[0]===3&&(!a||m[1]>a[0]&&m[1]<a[3])){n.label=m[1];break}if(m[0]===6&&n.label<a[1]){n.label=a[1],a=m;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(m);break}a[2]&&n.ops.pop(),n.trys.pop();continue}m=t.call(e,n)}catch(p){m=[6,p],s=0}finally{o=a=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(gh,"__esModule",{value:!0});var Vy=gh.createApi=void 0,ki=function(e,t){return function(n){return e(n,t)}},ED=function(e){return{products:e.products.map(function(t){return vD(t)})}},vD=function(e){return{internalId:e.internalId,externalId:e.externalId,name:e.name,description:e.description,price:e.price,oldPrice:e.oldPrice,pictureUrl:e.pictureUrl,url:e.url}},yD=function(e){return{recommendations:e.recommendations.map(function(t){return xa(t)})}},bD=function(e){return{recommendations:e.recommendations.map(function(t){return xa(t)})}},CD=function(e){return{recommendations:e.recommendations.map(function(t){return xa(t)})}},TD=function(e){return{recommendations:e.recommendations.map(function(t){return xa(t)})}},wD=function(e){return{recommendations:e.recommendations.map(function(t){return xa(t)})}},xa=function(e){return{internalProductId:e.internalProductId,externalProductId:e.externalProductId,name:e.name,description:e.description,price:e.price,oldPrice:e.oldPrice,pictureUrl:e.pictureUrl,url:e.url}};function AD(e,t){return ps(this,void 0,void 0,function(){var n,o,s;return gs(this,function(a){switch(a.label){case 0:return n="wysiwyg/bff/v2/listExpressionDataSource/getProductsByIds/",o=new URLSearchParams,[4,t({path:n,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e.body),query:o.toString()})];case 1:if(s=a.sent(),s.status===200)return[2,{status:200,body:ED(s.body)}];throw new Error("Unknown response")}})})}function SD(e,t){return ps(this,void 0,void 0,function(){var n,o,s;return gs(this,function(a){switch(a.label){case 0:return n="wysiwyg/bff/v2/listExpressionDataSource/getPopularRecommendations/",o=new URLSearchParams,[4,t({path:n,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e.body),query:o.toString()})];case 1:if(s=a.sent(),s.status===200)return[2,{status:200,body:yD(s.body)}];throw new Error("Unknown response")}})})}function xD(e,t){return ps(this,void 0,void 0,function(){var n,o,s;return gs(this,function(a){switch(a.label){case 0:return n="wysiwyg/bff/v2/listExpressionDataSource/getPopularInCategoriesRecommendations/",o=new URLSearchParams,[4,t({path:n,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e.body),query:o.toString()})];case 1:if(s=a.sent(),s.status===200)return[2,{status:200,body:bD(s.body)}];throw new Error("Unknown response")}})})}function LD(e,t){return ps(this,void 0,void 0,function(){var n,o,s;return gs(this,function(a){switch(a.label){case 0:return n="wysiwyg/bff/v2/listExpressionDataSource/getRelatedRecommendations/",o=new URLSearchParams,[4,t({path:n,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e.body),query:o.toString()})];case 1:if(s=a.sent(),s.status===200)return[2,{status:200,body:CD(s.body)}];throw new Error("Unknown response")}})})}function ID(e,t){return ps(this,void 0,void 0,function(){var n,o,s;return gs(this,function(a){switch(a.label){case 0:return n="wysiwyg/bff/v2/listExpressionDataSource/getAlternativeRecommendations/",o=new URLSearchParams,[4,t({path:n,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e.body),query:o.toString()})];case 1:if(s=a.sent(),s.status===200)return[2,{status:200,body:TD(s.body)}];throw new Error("Unknown response")}})})}function OD(e,t){return ps(this,void 0,void 0,function(){var n,o,s;return gs(this,function(a){switch(a.label){case 0:return n="wysiwyg/bff/v2/listExpressionDataSource/getSearchRecommendations/",o=new URLSearchParams,[4,t({path:n,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e.body),query:o.toString()})];case 1:if(s=a.sent(),s.status===200)return[2,{status:200,body:wD(s.body)}];throw new Error("Unknown response")}})})}var RD=function(e){return{postGetProductsByIds:ki(AD,e),postGetPopularRecommendations:ki(SD,e),postGetPopularInCategoriesRecommendations:ki(xD,e),postGetRelatedRecommendations:ki(LD,e),postGetAlternativeRecommendations:ki(ID,e),postGetSearchRecommendations:ki(OD,e)}};Vy=gh.createApi=RD;var bn="top",Wn="bottom",Hn="right",Cn="left",ju="auto",_s=[bn,Wn,Hn,Cn],di="start",os="end",Gy="clippingParents",_h="viewport",Ui="popper",jy="reference",Ld=_s.reduce(function(e,t){return e.concat([t+"-"+di,t+"-"+os])},[]),Eh=[].concat(_s,[ju]).reduce(function(e,t){return e.concat([t,t+"-"+di,t+"-"+os])},[]),Yy="beforeRead",Ky="read",zy="afterRead",qy="beforeMain",Xy="main",Jy="afterMain",Zy="beforeWrite",Qy="write",eb="afterWrite",tb=[Yy,Ky,zy,qy,Xy,Jy,Zy,Qy,eb];function kr(e){return e?(e.nodeName||"").toLowerCase():null}function Un(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function hi(e){var t=Un(e).Element;return e instanceof t||e instanceof Element}function nr(e){var t=Un(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vh(e){if(typeof ShadowRoot>"u")return!1;var t=Un(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function PD(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!nr(a)||!kr(a)||(Object.assign(a.style,o),Object.keys(s).forEach(function(l){var c=s[l];c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":c)}))})}function ND(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var s=t.elements[o],a=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),c=l.reduce(function(d,m){return d[m]="",d},{});!nr(s)||!kr(s)||(Object.assign(s.style,c),Object.keys(a).forEach(function(d){s.removeAttribute(d)}))})}}const yh={name:"applyStyles",enabled:!0,phase:"write",fn:PD,effect:ND,requires:["computeStyles"]};function Dr(e){return e.split("-")[0]}var ui=Math.max,_u=Math.min,is=Math.round;function Id(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function nb(){return!/^((?!chrome|android).)*safari/i.test(Id())}function ss(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),s=1,a=1;t&&nr(e)&&(s=e.offsetWidth>0&&is(o.width)/e.offsetWidth||1,a=e.offsetHeight>0&&is(o.height)/e.offsetHeight||1);var l=hi(e)?Un(e):window,c=l.visualViewport,d=!nb()&&n,m=(o.left+(d&&c?c.offsetLeft:0))/s,p=(o.top+(d&&c?c.offsetTop:0))/a,E=o.width/s,C=o.height/a;return{width:E,height:C,top:p,right:m+E,bottom:p+C,left:m,x:m,y:p}}function bh(e){var t=ss(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function rb(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vh(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function so(e){return Un(e).getComputedStyle(e)}function DD(e){return["table","td","th"].indexOf(kr(e))>=0}function $o(e){return((hi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yu(e){return kr(e)==="html"?e:e.assignedSlot||e.parentNode||(vh(e)?e.host:null)||$o(e)}function K_(e){return!nr(e)||so(e).position==="fixed"?null:e.offsetParent}function MD(e){var t=/firefox/i.test(Id()),n=/Trident/i.test(Id());if(n&&nr(e)){var o=so(e);if(o.position==="fixed")return null}var s=Yu(e);for(vh(s)&&(s=s.host);nr(s)&&["html","body"].indexOf(kr(s))<0;){var a=so(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function La(e){for(var t=Un(e),n=K_(e);n&&DD(n)&&so(n).position==="static";)n=K_(n);return n&&(kr(n)==="html"||kr(n)==="body"&&so(n).position==="static")?t:n||MD(e)||t}function Ch(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function aa(e,t,n){return ui(e,_u(t,n))}function BD(e,t,n){var o=aa(e,t,n);return o>n?n:o}function ob(){return{top:0,right:0,bottom:0,left:0}}function ib(e){return Object.assign({},ob(),e)}function sb(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var kD=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ib(typeof t!="number"?t:sb(t,_s))};function FD(e){var t,n=e.state,o=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,c=Dr(n.placement),d=Ch(c),m=[Cn,Hn].indexOf(c)>=0,p=m?"height":"width";if(!(!a||!l)){var E=kD(s.padding,n),C=bh(a),w=d==="y"?bn:Cn,D=d==="y"?Wn:Hn,x=n.rects.reference[p]+n.rects.reference[d]-l[d]-n.rects.popper[p],F=l[d]-n.rects.reference[d],A=La(a),B=A?d==="y"?A.clientHeight||0:A.clientWidth||0:0,$=x/2-F/2,S=E[w],H=B-C[p]-E[D],G=B/2-C[p]/2+$,U=aa(S,G,H),le=d;n.modifiersData[o]=(t={},t[le]=U,t.centerOffset=U-G,t)}}function $D(e){var t=e.state,n=e.options,o=n.element,s=o===void 0?"[data-popper-arrow]":o;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||rb(t.elements.popper,s)&&(t.elements.arrow=s))}const ab={name:"arrow",enabled:!0,phase:"main",fn:FD,effect:$D,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function as(e){return e.split("-")[1]}var WD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function HD(e,t){var n=e.x,o=e.y,s=t.devicePixelRatio||1;return{x:is(n*s)/s||0,y:is(o*s)/s||0}}function z_(e){var t,n=e.popper,o=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,c=e.position,d=e.gpuAcceleration,m=e.adaptive,p=e.roundOffsets,E=e.isFixed,C=l.x,w=C===void 0?0:C,D=l.y,x=D===void 0?0:D,F=typeof p=="function"?p({x:w,y:x}):{x:w,y:x};w=F.x,x=F.y;var A=l.hasOwnProperty("x"),B=l.hasOwnProperty("y"),$=Cn,S=bn,H=window;if(m){var G=La(n),U="clientHeight",le="clientWidth";if(G===Un(n)&&(G=$o(n),so(G).position!=="static"&&c==="absolute"&&(U="scrollHeight",le="scrollWidth")),G=G,s===bn||(s===Cn||s===Hn)&&a===os){S=Wn;var ce=E&&G===H&&H.visualViewport?H.visualViewport.height:G[U];x-=ce-o.height,x*=d?1:-1}if(s===Cn||(s===bn||s===Wn)&&a===os){$=Hn;var de=E&&G===H&&H.visualViewport?H.visualViewport.width:G[le];w-=de-o.width,w*=d?1:-1}}var Pe=Object.assign({position:c},m&&WD),ke=p===!0?HD({x:w,y:x},Un(n)):{x:w,y:x};if(w=ke.x,x=ke.y,d){var We;return Object.assign({},Pe,(We={},We[S]=B?"0":"",We[$]=A?"0":"",We.transform=(H.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",We))}return Object.assign({},Pe,(t={},t[S]=B?x+"px":"",t[$]=A?w+"px":"",t.transform="",t))}function UD(e){var t=e.state,n=e.options,o=n.gpuAcceleration,s=o===void 0?!0:o,a=n.adaptive,l=a===void 0?!0:a,c=n.roundOffsets,d=c===void 0?!0:c,m={placement:Dr(t.placement),variation:as(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,z_(Object.assign({},m,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,z_(Object.assign({},m,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Th={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UD,data:{}};var $l={passive:!0};function VD(e){var t=e.state,n=e.instance,o=e.options,s=o.scroll,a=s===void 0?!0:s,l=o.resize,c=l===void 0?!0:l,d=Un(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&m.forEach(function(p){p.addEventListener("scroll",n.update,$l)}),c&&d.addEventListener("resize",n.update,$l),function(){a&&m.forEach(function(p){p.removeEventListener("scroll",n.update,$l)}),c&&d.removeEventListener("resize",n.update,$l)}}const wh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:VD,data:{}};var GD={left:"right",right:"left",bottom:"top",top:"bottom"};function tu(e){return e.replace(/left|right|bottom|top/g,function(t){return GD[t]})}var jD={start:"end",end:"start"};function q_(e){return e.replace(/start|end/g,function(t){return jD[t]})}function Ah(e){var t=Un(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function Sh(e){return ss($o(e)).left+Ah(e).scrollLeft}function YD(e,t){var n=Un(e),o=$o(e),s=n.visualViewport,a=o.clientWidth,l=o.clientHeight,c=0,d=0;if(s){a=s.width,l=s.height;var m=nb();(m||!m&&t==="fixed")&&(c=s.offsetLeft,d=s.offsetTop)}return{width:a,height:l,x:c+Sh(e),y:d}}function KD(e){var t,n=$o(e),o=Ah(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=ui(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=ui(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),c=-o.scrollLeft+Sh(e),d=-o.scrollTop;return so(s||n).direction==="rtl"&&(c+=ui(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:c,y:d}}function xh(e){var t=so(e),n=t.overflow,o=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+o)}function lb(e){return["html","body","#document"].indexOf(kr(e))>=0?e.ownerDocument.body:nr(e)&&xh(e)?e:lb(Yu(e))}function la(e,t){var n;t===void 0&&(t=[]);var o=lb(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),a=Un(o),l=s?[a].concat(a.visualViewport||[],xh(o)?o:[]):o,c=t.concat(l);return s?c:c.concat(la(Yu(l)))}function Od(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function zD(e,t){var n=ss(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function X_(e,t,n){return t===_h?Od(YD(e,n)):hi(t)?zD(t,n):Od(KD($o(e)))}function qD(e){var t=la(Yu(e)),n=["absolute","fixed"].indexOf(so(e).position)>=0,o=n&&nr(e)?La(e):e;return hi(o)?t.filter(function(s){return hi(s)&&rb(s,o)&&kr(s)!=="body"}):[]}function XD(e,t,n,o){var s=t==="clippingParents"?qD(e):[].concat(t),a=[].concat(s,[n]),l=a[0],c=a.reduce(function(d,m){var p=X_(e,m,o);return d.top=ui(p.top,d.top),d.right=_u(p.right,d.right),d.bottom=_u(p.bottom,d.bottom),d.left=ui(p.left,d.left),d},X_(e,l,o));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function ub(e){var t=e.reference,n=e.element,o=e.placement,s=o?Dr(o):null,a=o?as(o):null,l=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,d;switch(s){case bn:d={x:l,y:t.y-n.height};break;case Wn:d={x:l,y:t.y+t.height};break;case Hn:d={x:t.x+t.width,y:c};break;case Cn:d={x:t.x-n.width,y:c};break;default:d={x:t.x,y:t.y}}var m=s?Ch(s):null;if(m!=null){var p=m==="y"?"height":"width";switch(a){case di:d[m]=d[m]-(t[p]/2-n[p]/2);break;case os:d[m]=d[m]+(t[p]/2-n[p]/2);break}}return d}function ls(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=o===void 0?e.placement:o,a=n.strategy,l=a===void 0?e.strategy:a,c=n.boundary,d=c===void 0?Gy:c,m=n.rootBoundary,p=m===void 0?_h:m,E=n.elementContext,C=E===void 0?Ui:E,w=n.altBoundary,D=w===void 0?!1:w,x=n.padding,F=x===void 0?0:x,A=ib(typeof F!="number"?F:sb(F,_s)),B=C===Ui?jy:Ui,$=e.rects.popper,S=e.elements[D?B:C],H=XD(hi(S)?S:S.contextElement||$o(e.elements.popper),d,p,l),G=ss(e.elements.reference),U=ub({reference:G,element:$,strategy:"absolute",placement:s}),le=Od(Object.assign({},$,U)),ce=C===Ui?le:G,de={top:H.top-ce.top+A.top,bottom:ce.bottom-H.bottom+A.bottom,left:H.left-ce.left+A.left,right:ce.right-H.right+A.right},Pe=e.modifiersData.offset;if(C===Ui&&Pe){var ke=Pe[s];Object.keys(de).forEach(function(We){var Tt=[Hn,Wn].indexOf(We)>=0?1:-1,Bt=[bn,Wn].indexOf(We)>=0?"y":"x";de[We]+=ke[Bt]*Tt})}return de}function JD(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,c=n.flipVariations,d=n.allowedAutoPlacements,m=d===void 0?Eh:d,p=as(o),E=p?c?Ld:Ld.filter(function(D){return as(D)===p}):_s,C=E.filter(function(D){return m.indexOf(D)>=0});C.length===0&&(C=E);var w=C.reduce(function(D,x){return D[x]=ls(e,{placement:x,boundary:s,rootBoundary:a,padding:l})[Dr(x)],D},{});return Object.keys(w).sort(function(D,x){return w[D]-w[x]})}function ZD(e){if(Dr(e)===ju)return[];var t=tu(e);return[q_(e),t,q_(t)]}function QD(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,c=l===void 0?!0:l,d=n.fallbackPlacements,m=n.padding,p=n.boundary,E=n.rootBoundary,C=n.altBoundary,w=n.flipVariations,D=w===void 0?!0:w,x=n.allowedAutoPlacements,F=t.options.placement,A=Dr(F),B=A===F,$=d||(B||!D?[tu(F)]:ZD(F)),S=[F].concat($).reduce(function(He,it){return He.concat(Dr(it)===ju?JD(t,{placement:it,boundary:p,rootBoundary:E,padding:m,flipVariations:D,allowedAutoPlacements:x}):it)},[]),H=t.rects.reference,G=t.rects.popper,U=new Map,le=!0,ce=S[0],de=0;de<S.length;de++){var Pe=S[de],ke=Dr(Pe),We=as(Pe)===di,Tt=[bn,Wn].indexOf(ke)>=0,Bt=Tt?"width":"height",Le=ls(t,{placement:Pe,boundary:p,rootBoundary:E,altBoundary:C,padding:m}),ge=Tt?We?Hn:Cn:We?Wn:bn;H[Bt]>G[Bt]&&(ge=tu(ge));var Te=tu(ge),qe=[];if(a&&qe.push(Le[ke]<=0),c&&qe.push(Le[ge]<=0,Le[Te]<=0),qe.every(function(He){return He})){ce=Pe,le=!1;break}U.set(Pe,qe)}if(le)for(var Fe=D?3:1,Je=function(it){var pt=S.find(function(kt){var nt=U.get(kt);if(nt)return nt.slice(0,it).every(function(wt){return wt})});if(pt)return ce=pt,"break"},Ne=Fe;Ne>0;Ne--){var Gt=Je(Ne);if(Gt==="break")break}t.placement!==ce&&(t.modifiersData[o]._skip=!0,t.placement=ce,t.reset=!0)}}const cb={name:"flip",enabled:!0,phase:"main",fn:QD,requiresIfExists:["offset"],data:{_skip:!1}};function J_(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Z_(e){return[bn,Hn,Wn,Cn].some(function(t){return e[t]>=0})}function eM(e){var t=e.state,n=e.name,o=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=ls(t,{elementContext:"reference"}),c=ls(t,{altBoundary:!0}),d=J_(l,o),m=J_(c,s,a),p=Z_(d),E=Z_(m);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:m,isReferenceHidden:p,hasPopperEscaped:E},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":E})}const fb={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eM};function tM(e,t,n){var o=Dr(e),s=[Cn,bn].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],c=a[1];return l=l||0,c=(c||0)*s,[Cn,Hn].indexOf(o)>=0?{x:c,y:l}:{x:l,y:c}}function nM(e){var t=e.state,n=e.options,o=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=Eh.reduce(function(p,E){return p[E]=tM(E,t.rects,a),p},{}),c=l[t.placement],d=c.x,m=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=m),t.modifiersData[o]=l}const db={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nM};function rM(e){var t=e.state,n=e.name;t.modifiersData[n]=ub({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Lh={name:"popperOffsets",enabled:!0,phase:"read",fn:rM,data:{}};function oM(e){return e==="x"?"y":"x"}function iM(e){var t=e.state,n=e.options,o=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,c=l===void 0?!1:l,d=n.boundary,m=n.rootBoundary,p=n.altBoundary,E=n.padding,C=n.tether,w=C===void 0?!0:C,D=n.tetherOffset,x=D===void 0?0:D,F=ls(t,{boundary:d,rootBoundary:m,padding:E,altBoundary:p}),A=Dr(t.placement),B=as(t.placement),$=!B,S=Ch(A),H=oM(S),G=t.modifiersData.popperOffsets,U=t.rects.reference,le=t.rects.popper,ce=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,de=typeof ce=="number"?{mainAxis:ce,altAxis:ce}:Object.assign({mainAxis:0,altAxis:0},ce),Pe=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ke={x:0,y:0};if(G){if(a){var We,Tt=S==="y"?bn:Cn,Bt=S==="y"?Wn:Hn,Le=S==="y"?"height":"width",ge=G[S],Te=ge+F[Tt],qe=ge-F[Bt],Fe=w?-le[Le]/2:0,Je=B===di?U[Le]:le[Le],Ne=B===di?-le[Le]:-U[Le],Gt=t.elements.arrow,He=w&&Gt?bh(Gt):{width:0,height:0},it=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ob(),pt=it[Tt],kt=it[Bt],nt=aa(0,U[Le],He[Le]),wt=$?U[Le]/2-Fe-nt-pt-de.mainAxis:Je-nt-pt-de.mainAxis,St=$?-U[Le]/2+Fe+nt+kt+de.mainAxis:Ne+nt+kt+de.mainAxis,lt=t.elements.arrow&&La(t.elements.arrow),Ft=lt?S==="y"?lt.clientTop||0:lt.clientLeft||0:0,g=(We=Pe==null?void 0:Pe[S])!=null?We:0,h=ge+wt-g-Ft,b=ge+St-g,N=aa(w?_u(Te,h):Te,ge,w?ui(qe,b):qe);G[S]=N,ke[S]=N-ge}if(c){var M,V=S==="x"?bn:Cn,ee=S==="x"?Wn:Hn,q=G[H],J=H==="y"?"height":"width",z=q+F[V],ne=q-F[ee],I=[bn,Cn].indexOf(A)!==-1,k=(M=Pe==null?void 0:Pe[H])!=null?M:0,re=I?z:q-U[J]-le[J]-k+de.altAxis,ue=I?q+U[J]+le[J]-k-de.altAxis:ne,we=w&&I?BD(re,q,ue):aa(w?re:z,q,w?ue:ne);G[H]=we,ke[H]=we-q}t.modifiersData[o]=ke}}const hb={name:"preventOverflow",enabled:!0,phase:"main",fn:iM,requiresIfExists:["offset"]};function sM(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function aM(e){return e===Un(e)||!nr(e)?Ah(e):sM(e)}function lM(e){var t=e.getBoundingClientRect(),n=is(t.width)/e.offsetWidth||1,o=is(t.height)/e.offsetHeight||1;return n!==1||o!==1}function uM(e,t,n){n===void 0&&(n=!1);var o=nr(t),s=nr(t)&&lM(t),a=$o(t),l=ss(e,s,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!n)&&((kr(t)!=="body"||xh(a))&&(c=aM(t)),nr(t)?(d=ss(t,!0),d.x+=t.clientLeft,d.y+=t.clientTop):a&&(d.x=Sh(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function cM(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(c){if(!n.has(c)){var d=t.get(c);d&&s(d)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),o}function fM(e){var t=cM(e);return tb.reduce(function(n,o){return n.concat(t.filter(function(s){return s.phase===o}))},[])}function dM(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function hM(e){var t=e.reduce(function(n,o){var s=n[o.name];return n[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var Q_={placement:"bottom",modifiers:[],strategy:"absolute"};function eE(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Ku(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,s=t.defaultOptions,a=s===void 0?Q_:s;return function(c,d,m){m===void 0&&(m=a);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Q_,a),modifiersData:{},elements:{reference:c,popper:d},attributes:{},styles:{}},E=[],C=!1,w={state:p,setOptions:function(A){var B=typeof A=="function"?A(p.options):A;x(),p.options=Object.assign({},a,p.options,B),p.scrollParents={reference:hi(c)?la(c):c.contextElement?la(c.contextElement):[],popper:la(d)};var $=fM(hM([].concat(o,p.options.modifiers)));return p.orderedModifiers=$.filter(function(S){return S.enabled}),D(),w.update()},forceUpdate:function(){if(!C){var A=p.elements,B=A.reference,$=A.popper;if(eE(B,$)){p.rects={reference:uM(B,La($),p.options.strategy==="fixed"),popper:bh($)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(de){return p.modifiersData[de.name]=Object.assign({},de.data)});for(var S=0;S<p.orderedModifiers.length;S++){if(p.reset===!0){p.reset=!1,S=-1;continue}var H=p.orderedModifiers[S],G=H.fn,U=H.options,le=U===void 0?{}:U,ce=H.name;typeof G=="function"&&(p=G({state:p,options:le,name:ce,instance:w})||p)}}}},update:dM(function(){return new Promise(function(F){w.forceUpdate(),F(p)})}),destroy:function(){x(),C=!0}};if(!eE(c,d))return w;w.setOptions(m).then(function(F){!C&&m.onFirstUpdate&&m.onFirstUpdate(F)});function D(){p.orderedModifiers.forEach(function(F){var A=F.name,B=F.options,$=B===void 0?{}:B,S=F.effect;if(typeof S=="function"){var H=S({state:p,name:A,instance:w,options:$}),G=function(){};E.push(H||G)}})}function x(){E.forEach(function(F){return F()}),E=[]}return w}}var mM=Ku(),pM=[wh,Lh,Th,yh],gM=Ku({defaultModifiers:pM}),_M=[wh,Lh,Th,yh,db,cb,hb,ab,fb],Ih=Ku({defaultModifiers:_M});const mb=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Jy,afterRead:zy,afterWrite:eb,applyStyles:yh,arrow:ab,auto:ju,basePlacements:_s,beforeMain:qy,beforeRead:Yy,beforeWrite:Zy,bottom:Wn,clippingParents:Gy,computeStyles:Th,createPopper:Ih,createPopperBase:mM,createPopperLite:gM,detectOverflow:ls,end:os,eventListeners:wh,flip:cb,hide:fb,left:Cn,main:Xy,modifierPhases:tb,offset:db,placements:Eh,popper:Ui,popperGenerator:Ku,popperOffsets:Lh,preventOverflow:hb,read:Ky,reference:jy,right:Hn,start:di,top:bn,variationPlacements:Ld,viewport:_h,write:Qy},Symbol.toStringTag,{value:"Module"}));/*!
|
|
40
|
+
* Bootstrap v5.3.3 (https://getbootstrap.com/)
|
|
41
|
+
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
42
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
43
|
+
*/const To=new Map,Pf={set(e,t,n){To.has(e)||To.set(e,new Map);const o=To.get(e);if(!o.has(t)&&o.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`);return}o.set(t,n)},get(e,t){return To.has(e)&&To.get(e).get(t)||null},remove(e,t){if(!To.has(e))return;const n=To.get(e);n.delete(t),n.size===0&&To.delete(e)}},EM=1e6,vM=1e3,Rd="transitionend",pb=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),yM=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),bM=e=>{do e+=Math.floor(Math.random()*EM);while(document.getElementById(e));return e},CM=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const o=Number.parseFloat(t),s=Number.parseFloat(n);return!o&&!s?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*vM)},gb=e=>{e.dispatchEvent(new Event(Rd))},no=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Ro=e=>no(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(pb(e)):null,Es=e=>{if(!no(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const o=e.closest("summary");if(o&&o.parentNode!==n||o===null)return!1}return t},Po=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",_b=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?_b(e.parentNode):null},Eu=()=>{},Ia=e=>{e.offsetHeight},Eb=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Nf=[],TM=e=>{document.readyState==="loading"?(Nf.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Nf)t()}),Nf.push(e)):e()},or=()=>document.documentElement.dir==="rtl",ar=e=>{TM(()=>{const t=Eb();if(t){const n=e.NAME,o=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=o,e.jQueryInterface)}})},Rn=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,vb=(e,t,n=!0)=>{if(!n){Rn(e);return}const o=5,s=CM(t)+o;let a=!1;const l=({target:c})=>{c===t&&(a=!0,t.removeEventListener(Rd,l),Rn(e))};t.addEventListener(Rd,l),setTimeout(()=>{a||gb(t)},s)},Oh=(e,t,n,o)=>{const s=e.length;let a=e.indexOf(t);return a===-1?!n&&o?e[s-1]:e[0]:(a+=n?1:-1,o&&(a=(a+s)%s),e[Math.max(0,Math.min(a,s-1))])},wM=/[^.]*(?=\..*)\.|.*/,AM=/\..*/,SM=/::\d+$/,Df={};let tE=1;const yb={mouseenter:"mouseover",mouseleave:"mouseout"},xM=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function bb(e,t){return t&&`${t}::${tE++}`||e.uidEvent||tE++}function Cb(e){const t=bb(e);return e.uidEvent=t,Df[t]=Df[t]||{},Df[t]}function LM(e,t){return function n(o){return Rh(o,{delegateTarget:e}),n.oneOff&&Q.off(e,o.type,t),t.apply(e,[o])}}function IM(e,t,n){return function o(s){const a=e.querySelectorAll(t);for(let{target:l}=s;l&&l!==this;l=l.parentNode)for(const c of a)if(c===l)return Rh(s,{delegateTarget:l}),o.oneOff&&Q.off(e,s.type,t,n),n.apply(l,[s])}}function Tb(e,t,n=null){return Object.values(e).find(o=>o.callable===t&&o.delegationSelector===n)}function wb(e,t,n){const o=typeof t=="string",s=o?n:t||n;let a=Ab(e);return xM.has(a)||(a=e),[o,s,a]}function nE(e,t,n,o,s){if(typeof t!="string"||!e)return;let[a,l,c]=wb(t,n,o);t in yb&&(l=(D=>function(x){if(!x.relatedTarget||x.relatedTarget!==x.delegateTarget&&!x.delegateTarget.contains(x.relatedTarget))return D.call(this,x)})(l));const d=Cb(e),m=d[c]||(d[c]={}),p=Tb(m,l,a?n:null);if(p){p.oneOff=p.oneOff&&s;return}const E=bb(l,t.replace(wM,"")),C=a?IM(e,n,l):LM(e,l);C.delegationSelector=a?n:null,C.callable=l,C.oneOff=s,C.uidEvent=E,m[E]=C,e.addEventListener(c,C,a)}function Pd(e,t,n,o,s){const a=Tb(t[n],o,s);a&&(e.removeEventListener(n,a,!!s),delete t[n][a.uidEvent])}function OM(e,t,n,o){const s=t[n]||{};for(const[a,l]of Object.entries(s))a.includes(o)&&Pd(e,t,n,l.callable,l.delegationSelector)}function Ab(e){return e=e.replace(AM,""),yb[e]||e}const Q={on(e,t,n,o){nE(e,t,n,o,!1)},one(e,t,n,o){nE(e,t,n,o,!0)},off(e,t,n,o){if(typeof t!="string"||!e)return;const[s,a,l]=wb(t,n,o),c=l!==t,d=Cb(e),m=d[l]||{},p=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(m).length)return;Pd(e,d,l,a,s?n:null);return}if(p)for(const E of Object.keys(d))OM(e,d,E,t.slice(1));for(const[E,C]of Object.entries(m)){const w=E.replace(SM,"");(!c||t.includes(w))&&Pd(e,d,l,C.callable,C.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const o=Eb(),s=Ab(t),a=t!==s;let l=null,c=!0,d=!0,m=!1;a&&o&&(l=o.Event(t,n),o(e).trigger(l),c=!l.isPropagationStopped(),d=!l.isImmediatePropagationStopped(),m=l.isDefaultPrevented());const p=Rh(new Event(t,{bubbles:c,cancelable:!0}),n);return m&&p.preventDefault(),d&&e.dispatchEvent(p),p.defaultPrevented&&l&&l.preventDefault(),p}};function Rh(e,t={}){for(const[n,o]of Object.entries(t))try{e[n]=o}catch{Object.defineProperty(e,n,{configurable:!0,get(){return o}})}return e}function rE(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Mf(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ro={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Mf(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Mf(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(o=>o.startsWith("bs")&&!o.startsWith("bsConfig"));for(const o of n){let s=o.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=rE(e.dataset[o])}return t},getDataAttribute(e,t){return rE(e.getAttribute(`data-bs-${Mf(t)}`))}};class Oa{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const o=no(n)?ro.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof o=="object"?o:{},...no(n)?ro.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[o,s]of Object.entries(n)){const a=t[o],l=no(a)?"element":yM(a);if(!new RegExp(s).test(l))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${l}" but expected type "${s}".`)}}}const RM="5.3.3";class yr extends Oa{constructor(t,n){super(),t=Ro(t),t&&(this._element=t,this._config=this._getConfig(n),Pf.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Pf.remove(this._element,this.constructor.DATA_KEY),Q.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,o=!0){vb(t,n,o)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Pf.get(Ro(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return RM}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Bf=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>pb(n)).join(","):null},_e={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let o=e.parentNode.closest(t);for(;o;)n.push(o),o=o.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!Po(n)&&Es(n))},getSelectorFromElement(e){const t=Bf(e);return t&&_e.findOne(t)?t:null},getElementFromSelector(e){const t=Bf(e);return t?_e.findOne(t):null},getMultipleElementsFromSelector(e){const t=Bf(e);return t?_e.find(t):[]}},zu=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,o=e.NAME;Q.on(document,n,`[data-bs-dismiss="${o}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),Po(this))return;const a=_e.getElementFromSelector(this)||this.closest(`.${o}`);e.getOrCreateInstance(a)[t]()})},PM="alert",NM="bs.alert",Sb=`.${NM}`,DM=`close${Sb}`,MM=`closed${Sb}`,BM="fade",kM="show";class qu extends yr{static get NAME(){return PM}close(){if(Q.trigger(this._element,DM).defaultPrevented)return;this._element.classList.remove(kM);const n=this._element.classList.contains(BM);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),Q.trigger(this._element,MM),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=qu.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}zu(qu,"close");ar(qu);const FM="button",$M="bs.button",WM=`.${$M}`,HM=".data-api",UM="active",oE='[data-bs-toggle="button"]',VM=`click${WM}${HM}`;class Xu extends yr{static get NAME(){return FM}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(UM))}static jQueryInterface(t){return this.each(function(){const n=Xu.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}Q.on(document,VM,oE,e=>{e.preventDefault();const t=e.target.closest(oE);Xu.getOrCreateInstance(t).toggle()});ar(Xu);const GM="swipe",vs=".bs.swipe",jM=`touchstart${vs}`,YM=`touchmove${vs}`,KM=`touchend${vs}`,zM=`pointerdown${vs}`,qM=`pointerup${vs}`,XM="touch",JM="pen",ZM="pointer-event",QM=40,eB={endCallback:null,leftCallback:null,rightCallback:null},tB={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class vu extends Oa{constructor(t,n){super(),this._element=t,!(!t||!vu.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return eB}static get DefaultType(){return tB}static get NAME(){return GM}dispose(){Q.off(this._element,vs)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Rn(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=QM)return;const n=t/this._deltaX;this._deltaX=0,n&&Rn(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Q.on(this._element,zM,t=>this._start(t)),Q.on(this._element,qM,t=>this._end(t)),this._element.classList.add(ZM)):(Q.on(this._element,jM,t=>this._start(t)),Q.on(this._element,YM,t=>this._move(t)),Q.on(this._element,KM,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===JM||t.pointerType===XM)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const nB="carousel",rB="bs.carousel",Wo=`.${rB}`,xb=".data-api",oB="ArrowLeft",iB="ArrowRight",sB=500,Ys="next",Fi="prev",Vi="left",nu="right",aB=`slide${Wo}`,kf=`slid${Wo}`,lB=`keydown${Wo}`,uB=`mouseenter${Wo}`,cB=`mouseleave${Wo}`,fB=`dragstart${Wo}`,dB=`load${Wo}${xb}`,hB=`click${Wo}${xb}`,Lb="carousel",Wl="active",mB="slide",pB="carousel-item-end",gB="carousel-item-start",_B="carousel-item-next",EB="carousel-item-prev",Ib=".active",Ob=".carousel-item",vB=Ib+Ob,yB=".carousel-item img",bB=".carousel-indicators",CB="[data-bs-slide], [data-bs-slide-to]",TB='[data-bs-ride="carousel"]',wB={[oB]:nu,[iB]:Vi},AB={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},SB={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ra extends yr{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=_e.findOne(bB,this._element),this._addEventListeners(),this._config.ride===Lb&&this.cycle()}static get Default(){return AB}static get DefaultType(){return SB}static get NAME(){return nB}next(){this._slide(Ys)}nextWhenVisible(){!document.hidden&&Es(this._element)&&this.next()}prev(){this._slide(Fi)}pause(){this._isSliding&&gb(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){Q.one(this._element,kf,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){Q.one(this._element,kf,()=>this.to(t));return}const o=this._getItemIndex(this._getActive());if(o===t)return;const s=t>o?Ys:Fi;this._slide(s,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Q.on(this._element,lB,t=>this._keydown(t)),this._config.pause==="hover"&&(Q.on(this._element,uB,()=>this.pause()),Q.on(this._element,cB,()=>this._maybeEnableCycle())),this._config.touch&&vu.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const o of _e.find(yB,this._element))Q.on(o,fB,s=>s.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Vi)),rightCallback:()=>this._slide(this._directionToOrder(nu)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),sB+this._config.interval))}};this._swipeHelper=new vu(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=wB[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=_e.findOne(Ib,this._indicatorsElement);n.classList.remove(Wl),n.removeAttribute("aria-current");const o=_e.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);o&&(o.classList.add(Wl),o.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const o=this._getActive(),s=t===Ys,a=n||Oh(this._getItems(),o,s,this._config.wrap);if(a===o)return;const l=this._getItemIndex(a),c=w=>Q.trigger(this._element,w,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(o),to:l});if(c(aB).defaultPrevented||!o||!a)return;const m=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(l),this._activeElement=a;const p=s?gB:pB,E=s?_B:EB;a.classList.add(E),Ia(a),o.classList.add(p),a.classList.add(p);const C=()=>{a.classList.remove(p,E),a.classList.add(Wl),o.classList.remove(Wl,E,p),this._isSliding=!1,c(kf)};this._queueCallback(C,o,this._isAnimated()),m&&this.cycle()}_isAnimated(){return this._element.classList.contains(mB)}_getActive(){return _e.findOne(vB,this._element)}_getItems(){return _e.find(Ob,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return or()?t===Vi?Fi:Ys:t===Vi?Ys:Fi}_orderToDirection(t){return or()?t===Fi?Vi:nu:t===Fi?nu:Vi}static jQueryInterface(t){return this.each(function(){const n=Ra.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Q.on(document,hB,CB,function(e){const t=_e.getElementFromSelector(this);if(!t||!t.classList.contains(Lb))return;e.preventDefault();const n=Ra.getOrCreateInstance(t),o=this.getAttribute("data-bs-slide-to");if(o){n.to(o),n._maybeEnableCycle();return}if(ro.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});Q.on(window,dB,()=>{const e=_e.find(TB);for(const t of e)Ra.getOrCreateInstance(t)});ar(Ra);const xB="collapse",LB="bs.collapse",Pa=`.${LB}`,IB=".data-api",OB=`show${Pa}`,RB=`shown${Pa}`,PB=`hide${Pa}`,NB=`hidden${Pa}`,DB=`click${Pa}${IB}`,Ff="show",Yi="collapse",Hl="collapsing",MB="collapsed",BB=`:scope .${Yi} .${Yi}`,kB="collapse-horizontal",FB="width",$B="height",WB=".collapse.show, .collapse.collapsing",Nd='[data-bs-toggle="collapse"]',HB={parent:null,toggle:!0},UB={parent:"(null|element)",toggle:"boolean"};class ya extends yr{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const o=_e.find(Nd);for(const s of o){const a=_e.getSelectorFromElement(s),l=_e.find(a).filter(c=>c===this._element);a!==null&&l.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return HB}static get DefaultType(){return UB}static get NAME(){return xB}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(WB).filter(c=>c!==this._element).map(c=>ya.getOrCreateInstance(c,{toggle:!1}))),t.length&&t[0]._isTransitioning||Q.trigger(this._element,OB).defaultPrevented)return;for(const c of t)c.hide();const o=this._getDimension();this._element.classList.remove(Yi),this._element.classList.add(Hl),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Hl),this._element.classList.add(Yi,Ff),this._element.style[o]="",Q.trigger(this._element,RB)},l=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[o]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown()||Q.trigger(this._element,PB).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Ia(this._element),this._element.classList.add(Hl),this._element.classList.remove(Yi,Ff);for(const s of this._triggerArray){const a=_e.getElementFromSelector(s);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Hl),this._element.classList.add(Yi),Q.trigger(this._element,NB)};this._element.style[n]="",this._queueCallback(o,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ff)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Ro(t.parent),t}_getDimension(){return this._element.classList.contains(kB)?FB:$B}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Nd);for(const n of t){const o=_e.getElementFromSelector(n);o&&this._addAriaAndCollapsedClass([n],this._isShown(o))}}_getFirstLevelChildren(t){const n=_e.find(BB,this._config.parent);return _e.find(t,this._config.parent).filter(o=>!n.includes(o))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const o of t)o.classList.toggle(MB,!n),o.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const o=ya.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof o[t]>"u")throw new TypeError(`No method named "${t}"`);o[t]()}})}}Q.on(document,DB,Nd,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of _e.getMultipleElementsFromSelector(this))ya.getOrCreateInstance(t,{toggle:!1}).toggle()});ar(ya);const iE="dropdown",VB="bs.dropdown",_i=`.${VB}`,Ph=".data-api",GB="Escape",sE="Tab",jB="ArrowUp",aE="ArrowDown",YB=2,KB=`hide${_i}`,zB=`hidden${_i}`,qB=`show${_i}`,XB=`shown${_i}`,Rb=`click${_i}${Ph}`,Pb=`keydown${_i}${Ph}`,JB=`keyup${_i}${Ph}`,Gi="show",ZB="dropup",QB="dropend",ek="dropstart",tk="dropup-center",nk="dropdown-center",ii='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',rk=`${ii}.${Gi}`,ru=".dropdown-menu",ok=".navbar",ik=".navbar-nav",sk=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ak=or()?"top-end":"top-start",lk=or()?"top-start":"top-end",uk=or()?"bottom-end":"bottom-start",ck=or()?"bottom-start":"bottom-end",fk=or()?"left-start":"right-start",dk=or()?"right-start":"left-start",hk="top",mk="bottom",pk={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},gk={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Mr extends yr{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=_e.next(this._element,ru)[0]||_e.prev(this._element,ru)[0]||_e.findOne(ru,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return pk}static get DefaultType(){return gk}static get NAME(){return iE}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Po(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Q.trigger(this._element,qB,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(ik))for(const o of[].concat(...document.body.children))Q.on(o,"mouseover",Eu);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Gi),this._element.classList.add(Gi),Q.trigger(this._element,XB,t)}}hide(){if(Po(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Q.trigger(this._element,KB,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))Q.off(o,"mouseover",Eu);this._popper&&this._popper.destroy(),this._menu.classList.remove(Gi),this._element.classList.remove(Gi),this._element.setAttribute("aria-expanded","false"),ro.removeDataAttribute(this._menu,"popper"),Q.trigger(this._element,zB,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!no(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${iE.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof mb>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:no(this._config.reference)?t=Ro(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Ih(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Gi)}_getPlacement(){const t=this._parent;if(t.classList.contains(QB))return fk;if(t.classList.contains(ek))return dk;if(t.classList.contains(tk))return hk;if(t.classList.contains(nk))return mk;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(ZB)?n?lk:ak:n?ck:uk}_detectNavbar(){return this._element.closest(ok)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(ro.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Rn(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const o=_e.find(sk,this._menu).filter(s=>Es(s));o.length&&Oh(o,n,t===aE,!o.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=Mr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===YB||t.type==="keyup"&&t.key!==sE)return;const n=_e.find(rk);for(const o of n){const s=Mr.getInstance(o);if(!s||s._config.autoClose===!1)continue;const a=t.composedPath(),l=a.includes(s._menu);if(a.includes(s._element)||s._config.autoClose==="inside"&&!l||s._config.autoClose==="outside"&&l||s._menu.contains(t.target)&&(t.type==="keyup"&&t.key===sE||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const c={relatedTarget:s._element};t.type==="click"&&(c.clickEvent=t),s._completeHide(c)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),o=t.key===GB,s=[jB,aE].includes(t.key);if(!s&&!o||n&&!o)return;t.preventDefault();const a=this.matches(ii)?this:_e.prev(this,ii)[0]||_e.next(this,ii)[0]||_e.findOne(ii,t.delegateTarget.parentNode),l=Mr.getOrCreateInstance(a);if(s){t.stopPropagation(),l.show(),l._selectMenuItem(t);return}l._isShown()&&(t.stopPropagation(),l.hide(),a.focus())}}Q.on(document,Pb,ii,Mr.dataApiKeydownHandler);Q.on(document,Pb,ru,Mr.dataApiKeydownHandler);Q.on(document,Rb,Mr.clearMenus);Q.on(document,JB,Mr.clearMenus);Q.on(document,Rb,ii,function(e){e.preventDefault(),Mr.getOrCreateInstance(this).toggle()});ar(Mr);const Nb="backdrop",_k="fade",lE="show",uE=`mousedown.bs.${Nb}`,Ek={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},vk={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Db extends Oa{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Ek}static get DefaultType(){return vk}static get NAME(){return Nb}show(t){if(!this._config.isVisible){Rn(t);return}this._append();const n=this._getElement();this._config.isAnimated&&Ia(n),n.classList.add(lE),this._emulateAnimation(()=>{Rn(t)})}hide(t){if(!this._config.isVisible){Rn(t);return}this._getElement().classList.remove(lE),this._emulateAnimation(()=>{this.dispose(),Rn(t)})}dispose(){this._isAppended&&(Q.off(this._element,uE),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(_k),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Ro(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Q.on(t,uE,()=>{Rn(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){vb(t,this._getElement(),this._config.isAnimated)}}const yk="focustrap",bk="bs.focustrap",yu=`.${bk}`,Ck=`focusin${yu}`,Tk=`keydown.tab${yu}`,wk="Tab",Ak="forward",cE="backward",Sk={autofocus:!0,trapElement:null},xk={autofocus:"boolean",trapElement:"element"};class Mb extends Oa{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Sk}static get DefaultType(){return xk}static get NAME(){return yk}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Q.off(document,yu),Q.on(document,Ck,t=>this._handleFocusin(t)),Q.on(document,Tk,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Q.off(document,yu))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const o=_e.focusableChildren(n);o.length===0?n.focus():this._lastTabNavDirection===cE?o[o.length-1].focus():o[0].focus()}_handleKeydown(t){t.key===wk&&(this._lastTabNavDirection=t.shiftKey?cE:Ak)}}const fE=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",dE=".sticky-top",Ul="padding-right",hE="margin-right";class Dd{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ul,n=>n+t),this._setElementAttributes(fE,Ul,n=>n+t),this._setElementAttributes(dE,hE,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ul),this._resetElementAttributes(fE,Ul),this._resetElementAttributes(dE,hE)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,o){const s=this.getWidth(),a=l=>{if(l!==this._element&&window.innerWidth>l.clientWidth+s)return;this._saveInitialAttribute(l,n);const c=window.getComputedStyle(l).getPropertyValue(n);l.style.setProperty(n,`${o(Number.parseFloat(c))}px`)};this._applyManipulationCallback(t,a)}_saveInitialAttribute(t,n){const o=t.style.getPropertyValue(n);o&&ro.setDataAttribute(t,n,o)}_resetElementAttributes(t,n){const o=s=>{const a=ro.getDataAttribute(s,n);if(a===null){s.style.removeProperty(n);return}ro.removeDataAttribute(s,n),s.style.setProperty(n,a)};this._applyManipulationCallback(t,o)}_applyManipulationCallback(t,n){if(no(t)){n(t);return}for(const o of _e.find(t,this._element))n(o)}}const Lk="modal",Ik="bs.modal",ir=`.${Ik}`,Ok=".data-api",Rk="Escape",Pk=`hide${ir}`,Nk=`hidePrevented${ir}`,Bb=`hidden${ir}`,kb=`show${ir}`,Dk=`shown${ir}`,Mk=`resize${ir}`,Bk=`click.dismiss${ir}`,kk=`mousedown.dismiss${ir}`,Fk=`keydown.dismiss${ir}`,$k=`click${ir}${Ok}`,mE="modal-open",Wk="fade",pE="show",$f="modal-static",Hk=".modal.show",Uk=".modal-dialog",Vk=".modal-body",Gk='[data-bs-toggle="modal"]',jk={backdrop:!0,focus:!0,keyboard:!0},Yk={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class us extends yr{constructor(t,n){super(t,n),this._dialog=_e.findOne(Uk,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Dd,this._addEventListeners()}static get Default(){return jk}static get DefaultType(){return Yk}static get NAME(){return Lk}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Q.trigger(this._element,kb,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(mE),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Q.trigger(this._element,Pk).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(pE),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Q.off(window,ir),Q.off(this._dialog,ir),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Db({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Mb({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=_e.findOne(Vk,this._dialog);n&&(n.scrollTop=0),Ia(this._element),this._element.classList.add(pE);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Q.trigger(this._element,Dk,{relatedTarget:t})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){Q.on(this._element,Fk,t=>{if(t.key===Rk){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Q.on(window,Mk,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Q.on(this._element,kk,t=>{Q.one(this._element,Bk,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(mE),this._resetAdjustments(),this._scrollBar.reset(),Q.trigger(this._element,Bb)})}_isAnimated(){return this._element.classList.contains(Wk)}_triggerBackdropTransition(){if(Q.trigger(this._element,Nk).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,o=this._element.style.overflowY;o==="hidden"||this._element.classList.contains($f)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add($f),this._queueCallback(()=>{this._element.classList.remove($f),this._queueCallback(()=>{this._element.style.overflowY=o},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),o=n>0;if(o&&!t){const s=or()?"paddingLeft":"paddingRight";this._element.style[s]=`${n}px`}if(!o&&t){const s=or()?"paddingRight":"paddingLeft";this._element.style[s]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const o=us.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof o[t]>"u")throw new TypeError(`No method named "${t}"`);o[t](n)}})}}Q.on(document,$k,Gk,function(e){const t=_e.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Q.one(t,kb,s=>{s.defaultPrevented||Q.one(t,Bb,()=>{Es(this)&&this.focus()})});const n=_e.findOne(Hk);n&&us.getInstance(n).hide(),us.getOrCreateInstance(t).toggle(this)});zu(us);ar(us);const Kk="offcanvas",zk="bs.offcanvas",co=`.${zk}`,Fb=".data-api",qk=`load${co}${Fb}`,Xk="Escape",gE="show",_E="showing",EE="hiding",Jk="offcanvas-backdrop",$b=".offcanvas.show",Zk=`show${co}`,Qk=`shown${co}`,eF=`hide${co}`,vE=`hidePrevented${co}`,Wb=`hidden${co}`,tF=`resize${co}`,nF=`click${co}${Fb}`,rF=`keydown.dismiss${co}`,oF='[data-bs-toggle="offcanvas"]',iF={backdrop:!0,keyboard:!0,scroll:!1},sF={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class No extends yr{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return iF}static get DefaultType(){return sF}static get NAME(){return Kk}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Q.trigger(this._element,Zk,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Dd().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_E);const o=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(gE),this._element.classList.remove(_E),Q.trigger(this._element,Qk,{relatedTarget:t})};this._queueCallback(o,this._element,!0)}hide(){if(!this._isShown||Q.trigger(this._element,eF).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(EE),this._backdrop.hide();const n=()=>{this._element.classList.remove(gE,EE),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Dd().reset(),Q.trigger(this._element,Wb)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Q.trigger(this._element,vE);return}this.hide()},n=!!this._config.backdrop;return new Db({className:Jk,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Mb({trapElement:this._element})}_addEventListeners(){Q.on(this._element,rF,t=>{if(t.key===Xk){if(this._config.keyboard){this.hide();return}Q.trigger(this._element,vE)}})}static jQueryInterface(t){return this.each(function(){const n=No.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Q.on(document,nF,oF,function(e){const t=_e.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Po(this))return;Q.one(t,Wb,()=>{Es(this)&&this.focus()});const n=_e.findOne($b);n&&n!==t&&No.getInstance(n).hide(),No.getOrCreateInstance(t).toggle(this)});Q.on(window,qk,()=>{for(const e of _e.find($b))No.getOrCreateInstance(e).show()});Q.on(window,tF,()=>{for(const e of _e.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&No.getOrCreateInstance(e).hide()});zu(No);ar(No);const aF=/^aria-[\w-]*$/i,Hb={"*":["class","dir","id","lang","role",aF],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},lF=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),uF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,cF=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?lF.has(n)?!!uF.test(e.nodeValue):!0:t.filter(o=>o instanceof RegExp).some(o=>o.test(n))};function fF(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const s=new window.DOMParser().parseFromString(e,"text/html"),a=[].concat(...s.body.querySelectorAll("*"));for(const l of a){const c=l.nodeName.toLowerCase();if(!Object.keys(t).includes(c)){l.remove();continue}const d=[].concat(...l.attributes),m=[].concat(t["*"]||[],t[c]||[]);for(const p of d)cF(p,m)||l.removeAttribute(p.nodeName)}return s.body.innerHTML}const dF="TemplateFactory",hF={allowList:Hb,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},mF={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},pF={entry:"(string|element|function|null)",selector:"(string|element)"};class gF extends Oa{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return hF}static get DefaultType(){return mF}static get NAME(){return dF}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[s,a]of Object.entries(this._config.content))this._setContent(t,a,s);const n=t.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&n.classList.add(...o.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,o]of Object.entries(t))super._typeCheckConfig({selector:n,entry:o},pF)}_setContent(t,n,o){const s=_e.findOne(o,t);if(s){if(n=this._resolvePossibleFunction(n),!n){s.remove();return}if(no(n)){this._putElementInTemplate(Ro(n),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(n);return}s.textContent=n}}_maybeSanitize(t){return this._config.sanitize?fF(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Rn(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const _F="tooltip",EF=new Set(["sanitize","allowList","sanitizeFn"]),Wf="fade",vF="modal",Vl="show",yF=".tooltip-inner",yE=`.${vF}`,bE="hide.bs.modal",Ks="hover",Hf="focus",bF="click",CF="manual",TF="hide",wF="hidden",AF="show",SF="shown",xF="inserted",LF="click",IF="focusin",OF="focusout",RF="mouseenter",PF="mouseleave",NF={AUTO:"auto",TOP:"top",RIGHT:or()?"left":"right",BOTTOM:"bottom",LEFT:or()?"right":"left"},DF={allowList:Hb,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},MF={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Nr extends yr{constructor(t,n){if(typeof mb>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return DF}static get DefaultType(){return MF}static get NAME(){return _F}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),Q.off(this._element.closest(yE),bE,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=Q.trigger(this._element,this.constructor.eventName(AF)),o=(_b(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!o)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(s),Q.trigger(this._element,this.constructor.eventName(xF))),this._popper=this._createPopper(s),s.classList.add(Vl),"ontouchstart"in document.documentElement)for(const c of[].concat(...document.body.children))Q.on(c,"mouseover",Eu);const l=()=>{Q.trigger(this._element,this.constructor.eventName(SF)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(l,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Q.trigger(this._element,this.constructor.eventName(TF)).defaultPrevented)return;if(this._getTipElement().classList.remove(Vl),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))Q.off(s,"mouseover",Eu);this._activeTrigger[bF]=!1,this._activeTrigger[Hf]=!1,this._activeTrigger[Ks]=!1,this._isHovered=null;const o=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Q.trigger(this._element,this.constructor.eventName(wF)))};this._queueCallback(o,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Wf,Vl),n.classList.add(`bs-${this.constructor.NAME}-auto`);const o=bM(this.constructor.NAME).toString();return n.setAttribute("id",o),this._isAnimated()&&n.classList.add(Wf),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new gF({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[yF]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Wf)}_isShown(){return this.tip&&this.tip.classList.contains(Vl)}_createPopper(t){const n=Rn(this._config.placement,[this,t,this._element]),o=NF[n.toUpperCase()];return Ih(this._element,t,this._getPopperConfig(o))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return Rn(t,[this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:o=>{this._getTipElement().setAttribute("data-popper-placement",o.state.placement)}}]};return{...n,...Rn(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")Q.on(this._element,this.constructor.eventName(LF),this._config.selector,o=>{this._initializeOnDelegatedTarget(o).toggle()});else if(n!==CF){const o=n===Ks?this.constructor.eventName(RF):this.constructor.eventName(IF),s=n===Ks?this.constructor.eventName(PF):this.constructor.eventName(OF);Q.on(this._element,o,this._config.selector,a=>{const l=this._initializeOnDelegatedTarget(a);l._activeTrigger[a.type==="focusin"?Hf:Ks]=!0,l._enter()}),Q.on(this._element,s,this._config.selector,a=>{const l=this._initializeOnDelegatedTarget(a);l._activeTrigger[a.type==="focusout"?Hf:Ks]=l._element.contains(a.relatedTarget),l._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Q.on(this._element.closest(yE),bE,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=ro.getDataAttributes(this._element);for(const o of Object.keys(n))EF.has(o)&&delete n[o];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Ro(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,o]of Object.entries(this._config))this.constructor.Default[n]!==o&&(t[n]=o);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=Nr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}ar(Nr);const BF="popover",kF=".popover-header",FF=".popover-body",$F={...Nr.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},WF={...Nr.DefaultType,content:"(null|string|element|function)"};class Nh extends Nr{static get Default(){return $F}static get DefaultType(){return WF}static get NAME(){return BF}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[kF]:this._getTitle(),[FF]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Nh.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}ar(Nh);const HF="scrollspy",UF="bs.scrollspy",Dh=`.${UF}`,VF=".data-api",GF=`activate${Dh}`,CE=`click${Dh}`,jF=`load${Dh}${VF}`,YF="dropdown-item",$i="active",KF='[data-bs-spy="scroll"]',Uf="[href]",zF=".nav, .list-group",TE=".nav-link",qF=".nav-item",XF=".list-group-item",JF=`${TE}, ${qF} > ${TE}, ${XF}`,ZF=".dropdown",QF=".dropdown-toggle",e$={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},t$={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ju extends yr{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return e$}static get DefaultType(){return t$}static get NAME(){return HF}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Ro(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Q.off(this._config.target,CE),Q.on(this._config.target,CE,Uf,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const o=this._rootElement||window,s=n.offsetTop-this._element.offsetTop;if(o.scrollTo){o.scrollTo({top:s,behavior:"smooth"});return}o.scrollTop=s}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=l=>this._targetLinks.get(`#${l.target.id}`),o=l=>{this._previousScrollData.visibleEntryTop=l.target.offsetTop,this._process(n(l))},s=(this._rootElement||document.documentElement).scrollTop,a=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const l of t){if(!l.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(l));continue}const c=l.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&c){if(o(l),!s)return;continue}!a&&!c&&o(l)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=_e.find(Uf,this._config.target);for(const n of t){if(!n.hash||Po(n))continue;const o=_e.findOne(decodeURI(n.hash),this._element);Es(o)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,o))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add($i),this._activateParents(t),Q.trigger(this._element,GF,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(YF)){_e.findOne(QF,t.closest(ZF)).classList.add($i);return}for(const n of _e.parents(t,zF))for(const o of _e.prev(n,JF))o.classList.add($i)}_clearActiveClass(t){t.classList.remove($i);const n=_e.find(`${Uf}.${$i}`,t);for(const o of n)o.classList.remove($i)}static jQueryInterface(t){return this.each(function(){const n=Ju.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Q.on(window,jF,()=>{for(const e of _e.find(KF))Ju.getOrCreateInstance(e)});ar(Ju);const n$="tab",r$="bs.tab",Ei=`.${r$}`,o$=`hide${Ei}`,i$=`hidden${Ei}`,s$=`show${Ei}`,a$=`shown${Ei}`,l$=`click${Ei}`,u$=`keydown${Ei}`,c$=`load${Ei}`,f$="ArrowLeft",wE="ArrowRight",d$="ArrowUp",AE="ArrowDown",Vf="Home",SE="End",si="active",xE="fade",Gf="show",h$="dropdown",Ub=".dropdown-toggle",m$=".dropdown-menu",jf=`:not(${Ub})`,p$='.list-group, .nav, [role="tablist"]',g$=".nav-item, .list-group-item",_$=`.nav-link${jf}, .list-group-item${jf}, [role="tab"]${jf}`,Vb='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yf=`${_$}, ${Vb}`,E$=`.${si}[data-bs-toggle="tab"], .${si}[data-bs-toggle="pill"], .${si}[data-bs-toggle="list"]`;class cs extends yr{constructor(t){super(t),this._parent=this._element.closest(p$),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Q.on(this._element,u$,n=>this._keydown(n)))}static get NAME(){return n$}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),o=n?Q.trigger(n,o$,{relatedTarget:t}):null;Q.trigger(t,s$,{relatedTarget:n}).defaultPrevented||o&&o.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(si),this._activate(_e.getElementFromSelector(t));const o=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Gf);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Q.trigger(t,a$,{relatedTarget:n})};this._queueCallback(o,t,t.classList.contains(xE))}_deactivate(t,n){if(!t)return;t.classList.remove(si),t.blur(),this._deactivate(_e.getElementFromSelector(t));const o=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Gf);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Q.trigger(t,i$,{relatedTarget:n})};this._queueCallback(o,t,t.classList.contains(xE))}_keydown(t){if(![f$,wE,d$,AE,Vf,SE].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(s=>!Po(s));let o;if([Vf,SE].includes(t.key))o=n[t.key===Vf?0:n.length-1];else{const s=[wE,AE].includes(t.key);o=Oh(n,t.target,s,!0)}o&&(o.focus({preventScroll:!0}),cs.getOrCreateInstance(o).show())}_getChildren(){return _e.find(Yf,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const o of n)this._setInitialAttributesOnChild(o)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),o=this._getOuterElement(t);t.setAttribute("aria-selected",n),o!==t&&this._setAttributeIfNotExists(o,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=_e.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const o=this._getOuterElement(t);if(!o.classList.contains(h$))return;const s=(a,l)=>{const c=_e.findOne(a,o);c&&c.classList.toggle(l,n)};s(Ub,si),s(m$,Gf),o.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,o){t.hasAttribute(n)||t.setAttribute(n,o)}_elemIsActive(t){return t.classList.contains(si)}_getInnerElement(t){return t.matches(Yf)?t:_e.findOne(Yf,t)}_getOuterElement(t){return t.closest(g$)||t}static jQueryInterface(t){return this.each(function(){const n=cs.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Q.on(document,l$,Vb,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Po(this)&&cs.getOrCreateInstance(this).show()});Q.on(window,c$,()=>{for(const e of _e.find(E$))cs.getOrCreateInstance(e)});ar(cs);const v$="toast",y$="bs.toast",Ho=`.${y$}`,b$=`mouseover${Ho}`,C$=`mouseout${Ho}`,T$=`focusin${Ho}`,w$=`focusout${Ho}`,A$=`hide${Ho}`,S$=`hidden${Ho}`,x$=`show${Ho}`,L$=`shown${Ho}`,I$="fade",LE="hide",Gl="show",jl="showing",O$={animation:"boolean",autohide:"boolean",delay:"number"},R$={animation:!0,autohide:!0,delay:5e3};class Zu extends yr{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return R$}static get DefaultType(){return O$}static get NAME(){return v$}show(){if(Q.trigger(this._element,x$).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(I$);const n=()=>{this._element.classList.remove(jl),Q.trigger(this._element,L$),this._maybeScheduleHide()};this._element.classList.remove(LE),Ia(this._element),this._element.classList.add(Gl,jl),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||Q.trigger(this._element,A$).defaultPrevented)return;const n=()=>{this._element.classList.add(LE),this._element.classList.remove(jl,Gl),Q.trigger(this._element,S$)};this._element.classList.add(jl),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Gl),super.dispose()}isShown(){return this._element.classList.contains(Gl)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const o=t.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){Q.on(this._element,b$,t=>this._onInteraction(t,!0)),Q.on(this._element,C$,t=>this._onInteraction(t,!1)),Q.on(this._element,T$,t=>this._onInteraction(t,!0)),Q.on(this._element,w$,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Zu.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}zu(Zu);ar(Zu);const IE={trigger:"hover",placement:"top",delay:{show:500,hide:0}},Gb={mounted(e,t){return new Nr(e,{...IE,...t.value})},updated(e,t){const n=Nr.getInstance(e);return n!==null&&n.dispose(),new Nr(e,{...IE,...t.value})},unmounted(e){const t=Nr.getInstance(e);t!==null&&t.dispose()}},P$=e=>({Match:t=>{switch(e.Discriminator){case"CardBorderRadiusTopLeft":return t.whenCardBorderRadiusTopLeft();case"CardBorderRadiusTopRight":return t.whenCardBorderRadiusTopRight();case"CardBorderRadiusBottomLeft":return t.whenCardBorderRadiusBottomLeft();case"CardBorderRadiusBottomRight":return t.whenCardBorderRadiusBottomRight();case"ButtonBorderRadiusTopLeft":return t.whenButtonBorderRadiusTopLeft();case"ButtonBorderRadiusTopRight":return t.whenButtonBorderRadiusTopRight();case"ButtonBorderRadiusBottomLeft":return t.whenButtonBorderRadiusBottomLeft();case"ButtonBorderRadiusBottomRight":return t.whenButtonBorderRadiusBottomRight();case"BannerBorderRadiusTopLeft":return t.whenBannerBorderRadiusTopLeft();case"BannerBorderRadiusTopRight":return t.whenBannerBorderRadiusTopRight();case"BannerBorderRadiusBottomLeft":return t.whenBannerBorderRadiusBottomLeft();case"BannerBorderRadiusBottomRight":return t.whenBannerBorderRadiusBottomRight();case"BodyBorderRadiusTopLeft":return t.whenBodyBorderRadiusTopLeft();case"BodyBorderRadiusTopRight":return t.whenBodyBorderRadiusTopRight();case"BodyBorderRadiusBottomLeft":return t.whenBodyBorderRadiusBottomLeft();case"BodyBorderRadiusBottomRight":return t.whenBodyBorderRadiusBottomRight();case"CustomBorderRadius":return t.whenCustomBorderRadius(e.CustomValue)}}}),N$=e=>P$(e.borderRadiusVariant).Match({whenCardBorderRadiusTopLeft:()=>e.cardBorderRadius.TopLeft,whenCardBorderRadiusTopRight:()=>e.cardBorderRadius.TopRight,whenCardBorderRadiusBottomLeft:()=>e.cardBorderRadius.BottomLeft,whenCardBorderRadiusBottomRight:()=>e.cardBorderRadius.BottomRight,whenButtonBorderRadiusTopLeft:()=>e.buttonBorderRadius.TopLeft,whenButtonBorderRadiusTopRight:()=>e.buttonBorderRadius.TopRight,whenButtonBorderRadiusBottomLeft:()=>e.buttonBorderRadius.BottomLeft,whenButtonBorderRadiusBottomRight:()=>e.buttonBorderRadius.BottomRight,whenBannerBorderRadiusTopLeft:()=>e.bannerBorderRadius.TopLeft,whenBannerBorderRadiusTopRight:()=>e.bannerBorderRadius.TopRight,whenBannerBorderRadiusBottomLeft:()=>e.bannerBorderRadius.BottomLeft,whenBannerBorderRadiusBottomRight:()=>e.bannerBorderRadius.BottomRight,whenBodyBorderRadiusTopLeft:()=>e.bodyBorderRadius.TopLeft,whenBodyBorderRadiusTopRight:()=>e.bodyBorderRadius.TopRight,whenBodyBorderRadiusBottomLeft:()=>e.bodyBorderRadius.BottomLeft,whenBodyBorderRadiusBottomRight:()=>e.bodyBorderRadius.BottomRight,whenCustomBorderRadius:t=>t}),Do=e=>{const t=n=>N$({borderRadiusVariant:n,cardBorderRadius:e.borderRadiusCard,buttonBorderRadius:e.borderButtonRadius,bannerBorderRadius:e.borderBannerRadius,bodyBorderRadius:e.bodyBorderRadius})+"px";return{borderTopLeftRadius:t(e.borderRadius.TopLeft),borderTopRightRadius:t(e.borderRadius.TopRight),borderBottomLeftRadius:t(e.borderRadius.BottomLeft),borderBottomRightRadius:t(e.borderRadius.BottomRight)}},en=e=>D$(e.paddingExpression).Match({whenThemeValue:t=>M$(t).Match({whenThemePaddingsSmall:()=>e.themeComponentPaddings.Small,whenThemePaddingsMedium:()=>e.themeComponentPaddings.Medium,whenThemePaddingsLarge:()=>e.themeComponentPaddings.Large,whenThemePaddingsHuge:()=>e.themeComponentPaddings.Huge,whenBodyPaddingsTop:()=>e.themeBodyPaddings.Top,whenBodyPaddingsRight:()=>e.themeBodyPaddings.Right,whenBodyPaddingsBottom:()=>e.themeBodyPaddings.Bottom,whenBodyPaddingsLeft:()=>e.themeBodyPaddings.Left}),whenMinusExpression:t=>en({paddingExpression:t.Left,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})-en({paddingExpression:t.Right,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings}),whenDivideExpression:t=>en({paddingExpression:t.Left,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})/en({paddingExpression:t.Right,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings}),whenValue:t=>t}),D$=e=>({Match:t=>{if(e.ThemePadding!==void 0)return t.whenThemeValue(e.ThemePadding);if(e.MinusExpression!==void 0)return t.whenMinusExpression(e.MinusExpression);if(e.DivideExpression!==void 0)return t.whenDivideExpression(e.DivideExpression);if(e.CustomValue!==void 0)return t.whenValue(e.CustomValue);throw Error("")}}),M$=e=>({Match:t=>{switch(e){case"ThemePaddingsSmall":return t.whenThemePaddingsSmall();case"ThemePaddingsMedium":return t.whenThemePaddingsMedium();case"ThemePaddingsLarge":return t.whenThemePaddingsLarge();case"ThemePaddingsHuge":return t.whenThemePaddingsHuge();case"BodyPaddingsTop":return t.whenBodyPaddingsTop();case"BodyPaddingsRight":return t.whenBodyPaddingsRight();case"BodyPaddingsBottom":return t.whenBodyPaddingsBottom();case"BodyPaddingsLeft":return t.whenBodyPaddingsLeft()}throw Error("")}}),OE=e=>({paddingTop:en({paddingExpression:e.paddings.Top,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})+"px",paddingBottom:en({paddingExpression:e.paddings.Bottom,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})+"px",paddingLeft:e.fullWidth?0:e.themeBodyPaddings.Left+"px",paddingRight:e.fullWidth?0:e.themeBodyPaddings.Right+"px"}),jb=e=>e.directionRtl?{"padding-right":e.paddingSize*(e.index%e.numberColumnsInLine/e.numberColumnsInLine)+"px","padding-left":e.paddingSize*((e.numberColumnsInLine-1-e.index%e.numberColumnsInLine)/e.numberColumnsInLine)+"px"}:{"padding-left":e.paddingSize*(e.index%e.numberColumnsInLine/e.numberColumnsInLine)+"px","padding-right":e.paddingSize*((e.numberColumnsInLine-1-e.index%e.numberColumnsInLine)/e.numberColumnsInLine)+"px"},ys=e=>{throw new Error("Didn't expect to get here"+e)},B$=e=>({Match:t=>{switch(e.Discriminator){case"EmailBackgroundColor":return t.whenEmailBackgroundColor();case"BodyColor":return t.whenBodyColor();case"TitleColor":return t.whenTitleColor();case"HeadingColor":return t.whenHeadingColor();case"SubHeadingColor":return t.whenSubHeading();case"LargeTextColor":return t.whenLargeTextColor();case"NormalTextColor":return t.whenNormalTextColor();case"DescriptionTextColor":return t.whenDescriptionTextColor();case"PrimaryTextColor":return t.whenPrimaryTextColor();case"SecondaryTextColor":return t.whenSecondaryTextColor();case"ButtonTextColor":return t.whenButtonTextColor();case"LinkColor":return t.whenLinkColor();case"PrimaryColor":return t.whenPrimaryColor();case"SecondaryColor":return t.whenSecondaryColor();case"CardBackgroundColor":return t.whenCardBackgroundColor();case"Custom":return t.whenCustom(e.CustomValue);default:return ys(e.Discriminator)}}}),ou=e=>B$(e.borderColor).Match({whenEmailBackgroundColor:()=>e.themeColors.EmailBackgroundColor,whenBodyColor:()=>e.themeColors.BodyColor,whenTitleColor:()=>e.themeColors.TitleColor,whenHeadingColor:()=>e.themeColors.HeadingColor,whenSubHeading:()=>e.themeColors.SubHeadingColor,whenLargeTextColor:()=>e.themeColors.LargeTextColor,whenNormalTextColor:()=>e.themeColors.NormalTextColor,whenDescriptionTextColor:()=>e.themeColors.DescriptionTextColor,whenPrimaryTextColor:()=>e.themeColors.PrimaryTextColor,whenSecondaryTextColor:()=>e.themeColors.SecondaryTextColor,whenLinkColor:()=>e.themeColors.LinkColor,whenPrimaryColor:()=>e.themeColors.PrimaryColor,whenSecondaryColor:()=>e.themeColors.SecondaryColor,whenCardBackgroundColor:()=>e.themeColors.CardBackgroundColor,whenButtonTextColor:()=>e.themeColors.ButtonTextColor,whenCustom:t=>t}),mi=e=>({borderTop:Yl(e.border.Top,e.themeColors),borderRight:Yl(e.border.Right,e.themeColors),borderBottom:Yl(e.border.Bottom,e.themeColors),borderLeft:Yl(e.border.Left,e.themeColors)}),k$=e=>({Match:t=>{switch(e.Style){case"None":return t.whenNone();case"Solid":return t.whenSolid();case"Dashed":return t.whenDashed();case"Dotted":return t.whenDotted()}}}),Yl=(e,t)=>k$(e).Match({whenNone:()=>"",whenSolid:()=>`
|
|
44
|
+
${e.Width}px
|
|
45
|
+
solid
|
|
46
|
+
${ou({borderColor:e.Color,themeColors:t})}
|
|
47
|
+
`,whenDashed:()=>`
|
|
48
|
+
${e.Width}px
|
|
49
|
+
dashed
|
|
50
|
+
${ou({borderColor:e.Color,themeColors:t})}
|
|
51
|
+
`,whenDotted:()=>`
|
|
52
|
+
${e.Width}px
|
|
53
|
+
dotted
|
|
54
|
+
${ou({borderColor:e.Color,themeColors:t})}
|
|
55
|
+
`}),F$=e=>({Match:t=>{switch(e){case"Collapse":return t.whenCollapse();case"Separate":return t.whenSeparate()}}}),Yb=e=>e.borderCollapse!==void 0?{borderCollapse:$$(e.borderCollapse)}:{borderCollapse:"collapse"},$$=e=>F$(e).Match({whenCollapse:()=>"collapse",whenSeparate:()=>"separate"}),W$=e=>({Match:t=>{switch(e.Discriminator){case"None":return t.whenNone();case"EmailBackgroundColor":return t.whenEmailBackgroundColor();case"BodyColor":return t.whenBodyColor();case"TitleColor":return t.whenTitleColor();case"HeadingColor":return t.whenHeadingColor();case"SubHeadingColor":return t.whenSubHeading();case"LargeTextColor":return t.whenLargeTextColor();case"NormalTextColor":return t.whenNormalTextColor();case"DescriptionTextColor":return t.whenDescriptionTextColor();case"PrimaryTextColor":return t.whenPrimaryTextColor();case"SecondaryTextColor":return t.whenSecondaryTextColor();case"ButtonTextColor":return t.whenButtonTextColor();case"LinkColor":return t.whenLinkColor();case"PrimaryColor":return t.whenPrimaryColor();case"SecondaryColor":return t.whenSecondaryColor();case"CardBackgroundColor":return t.whenCardBackgroundColor();case"Custom":return t.whenCustom(e.CustomValue);default:return ys(e.Discriminator)}}}),ao=e=>W$(e.color).Match({whenNone:()=>null,whenEmailBackgroundColor:()=>e.themeColors.EmailBackgroundColor,whenBodyColor:()=>e.themeColors.BodyColor,whenTitleColor:()=>e.themeColors.TitleColor,whenHeadingColor:()=>e.themeColors.HeadingColor,whenSubHeading:()=>e.themeColors.SubHeadingColor,whenLargeTextColor:()=>e.themeColors.LargeTextColor,whenNormalTextColor:()=>e.themeColors.NormalTextColor,whenDescriptionTextColor:()=>e.themeColors.DescriptionTextColor,whenPrimaryTextColor:()=>e.themeColors.PrimaryTextColor,whenSecondaryTextColor:()=>e.themeColors.SecondaryTextColor,whenLinkColor:()=>e.themeColors.LinkColor,whenPrimaryColor:()=>e.themeColors.PrimaryColor,whenSecondaryColor:()=>e.themeColors.SecondaryColor,whenCardBackgroundColor:()=>e.themeColors.CardBackgroundColor,whenButtonTextColor:()=>e.themeColors.ButtonTextColor,whenCustom:t=>t}),Kb=e=>({Match:t=>{switch(e){case"Left":return t.whenLeft();case"Center":return t.whenCenter();case"Right":return t.whenRight();default:return ys(e)}}}),zb=e=>e.containerAlign?Kb(e.containerAlign).Match({whenLeft:()=>({textAlign:"left"}),whenCenter:()=>({textAlign:"center"}),whenRight:()=>({textAlign:"right"})}):{},qb=e=>e.containerAlign?Kb(e.containerAlign).Match({whenLeft:()=>"left",whenCenter:()=>"center",whenRight:()=>"right"}):"center";var bu={exports:{}};/**
|
|
56
|
+
* @license
|
|
57
|
+
* Lodash <https://lodash.com/>
|
|
58
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
59
|
+
* Released under MIT license <https://lodash.com/license>
|
|
60
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
61
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
62
|
+
*/bu.exports;(function(e,t){(function(){var n,o="4.17.21",s=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",m=500,p="__lodash_placeholder__",E=1,C=2,w=4,D=1,x=2,F=1,A=2,B=4,$=8,S=16,H=32,G=64,U=128,le=256,ce=512,de=30,Pe="...",ke=800,We=16,Tt=1,Bt=2,Le=3,ge=1/0,Te=9007199254740991,qe=17976931348623157e292,Fe=0/0,Je=4294967295,Ne=Je-1,Gt=Je>>>1,He=[["ary",U],["bind",F],["bindKey",A],["curry",$],["curryRight",S],["flip",ce],["partial",H],["partialRight",G],["rearg",le]],it="[object Arguments]",pt="[object Array]",kt="[object AsyncFunction]",nt="[object Boolean]",wt="[object Date]",St="[object DOMException]",lt="[object Error]",Ft="[object Function]",g="[object GeneratorFunction]",h="[object Map]",b="[object Number]",N="[object Null]",M="[object Object]",V="[object Promise]",ee="[object Proxy]",q="[object RegExp]",J="[object Set]",z="[object String]",ne="[object Symbol]",I="[object Undefined]",k="[object WeakMap]",re="[object WeakSet]",ue="[object ArrayBuffer]",we="[object DataView]",Me="[object Float32Array]",ut="[object Float64Array]",ct="[object Int8Array]",It="[object Int16Array]",ft="[object Int32Array]",rn="[object Uint8Array]",br="[object Uint8ClampedArray]",Ot="[object Uint16Array]",on="[object Uint32Array]",Cr=/\b__p \+= '';/g,ec=/\b(__p \+=) '' \+/g,tc=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rt=/&(?:amp|lt|gt|quot|#39);/g,Fr=/[&<>"']/g,nc=RegExp(Rt.source),Da=RegExp(Fr.source),Cs=/<%-([\s\S]+?)%>/g,Ma=/<%([\s\S]+?)%>/g,Ts=/<%=([\s\S]+?)%>/g,rc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ba=/^\w*$/,ka=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ws=/[\\^$.*+?()[\]{}|]/g,lr=RegExp(ws.source),Uo=/^\s+/,Fa=/\s/,$a=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oc=/\{\n\/\* \[wrapped with (.+)\] \*/,Wa=/,? & /,ur=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ha=/[()=,{}\[\]\/\s]/,Ua=/\\(\\)?/g,Va=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,As=/\w*$/,ic=/^[-+]0x[0-9a-f]+$/i,pe=/^0b[01]+$/i,O=/^\[object .+?Constructor\]$/,te=/^0o[0-7]+$/i,he=/^(?:0|[1-9]\d*)$/,st=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pt=/($^)/,jt=/['\n\r\u2028\u2029\\]/g,$t="\\ud800-\\udfff",$r="\\u0300-\\u036f",Vo="\\ufe20-\\ufe2f",sn="\\u20d0-\\u20ff",Ss=$r+Vo+sn,xs="\\u2700-\\u27bf",$h="a-z\\xdf-\\xf6\\xf8-\\xff",mC="\\xac\\xb1\\xd7\\xf7",pC="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",gC="\\u2000-\\u206f",_C=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Wh="A-Z\\xc0-\\xd6\\xd8-\\xde",Hh="\\ufe0e\\ufe0f",Uh=mC+pC+gC+_C,sc="['’]",EC="["+$t+"]",Vh="["+Uh+"]",Ga="["+Ss+"]",Gh="\\d+",vC="["+xs+"]",jh="["+$h+"]",Yh="[^"+$t+Uh+Gh+xs+$h+Wh+"]",ac="\\ud83c[\\udffb-\\udfff]",yC="(?:"+Ga+"|"+ac+")",Kh="[^"+$t+"]",lc="(?:\\ud83c[\\udde6-\\uddff]){2}",uc="[\\ud800-\\udbff][\\udc00-\\udfff]",vi="["+Wh+"]",zh="\\u200d",qh="(?:"+jh+"|"+Yh+")",bC="(?:"+vi+"|"+Yh+")",Xh="(?:"+sc+"(?:d|ll|m|re|s|t|ve))?",Jh="(?:"+sc+"(?:D|LL|M|RE|S|T|VE))?",Zh=yC+"?",Qh="["+Hh+"]?",CC="(?:"+zh+"(?:"+[Kh,lc,uc].join("|")+")"+Qh+Zh+")*",TC="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wC="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",em=Qh+Zh+CC,AC="(?:"+[vC,lc,uc].join("|")+")"+em,SC="(?:"+[Kh+Ga+"?",Ga,lc,uc,EC].join("|")+")",xC=RegExp(sc,"g"),LC=RegExp(Ga,"g"),cc=RegExp(ac+"(?="+ac+")|"+SC+em,"g"),IC=RegExp([vi+"?"+jh+"+"+Xh+"(?="+[Vh,vi,"$"].join("|")+")",bC+"+"+Jh+"(?="+[Vh,vi+qh,"$"].join("|")+")",vi+"?"+qh+"+"+Xh,vi+"+"+Jh,wC,TC,Gh,AC].join("|"),"g"),OC=RegExp("["+zh+$t+Ss+Hh+"]"),RC=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,PC=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],NC=-1,vt={};vt[Me]=vt[ut]=vt[ct]=vt[It]=vt[ft]=vt[rn]=vt[br]=vt[Ot]=vt[on]=!0,vt[it]=vt[pt]=vt[ue]=vt[nt]=vt[we]=vt[wt]=vt[lt]=vt[Ft]=vt[h]=vt[b]=vt[M]=vt[q]=vt[J]=vt[z]=vt[k]=!1;var gt={};gt[it]=gt[pt]=gt[ue]=gt[we]=gt[nt]=gt[wt]=gt[Me]=gt[ut]=gt[ct]=gt[It]=gt[ft]=gt[h]=gt[b]=gt[M]=gt[q]=gt[J]=gt[z]=gt[ne]=gt[rn]=gt[br]=gt[Ot]=gt[on]=!0,gt[lt]=gt[Ft]=gt[k]=!1;var DC={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},MC={"&":"&","<":"<",">":">",'"':""","'":"'"},BC={"&":"&","<":"<",">":">",""":'"',"'":"'"},kC={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},FC=parseFloat,$C=parseInt,tm=typeof to=="object"&&to&&to.Object===Object&&to,WC=typeof self=="object"&&self&&self.Object===Object&&self,Xt=tm||WC||Function("return this")(),fc=t&&!t.nodeType&&t,Go=fc&&!0&&e&&!e.nodeType&&e,nm=Go&&Go.exports===fc,dc=nm&&tm.process,jn=function(){try{var R=Go&&Go.require&&Go.require("util").types;return R||dc&&dc.binding&&dc.binding("util")}catch{}}(),rm=jn&&jn.isArrayBuffer,om=jn&&jn.isDate,im=jn&&jn.isMap,sm=jn&&jn.isRegExp,am=jn&&jn.isSet,lm=jn&&jn.isTypedArray;function Pn(R,j,W){switch(W.length){case 0:return R.call(j);case 1:return R.call(j,W[0]);case 2:return R.call(j,W[0],W[1]);case 3:return R.call(j,W[0],W[1],W[2])}return R.apply(j,W)}function HC(R,j,W,fe){for(var Ie=-1,Ze=R==null?0:R.length;++Ie<Ze;){var Wt=R[Ie];j(fe,Wt,W(Wt),R)}return fe}function Yn(R,j){for(var W=-1,fe=R==null?0:R.length;++W<fe&&j(R[W],W,R)!==!1;);return R}function UC(R,j){for(var W=R==null?0:R.length;W--&&j(R[W],W,R)!==!1;);return R}function um(R,j){for(var W=-1,fe=R==null?0:R.length;++W<fe;)if(!j(R[W],W,R))return!1;return!0}function fo(R,j){for(var W=-1,fe=R==null?0:R.length,Ie=0,Ze=[];++W<fe;){var Wt=R[W];j(Wt,W,R)&&(Ze[Ie++]=Wt)}return Ze}function ja(R,j){var W=R==null?0:R.length;return!!W&&yi(R,j,0)>-1}function hc(R,j,W){for(var fe=-1,Ie=R==null?0:R.length;++fe<Ie;)if(W(j,R[fe]))return!0;return!1}function Ct(R,j){for(var W=-1,fe=R==null?0:R.length,Ie=Array(fe);++W<fe;)Ie[W]=j(R[W],W,R);return Ie}function ho(R,j){for(var W=-1,fe=j.length,Ie=R.length;++W<fe;)R[Ie+W]=j[W];return R}function mc(R,j,W,fe){var Ie=-1,Ze=R==null?0:R.length;for(fe&&Ze&&(W=R[++Ie]);++Ie<Ze;)W=j(W,R[Ie],Ie,R);return W}function VC(R,j,W,fe){var Ie=R==null?0:R.length;for(fe&&Ie&&(W=R[--Ie]);Ie--;)W=j(W,R[Ie],Ie,R);return W}function pc(R,j){for(var W=-1,fe=R==null?0:R.length;++W<fe;)if(j(R[W],W,R))return!0;return!1}var GC=gc("length");function jC(R){return R.split("")}function YC(R){return R.match(ur)||[]}function cm(R,j,W){var fe;return W(R,function(Ie,Ze,Wt){if(j(Ie,Ze,Wt))return fe=Ze,!1}),fe}function Ya(R,j,W,fe){for(var Ie=R.length,Ze=W+(fe?1:-1);fe?Ze--:++Ze<Ie;)if(j(R[Ze],Ze,R))return Ze;return-1}function yi(R,j,W){return j===j?oT(R,j,W):Ya(R,fm,W)}function KC(R,j,W,fe){for(var Ie=W-1,Ze=R.length;++Ie<Ze;)if(fe(R[Ie],j))return Ie;return-1}function fm(R){return R!==R}function dm(R,j){var W=R==null?0:R.length;return W?Ec(R,j)/W:Fe}function gc(R){return function(j){return j==null?n:j[R]}}function _c(R){return function(j){return R==null?n:R[j]}}function hm(R,j,W,fe,Ie){return Ie(R,function(Ze,Wt,dt){W=fe?(fe=!1,Ze):j(W,Ze,Wt,dt)}),W}function zC(R,j){var W=R.length;for(R.sort(j);W--;)R[W]=R[W].value;return R}function Ec(R,j){for(var W,fe=-1,Ie=R.length;++fe<Ie;){var Ze=j(R[fe]);Ze!==n&&(W=W===n?Ze:W+Ze)}return W}function vc(R,j){for(var W=-1,fe=Array(R);++W<R;)fe[W]=j(W);return fe}function qC(R,j){return Ct(j,function(W){return[W,R[W]]})}function mm(R){return R&&R.slice(0,Em(R)+1).replace(Uo,"")}function Nn(R){return function(j){return R(j)}}function yc(R,j){return Ct(j,function(W){return R[W]})}function Ls(R,j){return R.has(j)}function pm(R,j){for(var W=-1,fe=R.length;++W<fe&&yi(j,R[W],0)>-1;);return W}function gm(R,j){for(var W=R.length;W--&&yi(j,R[W],0)>-1;);return W}function XC(R,j){for(var W=R.length,fe=0;W--;)R[W]===j&&++fe;return fe}var JC=_c(DC),ZC=_c(MC);function QC(R){return"\\"+kC[R]}function eT(R,j){return R==null?n:R[j]}function bi(R){return OC.test(R)}function tT(R){return RC.test(R)}function nT(R){for(var j,W=[];!(j=R.next()).done;)W.push(j.value);return W}function bc(R){var j=-1,W=Array(R.size);return R.forEach(function(fe,Ie){W[++j]=[Ie,fe]}),W}function _m(R,j){return function(W){return R(j(W))}}function mo(R,j){for(var W=-1,fe=R.length,Ie=0,Ze=[];++W<fe;){var Wt=R[W];(Wt===j||Wt===p)&&(R[W]=p,Ze[Ie++]=W)}return Ze}function Ka(R){var j=-1,W=Array(R.size);return R.forEach(function(fe){W[++j]=fe}),W}function rT(R){var j=-1,W=Array(R.size);return R.forEach(function(fe){W[++j]=[fe,fe]}),W}function oT(R,j,W){for(var fe=W-1,Ie=R.length;++fe<Ie;)if(R[fe]===j)return fe;return-1}function iT(R,j,W){for(var fe=W+1;fe--;)if(R[fe]===j)return fe;return fe}function Ci(R){return bi(R)?aT(R):GC(R)}function cr(R){return bi(R)?lT(R):jC(R)}function Em(R){for(var j=R.length;j--&&Fa.test(R.charAt(j)););return j}var sT=_c(BC);function aT(R){for(var j=cc.lastIndex=0;cc.test(R);)++j;return j}function lT(R){return R.match(cc)||[]}function uT(R){return R.match(IC)||[]}var cT=function R(j){j=j==null?Xt:Ti.defaults(Xt.Object(),j,Ti.pick(Xt,PC));var W=j.Array,fe=j.Date,Ie=j.Error,Ze=j.Function,Wt=j.Math,dt=j.Object,Cc=j.RegExp,fT=j.String,Kn=j.TypeError,za=W.prototype,dT=Ze.prototype,wi=dt.prototype,qa=j["__core-js_shared__"],Xa=dT.toString,rt=wi.hasOwnProperty,hT=0,vm=function(){var r=/[^.]+$/.exec(qa&&qa.keys&&qa.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Ja=wi.toString,mT=Xa.call(dt),pT=Xt._,gT=Cc("^"+Xa.call(rt).replace(ws,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Za=nm?j.Buffer:n,po=j.Symbol,Qa=j.Uint8Array,ym=Za?Za.allocUnsafe:n,el=_m(dt.getPrototypeOf,dt),bm=dt.create,Cm=wi.propertyIsEnumerable,tl=za.splice,Tm=po?po.isConcatSpreadable:n,Is=po?po.iterator:n,jo=po?po.toStringTag:n,nl=function(){try{var r=Xo(dt,"defineProperty");return r({},"",{}),r}catch{}}(),_T=j.clearTimeout!==Xt.clearTimeout&&j.clearTimeout,ET=fe&&fe.now!==Xt.Date.now&&fe.now,vT=j.setTimeout!==Xt.setTimeout&&j.setTimeout,rl=Wt.ceil,ol=Wt.floor,Tc=dt.getOwnPropertySymbols,yT=Za?Za.isBuffer:n,wm=j.isFinite,bT=za.join,CT=_m(dt.keys,dt),Ht=Wt.max,an=Wt.min,TT=fe.now,wT=j.parseInt,Am=Wt.random,AT=za.reverse,wc=Xo(j,"DataView"),Os=Xo(j,"Map"),Ac=Xo(j,"Promise"),Ai=Xo(j,"Set"),Rs=Xo(j,"WeakMap"),Ps=Xo(dt,"create"),il=Rs&&new Rs,Si={},ST=Jo(wc),xT=Jo(Os),LT=Jo(Ac),IT=Jo(Ai),OT=Jo(Rs),sl=po?po.prototype:n,Ns=sl?sl.valueOf:n,Sm=sl?sl.toString:n;function v(r){if(xt(r)&&!De(r)&&!(r instanceof Ye)){if(r instanceof zn)return r;if(rt.call(r,"__wrapped__"))return xp(r)}return new zn(r)}var xi=function(){function r(){}return function(i){if(!At(i))return{};if(bm)return bm(i);r.prototype=i;var u=new r;return r.prototype=n,u}}();function al(){}function zn(r,i){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}v.templateSettings={escape:Cs,evaluate:Ma,interpolate:Ts,variable:"",imports:{_:v}},v.prototype=al.prototype,v.prototype.constructor=v,zn.prototype=xi(al.prototype),zn.prototype.constructor=zn;function Ye(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Je,this.__views__=[]}function RT(){var r=new Ye(this.__wrapped__);return r.__actions__=wn(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=wn(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=wn(this.__views__),r}function PT(){if(this.__filtered__){var r=new Ye(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function NT(){var r=this.__wrapped__.value(),i=this.__dir__,u=De(r),f=i<0,_=u?r.length:0,y=j0(0,_,this.__views__),T=y.start,L=y.end,P=L-T,Y=f?L:T-1,K=this.__iteratees__,X=K.length,se=0,me=an(P,this.__takeCount__);if(!u||!f&&_==P&&me==P)return Xm(r,this.__actions__);var ve=[];e:for(;P--&&se<me;){Y+=i;for(var $e=-1,ye=r[Y];++$e<X;){var Ge=K[$e],ze=Ge.iteratee,Bn=Ge.type,pn=ze(ye);if(Bn==Bt)ye=pn;else if(!pn){if(Bn==Tt)continue e;break e}}ve[se++]=ye}return ve}Ye.prototype=xi(al.prototype),Ye.prototype.constructor=Ye;function Yo(r){var i=-1,u=r==null?0:r.length;for(this.clear();++i<u;){var f=r[i];this.set(f[0],f[1])}}function DT(){this.__data__=Ps?Ps(null):{},this.size=0}function MT(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}function BT(r){var i=this.__data__;if(Ps){var u=i[r];return u===d?n:u}return rt.call(i,r)?i[r]:n}function kT(r){var i=this.__data__;return Ps?i[r]!==n:rt.call(i,r)}function FT(r,i){var u=this.__data__;return this.size+=this.has(r)?0:1,u[r]=Ps&&i===n?d:i,this}Yo.prototype.clear=DT,Yo.prototype.delete=MT,Yo.prototype.get=BT,Yo.prototype.has=kT,Yo.prototype.set=FT;function Wr(r){var i=-1,u=r==null?0:r.length;for(this.clear();++i<u;){var f=r[i];this.set(f[0],f[1])}}function $T(){this.__data__=[],this.size=0}function WT(r){var i=this.__data__,u=ll(i,r);if(u<0)return!1;var f=i.length-1;return u==f?i.pop():tl.call(i,u,1),--this.size,!0}function HT(r){var i=this.__data__,u=ll(i,r);return u<0?n:i[u][1]}function UT(r){return ll(this.__data__,r)>-1}function VT(r,i){var u=this.__data__,f=ll(u,r);return f<0?(++this.size,u.push([r,i])):u[f][1]=i,this}Wr.prototype.clear=$T,Wr.prototype.delete=WT,Wr.prototype.get=HT,Wr.prototype.has=UT,Wr.prototype.set=VT;function Hr(r){var i=-1,u=r==null?0:r.length;for(this.clear();++i<u;){var f=r[i];this.set(f[0],f[1])}}function GT(){this.size=0,this.__data__={hash:new Yo,map:new(Os||Wr),string:new Yo}}function jT(r){var i=yl(this,r).delete(r);return this.size-=i?1:0,i}function YT(r){return yl(this,r).get(r)}function KT(r){return yl(this,r).has(r)}function zT(r,i){var u=yl(this,r),f=u.size;return u.set(r,i),this.size+=u.size==f?0:1,this}Hr.prototype.clear=GT,Hr.prototype.delete=jT,Hr.prototype.get=YT,Hr.prototype.has=KT,Hr.prototype.set=zT;function Ko(r){var i=-1,u=r==null?0:r.length;for(this.__data__=new Hr;++i<u;)this.add(r[i])}function qT(r){return this.__data__.set(r,d),this}function XT(r){return this.__data__.has(r)}Ko.prototype.add=Ko.prototype.push=qT,Ko.prototype.has=XT;function fr(r){var i=this.__data__=new Wr(r);this.size=i.size}function JT(){this.__data__=new Wr,this.size=0}function ZT(r){var i=this.__data__,u=i.delete(r);return this.size=i.size,u}function QT(r){return this.__data__.get(r)}function e0(r){return this.__data__.has(r)}function t0(r,i){var u=this.__data__;if(u instanceof Wr){var f=u.__data__;if(!Os||f.length<s-1)return f.push([r,i]),this.size=++u.size,this;u=this.__data__=new Hr(f)}return u.set(r,i),this.size=u.size,this}fr.prototype.clear=JT,fr.prototype.delete=ZT,fr.prototype.get=QT,fr.prototype.has=e0,fr.prototype.set=t0;function xm(r,i){var u=De(r),f=!u&&Zo(r),_=!u&&!f&&yo(r),y=!u&&!f&&!_&&Ri(r),T=u||f||_||y,L=T?vc(r.length,fT):[],P=L.length;for(var Y in r)(i||rt.call(r,Y))&&!(T&&(Y=="length"||_&&(Y=="offset"||Y=="parent")||y&&(Y=="buffer"||Y=="byteLength"||Y=="byteOffset")||jr(Y,P)))&&L.push(Y);return L}function Lm(r){var i=r.length;return i?r[Bc(0,i-1)]:n}function n0(r,i){return bl(wn(r),zo(i,0,r.length))}function r0(r){return bl(wn(r))}function Sc(r,i,u){(u!==n&&!dr(r[i],u)||u===n&&!(i in r))&&Ur(r,i,u)}function Ds(r,i,u){var f=r[i];(!(rt.call(r,i)&&dr(f,u))||u===n&&!(i in r))&&Ur(r,i,u)}function ll(r,i){for(var u=r.length;u--;)if(dr(r[u][0],i))return u;return-1}function o0(r,i,u,f){return go(r,function(_,y,T){i(f,_,u(_),T)}),f}function Im(r,i){return r&&wr(i,Yt(i),r)}function i0(r,i){return r&&wr(i,Sn(i),r)}function Ur(r,i,u){i=="__proto__"&&nl?nl(r,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[i]=u}function xc(r,i){for(var u=-1,f=i.length,_=W(f),y=r==null;++u<f;)_[u]=y?n:lf(r,i[u]);return _}function zo(r,i,u){return r===r&&(u!==n&&(r=r<=u?r:u),i!==n&&(r=r>=i?r:i)),r}function qn(r,i,u,f,_,y){var T,L=i&E,P=i&C,Y=i&w;if(u&&(T=_?u(r,f,_,y):u(r)),T!==n)return T;if(!At(r))return r;var K=De(r);if(K){if(T=K0(r),!L)return wn(r,T)}else{var X=ln(r),se=X==Ft||X==g;if(yo(r))return Qm(r,L);if(X==M||X==it||se&&!_){if(T=P||se?{}:Ep(r),!L)return P?B0(r,i0(T,r)):M0(r,Im(T,r))}else{if(!gt[X])return _?r:{};T=z0(r,X,L)}}y||(y=new fr);var me=y.get(r);if(me)return me;y.set(r,T),Kp(r)?r.forEach(function(ye){T.add(qn(ye,i,u,ye,r,y))}):jp(r)&&r.forEach(function(ye,Ge){T.set(Ge,qn(ye,i,u,Ge,r,y))});var ve=Y?P?Kc:Yc:P?Sn:Yt,$e=K?n:ve(r);return Yn($e||r,function(ye,Ge){$e&&(Ge=ye,ye=r[Ge]),Ds(T,Ge,qn(ye,i,u,Ge,r,y))}),T}function s0(r){var i=Yt(r);return function(u){return Om(u,r,i)}}function Om(r,i,u){var f=u.length;if(r==null)return!f;for(r=dt(r);f--;){var _=u[f],y=i[_],T=r[_];if(T===n&&!(_ in r)||!y(T))return!1}return!0}function Rm(r,i,u){if(typeof r!="function")throw new Kn(l);return Hs(function(){r.apply(n,u)},i)}function Ms(r,i,u,f){var _=-1,y=ja,T=!0,L=r.length,P=[],Y=i.length;if(!L)return P;u&&(i=Ct(i,Nn(u))),f?(y=hc,T=!1):i.length>=s&&(y=Ls,T=!1,i=new Ko(i));e:for(;++_<L;){var K=r[_],X=u==null?K:u(K);if(K=f||K!==0?K:0,T&&X===X){for(var se=Y;se--;)if(i[se]===X)continue e;P.push(K)}else y(i,X,f)||P.push(K)}return P}var go=op(Tr),Pm=op(Ic,!0);function a0(r,i){var u=!0;return go(r,function(f,_,y){return u=!!i(f,_,y),u}),u}function ul(r,i,u){for(var f=-1,_=r.length;++f<_;){var y=r[f],T=i(y);if(T!=null&&(L===n?T===T&&!Mn(T):u(T,L)))var L=T,P=y}return P}function l0(r,i,u,f){var _=r.length;for(u=Be(u),u<0&&(u=-u>_?0:_+u),f=f===n||f>_?_:Be(f),f<0&&(f+=_),f=u>f?0:qp(f);u<f;)r[u++]=i;return r}function Nm(r,i){var u=[];return go(r,function(f,_,y){i(f,_,y)&&u.push(f)}),u}function Jt(r,i,u,f,_){var y=-1,T=r.length;for(u||(u=X0),_||(_=[]);++y<T;){var L=r[y];i>0&&u(L)?i>1?Jt(L,i-1,u,f,_):ho(_,L):f||(_[_.length]=L)}return _}var Lc=ip(),Dm=ip(!0);function Tr(r,i){return r&&Lc(r,i,Yt)}function Ic(r,i){return r&&Dm(r,i,Yt)}function cl(r,i){return fo(i,function(u){return Yr(r[u])})}function qo(r,i){i=Eo(i,r);for(var u=0,f=i.length;r!=null&&u<f;)r=r[Ar(i[u++])];return u&&u==f?r:n}function Mm(r,i,u){var f=i(r);return De(r)?f:ho(f,u(r))}function hn(r){return r==null?r===n?I:N:jo&&jo in dt(r)?G0(r):rw(r)}function Oc(r,i){return r>i}function u0(r,i){return r!=null&&rt.call(r,i)}function c0(r,i){return r!=null&&i in dt(r)}function f0(r,i,u){return r>=an(i,u)&&r<Ht(i,u)}function Rc(r,i,u){for(var f=u?hc:ja,_=r[0].length,y=r.length,T=y,L=W(y),P=1/0,Y=[];T--;){var K=r[T];T&&i&&(K=Ct(K,Nn(i))),P=an(K.length,P),L[T]=!u&&(i||_>=120&&K.length>=120)?new Ko(T&&K):n}K=r[0];var X=-1,se=L[0];e:for(;++X<_&&Y.length<P;){var me=K[X],ve=i?i(me):me;if(me=u||me!==0?me:0,!(se?Ls(se,ve):f(Y,ve,u))){for(T=y;--T;){var $e=L[T];if(!($e?Ls($e,ve):f(r[T],ve,u)))continue e}se&&se.push(ve),Y.push(me)}}return Y}function d0(r,i,u,f){return Tr(r,function(_,y,T){i(f,u(_),y,T)}),f}function Bs(r,i,u){i=Eo(i,r),r=Cp(r,i);var f=r==null?r:r[Ar(Jn(i))];return f==null?n:Pn(f,r,u)}function Bm(r){return xt(r)&&hn(r)==it}function h0(r){return xt(r)&&hn(r)==ue}function m0(r){return xt(r)&&hn(r)==wt}function ks(r,i,u,f,_){return r===i?!0:r==null||i==null||!xt(r)&&!xt(i)?r!==r&&i!==i:p0(r,i,u,f,ks,_)}function p0(r,i,u,f,_,y){var T=De(r),L=De(i),P=T?pt:ln(r),Y=L?pt:ln(i);P=P==it?M:P,Y=Y==it?M:Y;var K=P==M,X=Y==M,se=P==Y;if(se&&yo(r)){if(!yo(i))return!1;T=!0,K=!1}if(se&&!K)return y||(y=new fr),T||Ri(r)?pp(r,i,u,f,_,y):U0(r,i,P,u,f,_,y);if(!(u&D)){var me=K&&rt.call(r,"__wrapped__"),ve=X&&rt.call(i,"__wrapped__");if(me||ve){var $e=me?r.value():r,ye=ve?i.value():i;return y||(y=new fr),_($e,ye,u,f,y)}}return se?(y||(y=new fr),V0(r,i,u,f,_,y)):!1}function g0(r){return xt(r)&&ln(r)==h}function Pc(r,i,u,f){var _=u.length,y=_,T=!f;if(r==null)return!y;for(r=dt(r);_--;){var L=u[_];if(T&&L[2]?L[1]!==r[L[0]]:!(L[0]in r))return!1}for(;++_<y;){L=u[_];var P=L[0],Y=r[P],K=L[1];if(T&&L[2]){if(Y===n&&!(P in r))return!1}else{var X=new fr;if(f)var se=f(Y,K,P,r,i,X);if(!(se===n?ks(K,Y,D|x,f,X):se))return!1}}return!0}function km(r){if(!At(r)||Z0(r))return!1;var i=Yr(r)?gT:O;return i.test(Jo(r))}function _0(r){return xt(r)&&hn(r)==q}function E0(r){return xt(r)&&ln(r)==J}function v0(r){return xt(r)&&xl(r.length)&&!!vt[hn(r)]}function Fm(r){return typeof r=="function"?r:r==null?xn:typeof r=="object"?De(r)?Hm(r[0],r[1]):Wm(r):sg(r)}function Nc(r){if(!Ws(r))return CT(r);var i=[];for(var u in dt(r))rt.call(r,u)&&u!="constructor"&&i.push(u);return i}function y0(r){if(!At(r))return nw(r);var i=Ws(r),u=[];for(var f in r)f=="constructor"&&(i||!rt.call(r,f))||u.push(f);return u}function Dc(r,i){return r<i}function $m(r,i){var u=-1,f=An(r)?W(r.length):[];return go(r,function(_,y,T){f[++u]=i(_,y,T)}),f}function Wm(r){var i=qc(r);return i.length==1&&i[0][2]?yp(i[0][0],i[0][1]):function(u){return u===r||Pc(u,r,i)}}function Hm(r,i){return Jc(r)&&vp(i)?yp(Ar(r),i):function(u){var f=lf(u,r);return f===n&&f===i?uf(u,r):ks(i,f,D|x)}}function fl(r,i,u,f,_){r!==i&&Lc(i,function(y,T){if(_||(_=new fr),At(y))b0(r,i,T,u,fl,f,_);else{var L=f?f(Qc(r,T),y,T+"",r,i,_):n;L===n&&(L=y),Sc(r,T,L)}},Sn)}function b0(r,i,u,f,_,y,T){var L=Qc(r,u),P=Qc(i,u),Y=T.get(P);if(Y){Sc(r,u,Y);return}var K=y?y(L,P,u+"",r,i,T):n,X=K===n;if(X){var se=De(P),me=!se&&yo(P),ve=!se&&!me&&Ri(P);K=P,se||me||ve?De(L)?K=L:Nt(L)?K=wn(L):me?(X=!1,K=Qm(P,!0)):ve?(X=!1,K=ep(P,!0)):K=[]:Us(P)||Zo(P)?(K=L,Zo(L)?K=Xp(L):(!At(L)||Yr(L))&&(K=Ep(P))):X=!1}X&&(T.set(P,K),_(K,P,f,y,T),T.delete(P)),Sc(r,u,K)}function Um(r,i){var u=r.length;if(u)return i+=i<0?u:0,jr(i,u)?r[i]:n}function Vm(r,i,u){i.length?i=Ct(i,function(y){return De(y)?function(T){return qo(T,y.length===1?y[0]:y)}:y}):i=[xn];var f=-1;i=Ct(i,Nn(Ee()));var _=$m(r,function(y,T,L){var P=Ct(i,function(Y){return Y(y)});return{criteria:P,index:++f,value:y}});return zC(_,function(y,T){return D0(y,T,u)})}function C0(r,i){return Gm(r,i,function(u,f){return uf(r,f)})}function Gm(r,i,u){for(var f=-1,_=i.length,y={};++f<_;){var T=i[f],L=qo(r,T);u(L,T)&&Fs(y,Eo(T,r),L)}return y}function T0(r){return function(i){return qo(i,r)}}function Mc(r,i,u,f){var _=f?KC:yi,y=-1,T=i.length,L=r;for(r===i&&(i=wn(i)),u&&(L=Ct(r,Nn(u)));++y<T;)for(var P=0,Y=i[y],K=u?u(Y):Y;(P=_(L,K,P,f))>-1;)L!==r&&tl.call(L,P,1),tl.call(r,P,1);return r}function jm(r,i){for(var u=r?i.length:0,f=u-1;u--;){var _=i[u];if(u==f||_!==y){var y=_;jr(_)?tl.call(r,_,1):$c(r,_)}}return r}function Bc(r,i){return r+ol(Am()*(i-r+1))}function w0(r,i,u,f){for(var _=-1,y=Ht(rl((i-r)/(u||1)),0),T=W(y);y--;)T[f?y:++_]=r,r+=u;return T}function kc(r,i){var u="";if(!r||i<1||i>Te)return u;do i%2&&(u+=r),i=ol(i/2),i&&(r+=r);while(i);return u}function Ue(r,i){return ef(bp(r,i,xn),r+"")}function A0(r){return Lm(Pi(r))}function S0(r,i){var u=Pi(r);return bl(u,zo(i,0,u.length))}function Fs(r,i,u,f){if(!At(r))return r;i=Eo(i,r);for(var _=-1,y=i.length,T=y-1,L=r;L!=null&&++_<y;){var P=Ar(i[_]),Y=u;if(P==="__proto__"||P==="constructor"||P==="prototype")return r;if(_!=T){var K=L[P];Y=f?f(K,P,L):n,Y===n&&(Y=At(K)?K:jr(i[_+1])?[]:{})}Ds(L,P,Y),L=L[P]}return r}var Ym=il?function(r,i){return il.set(r,i),r}:xn,x0=nl?function(r,i){return nl(r,"toString",{configurable:!0,enumerable:!1,value:ff(i),writable:!0})}:xn;function L0(r){return bl(Pi(r))}function Xn(r,i,u){var f=-1,_=r.length;i<0&&(i=-i>_?0:_+i),u=u>_?_:u,u<0&&(u+=_),_=i>u?0:u-i>>>0,i>>>=0;for(var y=W(_);++f<_;)y[f]=r[f+i];return y}function I0(r,i){var u;return go(r,function(f,_,y){return u=i(f,_,y),!u}),!!u}function dl(r,i,u){var f=0,_=r==null?f:r.length;if(typeof i=="number"&&i===i&&_<=Gt){for(;f<_;){var y=f+_>>>1,T=r[y];T!==null&&!Mn(T)&&(u?T<=i:T<i)?f=y+1:_=y}return _}return Fc(r,i,xn,u)}function Fc(r,i,u,f){var _=0,y=r==null?0:r.length;if(y===0)return 0;i=u(i);for(var T=i!==i,L=i===null,P=Mn(i),Y=i===n;_<y;){var K=ol((_+y)/2),X=u(r[K]),se=X!==n,me=X===null,ve=X===X,$e=Mn(X);if(T)var ye=f||ve;else Y?ye=ve&&(f||se):L?ye=ve&&se&&(f||!me):P?ye=ve&&se&&!me&&(f||!$e):me||$e?ye=!1:ye=f?X<=i:X<i;ye?_=K+1:y=K}return an(y,Ne)}function Km(r,i){for(var u=-1,f=r.length,_=0,y=[];++u<f;){var T=r[u],L=i?i(T):T;if(!u||!dr(L,P)){var P=L;y[_++]=T===0?0:T}}return y}function zm(r){return typeof r=="number"?r:Mn(r)?Fe:+r}function Dn(r){if(typeof r=="string")return r;if(De(r))return Ct(r,Dn)+"";if(Mn(r))return Sm?Sm.call(r):"";var i=r+"";return i=="0"&&1/r==-ge?"-0":i}function _o(r,i,u){var f=-1,_=ja,y=r.length,T=!0,L=[],P=L;if(u)T=!1,_=hc;else if(y>=s){var Y=i?null:W0(r);if(Y)return Ka(Y);T=!1,_=Ls,P=new Ko}else P=i?[]:L;e:for(;++f<y;){var K=r[f],X=i?i(K):K;if(K=u||K!==0?K:0,T&&X===X){for(var se=P.length;se--;)if(P[se]===X)continue e;i&&P.push(X),L.push(K)}else _(P,X,u)||(P!==L&&P.push(X),L.push(K))}return L}function $c(r,i){return i=Eo(i,r),r=Cp(r,i),r==null||delete r[Ar(Jn(i))]}function qm(r,i,u,f){return Fs(r,i,u(qo(r,i)),f)}function hl(r,i,u,f){for(var _=r.length,y=f?_:-1;(f?y--:++y<_)&&i(r[y],y,r););return u?Xn(r,f?0:y,f?y+1:_):Xn(r,f?y+1:0,f?_:y)}function Xm(r,i){var u=r;return u instanceof Ye&&(u=u.value()),mc(i,function(f,_){return _.func.apply(_.thisArg,ho([f],_.args))},u)}function Wc(r,i,u){var f=r.length;if(f<2)return f?_o(r[0]):[];for(var _=-1,y=W(f);++_<f;)for(var T=r[_],L=-1;++L<f;)L!=_&&(y[_]=Ms(y[_]||T,r[L],i,u));return _o(Jt(y,1),i,u)}function Jm(r,i,u){for(var f=-1,_=r.length,y=i.length,T={};++f<_;){var L=f<y?i[f]:n;u(T,r[f],L)}return T}function Hc(r){return Nt(r)?r:[]}function Uc(r){return typeof r=="function"?r:xn}function Eo(r,i){return De(r)?r:Jc(r,i)?[r]:Sp(Qe(r))}var O0=Ue;function vo(r,i,u){var f=r.length;return u=u===n?f:u,!i&&u>=f?r:Xn(r,i,u)}var Zm=_T||function(r){return Xt.clearTimeout(r)};function Qm(r,i){if(i)return r.slice();var u=r.length,f=ym?ym(u):new r.constructor(u);return r.copy(f),f}function Vc(r){var i=new r.constructor(r.byteLength);return new Qa(i).set(new Qa(r)),i}function R0(r,i){var u=i?Vc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.byteLength)}function P0(r){var i=new r.constructor(r.source,As.exec(r));return i.lastIndex=r.lastIndex,i}function N0(r){return Ns?dt(Ns.call(r)):{}}function ep(r,i){var u=i?Vc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}function tp(r,i){if(r!==i){var u=r!==n,f=r===null,_=r===r,y=Mn(r),T=i!==n,L=i===null,P=i===i,Y=Mn(i);if(!L&&!Y&&!y&&r>i||y&&T&&P&&!L&&!Y||f&&T&&P||!u&&P||!_)return 1;if(!f&&!y&&!Y&&r<i||Y&&u&&_&&!f&&!y||L&&u&&_||!T&&_||!P)return-1}return 0}function D0(r,i,u){for(var f=-1,_=r.criteria,y=i.criteria,T=_.length,L=u.length;++f<T;){var P=tp(_[f],y[f]);if(P){if(f>=L)return P;var Y=u[f];return P*(Y=="desc"?-1:1)}}return r.index-i.index}function np(r,i,u,f){for(var _=-1,y=r.length,T=u.length,L=-1,P=i.length,Y=Ht(y-T,0),K=W(P+Y),X=!f;++L<P;)K[L]=i[L];for(;++_<T;)(X||_<y)&&(K[u[_]]=r[_]);for(;Y--;)K[L++]=r[_++];return K}function rp(r,i,u,f){for(var _=-1,y=r.length,T=-1,L=u.length,P=-1,Y=i.length,K=Ht(y-L,0),X=W(K+Y),se=!f;++_<K;)X[_]=r[_];for(var me=_;++P<Y;)X[me+P]=i[P];for(;++T<L;)(se||_<y)&&(X[me+u[T]]=r[_++]);return X}function wn(r,i){var u=-1,f=r.length;for(i||(i=W(f));++u<f;)i[u]=r[u];return i}function wr(r,i,u,f){var _=!u;u||(u={});for(var y=-1,T=i.length;++y<T;){var L=i[y],P=f?f(u[L],r[L],L,u,r):n;P===n&&(P=r[L]),_?Ur(u,L,P):Ds(u,L,P)}return u}function M0(r,i){return wr(r,Xc(r),i)}function B0(r,i){return wr(r,gp(r),i)}function ml(r,i){return function(u,f){var _=De(u)?HC:o0,y=i?i():{};return _(u,r,Ee(f,2),y)}}function Li(r){return Ue(function(i,u){var f=-1,_=u.length,y=_>1?u[_-1]:n,T=_>2?u[2]:n;for(y=r.length>3&&typeof y=="function"?(_--,y):n,T&&mn(u[0],u[1],T)&&(y=_<3?n:y,_=1),i=dt(i);++f<_;){var L=u[f];L&&r(i,L,f,y)}return i})}function op(r,i){return function(u,f){if(u==null)return u;if(!An(u))return r(u,f);for(var _=u.length,y=i?_:-1,T=dt(u);(i?y--:++y<_)&&f(T[y],y,T)!==!1;);return u}}function ip(r){return function(i,u,f){for(var _=-1,y=dt(i),T=f(i),L=T.length;L--;){var P=T[r?L:++_];if(u(y[P],P,y)===!1)break}return i}}function k0(r,i,u){var f=i&F,_=$s(r);function y(){var T=this&&this!==Xt&&this instanceof y?_:r;return T.apply(f?u:this,arguments)}return y}function sp(r){return function(i){i=Qe(i);var u=bi(i)?cr(i):n,f=u?u[0]:i.charAt(0),_=u?vo(u,1).join(""):i.slice(1);return f[r]()+_}}function Ii(r){return function(i){return mc(og(rg(i).replace(xC,"")),r,"")}}function $s(r){return function(){var i=arguments;switch(i.length){case 0:return new r;case 1:return new r(i[0]);case 2:return new r(i[0],i[1]);case 3:return new r(i[0],i[1],i[2]);case 4:return new r(i[0],i[1],i[2],i[3]);case 5:return new r(i[0],i[1],i[2],i[3],i[4]);case 6:return new r(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new r(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var u=xi(r.prototype),f=r.apply(u,i);return At(f)?f:u}}function F0(r,i,u){var f=$s(r);function _(){for(var y=arguments.length,T=W(y),L=y,P=Oi(_);L--;)T[L]=arguments[L];var Y=y<3&&T[0]!==P&&T[y-1]!==P?[]:mo(T,P);if(y-=Y.length,y<u)return fp(r,i,pl,_.placeholder,n,T,Y,n,n,u-y);var K=this&&this!==Xt&&this instanceof _?f:r;return Pn(K,this,T)}return _}function ap(r){return function(i,u,f){var _=dt(i);if(!An(i)){var y=Ee(u,3);i=Yt(i),u=function(L){return y(_[L],L,_)}}var T=r(i,u,f);return T>-1?_[y?i[T]:T]:n}}function lp(r){return Gr(function(i){var u=i.length,f=u,_=zn.prototype.thru;for(r&&i.reverse();f--;){var y=i[f];if(typeof y!="function")throw new Kn(l);if(_&&!T&&vl(y)=="wrapper")var T=new zn([],!0)}for(f=T?f:u;++f<u;){y=i[f];var L=vl(y),P=L=="wrapper"?zc(y):n;P&&Zc(P[0])&&P[1]==(U|$|H|le)&&!P[4].length&&P[9]==1?T=T[vl(P[0])].apply(T,P[3]):T=y.length==1&&Zc(y)?T[L]():T.thru(y)}return function(){var Y=arguments,K=Y[0];if(T&&Y.length==1&&De(K))return T.plant(K).value();for(var X=0,se=u?i[X].apply(this,Y):K;++X<u;)se=i[X].call(this,se);return se}})}function pl(r,i,u,f,_,y,T,L,P,Y){var K=i&U,X=i&F,se=i&A,me=i&($|S),ve=i&ce,$e=se?n:$s(r);function ye(){for(var Ge=arguments.length,ze=W(Ge),Bn=Ge;Bn--;)ze[Bn]=arguments[Bn];if(me)var pn=Oi(ye),kn=XC(ze,pn);if(f&&(ze=np(ze,f,_,me)),y&&(ze=rp(ze,y,T,me)),Ge-=kn,me&&Ge<Y){var Dt=mo(ze,pn);return fp(r,i,pl,ye.placeholder,u,ze,Dt,L,P,Y-Ge)}var hr=X?u:this,zr=se?hr[r]:r;return Ge=ze.length,L?ze=ow(ze,L):ve&&Ge>1&&ze.reverse(),K&&P<Ge&&(ze.length=P),this&&this!==Xt&&this instanceof ye&&(zr=$e||$s(zr)),zr.apply(hr,ze)}return ye}function up(r,i){return function(u,f){return d0(u,r,i(f),{})}}function gl(r,i){return function(u,f){var _;if(u===n&&f===n)return i;if(u!==n&&(_=u),f!==n){if(_===n)return f;typeof u=="string"||typeof f=="string"?(u=Dn(u),f=Dn(f)):(u=zm(u),f=zm(f)),_=r(u,f)}return _}}function Gc(r){return Gr(function(i){return i=Ct(i,Nn(Ee())),Ue(function(u){var f=this;return r(i,function(_){return Pn(_,f,u)})})})}function _l(r,i){i=i===n?" ":Dn(i);var u=i.length;if(u<2)return u?kc(i,r):i;var f=kc(i,rl(r/Ci(i)));return bi(i)?vo(cr(f),0,r).join(""):f.slice(0,r)}function $0(r,i,u,f){var _=i&F,y=$s(r);function T(){for(var L=-1,P=arguments.length,Y=-1,K=f.length,X=W(K+P),se=this&&this!==Xt&&this instanceof T?y:r;++Y<K;)X[Y]=f[Y];for(;P--;)X[Y++]=arguments[++L];return Pn(se,_?u:this,X)}return T}function cp(r){return function(i,u,f){return f&&typeof f!="number"&&mn(i,u,f)&&(u=f=n),i=Kr(i),u===n?(u=i,i=0):u=Kr(u),f=f===n?i<u?1:-1:Kr(f),w0(i,u,f,r)}}function El(r){return function(i,u){return typeof i=="string"&&typeof u=="string"||(i=Zn(i),u=Zn(u)),r(i,u)}}function fp(r,i,u,f,_,y,T,L,P,Y){var K=i&$,X=K?T:n,se=K?n:T,me=K?y:n,ve=K?n:y;i|=K?H:G,i&=~(K?G:H),i&B||(i&=~(F|A));var $e=[r,i,_,me,X,ve,se,L,P,Y],ye=u.apply(n,$e);return Zc(r)&&Tp(ye,$e),ye.placeholder=f,wp(ye,r,i)}function jc(r){var i=Wt[r];return function(u,f){if(u=Zn(u),f=f==null?0:an(Be(f),292),f&&wm(u)){var _=(Qe(u)+"e").split("e"),y=i(_[0]+"e"+(+_[1]+f));return _=(Qe(y)+"e").split("e"),+(_[0]+"e"+(+_[1]-f))}return i(u)}}var W0=Ai&&1/Ka(new Ai([,-0]))[1]==ge?function(r){return new Ai(r)}:mf;function dp(r){return function(i){var u=ln(i);return u==h?bc(i):u==J?rT(i):qC(i,r(i))}}function Vr(r,i,u,f,_,y,T,L){var P=i&A;if(!P&&typeof r!="function")throw new Kn(l);var Y=f?f.length:0;if(Y||(i&=~(H|G),f=_=n),T=T===n?T:Ht(Be(T),0),L=L===n?L:Be(L),Y-=_?_.length:0,i&G){var K=f,X=_;f=_=n}var se=P?n:zc(r),me=[r,i,u,f,_,K,X,y,T,L];if(se&&tw(me,se),r=me[0],i=me[1],u=me[2],f=me[3],_=me[4],L=me[9]=me[9]===n?P?0:r.length:Ht(me[9]-Y,0),!L&&i&($|S)&&(i&=~($|S)),!i||i==F)var ve=k0(r,i,u);else i==$||i==S?ve=F0(r,i,L):(i==H||i==(F|H))&&!_.length?ve=$0(r,i,u,f):ve=pl.apply(n,me);var $e=se?Ym:Tp;return wp($e(ve,me),r,i)}function hp(r,i,u,f){return r===n||dr(r,wi[u])&&!rt.call(f,u)?i:r}function mp(r,i,u,f,_,y){return At(r)&&At(i)&&(y.set(i,r),fl(r,i,n,mp,y),y.delete(i)),r}function H0(r){return Us(r)?n:r}function pp(r,i,u,f,_,y){var T=u&D,L=r.length,P=i.length;if(L!=P&&!(T&&P>L))return!1;var Y=y.get(r),K=y.get(i);if(Y&&K)return Y==i&&K==r;var X=-1,se=!0,me=u&x?new Ko:n;for(y.set(r,i),y.set(i,r);++X<L;){var ve=r[X],$e=i[X];if(f)var ye=T?f($e,ve,X,i,r,y):f(ve,$e,X,r,i,y);if(ye!==n){if(ye)continue;se=!1;break}if(me){if(!pc(i,function(Ge,ze){if(!Ls(me,ze)&&(ve===Ge||_(ve,Ge,u,f,y)))return me.push(ze)})){se=!1;break}}else if(!(ve===$e||_(ve,$e,u,f,y))){se=!1;break}}return y.delete(r),y.delete(i),se}function U0(r,i,u,f,_,y,T){switch(u){case we:if(r.byteLength!=i.byteLength||r.byteOffset!=i.byteOffset)return!1;r=r.buffer,i=i.buffer;case ue:return!(r.byteLength!=i.byteLength||!y(new Qa(r),new Qa(i)));case nt:case wt:case b:return dr(+r,+i);case lt:return r.name==i.name&&r.message==i.message;case q:case z:return r==i+"";case h:var L=bc;case J:var P=f&D;if(L||(L=Ka),r.size!=i.size&&!P)return!1;var Y=T.get(r);if(Y)return Y==i;f|=x,T.set(r,i);var K=pp(L(r),L(i),f,_,y,T);return T.delete(r),K;case ne:if(Ns)return Ns.call(r)==Ns.call(i)}return!1}function V0(r,i,u,f,_,y){var T=u&D,L=Yc(r),P=L.length,Y=Yc(i),K=Y.length;if(P!=K&&!T)return!1;for(var X=P;X--;){var se=L[X];if(!(T?se in i:rt.call(i,se)))return!1}var me=y.get(r),ve=y.get(i);if(me&&ve)return me==i&&ve==r;var $e=!0;y.set(r,i),y.set(i,r);for(var ye=T;++X<P;){se=L[X];var Ge=r[se],ze=i[se];if(f)var Bn=T?f(ze,Ge,se,i,r,y):f(Ge,ze,se,r,i,y);if(!(Bn===n?Ge===ze||_(Ge,ze,u,f,y):Bn)){$e=!1;break}ye||(ye=se=="constructor")}if($e&&!ye){var pn=r.constructor,kn=i.constructor;pn!=kn&&"constructor"in r&&"constructor"in i&&!(typeof pn=="function"&&pn instanceof pn&&typeof kn=="function"&&kn instanceof kn)&&($e=!1)}return y.delete(r),y.delete(i),$e}function Gr(r){return ef(bp(r,n,Op),r+"")}function Yc(r){return Mm(r,Yt,Xc)}function Kc(r){return Mm(r,Sn,gp)}var zc=il?function(r){return il.get(r)}:mf;function vl(r){for(var i=r.name+"",u=Si[i],f=rt.call(Si,i)?u.length:0;f--;){var _=u[f],y=_.func;if(y==null||y==r)return _.name}return i}function Oi(r){var i=rt.call(v,"placeholder")?v:r;return i.placeholder}function Ee(){var r=v.iteratee||df;return r=r===df?Fm:r,arguments.length?r(arguments[0],arguments[1]):r}function yl(r,i){var u=r.__data__;return J0(i)?u[typeof i=="string"?"string":"hash"]:u.map}function qc(r){for(var i=Yt(r),u=i.length;u--;){var f=i[u],_=r[f];i[u]=[f,_,vp(_)]}return i}function Xo(r,i){var u=eT(r,i);return km(u)?u:n}function G0(r){var i=rt.call(r,jo),u=r[jo];try{r[jo]=n;var f=!0}catch{}var _=Ja.call(r);return f&&(i?r[jo]=u:delete r[jo]),_}var Xc=Tc?function(r){return r==null?[]:(r=dt(r),fo(Tc(r),function(i){return Cm.call(r,i)}))}:pf,gp=Tc?function(r){for(var i=[];r;)ho(i,Xc(r)),r=el(r);return i}:pf,ln=hn;(wc&&ln(new wc(new ArrayBuffer(1)))!=we||Os&&ln(new Os)!=h||Ac&&ln(Ac.resolve())!=V||Ai&&ln(new Ai)!=J||Rs&&ln(new Rs)!=k)&&(ln=function(r){var i=hn(r),u=i==M?r.constructor:n,f=u?Jo(u):"";if(f)switch(f){case ST:return we;case xT:return h;case LT:return V;case IT:return J;case OT:return k}return i});function j0(r,i,u){for(var f=-1,_=u.length;++f<_;){var y=u[f],T=y.size;switch(y.type){case"drop":r+=T;break;case"dropRight":i-=T;break;case"take":i=an(i,r+T);break;case"takeRight":r=Ht(r,i-T);break}}return{start:r,end:i}}function Y0(r){var i=r.match(oc);return i?i[1].split(Wa):[]}function _p(r,i,u){i=Eo(i,r);for(var f=-1,_=i.length,y=!1;++f<_;){var T=Ar(i[f]);if(!(y=r!=null&&u(r,T)))break;r=r[T]}return y||++f!=_?y:(_=r==null?0:r.length,!!_&&xl(_)&&jr(T,_)&&(De(r)||Zo(r)))}function K0(r){var i=r.length,u=new r.constructor(i);return i&&typeof r[0]=="string"&&rt.call(r,"index")&&(u.index=r.index,u.input=r.input),u}function Ep(r){return typeof r.constructor=="function"&&!Ws(r)?xi(el(r)):{}}function z0(r,i,u){var f=r.constructor;switch(i){case ue:return Vc(r);case nt:case wt:return new f(+r);case we:return R0(r,u);case Me:case ut:case ct:case It:case ft:case rn:case br:case Ot:case on:return ep(r,u);case h:return new f;case b:case z:return new f(r);case q:return P0(r);case J:return new f;case ne:return N0(r)}}function q0(r,i){var u=i.length;if(!u)return r;var f=u-1;return i[f]=(u>1?"& ":"")+i[f],i=i.join(u>2?", ":" "),r.replace($a,`{
|
|
63
|
+
/* [wrapped with `+i+`] */
|
|
64
|
+
`)}function X0(r){return De(r)||Zo(r)||!!(Tm&&r&&r[Tm])}function jr(r,i){var u=typeof r;return i=i??Te,!!i&&(u=="number"||u!="symbol"&&he.test(r))&&r>-1&&r%1==0&&r<i}function mn(r,i,u){if(!At(u))return!1;var f=typeof i;return(f=="number"?An(u)&&jr(i,u.length):f=="string"&&i in u)?dr(u[i],r):!1}function Jc(r,i){if(De(r))return!1;var u=typeof r;return u=="number"||u=="symbol"||u=="boolean"||r==null||Mn(r)?!0:Ba.test(r)||!rc.test(r)||i!=null&&r in dt(i)}function J0(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}function Zc(r){var i=vl(r),u=v[i];if(typeof u!="function"||!(i in Ye.prototype))return!1;if(r===u)return!0;var f=zc(u);return!!f&&r===f[0]}function Z0(r){return!!vm&&vm in r}var Q0=qa?Yr:gf;function Ws(r){var i=r&&r.constructor,u=typeof i=="function"&&i.prototype||wi;return r===u}function vp(r){return r===r&&!At(r)}function yp(r,i){return function(u){return u==null?!1:u[r]===i&&(i!==n||r in dt(u))}}function ew(r){var i=Al(r,function(f){return u.size===m&&u.clear(),f}),u=i.cache;return i}function tw(r,i){var u=r[1],f=i[1],_=u|f,y=_<(F|A|U),T=f==U&&u==$||f==U&&u==le&&r[7].length<=i[8]||f==(U|le)&&i[7].length<=i[8]&&u==$;if(!(y||T))return r;f&F&&(r[2]=i[2],_|=u&F?0:B);var L=i[3];if(L){var P=r[3];r[3]=P?np(P,L,i[4]):L,r[4]=P?mo(r[3],p):i[4]}return L=i[5],L&&(P=r[5],r[5]=P?rp(P,L,i[6]):L,r[6]=P?mo(r[5],p):i[6]),L=i[7],L&&(r[7]=L),f&U&&(r[8]=r[8]==null?i[8]:an(r[8],i[8])),r[9]==null&&(r[9]=i[9]),r[0]=i[0],r[1]=_,r}function nw(r){var i=[];if(r!=null)for(var u in dt(r))i.push(u);return i}function rw(r){return Ja.call(r)}function bp(r,i,u){return i=Ht(i===n?r.length-1:i,0),function(){for(var f=arguments,_=-1,y=Ht(f.length-i,0),T=W(y);++_<y;)T[_]=f[i+_];_=-1;for(var L=W(i+1);++_<i;)L[_]=f[_];return L[i]=u(T),Pn(r,this,L)}}function Cp(r,i){return i.length<2?r:qo(r,Xn(i,0,-1))}function ow(r,i){for(var u=r.length,f=an(i.length,u),_=wn(r);f--;){var y=i[f];r[f]=jr(y,u)?_[y]:n}return r}function Qc(r,i){if(!(i==="constructor"&&typeof r[i]=="function")&&i!="__proto__")return r[i]}var Tp=Ap(Ym),Hs=vT||function(r,i){return Xt.setTimeout(r,i)},ef=Ap(x0);function wp(r,i,u){var f=i+"";return ef(r,q0(f,iw(Y0(f),u)))}function Ap(r){var i=0,u=0;return function(){var f=TT(),_=We-(f-u);if(u=f,_>0){if(++i>=ke)return arguments[0]}else i=0;return r.apply(n,arguments)}}function bl(r,i){var u=-1,f=r.length,_=f-1;for(i=i===n?f:i;++u<i;){var y=Bc(u,_),T=r[y];r[y]=r[u],r[u]=T}return r.length=i,r}var Sp=ew(function(r){var i=[];return r.charCodeAt(0)===46&&i.push(""),r.replace(ka,function(u,f,_,y){i.push(_?y.replace(Ua,"$1"):f||u)}),i});function Ar(r){if(typeof r=="string"||Mn(r))return r;var i=r+"";return i=="0"&&1/r==-ge?"-0":i}function Jo(r){if(r!=null){try{return Xa.call(r)}catch{}try{return r+""}catch{}}return""}function iw(r,i){return Yn(He,function(u){var f="_."+u[0];i&u[1]&&!ja(r,f)&&r.push(f)}),r.sort()}function xp(r){if(r instanceof Ye)return r.clone();var i=new zn(r.__wrapped__,r.__chain__);return i.__actions__=wn(r.__actions__),i.__index__=r.__index__,i.__values__=r.__values__,i}function sw(r,i,u){(u?mn(r,i,u):i===n)?i=1:i=Ht(Be(i),0);var f=r==null?0:r.length;if(!f||i<1)return[];for(var _=0,y=0,T=W(rl(f/i));_<f;)T[y++]=Xn(r,_,_+=i);return T}function aw(r){for(var i=-1,u=r==null?0:r.length,f=0,_=[];++i<u;){var y=r[i];y&&(_[f++]=y)}return _}function lw(){var r=arguments.length;if(!r)return[];for(var i=W(r-1),u=arguments[0],f=r;f--;)i[f-1]=arguments[f];return ho(De(u)?wn(u):[u],Jt(i,1))}var uw=Ue(function(r,i){return Nt(r)?Ms(r,Jt(i,1,Nt,!0)):[]}),cw=Ue(function(r,i){var u=Jn(i);return Nt(u)&&(u=n),Nt(r)?Ms(r,Jt(i,1,Nt,!0),Ee(u,2)):[]}),fw=Ue(function(r,i){var u=Jn(i);return Nt(u)&&(u=n),Nt(r)?Ms(r,Jt(i,1,Nt,!0),n,u):[]});function dw(r,i,u){var f=r==null?0:r.length;return f?(i=u||i===n?1:Be(i),Xn(r,i<0?0:i,f)):[]}function hw(r,i,u){var f=r==null?0:r.length;return f?(i=u||i===n?1:Be(i),i=f-i,Xn(r,0,i<0?0:i)):[]}function mw(r,i){return r&&r.length?hl(r,Ee(i,3),!0,!0):[]}function pw(r,i){return r&&r.length?hl(r,Ee(i,3),!0):[]}function gw(r,i,u,f){var _=r==null?0:r.length;return _?(u&&typeof u!="number"&&mn(r,i,u)&&(u=0,f=_),l0(r,i,u,f)):[]}function Lp(r,i,u){var f=r==null?0:r.length;if(!f)return-1;var _=u==null?0:Be(u);return _<0&&(_=Ht(f+_,0)),Ya(r,Ee(i,3),_)}function Ip(r,i,u){var f=r==null?0:r.length;if(!f)return-1;var _=f-1;return u!==n&&(_=Be(u),_=u<0?Ht(f+_,0):an(_,f-1)),Ya(r,Ee(i,3),_,!0)}function Op(r){var i=r==null?0:r.length;return i?Jt(r,1):[]}function _w(r){var i=r==null?0:r.length;return i?Jt(r,ge):[]}function Ew(r,i){var u=r==null?0:r.length;return u?(i=i===n?1:Be(i),Jt(r,i)):[]}function vw(r){for(var i=-1,u=r==null?0:r.length,f={};++i<u;){var _=r[i];f[_[0]]=_[1]}return f}function Rp(r){return r&&r.length?r[0]:n}function yw(r,i,u){var f=r==null?0:r.length;if(!f)return-1;var _=u==null?0:Be(u);return _<0&&(_=Ht(f+_,0)),yi(r,i,_)}function bw(r){var i=r==null?0:r.length;return i?Xn(r,0,-1):[]}var Cw=Ue(function(r){var i=Ct(r,Hc);return i.length&&i[0]===r[0]?Rc(i):[]}),Tw=Ue(function(r){var i=Jn(r),u=Ct(r,Hc);return i===Jn(u)?i=n:u.pop(),u.length&&u[0]===r[0]?Rc(u,Ee(i,2)):[]}),ww=Ue(function(r){var i=Jn(r),u=Ct(r,Hc);return i=typeof i=="function"?i:n,i&&u.pop(),u.length&&u[0]===r[0]?Rc(u,n,i):[]});function Aw(r,i){return r==null?"":bT.call(r,i)}function Jn(r){var i=r==null?0:r.length;return i?r[i-1]:n}function Sw(r,i,u){var f=r==null?0:r.length;if(!f)return-1;var _=f;return u!==n&&(_=Be(u),_=_<0?Ht(f+_,0):an(_,f-1)),i===i?iT(r,i,_):Ya(r,fm,_,!0)}function xw(r,i){return r&&r.length?Um(r,Be(i)):n}var Lw=Ue(Pp);function Pp(r,i){return r&&r.length&&i&&i.length?Mc(r,i):r}function Iw(r,i,u){return r&&r.length&&i&&i.length?Mc(r,i,Ee(u,2)):r}function Ow(r,i,u){return r&&r.length&&i&&i.length?Mc(r,i,n,u):r}var Rw=Gr(function(r,i){var u=r==null?0:r.length,f=xc(r,i);return jm(r,Ct(i,function(_){return jr(_,u)?+_:_}).sort(tp)),f});function Pw(r,i){var u=[];if(!(r&&r.length))return u;var f=-1,_=[],y=r.length;for(i=Ee(i,3);++f<y;){var T=r[f];i(T,f,r)&&(u.push(T),_.push(f))}return jm(r,_),u}function tf(r){return r==null?r:AT.call(r)}function Nw(r,i,u){var f=r==null?0:r.length;return f?(u&&typeof u!="number"&&mn(r,i,u)?(i=0,u=f):(i=i==null?0:Be(i),u=u===n?f:Be(u)),Xn(r,i,u)):[]}function Dw(r,i){return dl(r,i)}function Mw(r,i,u){return Fc(r,i,Ee(u,2))}function Bw(r,i){var u=r==null?0:r.length;if(u){var f=dl(r,i);if(f<u&&dr(r[f],i))return f}return-1}function kw(r,i){return dl(r,i,!0)}function Fw(r,i,u){return Fc(r,i,Ee(u,2),!0)}function $w(r,i){var u=r==null?0:r.length;if(u){var f=dl(r,i,!0)-1;if(dr(r[f],i))return f}return-1}function Ww(r){return r&&r.length?Km(r):[]}function Hw(r,i){return r&&r.length?Km(r,Ee(i,2)):[]}function Uw(r){var i=r==null?0:r.length;return i?Xn(r,1,i):[]}function Vw(r,i,u){return r&&r.length?(i=u||i===n?1:Be(i),Xn(r,0,i<0?0:i)):[]}function Gw(r,i,u){var f=r==null?0:r.length;return f?(i=u||i===n?1:Be(i),i=f-i,Xn(r,i<0?0:i,f)):[]}function jw(r,i){return r&&r.length?hl(r,Ee(i,3),!1,!0):[]}function Yw(r,i){return r&&r.length?hl(r,Ee(i,3)):[]}var Kw=Ue(function(r){return _o(Jt(r,1,Nt,!0))}),zw=Ue(function(r){var i=Jn(r);return Nt(i)&&(i=n),_o(Jt(r,1,Nt,!0),Ee(i,2))}),qw=Ue(function(r){var i=Jn(r);return i=typeof i=="function"?i:n,_o(Jt(r,1,Nt,!0),n,i)});function Xw(r){return r&&r.length?_o(r):[]}function Jw(r,i){return r&&r.length?_o(r,Ee(i,2)):[]}function Zw(r,i){return i=typeof i=="function"?i:n,r&&r.length?_o(r,n,i):[]}function nf(r){if(!(r&&r.length))return[];var i=0;return r=fo(r,function(u){if(Nt(u))return i=Ht(u.length,i),!0}),vc(i,function(u){return Ct(r,gc(u))})}function Np(r,i){if(!(r&&r.length))return[];var u=nf(r);return i==null?u:Ct(u,function(f){return Pn(i,n,f)})}var Qw=Ue(function(r,i){return Nt(r)?Ms(r,i):[]}),eA=Ue(function(r){return Wc(fo(r,Nt))}),tA=Ue(function(r){var i=Jn(r);return Nt(i)&&(i=n),Wc(fo(r,Nt),Ee(i,2))}),nA=Ue(function(r){var i=Jn(r);return i=typeof i=="function"?i:n,Wc(fo(r,Nt),n,i)}),rA=Ue(nf);function oA(r,i){return Jm(r||[],i||[],Ds)}function iA(r,i){return Jm(r||[],i||[],Fs)}var sA=Ue(function(r){var i=r.length,u=i>1?r[i-1]:n;return u=typeof u=="function"?(r.pop(),u):n,Np(r,u)});function Dp(r){var i=v(r);return i.__chain__=!0,i}function aA(r,i){return i(r),r}function Cl(r,i){return i(r)}var lA=Gr(function(r){var i=r.length,u=i?r[0]:0,f=this.__wrapped__,_=function(y){return xc(y,r)};return i>1||this.__actions__.length||!(f instanceof Ye)||!jr(u)?this.thru(_):(f=f.slice(u,+u+(i?1:0)),f.__actions__.push({func:Cl,args:[_],thisArg:n}),new zn(f,this.__chain__).thru(function(y){return i&&!y.length&&y.push(n),y}))});function uA(){return Dp(this)}function cA(){return new zn(this.value(),this.__chain__)}function fA(){this.__values__===n&&(this.__values__=zp(this.value()));var r=this.__index__>=this.__values__.length,i=r?n:this.__values__[this.__index__++];return{done:r,value:i}}function dA(){return this}function hA(r){for(var i,u=this;u instanceof al;){var f=xp(u);f.__index__=0,f.__values__=n,i?_.__wrapped__=f:i=f;var _=f;u=u.__wrapped__}return _.__wrapped__=r,i}function mA(){var r=this.__wrapped__;if(r instanceof Ye){var i=r;return this.__actions__.length&&(i=new Ye(this)),i=i.reverse(),i.__actions__.push({func:Cl,args:[tf],thisArg:n}),new zn(i,this.__chain__)}return this.thru(tf)}function pA(){return Xm(this.__wrapped__,this.__actions__)}var gA=ml(function(r,i,u){rt.call(r,u)?++r[u]:Ur(r,u,1)});function _A(r,i,u){var f=De(r)?um:a0;return u&&mn(r,i,u)&&(i=n),f(r,Ee(i,3))}function EA(r,i){var u=De(r)?fo:Nm;return u(r,Ee(i,3))}var vA=ap(Lp),yA=ap(Ip);function bA(r,i){return Jt(Tl(r,i),1)}function CA(r,i){return Jt(Tl(r,i),ge)}function TA(r,i,u){return u=u===n?1:Be(u),Jt(Tl(r,i),u)}function Mp(r,i){var u=De(r)?Yn:go;return u(r,Ee(i,3))}function Bp(r,i){var u=De(r)?UC:Pm;return u(r,Ee(i,3))}var wA=ml(function(r,i,u){rt.call(r,u)?r[u].push(i):Ur(r,u,[i])});function AA(r,i,u,f){r=An(r)?r:Pi(r),u=u&&!f?Be(u):0;var _=r.length;return u<0&&(u=Ht(_+u,0)),Ll(r)?u<=_&&r.indexOf(i,u)>-1:!!_&&yi(r,i,u)>-1}var SA=Ue(function(r,i,u){var f=-1,_=typeof i=="function",y=An(r)?W(r.length):[];return go(r,function(T){y[++f]=_?Pn(i,T,u):Bs(T,i,u)}),y}),xA=ml(function(r,i,u){Ur(r,u,i)});function Tl(r,i){var u=De(r)?Ct:$m;return u(r,Ee(i,3))}function LA(r,i,u,f){return r==null?[]:(De(i)||(i=i==null?[]:[i]),u=f?n:u,De(u)||(u=u==null?[]:[u]),Vm(r,i,u))}var IA=ml(function(r,i,u){r[u?0:1].push(i)},function(){return[[],[]]});function OA(r,i,u){var f=De(r)?mc:hm,_=arguments.length<3;return f(r,Ee(i,4),u,_,go)}function RA(r,i,u){var f=De(r)?VC:hm,_=arguments.length<3;return f(r,Ee(i,4),u,_,Pm)}function PA(r,i){var u=De(r)?fo:Nm;return u(r,Sl(Ee(i,3)))}function NA(r){var i=De(r)?Lm:A0;return i(r)}function DA(r,i,u){(u?mn(r,i,u):i===n)?i=1:i=Be(i);var f=De(r)?n0:S0;return f(r,i)}function MA(r){var i=De(r)?r0:L0;return i(r)}function BA(r){if(r==null)return 0;if(An(r))return Ll(r)?Ci(r):r.length;var i=ln(r);return i==h||i==J?r.size:Nc(r).length}function kA(r,i,u){var f=De(r)?pc:I0;return u&&mn(r,i,u)&&(i=n),f(r,Ee(i,3))}var FA=Ue(function(r,i){if(r==null)return[];var u=i.length;return u>1&&mn(r,i[0],i[1])?i=[]:u>2&&mn(i[0],i[1],i[2])&&(i=[i[0]]),Vm(r,Jt(i,1),[])}),wl=ET||function(){return Xt.Date.now()};function $A(r,i){if(typeof i!="function")throw new Kn(l);return r=Be(r),function(){if(--r<1)return i.apply(this,arguments)}}function kp(r,i,u){return i=u?n:i,i=r&&i==null?r.length:i,Vr(r,U,n,n,n,n,i)}function Fp(r,i){var u;if(typeof i!="function")throw new Kn(l);return r=Be(r),function(){return--r>0&&(u=i.apply(this,arguments)),r<=1&&(i=n),u}}var rf=Ue(function(r,i,u){var f=F;if(u.length){var _=mo(u,Oi(rf));f|=H}return Vr(r,f,i,u,_)}),$p=Ue(function(r,i,u){var f=F|A;if(u.length){var _=mo(u,Oi($p));f|=H}return Vr(i,f,r,u,_)});function Wp(r,i,u){i=u?n:i;var f=Vr(r,$,n,n,n,n,n,i);return f.placeholder=Wp.placeholder,f}function Hp(r,i,u){i=u?n:i;var f=Vr(r,S,n,n,n,n,n,i);return f.placeholder=Hp.placeholder,f}function Up(r,i,u){var f,_,y,T,L,P,Y=0,K=!1,X=!1,se=!0;if(typeof r!="function")throw new Kn(l);i=Zn(i)||0,At(u)&&(K=!!u.leading,X="maxWait"in u,y=X?Ht(Zn(u.maxWait)||0,i):y,se="trailing"in u?!!u.trailing:se);function me(Dt){var hr=f,zr=_;return f=_=n,Y=Dt,T=r.apply(zr,hr),T}function ve(Dt){return Y=Dt,L=Hs(Ge,i),K?me(Dt):T}function $e(Dt){var hr=Dt-P,zr=Dt-Y,ag=i-hr;return X?an(ag,y-zr):ag}function ye(Dt){var hr=Dt-P,zr=Dt-Y;return P===n||hr>=i||hr<0||X&&zr>=y}function Ge(){var Dt=wl();if(ye(Dt))return ze(Dt);L=Hs(Ge,$e(Dt))}function ze(Dt){return L=n,se&&f?me(Dt):(f=_=n,T)}function Bn(){L!==n&&Zm(L),Y=0,f=P=_=L=n}function pn(){return L===n?T:ze(wl())}function kn(){var Dt=wl(),hr=ye(Dt);if(f=arguments,_=this,P=Dt,hr){if(L===n)return ve(P);if(X)return Zm(L),L=Hs(Ge,i),me(P)}return L===n&&(L=Hs(Ge,i)),T}return kn.cancel=Bn,kn.flush=pn,kn}var WA=Ue(function(r,i){return Rm(r,1,i)}),HA=Ue(function(r,i,u){return Rm(r,Zn(i)||0,u)});function UA(r){return Vr(r,ce)}function Al(r,i){if(typeof r!="function"||i!=null&&typeof i!="function")throw new Kn(l);var u=function(){var f=arguments,_=i?i.apply(this,f):f[0],y=u.cache;if(y.has(_))return y.get(_);var T=r.apply(this,f);return u.cache=y.set(_,T)||y,T};return u.cache=new(Al.Cache||Hr),u}Al.Cache=Hr;function Sl(r){if(typeof r!="function")throw new Kn(l);return function(){var i=arguments;switch(i.length){case 0:return!r.call(this);case 1:return!r.call(this,i[0]);case 2:return!r.call(this,i[0],i[1]);case 3:return!r.call(this,i[0],i[1],i[2])}return!r.apply(this,i)}}function VA(r){return Fp(2,r)}var GA=O0(function(r,i){i=i.length==1&&De(i[0])?Ct(i[0],Nn(Ee())):Ct(Jt(i,1),Nn(Ee()));var u=i.length;return Ue(function(f){for(var _=-1,y=an(f.length,u);++_<y;)f[_]=i[_].call(this,f[_]);return Pn(r,this,f)})}),of=Ue(function(r,i){var u=mo(i,Oi(of));return Vr(r,H,n,i,u)}),Vp=Ue(function(r,i){var u=mo(i,Oi(Vp));return Vr(r,G,n,i,u)}),jA=Gr(function(r,i){return Vr(r,le,n,n,n,i)});function YA(r,i){if(typeof r!="function")throw new Kn(l);return i=i===n?i:Be(i),Ue(r,i)}function KA(r,i){if(typeof r!="function")throw new Kn(l);return i=i==null?0:Ht(Be(i),0),Ue(function(u){var f=u[i],_=vo(u,0,i);return f&&ho(_,f),Pn(r,this,_)})}function zA(r,i,u){var f=!0,_=!0;if(typeof r!="function")throw new Kn(l);return At(u)&&(f="leading"in u?!!u.leading:f,_="trailing"in u?!!u.trailing:_),Up(r,i,{leading:f,maxWait:i,trailing:_})}function qA(r){return kp(r,1)}function XA(r,i){return of(Uc(i),r)}function JA(){if(!arguments.length)return[];var r=arguments[0];return De(r)?r:[r]}function ZA(r){return qn(r,w)}function QA(r,i){return i=typeof i=="function"?i:n,qn(r,w,i)}function eS(r){return qn(r,E|w)}function tS(r,i){return i=typeof i=="function"?i:n,qn(r,E|w,i)}function nS(r,i){return i==null||Om(r,i,Yt(i))}function dr(r,i){return r===i||r!==r&&i!==i}var rS=El(Oc),oS=El(function(r,i){return r>=i}),Zo=Bm(function(){return arguments}())?Bm:function(r){return xt(r)&&rt.call(r,"callee")&&!Cm.call(r,"callee")},De=W.isArray,iS=rm?Nn(rm):h0;function An(r){return r!=null&&xl(r.length)&&!Yr(r)}function Nt(r){return xt(r)&&An(r)}function sS(r){return r===!0||r===!1||xt(r)&&hn(r)==nt}var yo=yT||gf,aS=om?Nn(om):m0;function lS(r){return xt(r)&&r.nodeType===1&&!Us(r)}function uS(r){if(r==null)return!0;if(An(r)&&(De(r)||typeof r=="string"||typeof r.splice=="function"||yo(r)||Ri(r)||Zo(r)))return!r.length;var i=ln(r);if(i==h||i==J)return!r.size;if(Ws(r))return!Nc(r).length;for(var u in r)if(rt.call(r,u))return!1;return!0}function cS(r,i){return ks(r,i)}function fS(r,i,u){u=typeof u=="function"?u:n;var f=u?u(r,i):n;return f===n?ks(r,i,n,u):!!f}function sf(r){if(!xt(r))return!1;var i=hn(r);return i==lt||i==St||typeof r.message=="string"&&typeof r.name=="string"&&!Us(r)}function dS(r){return typeof r=="number"&&wm(r)}function Yr(r){if(!At(r))return!1;var i=hn(r);return i==Ft||i==g||i==kt||i==ee}function Gp(r){return typeof r=="number"&&r==Be(r)}function xl(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Te}function At(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}function xt(r){return r!=null&&typeof r=="object"}var jp=im?Nn(im):g0;function hS(r,i){return r===i||Pc(r,i,qc(i))}function mS(r,i,u){return u=typeof u=="function"?u:n,Pc(r,i,qc(i),u)}function pS(r){return Yp(r)&&r!=+r}function gS(r){if(Q0(r))throw new Ie(a);return km(r)}function _S(r){return r===null}function ES(r){return r==null}function Yp(r){return typeof r=="number"||xt(r)&&hn(r)==b}function Us(r){if(!xt(r)||hn(r)!=M)return!1;var i=el(r);if(i===null)return!0;var u=rt.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&Xa.call(u)==mT}var af=sm?Nn(sm):_0;function vS(r){return Gp(r)&&r>=-Te&&r<=Te}var Kp=am?Nn(am):E0;function Ll(r){return typeof r=="string"||!De(r)&&xt(r)&&hn(r)==z}function Mn(r){return typeof r=="symbol"||xt(r)&&hn(r)==ne}var Ri=lm?Nn(lm):v0;function yS(r){return r===n}function bS(r){return xt(r)&&ln(r)==k}function CS(r){return xt(r)&&hn(r)==re}var TS=El(Dc),wS=El(function(r,i){return r<=i});function zp(r){if(!r)return[];if(An(r))return Ll(r)?cr(r):wn(r);if(Is&&r[Is])return nT(r[Is]());var i=ln(r),u=i==h?bc:i==J?Ka:Pi;return u(r)}function Kr(r){if(!r)return r===0?r:0;if(r=Zn(r),r===ge||r===-ge){var i=r<0?-1:1;return i*qe}return r===r?r:0}function Be(r){var i=Kr(r),u=i%1;return i===i?u?i-u:i:0}function qp(r){return r?zo(Be(r),0,Je):0}function Zn(r){if(typeof r=="number")return r;if(Mn(r))return Fe;if(At(r)){var i=typeof r.valueOf=="function"?r.valueOf():r;r=At(i)?i+"":i}if(typeof r!="string")return r===0?r:+r;r=mm(r);var u=pe.test(r);return u||te.test(r)?$C(r.slice(2),u?2:8):ic.test(r)?Fe:+r}function Xp(r){return wr(r,Sn(r))}function AS(r){return r?zo(Be(r),-Te,Te):r===0?r:0}function Qe(r){return r==null?"":Dn(r)}var SS=Li(function(r,i){if(Ws(i)||An(i)){wr(i,Yt(i),r);return}for(var u in i)rt.call(i,u)&&Ds(r,u,i[u])}),Jp=Li(function(r,i){wr(i,Sn(i),r)}),Il=Li(function(r,i,u,f){wr(i,Sn(i),r,f)}),xS=Li(function(r,i,u,f){wr(i,Yt(i),r,f)}),LS=Gr(xc);function IS(r,i){var u=xi(r);return i==null?u:Im(u,i)}var OS=Ue(function(r,i){r=dt(r);var u=-1,f=i.length,_=f>2?i[2]:n;for(_&&mn(i[0],i[1],_)&&(f=1);++u<f;)for(var y=i[u],T=Sn(y),L=-1,P=T.length;++L<P;){var Y=T[L],K=r[Y];(K===n||dr(K,wi[Y])&&!rt.call(r,Y))&&(r[Y]=y[Y])}return r}),RS=Ue(function(r){return r.push(n,mp),Pn(Zp,n,r)});function PS(r,i){return cm(r,Ee(i,3),Tr)}function NS(r,i){return cm(r,Ee(i,3),Ic)}function DS(r,i){return r==null?r:Lc(r,Ee(i,3),Sn)}function MS(r,i){return r==null?r:Dm(r,Ee(i,3),Sn)}function BS(r,i){return r&&Tr(r,Ee(i,3))}function kS(r,i){return r&&Ic(r,Ee(i,3))}function FS(r){return r==null?[]:cl(r,Yt(r))}function $S(r){return r==null?[]:cl(r,Sn(r))}function lf(r,i,u){var f=r==null?n:qo(r,i);return f===n?u:f}function WS(r,i){return r!=null&&_p(r,i,u0)}function uf(r,i){return r!=null&&_p(r,i,c0)}var HS=up(function(r,i,u){i!=null&&typeof i.toString!="function"&&(i=Ja.call(i)),r[i]=u},ff(xn)),US=up(function(r,i,u){i!=null&&typeof i.toString!="function"&&(i=Ja.call(i)),rt.call(r,i)?r[i].push(u):r[i]=[u]},Ee),VS=Ue(Bs);function Yt(r){return An(r)?xm(r):Nc(r)}function Sn(r){return An(r)?xm(r,!0):y0(r)}function GS(r,i){var u={};return i=Ee(i,3),Tr(r,function(f,_,y){Ur(u,i(f,_,y),f)}),u}function jS(r,i){var u={};return i=Ee(i,3),Tr(r,function(f,_,y){Ur(u,_,i(f,_,y))}),u}var YS=Li(function(r,i,u){fl(r,i,u)}),Zp=Li(function(r,i,u,f){fl(r,i,u,f)}),KS=Gr(function(r,i){var u={};if(r==null)return u;var f=!1;i=Ct(i,function(y){return y=Eo(y,r),f||(f=y.length>1),y}),wr(r,Kc(r),u),f&&(u=qn(u,E|C|w,H0));for(var _=i.length;_--;)$c(u,i[_]);return u});function zS(r,i){return Qp(r,Sl(Ee(i)))}var qS=Gr(function(r,i){return r==null?{}:C0(r,i)});function Qp(r,i){if(r==null)return{};var u=Ct(Kc(r),function(f){return[f]});return i=Ee(i),Gm(r,u,function(f,_){return i(f,_[0])})}function XS(r,i,u){i=Eo(i,r);var f=-1,_=i.length;for(_||(_=1,r=n);++f<_;){var y=r==null?n:r[Ar(i[f])];y===n&&(f=_,y=u),r=Yr(y)?y.call(r):y}return r}function JS(r,i,u){return r==null?r:Fs(r,i,u)}function ZS(r,i,u,f){return f=typeof f=="function"?f:n,r==null?r:Fs(r,i,u,f)}var eg=dp(Yt),tg=dp(Sn);function QS(r,i,u){var f=De(r),_=f||yo(r)||Ri(r);if(i=Ee(i,4),u==null){var y=r&&r.constructor;_?u=f?new y:[]:At(r)?u=Yr(y)?xi(el(r)):{}:u={}}return(_?Yn:Tr)(r,function(T,L,P){return i(u,T,L,P)}),u}function ex(r,i){return r==null?!0:$c(r,i)}function tx(r,i,u){return r==null?r:qm(r,i,Uc(u))}function nx(r,i,u,f){return f=typeof f=="function"?f:n,r==null?r:qm(r,i,Uc(u),f)}function Pi(r){return r==null?[]:yc(r,Yt(r))}function rx(r){return r==null?[]:yc(r,Sn(r))}function ox(r,i,u){return u===n&&(u=i,i=n),u!==n&&(u=Zn(u),u=u===u?u:0),i!==n&&(i=Zn(i),i=i===i?i:0),zo(Zn(r),i,u)}function ix(r,i,u){return i=Kr(i),u===n?(u=i,i=0):u=Kr(u),r=Zn(r),f0(r,i,u)}function sx(r,i,u){if(u&&typeof u!="boolean"&&mn(r,i,u)&&(i=u=n),u===n&&(typeof i=="boolean"?(u=i,i=n):typeof r=="boolean"&&(u=r,r=n)),r===n&&i===n?(r=0,i=1):(r=Kr(r),i===n?(i=r,r=0):i=Kr(i)),r>i){var f=r;r=i,i=f}if(u||r%1||i%1){var _=Am();return an(r+_*(i-r+FC("1e-"+((_+"").length-1))),i)}return Bc(r,i)}var ax=Ii(function(r,i,u){return i=i.toLowerCase(),r+(u?ng(i):i)});function ng(r){return cf(Qe(r).toLowerCase())}function rg(r){return r=Qe(r),r&&r.replace(st,JC).replace(LC,"")}function lx(r,i,u){r=Qe(r),i=Dn(i);var f=r.length;u=u===n?f:zo(Be(u),0,f);var _=u;return u-=i.length,u>=0&&r.slice(u,_)==i}function ux(r){return r=Qe(r),r&&Da.test(r)?r.replace(Fr,ZC):r}function cx(r){return r=Qe(r),r&&lr.test(r)?r.replace(ws,"\\$&"):r}var fx=Ii(function(r,i,u){return r+(u?"-":"")+i.toLowerCase()}),dx=Ii(function(r,i,u){return r+(u?" ":"")+i.toLowerCase()}),hx=sp("toLowerCase");function mx(r,i,u){r=Qe(r),i=Be(i);var f=i?Ci(r):0;if(!i||f>=i)return r;var _=(i-f)/2;return _l(ol(_),u)+r+_l(rl(_),u)}function px(r,i,u){r=Qe(r),i=Be(i);var f=i?Ci(r):0;return i&&f<i?r+_l(i-f,u):r}function gx(r,i,u){r=Qe(r),i=Be(i);var f=i?Ci(r):0;return i&&f<i?_l(i-f,u)+r:r}function _x(r,i,u){return u||i==null?i=0:i&&(i=+i),wT(Qe(r).replace(Uo,""),i||0)}function Ex(r,i,u){return(u?mn(r,i,u):i===n)?i=1:i=Be(i),kc(Qe(r),i)}function vx(){var r=arguments,i=Qe(r[0]);return r.length<3?i:i.replace(r[1],r[2])}var yx=Ii(function(r,i,u){return r+(u?"_":"")+i.toLowerCase()});function bx(r,i,u){return u&&typeof u!="number"&&mn(r,i,u)&&(i=u=n),u=u===n?Je:u>>>0,u?(r=Qe(r),r&&(typeof i=="string"||i!=null&&!af(i))&&(i=Dn(i),!i&&bi(r))?vo(cr(r),0,u):r.split(i,u)):[]}var Cx=Ii(function(r,i,u){return r+(u?" ":"")+cf(i)});function Tx(r,i,u){return r=Qe(r),u=u==null?0:zo(Be(u),0,r.length),i=Dn(i),r.slice(u,u+i.length)==i}function wx(r,i,u){var f=v.templateSettings;u&&mn(r,i,u)&&(i=n),r=Qe(r),i=Il({},i,f,hp);var _=Il({},i.imports,f.imports,hp),y=Yt(_),T=yc(_,y),L,P,Y=0,K=i.interpolate||Pt,X="__p += '",se=Cc((i.escape||Pt).source+"|"+K.source+"|"+(K===Ts?Va:Pt).source+"|"+(i.evaluate||Pt).source+"|$","g"),me="//# sourceURL="+(rt.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++NC+"]")+`
|
|
65
|
+
`;r.replace(se,function(ye,Ge,ze,Bn,pn,kn){return ze||(ze=Bn),X+=r.slice(Y,kn).replace(jt,QC),Ge&&(L=!0,X+=`' +
|
|
66
|
+
__e(`+Ge+`) +
|
|
67
|
+
'`),pn&&(P=!0,X+=`';
|
|
68
|
+
`+pn+`;
|
|
69
|
+
__p += '`),ze&&(X+=`' +
|
|
70
|
+
((__t = (`+ze+`)) == null ? '' : __t) +
|
|
71
|
+
'`),Y=kn+ye.length,ye}),X+=`';
|
|
72
|
+
`;var ve=rt.call(i,"variable")&&i.variable;if(!ve)X=`with (obj) {
|
|
73
|
+
`+X+`
|
|
74
|
+
}
|
|
75
|
+
`;else if(Ha.test(ve))throw new Ie(c);X=(P?X.replace(Cr,""):X).replace(ec,"$1").replace(tc,"$1;"),X="function("+(ve||"obj")+`) {
|
|
76
|
+
`+(ve?"":`obj || (obj = {});
|
|
77
|
+
`)+"var __t, __p = ''"+(L?", __e = _.escape":"")+(P?`, __j = Array.prototype.join;
|
|
78
|
+
function print() { __p += __j.call(arguments, '') }
|
|
79
|
+
`:`;
|
|
80
|
+
`)+X+`return __p
|
|
81
|
+
}`;var $e=ig(function(){return Ze(y,me+"return "+X).apply(n,T)});if($e.source=X,sf($e))throw $e;return $e}function Ax(r){return Qe(r).toLowerCase()}function Sx(r){return Qe(r).toUpperCase()}function xx(r,i,u){if(r=Qe(r),r&&(u||i===n))return mm(r);if(!r||!(i=Dn(i)))return r;var f=cr(r),_=cr(i),y=pm(f,_),T=gm(f,_)+1;return vo(f,y,T).join("")}function Lx(r,i,u){if(r=Qe(r),r&&(u||i===n))return r.slice(0,Em(r)+1);if(!r||!(i=Dn(i)))return r;var f=cr(r),_=gm(f,cr(i))+1;return vo(f,0,_).join("")}function Ix(r,i,u){if(r=Qe(r),r&&(u||i===n))return r.replace(Uo,"");if(!r||!(i=Dn(i)))return r;var f=cr(r),_=pm(f,cr(i));return vo(f,_).join("")}function Ox(r,i){var u=de,f=Pe;if(At(i)){var _="separator"in i?i.separator:_;u="length"in i?Be(i.length):u,f="omission"in i?Dn(i.omission):f}r=Qe(r);var y=r.length;if(bi(r)){var T=cr(r);y=T.length}if(u>=y)return r;var L=u-Ci(f);if(L<1)return f;var P=T?vo(T,0,L).join(""):r.slice(0,L);if(_===n)return P+f;if(T&&(L+=P.length-L),af(_)){if(r.slice(L).search(_)){var Y,K=P;for(_.global||(_=Cc(_.source,Qe(As.exec(_))+"g")),_.lastIndex=0;Y=_.exec(K);)var X=Y.index;P=P.slice(0,X===n?L:X)}}else if(r.indexOf(Dn(_),L)!=L){var se=P.lastIndexOf(_);se>-1&&(P=P.slice(0,se))}return P+f}function Rx(r){return r=Qe(r),r&&nc.test(r)?r.replace(Rt,sT):r}var Px=Ii(function(r,i,u){return r+(u?" ":"")+i.toUpperCase()}),cf=sp("toUpperCase");function og(r,i,u){return r=Qe(r),i=u?n:i,i===n?tT(r)?uT(r):YC(r):r.match(i)||[]}var ig=Ue(function(r,i){try{return Pn(r,n,i)}catch(u){return sf(u)?u:new Ie(u)}}),Nx=Gr(function(r,i){return Yn(i,function(u){u=Ar(u),Ur(r,u,rf(r[u],r))}),r});function Dx(r){var i=r==null?0:r.length,u=Ee();return r=i?Ct(r,function(f){if(typeof f[1]!="function")throw new Kn(l);return[u(f[0]),f[1]]}):[],Ue(function(f){for(var _=-1;++_<i;){var y=r[_];if(Pn(y[0],this,f))return Pn(y[1],this,f)}})}function Mx(r){return s0(qn(r,E))}function ff(r){return function(){return r}}function Bx(r,i){return r==null||r!==r?i:r}var kx=lp(),Fx=lp(!0);function xn(r){return r}function df(r){return Fm(typeof r=="function"?r:qn(r,E))}function $x(r){return Wm(qn(r,E))}function Wx(r,i){return Hm(r,qn(i,E))}var Hx=Ue(function(r,i){return function(u){return Bs(u,r,i)}}),Ux=Ue(function(r,i){return function(u){return Bs(r,u,i)}});function hf(r,i,u){var f=Yt(i),_=cl(i,f);u==null&&!(At(i)&&(_.length||!f.length))&&(u=i,i=r,r=this,_=cl(i,Yt(i)));var y=!(At(u)&&"chain"in u)||!!u.chain,T=Yr(r);return Yn(_,function(L){var P=i[L];r[L]=P,T&&(r.prototype[L]=function(){var Y=this.__chain__;if(y||Y){var K=r(this.__wrapped__),X=K.__actions__=wn(this.__actions__);return X.push({func:P,args:arguments,thisArg:r}),K.__chain__=Y,K}return P.apply(r,ho([this.value()],arguments))})}),r}function Vx(){return Xt._===this&&(Xt._=pT),this}function mf(){}function Gx(r){return r=Be(r),Ue(function(i){return Um(i,r)})}var jx=Gc(Ct),Yx=Gc(um),Kx=Gc(pc);function sg(r){return Jc(r)?gc(Ar(r)):T0(r)}function zx(r){return function(i){return r==null?n:qo(r,i)}}var qx=cp(),Xx=cp(!0);function pf(){return[]}function gf(){return!1}function Jx(){return{}}function Zx(){return""}function Qx(){return!0}function e1(r,i){if(r=Be(r),r<1||r>Te)return[];var u=Je,f=an(r,Je);i=Ee(i),r-=Je;for(var _=vc(f,i);++u<r;)i(u);return _}function t1(r){return De(r)?Ct(r,Ar):Mn(r)?[r]:wn(Sp(Qe(r)))}function n1(r){var i=++hT;return Qe(r)+i}var r1=gl(function(r,i){return r+i},0),o1=jc("ceil"),i1=gl(function(r,i){return r/i},1),s1=jc("floor");function a1(r){return r&&r.length?ul(r,xn,Oc):n}function l1(r,i){return r&&r.length?ul(r,Ee(i,2),Oc):n}function u1(r){return dm(r,xn)}function c1(r,i){return dm(r,Ee(i,2))}function f1(r){return r&&r.length?ul(r,xn,Dc):n}function d1(r,i){return r&&r.length?ul(r,Ee(i,2),Dc):n}var h1=gl(function(r,i){return r*i},1),m1=jc("round"),p1=gl(function(r,i){return r-i},0);function g1(r){return r&&r.length?Ec(r,xn):0}function _1(r,i){return r&&r.length?Ec(r,Ee(i,2)):0}return v.after=$A,v.ary=kp,v.assign=SS,v.assignIn=Jp,v.assignInWith=Il,v.assignWith=xS,v.at=LS,v.before=Fp,v.bind=rf,v.bindAll=Nx,v.bindKey=$p,v.castArray=JA,v.chain=Dp,v.chunk=sw,v.compact=aw,v.concat=lw,v.cond=Dx,v.conforms=Mx,v.constant=ff,v.countBy=gA,v.create=IS,v.curry=Wp,v.curryRight=Hp,v.debounce=Up,v.defaults=OS,v.defaultsDeep=RS,v.defer=WA,v.delay=HA,v.difference=uw,v.differenceBy=cw,v.differenceWith=fw,v.drop=dw,v.dropRight=hw,v.dropRightWhile=mw,v.dropWhile=pw,v.fill=gw,v.filter=EA,v.flatMap=bA,v.flatMapDeep=CA,v.flatMapDepth=TA,v.flatten=Op,v.flattenDeep=_w,v.flattenDepth=Ew,v.flip=UA,v.flow=kx,v.flowRight=Fx,v.fromPairs=vw,v.functions=FS,v.functionsIn=$S,v.groupBy=wA,v.initial=bw,v.intersection=Cw,v.intersectionBy=Tw,v.intersectionWith=ww,v.invert=HS,v.invertBy=US,v.invokeMap=SA,v.iteratee=df,v.keyBy=xA,v.keys=Yt,v.keysIn=Sn,v.map=Tl,v.mapKeys=GS,v.mapValues=jS,v.matches=$x,v.matchesProperty=Wx,v.memoize=Al,v.merge=YS,v.mergeWith=Zp,v.method=Hx,v.methodOf=Ux,v.mixin=hf,v.negate=Sl,v.nthArg=Gx,v.omit=KS,v.omitBy=zS,v.once=VA,v.orderBy=LA,v.over=jx,v.overArgs=GA,v.overEvery=Yx,v.overSome=Kx,v.partial=of,v.partialRight=Vp,v.partition=IA,v.pick=qS,v.pickBy=Qp,v.property=sg,v.propertyOf=zx,v.pull=Lw,v.pullAll=Pp,v.pullAllBy=Iw,v.pullAllWith=Ow,v.pullAt=Rw,v.range=qx,v.rangeRight=Xx,v.rearg=jA,v.reject=PA,v.remove=Pw,v.rest=YA,v.reverse=tf,v.sampleSize=DA,v.set=JS,v.setWith=ZS,v.shuffle=MA,v.slice=Nw,v.sortBy=FA,v.sortedUniq=Ww,v.sortedUniqBy=Hw,v.split=bx,v.spread=KA,v.tail=Uw,v.take=Vw,v.takeRight=Gw,v.takeRightWhile=jw,v.takeWhile=Yw,v.tap=aA,v.throttle=zA,v.thru=Cl,v.toArray=zp,v.toPairs=eg,v.toPairsIn=tg,v.toPath=t1,v.toPlainObject=Xp,v.transform=QS,v.unary=qA,v.union=Kw,v.unionBy=zw,v.unionWith=qw,v.uniq=Xw,v.uniqBy=Jw,v.uniqWith=Zw,v.unset=ex,v.unzip=nf,v.unzipWith=Np,v.update=tx,v.updateWith=nx,v.values=Pi,v.valuesIn=rx,v.without=Qw,v.words=og,v.wrap=XA,v.xor=eA,v.xorBy=tA,v.xorWith=nA,v.zip=rA,v.zipObject=oA,v.zipObjectDeep=iA,v.zipWith=sA,v.entries=eg,v.entriesIn=tg,v.extend=Jp,v.extendWith=Il,hf(v,v),v.add=r1,v.attempt=ig,v.camelCase=ax,v.capitalize=ng,v.ceil=o1,v.clamp=ox,v.clone=ZA,v.cloneDeep=eS,v.cloneDeepWith=tS,v.cloneWith=QA,v.conformsTo=nS,v.deburr=rg,v.defaultTo=Bx,v.divide=i1,v.endsWith=lx,v.eq=dr,v.escape=ux,v.escapeRegExp=cx,v.every=_A,v.find=vA,v.findIndex=Lp,v.findKey=PS,v.findLast=yA,v.findLastIndex=Ip,v.findLastKey=NS,v.floor=s1,v.forEach=Mp,v.forEachRight=Bp,v.forIn=DS,v.forInRight=MS,v.forOwn=BS,v.forOwnRight=kS,v.get=lf,v.gt=rS,v.gte=oS,v.has=WS,v.hasIn=uf,v.head=Rp,v.identity=xn,v.includes=AA,v.indexOf=yw,v.inRange=ix,v.invoke=VS,v.isArguments=Zo,v.isArray=De,v.isArrayBuffer=iS,v.isArrayLike=An,v.isArrayLikeObject=Nt,v.isBoolean=sS,v.isBuffer=yo,v.isDate=aS,v.isElement=lS,v.isEmpty=uS,v.isEqual=cS,v.isEqualWith=fS,v.isError=sf,v.isFinite=dS,v.isFunction=Yr,v.isInteger=Gp,v.isLength=xl,v.isMap=jp,v.isMatch=hS,v.isMatchWith=mS,v.isNaN=pS,v.isNative=gS,v.isNil=ES,v.isNull=_S,v.isNumber=Yp,v.isObject=At,v.isObjectLike=xt,v.isPlainObject=Us,v.isRegExp=af,v.isSafeInteger=vS,v.isSet=Kp,v.isString=Ll,v.isSymbol=Mn,v.isTypedArray=Ri,v.isUndefined=yS,v.isWeakMap=bS,v.isWeakSet=CS,v.join=Aw,v.kebabCase=fx,v.last=Jn,v.lastIndexOf=Sw,v.lowerCase=dx,v.lowerFirst=hx,v.lt=TS,v.lte=wS,v.max=a1,v.maxBy=l1,v.mean=u1,v.meanBy=c1,v.min=f1,v.minBy=d1,v.stubArray=pf,v.stubFalse=gf,v.stubObject=Jx,v.stubString=Zx,v.stubTrue=Qx,v.multiply=h1,v.nth=xw,v.noConflict=Vx,v.noop=mf,v.now=wl,v.pad=mx,v.padEnd=px,v.padStart=gx,v.parseInt=_x,v.random=sx,v.reduce=OA,v.reduceRight=RA,v.repeat=Ex,v.replace=vx,v.result=XS,v.round=m1,v.runInContext=R,v.sample=NA,v.size=BA,v.snakeCase=yx,v.some=kA,v.sortedIndex=Dw,v.sortedIndexBy=Mw,v.sortedIndexOf=Bw,v.sortedLastIndex=kw,v.sortedLastIndexBy=Fw,v.sortedLastIndexOf=$w,v.startCase=Cx,v.startsWith=Tx,v.subtract=p1,v.sum=g1,v.sumBy=_1,v.template=wx,v.times=e1,v.toFinite=Kr,v.toInteger=Be,v.toLength=qp,v.toLower=Ax,v.toNumber=Zn,v.toSafeInteger=AS,v.toString=Qe,v.toUpper=Sx,v.trim=xx,v.trimEnd=Lx,v.trimStart=Ix,v.truncate=Ox,v.unescape=Rx,v.uniqueId=n1,v.upperCase=Px,v.upperFirst=cf,v.each=Mp,v.eachRight=Bp,v.first=Rp,hf(v,function(){var r={};return Tr(v,function(i,u){rt.call(v.prototype,u)||(r[u]=i)}),r}(),{chain:!1}),v.VERSION=o,Yn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){v[r].placeholder=v}),Yn(["drop","take"],function(r,i){Ye.prototype[r]=function(u){u=u===n?1:Ht(Be(u),0);var f=this.__filtered__&&!i?new Ye(this):this.clone();return f.__filtered__?f.__takeCount__=an(u,f.__takeCount__):f.__views__.push({size:an(u,Je),type:r+(f.__dir__<0?"Right":"")}),f},Ye.prototype[r+"Right"]=function(u){return this.reverse()[r](u).reverse()}}),Yn(["filter","map","takeWhile"],function(r,i){var u=i+1,f=u==Tt||u==Le;Ye.prototype[r]=function(_){var y=this.clone();return y.__iteratees__.push({iteratee:Ee(_,3),type:u}),y.__filtered__=y.__filtered__||f,y}}),Yn(["head","last"],function(r,i){var u="take"+(i?"Right":"");Ye.prototype[r]=function(){return this[u](1).value()[0]}}),Yn(["initial","tail"],function(r,i){var u="drop"+(i?"":"Right");Ye.prototype[r]=function(){return this.__filtered__?new Ye(this):this[u](1)}}),Ye.prototype.compact=function(){return this.filter(xn)},Ye.prototype.find=function(r){return this.filter(r).head()},Ye.prototype.findLast=function(r){return this.reverse().find(r)},Ye.prototype.invokeMap=Ue(function(r,i){return typeof r=="function"?new Ye(this):this.map(function(u){return Bs(u,r,i)})}),Ye.prototype.reject=function(r){return this.filter(Sl(Ee(r)))},Ye.prototype.slice=function(r,i){r=Be(r);var u=this;return u.__filtered__&&(r>0||i<0)?new Ye(u):(r<0?u=u.takeRight(-r):r&&(u=u.drop(r)),i!==n&&(i=Be(i),u=i<0?u.dropRight(-i):u.take(i-r)),u)},Ye.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ye.prototype.toArray=function(){return this.take(Je)},Tr(Ye.prototype,function(r,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),f=/^(?:head|last)$/.test(i),_=v[f?"take"+(i=="last"?"Right":""):i],y=f||/^find/.test(i);_&&(v.prototype[i]=function(){var T=this.__wrapped__,L=f?[1]:arguments,P=T instanceof Ye,Y=L[0],K=P||De(T),X=function(Ge){var ze=_.apply(v,ho([Ge],L));return f&&se?ze[0]:ze};K&&u&&typeof Y=="function"&&Y.length!=1&&(P=K=!1);var se=this.__chain__,me=!!this.__actions__.length,ve=y&&!se,$e=P&&!me;if(!y&&K){T=$e?T:new Ye(this);var ye=r.apply(T,L);return ye.__actions__.push({func:Cl,args:[X],thisArg:n}),new zn(ye,se)}return ve&&$e?r.apply(this,L):(ye=this.thru(X),ve?f?ye.value()[0]:ye.value():ye)})}),Yn(["pop","push","shift","sort","splice","unshift"],function(r){var i=za[r],u=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",f=/^(?:pop|shift)$/.test(r);v.prototype[r]=function(){var _=arguments;if(f&&!this.__chain__){var y=this.value();return i.apply(De(y)?y:[],_)}return this[u](function(T){return i.apply(De(T)?T:[],_)})}}),Tr(Ye.prototype,function(r,i){var u=v[i];if(u){var f=u.name+"";rt.call(Si,f)||(Si[f]=[]),Si[f].push({name:i,func:u})}}),Si[pl(n,A).name]=[{name:"wrapper",func:n}],Ye.prototype.clone=RT,Ye.prototype.reverse=PT,Ye.prototype.value=NT,v.prototype.at=lA,v.prototype.chain=uA,v.prototype.commit=cA,v.prototype.next=fA,v.prototype.plant=hA,v.prototype.reverse=mA,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=pA,v.prototype.first=v.prototype.head,Is&&(v.prototype[Is]=dA),v},Ti=cT();Go?((Go.exports=Ti)._=Ti,fc._=Ti):Xt._=Ti}).call(to)})(bu,bu.exports);var zs=bu.exports;const wo={spacer:e=>e!==void 0,oneLineLink:e=>e!==void 0,image:e=>e!==void 0,heightContainer:e=>e!==void 0,button:e=>e!==void 0,spanText:e=>e!==void 0,unsubscribeLink:e=>e!=null,if:e=>e!==void 0},H$=at({__name:"If",props:{deps:{},theme:{},element:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementClicked"],setup(e,{emit:t}){const n=e,o=t,s=dn({ifResult:!1,isLoading:!0});return n.deps.boolExpressionEvaluator({boolExpression:n.element.Predicate,context:n.context}).then(a=>{s.ifResult=a,s.isLoading=!1}),(a,l)=>(ie(!0),Ce(ot,null,$n(s.ifResult?n.element.True:n.element.False,(c,d)=>(ie(),mt(Na,{key:d,deps:n.deps,theme:n.theme,element:c,context:n.context,path:[...n.path,s.ifResult?"True":"False",d],selectedElementPath:n.selectedElementPath,onOnImageSizeAdjusted:l[0]||(l[0]=m=>o("onImageSizeAdjusted",m)),onOnImageOriginalSizeAdjusted:l[1]||(l[1]=m=>o("onImageOriginalSizeAdjusted",m)),onOnElementClicked:l[2]||(l[2]=m=>o("onElementClicked",m))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))}}),bs=e=>({paddingTop:en({paddingExpression:e.paddings.Top,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})+"px",paddingRight:en({paddingExpression:e.paddings.Right,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})+"px",paddingBottom:en({paddingExpression:e.paddings.Bottom,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})+"px",paddingLeft:en({paddingExpression:e.paddings.Left,themeComponentPaddings:e.themeComponentPaddings,themeBodyPaddings:e.themeBodyPaddings})+"px"}),U$=e=>({Match:t=>{if(e.Auto!==void 0)return t.whenAuto();if(e.Pixel!==void 0)return t.whenPixels(e.Pixel.Value);if(e.Percentage!==void 0)return t.whenPercentages(e.Percentage.Value);throw Error("")}}),V$=e=>U$(e.width).Match({whenAuto:()=>({width:"initial"}),whenPixels:t=>({width:t+"px"}),whenPercentages:t=>({width:t+"%"})}),G$=["align"],j$=at({__name:"HeightContainer",props:{deps:{},theme:{},element:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementClicked"],setup(e,{emit:t}){const n=e,o=t;return(s,a)=>(ie(),Ce("table",{class:"heightContainerRender",style:Ae([{"border-spacing":"0","border-collapse":"separate"},[oe(V$)({width:n.element.Width})]])},[Z("tbody",null,[Z("tr",null,[Z("td",{align:oe(qb)({containerAlign:n.element.ContainerAlign}),style:Ae([oe(bs)({paddings:n.element.Paddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings}),{height:n.element.Height?n.element.Height+"px":"",verticalAlign:n.element.VerticalAlign,backgroundRepeat:"no-repeat",backgroundSize:"contain",backgroundColor:oe(ao)({color:n.element.BackgroundColor,themeColors:n.theme.Colors})??"inherit"},oe(mi)({border:n.element.Border,themeColors:n.theme.Colors}),oe(Do)({borderRadius:n.element.BorderRadius,borderRadiusCard:n.theme.BorderRadiusCard,bodyBorderRadius:n.theme.BorderRadius,borderButtonRadius:n.theme.BorderRadiusButton,borderBannerRadius:n.theme.BorderRadiusBanner})])},[(ie(!0),Ce(ot,null,$n(n.element.Elements,(l,c)=>(ie(),mt(Na,{key:c,deps:n.deps,theme:n.theme,element:l,path:[...n.path,"Elements",c],selectedElementPath:n.selectedElementPath,context:n.context,onOnImageSizeAdjusted:a[0]||(a[0]=d=>o("onImageSizeAdjusted",d)),onOnImageOriginalSizeAdjusted:a[1]||(a[1]=d=>o("onImageOriginalSizeAdjusted",d)),onOnElementClicked:a[2]||(a[2]=d=>o("onElementClicked",d))},null,8,["deps","theme","element","path","selectedElementPath","context"]))),128))],12,G$)])])],4))}}),Y$=e=>Array.isArray(e),ba=e=>({Match:t=>{switch(typeof e){case"string":return(t.whenString??t.defaultValue)(e);case"number":return(t.whenNumber??t.defaultValue)(e);case"boolean":return(t.whenBoolean??t.defaultValue)(e);case"object":return Y$(e)?(t.whenArray??t.defaultValue)(e):(t.whenStruct??t.defaultValue)(e);default:return ys(e)}}}),K$=e=>({Match:t=>{if(e.PropertyName!==void 0)return t.whenPropertyName(e.PropertyName);if(e.ArrayIndex!==void 0)return t.whenArrayIndex(e.ArrayIndex);throw Error("No match")}}),Mh=(e,t)=>{let n=t;for(const o of e)n=K$(o).Match({whenPropertyName:s=>ba(n).Match({defaultValue:()=>{throw console.error("Property not found: "+s),new Error("Property not found: "+s)},whenStruct:a=>a[s]}),whenArrayIndex:s=>ba(n).Match({defaultValue:()=>{throw console.error("Array index out of bounds: "+s),new Error("Array index out of bounds: "+s)},whenArray:a=>a[s]})});return n},z$=(e,t)=>ba(Mh(e,t)).Match({defaultValue:()=>{throw console.error("Value is not a list"),new Error("Value is not a list")},whenArray:n=>n}),q$=(e,t)=>ba(Mh(e,t)).Match({defaultValue:()=>{throw console.error("Value is not a string "+t+e),new Error("Value is not a string")},whenString:n=>n}),X$=(e,t)=>ba(Mh(e,t)).Match({defaultValue:()=>{throw console.error("Value is not a number"),new Error("Value is not a number")},whenNumber:n=>n}),J$=e=>vr(e),Z$=e=>vr(e),Q$=e=>vr(e),e2=e=>({Match:t=>{switch(e){case"Left":return t.whenLeft();case"Center":return t.whenCenter();case"Right":return t.whenRight();case"Inline":return t.whenInline()}}}),Ca=e=>e2(e.contentAlign).Match({whenLeft:()=>({display:"block",textAlign:"left"}),whenCenter:()=>({display:"block",textAlign:"center"}),whenRight:()=>({display:"block",textAlign:"right"}),whenInline:()=>({})});let Kf;const Cu={mounted(e,t){const n=t.value;Kf=new ResizeObserver(o=>{o.forEach(s=>n(s.contentRect))}),Kf.observe(e)},unmounted(e){Kf.unobserve(e)}},t2=["href"],n2=["src","alt"],r2=["src","alt"],o2=at({__name:"Image",props:{deps:{},theme:{},element:{},path:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageOriginalSizeAdjusted","onImageSizeAdjusted"],setup(e,{emit:t}){const n=d=>{o("onImageOriginalSizeAdjusted",{Path:s.path,OriginalHeight:d.target.naturalHeight,OriginalWidth:d.target.naturalWidth})},o=t,s=e,a=dn({href:"",src:"",alt:"",isLoaded:!1}),l=async d=>s.deps.stringExpressionEvaluator({stringExpression:d,context:s.context}),c=async()=>{const[d,m,p]=await Promise.all([l(s.element.Src),l(s.element.HRef),l(s.element.Alt)]);a.href=m,a.src=d,a.alt=p,a.isLoaded=!0};return tn(()=>[s.element.Src,s.element.HRef,s.element.Alt,s.context],()=>c()),c(),(d,m)=>s.element.IsLink?(ie(),Ce("a",{key:0,href:a.href,style:Ae([oe(Ca)({contentAlign:s.element.ContentAlign})]),onClick:m[0]||(m[0]=fs(()=>{},["prevent"]))},[a.isLoaded?oo((ie(),Ce("img",{key:0,class:"Image cursor-pointer",src:a.src,alt:a.alt,style:Ae([oe(Do)({borderRadius:s.element.BorderRadius,borderRadiusCard:s.theme.BorderRadiusCard,bodyBorderRadius:s.theme.BorderRadius,borderButtonRadius:s.theme.BorderRadiusButton,borderBannerRadius:s.theme.BorderRadiusBanner}),oe(mi)({border:s.element.Border,themeColors:s.theme.Colors}),{maxWidth:"100%",width:(s.element.IsRetina?s.element.OriginalWidth/2:s.element.OriginalWidth)+"px"},{verticalAlign:s.element.VerticalAlign}]),onLoad:n},null,44,n2)),[[oe(Cu),({width:p,height:E})=>o("onImageSizeAdjusted",{Path:s.path,AdjustedHeight:E,AdjustedWidth:p})]]):vn("",!0)],12,t2)):(ie(),Ce("span",{key:1,style:Ae([oe(Ca)({contentAlign:s.element.ContentAlign})])},[a.isLoaded?oo((ie(),Ce("img",{key:0,class:"Image cursor-pointer",src:a.src,alt:a.alt,style:Ae([oe(Do)({borderRadius:s.element.BorderRadius,borderRadiusCard:s.theme.BorderRadiusCard,bodyBorderRadius:s.theme.BorderRadius,borderButtonRadius:s.theme.BorderRadiusButton,borderBannerRadius:s.theme.BorderRadiusBanner}),oe(mi)({border:s.element.Border,themeColors:s.theme.Colors}),{maxWidth:"100%",width:(s.element.IsRetina?s.element.OriginalWidth/2:s.element.OriginalWidth)+"px"},{verticalAlign:s.element.VerticalAlign}]),onLoad:n},null,44,r2)),[[oe(Cu),({width:p,height:E})=>o("onImageSizeAdjusted",{Path:s.path,AdjustedHeight:E,AdjustedWidth:p})]]):vn("",!0)],4))}}),i2=e=>({Match:t=>{if(e.Auto!==void 0)return t.whenAuto();if(e.Pixel!==void 0)return t.whenPixels(e.Pixel.Value);if(e.Percentage!==void 0)return t.whenPercentages(e.Percentage.Value);throw Error("")}}),s2=e=>e.width===void 0?{}:i2(e.width).Match({whenAuto:()=>({width:"auto"}),whenPixels:t=>({width:t+"px"}),whenPercentages:t=>({width:t+"%"})}),a2=e=>({Match:t=>{switch(e){case"Auto":return t.whenAuto();case"FullWidth":return t.whenFullWidth()}}}),l2=e=>a2(e).Match({whenAuto:()=>({width:"auto"}),whenFullWidth:()=>({width:"100%"})}),u2=at({__name:"OneLineList",props:{deps:{},theme:{},element:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageSizeAdjusted","onImageOriginalSizeAdjusted","onElementClicked"],setup(e,{emit:t}){const n=e,o=t;return(s,a)=>(ie(),Ce("table",{class:"oneLineList",style:Ae([{"border-spacing":"0","border-collapse":"collapse"},[oe(l2)(n.element.ContainerWidth)]])},[Z("tbody",null,[Z("tr",null,[(ie(!0),Ce(ot,null,$n(n.element.Elements,(l,c)=>(ie(),Ce("td",{key:c,class:"oneLineListItem",style:Ae([oe(bs)({paddings:n.element.ItemPaddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings}),oe(s2)({width:n.element.ItemWidth}),{lineHeight:"normal"}])},[(ie(),mt(Na,{key:c,deps:n.deps,theme:n.theme,element:l,path:[...n.path,"Elements",c],selectedElementPath:n.selectedElementPath,context:n.context,onOnImageSizeAdjusted:a[0]||(a[0]=d=>o("onImageSizeAdjusted",d)),onOnImageOriginalSizeAdjusted:a[1]||(a[1]=d=>o("onImageOriginalSizeAdjusted",d)),onOnElementClicked:a[2]||(a[2]=d=>o("onElementClicked",d))},null,8,["deps","theme","element","path","selectedElementPath","context"]))],4))),128))])])],4))}}),c2={class:"Spacer",width:"100%",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},f2={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},d2=at({__name:"Spacer",props:{theme:{},element:{}},setup(e){const t=e;return(n,o)=>(ie(),Ce("table",c2,[Z("tbody",null,[Z("tr",null,[Z("td",{valign:"middle",style:Ae([{height:oe(en)({paddingExpression:t.element.Height,themeComponentPaddings:t.theme.ComponentPaddings,themeBodyPaddings:t.theme.BodyPaddings})+"px"}])},[Z("table",f2,[Z("tbody",null,[Z("tr",null,[Z("td",{style:Ae([{"font-size":"0","line-height":"0","border-bottom":"0","border-left":"0","border-right":"0"},[{borderTop:t.element.Weight+"px",borderStyle:t.element.Weight>0?"solid":"none",borderColor:oe(ao)({color:t.element.Color,themeColors:t.theme.Colors})}]])}," ",4)])])])],4)])])]))}});/*! @license DOMPurify 3.1.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.0/LICENSE */const{entries:Xb,setPrototypeOf:RE,isFrozen:h2,getPrototypeOf:m2,getOwnPropertyDescriptor:p2}=Object;let{freeze:Tn,seal:sr,create:Jb}=Object,{apply:Md,construct:Bd}=typeof Reflect<"u"&&Reflect;Tn||(Tn=function(t){return t});sr||(sr=function(t){return t});Md||(Md=function(t,n,o){return t.apply(n,o)});Bd||(Bd=function(t,n){return new t(...n)});const Kl=Vn(Array.prototype.forEach),PE=Vn(Array.prototype.pop),qs=Vn(Array.prototype.push),iu=Vn(String.prototype.toLowerCase),zf=Vn(String.prototype.toString),NE=Vn(String.prototype.match),Xs=Vn(String.prototype.replace),g2=Vn(String.prototype.indexOf),_2=Vn(String.prototype.trim),mr=Vn(Object.prototype.hasOwnProperty),In=Vn(RegExp.prototype.test),Js=E2(TypeError);function Vn(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return Md(e,t,o)}}function E2(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Bd(e,n)}}function je(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:iu;RE&&RE(e,null);let o=t.length;for(;o--;){let s=t[o];if(typeof s=="string"){const a=n(s);a!==s&&(h2(t)||(t[o]=a),s=a)}e[s]=!0}return e}function v2(e){for(let t=0;t<e.length;t++)mr(e,t)||(e[t]=null);return e}function oi(e){const t=Jb(null);for(const[n,o]of Xb(e))mr(e,n)&&(Array.isArray(o)?t[n]=v2(o):o&&typeof o=="object"&&o.constructor===Object?t[n]=oi(o):t[n]=o);return t}function zl(e,t){for(;e!==null;){const o=p2(e,t);if(o){if(o.get)return Vn(o.get);if(typeof o.value=="function")return Vn(o.value)}e=m2(e)}function n(){return null}return n}const DE=Tn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),qf=Tn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Xf=Tn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),y2=Tn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Jf=Tn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),b2=Tn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ME=Tn(["#text"]),BE=Tn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Zf=Tn(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),kE=Tn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ql=Tn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),C2=sr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),T2=sr(/<%[\w\W]*|[\w\W]*%>/gm),w2=sr(/\${[\w\W]*}/gm),A2=sr(/^data-[\-\w.\u00B7-\uFFFF]/),S2=sr(/^aria-[\-\w]+$/),Zb=sr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),x2=sr(/^(?:\w+script|data):/i),L2=sr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qb=sr(/^html$/i),I2=sr(/^[a-z][.\w]*(-[.\w]+)+$/i);var FE=Object.freeze({__proto__:null,MUSTACHE_EXPR:C2,ERB_EXPR:T2,TMPLIT_EXPR:w2,DATA_ATTR:A2,ARIA_ATTR:S2,IS_ALLOWED_URI:Zb,IS_SCRIPT_OR_DATA:x2,ATTR_WHITESPACE:L2,DOCTYPE_NAME:Qb,CUSTOM_ELEMENT:I2});const O2=function(){return typeof window>"u"?null:window},R2=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const s="data-tt-policy-suffix";n&&n.hasAttribute(s)&&(o=n.getAttribute(s));const a="dompurify"+(o?"#"+o:"");try{return t.createPolicy(a,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function eC(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:O2();const t=pe=>eC(pe);if(t.version="3.1.0",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e;const o=n,s=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:c,Element:d,NodeFilter:m,NamedNodeMap:p=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:E,DOMParser:C,trustedTypes:w}=e,D=d.prototype,x=zl(D,"cloneNode"),F=zl(D,"nextSibling"),A=zl(D,"childNodes"),B=zl(D,"parentNode");if(typeof l=="function"){const pe=n.createElement("template");pe.content&&pe.content.ownerDocument&&(n=pe.content.ownerDocument)}let $,S="";const{implementation:H,createNodeIterator:G,createDocumentFragment:U,getElementsByTagName:le}=n,{importNode:ce}=o;let de={};t.isSupported=typeof Xb=="function"&&typeof B=="function"&&H&&H.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Pe,ERB_EXPR:ke,TMPLIT_EXPR:We,DATA_ATTR:Tt,ARIA_ATTR:Bt,IS_SCRIPT_OR_DATA:Le,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:Te}=FE;let{IS_ALLOWED_URI:qe}=FE,Fe=null;const Je=je({},[...DE,...qf,...Xf,...Jf,...ME]);let Ne=null;const Gt=je({},[...BE,...Zf,...kE,...ql]);let He=Object.seal(Jb(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),it=null,pt=null,kt=!0,nt=!0,wt=!1,St=!0,lt=!1,Ft=!0,g=!1,h=!1,b=!1,N=!1,M=!1,V=!1,ee=!0,q=!1;const J="user-content-";let z=!0,ne=!1,I={},k=null;const re=je({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const we=je({},["audio","video","img","source","image","track"]);let Me=null;const ut=je({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ct="http://www.w3.org/1998/Math/MathML",It="http://www.w3.org/2000/svg",ft="http://www.w3.org/1999/xhtml";let rn=ft,br=!1,Ot=null;const on=je({},[ct,It,ft],zf);let Cr=null;const ec=["application/xhtml+xml","text/html"],tc="text/html";let Rt=null,Fr=null;const nc=n.createElement("form"),Da=function(O){return O instanceof RegExp||O instanceof Function},Cs=function(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Fr&&Fr===O)){if((!O||typeof O!="object")&&(O={}),O=oi(O),Cr=ec.indexOf(O.PARSER_MEDIA_TYPE)===-1?tc:O.PARSER_MEDIA_TYPE,Rt=Cr==="application/xhtml+xml"?zf:iu,Fe=mr(O,"ALLOWED_TAGS")?je({},O.ALLOWED_TAGS,Rt):Je,Ne=mr(O,"ALLOWED_ATTR")?je({},O.ALLOWED_ATTR,Rt):Gt,Ot=mr(O,"ALLOWED_NAMESPACES")?je({},O.ALLOWED_NAMESPACES,zf):on,Me=mr(O,"ADD_URI_SAFE_ATTR")?je(oi(ut),O.ADD_URI_SAFE_ATTR,Rt):ut,ue=mr(O,"ADD_DATA_URI_TAGS")?je(oi(we),O.ADD_DATA_URI_TAGS,Rt):we,k=mr(O,"FORBID_CONTENTS")?je({},O.FORBID_CONTENTS,Rt):re,it=mr(O,"FORBID_TAGS")?je({},O.FORBID_TAGS,Rt):{},pt=mr(O,"FORBID_ATTR")?je({},O.FORBID_ATTR,Rt):{},I=mr(O,"USE_PROFILES")?O.USE_PROFILES:!1,kt=O.ALLOW_ARIA_ATTR!==!1,nt=O.ALLOW_DATA_ATTR!==!1,wt=O.ALLOW_UNKNOWN_PROTOCOLS||!1,St=O.ALLOW_SELF_CLOSE_IN_ATTR!==!1,lt=O.SAFE_FOR_TEMPLATES||!1,Ft=O.SAFE_FOR_XML!==!1,g=O.WHOLE_DOCUMENT||!1,N=O.RETURN_DOM||!1,M=O.RETURN_DOM_FRAGMENT||!1,V=O.RETURN_TRUSTED_TYPE||!1,b=O.FORCE_BODY||!1,ee=O.SANITIZE_DOM!==!1,q=O.SANITIZE_NAMED_PROPS||!1,z=O.KEEP_CONTENT!==!1,ne=O.IN_PLACE||!1,qe=O.ALLOWED_URI_REGEXP||Zb,rn=O.NAMESPACE||ft,He=O.CUSTOM_ELEMENT_HANDLING||{},O.CUSTOM_ELEMENT_HANDLING&&Da(O.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(He.tagNameCheck=O.CUSTOM_ELEMENT_HANDLING.tagNameCheck),O.CUSTOM_ELEMENT_HANDLING&&Da(O.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(He.attributeNameCheck=O.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),O.CUSTOM_ELEMENT_HANDLING&&typeof O.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(He.allowCustomizedBuiltInElements=O.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),lt&&(nt=!1),M&&(N=!0),I&&(Fe=je({},ME),Ne=[],I.html===!0&&(je(Fe,DE),je(Ne,BE)),I.svg===!0&&(je(Fe,qf),je(Ne,Zf),je(Ne,ql)),I.svgFilters===!0&&(je(Fe,Xf),je(Ne,Zf),je(Ne,ql)),I.mathMl===!0&&(je(Fe,Jf),je(Ne,kE),je(Ne,ql))),O.ADD_TAGS&&(Fe===Je&&(Fe=oi(Fe)),je(Fe,O.ADD_TAGS,Rt)),O.ADD_ATTR&&(Ne===Gt&&(Ne=oi(Ne)),je(Ne,O.ADD_ATTR,Rt)),O.ADD_URI_SAFE_ATTR&&je(Me,O.ADD_URI_SAFE_ATTR,Rt),O.FORBID_CONTENTS&&(k===re&&(k=oi(k)),je(k,O.FORBID_CONTENTS,Rt)),z&&(Fe["#text"]=!0),g&&je(Fe,["html","head","body"]),Fe.table&&(je(Fe,["tbody"]),delete it.tbody),O.TRUSTED_TYPES_POLICY){if(typeof O.TRUSTED_TYPES_POLICY.createHTML!="function")throw Js('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof O.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Js('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');$=O.TRUSTED_TYPES_POLICY,S=$.createHTML("")}else $===void 0&&($=R2(w,s)),$!==null&&typeof S=="string"&&(S=$.createHTML(""));Tn&&Tn(O),Fr=O}},Ma=je({},["mi","mo","mn","ms","mtext"]),Ts=je({},["foreignobject","desc","title","annotation-xml"]),rc=je({},["title","style","font","a","script"]),Ba=je({},[...qf,...Xf,...y2]),ka=je({},[...Jf,...b2]),ws=function(O){let te=B(O);(!te||!te.tagName)&&(te={namespaceURI:rn,tagName:"template"});const he=iu(O.tagName),st=iu(te.tagName);return Ot[O.namespaceURI]?O.namespaceURI===It?te.namespaceURI===ft?he==="svg":te.namespaceURI===ct?he==="svg"&&(st==="annotation-xml"||Ma[st]):!!Ba[he]:O.namespaceURI===ct?te.namespaceURI===ft?he==="math":te.namespaceURI===It?he==="math"&&Ts[st]:!!ka[he]:O.namespaceURI===ft?te.namespaceURI===It&&!Ts[st]||te.namespaceURI===ct&&!Ma[st]?!1:!ka[he]&&(rc[he]||!Ba[he]):!!(Cr==="application/xhtml+xml"&&Ot[O.namespaceURI]):!1},lr=function(O){qs(t.removed,{element:O});try{O.parentNode.removeChild(O)}catch{O.remove()}},Uo=function(O,te){try{qs(t.removed,{attribute:te.getAttributeNode(O),from:te})}catch{qs(t.removed,{attribute:null,from:te})}if(te.removeAttribute(O),O==="is"&&!Ne[O])if(N||M)try{lr(te)}catch{}else try{te.setAttribute(O,"")}catch{}},Fa=function(O){let te=null,he=null;if(b)O="<remove></remove>"+O;else{const jt=NE(O,/^[\r\n\t ]+/);he=jt&&jt[0]}Cr==="application/xhtml+xml"&&rn===ft&&(O='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+O+"</body></html>");const st=$?$.createHTML(O):O;if(rn===ft)try{te=new C().parseFromString(st,Cr)}catch{}if(!te||!te.documentElement){te=H.createDocument(rn,"template",null);try{te.documentElement.innerHTML=br?S:st}catch{}}const Pt=te.body||te.documentElement;return O&&he&&Pt.insertBefore(n.createTextNode(he),Pt.childNodes[0]||null),rn===ft?le.call(te,g?"html":"body")[0]:g?te.documentElement:Pt},$a=function(O){return G.call(O.ownerDocument||O,O,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},oc=function(O){return O instanceof E&&(typeof O.nodeName!="string"||typeof O.textContent!="string"||typeof O.removeChild!="function"||!(O.attributes instanceof p)||typeof O.removeAttribute!="function"||typeof O.setAttribute!="function"||typeof O.namespaceURI!="string"||typeof O.insertBefore!="function"||typeof O.hasChildNodes!="function")},Wa=function(O){return typeof c=="function"&&O instanceof c},ur=function(O,te,he){de[O]&&Kl(de[O],st=>{st.call(t,te,he,Fr)})},Ha=function(O){let te=null;if(ur("beforeSanitizeElements",O,null),oc(O))return lr(O),!0;const he=Rt(O.nodeName);if(ur("uponSanitizeElement",O,{tagName:he,allowedTags:Fe}),O.hasChildNodes()&&!Wa(O.firstElementChild)&&In(/<[/\w]/g,O.innerHTML)&&In(/<[/\w]/g,O.textContent)||O.nodeType===7||Ft&&O.nodeType===8&&In(/<[/\w]/g,O.data))return lr(O),!0;if(!Fe[he]||it[he]){if(!it[he]&&Va(he)&&(He.tagNameCheck instanceof RegExp&&In(He.tagNameCheck,he)||He.tagNameCheck instanceof Function&&He.tagNameCheck(he)))return!1;if(z&&!k[he]){const st=B(O)||O.parentNode,Pt=A(O)||O.childNodes;if(Pt&&st){const jt=Pt.length;for(let $t=jt-1;$t>=0;--$t)st.insertBefore(x(Pt[$t],!0),F(O))}}return lr(O),!0}return O instanceof d&&!ws(O)||(he==="noscript"||he==="noembed"||he==="noframes")&&In(/<\/no(script|embed|frames)/i,O.innerHTML)?(lr(O),!0):(lt&&O.nodeType===3&&(te=O.textContent,Kl([Pe,ke,We],st=>{te=Xs(te,st," ")}),O.textContent!==te&&(qs(t.removed,{element:O.cloneNode()}),O.textContent=te)),ur("afterSanitizeElements",O,null),!1)},Ua=function(O,te,he){if(ee&&(te==="id"||te==="name")&&(he in n||he in nc))return!1;if(!(nt&&!pt[te]&&In(Tt,te))){if(!(kt&&In(Bt,te))){if(!Ne[te]||pt[te]){if(!(Va(O)&&(He.tagNameCheck instanceof RegExp&&In(He.tagNameCheck,O)||He.tagNameCheck instanceof Function&&He.tagNameCheck(O))&&(He.attributeNameCheck instanceof RegExp&&In(He.attributeNameCheck,te)||He.attributeNameCheck instanceof Function&&He.attributeNameCheck(te))||te==="is"&&He.allowCustomizedBuiltInElements&&(He.tagNameCheck instanceof RegExp&&In(He.tagNameCheck,he)||He.tagNameCheck instanceof Function&&He.tagNameCheck(he))))return!1}else if(!Me[te]){if(!In(qe,Xs(he,ge,""))){if(!((te==="src"||te==="xlink:href"||te==="href")&&O!=="script"&&g2(he,"data:")===0&&ue[O])){if(!(wt&&!In(Le,Xs(he,ge,"")))){if(he)return!1}}}}}}return!0},Va=function(O){return O!=="annotation-xml"&&NE(O,Te)},As=function(O){ur("beforeSanitizeAttributes",O,null);const{attributes:te}=O;if(!te)return;const he={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ne};let st=te.length;for(;st--;){const Pt=te[st],{name:jt,namespaceURI:$t,value:$r}=Pt,Vo=Rt(jt);let sn=jt==="value"?$r:_2($r);if(he.attrName=Vo,he.attrValue=sn,he.keepAttr=!0,he.forceKeepAttr=void 0,ur("uponSanitizeAttribute",O,he),sn=he.attrValue,he.forceKeepAttr||(Uo(jt,O),!he.keepAttr))continue;if(!St&&In(/\/>/i,sn)){Uo(jt,O);continue}lt&&Kl([Pe,ke,We],xs=>{sn=Xs(sn,xs," ")});const Ss=Rt(O.nodeName);if(Ua(Ss,Vo,sn)){if(q&&(Vo==="id"||Vo==="name")&&(Uo(jt,O),sn=J+sn),$&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!$t)switch(w.getAttributeType(Ss,Vo)){case"TrustedHTML":{sn=$.createHTML(sn);break}case"TrustedScriptURL":{sn=$.createScriptURL(sn);break}}try{$t?O.setAttributeNS($t,jt,sn):O.setAttribute(jt,sn),PE(t.removed)}catch{}}}ur("afterSanitizeAttributes",O,null)},ic=function pe(O){let te=null;const he=$a(O);for(ur("beforeSanitizeShadowDOM",O,null);te=he.nextNode();)ur("uponSanitizeShadowNode",te,null),!Ha(te)&&(te.content instanceof a&&pe(te.content),As(te));ur("afterSanitizeShadowDOM",O,null)};return t.sanitize=function(pe){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=null,he=null,st=null,Pt=null;if(br=!pe,br&&(pe="<!-->"),typeof pe!="string"&&!Wa(pe))if(typeof pe.toString=="function"){if(pe=pe.toString(),typeof pe!="string")throw Js("dirty is not a string, aborting")}else throw Js("toString is not a function");if(!t.isSupported)return pe;if(h||Cs(O),t.removed=[],typeof pe=="string"&&(ne=!1),ne){if(pe.nodeName){const $r=Rt(pe.nodeName);if(!Fe[$r]||it[$r])throw Js("root node is forbidden and cannot be sanitized in-place")}}else if(pe instanceof c)te=Fa("<!---->"),he=te.ownerDocument.importNode(pe,!0),he.nodeType===1&&he.nodeName==="BODY"||he.nodeName==="HTML"?te=he:te.appendChild(he);else{if(!N&&!lt&&!g&&pe.indexOf("<")===-1)return $&&V?$.createHTML(pe):pe;if(te=Fa(pe),!te)return N?null:V?S:""}te&&b&&lr(te.firstChild);const jt=$a(ne?pe:te);for(;st=jt.nextNode();)Ha(st)||(st.content instanceof a&&ic(st.content),As(st));if(ne)return pe;if(N){if(M)for(Pt=U.call(te.ownerDocument);te.firstChild;)Pt.appendChild(te.firstChild);else Pt=te;return(Ne.shadowroot||Ne.shadowrootmode)&&(Pt=ce.call(o,Pt,!0)),Pt}let $t=g?te.outerHTML:te.innerHTML;return g&&Fe["!doctype"]&&te.ownerDocument&&te.ownerDocument.doctype&&te.ownerDocument.doctype.name&&In(Qb,te.ownerDocument.doctype.name)&&($t="<!DOCTYPE "+te.ownerDocument.doctype.name+`>
|
|
82
|
+
`+$t),lt&&Kl([Pe,ke,We],$r=>{$t=Xs($t,$r," ")}),$&&V?$.createHTML($t):$t},t.setConfig=function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Cs(pe),h=!0},t.clearConfig=function(){Fr=null,h=!1},t.isValidAttribute=function(pe,O,te){Fr||Cs({});const he=Rt(pe),st=Rt(O);return Ua(he,st,te)},t.addHook=function(pe,O){typeof O=="function"&&(de[pe]=de[pe]||[],qs(de[pe],O))},t.removeHook=function(pe){if(de[pe])return PE(de[pe])},t.removeHooks=function(pe){de[pe]&&(de[pe]=[])},t.removeAllHooks=function(){de={}},t}var $E=eC();const kd={beforeMount(e,t){e.innerHTML=$E.sanitize(t.value)},beforeUpdate(e,t){e.innerHTML=$E.sanitize(t.value)}},P2=e=>({Match:t=>{switch(e.Discriminator){case"EmailBackgroundColor":return t.whenEmailBackgroundColor();case"BodyColor":return t.whenBodyColor();case"TitleColor":return t.whenTitleColor();case"HeadingColor":return t.whenHeadingColor();case"SubHeadingColor":return t.whenSubHeading();case"LargeTextColor":return t.whenLargeTextColor();case"NormalTextColor":return t.whenNormalTextColor();case"DescriptionTextColor":return t.whenDescriptionTextColor();case"PrimaryTextColor":return t.whenPrimaryTextColor();case"SecondaryTextColor":return t.whenSecondaryTextColor();case"ButtonTextColor":return t.whenButtonTextColor();case"LinkColor":return t.whenLinkColor();case"PrimaryColor":return t.whenPrimaryColor();case"SecondaryColor":return t.whenSecondaryColor();case"CardBackgroundColor":return t.whenCardBackgroundColor();case"Custom":return t.whenCustom(e.CustomValue)}}}),N2=e=>P2(e.fontColor).Match({whenEmailBackgroundColor:()=>e.themeColors.EmailBackgroundColor,whenBodyColor:()=>e.themeColors.BodyColor,whenTitleColor:()=>e.themeColors.TitleColor,whenHeadingColor:()=>e.themeColors.HeadingColor,whenSubHeading:()=>e.themeColors.SubHeadingColor,whenLargeTextColor:()=>e.themeColors.LargeTextColor,whenNormalTextColor:()=>e.themeColors.NormalTextColor,whenDescriptionTextColor:()=>e.themeColors.DescriptionTextColor,whenPrimaryTextColor:()=>e.themeColors.PrimaryTextColor,whenSecondaryTextColor:()=>e.themeColors.SecondaryTextColor,whenLinkColor:()=>e.themeColors.LinkColor,whenPrimaryColor:()=>e.themeColors.PrimaryColor,whenSecondaryColor:()=>e.themeColors.SecondaryColor,whenCardBackgroundColor:()=>e.themeColors.CardBackgroundColor,whenButtonTextColor:()=>e.themeColors.ButtonTextColor,whenCustom:t=>t}),D2=e=>({Match:t=>{switch(e){case"None":return t.whenNone();case"Underline":return t.whenUnderline();case"LineThrough":return t.whenLineThrough()}}}),tC=e=>D2(e.textDecoration).Match({whenNone:()=>"none",whenUnderline:()=>"underline",whenLineThrough:()=>"line-through"}),M2=e=>({fontSize:e.customFontSettings.FontSize,lineHeight:e.customFontSettings.LineHeight,fontWeight:e.customFontSettings.IsBold?"bold":"normal",fontStyle:e.customFontSettings.IsItalic?"italic":"normal",textDecoration:tC({textDecoration:e.customFontSettings.Decoration}),fontFamily:e.customFontSettings.FontFamily,color:N2({fontColor:e.customFontSettings.FontColor,themeColors:e.themeColors})}),nC=e=>({Match:t=>{switch(e.Discriminator){case"Heading":return t.whenHeading();case"Title":return t.whenTitle();case"SubHeading":return t.whenSubHeading();case"LargeText":return t.whenLargeText();case"NormalText":return t.whenNormalText();case"DescriptionText":return t.whenDescriptionText();case"Link":return t.whenLink();case"Button":return t.whenButton();case"Custom":return t.whenCustom(e.CustomFontSettings);default:return ys(e.Discriminator)}}}),B2=e=>({Match:t=>{switch(e.Discriminator){case"StyleLinkedColor":return t.whenFontStyle();case"EmailBackgroundColor":return t.whenEmailBackgroundColor();case"BodyColor":return t.whenBodyColor();case"TitleColor":return t.whenTitleColor();case"HeadingColor":return t.whenHeadingColor();case"SubHeadingColor":return t.whenSubHeading();case"LargeTextColor":return t.whenLargeTextColor();case"NormalTextColor":return t.whenNormalTextColor();case"DescriptionTextColor":return t.whenDescriptionTextColor();case"PrimaryTextColor":return t.whenPrimaryTextColor();case"SecondaryTextColor":return t.whenSecondaryTextColor();case"ButtonTextColor":return t.whenButtonTextColor();case"LinkColor":return t.whenLinkColor();case"PrimaryColor":return t.whenPrimaryColor();case"SecondaryColor":return t.whenSecondaryColor();case"CardBackgroundColor":return t.whenCardBackgroundColor();case"Custom":return t.whenCustom(e.CustomValue)}}}),k2=e=>B2(e.fontStyleColor).Match({whenFontStyle:()=>nC(e.fontStyle).Match({whenHeading:()=>e.themeColors.HeadingColor,whenTitle:()=>e.themeColors.TitleColor,whenSubHeading:()=>e.themeColors.SubHeadingColor,whenLargeText:()=>e.themeColors.LargeTextColor,whenNormalText:()=>e.themeColors.NormalTextColor,whenDescriptionText:()=>e.themeColors.DescriptionTextColor,whenButton:()=>e.themeColors.ButtonTextColor,whenLink:()=>e.themeColors.LinkColor,whenCustom:t=>ao({color:t.FontColor,themeColors:e.themeColors})}),whenEmailBackgroundColor:()=>e.themeColors.EmailBackgroundColor,whenBodyColor:()=>e.themeColors.BodyColor,whenTitleColor:()=>e.themeColors.TitleColor,whenHeadingColor:()=>e.themeColors.HeadingColor,whenSubHeading:()=>e.themeColors.SubHeadingColor,whenLargeTextColor:()=>e.themeColors.LargeTextColor,whenNormalTextColor:()=>e.themeColors.NormalTextColor,whenDescriptionTextColor:()=>e.themeColors.DescriptionTextColor,whenPrimaryTextColor:()=>e.themeColors.PrimaryTextColor,whenSecondaryTextColor:()=>e.themeColors.SecondaryTextColor,whenLinkColor:()=>e.themeColors.LinkColor,whenPrimaryColor:()=>e.themeColors.PrimaryColor,whenSecondaryColor:()=>e.themeColors.SecondaryColor,whenCardBackgroundColor:()=>e.themeColors.CardBackgroundColor,whenButtonTextColor:()=>e.themeColors.ButtonTextColor,whenCustom:t=>t}),F2={Arial:"Arial",Georgia:"Georgia",Tahoma:"Tahoma",TimesNewRoman:"Times New Roman",Verdana:"Verdana"},Bh=e=>({fontSize:e.fontSize+"px",lineHeight:e.lineHeight+"px",fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:F2[e.fontFamily],textDecoration:e.textDecoration,color:e.color}),kh=e=>{const t=n=>({fontSize:n.FontSize,lineHeight:n.LineHeight,fontWeight:n.IsBold?"bold":"normal",fontStyle:n.IsItalic?"italic":"normal",fontFamily:e.fontFamily,textDecoration:tC({textDecoration:n.Decoration}),color:k2({fontStyleColor:e.fontStyle.FontColor,fontStyle:e.fontStyle,themeColors:e.themeColors})});return nC(e.fontStyle).Match({whenHeading:()=>t(e.themeFontSettings.Heading),whenTitle:()=>t(e.themeFontSettings.Title),whenSubHeading:()=>t(e.themeFontSettings.SubHeading),whenLargeText:()=>t(e.themeFontSettings.LargeText),whenNormalText:()=>t(e.themeFontSettings.NormalText),whenDescriptionText:()=>t(e.themeFontSettings.DescriptionText),whenLink:()=>t(e.themeFontSettings.Link),whenButton:()=>t(e.themeFontSettings.Button),whenCustom:n=>M2({customFontSettings:n,themeColors:e.themeColors})})},$2=e=>({Match:t=>{switch(e.Discriminator){case"Theme":return t.whenTheme();case"Custom":return t.whenCustom(e.CustomValue);default:return ys(e.Discriminator)}}}),W2=e=>$2(e.buttonPaddings).Match({whenTheme:()=>({TopBottom:e.themeButtonPaddings.TopBottom,LeftRight:e.themeButtonPaddings.LeftRight}),whenCustom:t=>({TopBottom:t.TopBottom,LeftRight:t.LeftRight})}),H2={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},U2=["align"],V2={class:"Button"},G2=["href"],j2=at({__name:"ButtonVue",props:{deps:{},theme:{},element:{},context:{type:[String,Number,Boolean,Array,Object]}},setup(e){const t=e,n=Re(()=>Bh(kh({fontFamily:t.theme.FontFamily,fontStyle:t.element.TextStyle,themeFontSettings:t.theme.FontSettingsPresets,themeColors:t.theme.Colors}))),o=Re(()=>ou({borderColor:t.element.Border.Left.Color,themeColors:t.theme.Colors})),s=Re(()=>W2({buttonPaddings:t.element.Paddings,themeButtonPaddings:t.theme.ButtonPaddings})),a=Re(()=>ao({color:t.element.BackgroundColor,themeColors:t.theme.Colors})),l=Re(()=>{switch(t.element.ContentAlign){case"Center":return"center";case"Left":return"left";case"Right":return"right";default:return"center"}}),c=dn({href:"",text:"",isLoading:!0}),d=t.deps.stringExpressionEvaluator,m=()=>{Promise.all([d({stringExpression:t.element.HRef,context:t.context}),d({stringExpression:t.element.Text,context:t.context})]).then(([p,E])=>{c.href=p,c.text=E,c.isLoading=!1})};return m(),tn(()=>[t.element.HRef,t.element.Text,t.context],()=>m()),(p,E)=>(ie(),Ce("table",H2,[Z("tbody",null,[Z("tr",null,[Z("td",{align:l.value},[Z("div",V2,[Z("a",{style:Ae([{display:"block","text-decoration":"none"},[n.value]]),href:c.href,onClick:E[0]||(E[0]=fs(()=>{},["prevent"]))},[Z("table",{align:"center",style:Ae([{"text-align":"center","border-spacing":"0","border-collapse":"separate"},[{backgroundColor:a.value},oe(Do)({borderRadius:t.element.BorderRadius,borderRadiusCard:t.theme.BorderRadiusCard,bodyBorderRadius:t.theme.BorderRadius,borderButtonRadius:t.theme.BorderRadiusButton,borderBannerRadius:t.theme.BorderRadiusBanner}),{width:t.element.FullWidth?"100%":"auto"},oe(mi)({border:t.element.Border,themeColors:p.theme.Colors}),{borderColor:o.value}]])},[Z("tbody",null,[Z("tr",null,[Z("td",{align:"center",style:Ae([{"line-height":"normal"},[{paddingTop:s.value.TopBottom+"px",paddingBottom:s.value.TopBottom+"px",paddingLeft:s.value.LeftRight+"px",paddingRight:s.value.LeftRight+"px"}]])},[oo(Z("p",{class:"user-select-none",style:Ae([n.value])},null,4),[[oe(kd),c.text]])],4)])])],4)],12,G2)])],8,U2)])])]))}}),Y2=["href"],K2=at({__name:"SpanText",props:{deps:{},theme:{},element:{},context:{type:[String,Number,Boolean,Array,Object]}},setup(e){const t=e,n=t.deps.stringExpressionEvaluator,o=Re(()=>{const l=kh({fontFamily:t.theme.FontFamily,fontStyle:t.element.Style,themeFontSettings:t.theme.FontSettingsPresets,themeColors:t.theme.Colors});return{...Bh(l),minHeight:t.element.MinNumberOfLines*l.lineHeight+"px"}}),s=dn({href:"",text:"",isLoading:!0}),a=()=>{Promise.all([n({stringExpression:t.element.HRef,context:t.context}),n({stringExpression:t.element.Text,context:t.context})]).then(([l,c])=>{s.href=l,s.text=c,s.isLoading=!1})};return a(),tn(()=>[t.context,t.element.HRef,t.element.Text],()=>a()),(l,c)=>t.element.IsLink?oo((ie(),Ce("a",{key:0,href:s.href,class:"SpanText cursor-pointer user-select-none",style:Ae([{margin:"0"},[o.value,oe(Ca)({contentAlign:t.element.ContentAlign})]]),onClick:c[0]||(c[0]=fs(()=>{},["prevent"]))},null,12,Y2)),[[oe(kd),s.text]]):oo((ie(),Ce("span",{key:1,class:"SpanText cursor-pointer user-select-none",style:Ae([{margin:"0"},[o.value,oe(Ca)({contentAlign:t.element.ContentAlign})]])},null,4)),[[oe(kd),s.text]])}});const z2=Gn(K2,[["__scopeId","data-v-24009fb3"]]),q2=at({__name:"UnsubscribeLink",props:{theme:{},element:{}},setup(e){const t=e,n=Re(()=>{const o=kh({fontFamily:t.theme.FontFamily,fontStyle:t.element.Style,themeFontSettings:t.theme.FontSettingsPresets,themeColors:t.theme.Colors});return{...Bh(o)}});return(o,s)=>(ie(),Ce("a",{href:"#",class:"cursor-pointer user-select-none",style:Ae([{margin:"0"},[n.value,oe(Ca)({contentAlign:t.element.ContentAlign})]]),onClick:s[0]||(s[0]=fs(()=>{},["prevent"]))},Ud(t.element.Text),5))}});const X2=Gn(q2,[["__scopeId","data-v-5cffc6e3"]]),Na=at({__name:"Elements",props:{deps:{},theme:{},element:{},path:{},context:{type:[String,Number,Boolean,Array,Object]},selectedElementPath:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted"],setup(e,{emit:t}){const n=e,o=t,s=(a,l)=>{o("onElementClicked",{element:a,path:[...n.path,l]})};return(a,l)=>(ie(),Ce("span",{onClick:l[16]||(l[16]=fs(()=>{},["stop"]))},[oe(wo).button(n.element.Button)?(ie(),mt(j2,{key:0,deps:n.deps,theme:n.theme,element:n.element.Button,context:n.context,class:pr({"element-selected":oe(zs.isEqual)(n.selectedElementPath,[...n.path,"Button"])}),onClick:l[0]||(l[0]=c=>s(n.element,"Button"))},null,8,["deps","theme","element","context","class"])):vn("",!0),oe(wo).heightContainer(n.element.HeightContainer)?(ie(),mt(j$,{key:1,deps:n.deps,theme:n.theme,element:n.element.HeightContainer,path:[...n.path,"HeightContainer"],selectedElementPath:n.selectedElementPath,context:n.context,onOnImageOriginalSizeAdjusted:l[1]||(l[1]=c=>o("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:l[2]||(l[2]=c=>o("onImageSizeAdjusted",c)),onOnElementClicked:l[3]||(l[3]=c=>o("onElementClicked",c))},null,8,["deps","theme","element","path","selectedElementPath","context"])):vn("",!0),oe(wo).image(n.element.Image)?(ie(),mt(o2,{key:2,deps:n.deps,theme:n.theme,element:n.element.Image,context:n.context,path:[...n.path,"Image"],class:pr({"element-selected":oe(zs.isEqual)(n.selectedElementPath,[...n.path,"Image"])}),onOnImageOriginalSizeAdjusted:l[4]||(l[4]=c=>o("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:l[5]||(l[5]=c=>o("onImageSizeAdjusted",c)),onClick:l[6]||(l[6]=c=>s(n.element,"Image"))},null,8,["deps","theme","element","context","path","class"])):vn("",!0),oe(wo).spacer(n.element.Spacer)?(ie(),mt(d2,{key:3,element:n.element.Spacer,theme:n.theme,class:pr({"element-selected":oe(zs.isEqual)(n.selectedElementPath,[...n.path,"Spacer"])}),onClick:l[7]||(l[7]=c=>s(n.element,"Spacer"))},null,8,["element","theme","class"])):vn("",!0),oe(wo).spanText(n.element.SpanText)?(ie(),mt(z2,{key:4,deps:n.deps,theme:n.theme,element:n.element.SpanText,context:n.context,class:pr({"element-selected":oe(zs.isEqual)(n.selectedElementPath,[...n.path,"SpanText"])}),onClick:l[8]||(l[8]=c=>s(n.element,"SpanText"))},null,8,["deps","theme","element","context","class"])):vn("",!0),oe(wo).oneLineLink(n.element.OneLineList)?(ie(),mt(u2,{key:5,deps:n.deps,theme:n.theme,element:n.element.OneLineList,path:[...n.path,"OneLineList"],selectedElementPath:n.selectedElementPath,context:n.context,onOnImageOriginalSizeAdjusted:l[9]||(l[9]=c=>o("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:l[10]||(l[10]=c=>o("onImageSizeAdjusted",c)),onOnElementClicked:l[11]||(l[11]=c=>o("onElementClicked",c))},null,8,["deps","theme","element","path","selectedElementPath","context"])):vn("",!0),oe(wo).if(n.element.If)?(ie(),mt(H$,{key:6,deps:n.deps,theme:n.theme,element:n.element.If,context:n.context,path:[...n.path,"If"],selectedElementPath:n.selectedElementPath,onOnImageOriginalSizeAdjusted:l[12]||(l[12]=c=>o("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:l[13]||(l[13]=c=>o("onImageSizeAdjusted",c)),onOnElementClicked:l[14]||(l[14]=c=>o("onElementClicked",c))},null,8,["deps","theme","element","context","path","selectedElementPath"])):vn("",!0),oe(wo).unsubscribeLink(n.element.UnsubscribeLink)?(ie(),mt(X2,{key:7,theme:n.theme,element:n.element.UnsubscribeLink,class:pr({"element-selected":oe(zs.isEqual)(n.selectedElementPath,[...n.path,"UnsubscribeLink"])}),onClick:l[15]||(l[15]=c=>s(n.element,"UnsubscribeLink"))},null,8,["theme","element","class"])):vn("",!0)]))}}),J2=at({__name:"IteratedColumn",props:{deps:{},theme:{},iteratedColumn:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},containerWidth:{}},emits:["onImageSizeAdjusted","onImageOriginalSizeAdjusted","onElementClicked"],setup(e,{emit:t}){ku(a=>({"6300cb1b":s.value}));const n=e,o=t,s=Re(()=>n.iteratedColumn.WidthInPercents*n.containerWidth+"px");return(a,l)=>(ie(),Ce("div",{class:"iterated-column",style:Ae({display:"inline-block",verticalAlign:n.iteratedColumn.VerticalAlign})},[Z("table",{style:Ae([[oe(Yb)({borderCollapse:n.iteratedColumn.BorderCollapse})],{width:"100%","border-spacing":"0"}]),width:"100%"},[Z("tbody",null,[Z("tr",null,[Z("td",{style:Ae([{"line-height":"normal"},[oe(zb)({containerAlign:n.iteratedColumn.ContainerAlign}),oe(bs)({paddings:n.iteratedColumn.Paddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings}),oe(mi)({border:n.iteratedColumn.Border,themeColors:n.theme.Colors}),{backgroundColor:oe(ao)({color:n.iteratedColumn.BgColor,themeColors:n.theme.Colors})},oe(Do)({borderRadius:n.iteratedColumn.BorderRadius,borderRadiusCard:n.theme.BorderRadiusCard,bodyBorderRadius:n.theme.BorderRadius,borderButtonRadius:n.theme.BorderRadiusButton,borderBannerRadius:n.theme.BorderRadiusBanner})]])},[(ie(!0),Ce(ot,null,$n(n.iteratedColumn.Elements,(c,d)=>(ie(),mt(Na,{key:d,deps:n.deps.elementsDeps,theme:n.theme,element:c,context:n.context,path:[...n.path,"Elements",d],selectedElementPath:n.selectedElementPath,onOnElementClicked:l[0]||(l[0]=m=>o("onElementClicked",m)),onOnImageSizeAdjusted:l[1]||(l[1]=m=>o("onImageSizeAdjusted",m)),onOnImageOriginalSizeAdjusted:l[2]||(l[2]=m=>o("onImageOriginalSizeAdjusted",m))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))],4)])])],4)],4))}});const Z2=Gn(J2,[["__scopeId","data-v-284c0a90"]]),Q2={class:"iterated-column-container",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"},width:"100%"},eW={align:"center",style:{"font-size":"0"}},tW=at({__name:"IteratedColumnBodyRow",props:{deps:{},theme:{},iteratedColumnBodyRow:{},path:{},selectedElementPath:{},context:{},rowWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted"],setup(e,{emit:t}){ku(c=>({"22b1b0df":a.value}));const n=e,o=dn({dataList:[],isLoaded:!1}),s=()=>n.deps.listExpressionEvaluator({listExpression:n.iteratedColumnBodyRow.DataSource,context:n.context}).then(c=>{o.dataList=c,o.isLoaded=!0});s(),tn(()=>n.context,()=>s());const a=Re(()=>en({paddingExpression:n.iteratedColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings})+"px"),l=t;return(c,d)=>(ie(),Ce("table",Q2,[Z("tbody",null,[Z("tr",null,[Z("td",eW,[(ie(!0),Ce(ot,null,$n(o.dataList,(m,p)=>(ie(),Ce("span",{key:p},[Ke(Z2,{class:pr(["iterated-column-bottom-spacer",{"iterated-column__tablet-padding-right":(p+1)%2===1,"iterated-column__tablet-padding-left":(p+1)%2===0,"is-last-desktop-line":p>=o.dataList.length-n.iteratedColumnBodyRow.NumberColumnsInLine,"is-last-tablet-line":p>=o.dataList.length-2,"is-last-mobile-line":p==o.dataList.length-1}]),deps:n.deps.iteratedColumnDeps,theme:n.theme,style:Ae(oe(jb)({numberColumnsInLine:n.iteratedColumnBodyRow.NumberColumnsInLine,index:p,paddingSize:oe(en)({paddingExpression:n.iteratedColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings}),directionRtl:!1})),iteratedColumn:n.iteratedColumnBodyRow.IteratedColumn,path:[...n.path,"IteratedColumn"],selectedElementPath:n.selectedElementPath,context:{...n.context,[n.iteratedColumnBodyRow.IndexName]:m},containerWidth:n.rowWidth,onOnElementClicked:d[0]||(d[0]=E=>l("onElementClicked",E)),onOnImageOriginalSizeAdjusted:d[1]||(d[1]=E=>l("onImageOriginalSizeAdjusted",E)),onOnImageSizeAdjusted:d[2]||(d[2]=E=>l("onImageSizeAdjusted",E))},null,8,["deps","theme","class","style","iteratedColumn","path","selectedElementPath","context","containerWidth"])]))),128))])])])]))}});const nW=Gn(tW,[["__scopeId","data-v-7d644c9d"]]),rW={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"}},oW=at({__name:"IteratedBodyRow",props:{theme:{},deps:{},iteratedBodyRow:{},path:{},selectedElementPath:{},context:{},containerWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted"],setup(e,{emit:t}){const n=e,o=dn({dataList:[]});n.deps.listExpressionEvaluator({listExpression:n.iteratedBodyRow.DataSource,context:n.context}).then(a=>o.dataList=a);const s=t;return(a,l)=>(ie(),Ce("table",rW,[(ie(!0),Ce(ot,null,$n(o.dataList,(c,d)=>(ie(),Ce("tr",{key:d},[Z("td",{style:Ae([oe(bs)({paddings:n.iteratedBodyRow.Paddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings})])},[Ke(sC,{emailComponentBodyRow:n.iteratedBodyRow.BodyRow,deps:{iteratedColumnBodyRowDeps:n.deps.iteratedColumnBodyRowDeps,multipleColumnBodyRowDeps:n.deps.multipleColumnBodyRowDeps,listExpressionEvaluator:n.deps.listExpressionEvaluator},theme:n.theme,context:{...n.context,[n.iteratedBodyRow.IndexName]:c},rowWidth:n.containerWidth,path:[...n.path,"BodyRow"],selectedElementPath:n.selectedElementPath,onOnElementClicked:l[0]||(l[0]=m=>s("onElementClicked",m)),onOnImageOriginalSizeAdjusted:l[1]||(l[1]=m=>s("onImageOriginalSizeAdjusted",m)),onOnImageSizeAdjusted:l[2]||(l[2]=m=>s("onImageSizeAdjusted",m)),onOnColumnWidthAdjusted:l[3]||(l[3]=m=>s("onColumnWidthAdjusted",m))},null,8,["emailComponentBodyRow","deps","theme","context","rowWidth","path","selectedElementPath"])],4)]))),128))]))}});var su={},rC={},Qu={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNone=e.isSome=e.None=e.Some=e.OptionType=void 0,e.OptionType={Some:Symbol(":some"),None:Symbol(":none")};function t(l){return typeof l>"u"?o():n(l)}e.Some=t,e.None=o();function n(l){return{type:e.OptionType.Some,isSome(){return!0},isNone(){return!1},match(c){return c.some(l)},map(c){return n(c(l))},andThen(c){return c(l)},or(c){return this},and(c){return c},unwrapOr(c){return l},unwrap(){return l}}}function o(){return{type:e.OptionType.None,isSome(){return!1},isNone(){return!0},match(l){const{none:c}=l;return typeof c=="function"?c():c},map(l){return o()},andThen(l){return o()},or(l){return l},and(l){return o()},unwrapOr(l){if(l==null)throw new Error("Cannot call unwrapOr with a missing value.");return l},unwrap(){throw new ReferenceError("Trying to unwrap None.")}}}function s(l){return l.isSome()}e.isSome=s;function a(l){return l.isNone()}e.isNone=a})(Qu);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isRight=e.isLeft=e.Right=e.Left=e.EitherType=void 0;const t=Qu;e.EitherType={Left:Symbol(":left"),Right:Symbol(":right")};function n(l){return{type:e.EitherType.Left,isLeft(){return!0},isRight(){return!1},left(){return(0,t.Some)(l)},leftAndThen(c){return c(l)},right(){return t.None},rightAndThen(c){return n(l)},unwrap(){return l},unwrapLeft(){return l},unwrapLeftOr(c){return l},unwrapLeftOrElse(c){return l},unwrapRight(){throw new ReferenceError("Cannot unwrap Right value of Either.Left")},unwrapRightOr(c){return c},unwrapRightOrElse(c){return c(l)},match(c){return c.left(l)},map(c){return n(c(l))},mapLeft(c){return n(c(l))},mapRight(c){return n(l)}}}e.Left=n;function o(l){return{type:e.EitherType.Right,isLeft(){return!1},isRight(){return!0},left(){return t.None},leftAndThen(c){return o(l)},right(){return(0,t.Some)(l)},rightAndThen(c){return c(l)},unwrap(){return l},unwrapLeft(){throw new ReferenceError("Cannot unwrap Left value of Either.Right")},unwrapLeftOr(c){return c},unwrapLeftOrElse(c){return c(l)},unwrapRight(){return l},unwrapRightOr(c){return l},unwrapRightOrElse(c){return l},match(c){return c.right(l)},map(c){return o(c(l))},mapLeft(c){return o(l)},mapRight(c){return o(c(l))}}}e.Right=o;function s(l){return l.isLeft()}e.isLeft=s;function a(l){return l.isRight()}e.isRight=a})(rC);var oC={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isErr=e.isOk=e.Err=e.Ok=e.ResultType=void 0;const t=Qu;e.ResultType={Ok:Symbol(":ok"),Err:Symbol(":err")};function n(l){return{type:e.ResultType.Ok,isOk(){return!0},isErr(){return!1},ok(){return(0,t.Some)(l)},err(){return t.None},unwrap(){return l},unwrapOr(c){return l},unwrapOrElse(c){return l},unwrapErr(){throw new ReferenceError("Cannot unwrap Err value of Result.Ok")},match(c){return c.ok(l)},map(c){return n(c(l))},mapErr(c){return n(l)},andThen(c){return c(l)},orElse(c){return n(l)}}}e.Ok=n;function o(l){return{type:e.ResultType.Err,isOk(){return!1},isErr(){return!0},ok(){return t.None},err(){return(0,t.Some)(l)},unwrap(){throw new ReferenceError("Cannot unwrap Ok value of Result.Err")},unwrapOr(c){return c},unwrapOrElse(c){return c(l)},unwrapErr(){return l},match(c){return c.err(l)},map(c){return o(l)},mapErr(c){return o(c(l))},andThen(c){return o(l)},orElse(c){return c(l)}}}e.Err=o;function s(l){return l.isOk()}e.isOk=s;function a(l){return l.isErr()}e.isErr=a})(oC);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Ok=e.isOk=e.isErr=e.Err=e.Some=e.None=e.isSome=e.isNone=e.Right=e.Left=e.isRight=e.isLeft=void 0;var t=rC;Object.defineProperty(e,"isLeft",{enumerable:!0,get:function(){return t.isLeft}}),Object.defineProperty(e,"isRight",{enumerable:!0,get:function(){return t.isRight}}),Object.defineProperty(e,"Left",{enumerable:!0,get:function(){return t.Left}}),Object.defineProperty(e,"Right",{enumerable:!0,get:function(){return t.Right}});var n=Qu;Object.defineProperty(e,"isNone",{enumerable:!0,get:function(){return n.isNone}}),Object.defineProperty(e,"isSome",{enumerable:!0,get:function(){return n.isSome}}),Object.defineProperty(e,"None",{enumerable:!0,get:function(){return n.None}}),Object.defineProperty(e,"Some",{enumerable:!0,get:function(){return n.Some}});var o=oC;Object.defineProperty(e,"Err",{enumerable:!0,get:function(){return o.Err}}),Object.defineProperty(e,"isErr",{enumerable:!0,get:function(){return o.isErr}}),Object.defineProperty(e,"isOk",{enumerable:!0,get:function(){return o.isOk}}),Object.defineProperty(e,"Ok",{enumerable:!0,get:function(){return o.Ok}})})(su);const iW=e=>({Match:t=>{switch(e){case"Top":return t.whenTop();case"Middle":return t.whenMiddle();case"Bottom":return t.whenBottom();case"Baseline":return t.whenBaseline()}}}),sW=e=>iW(e).Match({whenTop:()=>"start",whenMiddle:()=>"center",whenBottom:()=>"end",whenBaseline:()=>"baseline"}),Qf={justifyWidth:e=>(e==null?void 0:e.WidthInPixels)!==void 0,shrinkToContentWidth:e=>(e==null?void 0:e.WidthInPixels)!==void 0,widthInPercents:e=>e!==void 0},iC=e=>({Match:t=>{if(e.JustifyWidth!==void 0)return t.whenJustifyWidth(e.JustifyWidth.WidthInPixels);if(e.ShrinkToContentWidth!==void 0)return t.whenShrinkToContentWidth(e.ShrinkToContentWidth.WidthInPixels);if(e.WidthInPercents!==void 0)return t.whenWidthInPercents(e.WidthInPercents.Value);throw Error("")}}),aW=e=>({Match:t=>iC(e).Match({whenJustifyWidth:n=>t.whenJustifyWidth?t.whenJustifyWidth(n):t.default(),whenWidthInPercents:n=>t.whenWidthInPercents?t.whenWidthInPercents(n):t.default(),whenShrinkToContentWidth:n=>t.whenShrinkToContentWidth?t.whenShrinkToContentWidth(n):t.default()})}),lW=e=>({JustifyWidth:{WidthInPixels:e}}),uW=e=>({ShrinkToContentWidth:{WidthInPixels:e}}),cW=["align"],fW=at({__name:"MultipleColumn",props:{deps:{},theme:{},multipleColumn:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},containerWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted"],setup(e,{emit:t}){ku(d=>({"505fd5fb":c.value,"89e91a86":l.value,"6083c43a":a.value}));const n=e,o=t,s=d=>{iC(n.multipleColumn.Width).Match({whenJustifyWidth:()=>su.Some(lW(d)),whenShrinkToContentWidth:()=>su.Some(uW(d)),whenWidthInPercents:()=>su.None}).map(m=>o("onColumnWidthAdjusted",{Path:n.path,Width:m}))},a=Re(()=>aW(n.multipleColumn.Width).Match({default:()=>"",whenWidthInPercents:d=>d*n.containerWidth+"px"})),l=Re(()=>sW(n.multipleColumn.VerticalAlign)),c=Re(()=>n.multipleColumn.VerticalAlign);return(d,m)=>oo((ie(),Ce("div",{class:pr(["multiple-column",{"multiple-column--justifyWidth":oe(Qf).justifyWidth(n.multipleColumn.Width.JustifyWidth),"multiple-column--shrinkToContentWidth":oe(Qf).shrinkToContentWidth(n.multipleColumn.Width.ShrinkToContentWidth),"multiple-column--widthInPercents":oe(Qf).widthInPercents(n.multipleColumn.Width.WidthInPercents)}]),style:{direction:"ltr"}},[Z("table",{style:Ae([{width:"100%","border-spacing":"0"},[oe(Yb)({borderCollapse:n.multipleColumn.BorderCollapse})]]),width:"100%"},[Z("tbody",null,[Z("tr",null,[Z("td",{align:oe(qb)({containerAlign:n.multipleColumn.ContainerAlign}),style:Ae([{"line-height":"normal"},[oe(mi)({border:n.multipleColumn.Border,themeColors:n.theme.Colors}),oe(Do)({borderRadius:n.multipleColumn.BorderRadius,borderRadiusCard:n.theme.BorderRadiusCard,bodyBorderRadius:n.theme.BorderRadius,borderButtonRadius:n.theme.BorderRadiusButton,borderBannerRadius:n.theme.BorderRadiusBanner}),{backgroundColor:oe(ao)({color:n.multipleColumn.BgColor,themeColors:n.theme.Colors})},oe(bs)({paddings:n.multipleColumn.Paddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings})]])},[(ie(!0),Ce(ot,null,$n(n.multipleColumn.Elements,(p,E)=>(ie(),mt(Na,{key:E,deps:n.deps.elementsDeps,theme:n.theme,element:p,context:n.context,path:[...n.path,"Elements",E],selectedElementPath:n.selectedElementPath,onOnElementClicked:m[0]||(m[0]=C=>o("onElementClicked",C)),onOnImageSizeAdjusted:m[1]||(m[1]=C=>o("onImageSizeAdjusted",C)),onOnImageOriginalSizeAdjusted:m[2]||(m[2]=C=>o("onImageOriginalSizeAdjusted",C))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))],12,cW)])])],4)],2)),[[oe(Cu),p=>s(p.width)]])}});const dW=Gn(fW,[["__scopeId","data-v-9630cdcf"]]),hW=at({__name:"MultipleColumnBodyRow",props:{deps:{},theme:{},multipleColumnBodyRow:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},rowWidth:{}},emits:["onElementClicked","onImageSizeAdjusted","onImageOriginalSizeAdjusted","onColumnWidthAdjusted"],setup(e,{emit:t}){ku(a=>({"308ed3d8":s.value}));const n=e,o=t,s=Re(()=>en({paddingExpression:n.multipleColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings})+"px");return(a,l)=>(ie(),Ce("table",{class:"multiple-column-container",style:Ae([{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"},[oe(mi)({border:n.multipleColumnBodyRow.Border,themeColors:n.theme.Colors}),oe(Do)({borderRadius:n.multipleColumnBodyRow.BorderRadius,borderRadiusCard:n.theme.BorderRadiusCard,bodyBorderRadius:n.theme.BorderRadius,borderButtonRadius:n.theme.BorderRadiusButton,borderBannerRadius:n.theme.BorderRadius}),{backgroundColor:oe(ao)({color:n.multipleColumnBodyRow.BgColor,themeColors:n.theme.Colors})}]]),width:"100%"},[Z("tbody",null,[Z("tr",null,[Z("td",{class:"multiple-column-container__inner",style:Ae([{"font-size":"0"},[oe(zb)({containerAlign:n.multipleColumnBodyRow.ContainerAlign}),oe(bs)({paddings:n.multipleColumnBodyRow.Paddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings}),n.multipleColumnBodyRow.DirectionRtl?{direction:"rtl"}:{direction:"ltr"}]])},[(ie(!0),Ce(ot,null,$n(n.multipleColumnBodyRow.Columns,(c,d)=>(ie(),mt(dW,{key:d,deps:n.deps.multipleColumnDeps,theme:n.theme,multipleColumn:c,path:[...n.path,"Columns",d],selectedElementPath:n.selectedElementPath,context:n.context,containerWidth:n.rowWidth-oe(en)({paddingExpression:n.multipleColumnBodyRow.Paddings.Left,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings})-oe(en)({paddingExpression:n.multipleColumnBodyRow.Paddings.Right,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings})-n.multipleColumnBodyRow.Border.Left.Width-n.multipleColumnBodyRow.Border.Right.Width,style:Ae(oe(jb)({numberColumnsInLine:n.multipleColumnBodyRow.Columns.length,index:d,paddingSize:oe(en)({paddingExpression:n.multipleColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings}),directionRtl:n.multipleColumnBodyRow.DirectionRtl})),class:pr({"is-last-tablet-line":d==n.multipleColumnBodyRow.Columns.length-1,"is-last-mobile-line":d==n.multipleColumnBodyRow.Columns.length-1}),onOnElementClicked:l[0]||(l[0]=m=>o("onElementClicked",m)),onOnColumnWidthAdjusted:l[1]||(l[1]=m=>o("onColumnWidthAdjusted",m)),onOnImageSizeAdjusted:l[2]||(l[2]=m=>o("onImageSizeAdjusted",m)),onOnImageOriginalSizeAdjusted:l[3]||(l[3]=m=>o("onImageOriginalSizeAdjusted",m))},null,8,["deps","theme","multipleColumn","path","selectedElementPath","context","containerWidth","style","class"]))),128))],4)])])],4))}});const mW=Gn(hW,[["__scopeId","data-v-c2d3f20e"]]),sC=at({__name:"EmailComponentBodyRow",props:{deps:{},theme:{},emailComponentBodyRow:{},path:{},selectedElementPath:{},context:{},rowWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted"],setup(e,{emit:t}){const n=e,o={multipleColumns:a=>a!==void 0,iteratedColumns:a=>a!==void 0,iteratedBodyRow:a=>a!==void 0},s=t;return(a,l)=>(ie(),Ce("div",null,[o.multipleColumns(n.emailComponentBodyRow.MultipleColumnBodyRow)?(ie(),mt(mW,{key:0,deps:n.deps.multipleColumnBodyRowDeps,theme:n.theme,multipleColumnBodyRow:n.emailComponentBodyRow.MultipleColumnBodyRow,path:[...n.path,"MultipleColumnBodyRow"],selectedElementPath:n.selectedElementPath,context:a.context,rowWidth:n.rowWidth,onOnColumnWidthAdjusted:l[0]||(l[0]=c=>s("onColumnWidthAdjusted",c)),onOnImageOriginalSizeAdjusted:l[1]||(l[1]=c=>s("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:l[2]||(l[2]=c=>s("onImageSizeAdjusted",c)),onOnElementClicked:l[3]||(l[3]=c=>s("onElementClicked",c))},null,8,["deps","theme","multipleColumnBodyRow","path","selectedElementPath","context","rowWidth"])):vn("",!0),o.iteratedColumns(n.emailComponentBodyRow.IteratedColumnBodyRow)?(ie(),mt(nW,{key:1,deps:n.deps.iteratedColumnBodyRowDeps,theme:n.theme,iteratedColumnBodyRow:n.emailComponentBodyRow.IteratedColumnBodyRow,path:[...n.path,"IteratedColumnBodyRow"],selectedElementPath:n.selectedElementPath,context:a.context,rowWidth:n.rowWidth,onOnElementClicked:l[4]||(l[4]=c=>s("onElementClicked",c)),onOnImageOriginalSizeAdjusted:l[5]||(l[5]=c=>s("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:l[6]||(l[6]=c=>s("onImageSizeAdjusted",c))},null,8,["deps","theme","iteratedColumnBodyRow","path","selectedElementPath","context","rowWidth"])):vn("",!0),o.iteratedBodyRow(n.emailComponentBodyRow.IteratedBodyRow)?(ie(),mt(oW,{key:2,deps:{iteratedColumnBodyRowDeps:n.deps.iteratedColumnBodyRowDeps,multipleColumnBodyRowDeps:n.deps.multipleColumnBodyRowDeps,listExpressionEvaluator:n.deps.listExpressionEvaluator},theme:n.theme,iteratedBodyRow:n.emailComponentBodyRow.IteratedBodyRow,path:[...n.path,"IteratedBodyRow"],selectedElementPath:n.selectedElementPath,context:a.context,containerWidth:n.rowWidth,onOnElementClicked:l[7]||(l[7]=c=>s("onElementClicked",c)),onOnImageOriginalSizeAdjusted:l[8]||(l[8]=c=>s("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:l[9]||(l[9]=c=>s("onImageSizeAdjusted",c))},null,8,["deps","theme","iteratedBodyRow","path","selectedElementPath","context","containerWidth"])):vn("",!0)]))}}),pW={key:0},gW={key:1,class:"empty-email-component"},_W={class:"bootstrap-styles w-100 d-flex justify-content-center gap-5"},EW=at({__name:"EmailComponent",props:{deps:{},theme:{},emailComponent:{},path:{},selectedElementPath:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted"],setup(e,{emit:t}){const n=e,o=dn({context:{},ifResult:!n.emailComponent.ContextBuilderExpression,isLoaded:!1}),s=l=>{o.isLoaded=!1,n.deps.dataStructExpressionEvaluator({dataStructBuilderExpression:l,context:{}}).then(c=>{(n.emailComponent.IfExpression?n.deps.boolExpressionEvaluatorDelegate({boolExpression:n.emailComponent.IfExpression,context:c}):Promise.resolve(!0)).then(d=>{o.context=c,o.ifResult=d,o.isLoaded=!0})})};tn(()=>n.emailComponent.ContextBuilderExpression,l=>{l&&s(l)});const a=t;return n.emailComponent.ContextBuilderExpression?s(n.emailComponent.ContextBuilderExpression):o.isLoaded=!0,(l,c)=>{const d=SL("VSkeletonLoader");return o.isLoaded?(ie(),Ce("div",pW,[o.ifResult?(ie(),Ce("table",{key:0,style:Ae([{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"},[{backgroundColor:oe(ao)({color:n.emailComponent.InnerBgColor,themeColors:n.theme.Colors})},oe(Do)({borderRadius:n.emailComponent.BorderRadius,borderRadiusCard:n.theme.BorderRadiusCard,bodyBorderRadius:n.theme.BorderRadius,borderButtonRadius:n.theme.BorderRadiusButton,borderBannerRadius:n.theme.BorderRadiusBanner}),{maxWidth:n.theme.BodyWidth+"px"}]])},[Z("tbody",null,[Z("tr",null,[Z("td",{class:"row__inner",style:Ae([oe(OE)({paddings:n.emailComponent.Paddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings,fullWidth:n.emailComponent.FullWidth})])},[(ie(!0),Ce(ot,null,$n(n.emailComponent.BodyRowList,(m,p)=>(ie(),mt(sC,{key:p,deps:n.deps.emailComponentBodyRowDeps,theme:n.theme,emailComponentBodyRow:m,context:o.context,rowWidth:n.emailComponent.FullWidth?n.theme.BodyWidth:n.theme.BodyWidth-n.theme.BodyPaddings.Left-n.theme.BodyPaddings.Right,path:[...n.path,"BodyRowList",p],selectedElementPath:n.selectedElementPath,onOnElementClicked:c[0]||(c[0]=E=>a("onElementClicked",E)),onOnImageSizeAdjusted:c[1]||(c[1]=E=>a("onImageSizeAdjusted",E)),onOnImageOriginalSizeAdjusted:c[2]||(c[2]=E=>a("onImageOriginalSizeAdjusted",E)),onOnColumnWidthAdjusted:c[3]||(c[3]=E=>a("onColumnWidthAdjusted",E))},null,8,["deps","theme","emailComponentBodyRow","context","rowWidth","path","selectedElementPath"]))),128))],4)])])],4)):(ie(),Ce("div",gW,[c[5]||(c[5]=ih(" Товарная полка скрыта из-за недостатка товаров ")),oo((ie(),Ce("i",null,c[4]||(c[4]=[Z("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Z("path",{d:"M6.99967 13.6663C3.31777 13.6663 0.333008 10.6815 0.333008 6.99967C0.333008 3.31777 3.31777 0.333008 6.99967 0.333008C10.6815 0.333008 13.6663 3.31777 13.6663 6.99967C13.6663 10.6815 10.6815 13.6663 6.99967 13.6663ZM6.99967 12.333C9.94521 12.333 12.333 9.94521 12.333 6.99967C12.333 4.05415 9.94521 1.66634 6.99967 1.66634C4.05415 1.66634 1.66634 4.05415 1.66634 6.99967C1.66634 9.94521 4.05415 12.333 6.99967 12.333ZM6.33301 3.66634H7.66634V4.99967H6.33301V3.66634ZM6.33301 6.33301H7.66634V10.333H6.33301V6.33301Z",fill:"var(--gray-500)"})],-1)]))),[[oe(Gb),{placement:"top",title:"Товарная полка не будет отображаться у получателей письма пока в ней недостаточно товаров"}]])]))])):(ie(),Ce("div",{key:1,class:"bootstrap-styles w-100",style:Ae([oe(OE)({paddings:n.emailComponent.Paddings,themeComponentPaddings:n.theme.ComponentPaddings,themeBodyPaddings:n.theme.BodyPaddings,fullWidth:n.emailComponent.FullWidth}),{backgroundColor:oe(ao)({color:n.emailComponent.InnerBgColor,themeColors:n.theme.Colors})||"transparent"}])},[Ke(d,{type:"text"}),Z("div",_W,[(ie(),Ce(ot,null,$n(3,m=>Ke(d,{key:m,type:"image, text, text, text, button",style:{width:"100%"}})),64))])],4))}}});const aC=Gn(EW,[["__scopeId","data-v-a8102873"]]),vW={class:"scale-to-width-fit-component",style:{display:"inline-block","transform-origin":"left top"}},lC=at({__name:"ScaleToWidthFit",emits:["scaledElement"],setup(e,{emit:t}){const n=t;return(o,s)=>oo((ie(),Ce("div",vW,[sd(o.$slots,"default")])),[[oe(Cu),({width:a})=>{o.$el.style.transform=`scale(${o.$el.parentElement.clientWidth/a}`,n("scaledElement",o.$el)}]])}}),yW={class:"bootstrap-styles modal fade show d-block position-absolute"},bW={class:"bootstrap-styles modal-dialog modal-dialog-centered"},CW={class:"bootstrap-styles modal-content border rounded-3 shadow","data-test":"modal-window__content"},TW={class:"bootstrap-styles modal-header p-0"},wW={class:"bootstrap-styles container-fluid border-bottom g-0"},AW={class:"bootstrap-styles d-flex justify-content-between align-items-center px-11 py-7"},SW={class:"bootstrap-styles modal-title border-0","data-test":"modal-window__header-text"},xW={class:"bootstrap-styles modal-body p-0","data-test":"modal-window__body"},LW={class:"bootstrap-styles modal-footer p-0 g-0"},IW={class:"bootstrap-styles container-fluid border-top"},OW={class:"bootstrap-styles d-flex justify-content-end py-8 px-11"},RW={class:"bootstrap-styles col-6 d-flex justify-content-end","data-test":"modal-window__footer-actions"},PW=at({__name:"ModalWindow",props:{headerText:{}},emits:["close"],setup(e,{emit:t}){const n=e,o=t;return(s,a)=>(ie(),Ce("div",yW,[Z("div",{class:"bootstrap-styles modal-blur d-block position-fixed top-0 left-0 w-100 vh-100","data-test":"modal-window__outside",onClick:a[0]||(a[0]=l=>o("close"))}),Z("div",bW,[Z("div",CW,[Z("div",TW,[Z("div",wW,[Z("div",AW,[Z("h5",SW,Ud(n.headerText),1),oo((ie(),Ce("button",{type:"button","aria-label":"Close","data-bs-dismiss":"modal","data-test":"modal-window__close-button",onClick:a[1]||(a[1]=l=>o("close"))},a[2]||(a[2]=[Z("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[Z("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),Z("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})],-1)]))),[[oe(Gb),{title:"Закрыть",placement:"top"}]])])])]),Z("div",xW,[sd(s.$slots,"body",{},void 0,!0)]),Z("div",LW,[Z("div",IW,[Z("div",OW,[Z("div",RW,[sd(s.$slots,"footer-actions",{},void 0,!0)])])])])])])]))}});const NW=Gn(PW,[["__scopeId","data-v-51d20551"]]),DW={class:"email-template-preview__inner-padding scrollable"},MW={class:"webkit emailTemplate--desktop"},BW={class:"emailTemplate-border-top"},kW={class:"emailTemplate-border-bottom"},FW=at({__name:"EmailTemplatePreviewModalWindow",props:{template:{},deps:{}},emits:["favoriteTemplateSelected","close"],setup(e,{emit:t}){const n=e,o=a=>{const l=a.parentElement;l&&(l.style.height=a.getBoundingClientRect().height+"px")},s=t;return(a,l)=>(ie(),mt(NW,{headerText:"Предпросмотр",class:"email-component__preview-modal-window",onClose:l[3]||(l[3]=()=>s("close"))},{body:na(()=>[Z("div",{style:Ae({backgroundColor:a.template.Theme.Colors.EmailBackgroundColor})},[Ke(lC,{onScaledElement:l[0]||(l[0]=c=>o(c))},{default:na(()=>[Z("div",DW,[Z("div",{class:"bootstrap-styles pe-none email-template-preview",style:Ae({backgroundColor:n.template.Theme.Colors.EmailBackgroundColor,fontFamily:n.template.Theme.FontFamily,width:a.template.Theme.BodyWidth+"px"})},[Z("div",MW,[Z("div",BW,[Z("table",{style:Ae([[{maxWidth:n.template.Theme.BodyWidth+"px",width:"100%",backgroundColor:n.template.Theme.Colors.BodyColor,borderTopLeftRadius:n.template.Theme.BorderRadius.TopLeft+"px",borderTopRightRadius:n.template.Theme.BorderRadius.TopRight+"px"}],{"border-spacing":"0"}])},[Z("tbody",null,[Z("tr",null,[Z("td",{style:Ae([{paddingTop:n.template.Theme.BodyPaddings.Top+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)]),(ie(!0),Ce(ot,null,$n(n.template.Components,(c,d)=>(ie(),Ce("div",{key:d},[Ke(aC,{deps:a.deps.emailComponentDeps,theme:n.template.Theme,emailComponent:c,path:[],selectedElementPath:[]},null,8,["deps","theme","emailComponent"])]))),128)),Z("div",kW,[Z("table",{style:Ae([[{maxWidth:n.template.Theme.BodyWidth+"px",width:"100%",backgroundColor:n.template.Theme.Colors.BodyColor,borderBottomLeftRadius:n.template.Theme.BorderRadius.BottomLeft+"px",borderBottomRightRadius:n.template.Theme.BorderRadius.BottomRight+"px"}],{"border-spacing":"0"}])},[Z("tbody",null,[Z("tr",null,[Z("td",{style:Ae([{paddingBottom:n.template.Theme.BodyPaddings.Bottom+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)])])],4)])]),_:1})],4)]),"footer-actions":na(()=>[Z("button",{type:"button",class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 border border-blue-selected rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:l[1]||(l[1]=fs(()=>s("close"),["stop"]))}," Отмена "),Z("button",{type:"submit",class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 border rounded-2 bg-color-selected text-white cursor-pointer",onClick:l[2]||(l[2]=()=>{s("favoriteTemplateSelected")})}," Выбрать ")]),_:1}))}});const $W=Gn(FW,[["__scopeId","data-v-7bb60afa"]]),WW={class:"email-template-preview__inner-padding scrollable"},HW={class:"webkit emailTemplate--desktop"},UW={class:"emailTemplate-border-top"},VW={class:"emailTemplate-border-bottom"},GW=at({__name:"EmailTemplatePreviewTile",props:{deps:{},template:{}},emits:["favoriteTemplateSelected"],setup(e,{emit:t}){const n=e,o=dn({isPreviewComponentModalWindowShown:!1}),s=l=>{const c=l.parentElement;c&&(c.style.height=l.getBoundingClientRect().height+"px")},a=t;return(l,c)=>(ie(),Ce(ot,null,[Z("div",{class:"bootstrap-styles h-100",style:Ae({backgroundColor:n.template.Theme.Colors.EmailBackgroundColor}),onClick:c[1]||(c[1]=()=>{o.isPreviewComponentModalWindowShown=!0})},[Ke(lC,{onScaledElement:c[0]||(c[0]=d=>s(d))},{default:na(()=>[Z("div",WW,[Z("div",{class:"bootstrap-styles pe-none email-template-preview",style:Ae({backgroundColor:n.template.Theme.Colors.EmailBackgroundColor,fontFamily:n.template.Theme.FontFamily,width:l.template.Theme.BodyWidth+"px"})},[Z("div",HW,[Z("div",UW,[Z("table",{style:Ae([[{maxWidth:n.template.Theme.BodyWidth+"px",width:"100%",backgroundColor:n.template.Theme.Colors.BodyColor,borderTopLeftRadius:n.template.Theme.BorderRadius.TopLeft+"px",borderTopRightRadius:n.template.Theme.BorderRadius.TopRight+"px"}],{"border-spacing":"0"}])},[Z("tbody",null,[Z("tr",null,[Z("td",{style:Ae([{paddingTop:n.template.Theme.BodyPaddings.Top+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)]),(ie(!0),Ce(ot,null,$n(n.template.Components,(d,m)=>(ie(),Ce("div",{key:m},[Ke(aC,{deps:n.deps.emailComponentDeps,theme:n.template.Theme,emailComponent:d,path:[],selectedElementPath:[]},null,8,["deps","theme","emailComponent"])]))),128)),Z("div",VW,[Z("table",{style:Ae([[{maxWidth:n.template.Theme.BodyWidth+"px",width:"100%",backgroundColor:n.template.Theme.Colors.BodyColor,borderBottomLeftRadius:n.template.Theme.BorderRadius.BottomLeft+"px",borderBottomRightRadius:n.template.Theme.BorderRadius.BottomRight+"px"}],{"border-spacing":"0"}])},[Z("tbody",null,[Z("tr",null,[Z("td",{style:Ae([{paddingBottom:n.template.Theme.BodyPaddings.Bottom+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)])])],4)])]),_:1})],4),(ie(),mt(pL,{to:"#app"},[o.isPreviewComponentModalWindowShown?(ie(),mt($W,{key:0,template:n.template,deps:n.deps.emailTemplatePreviewModalWindowDeps,onClose:c[2]||(c[2]=()=>o.isPreviewComponentModalWindowShown=!1),onFavoriteTemplateSelected:c[3]||(c[3]=()=>a("favoriteTemplateSelected"))},null,8,["template","deps"])):vn("",!0)]))],64))}});const jW=Gn(GW,[["__scopeId","data-v-f6f330d3"]]),YW=e=>at((t,n)=>()=>Bu(jW,{template:e.template,deps:e.emailTemplatePreviewTileDeps,onFavoriteTemplateSelected:e.onFavoriteTemplateSelected})),KW=e=>({elementsDeps:e.elementsDeps}),zW=e=>({iteratedColumnDeps:KW({elementsDeps:e.elementsDeps}),listExpressionEvaluator:e.listExpressionEvaluator}),qW=e=>({elementsDeps:e.elementsDeps}),XW=e=>({multipleColumnDeps:qW({elementsDeps:e.elementsDeps})}),JW=e=>({iteratedColumnBodyRowDeps:zW({elementsDeps:e.elementsDeps,listExpressionEvaluator:e.listExpressionEvaluator}),multipleColumnBodyRowDeps:XW({elementsDeps:e.elementsDeps}),listExpressionEvaluator:e.listExpressionEvaluator}),uC=e=>({emailComponentBodyRowDeps:JW({elementsDeps:e.elementsDeps,listExpressionEvaluator:e.listExpressionEvaluator}),boolExpressionEvaluatorDelegate:e.boolExpressionEvaluator,dataStructExpressionEvaluator:e.dataStructExpressionEvaluator}),ZW=e=>({expressionEvaluator:e.expressionEvaluator}),cC=e=>({listExpressionEvaluator:e.listExpressionEvaluator,numberExpressionEvaluator:e.numberExpressionEvaluator,stringExpressionEvaluator:e.stringExpressionEvaluator,expressionVueDeps:ZW({expressionEvaluator:e.expressionEvaluator}),boolExpressionEvaluator:e.boolExpressionEvaluator}),QW=e=>vr(e),eH=e=>vr(e),tH=e=>({predicate:t,context:n})=>Promise.all([e.numberExpressionEvaluator({numberExpression:t.Left,context:n}),e.numberExpressionEvaluator({numberExpression:t.Right,context:n})]).then(([o,s])=>o===s),nH=e=>vr(e),rH=e=>({predicate:t,context:n})=>Promise.all([e.numberExpressionEvaluator({numberExpression:t.Left,context:n}),e.numberExpressionEvaluator({numberExpression:t.Right,context:n})]).then(([o,s])=>o<s),oH=e=>({predicate:t,context:n})=>Promise.all([e.numberExpressionEvaluator({numberExpression:t.Left,context:n}),e.numberExpressionEvaluator({numberExpression:t.Right,context:n})]).then(([o,s])=>o>s),iH=e=>{const t=tH({numberExpressionEvaluator:e.numberExpressionEvaluator}),n=oH({numberExpressionEvaluator:e.numberExpressionEvaluator}),o=rH({numberExpressionEvaluator:e.numberExpressionEvaluator});return({numberPredicate:s,context:a})=>nH(s).Match({whenEqual:l=>t({predicate:l,context:a}),whenGreaterThan:l=>n({predicate:l,context:a}),whenLessThan:l=>o({predicate:l,context:a})})},sH=e=>({predicate:t,context:n})=>Promise.all([e.stringExpressionEvaluator({stringExpression:t.Left,context:n}),e.stringExpressionEvaluator({stringExpression:t.Right,context:n})]).then(([o,s])=>o>s),aH=e=>vr(e),lH=e=>({predicate:t,context:n})=>Promise.all([e.stringExpressionEvaluator({stringExpression:t.Left,context:n}),e.stringExpressionEvaluator({stringExpression:t.Contains,context:n})]).then(([o,s])=>o>s),uH=e=>{const t=sH({stringExpressionEvaluator:e.stringExpressionEvaluator}),n=lH({stringExpressionEvaluator:e.stringExpressionEvaluator});return({stringPredicate:o,context:s})=>aH(o).Match({whenContains:a=>n({predicate:a,context:s}),whenEqual:a=>t({predicate:a,context:s})})},cH=e=>{const t=iH({numberExpressionEvaluator:e.numberExpressionEvaluator}),n=uH({stringExpressionEvaluator:e.stringExpressionEvaluator});return({predicate:o,context:s})=>eH(o).Match({whenNumberPredicate:a=>t({numberPredicate:a,context:s}),whenStringPredicate:a=>n({stringPredicate:a,context:s})})},fC=e=>{const t=cH({numberExpressionEvaluator:e.numberExpressionEvaluator,stringExpressionEvaluator:e.stringExpressionEvaluator}),n=({boolExpression:o,context:s})=>QW(o).Match({whenAndExpression:a=>Promise.all(a.Expressions.map(l=>n({boolExpression:l,context:s}))).then(l=>l.every(c=>c)),whenOrExpression:a=>Promise.all(a.Expressions.map(l=>n({boolExpression:l,context:s}))).then(l=>l.some(c=>c)),whenNotExpression:async a=>!await n({boolExpression:a.Expression,context:s}),whenPredicate:a=>t({predicate:a,context:s})});return n},fH=e=>{const t=fC({numberExpressionEvaluator:e.numberExpressionEvaluator,stringExpressionEvaluator:e.stringExpressionEvaluator});return{emailComponentDeps:uC({elementsDeps:cC({listExpressionEvaluator:e.listExpressionEvaluator,numberExpressionEvaluator:e.numberExpressionEvaluator,stringExpressionEvaluator:e.stringExpressionEvaluator,expressionEvaluator:e.expressionEvaluator,boolExpressionEvaluator:t}),listExpressionEvaluator:e.listExpressionEvaluator,boolExpressionEvaluator:t,dataStructExpressionEvaluator:e.dataStructExpressionEvaluator})}},dH=e=>{const t=fC({numberExpressionEvaluator:e.numberExpressionEvaluator,stringExpressionEvaluator:e.stringExpressionEvaluator});return{emailComponentDeps:uC({elementsDeps:cC({listExpressionEvaluator:e.listExpressionEvaluator,numberExpressionEvaluator:e.numberExpressionEvaluator,stringExpressionEvaluator:e.stringExpressionEvaluator,expressionEvaluator:e.expressionEvaluator,boolExpressionEvaluator:t}),listExpressionEvaluator:e.listExpressionEvaluator,boolExpressionEvaluator:t,dataStructExpressionEvaluator:e.dataStructExpressionEvaluator}),emailTemplatePreviewModalWindowDeps:fH({listExpressionEvaluator:e.listExpressionEvaluator,dataStructExpressionEvaluator:e.dataStructExpressionEvaluator,numberExpressionEvaluator:e.numberExpressionEvaluator,stringExpressionEvaluator:e.stringExpressionEvaluator,expressionEvaluator:e.expressionEvaluator})}},hH=e=>{const t=document.createElement("form");t.method=e.method,t.action=e.action;for(const[n,o]of e.formData.entries()){if(o instanceof File)continue;const s=document.createElement("input");s.setAttribute("type","text"),s.setAttribute("name",n),s.setAttribute("value",o),t.appendChild(s)}return t},mH=e=>{const t=n=>J$(n.listExpression).Match({whenContextValueExpression:o=>Promise.resolve(z$(o.Path,n.context)),whenChunkExpression:async o=>{const s=await t({listExpression:o.ListExpression,context:n.context});return s.slice(0,Math.floor(s.length/o.ChunkSize)*o.ChunkSize)},whenLimitExpression:async o=>(await t({listExpression:o.ListExpression,context:n.context})).slice(0,o.Limit),whenDataSource:o=>e.listExpressionDataSourceEvaluator(o)});return t},pH=e=>t=>Z$(t.numberExpression).Match({whenContextValueExpression:n=>Promise.resolve(X$(n.Path,t.context)),whenConstValueExpression:n=>Promise.resolve(n.Value),whenListLengthExpression:async n=>e.listExpressionEvaluator({listExpression:n.ListExpression,context:t.context}).then(o=>o.length),whenDataSource:n=>Promise.resolve(e.numberExpressionDataSourceEvaluator(n))}),gH=e=>{const t=n=>{const o=e.stringExpressionDataSourceEvaluatorFactory(t);return Q$(n.stringExpression).Match({whenConcatStringExpressions:s=>yH({concatStringExpressions:s,stringExpressionEvaluator:t,context:n.context}),whenContextValueExpression:s=>_H({contextValueExpression:s,context:n.context}),whenConstValueExpression:s=>bH({stringConstValueExpression:s}),whenTruncateValueExpression:s=>EH({truncateValueExpression:s,context:n.context,stringExpressionEvaluator:t}),whenDataSource:s=>o({stringExpressionDataSource:s,context:n.context}),whenNumberToStringExpression:s=>vH({numberToStringExpression:s,context:n.context,numberExpressionEvaluator:e.numberExpressionEvaluator})})};return t},_H=e=>Promise.resolve(q$(e.contextValueExpression.Path,e.context)),EH=async e=>(await e.stringExpressionEvaluator({stringExpression:e.truncateValueExpression.StringExpression,context:e.context})).slice(0,e.truncateValueExpression.MaxLength)+e.truncateValueExpression.Tail,vH=async e=>(await e.numberExpressionEvaluator({numberExpression:e.numberToStringExpression.NumberExpression,context:e.context})).toString(),yH=e=>Promise.all(e.concatStringExpressions.StringExpressions.map(t=>e.stringExpressionEvaluator({stringExpression:t,context:e.context}))).then(t=>t.join("")),bH=e=>Promise.resolve(e.stringConstValueExpression.Value),CH=()=>()=>Promise.resolve(0),TH=vr,wH=e=>{const t=e.contactCustomData;return n=>TH(n.stringExpressionDataSource).Match({whenMassMailingContactCustomData:o=>Promise.resolve(t[o.FieldName]),whenProductImageUrlBuilderExpression:o=>e.productImageUrlBuilderExpressionEvaluator({expression:o,context:n.context})})},AH=e=>async({context:t,expression:n})=>e.numberExpressionEvaluator({numberExpression:n.ProductId,context:t}).then(o=>"https://cdn.retailrocket.net/api/1.0/partner/"+e.partnerId+"/item/"+o+"/picture/?format=png&width="+n.ImageSize.Width+"&height="+n.ImageSize.Height+"&scale=both"),WE=e=>({dataStructBuilderExpression:t,context:n})=>Promise.all(Object.entries(t).map(async([o,s])=>({key:o,value:await e.expressionEvaluator({expression:s,context:n})}))).then(o=>Object.fromEntries(o.map(s=>[s.key,s.value]))),SH=e=>vr(e),xH=e=>{const t=({expression:n,context:o})=>{const s=e.dataStructBuilderExpressionEvaluatorFactory(t);return SH(n).Match({whenNumberExpression:a=>e.numberExpressionEvaluator({numberExpression:a,context:o}),whenStringExpression:a=>e.stringExpressionEvaluator({stringExpression:a,context:o}),whenListExpression:a=>e.listExpressionEvaluator({listExpression:a,context:o}),whenRecordBuilderExpression:a=>s({dataStructBuilderExpression:a,context:o})})};return t},HE={Subject:"",Preheader:"",Theme:{BodyWidth:600,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#EEEEEE",BodyColor:"#FFFFFF",PrimaryColor:"#557aff",PrimaryTextColor:"#ffffff",SecondaryColor:"#F6F6F6",SecondaryTextColor:"#000000",CardBackgroundColor:"#F2F2F2",HeadingColor:"#2F2F2F",TitleColor:"#2F2F2F",SubHeadingColor:"#2F2F2F",LargeTextColor:"#2F2F2F",NormalTextColor:"#2F2F2F",DescriptionTextColor:"#999999",LinkColor:"#65A0FA",ButtonTextColor:"#ffffff"},BorderRadius:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BorderRadiusCard:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusButton:{TopLeft:5,TopRight:5,BottomLeft:5,BottomRight:5},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:20,Right:20,Top:10,Bottom:10},ComponentPaddings:{Small:8,Medium:16,Large:24,Huge:40},ButtonPaddings:{TopBottom:12,LeftRight:14},FontSettingsPresets:{Title:{FontSize:24,LineHeight:28,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:24,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:14,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{SpanText:{MinNumberOfLines:1,IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Text:{ConstValueExpression:{Value:"Cервис создания электронных писем"}},Style:{Discriminator:"Heading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},ContentAlign:"Inline"}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:1,IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Text:{ConstValueExpression:{Value:"Мы рады представить вам наш новый продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов."}},Style:{Discriminator:"LargeText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},ContentAlign:"Inline"}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]}]},dC="#app",Qn=document.querySelector(dC),un={partnerId:Qn.getAttribute("data-partner-id"),wysiwygTemplateEditorBffBaseUrl:Qn.getAttribute("data-wysiwyg-template-editor-bff-base-url"),wysiwygBffProxyBaseUrl:Qn.getAttribute("data-wysiwyg-bff-proxy-base-url"),antiForgeryHeaderTokenName:Qn.getAttribute("data-anti-forgery-header-token-name"),antiForgeryHeaderTokenValue:Qn.getAttribute("data-anti-forgery-header-token-value"),antiForgeryFormTokenName:Qn.getAttribute("data-anti-forgery-form-token-name"),antiForgeryFormTokenValue:Qn.getAttribute("data-anti-forgery-form-token-value"),createEmailTemplateSubmitUrl:Qn.getAttribute("data-create-email-template-submit-url"),initialEmailTemplateJson:Qn.getAttribute("data-initial-multicast-template"),multicastFavoritesTemplates:JSON.parse(Qn.getAttribute("data-multicast-favorites-templates")),commonFavoritesTemplates:JSON.parse(Qn.getAttribute("data-common-favorites-templates")),exitLink:Qn.getAttribute("data-exit-link")},LH=e=>_D({baseUrl:e.baseUrl,antiForgeryTokenHeaderName:un.antiForgeryHeaderTokenName,antiForgeryTokenValue:un.antiForgeryHeaderTokenValue}),IH=Vy(LH({baseUrl:un.wysiwygBffProxyBaseUrl})),hC=e=>{const t=new FormData;t.append(un.antiForgeryFormTokenName,un.antiForgeryFormTokenValue),t.append("template",JSON.stringify(e.template));const n=hH({method:"POST",action:un.createEmailTemplateSubmitUrl,formData:t});document.body.appendChild(n),n.submit()},OH={},UE=e=>{const t=gD({partnerId:un.partnerId,listExpressionDataSourceBffClient:IH,customerStockId:void 0}),n=mH({listExpressionDataSourceEvaluator:t}),o=CH(),s=pH({listExpressionEvaluator:n,numberExpressionDataSourceEvaluator:o}),a=gH({listExpressionEvaluator:n,numberExpressionEvaluator:s,stringExpressionDataSourceEvaluatorFactory:()=>wH({productImageUrlBuilderExpressionEvaluator:AH({partnerId:un.partnerId,numberExpressionEvaluator:s}),contactCustomData:OH})}),l=xH({listExpressionEvaluator:n,numberExpressionEvaluator:s,stringExpressionEvaluator:a,dataStructBuilderExpressionEvaluatorFactory:d=>WE({expressionEvaluator:d})}),c=WE({expressionEvaluator:l});return YW({template:e.template,emailTemplatePreviewTileDeps:dH({listExpressionEvaluator:n,numberExpressionEvaluator:s,stringExpressionEvaluator:a,dataStructExpressionEvaluator:c,expressionEvaluator:l}),onFavoriteTemplateSelected:()=>{console.log("onFavoriteTemplateSelected"),hC({template:e.template})}})},Fh=$I(qR,{onInitialTemplateSelected:()=>{console.log("onInitialTemplateSelected"),hC({template:un.initialEmailTemplateJson.length?JSON.parse(un.initialEmailTemplateJson):HE})},deps:aD({partnerId:un.partnerId,emailTemplatePreviewComponents:[...un.commonFavoritesTemplates.map(e=>UE({template:JSON.parse(e.templateJson)})),...un.multicastFavoritesTemplates.map(e=>UE({template:JSON.parse(e.templateJson)}))],initialEmailTemplate:un.initialEmailTemplateJson.length?JSON.parse(un.initialEmailTemplateJson):HE,exitLink:un.exitLink})});Fh.use(gy({components:{VSkeletonLoader:oD}}));Fh.use(Uy);Fh.mount(dC);
|