index.c685e846.js 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  1. (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))c(h);new MutationObserver(h=>{for(const g of h)if(g.type==="childList")for(const x of g.addedNodes)x.tagName==="LINK"&&x.rel==="modulepreload"&&c(x)}).observe(document,{childList:!0,subtree:!0});function o(h){const g={};return h.integrity&&(g.integrity=h.integrity),h.referrerpolicy&&(g.referrerPolicy=h.referrerpolicy),h.crossorigin==="use-credentials"?g.credentials="include":h.crossorigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function c(h){if(h.ep)return;h.ep=!0;const g=o(h);fetch(h.href,g)}})();function bu(e,t){const o=Object.create(null),c=e.split(",");for(let h=0;h<c.length;h++)o[c[h]]=!0;return t?h=>!!o[h.toLowerCase()]:h=>!!o[h]}const j_="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",$_=bu(j_),V_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",U_=bu(V_);function ab(e){return!!e||e===""}function ls(e){if(yt(e)){const t={};for(let o=0;o<e.length;o++){const c=e[o],h=ar(c)?K_(c):ls(c);if(h)for(const g in h)t[g]=h[g]}return t}else{if(ar(e))return e;if(Kt(e))return e}}const G_=/;(?![^(]*\))/g,q_=/:(.+)/;function K_(e){const t={};return e.split(G_).forEach(o=>{if(o){const c=o.split(q_);c.length>1&&(t[c[0].trim()]=c[1].trim())}}),t}function Br(e){let t="";if(ar(e))t=e;else if(yt(e))for(let o=0;o<e.length;o++){const c=Br(e[o]);c&&(t+=c+" ")}else if(Kt(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}function Z_(e){if(!e)return null;let{class:t,style:o}=e;return t&&!ar(t)&&(e.class=Br(t)),o&&(e.style=ls(o)),e}function J_(e,t){if(e.length!==t.length)return!1;let o=!0;for(let c=0;o&&c<e.length;c++)o=lo(e[c],t[c]);return o}function lo(e,t){if(e===t)return!0;let o=kg(e),c=kg(t);if(o||c)return o&&c?e.getTime()===t.getTime():!1;if(o=dl(e),c=dl(t),o||c)return e===t;if(o=yt(e),c=yt(t),o||c)return o&&c?J_(e,t):!1;if(o=Kt(e),c=Kt(t),o||c){if(!o||!c)return!1;const h=Object.keys(e).length,g=Object.keys(t).length;if(h!==g)return!1;for(const x in e){const y=e.hasOwnProperty(x),z=t.hasOwnProperty(x);if(y&&!z||!y&&z||!lo(e[x],t[x]))return!1}}return String(e)===String(t)}function yu(e,t){return e.findIndex(o=>lo(o,t))}const hl=e=>ar(e)?e:e==null?"":yt(e)||Kt(e)&&(e.toString===lb||!St(e.toString))?JSON.stringify(e,sb,2):String(e),sb=(e,t)=>t&&t.__v_isRef?sb(e,t.value):Ya(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[c,h])=>(o[`${c} =>`]=h,o),{})}:oa(t)?{[`Set(${t.size})`]:[...t.values()]}:Kt(t)&&!yt(t)&&!cb(t)?String(t):t,jt={},Xa=[],Wn=()=>{},Q_=()=>!1,ez=/^on[^a-z]/,Fl=e=>ez.test(e),Af=e=>e.startsWith("onUpdate:"),lr=Object.assign,Df=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},tz=Object.prototype.hasOwnProperty,Ht=(e,t)=>tz.call(e,t),yt=Array.isArray,Ya=e=>Ml(e)==="[object Map]",oa=e=>Ml(e)==="[object Set]",kg=e=>Ml(e)==="[object Date]",St=e=>typeof e=="function",ar=e=>typeof e=="string",dl=e=>typeof e=="symbol",Kt=e=>e!==null&&typeof e=="object",Ef=e=>Kt(e)&&St(e.then)&&St(e.catch),lb=Object.prototype.toString,Ml=e=>lb.call(e),rz=e=>Ml(e).slice(8,-1),cb=e=>Ml(e)==="[object Object]",Lf=e=>ar(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zs=bu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wu=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},nz=/-(\w)/g,gn=wu(e=>e.replace(nz,(t,o)=>o?o.toUpperCase():"")),iz=/\B([A-Z])/g,ai=wu(e=>e.replace(iz,"-$1").toLowerCase()),Pl=wu(e=>e.charAt(0).toUpperCase()+e.slice(1)),Js=wu(e=>e?`on${Pl(e)}`:""),qa=(e,t)=>!Object.is(e,t),ja=(e,t)=>{for(let o=0;o<e.length;o++)e[o](t)},ou=(e,t,o)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:o})},co=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Cg;const oz=()=>Cg||(Cg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let un;class Tf{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&un&&(this.parent=un,this.index=(un.scopes||(un.scopes=[])).push(this)-1)}run(t){if(this.active){const o=un;try{return un=this,t()}finally{un=o}}}on(){un=this}off(){un=this.parent}stop(t){if(this.active){let o,c;for(o=0,c=this.effects.length;o<c;o++)this.effects[o].stop();for(o=0,c=this.cleanups.length;o<c;o++)this.cleanups[o]();if(this.scopes)for(o=0,c=this.scopes.length;o<c;o++)this.scopes[o].stop(!0);if(this.parent&&!t){const h=this.parent.scopes.pop();h&&h!==this&&(this.parent.scopes[this.index]=h,h.index=this.index)}this.active=!1}}}function _u(e){return new Tf(e)}function ub(e,t=un){t&&t.active&&t.effects.push(e)}function az(){return un}function sz(e){un&&un.cleanups.push(e)}const Ff=e=>{const t=new Set(e);return t.w=0,t.n=0,t},hb=e=>(e.w&uo)>0,db=e=>(e.n&uo)>0,lz=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=uo},cz=e=>{const{deps:t}=e;if(t.length){let o=0;for(let c=0;c<t.length;c++){const h=t[c];hb(h)&&!db(h)?h.delete(e):t[o++]=h,h.w&=~uo,h.n&=~uo}t.length=o}},Pd=new WeakMap;let qs=0,uo=1;const Od=30;let Nn;const jo=Symbol(""),Id=Symbol("");class Ol{constructor(t,o=null,c){this.fn=t,this.scheduler=o,this.active=!0,this.deps=[],this.parent=void 0,ub(this,c)}run(){if(!this.active)return this.fn();let t=Nn,o=io;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Nn,Nn=this,io=!0,uo=1<<++qs,qs<=Od?lz(this):Sg(this),this.fn()}finally{qs<=Od&&cz(this),uo=1<<--qs,Nn=this.parent,io=o,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Nn===this?this.deferStop=!0:this.active&&(Sg(this),this.onStop&&this.onStop(),this.active=!1)}}function Sg(e){const{deps:t}=e;if(t.length){for(let o=0;o<t.length;o++)t[o].delete(e);t.length=0}}function uz(e,t){e.effect&&(e=e.effect.fn);const o=new Ol(e);t&&(lr(o,t),t.scope&&ub(o,t.scope)),(!t||!t.lazy)&&o.run();const c=o.run.bind(o);return c.effect=o,c}function hz(e){e.effect.stop()}let io=!0;const fb=[];function aa(){fb.push(io),io=!1}function sa(){const e=fb.pop();io=e===void 0?!0:e}function vn(e,t,o){if(io&&Nn){let c=Pd.get(e);c||Pd.set(e,c=new Map);let h=c.get(o);h||c.set(o,h=Ff()),pb(h)}}function pb(e,t){let o=!1;qs<=Od?db(e)||(e.n|=uo,o=!hb(e)):o=!e.has(Nn),o&&(e.add(Nn),Nn.deps.push(e))}function Ti(e,t,o,c,h,g){const x=Pd.get(e);if(!x)return;let y=[];if(t==="clear")y=[...x.values()];else if(o==="length"&&yt(e))x.forEach((z,A)=>{(A==="length"||A>=c)&&y.push(z)});else switch(o!==void 0&&y.push(x.get(o)),t){case"add":yt(e)?Lf(o)&&y.push(x.get("length")):(y.push(x.get(jo)),Ya(e)&&y.push(x.get(Id)));break;case"delete":yt(e)||(y.push(x.get(jo)),Ya(e)&&y.push(x.get(Id)));break;case"set":Ya(e)&&y.push(x.get(jo));break}if(y.length===1)y[0]&&Rd(y[0]);else{const z=[];for(const A of y)A&&z.push(...A);Rd(Ff(z))}}function Rd(e,t){const o=yt(e)?e:[...e];for(const c of o)c.computed&&Ag(c);for(const c of o)c.computed||Ag(c)}function Ag(e,t){(e!==Nn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const dz=bu("__proto__,__v_isRef,__isVue"),mb=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dl)),fz=zu(),pz=zu(!1,!0),mz=zu(!0),gz=zu(!0,!0),Dg=vz();function vz(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...o){const c=Rt(this);for(let g=0,x=this.length;g<x;g++)vn(c,"get",g+"");const h=c[t](...o);return h===-1||h===!1?c[t](...o.map(Rt)):h}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...o){aa();const c=Rt(this)[t].apply(this,o);return sa(),c}}),e}function zu(e=!1,t=!1){return function(c,h,g){if(h==="__v_isReactive")return!e;if(h==="__v_isReadonly")return e;if(h==="__v_isShallow")return t;if(h==="__v_raw"&&g===(e?t?_b:wb:t?yb:bb).get(c))return c;const x=yt(c);if(!e&&x&&Ht(Dg,h))return Reflect.get(Dg,h,g);const y=Reflect.get(c,h,g);return(dl(h)?mb.has(h):dz(h))||(e||vn(c,"get",h),t)?y:Qt(y)?x&&Lf(h)?y:y.value:Kt(y)?e?Pf(y):An(y):y}}const xz=gb(),bz=gb(!0);function gb(e=!1){return function(o,c,h,g){let x=o[c];if(Zo(x)&&Qt(x)&&!Qt(h))return!1;if(!e&&(!fl(h)&&!Zo(h)&&(x=Rt(x),h=Rt(h)),!yt(o)&&Qt(x)&&!Qt(h)))return x.value=h,!0;const y=yt(o)&&Lf(c)?Number(c)<o.length:Ht(o,c),z=Reflect.set(o,c,h,g);return o===Rt(g)&&(y?qa(h,x)&&Ti(o,"set",c,h):Ti(o,"add",c,h)),z}}function yz(e,t){const o=Ht(e,t);e[t];const c=Reflect.deleteProperty(e,t);return c&&o&&Ti(e,"delete",t,void 0),c}function wz(e,t){const o=Reflect.has(e,t);return(!dl(t)||!mb.has(t))&&vn(e,"has",t),o}function _z(e){return vn(e,"iterate",yt(e)?"length":jo),Reflect.ownKeys(e)}const vb={get:fz,set:xz,deleteProperty:yz,has:wz,ownKeys:_z},xb={get:mz,set(e,t){return!0},deleteProperty(e,t){return!0}},zz=lr({},vb,{get:pz,set:bz}),kz=lr({},xb,{get:gz}),Mf=e=>e,ku=e=>Reflect.getPrototypeOf(e);function Cc(e,t,o=!1,c=!1){e=e.__v_raw;const h=Rt(e),g=Rt(t);o||(t!==g&&vn(h,"get",t),vn(h,"get",g));const{has:x}=ku(h),y=c?Mf:o?If:pl;if(x.call(h,t))return y(e.get(t));if(x.call(h,g))return y(e.get(g));e!==h&&e.get(t)}function Sc(e,t=!1){const o=this.__v_raw,c=Rt(o),h=Rt(e);return t||(e!==h&&vn(c,"has",e),vn(c,"has",h)),e===h?o.has(e):o.has(e)||o.has(h)}function Ac(e,t=!1){return e=e.__v_raw,!t&&vn(Rt(e),"iterate",jo),Reflect.get(e,"size",e)}function Eg(e){e=Rt(e);const t=Rt(this);return ku(t).has.call(t,e)||(t.add(e),Ti(t,"add",e,e)),this}function Lg(e,t){t=Rt(t);const o=Rt(this),{has:c,get:h}=ku(o);let g=c.call(o,e);g||(e=Rt(e),g=c.call(o,e));const x=h.call(o,e);return o.set(e,t),g?qa(t,x)&&Ti(o,"set",e,t):Ti(o,"add",e,t),this}function Tg(e){const t=Rt(this),{has:o,get:c}=ku(t);let h=o.call(t,e);h||(e=Rt(e),h=o.call(t,e)),c&&c.call(t,e);const g=t.delete(e);return h&&Ti(t,"delete",e,void 0),g}function Fg(){const e=Rt(this),t=e.size!==0,o=e.clear();return t&&Ti(e,"clear",void 0,void 0),o}function Dc(e,t){return function(c,h){const g=this,x=g.__v_raw,y=Rt(x),z=t?Mf:e?If:pl;return!e&&vn(y,"iterate",jo),x.forEach((A,L)=>c.call(h,z(A),z(L),g))}}function Ec(e,t,o){return function(...c){const h=this.__v_raw,g=Rt(h),x=Ya(g),y=e==="entries"||e===Symbol.iterator&&x,z=e==="keys"&&x,A=h[e](...c),L=o?Mf:t?If:pl;return!t&&vn(g,"iterate",z?Id:jo),{next(){const{value:O,done:P}=A.next();return P?{value:O,done:P}:{value:y?[L(O[0]),L(O[1])]:L(O),done:P}},[Symbol.iterator](){return this}}}}function Gi(e){return function(...t){return e==="delete"?!1:this}}function Cz(){const e={get(g){return Cc(this,g)},get size(){return Ac(this)},has:Sc,add:Eg,set:Lg,delete:Tg,clear:Fg,forEach:Dc(!1,!1)},t={get(g){return Cc(this,g,!1,!0)},get size(){return Ac(this)},has:Sc,add:Eg,set:Lg,delete:Tg,clear:Fg,forEach:Dc(!1,!0)},o={get(g){return Cc(this,g,!0)},get size(){return Ac(this,!0)},has(g){return Sc.call(this,g,!0)},add:Gi("add"),set:Gi("set"),delete:Gi("delete"),clear:Gi("clear"),forEach:Dc(!0,!1)},c={get(g){return Cc(this,g,!0,!0)},get size(){return Ac(this,!0)},has(g){return Sc.call(this,g,!0)},add:Gi("add"),set:Gi("set"),delete:Gi("delete"),clear:Gi("clear"),forEach:Dc(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(g=>{e[g]=Ec(g,!1,!1),o[g]=Ec(g,!0,!1),t[g]=Ec(g,!1,!0),c[g]=Ec(g,!0,!0)}),[e,o,t,c]}const[Sz,Az,Dz,Ez]=Cz();function Cu(e,t){const o=t?e?Ez:Dz:e?Az:Sz;return(c,h,g)=>h==="__v_isReactive"?!e:h==="__v_isReadonly"?e:h==="__v_raw"?c:Reflect.get(Ht(o,h)&&h in c?o:c,h,g)}const Lz={get:Cu(!1,!1)},Tz={get:Cu(!1,!0)},Fz={get:Cu(!0,!1)},Mz={get:Cu(!0,!0)},bb=new WeakMap,yb=new WeakMap,wb=new WeakMap,_b=new WeakMap;function Pz(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Oz(e){return e.__v_skip||!Object.isExtensible(e)?0:Pz(rz(e))}function An(e){return Zo(e)?e:Su(e,!1,vb,Lz,bb)}function zb(e){return Su(e,!1,zz,Tz,yb)}function Pf(e){return Su(e,!0,xb,Fz,wb)}function Iz(e){return Su(e,!0,kz,Mz,_b)}function Su(e,t,o,c,h){if(!Kt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const g=h.get(e);if(g)return g;const x=Oz(e);if(x===0)return e;const y=new Proxy(e,x===2?c:o);return h.set(e,y),y}function Li(e){return Zo(e)?Li(e.__v_raw):!!(e&&e.__v_isReactive)}function Zo(e){return!!(e&&e.__v_isReadonly)}function fl(e){return!!(e&&e.__v_isShallow)}function Of(e){return Li(e)||Zo(e)}function Rt(e){const t=e&&e.__v_raw;return t?Rt(t):e}function Jo(e){return ou(e,"__v_skip",!0),e}const pl=e=>Kt(e)?An(e):e,If=e=>Kt(e)?Pf(e):e;function Rf(e){io&&Nn&&(e=Rt(e),pb(e.dep||(e.dep=Ff())))}function Au(e,t){e=Rt(e),e.dep&&Rd(e.dep)}function Qt(e){return!!(e&&e.__v_isRef===!0)}function Ft(e){return Cb(e,!1)}function kb(e){return Cb(e,!0)}function Cb(e,t){return Qt(e)?e:new Rz(e,t)}class Rz{constructor(t,o){this.__v_isShallow=o,this.dep=void 0,this.__v_isRef=!0,this._rawValue=o?t:Rt(t),this._value=o?t:pl(t)}get value(){return Rf(this),this._value}set value(t){const o=this.__v_isShallow||fl(t)||Zo(t);t=o?t:Rt(t),qa(t,this._rawValue)&&(this._rawValue=t,this._value=o?t:pl(t),Au(this))}}function Bz(e){Au(e)}function zt(e){return Qt(e)?e.value:e}const Nz={get:(e,t,o)=>zt(Reflect.get(e,t,o)),set:(e,t,o,c)=>{const h=e[t];return Qt(h)&&!Qt(o)?(h.value=o,!0):Reflect.set(e,t,o,c)}};function Bf(e){return Li(e)?e:new Proxy(e,Nz)}class Hz{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:o,set:c}=t(()=>Rf(this),()=>Au(this));this._get=o,this._set=c}get value(){return this._get()}set value(t){this._set(t)}}function Wz(e){return new Hz(e)}function Il(e){const t=yt(e)?new Array(e.length):{};for(const o in e)t[o]=Sb(e,o);return t}class Xz{constructor(t,o,c){this._object=t,this._key=o,this._defaultValue=c,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Sb(e,t,o){const c=e[t];return Qt(c)?c:new Xz(e,t,o)}var Ab;class Yz{constructor(t,o,c,h){this._setter=o,this.dep=void 0,this.__v_isRef=!0,this[Ab]=!1,this._dirty=!0,this.effect=new Ol(t,()=>{this._dirty||(this._dirty=!0,Au(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!h,this.__v_isReadonly=c}get value(){const t=Rt(this);return Rf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Ab="__v_isReadonly";function jz(e,t,o=!1){let c,h;const g=St(e);return g?(c=e,h=Wn):(c=e.get,h=e.set),new Yz(c,h,g||!h,o)}const Qs=[];function Db(e,...t){aa();const o=Qs.length?Qs[Qs.length-1].component:null,c=o&&o.appContext.config.warnHandler,h=$z();if(c)si(c,o,11,[e+t.join(""),o&&o.proxy,h.map(({vnode:g})=>`at <${m0(o,g.type)}>`).join(`
  2. `),h]);else{const g=[`[Vue warn]: ${e}`,...t];h.length&&g.push(`
  3. `,...Vz(h)),console.warn(...g)}sa()}function $z(){let e=Qs[Qs.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const c=e.component&&e.component.parent;e=c&&c.vnode}return t}function Vz(e){const t=[];return e.forEach((o,c)=>{t.push(...c===0?[]:[`
  4. `],...Uz(o))}),t}function Uz({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",c=e.component?e.component.parent==null:!1,h=` at <${m0(e.component,e.type,c)}`,g=">"+o;return e.props?[h,...Gz(e.props),g]:[h+g]}function Gz(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(c=>{t.push(...Eb(c,e[c]))}),o.length>3&&t.push(" ..."),t}function Eb(e,t,o){return ar(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Qt(t)?(t=Eb(e,Rt(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):St(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Rt(t),o?t:[`${e}=`,t])}function si(e,t,o,c){let h;try{h=c?e(...c):e()}catch(g){la(g,t,o)}return h}function mn(e,t,o,c){if(St(e)){const g=si(e,t,o,c);return g&&Ef(g)&&g.catch(x=>{la(x,t,o)}),g}const h=[];for(let g=0;g<e.length;g++)h.push(mn(e[g],t,o,c));return h}function la(e,t,o,c=!0){const h=t?t.vnode:null;if(t){let g=t.parent;const x=t.proxy,y=o;for(;g;){const A=g.ec;if(A){for(let L=0;L<A.length;L++)if(A[L](e,x,y)===!1)return}g=g.parent}const z=t.appContext.config.errorHandler;if(z){si(z,null,10,[e,x,y]);return}}qz(e,o,h,c)}function qz(e,t,o,c=!0){console.error(e)}let ml=!1,Bd=!1;const Nr=[];let ri=0;const $a=[];let Ai=null,Ho=0;const Lb=Promise.resolve();let Nf=null;function fi(e){const t=Nf||Lb;return e?t.then(this?e.bind(this):e):t}function Kz(e){let t=ri+1,o=Nr.length;for(;t<o;){const c=t+o>>>1;gl(Nr[c])<e?t=c+1:o=c}return t}function Du(e){(!Nr.length||!Nr.includes(e,ml&&e.allowRecurse?ri+1:ri))&&(e.id==null?Nr.push(e):Nr.splice(Kz(e.id),0,e),Tb())}function Tb(){!ml&&!Bd&&(Bd=!0,Nf=Lb.then(Fb))}function Zz(e){const t=Nr.indexOf(e);t>ri&&Nr.splice(t,1)}function Hf(e){yt(e)?$a.push(...e):(!Ai||!Ai.includes(e,e.allowRecurse?Ho+1:Ho))&&$a.push(e),Tb()}function Mg(e,t=ml?ri+1:0){for(;t<Nr.length;t++){const o=Nr[t];o&&o.pre&&(Nr.splice(t,1),t--,o())}}function au(e){if($a.length){const t=[...new Set($a)];if($a.length=0,Ai){Ai.push(...t);return}for(Ai=t,Ai.sort((o,c)=>gl(o)-gl(c)),Ho=0;Ho<Ai.length;Ho++)Ai[Ho]();Ai=null,Ho=0}}const gl=e=>e.id==null?1/0:e.id,Jz=(e,t)=>{const o=gl(e)-gl(t);if(o===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return o};function Fb(e){Bd=!1,ml=!0,Nr.sort(Jz);const t=Wn;try{for(ri=0;ri<Nr.length;ri++){const o=Nr[ri];o&&o.active!==!1&&si(o,null,14)}}finally{ri=0,Nr.length=0,au(),ml=!1,Nf=null,(Nr.length||$a.length)&&Fb()}}let Ia,Lc=[];function Mb(e,t){var o,c;Ia=e,Ia?(Ia.enabled=!0,Lc.forEach(({event:h,args:g})=>Ia.emit(h,...g)),Lc=[]):typeof window<"u"&&window.HTMLElement&&!(!((c=(o=window.navigator)===null||o===void 0?void 0:o.userAgent)===null||c===void 0)&&c.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(g=>{Mb(g,t)}),setTimeout(()=>{Ia||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Lc=[])},3e3)):Lc=[]}function Qz(e,t,...o){if(e.isUnmounted)return;const c=e.vnode.props||jt;let h=o;const g=t.startsWith("update:"),x=g&&t.slice(7);if(x&&x in c){const L=`${x==="modelValue"?"model":x}Modifiers`,{number:O,trim:P}=c[L]||jt;P&&(h=o.map(Y=>Y.trim())),O&&(h=o.map(co))}let y,z=c[y=Js(t)]||c[y=Js(gn(t))];!z&&g&&(z=c[y=Js(ai(t))]),z&&mn(z,e,6,h);const A=c[y+"Once"];if(A){if(!e.emitted)e.emitted={};else if(e.emitted[y])return;e.emitted[y]=!0,mn(A,e,6,h)}}function Pb(e,t,o=!1){const c=t.emitsCache,h=c.get(e);if(h!==void 0)return h;const g=e.emits;let x={},y=!1;if(!St(e)){const z=A=>{const L=Pb(A,t,!0);L&&(y=!0,lr(x,L))};!o&&t.mixins.length&&t.mixins.forEach(z),e.extends&&z(e.extends),e.mixins&&e.mixins.forEach(z)}return!g&&!y?(Kt(e)&&c.set(e,null),null):(yt(g)?g.forEach(z=>x[z]=null):lr(x,g),Kt(e)&&c.set(e,x),x)}function Eu(e,t){return!e||!Fl(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ht(e,t[0].toLowerCase()+t.slice(1))||Ht(e,ai(t))||Ht(e,t))}let Hr=null,Lu=null;function vl(e){const t=Hr;return Hr=e,Lu=e&&e.type.__scopeId||null,t}function ek(e){Lu=e}function tk(){Lu=null}const rk=e=>Pt;function Pt(e,t=Hr,o){if(!t||e._n)return e;const c=(...h)=>{c._d&&Vd(-1);const g=vl(t),x=e(...h);return vl(g),c._d&&Vd(1),x};return c._n=!0,c._c=!0,c._d=!0,c}function Jc(e){const{type:t,vnode:o,proxy:c,withProxy:h,props:g,propsOptions:[x],slots:y,attrs:z,emit:A,render:L,renderCache:O,data:P,setupState:Y,ctx:V,inheritAttrs:ee}=e;let ae,K;const T=vl(e);try{if(o.shapeFlag&4){const B=h||c;ae=hn(L.call(B,B,O,g,Y,P,V)),K=z}else{const B=t;ae=hn(B.length>1?B(g,{attrs:z,slots:y,emit:A}):B(g,null)),K=t.props?z:ik(z)}}catch(B){tl.length=0,la(B,e,1),ae=Je(Wr)}let re=ae;if(K&&ee!==!1){const B=Object.keys(K),{shapeFlag:j}=re;B.length&&j&7&&(x&&B.some(Af)&&(K=ok(K,x)),re=pi(re,K))}return o.dirs&&(re=pi(re),re.dirs=re.dirs?re.dirs.concat(o.dirs):o.dirs),o.transition&&(re.transition=o.transition),ae=re,vl(T),ae}function nk(e){let t;for(let o=0;o<e.length;o++){const c=e[o];if(Fi(c)){if(c.type!==Wr||c.children==="v-if"){if(t)return;t=c}}else return}return t}const ik=e=>{let t;for(const o in e)(o==="class"||o==="style"||Fl(o))&&((t||(t={}))[o]=e[o]);return t},ok=(e,t)=>{const o={};for(const c in e)(!Af(c)||!(c.slice(9)in t))&&(o[c]=e[c]);return o};function ak(e,t,o){const{props:c,children:h,component:g}=e,{props:x,children:y,patchFlag:z}=t,A=g.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&z>=0){if(z&1024)return!0;if(z&16)return c?Pg(c,x,A):!!x;if(z&8){const L=t.dynamicProps;for(let O=0;O<L.length;O++){const P=L[O];if(x[P]!==c[P]&&!Eu(A,P))return!0}}}else return(h||y)&&(!y||!y.$stable)?!0:c===x?!1:c?x?Pg(c,x,A):!0:!!x;return!1}function Pg(e,t,o){const c=Object.keys(t);if(c.length!==Object.keys(e).length)return!0;for(let h=0;h<c.length;h++){const g=c[h];if(t[g]!==e[g]&&!Eu(o,g))return!0}return!1}function Wf({vnode:e,parent:t},o){for(;t&&t.subTree===e;)(e=t.vnode).el=o,t=t.parent}const Ob=e=>e.__isSuspense,sk={name:"Suspense",__isSuspense:!0,process(e,t,o,c,h,g,x,y,z,A){e==null?ck(t,o,c,h,g,x,y,z,A):uk(e,t,o,c,h,x,y,z,A)},hydrate:hk,create:Xf,normalize:dk},lk=sk;function xl(e,t){const o=e.props&&e.props[t];St(o)&&o()}function ck(e,t,o,c,h,g,x,y,z){const{p:A,o:{createElement:L}}=z,O=L("div"),P=e.suspense=Xf(e,h,c,t,O,o,g,x,y,z);A(null,P.pendingBranch=e.ssContent,O,null,c,P,g,x),P.deps>0?(xl(e,"onPending"),xl(e,"onFallback"),A(null,e.ssFallback,t,o,c,null,g,x),Va(P,e.ssFallback)):P.resolve()}function uk(e,t,o,c,h,g,x,y,{p:z,um:A,o:{createElement:L}}){const O=t.suspense=e.suspense;O.vnode=t,t.el=e.el;const P=t.ssContent,Y=t.ssFallback,{activeBranch:V,pendingBranch:ee,isInFallback:ae,isHydrating:K}=O;if(ee)O.pendingBranch=P,ni(P,ee)?(z(ee,P,O.hiddenContainer,null,h,O,g,x,y),O.deps<=0?O.resolve():ae&&(z(V,Y,o,c,h,null,g,x,y),Va(O,Y))):(O.pendingId++,K?(O.isHydrating=!1,O.activeBranch=ee):A(ee,h,O),O.deps=0,O.effects.length=0,O.hiddenContainer=L("div"),ae?(z(null,P,O.hiddenContainer,null,h,O,g,x,y),O.deps<=0?O.resolve():(z(V,Y,o,c,h,null,g,x,y),Va(O,Y))):V&&ni(P,V)?(z(V,P,o,c,h,O,g,x,y),O.resolve(!0)):(z(null,P,O.hiddenContainer,null,h,O,g,x,y),O.deps<=0&&O.resolve()));else if(V&&ni(P,V))z(V,P,o,c,h,O,g,x,y),Va(O,P);else if(xl(t,"onPending"),O.pendingBranch=P,O.pendingId++,z(null,P,O.hiddenContainer,null,h,O,g,x,y),O.deps<=0)O.resolve();else{const{timeout:T,pendingId:re}=O;T>0?setTimeout(()=>{O.pendingId===re&&O.fallback(Y)},T):T===0&&O.fallback(Y)}}function Xf(e,t,o,c,h,g,x,y,z,A,L=!1){const{p:O,m:P,um:Y,n:V,o:{parentNode:ee,remove:ae}}=A,K=co(e.props&&e.props.timeout),T={vnode:e,parent:t,parentComponent:o,isSVG:x,container:c,hiddenContainer:h,anchor:g,deps:0,pendingId:0,timeout:typeof K=="number"?K:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:L,isUnmounted:!1,effects:[],resolve(re=!1){const{vnode:B,activeBranch:j,pendingBranch:oe,pendingId:de,effects:ge,parentComponent:Te,container:Ne}=T;if(T.isHydrating)T.isHydrating=!1;else if(!re){const ke=j&&oe.transition&&oe.transition.mode==="out-in";ke&&(j.transition.afterLeave=()=>{de===T.pendingId&&P(oe,Ne,De,0)});let{anchor:De}=T;j&&(De=V(j),Y(j,Te,T,!0)),ke||P(oe,Ne,De,0)}Va(T,oe),T.pendingBranch=null,T.isInFallback=!1;let ze=T.parent,Me=!1;for(;ze;){if(ze.pendingBranch){ze.effects.push(...ge),Me=!0;break}ze=ze.parent}Me||Hf(ge),T.effects=[],xl(B,"onResolve")},fallback(re){if(!T.pendingBranch)return;const{vnode:B,activeBranch:j,parentComponent:oe,container:de,isSVG:ge}=T;xl(B,"onFallback");const Te=V(j),Ne=()=>{!T.isInFallback||(O(null,re,de,Te,oe,null,ge,y,z),Va(T,re))},ze=re.transition&&re.transition.mode==="out-in";ze&&(j.transition.afterLeave=Ne),T.isInFallback=!0,Y(j,oe,null,!0),ze||Ne()},move(re,B,j){T.activeBranch&&P(T.activeBranch,re,B,j),T.container=re},next(){return T.activeBranch&&V(T.activeBranch)},registerDep(re,B){const j=!!T.pendingBranch;j&&T.deps++;const oe=re.vnode.el;re.asyncDep.catch(de=>{la(de,re,0)}).then(de=>{if(re.isUnmounted||T.isUnmounted||T.pendingId!==re.suspenseId)return;re.asyncResolved=!0;const{vnode:ge}=re;Ud(re,de,!1),oe&&(ge.el=oe);const Te=!oe&&re.subTree.el;B(re,ge,ee(oe||re.subTree.el),oe?null:V(re.subTree),T,x,z),Te&&ae(Te),Wf(re,ge.el),j&&--T.deps===0&&T.resolve()})},unmount(re,B){T.isUnmounted=!0,T.activeBranch&&Y(T.activeBranch,o,re,B),T.pendingBranch&&Y(T.pendingBranch,o,re,B)}};return T}function hk(e,t,o,c,h,g,x,y,z){const A=t.suspense=Xf(t,c,o,e.parentNode,document.createElement("div"),null,h,g,x,y,!0),L=z(e,A.pendingBranch=t.ssContent,o,A,g,x);return A.deps===0&&A.resolve(),L}function dk(e){const{shapeFlag:t,children:o}=e,c=t&32;e.ssContent=Og(c?o.default:o),e.ssFallback=c?Og(o.fallback):Je(Wr)}function Og(e){let t;if(St(e)){const o=ta&&e._c;o&&(e._d=!1,Mt()),e=e(),o&&(e._d=!0,t=rn,a0())}return yt(e)&&(e=nk(e)),e=hn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(o=>o!==e)),e}function Ib(e,t){t&&t.pendingBranch?yt(e)?t.effects.push(...e):t.effects.push(e):Hf(e)}function Va(e,t){e.activeBranch=t;const{vnode:o,parentComponent:c}=e,h=o.el=t.el;c&&c.subTree===o&&(c.vnode.el=h,Wf(c,h))}function $o(e,t){if(_r){let o=_r.provides;const c=_r.parent&&_r.parent.provides;c===o&&(o=_r.provides=Object.create(c)),o[e]=t}}function Ar(e,t,o=!1){const c=_r||Hr;if(c){const h=c.parent==null?c.vnode.appContext&&c.vnode.appContext.provides:c.parent.provides;if(h&&e in h)return h[e];if(arguments.length>1)return o&&St(t)?t.call(c.proxy):t}}function bl(e,t){return Rl(e,null,t)}function Rb(e,t){return Rl(e,null,{flush:"post"})}function fk(e,t){return Rl(e,null,{flush:"sync"})}const Ig={};function er(e,t,o){return Rl(e,t,o)}function Rl(e,t,{immediate:o,deep:c,flush:h,onTrack:g,onTrigger:x}=jt){const y=_r;let z,A=!1,L=!1;if(Qt(e)?(z=()=>e.value,A=fl(e)):Li(e)?(z=()=>e,c=!0):yt(e)?(L=!0,A=e.some(K=>Li(K)||fl(K)),z=()=>e.map(K=>{if(Qt(K))return K.value;if(Li(K))return Yo(K);if(St(K))return si(K,y,2)})):St(e)?t?z=()=>si(e,y,2):z=()=>{if(!(y&&y.isUnmounted))return O&&O(),mn(e,y,3,[P])}:z=Wn,t&&c){const K=z;z=()=>Yo(K())}let O,P=K=>{O=ae.onStop=()=>{si(K,y,4)}};if(Za)return P=Wn,t?o&&mn(t,y,3,[z(),L?[]:void 0,P]):z(),Wn;let Y=L?[]:Ig;const V=()=>{if(!!ae.active)if(t){const K=ae.run();(c||A||(L?K.some((T,re)=>qa(T,Y[re])):qa(K,Y)))&&(O&&O(),mn(t,y,3,[K,Y===Ig?void 0:Y,P]),Y=K)}else ae.run()};V.allowRecurse=!!t;let ee;h==="sync"?ee=V:h==="post"?ee=()=>Mr(V,y&&y.suspense):(V.pre=!0,y&&(V.id=y.uid),ee=()=>Du(V));const ae=new Ol(z,ee);return t?o?V():Y=ae.run():h==="post"?Mr(ae.run.bind(ae),y&&y.suspense):ae.run(),()=>{ae.stop(),y&&y.scope&&Df(y.scope.effects,ae)}}function pk(e,t,o){const c=this.proxy,h=ar(e)?e.includes(".")?Bb(c,e):()=>c[e]:e.bind(c,c);let g;St(t)?g=t:(g=t.handler,o=t);const x=_r;ho(this);const y=Rl(h,g.bind(c),o);return x?ho(x):oo(),y}function Bb(e,t){const o=t.split(".");return()=>{let c=e;for(let h=0;h<o.length&&c;h++)c=c[o[h]];return c}}function Yo(e,t){if(!Kt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Qt(e))Yo(e.value,t);else if(yt(e))for(let o=0;o<e.length;o++)Yo(e[o],t);else if(oa(e)||Ya(e))e.forEach(o=>{Yo(o,t)});else if(cb(e))for(const o in e)Yo(e[o],t);return e}function Yf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Kr(()=>{e.isMounted=!0}),Ri(()=>{e.isUnmounting=!0}),e}const _n=[Function,Array],mk={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_n,onEnter:_n,onAfterEnter:_n,onEnterCancelled:_n,onBeforeLeave:_n,onLeave:_n,onAfterLeave:_n,onLeaveCancelled:_n,onBeforeAppear:_n,onAppear:_n,onAfterAppear:_n,onAppearCancelled:_n},setup(e,{slots:t}){const o=Pr(),c=Yf();let h;return()=>{const g=t.default&&Tu(t.default(),!0);if(!g||!g.length)return;let x=g[0];if(g.length>1){for(const ee of g)if(ee.type!==Wr){x=ee;break}}const y=Rt(e),{mode:z}=y;if(c.isLeaving)return cd(x);const A=Rg(x);if(!A)return cd(x);const L=Ka(A,y,c,o);Qo(A,L);const O=o.subTree,P=O&&Rg(O);let Y=!1;const{getTransitionKey:V}=A.type;if(V){const ee=V();h===void 0?h=ee:ee!==h&&(h=ee,Y=!0)}if(P&&P.type!==Wr&&(!ni(A,P)||Y)){const ee=Ka(P,y,c,o);if(Qo(P,ee),z==="out-in")return c.isLeaving=!0,ee.afterLeave=()=>{c.isLeaving=!1,o.update()},cd(x);z==="in-out"&&A.type!==Wr&&(ee.delayLeave=(ae,K,T)=>{const re=Nb(c,P);re[String(P.key)]=P,ae._leaveCb=()=>{K(),ae._leaveCb=void 0,delete L.delayedLeave},L.delayedLeave=T})}return x}}},jf=mk;function Nb(e,t){const{leavingVNodes:o}=e;let c=o.get(t.type);return c||(c=Object.create(null),o.set(t.type,c)),c}function Ka(e,t,o,c){const{appear:h,mode:g,persisted:x=!1,onBeforeEnter:y,onEnter:z,onAfterEnter:A,onEnterCancelled:L,onBeforeLeave:O,onLeave:P,onAfterLeave:Y,onLeaveCancelled:V,onBeforeAppear:ee,onAppear:ae,onAfterAppear:K,onAppearCancelled:T}=t,re=String(e.key),B=Nb(o,e),j=(ge,Te)=>{ge&&mn(ge,c,9,Te)},oe=(ge,Te)=>{const Ne=Te[1];j(ge,Te),yt(ge)?ge.every(ze=>ze.length<=1)&&Ne():ge.length<=1&&Ne()},de={mode:g,persisted:x,beforeEnter(ge){let Te=y;if(!o.isMounted)if(h)Te=ee||y;else return;ge._leaveCb&&ge._leaveCb(!0);const Ne=B[re];Ne&&ni(e,Ne)&&Ne.el._leaveCb&&Ne.el._leaveCb(),j(Te,[ge])},enter(ge){let Te=z,Ne=A,ze=L;if(!o.isMounted)if(h)Te=ae||z,Ne=K||A,ze=T||L;else return;let Me=!1;const ke=ge._enterCb=De=>{Me||(Me=!0,De?j(ze,[ge]):j(Ne,[ge]),de.delayedLeave&&de.delayedLeave(),ge._enterCb=void 0)};Te?oe(Te,[ge,ke]):ke()},leave(ge,Te){const Ne=String(e.key);if(ge._enterCb&&ge._enterCb(!0),o.isUnmounting)return Te();j(O,[ge]);let ze=!1;const Me=ge._leaveCb=ke=>{ze||(ze=!0,Te(),ke?j(V,[ge]):j(Y,[ge]),ge._leaveCb=void 0,B[Ne]===e&&delete B[Ne])};B[Ne]=e,P?oe(P,[ge,Me]):Me()},clone(ge){return Ka(ge,t,o,c)}};return de}function cd(e){if(Bl(e))return e=pi(e),e.children=null,e}function Rg(e){return Bl(e)?e.children?e.children[0]:void 0:e}function Qo(e,t){e.shapeFlag&6&&e.component?Qo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Tu(e,t=!1,o){let c=[],h=0;for(let g=0;g<e.length;g++){let x=e[g];const y=o==null?x.key:String(o)+String(x.key!=null?x.key:g);x.type===Sr?(x.patchFlag&128&&h++,c=c.concat(Tu(x.children,t,y))):(t||x.type!==Wr)&&c.push(y!=null?pi(x,{key:y}):x)}if(h>1)for(let g=0;g<c.length;g++)c[g].patchFlag=-2;return c}function hr(e){return St(e)?{setup:e,name:e.name}:e}const Vo=e=>!!e.type.__asyncLoader;function gk(e){St(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:c,delay:h=200,timeout:g,suspensible:x=!0,onError:y}=e;let z=null,A,L=0;const O=()=>(L++,z=null,P()),P=()=>{let Y;return z||(Y=z=t().catch(V=>{if(V=V instanceof Error?V:new Error(String(V)),y)return new Promise((ee,ae)=>{y(V,()=>ee(O()),()=>ae(V),L+1)});throw V}).then(V=>Y!==z&&z?z:(V&&(V.__esModule||V[Symbol.toStringTag]==="Module")&&(V=V.default),A=V,V)))};return hr({name:"AsyncComponentWrapper",__asyncLoader:P,get __asyncResolved(){return A},setup(){const Y=_r;if(A)return()=>ud(A,Y);const V=T=>{z=null,la(T,Y,13,!c)};if(x&&Y.suspense||Za)return P().then(T=>()=>ud(T,Y)).catch(T=>(V(T),()=>c?Je(c,{error:T}):null));const ee=Ft(!1),ae=Ft(),K=Ft(!!h);return h&&setTimeout(()=>{K.value=!1},h),g!=null&&setTimeout(()=>{if(!ee.value&&!ae.value){const T=new Error(`Async component timed out after ${g}ms.`);V(T),ae.value=T}},g),P().then(()=>{ee.value=!0,Y.parent&&Bl(Y.parent.vnode)&&Du(Y.parent.update)}).catch(T=>{V(T),ae.value=T}),()=>{if(ee.value&&A)return ud(A,Y);if(ae.value&&c)return Je(c,{error:ae.value});if(o&&!K.value)return Je(o)}}})}function ud(e,{vnode:{ref:t,props:o,children:c,shapeFlag:h},parent:g}){const x=Je(e,o,c);return x.ref=t,x}const Bl=e=>e.type.__isKeepAlive,vk={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const o=Pr(),c=o.ctx;if(!c.renderer)return()=>{const T=t.default&&t.default();return T&&T.length===1?T[0]:T};const h=new Map,g=new Set;let x=null;const y=o.suspense,{renderer:{p:z,m:A,um:L,o:{createElement:O}}}=c,P=O("div");c.activate=(T,re,B,j,oe)=>{const de=T.component;A(T,re,B,0,y),z(de.vnode,T,re,B,de,y,j,T.slotScopeIds,oe),Mr(()=>{de.isDeactivated=!1,de.a&&ja(de.a);const ge=T.props&&T.props.onVnodeMounted;ge&&en(ge,de.parent,T)},y)},c.deactivate=T=>{const re=T.component;A(T,P,null,1,y),Mr(()=>{re.da&&ja(re.da);const B=T.props&&T.props.onVnodeUnmounted;B&&en(B,re.parent,T),re.isDeactivated=!0},y)};function Y(T){hd(T),L(T,o,y,!0)}function V(T){h.forEach((re,B)=>{const j=hu(re.type);j&&(!T||!T(j))&&ee(B)})}function ee(T){const re=h.get(T);!x||re.type!==x.type?Y(re):x&&hd(x),h.delete(T),g.delete(T)}er(()=>[e.include,e.exclude],([T,re])=>{T&&V(B=>Ks(T,B)),re&&V(B=>!Ks(re,B))},{flush:"post",deep:!0});let ae=null;const K=()=>{ae!=null&&h.set(ae,dd(o.subTree))};return Kr(K),Mu(K),Ri(()=>{h.forEach(T=>{const{subTree:re,suspense:B}=o,j=dd(re);if(T.type===j.type){hd(j);const oe=j.component.da;oe&&Mr(oe,B);return}Y(T)})}),()=>{if(ae=null,!t.default)return null;const T=t.default(),re=T[0];if(T.length>1)return x=null,T;if(!Fi(re)||!(re.shapeFlag&4)&&!(re.shapeFlag&128))return x=null,re;let B=dd(re);const j=B.type,oe=hu(Vo(B)?B.type.__asyncResolved||{}:j),{include:de,exclude:ge,max:Te}=e;if(de&&(!oe||!Ks(de,oe))||ge&&oe&&Ks(ge,oe))return x=B,re;const Ne=B.key==null?j:B.key,ze=h.get(Ne);return B.el&&(B=pi(B),re.shapeFlag&128&&(re.ssContent=B)),ae=Ne,ze?(B.el=ze.el,B.component=ze.component,B.transition&&Qo(B,B.transition),B.shapeFlag|=512,g.delete(Ne),g.add(Ne)):(g.add(Ne),Te&&g.size>parseInt(Te,10)&&ee(g.values().next().value)),B.shapeFlag|=256,x=B,Ob(re.type)?re:B}}},xk=vk;function Ks(e,t){return yt(e)?e.some(o=>Ks(o,t)):ar(e)?e.split(",").includes(t):e.test?e.test(t):!1}function $f(e,t){Hb(e,"a",t)}function Vf(e,t){Hb(e,"da",t)}function Hb(e,t,o=_r){const c=e.__wdc||(e.__wdc=()=>{let h=o;for(;h;){if(h.isDeactivated)return;h=h.parent}return e()});if(Fu(t,c,o),o){let h=o.parent;for(;h&&h.parent;)Bl(h.parent.vnode)&&bk(c,t,o,h),h=h.parent}}function bk(e,t,o,c){const h=Fu(t,e,c,!0);mo(()=>{Df(c[t],h)},o)}function hd(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function dd(e){return e.shapeFlag&128?e.ssContent:e}function Fu(e,t,o=_r,c=!1){if(o){const h=o[e]||(o[e]=[]),g=t.__weh||(t.__weh=(...x)=>{if(o.isUnmounted)return;aa(),ho(o);const y=mn(t,o,e,x);return oo(),sa(),y});return c?h.unshift(g):h.push(g),g}}const Ii=e=>(t,o=_r)=>(!Za||e==="sp")&&Fu(e,(...c)=>t(...c),o),Wb=Ii("bm"),Kr=Ii("m"),Xb=Ii("bu"),Mu=Ii("u"),Ri=Ii("bum"),mo=Ii("um"),Yb=Ii("sp"),jb=Ii("rtg"),$b=Ii("rtc");function Vb(e,t=_r){Fu("ec",e,t)}function Uo(e,t){const o=Hr;if(o===null)return e;const c=Ru(o)||o.proxy,h=e.dirs||(e.dirs=[]);for(let g=0;g<t.length;g++){let[x,y,z,A=jt]=t[g];St(x)&&(x={mounted:x,updated:x}),x.deep&&Yo(y),h.push({dir:x,instance:c,value:y,oldValue:void 0,arg:z,modifiers:A})}return e}function Jn(e,t,o,c){const h=e.dirs,g=t&&t.dirs;for(let x=0;x<h.length;x++){const y=h[x];g&&(y.oldValue=g[x].value);let z=y.dir[c];z&&(aa(),mn(z,o,8,[e.el,y,e,t]),sa())}}const Uf="components",yk="directives";function Xn(e,t){return Gf(Uf,e,!0,t)||e}const Ub=Symbol();function Gb(e){return ar(e)?Gf(Uf,e,!1)||e:e||Ub}function wk(e){return Gf(yk,e)}function Gf(e,t,o=!0,c=!1){const h=Hr||_r;if(h){const g=h.type;if(e===Uf){const y=hu(g,!1);if(y&&(y===t||y===gn(t)||y===Pl(gn(t))))return g}const x=Bg(h[e]||g[e],t)||Bg(h.appContext[e],t);return!x&&c?g:x}}function Bg(e,t){return e&&(e[t]||e[gn(t)]||e[Pl(gn(t))])}function _k(e,t,o,c){let h;const g=o&&o[c];if(yt(e)||ar(e)){h=new Array(e.length);for(let x=0,y=e.length;x<y;x++)h[x]=t(e[x],x,void 0,g&&g[x])}else if(typeof e=="number"){h=new Array(e);for(let x=0;x<e;x++)h[x]=t(x+1,x,void 0,g&&g[x])}else if(Kt(e))if(e[Symbol.iterator])h=Array.from(e,(x,y)=>t(x,y,void 0,g&&g[y]));else{const x=Object.keys(e);h=new Array(x.length);for(let y=0,z=x.length;y<z;y++){const A=x[y];h[y]=t(e[A],A,y,g&&g[y])}}else h=[];return o&&(o[c]=h),h}function zk(e,t){for(let o=0;o<t.length;o++){const c=t[o];if(yt(c))for(let h=0;h<c.length;h++)e[c[h].name]=c[h].fn;else c&&(e[c.name]=c.key?(...h)=>{const g=c.fn(...h);return g&&(g.key=c.key),g}:c.fn)}return e}function Nd(e,t,o={},c,h){if(Hr.isCE||Hr.parent&&Vo(Hr.parent)&&Hr.parent.isCE)return Je("slot",t==="default"?null:{name:t},c&&c());let g=e[t];g&&g._c&&(g._d=!1),Mt();const x=g&&qb(g(o)),y=Nl(Sr,{key:o.key||x&&x.key||`_${t}`},x||(c?c():[]),x&&e._===1?64:-2);return!h&&y.scopeId&&(y.slotScopeIds=[y.scopeId+"-s"]),g&&g._c&&(g._d=!0),y}function qb(e){return e.some(t=>Fi(t)?!(t.type===Wr||t.type===Sr&&!qb(t.children)):!0)?e:null}function kk(e,t){const o={};for(const c in e)o[t&&/[A-Z]/.test(c)?`on:${c}`:Js(c)]=e[c];return o}const Hd=e=>e?h0(e)?Ru(e)||e.proxy:Hd(e.parent):null,su=lr(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=>Hd(e.parent),$root:e=>Hd(e.root),$emit:e=>e.emit,$options:e=>qf(e),$forceUpdate:e=>e.f||(e.f=()=>Du(e.update)),$nextTick:e=>e.n||(e.n=fi.bind(e.proxy)),$watch:e=>pk.bind(e)}),Wd={get({_:e},t){const{ctx:o,setupState:c,data:h,props:g,accessCache:x,type:y,appContext:z}=e;let A;if(t[0]!=="$"){const Y=x[t];if(Y!==void 0)switch(Y){case 1:return c[t];case 2:return h[t];case 4:return o[t];case 3:return g[t]}else{if(c!==jt&&Ht(c,t))return x[t]=1,c[t];if(h!==jt&&Ht(h,t))return x[t]=2,h[t];if((A=e.propsOptions[0])&&Ht(A,t))return x[t]=3,g[t];if(o!==jt&&Ht(o,t))return x[t]=4,o[t];Xd&&(x[t]=0)}}const L=su[t];let O,P;if(L)return t==="$attrs"&&vn(e,"get",t),L(e);if((O=y.__cssModules)&&(O=O[t]))return O;if(o!==jt&&Ht(o,t))return x[t]=4,o[t];if(P=z.config.globalProperties,Ht(P,t))return P[t]},set({_:e},t,o){const{data:c,setupState:h,ctx:g}=e;return h!==jt&&Ht(h,t)?(h[t]=o,!0):c!==jt&&Ht(c,t)?(c[t]=o,!0):Ht(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(g[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:c,appContext:h,propsOptions:g}},x){let y;return!!o[x]||e!==jt&&Ht(e,x)||t!==jt&&Ht(t,x)||(y=g[0])&&Ht(y,x)||Ht(c,x)||Ht(su,x)||Ht(h.config.globalProperties,x)},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ht(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}},Ck=lr({},Wd,{get(e,t){if(t!==Symbol.unscopables)return Wd.get(e,t,e)},has(e,t){return t[0]!=="_"&&!$_(t)}});let Xd=!0;function Sk(e){const t=qf(e),o=e.proxy,c=e.ctx;Xd=!1,t.beforeCreate&&Ng(t.beforeCreate,e,"bc");const{data:h,computed:g,methods:x,watch:y,provide:z,inject:A,created:L,beforeMount:O,mounted:P,beforeUpdate:Y,updated:V,activated:ee,deactivated:ae,beforeDestroy:K,beforeUnmount:T,destroyed:re,unmounted:B,render:j,renderTracked:oe,renderTriggered:de,errorCaptured:ge,serverPrefetch:Te,expose:Ne,inheritAttrs:ze,components:Me,directives:ke,filters:De}=t;if(A&&Ak(A,c,null,e.appContext.config.unwrapInjectedRef),x)for(const Se in x){const He=x[Se];St(He)&&(c[Se]=He.bind(o))}if(h){const Se=h.call(o,o);Kt(Se)&&(e.data=An(Se))}if(Xd=!0,g)for(const Se in g){const He=g[Se],ot=St(He)?He.bind(o,o):St(He.get)?He.get.bind(o,o):Wn,vt=!St(He)&&St(He.set)?He.set.bind(o):Wn,et=It({get:ot,set:vt});Object.defineProperty(c,Se,{enumerable:!0,configurable:!0,get:()=>et.value,set:ne=>et.value=ne})}if(y)for(const Se in y)Kb(y[Se],c,o,Se);if(z){const Se=St(z)?z.call(o):z;Reflect.ownKeys(Se).forEach(He=>{$o(He,Se[He])})}L&&Ng(L,e,"c");function Le(Se,He){yt(He)?He.forEach(ot=>Se(ot.bind(o))):He&&Se(He.bind(o))}if(Le(Wb,O),Le(Kr,P),Le(Xb,Y),Le(Mu,V),Le($f,ee),Le(Vf,ae),Le(Vb,ge),Le($b,oe),Le(jb,de),Le(Ri,T),Le(mo,B),Le(Yb,Te),yt(Ne))if(Ne.length){const Se=e.exposed||(e.exposed={});Ne.forEach(He=>{Object.defineProperty(Se,He,{get:()=>o[He],set:ot=>o[He]=ot})})}else e.exposed||(e.exposed={});j&&e.render===Wn&&(e.render=j),ze!=null&&(e.inheritAttrs=ze),Me&&(e.components=Me),ke&&(e.directives=ke)}function Ak(e,t,o=Wn,c=!1){yt(e)&&(e=Yd(e));for(const h in e){const g=e[h];let x;Kt(g)?"default"in g?x=Ar(g.from||h,g.default,!0):x=Ar(g.from||h):x=Ar(g),Qt(x)&&c?Object.defineProperty(t,h,{enumerable:!0,configurable:!0,get:()=>x.value,set:y=>x.value=y}):t[h]=x}}function Ng(e,t,o){mn(yt(e)?e.map(c=>c.bind(t.proxy)):e.bind(t.proxy),t,o)}function Kb(e,t,o,c){const h=c.includes(".")?Bb(o,c):()=>o[c];if(ar(e)){const g=t[e];St(g)&&er(h,g)}else if(St(e))er(h,e.bind(o));else if(Kt(e))if(yt(e))e.forEach(g=>Kb(g,t,o,c));else{const g=St(e.handler)?e.handler.bind(o):t[e.handler];St(g)&&er(h,g,e)}}function qf(e){const t=e.type,{mixins:o,extends:c}=t,{mixins:h,optionsCache:g,config:{optionMergeStrategies:x}}=e.appContext,y=g.get(t);let z;return y?z=y:!h.length&&!o&&!c?z=t:(z={},h.length&&h.forEach(A=>lu(z,A,x,!0)),lu(z,t,x)),Kt(t)&&g.set(t,z),z}function lu(e,t,o,c=!1){const{mixins:h,extends:g}=t;g&&lu(e,g,o,!0),h&&h.forEach(x=>lu(e,x,o,!0));for(const x in t)if(!(c&&x==="expose")){const y=Dk[x]||o&&o[x];e[x]=y?y(e[x],t[x]):t[x]}return e}const Dk={data:Hg,props:Ro,emits:Ro,methods:Ro,computed:Ro,beforeCreate:Gr,created:Gr,beforeMount:Gr,mounted:Gr,beforeUpdate:Gr,updated:Gr,beforeDestroy:Gr,beforeUnmount:Gr,destroyed:Gr,unmounted:Gr,activated:Gr,deactivated:Gr,errorCaptured:Gr,serverPrefetch:Gr,components:Ro,directives:Ro,watch:Lk,provide:Hg,inject:Ek};function Hg(e,t){return t?e?function(){return lr(St(e)?e.call(this,this):e,St(t)?t.call(this,this):t)}:t:e}function Ek(e,t){return Ro(Yd(e),Yd(t))}function Yd(e){if(yt(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function Gr(e,t){return e?[...new Set([].concat(e,t))]:t}function Ro(e,t){return e?lr(lr(Object.create(null),e),t):t}function Lk(e,t){if(!e)return t;if(!t)return e;const o=lr(Object.create(null),e);for(const c in t)o[c]=Gr(e[c],t[c]);return o}function Tk(e,t,o,c=!1){const h={},g={};ou(g,Pu,1),e.propsDefaults=Object.create(null),Zb(e,t,h,g);for(const x in e.propsOptions[0])x in h||(h[x]=void 0);o?e.props=c?h:zb(h):e.type.props?e.props=h:e.props=g,e.attrs=g}function Fk(e,t,o,c){const{props:h,attrs:g,vnode:{patchFlag:x}}=e,y=Rt(h),[z]=e.propsOptions;let A=!1;if((c||x>0)&&!(x&16)){if(x&8){const L=e.vnode.dynamicProps;for(let O=0;O<L.length;O++){let P=L[O];if(Eu(e.emitsOptions,P))continue;const Y=t[P];if(z)if(Ht(g,P))Y!==g[P]&&(g[P]=Y,A=!0);else{const V=gn(P);h[V]=jd(z,y,V,Y,e,!1)}else Y!==g[P]&&(g[P]=Y,A=!0)}}}else{Zb(e,t,h,g)&&(A=!0);let L;for(const O in y)(!t||!Ht(t,O)&&((L=ai(O))===O||!Ht(t,L)))&&(z?o&&(o[O]!==void 0||o[L]!==void 0)&&(h[O]=jd(z,y,O,void 0,e,!0)):delete h[O]);if(g!==y)for(const O in g)(!t||!Ht(t,O)&&!0)&&(delete g[O],A=!0)}A&&Ti(e,"set","$attrs")}function Zb(e,t,o,c){const[h,g]=e.propsOptions;let x=!1,y;if(t)for(let z in t){if(Zs(z))continue;const A=t[z];let L;h&&Ht(h,L=gn(z))?!g||!g.includes(L)?o[L]=A:(y||(y={}))[L]=A:Eu(e.emitsOptions,z)||(!(z in c)||A!==c[z])&&(c[z]=A,x=!0)}if(g){const z=Rt(o),A=y||jt;for(let L=0;L<g.length;L++){const O=g[L];o[O]=jd(h,z,O,A[O],e,!Ht(A,O))}}return x}function jd(e,t,o,c,h,g){const x=e[o];if(x!=null){const y=Ht(x,"default");if(y&&c===void 0){const z=x.default;if(x.type!==Function&&St(z)){const{propsDefaults:A}=h;o in A?c=A[o]:(ho(h),c=A[o]=z.call(null,t),oo())}else c=z}x[0]&&(g&&!y?c=!1:x[1]&&(c===""||c===ai(o))&&(c=!0))}return c}function Jb(e,t,o=!1){const c=t.propsCache,h=c.get(e);if(h)return h;const g=e.props,x={},y=[];let z=!1;if(!St(e)){const L=O=>{z=!0;const[P,Y]=Jb(O,t,!0);lr(x,P),Y&&y.push(...Y)};!o&&t.mixins.length&&t.mixins.forEach(L),e.extends&&L(e.extends),e.mixins&&e.mixins.forEach(L)}if(!g&&!z)return Kt(e)&&c.set(e,Xa),Xa;if(yt(g))for(let L=0;L<g.length;L++){const O=gn(g[L]);Wg(O)&&(x[O]=jt)}else if(g)for(const L in g){const O=gn(L);if(Wg(O)){const P=g[L],Y=x[O]=yt(P)||St(P)?{type:P}:P;if(Y){const V=jg(Boolean,Y.type),ee=jg(String,Y.type);Y[0]=V>-1,Y[1]=ee<0||V<ee,(V>-1||Ht(Y,"default"))&&y.push(O)}}}const A=[x,y];return Kt(e)&&c.set(e,A),A}function Wg(e){return e[0]!=="$"}function Xg(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Yg(e,t){return Xg(e)===Xg(t)}function jg(e,t){return yt(t)?t.findIndex(o=>Yg(o,e)):St(t)&&Yg(t,e)?0:-1}const Qb=e=>e[0]==="_"||e==="$stable",Kf=e=>yt(e)?e.map(hn):[hn(e)],Mk=(e,t,o)=>{if(t._n)return t;const c=Pt((...h)=>Kf(t(...h)),o);return c._c=!1,c},e0=(e,t,o)=>{const c=e._ctx;for(const h in e){if(Qb(h))continue;const g=e[h];if(St(g))t[h]=Mk(h,g,c);else if(g!=null){const x=Kf(g);t[h]=()=>x}}},t0=(e,t)=>{const o=Kf(t);e.slots.default=()=>o},Pk=(e,t)=>{if(e.vnode.shapeFlag&32){const o=t._;o?(e.slots=Rt(t),ou(t,"_",o)):e0(t,e.slots={})}else e.slots={},t&&t0(e,t);ou(e.slots,Pu,1)},Ok=(e,t,o)=>{const{vnode:c,slots:h}=e;let g=!0,x=jt;if(c.shapeFlag&32){const y=t._;y?o&&y===1?g=!1:(lr(h,t),!o&&y===1&&delete h._):(g=!t.$stable,e0(t,h)),x=t}else t&&(t0(e,t),x={default:1});if(g)for(const y in h)!Qb(y)&&!(y in x)&&delete h[y]};function r0(){return{app:null,config:{isNativeTag:Q_,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 Ik=0;function Rk(e,t){return function(c,h=null){St(c)||(c=Object.assign({},c)),h!=null&&!Kt(h)&&(h=null);const g=r0(),x=new Set;let y=!1;const z=g.app={_uid:Ik++,_component:c,_props:h,_container:null,_context:g,_instance:null,version:y0,get config(){return g.config},set config(A){},use(A,...L){return x.has(A)||(A&&St(A.install)?(x.add(A),A.install(z,...L)):St(A)&&(x.add(A),A(z,...L))),z},mixin(A){return g.mixins.includes(A)||g.mixins.push(A),z},component(A,L){return L?(g.components[A]=L,z):g.components[A]},directive(A,L){return L?(g.directives[A]=L,z):g.directives[A]},mount(A,L,O){if(!y){const P=Je(c,h);return P.appContext=g,L&&t?t(P,A):e(P,A,O),y=!0,z._container=A,A.__vue_app__=z,Ru(P.component)||P.component.proxy}},unmount(){y&&(e(null,z._container),delete z._container.__vue_app__)},provide(A,L){return g.provides[A]=L,z}};return z}}function cu(e,t,o,c,h=!1){if(yt(e)){e.forEach((P,Y)=>cu(P,t&&(yt(t)?t[Y]:t),o,c,h));return}if(Vo(c)&&!h)return;const g=c.shapeFlag&4?Ru(c.component)||c.component.proxy:c.el,x=h?null:g,{i:y,r:z}=e,A=t&&t.r,L=y.refs===jt?y.refs={}:y.refs,O=y.setupState;if(A!=null&&A!==z&&(ar(A)?(L[A]=null,Ht(O,A)&&(O[A]=null)):Qt(A)&&(A.value=null)),St(z))si(z,y,12,[x,L]);else{const P=ar(z),Y=Qt(z);if(P||Y){const V=()=>{if(e.f){const ee=P?L[z]:z.value;h?yt(ee)&&Df(ee,g):yt(ee)?ee.includes(g)||ee.push(g):P?(L[z]=[g],Ht(O,z)&&(O[z]=L[z])):(z.value=[g],e.k&&(L[e.k]=z.value))}else P?(L[z]=x,Ht(O,z)&&(O[z]=x)):Y&&(z.value=x,e.k&&(L[e.k]=x))};x?(V.id=-1,Mr(V,o)):V()}}}let qi=!1;const Tc=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Fc=e=>e.nodeType===8;function Bk(e){const{mt:t,p:o,o:{patchProp:c,createText:h,nextSibling:g,parentNode:x,remove:y,insert:z,createComment:A}}=e,L=(K,T)=>{if(!T.hasChildNodes()){o(null,K,T),au(),T._vnode=K;return}qi=!1,O(T.firstChild,K,null,null,null),au(),T._vnode=K,qi&&console.error("Hydration completed but contains mismatches.")},O=(K,T,re,B,j,oe=!1)=>{const de=Fc(K)&&K.data==="[",ge=()=>ee(K,T,re,B,j,de),{type:Te,ref:Ne,shapeFlag:ze,patchFlag:Me}=T;let ke=K.nodeType;T.el=K,Me===-2&&(oe=!1,T.dynamicChildren=null);let De=null;switch(Te){case ea:ke!==3?T.children===""?(z(T.el=h(""),x(K),K),De=K):De=ge():(K.data!==T.children&&(qi=!0,K.data=T.children),De=g(K));break;case Wr:ke!==8||de?De=ge():De=g(K);break;case Go:if(de&&(K=g(K),ke=K.nodeType),ke===1||ke===3){De=K;const he=!T.children.length;for(let Le=0;Le<T.staticCount;Le++)he&&(T.children+=De.nodeType===1?De.outerHTML:De.data),Le===T.staticCount-1&&(T.anchor=De),De=g(De);return de?g(De):De}else ge();break;case Sr:de?De=V(K,T,re,B,j,oe):De=ge();break;default:if(ze&1)ke!==1||T.type.toLowerCase()!==K.tagName.toLowerCase()?De=ge():De=P(K,T,re,B,j,oe);else if(ze&6){T.slotScopeIds=j;const he=x(K);if(t(T,he,null,re,B,Tc(he),oe),De=de?ae(K):g(K),De&&Fc(De)&&De.data==="teleport end"&&(De=g(De)),Vo(T)){let Le;de?(Le=Je(Sr),Le.anchor=De?De.previousSibling:he.lastChild):Le=K.nodeType===3?Ot(""):Je("div"),Le.el=K,T.component.subTree=Le}}else ze&64?ke!==8?De=ge():De=T.type.hydrate(K,T,re,B,j,oe,e,Y):ze&128&&(De=T.type.hydrate(K,T,re,B,Tc(x(K)),j,oe,e,O))}return Ne!=null&&cu(Ne,null,B,T),De},P=(K,T,re,B,j,oe)=>{oe=oe||!!T.dynamicChildren;const{type:de,props:ge,patchFlag:Te,shapeFlag:Ne,dirs:ze}=T,Me=de==="input"&&ze||de==="option";if(Me||Te!==-1){if(ze&&Jn(T,null,re,"created"),ge)if(Me||!oe||Te&48)for(const De in ge)(Me&&De.endsWith("value")||Fl(De)&&!Zs(De))&&c(K,De,null,ge[De],!1,void 0,re);else ge.onClick&&c(K,"onClick",null,ge.onClick,!1,void 0,re);let ke;if((ke=ge&&ge.onVnodeBeforeMount)&&en(ke,re,T),ze&&Jn(T,null,re,"beforeMount"),((ke=ge&&ge.onVnodeMounted)||ze)&&Ib(()=>{ke&&en(ke,re,T),ze&&Jn(T,null,re,"mounted")},B),Ne&16&&!(ge&&(ge.innerHTML||ge.textContent))){let De=Y(K.firstChild,T,K,re,B,j,oe);for(;De;){qi=!0;const he=De;De=De.nextSibling,y(he)}}else Ne&8&&K.textContent!==T.children&&(qi=!0,K.textContent=T.children)}return K.nextSibling},Y=(K,T,re,B,j,oe,de)=>{de=de||!!T.dynamicChildren;const ge=T.children,Te=ge.length;for(let Ne=0;Ne<Te;Ne++){const ze=de?ge[Ne]:ge[Ne]=hn(ge[Ne]);if(K)K=O(K,ze,B,j,oe,de);else{if(ze.type===ea&&!ze.children)continue;qi=!0,o(null,ze,re,null,B,j,Tc(re),oe)}}return K},V=(K,T,re,B,j,oe)=>{const{slotScopeIds:de}=T;de&&(j=j?j.concat(de):de);const ge=x(K),Te=Y(g(K),T,ge,re,B,j,oe);return Te&&Fc(Te)&&Te.data==="]"?g(T.anchor=Te):(qi=!0,z(T.anchor=A("]"),ge,Te),Te)},ee=(K,T,re,B,j,oe)=>{if(qi=!0,T.el=null,oe){const Te=ae(K);for(;;){const Ne=g(K);if(Ne&&Ne!==Te)y(Ne);else break}}const de=g(K),ge=x(K);return y(K),o(null,T,ge,de,re,B,Tc(ge),j),de},ae=K=>{let T=0;for(;K;)if(K=g(K),K&&Fc(K)&&(K.data==="["&&T++,K.data==="]")){if(T===0)return g(K);T--}return K};return[L,O]}const Mr=Ib;function n0(e){return o0(e)}function i0(e){return o0(e,Bk)}function o0(e,t){const o=oz();o.__VUE__=!0;const{insert:c,remove:h,patchProp:g,createElement:x,createText:y,createComment:z,setText:A,setElementText:L,parentNode:O,nextSibling:P,setScopeId:Y=Wn,insertStaticContent:V}=e,ee=(ue,ye,Oe,Xe=null,Ye=null,Ze=null,Ve=!1,xe=null,me=!!ye.dynamicChildren)=>{if(ue===ye)return;ue&&!ni(ue,ye)&&(Xe=$e(ue),ne(ue,Ye,Ze,!0),ue=null),ye.patchFlag===-2&&(me=!1,ye.dynamicChildren=null);const{type:le,ref:N,shapeFlag:$}=ye;switch(le){case ea:ae(ue,ye,Oe,Xe);break;case Wr:K(ue,ye,Oe,Xe);break;case Go:ue==null&&T(ye,Oe,Xe,Ve);break;case Sr:Me(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me);break;default:$&1?j(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me):$&6?ke(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me):($&64||$&128)&&le.process(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me,at)}N!=null&&Ye&&cu(N,ue&&ue.ref,Ze,ye||ue,!ye)},ae=(ue,ye,Oe,Xe)=>{if(ue==null)c(ye.el=y(ye.children),Oe,Xe);else{const Ye=ye.el=ue.el;ye.children!==ue.children&&A(Ye,ye.children)}},K=(ue,ye,Oe,Xe)=>{ue==null?c(ye.el=z(ye.children||""),Oe,Xe):ye.el=ue.el},T=(ue,ye,Oe,Xe)=>{[ue.el,ue.anchor]=V(ue.children,ye,Oe,Xe,ue.el,ue.anchor)},re=({el:ue,anchor:ye},Oe,Xe)=>{let Ye;for(;ue&&ue!==ye;)Ye=P(ue),c(ue,Oe,Xe),ue=Ye;c(ye,Oe,Xe)},B=({el:ue,anchor:ye})=>{let Oe;for(;ue&&ue!==ye;)Oe=P(ue),h(ue),ue=Oe;h(ye)},j=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me)=>{Ve=Ve||ye.type==="svg",ue==null?oe(ye,Oe,Xe,Ye,Ze,Ve,xe,me):Te(ue,ye,Ye,Ze,Ve,xe,me)},oe=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe)=>{let me,le;const{type:N,props:$,shapeFlag:pe,transition:ce,dirs:Ae}=ue;if(me=ue.el=x(ue.type,Ze,$&&$.is,$),pe&8?L(me,ue.children):pe&16&&ge(ue.children,me,null,Xe,Ye,Ze&&N!=="foreignObject",Ve,xe),Ae&&Jn(ue,null,Xe,"created"),$){for(const je in $)je!=="value"&&!Zs(je)&&g(me,je,null,$[je],Ze,ue.children,Xe,Ye,Pe);"value"in $&&g(me,"value",null,$.value),(le=$.onVnodeBeforeMount)&&en(le,Xe,ue)}de(me,ue,ue.scopeId,Ve,Xe),Ae&&Jn(ue,null,Xe,"beforeMount");const Be=(!Ye||Ye&&!Ye.pendingBranch)&&ce&&!ce.persisted;Be&&ce.beforeEnter(me),c(me,ye,Oe),((le=$&&$.onVnodeMounted)||Be||Ae)&&Mr(()=>{le&&en(le,Xe,ue),Be&&ce.enter(me),Ae&&Jn(ue,null,Xe,"mounted")},Ye)},de=(ue,ye,Oe,Xe,Ye)=>{if(Oe&&Y(ue,Oe),Xe)for(let Ze=0;Ze<Xe.length;Ze++)Y(ue,Xe[Ze]);if(Ye){let Ze=Ye.subTree;if(ye===Ze){const Ve=Ye.vnode;de(ue,Ve,Ve.scopeId,Ve.slotScopeIds,Ye.parent)}}},ge=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me=0)=>{for(let le=me;le<ue.length;le++){const N=ue[le]=xe?eo(ue[le]):hn(ue[le]);ee(null,N,ye,Oe,Xe,Ye,Ze,Ve,xe)}},Te=(ue,ye,Oe,Xe,Ye,Ze,Ve)=>{const xe=ye.el=ue.el;let{patchFlag:me,dynamicChildren:le,dirs:N}=ye;me|=ue.patchFlag&16;const $=ue.props||jt,pe=ye.props||jt;let ce;Oe&&Po(Oe,!1),(ce=pe.onVnodeBeforeUpdate)&&en(ce,Oe,ye,ue),N&&Jn(ye,ue,Oe,"beforeUpdate"),Oe&&Po(Oe,!0);const Ae=Ye&&ye.type!=="foreignObject";if(le?Ne(ue.dynamicChildren,le,xe,Oe,Xe,Ae,Ze):Ve||He(ue,ye,xe,null,Oe,Xe,Ae,Ze,!1),me>0){if(me&16)ze(xe,ye,$,pe,Oe,Xe,Ye);else if(me&2&&$.class!==pe.class&&g(xe,"class",null,pe.class,Ye),me&4&&g(xe,"style",$.style,pe.style,Ye),me&8){const Be=ye.dynamicProps;for(let je=0;je<Be.length;je++){const rt=Be[je],pt=$[rt],gt=pe[rt];(gt!==pt||rt==="value")&&g(xe,rt,pt,gt,Ye,ue.children,Oe,Xe,Pe)}}me&1&&ue.children!==ye.children&&L(xe,ye.children)}else!Ve&&le==null&&ze(xe,ye,$,pe,Oe,Xe,Ye);((ce=pe.onVnodeUpdated)||N)&&Mr(()=>{ce&&en(ce,Oe,ye,ue),N&&Jn(ye,ue,Oe,"updated")},Xe)},Ne=(ue,ye,Oe,Xe,Ye,Ze,Ve)=>{for(let xe=0;xe<ye.length;xe++){const me=ue[xe],le=ye[xe],N=me.el&&(me.type===Sr||!ni(me,le)||me.shapeFlag&70)?O(me.el):Oe;ee(me,le,N,null,Xe,Ye,Ze,Ve,!0)}},ze=(ue,ye,Oe,Xe,Ye,Ze,Ve)=>{if(Oe!==Xe){if(Oe!==jt)for(const xe in Oe)!Zs(xe)&&!(xe in Xe)&&g(ue,xe,Oe[xe],null,Ve,ye.children,Ye,Ze,Pe);for(const xe in Xe){if(Zs(xe))continue;const me=Xe[xe],le=Oe[xe];me!==le&&xe!=="value"&&g(ue,xe,le,me,Ve,ye.children,Ye,Ze,Pe)}"value"in Xe&&g(ue,"value",Oe.value,Xe.value)}},Me=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me)=>{const le=ye.el=ue?ue.el:y(""),N=ye.anchor=ue?ue.anchor:y("");let{patchFlag:$,dynamicChildren:pe,slotScopeIds:ce}=ye;ce&&(xe=xe?xe.concat(ce):ce),ue==null?(c(le,Oe,Xe),c(N,Oe,Xe),ge(ye.children,Oe,N,Ye,Ze,Ve,xe,me)):$>0&&$&64&&pe&&ue.dynamicChildren?(Ne(ue.dynamicChildren,pe,Oe,Ye,Ze,Ve,xe),(ye.key!=null||Ye&&ye===Ye.subTree)&&Zf(ue,ye,!0)):He(ue,ye,Oe,N,Ye,Ze,Ve,xe,me)},ke=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me)=>{ye.slotScopeIds=xe,ue==null?ye.shapeFlag&512?Ye.ctx.activate(ye,Oe,Xe,Ve,me):De(ye,Oe,Xe,Ye,Ze,Ve,me):he(ue,ye,me)},De=(ue,ye,Oe,Xe,Ye,Ze,Ve)=>{const xe=ue.component=u0(ue,Xe,Ye);if(Bl(ue)&&(xe.ctx.renderer=at),d0(xe),xe.asyncDep){if(Ye&&Ye.registerDep(xe,Le),!ue.el){const me=xe.subTree=Je(Wr);K(null,me,ye,Oe)}return}Le(xe,ue,ye,Oe,Ye,Ze,Ve)},he=(ue,ye,Oe)=>{const Xe=ye.component=ue.component;if(ak(ue,ye,Oe))if(Xe.asyncDep&&!Xe.asyncResolved){Se(Xe,ye,Oe);return}else Xe.next=ye,Zz(Xe.update),Xe.update();else ye.el=ue.el,Xe.vnode=ye},Le=(ue,ye,Oe,Xe,Ye,Ze,Ve)=>{const xe=()=>{if(ue.isMounted){let{next:N,bu:$,u:pe,parent:ce,vnode:Ae}=ue,Be=N,je;Po(ue,!1),N?(N.el=Ae.el,Se(ue,N,Ve)):N=Ae,$&&ja($),(je=N.props&&N.props.onVnodeBeforeUpdate)&&en(je,ce,N,Ae),Po(ue,!0);const rt=Jc(ue),pt=ue.subTree;ue.subTree=rt,ee(pt,rt,O(pt.el),$e(pt),ue,Ye,Ze),N.el=rt.el,Be===null&&Wf(ue,rt.el),pe&&Mr(pe,Ye),(je=N.props&&N.props.onVnodeUpdated)&&Mr(()=>en(je,ce,N,Ae),Ye)}else{let N;const{el:$,props:pe}=ye,{bm:ce,m:Ae,parent:Be}=ue,je=Vo(ye);if(Po(ue,!1),ce&&ja(ce),!je&&(N=pe&&pe.onVnodeBeforeMount)&&en(N,Be,ye),Po(ue,!0),$&&dt){const rt=()=>{ue.subTree=Jc(ue),dt($,ue.subTree,ue,Ye,null)};je?ye.type.__asyncLoader().then(()=>!ue.isUnmounted&&rt()):rt()}else{const rt=ue.subTree=Jc(ue);ee(null,rt,Oe,Xe,ue,Ye,Ze),ye.el=rt.el}if(Ae&&Mr(Ae,Ye),!je&&(N=pe&&pe.onVnodeMounted)){const rt=ye;Mr(()=>en(N,Be,rt),Ye)}(ye.shapeFlag&256||Be&&Vo(Be.vnode)&&Be.vnode.shapeFlag&256)&&ue.a&&Mr(ue.a,Ye),ue.isMounted=!0,ye=Oe=Xe=null}},me=ue.effect=new Ol(xe,()=>Du(le),ue.scope),le=ue.update=()=>me.run();le.id=ue.uid,Po(ue,!0),le()},Se=(ue,ye,Oe)=>{ye.component=ue;const Xe=ue.vnode.props;ue.vnode=ye,ue.next=null,Fk(ue,ye.props,Xe,Oe),Ok(ue,ye.children,Oe),aa(),Mg(),sa()},He=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me=!1)=>{const le=ue&&ue.children,N=ue?ue.shapeFlag:0,$=ye.children,{patchFlag:pe,shapeFlag:ce}=ye;if(pe>0){if(pe&128){vt(le,$,Oe,Xe,Ye,Ze,Ve,xe,me);return}else if(pe&256){ot(le,$,Oe,Xe,Ye,Ze,Ve,xe,me);return}}ce&8?(N&16&&Pe(le,Ye,Ze),$!==le&&L(Oe,$)):N&16?ce&16?vt(le,$,Oe,Xe,Ye,Ze,Ve,xe,me):Pe(le,Ye,Ze,!0):(N&8&&L(Oe,""),ce&16&&ge($,Oe,Xe,Ye,Ze,Ve,xe,me))},ot=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me)=>{ue=ue||Xa,ye=ye||Xa;const le=ue.length,N=ye.length,$=Math.min(le,N);let pe;for(pe=0;pe<$;pe++){const ce=ye[pe]=me?eo(ye[pe]):hn(ye[pe]);ee(ue[pe],ce,Oe,null,Ye,Ze,Ve,xe,me)}le>N?Pe(ue,Ye,Ze,!0,!1,$):ge(ye,Oe,Xe,Ye,Ze,Ve,xe,me,$)},vt=(ue,ye,Oe,Xe,Ye,Ze,Ve,xe,me)=>{let le=0;const N=ye.length;let $=ue.length-1,pe=N-1;for(;le<=$&&le<=pe;){const ce=ue[le],Ae=ye[le]=me?eo(ye[le]):hn(ye[le]);if(ni(ce,Ae))ee(ce,Ae,Oe,null,Ye,Ze,Ve,xe,me);else break;le++}for(;le<=$&&le<=pe;){const ce=ue[$],Ae=ye[pe]=me?eo(ye[pe]):hn(ye[pe]);if(ni(ce,Ae))ee(ce,Ae,Oe,null,Ye,Ze,Ve,xe,me);else break;$--,pe--}if(le>$){if(le<=pe){const ce=pe+1,Ae=ce<N?ye[ce].el:Xe;for(;le<=pe;)ee(null,ye[le]=me?eo(ye[le]):hn(ye[le]),Oe,Ae,Ye,Ze,Ve,xe,me),le++}}else if(le>pe)for(;le<=$;)ne(ue[le],Ye,Ze,!0),le++;else{const ce=le,Ae=le,Be=new Map;for(le=Ae;le<=pe;le++){const qe=ye[le]=me?eo(ye[le]):hn(ye[le]);qe.key!=null&&Be.set(qe.key,le)}let je,rt=0;const pt=pe-Ae+1;let gt=!1,At=0;const kt=new Array(pt);for(le=0;le<pt;le++)kt[le]=0;for(le=ce;le<=$;le++){const qe=ue[le];if(rt>=pt){ne(qe,Ye,Ze,!0);continue}let st;if(qe.key!=null)st=Be.get(qe.key);else for(je=Ae;je<=pe;je++)if(kt[je-Ae]===0&&ni(qe,ye[je])){st=je;break}st===void 0?ne(qe,Ye,Ze,!0):(kt[st-Ae]=le+1,st>=At?At=st:gt=!0,ee(qe,ye[st],Oe,null,Ye,Ze,Ve,xe,me),rt++)}const Ee=gt?Nk(kt):Xa;for(je=Ee.length-1,le=pt-1;le>=0;le--){const qe=Ae+le,st=ye[qe],nt=qe+1<N?ye[qe+1].el:Xe;kt[le]===0?ee(null,st,Oe,nt,Ye,Ze,Ve,xe,me):gt&&(je<0||le!==Ee[je]?et(st,Oe,nt,2):je--)}}},et=(ue,ye,Oe,Xe,Ye=null)=>{const{el:Ze,type:Ve,transition:xe,children:me,shapeFlag:le}=ue;if(le&6){et(ue.component.subTree,ye,Oe,Xe);return}if(le&128){ue.suspense.move(ye,Oe,Xe);return}if(le&64){Ve.move(ue,ye,Oe,at);return}if(Ve===Sr){c(Ze,ye,Oe);for(let $=0;$<me.length;$++)et(me[$],ye,Oe,Xe);c(ue.anchor,ye,Oe);return}if(Ve===Go){re(ue,ye,Oe);return}if(Xe!==2&&le&1&&xe)if(Xe===0)xe.beforeEnter(Ze),c(Ze,ye,Oe),Mr(()=>xe.enter(Ze),Ye);else{const{leave:$,delayLeave:pe,afterLeave:ce}=xe,Ae=()=>c(Ze,ye,Oe),Be=()=>{$(Ze,()=>{Ae(),ce&&ce()})};pe?pe(Ze,Ae,Be):Be()}else c(Ze,ye,Oe)},ne=(ue,ye,Oe,Xe=!1,Ye=!1)=>{const{type:Ze,props:Ve,ref:xe,children:me,dynamicChildren:le,shapeFlag:N,patchFlag:$,dirs:pe}=ue;if(xe!=null&&cu(xe,null,Oe,ue,!0),N&256){ye.ctx.deactivate(ue);return}const ce=N&1&&pe,Ae=!Vo(ue);let Be;if(Ae&&(Be=Ve&&Ve.onVnodeBeforeUnmount)&&en(Be,ye,ue),N&6)we(ue.component,Oe,Xe);else{if(N&128){ue.suspense.unmount(Oe,Xe);return}ce&&Jn(ue,null,ye,"beforeUnmount"),N&64?ue.type.remove(ue,ye,Oe,Ye,at,Xe):le&&(Ze!==Sr||$>0&&$&64)?Pe(le,ye,Oe,!1,!0):(Ze===Sr&&$&384||!Ye&&N&16)&&Pe(me,ye,Oe),Xe&&te(ue)}(Ae&&(Be=Ve&&Ve.onVnodeUnmounted)||ce)&&Mr(()=>{Be&&en(Be,ye,ue),ce&&Jn(ue,null,ye,"unmounted")},Oe)},te=ue=>{const{type:ye,el:Oe,anchor:Xe,transition:Ye}=ue;if(ye===Sr){tt(Oe,Xe);return}if(ye===Go){B(ue);return}const Ze=()=>{h(Oe),Ye&&!Ye.persisted&&Ye.afterLeave&&Ye.afterLeave()};if(ue.shapeFlag&1&&Ye&&!Ye.persisted){const{leave:Ve,delayLeave:xe}=Ye,me=()=>Ve(Oe,Ze);xe?xe(ue.el,Ze,me):me()}else Ze()},tt=(ue,ye)=>{let Oe;for(;ue!==ye;)Oe=P(ue),h(ue),ue=Oe;h(ye)},we=(ue,ye,Oe)=>{const{bum:Xe,scope:Ye,update:Ze,subTree:Ve,um:xe}=ue;Xe&&ja(Xe),Ye.stop(),Ze&&(Ze.active=!1,ne(Ve,ue,ye,Oe)),xe&&Mr(xe,ye),Mr(()=>{ue.isUnmounted=!0},ye),ye&&ye.pendingBranch&&!ye.isUnmounted&&ue.asyncDep&&!ue.asyncResolved&&ue.suspenseId===ye.pendingId&&(ye.deps--,ye.deps===0&&ye.resolve())},Pe=(ue,ye,Oe,Xe=!1,Ye=!1,Ze=0)=>{for(let Ve=Ze;Ve<ue.length;Ve++)ne(ue[Ve],ye,Oe,Xe,Ye)},$e=ue=>ue.shapeFlag&6?$e(ue.component.subTree):ue.shapeFlag&128?ue.suspense.next():P(ue.anchor||ue.el),Ge=(ue,ye,Oe)=>{ue==null?ye._vnode&&ne(ye._vnode,null,null,!0):ee(ye._vnode||null,ue,ye,null,null,null,Oe),Mg(),au(),ye._vnode=ue},at={p:ee,um:ne,m:et,r:te,mt:De,mc:ge,pc:He,pbc:Ne,n:$e,o:e};let Ke,dt;return t&&([Ke,dt]=t(at)),{render:Ge,hydrate:Ke,createApp:Rk(Ge,Ke)}}function Po({effect:e,update:t},o){e.allowRecurse=t.allowRecurse=o}function Zf(e,t,o=!1){const c=e.children,h=t.children;if(yt(c)&&yt(h))for(let g=0;g<c.length;g++){const x=c[g];let y=h[g];y.shapeFlag&1&&!y.dynamicChildren&&((y.patchFlag<=0||y.patchFlag===32)&&(y=h[g]=eo(h[g]),y.el=x.el),o||Zf(x,y))}}function Nk(e){const t=e.slice(),o=[0];let c,h,g,x,y;const z=e.length;for(c=0;c<z;c++){const A=e[c];if(A!==0){if(h=o[o.length-1],e[h]<A){t[c]=h,o.push(c);continue}for(g=0,x=o.length-1;g<x;)y=g+x>>1,e[o[y]]<A?g=y+1:x=y;A<e[o[g]]&&(g>0&&(t[c]=o[g-1]),o[g]=c)}}for(g=o.length,x=o[g-1];g-- >0;)o[g]=x,x=t[x];return o}const Hk=e=>e.__isTeleport,el=e=>e&&(e.disabled||e.disabled===""),$g=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$d=(e,t)=>{const o=e&&e.to;return ar(o)?t?t(o):null:o},Wk={__isTeleport:!0,process(e,t,o,c,h,g,x,y,z,A){const{mc:L,pc:O,pbc:P,o:{insert:Y,querySelector:V,createText:ee,createComment:ae}}=A,K=el(t.props);let{shapeFlag:T,children:re,dynamicChildren:B}=t;if(e==null){const j=t.el=ee(""),oe=t.anchor=ee("");Y(j,o,c),Y(oe,o,c);const de=t.target=$d(t.props,V),ge=t.targetAnchor=ee("");de&&(Y(ge,de),x=x||$g(de));const Te=(Ne,ze)=>{T&16&&L(re,Ne,ze,h,g,x,y,z)};K?Te(o,oe):de&&Te(de,ge)}else{t.el=e.el;const j=t.anchor=e.anchor,oe=t.target=e.target,de=t.targetAnchor=e.targetAnchor,ge=el(e.props),Te=ge?o:oe,Ne=ge?j:de;if(x=x||$g(oe),B?(P(e.dynamicChildren,B,Te,h,g,x,y),Zf(e,t,!0)):z||O(e,t,Te,Ne,h,g,x,y,!1),K)ge||Mc(t,o,j,A,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ze=t.target=$d(t.props,V);ze&&Mc(t,ze,null,A,0)}else ge&&Mc(t,oe,de,A,1)}},remove(e,t,o,c,{um:h,o:{remove:g}},x){const{shapeFlag:y,children:z,anchor:A,targetAnchor:L,target:O,props:P}=e;if(O&&g(L),(x||!el(P))&&(g(A),y&16))for(let Y=0;Y<z.length;Y++){const V=z[Y];h(V,t,o,!0,!!V.dynamicChildren)}},move:Mc,hydrate:Xk};function Mc(e,t,o,{o:{insert:c},m:h},g=2){g===0&&c(e.targetAnchor,t,o);const{el:x,anchor:y,shapeFlag:z,children:A,props:L}=e,O=g===2;if(O&&c(x,t,o),(!O||el(L))&&z&16)for(let P=0;P<A.length;P++)h(A[P],t,o,2);O&&c(y,t,o)}function Xk(e,t,o,c,h,g,{o:{nextSibling:x,parentNode:y,querySelector:z}},A){const L=t.target=$d(t.props,z);if(L){const O=L._lpa||L.firstChild;if(t.shapeFlag&16)if(el(t.props))t.anchor=A(x(e),t,y(e),o,c,h,g),t.targetAnchor=O;else{t.anchor=x(e);let P=O;for(;P;)if(P=x(P),P&&P.nodeType===8&&P.data==="teleport anchor"){t.targetAnchor=P,L._lpa=t.targetAnchor&&x(t.targetAnchor);break}A(O,t,L,o,c,h,g)}}return t.anchor&&x(t.anchor)}const Yk=Wk,Sr=Symbol(void 0),ea=Symbol(void 0),Wr=Symbol(void 0),Go=Symbol(void 0),tl=[];let rn=null;function Mt(e=!1){tl.push(rn=e?null:[])}function a0(){tl.pop(),rn=tl[tl.length-1]||null}let ta=1;function Vd(e){ta+=e}function s0(e){return e.dynamicChildren=ta>0?rn||Xa:null,a0(),ta>0&&rn&&rn.push(e),e}function Bt(e,t,o,c,h,g){return s0(G(e,t,o,c,h,g,!0))}function Nl(e,t,o,c,h){return s0(Je(e,t,o,c,h,!0))}function Fi(e){return e?e.__v_isVNode===!0:!1}function ni(e,t){return e.type===t.type&&e.key===t.key}function jk(e){}const Pu="__vInternal",l0=({key:e})=>e!=null?e:null,Qc=({ref:e,ref_key:t,ref_for:o})=>e!=null?ar(e)||Qt(e)||St(e)?{i:Hr,r:e,k:t,f:!!o}:e:null;function G(e,t=null,o=null,c=0,h=null,g=e===Sr?0:1,x=!1,y=!1){const z={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&l0(t),ref:t&&Qc(t),scopeId:Lu,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:g,patchFlag:c,dynamicProps:h,dynamicChildren:null,appContext:null};return y?(Jf(z,o),g&128&&e.normalize(z)):o&&(z.shapeFlag|=ar(o)?8:16),ta>0&&!x&&rn&&(z.patchFlag>0||g&6)&&z.patchFlag!==32&&rn.push(z),z}const Je=$k;function $k(e,t=null,o=null,c=0,h=null,g=!1){if((!e||e===Ub)&&(e=Wr),Fi(e)){const y=pi(e,t,!0);return o&&Jf(y,o),ta>0&&!g&&rn&&(y.shapeFlag&6?rn[rn.indexOf(e)]=y:rn.push(y)),y.patchFlag|=-2,y}if(eC(e)&&(e=e.__vccOpts),t){t=c0(t);let{class:y,style:z}=t;y&&!ar(y)&&(t.class=Br(y)),Kt(z)&&(Of(z)&&!yt(z)&&(z=lr({},z)),t.style=ls(z))}const x=ar(e)?1:Ob(e)?128:Hk(e)?64:Kt(e)?4:St(e)?2:0;return G(e,t,o,c,h,x,g,!0)}function c0(e){return e?Of(e)||Pu in e?lr({},e):e:null}function pi(e,t,o=!1){const{props:c,ref:h,patchFlag:g,children:x}=e,y=t?Iu(c||{},t):c;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:y,key:y&&l0(y),ref:t&&t.ref?o&&h?yt(h)?h.concat(Qc(t)):[h,Qc(t)]:Qc(t):h,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:x,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Sr?g===-1?16:g|16:g,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pi(e.ssContent),ssFallback:e.ssFallback&&pi(e.ssFallback),el:e.el,anchor:e.anchor}}function Ot(e=" ",t=0){return Je(ea,null,e,t)}function Tn(e,t){const o=Je(Go,null,e);return o.staticCount=t,o}function Ou(e="",t=!1){return t?(Mt(),Nl(Wr,null,e)):Je(Wr,null,e)}function hn(e){return e==null||typeof e=="boolean"?Je(Wr):yt(e)?Je(Sr,null,e.slice()):typeof e=="object"?eo(e):Je(ea,null,String(e))}function eo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pi(e)}function Jf(e,t){let o=0;const{shapeFlag:c}=e;if(t==null)t=null;else if(yt(t))o=16;else if(typeof t=="object")if(c&65){const h=t.default;h&&(h._c&&(h._d=!1),Jf(e,h()),h._c&&(h._d=!0));return}else{o=32;const h=t._;!h&&!(Pu in t)?t._ctx=Hr:h===3&&Hr&&(Hr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else St(t)?(t={default:t,_ctx:Hr},o=32):(t=String(t),c&64?(o=16,t=[Ot(t)]):o=8);e.children=t,e.shapeFlag|=o}function Iu(...e){const t={};for(let o=0;o<e.length;o++){const c=e[o];for(const h in c)if(h==="class")t.class!==c.class&&(t.class=Br([t.class,c.class]));else if(h==="style")t.style=ls([t.style,c.style]);else if(Fl(h)){const g=t[h],x=c[h];x&&g!==x&&!(yt(g)&&g.includes(x))&&(t[h]=g?[].concat(g,x):x)}else h!==""&&(t[h]=c[h])}return t}function en(e,t,o,c=null){mn(e,t,7,[o,c])}const Vk=r0();let Uk=0;function u0(e,t,o){const c=e.type,h=(t?t.appContext:e.appContext)||Vk,g={uid:Uk++,vnode:e,type:c,parent:t,appContext:h,root:null,next:null,subTree:null,effect:null,update:null,scope:new Tf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(h.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Jb(c,h),emitsOptions:Pb(c,h),emit:null,emitted:null,propsDefaults:jt,inheritAttrs:c.inheritAttrs,ctx:jt,data:jt,props:jt,attrs:jt,slots:jt,refs:jt,setupState:jt,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return g.ctx={_:g},g.root=t?t.root:g,g.emit=Qz.bind(null,g),e.ce&&e.ce(g),g}let _r=null;const Pr=()=>_r||Hr,ho=e=>{_r=e,e.scope.on()},oo=()=>{_r&&_r.scope.off(),_r=null};function h0(e){return e.vnode.shapeFlag&4}let Za=!1;function d0(e,t=!1){Za=t;const{props:o,children:c}=e.vnode,h=h0(e);Tk(e,o,h,t),Pk(e,c);const g=h?Gk(e,t):void 0;return Za=!1,g}function Gk(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=Jo(new Proxy(e.ctx,Wd));const{setup:c}=o;if(c){const h=e.setupContext=c.length>1?p0(e):null;ho(e),aa();const g=si(c,e,0,[e.props,h]);if(sa(),oo(),Ef(g)){if(g.then(oo,oo),t)return g.then(x=>{Ud(e,x,t)}).catch(x=>{la(x,e,0)});e.asyncDep=g}else Ud(e,g,t)}else f0(e,t)}function Ud(e,t,o){St(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Kt(t)&&(e.setupState=Bf(t)),f0(e,o)}let uu,Gd;function qk(e){uu=e,Gd=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ck))}}const Kk=()=>!uu;function f0(e,t,o){const c=e.type;if(!e.render){if(!t&&uu&&!c.render){const h=c.template||qf(e).template;if(h){const{isCustomElement:g,compilerOptions:x}=e.appContext.config,{delimiters:y,compilerOptions:z}=c,A=lr(lr({isCustomElement:g,delimiters:y},x),z);c.render=uu(h,A)}}e.render=c.render||Wn,Gd&&Gd(e)}ho(e),aa(),Sk(e),sa(),oo()}function Zk(e){return new Proxy(e.attrs,{get(t,o){return vn(e,"get","$attrs"),t[o]}})}function p0(e){const t=c=>{e.exposed=c||{}};let o;return{get attrs(){return o||(o=Zk(e))},slots:e.slots,emit:e.emit,expose:t}}function Ru(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bf(Jo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in su)return su[o](e)}}))}const Jk=/(?:^|[-_])(\w)/g,Qk=e=>e.replace(Jk,t=>t.toUpperCase()).replace(/[-_]/g,"");function hu(e,t=!0){return St(e)?e.displayName||e.name:e.name||t&&e.__name}function m0(e,t,o=!1){let c=hu(t);if(!c&&t.__file){const h=t.__file.match(/([^/\\]+)\.\w+$/);h&&(c=h[1])}if(!c&&e&&e.parent){const h=g=>{for(const x in g)if(g[x]===t)return x};c=h(e.components||e.parent.type.components)||h(e.appContext.components)}return c?Qk(c):o?"App":"Anonymous"}function eC(e){return St(e)&&"__vccOpts"in e}const It=(e,t)=>jz(e,t,Za);function tC(){return null}function rC(){return null}function nC(e){}function iC(e,t){return null}function g0(){return v0().slots}function oC(){return v0().attrs}function v0(){const e=Pr();return e.setupContext||(e.setupContext=p0(e))}function aC(e,t){const o=yt(e)?e.reduce((c,h)=>(c[h]={},c),{}):e;for(const c in t){const h=o[c];h?yt(h)||St(h)?o[c]={type:h,default:t[c]}:h.default=t[c]:h===null&&(o[c]={default:t[c]})}return o}function sC(e,t){const o={};for(const c in e)t.includes(c)||Object.defineProperty(o,c,{enumerable:!0,get:()=>e[c]});return o}function lC(e){const t=Pr();let o=e();return oo(),Ef(o)&&(o=o.catch(c=>{throw ho(t),c})),[o,()=>ho(t)]}function Bi(e,t,o){const c=arguments.length;return c===2?Kt(t)&&!yt(t)?Fi(t)?Je(e,null,[t]):Je(e,t):Je(e,null,t):(c>3?o=Array.prototype.slice.call(arguments,2):c===3&&Fi(o)&&(o=[o]),Je(e,t,o))}const x0=Symbol(""),cC=()=>{{const e=Ar(x0);return e||Db("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function uC(){}function hC(e,t,o,c){const h=o[c];if(h&&b0(h,e))return h;const g=t();return g.memo=e.slice(),o[c]=g}function b0(e,t){const o=e.memo;if(o.length!=t.length)return!1;for(let c=0;c<o.length;c++)if(qa(o[c],t[c]))return!1;return ta>0&&rn&&rn.push(e),!0}const y0="3.2.40",dC={createComponentInstance:u0,setupComponent:d0,renderComponentRoot:Jc,setCurrentRenderingInstance:vl,isVNode:Fi,normalizeVNode:hn},fC=dC,pC=null,mC=null,gC="http://www.w3.org/2000/svg",Wo=typeof document<"u"?document:null,Vg=Wo&&Wo.createElement("template"),vC={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,c)=>{const h=t?Wo.createElementNS(gC,e):Wo.createElement(e,o?{is:o}:void 0);return e==="select"&&c&&c.multiple!=null&&h.setAttribute("multiple",c.multiple),h},createText:e=>Wo.createTextNode(e),createComment:e=>Wo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,c,h,g){const x=o?o.previousSibling:t.lastChild;if(h&&(h===g||h.nextSibling))for(;t.insertBefore(h.cloneNode(!0),o),!(h===g||!(h=h.nextSibling)););else{Vg.innerHTML=c?`<svg>${e}</svg>`:e;const y=Vg.content;if(c){const z=y.firstChild;for(;z.firstChild;)y.appendChild(z.firstChild);y.removeChild(z)}t.insertBefore(y,o)}return[x?x.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}};function xC(e,t,o){const c=e._vtc;c&&(t=(t?[t,...c]:[...c]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}function bC(e,t,o){const c=e.style,h=ar(o);if(o&&!h){for(const g in o)qd(c,g,o[g]);if(t&&!ar(t))for(const g in t)o[g]==null&&qd(c,g,"")}else{const g=c.display;h?t!==o&&(c.cssText=o):t&&e.removeAttribute("style"),"_vod"in e&&(c.display=g)}}const Ug=/\s*!important$/;function qd(e,t,o){if(yt(o))o.forEach(c=>qd(e,t,c));else if(o==null&&(o=""),t.startsWith("--"))e.setProperty(t,o);else{const c=yC(e,t);Ug.test(o)?e.setProperty(ai(c),o.replace(Ug,""),"important"):e[c]=o}}const Gg=["Webkit","Moz","ms"],fd={};function yC(e,t){const o=fd[t];if(o)return o;let c=gn(t);if(c!=="filter"&&c in e)return fd[t]=c;c=Pl(c);for(let h=0;h<Gg.length;h++){const g=Gg[h]+c;if(g in e)return fd[t]=g}return t}const qg="http://www.w3.org/1999/xlink";function wC(e,t,o,c,h){if(c&&t.startsWith("xlink:"))o==null?e.removeAttributeNS(qg,t.slice(6,t.length)):e.setAttributeNS(qg,t,o);else{const g=U_(t);o==null||g&&!ab(o)?e.removeAttribute(t):e.setAttribute(t,g?"":o)}}function _C(e,t,o,c,h,g,x){if(t==="innerHTML"||t==="textContent"){c&&x(c,h,g),e[t]=o==null?"":o;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=o;const z=o==null?"":o;(e.value!==z||e.tagName==="OPTION")&&(e.value=z),o==null&&e.removeAttribute(t);return}let y=!1;if(o===""||o==null){const z=typeof e[t];z==="boolean"?o=ab(o):o==null&&z==="string"?(o="",y=!0):z==="number"&&(o=0,y=!0)}try{e[t]=o}catch{}y&&e.removeAttribute(t)}const[w0,zC]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const o=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(o&&Number(o[1])<=53)}return[e,t]})();let Kd=0;const kC=Promise.resolve(),CC=()=>{Kd=0},SC=()=>Kd||(kC.then(CC),Kd=w0());function Ei(e,t,o,c){e.addEventListener(t,o,c)}function AC(e,t,o,c){e.removeEventListener(t,o,c)}function DC(e,t,o,c,h=null){const g=e._vei||(e._vei={}),x=g[t];if(c&&x)x.value=c;else{const[y,z]=EC(t);if(c){const A=g[t]=LC(c,h);Ei(e,y,A,z)}else x&&(AC(e,y,x,z),g[t]=void 0)}}const Kg=/(?:Once|Passive|Capture)$/;function EC(e){let t;if(Kg.test(e)){t={};let c;for(;c=e.match(Kg);)e=e.slice(0,e.length-c[0].length),t[c[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ai(e.slice(2)),t]}function LC(e,t){const o=c=>{const h=c.timeStamp||w0();(zC||h>=o.attached-1)&&mn(TC(c,o.value),t,5,[c])};return o.value=e,o.attached=SC(),o}function TC(e,t){if(yt(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(c=>h=>!h._stopped&&c&&c(h))}else return t}const Zg=/^on[a-z]/,FC=(e,t,o,c,h=!1,g,x,y,z)=>{t==="class"?xC(e,c,h):t==="style"?bC(e,o,c):Fl(t)?Af(t)||DC(e,t,o,c,x):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):MC(e,t,c,h))?_C(e,t,c,g,x,y,z):(t==="true-value"?e._trueValue=c:t==="false-value"&&(e._falseValue=c),wC(e,t,c,h))};function MC(e,t,o,c){return c?!!(t==="innerHTML"||t==="textContent"||t in e&&Zg.test(t)&&St(o)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Zg.test(t)&&ar(o)?!1:t in e}function _0(e,t){const o=hr(e);class c extends Bu{constructor(g){super(o,g,t)}}return c.def=o,c}const PC=e=>_0(e,B0),OC=typeof HTMLElement<"u"?HTMLElement:class{};class Bu extends OC{constructor(t,o={},c){super(),this._def=t,this._props=o,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&c?c(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,fi(()=>{this._connected||(Jd(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let c=0;c<this.attributes.length;c++)this._setAttr(this.attributes[c].name);new MutationObserver(c=>{for(const h of c)this._setAttr(h.attributeName)}).observe(this,{attributes:!0});const t=c=>{const{props:h,styles:g}=c,x=!yt(h),y=h?x?Object.keys(h):h:[];let z;if(x)for(const A in this._props){const L=h[A];(L===Number||L&&L.type===Number)&&(this._props[A]=co(this._props[A]),(z||(z=Object.create(null)))[A]=!0)}this._numberProps=z;for(const A of Object.keys(this))A[0]!=="_"&&this._setProp(A,this[A],!0,!1);for(const A of y.map(gn))Object.defineProperty(this,A,{get(){return this._getProp(A)},set(L){this._setProp(A,L)}});this._applyStyles(g),this._update()},o=this._def.__asyncLoader;o?o().then(t):t(this._def)}_setAttr(t){let o=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(o=co(o)),this._setProp(gn(t),o,!1)}_getProp(t){return this._props[t]}_setProp(t,o,c=!0,h=!0){o!==this._props[t]&&(this._props[t]=o,h&&this._instance&&this._update(),c&&(o===!0?this.setAttribute(ai(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(ai(t),o+""):o||this.removeAttribute(ai(t))))}_update(){Jd(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Je(this._def,lr({},this._props));return this._instance||(t.ce=o=>{this._instance=o,o.isCE=!0,o.emit=(h,...g)=>{this.dispatchEvent(new CustomEvent(h,{detail:g}))};let c=this;for(;c=c&&(c.parentNode||c.host);)if(c instanceof Bu){o.parent=c._instance;break}}),t}_applyStyles(t){t&&t.forEach(o=>{const c=document.createElement("style");c.textContent=o,this.shadowRoot.appendChild(c)})}}function IC(e="$style"){{const t=Pr();if(!t)return jt;const o=t.type.__cssModules;if(!o)return jt;const c=o[e];return c||jt}}function z0(e){const t=Pr();if(!t)return;const o=()=>Zd(t.subTree,e(t.proxy));Rb(o),Kr(()=>{const c=new MutationObserver(o);c.observe(t.subTree.el.parentNode,{childList:!0}),mo(()=>c.disconnect())})}function Zd(e,t){if(e.shapeFlag&128){const o=e.suspense;e=o.activeBranch,o.pendingBranch&&!o.isHydrating&&o.effects.push(()=>{Zd(o.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Jg(e.el,t);else if(e.type===Sr)e.children.forEach(o=>Zd(o,t));else if(e.type===Go){let{el:o,anchor:c}=e;for(;o&&(Jg(o,t),o!==c);)o=o.nextSibling}}function Jg(e,t){if(e.nodeType===1){const o=e.style;for(const c in t)o.setProperty(`--${c}`,t[c])}}const Ki="transition",Ws="animation",Nu=(e,{slots:t})=>Bi(jf,C0(e),t);Nu.displayName="Transition";const k0={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},RC=Nu.props=lr({},jf.props,k0),Oo=(e,t=[])=>{yt(e)?e.forEach(o=>o(...t)):e&&e(...t)},Qg=e=>e?yt(e)?e.some(t=>t.length>1):e.length>1:!1;function C0(e){const t={};for(const Me in e)Me in k0||(t[Me]=e[Me]);if(e.css===!1)return t;const{name:o="v",type:c,duration:h,enterFromClass:g=`${o}-enter-from`,enterActiveClass:x=`${o}-enter-active`,enterToClass:y=`${o}-enter-to`,appearFromClass:z=g,appearActiveClass:A=x,appearToClass:L=y,leaveFromClass:O=`${o}-leave-from`,leaveActiveClass:P=`${o}-leave-active`,leaveToClass:Y=`${o}-leave-to`}=e,V=BC(h),ee=V&&V[0],ae=V&&V[1],{onBeforeEnter:K,onEnter:T,onEnterCancelled:re,onLeave:B,onLeaveCancelled:j,onBeforeAppear:oe=K,onAppear:de=T,onAppearCancelled:ge=re}=t,Te=(Me,ke,De)=>{Qi(Me,ke?L:y),Qi(Me,ke?A:x),De&&De()},Ne=(Me,ke)=>{Me._isLeaving=!1,Qi(Me,O),Qi(Me,Y),Qi(Me,P),ke&&ke()},ze=Me=>(ke,De)=>{const he=Me?de:T,Le=()=>Te(ke,Me,De);Oo(he,[ke,Le]),ev(()=>{Qi(ke,Me?z:g),Si(ke,Me?L:y),Qg(he)||tv(ke,c,ee,Le)})};return lr(t,{onBeforeEnter(Me){Oo(K,[Me]),Si(Me,g),Si(Me,x)},onBeforeAppear(Me){Oo(oe,[Me]),Si(Me,z),Si(Me,A)},onEnter:ze(!1),onAppear:ze(!0),onLeave(Me,ke){Me._isLeaving=!0;const De=()=>Ne(Me,ke);Si(Me,O),A0(),Si(Me,P),ev(()=>{!Me._isLeaving||(Qi(Me,O),Si(Me,Y),Qg(B)||tv(Me,c,ae,De))}),Oo(B,[Me,De])},onEnterCancelled(Me){Te(Me,!1),Oo(re,[Me])},onAppearCancelled(Me){Te(Me,!0),Oo(ge,[Me])},onLeaveCancelled(Me){Ne(Me),Oo(j,[Me])}})}function BC(e){if(e==null)return null;if(Kt(e))return[pd(e.enter),pd(e.leave)];{const t=pd(e);return[t,t]}}function pd(e){return co(e)}function Si(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e._vtc||(e._vtc=new Set)).add(t)}function Qi(e,t){t.split(/\s+/).forEach(c=>c&&e.classList.remove(c));const{_vtc:o}=e;o&&(o.delete(t),o.size||(e._vtc=void 0))}function ev(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let NC=0;function tv(e,t,o,c){const h=e._endId=++NC,g=()=>{h===e._endId&&c()};if(o)return setTimeout(g,o);const{type:x,timeout:y,propCount:z}=S0(e,t);if(!x)return c();const A=x+"end";let L=0;const O=()=>{e.removeEventListener(A,P),g()},P=Y=>{Y.target===e&&++L>=z&&O()};setTimeout(()=>{L<z&&O()},y+1),e.addEventListener(A,P)}function S0(e,t){const o=window.getComputedStyle(e),c=V=>(o[V]||"").split(", "),h=c(Ki+"Delay"),g=c(Ki+"Duration"),x=rv(h,g),y=c(Ws+"Delay"),z=c(Ws+"Duration"),A=rv(y,z);let L=null,O=0,P=0;t===Ki?x>0&&(L=Ki,O=x,P=g.length):t===Ws?A>0&&(L=Ws,O=A,P=z.length):(O=Math.max(x,A),L=O>0?x>A?Ki:Ws:null,P=L?L===Ki?g.length:z.length:0);const Y=L===Ki&&/\b(transform|all)(,|$)/.test(o[Ki+"Property"]);return{type:L,timeout:O,propCount:P,hasTransform:Y}}function rv(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,c)=>nv(o)+nv(e[c])))}function nv(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function A0(){return document.body.offsetHeight}const D0=new WeakMap,E0=new WeakMap,HC={name:"TransitionGroup",props:lr({},RC,{tag:String,moveClass:String}),setup(e,{slots:t}){const o=Pr(),c=Yf();let h,g;return Mu(()=>{if(!h.length)return;const x=e.moveClass||`${e.name||"v"}-move`;if(!$C(h[0].el,o.vnode.el,x))return;h.forEach(XC),h.forEach(YC);const y=h.filter(jC);A0(),y.forEach(z=>{const A=z.el,L=A.style;Si(A,x),L.transform=L.webkitTransform=L.transitionDuration="";const O=A._moveCb=P=>{P&&P.target!==A||(!P||/transform$/.test(P.propertyName))&&(A.removeEventListener("transitionend",O),A._moveCb=null,Qi(A,x))};A.addEventListener("transitionend",O)})}),()=>{const x=Rt(e),y=C0(x);let z=x.tag||Sr;h=g,g=t.default?Tu(t.default()):[];for(let A=0;A<g.length;A++){const L=g[A];L.key!=null&&Qo(L,Ka(L,y,c,o))}if(h)for(let A=0;A<h.length;A++){const L=h[A];Qo(L,Ka(L,y,c,o)),D0.set(L,L.el.getBoundingClientRect())}return Je(z,null,g)}}},WC=HC;function XC(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function YC(e){E0.set(e,e.el.getBoundingClientRect())}function jC(e){const t=D0.get(e),o=E0.get(e),c=t.left-o.left,h=t.top-o.top;if(c||h){const g=e.el.style;return g.transform=g.webkitTransform=`translate(${c}px,${h}px)`,g.transitionDuration="0s",e}}function $C(e,t,o){const c=e.cloneNode();e._vtc&&e._vtc.forEach(x=>{x.split(/\s+/).forEach(y=>y&&c.classList.remove(y))}),o.split(/\s+/).forEach(x=>x&&c.classList.add(x)),c.style.display="none";const h=t.nodeType===1?t:t.parentNode;h.appendChild(c);const{hasTransform:g}=S0(c);return h.removeChild(c),g}const fo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return yt(t)?o=>ja(t,o):t};function VC(e){e.target.composing=!0}function iv(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const du={created(e,{modifiers:{lazy:t,trim:o,number:c}},h){e._assign=fo(h);const g=c||h.props&&h.props.type==="number";Ei(e,t?"change":"input",x=>{if(x.target.composing)return;let y=e.value;o&&(y=y.trim()),g&&(y=co(y)),e._assign(y)}),o&&Ei(e,"change",()=>{e.value=e.value.trim()}),t||(Ei(e,"compositionstart",VC),Ei(e,"compositionend",iv),Ei(e,"change",iv))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:o,trim:c,number:h}},g){if(e._assign=fo(g),e.composing||document.activeElement===e&&e.type!=="range"&&(o||c&&e.value.trim()===t||(h||e.type==="number")&&co(e.value)===t))return;const x=t==null?"":t;e.value!==x&&(e.value=x)}},Qf={deep:!0,created(e,t,o){e._assign=fo(o),Ei(e,"change",()=>{const c=e._modelValue,h=Ja(e),g=e.checked,x=e._assign;if(yt(c)){const y=yu(c,h),z=y!==-1;if(g&&!z)x(c.concat(h));else if(!g&&z){const A=[...c];A.splice(y,1),x(A)}}else if(oa(c)){const y=new Set(c);g?y.add(h):y.delete(h),x(y)}else x(T0(e,g))})},mounted:ov,beforeUpdate(e,t,o){e._assign=fo(o),ov(e,t,o)}};function ov(e,{value:t,oldValue:o},c){e._modelValue=t,yt(t)?e.checked=yu(t,c.props.value)>-1:oa(t)?e.checked=t.has(c.props.value):t!==o&&(e.checked=lo(t,T0(e,!0)))}const ep={created(e,{value:t},o){e.checked=lo(t,o.props.value),e._assign=fo(o),Ei(e,"change",()=>{e._assign(Ja(e))})},beforeUpdate(e,{value:t,oldValue:o},c){e._assign=fo(c),t!==o&&(e.checked=lo(t,c.props.value))}},L0={deep:!0,created(e,{value:t,modifiers:{number:o}},c){const h=oa(t);Ei(e,"change",()=>{const g=Array.prototype.filter.call(e.options,x=>x.selected).map(x=>o?co(Ja(x)):Ja(x));e._assign(e.multiple?h?new Set(g):g:g[0])}),e._assign=fo(c)},mounted(e,{value:t}){av(e,t)},beforeUpdate(e,t,o){e._assign=fo(o)},updated(e,{value:t}){av(e,t)}};function av(e,t){const o=e.multiple;if(!(o&&!yt(t)&&!oa(t))){for(let c=0,h=e.options.length;c<h;c++){const g=e.options[c],x=Ja(g);if(o)yt(t)?g.selected=yu(t,x)>-1:g.selected=t.has(x);else if(lo(Ja(g),t)){e.selectedIndex!==c&&(e.selectedIndex=c);return}}!o&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ja(e){return"_value"in e?e._value:e.value}function T0(e,t){const o=t?"_trueValue":"_falseValue";return o in e?e[o]:t}const F0={created(e,t,o){Pc(e,t,o,null,"created")},mounted(e,t,o){Pc(e,t,o,null,"mounted")},beforeUpdate(e,t,o,c){Pc(e,t,o,c,"beforeUpdate")},updated(e,t,o,c){Pc(e,t,o,c,"updated")}};function M0(e,t){switch(e){case"SELECT":return L0;case"TEXTAREA":return du;default:switch(t){case"checkbox":return Qf;case"radio":return ep;default:return du}}}function Pc(e,t,o,c,h){const x=M0(e.tagName,o.props&&o.props.type)[h];x&&x(e,t,o,c)}function UC(){du.getSSRProps=({value:e})=>({value:e}),ep.getSSRProps=({value:e},t)=>{if(t.props&&lo(t.props.value,e))return{checked:!0}},Qf.getSSRProps=({value:e},t)=>{if(yt(e)){if(t.props&&yu(e,t.props.value)>-1)return{checked:!0}}else if(oa(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},F0.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const o=M0(t.type.toUpperCase(),t.props&&t.props.type);if(o.getSSRProps)return o.getSSRProps(e,t)}}const GC=["ctrl","shift","alt","meta"],qC={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)=>GC.some(o=>e[`${o}Key`]&&!t.includes(o))},KC=(e,t)=>(o,...c)=>{for(let h=0;h<t.length;h++){const g=qC[t[h]];if(g&&g(o,t))return}return e(o,...c)},ZC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},P0=(e,t)=>o=>{if(!("key"in o))return;const c=ai(o.key);if(t.some(h=>h===c||ZC[h]===c))return e(o)},ao={beforeMount(e,{value:t},{transition:o}){e._vod=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Xs(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:c}){!t!=!o&&(c?t?(c.beforeEnter(e),Xs(e,!0),c.enter(e)):c.leave(e,()=>{Xs(e,!1)}):Xs(e,t))},beforeUnmount(e,{value:t}){Xs(e,t)}};function Xs(e,t){e.style.display=t?e._vod:"none"}function JC(){ao.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const O0=lr({patchProp:FC},vC);let rl,sv=!1;function I0(){return rl||(rl=n0(O0))}function R0(){return rl=sv?rl:i0(O0),sv=!0,rl}const Jd=(...e)=>{I0().render(...e)},B0=(...e)=>{R0().hydrate(...e)},N0=(...e)=>{const t=I0().createApp(...e),{mount:o}=t;return t.mount=c=>{const h=H0(c);if(!h)return;const g=t._component;!St(g)&&!g.render&&!g.template&&(g.template=h.innerHTML),h.innerHTML="";const x=o(h,!1,h instanceof SVGElement);return h instanceof Element&&(h.removeAttribute("v-cloak"),h.setAttribute("data-v-app","")),x},t},QC=(...e)=>{const t=R0().createApp(...e),{mount:o}=t;return t.mount=c=>{const h=H0(c);if(h)return o(h,!0,h instanceof SVGElement)},t};function H0(e){return ar(e)?document.querySelector(e):e}let lv=!1;const e2=()=>{lv||(lv=!0,UC(),JC())},t2=()=>{},r2=Object.freeze(Object.defineProperty({__proto__:null,compile:t2,EffectScope:Tf,ReactiveEffect:Ol,customRef:Wz,effect:uz,effectScope:_u,getCurrentScope:az,isProxy:Of,isReactive:Li,isReadonly:Zo,isRef:Qt,isShallow:fl,markRaw:Jo,onScopeDispose:sz,proxyRefs:Bf,reactive:An,readonly:Pf,ref:Ft,shallowReactive:zb,shallowReadonly:Iz,shallowRef:kb,stop:hz,toRaw:Rt,toRef:Sb,toRefs:Il,triggerRef:Bz,unref:zt,camelize:gn,capitalize:Pl,normalizeClass:Br,normalizeProps:Z_,normalizeStyle:ls,toDisplayString:hl,toHandlerKey:Js,BaseTransition:jf,Comment:Wr,Fragment:Sr,KeepAlive:xk,Static:Go,Suspense:lk,Teleport:Yk,Text:ea,callWithAsyncErrorHandling:mn,callWithErrorHandling:si,cloneVNode:pi,compatUtils:mC,computed:It,createBlock:Nl,createCommentVNode:Ou,createElementBlock:Bt,createElementVNode:G,createHydrationRenderer:i0,createPropsRestProxy:sC,createRenderer:n0,createSlots:zk,createStaticVNode:Tn,createTextVNode:Ot,createVNode:Je,defineAsyncComponent:gk,defineComponent:hr,defineEmits:rC,defineExpose:nC,defineProps:tC,get devtools(){return Ia},getCurrentInstance:Pr,getTransitionRawChildren:Tu,guardReactiveProps:c0,h:Bi,handleError:la,initCustomFormatter:uC,inject:Ar,isMemoSame:b0,isRuntimeOnly:Kk,isVNode:Fi,mergeDefaults:aC,mergeProps:Iu,nextTick:fi,onActivated:$f,onBeforeMount:Wb,onBeforeUnmount:Ri,onBeforeUpdate:Xb,onDeactivated:Vf,onErrorCaptured:Vb,onMounted:Kr,onRenderTracked:$b,onRenderTriggered:jb,onServerPrefetch:Yb,onUnmounted:mo,onUpdated:Mu,openBlock:Mt,popScopeId:tk,provide:$o,pushScopeId:ek,queuePostFlushCb:Hf,registerRuntimeCompiler:qk,renderList:_k,renderSlot:Nd,resolveComponent:Xn,resolveDirective:wk,resolveDynamicComponent:Gb,resolveFilter:pC,resolveTransitionHooks:Ka,setBlockTracking:Vd,setDevtoolsHook:Mb,setTransitionHooks:Qo,ssrContextKey:x0,ssrUtils:fC,toHandlers:kk,transformVNodeArgs:jk,useAttrs:oC,useSSRContext:cC,useSlots:g0,useTransitionState:Yf,version:y0,warn:Db,watch:er,watchEffect:bl,watchPostEffect:Rb,watchSyncEffect:fk,withAsyncContext:lC,withCtx:Pt,withDefaults:iC,withDirectives:Uo,withMemo:hC,withScopeId:rk,Transition:Nu,TransitionGroup:WC,VueElement:Bu,createApp:N0,createSSRApp:QC,defineCustomElement:_0,defineSSRCustomElement:PC,hydrate:B0,initDirectivesForSSR:e2,render:Jd,useCssModule:IC,useCssVars:z0,vModelCheckbox:Qf,vModelDynamic:F0,vModelRadio:ep,vModelSelect:L0,vModelText:du,vShow:ao,withKeys:P0,withModifiers:KC},Symbol.toStringTag,{value:"Module"})),n2="/assets/images/logo.png";var i2=!1;/*!
  5. * pinia v2.0.22
  6. * (c) 2022 Eduardo San Martin Morote
  7. * @license MIT
  8. */let W0;const Hu=e=>W0=e,X0=Symbol();function Qd(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var nl;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(nl||(nl={}));function o2(){const e=_u(!0),t=e.run(()=>Ft({}));let o=[],c=[];const h=Jo({install(g){Hu(h),h._a=g,g.provide(X0,h),g.config.globalProperties.$pinia=h,c.forEach(x=>o.push(x)),c=[]},use(g){return!this._a&&!i2?c.push(g):o.push(g),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return h}const Y0=()=>{};function cv(e,t,o,c=Y0){e.push(t);const h=()=>{const g=e.indexOf(t);g>-1&&(e.splice(g,1),c())};return!o&&Pr()&&mo(h),h}function Fa(e,...t){e.slice().forEach(o=>{o(...t)})}function ef(e,t){e instanceof Map&&t instanceof Map&&t.forEach((o,c)=>e.set(c,o)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const c=t[o],h=e[o];Qd(h)&&Qd(c)&&e.hasOwnProperty(o)&&!Qt(c)&&!Li(c)?e[o]=ef(h,c):e[o]=c}return e}const a2=Symbol();function s2(e){return!Qd(e)||!e.hasOwnProperty(a2)}const{assign:Di}=Object;function l2(e){return!!(Qt(e)&&e.effect)}function c2(e,t,o,c){const{state:h,actions:g,getters:x}=t,y=o.state.value[e];let z;function A(){y||(o.state.value[e]=h?h():{});const L=Il(o.state.value[e]);return Di(L,g,Object.keys(x||{}).reduce((O,P)=>(O[P]=Jo(It(()=>{Hu(o);const Y=o._s.get(e);return x[P].call(Y,Y)})),O),{}))}return z=j0(e,A,t,o,c,!0),z.$reset=function(){const O=h?h():{};this.$patch(P=>{Di(P,O)})},z}function j0(e,t,o={},c,h,g){let x;const y=Di({actions:{}},o),z={deep:!0};let A,L,O=Jo([]),P=Jo([]),Y;const V=c.state.value[e];!g&&!V&&(c.state.value[e]={}),Ft({});let ee;function ae(de){let ge;A=L=!1,typeof de=="function"?(de(c.state.value[e]),ge={type:nl.patchFunction,storeId:e,events:Y}):(ef(c.state.value[e],de),ge={type:nl.patchObject,payload:de,storeId:e,events:Y});const Te=ee=Symbol();fi().then(()=>{ee===Te&&(A=!0)}),L=!0,Fa(O,ge,c.state.value[e])}const K=Y0;function T(){x.stop(),O=[],P=[],c._s.delete(e)}function re(de,ge){return function(){Hu(c);const Te=Array.from(arguments),Ne=[],ze=[];function Me(he){Ne.push(he)}function ke(he){ze.push(he)}Fa(P,{args:Te,name:de,store:j,after:Me,onError:ke});let De;try{De=ge.apply(this&&this.$id===e?this:j,Te)}catch(he){throw Fa(ze,he),he}return De instanceof Promise?De.then(he=>(Fa(Ne,he),he)).catch(he=>(Fa(ze,he),Promise.reject(he))):(Fa(Ne,De),De)}}const B={_p:c,$id:e,$onAction:cv.bind(null,P),$patch:ae,$reset:K,$subscribe(de,ge={}){const Te=cv(O,de,ge.detached,()=>Ne()),Ne=x.run(()=>er(()=>c.state.value[e],ze=>{(ge.flush==="sync"?L:A)&&de({storeId:e,type:nl.direct,events:Y},ze)},Di({},z,ge)));return Te},$dispose:T},j=An(Di({},B));c._s.set(e,j);const oe=c._e.run(()=>(x=_u(),x.run(()=>t())));for(const de in oe){const ge=oe[de];if(Qt(ge)&&!l2(ge)||Li(ge))g||(V&&s2(ge)&&(Qt(ge)?ge.value=V[de]:ef(ge,V[de])),c.state.value[e][de]=ge);else if(typeof ge=="function"){const Te=re(de,ge);oe[de]=Te,y.actions[de]=ge}}return Di(j,oe),Di(Rt(j),oe),Object.defineProperty(j,"$state",{get:()=>c.state.value[e],set:de=>{ae(ge=>{Di(ge,de)})}}),c._p.forEach(de=>{Di(j,x.run(()=>de({store:j,app:c._a,pinia:c,options:y})))}),V&&g&&o.hydrate&&o.hydrate(j.$state,V),A=!0,L=!0,j}function u2(e,t,o){let c,h;const g=typeof t=="function";typeof e=="string"?(c=e,h=g?o:t):(h=e,c=e.id);function x(y,z){const A=Pr();return y=y||A&&Ar(X0),y&&Hu(y),y=W0,y._s.has(c)||(g?j0(c,t,h,y):c2(c,h,y)),y._s.get(c)}return x.$id=c,x}/*!
  9. * shared v9.2.2
  10. * (c) 2022 kazuya kawaguchi
  11. * Released under the MIT License.
  12. */const tf=typeof window<"u",h2=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",go=e=>h2?Symbol(e):e,yl=e=>typeof e=="number"&&isFinite(e),uv=e=>V0(e)==="[object RegExp]",d2=e=>Qn(e)&&Object.keys(e).length===0,li=Object.assign;let hv;const $0=()=>hv||(hv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),f2=Object.prototype.hasOwnProperty;function tp(e,t){return f2.call(e,t)}const ii=Array.isArray,Oc=e=>typeof e=="function",wr=e=>typeof e=="string",to=e=>typeof e=="boolean",Yn=e=>e!==null&&typeof e=="object",p2=Object.prototype.toString,V0=e=>p2.call(e),Qn=e=>V0(e)==="[object Object]";/*!
  13. * shared v9.2.2
  14. * (c) 2022 kazuya kawaguchi
  15. * Released under the MIT License.
  16. */const m2=(e,t,o)=>g2({l:e,k:t,s:o}),g2=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),fn=e=>typeof e=="number"&&isFinite(e),v2=e=>np(e)==="[object Date]",dv=e=>np(e)==="[object RegExp]",rp=e=>nr(e)&&Object.keys(e).length===0;function x2(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Hl=Object.assign;let fv;const b2=()=>fv||(fv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const ci=Array.isArray,dn=e=>typeof e=="function",Tt=e=>typeof e=="string",pn=e=>typeof e=="boolean",qr=e=>e!==null&&typeof e=="object",U0=Object.prototype.toString,np=e=>U0.call(e),nr=e=>np(e)==="[object Object]",y2=e=>e==null?"":ci(e)||nr(e)&&e.toString===U0?JSON.stringify(e,null,2):String(e);/*!
  17. * message-compiler v9.2.2
  18. * (c) 2022 kazuya kawaguchi
  19. * Released under the MIT License.
  20. */const G0={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,__EXTEND_POINT__:15};function q0(e,t,o={}){const{domain:c,messages:h,args:g}=o,x=e,y=new SyntaxError(String(x));return y.code=e,t&&(y.location=t),y.domain=c,y}/*!
  21. * devtools-if v9.2.2
  22. * (c) 2022 kazuya kawaguchi
  23. * Released under the MIT License.
  24. */const K0={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
  25. * core-base v9.2.2
  26. * (c) 2022 kazuya kawaguchi
  27. * Released under the MIT License.
  28. */const vo=[];vo[0]={w:[0],i:[3,0],["["]:[4],o:[7]};vo[1]={w:[1],["."]:[2],["["]:[4],o:[7]};vo[2]={w:[2],i:[3,0],[0]:[3,0]};vo[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};vo[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};vo[5]={["'"]:[4,0],o:8,l:[5,0]};vo[6]={['"']:[4,0],o:8,l:[6,0]};const w2=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function _2(e){return w2.test(e)}function z2(e){const t=e.charCodeAt(0),o=e.charCodeAt(e.length-1);return t===o&&(t===34||t===39)?e.slice(1,-1):e}function k2(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 C2(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:_2(t)?z2(t):"*"+t}function S2(e){const t=[];let o=-1,c=0,h=0,g,x,y,z,A,L,O;const P=[];P[0]=()=>{x===void 0?x=y:x+=y},P[1]=()=>{x!==void 0&&(t.push(x),x=void 0)},P[2]=()=>{P[0](),h++},P[3]=()=>{if(h>0)h--,c=4,P[0]();else{if(h=0,x===void 0||(x=C2(x),x===!1))return!1;P[1]()}};function Y(){const V=e[o+1];if(c===5&&V==="'"||c===6&&V==='"')return o++,y="\\"+V,P[0](),!0}for(;c!==null;)if(o++,g=e[o],!(g==="\\"&&Y())){if(z=k2(g),O=vo[c],A=O[z]||O.l||8,A===8||(c=A[0],A[1]!==void 0&&(L=P[A[1]],L&&(y=g,L()===!1))))return;if(c===7)return t}}const mv=new Map;function A2(e,t){return qr(e)?e[t]:null}function D2(e,t){if(!qr(e))return null;let o=mv.get(t);if(o||(o=S2(t),o&&mv.set(t,o)),!o)return null;const c=o.length;let h=e,g=0;for(;g<c;){const x=h[o[g]];if(x===void 0)return null;h=x,g++}return h}const E2=e=>e,L2=e=>"",T2="text",F2=e=>e.length===0?"":e.join(""),M2=y2;function gv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function P2(e){const t=fn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(fn(e.named.count)||fn(e.named.n))?fn(e.named.count)?e.named.count:fn(e.named.n)?e.named.n:t:t}function O2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function I2(e={}){const t=e.locale,o=P2(e),c=qr(e.pluralRules)&&Tt(t)&&dn(e.pluralRules[t])?e.pluralRules[t]:gv,h=qr(e.pluralRules)&&Tt(t)&&dn(e.pluralRules[t])?gv:void 0,g=K=>K[c(o,K.length,h)],x=e.list||[],y=K=>x[K],z=e.named||{};fn(e.pluralIndex)&&O2(o,z);const A=K=>z[K];function L(K){const T=dn(e.messages)?e.messages(K):qr(e.messages)?e.messages[K]:!1;return T||(e.parent?e.parent.message(K):L2)}const O=K=>e.modifiers?e.modifiers[K]:E2,P=nr(e.processor)&&dn(e.processor.normalize)?e.processor.normalize:F2,Y=nr(e.processor)&&dn(e.processor.interpolate)?e.processor.interpolate:M2,V=nr(e.processor)&&Tt(e.processor.type)?e.processor.type:T2,ae={list:y,named:A,plural:g,linked:(K,...T)=>{const[re,B]=T;let j="text",oe="";T.length===1?qr(re)?(oe=re.modifier||oe,j=re.type||j):Tt(re)&&(oe=re||oe):T.length===2&&(Tt(re)&&(oe=re||oe),Tt(B)&&(j=B||j));let de=L(K)(ae);return j==="vnode"&&ci(de)&&oe&&(de=de[0]),oe?O(oe)(de,j):de},message:L,type:V,interpolate:Y,normalize:P};return ae}let wl=null;function R2(e){wl=e}function B2(e,t,o){wl&&wl.emit(K0.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:o})}const N2=H2(K0.FunctionTranslate);function H2(e){return t=>wl&&wl.emit(e,t)}const W2={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,__EXTEND_POINT__:7};function X2(e,t,o){return[...new Set([o,...ci(t)?t:qr(t)?Object.keys(t):Tt(t)?[t]:[o]])]}function Z0(e,t,o){const c=Tt(o)?o:ip,h=e;h.__localeChainCache||(h.__localeChainCache=new Map);let g=h.__localeChainCache.get(c);if(!g){g=[];let x=[o];for(;ci(x);)x=vv(g,x,t);const y=ci(t)||!nr(t)?t:t.default?t.default:null;x=Tt(y)?[y]:y,ci(x)&&vv(g,x,!1),h.__localeChainCache.set(c,g)}return g}function vv(e,t,o){let c=!0;for(let h=0;h<t.length&&pn(c);h++){const g=t[h];Tt(g)&&(c=Y2(e,t[h],o))}return c}function Y2(e,t,o){let c;const h=t.split("-");do{const g=h.join("-");c=j2(e,g,o),h.splice(-1,1)}while(h.length&&c===!0);return c}function j2(e,t,o){let c=!1;if(!e.includes(t)&&(c=!0,t)){c=t[t.length-1]!=="!";const h=t.replace(/!/g,"");e.push(h),(ci(o)||nr(o))&&o[h]&&(c=o[h])}return c}const $2="9.2.2",Wu=-1,ip="en-US",xv="",bv=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function V2(){return{upper:(e,t)=>t==="text"&&Tt(e)?e.toUpperCase():t==="vnode"&&qr(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Tt(e)?e.toLowerCase():t==="vnode"&&qr(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Tt(e)?bv(e):t==="vnode"&&qr(e)&&"__v_isVNode"in e?bv(e.children):e}}let U2,J0;function G2(e){J0=e}let Q0;function q2(e){Q0=e}let ey=null;const yv=e=>{ey=e},K2=()=>ey;let ty=null;const wv=e=>{ty=e},Z2=()=>ty;let _v=0;function J2(e={}){const t=Tt(e.version)?e.version:$2,o=Tt(e.locale)?e.locale:ip,c=ci(e.fallbackLocale)||nr(e.fallbackLocale)||Tt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,h=nr(e.messages)?e.messages:{[o]:{}},g=nr(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},x=nr(e.numberFormats)?e.numberFormats:{[o]:{}},y=Hl({},e.modifiers||{},V2()),z=e.pluralRules||{},A=dn(e.missing)?e.missing:null,L=pn(e.missingWarn)||dv(e.missingWarn)?e.missingWarn:!0,O=pn(e.fallbackWarn)||dv(e.fallbackWarn)?e.fallbackWarn:!0,P=!!e.fallbackFormat,Y=!!e.unresolving,V=dn(e.postTranslation)?e.postTranslation:null,ee=nr(e.processor)?e.processor:null,ae=pn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,K=!!e.escapeParameter,T=dn(e.messageCompiler)?e.messageCompiler:U2,re=dn(e.messageResolver)?e.messageResolver:J0||A2,B=dn(e.localeFallbacker)?e.localeFallbacker:Q0||X2,j=qr(e.fallbackContext)?e.fallbackContext:void 0,oe=dn(e.onWarn)?e.onWarn:x2,de=e,ge=qr(de.__datetimeFormatters)?de.__datetimeFormatters:new Map,Te=qr(de.__numberFormatters)?de.__numberFormatters:new Map,Ne=qr(de.__meta)?de.__meta:{};_v++;const ze={version:t,cid:_v,locale:o,fallbackLocale:c,messages:h,modifiers:y,pluralRules:z,missing:A,missingWarn:L,fallbackWarn:O,fallbackFormat:P,unresolving:Y,postTranslation:V,processor:ee,warnHtmlMessage:ae,escapeParameter:K,messageCompiler:T,messageResolver:re,localeFallbacker:B,fallbackContext:j,onWarn:oe,__meta:Ne};return ze.datetimeFormats=g,ze.numberFormats=x,ze.__datetimeFormatters=ge,ze.__numberFormatters=Te,__INTLIFY_PROD_DEVTOOLS__&&B2(ze,t,Ne),ze}function op(e,t,o,c,h){const{missing:g,onWarn:x}=e;if(g!==null){const y=g(e,o,t,h);return Tt(y)?y:t}else return t}function Ys(e,t,o){const c=e;c.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}let ry=G0.__EXTEND_POINT__;const md=()=>++ry,Na={INVALID_ARGUMENT:ry,INVALID_DATE_ARGUMENT:md(),INVALID_ISO_DATE_ARGUMENT:md(),__EXTEND_POINT__:md()};function Ha(e){return q0(e,null,void 0)}const zv=()=>"",ei=e=>dn(e);function kv(e,...t){const{fallbackFormat:o,postTranslation:c,unresolving:h,messageCompiler:g,fallbackLocale:x,messages:y}=e,[z,A]=rf(...t),L=pn(A.missingWarn)?A.missingWarn:e.missingWarn,O=pn(A.fallbackWarn)?A.fallbackWarn:e.fallbackWarn,P=pn(A.escapeParameter)?A.escapeParameter:e.escapeParameter,Y=!!A.resolvedMessage,V=Tt(A.default)||pn(A.default)?pn(A.default)?g?z:()=>z:A.default:o?g?z:()=>z:"",ee=o||V!=="",ae=Tt(A.locale)?A.locale:e.locale;P&&Q2(A);let[K,T,re]=Y?[z,ae,y[ae]||{}]:ny(e,z,ae,x,O,L),B=K,j=z;if(!Y&&!(Tt(B)||ei(B))&&ee&&(B=V,j=B),!Y&&(!(Tt(B)||ei(B))||!Tt(T)))return h?Wu:z;let oe=!1;const de=()=>{oe=!0},ge=ei(B)?B:iy(e,z,T,B,j,de);if(oe)return B;const Te=rS(e,T,re,A),Ne=I2(Te),ze=eS(e,ge,Ne),Me=c?c(ze,z):ze;if(__INTLIFY_PROD_DEVTOOLS__){const ke={timestamp:Date.now(),key:Tt(z)?z:ei(B)?B.key:"",locale:T||(ei(B)?B.locale:""),format:Tt(B)?B:ei(B)?B.source:"",message:Me};ke.meta=Hl({},e.__meta,K2()||{}),N2(ke)}return Me}function Q2(e){ci(e.list)?e.list=e.list.map(t=>Tt(t)?pv(t):t):qr(e.named)&&Object.keys(e.named).forEach(t=>{Tt(e.named[t])&&(e.named[t]=pv(e.named[t]))})}function ny(e,t,o,c,h,g){const{messages:x,onWarn:y,messageResolver:z,localeFallbacker:A}=e,L=A(e,c,o);let O={},P,Y=null;const V="translate";for(let ee=0;ee<L.length&&(P=L[ee],O=x[P]||{},(Y=z(O,t))===null&&(Y=O[t]),!(Tt(Y)||dn(Y)));ee++){const ae=op(e,t,P,g,V);ae!==t&&(Y=ae)}return[Y,P,O]}function iy(e,t,o,c,h,g){const{messageCompiler:x,warnHtmlMessage:y}=e;if(ei(c)){const A=c;return A.locale=A.locale||o,A.key=A.key||t,A}if(x==null){const A=()=>c;return A.locale=o,A.key=t,A}const z=x(c,tS(e,o,h,c,y,g));return z.locale=o,z.key=t,z.source=c,z}function eS(e,t,o){return t(o)}function rf(...e){const[t,o,c]=e,h={};if(!Tt(t)&&!fn(t)&&!ei(t))throw Ha(Na.INVALID_ARGUMENT);const g=fn(t)?String(t):(ei(t),t);return fn(o)?h.plural=o:Tt(o)?h.default=o:nr(o)&&!rp(o)?h.named=o:ci(o)&&(h.list=o),fn(c)?h.plural=c:Tt(c)?h.default=c:nr(c)&&Hl(h,c),[g,h]}function tS(e,t,o,c,h,g){return{warnHtmlMessage:h,onError:x=>{throw g&&g(x),x},onCacheKey:x=>m2(t,o,x)}}function rS(e,t,o,c){const{modifiers:h,pluralRules:g,messageResolver:x,fallbackLocale:y,fallbackWarn:z,missingWarn:A,fallbackContext:L}=e,P={locale:t,modifiers:h,pluralRules:g,messages:Y=>{let V=x(o,Y);if(V==null&&L){const[,,ee]=ny(L,Y,t,y,z,A);V=x(ee,Y)}if(Tt(V)){let ee=!1;const K=iy(e,Y,t,V,Y,()=>{ee=!0});return ee?zv:K}else return ei(V)?V:zv}};return e.processor&&(P.processor=e.processor),c.list&&(P.list=c.list),c.named&&(P.named=c.named),fn(c.plural)&&(P.pluralIndex=c.plural),P}function Cv(e,...t){const{datetimeFormats:o,unresolving:c,fallbackLocale:h,onWarn:g,localeFallbacker:x}=e,{__datetimeFormatters:y}=e,[z,A,L,O]=nf(...t),P=pn(L.missingWarn)?L.missingWarn:e.missingWarn;pn(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn;const Y=!!L.part,V=Tt(L.locale)?L.locale:e.locale,ee=x(e,h,V);if(!Tt(z)||z==="")return new Intl.DateTimeFormat(V,O).format(A);let ae={},K,T=null;const re="datetime format";for(let oe=0;oe<ee.length&&(K=ee[oe],ae=o[K]||{},T=ae[z],!nr(T));oe++)op(e,z,K,P,re);if(!nr(T)||!Tt(K))return c?Wu:z;let B=`${K}__${z}`;rp(O)||(B=`${B}__${JSON.stringify(O)}`);let j=y.get(B);return j||(j=new Intl.DateTimeFormat(K,Hl({},T,O)),y.set(B,j)),Y?j.formatToParts(A):j.format(A)}const oy=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function nf(...e){const[t,o,c,h]=e,g={};let x={},y;if(Tt(t)){const z=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!z)throw Ha(Na.INVALID_ISO_DATE_ARGUMENT);const A=z[3]?z[3].trim().startsWith("T")?`${z[1].trim()}${z[3].trim()}`:`${z[1].trim()}T${z[3].trim()}`:z[1].trim();y=new Date(A);try{y.toISOString()}catch{throw Ha(Na.INVALID_ISO_DATE_ARGUMENT)}}else if(v2(t)){if(isNaN(t.getTime()))throw Ha(Na.INVALID_DATE_ARGUMENT);y=t}else if(fn(t))y=t;else throw Ha(Na.INVALID_ARGUMENT);return Tt(o)?g.key=o:nr(o)&&Object.keys(o).forEach(z=>{oy.includes(z)?x[z]=o[z]:g[z]=o[z]}),Tt(c)?g.locale=c:nr(c)&&(x=c),nr(h)&&(x=h),[g.key||"",y,g,x]}function Sv(e,t,o){const c=e;for(const h in o){const g=`${t}__${h}`;!c.__datetimeFormatters.has(g)||c.__datetimeFormatters.delete(g)}}function Av(e,...t){const{numberFormats:o,unresolving:c,fallbackLocale:h,onWarn:g,localeFallbacker:x}=e,{__numberFormatters:y}=e,[z,A,L,O]=of(...t),P=pn(L.missingWarn)?L.missingWarn:e.missingWarn;pn(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn;const Y=!!L.part,V=Tt(L.locale)?L.locale:e.locale,ee=x(e,h,V);if(!Tt(z)||z==="")return new Intl.NumberFormat(V,O).format(A);let ae={},K,T=null;const re="number format";for(let oe=0;oe<ee.length&&(K=ee[oe],ae=o[K]||{},T=ae[z],!nr(T));oe++)op(e,z,K,P,re);if(!nr(T)||!Tt(K))return c?Wu:z;let B=`${K}__${z}`;rp(O)||(B=`${B}__${JSON.stringify(O)}`);let j=y.get(B);return j||(j=new Intl.NumberFormat(K,Hl({},T,O)),y.set(B,j)),Y?j.formatToParts(A):j.format(A)}const ay=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function of(...e){const[t,o,c,h]=e,g={};let x={};if(!fn(t))throw Ha(Na.INVALID_ARGUMENT);const y=t;return Tt(o)?g.key=o:nr(o)&&Object.keys(o).forEach(z=>{ay.includes(z)?x[z]=o[z]:g[z]=o[z]}),Tt(c)?g.locale=c:nr(c)&&(x=c),nr(h)&&(x=h),[g.key||"",y,g,x]}function Dv(e,t,o){const c=e;for(const h in o){const g=`${t}__${h}`;!c.__numberFormatters.has(g)||c.__numberFormatters.delete(g)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(b2().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
  29. * vue-i18n v9.2.2
  30. * (c) 2022 kazuya kawaguchi
  31. * Released under the MIT License.
  32. */const nS="9.2.2";function iS(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&($0().__INTLIFY_PROD_DEVTOOLS__=!1)}W2.__EXTEND_POINT__;let sy=G0.__EXTEND_POINT__;const Qr=()=>++sy,xn={UNEXPECTED_RETURN_TYPE:sy,INVALID_ARGUMENT:Qr(),MUST_BE_CALL_SETUP_TOP:Qr(),NOT_INSLALLED:Qr(),NOT_AVAILABLE_IN_LEGACY_MODE:Qr(),REQUIRED_VALUE:Qr(),INVALID_VALUE:Qr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Qr(),NOT_INSLALLED_WITH_PROVIDE:Qr(),UNEXPECTED_ERROR:Qr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Qr(),BRIDGE_SUPPORT_VUE_2_ONLY:Qr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Qr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Qr(),__EXTEND_POINT__:Qr()};function Dn(e,...t){return q0(e,null,void 0)}const af=go("__transrateVNode"),sf=go("__datetimeParts"),lf=go("__numberParts"),oS=go("__setPluralRules");go("__intlifyMeta");const aS=go("__injectWithOption");function cf(e){if(!Yn(e))return e;for(const t in e)if(!!tp(e,t))if(!t.includes("."))Yn(e[t])&&cf(e[t]);else{const o=t.split("."),c=o.length-1;let h=e;for(let g=0;g<c;g++)o[g]in h||(h[o[g]]={}),h=h[o[g]];h[o[c]]=e[t],delete e[t],Yn(h[o[c]])&&cf(h[o[c]])}return e}function ly(e,t){const{messages:o,__i18n:c,messageResolver:h,flatJson:g}=t,x=Qn(o)?o:ii(c)?{}:{[e]:{}};if(ii(c)&&c.forEach(y=>{if("locale"in y&&"resource"in y){const{locale:z,resource:A}=y;z?(x[z]=x[z]||{},il(A,x[z])):il(A,x)}else wr(y)&&il(JSON.parse(y),x)}),h==null&&g)for(const y in x)tp(x,y)&&cf(x[y]);return x}const Ic=e=>!Yn(e)||ii(e);function il(e,t){if(Ic(e)||Ic(t))throw Dn(xn.INVALID_VALUE);for(const o in e)tp(e,o)&&(Ic(e[o])||Ic(t[o])?t[o]=e[o]:il(e[o],t[o]))}function cy(e){return e.type}function sS(e,t,o){let c=Yn(t.messages)?t.messages:{};"__i18nGlobal"in o&&(c=ly(e.locale.value,{messages:c,__i18n:o.__i18nGlobal}));const h=Object.keys(c);h.length&&h.forEach(g=>{e.mergeLocaleMessage(g,c[g])});{if(Yn(t.datetimeFormats)){const g=Object.keys(t.datetimeFormats);g.length&&g.forEach(x=>{e.mergeDateTimeFormat(x,t.datetimeFormats[x])})}if(Yn(t.numberFormats)){const g=Object.keys(t.numberFormats);g.length&&g.forEach(x=>{e.mergeNumberFormat(x,t.numberFormats[x])})}}}function Ev(e){return Je(ea,null,e,0)}const Lv="__INTLIFY_META__";let Tv=0;function Fv(e){return(t,o,c,h)=>e(o,c,Pr()||void 0,h)}const lS=()=>{const e=Pr();let t=null;return e&&(t=cy(e)[Lv])?{[Lv]:t}:null};function uy(e={},t){const{__root:o}=e,c=o===void 0;let h=to(e.inheritLocale)?e.inheritLocale:!0;const g=Ft(o&&h?o.locale.value:wr(e.locale)?e.locale:ip),x=Ft(o&&h?o.fallbackLocale.value:wr(e.fallbackLocale)||ii(e.fallbackLocale)||Qn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:g.value),y=Ft(ly(g.value,e)),z=Ft(Qn(e.datetimeFormats)?e.datetimeFormats:{[g.value]:{}}),A=Ft(Qn(e.numberFormats)?e.numberFormats:{[g.value]:{}});let L=o?o.missingWarn:to(e.missingWarn)||uv(e.missingWarn)?e.missingWarn:!0,O=o?o.fallbackWarn:to(e.fallbackWarn)||uv(e.fallbackWarn)?e.fallbackWarn:!0,P=o?o.fallbackRoot:to(e.fallbackRoot)?e.fallbackRoot:!0,Y=!!e.fallbackFormat,V=Oc(e.missing)?e.missing:null,ee=Oc(e.missing)?Fv(e.missing):null,ae=Oc(e.postTranslation)?e.postTranslation:null,K=o?o.warnHtmlMessage:to(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const re=o?o.modifiers:Qn(e.modifiers)?e.modifiers:{};let B=e.pluralRules||o&&o.pluralRules,j;j=(()=>{c&&wv(null);const N={version:nS,locale:g.value,fallbackLocale:x.value,messages:y.value,modifiers:re,pluralRules:B,missing:ee===null?void 0:ee,missingWarn:L,fallbackWarn:O,fallbackFormat:Y,unresolving:!0,postTranslation:ae===null?void 0:ae,warnHtmlMessage:K,escapeParameter:T,messageResolver:e.messageResolver,__meta:{framework:"vue"}};N.datetimeFormats=z.value,N.numberFormats=A.value,N.__datetimeFormatters=Qn(j)?j.__datetimeFormatters:void 0,N.__numberFormatters=Qn(j)?j.__numberFormatters:void 0;const $=J2(N);return c&&wv($),$})(),Ys(j,g.value,x.value);function de(){return[g.value,x.value,y.value,z.value,A.value]}const ge=It({get:()=>g.value,set:N=>{g.value=N,j.locale=g.value}}),Te=It({get:()=>x.value,set:N=>{x.value=N,j.fallbackLocale=x.value,Ys(j,g.value,N)}}),Ne=It(()=>y.value),ze=It(()=>z.value),Me=It(()=>A.value);function ke(){return Oc(ae)?ae:null}function De(N){ae=N,j.postTranslation=N}function he(){return V}function Le(N){N!==null&&(ee=Fv(N)),V=N,j.missing=ee}const Se=(N,$,pe,ce,Ae,Be)=>{de();let je;if(__INTLIFY_PROD_DEVTOOLS__)try{yv(lS()),c||(j.fallbackContext=o?Z2():void 0),je=N(j)}finally{yv(null),c||(j.fallbackContext=void 0)}else je=N(j);if(yl(je)&&je===Wu){const[rt,pt]=$();return o&&P?ce(o):Ae(rt)}else{if(Be(je))return je;throw Dn(xn.UNEXPECTED_RETURN_TYPE)}};function He(...N){return Se($=>Reflect.apply(kv,null,[$,...N]),()=>rf(...N),"translate",$=>Reflect.apply($.t,$,[...N]),$=>$,$=>wr($))}function ot(...N){const[$,pe,ce]=N;if(ce&&!Yn(ce))throw Dn(xn.INVALID_ARGUMENT);return He($,pe,li({resolvedMessage:!0},ce||{}))}function vt(...N){return Se($=>Reflect.apply(Cv,null,[$,...N]),()=>nf(...N),"datetime format",$=>Reflect.apply($.d,$,[...N]),()=>xv,$=>wr($))}function et(...N){return Se($=>Reflect.apply(Av,null,[$,...N]),()=>of(...N),"number format",$=>Reflect.apply($.n,$,[...N]),()=>xv,$=>wr($))}function ne(N){return N.map($=>wr($)||yl($)||to($)?Ev(String($)):$)}const tt={normalize:ne,interpolate:N=>N,type:"vnode"};function we(...N){return Se($=>{let pe;const ce=$;try{ce.processor=tt,pe=Reflect.apply(kv,null,[ce,...N])}finally{ce.processor=null}return pe},()=>rf(...N),"translate",$=>$[af](...N),$=>[Ev($)],$=>ii($))}function Pe(...N){return Se($=>Reflect.apply(Av,null,[$,...N]),()=>of(...N),"number format",$=>$[lf](...N),()=>[],$=>wr($)||ii($))}function $e(...N){return Se($=>Reflect.apply(Cv,null,[$,...N]),()=>nf(...N),"datetime format",$=>$[sf](...N),()=>[],$=>wr($)||ii($))}function Ge(N){B=N,j.pluralRules=B}function at(N,$){const pe=wr($)?$:g.value,ce=ue(pe);return j.messageResolver(ce,N)!==null}function Ke(N){let $=null;const pe=Z0(j,x.value,g.value);for(let ce=0;ce<pe.length;ce++){const Ae=y.value[pe[ce]]||{},Be=j.messageResolver(Ae,N);if(Be!=null){$=Be;break}}return $}function dt(N){const $=Ke(N);return $!=null?$:o?o.tm(N)||{}:{}}function ue(N){return y.value[N]||{}}function ye(N,$){y.value[N]=$,j.messages=y.value}function Oe(N,$){y.value[N]=y.value[N]||{},il($,y.value[N]),j.messages=y.value}function Xe(N){return z.value[N]||{}}function Ye(N,$){z.value[N]=$,j.datetimeFormats=z.value,Sv(j,N,$)}function Ze(N,$){z.value[N]=li(z.value[N]||{},$),j.datetimeFormats=z.value,Sv(j,N,$)}function Ve(N){return A.value[N]||{}}function xe(N,$){A.value[N]=$,j.numberFormats=A.value,Dv(j,N,$)}function me(N,$){A.value[N]=li(A.value[N]||{},$),j.numberFormats=A.value,Dv(j,N,$)}Tv++,o&&tf&&(er(o.locale,N=>{h&&(g.value=N,j.locale=N,Ys(j,g.value,x.value))}),er(o.fallbackLocale,N=>{h&&(x.value=N,j.fallbackLocale=N,Ys(j,g.value,x.value))}));const le={id:Tv,locale:ge,fallbackLocale:Te,get inheritLocale(){return h},set inheritLocale(N){h=N,N&&o&&(g.value=o.locale.value,x.value=o.fallbackLocale.value,Ys(j,g.value,x.value))},get availableLocales(){return Object.keys(y.value).sort()},messages:Ne,get modifiers(){return re},get pluralRules(){return B||{}},get isGlobal(){return c},get missingWarn(){return L},set missingWarn(N){L=N,j.missingWarn=L},get fallbackWarn(){return O},set fallbackWarn(N){O=N,j.fallbackWarn=O},get fallbackRoot(){return P},set fallbackRoot(N){P=N},get fallbackFormat(){return Y},set fallbackFormat(N){Y=N,j.fallbackFormat=Y},get warnHtmlMessage(){return K},set warnHtmlMessage(N){K=N,j.warnHtmlMessage=N},get escapeParameter(){return T},set escapeParameter(N){T=N,j.escapeParameter=N},t:He,getLocaleMessage:ue,setLocaleMessage:ye,mergeLocaleMessage:Oe,getPostTranslationHandler:ke,setPostTranslationHandler:De,getMissingHandler:he,setMissingHandler:Le,[oS]:Ge};return le.datetimeFormats=ze,le.numberFormats=Me,le.rt=ot,le.te=at,le.tm=dt,le.d=vt,le.n=et,le.getDateTimeFormat=Xe,le.setDateTimeFormat=Ye,le.mergeDateTimeFormat=Ze,le.getNumberFormat=Ve,le.setNumberFormat=xe,le.mergeNumberFormat=me,le[aS]=e.__injectWithOption,le[af]=we,le[sf]=$e,le[lf]=Pe,le}const ap={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function cS({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((c,h)=>c=[...c,...ii(h.children)?h.children:[h]],[]):t.reduce((o,c)=>{const h=e[c];return h&&(o[c]=h()),o},{})}function hy(e){return Sr}const Mv={name:"i18n-t",props:li({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yl(e)||!isNaN(e)}},ap),setup(e,t){const{slots:o,attrs:c}=t,h=e.i18n||Xu({useScope:e.scope,__useComponent:!0});return()=>{const g=Object.keys(o).filter(O=>O!=="_"),x={};e.locale&&(x.locale=e.locale),e.plural!==void 0&&(x.plural=wr(e.plural)?+e.plural:e.plural);const y=cS(t,g),z=h[af](e.keypath,y,x),A=li({},c),L=wr(e.tag)||Yn(e.tag)?e.tag:hy();return Bi(L,A,z)}}};function uS(e){return ii(e)&&!wr(e[0])}function dy(e,t,o,c){const{slots:h,attrs:g}=t;return()=>{const x={part:!0};let y={};e.locale&&(x.locale=e.locale),wr(e.format)?x.key=e.format:Yn(e.format)&&(wr(e.format.key)&&(x.key=e.format.key),y=Object.keys(e.format).reduce((P,Y)=>o.includes(Y)?li({},P,{[Y]:e.format[Y]}):P,{}));const z=c(e.value,x,y);let A=[x.key];ii(z)?A=z.map((P,Y)=>{const V=h[P.type],ee=V?V({[P.type]:P.value,index:Y,parts:z}):[P.value];return uS(ee)&&(ee[0].key=`${P.type}-${Y}`),ee}):wr(z)&&(A=[z]);const L=li({},g),O=wr(e.tag)||Yn(e.tag)?e.tag:hy();return Bi(O,L,A)}}const Pv={name:"i18n-n",props:li({value:{type:Number,required:!0},format:{type:[String,Object]}},ap),setup(e,t){const o=e.i18n||Xu({useScope:"parent",__useComponent:!0});return dy(e,t,ay,(...c)=>o[lf](...c))}},Ov={name:"i18n-d",props:li({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ap),setup(e,t){const o=e.i18n||Xu({useScope:"parent",__useComponent:!0});return dy(e,t,oy,(...c)=>o[sf](...c))}};function hS(e,t){const o=e;if(e.mode==="composition")return o.__getInstance(t)||e.global;{const c=o.__getInstance(t);return c!=null?c.__composer:e.global.__composer}}function dS(e){const t=x=>{const{instance:y,modifiers:z,value:A}=x;if(!y||!y.$)throw Dn(xn.UNEXPECTED_ERROR);const L=hS(e,y.$),O=Iv(A);return[Reflect.apply(L.t,L,[...Rv(O)]),L]};return{created:(x,y)=>{const[z,A]=t(y);tf&&e.global===A&&(x.__i18nWatcher=er(A.locale,()=>{y.instance&&y.instance.$forceUpdate()})),x.__composer=A,x.textContent=z},unmounted:x=>{tf&&x.__i18nWatcher&&(x.__i18nWatcher(),x.__i18nWatcher=void 0,delete x.__i18nWatcher),x.__composer&&(x.__composer=void 0,delete x.__composer)},beforeUpdate:(x,{value:y})=>{if(x.__composer){const z=x.__composer,A=Iv(y);x.textContent=Reflect.apply(z.t,z,[...Rv(A)])}},getSSRProps:x=>{const[y]=t(x);return{textContent:y}}}}function Iv(e){if(wr(e))return{path:e};if(Qn(e)){if(!("path"in e))throw Dn(xn.REQUIRED_VALUE,"path");return e}else throw Dn(xn.INVALID_VALUE)}function Rv(e){const{path:t,locale:o,args:c,choice:h,plural:g}=e,x={},y=c||{};return wr(o)&&(x.locale=o),yl(h)&&(x.plural=h),yl(g)&&(x.plural=g),[t,y,x]}function fS(e,t,...o){const c=Qn(o[0])?o[0]:{},h=!!c.useI18nComponentName;(to(c.globalInstall)?c.globalInstall:!0)&&(e.component(h?"i18n":Mv.name,Mv),e.component(Pv.name,Pv),e.component(Ov.name,Ov)),e.directive("t",dS(t))}const pS=go("global-vue-i18n");function mS(e={},t){const o=to(e.globalInjection)?e.globalInjection:!0,c=!0,h=new Map,[g,x]=gS(e),y=go("");function z(O){return h.get(O)||null}function A(O,P){h.set(O,P)}function L(O){h.delete(O)}{const O={get mode(){return"composition"},get allowComposition(){return c},async install(P,...Y){P.__VUE_I18N_SYMBOL__=y,P.provide(P.__VUE_I18N_SYMBOL__,O),o&&kS(P,O.global),fS(P,O,...Y);const V=P.unmount;P.unmount=()=>{O.dispose(),V()}},get global(){return x},dispose(){g.stop()},__instances:h,__getInstance:z,__setInstance:A,__deleteInstance:L};return O}}function Xu(e={}){const t=Pr();if(t==null)throw Dn(xn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Dn(xn.NOT_INSLALLED);const o=vS(t),c=bS(o),h=cy(t),g=xS(e,h);if(g==="global")return sS(c,e,h),c;if(g==="parent"){let z=yS(o,t,e.__useComponent);return z==null&&(z=c),z}const x=o;let y=x.__getInstance(t);if(y==null){const z=li({},e);"__i18n"in h&&(z.__i18n=h.__i18n),c&&(z.__root=c),y=uy(z),wS(x,t),x.__setInstance(t,y)}return y}function gS(e,t,o){const c=_u();{const h=c.run(()=>uy(e));if(h==null)throw Dn(xn.UNEXPECTED_ERROR);return[c,h]}}function vS(e){{const t=Ar(e.isCE?pS:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Dn(e.isCE?xn.NOT_INSLALLED_WITH_PROVIDE:xn.UNEXPECTED_ERROR);return t}}function xS(e,t){return d2(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function bS(e){return e.mode==="composition"?e.global:e.global.__composer}function yS(e,t,o=!1){let c=null;const h=t.root;let g=t.parent;for(;g!=null;){const x=e;if(e.mode==="composition"&&(c=x.__getInstance(g)),c!=null||h===g)break;g=g.parent}return c}function wS(e,t,o){Kr(()=>{},t),mo(()=>{e.__deleteInstance(t)},t)}const _S=["locale","fallbackLocale","availableLocales"],zS=["t","rt","d","n","tm"];function kS(e,t){const o=Object.create(null);_S.forEach(c=>{const h=Object.getOwnPropertyDescriptor(t,c);if(!h)throw Dn(xn.UNEXPECTED_ERROR);const g=Qt(h.value)?{get(){return h.value.value},set(x){h.value.value=x}}:{get(){return h.get&&h.get()}};Object.defineProperty(o,c,g)}),e.config.globalProperties.$i18n=o,zS.forEach(c=>{const h=Object.getOwnPropertyDescriptor(t,c);if(!h||!h.value)throw Dn(xn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${c}`,h)})}G2(D2);q2(Z0);iS();if(__INTLIFY_PROD_DEVTOOLS__){const e=$0();e.__INTLIFY__=!0,R2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const CS={ae:{dashboard:e=>{const{normalize:t}=e;return t(["\u0644\u0648\u062D\u0629 \u0627\u0644\u0642\u064A\u0627\u062F\u0629"])},sales:e=>{const{normalize:t}=e;return t(["\u0645\u0628\u064A\u0639\u0627\u062A"])},analytics:e=>{const{normalize:t}=e;return t(["\u062A\u062D\u0644\u064A\u0644\u0627\u062A"])},apps:e=>{const{normalize:t}=e;return t(["\u062A\u0637\u0628\u064A\u0642\u0627\u062A"])},components:e=>{const{normalize:t}=e;return t(["\u0639\u0646\u0627\u0635\u0631"])},elements:e=>{const{normalize:t}=e;return t(["\u0639\u0646\u0627\u0635\u0631"])},font_icons:e=>{const{normalize:t}=e;return t(["\u0623\u064A\u0642\u0648\u0646\u0627\u062A \u0627\u0644\u062E\u0637"])},widgets:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u062D\u0627\u062C\u064A\u0627\u062A"])},tables:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u062C\u062F\u0627\u0648\u0644"])},datatables:e=>{const{normalize:t}=e;return t(["\u062C\u062F\u0627\u0648\u0644 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A"])},forms:e=>{const{normalize:t}=e;return t(["\u0646\u0645\u0627\u0630\u062C"])},users:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u0648\u0646"])},pages:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0635\u0641\u062D\u0627\u062A"])},authentication:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0645\u0635\u0627\u062F\u0642\u0629"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0633\u062D\u0628 \u0648\u0627\u0644\u0625\u0641\u0644\u0627\u062A"])},maps:e=>{const{normalize:t}=e;return t(["\u062E\u0631\u0627\u0626\u0637"])},charts:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0631\u0633\u0648\u0645 \u0627\u0644\u0628\u064A\u0627\u0646\u064A\u0629"])},starter_kit:e=>{const{normalize:t}=e;return t(["\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0646\u0637\u0644\u0627\u0642"])},documentation:e=>{const{normalize:t}=e;return t(["\u062A\u0648\u062B\u064A\u0642"])},ui_kit:e=>{const{normalize:t}=e;return t(["\u0645\u062C\u0645\u0648\u0639\u0629 \u0648\u0627\u062C\u0647\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645"])},more:e=>{const{normalize:t}=e;return t(["\u0623\u0643\u062B\u0631"])},finance:e=>{const{normalize:t}=e;return t(["\u062A\u0645\u0648\u064A\u0644"])},crypto:e=>{const{normalize:t}=e;return t(["\u062A\u0634\u0641\u064A\u0631"])},chat:e=>{const{normalize:t}=e;return t(["\u0645\u062D\u0627\u062F\u062B\u0629"])},mailbox:e=>{const{normalize:t}=e;return t(["\u0635\u0646\u062F\u0648\u0642 \u0628\u0631\u064A\u062F"])},todo_list:e=>{const{normalize:t}=e;return t(["\u0639\u0645\u0644 \u0642\u0627\u0626\u0645\u0629"])},notes:e=>{const{normalize:t}=e;return t(["\u0645\u0644\u062D\u0648\u0638\u0627\u062A"])},scrumboard:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0644\u0648\u062D"])},contacts:e=>{const{normalize:t}=e;return t(["\u062C\u0647\u0627\u062A \u0627\u0644\u0627\u062A\u0635\u0627\u0644"])},invoice:e=>{const{normalize:t}=e;return t(["\u0641\u0627\u062A\u0648\u0631\u0629"])},list:e=>{const{normalize:t}=e;return t(["\u0642\u0627\u0626\u0645\u0629"])},preview:e=>{const{normalize:t}=e;return t(["\u0645\u0639\u0627\u064A\u0646\u0629"])},add:e=>{const{normalize:t}=e;return t(["\u064A\u0636\u064A\u0641"])},edit:e=>{const{normalize:t}=e;return t(["\u064A\u062D\u0631\u0631"])},calendar:e=>{const{normalize:t}=e;return t(["\u062A\u0642\u0648\u064A\u0645"])},tabs:e=>{const{normalize:t}=e;return t(["\u0646\u0648\u0627\u0641\u0630 \u0627\u0644\u062A\u0628\u0648\u064A\u0628"])},accordions:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0623\u0643\u0648\u0631\u062F\u064A\u0648\u0646\u0627\u062A"])},modals:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0648\u0633\u0627\u0626\u0637"])},cards:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0628\u0637\u0627\u0642\u0627\u062A"])},carousel:e=>{const{normalize:t}=e;return t(["\u062F\u0627\u0626\u0631\u064A"])},countdown:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0639\u062F \u0627\u0644\u062A\u0646\u0627\u0632\u0644\u064A"])},counter:e=>{const{normalize:t}=e;return t(["\u0639\u062F\u0627\u062F"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["\u062A\u0646\u0628\u064A\u0647\u0627\u062A \u062D\u0644\u0648\u0629"])},timeline:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u062C\u062F\u0648\u0644 \u0627\u0644\u0632\u0645\u0646\u064A"])},notifications:e=>{const{normalize:t}=e;return t(["\u0625\u0634\u0639\u0627\u0631\u0627\u062A"])},media_object:e=>{const{normalize:t}=e;return t(["\u0643\u0627\u0626\u0646 \u0627\u0644\u0648\u0633\u0627\u0626\u0637"])},list_group:e=>{const{normalize:t}=e;return t(["\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629"])},pricing_tables:e=>{const{normalize:t}=e;return t(["\u062C\u062F\u0627\u0648\u0644 \u0627\u0644\u062A\u0633\u0639\u064A\u0631"])},lightbox:e=>{const{normalize:t}=e;return t(["\u0635\u0646\u062F\u0648\u0642 \u0645\u0636\u0626"])},alerts:e=>{const{normalize:t}=e;return t(["\u062A\u0646\u0628\u064A\u0647\u0627\u062A"])},avatar:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0635\u0648\u0631\u0629 \u0627\u0644\u0631\u0645\u0632\u064A\u0629"])},badges:e=>{const{normalize:t}=e;return t(["\u0634\u0627\u0631\u0627\u062A"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["\u0641\u062A\u0627\u062A \u0627\u0644\u062E\u0628\u0632"])},buttons:e=>{const{normalize:t}=e;return t(["\u0623\u0632\u0631\u0627\u0631"])},button_groups:e=>{const{normalize:t}=e;return t(["\u0645\u062C\u0645\u0648\u0639\u0627\u062A \u0627\u0644\u0623\u0632\u0631\u0627\u0631"])},color_library:e=>{const{normalize:t}=e;return t(["\u0645\u0643\u062A\u0628\u0629 \u0627\u0644\u0623\u0644\u0648\u0627\u0646"])},dropdown:e=>{const{normalize:t}=e;return t(["\u0627\u0633\u0642\u0627\u0637"])},infobox:e=>{const{normalize:t}=e;return t(["\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0645\u0631\u0628\u0639"])},jumbotron:e=>{const{normalize:t}=e;return t(["\u062C\u0645\u0628\u0648\u062A\u0631\u0648\u0646"])},loader:e=>{const{normalize:t}=e;return t(["\u0645\u062D\u0645\u0644"])},pagination:e=>{const{normalize:t}=e;return t(["\u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0635\u0641\u062D\u0627\u062A"])},popovers:e=>{const{normalize:t}=e;return t(["\u0628\u0648\u0628\u0648\u0641\u0631\u0632"])},progress_bar:e=>{const{normalize:t}=e;return t(["\u0634\u0631\u064A\u0637 \u0627\u0644\u062A\u0642\u062F\u0645"])},search:e=>{const{normalize:t}=e;return t(["\u064A\u0628\u062D\u062B"])},tooltips:e=>{const{normalize:t}=e;return t(["\u062A\u0644\u0645\u064A\u062D\u0627\u062A"])},treeview:e=>{const{normalize:t}=e;return t(["\u062A\u0631\u064A\u0641\u064A\u0648"])},typography:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0637\u0628\u0627\u0639\u0629"])},basic:e=>{const{normalize:t}=e;return t(["\u0623\u0633\u0627\u0633\u064A"])},order_sorting:e=>{const{normalize:t}=e;return t(["\u062A\u0631\u062A\u064A\u0628 \u0627\u0644\u0641\u0631\u0632"])},multi_column:e=>{const{normalize:t}=e;return t(["\u0639\u0645\u0648\u062F \u0645\u062A\u0639\u062F\u062F"])},multiple_tables:e=>{const{normalize:t}=e;return t(["\u062C\u062F\u0627\u0648\u0644 \u0645\u062A\u0639\u062F\u062F\u0629"])},alt_pagination:e=>{const{normalize:t}=e;return t(["\u0628\u062F\u064A\u0644. \u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0635\u0641\u062D\u0627\u062A"])},range_search:e=>{const{normalize:t}=e;return t(["\u0628\u062D\u062B \u0627\u0644\u0645\u062F\u0649"])},export:e=>{const{normalize:t}=e;return t(["\u064A\u0635\u062F\u0651\u0631"])},input_group:e=>{const{normalize:t}=e;return t(["\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0625\u062F\u062E\u0627\u0644"])},layouts:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u062A\u062E\u0637\u064A\u0637\u0627\u062A"])},validation:e=>{const{normalize:t}=e;return t(["\u062A\u0635\u062F\u064A\u0642"])},input_mask:e=>{const{normalize:t}=e;return t(["\u0642\u0646\u0627\u0639 \u0627\u0644\u0625\u062F\u062E\u0627\u0644"])},select2:e=>{const{normalize:t}=e;return t(["\u062D\u062F\u062F 2"])},touchspin:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0644\u0645\u0633"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["\u0645\u0631\u0628\u0639 \u0627\u0644\u0627\u062E\u062A\u064A\u0627\u0631 \u0648\u0627\u0644\u0631\u0627\u062F\u064A\u0648"])},switches:e=>{const{normalize:t}=e;return t(["\u0645\u0641\u0627\u062A\u064A\u062D"])},wizards:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0627\u062A"])},file_upload:e=>{const{normalize:t}=e;return t(["\u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0644\u0641"])},quill_editor:e=>{const{normalize:t}=e;return t(["\u0645\u062D\u0631\u0631 \u0627\u0644\u0631\u064A\u0634\u0629"])},markdown_editor:e=>{const{normalize:t}=e;return t(["\u0645\u062D\u0631\u0631 \u062A\u062E\u0641\u064A\u0636 \u0627\u0644\u0633\u0639\u0631"])},date_and_range_picker:e=>{const{normalize:t}=e;return t([" \u0645\u0646\u062A\u0642\u064A \u0627\u0644\u062A\u0627\u0631\u064A\u062E \u0648\u0627\u0644\u0646\u0637\u0627\u0642"])},clipboard:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u062D\u0627\u0641\u0638\u0629"])},user_and_pages:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0648\u0627\u0644\u0635\u0641\u062D\u0627\u062A"])},profile:e=>{const{normalize:t}=e;return t(["\u062D\u0633\u0627\u0628 \u062A\u0639\u0631\u064A\u0641\u064A"])},account_settings:e=>{const{normalize:t}=e;return t(["\u0625\u0639\u062F\u0627\u062F\u062A \u0627\u0644\u062D\u0633\u0627\u0628"])},knowledge_base:e=>{const{normalize:t}=e;return t(["\u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0645\u0639\u0631\u0641\u0629"])},contact_form:e=>{const{normalize:t}=e;return t(["\u0646\u0645\u0648\u0630\u062C \u0627\u0644\u0627\u062A\u0635\u0627\u0644"])},faq:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u062A\u0639\u0644\u064A\u0645\u0627\u062A"])},coming_soon:e=>{const{normalize:t}=e;return t(["\u0642\u0631\u064A\u0628\u0627\u064B"])},error:e=>{const{normalize:t}=e;return t(["\u062E\u0637\u0623"])},maintenence:e=>{const{normalize:t}=e;return t(["\u0635\u064A\u0627\u0646\u0629"])},login_boxed:e=>{const{normalize:t}=e;return t(["\u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0645\u062D\u0627\u0635\u0631"])},register_boxed:e=>{const{normalize:t}=e;return t(["\u062A\u0633\u062C\u064A\u0644 \u0645\u062D\u0627\u0635\u0631"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["\u0641\u062A\u062D \u0645\u062D\u0627\u0635\u0631"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["\u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0645\u0639\u0631\u0641 \u0645\u062D\u0627\u0635\u0631"])},login_cover:e=>{const{normalize:t}=e;return t(["\u063A\u0637\u0627\u0621 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644"])},register_cover:e=>{const{normalize:t}=e;return t(["\u063A\u0637\u0627\u0621 \u0627\u0644\u062A\u0633\u062C\u064A\u0644"])},unlock_cover:e=>{const{normalize:t}=e;return t(["\u0641\u062A\u062D \u0627\u0644\u063A\u0637\u0627\u0621"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["\u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u063A\u0637\u0627\u0621 \u0627\u0644\u0647\u0648\u064A\u0629"])},supports:e=>{const{normalize:t}=e;return t(["\u064A\u062F\u0639\u0645"])},login:e=>{const{normalize:t}=e;return t(["\u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644"])},lockscreen:e=>{const{normalize:t}=e;return t(["\u0627\u0642\u0641\u0644 \u0627\u0644\u0634\u0627\u0634\u0629"])},password_recovery:e=>{const{normalize:t}=e;return t(["\u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0633\u0631"])},register:e=>{const{normalize:t}=e;return t(["\u064A\u0633\u062C\u0644"])},404:e=>{const{normalize:t}=e;return t(["\u0623\u0631\u0628\u0639\u0629 \u0645\u0627\u0626\u0629 \u0648\u0623\u0631\u0628\u0639\u0629"])},500:e=>{const{normalize:t}=e;return t(["\u062E\u0645\u0633\u0629 \u0645\u0627\u0626\u0629"])},503:e=>{const{normalize:t}=e;return t(["\u062E\u0645\u0633\u0629 \u0645\u0627\u0626\u0629 \u0648\u062B\u0644\u0627\u062B\u0629"])},user_interface:e=>{const{normalize:t}=e;return t(["\u0648\u0627\u062C\u0647\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["\u0627\u0644\u062C\u062F\u0627\u0648\u0644 \u0648\u0627\u0644\u0646\u0645\u0627\u0630\u062C"])},columns_filter:e=>{const{normalize:t}=e;return t(["\u062A\u0635\u0641\u064A\u0629 \u0627\u0644\u0623\u0639\u0645\u062F\u0629"])},column_chooser:e=>{const{normalize:t}=e;return t(["\u0645\u0646\u062A\u0642\u064A \u0627\u0644\u0639\u0645\u0648\u062F"])},advanced:e=>{const{normalize:t}=e;return t(["\u0645\u062A\u0642\u062F\u0645"])},checkbox:e=>{const{normalize:t}=e;return t(["\u062E\u0627\u0646\u0629 \u0627\u062E\u062A\u064A\u0627\u0631"])},skin:e=>{const{normalize:t}=e;return t(["\u062C\u0644\u062F"])},sticky_header:e=>{const{normalize:t}=e;return t(["\u0631\u0623\u0633 \u0645\u062B\u0628\u062A"])},clone_header:e=>{const{normalize:t}=e;return t(["\u0631\u0623\u0633 \u0627\u0633\u062A\u0646\u0633\u0627\u062E"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["\u0642\u0631\u064A\u0628\u0627 \u0645\u062D\u0627\u0635\u0631"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["\u0642\u0631\u064A\u0628\u0627 \u062A\u063A\u0637\u064A\u0629"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["\u0627\u062A\u0635\u0644 \u0628\u0646\u0627 \u0645\u062D\u0627\u0635\u0631"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["\u0627\u062A\u0635\u0644 \u0628\u0646\u0627 \u0627\u0644\u063A\u0644\u0627\u0641"])}},da:{dashboard:e=>{const{normalize:t}=e;return t(["Dashboard"])},sales:e=>{const{normalize:t}=e;return t(["Salg"])},analytics:e=>{const{normalize:t}=e;return t(["Analytics"])},apps:e=>{const{normalize:t}=e;return t(["Apps"])},components:e=>{const{normalize:t}=e;return t(["Komponenter"])},elements:e=>{const{normalize:t}=e;return t(["Elementer"])},font_icons:e=>{const{normalize:t}=e;return t(["Skrifttype ikoner"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["Tabeller"])},datatables:e=>{const{normalize:t}=e;return t(["Datatabeller"])},forms:e=>{const{normalize:t}=e;return t(["Former"])},users:e=>{const{normalize:t}=e;return t(["Brugere"])},pages:e=>{const{normalize:t}=e;return t(["sider"])},authentication:e=>{const{normalize:t}=e;return t(["Godkendelse"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Tr\xE6k og slip"])},maps:e=>{const{normalize:t}=e;return t(["Kort"])},charts:e=>{const{normalize:t}=e;return t(["Diagrammer"])},starter_kit:e=>{const{normalize:t}=e;return t(["Starts\xE6t"])},documentation:e=>{const{normalize:t}=e;return t(["Dokumentation"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI Kit"])},more:e=>{const{normalize:t}=e;return t(["Mere"])},finance:e=>{const{normalize:t}=e;return t(["Finansiere"])},crypto:e=>{const{normalize:t}=e;return t(["Krypto"])},chat:e=>{const{normalize:t}=e;return t(["Snak"])},mailbox:e=>{const{normalize:t}=e;return t(["Postkasse"])},todo_list:e=>{const{normalize:t}=e;return t(["Todo liste"])},notes:e=>{const{normalize:t}=e;return t(["Noter"])},scrumboard:e=>{const{normalize:t}=e;return t(["Scrumboard"])},contacts:e=>{const{normalize:t}=e;return t(["Kontaktpersoner"])},invoice:e=>{const{normalize:t}=e;return t(["Faktura"])},list:e=>{const{normalize:t}=e;return t(["Liste"])},preview:e=>{const{normalize:t}=e;return t(["Forh\xE5ndsvisning"])},add:e=>{const{normalize:t}=e;return t(["Tilf\xF8je"])},edit:e=>{const{normalize:t}=e;return t(["Redigere"])},calendar:e=>{const{normalize:t}=e;return t(["Kalender"])},tabs:e=>{const{normalize:t}=e;return t(["Faner"])},accordions:e=>{const{normalize:t}=e;return t(["Harmonikaer"])},modals:e=>{const{normalize:t}=e;return t(["Modaler"])},cards:e=>{const{normalize:t}=e;return t(["Kort"])},carousel:e=>{const{normalize:t}=e;return t(["Karrusel"])},countdown:e=>{const{normalize:t}=e;return t(["Nedt\xE6lling"])},counter:e=>{const{normalize:t}=e;return t(["T\xE6ller"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["S\xF8de advarsler"])},timeline:e=>{const{normalize:t}=e;return t(["Tidslinje"])},notifications:e=>{const{normalize:t}=e;return t(["Meddelelser"])},media_object:e=>{const{normalize:t}=e;return t(["Medieobjekt"])},list_group:e=>{const{normalize:t}=e;return t(["Listegruppe"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Pristabeller"])},lightbox:e=>{const{normalize:t}=e;return t(["Lyskasse"])},alerts:e=>{const{normalize:t}=e;return t(["Advarsler"])},avatar:e=>{const{normalize:t}=e;return t(["Avatar"])},badges:e=>{const{normalize:t}=e;return t(["Badges"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["Br\xF8dkrummer"])},buttons:e=>{const{normalize:t}=e;return t(["Knapper"])},button_groups:e=>{const{normalize:t}=e;return t(["Knapgrupper"])},color_library:e=>{const{normalize:t}=e;return t(["Farvebibliotek"])},dropdown:e=>{const{normalize:t}=e;return t(["Drop ned"])},infobox:e=>{const{normalize:t}=e;return t(["Infoboks"])},jumbotron:e=>{const{normalize:t}=e;return t(["Jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["Loader"])},pagination:e=>{const{normalize:t}=e;return t(["Sideinddeling"])},popovers:e=>{const{normalize:t}=e;return t(["Popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["Fremskridtslinje"])},search:e=>{const{normalize:t}=e;return t(["S\xF8g"])},tooltips:e=>{const{normalize:t}=e;return t(["V\xE6rkt\xF8jstip"])},treeview:e=>{const{normalize:t}=e;return t(["Tr\xE6visning"])},typography:e=>{const{normalize:t}=e;return t(["Typografi"])},basic:e=>{const{normalize:t}=e;return t(["Grundl\xE6ggende"])},order_sorting:e=>{const{normalize:t}=e;return t(["Ordre sortering"])},multi_column:e=>{const{normalize:t}=e;return t(["Multis\xF8jle"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Flere borde"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. Sideinddeling"])},range_search:e=>{const{normalize:t}=e;return t(["R\xE6kkeviddes\xF8gning"])},export:e=>{const{normalize:t}=e;return t(["Eksport"])},input_group:e=>{const{normalize:t}=e;return t(["Inputgruppe"])},layouts:e=>{const{normalize:t}=e;return t(["Layouts"])},validation:e=>{const{normalize:t}=e;return t(["Validering"])},input_mask:e=>{const{normalize:t}=e;return t(["Indgangsmaske"])},select2:e=>{const{normalize:t}=e;return t(["V\xE6lg 2"])},touchspin:e=>{const{normalize:t}=e;return t(["Tryk p\xE5 spin"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Afkrydsningsfelt og radio"])},switches:e=>{const{normalize:t}=e;return t(["Afbrydere"])},wizards:e=>{const{normalize:t}=e;return t(["Troldm\xE6nd"])},file_upload:e=>{const{normalize:t}=e;return t(["Fil upload"])},quill_editor:e=>{const{normalize:t}=e;return t(["Quill Editor"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Markdown Editor"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Dato- og omr\xE5dev\xE6lger"])},clipboard:e=>{const{normalize:t}=e;return t(["Udklipsholder"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Brugere og sider"])},profile:e=>{const{normalize:t}=e;return t(["Profil"])},account_settings:e=>{const{normalize:t}=e;return t(["Bruger indstillinger"])},knowledge_base:e=>{const{normalize:t}=e;return t(["Vidensbase"])},contact_form:e=>{const{normalize:t}=e;return t(["Kontaktformular"])},faq:e=>{const{normalize:t}=e;return t(["Faq"])},coming_soon:e=>{const{normalize:t}=e;return t(["Kommer snart"])},error:e=>{const{normalize:t}=e;return t(["Fejl"])},maintenence:e=>{const{normalize:t}=e;return t(["Vedligeholdelse"])},login_boxed:e=>{const{normalize:t}=e;return t(["Login Boxed"])},register_boxed:e=>{const{normalize:t}=e;return t(["Registrer Boxed"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["L\xE5s Boxed op"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Gendan ID Boxed"])},login_cover:e=>{const{normalize:t}=e;return t(["Log ind cover"])},register_cover:e=>{const{normalize:t}=e;return t(["Register Cover"])},unlock_cover:e=>{const{normalize:t}=e;return t(["L\xE5s l\xE5get op"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Gendan ID-d\xE6kning"])},supports:e=>{const{normalize:t}=e;return t(["Bakker op"])},login:e=>{const{normalize:t}=e;return t(["Log p\xE5"])},lockscreen:e=>{const{normalize:t}=e;return t(["L\xE5se sk\xE6rm"])},password_recovery:e=>{const{normalize:t}=e;return t(["Gendan adgangskode"])},register:e=>{const{normalize:t}=e;return t(["Tilmeld"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Brugergr\xE6nseflade"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tabeller og formularer"])},columns_filter:e=>{const{normalize:t}=e;return t(["Kolonnefilter"])},column_chooser:e=>{const{normalize:t}=e;return t(["Kolonnev\xE6lger"])},advanced:e=>{const{normalize:t}=e;return t(["Fremskreden"])},checkbox:e=>{const{normalize:t}=e;return t(["Afkrydsningsfelt"])},skin:e=>{const{normalize:t}=e;return t(["Hud"])},sticky_header:e=>{const{normalize:t}=e;return t(["Sticky Header"])},clone_header:e=>{const{normalize:t}=e;return t(["Klon header"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Kommer snart i boks"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Kommer snart cover"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Kontakt os Boxed"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Kontakt os Cover"])}},de:{dashboard:e=>{const{normalize:t}=e;return t(["Armaturenbrett"])},sales:e=>{const{normalize:t}=e;return t(["Der Umsatz"])},analytics:e=>{const{normalize:t}=e;return t(["Analytik"])},apps:e=>{const{normalize:t}=e;return t(["Apps"])},components:e=>{const{normalize:t}=e;return t(["Komponenten"])},elements:e=>{const{normalize:t}=e;return t(["Elemente"])},font_icons:e=>{const{normalize:t}=e;return t(["Schriftsymbole"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["Tabellen"])},datatables:e=>{const{normalize:t}=e;return t(["Datentabellen"])},forms:e=>{const{normalize:t}=e;return t(["Formen"])},users:e=>{const{normalize:t}=e;return t(["Benutzer"])},pages:e=>{const{normalize:t}=e;return t(["Seiten"])},authentication:e=>{const{normalize:t}=e;return t(["Authentifizierung"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Ziehen und ablegen"])},maps:e=>{const{normalize:t}=e;return t(["Karten"])},charts:e=>{const{normalize:t}=e;return t(["Diagramme"])},starter_kit:e=>{const{normalize:t}=e;return t(["Starter-Kit"])},documentation:e=>{const{normalize:t}=e;return t(["Dokumentation"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI-Kit"])},more:e=>{const{normalize:t}=e;return t(["Mehr"])},finance:e=>{const{normalize:t}=e;return t(["Finanzen"])},crypto:e=>{const{normalize:t}=e;return t(["Krypto"])},chat:e=>{const{normalize:t}=e;return t(["Plaudern"])},mailbox:e=>{const{normalize:t}=e;return t(["Briefkasten"])},todo_list:e=>{const{normalize:t}=e;return t(["Aufgabenliste"])},notes:e=>{const{normalize:t}=e;return t(["Anmerkungen"])},scrumboard:e=>{const{normalize:t}=e;return t(["Scrumboard"])},contacts:e=>{const{normalize:t}=e;return t(["Kontakte"])},invoice:e=>{const{normalize:t}=e;return t(["Rechnung"])},list:e=>{const{normalize:t}=e;return t(["Auff\xFChren"])},preview:e=>{const{normalize:t}=e;return t(["Vorschau"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},calendar:e=>{const{normalize:t}=e;return t(["Kalender"])},tabs:e=>{const{normalize:t}=e;return t(["Registerkarten"])},accordions:e=>{const{normalize:t}=e;return t(["Akkordeons"])},modals:e=>{const{normalize:t}=e;return t(["Modale"])},cards:e=>{const{normalize:t}=e;return t(["Karten"])},carousel:e=>{const{normalize:t}=e;return t(["Karussell"])},countdown:e=>{const{normalize:t}=e;return t(["Countdown"])},counter:e=>{const{normalize:t}=e;return t(["Z\xE4hler"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["S\xFC\xDFe Warnungen"])},timeline:e=>{const{normalize:t}=e;return t(["Zeitleiste"])},notifications:e=>{const{normalize:t}=e;return t(["Benachrichtigungen"])},media_object:e=>{const{normalize:t}=e;return t(["Medienobjekt"])},list_group:e=>{const{normalize:t}=e;return t(["Gruppe auflisten"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Preistabellen"])},lightbox:e=>{const{normalize:t}=e;return t(["Leuchtkasten"])},alerts:e=>{const{normalize:t}=e;return t(["Warnungen"])},avatar:e=>{const{normalize:t}=e;return t(["Benutzerbild"])},badges:e=>{const{normalize:t}=e;return t(["Abzeichen"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["Semmelbr\xF6sel"])},buttons:e=>{const{normalize:t}=e;return t(["Tasten"])},button_groups:e=>{const{normalize:t}=e;return t(["Schaltfl\xE4chengruppen"])},color_library:e=>{const{normalize:t}=e;return t(["Farbbibliothek"])},dropdown:e=>{const{normalize:t}=e;return t(["Dropdown-Liste"])},infobox:e=>{const{normalize:t}=e;return t(["Infobox"])},jumbotron:e=>{const{normalize:t}=e;return t(["Jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["Lader"])},pagination:e=>{const{normalize:t}=e;return t(["Seitennummerierung"])},popovers:e=>{const{normalize:t}=e;return t(["Popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["Fortschrittsanzeige"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},tooltips:e=>{const{normalize:t}=e;return t(["Kurzinfos"])},treeview:e=>{const{normalize:t}=e;return t(["Baumsicht"])},typography:e=>{const{normalize:t}=e;return t(["Typografie"])},basic:e=>{const{normalize:t}=e;return t(["Basic"])},order_sorting:e=>{const{normalize:t}=e;return t(["Sortierung der Bestellung"])},multi_column:e=>{const{normalize:t}=e;return t(["Mehrspaltig"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Mehrere Tabellen"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. Seitennummerierung"])},range_search:e=>{const{normalize:t}=e;return t(["Bereichssuche"])},export:e=>{const{normalize:t}=e;return t(["Export"])},input_group:e=>{const{normalize:t}=e;return t(["Eingangsgruppe"])},layouts:e=>{const{normalize:t}=e;return t(["Grundrisse"])},validation:e=>{const{normalize:t}=e;return t(["Validierung"])},input_mask:e=>{const{normalize:t}=e;return t(["Eingabemaske"])},select2:e=>{const{normalize:t}=e;return t(["W\xE4hlen Sie 2"])},touchspin:e=>{const{normalize:t}=e;return t(["Tippen Sie auf Drehen"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Kontrollk\xE4stchen & Radio"])},switches:e=>{const{normalize:t}=e;return t(["Schalter"])},wizards:e=>{const{normalize:t}=e;return t(["Zauberer"])},file_upload:e=>{const{normalize:t}=e;return t(["Datei-Upload"])},quill_editor:e=>{const{normalize:t}=e;return t(["Quill-Editor"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Markdown-Editor"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Datums- und Bereichsauswahl"])},clipboard:e=>{const{normalize:t}=e;return t(["Zwischenablage"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Benutzer und Seiten"])},profile:e=>{const{normalize:t}=e;return t(["Profil"])},account_settings:e=>{const{normalize:t}=e;return t(["Account Einstellungen"])},knowledge_base:e=>{const{normalize:t}=e;return t(["Wissensbasis"])},contact_form:e=>{const{normalize:t}=e;return t(["Kontakt Formular"])},faq:e=>{const{normalize:t}=e;return t(["FAQ"])},coming_soon:e=>{const{normalize:t}=e;return t(["Demn\xE4chst"])},error:e=>{const{normalize:t}=e;return t(["Fehler"])},maintenence:e=>{const{normalize:t}=e;return t(["Wartung"])},login_boxed:e=>{const{normalize:t}=e;return t(["Anmeldung verpackt"])},register_boxed:e=>{const{normalize:t}=e;return t(["Boxed registrieren"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Verpackt freischalten"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Stellen Sie die ID wieder her"])},login_cover:e=>{const{normalize:t}=e;return t(["Login-Abdeckung"])},register_cover:e=>{const{normalize:t}=e;return t(["Abdeckung registrieren"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Abdeckung entriegeln"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Stellen Sie die ID-Abdeckung wieder her"])},supports:e=>{const{normalize:t}=e;return t(["Unterst\xFCtzt"])},login:e=>{const{normalize:t}=e;return t(["Anmeldung"])},lockscreen:e=>{const{normalize:t}=e;return t(["Sperrbildschirm"])},password_recovery:e=>{const{normalize:t}=e;return t(["Passwort-Wiederherstellung"])},register:e=>{const{normalize:t}=e;return t(["Registrieren"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Benutzeroberfl\xE4che"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tabellen und Formulare"])},columns_filter:e=>{const{normalize:t}=e;return t(["Spaltenfilter"])},column_chooser:e=>{const{normalize:t}=e;return t(["Spaltenauswahl"])},advanced:e=>{const{normalize:t}=e;return t(["Fortschrittlich"])},checkbox:e=>{const{normalize:t}=e;return t(["Kontrollk\xE4stchen"])},skin:e=>{const{normalize:t}=e;return t(["Haut"])},sticky_header:e=>{const{normalize:t}=e;return t(["Klebrige Kopfzeile"])},clone_header:e=>{const{normalize:t}=e;return t(["Kopfzeile klonen"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Demn\xE4chst im Karton erh\xE4ltlich"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Demn\xE4chst erh\xE4ltliches Cover"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Kontaktieren Sie uns"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Kontaktieren Sie uns"])}},el:{dashboard:e=>{const{normalize:t}=e;return t(["\u03A4\u03B1\u03BC\u03C0\u03BB\u03CC"])},sales:e=>{const{normalize:t}=e;return t(["\u0395\u03BA\u03C0\u03C4\u03CE\u03C3\u03B5\u03B9\u03C2"])},analytics:e=>{const{normalize:t}=e;return t(["Analytics"])},apps:e=>{const{normalize:t}=e;return t(["\u0395\u03C6\u03B1\u03C1\u03BC\u03BF\u03B3\u03AD\u03C2"])},components:e=>{const{normalize:t}=e;return t(["\u03A3\u03C5\u03C3\u03C4\u03B1\u03C4\u03B9\u03BA\u03AC"])},elements:e=>{const{normalize:t}=e;return t(["\u03A3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"])},font_icons:e=>{const{normalize:t}=e;return t(["\u0395\u03B9\u03BA\u03BF\u03BD\u03AF\u03B4\u03B9\u03B1 \u03B3\u03C1\u03B1\u03BC\u03BC\u03B1\u03C4\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC\u03C2"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["\u03A0\u03AF\u03BD\u03B1\u03BA\u03B5\u03C2"])},datatables:e=>{const{normalize:t}=e;return t(["\u03A0\u03AF\u03BD\u03B1\u03BA\u03B5\u03C2 \u0394\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD"])},forms:e=>{const{normalize:t}=e;return t(["\u03A6\u03CC\u03C1\u03BC\u03B5\u03C2"])},users:e=>{const{normalize:t}=e;return t(["\u03A7\u03C1\u03AE\u03C3\u03C4\u03B5\u03C2"])},pages:e=>{const{normalize:t}=e;return t(["\u03A3\u03B5\u03BB\u03AF\u03B4\u03B5\u03C2"])},authentication:e=>{const{normalize:t}=e;return t(["\u0391\u03C5\u03B8\u03B5\u03BD\u03C4\u03B9\u03BA\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["\u03A3\u03CD\u03C1\u03B5\u03C4\u03B5 \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03B8\u03AD\u03C3\u03C4\u03B5"])},maps:e=>{const{normalize:t}=e;return t(["\u03A7\u03AC\u03C1\u03C4\u03B5\u03C2"])},charts:e=>{const{normalize:t}=e;return t(["\u0394\u03B9\u03B1\u03B3\u03C1\u03AC\u03BC\u03BC\u03B1\u03C4\u03B1"])},starter_kit:e=>{const{normalize:t}=e;return t(["\u039A\u03B9\u03C4 \u03B5\u03BA\u03BA\u03AF\u03BD\u03B7\u03C3\u03B7\u03C2"])},documentation:e=>{const{normalize:t}=e;return t(["\u03A4\u03B5\u03BA\u03BC\u03B7\u03C1\u03AF\u03C9\u03C3\u03B7"])},ui_kit:e=>{const{normalize:t}=e;return t(["\u039A\u03B9\u03C4 \u03B4\u03B9\u03B5\u03C0\u03B1\u03C6\u03AE\u03C2 \u03C7\u03C1\u03AE\u03C3\u03C4\u03B7"])},more:e=>{const{normalize:t}=e;return t(["\u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03BF"])},finance:e=>{const{normalize:t}=e;return t(["\u03A7\u03C1\u03B7\u03BC\u03B1\u03C4\u03BF\u03B4\u03CC\u03C4\u03B7\u03C3\u03B7"])},crypto:e=>{const{normalize:t}=e;return t(["Crypto"])},chat:e=>{const{normalize:t}=e;return t(["\u03BA\u03BF\u03C5\u03B2\u03AD\u03BD\u03C4\u03B1"])},mailbox:e=>{const{normalize:t}=e;return t(["\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1\u03C4\u03BF\u03BA\u03B9\u03B2\u03CE\u03C4\u03B9\u03BF"])},todo_list:e=>{const{normalize:t}=e;return t(["\u03BB\u03AF\u03C3\u03C4\u03B1 \u03B5\u03C1\u03B3\u03B1\u03C3\u03B9\u03CE\u03BD"])},notes:e=>{const{normalize:t}=e;return t(["\u03A3\u03B7\u03BC\u03B5\u03AF\u03C9\u03C3\u03B7"])},scrumboard:e=>{const{normalize:t}=e;return t(["\u03C4\u03B1\u03BC\u03C0\u03BB\u03CC"])},contacts:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B1\u03C6\u03AD\u03C2"])},invoice:e=>{const{normalize:t}=e;return t(["\u03C4\u03B9\u03BC\u03BF\u03BB\u03CC\u03B3\u03B9\u03BF"])},list:e=>{const{normalize:t}=e;return t(["\u03BB\u03AF\u03C3\u03C4\u03B1"])},preview:e=>{const{normalize:t}=e;return t(["\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03C3\u03BA\u03CC\u03C0\u03B7\u03C3\u03B7"])},add:e=>{const{normalize:t}=e;return t(["\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7"])},edit:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1"])},calendar:e=>{const{normalize:t}=e;return t(["\u0397\u03BC\u03B5\u03C1\u03BF\u03BB\u03CC\u03B3\u03B9\u03BF"])},tabs:e=>{const{normalize:t}=e;return t(["\u03BA\u03B1\u03C1\u03C4\u03AD\u03BB\u03B5\u03C2"])},accordions:e=>{const{normalize:t}=e;return t(["\u03B1\u03BA\u03BF\u03C1\u03BD\u03C4\u03B5\u03CC\u03BD"])},modals:e=>{const{normalize:t}=e;return t(["\u03C4\u03C1\u03BF\u03C0\u03B9\u03BA\u03CC\u03C2"])},cards:e=>{const{normalize:t}=e;return t(["\u039A\u03B1\u03C1\u03C4\u03AD\u03BB\u03BB\u03B5\u03C2"])},carousel:e=>{const{normalize:t}=e;return t(["\u03C3\u03C4\u03C1\u03BF\u03B2\u03B9\u03BB\u03BF\u03B4\u03C1\u03CC\u03BC\u03B9\u03BF"])},countdown:e=>{const{normalize:t}=e;return t(["\u03B1\u03BD\u03C4\u03AF\u03C3\u03C4\u03C1\u03BF\u03C6\u03B7 \u03BC\u03AD\u03C4\u03C1\u03B7\u03C3\u03B7"])},counter:e=>{const{normalize:t}=e;return t(["\u03BC\u03B5\u03C4\u03C1\u03B7\u03C4\u03AD\u03C2"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["\u0393\u03BB\u03C5\u03BA\u03AD\u03C2 \u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03B9\u03AE\u03C3\u03B5\u03B9\u03C2"])},timeline:e=>{const{normalize:t}=e;return t(["\u03C7\u03C1\u03BF\u03BD\u03BF\u03B4\u03B9\u03AC\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1"])},notifications:e=>{const{normalize:t}=e;return t(["\u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03B9\u03AE\u03C3\u03B5\u03B9\u03C2"])},media_object:e=>{const{normalize:t}=e;return t(["MediaObject"])},list_group:e=>{const{normalize:t}=e;return t(["ListGroup"])},pricing_tables:e=>{const{normalize:t}=e;return t(["\u03A0\u03AF\u03BD\u03B1\u03BA\u03B5\u03C2 \u03C4\u03B9\u03BC\u03BF\u03BB\u03CC\u03B3\u03B7\u03C3\u03B7\u03C2"])},lightbox:e=>{const{normalize:t}=e;return t(["lightbox"])},alerts:e=>{const{normalize:t}=e;return t(["\u0395\u03B9\u03B4\u03BF\u03C0\u03BF\u03B9\u03AE\u03C3\u03B5\u03B9\u03C2"])},avatar:e=>{const{normalize:t}=e;return t(["\u03AC\u03B2\u03B1\u03C4\u03B1\u03C1"])},badges:e=>{const{normalize:t}=e;return t(["\u03BA\u03BF\u03BD\u03BA\u03AC\u03C1\u03B4\u03B5\u03C2"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["\u03C4\u03C1\u03B9\u03BC\u03BC\u03AD\u03BD\u03B7 \u03C6\u03C1\u03C5\u03B3\u03B1\u03BD\u03B9\u03AC"])},buttons:e=>{const{normalize:t}=e;return t(["\u03BA\u03BF\u03C5\u03BC\u03C0\u03B9\u03AC"])},button_groups:e=>{const{normalize:t}=e;return t(["\u039F\u03BC\u03AC\u03B4\u03B5\u03C2 \u03BA\u03BF\u03C5\u03BC\u03C0\u03B9\u03CE\u03BD"])},color_library:e=>{const{normalize:t}=e;return t(["ColorLibrary"])},dropdown:e=>{const{normalize:t}=e;return t(["\u03B1\u03BD\u03B1\u03C0\u03C4\u03C5\u03C3\u03C3\u03CC\u03BC\u03B5\u03BD\u03BF"])},infobox:e=>{const{normalize:t}=e;return t(["\u03C0\u03BB\u03B1\u03AF\u03C3\u03B9\u03BF \u03C0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03B9\u03CE\u03BD"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["\u03C6\u03BF\u03C1\u03C4\u03C9\u03C4\u03AD\u03C2"])},pagination:e=>{const{normalize:t}=e;return t(["\u03C3\u03B5\u03BB\u03B9\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7"])},popovers:e=>{const{normalize:t}=e;return t(["\u03C0\u03BF\u03C0\u03CC\u03B2\u03B5\u03C1"])},progress_bar:e=>{const{normalize:t}=e;return t(["\u03B3\u03C1\u03B1\u03BC\u03BC\u03AE \u03C0\u03C1\u03BF\u03CC\u03B4\u03BF\u03C5"])},search:e=>{const{normalize:t}=e;return t(["\u0391\u03BD\u03B1\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7"])},tooltips:e=>{const{normalize:t}=e;return t(["\u03C3\u03C5\u03BC\u03B2\u03BF\u03C5\u03BB\u03AD\u03C2 \u03B5\u03C1\u03B3\u03B1\u03BB\u03B5\u03AF\u03C9\u03BD"])},treeview:e=>{const{normalize:t}=e;return t(["\u03CC\u03C8\u03B7 \u03B4\u03AD\u03BD\u03C4\u03C1\u03BF\u03C5"])},typography:e=>{const{normalize:t}=e;return t(["\u03A4\u03C5\u03C0\u03BF\u03B3\u03C1\u03B1\u03C6\u03AF\u03B1"])},basic:e=>{const{normalize:t}=e;return t(["\u03B2\u03B1\u03C3\u03B9\u03BA\u03CC\u03C2"])},order_sorting:e=>{const{normalize:t}=e;return t(["\u03A4\u03B1\u03BE\u03B9\u03BD\u03CC\u03BC\u03B7\u03C3\u03B7 \u03C0\u03B1\u03C1\u03B1\u03B3\u03B3\u03B5\u03BB\u03AF\u03B1\u03C2"])},multi_column:e=>{const{normalize:t}=e;return t(["\u03A0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AE \u03C3\u03C4\u03AE\u03BB\u03B7"])},multiple_tables:e=>{const{normalize:t}=e;return t(["\u03A0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC \u03C4\u03C1\u03B1\u03C0\u03AD\u03B6\u03B9\u03B1"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. \u03C3\u03B5\u03BB\u03B9\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7"])},range_search:e=>{const{normalize:t}=e;return t(["\u0391\u03BD\u03B1\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7 \u03B5\u03CD\u03C1\u03BF\u03C5\u03C2"])},export:e=>{const{normalize:t}=e;return t(["\u03B5\u03BE\u03B1\u03B3\u03C9\u03B3\u03AE"])},input_group:e=>{const{normalize:t}=e;return t(["\u039F\u03BC\u03AC\u03B4\u03B1 \u03B5\u03B9\u03C3\u03CC\u03B4\u03BF\u03C5"])},layouts:e=>{const{normalize:t}=e;return t(["\u03B4\u03B9\u03B1\u03C4\u03AC\u03BE\u03B5\u03B9\u03C2"])},validation:e=>{const{normalize:t}=e;return t(["\u03B5\u03C0\u03B9\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7"])},input_mask:e=>{const{normalize:t}=e;return t(["\u039C\u03AC\u03C3\u03BA\u03B1 \u03B5\u03B9\u03C3\u03CC\u03B4\u03BF\u03C5"])},select2:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 2"])},touchspin:e=>{const{normalize:t}=e;return t(["\u03C0\u03B5\u03C1\u03B9\u03C3\u03C4\u03C1\u03BF\u03C6\u03AE \u03B1\u03C6\u03AE\u03C2"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["\u03A0\u03BB\u03B1\u03AF\u03C3\u03B9\u03BF \u03B5\u03BB\u03AD\u03B3\u03C7\u03BF\u03C5 & \u03A1\u03B1\u03B4\u03B9\u03CC\u03C6\u03C9\u03BD\u03BF"])},switches:e=>{const{normalize:t}=e;return t(["\u03B4\u03B9\u03B1\u03BA\u03CC\u03C0\u03C4\u03B5\u03C2"])},wizards:e=>{const{normalize:t}=e;return t(["\u039C\u03AC\u03B3\u03BF\u03B9"])},file_upload:e=>{const{normalize:t}=e;return t(["\u03B1\u03BD\u03AD\u03B2\u03B1\u03C3\u03BC\u03B1 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5"])},quill_editor:e=>{const{normalize:t}=e;return t(["Quill Editor"])},markdown_editor:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03C4\u03AE\u03C2 Markdown"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1\u03C2 \u03BA\u03B1\u03B9 \u03B5\u03CD\u03C1\u03BF\u03C5\u03C2"])},clipboard:e=>{const{normalize:t}=e;return t(["\u03C3\u03B1\u03BD\u03AF\u03B4\u03B1 \u03BA\u03BB\u03B9\u03C0"])},user_and_pages:e=>{const{normalize:t}=e;return t(["\u03A7\u03C1\u03AE\u03C3\u03C4\u03B5\u03C2 \u03BA\u03B1\u03B9 \u03A3\u03B5\u03BB\u03AF\u03B4\u03B5\u03C2"])},profile:e=>{const{normalize:t}=e;return t(["\u03C0\u03C1\u03BF\u03C6\u03AF\u03BB"])},account_settings:e=>{const{normalize:t}=e;return t(["\u03A1\u03C5\u03B8\u03BC\u03AF\u03C3\u03B5\u03B9\u03C2 \u03BB\u03BF\u03B3\u03B1\u03C1\u03B9\u03B1\u03C3\u03BC\u03BF\u03CD"])},knowledge_base:e=>{const{normalize:t}=e;return t(["\u03B2\u03AC\u03C3\u03B7 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"])},contact_form:e=>{const{normalize:t}=e;return t(["\u03A6\u03CC\u03C1\u03BC\u03B1 \u0395\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AF\u03B1\u03C2"])},faq:e=>{const{normalize:t}=e;return t(["FAQ"])},coming_soon:e=>{const{normalize:t}=e;return t(["\u0395\u03C1\u03C7\u03BF\u03BC\u03B1\u03B9 \u03C3\u03C5\u03BD\u03C4\u03BF\u03BC\u03B1"])},error:e=>{const{normalize:t}=e;return t(["\u03A3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03B1"])},maintenence:e=>{const{normalize:t}=e;return t(["\u03C3\u03C5\u03BD\u03C4\u03AE\u03C1\u03B7\u03C3\u03B7"])},login_boxed:e=>{const{normalize:t}=e;return t(["\u03A3\u03CD\u03BD\u03B4\u03B5\u03C3\u03B7 Boxed"])},register_boxed:e=>{const{normalize:t}=e;return t(["\u0395\u03B3\u03B3\u03C1\u03B1\u03C6\u03AE \u03C3\u03B5 \u03BA\u03BF\u03C5\u03C4\u03AF"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["\u039E\u03B5\u03BA\u03BB\u03B5\u03AF\u03B4\u03C9\u03BC\u03B1 Boxed"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Recover Id Boxed"])},login_cover:e=>{const{normalize:t}=e;return t(["\u039A\u03AC\u03BB\u03C5\u03BC\u03BC\u03B1 \u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03B7\u03C2"])},register_cover:e=>{const{normalize:t}=e;return t(["\u0395\u03B3\u03B3\u03C1\u03B1\u03C6\u03AE \u0395\u03BE\u03CE\u03C6\u03C5\u03BB\u03BB\u03BF"])},unlock_cover:e=>{const{normalize:t}=e;return t(["\u039E\u03B5\u03BA\u03BB\u03B5\u03B9\u03B4\u03CE\u03C3\u03C4\u03B5 \u03C4\u03BF \u03BA\u03AC\u03BB\u03C5\u03BC\u03BC\u03B1"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["\u039A\u03AC\u03BB\u03C5\u03BC\u03BC\u03B1 \u03B1\u03BD\u03B1\u03B3\u03BD\u03CE\u03C1\u03B9\u03C3\u03B7\u03C2 \u03B1\u03BD\u03AC\u03BA\u03C4\u03B7\u03C3\u03B7\u03C2"])},supports:e=>{const{normalize:t}=e;return t(["\u03A5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03AF\u03B6\u03B5\u03B9"])},login:e=>{const{normalize:t}=e;return t(["\u03A3\u03CD\u03BD\u03B4\u03B5\u03C3\u03B7"])},lockscreen:e=>{const{normalize:t}=e;return t(["\u039A\u03BB\u03B5\u03AF\u03B4\u03C9\u03BC\u03B1 \u03BF\u03B8\u03CC\u03BD\u03B7\u03C2"])},password_recovery:e=>{const{normalize:t}=e;return t(["\u0391\u039D\u0391\u039A\u03A4\u0397\u03A3\u0397 \u039A\u03A9\u0394\u0399\u039A\u039F\u03A5"])},register:e=>{const{normalize:t}=e;return t(["\u039A\u03B1\u03BD\u03C9 \u0395\u0393\u0393\u03A1\u0391\u03A6\u0397"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["\u0394\u03B9\u03B5\u03C0\u03B1\u03C6\u03AE \u03C7\u03C1\u03AE\u03C3\u03C4\u03B7"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["\u03A0\u03AF\u03BD\u03B1\u03BA\u03B5\u03C2 \u03BA\u03B1\u03B9 \u0388\u03BD\u03C4\u03C5\u03C0\u03B1"])},columns_filter:e=>{const{normalize:t}=e;return t(["\u03A6\u03AF\u03BB\u03C4\u03C1\u03BF \u03C3\u03C4\u03B7\u03BB\u03CE\u03BD"])},column_chooser:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C3\u03C4\u03AE\u03BB\u03B7\u03C2"])},advanced:e=>{const{normalize:t}=e;return t(["\u03A0\u03C1\u03BF\u03C7\u03C9\u03C1\u03B7\u03BC\u03AD\u03BD\u03BF\u03C2"])},checkbox:e=>{const{normalize:t}=e;return t(["\u03A0\u03BB\u03B1\u03AF\u03C3\u03B9\u03BF \u03B5\u03BB\u03AD\u03B3\u03C7\u03BF\u03C5"])},skin:e=>{const{normalize:t}=e;return t(["\u0394\u03AD\u03C1\u03BC\u03B1"])},sticky_header:e=>{const{normalize:t}=e;return t(["\u039A\u03BF\u03BB\u03BB\u03CE\u03B4\u03B7\u03C2 \u03BA\u03B5\u03C6\u03B1\u03BB\u03AF\u03B4\u03B1"])},clone_header:e=>{const{normalize:t}=e;return t(["\u039A\u03BB\u03CE\u03BD\u03BF\u03C2 \u039A\u03B5\u03C6\u03B1\u03BB\u03AF\u03B4\u03B1"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["\u03A3\u03CD\u03BD\u03C4\u03BF\u03BC\u03B1 \u03C3\u03B5 \u03BA\u03BF\u03C5\u03C4\u03AF"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["\u03A0\u03C1\u03BF\u03C3\u03B5\u03C7\u03CE\u03C2 \u0395\u03BE\u03CE\u03C6\u03C5\u03BB\u03BB\u03BF"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AE\u03C3\u03C4\u03B5 \u03BC\u03B1\u03B6\u03AF \u03BC\u03B1\u03C2 Boxed"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["\u0395\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AE\u03C3\u03C4\u03B5 \u03BC\u03B1\u03B6\u03AF \u03BC\u03B1\u03C2 \u0395\u03BE\u03CE\u03C6\u03C5\u03BB\u03BB\u03BF"])}},en:{dashboard:e=>{const{normalize:t}=e;return t(["Dashboard"])},sales:e=>{const{normalize:t}=e;return t(["Sales"])},analytics:e=>{const{normalize:t}=e;return t(["Analytics"])},apps:e=>{const{normalize:t}=e;return t(["Apps"])},components:e=>{const{normalize:t}=e;return t(["Components"])},elements:e=>{const{normalize:t}=e;return t(["Elements"])},font_icons:e=>{const{normalize:t}=e;return t(["Font Icons"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["Tables"])},datatables:e=>{const{normalize:t}=e;return t(["Data Tables"])},forms:e=>{const{normalize:t}=e;return t(["Forms"])},users:e=>{const{normalize:t}=e;return t(["Users"])},pages:e=>{const{normalize:t}=e;return t(["Pages"])},authentication:e=>{const{normalize:t}=e;return t(["Authentication"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Drag and Drop"])},maps:e=>{const{normalize:t}=e;return t(["Maps"])},charts:e=>{const{normalize:t}=e;return t(["Charts"])},starter_kit:e=>{const{normalize:t}=e;return t(["Starter Kit"])},documentation:e=>{const{normalize:t}=e;return t(["Documentation"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI Kit"])},more:e=>{const{normalize:t}=e;return t(["More"])},finance:e=>{const{normalize:t}=e;return t(["Finance"])},crypto:e=>{const{normalize:t}=e;return t(["Crypto"])},chat:e=>{const{normalize:t}=e;return t(["Chat"])},mailbox:e=>{const{normalize:t}=e;return t(["Mailbox"])},todo_list:e=>{const{normalize:t}=e;return t(["Todo List"])},notes:e=>{const{normalize:t}=e;return t(["Notes"])},scrumboard:e=>{const{normalize:t}=e;return t(["Scrumboard"])},contacts:e=>{const{normalize:t}=e;return t(["Contacts"])},invoice:e=>{const{normalize:t}=e;return t(["Invoice"])},list:e=>{const{normalize:t}=e;return t(["List"])},preview:e=>{const{normalize:t}=e;return t(["Preview"])},add:e=>{const{normalize:t}=e;return t(["Add"])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},calendar:e=>{const{normalize:t}=e;return t(["Calendar"])},tabs:e=>{const{normalize:t}=e;return t(["Tabs"])},accordions:e=>{const{normalize:t}=e;return t(["Accordions"])},modals:e=>{const{normalize:t}=e;return t(["Modals"])},cards:e=>{const{normalize:t}=e;return t(["Cards"])},carousel:e=>{const{normalize:t}=e;return t(["Carousel"])},countdown:e=>{const{normalize:t}=e;return t(["Countdown"])},counter:e=>{const{normalize:t}=e;return t(["Counter"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["Sweet Alerts"])},timeline:e=>{const{normalize:t}=e;return t(["Timeline"])},notifications:e=>{const{normalize:t}=e;return t(["Notifications"])},media_object:e=>{const{normalize:t}=e;return t(["Media Object"])},list_group:e=>{const{normalize:t}=e;return t(["List Group"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Pricing Tables"])},lightbox:e=>{const{normalize:t}=e;return t(["Lightbox"])},alerts:e=>{const{normalize:t}=e;return t(["Alerts"])},avatar:e=>{const{normalize:t}=e;return t(["Avatar"])},badges:e=>{const{normalize:t}=e;return t(["Badges"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["Breadcrumbs"])},buttons:e=>{const{normalize:t}=e;return t(["Buttons"])},button_groups:e=>{const{normalize:t}=e;return t(["Button Groups"])},color_library:e=>{const{normalize:t}=e;return t(["Color Library"])},dropdown:e=>{const{normalize:t}=e;return t(["Dropdown"])},infobox:e=>{const{normalize:t}=e;return t(["Infobox"])},jumbotron:e=>{const{normalize:t}=e;return t(["Jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["Loader"])},pagination:e=>{const{normalize:t}=e;return t(["Pagination"])},popovers:e=>{const{normalize:t}=e;return t(["Popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["Progress Bar"])},search:e=>{const{normalize:t}=e;return t(["Search"])},tooltips:e=>{const{normalize:t}=e;return t(["Tooltips"])},treeview:e=>{const{normalize:t}=e;return t(["Treeview"])},typography:e=>{const{normalize:t}=e;return t(["Typography"])},basic:e=>{const{normalize:t}=e;return t(["Basic"])},order_sorting:e=>{const{normalize:t}=e;return t(["Order Sorting"])},multi_column:e=>{const{normalize:t}=e;return t(["Multi Column"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Multiple Tables"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. Pagination"])},range_search:e=>{const{normalize:t}=e;return t(["Range Search"])},export:e=>{const{normalize:t}=e;return t(["Export"])},input_group:e=>{const{normalize:t}=e;return t(["Input Group"])},layouts:e=>{const{normalize:t}=e;return t(["Layouts"])},validation:e=>{const{normalize:t}=e;return t(["Validation"])},input_mask:e=>{const{normalize:t}=e;return t(["Input Mask"])},select2:e=>{const{normalize:t}=e;return t(["Select2"])},touchspin:e=>{const{normalize:t}=e;return t(["Touchspin"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Checkbox & Radio"])},switches:e=>{const{normalize:t}=e;return t(["Switches"])},wizards:e=>{const{normalize:t}=e;return t(["Wizards"])},file_upload:e=>{const{normalize:t}=e;return t(["File Upload"])},quill_editor:e=>{const{normalize:t}=e;return t(["Quill Editor"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Markdown Editor"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Date & Range Picker"])},clipboard:e=>{const{normalize:t}=e;return t(["Clipboard"])},user_and_pages:e=>{const{normalize:t}=e;return t(["User And Pages"])},profile:e=>{const{normalize:t}=e;return t(["Profile"])},account_settings:e=>{const{normalize:t}=e;return t(["Account Settings"])},knowledge_base:e=>{const{normalize:t}=e;return t(["Knowledge Base"])},contact_form:e=>{const{normalize:t}=e;return t(["Contact Form"])},faq:e=>{const{normalize:t}=e;return t(["Faq"])},coming_soon:e=>{const{normalize:t}=e;return t(["Coming Soon"])},error:e=>{const{normalize:t}=e;return t(["Error"])},maintenence:e=>{const{normalize:t}=e;return t(["Maintenence"])},login_boxed:e=>{const{normalize:t}=e;return t(["Login Boxed"])},register_boxed:e=>{const{normalize:t}=e;return t(["Register Boxed"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Unlock Boxed"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Recover Id Boxed"])},login_cover:e=>{const{normalize:t}=e;return t(["Login Cover"])},register_cover:e=>{const{normalize:t}=e;return t(["Register Cover"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Unlock Cover"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Recover Id Cover"])},supports:e=>{const{normalize:t}=e;return t(["Supports"])},login:e=>{const{normalize:t}=e;return t(["Login"])},lockscreen:e=>{const{normalize:t}=e;return t(["Lockscreen"])},password_recovery:e=>{const{normalize:t}=e;return t(["Password Recovery"])},register:e=>{const{normalize:t}=e;return t(["Register"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["User Interface"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tables And Forms"])},columns_filter:e=>{const{normalize:t}=e;return t(["Columns Filter"])},column_chooser:e=>{const{normalize:t}=e;return t(["Column Chooser"])},advanced:e=>{const{normalize:t}=e;return t(["Advanced"])},checkbox:e=>{const{normalize:t}=e;return t(["Checkbox"])},skin:e=>{const{normalize:t}=e;return t(["Skin"])},sticky_header:e=>{const{normalize:t}=e;return t(["Sticky Header"])},clone_header:e=>{const{normalize:t}=e;return t(["Clone Header"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Coming Soon Boxed"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Coming Soon Cover"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Contact Us Boxed"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Contact Us Cover"])}},es:{dashboard:e=>{const{normalize:t}=e;return t(["Tablero"])},sales:e=>{const{normalize:t}=e;return t(["Ventas"])},analytics:e=>{const{normalize:t}=e;return t(["Anal\xEDtica"])},apps:e=>{const{normalize:t}=e;return t(["Aplicaciones"])},components:e=>{const{normalize:t}=e;return t(["Componentes"])},elements:e=>{const{normalize:t}=e;return t(["Elementos"])},font_icons:e=>{const{normalize:t}=e;return t(["Iconos de fuentes"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["Mesas"])},datatables:e=>{const{normalize:t}=e;return t(["Tablas de datos"])},forms:e=>{const{normalize:t}=e;return t(["Formularios"])},users:e=>{const{normalize:t}=e;return t(["Usuarios"])},pages:e=>{const{normalize:t}=e;return t(["Paginas"])},authentication:e=>{const{normalize:t}=e;return t(["Autenticaci\xF3n"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Arrastrar y soltar"])},maps:e=>{const{normalize:t}=e;return t(["Mapas"])},charts:e=>{const{normalize:t}=e;return t(["Gr\xE1ficos"])},starter_kit:e=>{const{normalize:t}=e;return t(["Kit de inicio"])},documentation:e=>{const{normalize:t}=e;return t(["Documentaci\xF3n"])},ui_kit:e=>{const{normalize:t}=e;return t(["Kit de interfaz de usuario"])},more:e=>{const{normalize:t}=e;return t(["M\xE1s"])},finance:e=>{const{normalize:t}=e;return t(["Finanzas"])},crypto:e=>{const{normalize:t}=e;return t(["Cripto"])},chat:e=>{const{normalize:t}=e;return t(["charlar"])},mailbox:e=>{const{normalize:t}=e;return t(["buz\xF3n"])},todo_list:e=>{const{normalize:t}=e;return t(["lista de quehaceres"])},notes:e=>{const{normalize:t}=e;return t(["Nota"])},scrumboard:e=>{const{normalize:t}=e;return t(["tablero de scrum"])},contacts:e=>{const{normalize:t}=e;return t(["Contactos"])},invoice:e=>{const{normalize:t}=e;return t(["factura"])},list:e=>{const{normalize:t}=e;return t(["lista"])},preview:e=>{const{normalize:t}=e;return t(["Avance"])},add:e=>{const{normalize:t}=e;return t(["Agregar"])},edit:e=>{const{normalize:t}=e;return t(["Editar"])},calendar:e=>{const{normalize:t}=e;return t(["Calendario"])},tabs:e=>{const{normalize:t}=e;return t(["pesta\xF1as"])},accordions:e=>{const{normalize:t}=e;return t(["acorde\xF3n"])},modals:e=>{const{normalize:t}=e;return t(["modal"])},cards:e=>{const{normalize:t}=e;return t(["Tarjetas"])},carousel:e=>{const{normalize:t}=e;return t(["carrusel"])},countdown:e=>{const{normalize:t}=e;return t(["cuenta regresiva"])},counter:e=>{const{normalize:t}=e;return t(["contadores"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["Dulces alertas"])},timeline:e=>{const{normalize:t}=e;return t(["l\xEDnea de tiempo"])},notifications:e=>{const{normalize:t}=e;return t(["notificaciones"])},media_object:e=>{const{normalize:t}=e;return t(["MediaObject"])},list_group:e=>{const{normalize:t}=e;return t(["ListaGrupo"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Tablas de Precios"])},lightbox:e=>{const{normalize:t}=e;return t(["caja ligera"])},alerts:e=>{const{normalize:t}=e;return t(["Alertas"])},avatar:e=>{const{normalize:t}=e;return t(["avatar"])},badges:e=>{const{normalize:t}=e;return t(["insignias"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["migas de pan"])},buttons:e=>{const{normalize:t}=e;return t(["botones"])},button_groups:e=>{const{normalize:t}=e;return t(["Grupos de botones"])},color_library:e=>{const{normalize:t}=e;return t(["Biblioteca de colores"])},dropdown:e=>{const{normalize:t}=e;return t(["desplegable"])},infobox:e=>{const{normalize:t}=e;return t(["Caja de informaci\xF3n"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["cargadores"])},pagination:e=>{const{normalize:t}=e;return t(["paginaci\xF3n"])},popovers:e=>{const{normalize:t}=e;return t(["popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["barra de progreso"])},search:e=>{const{normalize:t}=e;return t(["B\xFAsqueda"])},tooltips:e=>{const{normalize:t}=e;return t(["consejos sobre herramientas"])},treeview:e=>{const{normalize:t}=e;return t(["vista de \xE1rbol"])},typography:e=>{const{normalize:t}=e;return t(["Tipograf\xEDa"])},basic:e=>{const{normalize:t}=e;return t(["b\xE1sico"])},order_sorting:e=>{const{normalize:t}=e;return t(["clasificaci\xF3n de pedidos"])},multi_column:e=>{const{normalize:t}=e;return t(["columna m\xFAltiple"])},multiple_tables:e=>{const{normalize:t}=e;return t(["M\xFAltiples mesas"])},alt_pagination:e=>{const{normalize:t}=e;return t(["alternativa paginaci\xF3n"])},range_search:e=>{const{normalize:t}=e;return t(["B\xFAsqueda de rango"])},export:e=>{const{normalize:t}=e;return t(["exportar"])},input_group:e=>{const{normalize:t}=e;return t(["Grupo de entrada"])},layouts:e=>{const{normalize:t}=e;return t(["dise\xF1os"])},validation:e=>{const{normalize:t}=e;return t(["validaci\xF3n"])},input_mask:e=>{const{normalize:t}=e;return t(["M\xE1scara de entrada"])},select2:e=>{const{normalize:t}=e;return t(["Seleccionar2"])},touchspin:e=>{const{normalize:t}=e;return t(["toque girar"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Casilla de verificaci\xF3n y radio"])},switches:e=>{const{normalize:t}=e;return t(["interruptores"])},wizards:e=>{const{normalize:t}=e;return t(["magos"])},file_upload:e=>{const{normalize:t}=e;return t(["Subir archivo"])},quill_editor:e=>{const{normalize:t}=e;return t(["Editor de pluma"])},markdown_editor:e=>{const{normalize:t}=e;return t(["editor de rebajas"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Selector de fecha y rango"])},clipboard:e=>{const{normalize:t}=e;return t(["tablero de clip"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Usuarios y p\xE1ginas"])},profile:e=>{const{normalize:t}=e;return t(["perfiles"])},account_settings:e=>{const{normalize:t}=e;return t(["Configuraciones de la cuenta"])},knowledge_base:e=>{const{normalize:t}=e;return t(["base de conocimientos"])},contact_form:e=>{const{normalize:t}=e;return t(["Formulario de contacto"])},faq:e=>{const{normalize:t}=e;return t(["Preguntas m\xE1s frecuentes"])},coming_soon:e=>{const{normalize:t}=e;return t(["Pr\xF3ximamente, en breve, pronto"])},error:e=>{const{normalize:t}=e;return t(["errores"])},maintenence:e=>{const{normalize:t}=e;return t(["mantenimiento"])},login_boxed:e=>{const{normalize:t}=e;return t(["Inicio de sesi\xF3n en caja"])},register_boxed:e=>{const{normalize:t}=e;return t(["Registro en caja"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Desbloquear en caja"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Recuperar ID en caja"])},login_cover:e=>{const{normalize:t}=e;return t(["Portada de inicio de sesi\xF3n"])},register_cover:e=>{const{normalize:t}=e;return t(["Cubierta de registro"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Desbloquear cubierta"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Recuperar car\xE1tula de identificaci\xF3n"])},supports:e=>{const{normalize:t}=e;return t(["Soporta"])},login:e=>{const{normalize:t}=e;return t(["Acceso"])},lockscreen:e=>{const{normalize:t}=e;return t(["Bloquear pantalla"])},password_recovery:e=>{const{normalize:t}=e;return t(["Recuperaci\xF3n de contrase\xF1a"])},register:e=>{const{normalize:t}=e;return t(["Registro"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Interfaz de usuario"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["tablas y formularios"])},columns_filter:e=>{const{normalize:t}=e;return t(["Filtro de columnas"])},column_chooser:e=>{const{normalize:t}=e;return t(["Selector de columnas"])},advanced:e=>{const{normalize:t}=e;return t(["Avanzado"])},checkbox:e=>{const{normalize:t}=e;return t(["Caja"])},skin:e=>{const{normalize:t}=e;return t(["Piel"])},sticky_header:e=>{const{normalize:t}=e;return t(["Encabezado fijo"])},clone_header:e=>{const{normalize:t}=e;return t(["Encabezado de clonaci\xF3n"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Pr\xF3ximamente en caja"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Pr\xF3ximamente Portada"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Comun\xEDquese con nosotros"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Cont\xE1ctenos Portada"])}},fr:{dashboard:e=>{const{normalize:t}=e;return t(["Tableau de bord"])},sales:e=>{const{normalize:t}=e;return t(["Ventes"])},analytics:e=>{const{normalize:t}=e;return t(["Analytique"])},apps:e=>{const{normalize:t}=e;return t(["applications"])},components:e=>{const{normalize:t}=e;return t(["Composants"])},elements:e=>{const{normalize:t}=e;return t(["\xC9l\xE9ments"])},font_icons:e=>{const{normalize:t}=e;return t(["Ic\xF4nes de police"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["les tables"])},datatables:e=>{const{normalize:t}=e;return t(["Tableaux de donn\xE9es"])},forms:e=>{const{normalize:t}=e;return t(["Formes"])},users:e=>{const{normalize:t}=e;return t(["Utilisateurs"])},pages:e=>{const{normalize:t}=e;return t(["Pages"])},authentication:e=>{const{normalize:t}=e;return t(["Authentification"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Glisser d\xE9poser"])},maps:e=>{const{normalize:t}=e;return t(["Plans"])},charts:e=>{const{normalize:t}=e;return t(["Graphiques"])},starter_kit:e=>{const{normalize:t}=e;return t(["Kit de d\xE9marrage"])},documentation:e=>{const{normalize:t}=e;return t(["Documentation"])},ui_kit:e=>{const{normalize:t}=e;return t(["Trousse d'interface utilisateur"])},more:e=>{const{normalize:t}=e;return t(["Suite"])},finance:e=>{const{normalize:t}=e;return t(["Finance"])},crypto:e=>{const{normalize:t}=e;return t(["Crypto"])},chat:e=>{const{normalize:t}=e;return t(["Discuter"])},mailbox:e=>{const{normalize:t}=e;return t(["Boites aux lettres"])},todo_list:e=>{const{normalize:t}=e;return t(["Liste de choses \xE0 faire"])},notes:e=>{const{normalize:t}=e;return t(["Remarques"])},scrumboard:e=>{const{normalize:t}=e;return t(["Scrumboard"])},contacts:e=>{const{normalize:t}=e;return t(["Contacts"])},invoice:e=>{const{normalize:t}=e;return t(["Facture d'achat"])},list:e=>{const{normalize:t}=e;return t(["Liste"])},preview:e=>{const{normalize:t}=e;return t(["Aper\xE7u"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},edit:e=>{const{normalize:t}=e;return t(["\xC9diter"])},calendar:e=>{const{normalize:t}=e;return t(["Calendrier"])},tabs:e=>{const{normalize:t}=e;return t(["Onglets"])},accordions:e=>{const{normalize:t}=e;return t(["Accord\xE9ons"])},modals:e=>{const{normalize:t}=e;return t(["Modaux"])},cards:e=>{const{normalize:t}=e;return t(["Cartes"])},carousel:e=>{const{normalize:t}=e;return t(["Carrousel"])},countdown:e=>{const{normalize:t}=e;return t(["Compte \xE0 rebours"])},counter:e=>{const{normalize:t}=e;return t(["Compteur"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["Alertes sucr\xE9es"])},timeline:e=>{const{normalize:t}=e;return t(["Chronologie"])},notifications:e=>{const{normalize:t}=e;return t(["Avis"])},media_object:e=>{const{normalize:t}=e;return t(["Objet multim\xE9dia"])},list_group:e=>{const{normalize:t}=e;return t(["Groupe de liste"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Tableaux de prix"])},lightbox:e=>{const{normalize:t}=e;return t(["Boite \xE0 lumi\xE8re"])},alerts:e=>{const{normalize:t}=e;return t(["Alertes"])},avatar:e=>{const{normalize:t}=e;return t(["Avatar"])},badges:e=>{const{normalize:t}=e;return t(["Insignes"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["Chapelure"])},buttons:e=>{const{normalize:t}=e;return t(["Boutons"])},button_groups:e=>{const{normalize:t}=e;return t(["Groupes de boutons"])},color_library:e=>{const{normalize:t}=e;return t(["Biblioth\xE8que de couleurs"])},dropdown:e=>{const{normalize:t}=e;return t(["Menu d\xE9roulant"])},infobox:e=>{const{normalize:t}=e;return t(["Bo\xEEte d'info"])},jumbotron:e=>{const{normalize:t}=e;return t(["Jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["Chargeur"])},pagination:e=>{const{normalize:t}=e;return t(["Pagination"])},popovers:e=>{const{normalize:t}=e;return t(["popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["Barre de progression"])},search:e=>{const{normalize:t}=e;return t(["Chercher"])},tooltips:e=>{const{normalize:t}=e;return t(["Info-bulles"])},treeview:e=>{const{normalize:t}=e;return t(["Arborescence"])},typography:e=>{const{normalize:t}=e;return t(["Typographie"])},basic:e=>{const{normalize:t}=e;return t(["De base"])},order_sorting:e=>{const{normalize:t}=e;return t(["Tri des commandes"])},multi_column:e=>{const{normalize:t}=e;return t(["Multi-colonne"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Tableaux multiples"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. pagination"])},range_search:e=>{const{normalize:t}=e;return t(["Recherche de gamme"])},export:e=>{const{normalize:t}=e;return t(["Exporter"])},input_group:e=>{const{normalize:t}=e;return t(["Groupe d'entr\xE9e"])},layouts:e=>{const{normalize:t}=e;return t(["Dispositions"])},validation:e=>{const{normalize:t}=e;return t(["Validation"])},input_mask:e=>{const{normalize:t}=e;return t(["Masque de saisie"])},select2:e=>{const{normalize:t}=e;return t(["S\xE9lectionner2"])},touchspin:e=>{const{normalize:t}=e;return t(["Toucher spin"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Case \xE0 cocher et radio"])},switches:e=>{const{normalize:t}=e;return t(["Commutateurs"])},wizards:e=>{const{normalize:t}=e;return t(["Assistants"])},file_upload:e=>{const{normalize:t}=e;return t(["T\xE9l\xE9chargement de fichiers"])},quill_editor:e=>{const{normalize:t}=e;return t(["\xC9diteur de plumes"])},markdown_editor:e=>{const{normalize:t}=e;return t(["\xC9diteur Markdown"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["S\xE9lecteur de date et de plage"])},clipboard:e=>{const{normalize:t}=e;return t(["Presse-papiers"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Utilisateurs et pages"])},profile:e=>{const{normalize:t}=e;return t(["Profil"])},account_settings:e=>{const{normalize:t}=e;return t(["Param\xE8tres du compte"])},knowledge_base:e=>{const{normalize:t}=e;return t(["Base de connaissances"])},contact_form:e=>{const{normalize:t}=e;return t(["Formulaire de contact"])},faq:e=>{const{normalize:t}=e;return t(["FAQ"])},coming_soon:e=>{const{normalize:t}=e;return t(["\xC0 venir"])},error:e=>{const{normalize:t}=e;return t(["Erreur"])},maintenence:e=>{const{normalize:t}=e;return t(["Entretien"])},login_boxed:e=>{const{normalize:t}=e;return t(["Connexion en bo\xEEte"])},register_boxed:e=>{const{normalize:t}=e;return t(["S'inscrire en bo\xEEte"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["D\xE9verrouiller la bo\xEEte"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["R\xE9cup\xE9rer l'identifiant en bo\xEEte"])},login_cover:e=>{const{normalize:t}=e;return t(["Couverture de connexion"])},register_cover:e=>{const{normalize:t}=e;return t(["Couverture de registre"])},unlock_cover:e=>{const{normalize:t}=e;return t(["D\xE9verrouiller la couverture"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["R\xE9cup\xE9rer la couverture d'identit\xE9"])},supports:e=>{const{normalize:t}=e;return t(["Les soutiens"])},login:e=>{const{normalize:t}=e;return t(["Connexion"])},lockscreen:e=>{const{normalize:t}=e;return t(["\xC9cran verrouill\xE9"])},password_recovery:e=>{const{normalize:t}=e;return t(["R\xE9cup\xE9ration de mot de passe"])},register:e=>{const{normalize:t}=e;return t(["S'inscrire"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Interface utilisateur"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tableaux et formulaires"])},columns_filter:e=>{const{normalize:t}=e;return t(["Filtre de colonnes"])},column_chooser:e=>{const{normalize:t}=e;return t(["S\xE9lecteur de colonne"])},advanced:e=>{const{normalize:t}=e;return t(["Avanc\xE9"])},checkbox:e=>{const{normalize:t}=e;return t(["Case \xE0 cocher"])},skin:e=>{const{normalize:t}=e;return t(["Peau"])},sticky_header:e=>{const{normalize:t}=e;return t(["En-t\xEAte collant"])},clone_header:e=>{const{normalize:t}=e;return t(["Cloner l'en-t\xEAte"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Bient\xF4t en bo\xEEte"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Prochainement Couverture"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Contactez-nous"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Contactez-nous Couverture"])}},hu:{dashboard:e=>{const{normalize:t}=e;return t(["Ir\xE1ny\xEDt\xF3pult"])},sales:e=>{const{normalize:t}=e;return t(["\xC9rt\xE9kes\xEDt\xE9s"])},analytics:e=>{const{normalize:t}=e;return t(["Analitika"])},apps:e=>{const{normalize:t}=e;return t(["Alkalmaz\xE1sok elemre"])},components:e=>{const{normalize:t}=e;return t(["Alkatr\xE9szek"])},elements:e=>{const{normalize:t}=e;return t(["Elemek"])},font_icons:e=>{const{normalize:t}=e;return t(["Bet\u0171ikonok"])},widgets:e=>{const{normalize:t}=e;return t(["Widgetek"])},tables:e=>{const{normalize:t}=e;return t(["T\xE1bl\xE1zatok"])},datatables:e=>{const{normalize:t}=e;return t(["Adatt\xE1bl\xE1k"])},forms:e=>{const{normalize:t}=e;return t(["\u0170rlapok"])},users:e=>{const{normalize:t}=e;return t(["Felhaszn\xE1l\xF3k"])},pages:e=>{const{normalize:t}=e;return t(["Oldalak"])},authentication:e=>{const{normalize:t}=e;return t(["Hiteles\xEDt\xE9s"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Drag and Drop"])},maps:e=>{const{normalize:t}=e;return t(["T\xE9rk\xE9pek"])},charts:e=>{const{normalize:t}=e;return t(["Diagramok"])},starter_kit:e=>{const{normalize:t}=e;return t(["Kezd\u0151 csomag"])},documentation:e=>{const{normalize:t}=e;return t(["Dokument\xE1ci\xF3"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI Kit"])},more:e=>{const{normalize:t}=e;return t(["T\xF6bb"])},finance:e=>{const{normalize:t}=e;return t(["P\xE9nz\xFCgy"])},crypto:e=>{const{normalize:t}=e;return t(["Crypto"])},chat:e=>{const{normalize:t}=e;return t(["cseveg\xE9s"])},mailbox:e=>{const{normalize:t}=e;return t(["postafi\xF3k"])},todo_list:e=>{const{normalize:t}=e;return t(["tennival\xF3k"])},notes:e=>{const{normalize:t}=e;return t(["jegyzet"])},scrumboard:e=>{const{normalize:t}=e;return t(["scrumboard"])},contacts:e=>{const{normalize:t}=e;return t(["Kapcsolatok"])},invoice:e=>{const{normalize:t}=e;return t(["sz\xE1mla"])},list:e=>{const{normalize:t}=e;return t(["lista"])},preview:e=>{const{normalize:t}=e;return t(["El\u0151n\xE9zet"])},add:e=>{const{normalize:t}=e;return t(["Hozz\xE1ad\xE1s"])},edit:e=>{const{normalize:t}=e;return t(["Szerkeszt\xE9s"])},calendar:e=>{const{normalize:t}=e;return t(["Napt\xE1r"])},tabs:e=>{const{normalize:t}=e;return t(["lapokat"])},accordions:e=>{const{normalize:t}=e;return t(["harmonika"])},modals:e=>{const{normalize:t}=e;return t(["mod\xE1lis"])},cards:e=>{const{normalize:t}=e;return t(["K\xE1rty\xE1k"])},carousel:e=>{const{normalize:t}=e;return t(["k\xF6rhinta"])},countdown:e=>{const{normalize:t}=e;return t(["visszasz\xE1ml\xE1l\xE1s"])},counter:e=>{const{normalize:t}=e;return t(["sz\xE1ml\xE1l\xF3k"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["\xC9des figyelmeztet\xE9sek"])},timeline:e=>{const{normalize:t}=e;return t(["Id\u0151vonal"])},notifications:e=>{const{normalize:t}=e;return t(["\xE9rtes\xEDt\xE9seket"])},media_object:e=>{const{normalize:t}=e;return t(["MediaObject"])},list_group:e=>{const{normalize:t}=e;return t(["ListGroup"])},pricing_tables:e=>{const{normalize:t}=e;return t(["\xC1rt\xE1bl\xE1zatok"])},lightbox:e=>{const{normalize:t}=e;return t(["vil\xE1g\xEDt\xF3 doboz"])},alerts:e=>{const{normalize:t}=e;return t(["Figyelmeztet\xE9sek"])},avatar:e=>{const{normalize:t}=e;return t(["avatar"])},badges:e=>{const{normalize:t}=e;return t(["jelv\xE9nyeket"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["zsemlemorzsa"])},buttons:e=>{const{normalize:t}=e;return t(["gombokat"])},button_groups:e=>{const{normalize:t}=e;return t(["Gombcsoportok"])},color_library:e=>{const{normalize:t}=e;return t(["ColorLibrary"])},dropdown:e=>{const{normalize:t}=e;return t(["ledob"])},infobox:e=>{const{normalize:t}=e;return t(["inform\xE1ci\xF3s doboz"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["rakod\xF3k"])},pagination:e=>{const{normalize:t}=e;return t(["lapsz\xE1moz\xE1s"])},popovers:e=>{const{normalize:t}=e;return t(["popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["fejl\u0151d\xE9smutat\xF3"])},search:e=>{const{normalize:t}=e;return t(["Keres\xE9s"])},tooltips:e=>{const{normalize:t}=e;return t(["szersz\xE1m tippek"])},treeview:e=>{const{normalize:t}=e;return t(["fan\xE9zet"])},typography:e=>{const{normalize:t}=e;return t(["Tipogr\xE1fia"])},basic:e=>{const{normalize:t}=e;return t(["alapvet\u0151"])},order_sorting:e=>{const{normalize:t}=e;return t(["Rendel\xE9si rendez\xE9s"])},multi_column:e=>{const{normalize:t}=e;return t(["T\xF6bb oszlop"])},multiple_tables:e=>{const{normalize:t}=e;return t(["T\xF6bb asztal"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. lapsz\xE1moz\xE1s"])},range_search:e=>{const{normalize:t}=e;return t(["Tartom\xE1ny keres\xE9se"])},export:e=>{const{normalize:t}=e;return t(["export"])},input_group:e=>{const{normalize:t}=e;return t(["Beviteli csoport"])},layouts:e=>{const{normalize:t}=e;return t(["elrendez\xE9sek"])},validation:e=>{const{normalize:t}=e;return t(["\xE9rv\xE9nyes\xEDt\xE9s"])},input_mask:e=>{const{normalize:t}=e;return t(["Beviteli maszk"])},select2:e=>{const{normalize:t}=e;return t(["Select2"])},touchspin:e=>{const{normalize:t}=e;return t(["\xE9rint\xE9sp\xF6rget\xE9s"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Jel\xF6l\u0151n\xE9gyzet \xE9s r\xE1di\xF3"])},switches:e=>{const{normalize:t}=e;return t(["kapcsol\xF3k"])},wizards:e=>{const{normalize:t}=e;return t(["Var\xE1zsl\xF3k"])},file_upload:e=>{const{normalize:t}=e;return t(["f\xE1jlfelt\xF6lt\xE9s"])},quill_editor:e=>{const{normalize:t}=e;return t(["Quill szerkeszt\u0151"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Markdown szerkeszt\u0151"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["D\xE1tum- \xE9s tartom\xE1nyv\xE1laszt\xF3"])},clipboard:e=>{const{normalize:t}=e;return t(["v\xE1g\xF3lap"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Felhaszn\xE1l\xF3k \xE9s oldalak"])},profile:e=>{const{normalize:t}=e;return t(["profilok"])},account_settings:e=>{const{normalize:t}=e;return t(["Fi\xF3k be\xE1ll\xEDt\xE1sok"])},knowledge_base:e=>{const{normalize:t}=e;return t(["Tud\xE1sb\xE1zis"])},contact_form:e=>{const{normalize:t}=e;return t(["Kapcsolatfelv\xE9teli \u0171rlap"])},faq:e=>{const{normalize:t}=e;return t(["GYIK"])},coming_soon:e=>{const{normalize:t}=e;return t(["Hamarosan"])},error:e=>{const{normalize:t}=e;return t(["hib\xE1kat"])},maintenence:e=>{const{normalize:t}=e;return t(["karbantart\xE1s"])},login_boxed:e=>{const{normalize:t}=e;return t(["Bejelentkez\xE9s dobozban"])},register_boxed:e=>{const{normalize:t}=e;return t(["Regisztr\xE1ci\xF3 Dobozban"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Dobozos z\xE1r felold\xE1sa"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Helyre\xE1ll\xEDt\xE1si azonos\xEDt\xF3 dobozban"])},login_cover:e=>{const{normalize:t}=e;return t(["Bejelentkez\xE9si bor\xEDt\xF3"])},register_cover:e=>{const{normalize:t}=e;return t(["Regisztr\xE1ci\xF3s bor\xEDt\xF3"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Nyissa ki a fedelet"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Id Cover helyre\xE1ll\xEDt\xE1sa"])},supports:e=>{const{normalize:t}=e;return t(["T\xE1mogatja"])},login:e=>{const{normalize:t}=e;return t(["Bel\xE9p\xE9s"])},lockscreen:e=>{const{normalize:t}=e;return t(["Lez\xE1r\xE1si k\xE9perny\u0151"])},password_recovery:e=>{const{normalize:t}=e;return t(["Jelsz\xF3 vissza\xE1ll\xEDt\xE1s"])},register:e=>{const{normalize:t}=e;return t(["Regisztr\xE1ci\xF3"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Felhaszn\xE1l\xF3i fel\xFClet"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["T\xE1bl\xE1zatok \xE9s \u0170rlapok"])},columns_filter:e=>{const{normalize:t}=e;return t(["Oszlopok sz\u0171r\u0151je"])},column_chooser:e=>{const{normalize:t}=e;return t(["Oszlopv\xE1laszt\xF3"])},advanced:e=>{const{normalize:t}=e;return t(["Fejlett"])},checkbox:e=>{const{normalize:t}=e;return t(["Jel\xF6l\u0151n\xE9gyzet"])},skin:e=>{const{normalize:t}=e;return t(["B\u0151r"])},sticky_header:e=>{const{normalize:t}=e;return t(["Ragad\xF3s fejl\xE9c"])},clone_header:e=>{const{normalize:t}=e;return t(["Fejl\xE9c kl\xF3noz\xE1sa"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Hamarosan Boxed"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Hamarosan Bor\xEDt\xF3"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["L\xE9pjen kapcsolatba vel\xFCnk Boxed"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["L\xE9pjen kapcsolatba vel\xFCnk Bor\xEDt\xF3"])}},it:{dashboard:e=>{const{normalize:t}=e;return t(["Pannello di controllo"])},sales:e=>{const{normalize:t}=e;return t(["Saldi"])},analytics:e=>{const{normalize:t}=e;return t(["Analisi"])},apps:e=>{const{normalize:t}=e;return t(["App"])},components:e=>{const{normalize:t}=e;return t(["Componenti"])},elements:e=>{const{normalize:t}=e;return t(["Elementi"])},font_icons:e=>{const{normalize:t}=e;return t(["Icone dei caratteri"])},widgets:e=>{const{normalize:t}=e;return t(["Widget"])},tables:e=>{const{normalize:t}=e;return t(["Tabelle"])},datatables:e=>{const{normalize:t}=e;return t(["Tabelle dati"])},forms:e=>{const{normalize:t}=e;return t(["Forme"])},users:e=>{const{normalize:t}=e;return t(["Utenti"])},pages:e=>{const{normalize:t}=e;return t(["Pagine"])},authentication:e=>{const{normalize:t}=e;return t(["Autenticazione"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Trascinare e rilasciare"])},maps:e=>{const{normalize:t}=e;return t(["Mappe"])},charts:e=>{const{normalize:t}=e;return t(["Grafici"])},starter_kit:e=>{const{normalize:t}=e;return t(["Kit di partenza"])},documentation:e=>{const{normalize:t}=e;return t(["Documentazione"])},ui_kit:e=>{const{normalize:t}=e;return t(["Kit interfaccia utente"])},more:e=>{const{normalize:t}=e;return t(["Di pi\xF9"])},finance:e=>{const{normalize:t}=e;return t(["Finanza"])},crypto:e=>{const{normalize:t}=e;return t(["Cripto"])},chat:e=>{const{normalize:t}=e;return t(["Chiacchierare"])},mailbox:e=>{const{normalize:t}=e;return t(["cassetta postale"])},todo_list:e=>{const{normalize:t}=e;return t(["lista di cose da fare"])},notes:e=>{const{normalize:t}=e;return t(["Nota"])},scrumboard:e=>{const{normalize:t}=e;return t(["mischia"])},contacts:e=>{const{normalize:t}=e;return t(["Contatti"])},invoice:e=>{const{normalize:t}=e;return t(["fattura"])},list:e=>{const{normalize:t}=e;return t(["elenco"])},preview:e=>{const{normalize:t}=e;return t(["Anteprima"])},add:e=>{const{normalize:t}=e;return t(["Aggiungere"])},edit:e=>{const{normalize:t}=e;return t(["Modificare"])},calendar:e=>{const{normalize:t}=e;return t(["Calendario"])},tabs:e=>{const{normalize:t}=e;return t(["schede"])},accordions:e=>{const{normalize:t}=e;return t(["fisarmonica"])},modals:e=>{const{normalize:t}=e;return t(["modale"])},cards:e=>{const{normalize:t}=e;return t(["Carte"])},carousel:e=>{const{normalize:t}=e;return t(["giostra"])},countdown:e=>{const{normalize:t}=e;return t(["conto alla rovescia"])},counter:e=>{const{normalize:t}=e;return t(["contatori"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["Dolci avvisi"])},timeline:e=>{const{normalize:t}=e;return t(["sequenza temporale"])},notifications:e=>{const{normalize:t}=e;return t(["notifiche"])},media_object:e=>{const{normalize:t}=e;return t(["Oggetto multimediale"])},list_group:e=>{const{normalize:t}=e;return t(["ListGroup"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Tabelle dei prezzi"])},lightbox:e=>{const{normalize:t}=e;return t(["scatola luminosa"])},alerts:e=>{const{normalize:t}=e;return t(["Avvisi"])},avatar:e=>{const{normalize:t}=e;return t(["avatar"])},badges:e=>{const{normalize:t}=e;return t(["distintivi"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["briciole di pane"])},buttons:e=>{const{normalize:t}=e;return t(["pulsanti"])},button_groups:e=>{const{normalize:t}=e;return t(["Gruppi di pulsanti"])},color_library:e=>{const{normalize:t}=e;return t(["ColorLibrary"])},dropdown:e=>{const{normalize:t}=e;return t(["cadere in picchiata"])},infobox:e=>{const{normalize:t}=e;return t(["casella delle informazioni"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["caricatori"])},pagination:e=>{const{normalize:t}=e;return t(["impaginazione"])},popovers:e=>{const{normalize:t}=e;return t(["popover"])},progress_bar:e=>{const{normalize:t}=e;return t(["barra di avanzamento"])},search:e=>{const{normalize:t}=e;return t(["Ricerca"])},tooltips:e=>{const{normalize:t}=e;return t(["consigli sugli strumenti"])},treeview:e=>{const{normalize:t}=e;return t(["visualizzazione ad albero"])},typography:e=>{const{normalize:t}=e;return t(["Tipografia"])},basic:e=>{const{normalize:t}=e;return t(["di base"])},order_sorting:e=>{const{normalize:t}=e;return t(["Ordinamento degli ordini"])},multi_column:e=>{const{normalize:t}=e;return t(["Multicolonna"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Tabelle multiple"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. impaginazione"])},range_search:e=>{const{normalize:t}=e;return t(["Ricerca per intervallo"])},export:e=>{const{normalize:t}=e;return t(["esportare"])},input_group:e=>{const{normalize:t}=e;return t(["Gruppo di input"])},layouts:e=>{const{normalize:t}=e;return t(["layout"])},validation:e=>{const{normalize:t}=e;return t(["convalida"])},input_mask:e=>{const{normalize:t}=e;return t(["Maschera di immissione"])},select2:e=>{const{normalize:t}=e;return t(["Seleziona2"])},touchspin:e=>{const{normalize:t}=e;return t(["tocca girare"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Casella di controllo e radio"])},switches:e=>{const{normalize:t}=e;return t(["interruttori"])},wizards:e=>{const{normalize:t}=e;return t(["Maghi"])},file_upload:e=>{const{normalize:t}=e;return t(["upload di file"])},quill_editor:e=>{const{normalize:t}=e;return t(["Editor di penne"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Editor di ribasso"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Selettore data e intervallo"])},clipboard:e=>{const{normalize:t}=e;return t(["lavagna per appunti"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Utenti e pagine"])},profile:e=>{const{normalize:t}=e;return t(["profili"])},account_settings:e=>{const{normalize:t}=e;return t(["Impostazioni dell'account"])},knowledge_base:e=>{const{normalize:t}=e;return t(["base di conoscenza"])},contact_form:e=>{const{normalize:t}=e;return t(["Modulo di Contatto"])},faq:e=>{const{normalize:t}=e;return t(["FAQ"])},coming_soon:e=>{const{normalize:t}=e;return t(["Prossimamente"])},error:e=>{const{normalize:t}=e;return t(["errori"])},maintenence:e=>{const{normalize:t}=e;return t(["Manutenzione"])},login_boxed:e=>{const{normalize:t}=e;return t(["Accedi in scatola"])},register_boxed:e=>{const{normalize:t}=e;return t(["Registrati in scatola"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Sblocca in scatola"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Recupera ID inscatolato"])},login_cover:e=>{const{normalize:t}=e;return t(["Copertina di accesso"])},register_cover:e=>{const{normalize:t}=e;return t(["Copertina del registro"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Sblocca la copertura"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Recupera copertina ID"])},supports:e=>{const{normalize:t}=e;return t(["Supporta"])},login:e=>{const{normalize:t}=e;return t(["Login"])},lockscreen:e=>{const{normalize:t}=e;return t(["Blocca schermo"])},password_recovery:e=>{const{normalize:t}=e;return t(["Recupero della password"])},register:e=>{const{normalize:t}=e;return t(["Registrati"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Interfaccia utente"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tabelle E Moduli"])},columns_filter:e=>{const{normalize:t}=e;return t(["Filtro colonne"])},column_chooser:e=>{const{normalize:t}=e;return t(["Selettore di colonne"])},advanced:e=>{const{normalize:t}=e;return t(["Avanzate"])},checkbox:e=>{const{normalize:t}=e;return t(["Casella di controllo"])},skin:e=>{const{normalize:t}=e;return t(["Pelle"])},sticky_header:e=>{const{normalize:t}=e;return t(["Intestazione adesiva"])},clone_header:e=>{const{normalize:t}=e;return t(["Clona intestazione"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Prossimamente in scatola"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Copertina in arrivo"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Contattaci Inscatolato"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Contattaci Copertina"])}},ja:{dashboard:e=>{const{normalize:t}=e;return t(["\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9"])},sales:e=>{const{normalize:t}=e;return t(["\u8CA9\u58F2"])},analytics:e=>{const{normalize:t}=e;return t(["\u5206\u6790"])},apps:e=>{const{normalize:t}=e;return t(["\u30A2\u30D7\u30EA"])},components:e=>{const{normalize:t}=e;return t(["\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8"])},elements:e=>{const{normalize:t}=e;return t(["\u8981\u7D20"])},font_icons:e=>{const{normalize:t}=e;return t(["\u30D5\u30A9\u30F3\u30C8\u30A2\u30A4\u30B3\u30F3"])},widgets:e=>{const{normalize:t}=e;return t(["\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8"])},tables:e=>{const{normalize:t}=e;return t(["\u30C6\u30FC\u30D6\u30EB"])},datatables:e=>{const{normalize:t}=e;return t(["\u30C7\u30FC\u30BF\u30C6\u30FC\u30D6\u30EB"])},forms:e=>{const{normalize:t}=e;return t(["\u30D5\u30A9\u30FC\u30E0"])},users:e=>{const{normalize:t}=e;return t(["\u30E6\u30FC\u30B6\u30FC"])},pages:e=>{const{normalize:t}=e;return t(["\u30DA\u30FC\u30B8"])},authentication:e=>{const{normalize:t}=e;return t(["\u8A8D\u8A3C"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["\u30C9\u30E9\u30C3\u30B0\u30A2\u30F3\u30C9\u30C9\u30ED\u30C3\u30D7"])},maps:e=>{const{normalize:t}=e;return t(["\u30DE\u30C3\u30D7"])},charts:e=>{const{normalize:t}=e;return t(["\u30C1\u30E3\u30FC\u30C8"])},starter_kit:e=>{const{normalize:t}=e;return t(["\u30B9\u30BF\u30FC\u30BF\u30FC\u30AD\u30C3\u30C8"])},documentation:e=>{const{normalize:t}=e;return t(["\u30C9\u30AD\u30E5\u30E1\u30F3\u30C6\u30FC\u30B7\u30E7\u30F3"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI\u30AD\u30C3\u30C8"])},more:e=>{const{normalize:t}=e;return t(["\u3082\u3063\u3068"])},finance:e=>{const{normalize:t}=e;return t(["\u30D5\u30A1\u30A4\u30CA\u30F3\u30B9"])},crypto:e=>{const{normalize:t}=e;return t(["\u30AF\u30EA\u30D7\u30C8"])},chat:e=>{const{normalize:t}=e;return t(["\u30C1\u30E3\u30C3\u30C8"])},mailbox:e=>{const{normalize:t}=e;return t(["\u30E1\u30FC\u30EB\u30DC\u30C3\u30AF\u30B9"])},todo_list:e=>{const{normalize:t}=e;return t(["\u3084\u308B\u3053\u3068\u30EA\u30B9\u30C8"])},notes:e=>{const{normalize:t}=e;return t(["\u30CE\u30FC\u30C8"])},scrumboard:e=>{const{normalize:t}=e;return t(["\u30B9\u30AF\u30E9\u30E0\u30DC\u30FC\u30C9"])},contacts:e=>{const{normalize:t}=e;return t(["\u9023\u7D61\u5148"])},invoice:e=>{const{normalize:t}=e;return t(["\u8ACB\u6C42\u66F8"])},list:e=>{const{normalize:t}=e;return t(["\u30EA\u30B9\u30C8"])},preview:e=>{const{normalize:t}=e;return t(["\u30D7\u30EC\u30D3\u30E5\u30FC"])},add:e=>{const{normalize:t}=e;return t(["\u8FFD\u52A0"])},edit:e=>{const{normalize:t}=e;return t(["\u7DE8\u96C6"])},calendar:e=>{const{normalize:t}=e;return t(["\u30AB\u30EC\u30F3\u30C0\u30FC"])},tabs:e=>{const{normalize:t}=e;return t(["\u30BF\u30D6"])},accordions:e=>{const{normalize:t}=e;return t(["\u30A2\u30B3\u30FC\u30C7\u30A3\u30AA\u30F3"])},modals:e=>{const{normalize:t}=e;return t(["\u30E2\u30FC\u30C0\u30EB"])},cards:e=>{const{normalize:t}=e;return t(["\u30AB\u30FC\u30C9"])},carousel:e=>{const{normalize:t}=e;return t(["\u30AB\u30EB\u30FC\u30BB\u30EB"])},countdown:e=>{const{normalize:t}=e;return t(["\u79D2\u8AAD\u307F"])},counter:e=>{const{normalize:t}=e;return t(["\u30AB\u30A6\u30F3\u30BF\u30FC"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["\u7518\u3044\u30A2\u30E9\u30FC\u30C8"])},timeline:e=>{const{normalize:t}=e;return t(["\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3"])},notifications:e=>{const{normalize:t}=e;return t(["\u901A\u77E5"])},media_object:e=>{const{normalize:t}=e;return t(["MediaObject"])},list_group:e=>{const{normalize:t}=e;return t(["\u30EA\u30B9\u30C8\u30B0\u30EB\u30FC\u30D7"])},pricing_tables:e=>{const{normalize:t}=e;return t(["\u4FA1\u683C\u8868"])},lightbox:e=>{const{normalize:t}=e;return t(["\u30E9\u30A4\u30C8\u30DC\u30C3\u30AF\u30B9"])},alerts:e=>{const{normalize:t}=e;return t(["\u30A2\u30E9\u30FC\u30C8"])},avatar:e=>{const{normalize:t}=e;return t(["\u30A2\u30D0\u30BF\u30FC"])},badges:e=>{const{normalize:t}=e;return t(["\u30D0\u30C3\u30B8"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["\u30D1\u30F3\u7C89"])},buttons:e=>{const{normalize:t}=e;return t(["\u30DC\u30BF\u30F3"])},button_groups:e=>{const{normalize:t}=e;return t(["\u30DC\u30BF\u30F3\u30B0\u30EB\u30FC\u30D7"])},color_library:e=>{const{normalize:t}=e;return t(["\u30AB\u30E9\u30FC\u30E9\u30A4\u30D6\u30E9\u30EA"])},dropdown:e=>{const{normalize:t}=e;return t(["\u843D\u3061\u308B"])},infobox:e=>{const{normalize:t}=e;return t(["\u60C5\u5831\u30DC\u30C3\u30AF\u30B9"])},jumbotron:e=>{const{normalize:t}=e;return t(["\u30B8\u30E3\u30F3\u30DC\u30C8\u30ED\u30F3"])},loader:e=>{const{normalize:t}=e;return t(["\u30ED\u30FC\u30C0\u30FC"])},pagination:e=>{const{normalize:t}=e;return t(["\u30DA\u30FC\u30B8\u30CD\u30FC\u30B7\u30E7\u30F3"])},popovers:e=>{const{normalize:t}=e;return t(["\u30DD\u30C3\u30D7\u30AA\u30FC\u30D0\u30FC"])},progress_bar:e=>{const{normalize:t}=e;return t(["\u30D7\u30ED\u30B0\u30EC\u30B9\u30D0\u30FC"])},search:e=>{const{normalize:t}=e;return t(["\u63A2\u3059"])},tooltips:e=>{const{normalize:t}=e;return t(["\u30C4\u30FC\u30EB\u306E\u30D2\u30F3\u30C8"])},treeview:e=>{const{normalize:t}=e;return t(["\u30C4\u30EA\u30FC\u8868\u793A"])},typography:e=>{const{normalize:t}=e;return t(["\u30BF\u30A4\u30DD\u30B0\u30E9\u30D5\u30A3"])},basic:e=>{const{normalize:t}=e;return t(["\u57FA\u672C"])},order_sorting:e=>{const{normalize:t}=e;return t(["\u6CE8\u6587\u306E\u4E26\u3079\u66FF\u3048"])},multi_column:e=>{const{normalize:t}=e;return t(["\u30DE\u30EB\u30C1\u30AB\u30E9\u30E0"])},multiple_tables:e=>{const{normalize:t}=e;return t(["\u8907\u6570\u306E\u30C6\u30FC\u30D6\u30EB"])},alt_pagination:e=>{const{normalize:t}=e;return t(["\u4EE3\u66FF\u3002\u30DA\u30FC\u30B8\u30CD\u30FC\u30B7\u30E7\u30F3"])},range_search:e=>{const{normalize:t}=e;return t(["\u7BC4\u56F2\u691C\u7D22"])},export:e=>{const{normalize:t}=e;return t(["\u66F8\u304D\u51FA\u3059"])},input_group:e=>{const{normalize:t}=e;return t(["\u5165\u529B\u30B0\u30EB\u30FC\u30D7"])},layouts:e=>{const{normalize:t}=e;return t(["\u30EC\u30A4\u30A2\u30A6\u30C8"])},validation:e=>{const{normalize:t}=e;return t(["\u691C\u8A3C"])},input_mask:e=>{const{normalize:t}=e;return t(["\u5165\u529B\u30DE\u30B9\u30AF"])},select2:e=>{const{normalize:t}=e;return t(["Select2"])},touchspin:e=>{const{normalize:t}=e;return t(["\u30BF\u30C3\u30C1\u30B9\u30D4\u30F3"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u3068\u30E9\u30B8\u30AA"])},switches:e=>{const{normalize:t}=e;return t(["\u30B9\u30A4\u30C3\u30C1"])},wizards:e=>{const{normalize:t}=e;return t(["\u30A6\u30A3\u30B6\u30FC\u30C9"])},file_upload:e=>{const{normalize:t}=e;return t(["\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9"])},quill_editor:e=>{const{normalize:t}=e;return t(["\u30AF\u30A4\u30EB\u30A8\u30C7\u30A3\u30BF\u30FC"])},markdown_editor:e=>{const{normalize:t}=e;return t(["\u30DE\u30FC\u30AF\u30C0\u30A6\u30F3 \u30A8\u30C7\u30A3\u30BF"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["\u65E5\u4ED8\u3068\u7BC4\u56F2\u306E\u30D4\u30C3\u30AB\u30FC"])},clipboard:e=>{const{normalize:t}=e;return t(["\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9"])},user_and_pages:e=>{const{normalize:t}=e;return t(["\u30E6\u30FC\u30B6\u30FC\u3068\u30DA\u30FC\u30B8"])},profile:e=>{const{normalize:t}=e;return t(["\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB"])},account_settings:e=>{const{normalize:t}=e;return t(["\u30A2\u30AB\u30A6\u30F3\u30C8\u8A2D\u5B9A"])},knowledge_base:e=>{const{normalize:t}=e;return t(["\u77E5\u8B58\u30D9\u30FC\u30B9"])},contact_form:e=>{const{normalize:t}=e;return t(["\u304A\u554F\u3044\u5408\u308F\u305B\u30D5\u30A9\u30FC\u30E0"])},faq:e=>{const{normalize:t}=e;return t(["\u3088\u304F\u3042\u308B\u8CEA\u554F"])},coming_soon:e=>{const{normalize:t}=e;return t(["\u8FD1\u65E5\u516C\u958B"])},error:e=>{const{normalize:t}=e;return t(["\u30A8\u30E9\u30FC"])},maintenence:e=>{const{normalize:t}=e;return t(["\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9"])},login_boxed:e=>{const{normalize:t}=e;return t(["\u30ED\u30B0\u30A4\u30F3\u30DC\u30C3\u30AF\u30B9\u5316"])},register_boxed:e=>{const{normalize:t}=e;return t(["\u767B\u9332\u3059\u308B"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["\u7BB1\u5165\u308A\u306E\u30ED\u30C3\u30AF\u3092\u89E3\u9664"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Id \u306E\u5FA9\u5143\u30DC\u30C3\u30AF\u30B9\u5316"])},login_cover:e=>{const{normalize:t}=e;return t(["\u30ED\u30B0\u30A4\u30F3\u30AB\u30D0\u30FC"])},register_cover:e=>{const{normalize:t}=e;return t(["\u767B\u9332\u8868\u7D19"])},unlock_cover:e=>{const{normalize:t}=e;return t(["\u30AB\u30D0\u30FC\u306E\u30ED\u30C3\u30AF\u3092\u89E3\u9664"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["ID\u30AB\u30D0\u30FC\u3092\u56DE\u5FA9"])},supports:e=>{const{normalize:t}=e;return t(["\u30B5\u30DD\u30FC\u30C8"])},login:e=>{const{normalize:t}=e;return t(["\u30ED\u30B0\u30A4\u30F3"])},lockscreen:e=>{const{normalize:t}=e;return t(["\u30ED\u30C3\u30AF\u753B\u9762"])},password_recovery:e=>{const{normalize:t}=e;return t(["\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5FA9\u5143"])},register:e=>{const{normalize:t}=e;return t(["\u767B\u9332"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["\u30E6\u30FC\u30B6\u30FC\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["\u30C6\u30FC\u30D6\u30EB\u3068\u30D5\u30A9\u30FC\u30E0"])},columns_filter:e=>{const{normalize:t}=e;return t(["\u5217\u30D5\u30A3\u30EB\u30BF\u30FC"])},column_chooser:e=>{const{normalize:t}=e;return t(["\u5217\u306E\u9078\u629E"])},advanced:e=>{const{normalize:t}=e;return t(["\u9AD8\u5EA6"])},checkbox:e=>{const{normalize:t}=e;return t(["\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9"])},skin:e=>{const{normalize:t}=e;return t(["\u808C"])},sticky_header:e=>{const{normalize:t}=e;return t(["\u30B9\u30C6\u30A3\u30C3\u30AD\u30FC \u30D8\u30C3\u30C0\u30FC"])},clone_header:e=>{const{normalize:t}=e;return t(["\u30D8\u30C3\u30C0\u30FC\u306E\u8907\u88FD"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["\u8FD1\u65E5\u767A\u58F2\u4E88\u5B9A"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["\u8FD1\u65E5\u516C\u958B\u4E88\u5B9A\u306E\u8868\u7D19"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["\u304A\u554F\u3044\u5408\u308F\u305B"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["\u304A\u554F\u3044\u5408\u308F\u305B \u8868\u7D19"])}},pl:{dashboard:e=>{const{normalize:t}=e;return t(["Deska rozdzielcza"])},sales:e=>{const{normalize:t}=e;return t(["Sprzeda\u017C"])},analytics:e=>{const{normalize:t}=e;return t(["Analityka"])},apps:e=>{const{normalize:t}=e;return t(["Aplikacje"])},components:e=>{const{normalize:t}=e;return t(["sk\u0142adniki"])},elements:e=>{const{normalize:t}=e;return t(["Elementy"])},font_icons:e=>{const{normalize:t}=e;return t(["Ikony czcionek"])},widgets:e=>{const{normalize:t}=e;return t(["Wid\u017Cety"])},tables:e=>{const{normalize:t}=e;return t(["Sto\u0142y"])},datatables:e=>{const{normalize:t}=e;return t(["Tabele danych"])},forms:e=>{const{normalize:t}=e;return t(["Formularze"])},users:e=>{const{normalize:t}=e;return t(["U\u017Cytkownicy"])},pages:e=>{const{normalize:t}=e;return t(["Strony"])},authentication:e=>{const{normalize:t}=e;return t(["Uwierzytelnianie"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Przeci\u0105gnij i upu\u015B\u0107"])},maps:e=>{const{normalize:t}=e;return t(["Mapy"])},charts:e=>{const{normalize:t}=e;return t(["Wykresy"])},starter_kit:e=>{const{normalize:t}=e;return t(["Zestaw startowy"])},documentation:e=>{const{normalize:t}=e;return t(["Dokumentacja"])},ui_kit:e=>{const{normalize:t}=e;return t(["Zestaw interfejsu u\u017Cytkownika"])},more:e=>{const{normalize:t}=e;return t(["Wi\u0119cej"])},finance:e=>{const{normalize:t}=e;return t(["Finanse"])},crypto:e=>{const{normalize:t}=e;return t(["Kryptowaluta"])},chat:e=>{const{normalize:t}=e;return t(["czat"])},mailbox:e=>{const{normalize:t}=e;return t(["skrzynka pocztowa"])},todo_list:e=>{const{normalize:t}=e;return t(["Lista rzeczy do zrobienia"])},notes:e=>{const{normalize:t}=e;return t(["Notatka"])},scrumboard:e=>{const{normalize:t}=e;return t(["tablica informacyjna"])},contacts:e=>{const{normalize:t}=e;return t(["\u0141\u0105czno\u015B\u0107"])},invoice:e=>{const{normalize:t}=e;return t(["faktura"])},list:e=>{const{normalize:t}=e;return t(["lista"])},preview:e=>{const{normalize:t}=e;return t(["Zapowied\u017A"])},add:e=>{const{normalize:t}=e;return t(["Doda\u0107"])},edit:e=>{const{normalize:t}=e;return t(["Edytowa\u0107"])},calendar:e=>{const{normalize:t}=e;return t(["Kalendarz"])},tabs:e=>{const{normalize:t}=e;return t(["zak\u0142adki"])},accordions:e=>{const{normalize:t}=e;return t(["akordeon"])},modals:e=>{const{normalize:t}=e;return t(["modalny"])},cards:e=>{const{normalize:t}=e;return t(["Karty"])},carousel:e=>{const{normalize:t}=e;return t(["karuzela"])},countdown:e=>{const{normalize:t}=e;return t(["odliczanie"])},counter:e=>{const{normalize:t}=e;return t(["liczniki"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["S\u0142odkie alerty"])},timeline:e=>{const{normalize:t}=e;return t(["o\u015B czasu"])},notifications:e=>{const{normalize:t}=e;return t(["powiadomienia"])},media_object:e=>{const{normalize:t}=e;return t(["MediaObject"])},list_group:e=>{const{normalize:t}=e;return t(["GrupaList"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Tabele cenowe"])},lightbox:e=>{const{normalize:t}=e;return t(["lightbox"])},alerts:e=>{const{normalize:t}=e;return t(["Alerty"])},avatar:e=>{const{normalize:t}=e;return t(["awatara"])},badges:e=>{const{normalize:t}=e;return t(["odznaki"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["bu\u0142ka tarta"])},buttons:e=>{const{normalize:t}=e;return t(["guziki"])},button_groups:e=>{const{normalize:t}=e;return t(["Grupy przycisk\xF3w"])},color_library:e=>{const{normalize:t}=e;return t(["Biblioteka kolor\xF3w"])},dropdown:e=>{const{normalize:t}=e;return t(["upu\u015Bci\u0107"])},infobox:e=>{const{normalize:t}=e;return t(["skrzynka informacyjna"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["\u0142adowarki"])},pagination:e=>{const{normalize:t}=e;return t(["paginacja"])},popovers:e=>{const{normalize:t}=e;return t(["popovery"])},progress_bar:e=>{const{normalize:t}=e;return t(["pasek post\u0119pu"])},search:e=>{const{normalize:t}=e;return t(["Szukaj"])},tooltips:e=>{const{normalize:t}=e;return t(["wskaz\xF3wki dotycz\u0105ce narz\u0119dzi"])},treeview:e=>{const{normalize:t}=e;return t(["widok drzewa"])},typography:e=>{const{normalize:t}=e;return t(["Typografia"])},basic:e=>{const{normalize:t}=e;return t(["podstawowy"])},order_sorting:e=>{const{normalize:t}=e;return t(["Sortowanie zam\xF3wie\u0144"])},multi_column:e=>{const{normalize:t}=e;return t(["Wiele kolumn"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Wiele sto\u0142\xF3w"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. paginacja"])},range_search:e=>{const{normalize:t}=e;return t(["Wyszukiwanie zakresu"])},export:e=>{const{normalize:t}=e;return t(["eksport"])},input_group:e=>{const{normalize:t}=e;return t(["Grupa wej\u015Bciowa"])},layouts:e=>{const{normalize:t}=e;return t(["uk\u0142ady"])},validation:e=>{const{normalize:t}=e;return t(["walidacja"])},input_mask:e=>{const{normalize:t}=e;return t(["Maska wprowadzania"])},select2:e=>{const{normalize:t}=e;return t(["Wybierz2"])},touchspin:e=>{const{normalize:t}=e;return t(["wirowanie dotykowe"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Pole wyboru i radio"])},switches:e=>{const{normalize:t}=e;return t(["prze\u0142\u0105czniki"])},wizards:e=>{const{normalize:t}=e;return t(["Czarodzieje"])},file_upload:e=>{const{normalize:t}=e;return t(["Udost\u0119pnianie pliku"])},quill_editor:e=>{const{normalize:t}=e;return t(["Edytor Quill"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Edytor przecen"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Selektor dat i zakres\xF3w"])},clipboard:e=>{const{normalize:t}=e;return t(["schowek"])},user_and_pages:e=>{const{normalize:t}=e;return t(["U\u017Cytkownicy i strony"])},profile:e=>{const{normalize:t}=e;return t(["profile"])},account_settings:e=>{const{normalize:t}=e;return t(["Ustawienia konta"])},knowledge_base:e=>{const{normalize:t}=e;return t(["baza wiedzy"])},contact_form:e=>{const{normalize:t}=e;return t(["Formularz kontaktowy"])},faq:e=>{const{normalize:t}=e;return t(["FAQ"])},coming_soon:e=>{const{normalize:t}=e;return t(["Wkr\xF3tce"])},error:e=>{const{normalize:t}=e;return t(["b\u0142\u0119dy"])},maintenence:e=>{const{normalize:t}=e;return t(["konserwacja"])},login_boxed:e=>{const{normalize:t}=e;return t(["Zaloguj si\u0119 w pude\u0142ku"])},register_boxed:e=>{const{normalize:t}=e;return t(["Zarejestruj si\u0119 w pude\u0142ku"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Odblokuj pude\u0142ko"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Odzyskaj identyfikator w pude\u0142ku"])},login_cover:e=>{const{normalize:t}=e;return t(["Ok\u0142adka logowania"])},register_cover:e=>{const{normalize:t}=e;return t(["Zarejestruj si\u0119 ok\u0142adka"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Odblokuj pokryw\u0119"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Odzyskaj ok\u0142adk\u0119 identyfikatora"])},supports:e=>{const{normalize:t}=e;return t(["Obs\u0142uguje"])},login:e=>{const{normalize:t}=e;return t(["Zaloguj sie"])},lockscreen:e=>{const{normalize:t}=e;return t(["Ekran blokady"])},password_recovery:e=>{const{normalize:t}=e;return t(["Odzyskiwanie has\u0142a"])},register:e=>{const{normalize:t}=e;return t(["Zarejestrowa\u0107"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Interfejs u\u017Cytkownika"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tabele i formularze"])},columns_filter:e=>{const{normalize:t}=e;return t(["Filtr kolumn"])},column_chooser:e=>{const{normalize:t}=e;return t(["Wyb\xF3r kolumny"])},advanced:e=>{const{normalize:t}=e;return t(["Zaawansowany"])},checkbox:e=>{const{normalize:t}=e;return t(["Pole wyboru"])},skin:e=>{const{normalize:t}=e;return t(["Sk\xF3ra"])},sticky_header:e=>{const{normalize:t}=e;return t(["Lepki nag\u0142\xF3wek"])},clone_header:e=>{const{normalize:t}=e;return t(["Nag\u0142\xF3wek klonu"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Wkr\xF3tce w pude\u0142ku"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Ju\u017C wkr\xF3tce ok\u0142adka"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Skontaktuj si\u0119 z nami w pude\u0142ku"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Skontaktuj si\u0119 z nami Ok\u0142adka"])}},pt:{dashboard:e=>{const{normalize:t}=e;return t(["Painel"])},sales:e=>{const{normalize:t}=e;return t(["Vendas"])},analytics:e=>{const{normalize:t}=e;return t(["Analytics"])},apps:e=>{const{normalize:t}=e;return t(["Apps"])},components:e=>{const{normalize:t}=e;return t(["Componentes"])},elements:e=>{const{normalize:t}=e;return t(["Elementos"])},font_icons:e=>{const{normalize:t}=e;return t(["\xCDcones de fonte"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["Mesas"])},datatables:e=>{const{normalize:t}=e;return t(["Tabelas de dados"])},forms:e=>{const{normalize:t}=e;return t(["Formul\xE1rios"])},users:e=>{const{normalize:t}=e;return t(["Comercial"])},pages:e=>{const{normalize:t}=e;return t(["P\xE1ginas"])},authentication:e=>{const{normalize:t}=e;return t(["Autentica\xE7\xE3o"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Arrastar e soltar"])},maps:e=>{const{normalize:t}=e;return t(["Mapas"])},charts:e=>{const{normalize:t}=e;return t(["Gr\xE1ficos"])},starter_kit:e=>{const{normalize:t}=e;return t(["Kit iniciante"])},documentation:e=>{const{normalize:t}=e;return t(["Documenta\xE7\xE3o"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI Kit"])},more:e=>{const{normalize:t}=e;return t(["Mais"])},finance:e=>{const{normalize:t}=e;return t(["Finan\xE7a"])},crypto:e=>{const{normalize:t}=e;return t(["Criptografia"])},chat:e=>{const{normalize:t}=e;return t(["bater papo"])},mailbox:e=>{const{normalize:t}=e;return t(["caixa de correio"])},todo_list:e=>{const{normalize:t}=e;return t(["lista de afazeres"])},notes:e=>{const{normalize:t}=e;return t(["Observa\xE7\xE3o"])},scrumboard:e=>{const{normalize:t}=e;return t(["scrumboard"])},contacts:e=>{const{normalize:t}=e;return t(["Contatos"])},invoice:e=>{const{normalize:t}=e;return t(["fatura"])},list:e=>{const{normalize:t}=e;return t(["Lista"])},preview:e=>{const{normalize:t}=e;return t(["Visualizar"])},add:e=>{const{normalize:t}=e;return t(["Adicionar"])},edit:e=>{const{normalize:t}=e;return t(["Editar"])},calendar:e=>{const{normalize:t}=e;return t(["Calend\xE1rio"])},tabs:e=>{const{normalize:t}=e;return t(["abas"])},accordions:e=>{const{normalize:t}=e;return t(["acorde\xE3o"])},modals:e=>{const{normalize:t}=e;return t(["modal"])},cards:e=>{const{normalize:t}=e;return t(["Cart\xF5es"])},carousel:e=>{const{normalize:t}=e;return t(["carrossel"])},countdown:e=>{const{normalize:t}=e;return t(["contagem regressiva"])},counter:e=>{const{normalize:t}=e;return t(["contadores"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["Alertas doces"])},timeline:e=>{const{normalize:t}=e;return t(["Linha do tempo"])},notifications:e=>{const{normalize:t}=e;return t(["notifica\xE7\xF5es"])},media_object:e=>{const{normalize:t}=e;return t(["Objeto de m\xEDdia"])},list_group:e=>{const{normalize:t}=e;return t(["ListarGrupo"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Tabelas de pre\xE7os"])},lightbox:e=>{const{normalize:t}=e;return t(["caixa de luz"])},alerts:e=>{const{normalize:t}=e;return t(["Alertas"])},avatar:e=>{const{normalize:t}=e;return t(["avatar"])},badges:e=>{const{normalize:t}=e;return t(["Distintivos"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["Migalhas de p\xE3o"])},buttons:e=>{const{normalize:t}=e;return t(["bot\xF5es"])},button_groups:e=>{const{normalize:t}=e;return t(["Grupos de bot\xF5es"])},color_library:e=>{const{normalize:t}=e;return t(["ColorLibrary"])},dropdown:e=>{const{normalize:t}=e;return t(["suspenso"])},infobox:e=>{const{normalize:t}=e;return t(["caixa de informa\xE7\xE3o"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["carregadores"])},pagination:e=>{const{normalize:t}=e;return t(["pagina\xE7\xE3o"])},popovers:e=>{const{normalize:t}=e;return t(["popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["Barra de progresso"])},search:e=>{const{normalize:t}=e;return t(["Procurar"])},tooltips:e=>{const{normalize:t}=e;return t(["dicas de ferramentas"])},treeview:e=>{const{normalize:t}=e;return t(["vista em \xE1rvore"])},typography:e=>{const{normalize:t}=e;return t(["Tipografia"])},basic:e=>{const{normalize:t}=e;return t(["b\xE1sico"])},order_sorting:e=>{const{normalize:t}=e;return t(["Classifica\xE7\xE3o de pedidos"])},multi_column:e=>{const{normalize:t}=e;return t(["V\xE1rias colunas"])},multiple_tables:e=>{const{normalize:t}=e;return t(["V\xE1rias tabelas"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. pagina\xE7\xE3o"])},range_search:e=>{const{normalize:t}=e;return t(["Pesquisa de intervalo"])},export:e=>{const{normalize:t}=e;return t(["exportar"])},input_group:e=>{const{normalize:t}=e;return t(["Grupo de entrada"])},layouts:e=>{const{normalize:t}=e;return t(["layouts"])},validation:e=>{const{normalize:t}=e;return t(["valida\xE7\xE3o"])},input_mask:e=>{const{normalize:t}=e;return t(["M\xE1scara de entrada"])},select2:e=>{const{normalize:t}=e;return t(["Select2"])},touchspin:e=>{const{normalize:t}=e;return t(["toque girat\xF3rio"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Caixa de sele\xE7\xE3o e r\xE1dio"])},switches:e=>{const{normalize:t}=e;return t(["comuta"])},wizards:e=>{const{normalize:t}=e;return t(["Assistentes"])},file_upload:e=>{const{normalize:t}=e;return t(["upload de arquivo"])},quill_editor:e=>{const{normalize:t}=e;return t(["Editor de penas"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Editor de redu\xE7\xE3o"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Seletor de data e intervalo"])},clipboard:e=>{const{normalize:t}=e;return t(["prancheta"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Usu\xE1rios e p\xE1ginas"])},profile:e=>{const{normalize:t}=e;return t(["perfis"])},account_settings:e=>{const{normalize:t}=e;return t(["Configura\xE7\xF5es da conta"])},knowledge_base:e=>{const{normalize:t}=e;return t(["base de conhecimento"])},contact_form:e=>{const{normalize:t}=e;return t(["Formul\xE1rio de Contato"])},faq:e=>{const{normalize:t}=e;return t(["Perguntas frequentes"])},coming_soon:e=>{const{normalize:t}=e;return t(["Em breve"])},error:e=>{const{normalize:t}=e;return t(["erros"])},maintenence:e=>{const{normalize:t}=e;return t(["manuten\xE7\xE3o"])},login_boxed:e=>{const{normalize:t}=e;return t(["Caixa de login"])},register_boxed:e=>{const{normalize:t}=e;return t(["Registrar em caixa"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Desbloquear Caixa"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Recuperar ID em caixa"])},login_cover:e=>{const{normalize:t}=e;return t(["Capa de login"])},register_cover:e=>{const{normalize:t}=e;return t(["Capa de registro"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Desbloquear a tampa"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Recuperar capa de identifica\xE7\xE3o"])},supports:e=>{const{normalize:t}=e;return t(["Apoia"])},login:e=>{const{normalize:t}=e;return t(["Conecte-se"])},lockscreen:e=>{const{normalize:t}=e;return t(["Tela de bloqueio"])},password_recovery:e=>{const{normalize:t}=e;return t(["Recupera\xE7\xE3o de senha"])},register:e=>{const{normalize:t}=e;return t(["Registro"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Interface de usu\xE1rio"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tabelas e formul\xE1rios"])},columns_filter:e=>{const{normalize:t}=e;return t(["Filtro de Colunas"])},column_chooser:e=>{const{normalize:t}=e;return t(["Seletor de coluna"])},advanced:e=>{const{normalize:t}=e;return t(["Avan\xE7ado"])},checkbox:e=>{const{normalize:t}=e;return t(["Caixa de sele\xE7\xE3o"])},skin:e=>{const{normalize:t}=e;return t(["Pele"])},sticky_header:e=>{const{normalize:t}=e;return t(["Cabe\xE7alho Fixo"])},clone_header:e=>{const{normalize:t}=e;return t(["Clonar Cabe\xE7alho"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Em breve embalado"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Capa Em Breve"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Contacte-nos na caixa"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Contacte-nos capa"])}},ru:{dashboard:e=>{const{normalize:t}=e;return t(["\u0429\u0438\u0442\u043E\u043A \u043F\u0440\u0438\u0431\u043E\u0440\u043E\u0432"])},sales:e=>{const{normalize:t}=e;return t(["\u041F\u0440\u043E\u0434\u0430\u0436\u0438"])},analytics:e=>{const{normalize:t}=e;return t(["\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430"])},apps:e=>{const{normalize:t}=e;return t(["\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B"])},components:e=>{const{normalize:t}=e;return t(["\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B"])},elements:e=>{const{normalize:t}=e;return t(["\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u044B"])},font_icons:e=>{const{normalize:t}=e;return t(["\u0418\u043A\u043E\u043D\u043A\u0438 \u0448\u0440\u0438\u0444\u0442\u043E\u0432"])},widgets:e=>{const{normalize:t}=e;return t(["\u0412\u0438\u0434\u0436\u0435\u0442\u044B"])},tables:e=>{const{normalize:t}=e;return t(["\u0422\u0430\u0431\u043B\u0438\u0446\u044B"])},datatables:e=>{const{normalize:t}=e;return t(["\u0422\u0430\u0431\u043B\u0438\u0446\u044B \u0434\u0430\u043D\u043D\u044B\u0445"])},forms:e=>{const{normalize:t}=e;return t(["\u0424\u043E\u0440\u043C\u044B"])},users:e=>{const{normalize:t}=e;return t(["\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438"])},pages:e=>{const{normalize:t}=e;return t(["\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u044B"])},authentication:e=>{const{normalize:t}=e;return t(["\u0410\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C \u0438 \u043E\u0442\u043F\u0443\u0441\u0442\u0438\u0442\u044C"])},maps:e=>{const{normalize:t}=e;return t(["\u041A\u0430\u0440\u0442\u044B"])},charts:e=>{const{normalize:t}=e;return t(["\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B"])},starter_kit:e=>{const{normalize:t}=e;return t(["\u0421\u0442\u0430\u0440\u0442\u043E\u0432\u044B\u0439 \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0442"])},documentation:e=>{const{normalize:t}=e;return t(["\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044F"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI Kit"])},more:e=>{const{normalize:t}=e;return t(["\u0411\u043E\u043B\u0435\u0435"])},finance:e=>{const{normalize:t}=e;return t(["\u0424\u0438\u043D\u0430\u043D\u0441\u044B"])},crypto:e=>{const{normalize:t}=e;return t(["\u041A\u0440\u0438\u043F\u0442\u043E"])},chat:e=>{const{normalize:t}=e;return t(["\u0447\u0430\u0442"])},mailbox:e=>{const{normalize:t}=e;return t(["\u043F\u043E\u0447\u0442\u043E\u0432\u044B\u0439 \u044F\u0449\u0438\u043A"])},todo_list:e=>{const{normalize:t}=e;return t(["\u0441\u043F\u0438\u0441\u043E\u043A \u0434\u0435\u043B"])},notes:e=>{const{normalize:t}=e;return t(["\u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435"])},scrumboard:e=>{const{normalize:t}=e;return t(["\u0434\u043E\u0441\u043A\u0430 \u0434\u043B\u044F \u0441\u043A\u0435\u0439\u0442\u0431\u043E\u0440\u0434\u0430"])},contacts:e=>{const{normalize:t}=e;return t(["\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"])},invoice:e=>{const{normalize:t}=e;return t(["\u0441\u0447\u0435\u0442"])},list:e=>{const{normalize:t}=e;return t(["\u0441\u043F\u0438\u0441\u043E\u043A"])},preview:e=>{const{normalize:t}=e;return t(["\u041F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440"])},add:e=>{const{normalize:t}=e;return t(["\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C"])},edit:e=>{const{normalize:t}=e;return t(["\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C"])},calendar:e=>{const{normalize:t}=e;return t(["\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C"])},tabs:e=>{const{normalize:t}=e;return t(["\u0432\u043A\u043B\u0430\u0434\u043A\u0438"])},accordions:e=>{const{normalize:t}=e;return t(["\u0430\u043A\u043A\u043E\u0440\u0434\u0435\u043E\u043D"])},modals:e=>{const{normalize:t}=e;return t(["\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u044B\u0439"])},cards:e=>{const{normalize:t}=e;return t(["\u041A\u0430\u0440\u0442\u044B"])},carousel:e=>{const{normalize:t}=e;return t(["\u043A\u0430\u0440\u0443\u0441\u0435\u043B\u044C"])},countdown:e=>{const{normalize:t}=e;return t(["\u043E\u0431\u0440\u0430\u0442\u043D\u044B\u0439 \u043E\u0442\u0441\u0447\u0435\u0442"])},counter:e=>{const{normalize:t}=e;return t(["\u0441\u0447\u0435\u0442\u0447\u0438\u043A\u0438"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["\u0421\u043B\u0430\u0434\u043A\u0438\u0435 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F"])},timeline:e=>{const{normalize:t}=e;return t(["\u0433\u0440\u0430\u0444\u0438\u043A"])},notifications:e=>{const{normalize:t}=e;return t(["\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F"])},media_object:e=>{const{normalize:t}=e;return t(["\u041C\u0435\u0434\u0438\u0430\u041E\u0431\u044A\u0435\u043A\u0442"])},list_group:e=>{const{normalize:t}=e;return t(["\u0413\u0440\u0443\u043F\u043F\u0430 \u0441\u043F\u0438\u0441\u043A\u0430"])},pricing_tables:e=>{const{normalize:t}=e;return t(["\u0422\u0430\u0431\u043B\u0438\u0446\u044B \u0446\u0435\u043D"])},lightbox:e=>{const{normalize:t}=e;return t(["\u043B\u0430\u0439\u0442\u0431\u043E\u043A\u0441"])},alerts:e=>{const{normalize:t}=e;return t(["\u041E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F"])},avatar:e=>{const{normalize:t}=e;return t(["\u0430\u0432\u0430\u0442\u0430\u0440"])},badges:e=>{const{normalize:t}=e;return t(["\u0437\u043D\u0430\u0447\u043A\u0438"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["\u043F\u0430\u043D\u0438\u0440\u043E\u0432\u043E\u0447\u043D\u044B\u0435 \u0441\u0443\u0445\u0430\u0440\u0438"])},buttons:e=>{const{normalize:t}=e;return t(["\u043A\u043D\u043E\u043F\u043A\u0438"])},button_groups:e=>{const{normalize:t}=e;return t(["\u0413\u0440\u0443\u043F\u043F\u044B \u043A\u043D\u043E\u043F\u043E\u043A"])},color_library:e=>{const{normalize:t}=e;return t(["ColorLibrary"])},dropdown:e=>{const{normalize:t}=e;return t(["\u043F\u0430\u0434\u0430\u0442\u044C"])},infobox:e=>{const{normalize:t}=e;return t(["\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u043E\u043A\u043D\u043E"])},jumbotron:e=>{const{normalize:t}=e;return t(["\u0414\u0436\u0430\u043C\u0431\u043E\u0442\u0440\u043E\u043D"])},loader:e=>{const{normalize:t}=e;return t(["\u0433\u0440\u0443\u0437\u0447\u0438\u043A\u0438"])},pagination:e=>{const{normalize:t}=e;return t(["\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446"])},popovers:e=>{const{normalize:t}=e;return t(["\u0432\u0441\u043F\u043B\u044B\u0432\u0430\u044E\u0449\u0438\u0435 \u043E\u043A\u043D\u0430"])},progress_bar:e=>{const{normalize:t}=e;return t(["\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440"])},search:e=>{const{normalize:t}=e;return t(["\u041F\u043E\u0438\u0441\u043A"])},tooltips:e=>{const{normalize:t}=e;return t(["\u0441\u043E\u0432\u0435\u0442\u044B \u043F\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430\u043C"])},treeview:e=>{const{normalize:t}=e;return t(["\u0432 \u0432\u0438\u0434\u0435 \u0434\u0435\u0440\u0435\u0432\u0430"])},typography:e=>{const{normalize:t}=e;return t(["\u0422\u0438\u043F\u043E\u0433\u0440\u0430\u0444\u0438\u044F"])},basic:e=>{const{normalize:t}=e;return t(["\u0431\u0430\u0437\u043E\u0432\u044B\u0439"])},order_sorting:e=>{const{normalize:t}=e;return t(["\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430 \u0437\u0430\u043A\u0430\u0437\u043E\u0432"])},multi_column:e=>{const{normalize:t}=e;return t(["\u041D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432"])},multiple_tables:e=>{const{normalize:t}=e;return t(["\u041D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0442\u0430\u0431\u043B\u0438\u0446"])},alt_pagination:e=>{const{normalize:t}=e;return t(["\u0410\u043B\u044C\u0442. \u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446"])},range_search:e=>{const{normalize:t}=e;return t(["\u041F\u043E\u0438\u0441\u043A \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430"])},export:e=>{const{normalize:t}=e;return t(["\u044D\u043A\u0441\u043F\u043E\u0440\u0442"])},input_group:e=>{const{normalize:t}=e;return t(["\u0412\u0445\u043E\u0434\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430"])},layouts:e=>{const{normalize:t}=e;return t(["\u043C\u0430\u043A\u0435\u0442\u044B"])},validation:e=>{const{normalize:t}=e;return t(["\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430"])},input_mask:e=>{const{normalize:t}=e;return t(["\u041C\u0430\u0441\u043A\u0430 \u0432\u0432\u043E\u0434\u0430"])},select2:e=>{const{normalize:t}=e;return t(["\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u04352"])},touchspin:e=>{const{normalize:t}=e;return t(["\u0441\u0435\u043D\u0441\u043E\u0440\u043D\u043E\u0435 \u0432\u0440\u0430\u0449\u0435\u043D\u0438\u0435"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["\u0424\u043B\u0430\u0436\u043E\u043A \u0438 \u0440\u0430\u0434\u0438\u043E"])},switches:e=>{const{normalize:t}=e;return t(["\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u0438"])},wizards:e=>{const{normalize:t}=e;return t(["\u0412\u043E\u043B\u0448\u0435\u0431\u043D\u0438\u043A\u0438"])},file_upload:e=>{const{normalize:t}=e;return t(["\u0444\u0430\u0439\u043B \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D"])},quill_editor:e=>{const{normalize:t}=e;return t(["\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043F\u0435\u0440\u044C\u0435\u0432"])},markdown_editor:e=>{const{normalize:t}=e;return t(["\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0443\u0446\u0435\u043D\u043A\u0438"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["\u0412\u044B\u0431\u043E\u0440 \u0434\u0430\u0442\u044B \u0438 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430"])},clipboard:e=>{const{normalize:t}=e;return t(["\u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430"])},user_and_pages:e=>{const{normalize:t}=e;return t(["\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438 \u0438 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B"])},profile:e=>{const{normalize:t}=e;return t(["\u043F\u0440\u043E\u0444\u0438\u043B\u0438"])},account_settings:e=>{const{normalize:t}=e;return t(["\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438"])},knowledge_base:e=>{const{normalize:t}=e;return t(["\u0431\u0430\u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u0439"])},contact_form:e=>{const{normalize:t}=e;return t(["\u0424\u043E\u0440\u043C\u0430 \u043E\u0431\u0440\u0430\u0442\u043D\u043E\u0439 \u0441\u0432\u044F\u0437\u0438"])},faq:e=>{const{normalize:t}=e;return t(["\u0427\u0430\u0441\u0442\u043E \u0437\u0430\u0434\u0430\u0432\u0430\u0435\u043C\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B"])},coming_soon:e=>{const{normalize:t}=e;return t(["\u0412\u0441\u043A\u043E\u0440\u0435"])},error:e=>{const{normalize:t}=e;return t(["\u043E\u0448\u0438\u0431\u043A\u0438"])},maintenence:e=>{const{normalize:t}=e;return t(["\u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435"])},login_boxed:e=>{const{normalize:t}=e;return t(["\u0412\u043E\u0439\u0442\u0438"])},register_boxed:e=>{const{normalize:t}=e;return t(["\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0448\u0442\u0443\u0447\u043D\u043E\u0439 \u0443\u043F\u0430\u043A\u043E\u0432\u043A\u0435"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0432 \u0448\u0442\u0443\u0447\u043D\u043E\u0439 \u0443\u043F\u0430\u043A\u043E\u0432\u043A\u0435"])},login_cover:e=>{const{normalize:t}=e;return t(["\u041E\u0431\u043B\u043E\u0436\u043A\u0430 \u0434\u043B\u044F \u0432\u0445\u043E\u0434\u0430"])},register_cover:e=>{const{normalize:t}=e;return t(["\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u043B\u043E\u0436\u043A\u0443"])},unlock_cover:e=>{const{normalize:t}=e;return t(["\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u0440\u044B\u0448\u043A\u0443"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0431\u043B\u043E\u0436\u043A\u0443 \u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u0435\u043D\u0438\u044F \u043B\u0438\u0447\u043D\u043E\u0441\u0442\u0438"])},supports:e=>{const{normalize:t}=e;return t(["\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442"])},login:e=>{const{normalize:t}=e;return t(["\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F"])},lockscreen:e=>{const{normalize:t}=e;return t(["\u042D\u043A\u0440\u0430\u043D \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438"])},password_recovery:e=>{const{normalize:t}=e;return t(["\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F"])},register:e=>{const{normalize:t}=e;return t(["\u0440\u0435\u0433\u0438\u0441\u0442\u0440"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["\u0422\u0430\u0431\u043B\u0438\u0446\u044B \u0438 \u0444\u043E\u0440\u043C\u044B"])},columns_filter:e=>{const{normalize:t}=e;return t(["\u0424\u0438\u043B\u044C\u0442\u0440 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432"])},column_chooser:e=>{const{normalize:t}=e;return t(["\u0412\u044B\u0431\u043E\u0440 \u0441\u0442\u043E\u043B\u0431\u0446\u0430"])},advanced:e=>{const{normalize:t}=e;return t(["\u041F\u0435\u0440\u0435\u0434\u043E\u0432\u043E\u0439"])},checkbox:e=>{const{normalize:t}=e;return t(["\u0424\u043B\u0430\u0436\u043E\u043A"])},skin:e=>{const{normalize:t}=e;return t(["\u041A\u043E\u0436\u0430"])},sticky_header:e=>{const{normalize:t}=e;return t(["\u041B\u0438\u043F\u043A\u0438\u0439 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A"])},clone_header:e=>{const{normalize:t}=e;return t(["\u041A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["\u0421\u043A\u043E\u0440\u043E \u0432 \u0448\u0442\u0443\u0447\u043D\u043E\u0439 \u0443\u043F\u0430\u043A\u043E\u0432\u043A\u0435"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["\u0421\u043A\u043E\u0440\u043E \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u041E\u0431\u043B\u043E\u0436\u043A\u0430"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["\u0421\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["\u0421\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u041E\u0431\u043B\u043E\u0436\u043A\u0430"])}},sv:{dashboard:e=>{const{normalize:t}=e;return t(["instrumentbr\xE4da"])},sales:e=>{const{normalize:t}=e;return t(["F\xF6rs\xE4ljning"])},analytics:e=>{const{normalize:t}=e;return t(["Analytics"])},apps:e=>{const{normalize:t}=e;return t(["Appar"])},components:e=>{const{normalize:t}=e;return t(["Komponenter"])},elements:e=>{const{normalize:t}=e;return t(["Element"])},font_icons:e=>{const{normalize:t}=e;return t(["Teckensnitt ikoner"])},widgets:e=>{const{normalize:t}=e;return t(["Widgets"])},tables:e=>{const{normalize:t}=e;return t(["Tabeller"])},datatables:e=>{const{normalize:t}=e;return t(["Datatabeller"])},forms:e=>{const{normalize:t}=e;return t(["Blanketter"])},users:e=>{const{normalize:t}=e;return t(["Anv\xE4ndare"])},pages:e=>{const{normalize:t}=e;return t(["Sidor"])},authentication:e=>{const{normalize:t}=e;return t(["Autentisering"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["Dra och sl\xE4pp"])},maps:e=>{const{normalize:t}=e;return t(["Kartor"])},charts:e=>{const{normalize:t}=e;return t(["Diagram"])},starter_kit:e=>{const{normalize:t}=e;return t(["Startpaket"])},documentation:e=>{const{normalize:t}=e;return t(["Dokumentation"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI Kit"])},more:e=>{const{normalize:t}=e;return t(["Mer"])},finance:e=>{const{normalize:t}=e;return t(["Finansiera"])},crypto:e=>{const{normalize:t}=e;return t(["Krypto"])},chat:e=>{const{normalize:t}=e;return t(["chatt"])},mailbox:e=>{const{normalize:t}=e;return t(["brevl\xE5da"])},todo_list:e=>{const{normalize:t}=e;return t(["att g\xF6ra lista"])},notes:e=>{const{normalize:t}=e;return t(["Notera"])},scrumboard:e=>{const{normalize:t}=e;return t(["scrumboard"])},contacts:e=>{const{normalize:t}=e;return t(["Kontakter"])},invoice:e=>{const{normalize:t}=e;return t(["faktura"])},list:e=>{const{normalize:t}=e;return t(["lista"])},preview:e=>{const{normalize:t}=e;return t(["F\xF6rhandsvisning"])},add:e=>{const{normalize:t}=e;return t(["L\xE4gg till"])},edit:e=>{const{normalize:t}=e;return t(["Redigera"])},calendar:e=>{const{normalize:t}=e;return t(["Kalender"])},tabs:e=>{const{normalize:t}=e;return t(["flikar"])},accordions:e=>{const{normalize:t}=e;return t(["dragspel"])},modals:e=>{const{normalize:t}=e;return t(["modal"])},cards:e=>{const{normalize:t}=e;return t(["Kort"])},carousel:e=>{const{normalize:t}=e;return t(["karusell"])},countdown:e=>{const{normalize:t}=e;return t(["nedr\xE4kning"])},counter:e=>{const{normalize:t}=e;return t(["r\xE4knare"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["S\xF6ta varningar"])},timeline:e=>{const{normalize:t}=e;return t(["tidslinjen"])},notifications:e=>{const{normalize:t}=e;return t(["meddelanden"])},media_object:e=>{const{normalize:t}=e;return t(["MediaObject"])},list_group:e=>{const{normalize:t}=e;return t(["Listgrupp"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Pristabeller"])},lightbox:e=>{const{normalize:t}=e;return t(["ljusl\xE5da"])},alerts:e=>{const{normalize:t}=e;return t(["Varningar"])},avatar:e=>{const{normalize:t}=e;return t(["avatar"])},badges:e=>{const{normalize:t}=e;return t(["m\xE4rken"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["str\xF6br\xF6d"])},buttons:e=>{const{normalize:t}=e;return t(["knappar"])},button_groups:e=>{const{normalize:t}=e;return t(["Knappgrupper"])},color_library:e=>{const{normalize:t}=e;return t(["ColorLibrary"])},dropdown:e=>{const{normalize:t}=e;return t(["falla ner"])},infobox:e=>{const{normalize:t}=e;return t(["inforuta"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["lastare"])},pagination:e=>{const{normalize:t}=e;return t(["paginering"])},popovers:e=>{const{normalize:t}=e;return t(["popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["f\xF6rloppsindikator"])},search:e=>{const{normalize:t}=e;return t(["S\xF6k"])},tooltips:e=>{const{normalize:t}=e;return t(["verktygstips"])},treeview:e=>{const{normalize:t}=e;return t(["tr\xE4dvy"])},typography:e=>{const{normalize:t}=e;return t(["Typografi"])},basic:e=>{const{normalize:t}=e;return t(["grundl\xE4ggande"])},order_sorting:e=>{const{normalize:t}=e;return t(["Best\xE4llningssortering"])},multi_column:e=>{const{normalize:t}=e;return t(["Flera kolumn"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Flera bord"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. paginering"])},range_search:e=>{const{normalize:t}=e;return t(["Omr\xE5dess\xF6kning"])},export:e=>{const{normalize:t}=e;return t(["exportera"])},input_group:e=>{const{normalize:t}=e;return t(["Inmatningsgrupp"])},layouts:e=>{const{normalize:t}=e;return t(["layouter"])},validation:e=>{const{normalize:t}=e;return t(["godk\xE4nnande"])},input_mask:e=>{const{normalize:t}=e;return t(["Ing\xE5ngsmask"])},select2:e=>{const{normalize:t}=e;return t(["V\xE4lj2"])},touchspin:e=>{const{normalize:t}=e;return t(["ber\xF6ringssnurr"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Kryssruta och radio"])},switches:e=>{const{normalize:t}=e;return t(["v\xE4xlar"])},wizards:e=>{const{normalize:t}=e;return t(["Trollkarlar"])},file_upload:e=>{const{normalize:t}=e;return t(["filuppladdning"])},quill_editor:e=>{const{normalize:t}=e;return t(["Quill redakt\xF6r"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Markdown editor"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Datum- och intervallv\xE4ljare"])},clipboard:e=>{const{normalize:t}=e;return t(["klippbr\xE4da"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Anv\xE4ndare och sidor"])},profile:e=>{const{normalize:t}=e;return t(["profiler"])},account_settings:e=>{const{normalize:t}=e;return t(["Kontoinst\xE4llningar"])},knowledge_base:e=>{const{normalize:t}=e;return t(["kunskapsbas"])},contact_form:e=>{const{normalize:t}=e;return t(["Kontaktformul\xE4r"])},faq:e=>{const{normalize:t}=e;return t(["FAQ"])},coming_soon:e=>{const{normalize:t}=e;return t(["Kommer snart"])},error:e=>{const{normalize:t}=e;return t(["fel"])},maintenence:e=>{const{normalize:t}=e;return t(["underh\xE5ll"])},login_boxed:e=>{const{normalize:t}=e;return t(["Inloggning Boxed"])},register_boxed:e=>{const{normalize:t}=e;return t(["Registrera Boxed"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["L\xE5s upp Boxed"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["\xC5terst\xE4ll ID Boxed"])},login_cover:e=>{const{normalize:t}=e;return t(["Inloggningsskydd"])},register_cover:e=>{const{normalize:t}=e;return t(["Register Cover"])},unlock_cover:e=>{const{normalize:t}=e;return t(["L\xE5s upp locket"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["\xC5terst\xE4ll ID-omslag"])},supports:e=>{const{normalize:t}=e;return t(["St\xF6der"])},login:e=>{const{normalize:t}=e;return t(["Logga in"])},lockscreen:e=>{const{normalize:t}=e;return t(["L\xE5ssk\xE4rm"])},password_recovery:e=>{const{normalize:t}=e;return t(["\xC5terst\xE4llning av l\xF6senord"])},register:e=>{const{normalize:t}=e;return t(["Registrera"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Anv\xE4ndargr\xE4nssnitt"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tabeller Och Blanketter"])},columns_filter:e=>{const{normalize:t}=e;return t(["Kolumner Filter"])},column_chooser:e=>{const{normalize:t}=e;return t(["Kolumnv\xE4ljare"])},advanced:e=>{const{normalize:t}=e;return t(["Avancerad"])},checkbox:e=>{const{normalize:t}=e;return t(["Kryssruta"])},skin:e=>{const{normalize:t}=e;return t(["Hud"])},sticky_header:e=>{const{normalize:t}=e;return t(["Sticky Header"])},clone_header:e=>{const{normalize:t}=e;return t(["Clone Header"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["Kommer snart i box"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["Kommer snart omslag"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Kontakta oss Boxed"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Kontakta oss Cover"])}},tr:{dashboard:e=>{const{normalize:t}=e;return t(["G\xF6sterge Paneli"])},sales:e=>{const{normalize:t}=e;return t(["Sat\u0131\u015F"])},analytics:e=>{const{normalize:t}=e;return t(["Analitik"])},apps:e=>{const{normalize:t}=e;return t(["uygulamalar"])},components:e=>{const{normalize:t}=e;return t(["Bile\u015Fenler"])},elements:e=>{const{normalize:t}=e;return t(["Elementler"])},font_icons:e=>{const{normalize:t}=e;return t(["Yaz\u0131 Tipi Simgeleri"])},widgets:e=>{const{normalize:t}=e;return t(["Widget'lar"])},tables:e=>{const{normalize:t}=e;return t(["tablolar"])},datatables:e=>{const{normalize:t}=e;return t(["Veri Tablolar\u0131"])},forms:e=>{const{normalize:t}=e;return t(["Formlar"])},users:e=>{const{normalize:t}=e;return t(["Kullan\u0131c\u0131lar"])},pages:e=>{const{normalize:t}=e;return t(["Sayfalar"])},authentication:e=>{const{normalize:t}=e;return t(["kimlik do\u011Frulama"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["S\xFCr\xFCkle ve b\u0131rak"])},maps:e=>{const{normalize:t}=e;return t(["Haritalar"])},charts:e=>{const{normalize:t}=e;return t(["Grafikler"])},starter_kit:e=>{const{normalize:t}=e;return t(["Ba\u015Flang\u0131\xE7 kiti"])},documentation:e=>{const{normalize:t}=e;return t(["belgeler"])},ui_kit:e=>{const{normalize:t}=e;return t(["UI Kiti"])},more:e=>{const{normalize:t}=e;return t(["Daha"])},finance:e=>{const{normalize:t}=e;return t(["finans"])},crypto:e=>{const{normalize:t}=e;return t(["Kripto"])},chat:e=>{const{normalize:t}=e;return t(["sohbet"])},mailbox:e=>{const{normalize:t}=e;return t(["posta kutusu"])},todo_list:e=>{const{normalize:t}=e;return t(["yap\u0131lacaklar listesi"])},notes:e=>{const{normalize:t}=e;return t(["Not"])},scrumboard:e=>{const{normalize:t}=e;return t(["scramboard"])},contacts:e=>{const{normalize:t}=e;return t(["Ki\u015Filer"])},invoice:e=>{const{normalize:t}=e;return t(["fatura"])},list:e=>{const{normalize:t}=e;return t(["liste"])},preview:e=>{const{normalize:t}=e;return t(["\xD6n izleme"])},add:e=>{const{normalize:t}=e;return t(["Ekle"])},edit:e=>{const{normalize:t}=e;return t(["D\xFCzenlemek"])},calendar:e=>{const{normalize:t}=e;return t(["Takvim"])},tabs:e=>{const{normalize:t}=e;return t(["sekmeler"])},accordions:e=>{const{normalize:t}=e;return t(["akordeon"])},modals:e=>{const{normalize:t}=e;return t(["modal"])},cards:e=>{const{normalize:t}=e;return t(["kartlar"])},carousel:e=>{const{normalize:t}=e;return t(["atl\u0131kar\u0131nca"])},countdown:e=>{const{normalize:t}=e;return t(["geri say\u0131m"])},counter:e=>{const{normalize:t}=e;return t(["saya\xE7lar"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["Tatl\u0131 uyar\u0131lar"])},timeline:e=>{const{normalize:t}=e;return t(["zaman \xE7izelgesi"])},notifications:e=>{const{normalize:t}=e;return t(["bildirimler"])},media_object:e=>{const{normalize:t}=e;return t(["Medyanesnesi"])},list_group:e=>{const{normalize:t}=e;return t(["Liste Grubu"])},pricing_tables:e=>{const{normalize:t}=e;return t(["Fiyatland\u0131rma Tablolar\u0131"])},lightbox:e=>{const{normalize:t}=e;return t(["hafif kutu"])},alerts:e=>{const{normalize:t}=e;return t(["uyar\u0131lar"])},avatar:e=>{const{normalize:t}=e;return t(["avatar"])},badges:e=>{const{normalize:t}=e;return t(["Rozetler"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["galeta unu"])},buttons:e=>{const{normalize:t}=e;return t(["d\xFC\u011Fmeler"])},button_groups:e=>{const{normalize:t}=e;return t(["D\xFC\u011Fme Gruplar\u0131"])},color_library:e=>{const{normalize:t}=e;return t(["Renk Kitapl\u0131\u011F\u0131"])},dropdown:e=>{const{normalize:t}=e;return t(["y\u0131k\u0131lmak"])},infobox:e=>{const{normalize:t}=e;return t(["bilgi kutusu"])},jumbotron:e=>{const{normalize:t}=e;return t(["jumbotron"])},loader:e=>{const{normalize:t}=e;return t(["y\xFCkleyiciler"])},pagination:e=>{const{normalize:t}=e;return t(["sayfaland\u0131rma"])},popovers:e=>{const{normalize:t}=e;return t(["popovers"])},progress_bar:e=>{const{normalize:t}=e;return t(["ilerleme \xE7ubu\u011Fu"])},search:e=>{const{normalize:t}=e;return t(["Arama"])},tooltips:e=>{const{normalize:t}=e;return t(["ara\xE7 ipu\xE7lar\u0131"])},treeview:e=>{const{normalize:t}=e;return t(["a\u011Fa\xE7 g\xF6r\xFCn\xFCm\xFC"])},typography:e=>{const{normalize:t}=e;return t(["tipografi"])},basic:e=>{const{normalize:t}=e;return t(["temel"])},order_sorting:e=>{const{normalize:t}=e;return t(["Sipari\u015F s\u0131ralama"])},multi_column:e=>{const{normalize:t}=e;return t(["\xC7oklu S\xFCtun"])},multiple_tables:e=>{const{normalize:t}=e;return t(["Birden \xE7ok tablo"])},alt_pagination:e=>{const{normalize:t}=e;return t(["Alt. sayfaland\u0131rma"])},range_search:e=>{const{normalize:t}=e;return t(["Aral\u0131k Arama"])},export:e=>{const{normalize:t}=e;return t(["ihracat"])},input_group:e=>{const{normalize:t}=e;return t(["Giri\u015F Grubu"])},layouts:e=>{const{normalize:t}=e;return t(["d\xFCzenler"])},validation:e=>{const{normalize:t}=e;return t(["do\u011Frulama"])},input_mask:e=>{const{normalize:t}=e;return t(["Giri\u015F maskesi"])},select2:e=>{const{normalize:t}=e;return t(["Se\xE72"])},touchspin:e=>{const{normalize:t}=e;return t(["dokunma d\xF6n\xFC\u015F\xFC"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["Onay Kutusu ve Radyo"])},switches:e=>{const{normalize:t}=e;return t(["anahtarlar"])},wizards:e=>{const{normalize:t}=e;return t(["sihirbazlar"])},file_upload:e=>{const{normalize:t}=e;return t(["dosya y\xFCkleme"])},quill_editor:e=>{const{normalize:t}=e;return t(["t\xFCy d\xFCzenleyici"])},markdown_editor:e=>{const{normalize:t}=e;return t(["Markdown d\xFCzenleyicisi"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["Tarih ve Aral\u0131k Se\xE7ici"])},clipboard:e=>{const{normalize:t}=e;return t(["klip kurulu"])},user_and_pages:e=>{const{normalize:t}=e;return t(["Kullan\u0131c\u0131lar ve Sayfalar"])},profile:e=>{const{normalize:t}=e;return t(["profiller"])},account_settings:e=>{const{normalize:t}=e;return t(["Hesap ayarlar\u0131"])},knowledge_base:e=>{const{normalize:t}=e;return t(["bilgi taban\u0131"])},contact_form:e=>{const{normalize:t}=e;return t(["\u0130leti\u015Fim Formu"])},faq:e=>{const{normalize:t}=e;return t(["SSS"])},coming_soon:e=>{const{normalize:t}=e;return t(["\xC7ok yak\u0131nda"])},error:e=>{const{normalize:t}=e;return t(["hatalar"])},maintenence:e=>{const{normalize:t}=e;return t(["bak\u0131m"])},login_boxed:e=>{const{normalize:t}=e;return t(["Giri\u015F Kutusu"])},register_boxed:e=>{const{normalize:t}=e;return t(["Kay\u0131tl\u0131 Kutulu"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["Kutunun Kilidini A\xE7"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["Kutulu Kimli\u011Fi Kurtar"])},login_cover:e=>{const{normalize:t}=e;return t(["Giri\u015F Kapa\u011F\u0131"])},register_cover:e=>{const{normalize:t}=e;return t(["Kay\u0131t Kapa\u011F\u0131"])},unlock_cover:e=>{const{normalize:t}=e;return t(["Kapa\u011F\u0131n Kilidini A\xE7"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["Kimlik Kapa\u011F\u0131n\u0131 Kurtar"])},supports:e=>{const{normalize:t}=e;return t(["destekler"])},login:e=>{const{normalize:t}=e;return t(["Giri\u015F yapmak"])},lockscreen:e=>{const{normalize:t}=e;return t(["kilit ekran\u0131"])},password_recovery:e=>{const{normalize:t}=e;return t(["\u015Eifre kurtarma"])},register:e=>{const{normalize:t}=e;return t(["Kay\u0131t ol"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["Kullan\u0131c\u0131 aray\xFCz\xFC"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["Tablolar ve Formlar"])},columns_filter:e=>{const{normalize:t}=e;return t(["S\xFCtun Filtresi"])},column_chooser:e=>{const{normalize:t}=e;return t(["S\xFCtun Se\xE7ici"])},advanced:e=>{const{normalize:t}=e;return t(["Geli\u015Fmi\u015F"])},checkbox:e=>{const{normalize:t}=e;return t(["onay kutusu"])},skin:e=>{const{normalize:t}=e;return t(["Deri"])},sticky_header:e=>{const{normalize:t}=e;return t(["Yap\u0131\u015Fkan Ba\u015Fl\u0131k"])},clone_header:e=>{const{normalize:t}=e;return t(["Klon Ba\u015Fl\u0131\u011F\u0131"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["\xC7ok Yak\u0131nda Kutulu"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["\xC7ok Yak\u0131nda Kapak"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["Bize Ula\u015F\u0131n Kutulu"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["Bize Ula\u015F\u0131n Kapak"])}},zh:{dashboard:e=>{const{normalize:t}=e;return t(["\u4EEA\u8868\u76D8"])},sales:e=>{const{normalize:t}=e;return t(["\u9500\u552E\u91CF"])},analytics:e=>{const{normalize:t}=e;return t(["\u5206\u6790"])},apps:e=>{const{normalize:t}=e;return t(["\u5E94\u7528"])},components:e=>{const{normalize:t}=e;return t(["\u6210\u5206"])},elements:e=>{const{normalize:t}=e;return t(["\u5143\u7D20"])},font_icons:e=>{const{normalize:t}=e;return t(["\u5B57\u4F53\u56FE\u6807"])},widgets:e=>{const{normalize:t}=e;return t(["\u5C0F\u5DE5\u5177"])},tables:e=>{const{normalize:t}=e;return t(["\u8868"])},datatables:e=>{const{normalize:t}=e;return t(["\u6570\u636E\u8868"])},forms:e=>{const{normalize:t}=e;return t(["\u5F62\u5F0F"])},users:e=>{const{normalize:t}=e;return t(["\u7528\u6237"])},pages:e=>{const{normalize:t}=e;return t(["\u9875\u9762"])},authentication:e=>{const{normalize:t}=e;return t(["\u9A8C\u8BC1"])},drag_and_drop:e=>{const{normalize:t}=e;return t(["\u62D6\u653E"])},maps:e=>{const{normalize:t}=e;return t(["\u5730\u56FE"])},charts:e=>{const{normalize:t}=e;return t(["\u56FE\u8868"])},starter_kit:e=>{const{normalize:t}=e;return t(["\u5165\u95E8\u5957\u4EF6"])},documentation:e=>{const{normalize:t}=e;return t(["\u6587\u6863"])},ui_kit:e=>{const{normalize:t}=e;return t(["\u7528\u6237\u754C\u9762\u5957\u4EF6"])},more:e=>{const{normalize:t}=e;return t(["\u66F4\u591A\u7684"])},finance:e=>{const{normalize:t}=e;return t(["\u91D1\u878D"])},crypto:e=>{const{normalize:t}=e;return t(["\u52A0\u5BC6\u8D27\u5E01"])},chat:e=>{const{normalize:t}=e;return t(["\u804A\u5929"])},mailbox:e=>{const{normalize:t}=e;return t(["\u90AE\u7BB1"])},todo_list:e=>{const{normalize:t}=e;return t(["\u5F85\u529E\u4E8B\u9879\u5217\u8868"])},notes:e=>{const{normalize:t}=e;return t(["\u7B14\u8BB0"])},scrumboard:e=>{const{normalize:t}=e;return t(["\u526A\u8D34\u677F"])},contacts:e=>{const{normalize:t}=e;return t(["\u8054\u7CFB\u4EBA"])},invoice:e=>{const{normalize:t}=e;return t(["\u53D1\u7968"])},list:e=>{const{normalize:t}=e;return t(["\u5217\u8868"])},preview:e=>{const{normalize:t}=e;return t(["\u9884\u4E60"])},add:e=>{const{normalize:t}=e;return t(["\u6DFB\u52A0"])},edit:e=>{const{normalize:t}=e;return t(["\u7F16\u8F91"])},calendar:e=>{const{normalize:t}=e;return t(["\u65E5\u5386"])},tabs:e=>{const{normalize:t}=e;return t(["\u6807\u7B7E"])},accordions:e=>{const{normalize:t}=e;return t(["\u624B\u98CE\u7434"])},modals:e=>{const{normalize:t}=e;return t(["\u6A21\u6001"])},cards:e=>{const{normalize:t}=e;return t(["\u724C"])},carousel:e=>{const{normalize:t}=e;return t(["\u65CB\u8F6C\u6728\u9A6C"])},countdown:e=>{const{normalize:t}=e;return t(["\u5012\u6570"])},counter:e=>{const{normalize:t}=e;return t(["\u67DC\u53F0"])},sweet_alerts:e=>{const{normalize:t}=e;return t(["\u751C\u871C\u7684\u8B66\u62A5"])},timeline:e=>{const{normalize:t}=e;return t(["\u65F6\u95F4\u7EBF"])},notifications:e=>{const{normalize:t}=e;return t(["\u901A\u77E5"])},media_object:e=>{const{normalize:t}=e;return t(["\u5A92\u4F53\u5BF9\u8C61"])},list_group:e=>{const{normalize:t}=e;return t(["\u5217\u8868\u7EC4"])},pricing_tables:e=>{const{normalize:t}=e;return t(["\u5B9A\u4EF7\u8868"])},lightbox:e=>{const{normalize:t}=e;return t(["\u706F\u7BB1"])},alerts:e=>{const{normalize:t}=e;return t(["\u8B66\u62A5"])},avatar:e=>{const{normalize:t}=e;return t(["\u963F\u51E1\u8FBE"])},badges:e=>{const{normalize:t}=e;return t(["\u5FBD\u7AE0"])},breadcrumbs:e=>{const{normalize:t}=e;return t(["\u9762\u5305\u5C51"])},buttons:e=>{const{normalize:t}=e;return t(["\u7EBD\u6263"])},button_groups:e=>{const{normalize:t}=e;return t(["\u6309\u94AE\u7EC4"])},color_library:e=>{const{normalize:t}=e;return t(["\u989C\u8272\u5E93"])},dropdown:e=>{const{normalize:t}=e;return t(["\u843D\u4E0B"])},infobox:e=>{const{normalize:t}=e;return t(["\u4FE1\u606F\u6846"])},jumbotron:e=>{const{normalize:t}=e;return t(["\u8D85\u5927\u5C4F\u5E55"])},loader:e=>{const{normalize:t}=e;return t(["\u88C5\u8F7D\u673A"])},pagination:e=>{const{normalize:t}=e;return t(["\u5206\u9875"])},popovers:e=>{const{normalize:t}=e;return t(["\u7EA6\u590F\u514B\u5E03\u4E01"])},progress_bar:e=>{const{normalize:t}=e;return t(["\u8FDB\u5EA6\u6761"])},search:e=>{const{normalize:t}=e;return t(["\u641C\u7D22"])},tooltips:e=>{const{normalize:t}=e;return t(["\u5DE5\u5177\u63D0\u793A"])},treeview:e=>{const{normalize:t}=e;return t(["\u6811\u89C6\u56FE"])},typography:e=>{const{normalize:t}=e;return t(["\u6392\u7248"])},basic:e=>{const{normalize:t}=e;return t(["\u57FA\u672C\u7684"])},order_sorting:e=>{const{normalize:t}=e;return t(["\u8BA2\u5355\u6392\u5E8F"])},multi_column:e=>{const{normalize:t}=e;return t(["\u591A\u5217"])},multiple_tables:e=>{const{normalize:t}=e;return t(["\u591A\u4E2A\u8868"])},alt_pagination:e=>{const{normalize:t}=e;return t(["\u66FF\u4EE3\u3002\u5206\u9875"])},range_search:e=>{const{normalize:t}=e;return t(["\u8303\u56F4\u641C\u7D22"])},export:e=>{const{normalize:t}=e;return t(["\u51FA\u53E3"])},input_group:e=>{const{normalize:t}=e;return t(["\u8F93\u5165\u7EC4"])},layouts:e=>{const{normalize:t}=e;return t(["\u5E03\u5C40"])},validation:e=>{const{normalize:t}=e;return t(["\u9A8C\u8BC1"])},input_mask:e=>{const{normalize:t}=e;return t(["\u8F93\u5165\u63A9\u7801"])},select2:e=>{const{normalize:t}=e;return t(["\u9009\u62E92"])},touchspin:e=>{const{normalize:t}=e;return t(["\u89E6\u6478\u65CB\u8F6C"])},checkbox_and_radio:e=>{const{normalize:t}=e;return t(["\u590D\u9009\u6846\u548C\u6536\u97F3\u673A"])},switches:e=>{const{normalize:t}=e;return t(["\u5F00\u5173"])},wizards:e=>{const{normalize:t}=e;return t(["\u5947\u624D"])},file_upload:e=>{const{normalize:t}=e;return t(["\u4E0A\u4F20\u6587\u4EF6"])},quill_editor:e=>{const{normalize:t}=e;return t(["\u7FBD\u6BDB\u7B14\u7F16\u8F91\u5668"])},markdown_editor:e=>{const{normalize:t}=e;return t(["\u964D\u4EF7\u7F16\u8F91\u5668"])},date_and_range_picker:e=>{const{normalize:t}=e;return t(["\u65E5\u671F\u548C\u8303\u56F4\u9009\u62E9\u5668"])},clipboard:e=>{const{normalize:t}=e;return t(["\u526A\u8D34\u677F"])},user_and_pages:e=>{const{normalize:t}=e;return t(["\u7528\u6237\u548C\u9875\u9762"])},profile:e=>{const{normalize:t}=e;return t(["\u8F6E\u5ED3"])},account_settings:e=>{const{normalize:t}=e;return t(["\u5E10\u53F7\u8BBE\u5B9A"])},knowledge_base:e=>{const{normalize:t}=e;return t(["\u77E5\u8BC6\u5E93"])},contact_form:e=>{const{normalize:t}=e;return t(["\u8054\u7CFB\u8868"])},faq:e=>{const{normalize:t}=e;return t(["\u5E38\u95EE\u95EE\u9898"])},coming_soon:e=>{const{normalize:t}=e;return t(["\u5FEB\u6765\u4E86"])},error:e=>{const{normalize:t}=e;return t(["\u9519\u8BEF"])},maintenence:e=>{const{normalize:t}=e;return t(["\u7EF4\u62A4"])},login_boxed:e=>{const{normalize:t}=e;return t(["\u767B\u5F55\u76D2\u88C5"])},register_boxed:e=>{const{normalize:t}=e;return t(["\u6CE8\u518C\u76D2\u88C5"])},unlock_boxed:e=>{const{normalize:t}=e;return t(["\u89E3\u9501\u76D2\u88C5"])},recover_id_boxed:e=>{const{normalize:t}=e;return t(["\u6062\u590D\u76D2\u88C5 ID"])},login_cover:e=>{const{normalize:t}=e;return t(["\u767B\u5F55\u5C01\u9762"])},register_cover:e=>{const{normalize:t}=e;return t(["\u6CE8\u518C\u5C01\u9762"])},unlock_cover:e=>{const{normalize:t}=e;return t(["\u89E3\u9501\u5C01\u9762"])},recover_id_cover:e=>{const{normalize:t}=e;return t(["\u6062\u590D\u8EAB\u4EFD\u8BC1\u5C01\u9762"])},supports:e=>{const{normalize:t}=e;return t(["\u652F\u6301"])},login:e=>{const{normalize:t}=e;return t(["\u767B\u5F55"])},lockscreen:e=>{const{normalize:t}=e;return t(["\u9501\u5C4F"])},password_recovery:e=>{const{normalize:t}=e;return t(["\u627E\u56DE\u5BC6\u7801"])},register:e=>{const{normalize:t}=e;return t(["\u767B\u8BB0"])},404:e=>{const{normalize:t}=e;return t(["404"])},500:e=>{const{normalize:t}=e;return t(["500"])},503:e=>{const{normalize:t}=e;return t(["503"])},user_interface:e=>{const{normalize:t}=e;return t(["\u7528\u6237\u754C\u9762"])},tables_and_forms:e=>{const{normalize:t}=e;return t(["\u8868\u683C\u548C\u8868\u683C"])},columns_filter:e=>{const{normalize:t}=e;return t(["\u5217\u8FC7\u6EE4\u5668"])},column_chooser:e=>{const{normalize:t}=e;return t(["\u5217\u9009\u62E9\u5668"])},advanced:e=>{const{normalize:t}=e;return t(["\u5148\u8FDB\u7684"])},checkbox:e=>{const{normalize:t}=e;return t(["\u590D\u9009\u6846"])},skin:e=>{const{normalize:t}=e;return t(["\u76AE\u80A4"])},sticky_header:e=>{const{normalize:t}=e;return t(["\u7C98\u6027\u6807\u9898"])},clone_header:e=>{const{normalize:t}=e;return t(["\u514B\u9686\u6807\u9898"])},coming_soon_boxed:e=>{const{normalize:t}=e;return t(["\u5373\u5C06\u63A8\u51FA\u76D2\u88C5"])},coming_soon_cover:e=>{const{normalize:t}=e;return t(["\u5373\u5C06\u63A8\u51FA\u5C01\u9762"])},contact_us_boxed:e=>{const{normalize:t}=e;return t(["\u8054\u7CFB\u6211\u4EEC \u76D2\u88C5"])},contact_us_cover:e=>{const{normalize:t}=e;return t(["\u8054\u7CFB\u6211\u4EEC\u5C01\u9762"])}}},fy=mS({legacy:!1,allowComposition:!0,locale:"en",globalInjection:!0,fallbackLocale:"en",messages:CS}),Zi={locale:"en",theme:"light",menu:"horizontal",layout:"full",rtlClass:"ltr",animation:"",navbar:"navbar-sticky",semidark:!1},Yu={init(){const e=ui();let t=localStorage.getItem("theme");t=t||Zi.theme,e.toggleTheme(t),t=localStorage.getItem("menu"),t=t||Zi.menu,e.toggleMenu(t),t=localStorage.getItem("layout"),t=t||Zi.layout,e.toggleLayout(t),t=localStorage.getItem("i18n_locale"),t=t||Zi.locale;const c=e.languageList.find(h=>h.code===t);c&&this.toggleLanguage(c),t=localStorage.getItem("rtlClass"),t=t||Zi.rtlClass,e.toggleRTL(t),t=localStorage.getItem("animation"),t=t||Zi.animation,e.toggleAnimation(t),t=localStorage.getItem("navbar"),t=t||Zi.navbar,e.toggleNavbar(t),t=localStorage.getItem("semidark"),t=t==="true"?!0:Zi.semidark,e.toggleSemidark(t)},toggleLanguage(e){const t=ui();let o=null;if(e)o=e;else{let c=t.locale||null;c||(c=localStorage.getItem("i18n_locale")),e=t.languageList.find(h=>h.code===c),e&&(o=e)}return o||(o=t.languageList.find(c=>c.code==="en")),t.toggleLocale(o.code),o},changeAnimation(e="add"){const t=ui();if(t.animation){const o=document.querySelector(".animation");e==="add"?(o==null||o.classList.add("animate__animated"),o==null||o.classList.add(t.animation)):(o==null||o.classList.remove("animate__animated"),o==null||o.classList.remove(t.animation))}}},ui=u2("app",{state:()=>({isDarkMode:!1,mainLayout:"app",theme:"light",menu:"horizontal",layout:"full",rtlClass:"ltr",animation:"",navbar:"navbar-sticky",locale:"zh",sidebar:!1,languageList:[{code:"zh",name:"Chinese"},{code:"en",name:"English"}],isShowMainLoader:!0,semidark:!1}),actions:{setMainLayout(e=null){this.mainLayout=e},toggleTheme(e=null){var t,o;e=e||this.theme,localStorage.setItem("theme",e),this.theme=e,e=="light"?this.isDarkMode=!1:e=="dark"?this.isDarkMode=!0:e=="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?this.isDarkMode=!0:this.isDarkMode=!1),this.isDarkMode?(t=document.querySelector("body"))==null||t.classList.add("dark"):(o=document.querySelector("body"))==null||o.classList.remove("dark")},toggleMenu(e=null){e=e||this.menu,this.sidebar=!1,localStorage.setItem("menu",e),this.menu=e},toggleLayout(e=null){e=e||this.layout,localStorage.setItem("layout",e),this.layout=e},toggleRTL(e=null){var t;e=e||this.rtlClass,localStorage.setItem("rtlClass",e),this.rtlClass=e,(t=document.querySelector("html"))==null||t.setAttribute("dir",this.rtlClass||"ltr")},toggleAnimation(e=null){e=e||this.animation,e=e==null?void 0:e.trim(),localStorage.setItem("animation",e),this.animation=e,Yu.changeAnimation()},toggleNavbar(e=null){e=e||this.navbar,localStorage.setItem("navbar",e),this.navbar=e},toggleSemidark(e=null){e=e||!1,localStorage.setItem("semidark",e),this.semidark=e},toggleLocale(e=null){var t;e=e||this.locale,fy.global.locale.value=e,localStorage.setItem("i18n_locale",e),this.locale=e,((t=this.locale)==null?void 0:t.toLowerCase())==="ae"?this.toggleRTL("rtl"):this.toggleRTL("ltr")},toggleSidebar(e=!1){this.sidebar=!this.sidebar},toggleMainLoader(e=!1){this.isShowMainLoader=!0,setTimeout(()=>{this.isShowMainLoader=!1},500)}},getters:{}});var uf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function SS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function py(e){var t=e.default;if(typeof t=="function"){var o=function(){return t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(c){var h=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(o,c,h.get?h:{enumerable:!0,get:function(){return e[c]}})}),o}const sp=py(r2);var js=sp;function AS(e,t){return DS(e)||ES(e,t)||LS(e,t)||TS()}function DS(e){if(Array.isArray(e))return e}function ES(e,t){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var c=[],h=!0,g=!1,x,y;try{for(o=o.call(e);!(h=(x=o.next()).done)&&(c.push(x.value),!(t&&c.length===t));h=!0);}catch(z){g=!0,y=z}finally{try{!h&&o.return!=null&&o.return()}finally{if(g)throw y}}return c}}function LS(e,t){if(!!e){if(typeof e=="string")return Bv(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Bv(e,t)}}function Bv(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,c=new Array(t);o<t;o++)c[o]=e[o];return c}function TS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  33. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var gd="collapsed",Rc="collapsing",Bc="expanding",Nc="expanded",vd="0px",Nv=function(t){return requestAnimationFrame(function(){requestAnimationFrame(t)})},my={name:"HeightCollapsible",props:{isOpen:{type:Boolean,required:!0,default:!0},overflowOnExpanded:{type:Boolean,default:!1},tag:{type:String,default:"div"},transition:{type:String,default:null}},data:function(){return{collapseState:this.isOpen?Nc:gd,isMounted:!1}},watch:{isOpen:function(t,o){if(!this.isMounted){this.$emit("error",{type:"isOpen",msg:"not mounted yet"});return}t&&!o&&this.setExpanding(),!t&&o&&this.setCollapsing()},transition:function(t,o){t!==o&&this.$refs.root&&(this.$refs.root.style.transition=t)}},mounted:function(){this.isOpen?this.setExpanded():this.setCollapsed(),this.transition&&(this.$refs.root.style.transition=this.transition),this.$refs.root.addEventListener("transitionend",this.onTransitionEnd),this.isMounted=!0},beforeUnmount:function(){this.$refs.root.removeEventListener("transitionend",this.onTransitionEnd)},methods:{setCollapsed:function(){if(!!this.$refs.root){this.collapseState=gd;var t=this.$refs.root.style;t.overflowY=this.getOverflow(),t.height=vd,t.visibility="hidden",this.$emit("update",{state:gd,height:vd})}},setExpanded:function(){if(!!this.$refs.root){this.collapseState=Nc;var t=this.$refs.root.style;t.overflowY=this.getOverflow(),t.height="",t.visibility="",this.$emit("update",{state:Nc,height:this.getElementHeight()})}},setCollapsing:function(){var t=this;if(!!this.$refs.root){this.collapseState=Rc;var o=this.getElementHeight(),c=this.$refs.root.style;c.overflowY=this.getOverflow(),c.height=o,c.visibility="",this.$emit("update",{state:Rc,height:o}),Nv(function(){!t.$refs.root||t.collapseState===Rc&&(t.$refs.root.style.height=vd)})}},setExpanding:function(){var t=this;!this.$refs.root||(this.$emit("update",{state:Bc,height:""}),this.collapseState=Bc,Nv(function(){if(!!t.$refs.root&&t.collapseState===Bc){var o=t.$refs.root.style;o.overflowY=t.getOverflow(),o.height=t.getElementHeight(),o.visibility=""}}))},getElementHeight:function(){return"".concat(this.$refs.root.scrollHeight,"px")},getOverflow:function(){return this.collapseState===Nc&&this.overflowOnExpanded?"":"hidden"},onTransitionEnd:function(t){t.propertyName==="height"&&t.target===this.$refs.root&&(this.getElementHeight()===this.$refs.root.style.height?this.collapseState===Bc&&this.setExpanded():this.collapseState===Rc&&this.setCollapsed())}}};function FS(e,t,o,c,h,g){return js.openBlock(),js.createBlock(js.resolveDynamicComponent(o.tag),{ref:"root","data-height-collapsible":"","data-collapse-state":h.collapseState},{default:js.withCtx(function(){return[js.renderSlot(e.$slots,"default",{state:h.collapseState})]}),_:3},8,["data-collapse-state"])}my.render=FS;var lp=function(){var e=my;return e.install=function(t){t.component("VueHeightCollapsible",e)},e}(),MS=Object.freeze({__proto__:null,default:lp});Object.entries(MS).forEach(function(e){var t=AS(e,2),o=t[0],c=t[1];o!=="default"&&(lp[o]=c)});var PS=lp;const Hc=PS,OS={key:0,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},IS=G("path",{d:"M19 11L12 17L5 11",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),RS=G("path",{opacity:"0.5",d:"M19 7L12 13L5 7",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),BS=[IS,RS],NS={key:1,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HS=G("path",{opacity:"0.5",d:"M5.00004 6.25C4.68618 6.25 4.40551 6.44543 4.29662 6.73979C4.18773 7.03415 4.27364 7.36519 4.51194 7.56944L11.5119 13.5694C11.7928 13.8102 12.2073 13.8102 12.4881 13.5694L19.4881 7.56944C19.7264 7.36519 19.8123 7.03415 19.7035 6.73979C19.5946 6.44543 19.3139 6.25 19 6.25H5.00004Z",fill:"currentColor"},null,-1),WS=G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.43057 10.5119C4.70014 10.1974 5.17361 10.161 5.48811 10.4306L12 16.0122L18.5119 10.4306C18.8264 10.161 19.2999 10.1974 19.5695 10.5119C19.839 10.8264 19.8026 11.2999 19.4881 11.5695L12.4881 17.5695C12.2072 17.8102 11.7928 17.8102 11.5119 17.5695L4.51192 11.5695C4.19743 11.2999 4.161 10.8264 4.43057 10.5119Z",fill:"currentColor"},null,-1),XS=[HS,WS],YS=hr({__name:"icon-carets-down",props:{duotone:{type:Boolean,default:!0},fill:{type:Boolean,default:!1}},setup(e){return(t,o)=>e.fill?(Mt(),Bt("svg",NS,XS)):(Mt(),Bt("svg",OS,BS))}}),pr=(e,t)=>{const o=e.__vccOpts||e;for(const[c,h]of t)o[c]=h;return o},jS={},$S={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VS=G("path",{opacity:"0.5",d:"M2 12.2039C2 9.91549 2 8.77128 2.5192 7.82274C3.0384 6.87421 3.98695 6.28551 5.88403 5.10813L7.88403 3.86687C9.88939 2.62229 10.8921 2 12 2C13.1079 2 14.1106 2.62229 16.116 3.86687L18.116 5.10812C20.0131 6.28551 20.9616 6.87421 21.4808 7.82274C22 8.77128 22 9.91549 22 12.2039V13.725C22 17.6258 22 19.5763 20.8284 20.7881C19.6569 22 17.7712 22 14 22H10C6.22876 22 4.34315 22 3.17157 20.7881C2 19.5763 2 17.6258 2 13.725V12.2039Z",fill:"currentColor"},null,-1),US=G("path",{d:"M9 17.25C8.58579 17.25 8.25 17.5858 8.25 18C8.25 18.4142 8.58579 18.75 9 18.75H15C15.4142 18.75 15.75 18.4142 15.75 18C15.75 17.5858 15.4142 17.25 15 17.25H9Z",fill:"currentColor"},null,-1),GS=[VS,US];function qS(e,t){return Mt(),Bt("svg",$S,GS)}const KS=pr(jS,[["render",qS]]),ZS={},JS={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},QS=G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.4036 22.4797L10.6787 22.015C11.1195 21.2703 11.3399 20.8979 11.691 20.6902C12.0422 20.4825 12.5001 20.4678 13.4161 20.4385C14.275 20.4111 14.8523 20.3361 15.3458 20.1317C16.385 19.7012 17.2106 18.8756 17.641 17.8365C17.9639 17.0571 17.9639 16.0691 17.9639 14.093V13.2448C17.9639 10.4683 17.9639 9.08006 17.3389 8.06023C16.9892 7.48958 16.5094 7.0098 15.9388 6.66011C14.919 6.03516 13.5307 6.03516 10.7542 6.03516H8.20964C5.43314 6.03516 4.04489 6.03516 3.02507 6.66011C2.45442 7.0098 1.97464 7.48958 1.62495 8.06023C1 9.08006 1 10.4683 1 13.2448V14.093C1 16.0691 1 17.0571 1.32282 17.8365C1.75326 18.8756 2.57886 19.7012 3.61802 20.1317C4.11158 20.3361 4.68882 20.4111 5.5477 20.4385C6.46368 20.4678 6.92167 20.4825 7.27278 20.6902C7.6239 20.8979 7.84431 21.2703 8.28514 22.015L8.5602 22.4797C8.97002 23.1721 9.9938 23.1721 10.4036 22.4797ZM13.1928 14.5171C13.7783 14.5171 14.253 14.0424 14.253 13.4568C14.253 12.8713 13.7783 12.3966 13.1928 12.3966C12.6072 12.3966 12.1325 12.8713 12.1325 13.4568C12.1325 14.0424 12.6072 14.5171 13.1928 14.5171ZM10.5422 13.4568C10.5422 14.0424 10.0675 14.5171 9.48193 14.5171C8.89637 14.5171 8.42169 14.0424 8.42169 13.4568C8.42169 12.8713 8.89637 12.3966 9.48193 12.3966C10.0675 12.3966 10.5422 12.8713 10.5422 13.4568ZM5.77108 14.5171C6.35664 14.5171 6.83133 14.0424 6.83133 13.4568C6.83133 12.8713 6.35664 12.3966 5.77108 12.3966C5.18553 12.3966 4.71084 12.8713 4.71084 13.4568C4.71084 14.0424 5.18553 14.5171 5.77108 14.5171Z",fill:"currentColor"},null,-1),eA=G("path",{opacity:"0.5",d:"M15.486 1C16.7529 0.999992 17.7603 0.999986 18.5683 1.07681C19.3967 1.15558 20.0972 1.32069 20.7212 1.70307C21.3632 2.09648 21.9029 2.63623 22.2963 3.27821C22.6787 3.90219 22.8438 4.60265 22.9226 5.43112C22.9994 6.23907 22.9994 7.24658 22.9994 8.51343V9.37869C22.9994 10.2803 22.9994 10.9975 22.9597 11.579C22.9191 12.174 22.8344 12.6848 22.6362 13.1632C22.152 14.3323 21.2232 15.2611 20.0541 15.7453C20.0249 15.7574 19.9955 15.7691 19.966 15.7804C19.8249 15.8343 19.7039 15.8806 19.5978 15.915H17.9477C17.9639 15.416 17.9639 14.8217 17.9639 14.093V13.2448C17.9639 10.4683 17.9639 9.08006 17.3389 8.06023C16.9892 7.48958 16.5094 7.0098 15.9388 6.66011C14.919 6.03516 13.5307 6.03516 10.7542 6.03516H8.20964C7.22423 6.03516 6.41369 6.03516 5.73242 6.06309V4.4127C5.76513 4.29934 5.80995 4.16941 5.86255 4.0169C5.95202 3.75751 6.06509 3.51219 6.20848 3.27821C6.60188 2.63623 7.14163 2.09648 7.78361 1.70307C8.40759 1.32069 9.10805 1.15558 9.93651 1.07681C10.7445 0.999986 11.7519 0.999992 13.0188 1H15.486Z",fill:"currentColor"},null,-1),tA=[QS,eA];function rA(e,t){return Mt(),Bt("svg",JS,tA)}const nA=pr(ZS,[["render",rA]]),iA={},oA={width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aA=G("path",{d:"M19 9L12 15L5 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),sA=[aA];function lA(e,t){return Mt(),Bt("svg",oA,sA)}const ol=pr(iA,[["render",lA]]),cA={},uA={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hA=G("circle",{opacity:"0.5",cx:"15",cy:"6",r:"3",fill:"currentColor"},null,-1),dA=G("ellipse",{opacity:"0.5",cx:"16",cy:"17",rx:"5",ry:"3",fill:"currentColor"},null,-1),fA=G("circle",{cx:"9.00098",cy:"6",r:"4",fill:"currentColor"},null,-1),pA=G("ellipse",{cx:"9.00098",cy:"17.001",rx:"7",ry:"4",fill:"currentColor"},null,-1),mA=[hA,dA,fA,pA];function gA(e,t){return Mt(),Bt("svg",uA,mA)}const vA=pr(cA,[["render",gA]]),xA={class:"sidebar fixed min-h-screen h-full top-0 bottom-0 w-[260px] shadow-[5px_0_25px_0_rgba(94,92,154,0.1)] z-50 transition-all duration-300"},bA={class:"bg-white dark:bg-[#0e1726] h-full"},yA={class:"flex justify-between items-center px-4 py-3"},wA=G("img",{class:"w-8 ml-[5px] flex-none",src:n2,alt:""},null,-1),_A=G("span",{class:"text-2xl ltr:ml-1.5 rtl:mr-1.5 font-semibold align-middle lg:inline dark:text-white-light"},"V3Studio",-1),zA={class:"relative font-semibold space-y-0.5 p-4 py-0"},kA={class:"menu nav-item"},CA={class:"flex items-center"},SA={class:"ltr:pl-3 rtl:pr-3 text-black dark:text-[#506690] dark:group-hover:text-white-dark"},AA={class:"sub-menu text-gray-500"},DA={class:"nav-item"},EA={class:"menu nav-item"},LA={class:"flex items-center"},TA=G("span",{class:"ltr:pl-3 rtl:pr-3 text-black dark:text-[#506690] dark:group-hover:text-white-dark"}," \u5E94\u7528\u5217\u8868 ",-1),FA={class:"sub-menu text-gray-500"},MA={class:"menu nav-item"},PA={class:"flex items-center"},OA=G("span",{class:"ltr:pl-3 rtl:pr-3 text-black dark:text-[#506690] dark:group-hover:text-white-dark"},"\u7CFB\u7EDF\u7BA1\u7406",-1),IA={class:"sub-menu text-gray-500"},RA=G("ul",{class:"sub-menu text-gray-500"},null,-1),BA=hr({__name:"Sidebar",setup(e){const t=ui(),o=Ft("");Ft(""),Kr(()=>{const h=document.querySelector('.sidebar ul a[href="'+window.location.pathname+'"]');if(h){h.classList.add("active");const g=h.closest("ul.sub-menu");if(g){let x=g.closest("li.menu").querySelectorAll(".nav-link")||[];x.length&&(x=x[0],setTimeout(()=>{x.click()}))}}});const c=()=>{window.innerWidth<1024&&t.toggleSidebar()};return(h,g)=>{const x=Xn("router-link"),y=Xn("perfect-scrollbar");return Mt(),Bt("div",{class:Br({"dark text-white-dark":zt(t).semidark})},[G("nav",xA,[G("div",bA,[G("div",yA,[Je(x,{to:"/",class:"main-logo flex items-center shrink-0"},{default:Pt(()=>[wA,_A]),_:1}),G("a",{href:"javascript:;",class:"collapse-icon w-8 h-8 rounded-full flex items-center hover:bg-gray-500/10 dark:hover:bg-dark-light/10 dark:text-white-light transition duration-300 rtl:rotate-180 hover:text-primary",onClick:g[0]||(g[0]=z=>zt(t).toggleSidebar())},[Je(YS,{class:"m-auto rotate-90"})])]),Je(y,{options:{swipeEasing:!0,wheelPropagation:!1},class:"h-[calc(100vh-80px)] relative"},{default:Pt(()=>[G("ul",zA,[G("li",kA,[G("button",{type:"button",class:Br(["nav-link group w-full",{active:o.value==="dashboard"}]),onClick:g[1]||(g[1]=z=>o.value==="dashboard"?o.value=null:o.value="dashboard")},[G("div",CA,[Je(KS,{class:"group-hover:!text-primary shrink-0"}),G("span",SA,hl(h.$t("dashboard")),1)]),G("div",{class:Br({"rtl:rotate-90 -rotate-90":o.value=="dashboard"})},[Je(ol)],2)],2),Je(zt(Hc),{isOpen:o.value==="dashboard"},{default:Pt(()=>[G("ul",AA,[G("li",null,[Je(x,{to:"/",onClick:c},{default:Pt(()=>[Ot(hl(h.$t("sales")),1)]),_:1})])])]),_:1},8,["isOpen"])]),G("li",DA,[G("ul",null,[G("li",EA,[G("button",{type:"button",class:Br(["nav-link group w-full",{active:o.value==="invoice"}]),onClick:g[2]||(g[2]=z=>o.value==="invoice"?o.value=null:o.value="invoice")},[G("div",LA,[Je(nA,{class:"group-hover:!text-primary shrink-0"}),TA]),G("div",{class:Br({"rtl:rotate-90 -rotate-90":o.value=="invoice"})},[Je(ol)],2)],2),Je(zt(Hc),{isOpen:o.value==="invoice"},{default:Pt(()=>[G("ul",FA,[G("li",null,[Je(x,{to:"/apps/applist",onClick:c},{default:Pt(()=>[Ot("\u6240\u6709\u5E94\u7528")]),_:1})]),G("li",null,[Je(x,{to:"/apps/custom",onClick:c},{default:Pt(()=>[Ot("\u5BA2\u6237\u5217\u8868")]),_:1})]),G("li",null,[Je(x,{to:"/apps/stock",onClick:c},{default:Pt(()=>[Ot("\u4ED3\u5E93\u5217\u8868")]),_:1})]),G("li",null,[Je(x,{to:"/apps/order",onClick:c},{default:Pt(()=>[Ot("\u8BA2\u5355\u5217\u8868")]),_:1})]),G("li",null,[Je(x,{to:"/apps/goods",onClick:c},{default:Pt(()=>[Ot("\u5546\u54C1\u5217\u8868")]),_:1})])])]),_:1},8,["isOpen"])])])]),G("li",MA,[G("button",{type:"button",class:Br(["nav-link group w-full",{active:o.value==="users"}]),onClick:g[3]||(g[3]=z=>o.value==="users"?o.value=null:o.value="users")},[G("div",PA,[Je(vA,{class:"group-hover:!text-primary shrink-0"}),OA]),G("div",{class:Br({"rtl:rotate-90 -rotate-90":o.value=="users"})},[Je(ol)],2)],2),Je(zt(Hc),{isOpen:o.value==="users"},{default:Pt(()=>[G("ul",IA,[G("li",null,[Je(x,{to:"/users/profile",onClick:c},{default:Pt(()=>[Ot("\u4E2A\u4EBA\u8BBE\u7F6E")]),_:1})]),G("li",null,[Je(x,{to:"/users/contacts",onClick:c},{default:Pt(()=>[Ot("\u8D26\u6237\u5217\u8868")]),_:1})])])]),_:1},8,["isOpen"]),Je(zt(Hc),{isOpen:o.value==="users"},{default:Pt(()=>[RA]),_:1},8,["isOpen"])])])]),_:1})])])],2)}}}),NA="/assets/logo.eb8142ae.png",gy="/assets/images/me.jpg";/*!
  34. * vue-router v4.1.5
  35. * (c) 2022 Eduardo San Martin Morote
  36. * @license MIT
  37. */const Ra=typeof window<"u";function HA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Vt=Object.assign;function xd(e,t){const o={};for(const c in t){const h=t[c];o[c]=jn(h)?h.map(e):e(h)}return o}const al=()=>{},jn=Array.isArray,WA=/\/$/,XA=e=>e.replace(WA,"");function bd(e,t,o="/"){let c,h={},g="",x="";const y=t.indexOf("#");let z=t.indexOf("?");return y<z&&y>=0&&(z=-1),z>-1&&(c=t.slice(0,z),g=t.slice(z+1,y>-1?y:t.length),h=e(g)),y>-1&&(c=c||t.slice(0,y),x=t.slice(y,t.length)),c=VA(c!=null?c:t,o),{fullPath:c+(g&&"?")+g+x,path:c,query:h,hash:x}}function YA(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}function Hv(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jA(e,t,o){const c=t.matched.length-1,h=o.matched.length-1;return c>-1&&c===h&&Qa(t.matched[c],o.matched[h])&&vy(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}function Qa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!$A(e[o],t[o]))return!1;return!0}function $A(e,t){return jn(e)?Wv(e,t):jn(t)?Wv(t,e):e===t}function Wv(e,t){return jn(t)?e.length===t.length&&e.every((o,c)=>o===t[c]):e.length===1&&e[0]===t}function VA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const o=t.split("/"),c=e.split("/");let h=o.length-1,g,x;for(g=0;g<c.length;g++)if(x=c[g],x!==".")if(x==="..")h>1&&h--;else break;return o.slice(0,h).join("/")+"/"+c.slice(g-(g===c.length?1:0)).join("/")}var _l;(function(e){e.pop="pop",e.push="push"})(_l||(_l={}));var sl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(sl||(sl={}));function UA(e){if(!e)if(Ra){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),XA(e)}const GA=/^[^#]+#/;function qA(e,t){return e.replace(GA,"#")+t}function KA(e,t){const o=document.documentElement.getBoundingClientRect(),c=e.getBoundingClientRect();return{behavior:t.behavior,left:c.left-o.left-(t.left||0),top:c.top-o.top-(t.top||0)}}const ju=()=>({left:window.pageXOffset,top:window.pageYOffset});function ZA(e){let t;if("el"in e){const o=e.el,c=typeof o=="string"&&o.startsWith("#"),h=typeof o=="string"?c?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!h)return;t=KA(h,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Xv(e,t){return(history.state?history.state.position-t:-1)+e}const hf=new Map;function JA(e,t){hf.set(e,t)}function QA(e){const t=hf.get(e);return hf.delete(e),t}let eD=()=>location.protocol+"//"+location.host;function xy(e,t){const{pathname:o,search:c,hash:h}=t,g=e.indexOf("#");if(g>-1){let y=h.includes(e.slice(g))?e.slice(g).length:1,z=h.slice(y);return z[0]!=="/"&&(z="/"+z),Hv(z,"")}return Hv(o,e)+c+h}function tD(e,t,o,c){let h=[],g=[],x=null;const y=({state:P})=>{const Y=xy(e,location),V=o.value,ee=t.value;let ae=0;if(P){if(o.value=Y,t.value=P,x&&x===V){x=null;return}ae=ee?P.position-ee.position:0}else c(Y);h.forEach(K=>{K(o.value,V,{delta:ae,type:_l.pop,direction:ae?ae>0?sl.forward:sl.back:sl.unknown})})};function z(){x=o.value}function A(P){h.push(P);const Y=()=>{const V=h.indexOf(P);V>-1&&h.splice(V,1)};return g.push(Y),Y}function L(){const{history:P}=window;!P.state||P.replaceState(Vt({},P.state,{scroll:ju()}),"")}function O(){for(const P of g)P();g=[],window.removeEventListener("popstate",y),window.removeEventListener("beforeunload",L)}return window.addEventListener("popstate",y),window.addEventListener("beforeunload",L),{pauseListeners:z,listen:A,destroy:O}}function Yv(e,t,o,c=!1,h=!1){return{back:e,current:t,forward:o,replaced:c,position:window.history.length,scroll:h?ju():null}}function rD(e){const{history:t,location:o}=window,c={value:xy(e,o)},h={value:t.state};h.value||g(c.value,{back:null,current:c.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function g(z,A,L){const O=e.indexOf("#"),P=O>-1?(o.host&&document.querySelector("base")?e:e.slice(O))+z:eD()+e+z;try{t[L?"replaceState":"pushState"](A,"",P),h.value=A}catch(Y){console.error(Y),o[L?"replace":"assign"](P)}}function x(z,A){const L=Vt({},t.state,Yv(h.value.back,z,h.value.forward,!0),A,{position:h.value.position});g(z,L,!0),c.value=z}function y(z,A){const L=Vt({},h.value,t.state,{forward:z,scroll:ju()});g(L.current,L,!0);const O=Vt({},Yv(c.value,z,null),{position:L.position+1},A);g(z,O,!1),c.value=z}return{location:c,state:h,push:y,replace:x}}function nD(e){e=UA(e);const t=rD(e),o=tD(e,t.state,t.location,t.replace);function c(g,x=!0){x||o.pauseListeners(),history.go(g)}const h=Vt({location:"",base:e,go:c,createHref:qA.bind(null,e)},t,o);return Object.defineProperty(h,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(h,"state",{enumerable:!0,get:()=>t.state.value}),h}function iD(e){return typeof e=="string"||e&&typeof e=="object"}function by(e){return typeof e=="string"||typeof e=="symbol"}const Ji={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yy=Symbol("");var jv;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jv||(jv={}));function es(e,t){return Vt(new Error,{type:e,[yy]:!0},t)}function ki(e,t){return e instanceof Error&&yy in e&&(t==null||!!(e.type&t))}const $v="[^/]+?",oD={sensitive:!1,strict:!1,start:!0,end:!0},aD=/[.+*?^${}()[\]/\\]/g;function sD(e,t){const o=Vt({},oD,t),c=[];let h=o.start?"^":"";const g=[];for(const A of e){const L=A.length?[]:[90];o.strict&&!A.length&&(h+="/");for(let O=0;O<A.length;O++){const P=A[O];let Y=40+(o.sensitive?.25:0);if(P.type===0)O||(h+="/"),h+=P.value.replace(aD,"\\$&"),Y+=40;else if(P.type===1){const{value:V,repeatable:ee,optional:ae,regexp:K}=P;g.push({name:V,repeatable:ee,optional:ae});const T=K||$v;if(T!==$v){Y+=10;try{new RegExp(`(${T})`)}catch(B){throw new Error(`Invalid custom RegExp for param "${V}" (${T}): `+B.message)}}let re=ee?`((?:${T})(?:/(?:${T}))*)`:`(${T})`;O||(re=ae&&A.length<2?`(?:/${re})`:"/"+re),ae&&(re+="?"),h+=re,Y+=20,ae&&(Y+=-8),ee&&(Y+=-20),T===".*"&&(Y+=-50)}L.push(Y)}c.push(L)}if(o.strict&&o.end){const A=c.length-1;c[A][c[A].length-1]+=.7000000000000001}o.strict||(h+="/?"),o.end?h+="$":o.strict&&(h+="(?:/|$)");const x=new RegExp(h,o.sensitive?"":"i");function y(A){const L=A.match(x),O={};if(!L)return null;for(let P=1;P<L.length;P++){const Y=L[P]||"",V=g[P-1];O[V.name]=Y&&V.repeatable?Y.split("/"):Y}return O}function z(A){let L="",O=!1;for(const P of e){(!O||!L.endsWith("/"))&&(L+="/"),O=!1;for(const Y of P)if(Y.type===0)L+=Y.value;else if(Y.type===1){const{value:V,repeatable:ee,optional:ae}=Y,K=V in A?A[V]:"";if(jn(K)&&!ee)throw new Error(`Provided param "${V}" is an array but it is not repeatable (* or + modifiers)`);const T=jn(K)?K.join("/"):K;if(!T)if(ae)P.length<2&&(L.endsWith("/")?L=L.slice(0,-1):O=!0);else throw new Error(`Missing required param "${V}"`);L+=T}}return L||"/"}return{re:x,score:c,keys:g,parse:y,stringify:z}}function lD(e,t){let o=0;for(;o<e.length&&o<t.length;){const c=t[o]-e[o];if(c)return c;o++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function cD(e,t){let o=0;const c=e.score,h=t.score;for(;o<c.length&&o<h.length;){const g=lD(c[o],h[o]);if(g)return g;o++}if(Math.abs(h.length-c.length)===1){if(Vv(c))return 1;if(Vv(h))return-1}return h.length-c.length}function Vv(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const uD={type:0,value:""},hD=/[a-zA-Z0-9_]/;function dD(e){if(!e)return[[]];if(e==="/")return[[uD]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(Y){throw new Error(`ERR (${o})/"${A}": ${Y}`)}let o=0,c=o;const h=[];let g;function x(){g&&h.push(g),g=[]}let y=0,z,A="",L="";function O(){!A||(o===0?g.push({type:0,value:A}):o===1||o===2||o===3?(g.length>1&&(z==="*"||z==="+")&&t(`A repeatable param (${A}) must be alone in its segment. eg: '/:ids+.`),g.push({type:1,value:A,regexp:L,repeatable:z==="*"||z==="+",optional:z==="*"||z==="?"})):t("Invalid state to consume buffer"),A="")}function P(){A+=z}for(;y<e.length;){if(z=e[y++],z==="\\"&&o!==2){c=o,o=4;continue}switch(o){case 0:z==="/"?(A&&O(),x()):z===":"?(O(),o=1):P();break;case 4:P(),o=c;break;case 1:z==="("?o=2:hD.test(z)?P():(O(),o=0,z!=="*"&&z!=="?"&&z!=="+"&&y--);break;case 2:z===")"?L[L.length-1]=="\\"?L=L.slice(0,-1)+z:o=3:L+=z;break;case 3:O(),o=0,z!=="*"&&z!=="?"&&z!=="+"&&y--,L="";break;default:t("Unknown state");break}}return o===2&&t(`Unfinished custom RegExp for param "${A}"`),O(),x(),h}function fD(e,t,o){const c=sD(dD(e.path),o),h=Vt(c,{record:e,parent:t,children:[],alias:[]});return t&&!h.record.aliasOf==!t.record.aliasOf&&t.children.push(h),h}function pD(e,t){const o=[],c=new Map;t=qv({strict:!1,end:!0,sensitive:!1},t);function h(L){return c.get(L)}function g(L,O,P){const Y=!P,V=mD(L);V.aliasOf=P&&P.record;const ee=qv(t,L),ae=[V];if("alias"in L){const re=typeof L.alias=="string"?[L.alias]:L.alias;for(const B of re)ae.push(Vt({},V,{components:P?P.record.components:V.components,path:B,aliasOf:P?P.record:V}))}let K,T;for(const re of ae){const{path:B}=re;if(O&&B[0]!=="/"){const j=O.record.path,oe=j[j.length-1]==="/"?"":"/";re.path=O.record.path+(B&&oe+B)}if(K=fD(re,O,ee),P?P.alias.push(K):(T=T||K,T!==K&&T.alias.push(K),Y&&L.name&&!Gv(K)&&x(L.name)),V.children){const j=V.children;for(let oe=0;oe<j.length;oe++)g(j[oe],K,P&&P.children[oe])}P=P||K,z(K)}return T?()=>{x(T)}:al}function x(L){if(by(L)){const O=c.get(L);O&&(c.delete(L),o.splice(o.indexOf(O),1),O.children.forEach(x),O.alias.forEach(x))}else{const O=o.indexOf(L);O>-1&&(o.splice(O,1),L.record.name&&c.delete(L.record.name),L.children.forEach(x),L.alias.forEach(x))}}function y(){return o}function z(L){let O=0;for(;O<o.length&&cD(L,o[O])>=0&&(L.record.path!==o[O].record.path||!wy(L,o[O]));)O++;o.splice(O,0,L),L.record.name&&!Gv(L)&&c.set(L.record.name,L)}function A(L,O){let P,Y={},V,ee;if("name"in L&&L.name){if(P=c.get(L.name),!P)throw es(1,{location:L});ee=P.record.name,Y=Vt(Uv(O.params,P.keys.filter(T=>!T.optional).map(T=>T.name)),L.params&&Uv(L.params,P.keys.map(T=>T.name))),V=P.stringify(Y)}else if("path"in L)V=L.path,P=o.find(T=>T.re.test(V)),P&&(Y=P.parse(V),ee=P.record.name);else{if(P=O.name?c.get(O.name):o.find(T=>T.re.test(O.path)),!P)throw es(1,{location:L,currentLocation:O});ee=P.record.name,Y=Vt({},O.params,L.params),V=P.stringify(Y)}const ae=[];let K=P;for(;K;)ae.unshift(K.record),K=K.parent;return{name:ee,path:V,params:Y,matched:ae,meta:vD(ae)}}return e.forEach(L=>g(L)),{addRoute:g,resolve:A,removeRoute:x,getRoutes:y,getRecordMatcher:h}}function Uv(e,t){const o={};for(const c of t)c in e&&(o[c]=e[c]);return o}function mD(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:gD(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function gD(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const c in e.components)t[c]=typeof o=="boolean"?o:o[c];return t}function Gv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vD(e){return e.reduce((t,o)=>Vt(t,o.meta),{})}function qv(e,t){const o={};for(const c in e)o[c]=c in t?t[c]:e[c];return o}function wy(e,t){return t.children.some(o=>o===e||wy(e,o))}const _y=/#/g,xD=/&/g,bD=/\//g,yD=/=/g,wD=/\?/g,zy=/\+/g,_D=/%5B/g,zD=/%5D/g,ky=/%5E/g,kD=/%60/g,Cy=/%7B/g,CD=/%7C/g,Sy=/%7D/g,SD=/%20/g;function cp(e){return encodeURI(""+e).replace(CD,"|").replace(_D,"[").replace(zD,"]")}function AD(e){return cp(e).replace(Cy,"{").replace(Sy,"}").replace(ky,"^")}function df(e){return cp(e).replace(zy,"%2B").replace(SD,"+").replace(_y,"%23").replace(xD,"%26").replace(kD,"`").replace(Cy,"{").replace(Sy,"}").replace(ky,"^")}function DD(e){return df(e).replace(yD,"%3D")}function ED(e){return cp(e).replace(_y,"%23").replace(wD,"%3F")}function LD(e){return e==null?"":ED(e).replace(bD,"%2F")}function fu(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function TD(e){const t={};if(e===""||e==="?")return t;const c=(e[0]==="?"?e.slice(1):e).split("&");for(let h=0;h<c.length;++h){const g=c[h].replace(zy," "),x=g.indexOf("="),y=fu(x<0?g:g.slice(0,x)),z=x<0?null:fu(g.slice(x+1));if(y in t){let A=t[y];jn(A)||(A=t[y]=[A]),A.push(z)}else t[y]=z}return t}function Kv(e){let t="";for(let o in e){const c=e[o];if(o=DD(o),c==null){c!==void 0&&(t+=(t.length?"&":"")+o);continue}(jn(c)?c.map(g=>g&&df(g)):[c&&df(c)]).forEach(g=>{g!==void 0&&(t+=(t.length?"&":"")+o,g!=null&&(t+="="+g))})}return t}function FD(e){const t={};for(const o in e){const c=e[o];c!==void 0&&(t[o]=jn(c)?c.map(h=>h==null?null:""+h):c==null?c:""+c)}return t}const MD=Symbol(""),Zv=Symbol(""),$u=Symbol(""),up=Symbol(""),ff=Symbol("");function $s(){let e=[];function t(c){return e.push(c),()=>{const h=e.indexOf(c);h>-1&&e.splice(h,1)}}function o(){e=[]}return{add:t,list:()=>e,reset:o}}function ro(e,t,o,c,h){const g=c&&(c.enterCallbacks[h]=c.enterCallbacks[h]||[]);return()=>new Promise((x,y)=>{const z=O=>{O===!1?y(es(4,{from:o,to:t})):O instanceof Error?y(O):iD(O)?y(es(2,{from:t,to:O})):(g&&c.enterCallbacks[h]===g&&typeof O=="function"&&g.push(O),x())},A=e.call(c&&c.instances[h],t,o,z);let L=Promise.resolve(A);e.length<3&&(L=L.then(z)),L.catch(O=>y(O))})}function yd(e,t,o,c){const h=[];for(const g of e)for(const x in g.components){let y=g.components[x];if(!(t!=="beforeRouteEnter"&&!g.instances[x]))if(PD(y)){const A=(y.__vccOpts||y)[t];A&&h.push(ro(A,o,c,g,x))}else{let z=y();h.push(()=>z.then(A=>{if(!A)return Promise.reject(new Error(`Couldn't resolve component "${x}" at "${g.path}"`));const L=HA(A)?A.default:A;g.components[x]=L;const P=(L.__vccOpts||L)[t];return P&&ro(P,o,c,g,x)()}))}}return h}function PD(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Jv(e){const t=Ar($u),o=Ar(up),c=It(()=>t.resolve(zt(e.to))),h=It(()=>{const{matched:z}=c.value,{length:A}=z,L=z[A-1],O=o.matched;if(!L||!O.length)return-1;const P=O.findIndex(Qa.bind(null,L));if(P>-1)return P;const Y=Qv(z[A-2]);return A>1&&Qv(L)===Y&&O[O.length-1].path!==Y?O.findIndex(Qa.bind(null,z[A-2])):P}),g=It(()=>h.value>-1&&BD(o.params,c.value.params)),x=It(()=>h.value>-1&&h.value===o.matched.length-1&&vy(o.params,c.value.params));function y(z={}){return RD(z)?t[zt(e.replace)?"replace":"push"](zt(e.to)).catch(al):Promise.resolve()}return{route:c,href:It(()=>c.value.href),isActive:g,isExactActive:x,navigate:y}}const OD=hr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jv,setup(e,{slots:t}){const o=An(Jv(e)),{options:c}=Ar($u),h=It(()=>({[ex(e.activeClass,c.linkActiveClass,"router-link-active")]:o.isActive,[ex(e.exactActiveClass,c.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const g=t.default&&t.default(o);return e.custom?g:Bi("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:h.value},g)}}}),ID=OD;function RD(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function BD(e,t){for(const o in t){const c=t[o],h=e[o];if(typeof c=="string"){if(c!==h)return!1}else if(!jn(h)||h.length!==c.length||c.some((g,x)=>g!==h[x]))return!1}return!0}function Qv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ex=(e,t,o)=>e!=null?e:t!=null?t:o,ND=hr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){const c=Ar(ff),h=It(()=>e.route||c.value),g=Ar(Zv,0),x=It(()=>{let A=zt(g);const{matched:L}=h.value;let O;for(;(O=L[A])&&!O.components;)A++;return A}),y=It(()=>h.value.matched[x.value]);$o(Zv,It(()=>x.value+1)),$o(MD,y),$o(ff,h);const z=Ft();return er(()=>[z.value,y.value,e.name],([A,L,O],[P,Y,V])=>{L&&(L.instances[O]=A,Y&&Y!==L&&A&&A===P&&(L.leaveGuards.size||(L.leaveGuards=Y.leaveGuards),L.updateGuards.size||(L.updateGuards=Y.updateGuards))),A&&L&&(!Y||!Qa(L,Y)||!P)&&(L.enterCallbacks[O]||[]).forEach(ee=>ee(A))},{flush:"post"}),()=>{const A=h.value,L=e.name,O=y.value,P=O&&O.components[L];if(!P)return tx(o.default,{Component:P,route:A});const Y=O.props[L],V=Y?Y===!0?A.params:typeof Y=="function"?Y(A):Y:null,ae=Bi(P,Vt({},V,t,{onVnodeUnmounted:K=>{K.component.isUnmounted&&(O.instances[L]=null)},ref:z}));return tx(o.default,{Component:ae,route:A})||ae}}});function tx(e,t){if(!e)return null;const o=e(t);return o.length===1?o[0]:o}const HD=ND;function WD(e){const t=pD(e.routes,e),o=e.parseQuery||TD,c=e.stringifyQuery||Kv,h=e.history,g=$s(),x=$s(),y=$s(),z=kb(Ji);let A=Ji;Ra&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const L=xd.bind(null,we=>""+we),O=xd.bind(null,LD),P=xd.bind(null,fu);function Y(we,Pe){let $e,Ge;return by(we)?($e=t.getRecordMatcher(we),Ge=Pe):Ge=we,t.addRoute(Ge,$e)}function V(we){const Pe=t.getRecordMatcher(we);Pe&&t.removeRoute(Pe)}function ee(){return t.getRoutes().map(we=>we.record)}function ae(we){return!!t.getRecordMatcher(we)}function K(we,Pe){if(Pe=Vt({},Pe||z.value),typeof we=="string"){const ue=bd(o,we,Pe.path),ye=t.resolve({path:ue.path},Pe),Oe=h.createHref(ue.fullPath);return Vt(ue,ye,{params:P(ye.params),hash:fu(ue.hash),redirectedFrom:void 0,href:Oe})}let $e;if("path"in we)$e=Vt({},we,{path:bd(o,we.path,Pe.path).path});else{const ue=Vt({},we.params);for(const ye in ue)ue[ye]==null&&delete ue[ye];$e=Vt({},we,{params:O(we.params)}),Pe.params=O(Pe.params)}const Ge=t.resolve($e,Pe),at=we.hash||"";Ge.params=L(P(Ge.params));const Ke=YA(c,Vt({},we,{hash:AD(at),path:Ge.path})),dt=h.createHref(Ke);return Vt({fullPath:Ke,hash:at,query:c===Kv?FD(we.query):we.query||{}},Ge,{redirectedFrom:void 0,href:dt})}function T(we){return typeof we=="string"?bd(o,we,z.value.path):Vt({},we)}function re(we,Pe){if(A!==we)return es(8,{from:Pe,to:we})}function B(we){return de(we)}function j(we){return B(Vt(T(we),{replace:!0}))}function oe(we){const Pe=we.matched[we.matched.length-1];if(Pe&&Pe.redirect){const{redirect:$e}=Pe;let Ge=typeof $e=="function"?$e(we):$e;return typeof Ge=="string"&&(Ge=Ge.includes("?")||Ge.includes("#")?Ge=T(Ge):{path:Ge},Ge.params={}),Vt({query:we.query,hash:we.hash,params:"path"in Ge?{}:we.params},Ge)}}function de(we,Pe){const $e=A=K(we),Ge=z.value,at=we.state,Ke=we.force,dt=we.replace===!0,ue=oe($e);if(ue)return de(Vt(T(ue),{state:typeof ue=="object"?Vt({},at,ue.state):at,force:Ke,replace:dt}),Pe||$e);const ye=$e;ye.redirectedFrom=Pe;let Oe;return!Ke&&jA(c,Ge,$e)&&(Oe=es(16,{to:ye,from:Ge}),vt(Ge,Ge,!0,!1)),(Oe?Promise.resolve(Oe):Te(ye,Ge)).catch(Xe=>ki(Xe)?ki(Xe,2)?Xe:ot(Xe):Se(Xe,ye,Ge)).then(Xe=>{if(Xe){if(ki(Xe,2))return de(Vt({replace:dt},T(Xe.to),{state:typeof Xe.to=="object"?Vt({},at,Xe.to.state):at,force:Ke}),Pe||ye)}else Xe=ze(ye,Ge,!0,dt,at);return Ne(ye,Ge,Xe),Xe})}function ge(we,Pe){const $e=re(we,Pe);return $e?Promise.reject($e):Promise.resolve()}function Te(we,Pe){let $e;const[Ge,at,Ke]=XD(we,Pe);$e=yd(Ge.reverse(),"beforeRouteLeave",we,Pe);for(const ue of Ge)ue.leaveGuards.forEach(ye=>{$e.push(ro(ye,we,Pe))});const dt=ge.bind(null,we,Pe);return $e.push(dt),Ma($e).then(()=>{$e=[];for(const ue of g.list())$e.push(ro(ue,we,Pe));return $e.push(dt),Ma($e)}).then(()=>{$e=yd(at,"beforeRouteUpdate",we,Pe);for(const ue of at)ue.updateGuards.forEach(ye=>{$e.push(ro(ye,we,Pe))});return $e.push(dt),Ma($e)}).then(()=>{$e=[];for(const ue of we.matched)if(ue.beforeEnter&&!Pe.matched.includes(ue))if(jn(ue.beforeEnter))for(const ye of ue.beforeEnter)$e.push(ro(ye,we,Pe));else $e.push(ro(ue.beforeEnter,we,Pe));return $e.push(dt),Ma($e)}).then(()=>(we.matched.forEach(ue=>ue.enterCallbacks={}),$e=yd(Ke,"beforeRouteEnter",we,Pe),$e.push(dt),Ma($e))).then(()=>{$e=[];for(const ue of x.list())$e.push(ro(ue,we,Pe));return $e.push(dt),Ma($e)}).catch(ue=>ki(ue,8)?ue:Promise.reject(ue))}function Ne(we,Pe,$e){for(const Ge of y.list())Ge(we,Pe,$e)}function ze(we,Pe,$e,Ge,at){const Ke=re(we,Pe);if(Ke)return Ke;const dt=Pe===Ji,ue=Ra?history.state:{};$e&&(Ge||dt?h.replace(we.fullPath,Vt({scroll:dt&&ue&&ue.scroll},at)):h.push(we.fullPath,at)),z.value=we,vt(we,Pe,$e,dt),ot()}let Me;function ke(){Me||(Me=h.listen((we,Pe,$e)=>{if(!tt.listening)return;const Ge=K(we),at=oe(Ge);if(at){de(Vt(at,{replace:!0}),Ge).catch(al);return}A=Ge;const Ke=z.value;Ra&&JA(Xv(Ke.fullPath,$e.delta),ju()),Te(Ge,Ke).catch(dt=>ki(dt,12)?dt:ki(dt,2)?(de(dt.to,Ge).then(ue=>{ki(ue,20)&&!$e.delta&&$e.type===_l.pop&&h.go(-1,!1)}).catch(al),Promise.reject()):($e.delta&&h.go(-$e.delta,!1),Se(dt,Ge,Ke))).then(dt=>{dt=dt||ze(Ge,Ke,!1),dt&&($e.delta&&!ki(dt,8)?h.go(-$e.delta,!1):$e.type===_l.pop&&ki(dt,20)&&h.go(-1,!1)),Ne(Ge,Ke,dt)}).catch(al)}))}let De=$s(),he=$s(),Le;function Se(we,Pe,$e){ot(we);const Ge=he.list();return Ge.length?Ge.forEach(at=>at(we,Pe,$e)):console.error(we),Promise.reject(we)}function He(){return Le&&z.value!==Ji?Promise.resolve():new Promise((we,Pe)=>{De.add([we,Pe])})}function ot(we){return Le||(Le=!we,ke(),De.list().forEach(([Pe,$e])=>we?$e(we):Pe()),De.reset()),we}function vt(we,Pe,$e,Ge){const{scrollBehavior:at}=e;if(!Ra||!at)return Promise.resolve();const Ke=!$e&&QA(Xv(we.fullPath,0))||(Ge||!$e)&&history.state&&history.state.scroll||null;return fi().then(()=>at(we,Pe,Ke)).then(dt=>dt&&ZA(dt)).catch(dt=>Se(dt,we,Pe))}const et=we=>h.go(we);let ne;const te=new Set,tt={currentRoute:z,listening:!0,addRoute:Y,removeRoute:V,hasRoute:ae,getRoutes:ee,resolve:K,options:e,push:B,replace:j,go:et,back:()=>et(-1),forward:()=>et(1),beforeEach:g.add,beforeResolve:x.add,afterEach:y.add,onError:he.add,isReady:He,install(we){const Pe=this;we.component("RouterLink",ID),we.component("RouterView",HD),we.config.globalProperties.$router=Pe,Object.defineProperty(we.config.globalProperties,"$route",{enumerable:!0,get:()=>zt(z)}),Ra&&!ne&&z.value===Ji&&(ne=!0,B(h.location).catch(at=>{}));const $e={};for(const at in Ji)$e[at]=It(()=>z.value[at]);we.provide($u,Pe),we.provide(up,An($e)),we.provide(ff,z);const Ge=we.unmount;te.add(we),we.unmount=function(){te.delete(we),te.size<1&&(A=Ji,Me&&Me(),Me=null,z.value=Ji,ne=!1,Le=!1),Ge()}}};return tt}function Ma(e){return e.reduce((t,o)=>t.then(()=>o()),Promise.resolve())}function XD(e,t){const o=[],c=[],h=[],g=Math.max(t.matched.length,e.matched.length);for(let x=0;x<g;x++){const y=t.matched[x];y&&(e.matched.find(A=>Qa(A,y))?c.push(y):o.push(y));const z=e.matched[x];z&&(t.matched.find(A=>Qa(A,z))||h.push(z))}return[o,c,h]}function S6(){return Ar($u)}function YD(){return Ar(up)}const jD={},$D={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VD=Tn('<circle cx="12" cy="12" r="5" stroke="currentColor" stroke-width="1.5"></circle><path d="M12 2V4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M12 20V22" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M4 12L2 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M22 12L20 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path opacity="0.5" d="M19.7778 4.22266L17.5558 6.25424" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path opacity="0.5" d="M4.22217 4.22266L6.44418 6.25424" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path opacity="0.5" d="M6.44434 17.5557L4.22211 19.7779" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path opacity="0.5" d="M19.7778 19.7773L17.5558 17.5551" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path>',9),UD=[VD];function GD(e,t){return Mt(),Bt("svg",$D,UD)}const rx=pr(jD,[["render",GD]]),qD={},KD={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ZD=G("path",{d:"M21.0672 11.8568L20.4253 11.469L21.0672 11.8568ZM12.1432 2.93276L11.7553 2.29085V2.29085L12.1432 2.93276ZM21.25 12C21.25 17.1086 17.1086 21.25 12 21.25V22.75C17.9371 22.75 22.75 17.9371 22.75 12H21.25ZM12 21.25C6.89137 21.25 2.75 17.1086 2.75 12H1.25C1.25 17.9371 6.06294 22.75 12 22.75V21.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75V1.25C6.06294 1.25 1.25 6.06294 1.25 12H2.75ZM15.5 14.25C12.3244 14.25 9.75 11.6756 9.75 8.5H8.25C8.25 12.5041 11.4959 15.75 15.5 15.75V14.25ZM20.4253 11.469C19.4172 13.1373 17.5882 14.25 15.5 14.25V15.75C18.1349 15.75 20.4407 14.3439 21.7092 12.2447L20.4253 11.469ZM9.75 8.5C9.75 6.41182 10.8627 4.5828 12.531 3.57467L11.7553 2.29085C9.65609 3.5593 8.25 5.86509 8.25 8.5H9.75ZM12 2.75C11.9115 2.75 11.8077 2.71008 11.7324 2.63168C11.6686 2.56527 11.6538 2.50244 11.6503 2.47703C11.6461 2.44587 11.6482 2.35557 11.7553 2.29085L12.531 3.57467C13.0342 3.27065 13.196 2.71398 13.1368 2.27627C13.0754 1.82126 12.7166 1.25 12 1.25V2.75ZM21.7092 12.2447C21.6444 12.3518 21.5541 12.3539 21.523 12.3497C21.4976 12.3462 21.4347 12.3314 21.3683 12.2676C21.2899 12.1923 21.25 12.0885 21.25 12H22.75C22.75 11.2834 22.1787 10.9246 21.7237 10.8632C21.286 10.804 20.7293 10.9658 20.4253 11.469L21.7092 12.2447Z",fill:"currentColor"},null,-1),JD=[ZD];function QD(e,t){return Mt(),Bt("svg",KD,JD)}const eE=pr(qD,[["render",QD]]),tE={key:0,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rE=G("circle",{cx:"12",cy:"6",r:"4",stroke:"currentColor","stroke-width":"1.5"},null,-1),nE=G("path",{opacity:"0.5",d:"M20 17.5C20 19.9853 20 22 12 22C4 22 4 19.9853 4 17.5C4 15.0147 7.58172 13 12 13C16.4183 13 20 15.0147 20 17.5Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),iE=[rE,nE],oE={key:1,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},aE=G("circle",{cx:"9",cy:"4.5",r:"3",fill:"currentColor"},null,-1),sE=G("path",{opacity:"0.5",d:"M15 13.125C15 14.989 15 16.5 9 16.5C3 16.5 3 14.989 3 13.125C3 11.261 5.68629 9.75 9 9.75C12.3137 9.75 15 11.261 15 13.125Z",fill:"currentColor"},null,-1),lE=[aE,sE],Ay=hr({__name:"icon-user",props:{fill:{type:Boolean,default:!1}},setup(e){return(t,o)=>e.fill?(Mt(),Bt("svg",oE,lE)):(Mt(),Bt("svg",tE,iE))}}),cE={},uE={width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hE=G("path",{opacity:"0.5",d:"M17 9.00195C19.175 9.01406 20.3529 9.11051 21.1213 9.8789C22 10.7576 22 12.1718 22 15.0002V16.0002C22 18.8286 22 20.2429 21.1213 21.1215C20.2426 22.0002 18.8284 22.0002 16 22.0002H8C5.17157 22.0002 3.75736 22.0002 2.87868 21.1215C2 20.2429 2 18.8286 2 16.0002L2 15.0002C2 12.1718 2 10.7576 2.87868 9.87889C3.64706 9.11051 4.82497 9.01406 7 9.00195",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),dE=G("path",{d:"M12 15L12 2M12 2L15 5.5M12 2L9 5.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),fE=[hE,dE];function pE(e,t){return Mt(),Bt("svg",uE,fE)}const mE=pr(cE,[["render",pE]]),gE={class:"shadow-sm"},vE={class:"relative bg-white flex w-full items-center px-5 py-2.5 dark:bg-[#0e1726]"},xE={class:"horizontal-logo flex lg:hidden justify-between items-center ltr:mr-2 rtl:ml-2"},bE=G("img",{class:"w-8 ltr:-ml-1 rtl:-mr-1 inline",src:NA,alt:""},null,-1),yE=G("span",{class:"text-2xl ltr:ml-1.5 rtl:mr-1.5 font-semibold align-middle hidden md:inline dark:text-white-light transition-all duration-300"},"V3studio App",-1),wE={class:"sm:flex-1 ltr:sm:ml-0 ltr:ml-auto sm:rtl:mr-0 rtl:mr-auto flex items-center space-x-1.5 lg:space-x-2 rtl:space-x-reverse dark:text-[#d0d2d6]"},_E={class:"dropdown shrink-0"},zE=G("button",{type:"button",class:"relative group block"},[G("img",{class:"w-9 h-9 rounded-full object-cover saturate-50 group-hover:saturate-100",src:gy,alt:""})],-1),kE={class:"text-dark dark:text-white-dark !py-0 w-[230px] font-semibold dark:text-white-light/90"},CE=G("li",null,[G("div",{class:"flex items-center px-4 py-4"},[G("div",{class:"flex-none"},[G("img",{class:"rounded-md w-10 h-10 object-cover",src:gy,alt:""})]),G("div",{class:"ltr:pl-4 rtl:pr-4 truncate"},[G("h4",{class:"text-base"},[Ot(" Johnny Liang"),G("span",{class:"text-xs bg-success-light rounded text-success px-1 ltr:ml-2 rtl:ml-2"},"Pro")]),G("a",{class:"text-black/60 hover:text-primary dark:text-dark-light/60 dark:hover:text-white",href:"javascript:;"},"johndoe@gmail.com")])])],-1),SE={class:"border-t border-white-light dark:border-white-light/10"},AE=hr({__name:"Header",setup(e){const t=ui(),o=YD();Ft(!1);const c=An(Xu());It(()=>`/assets/images/flags/${c.locale.toUpperCase()}.svg`),Ft([{id:1,profile:"user-profile.jpeg",message:'<strong class="text-sm mr-1">John Doe</strong>invite you to <strong>Prototyping</strong>',time:"45 min ago"},{id:2,profile:"profile-34.jpeg",message:'<strong class="text-sm mr-1">Adam Nolan</strong>mentioned you to <strong>UX Basics</strong>',time:"9h Ago"},{id:3,profile:"profile-16.jpeg",message:'<strong class="text-sm mr-1">Anna Morgan</strong>Upload a file',time:"9h Ago"}]),Ft([{id:1,image:'<span class="grid place-content-center w-9 h-9 rounded-full bg-success-light dark:bg-success text-success dark:text-success-light"><svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg></span>',title:"Congratulations!",message:"Your OS has been updated.",time:"1hr"},{id:2,image:'<span class="grid place-content-center w-9 h-9 rounded-full bg-info-light dark:bg-info text-info dark:text-info-light"><svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg></span>',title:"Did you know?",message:"You can switch between artboards.",time:"2hr"},{id:3,image:'<span class="grid place-content-center w-9 h-9 rounded-full bg-danger-light dark:bg-danger text-danger dark:text-danger-light"> <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span>',title:"Something went wrong!",message:"Send Reposrt",time:"2days"},{id:4,image:'<span class="grid place-content-center w-9 h-9 rounded-full bg-warning-light dark:bg-warning text-warning dark:text-warning-light"><svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"> <circle cx="12" cy="12" r="10"></circle> <line x1="12" y1="8" x2="12" y2="12"></line> <line x1="12" y1="16" x2="12.01" y2="16"></line></svg></span>',title:"Warning",message:"Your password strength is low.",time:"5days"}]),Kr(()=>{h()}),er(o,(g,x)=>{h()});const h=()=>{var x;const g=document.querySelector('ul.horizontal-menu a[href="'+window.location.pathname+'"]');if(g){g.classList.add("active");const y=document.querySelectorAll("ul.horizontal-menu .nav-link.active");for(let A=0;A<y.length;A++)(x=y[0])==null||x.classList.remove("active");const z=g.closest("ul.sub-menu");if(z){let A=z.closest("li.menu").querySelectorAll(".nav-link");A&&(A=A[0],setTimeout(()=>{A==null||A.classList.add("active")}))}}};return(g,x)=>{const y=Xn("router-link"),z=Xn("Popper");return Mt(),Bt("header",{class:Br(["z-40",{dark:zt(t).semidark&&zt(t).menu==="horizontal"}])},[G("div",gE,[G("div",vE,[G("div",xE,[Je(y,{to:"/",class:"main-logo flex items-center shrink-0"},{default:Pt(()=>[bE,yE]),_:1})]),G("div",wE,[G("div",null,[Uo(G("a",{href:"javascript:;",class:"flex items-center p-2 rounded-full bg-white-light/40 dark:bg-dark/40 hover:text-primary hover:bg-white-light/90 dark:hover:bg-dark/60",onClick:x[0]||(x[0]=A=>zt(t).toggleTheme("dark"))},[Je(rx)],512),[[ao,zt(t).theme==="light"]]),Uo(G("a",{href:"javascript:;",class:"flex items-center p-2 rounded-full bg-white-light/40 dark:bg-dark/40 hover:text-primary hover:bg-white-light/90 dark:hover:bg-dark/60",onClick:x[1]||(x[1]=A=>zt(t).toggleTheme("system"))},[Je(eE)],512),[[ao,zt(t).theme==="dark"]]),Uo(G("a",{href:"javascript:;",class:"flex items-center p-2 rounded-full bg-white-light/40 dark:bg-dark/40 hover:text-primary hover:bg-white-light/90 dark:hover:bg-dark/60",onClick:x[2]||(x[2]=A=>zt(t).toggleTheme("dark"))},[Je(rx)],512),[[ao,zt(t).theme==="system"]])]),G("div",_E,[Je(z,{placement:zt(t).rtlClass==="rtl"?"bottom-end":"bottom-start",offsetDistance:"8",class:"!block"},{content:Pt(({close:A})=>[G("ul",kE,[CE,G("li",null,[Je(y,{to:"/users/profile",class:"dark:hover:text-white",onClick:L=>A()},{default:Pt(()=>[Je(Ay,{class:"w-4.5 h-4.5 ltr:mr-2 rtl:ml-2 shrink-0"}),Ot(" \u4E2A\u4EBA\u4FE1\u606F ")]),_:2},1032,["onClick"])]),G("li",SE,[Je(y,{to:"/auth/boxed-signin",class:"text-danger !py-3",onClick:L=>A()},{default:Pt(()=>[Je(mE,{class:"w-4.5 h-4.5 ltr:mr-2 rtl:ml-2 rotate-90 shrink-0"}),Ot(" \u9000\u51FA ")]),_:2},1032,["onClick"])])])]),default:Pt(()=>[zE]),_:1},8,["placement"])])])])])],2)}}}),DE={},EE={class:"dark:text-white-dark text-center ltr:sm:text-left rtl:sm:text-right p-6 pt-0 mt-auto"};function LE(e,t){return Mt(),Bt("div",EE," \xA9 "+hl(new Date().getFullYear())+". V3studio All rights reserved. ",1)}const TE=pr(DE,[["render",LE]]),FE={class:"relative"},ME={class:"screen_loader fixed inset-0 bg-[#fafafa] dark:bg-[#060818] z-[60] grid place-content-center animate__animated"},PE=Tn('<svg width="64" height="64" viewBox="0 0 135 135" xmlns="http://www.w3.org/2000/svg" fill="#4361ee"><path d="M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"><animateTransform attributeName="transform" type="rotate" from="0 67 67" to="-360 67 67" dur="2.5s" repeatCount="indefinite"></animateTransform></path><path d="M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"><animateTransform attributeName="transform" type="rotate" from="0 67 67" to="360 67 67" dur="8s" repeatCount="indefinite"></animateTransform></path></svg>',1),OE=[PE],IE={class:"fixed bottom-6 ltr:right-6 rtl:left-6 z-50"},RE=G("svg",{width:"24",height:"24",class:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[G("path",{opacity:"0.5","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 20.75C12.4142 20.75 12.75 20.4142 12.75 20L12.75 10.75L11.25 10.75L11.25 20C11.25 20.4142 11.5858 20.75 12 20.75Z",fill:"currentColor"}),G("path",{d:"M6.00002 10.75C5.69667 10.75 5.4232 10.5673 5.30711 10.287C5.19103 10.0068 5.25519 9.68417 5.46969 9.46967L11.4697 3.46967C11.6103 3.32902 11.8011 3.25 12 3.25C12.1989 3.25 12.3897 3.32902 12.5304 3.46967L18.5304 9.46967C18.7449 9.68417 18.809 10.0068 18.6929 10.287C18.5768 10.5673 18.3034 10.75 18 10.75L6.00002 10.75Z",fill:"currentColor"})],-1),BE=[RE],NE={class:"main-content flex flex-col min-h-screen"},HE={class:"p-6 animation"},WE=hr({__name:"app-layout",setup(e){const t=ui(),o=Ft(!1);Kr(()=>{window.onscroll=()=>{document.body.scrollTop>50||document.documentElement.scrollTop>50?o.value=!0:o.value=!1},document.querySelector(".animation").addEventListener("animationend",function(){Yu.changeAnimation("remove")}),t.toggleMainLoader()});const c=()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0};return(h,g)=>{const x=Xn("Setting"),y=Xn("router-view");return Mt(),Bt("div",FE,[G("div",{class:Br(["fixed inset-0 bg-[black]/60 z-50 lg:hidden",{hidden:!zt(t).sidebar}]),onClick:g[0]||(g[0]=z=>zt(t).toggleSidebar())},null,2),Uo(G("div",ME,OE,512),[[ao,zt(t).isShowMainLoader]]),G("div",IE,[o.value?(Mt(),Bt("button",{key:0,type:"button",class:"btn btn-outline-primary rounded-full p-2 animate-pulse bg-[#fafafa] dark:bg-[#060818] dark:hover:bg-primary",onClick:c},BE)):Ou("",!0)]),Je(x),G("div",{class:Br(["main-container text-black dark:text-white-dark min-h-screen",[zt(t).navbar]])},[Je(BA),G("div",NE,[Je(AE),G("div",HE,[Je(y)]),Je(TE)])],2)])}}}),XE={class:"text-black dark:text-white-dark"},YE={class:"screen_loader fixed inset-0 bg-[#fafafa] dark:bg-[#060818] z-[60] grid place-content-center animate__animated"},jE=Tn('<svg width="64" height="64" viewBox="0 0 135 135" xmlns="http://www.w3.org/2000/svg" fill="#4361ee"><path d="M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"><animateTransform attributeName="transform" type="rotate" from="0 67 67" to="-360 67 67" dur="2.5s" repeatCount="indefinite"></animateTransform></path><path d="M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"><animateTransform attributeName="transform" type="rotate" from="0 67 67" to="360 67 67" dur="8s" repeatCount="indefinite"></animateTransform></path></svg>',1),$E=[jE],VE={class:"fixed bottom-6 ltr:right-6 rtl:left-6 z-50"},UE=G("svg",{width:"24",height:"24",class:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[G("path",{opacity:"0.5","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 20.75C12.4142 20.75 12.75 20.4142 12.75 20L12.75 10.75L11.25 10.75L11.25 20C11.25 20.4142 11.5858 20.75 12 20.75Z",fill:"currentColor"}),G("path",{d:"M6.00002 10.75C5.69667 10.75 5.4232 10.5673 5.30711 10.287C5.19103 10.0068 5.25519 9.68417 5.46969 9.46967L11.4697 3.46967C11.6103 3.32902 11.8011 3.25 12 3.25C12.1989 3.25 12.3897 3.32902 12.5304 3.46967L18.5304 9.46967C18.7449 9.68417 18.809 10.0068 18.6929 10.287C18.5768 10.5673 18.3034 10.75 18 10.75L6.00002 10.75Z",fill:"currentColor"})],-1),GE=[UE],qE=hr({__name:"auth-layout",setup(e){const t=ui(),o=Ft(!1);Kr(()=>{window.onscroll=()=>{document.body.scrollTop>50||document.documentElement.scrollTop>50?o.value=!0:o.value=!1},t.toggleMainLoader()});const c=()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0};return(h,g)=>{const x=Xn("router-view");return Mt(),Bt("div",XE,[Uo(G("div",YE,$E,512),[[ao,zt(t).isShowMainLoader]]),G("div",VE,[o.value?(Mt(),Bt("button",{key:0,type:"button",class:"btn btn-outline-primary rounded-full p-2 animate-pulse bg-[#fafafa] dark:bg-[#060818] dark:hover:bg-primary",onClick:c},GE)):Ou("",!0)]),Je(x)])}}});var nx;const KE=typeof window<"u";KE&&((nx=window==null?void 0:window.navigator)==null?void 0:nx.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ZE(e){return typeof e=="function"?e():zt(e)}var Dy="usehead",ix="head:count",wd="data-head-attrs",Ey="data-meta-body",JE=(e,t)=>{const o=c=>{if(c.props.renderPriority)return c.props.renderPriority;switch(c.tag){case"base":return-1;case"meta":return c.props.charset?-2:c.props["http-equiv"]==="content-security-policy"?0:10;default:return 10}};return o(e)-o(t)},QE=e=>{if(!["meta","base","script","link","title"].includes(e.tag))return!1;const{props:t,tag:o}=e;if(o==="base"||o==="title")return o;if(o==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";const c=["key","id","name","property","http-equiv"];for(const h of c){let g;if(typeof t.getAttribute=="function"&&t.hasAttribute(h)?g=t.getAttribute(h):g=t[h],g!==void 0)return`${o}-${h}-${g}`}return!1};function pf(e){const t=ZE(e);return!e||!t?t:Array.isArray(t)?t.map(pf):typeof t=="object"?Object.fromEntries(Object.entries(t).map(([o,c])=>o==="titleTemplate"?[o,zt(c)]:[o,pf(c)])):t}function eL(e){return{...e,input:pf(e.input)}}function ox(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const o=t.getAttribute("nonce");if(o&&!e.getAttribute("nonce")){const c=t.cloneNode(!0);return c.setAttribute("nonce",""),c.nonce=o,o===e.nonce&&e.isEqualNode(c)}}return e.isEqualNode(t)}var ax=(e,t)=>{const o=e.getAttribute(wd);if(o)for(const h of o.split(","))h in t||e.removeAttribute(h);const c=[];for(const h in t){const g=t[h];g!=null&&(g===!1?e.removeAttribute(h):e.setAttribute(h,g),c.push(h))}c.length?e.setAttribute(wd,c.join(",")):e.removeAttribute(wd)},tL=(e,t,o)=>{const c=o.createElement(e);for(const h of Object.keys(t))if(h==="body"&&t.body===!0)c.setAttribute(Ey,"true");else{const g=t[h];if(h==="renderPriority"||h==="key"||g===!1)continue;h==="children"||h==="textContent"?c.textContent=g:h==="innerHTML"?c.innerHTML=g:c.setAttribute(h,g)}return c},rL=(e=window.document,t,o)=>{var c,h;const g=e.head,x=e.body;let y=g.querySelector(`meta[name="${ix}"]`);const z=x.querySelectorAll(`[${Ey}]`),A=y?Number(y.getAttribute("content")):0,L=[],O=[];if(z)for(let Y=0;Y<z.length;Y++)z[Y]&&((c=z[Y].tagName)==null?void 0:c.toLowerCase())===t&&O.push(z[Y]);if(y)for(let Y=0,V=y.previousElementSibling;Y<A;Y++,V=(V==null?void 0:V.previousElementSibling)||null)((h=V==null?void 0:V.tagName)==null?void 0:h.toLowerCase())===t&&L.push(V);else y=e.createElement("meta"),y.setAttribute("name",ix),y.setAttribute("content","0"),g.append(y);let P=o.map(Y=>{var V;return{element:tL(Y.tag,Y.props,e),body:(V=Y.props.body)!=null?V:!1}});P=P.filter(Y=>{for(let V=0;V<L.length;V++){const ee=L[V];if(ox(ee,Y.element))return L.splice(V,1),!1}for(let V=0;V<O.length;V++){const ee=O[V];if(ox(ee,Y.element))return O.splice(V,1),!1}return!0}),O.forEach(Y=>{var V;return(V=Y.parentNode)==null?void 0:V.removeChild(Y)}),L.forEach(Y=>{var V;return(V=Y.parentNode)==null?void 0:V.removeChild(Y)}),P.forEach(Y=>{Y.body===!0?x.insertAdjacentElement("beforeend",Y.element):g.insertBefore(Y.element,y)}),y.setAttribute("content",`${A-L.length+P.filter(Y=>!Y.body).length}`)},nL=({domCtx:e,document:t,previousTags:o})=>{t||(t=window.document),e.title!==void 0&&(t.title=e.title),ax(t.documentElement,e.htmlAttrs),ax(t.body,e.bodyAttrs);const c=new Set([...Object.keys(e.actualTags),...o]);for(const h of c)rL(t,h,e.actualTags[h]||[]);o.clear(),Object.keys(e.actualTags).forEach(h=>o.add(h))},iL=()=>{const e=Ar(Dy);if(!e)throw new Error("You may forget to apply app.use(head)");return e},oL=["title","meta","link","base","style","script","noscript","htmlAttrs","bodyAttrs"],aL=(e,t)=>e==null?"":typeof e=="function"?e(t):e.replace("%s",t!=null?t:""),sL=e=>{const t=[],o=Object.keys(e),c=h=>(h.hid&&(h.key=h.hid,delete h.hid),h.vmid&&(h.key=h.vmid,delete h.vmid),h);for(const h of o)if(e[h]!=null)switch(h){case"title":t.push({tag:h,props:{textContent:e[h]}});break;case"titleTemplate":break;case"base":t.push({tag:h,props:{key:"default",...e[h]}});break;default:if(oL.includes(h)){const g=e[h];Array.isArray(g)?g.forEach(x=>{const y=c(x);t.push({tag:h,props:y})}):g&&t.push({tag:h,props:c(g)})}break}return t},lL=e=>{let t=[];const o=new Set;let c=0;const h=[],g=[];e&&t.push({input:e});let x=null,y;const z={install(A){A.config.globalProperties.$head=z,A.provide(Dy,z)},hookBeforeDomUpdate:h,hookTagsResolved:g,get headTags(){const A=[],L={},O=t.map(eL),P=O.map(V=>V.input.titleTemplate).reverse().find(V=>V!=null);O.forEach((V,ee)=>{sL(V.input).forEach((K,T)=>{var re;if(K._position=ee*1e4+T,K._options&&delete K._options,V.options&&(K._options=V.options),P&&K.tag==="title"&&(K.props.textContent=aL(P,K.props.textContent)),!((re=K._options)!=null&&re.raw)){for(const j in K.props)j.startsWith("on")&&(console.warn("[@vueuse/head] Warning, you must use `useHeadRaw` to set event listeners. See https://github.com/vueuse/head/pull/118",K),delete K.props[j]);K.props.innerHTML&&(console.warn("[@vueuse/head] Warning, you must use `useHeadRaw` to use `innerHTML`",K),delete K.props.innerHTML)}const B=QE(K);B?L[B]=K:A.push(K)})}),A.push(...Object.values(L));const Y=A.sort((V,ee)=>V._position-ee._position);return z.hookTagsResolved.forEach(V=>V(Y)),Y},addHeadObjs(A,L){const O={input:A,options:L,id:c++};return t.push(O),()=>{t=t.filter(P=>P.id!==O.id)}},removeHeadObjs(A){t=t.filter(L=>L.input!==A)},updateDOM:(A,L)=>{y={title:void 0,htmlAttrs:{},bodyAttrs:{},actualTags:{}};for(const P of z.headTags.sort(JE)){if(P.tag==="title"){y.title=P.props.textContent;continue}if(P.tag==="htmlAttrs"||P.tag==="bodyAttrs"){Object.assign(y[P.tag],P.props);continue}y.actualTags[P.tag]=y.actualTags[P.tag]||[],y.actualTags[P.tag].push(P)}const O=()=>{x=null;for(const P in z.hookBeforeDomUpdate)if(z.hookBeforeDomUpdate[P](y.actualTags)===!1)return;nL({domCtx:y,document:A,previousTags:o})};if(L){O();return}x=x||fi(()=>O())}};return z},cL=typeof window<"u",uL=(e,t={})=>{const o=iL(),c=o.addHeadObjs(e,t);cL&&(bl(()=>{o.updateDOM()}),Ri(()=>{c(),o.updateDOM()}))},hL=e=>{uL(e)};const dL=e=>hL({...e,title:`${e.title} | VRISTO - Multipurpose Tailwind Dashboard Template`}),fL="modulepreload",pL=function(e){return"/"+e},sx={},qt=function(t,o,c){return!o||o.length===0?t():Promise.all(o.map(h=>{if(h=pL(h),h in sx)return;sx[h]=!0;const g=h.endsWith(".css"),x=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${x}`))return;const y=document.createElement("link");if(y.rel=g?"stylesheet":fL,g||(y.as="script",y.crossOrigin=""),y.href=h,document.head.appendChild(y),g)return new Promise((z,A)=>{y.addEventListener("load",z),y.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${h}`)))})})).then(()=>t())},mL="/assets/images/profile-34.jpeg",gL="/assets/images/profile-6.jpeg",vL="/assets/images/profile-7.jpeg",xL="/assets/images/profile-8.jpeg",bL="/assets/images/profile-9.jpeg",yL="/assets/images/profile-10.jpeg",wL="/assets/images/product-headphones.jpg",_L="/assets/images/product-shoes.jpg",Ly="/assets/images/product-laptop.jpg",zL="/assets/images/product-camera.jpg";var Ty={exports:{}},Wc={exports:{}};/*!
  38. * ApexCharts v3.35.5
  39. * (c) 2018-2022 ApexCharts
  40. * Released under the MIT License.
  41. */var lx;function kL(){return lx||(lx=1,function(e,t){function o(J,r){var n=Object.keys(J);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(J);r&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(J,l).enumerable})),n.push.apply(n,a)}return n}function c(J){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?o(Object(n),!0).forEach(function(a){z(J,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(a){Object.defineProperty(J,a,Object.getOwnPropertyDescriptor(n,a))})}return J}function h(J){return(h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(J)}function g(J,r){if(!(J instanceof r))throw new TypeError("Cannot call a class as a function")}function x(J,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(J,a.key,a)}}function y(J,r,n){return r&&x(J.prototype,r),n&&x(J,n),J}function z(J,r,n){return r in J?Object.defineProperty(J,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):J[r]=n,J}function A(J,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(r&&r.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),r&&O(J,r)}function L(J){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)})(J)}function O(J,r){return(O=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n})(J,r)}function P(J,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(J)}function Y(J){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var n,a=L(J);if(r){var l=L(this).constructor;n=Reflect.construct(a,arguments,l)}else n=a.apply(this,arguments);return P(this,n)}}function V(J,r){return function(n){if(Array.isArray(n))return n}(J)||function(n,a){var l=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(l!=null){var u,p,d=[],b=!0,w=!1;try{for(l=l.call(n);!(b=(u=l.next()).done)&&(d.push(u.value),!a||d.length!==a);b=!0);}catch(k){w=!0,p=k}finally{try{b||l.return==null||l.return()}finally{if(w)throw p}}return d}}(J,r)||ae(J,r)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  42. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ee(J){return function(r){if(Array.isArray(r))return K(r)}(J)||function(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}(J)||ae(J)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  43. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ae(J,r){if(J){if(typeof J=="string")return K(J,r);var n=Object.prototype.toString.call(J).slice(8,-1);return n==="Object"&&J.constructor&&(n=J.constructor.name),n==="Map"||n==="Set"?Array.from(J):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(J,r):void 0}}function K(J,r){(r==null||r>J.length)&&(r=J.length);for(var n=0,a=new Array(r);n<r;n++)a[n]=J[n];return a}var T=function(){function J(){g(this,J)}return y(J,[{key:"shadeRGBColor",value:function(r,n){var a=n.split(","),l=r<0?0:255,u=r<0?-1*r:r,p=parseInt(a[0].slice(4),10),d=parseInt(a[1],10),b=parseInt(a[2],10);return"rgb("+(Math.round((l-p)*u)+p)+","+(Math.round((l-d)*u)+d)+","+(Math.round((l-b)*u)+b)+")"}},{key:"shadeHexColor",value:function(r,n){var a=parseInt(n.slice(1),16),l=r<0?0:255,u=r<0?-1*r:r,p=a>>16,d=a>>8&255,b=255&a;return"#"+(16777216+65536*(Math.round((l-p)*u)+p)+256*(Math.round((l-d)*u)+d)+(Math.round((l-b)*u)+b)).toString(16).slice(1)}},{key:"shadeColor",value:function(r,n){return J.isColorHex(n)?this.shadeHexColor(r,n):this.shadeRGBColor(r,n)}}],[{key:"bind",value:function(r,n){return function(){return r.apply(n,arguments)}}},{key:"isObject",value:function(r){return r&&h(r)==="object"&&!Array.isArray(r)&&r!=null}},{key:"is",value:function(r,n){return Object.prototype.toString.call(n)==="[object "+r+"]"}},{key:"listToArray",value:function(r){var n,a=[];for(n=0;n<r.length;n++)a[n]=r[n];return a}},{key:"extend",value:function(r,n){var a=this;typeof Object.assign!="function"&&(Object.assign=function(u){if(u==null)throw new TypeError("Cannot convert undefined or null to object");for(var p=Object(u),d=1;d<arguments.length;d++){var b=arguments[d];if(b!=null)for(var w in b)b.hasOwnProperty(w)&&(p[w]=b[w])}return p});var l=Object.assign({},r);return this.isObject(r)&&this.isObject(n)&&Object.keys(n).forEach(function(u){a.isObject(n[u])&&u in r?l[u]=a.extend(r[u],n[u]):Object.assign(l,z({},u,n[u]))}),l}},{key:"extendArray",value:function(r,n){var a=[];return r.map(function(l){a.push(J.extend(n,l))}),r=a}},{key:"monthMod",value:function(r){return r%12}},{key:"clone",value:function(r){if(J.is("Array",r)){for(var n=[],a=0;a<r.length;a++)n[a]=this.clone(r[a]);return n}if(J.is("Null",r))return null;if(J.is("Date",r))return r;if(h(r)==="object"){var l={};for(var u in r)r.hasOwnProperty(u)&&(l[u]=this.clone(r[u]));return l}return r}},{key:"log10",value:function(r){return Math.log(r)/Math.LN10}},{key:"roundToBase10",value:function(r){return Math.pow(10,Math.floor(Math.log10(r)))}},{key:"roundToBase",value:function(r,n){return Math.pow(n,Math.floor(Math.log(r)/Math.log(n)))}},{key:"parseNumber",value:function(r){return r===null?r:parseFloat(r)}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(r){var n=String(r).split(/[eE]/);if(n.length===1)return n[0];var a="",l=r<0?"-":"",u=n[0].replace(".",""),p=Number(n[1])+1;if(p<0){for(a=l+"0.";p++;)a+="0";return a+u.replace(/^-/,"")}for(p-=u.length;p--;)a+="0";return u+a}},{key:"getDimensions",value:function(r){var n=getComputedStyle(r,null),a=r.clientHeight,l=r.clientWidth;return a-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),[l-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),a]}},{key:"getBoundingClientRect",value:function(r){var n=r.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:r.clientWidth,height:r.clientHeight,x:n.left,y:n.top}}},{key:"getLargestStringFromArr",value:function(r){return r.reduce(function(n,a){return Array.isArray(a)&&(a=a.reduce(function(l,u){return l.length>u.length?l:u})),n.length>a.length?n:a},0)}},{key:"hexToRgba",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;r.substring(0,1)!=="#"&&(r="#999999");var a=r.replace("#","");a=a.match(new RegExp("(.{"+a.length/3+"})","g"));for(var l=0;l<a.length;l++)a[l]=parseInt(a[l].length===1?a[l]+a[l]:a[l],16);return n!==void 0&&a.push(n),"rgba("+a.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(r){return parseFloat(r.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(r){return(r=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&r.length===4?"#"+("0"+parseInt(r[1],10).toString(16)).slice(-2)+("0"+parseInt(r[2],10).toString(16)).slice(-2)+("0"+parseInt(r[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(r){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(r)}},{key:"getPolygonPos",value:function(r,n){for(var a=[],l=2*Math.PI/n,u=0;u<n;u++){var p={};p.x=r*Math.sin(u*l),p.y=-r*Math.cos(u*l),a.push(p)}return a}},{key:"polarToCartesian",value:function(r,n,a,l){var u=(l-90)*Math.PI/180;return{x:r+a*Math.cos(u),y:n+a*Math.sin(u)}}},{key:"escapeString",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",a=r.toString().slice();return a=a.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,n)}},{key:"negToZero",value:function(r){return r<0?0:r}},{key:"moveIndexInArray",value:function(r,n,a){if(a>=r.length)for(var l=a-r.length+1;l--;)r.push(void 0);return r.splice(a,0,r.splice(n,1)[0]),r}},{key:"extractNumber",value:function(r){return parseFloat(r.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(r,n){for(;(r=r.parentElement)&&!r.classList.contains(n););return r}},{key:"setELstyles",value:function(r,n){for(var a in n)n.hasOwnProperty(a)&&(r.style.key=n[a])}},{key:"isNumber",value:function(r){return!isNaN(r)&&parseFloat(Number(r))===r&&!isNaN(parseInt(r,10))}},{key:"isFloat",value:function(r){return Number(r)===r&&r%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(window.navigator.userAgent.indexOf("MSIE")!==-1||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var r=window.navigator.userAgent,n=r.indexOf("MSIE ");if(n>0)return parseInt(r.substring(n+5,r.indexOf(".",n)),10);if(r.indexOf("Trident/")>0){var a=r.indexOf("rv:");return parseInt(r.substring(a+3,r.indexOf(".",a)),10)}var l=r.indexOf("Edge/");return l>0&&parseInt(r.substring(l+5,r.indexOf(".",l)),10)}}]),J}(),re=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.setEasingFunctions()}return y(J,[{key:"setEasingFunctions",value:function(){var r;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":r="-";break;case"easein":r="<";break;case"easeout":r=">";break;case"easeinout":r="<>";break;case"swing":r=function(n){var a=1.70158;return(n-=1)*n*((a+1)*n+a)+1};break;case"bounce":r=function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375};break;case"elastic":r=function(n){return n===!!n?n:Math.pow(2,-10*n)*Math.sin((n-.075)*(2*Math.PI)/.3)+1};break;default:r="<>"}this.w.globals.easing=r}}},{key:"animateLine",value:function(r,n,a,l){r.attr(n).animate(l).attr(a)}},{key:"animateMarker",value:function(r,n,a,l,u,p){n||(n=0),r.attr({r:n,width:n,height:n}).animate(l,u).attr({r:a,width:a.width,height:a.height}).afterAll(function(){p()})}},{key:"animateCircle",value:function(r,n,a,l,u){r.attr({r:n.r,cx:n.cx,cy:n.cy}).animate(l,u).attr({r:a.r,cx:a.cx,cy:a.cy})}},{key:"animateRect",value:function(r,n,a,l,u){r.attr(n).animate(l).attr(a).afterAll(function(){return u()})}},{key:"animatePathsGradually",value:function(r){var n=r.el,a=r.realIndex,l=r.j,u=r.fill,p=r.pathFrom,d=r.pathTo,b=r.speed,w=r.delay,k=this.w,C=0;k.config.chart.animations.animateGradually.enabled&&(C=k.config.chart.animations.animateGradually.delay),k.config.chart.animations.dynamicAnimation.enabled&&k.globals.dataChanged&&k.config.chart.type!=="bar"&&(C=0),this.morphSVG(n,a,l,k.config.chart.type!=="line"||k.globals.comboCharts?u:"stroke",p,d,b,w*C)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(r){r.el.classList.remove("apexcharts-element-hidden")})}},{key:"animationCompleted",value:function(r){var n=this.w;n.globals.animationEnded||(n.globals.animationEnded=!0,this.showDelayedElements(),typeof n.config.chart.events.animationEnd=="function"&&n.config.chart.events.animationEnd(this.ctx,{el:r,w:n}))}},{key:"morphSVG",value:function(r,n,a,l,u,p,d,b){var w=this,k=this.w;u||(u=r.attr("pathFrom")),p||(p=r.attr("pathTo"));var C=function(E){return k.config.chart.type==="radar"&&(d=1),"M 0 ".concat(k.globals.gridHeight)};(!u||u.indexOf("undefined")>-1||u.indexOf("NaN")>-1)&&(u=C()),(!p||p.indexOf("undefined")>-1||p.indexOf("NaN")>-1)&&(p=C()),k.globals.shouldAnimate||(d=1),r.plot(u).animate(1,k.globals.easing,b).plot(u).animate(d,k.globals.easing,b).plot(p).afterAll(function(){T.isNumber(a)?a===k.globals.series[k.globals.maxValsInArrayIndex].length-2&&k.globals.shouldAnimate&&w.animationCompleted(r):l!=="none"&&k.globals.shouldAnimate&&(!k.globals.comboCharts&&n===k.globals.series.length-1||k.globals.comboCharts)&&w.animationCompleted(r),w.showDelayedElements()})}}]),J}(),B=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"getDefaultFilter",value:function(r,n){var a=this.w;r.unfilter(!0),new window.SVG.Filter().size("120%","180%","-5%","-40%"),a.config.states.normal.filter!=="none"?this.applyFilter(r,n,a.config.states.normal.filter.type,a.config.states.normal.filter.value):a.config.chart.dropShadow.enabled&&this.dropShadow(r,a.config.chart.dropShadow,n)}},{key:"addNormalFilter",value:function(r,n){var a=this.w;a.config.chart.dropShadow.enabled&&!r.node.classList.contains("apexcharts-marker")&&this.dropShadow(r,a.config.chart.dropShadow,n)}},{key:"addLightenFilter",value:function(r,n,a){var l=this,u=this.w,p=a.intensity;r.unfilter(!0),new window.SVG.Filter,r.filter(function(d){var b=u.config.chart.dropShadow;(b.enabled?l.addShadow(d,n,b):d).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:p}})}),r.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(r.filterer.node)}},{key:"addDarkenFilter",value:function(r,n,a){var l=this,u=this.w,p=a.intensity;r.unfilter(!0),new window.SVG.Filter,r.filter(function(d){var b=u.config.chart.dropShadow;(b.enabled?l.addShadow(d,n,b):d).componentTransfer({rgb:{type:"linear",slope:p}})}),r.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(r.filterer.node)}},{key:"applyFilter",value:function(r,n,a){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5;switch(a){case"none":this.addNormalFilter(r,n);break;case"lighten":this.addLightenFilter(r,n,{intensity:l});break;case"darken":this.addDarkenFilter(r,n,{intensity:l})}}},{key:"addShadow",value:function(r,n,a){var l=a.blur,u=a.top,p=a.left,d=a.color,b=a.opacity,w=r.flood(Array.isArray(d)?d[n]:d,b).composite(r.sourceAlpha,"in").offset(p,u).gaussianBlur(l).merge(r.source);return r.blend(r.source,w)}},{key:"dropShadow",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=n.top,u=n.left,p=n.blur,d=n.color,b=n.opacity,w=n.noUserSpaceOnUse,k=this.w;return r.unfilter(!0),T.isIE()&&k.config.chart.type==="radialBar"||(d=Array.isArray(d)?d[a]:d,r.filter(function(C){var E=null;E=T.isSafari()||T.isFirefox()||T.isIE()?C.flood(d,b).composite(C.sourceAlpha,"in").offset(u,l).gaussianBlur(p):C.flood(d,b).composite(C.sourceAlpha,"in").offset(u,l).gaussianBlur(p).merge(C.source),C.blend(C.source,E)}),w||r.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(r.filterer.node)),r}},{key:"setSelectionFilter",value:function(r,n,a){var l=this.w;if(l.globals.selectedDataPoints[n]!==void 0&&l.globals.selectedDataPoints[n].indexOf(a)>-1){r.node.setAttribute("selected",!0);var u=l.config.states.active.filter;u!=="none"&&this.applyFilter(r,n,u.type,u.value)}}},{key:"_scaleFilterSize",value:function(r){(function(n){for(var a in n)n.hasOwnProperty(a)&&r.setAttribute(a,n[a])})({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),J}(),j=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"drawLine",value:function(r,n,a,l){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#a8a8a8",p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,b=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"butt",w=this.w,k=w.globals.dom.Paper.line().attr({x1:r,y1:n,x2:a,y2:l,stroke:u,"stroke-dasharray":p,"stroke-width":d,"stroke-linecap":b});return k}},{key:"drawRect",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#fefefe",d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,b=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,w=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null,k=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0,C=this.w,E=C.globals.dom.Paper.rect();return E.attr({x:r,y:n,width:a>0?a:0,height:l>0?l:0,rx:u,ry:u,opacity:d,"stroke-width":b!==null?b:0,stroke:w!==null?w:"none","stroke-dasharray":k}),E.node.setAttribute("fill",p),E}},{key:"drawPolygon",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#e1e1e1",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none",u=this.w,p=u.globals.dom.Paper.polygon(r).attr({fill:l,stroke:n,"stroke-width":a});return p}},{key:"drawCircle",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.w;r<0&&(r=0);var l=a.globals.dom.Paper.circle(2*r);return n!==null&&l.attr(n),l}},{key:"drawPath",value:function(r){var n=r.d,a=n===void 0?"":n,l=r.stroke,u=l===void 0?"#a8a8a8":l,p=r.strokeWidth,d=p===void 0?1:p,b=r.fill,w=r.fillOpacity,k=w===void 0?1:w,C=r.strokeOpacity,E=C===void 0?1:C,F=r.classes,H=r.strokeLinecap,W=H===void 0?null:H,U=r.strokeDashArray,Z=U===void 0?0:U,ie=this.w;return W===null&&(W=ie.config.stroke.lineCap),(a.indexOf("undefined")>-1||a.indexOf("NaN")>-1)&&(a="M 0 ".concat(ie.globals.gridHeight)),ie.globals.dom.Paper.path(a).attr({fill:b,"fill-opacity":k,stroke:u,"stroke-opacity":E,"stroke-linecap":W,"stroke-width":d,"stroke-dasharray":Z,class:F})}},{key:"group",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=this.w,a=n.globals.dom.Paper.group();return r!==null&&a.attr(r),a}},{key:"move",value:function(r,n){var a=["M",r,n].join(" ");return a}},{key:"line",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=null;return a===null?l=["L",r,n].join(" "):a==="H"?l=["H",r].join(" "):a==="V"&&(l=["V",n].join(" ")),l}},{key:"curve",value:function(r,n,a,l,u,p){var d=["C",r,n,a,l,u,p].join(" ");return d}},{key:"quadraticCurve",value:function(r,n,a,l){return["Q",r,n,a,l].join(" ")}},{key:"arc",value:function(r,n,a,l,u,p,d){var b=arguments.length>7&&arguments[7]!==void 0&&arguments[7],w="A";b&&(w="a");var k=[w,r,n,a,l,u,p,d].join(" ");return k}},{key:"renderPaths",value:function(r){var n,a=r.j,l=r.realIndex,u=r.pathFrom,p=r.pathTo,d=r.stroke,b=r.strokeWidth,w=r.strokeLinecap,k=r.fill,C=r.animationDelay,E=r.initialSpeed,F=r.dataChangeSpeed,H=r.className,W=r.shouldClipToGrid,U=W===void 0||W,Z=r.bindEventsOnPaths,ie=Z===void 0||Z,se=r.drawShadow,_=se===void 0||se,D=this.w,R=new B(this.ctx),Q=new re(this.ctx),be=this.w.config.chart.animations.enabled,Re=be&&this.w.config.chart.animations.dynamicAnimation.enabled,_e=!!(be&&!D.globals.resized||Re&&D.globals.dataChanged&&D.globals.shouldAnimate);_e?n=u:(n=p,D.globals.animationEnded=!0);var Qe=D.config.stroke.dashArray,Ie=0;Ie=Array.isArray(Qe)?Qe[l]:D.config.stroke.dashArray;var lt=this.drawPath({d:n,stroke:d,strokeWidth:b,fill:k,fillOpacity:1,classes:H,strokeLinecap:w,strokeDashArray:Ie});if(lt.attr("index",l),U&&lt.attr({"clip-path":"url(#gridRectMask".concat(D.globals.cuid,")")}),D.config.states.normal.filter.type!=="none")R.getDefaultFilter(lt,l);else if(D.config.chart.dropShadow.enabled&&_&&(!D.config.chart.dropShadow.enabledOnSeries||D.config.chart.dropShadow.enabledOnSeries&&D.config.chart.dropShadow.enabledOnSeries.indexOf(l)!==-1)){var wt=D.config.chart.dropShadow;R.dropShadow(lt,wt,l)}ie&&(lt.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,lt)),lt.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,lt)),lt.node.addEventListener("mousedown",this.pathMouseDown.bind(this,lt))),lt.attr({pathTo:p,pathFrom:u});var Xt={el:lt,j:a,realIndex:l,pathFrom:u,pathTo:p,fill:k,strokeWidth:b,delay:C};return!be||D.globals.resized||D.globals.dataChanged?!D.globals.resized&&D.globals.dataChanged||Q.showDelayedElements():Q.animatePathsGradually(c(c({},Xt),{},{speed:E})),D.globals.dataChanged&&Re&&_e&&Q.animatePathsGradually(c(c({},Xt),{},{speed:F})),lt}},{key:"drawPattern",value:function(r,n,a){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#a8a8a8",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,p=this.w,d=p.globals.dom.Paper.pattern(n,a,function(b){r==="horizontalLines"?b.line(0,0,a,0).stroke({color:l,width:u+1}):r==="verticalLines"?b.line(0,0,0,n).stroke({color:l,width:u+1}):r==="slantedLines"?b.line(0,0,n,a).stroke({color:l,width:u}):r==="squares"?b.rect(n,a).fill("none").stroke({color:l,width:u}):r==="circles"&&b.circle(n).fill("none").stroke({color:l,width:u})});return d}},{key:"drawGradient",value:function(r,n,a,l,u){var p,d=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,b=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,w=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,k=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,C=this.w;n.length<9&&n.indexOf("#")===0&&(n=T.hexToRgba(n,l)),a.length<9&&a.indexOf("#")===0&&(a=T.hexToRgba(a,u));var E=0,F=1,H=1,W=null;b!==null&&(E=b[0]!==void 0?b[0]/100:0,F=b[1]!==void 0?b[1]/100:1,H=b[2]!==void 0?b[2]/100:1,W=b[3]!==void 0?b[3]/100:null);var U=!(C.config.chart.type!=="donut"&&C.config.chart.type!=="pie"&&C.config.chart.type!=="polarArea"&&C.config.chart.type!=="bubble");if(p=w===null||w.length===0?C.globals.dom.Paper.gradient(U?"radial":"linear",function(se){se.at(E,n,l),se.at(F,a,u),se.at(H,a,u),W!==null&&se.at(W,n,l)}):C.globals.dom.Paper.gradient(U?"radial":"linear",function(se){(Array.isArray(w[k])?w[k]:w).forEach(function(_){se.at(_.offset/100,_.color,_.opacity)})}),U){var Z=C.globals.gridWidth/2,ie=C.globals.gridHeight/2;C.config.chart.type!=="bubble"?p.attr({gradientUnits:"userSpaceOnUse",cx:Z,cy:ie,r:d}):p.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else r==="vertical"?p.from(0,0).to(0,1):r==="diagonal"?p.from(0,0).to(1,1):r==="horizontal"?p.from(0,1).to(1,1):r==="diagonal2"&&p.from(1,0).to(0,1);return p}},{key:"getTextBasedOnMaxWidth",value:function(r){var n=r.text,a=r.maxWidth,l=r.fontSize,u=r.fontFamily,p=this.getTextRects(n,l,u),d=p.width/n.length,b=Math.floor(a/d);return a<p.width?n.slice(0,b-3)+"...":n}},{key:"drawText",value:function(r){var n=this,a=r.x,l=r.y,u=r.text,p=r.textAnchor,d=r.fontSize,b=r.fontFamily,w=r.fontWeight,k=r.foreColor,C=r.opacity,E=r.maxWidth,F=r.cssClass,H=F===void 0?"":F,W=r.isPlainText,U=W===void 0||W,Z=this.w;u===void 0&&(u="");var ie=u;p||(p="start"),k&&k.length||(k=Z.config.chart.foreColor),b=b||Z.config.chart.fontFamily,w=w||"regular";var se,_={maxWidth:E,fontSize:d=d||"11px",fontFamily:b};return Array.isArray(u)?se=Z.globals.dom.Paper.text(function(D){for(var R=0;R<u.length;R++)ie=u[R],E&&(ie=n.getTextBasedOnMaxWidth(c({text:u[R]},_))),R===0?D.tspan(ie):D.tspan(ie).newLine()}):(E&&(ie=this.getTextBasedOnMaxWidth(c({text:u},_))),se=U?Z.globals.dom.Paper.plain(u):Z.globals.dom.Paper.text(function(D){return D.tspan(ie)})),se.attr({x:a,y:l,"text-anchor":p,"dominant-baseline":"auto","font-size":d,"font-family":b,"font-weight":w,fill:k,class:"apexcharts-text "+H}),se.node.style.fontFamily=b,se.node.style.opacity=C,se}},{key:"drawMarker",value:function(r,n,a){r=r||0;var l=a.pSize||0,u=null;if(a.shape==="square"||a.shape==="rect"){var p=a.pRadius===void 0?l/2:a.pRadius;n!==null&&l||(l=0,p=0);var d=1.2*l+p,b=this.drawRect(d,d,d,d,p);b.attr({x:r-d/2,y:n-d/2,cx:r,cy:n,class:a.class?a.class:"",fill:a.pointFillColor,"fill-opacity":a.pointFillOpacity?a.pointFillOpacity:1,stroke:a.pointStrokeColor,"stroke-width":a.pointStrokeWidth?a.pointStrokeWidth:0,"stroke-opacity":a.pointStrokeOpacity?a.pointStrokeOpacity:1}),u=b}else a.shape!=="circle"&&a.shape||(T.isNumber(n)||(l=0,n=0),u=this.drawCircle(l,{cx:r,cy:n,class:a.class?a.class:"",stroke:a.pointStrokeColor,fill:a.pointFillColor,"fill-opacity":a.pointFillOpacity?a.pointFillOpacity:1,"stroke-width":a.pointStrokeWidth?a.pointStrokeWidth:0,"stroke-opacity":a.pointStrokeOpacity?a.pointStrokeOpacity:1}));return u}},{key:"pathMouseEnter",value:function(r,n){var a=this.w,l=new B(this.ctx),u=parseInt(r.node.getAttribute("index"),10),p=parseInt(r.node.getAttribute("j"),10);if(typeof a.config.chart.events.dataPointMouseEnter=="function"&&a.config.chart.events.dataPointMouseEnter(n,this.ctx,{seriesIndex:u,dataPointIndex:p,w:a}),this.ctx.events.fireEvent("dataPointMouseEnter",[n,this.ctx,{seriesIndex:u,dataPointIndex:p,w:a}]),(a.config.states.active.filter.type==="none"||r.node.getAttribute("selected")!=="true")&&a.config.states.hover.filter.type!=="none"&&!a.globals.isTouchDevice){var d=a.config.states.hover.filter;l.applyFilter(r,u,d.type,d.value)}}},{key:"pathMouseLeave",value:function(r,n){var a=this.w,l=new B(this.ctx),u=parseInt(r.node.getAttribute("index"),10),p=parseInt(r.node.getAttribute("j"),10);typeof a.config.chart.events.dataPointMouseLeave=="function"&&a.config.chart.events.dataPointMouseLeave(n,this.ctx,{seriesIndex:u,dataPointIndex:p,w:a}),this.ctx.events.fireEvent("dataPointMouseLeave",[n,this.ctx,{seriesIndex:u,dataPointIndex:p,w:a}]),a.config.states.active.filter.type!=="none"&&r.node.getAttribute("selected")==="true"||a.config.states.hover.filter.type!=="none"&&l.getDefaultFilter(r,u)}},{key:"pathMouseDown",value:function(r,n){var a=this.w,l=new B(this.ctx),u=parseInt(r.node.getAttribute("index"),10),p=parseInt(r.node.getAttribute("j"),10),d="false";if(r.node.getAttribute("selected")==="true"){if(r.node.setAttribute("selected","false"),a.globals.selectedDataPoints[u].indexOf(p)>-1){var b=a.globals.selectedDataPoints[u].indexOf(p);a.globals.selectedDataPoints[u].splice(b,1)}}else{if(!a.config.states.active.allowMultipleDataPointsSelection&&a.globals.selectedDataPoints.length>0){a.globals.selectedDataPoints=[];var w=a.globals.dom.Paper.select(".apexcharts-series path").members,k=a.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,C=function(H){Array.prototype.forEach.call(H,function(W){W.node.setAttribute("selected","false"),l.getDefaultFilter(W,u)})};C(w),C(k)}r.node.setAttribute("selected","true"),d="true",a.globals.selectedDataPoints[u]===void 0&&(a.globals.selectedDataPoints[u]=[]),a.globals.selectedDataPoints[u].push(p)}if(d==="true"){var E=a.config.states.active.filter;if(E!=="none")l.applyFilter(r,u,E.type,E.value);else if(a.config.states.hover.filter!=="none"&&!a.globals.isTouchDevice){var F=a.config.states.hover.filter;l.applyFilter(r,u,F.type,F.value)}}else a.config.states.active.filter.type!=="none"&&(a.config.states.hover.filter.type==="none"||a.globals.isTouchDevice?l.getDefaultFilter(r,u):(F=a.config.states.hover.filter,l.applyFilter(r,u,F.type,F.value)));typeof a.config.chart.events.dataPointSelection=="function"&&a.config.chart.events.dataPointSelection(n,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:u,dataPointIndex:p,w:a}),n&&this.ctx.events.fireEvent("dataPointSelection",[n,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:u,dataPointIndex:p,w:a}])}},{key:"rotateAroundCenter",value:function(r){var n={};return r&&typeof r.getBBox=="function"&&(n=r.getBBox()),{x:n.x+n.width/2,y:n.y+n.height/2}}},{key:"getTextRects",value:function(r,n,a,l){var u=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],p=this.w,d=this.drawText({x:-200,y:-200,text:r,textAnchor:"start",fontSize:n,fontFamily:a,foreColor:"#fff",opacity:0});l&&d.attr("transform",l),p.globals.dom.Paper.add(d);var b=d.bbox();return u||(b=d.node.getBoundingClientRect()),d.remove(),{width:b.width,height:b.height}}},{key:"placeTextWithEllipsis",value:function(r,n,a){if(typeof r.getComputedTextLength=="function"&&(r.textContent=n,n.length>0&&r.getComputedTextLength()>=a/1.1)){for(var l=n.length-3;l>0;l-=3)if(r.getSubStringLength(0,l)<=a/1.1)return void(r.textContent=n.substring(0,l)+"...");r.textContent="."}}}],[{key:"setAttrs",value:function(r,n){for(var a in n)n.hasOwnProperty(a)&&r.setAttribute(a,n[a])}}]),J}(),oe=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"getStackedSeriesTotals",value:function(){var r=this.w,n=[];if(r.globals.series.length===0)return n;for(var a=0;a<r.globals.series[r.globals.maxValsInArrayIndex].length;a++){for(var l=0,u=0;u<r.globals.series.length;u++)r.globals.series[u][a]!==void 0&&(l+=r.globals.series[u][a]);n.push(l)}return r.globals.stackedSeriesTotals=n,n}},{key:"getSeriesTotalByIndex",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return r===null?this.w.config.series.reduce(function(n,a){return n+a},0):this.w.globals.series[r].reduce(function(n,a){return n+a},0)}},{key:"isSeriesNull",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(r===null?this.w.config.series.filter(function(n){return n!==null}):this.w.config.series[r].data.filter(function(n){return n!==null})).length===0}},{key:"seriesHaveSameValues",value:function(r){return this.w.globals.series[r].every(function(n,a,l){return n===l[0]})}},{key:"getCategoryLabels",value:function(r){var n=this.w,a=r.slice();return n.config.xaxis.convertedCatToNumeric&&(a=r.map(function(l,u){return n.config.xaxis.labels.formatter(l-n.globals.minX+1)})),a}},{key:"getLargestSeries",value:function(){var r=this.w;r.globals.maxValsInArrayIndex=r.globals.series.map(function(n){return n.length}).indexOf(Math.max.apply(Math,r.globals.series.map(function(n){return n.length})))}},{key:"getLargestMarkerSize",value:function(){var r=this.w,n=0;return r.globals.markers.size.forEach(function(a){n=Math.max(n,a)}),r.config.markers.discrete&&r.config.markers.discrete.length&&r.config.markers.discrete.forEach(function(a){n=Math.max(n,a.size)}),n>0&&(n+=r.config.markers.hover.sizeOffset+1),r.globals.markers.largestSize=n,n}},{key:"getSeriesTotals",value:function(){var r=this.w;r.globals.seriesTotals=r.globals.series.map(function(n,a){var l=0;if(Array.isArray(n))for(var u=0;u<n.length;u++)l+=n[u];else l+=n;return l})}},{key:"getSeriesTotalsXRange",value:function(r,n){var a=this.w;return a.globals.series.map(function(l,u){for(var p=0,d=0;d<l.length;d++)a.globals.seriesX[u][d]>r&&a.globals.seriesX[u][d]<n&&(p+=l[d]);return p})}},{key:"getPercentSeries",value:function(){var r=this.w;r.globals.seriesPercent=r.globals.series.map(function(n,a){var l=[];if(Array.isArray(n))for(var u=0;u<n.length;u++){var p=r.globals.stackedSeriesTotals[u],d=0;p&&(d=100*n[u]/p),l.push(d)}else{var b=100*n/r.globals.seriesTotals.reduce(function(w,k){return w+k},0);l.push(b)}return l})}},{key:"getCalculatedRatios",value:function(){var r,n,a,l,u=this.w.globals,p=[],d=0,b=[],w=.1,k=0;if(u.yRange=[],u.isMultipleYAxis)for(var C=0;C<u.minYArr.length;C++)u.yRange.push(Math.abs(u.minYArr[C]-u.maxYArr[C])),b.push(0);else u.yRange.push(Math.abs(u.minY-u.maxY));u.xRange=Math.abs(u.maxX-u.minX),u.zRange=Math.abs(u.maxZ-u.minZ);for(var E=0;E<u.yRange.length;E++)p.push(u.yRange[E]/u.gridHeight);if(n=u.xRange/u.gridWidth,a=Math.abs(u.initialMaxX-u.initialMinX)/u.gridWidth,r=u.yRange/u.gridWidth,l=u.xRange/u.gridHeight,(d=u.zRange/u.gridHeight*16)||(d=1),u.minY!==Number.MIN_VALUE&&Math.abs(u.minY)!==0&&(u.hasNegs=!0),u.isMultipleYAxis){b=[];for(var F=0;F<p.length;F++)b.push(-u.minYArr[F]/p[F])}else b.push(-u.minY/p[0]),u.minY!==Number.MIN_VALUE&&Math.abs(u.minY)!==0&&(w=-u.minY/r,k=u.minX/n);return{yRatio:p,invertedYRatio:r,zRatio:d,xRatio:n,initialXRatio:a,invertedXRatio:l,baseLineInvertedY:w,baseLineY:b,baseLineX:k}}},{key:"getLogSeries",value:function(r){var n=this,a=this.w;return a.globals.seriesLog=r.map(function(l,u){return a.config.yaxis[u]&&a.config.yaxis[u].logarithmic?l.map(function(p){return p===null?null:n.getLogVal(a.config.yaxis[u].logBase,p,u)}):l}),a.globals.invalidLogScale?r:a.globals.seriesLog}},{key:"getBaseLog",value:function(r,n){return Math.log(n)/Math.log(r)}},{key:"getLogVal",value:function(r,n,a){if(n===0)return 0;var l=this.w,u=l.globals.minYArr[a]===0?-1:this.getBaseLog(r,l.globals.minYArr[a]),p=(l.globals.maxYArr[a]===0?0:this.getBaseLog(r,l.globals.maxYArr[a]))-u;return n<1?n/p:(this.getBaseLog(r,n)-u)/p}},{key:"getLogYRatios",value:function(r){var n=this,a=this.w,l=this.w.globals;return l.yLogRatio=r.slice(),l.logYRange=l.yRange.map(function(u,p){if(a.config.yaxis[p]&&n.w.config.yaxis[p].logarithmic){var d,b=-Number.MAX_VALUE,w=Number.MIN_VALUE;return l.seriesLog.forEach(function(k,C){k.forEach(function(E){a.config.yaxis[C]&&a.config.yaxis[C].logarithmic&&(b=Math.max(E,b),w=Math.min(E,w))})}),d=Math.pow(l.yRange[p],Math.abs(w-b)/l.yRange[p]),l.yLogRatio[p]=d/l.gridHeight,d}}),l.invalidLogScale?r.slice():l.yLogRatio}}],[{key:"checkComboSeries",value:function(r){var n=!1,a=0,l=0;return r.length&&r[0].type!==void 0&&r.forEach(function(u){u.type!=="bar"&&u.type!=="column"&&u.type!=="candlestick"&&u.type!=="boxPlot"||a++,u.type!==void 0&&l++}),l>0&&(n=!0),{comboBarCount:a,comboCharts:n}}},{key:"extendArrayProps",value:function(r,n,a){return n.yaxis&&(n=r.extendYAxis(n,a)),n.annotations&&(n.annotations.yaxis&&(n=r.extendYAxisAnnotations(n)),n.annotations.xaxis&&(n=r.extendXAxisAnnotations(n)),n.annotations.points&&(n=r.extendPointAnnotations(n))),n}}]),J}(),de=function(){function J(r){g(this,J),this.w=r.w,this.annoCtx=r}return y(J,[{key:"setOrientations",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.w;if(r.label.orientation==="vertical"){var l=n!==null?n:0,u=a.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(l,"']"));if(u!==null){var p=u.getBoundingClientRect();u.setAttribute("x",parseFloat(u.getAttribute("x"))-p.height+4),r.label.position==="top"?u.setAttribute("y",parseFloat(u.getAttribute("y"))+p.width):u.setAttribute("y",parseFloat(u.getAttribute("y"))-p.width);var d=this.annoCtx.graphics.rotateAroundCenter(u),b=d.x,w=d.y;u.setAttribute("transform","rotate(-90 ".concat(b," ").concat(w,")"))}}}},{key:"addBackgroundToAnno",value:function(r,n){var a=this.w;if(!r||n.label.text===void 0||n.label.text!==void 0&&!String(n.label.text).trim())return null;var l=a.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),u=r.getBoundingClientRect(),p=n.label.style.padding.left,d=n.label.style.padding.right,b=n.label.style.padding.top,w=n.label.style.padding.bottom;n.label.orientation==="vertical"&&(b=n.label.style.padding.left,w=n.label.style.padding.right,p=n.label.style.padding.top,d=n.label.style.padding.bottom);var k=u.left-l.left-p,C=u.top-l.top-b,E=this.annoCtx.graphics.drawRect(k-a.globals.barPadForNumericAxis,C,u.width+p+d,u.height+b+w,n.label.borderRadius,n.label.style.background,1,n.label.borderWidth,n.label.borderColor,0);return n.id&&E.node.classList.add(n.id),E}},{key:"annotationsBackground",value:function(){var r=this,n=this.w,a=function(l,u,p){var d=n.globals.dom.baseEl.querySelector(".apexcharts-".concat(p,"-annotations .apexcharts-").concat(p,"-annotation-label[rel='").concat(u,"']"));if(d){var b=d.parentNode,w=r.addBackgroundToAnno(d,l);w&&(b.insertBefore(w.node,d),l.label.mouseEnter&&w.node.addEventListener("mouseenter",l.label.mouseEnter.bind(r,l)),l.label.mouseLeave&&w.node.addEventListener("mouseleave",l.label.mouseLeave.bind(r,l)),l.label.click&&w.node.addEventListener("click",l.label.click.bind(r,l)))}};n.config.annotations.xaxis.map(function(l,u){a(l,u,"xaxis")}),n.config.annotations.yaxis.map(function(l,u){a(l,u,"yaxis")}),n.config.annotations.points.map(function(l,u){a(l,u,"point")})}},{key:"getY1Y2",value:function(r,n){var a,l=r==="y1"?n.y:n.y2,u=this.w;if(this.annoCtx.invertAxis){var p=u.globals.labels.indexOf(l);u.config.xaxis.convertedCatToNumeric&&(p=u.globals.categoryLabels.indexOf(l));var d=u.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(p+1)+")");d&&(a=parseFloat(d.getAttribute("y")))}else{var b;u.config.yaxis[n.yAxisIndex].logarithmic?b=(l=new oe(this.annoCtx.ctx).getLogVal(l,n.yAxisIndex))/u.globals.yLogRatio[n.yAxisIndex]:b=(l-u.globals.minYArr[n.yAxisIndex])/(u.globals.yRange[n.yAxisIndex]/u.globals.gridHeight),a=u.globals.gridHeight-b,!n.marker||n.y!==void 0&&n.y!==null||(a=0),u.config.yaxis[n.yAxisIndex]&&u.config.yaxis[n.yAxisIndex].reversed&&(a=b)}return a}},{key:"getX1X2",value:function(r,n){var a=this.w,l=this.annoCtx.invertAxis?a.globals.minY:a.globals.minX,u=this.annoCtx.invertAxis?a.globals.maxY:a.globals.maxX,p=this.annoCtx.invertAxis?a.globals.yRange[0]:a.globals.xRange,d=(n.x-l)/(p/a.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(d=(u-n.x)/(p/a.globals.gridWidth)),a.config.xaxis.type!=="category"&&!a.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||a.globals.dataFormatXNumeric||(d=this.getStringX(n.x));var b=(n.x2-l)/(p/a.globals.gridWidth);return this.annoCtx.inversedReversedAxis&&(b=(u-n.x2)/(p/a.globals.gridWidth)),a.config.xaxis.type!=="category"&&!a.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||a.globals.dataFormatXNumeric||(b=this.getStringX(n.x2)),n.x!==void 0&&n.x!==null||!n.marker||(d=a.globals.gridWidth),r==="x1"?d:b}},{key:"getStringX",value:function(r){var n=this.w,a=r;n.config.xaxis.convertedCatToNumeric&&n.globals.categoryLabels.length&&(r=n.globals.categoryLabels.indexOf(r)+1);var l=n.globals.labels.indexOf(r),u=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(l+1)+")");return u&&(a=parseFloat(u.getAttribute("x"))),a}}]),J}(),ge=function(){function J(r){g(this,J),this.w=r.w,this.annoCtx=r,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new de(this.annoCtx)}return y(J,[{key:"addXaxisAnnotation",value:function(r,n,a){var l,u=this.w,p=this.helpers.getX1X2("x1",r),d=r.label.text,b=r.strokeDashArray;if(T.isNumber(p)){if(r.x2===null||r.x2===void 0){var w=this.annoCtx.graphics.drawLine(p+r.offsetX,0+r.offsetY,p+r.offsetX,u.globals.gridHeight+r.offsetY,r.borderColor,b,r.borderWidth);n.appendChild(w.node),r.id&&w.node.classList.add(r.id)}else{if((l=this.helpers.getX1X2("x2",r))<p){var k=p;p=l,l=k}var C=this.annoCtx.graphics.drawRect(p+r.offsetX,0+r.offsetY,l-p,u.globals.gridHeight+r.offsetY,0,r.fillColor,r.opacity,1,r.borderColor,b);C.node.classList.add("apexcharts-annotation-rect"),C.attr("clip-path","url(#gridRectMask".concat(u.globals.cuid,")")),n.appendChild(C.node),r.id&&C.node.classList.add(r.id)}var E=r.label.position==="top"?4:u.globals.gridHeight,F=this.annoCtx.graphics.getTextRects(d,parseFloat(r.label.style.fontSize)),H=this.annoCtx.graphics.drawText({x:p+r.label.offsetX,y:E+r.label.offsetY-(r.label.orientation==="vertical"?r.label.position==="top"?F.width/2-12:-F.width/2:0),text:d,textAnchor:r.label.textAnchor,fontSize:r.label.style.fontSize,fontFamily:r.label.style.fontFamily,fontWeight:r.label.style.fontWeight,foreColor:r.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(r.label.style.cssClass," ").concat(r.id?r.id:"")});H.attr({rel:a}),n.appendChild(H.node),this.annoCtx.helpers.setOrientations(r,a)}}},{key:"drawXAxisAnnotations",value:function(){var r=this,n=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return n.config.annotations.xaxis.map(function(l,u){r.addXaxisAnnotation(l,a.node,u)}),a}}]),J}(),Te=function(){function J(r){g(this,J),this.w=r.w,this.annoCtx=r,this.helpers=new de(this.annoCtx)}return y(J,[{key:"addYaxisAnnotation",value:function(r,n,a){var l,u=this.w,p=r.strokeDashArray,d=this.helpers.getY1Y2("y1",r),b=r.label.text;if(r.y2===null||r.y2===void 0){var w=this.annoCtx.graphics.drawLine(0+r.offsetX,d+r.offsetY,this._getYAxisAnnotationWidth(r),d+r.offsetY,r.borderColor,p,r.borderWidth);n.appendChild(w.node),r.id&&w.node.classList.add(r.id)}else{if((l=this.helpers.getY1Y2("y2",r))>d){var k=d;d=l,l=k}var C=this.annoCtx.graphics.drawRect(0+r.offsetX,l+r.offsetY,this._getYAxisAnnotationWidth(r),d-l,0,r.fillColor,r.opacity,1,r.borderColor,p);C.node.classList.add("apexcharts-annotation-rect"),C.attr("clip-path","url(#gridRectMask".concat(u.globals.cuid,")")),n.appendChild(C.node),r.id&&C.node.classList.add(r.id)}var E=r.label.position==="right"?u.globals.gridWidth:0,F=this.annoCtx.graphics.drawText({x:E+r.label.offsetX,y:(l!=null?l:d)+r.label.offsetY-3,text:b,textAnchor:r.label.textAnchor,fontSize:r.label.style.fontSize,fontFamily:r.label.style.fontFamily,fontWeight:r.label.style.fontWeight,foreColor:r.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(r.label.style.cssClass," ").concat(r.id?r.id:"")});F.attr({rel:a}),n.appendChild(F.node)}},{key:"_getYAxisAnnotationWidth",value:function(r){var n=this.w;return n.globals.gridWidth,(r.width.indexOf("%")>-1?n.globals.gridWidth*parseInt(r.width,10)/100:parseInt(r.width,10))+r.offsetX}},{key:"drawYAxisAnnotations",value:function(){var r=this,n=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return n.config.annotations.yaxis.map(function(l,u){r.addYaxisAnnotation(l,a.node,u)}),a}}]),J}(),Ne=function(){function J(r){g(this,J),this.w=r.w,this.annoCtx=r,this.helpers=new de(this.annoCtx)}return y(J,[{key:"addPointAnnotation",value:function(r,n,a){this.w;var l=this.helpers.getX1X2("x1",r),u=this.helpers.getY1Y2("y1",r);if(T.isNumber(l)){var p={pSize:r.marker.size,pointStrokeWidth:r.marker.strokeWidth,pointFillColor:r.marker.fillColor,pointStrokeColor:r.marker.strokeColor,shape:r.marker.shape,pRadius:r.marker.radius,class:"apexcharts-point-annotation-marker ".concat(r.marker.cssClass," ").concat(r.id?r.id:"")},d=this.annoCtx.graphics.drawMarker(l+r.marker.offsetX,u+r.marker.offsetY,p);n.appendChild(d.node);var b=r.label.text?r.label.text:"",w=this.annoCtx.graphics.drawText({x:l+r.label.offsetX,y:u+r.label.offsetY-r.marker.size-parseFloat(r.label.style.fontSize)/1.6,text:b,textAnchor:r.label.textAnchor,fontSize:r.label.style.fontSize,fontFamily:r.label.style.fontFamily,fontWeight:r.label.style.fontWeight,foreColor:r.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(r.label.style.cssClass," ").concat(r.id?r.id:"")});if(w.attr({rel:a}),n.appendChild(w.node),r.customSVG.SVG){var k=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+r.customSVG.cssClass});k.attr({transform:"translate(".concat(l+r.customSVG.offsetX,", ").concat(u+r.customSVG.offsetY,")")}),k.node.innerHTML=r.customSVG.SVG,n.appendChild(k.node)}if(r.image.path){var C=r.image.width?r.image.width:20,E=r.image.height?r.image.height:20;d=this.annoCtx.addImage({x:l+r.image.offsetX-C/2,y:u+r.image.offsetY-E/2,width:C,height:E,path:r.image.path,appendTo:".apexcharts-point-annotations"})}r.mouseEnter&&d.node.addEventListener("mouseenter",r.mouseEnter.bind(this,r)),r.mouseLeave&&d.node.addEventListener("mouseleave",r.mouseLeave.bind(this,r)),r.click&&d.node.addEventListener("click",r.click.bind(this,r))}}},{key:"drawPointAnnotations",value:function(){var r=this,n=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return n.config.annotations.points.map(function(l,u){r.addPointAnnotation(l,a.node,u)}),a}}]),J}(),ze={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},Me=function(){function J(){g(this,J),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return y(J,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[ze],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(r){return new Date(r).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,rangeBarOverlap:!0,rangeBarGroupRows:!1,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal"}},bubble:{minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(r){return r}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(r){return r+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(r){return r.globals.seriesTotals.reduce(function(n,a){return n+a},0)/r.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(r){return r}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(r){return r}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(r){return r.globals.seriesTotals.reduce(function(n,a){return n+a},0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(r){return r!==null?r:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(r){return r?r+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),J}(),ke=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.graphics=new j(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new de(this),this.xAxisAnnotations=new ge(this),this.yAxisAnnotations=new Te(this),this.pointsAnnotations=new Ne(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return y(J,[{key:"drawAxesAnnotations",value:function(){var r=this.w;if(r.globals.axisCharts){for(var n=this.yAxisAnnotations.drawYAxisAnnotations(),a=this.xAxisAnnotations.drawXAxisAnnotations(),l=this.pointsAnnotations.drawPointAnnotations(),u=r.config.chart.animations.enabled,p=[n,a,l],d=[a.node,n.node,l.node],b=0;b<3;b++)r.globals.dom.elGraphical.add(p[b]),!u||r.globals.resized||r.globals.dataChanged||r.config.chart.type!=="scatter"&&r.config.chart.type!=="bubble"&&r.globals.dataPoints>1&&d[b].classList.add("apexcharts-element-hidden"),r.globals.delayedElements.push({el:d[b],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var r=this;this.w.config.annotations.images.map(function(n,a){r.addImage(n,a)})}},{key:"drawTextAnnos",value:function(){var r=this;this.w.config.annotations.texts.map(function(n,a){r.addText(n,a)})}},{key:"addXaxisAnnotation",value:function(r,n,a){this.xAxisAnnotations.addXaxisAnnotation(r,n,a)}},{key:"addYaxisAnnotation",value:function(r,n,a){this.yAxisAnnotations.addYaxisAnnotation(r,n,a)}},{key:"addPointAnnotation",value:function(r,n,a){this.pointsAnnotations.addPointAnnotation(r,n,a)}},{key:"addText",value:function(r,n){var a=r.x,l=r.y,u=r.text,p=r.textAnchor,d=r.foreColor,b=r.fontSize,w=r.fontFamily,k=r.fontWeight,C=r.cssClass,E=r.backgroundColor,F=r.borderWidth,H=r.strokeDashArray,W=r.borderRadius,U=r.borderColor,Z=r.appendTo,ie=Z===void 0?".apexcharts-annotations":Z,se=r.paddingLeft,_=se===void 0?4:se,D=r.paddingRight,R=D===void 0?4:D,Q=r.paddingBottom,be=Q===void 0?2:Q,Re=r.paddingTop,_e=Re===void 0?2:Re,Qe=this.w,Ie=this.graphics.drawText({x:a,y:l,text:u,textAnchor:p||"start",fontSize:b||"12px",fontWeight:k||"regular",fontFamily:w||Qe.config.chart.fontFamily,foreColor:d||Qe.config.chart.foreColor,cssClass:C}),lt=Qe.globals.dom.baseEl.querySelector(ie);lt&&lt.appendChild(Ie.node);var wt=Ie.bbox();if(u){var Xt=this.graphics.drawRect(wt.x-_,wt.y-_e,wt.width+_+R,wt.height+be+_e,W,E||"transparent",1,F,U,H);lt.insertBefore(Xt.node,Ie.node)}}},{key:"addImage",value:function(r,n){var a=this.w,l=r.path,u=r.x,p=u===void 0?0:u,d=r.y,b=d===void 0?0:d,w=r.width,k=w===void 0?20:w,C=r.height,E=C===void 0?20:C,F=r.appendTo,H=F===void 0?".apexcharts-annotations":F,W=a.globals.dom.Paper.image(l);W.size(k,E).move(p,b);var U=a.globals.dom.baseEl.querySelector(H);return U&&U.appendChild(W.node),W}},{key:"addXaxisAnnotationExternal",value:function(r,n,a){return this.addAnnotationExternal({params:r,pushToMemory:n,context:a,type:"xaxis",contextMethod:a.addXaxisAnnotation}),a}},{key:"addYaxisAnnotationExternal",value:function(r,n,a){return this.addAnnotationExternal({params:r,pushToMemory:n,context:a,type:"yaxis",contextMethod:a.addYaxisAnnotation}),a}},{key:"addPointAnnotationExternal",value:function(r,n,a){return this.invertAxis===void 0&&(this.invertAxis=a.w.globals.isBarHorizontal),this.addAnnotationExternal({params:r,pushToMemory:n,context:a,type:"point",contextMethod:a.addPointAnnotation}),a}},{key:"addAnnotationExternal",value:function(r){var n=r.params,a=r.pushToMemory,l=r.context,u=r.type,p=r.contextMethod,d=l,b=d.w,w=b.globals.dom.baseEl.querySelector(".apexcharts-".concat(u,"-annotations")),k=w.childNodes.length+1,C=new Me,E=Object.assign({},u==="xaxis"?C.xAxisAnnotation:u==="yaxis"?C.yAxisAnnotation:C.pointAnnotation),F=T.extend(E,n);switch(u){case"xaxis":this.addXaxisAnnotation(F,w,k);break;case"yaxis":this.addYaxisAnnotation(F,w,k);break;case"point":this.addPointAnnotation(F,w,k)}var H=b.globals.dom.baseEl.querySelector(".apexcharts-".concat(u,"-annotations .apexcharts-").concat(u,"-annotation-label[rel='").concat(k,"']")),W=this.helpers.addBackgroundToAnno(H,F);return W&&w.insertBefore(W.node,H),a&&b.globals.memory.methodsToExec.push({context:d,id:F.id?F.id:T.randomId(),method:p,label:"addAnnotation",params:n}),l}},{key:"clearAnnotations",value:function(r){var n=r.w,a=n.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");n.globals.memory.methodsToExec.map(function(l,u){l.label!=="addText"&&l.label!=="addAnnotation"||n.globals.memory.methodsToExec.splice(u,1)}),a=T.listToArray(a),Array.prototype.forEach.call(a,function(l){for(;l.firstChild;)l.removeChild(l.firstChild)})}},{key:"removeAnnotation",value:function(r,n){var a=r.w,l=a.globals.dom.baseEl.querySelectorAll(".".concat(n));l&&(a.globals.memory.methodsToExec.map(function(u,p){u.id===n&&a.globals.memory.methodsToExec.splice(p,1)}),Array.prototype.forEach.call(l,function(u){u.parentElement.removeChild(u)}))}}]),J}(),De=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.opts=null,this.seriesIndex=0}return y(J,[{key:"clippedImgArea",value:function(r){var n=this.w,a=n.config,l=parseInt(n.globals.gridWidth,10),u=parseInt(n.globals.gridHeight,10),p=l>u?l:u,d=r.image,b=0,w=0;r.width===void 0&&r.height===void 0?a.fill.image.width!==void 0&&a.fill.image.height!==void 0?(b=a.fill.image.width+1,w=a.fill.image.height):(b=p+1,w=p):(b=r.width,w=r.height);var k=document.createElementNS(n.globals.SVGNS,"pattern");j.setAttrs(k,{id:r.patternID,patternUnits:r.patternUnits?r.patternUnits:"userSpaceOnUse",width:b+"px",height:w+"px"});var C=document.createElementNS(n.globals.SVGNS,"image");k.appendChild(C),C.setAttributeNS(window.SVG.xlink,"href",d),j.setAttrs(C,{x:0,y:0,preserveAspectRatio:"none",width:b+"px",height:w+"px"}),C.style.opacity=r.opacity,n.globals.dom.elDefs.node.appendChild(k)}},{key:"getSeriesIndex",value:function(r){var n=this.w;return(n.config.chart.type==="bar"||n.config.chart.type==="rangeBar")&&n.config.plotOptions.bar.distributed||n.config.chart.type==="heatmap"||n.config.chart.type==="treemap"?this.seriesIndex=r.seriesNumber:this.seriesIndex=r.seriesNumber%n.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(r){var n=this.w;this.opts=r;var a,l,u,p=this.w.config;this.seriesIndex=this.getSeriesIndex(r);var d=this.getFillColors()[this.seriesIndex];n.globals.seriesColors[this.seriesIndex]!==void 0&&(d=n.globals.seriesColors[this.seriesIndex]),typeof d=="function"&&(d=d({seriesIndex:this.seriesIndex,dataPointIndex:r.dataPointIndex,value:r.value,w:n}));var b=this.getFillType(this.seriesIndex),w=Array.isArray(p.fill.opacity)?p.fill.opacity[this.seriesIndex]:p.fill.opacity;r.color&&(d=r.color);var k=d;if(d.indexOf("rgb")===-1?d.length<9&&(k=T.hexToRgba(d,w)):d.indexOf("rgba")>-1&&(w=T.getOpacityFromRGBA(d)),r.opacity&&(w=r.opacity),b==="pattern"&&(l=this.handlePatternFill(l,d,w,k)),b==="gradient"&&(u=this.handleGradientFill(d,w,this.seriesIndex)),b==="image"){var C=p.fill.image.src,E=r.patternID?r.patternID:"";this.clippedImgArea({opacity:w,image:Array.isArray(C)?r.seriesNumber<C.length?C[r.seriesNumber]:C[0]:C,width:r.width?r.width:void 0,height:r.height?r.height:void 0,patternUnits:r.patternUnits,patternID:"pattern".concat(n.globals.cuid).concat(r.seriesNumber+1).concat(E)}),a="url(#pattern".concat(n.globals.cuid).concat(r.seriesNumber+1).concat(E,")")}else a=b==="gradient"?u:b==="pattern"?l:k;return r.solid&&(a=k),a}},{key:"getFillType",value:function(r){var n=this.w;return Array.isArray(n.config.fill.type)?n.config.fill.type[r]:n.config.fill.type}},{key:"getFillColors",value:function(){var r=this.w,n=r.config,a=this.opts,l=[];return r.globals.comboCharts?r.config.series[this.seriesIndex].type==="line"?Array.isArray(r.globals.stroke.colors)?l=r.globals.stroke.colors:l.push(r.globals.stroke.colors):Array.isArray(r.globals.fill.colors)?l=r.globals.fill.colors:l.push(r.globals.fill.colors):n.chart.type==="line"?Array.isArray(r.globals.stroke.colors)?l=r.globals.stroke.colors:l.push(r.globals.stroke.colors):Array.isArray(r.globals.fill.colors)?l=r.globals.fill.colors:l.push(r.globals.fill.colors),a.fillColors!==void 0&&(l=[],Array.isArray(a.fillColors)?l=a.fillColors.slice():l.push(a.fillColors)),l}},{key:"handlePatternFill",value:function(r,n,a,l){var u=this.w.config,p=this.opts,d=new j(this.ctx),b=u.fill.pattern.strokeWidth===void 0?Array.isArray(u.stroke.width)?u.stroke.width[this.seriesIndex]:u.stroke.width:Array.isArray(u.fill.pattern.strokeWidth)?u.fill.pattern.strokeWidth[this.seriesIndex]:u.fill.pattern.strokeWidth,w=n;return Array.isArray(u.fill.pattern.style)?r=u.fill.pattern.style[p.seriesNumber]!==void 0?d.drawPattern(u.fill.pattern.style[p.seriesNumber],u.fill.pattern.width,u.fill.pattern.height,w,b,a):l:r=d.drawPattern(u.fill.pattern.style,u.fill.pattern.width,u.fill.pattern.height,w,b,a),r}},{key:"handleGradientFill",value:function(r,n,a){var l,u=this.w.config,p=this.opts,d=new j(this.ctx),b=new T,w=u.fill.gradient.type,k=r,C=u.fill.gradient.opacityFrom===void 0?n:Array.isArray(u.fill.gradient.opacityFrom)?u.fill.gradient.opacityFrom[a]:u.fill.gradient.opacityFrom;k.indexOf("rgba")>-1&&(C=T.getOpacityFromRGBA(k));var E=u.fill.gradient.opacityTo===void 0?n:Array.isArray(u.fill.gradient.opacityTo)?u.fill.gradient.opacityTo[a]:u.fill.gradient.opacityTo;if(u.fill.gradient.gradientToColors===void 0||u.fill.gradient.gradientToColors.length===0)l=u.fill.gradient.shade==="dark"?b.shadeColor(-1*parseFloat(u.fill.gradient.shadeIntensity),r.indexOf("rgb")>-1?T.rgb2hex(r):r):b.shadeColor(parseFloat(u.fill.gradient.shadeIntensity),r.indexOf("rgb")>-1?T.rgb2hex(r):r);else if(u.fill.gradient.gradientToColors[p.seriesNumber]){var F=u.fill.gradient.gradientToColors[p.seriesNumber];l=F,F.indexOf("rgba")>-1&&(E=T.getOpacityFromRGBA(F))}else l=r;if(u.fill.gradient.inverseColors){var H=k;k=l,l=H}return k.indexOf("rgb")>-1&&(k=T.rgb2hex(k)),l.indexOf("rgb")>-1&&(l=T.rgb2hex(l)),d.drawGradient(w,k,l,C,E,p.size,u.fill.gradient.stops,u.fill.gradient.colorStops,a)}}]),J}(),he=function(){function J(r,n){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"setGlobalMarkerSize",value:function(){var r=this.w;if(r.globals.markers.size=Array.isArray(r.config.markers.size)?r.config.markers.size:[r.config.markers.size],r.globals.markers.size.length>0){if(r.globals.markers.size.length<r.globals.series.length+1)for(var n=0;n<=r.globals.series.length;n++)r.globals.markers.size[n]===void 0&&r.globals.markers.size.push(r.globals.markers.size[0])}else r.globals.markers.size=r.config.series.map(function(a){return r.config.markers.size})}},{key:"plotChartMarkers",value:function(r,n,a,l){var u,p=arguments.length>4&&arguments[4]!==void 0&&arguments[4],d=this.w,b=n,w=r,k=null,C=new j(this.ctx),E=d.config.markers.discrete&&d.config.markers.discrete.length;if((d.globals.markers.size[n]>0||p||E)&&(k=C.group({class:p||E?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(d.globals.cuid,")")),Array.isArray(w.x))for(var F=0;F<w.x.length;F++){var H=a;a===1&&F===0&&(H=0),a===1&&F===1&&(H=1);var W="apexcharts-marker";d.config.chart.type!=="line"&&d.config.chart.type!=="area"||d.globals.comboCharts||d.config.tooltip.intersect||(W+=" no-pointer-events");var U=Array.isArray(d.config.markers.size)?d.globals.markers.size[n]>0:d.config.markers.size>0;if(U||p||E){T.isNumber(w.y[F])?W+=" w".concat(T.randomId()):W="apexcharts-nullpoint";var Z=this.getMarkerConfig({cssClass:W,seriesIndex:n,dataPointIndex:H});d.config.series[b].data[H]&&(d.config.series[b].data[H].fillColor&&(Z.pointFillColor=d.config.series[b].data[H].fillColor),d.config.series[b].data[H].strokeColor&&(Z.pointStrokeColor=d.config.series[b].data[H].strokeColor)),l&&(Z.pSize=l),(u=C.drawMarker(w.x[F],w.y[F],Z)).attr("rel",H),u.attr("j",H),u.attr("index",n),u.node.setAttribute("default-marker-size",Z.pSize);var ie=new B(this.ctx);ie.setSelectionFilter(u,n,H),this.addEvents(u),k&&k.add(u)}else d.globals.pointsArray[n]===void 0&&(d.globals.pointsArray[n]=[]),d.globals.pointsArray[n].push([w.x[F],w.y[F]])}return k}},{key:"getMarkerConfig",value:function(r){var n=r.cssClass,a=r.seriesIndex,l=r.dataPointIndex,u=l===void 0?null:l,p=r.finishRadius,d=p===void 0?null:p,b=this.w,w=this.getMarkerStyle(a),k=b.globals.markers.size[a],C=b.config.markers;return u!==null&&C.discrete.length&&C.discrete.map(function(E){E.seriesIndex===a&&E.dataPointIndex===u&&(w.pointStrokeColor=E.strokeColor,w.pointFillColor=E.fillColor,k=E.size,w.pointShape=E.shape)}),{pSize:d===null?k:d,pRadius:C.radius,width:Array.isArray(C.width)?C.width[a]:C.width,height:Array.isArray(C.height)?C.height[a]:C.height,pointStrokeWidth:Array.isArray(C.strokeWidth)?C.strokeWidth[a]:C.strokeWidth,pointStrokeColor:w.pointStrokeColor,pointFillColor:w.pointFillColor,shape:w.pointShape||(Array.isArray(C.shape)?C.shape[a]:C.shape),class:n,pointStrokeOpacity:Array.isArray(C.strokeOpacity)?C.strokeOpacity[a]:C.strokeOpacity,pointStrokeDashArray:Array.isArray(C.strokeDashArray)?C.strokeDashArray[a]:C.strokeDashArray,pointFillOpacity:Array.isArray(C.fillOpacity)?C.fillOpacity[a]:C.fillOpacity,seriesIndex:a}}},{key:"addEvents",value:function(r){var n=this.w,a=new j(this.ctx);r.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this.ctx,r)),r.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this.ctx,r)),r.node.addEventListener("mousedown",a.pathMouseDown.bind(this.ctx,r)),r.node.addEventListener("click",n.config.markers.onClick),r.node.addEventListener("dblclick",n.config.markers.onDblClick),r.node.addEventListener("touchstart",a.pathMouseDown.bind(this.ctx,r),{passive:!0})}},{key:"getMarkerStyle",value:function(r){var n=this.w,a=n.globals.markers.colors,l=n.config.markers.strokeColor||n.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(l)?l[r]:l,pointFillColor:Array.isArray(a)?a[r]:a}}}]),J}(),Le=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return y(J,[{key:"draw",value:function(r,n,a){var l=this.w,u=new j(this.ctx),p=a.realIndex,d=a.pointsPos,b=a.zRatio,w=a.elParent,k=u.group({class:"apexcharts-series-markers apexcharts-series-".concat(l.config.chart.type)});if(k.attr("clip-path","url(#gridRectMarkerMask".concat(l.globals.cuid,")")),Array.isArray(d.x))for(var C=0;C<d.x.length;C++){var E=n+1,F=!0;n===0&&C===0&&(E=0),n===0&&C===1&&(E=1);var H=0,W=l.globals.markers.size[p];if(b!==1/0){W=l.globals.seriesZ[p][E]/b;var U=l.config.plotOptions.bubble;U.minBubbleRadius&&W<U.minBubbleRadius&&(W=U.minBubbleRadius),U.maxBubbleRadius&&W>U.maxBubbleRadius&&(W=U.maxBubbleRadius)}l.config.chart.animations.enabled||(H=W);var Z=d.x[C],ie=d.y[C];if(H=H||0,ie!==null&&l.globals.series[p][E]!==void 0||(F=!1),F){var se=this.drawPoint(Z,ie,H,W,p,E,n);k.add(se)}w.add(k)}}},{key:"drawPoint",value:function(r,n,a,l,u,p,d){var b=this.w,w=u,k=new re(this.ctx),C=new B(this.ctx),E=new De(this.ctx),F=new he(this.ctx),H=new j(this.ctx),W=F.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:w,dataPointIndex:p,finishRadius:b.config.chart.type==="bubble"||b.globals.comboCharts&&b.config.series[u]&&b.config.series[u].type==="bubble"?l:null});l=W.pSize;var U,Z=E.fillPath({seriesNumber:u,dataPointIndex:p,color:W.pointFillColor,patternUnits:"objectBoundingBox",value:b.globals.series[u][d]});if(W.shape==="circle"?U=H.drawCircle(a):W.shape!=="square"&&W.shape!=="rect"||(U=H.drawRect(0,0,W.width-W.pointStrokeWidth/2,W.height-W.pointStrokeWidth/2,W.pRadius)),b.config.series[w].data[p]&&b.config.series[w].data[p].fillColor&&(Z=b.config.series[w].data[p].fillColor),U.attr({x:r-W.width/2-W.pointStrokeWidth/2,y:n-W.height/2-W.pointStrokeWidth/2,cx:r,cy:n,fill:Z,"fill-opacity":W.pointFillOpacity,stroke:W.pointStrokeColor,r:l,"stroke-width":W.pointStrokeWidth,"stroke-dasharray":W.pointStrokeDashArray,"stroke-opacity":W.pointStrokeOpacity}),b.config.chart.dropShadow.enabled){var ie=b.config.chart.dropShadow;C.dropShadow(U,ie,u)}if(!this.initialAnim||b.globals.dataChanged||b.globals.resized)b.globals.animationEnded=!0;else{var se=b.config.chart.animations.speed;k.animateMarker(U,0,W.shape==="circle"?l:{width:W.width,height:W.height},se,b.globals.easing,function(){window.setTimeout(function(){k.animationCompleted(U)},100)})}if(b.globals.dataChanged&&W.shape==="circle")if(this.dynamicAnim){var _,D,R,Q,be=b.config.chart.animations.dynamicAnimation.speed;(Q=b.globals.previousPaths[u]&&b.globals.previousPaths[u][d])!=null&&(_=Q.x,D=Q.y,R=Q.r!==void 0?Q.r:l);for(var Re=0;Re<b.globals.collapsedSeries.length;Re++)b.globals.collapsedSeries[Re].index===u&&(be=1,l=0);r===0&&n===0&&(l=0),k.animateCircle(U,{cx:_,cy:D,r:R},{cx:r,cy:n,r:l},be,b.globals.easing)}else U.attr({r:l});return U.attr({rel:p,j:p,index:u,"default-marker-size":l}),C.setSelectionFilter(U,u,p),F.addEvents(U),U.node.classList.add("apexcharts-marker"),U}},{key:"centerTextInBubble",value:function(r){var n=this.w;return{y:r+=parseInt(n.config.dataLabels.style.fontSize,10)/4}}}]),J}(),Se=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"dataLabelsCorrection",value:function(r,n,a,l,u,p,d){var b=this.w,w=!1,k=new j(this.ctx).getTextRects(a,d),C=k.width,E=k.height;n<0&&(n=0),n>b.globals.gridHeight+E&&(n=b.globals.gridHeight+E/2),b.globals.dataLabelsRects[l]===void 0&&(b.globals.dataLabelsRects[l]=[]),b.globals.dataLabelsRects[l].push({x:r,y:n,width:C,height:E});var F=b.globals.dataLabelsRects[l].length-2,H=b.globals.lastDrawnDataLabelsIndexes[l]!==void 0?b.globals.lastDrawnDataLabelsIndexes[l][b.globals.lastDrawnDataLabelsIndexes[l].length-1]:0;if(b.globals.dataLabelsRects[l][F]!==void 0){var W=b.globals.dataLabelsRects[l][H];(r>W.x+W.width+2||n>W.y+W.height+2||r+C<W.x)&&(w=!0)}return(u===0||p)&&(w=!0),{x:r,y:n,textRects:k,drawnextLabel:w}}},{key:"drawDataLabel",value:function(r,n,a){var l=this,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:2,p=this.w,d=new j(this.ctx),b=p.config.dataLabels,w=0,k=0,C=a,E=null;if(!b.enabled||!Array.isArray(r.x))return E;E=d.group({class:"apexcharts-data-labels"});for(var F=0;F<r.x.length;F++)if(w=r.x[F]+b.offsetX,k=r.y[F]+b.offsetY+u,!isNaN(w)){a===1&&F===0&&(C=0),a===1&&F===1&&(C=1);var H=p.globals.series[n][C],W="",U=function(se){return p.config.dataLabels.formatter(se,{ctx:l.ctx,seriesIndex:n,dataPointIndex:C,w:p})};if(p.config.chart.type==="bubble"){W=U(H=p.globals.seriesZ[n][C]),k=r.y[F];var Z=new Le(this.ctx),ie=Z.centerTextInBubble(k,n,C);k=ie.y}else H!==void 0&&(W=U(H));this.plotDataLabelsText({x:w,y:k,text:W,i:n,j:C,parent:E,offsetCorrection:!0,dataLabelsConfig:p.config.dataLabels})}return E}},{key:"plotDataLabelsText",value:function(r){var n=this.w,a=new j(this.ctx),l=r.x,u=r.y,p=r.i,d=r.j,b=r.text,w=r.textAnchor,k=r.fontSize,C=r.parent,E=r.dataLabelsConfig,F=r.color,H=r.alwaysDrawDataLabel,W=r.offsetCorrection;if(!(Array.isArray(n.config.dataLabels.enabledOnSeries)&&n.config.dataLabels.enabledOnSeries.indexOf(p)<0)){var U={x:l,y:u,drawnextLabel:!0,textRects:null};W&&(U=this.dataLabelsCorrection(l,u,b,p,d,H,parseInt(E.style.fontSize,10))),n.globals.zoomed||(l=U.x,u=U.y),U.textRects&&(l<-10-U.textRects.width||l>n.globals.gridWidth+U.textRects.width+10)&&(b="");var Z=n.globals.dataLabels.style.colors[p];((n.config.chart.type==="bar"||n.config.chart.type==="rangeBar")&&n.config.plotOptions.bar.distributed||n.config.dataLabels.distributed)&&(Z=n.globals.dataLabels.style.colors[d]),typeof Z=="function"&&(Z=Z({series:n.globals.series,seriesIndex:p,dataPointIndex:d,w:n})),F&&(Z=F);var ie=E.offsetX,se=E.offsetY;if(n.config.chart.type!=="bar"&&n.config.chart.type!=="rangeBar"||(ie=0,se=0),U.drawnextLabel){var _=a.drawText({width:100,height:parseInt(E.style.fontSize,10),x:l+ie,y:u+se,foreColor:Z,textAnchor:w||E.textAnchor,text:b,fontSize:k||E.style.fontSize,fontFamily:E.style.fontFamily,fontWeight:E.style.fontWeight||"normal"});if(_.attr({class:"apexcharts-datalabel",cx:l,cy:u}),E.dropShadow.enabled){var D=E.dropShadow;new B(this.ctx).dropShadow(_,D)}C.add(_),n.globals.lastDrawnDataLabelsIndexes[p]===void 0&&(n.globals.lastDrawnDataLabelsIndexes[p]=[]),n.globals.lastDrawnDataLabelsIndexes[p].push(d)}}}},{key:"addBackgroundToDataLabel",value:function(r,n){var a=this.w,l=a.config.dataLabels.background,u=l.padding,p=l.padding/2,d=n.width,b=n.height,w=new j(this.ctx).drawRect(n.x-u,n.y-p/2,d+2*u,b+p,l.borderRadius,a.config.chart.background==="transparent"?"#fff":a.config.chart.background,l.opacity,l.borderWidth,l.borderColor);return l.dropShadow.enabled&&new B(this.ctx).dropShadow(w,l.dropShadow),w}},{key:"dataLabelsBackground",value:function(){var r=this.w;if(r.config.chart.type!=="bubble")for(var n=r.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),a=0;a<n.length;a++){var l=n[a],u=l.getBBox(),p=null;if(u.width&&u.height&&(p=this.addBackgroundToDataLabel(l,u)),p){l.parentNode.insertBefore(p.node,l);var d=l.getAttribute("fill");r.config.chart.animations.enabled&&!r.globals.resized&&!r.globals.dataChanged?p.animate().attr({fill:d}):p.attr({fill:d}),l.setAttribute("fill",r.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var r=this.w,n=r.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),a=r.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),l=0;l<n.length;l++)a&&a.insertBefore(n[l],a.nextSibling)}}]),J}(),He=function(){function J(r){g(this,J),this.w=r.w,this.barCtx=r}return y(J,[{key:"handleBarDataLabels",value:function(r){var n=r.x,a=r.y,l=r.y1,u=r.y2,p=r.i,d=r.j,b=r.realIndex,w=r.series,k=r.barHeight,C=r.barWidth,E=r.barYPosition,F=r.visibleSeries,H=r.renderedPath,W=this.w,U=new j(this.barCtx.ctx),Z=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[b]:this.barCtx.strokeWidth,ie=n+parseFloat(C*F),se=a+parseFloat(k*F);W.globals.isXNumeric&&!W.globals.isBarHorizontal&&(ie=n+parseFloat(C*(F+1)),se=a+parseFloat(k*(F+1))-Z);var _=n,D=a,R={},Q=W.config.dataLabels,be=this.barCtx.barOptions.dataLabels;E!==void 0&&this.barCtx.isRangeBar&&(se=E,D=E);var Re=Q.offsetX,_e=Q.offsetY,Qe={width:0,height:0};if(W.config.dataLabels.enabled){var Ie=this.barCtx.series[p][d];Qe=U.getTextRects(W.globals.yLabelFormatters[0](Ie),parseFloat(Q.style.fontSize))}var lt={x:n,y:a,i:p,j:d,renderedPath:H,bcx:ie,bcy:se,barHeight:k,barWidth:C,textRects:Qe,strokeWidth:Z,dataLabelsX:_,dataLabelsY:D,barDataLabelsConfig:be,offX:Re,offY:_e};return R=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(lt):this.calculateColumnsDataLabelsPosition(lt),H.attr({cy:R.bcy,cx:R.bcx,j:d,val:w[p][d],barHeight:k,barWidth:C}),this.drawCalculatedDataLabels({x:R.dataLabelsX,y:R.dataLabelsY,val:this.barCtx.isRangeBar?[l,u]:w[p][d],i:b,j:d,barWidth:C,barHeight:k,textRects:Qe,dataLabelsConfig:Q})}},{key:"calculateColumnsDataLabelsPosition",value:function(r){var n,a=this.w,l=r.i,u=r.j,p=r.y,d=r.bcx,b=r.barWidth,w=r.barHeight,k=r.textRects,C=r.dataLabelsY,E=r.barDataLabelsConfig,F=r.strokeWidth,H=r.offX,W=r.offY;w=Math.abs(w);var U=a.config.plotOptions.bar.dataLabels.orientation==="vertical";d-=F/2;var Z=a.globals.gridWidth/a.globals.dataPoints;n=a.globals.isXNumeric?d-b/2+H:d-Z+b/2+H,U&&(n=n+k.height/2-F/2-2);var ie=this.barCtx.series[l][u]<0,se=p;switch(this.barCtx.isReversed&&(se=p-w+(ie?2*w:0),p-=w),E.position){case"center":C=U?ie?se+w/2+W:se+w/2-W:ie?se-w/2+k.height/2+W:se+w/2+k.height/2-W;break;case"bottom":C=U?ie?se+w+W:se+w-W:ie?se-w+k.height+F+W:se+w-k.height/2+F-W;break;case"top":C=U?ie?se+W:se-W:ie?se-k.height/2-W:se+k.height+W}return a.config.chart.stacked||(C<0?C=0+F:C+k.height/3>a.globals.gridHeight&&(C=a.globals.gridHeight-F)),{bcx:d,bcy:p,dataLabelsX:n,dataLabelsY:C}}},{key:"calculateBarsDataLabelsPosition",value:function(r){var n=this.w,a=r.x,l=r.i,u=r.j,p=r.bcy,d=r.barHeight,b=r.barWidth,w=r.textRects,k=r.dataLabelsX,C=r.strokeWidth,E=r.barDataLabelsConfig,F=r.offX,H=r.offY,W=n.globals.gridHeight/n.globals.dataPoints;b=Math.abs(b);var U=p-(this.barCtx.isRangeBar?0:W)+d/2+w.height/2+H-3,Z=this.barCtx.series[l][u]<0,ie=a;switch(this.barCtx.isReversed&&(ie=a+b-(Z?2*b:0),a=n.globals.gridWidth-b),E.position){case"center":k=Z?ie+b/2-F:Math.max(w.width/2,ie-b/2)+F;break;case"bottom":k=Z?ie+b-C-Math.round(w.width/2)-F:ie-b+C+Math.round(w.width/2)+F;break;case"top":k=Z?ie-C+Math.round(w.width/2)-F:ie-C-Math.round(w.width/2)+F}return n.config.chart.stacked||(k<0?k=k+w.width+C:k+w.width/2>n.globals.gridWidth&&(k=n.globals.gridWidth-w.width-C)),{bcx:a,bcy:p,dataLabelsX:k,dataLabelsY:U}}},{key:"drawCalculatedDataLabels",value:function(r){var n=r.x,a=r.y,l=r.val,u=r.i,p=r.j,d=r.textRects,b=r.barHeight,w=r.barWidth,k=r.dataLabelsConfig,C=this.w,E="rotate(0)";C.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(E="rotate(-90, ".concat(n,", ").concat(a,")"));var F=new Se(this.barCtx.ctx),H=new j(this.barCtx.ctx),W=k.formatter,U=null,Z=C.globals.collapsedSeriesIndices.indexOf(u)>-1;if(k.enabled&&!Z){U=H.group({class:"apexcharts-data-labels",transform:E});var ie="";l!==void 0&&(ie=W(l,{seriesIndex:u,dataPointIndex:p,w:C}));var se=C.globals.series[u][p]<0,_=C.config.plotOptions.bar.dataLabels.position;C.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(_==="top"&&(k.textAnchor=se?"end":"start"),_==="center"&&(k.textAnchor="middle"),_==="bottom"&&(k.textAnchor=se?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&w<H.getTextRects(ie,parseFloat(k.style.fontSize)).width&&(ie=""),C.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?d.width/1.6>Math.abs(w)&&(ie=""):d.height/1.6>Math.abs(b)&&(ie=""));var D=c({},k);this.barCtx.isHorizontal&&l<0&&(k.textAnchor==="start"?D.textAnchor="end":k.textAnchor==="end"&&(D.textAnchor="start")),F.plotDataLabelsText({x:n,y:a,text:ie,i:u,j:p,parent:U,dataLabelsConfig:D,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return U}}]),J}(),ot=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.legendInactiveClass="legend-mouseover-inactive"}return y(J,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(r){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(T.escapeString(r),"']"))}},{key:"isSeriesHidden",value:function(r){var n=this.getSeriesByName(r),a=parseInt(n.getAttribute("data:realIndex"),10);return{isHidden:n.classList.contains("apexcharts-series-collapsed"),realIndex:a}}},{key:"addCollapsedClassToSeries",value:function(r,n){var a=this.w;function l(u){for(var p=0;p<u.length;p++)u[p].index===n&&r.node.classList.add("apexcharts-series-collapsed")}l(a.globals.collapsedSeries),l(a.globals.ancillaryCollapsedSeries)}},{key:"toggleSeries",value:function(r){var n=this.isSeriesHidden(r);return this.ctx.legend.legendHelpers.toggleDataSeries(n.realIndex,n.isHidden),n.isHidden}},{key:"showSeries",value:function(r){var n=this.isSeriesHidden(r);n.isHidden&&this.ctx.legend.legendHelpers.toggleDataSeries(n.realIndex,!0)}},{key:"hideSeries",value:function(r){var n=this.isSeriesHidden(r);n.isHidden||this.ctx.legend.legendHelpers.toggleDataSeries(n.realIndex,!1)}},{key:"resetSeries",value:function(){var r=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],l=this.w,u=T.clone(l.globals.initialSeries);l.globals.previousPaths=[],a?(l.globals.collapsedSeries=[],l.globals.ancillaryCollapsedSeries=[],l.globals.collapsedSeriesIndices=[],l.globals.ancillaryCollapsedSeriesIndices=[]):u=this.emptyCollapsedSeries(u),l.config.series=u,r&&(n&&(l.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(u,l.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(r){for(var n=this.w,a=0;a<r.length;a++)n.globals.collapsedSeriesIndices.indexOf(a)>-1&&(r[a].data=[]);return r}},{key:"toggleSeriesOnHover",value:function(r,n){var a=this.w;n||(n=r.target);var l=a.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if(r.type==="mousemove"){var u=parseInt(n.getAttribute("rel"),10)-1,p=null,d=null;a.globals.axisCharts||a.config.chart.type==="radialBar"?a.globals.axisCharts?(p=a.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(u,"']")),d=a.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(u,"']"))):p=a.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(u+1,"']")):p=a.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(u+1,"'] path"));for(var b=0;b<l.length;b++)l[b].classList.add(this.legendInactiveClass);p!==null&&(a.globals.axisCharts||p.parentNode.classList.remove(this.legendInactiveClass),p.classList.remove(this.legendInactiveClass),d!==null&&d.classList.remove(this.legendInactiveClass))}else if(r.type==="mouseout")for(var w=0;w<l.length;w++)l[w].classList.remove(this.legendInactiveClass)}},{key:"highlightRangeInSeries",value:function(r,n){var a=this,l=this.w,u=l.globals.dom.baseEl.getElementsByClassName("apexcharts-heatmap-rect"),p=function(b){for(var w=0;w<u.length;w++)u[w].classList[b](a.legendInactiveClass)};if(r.type==="mousemove"){var d=parseInt(n.getAttribute("rel"),10)-1;p("add"),function(b){for(var w=0;w<u.length;w++){var k=parseInt(u[w].getAttribute("val"),10);k>=b.from&&k<=b.to&&u[w].classList.remove(a.legendInactiveClass)}}(l.config.plotOptions.heatmap.colorScale.ranges[d])}else r.type==="mouseout"&&p("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"asc",a=this.w,l=0;if(a.config.series.length>1){for(var u=a.config.series.map(function(d,b){var w=!1;return r&&(w=a.config.series[b].type==="bar"||a.config.series[b].type==="column"),d.data&&d.data.length>0&&!w?b:-1}),p=n==="asc"?0:u.length-1;n==="asc"?p<u.length:p>=0;n==="asc"?p++:p--)if(u[p]!==-1){l=u[p];break}}return l}},{key:"getPreviousPaths",value:function(){var r=this.w;function n(p,d,b){for(var w=p[d].childNodes,k={type:b,paths:[],realIndex:p[d].getAttribute("data:realIndex")},C=0;C<w.length;C++)if(w[C].hasAttribute("pathTo")){var E=w[C].getAttribute("pathTo");k.paths.push({d:E})}r.globals.previousPaths.push(k)}r.globals.previousPaths=[],["line","area","bar","rangebar","candlestick","radar"].forEach(function(p){for(var d,b=(d=p,r.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(d,"-series .apexcharts-series"))),w=0;w<b.length;w++)n(b,w,p)}),this.handlePrevBubbleScatterPaths("bubble"),this.handlePrevBubbleScatterPaths("scatter");var a=r.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(r.config.chart.type," .apexcharts-series"));if(a.length>0)for(var l=function(p){for(var d=r.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(r.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(p,"'] rect")),b=[],w=function(C){var E=function(H){return d[C].getAttribute(H)},F={x:parseFloat(E("x")),y:parseFloat(E("y")),width:parseFloat(E("width")),height:parseFloat(E("height"))};b.push({rect:F,color:d[C].getAttribute("color")})},k=0;k<d.length;k++)w(k);r.globals.previousPaths.push(b)},u=0;u<a.length;u++)l(u);r.globals.axisCharts||(r.globals.previousPaths=r.globals.series)}},{key:"handlePrevBubbleScatterPaths",value:function(r){var n=this.w,a=n.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(r,"-series .apexcharts-series"));if(a.length>0)for(var l=0;l<a.length;l++){for(var u=n.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(r,"-series .apexcharts-series[data\\:realIndex='").concat(l,"'] circle")),p=[],d=0;d<u.length;d++)p.push({x:u[d].getAttribute("cx"),y:u[d].getAttribute("cy"),r:u[d].getAttribute("r")});n.globals.previousPaths.push(p)}}},{key:"clearPreviousPaths",value:function(){var r=this.w;r.globals.previousPaths=[],r.globals.allSeriesCollapsed=!1}},{key:"handleNoData",value:function(){var r=this.w,n=r.config.noData,a=new j(this.ctx),l=r.globals.svgWidth/2,u=r.globals.svgHeight/2,p="middle";if(r.globals.noData=!0,r.globals.animationEnded=!0,n.align==="left"?(l=10,p="start"):n.align==="right"&&(l=r.globals.svgWidth-10,p="end"),n.verticalAlign==="top"?u=50:n.verticalAlign==="bottom"&&(u=r.globals.svgHeight-50),l+=n.offsetX,u=u+parseInt(n.style.fontSize,10)+2+n.offsetY,n.text!==void 0&&n.text!==""){var d=a.drawText({x:l,y:u,text:n.text,textAnchor:p,fontSize:n.style.fontSize,fontFamily:n.style.fontFamily,foreColor:n.style.color,opacity:1,class:"apexcharts-text-nodata"});r.globals.dom.Paper.add(d)}}},{key:"setNullSeriesToZeroValues",value:function(r){for(var n=this.w,a=0;a<r.length;a++)if(r[a].length===0)for(var l=0;l<r[n.globals.maxValsInArrayIndex].length;l++)r[a].push(0);return r}},{key:"hasAllSeriesEqualX",value:function(){for(var r=!0,n=this.w,a=this.filteredSeriesX(),l=0;l<a.length-1;l++)if(a[l][0]!==a[l+1][0]){r=!1;break}return n.globals.allSeriesHasEqualX=r,r}},{key:"filteredSeriesX",value:function(){var r=this.w.globals.seriesX.map(function(n){return n.length>0?n:[]});return r}}]),J}(),vt=function(){function J(r){g(this,J),this.w=r.w,this.barCtx=r}return y(J,[{key:"initVariables",value:function(r){var n=this.w;this.barCtx.series=r,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var a=0;a<r.length;a++)if(r[a].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=r[a].length),n.globals.isXNumeric)for(var l=0;l<r[a].length;l++)n.globals.seriesX[a][l]>n.globals.minX&&n.globals.seriesX[a][l]<n.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=n.globals.dataPoints;this.barCtx.seriesLen===0&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],this.barCtx.radiusOnSeriesNumber=r.length-1,n.globals.comboCharts||this.checkZeroSeries({series:r})}},{key:"initialPositions",value:function(){var r,n,a,l,u,p,d,b,w=this.w,k=w.globals.dataPoints;this.barCtx.isRangeBar&&(k=w.globals.labels.length);var C=this.barCtx.seriesLen;if(w.config.plotOptions.bar.rangeBarGroupRows&&(C=1),this.barCtx.isHorizontal)u=(a=w.globals.gridHeight/k)/C,w.globals.isXNumeric&&(u=(a=w.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),u=u*parseInt(this.barCtx.barOptions.barHeight,10)/100,b=this.barCtx.baseLineInvertedY+w.globals.padHorizontal+(this.barCtx.isReversed?w.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),n=(a-u*this.barCtx.seriesLen)/2;else{if(l=w.globals.gridWidth/this.barCtx.visibleItems,w.config.xaxis.convertedCatToNumeric&&(l=w.globals.gridWidth/w.globals.dataPoints),p=l/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100,w.globals.isXNumeric){var E=this.barCtx.xRatio;w.config.xaxis.convertedCatToNumeric&&(E=this.barCtx.initialXRatio),w.globals.minXDiff&&w.globals.minXDiff!==.5&&w.globals.minXDiff/E>0&&(l=w.globals.minXDiff/E),(p=l/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(p=1)}d=w.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?w.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),r=w.globals.padHorizontal+(l-p*this.barCtx.seriesLen)/2}return{x:r,y:n,yDivision:a,xDivision:l,barHeight:u,barWidth:p,zeroH:d,zeroW:b}}},{key:"getPathFillColor",value:function(r,n,a,l){var u=this.w,p=new De(this.barCtx.ctx),d=null,b=this.barCtx.barOptions.distributed?a:n;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map(function(w){r[n][a]>=w.from&&r[n][a]<=w.to&&(d=w.color)}),u.config.series[n].data[a]&&u.config.series[n].data[a].fillColor&&(d=u.config.series[n].data[a].fillColor),p.fillPath({seriesNumber:this.barCtx.barOptions.distributed?b:l,dataPointIndex:a,color:d,value:r[n][a]})}},{key:"getStrokeWidth",value:function(r,n,a){var l=0,u=this.w;return this.barCtx.series[r][n]===void 0||this.barCtx.series[r][n]===null?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,u.config.stroke.show&&(this.barCtx.isNullValue||(l=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[a]:this.barCtx.strokeWidth)),l}},{key:"barBackground",value:function(r){var n=r.j,a=r.i,l=r.x1,u=r.x2,p=r.y1,d=r.y2,b=r.elSeries,w=this.w,k=new j(this.barCtx.ctx),C=new ot(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&C===a){n>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(n%=this.barCtx.barOptions.colors.backgroundBarColors.length);var E=this.barCtx.barOptions.colors.backgroundBarColors[n],F=k.drawRect(l!==void 0?l:0,p!==void 0?p:0,u!==void 0?u:w.globals.gridWidth,d!==void 0?d:w.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,E,this.barCtx.barOptions.colors.backgroundBarOpacity);b.add(F),F.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(r){var n=r.barWidth,a=r.barXPosition,l=r.yRatio,u=r.y1,p=r.y2,d=r.strokeWidth,b=r.series,w=r.realIndex,k=r.i,C=r.j,E=r.w,F=new j(this.barCtx.ctx);(d=Array.isArray(d)?d[w]:d)||(d=0);var H={barWidth:n,strokeWidth:d,yRatio:l,barXPosition:a,y1:u,y2:p},W=this.getRoundedBars(E,H,b,k,C),U=a,Z=a+n,ie=F.move(U,u),se=F.move(U,u),_=F.line(Z-d,u);return E.globals.previousPaths.length>0&&(se=this.barCtx.getPreviousPath(w,C,!1)),ie=ie+F.line(U,W.y2)+W.pathWithRadius+F.line(Z-d,W.y2)+_+_+"z",se=se+F.line(U,u)+_+_+_+_+_+F.line(U,u),E.config.chart.stacked&&(this.barCtx.yArrj.push(W.y2WithRadius),this.barCtx.yArrjF.push(Math.abs(u-W.y2WithRadius)),this.barCtx.yArrjVal.push(this.barCtx.series[k][C])),{pathTo:ie,pathFrom:se}}},{key:"getBarpaths",value:function(r){var n=r.barYPosition,a=r.barHeight,l=r.x1,u=r.x2,p=r.strokeWidth,d=r.series,b=r.realIndex,w=r.i,k=r.j,C=r.w,E=new j(this.barCtx.ctx);(p=Array.isArray(p)?p[b]:p)||(p=0);var F={barHeight:a,strokeWidth:p,barYPosition:n,x2:u,x1:l},H=this.getRoundedBars(C,F,d,w,k),W=E.move(l,n),U=E.move(l,n);C.globals.previousPaths.length>0&&(U=this.barCtx.getPreviousPath(b,k,!1));var Z=n,ie=n+a,se=E.line(l,ie-p);return W=W+E.line(H.x2,Z)+H.pathWithRadius+E.line(H.x2,ie-p)+se+se+"z",U=U+E.line(l,Z)+se+se+se+se+se+E.line(l,Z),C.config.chart.stacked&&(this.barCtx.xArrj.push(H.x2WithRadius),this.barCtx.xArrjF.push(Math.abs(l-H.x2WithRadius)),this.barCtx.xArrjVal.push(this.barCtx.series[w][k])),{pathTo:W,pathFrom:U}}},{key:"getRoundedBars",value:function(r,n,a,l,u){var p=new j(this.barCtx.ctx),d=0,b=r.config.plotOptions.bar.borderRadius,w=Array.isArray(b);if(w?d=b[l>b.length-1?b.length-1:l]:d=b,r.config.chart.stacked&&a.length>1&&l!==this.barCtx.radiusOnSeriesNumber&&!w&&(d=0),this.barCtx.isHorizontal){var k="",C=n.x2;if(Math.abs(n.x1-n.x2)<d&&(d=Math.abs(n.x1-n.x2)),a[l][u]!==void 0||a[l][u]!==null){var E=this.barCtx.isReversed?a[l][u]>0:a[l][u]<0;E&&(d*=-1),C-=d,k=p.quadraticCurve(C+d,n.barYPosition,C+d,n.barYPosition+(E?-1*d:d))+p.line(C+d,n.barYPosition+n.barHeight-n.strokeWidth-(E?-1*d:d))+p.quadraticCurve(C+d,n.barYPosition+n.barHeight-n.strokeWidth,C,n.barYPosition+n.barHeight-n.strokeWidth)}return{pathWithRadius:k,x2WithRadius:C+d,x2:C}}var F="",H=n.y2;if(Math.abs(n.y1-n.y2)<d&&(d=Math.abs(n.y1-n.y2)),a[l][u]!==void 0||a[l][u]!==null){var W=a[l][u]<0;W&&(d*=-1),H+=d,F=p.quadraticCurve(n.barXPosition,H-d,n.barXPosition+(W?-1*d:d),H-d)+p.line(n.barXPosition+n.barWidth-n.strokeWidth-(W?-1*d:d),H-d)+p.quadraticCurve(n.barXPosition+n.barWidth-n.strokeWidth,H-d,n.barXPosition+n.barWidth-n.strokeWidth,H)}return{pathWithRadius:F,y2WithRadius:H-d,y2:H}}},{key:"checkZeroSeries",value:function(r){for(var n=r.series,a=this.w,l=0;l<n.length;l++){for(var u=0,p=0;p<n[a.globals.maxValsInArrayIndex].length;p++)u+=n[l][p];u===0&&this.barCtx.zeroSerieses.push(l)}for(var d=n.length-1;d>=0;d--)this.barCtx.zeroSerieses.indexOf(d)>-1&&d===this.radiusOnSeriesNumber&&(this.barCtx.radiusOnSeriesNumber-=1);for(var b=n.length-1;b>=0;b--)a.globals.collapsedSeriesIndices.indexOf(this.barCtx.radiusOnSeriesNumber)>-1&&(this.barCtx.radiusOnSeriesNumber-=1)}},{key:"getXForValue",value:function(r,n){var a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],l=a?n:null;return r!=null&&(l=n+r/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?r/this.barCtx.invertedYRatio:0)),l}},{key:"getYForValue",value:function(r,n){var a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],l=a?n:null;return r!=null&&(l=n-r/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?r/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),l}},{key:"getGoalValues",value:function(r,n,a,l,u){var p=this,d=this.w,b=[];return d.globals.seriesGoals[l]&&d.globals.seriesGoals[l][u]&&Array.isArray(d.globals.seriesGoals[l][u])&&d.globals.seriesGoals[l][u].forEach(function(w){var k;b.push((z(k={},r,r==="x"?p.getXForValue(w.value,n,!1):p.getYForValue(w.value,a,!1)),z(k,"attrs",w),k))}),b}},{key:"drawGoalLine",value:function(r){var n=r.barXPosition,a=r.barYPosition,l=r.goalX,u=r.goalY,p=r.barWidth,d=r.barHeight,b=new j(this.barCtx.ctx),w=b.group({className:"apexcharts-bar-goals-groups"}),k=null;return this.barCtx.isHorizontal?Array.isArray(l)&&l.forEach(function(C){var E=C.attrs.strokeHeight!==void 0?C.attrs.strokeHeight:d/2,F=a+E+d/2;k=b.drawLine(C.x,F-2*E,C.x,F,C.attrs.strokeColor?C.attrs.strokeColor:void 0,C.attrs.strokeDashArray,C.attrs.strokeWidth?C.attrs.strokeWidth:2,C.attrs.strokeLineCap),w.add(k)}):Array.isArray(u)&&u.forEach(function(C){var E=C.attrs.strokeWidth!==void 0?C.attrs.strokeWidth:p/2,F=n+E+p/2;k=b.drawLine(F-2*E,C.y,F,C.y,C.attrs.strokeColor?C.attrs.strokeColor:void 0,C.attrs.strokeDashArray,C.attrs.strokeHeight?C.attrs.strokeHeight:2,C.attrs.strokeLineCap),w.add(k)}),w}}]),J}(),et=function(){function J(r,n){g(this,J),this.ctx=r,this.w=r.w;var a=this.w;this.barOptions=a.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=a.config.stroke.width,this.isNullValue=!1,this.isRangeBar=a.globals.seriesRangeBar.length&&this.isHorizontal,this.xyRatios=n,this.xyRatios!==null&&(this.xRatio=n.xRatio,this.initialXRatio=n.initialXRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0,this.barHelpers=new vt(this)}return y(J,[{key:"draw",value:function(r,n){var a=this.w,l=new j(this.ctx),u=new oe(this.ctx,a);r=u.getLogSeries(r),this.series=r,this.yRatio=u.getLogYRatios(this.yRatio),this.barHelpers.initVariables(r);var p=l.group({class:"apexcharts-bar-series apexcharts-plot-series"});a.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var d=0,b=0;d<r.length;d++,b++){var w,k,C,E,F=void 0,H=void 0,W=[],U=[],Z=a.globals.comboCharts?n[d]:d,ie=l.group({class:"apexcharts-series",rel:d+1,seriesName:T.escapeString(a.globals.seriesNames[Z]),"data:realIndex":Z});this.ctx.series.addCollapsedClassToSeries(ie,Z),r[d].length>0&&(this.visibleI=this.visibleI+1);var se=0,_=0;this.yRatio.length>1&&(this.yaxisIndex=Z),this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed;var D=this.barHelpers.initialPositions();H=D.y,se=D.barHeight,k=D.yDivision,E=D.zeroW,F=D.x,_=D.barWidth,w=D.xDivision,C=D.zeroH,this.horizontal||U.push(F+_/2);for(var R=l.group({class:"apexcharts-datalabels","data:realIndex":Z}),Q=l.group({class:"apexcharts-bar-goals-markers",style:"pointer-events: none"}),be=0;be<a.globals.dataPoints;be++){var Re=this.barHelpers.getStrokeWidth(d,be,Z),_e=null,Qe={indexes:{i:d,j:be,realIndex:Z,bc:b},x:F,y:H,strokeWidth:Re,elSeries:ie};this.isHorizontal?(_e=this.drawBarPaths(c(c({},Qe),{},{barHeight:se,zeroW:E,yDivision:k})),_=this.series[d][be]/this.invertedYRatio):(_e=this.drawColumnPaths(c(c({},Qe),{},{xDivision:w,barWidth:_,zeroH:C})),se=this.series[d][be]/this.yRatio[this.yaxisIndex]);var Ie=this.barHelpers.drawGoalLine({barXPosition:_e.barXPosition,barYPosition:_e.barYPosition,goalX:_e.goalX,goalY:_e.goalY,barHeight:se,barWidth:_});Ie&&Q.add(Ie),H=_e.y,F=_e.x,be>0&&U.push(F+_/2),W.push(H);var lt=this.barHelpers.getPathFillColor(r,d,be,Z);this.renderSeries({realIndex:Z,pathFill:lt,j:be,i:d,pathFrom:_e.pathFrom,pathTo:_e.pathTo,strokeWidth:Re,elSeries:ie,x:F,y:H,series:r,barHeight:se,barWidth:_,elDataLabelsWrap:R,elGoalsMarkers:Q,visibleSeries:this.visibleI,type:"bar"})}a.globals.seriesXvalues[Z]=U,a.globals.seriesYvalues[Z]=W,p.add(ie)}return p}},{key:"renderSeries",value:function(r){var n=r.realIndex,a=r.pathFill,l=r.lineFill,u=r.j,p=r.i,d=r.pathFrom,b=r.pathTo,w=r.strokeWidth,k=r.elSeries,C=r.x,E=r.y,F=r.y1,H=r.y2,W=r.series,U=r.barHeight,Z=r.barWidth,ie=r.barYPosition,se=r.elDataLabelsWrap,_=r.elGoalsMarkers,D=r.visibleSeries,R=r.type,Q=this.w,be=new j(this.ctx);l||(l=this.barOptions.distributed?Q.globals.stroke.colors[u]:Q.globals.stroke.colors[n]),Q.config.series[p].data[u]&&Q.config.series[p].data[u].strokeColor&&(l=Q.config.series[p].data[u].strokeColor),this.isNullValue&&(a="none");var Re=u/Q.config.chart.animations.animateGradually.delay*(Q.config.chart.animations.speed/Q.globals.dataPoints)/2.4,_e=be.renderPaths({i:p,j:u,realIndex:n,pathFrom:d,pathTo:b,stroke:l,strokeWidth:w,strokeLineCap:Q.config.stroke.lineCap,fill:a,animationDelay:Re,initialSpeed:Q.config.chart.animations.speed,dataChangeSpeed:Q.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(R,"-area")});_e.attr("clip-path","url(#gridRectMask".concat(Q.globals.cuid,")"));var Qe=Q.config.forecastDataPoints;Qe.count>0&&u>=Q.globals.dataPoints-Qe.count&&(_e.node.setAttribute("stroke-dasharray",Qe.dashArray),_e.node.setAttribute("stroke-width",Qe.strokeWidth),_e.node.setAttribute("fill-opacity",Qe.fillOpacity)),F!==void 0&&H!==void 0&&(_e.attr("data-range-y1",F),_e.attr("data-range-y2",H)),new B(this.ctx).setSelectionFilter(_e,n,u),k.add(_e);var Ie=new He(this).handleBarDataLabels({x:C,y:E,y1:F,y2:H,i:p,j:u,series:W,realIndex:n,barHeight:U,barWidth:Z,barYPosition:ie,renderedPath:_e,visibleSeries:D});return Ie!==null&&se.add(Ie),k.add(se),_&&k.add(_),k}},{key:"drawBarPaths",value:function(r){var n=r.indexes,a=r.barHeight,l=r.strokeWidth,u=r.zeroW,p=r.x,d=r.y,b=r.yDivision,w=r.elSeries,k=this.w,C=n.i,E=n.j;k.globals.isXNumeric&&(d=(k.globals.seriesX[C][E]-k.globals.minX)/this.invertedXRatio-a);var F=d+a*this.visibleI;p=this.barHelpers.getXForValue(this.series[C][E],u);var H=this.barHelpers.getBarpaths({barYPosition:F,barHeight:a,x1:u,x2:p,strokeWidth:l,series:this.series,realIndex:n.realIndex,i:C,j:E,w:k});return k.globals.isXNumeric||(d+=b),this.barHelpers.barBackground({j:E,i:C,y1:F-a*this.visibleI,y2:a*this.seriesLen,elSeries:w}),{pathTo:H.pathTo,pathFrom:H.pathFrom,x:p,y:d,goalX:this.barHelpers.getGoalValues("x",u,null,C,E),barYPosition:F}}},{key:"drawColumnPaths",value:function(r){var n=r.indexes,a=r.x,l=r.y,u=r.xDivision,p=r.barWidth,d=r.zeroH,b=r.strokeWidth,w=r.elSeries,k=this.w,C=n.realIndex,E=n.i,F=n.j,H=n.bc;if(k.globals.isXNumeric){var W=C;k.globals.seriesX[C].length||(W=k.globals.maxValsInArrayIndex),a=(k.globals.seriesX[W][F]-k.globals.minX)/this.xRatio-p*this.seriesLen/2}var U=a+p*this.visibleI;l=this.barHelpers.getYForValue(this.series[E][F],d);var Z=this.barHelpers.getColumnPaths({barXPosition:U,barWidth:p,y1:d,y2:l,strokeWidth:b,series:this.series,realIndex:n.realIndex,i:E,j:F,w:k});return k.globals.isXNumeric||(a+=u),this.barHelpers.barBackground({bc:H,j:F,i:E,x1:U-b/2-p*this.visibleI,x2:p*this.seriesLen+b/2,elSeries:w}),{pathTo:Z.pathTo,pathFrom:Z.pathFrom,x:a,y:l,goalY:this.barHelpers.getGoalValues("y",null,d,E,F),barXPosition:U}}},{key:"getPreviousPath",value:function(r,n){for(var a,l=this.w,u=0;u<l.globals.previousPaths.length;u++){var p=l.globals.previousPaths[u];p.paths&&p.paths.length>0&&parseInt(p.realIndex,10)===parseInt(r,10)&&l.globals.previousPaths[u].paths[n]!==void 0&&(a=l.globals.previousPaths[u].paths[n].d)}return a}}]),J}(),ne=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return y(J,[{key:"isValidDate",value:function(r){return!isNaN(this.parseDate(r))}},{key:"getTimeStamp",value:function(r){return Date.parse(r)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(r).toISOString().substr(0,25)).getTime():new Date(r).getTime():r}},{key:"getDate",value:function(r){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(r).toUTCString()):new Date(r)}},{key:"parseDate",value:function(r){var n=Date.parse(r);if(!isNaN(n))return this.getTimeStamp(r);var a=Date.parse(r.replace(/-/g,"/").replace(/[a-z]+/gi," "));return a=this.getTimeStamp(a)}},{key:"parseDateWithTimezone",value:function(r){return Date.parse(r.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(r,n){var a=this.w.globals.locale,l=this.w.config.xaxis.labels.datetimeUTC,u=["\0"].concat(ee(a.months)),p=[""].concat(ee(a.shortMonths)),d=[""].concat(ee(a.days)),b=[""].concat(ee(a.shortDays));function w(be,Re){var _e=be+"";for(Re=Re||2;_e.length<Re;)_e="0"+_e;return _e}var k=l?r.getUTCFullYear():r.getFullYear();n=(n=(n=n.replace(/(^|[^\\])yyyy+/g,"$1"+k)).replace(/(^|[^\\])yy/g,"$1"+k.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+k);var C=(l?r.getUTCMonth():r.getMonth())+1;n=(n=(n=(n=n.replace(/(^|[^\\])MMMM+/g,"$1"+u[0])).replace(/(^|[^\\])MMM/g,"$1"+p[0])).replace(/(^|[^\\])MM/g,"$1"+w(C))).replace(/(^|[^\\])M/g,"$1"+C);var E=l?r.getUTCDate():r.getDate();n=(n=(n=(n=n.replace(/(^|[^\\])dddd+/g,"$1"+d[0])).replace(/(^|[^\\])ddd/g,"$1"+b[0])).replace(/(^|[^\\])dd/g,"$1"+w(E))).replace(/(^|[^\\])d/g,"$1"+E);var F=l?r.getUTCHours():r.getHours(),H=F>12?F-12:F===0?12:F;n=(n=(n=(n=n.replace(/(^|[^\\])HH+/g,"$1"+w(F))).replace(/(^|[^\\])H/g,"$1"+F)).replace(/(^|[^\\])hh+/g,"$1"+w(H))).replace(/(^|[^\\])h/g,"$1"+H);var W=l?r.getUTCMinutes():r.getMinutes();n=(n=n.replace(/(^|[^\\])mm+/g,"$1"+w(W))).replace(/(^|[^\\])m/g,"$1"+W);var U=l?r.getUTCSeconds():r.getSeconds();n=(n=n.replace(/(^|[^\\])ss+/g,"$1"+w(U))).replace(/(^|[^\\])s/g,"$1"+U);var Z=l?r.getUTCMilliseconds():r.getMilliseconds();n=n.replace(/(^|[^\\])fff+/g,"$1"+w(Z,3)),Z=Math.round(Z/10),n=n.replace(/(^|[^\\])ff/g,"$1"+w(Z)),Z=Math.round(Z/10);var ie=F<12?"AM":"PM";n=(n=(n=n.replace(/(^|[^\\])f/g,"$1"+Z)).replace(/(^|[^\\])TT+/g,"$1"+ie)).replace(/(^|[^\\])T/g,"$1"+ie.charAt(0));var se=ie.toLowerCase();n=(n=n.replace(/(^|[^\\])tt+/g,"$1"+se)).replace(/(^|[^\\])t/g,"$1"+se.charAt(0));var _=-r.getTimezoneOffset(),D=l||!_?"Z":_>0?"+":"-";if(!l){var R=(_=Math.abs(_))%60;D+=w(Math.floor(_/60))+":"+w(R)}n=n.replace(/(^|[^\\])K/g,"$1"+D);var Q=(l?r.getUTCDay():r.getDay())+1;return n=(n=(n=(n=(n=n.replace(new RegExp(d[0],"g"),d[Q])).replace(new RegExp(b[0],"g"),b[Q])).replace(new RegExp(u[0],"g"),u[C])).replace(new RegExp(p[0],"g"),p[C])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(r,n,a){var l=this.w;l.config.xaxis.min!==void 0&&(r=l.config.xaxis.min),l.config.xaxis.max!==void 0&&(n=l.config.xaxis.max);var u=this.getDate(r),p=this.getDate(n),d=this.formatDate(u,"yyyy MM dd HH mm ss fff").split(" "),b=this.formatDate(p,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(d[6],10),maxMillisecond:parseInt(b[6],10),minSecond:parseInt(d[5],10),maxSecond:parseInt(b[5],10),minMinute:parseInt(d[4],10),maxMinute:parseInt(b[4],10),minHour:parseInt(d[3],10),maxHour:parseInt(b[3],10),minDate:parseInt(d[2],10),maxDate:parseInt(b[2],10),minMonth:parseInt(d[1],10)-1,maxMonth:parseInt(b[1],10)-1,minYear:parseInt(d[0],10),maxYear:parseInt(b[0],10)}}},{key:"isLeapYear",value:function(r){return r%4==0&&r%100!=0||r%400==0}},{key:"calculcateLastDaysOfMonth",value:function(r,n,a){return this.determineDaysOfMonths(r,n)-a}},{key:"determineDaysOfYear",value:function(r){var n=365;return this.isLeapYear(r)&&(n=366),n}},{key:"determineRemainingDaysOfYear",value:function(r,n,a){var l=this.daysCntOfYear[n]+a;return n>1&&this.isLeapYear()&&l++,l}},{key:"determineDaysOfMonths",value:function(r,n){var a=30;switch(r=T.monthMod(r),!0){case this.months30.indexOf(r)>-1:r===2&&(a=this.isLeapYear(n)?29:28);break;case this.months31.indexOf(r)>-1:default:a=31}return a}}]),J}(),te=function(J){A(n,et);var r=Y(n);function n(){return g(this,n),r.apply(this,arguments)}return y(n,[{key:"draw",value:function(a,l){var u=this.w,p=new j(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=a,this.seriesRangeStart=u.globals.seriesRangeStart,this.seriesRangeEnd=u.globals.seriesRangeEnd,this.barHelpers.initVariables(a);for(var d=p.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),b=0;b<a.length;b++){var w,k,C,E=void 0,F=void 0,H=void 0,W=u.globals.comboCharts?l[b]:b,U=p.group({class:"apexcharts-series",seriesName:T.escapeString(u.globals.seriesNames[W]),rel:b+1,"data:realIndex":W});this.ctx.series.addCollapsedClassToSeries(U,W),a[b].length>0&&(this.visibleI=this.visibleI+1);var Z=0,ie=0;this.yRatio.length>1&&(this.yaxisIndex=W);var se=this.barHelpers.initialPositions();F=se.y,C=se.zeroW,E=se.x,ie=se.barWidth,w=se.xDivision,k=se.zeroH;for(var _=p.group({class:"apexcharts-datalabels","data:realIndex":W}),D=p.group({class:"apexcharts-rangebar-goals-markers",style:"pointer-events: none"}),R=0;R<u.globals.dataPoints;R++){var Q=this.barHelpers.getStrokeWidth(b,R,W),be=this.seriesRangeStart[b][R],Re=this.seriesRangeEnd[b][R],_e=null,Qe=null,Ie={x:E,y:F,strokeWidth:Q,elSeries:U};if(H=se.yDivision,Z=se.barHeight,this.isHorizontal){Qe=F+Z*this.visibleI;var lt=this.seriesLen;u.config.plotOptions.bar.rangeBarGroupRows&&(lt=1);var wt=(H-Z*lt)/2;if(u.config.series[b].data[R]===void 0)break;if(u.config.series[b].data[R].x){var Xt=this.detectOverlappingBars({i:b,j:R,barYPosition:Qe,srty:wt,barHeight:Z,yDivision:H,initPositions:se});Z=Xt.barHeight,Qe=Xt.barYPosition}ie=(_e=this.drawRangeBarPaths(c({indexes:{i:b,j:R,realIndex:W},barHeight:Z,barYPosition:Qe,zeroW:C,yDivision:H,y1:be,y2:Re},Ie))).barWidth}else Z=(_e=this.drawRangeColumnPaths(c({indexes:{i:b,j:R,realIndex:W},zeroH:k,barWidth:ie,xDivision:w},Ie))).barHeight;var Et=this.barHelpers.drawGoalLine({barXPosition:_e.barXPosition,barYPosition:Qe,goalX:_e.goalX,goalY:_e.goalY,barHeight:Z,barWidth:ie});Et&&D.add(Et),F=_e.y,E=_e.x;var mr=this.barHelpers.getPathFillColor(a,b,R,W),Dr=u.globals.stroke.colors[W];this.renderSeries({realIndex:W,pathFill:mr,lineFill:Dr,j:R,i:b,x:E,y:F,y1:be,y2:Re,pathFrom:_e.pathFrom,pathTo:_e.pathTo,strokeWidth:Q,elSeries:U,series:a,barHeight:Z,barYPosition:Qe,barWidth:ie,elDataLabelsWrap:_,elGoalsMarkers:D,visibleSeries:this.visibleI,type:"rangebar"})}d.add(U)}return d}},{key:"detectOverlappingBars",value:function(a){var l=a.i,u=a.j,p=a.barYPosition,d=a.srty,b=a.barHeight,w=a.yDivision,k=a.initPositions,C=this.w,E=[],F=C.config.series[l].data[u].rangeName,H=C.config.series[l].data[u].x,W=C.globals.labels.indexOf(H),U=C.globals.seriesRangeBar[l].findIndex(function(Z){return Z.x===H&&Z.overlaps.length>0});return p=C.config.plotOptions.bar.rangeBarGroupRows?d+w*W:d+b*this.visibleI+w*W,U>-1&&!C.config.plotOptions.bar.rangeBarOverlap&&(E=C.globals.seriesRangeBar[l][U].overlaps).indexOf(F)>-1&&(p=(b=k.barHeight/E.length)*this.visibleI+w*(100-parseInt(this.barOptions.barHeight,10))/100/2+b*(this.visibleI+E.indexOf(F))+w*W),{barYPosition:p,barHeight:b}}},{key:"drawRangeColumnPaths",value:function(a){var l=a.indexes,u=a.x;a.strokeWidth;var p=a.xDivision,d=a.barWidth,b=a.zeroH,w=this.w,k=l.i,C=l.j,E=this.yRatio[this.yaxisIndex],F=l.realIndex,H=this.getRangeValue(F,C),W=Math.min(H.start,H.end),U=Math.max(H.start,H.end);w.globals.isXNumeric&&(u=(w.globals.seriesX[k][C]-w.globals.minX)/this.xRatio-d/2);var Z=u+d*this.visibleI;this.series[k][C]===void 0||this.series[k][C]===null?W=b:(W=b-W/E,U=b-U/E);var ie=Math.abs(U-W),se=this.barHelpers.getColumnPaths({barXPosition:Z,barWidth:d,y1:W,y2:U,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:l.realIndex,i:F,j:C,w});return w.globals.isXNumeric||(u+=p),{pathTo:se.pathTo,pathFrom:se.pathFrom,barHeight:ie,x:u,y:U,goalY:this.barHelpers.getGoalValues("y",null,b,k,C),barXPosition:Z}}},{key:"drawRangeBarPaths",value:function(a){var l=a.indexes,u=a.y,p=a.y1,d=a.y2,b=a.yDivision,w=a.barHeight,k=a.barYPosition,C=a.zeroW,E=this.w,F=C+p/this.invertedYRatio,H=C+d/this.invertedYRatio,W=Math.abs(H-F),U=this.barHelpers.getBarpaths({barYPosition:k,barHeight:w,x1:F,x2:H,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:l.realIndex,realIndex:l.realIndex,j:l.j,w:E});return E.globals.isXNumeric||(u+=b),{pathTo:U.pathTo,pathFrom:U.pathFrom,barWidth:W,x:H,goalX:this.barHelpers.getGoalValues("x",C,null,l.realIndex,l.j),y:u}}},{key:"getRangeValue",value:function(a,l){var u=this.w;return{start:u.globals.seriesRangeStart[a][l],end:u.globals.seriesRangeEnd[a][l]}}},{key:"getTooltipValues",value:function(a){var l=a.ctx,u=a.seriesIndex,p=a.dataPointIndex,d=a.y1,b=a.y2,w=a.w,k=w.globals.seriesRangeStart[u][p],C=w.globals.seriesRangeEnd[u][p],E=w.globals.labels[p],F=w.config.series[u].name?w.config.series[u].name:"",H=w.config.tooltip.y.formatter,W=w.config.tooltip.y.title.formatter,U={w,seriesIndex:u,dataPointIndex:p,start:k,end:C};typeof W=="function"&&(F=W(F,U)),Number.isFinite(d)&&Number.isFinite(b)&&(k=d,C=b,w.config.series[u].data[p].x&&(E=w.config.series[u].data[p].x+":"),typeof H=="function"&&(E=H(E,U)));var Z="",ie="",se=w.globals.colors[u];if(w.config.tooltip.x.formatter===void 0)if(w.config.xaxis.type==="datetime"){var _=new ne(l);Z=_.formatDate(_.getDate(k),w.config.tooltip.x.format),ie=_.formatDate(_.getDate(C),w.config.tooltip.x.format)}else Z=k,ie=C;else Z=w.config.tooltip.x.formatter(k),ie=w.config.tooltip.x.formatter(C);return{start:k,end:C,startVal:Z,endVal:ie,ylabel:E,color:se,seriesName:F}}},{key:"buildCustomTooltipHTML",value:function(a){var l=a.color,u=a.seriesName;return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+l+'">'+(u||"")+'</span></div><div> <span class="category">'+a.ylabel+' </span> <span class="value start-value">'+a.start+'</span> <span class="separator">-</span> <span class="value end-value">'+a.end+"</span></div></div>"}}]),n}(),tt=function(){function J(r){g(this,J),this.opts=r}return y(J,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(r){return this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0,T.extend(r,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){var r=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(n){var a=n.seriesIndex,l=n.dataPointIndex,u=n.w;return r._getBoxTooltip(u,a,l,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var r=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(n){var a=n.seriesIndex,l=n.dataPointIndex,u=n.w;return r._getBoxTooltip(u,a,l,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(r,n){n.ctx;var a=n.seriesIndex,l=n.dataPointIndex,u=n.w,p=u.globals.seriesRangeStart[a][l];return u.globals.seriesRangeEnd[a][l]-p},background:{enabled:!1},style:{colors:["#fff"]}},tooltip:{shared:!1,followCursor:!0,custom:function(r){return r.w.config.plotOptions&&r.w.config.plotOptions.bar&&r.w.config.plotOptions.bar.horizontal?function(n){var a=new te(n.ctx,null),l=a.getTooltipValues(n),u=l.color,p=l.seriesName,d=l.ylabel,b=l.startVal,w=l.endVal;return a.buildCustomTooltipHTML({color:u,seriesName:p,ylabel:d,start:b,end:w})}(r):function(n){var a=new te(n.ctx,null),l=a.getTooltipValues(n),u=l.color,p=l.seriesName,d=l.ylabel,b=l.start,w=l.end;return a.buildCustomTooltipHTML({color:u,seriesName:p,ylabel:d,start:b,end:w})}(r)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(r){return T.extend(r,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(r){r.dataLabels=r.dataLabels||{},r.dataLabels.formatter=r.dataLabels.formatter||void 0;var n=r.dataLabels.formatter;return r.yaxis.forEach(function(a,l){r.yaxis[l].min=0,r.yaxis[l].max=100}),r.chart.type==="bar"&&(r.dataLabels.formatter=n||function(a){return typeof a=="number"&&a?a.toFixed(0)+"%":a}),r}},{key:"convertCatToNumeric",value:function(r){return r.xaxis.convertedCatToNumeric=!0,r}},{key:"convertCatToNumericXaxis",value:function(r,n,a){r.xaxis.type="numeric",r.xaxis.labels=r.xaxis.labels||{},r.xaxis.labels.formatter=r.xaxis.labels.formatter||function(p){return T.isNumber(p)?Math.floor(p):p};var l=r.xaxis.labels.formatter,u=r.xaxis.categories&&r.xaxis.categories.length?r.xaxis.categories:r.labels;return a&&a.length&&(u=a.map(function(p){return Array.isArray(p)?p:String(p)})),u&&u.length&&(r.xaxis.labels.formatter=function(p){return T.isNumber(p)?l(u[Math.floor(p)-1]):l(p)}),r.xaxis.categories=[],r.labels=[],r.xaxis.tickAmount=r.xaxis.tickAmount||"dataPoints",r}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(r){return r.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(r){return r.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(r){return r.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(r){return r},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}},{key:"_getBoxTooltip",value:function(r,n,a,l,u){var p=r.globals.seriesCandleO[n][a],d=r.globals.seriesCandleH[n][a],b=r.globals.seriesCandleM[n][a],w=r.globals.seriesCandleL[n][a],k=r.globals.seriesCandleC[n][a];return r.config.series[n].type&&r.config.series[n].type!==u?`<div class="apexcharts-custom-tooltip">
  44. `.concat(r.config.series[n].name?r.config.series[n].name:"series-"+(n+1),": <strong>").concat(r.globals.series[n][a],`</strong>
  45. </div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(r.config.chart.type,'">')+"<div>".concat(l[0],': <span class="value">')+p+"</span></div>"+"<div>".concat(l[1],': <span class="value">')+d+"</span></div>"+(b?"<div>".concat(l[2],': <span class="value">')+b+"</span></div>":"")+"<div>".concat(l[3],': <span class="value">')+w+"</span></div>"+"<div>".concat(l[4],': <span class="value">')+k+"</span></div></div>"}}]),J}(),we=function(){function J(r){g(this,J),this.opts=r}return y(J,[{key:"init",value:function(r){var n=r.responsiveOverride,a=this.opts,l=new Me,u=new tt(a);this.chartType=a.chart.type,this.chartType==="histogram"&&(a.chart.type="bar",a=T.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},a)),a=this.extendYAxis(a),a=this.extendAnnotations(a);var p=l.init(),d={};if(a&&h(a)==="object"){var b={};b=["line","area","bar","candlestick","boxPlot","rangeBar","histogram","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(a.chart.type)!==-1?u[a.chart.type]():u.line(),a.chart.brush&&a.chart.brush.enabled&&(b=u.brush(b)),a.chart.stacked&&a.chart.stackType==="100%"&&(a=u.stacked100(a)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(a),a.xaxis=a.xaxis||window.Apex.xaxis||{},n||(a.xaxis.convertedCatToNumeric=!1),((a=this.checkForCatToNumericXAxis(this.chartType,b,a)).chart.sparkline&&a.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(b=u.sparkline(b)),d=T.extend(p,b)}var w=T.extend(d,window.Apex);return p=T.extend(w,a),p=this.handleUserInputErrors(p)}},{key:"checkForCatToNumericXAxis",value:function(r,n,a){var l=new tt(a),u=(r==="bar"||r==="boxPlot")&&a.plotOptions&&a.plotOptions.bar&&a.plotOptions.bar.horizontal,p=r==="pie"||r==="polarArea"||r==="donut"||r==="radar"||r==="radialBar"||r==="heatmap",d=a.xaxis.type!=="datetime"&&a.xaxis.type!=="numeric",b=a.xaxis.tickPlacement?a.xaxis.tickPlacement:n.xaxis&&n.xaxis.tickPlacement;return u||p||!d||b==="between"||(a=l.convertCatToNumeric(a)),a}},{key:"extendYAxis",value:function(r,n){var a=new Me;(r.yaxis===void 0||!r.yaxis||Array.isArray(r.yaxis)&&r.yaxis.length===0)&&(r.yaxis={}),r.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(r.yaxis=T.extend(r.yaxis,window.Apex.yaxis)),r.yaxis.constructor!==Array?r.yaxis=[T.extend(a.yAxis,r.yaxis)]:r.yaxis=T.extendArray(r.yaxis,a.yAxis);var l=!1;r.yaxis.forEach(function(p){p.logarithmic&&(l=!0)});var u=r.series;return n&&!u&&(u=n.config.series),l&&u.length!==r.yaxis.length&&u.length&&(r.yaxis=u.map(function(p,d){if(p.name||(u[d].name="series-".concat(d+1)),r.yaxis[d])return r.yaxis[d].seriesName=u[d].name,r.yaxis[d];var b=T.extend(a.yAxis,r.yaxis[0]);return b.show=!1,b})),l&&u.length>1&&u.length!==r.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes. Please make sure to equalize both."),r}},{key:"extendAnnotations",value:function(r){return r.annotations===void 0&&(r.annotations={},r.annotations.yaxis=[],r.annotations.xaxis=[],r.annotations.points=[]),r=this.extendYAxisAnnotations(r),r=this.extendXAxisAnnotations(r),r=this.extendPointAnnotations(r)}},{key:"extendYAxisAnnotations",value:function(r){var n=new Me;return r.annotations.yaxis=T.extendArray(r.annotations.yaxis!==void 0?r.annotations.yaxis:[],n.yAxisAnnotation),r}},{key:"extendXAxisAnnotations",value:function(r){var n=new Me;return r.annotations.xaxis=T.extendArray(r.annotations.xaxis!==void 0?r.annotations.xaxis:[],n.xAxisAnnotation),r}},{key:"extendPointAnnotations",value:function(r){var n=new Me;return r.annotations.points=T.extendArray(r.annotations.points!==void 0?r.annotations.points:[],n.pointAnnotation),r}},{key:"checkForDarkTheme",value:function(r){r.theme&&r.theme.mode==="dark"&&(r.tooltip||(r.tooltip={}),r.tooltip.theme!=="light"&&(r.tooltip.theme="dark"),r.chart.foreColor||(r.chart.foreColor="#f6f7f8"),r.chart.background||(r.chart.background="#424242"),r.theme.palette||(r.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(r){var n=r;if(n.tooltip.shared&&n.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(n.chart.type==="bar"&&n.plotOptions.bar.horizontal){if(n.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");n.yaxis[0].reversed&&(n.yaxis[0].opposite=!0),n.xaxis.tooltip.enabled=!1,n.yaxis[0].tooltip.enabled=!1,n.chart.zoom.enabled=!1}return n.chart.type!=="bar"&&n.chart.type!=="rangeBar"||n.tooltip.shared&&n.xaxis.crosshairs.width==="barWidth"&&n.series.length>1&&(n.xaxis.crosshairs.width="tickWidth"),n.chart.type!=="candlestick"&&n.chart.type!=="boxPlot"||n.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(n.chart.type," chart is not supported.")),n.yaxis[0].reversed=!1),n}}]),J}(),Pe=function(){function J(){g(this,J)}return y(J,[{key:"initGlobalVars",value:function(r){r.series=[],r.seriesCandleO=[],r.seriesCandleH=[],r.seriesCandleM=[],r.seriesCandleL=[],r.seriesCandleC=[],r.seriesRangeStart=[],r.seriesRangeEnd=[],r.seriesRangeBar=[],r.seriesPercent=[],r.seriesGoals=[],r.seriesX=[],r.seriesZ=[],r.seriesNames=[],r.seriesTotals=[],r.seriesLog=[],r.seriesColors=[],r.stackedSeriesTotals=[],r.seriesXvalues=[],r.seriesYvalues=[],r.labels=[],r.hasGroups=!1,r.groups=[],r.categoryLabels=[],r.timescaleLabels=[],r.noLabelsProvided=!1,r.resizeTimer=null,r.selectionResizeTimer=null,r.delayedElements=[],r.pointsArray=[],r.dataLabelsRects=[],r.isXNumeric=!1,r.xaxisLabelsCount=0,r.skipLastTimelinelabel=!1,r.skipFirstTimelinelabel=!1,r.isDataXYZ=!1,r.isMultiLineX=!1,r.isMultipleYAxis=!1,r.maxY=-Number.MAX_VALUE,r.minY=Number.MIN_VALUE,r.minYArr=[],r.maxYArr=[],r.maxX=-Number.MAX_VALUE,r.minX=Number.MAX_VALUE,r.initialMaxX=-Number.MAX_VALUE,r.initialMinX=Number.MAX_VALUE,r.maxDate=0,r.minDate=Number.MAX_VALUE,r.minZ=Number.MAX_VALUE,r.maxZ=-Number.MAX_VALUE,r.minXDiff=Number.MAX_VALUE,r.yAxisScale=[],r.xAxisScale=null,r.xAxisTicksPositions=[],r.yLabelsCoords=[],r.yTitleCoords=[],r.barPadForNumericAxis=0,r.padHorizontal=0,r.xRange=0,r.yRange=[],r.zRange=0,r.dataPoints=0,r.xTickAmount=0}},{key:"globalVars",value:function(r){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:r.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:r.chart.toolbar.autoSelected==="zoom"&&r.chart.toolbar.tools.zoom&&r.chart.zoom.enabled,panEnabled:r.chart.toolbar.autoSelected==="pan"&&r.chart.toolbar.tools.pan,selectionEnabled:r.chart.toolbar.autoSelected==="selection"&&r.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(r){var n=this.globalVars(r);return this.initGlobalVars(n),n.initialConfig=T.extend({},r),n.initialSeries=T.clone(r.series),n.lastXAxis=T.clone(n.initialConfig.xaxis),n.lastYAxis=T.clone(n.initialConfig.yaxis),n}}]),J}(),$e=function(){function J(r){g(this,J),this.opts=r}return y(J,[{key:"init",value:function(){var r=new we(this.opts).init({responsiveOverride:!1});return{config:r,globals:new Pe().init(r)}}}]),J}(),Ge=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new oe(this.ctx)}return y(J,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var r=this.w.config.series.slice(),n=new ot(this.ctx);if(this.activeSeriesIndex=n.getActiveConfigSeriesIndex(),r[this.activeSeriesIndex].data!==void 0&&r[this.activeSeriesIndex].data.length>0&&r[this.activeSeriesIndex].data[0]!==null&&r[this.activeSeriesIndex].data[0].x!==void 0&&r[this.activeSeriesIndex].data[0]!==null)return!0}},{key:"isFormat2DArray",value:function(){var r=this.w.config.series.slice(),n=new ot(this.ctx);if(this.activeSeriesIndex=n.getActiveConfigSeriesIndex(),r[this.activeSeriesIndex].data!==void 0&&r[this.activeSeriesIndex].data.length>0&&r[this.activeSeriesIndex].data[0]!==void 0&&r[this.activeSeriesIndex].data[0]!==null&&r[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(r,n){for(var a=this.w.config,l=this.w.globals,u=a.chart.type==="boxPlot"||a.series[n].type==="boxPlot",p=0;p<r[n].data.length;p++)if(r[n].data[p][1]!==void 0&&(Array.isArray(r[n].data[p][1])&&r[n].data[p][1].length===4&&!u?this.twoDSeries.push(T.parseNumber(r[n].data[p][1][3])):r[n].data[p].length>=5?this.twoDSeries.push(T.parseNumber(r[n].data[p][4])):this.twoDSeries.push(T.parseNumber(r[n].data[p][1])),l.dataFormatXNumeric=!0),a.xaxis.type==="datetime"){var d=new Date(r[n].data[p][0]);d=new Date(d).getTime(),this.twoDSeriesX.push(d)}else this.twoDSeriesX.push(r[n].data[p][0]);for(var b=0;b<r[n].data.length;b++)r[n].data[b][2]!==void 0&&(this.threeDSeries.push(r[n].data[b][2]),l.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(r,n){var a=this.w.config,l=this.w.globals,u=new ne(this.ctx),p=n;l.collapsedSeriesIndices.indexOf(n)>-1&&(p=this.activeSeriesIndex);for(var d=0;d<r[n].data.length;d++)r[n].data[d].y!==void 0&&(Array.isArray(r[n].data[d].y)?this.twoDSeries.push(T.parseNumber(r[n].data[d].y[r[n].data[d].y.length-1])):this.twoDSeries.push(T.parseNumber(r[n].data[d].y))),r[n].data[d].goals!==void 0&&Array.isArray(r[n].data[d].goals)?(this.seriesGoals[n]===void 0&&(this.seriesGoals[n]=[]),this.seriesGoals[n].push(r[n].data[d].goals)):(this.seriesGoals[n]===void 0&&(this.seriesGoals[n]=[]),this.seriesGoals[n].push(null));for(var b=0;b<r[p].data.length;b++){var w=typeof r[p].data[b].x=="string",k=Array.isArray(r[p].data[b].x),C=!k&&!!u.isValidDate(r[p].data[b].x.toString());if(w||C)if(w||a.xaxis.convertedCatToNumeric){var E=l.isBarHorizontal&&l.isRangeData;a.xaxis.type!=="datetime"||E?(this.fallbackToCategory=!0,this.twoDSeriesX.push(r[p].data[b].x)):this.twoDSeriesX.push(u.parseDate(r[p].data[b].x))}else a.xaxis.type==="datetime"?this.twoDSeriesX.push(u.parseDate(r[p].data[b].x.toString())):(l.dataFormatXNumeric=!0,l.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(r[p].data[b].x)));else k?(this.fallbackToCategory=!0,this.twoDSeriesX.push(r[p].data[b].x)):(l.isXNumeric=!0,l.dataFormatXNumeric=!0,this.twoDSeriesX.push(r[p].data[b].x))}if(r[n].data[0]&&r[n].data[0].z!==void 0){for(var F=0;F<r[n].data.length;F++)this.threeDSeries.push(r[n].data[F].z);l.isDataXYZ=!0}}},{key:"handleRangeData",value:function(r,n){var a=this.w.globals,l={};return this.isFormat2DArray()?l=this.handleRangeDataFormat("array",r,n):this.isFormatXY()&&(l=this.handleRangeDataFormat("xy",r,n)),a.seriesRangeStart.push(l.start),a.seriesRangeEnd.push(l.end),a.seriesRangeBar.push(l.rangeUniques),a.seriesRangeBar.forEach(function(u,p){u&&u.forEach(function(d,b){d.y.forEach(function(w,k){for(var C=0;C<d.y.length;C++)if(k!==C){var E=w.y1,F=w.y2,H=d.y[C].y1;E<=d.y[C].y2&&H<=F&&(d.overlaps.indexOf(w.rangeName)<0&&d.overlaps.push(w.rangeName),d.overlaps.indexOf(d.y[C].rangeName)<0&&d.overlaps.push(d.y[C].rangeName))}})})}),l}},{key:"handleCandleStickBoxData",value:function(r,n){var a=this.w.globals,l={};return this.isFormat2DArray()?l=this.handleCandleStickBoxDataFormat("array",r,n):this.isFormatXY()&&(l=this.handleCandleStickBoxDataFormat("xy",r,n)),a.seriesCandleO[n]=l.o,a.seriesCandleH[n]=l.h,a.seriesCandleM[n]=l.m,a.seriesCandleL[n]=l.l,a.seriesCandleC[n]=l.c,l}},{key:"handleRangeDataFormat",value:function(r,n,a){var l=[],u=[],p=n[a].data.filter(function(E,F,H){return F===H.findIndex(function(W){return W.x===E.x})}).map(function(E,F){return{x:E.x,overlaps:[],y:[]}}),d="Please provide [Start, End] values in valid format. Read more https://apexcharts.com/docs/series/#rangecharts",b=new ot(this.ctx).getActiveConfigSeriesIndex();if(r==="array"){if(n[b].data[0][1].length!==2)throw new Error(d);for(var w=0;w<n[a].data.length;w++)l.push(n[a].data[w][1][0]),u.push(n[a].data[w][1][1])}else if(r==="xy"){if(n[b].data[0].y.length!==2)throw new Error(d);for(var k=function(E){var F=T.randomId(),H=n[a].data[E].x,W={y1:n[a].data[E].y[0],y2:n[a].data[E].y[1],rangeName:F};n[a].data[E].rangeName=F;var U=p.findIndex(function(Z){return Z.x===H});p[U].y.push(W),l.push(W.y1),u.push(W.y2)},C=0;C<n[a].data.length;C++)k(C)}return{start:l,end:u,rangeUniques:p}}},{key:"handleCandleStickBoxDataFormat",value:function(r,n,a){var l=this.w,u=l.config.chart.type==="boxPlot"||l.config.series[a].type==="boxPlot",p=[],d=[],b=[],w=[],k=[];if(r==="array")if(u&&n[a].data[0].length===6||!u&&n[a].data[0].length===5)for(var C=0;C<n[a].data.length;C++)p.push(n[a].data[C][1]),d.push(n[a].data[C][2]),u?(b.push(n[a].data[C][3]),w.push(n[a].data[C][4]),k.push(n[a].data[C][5])):(w.push(n[a].data[C][3]),k.push(n[a].data[C][4]));else for(var E=0;E<n[a].data.length;E++)Array.isArray(n[a].data[E][1])&&(p.push(n[a].data[E][1][0]),d.push(n[a].data[E][1][1]),u?(b.push(n[a].data[E][1][2]),w.push(n[a].data[E][1][3]),k.push(n[a].data[E][1][4])):(w.push(n[a].data[E][1][2]),k.push(n[a].data[E][1][3])));else if(r==="xy")for(var F=0;F<n[a].data.length;F++)Array.isArray(n[a].data[F].y)&&(p.push(n[a].data[F].y[0]),d.push(n[a].data[F].y[1]),u?(b.push(n[a].data[F].y[2]),w.push(n[a].data[F].y[3]),k.push(n[a].data[F].y[4])):(w.push(n[a].data[F].y[2]),k.push(n[a].data[F].y[3])));return{o:p,h:d,m:b,l:w,c:k}}},{key:"parseDataAxisCharts",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.ctx,l=this.w.config,u=this.w.globals,p=new ne(a),d=l.labels.length>0?l.labels.slice():l.xaxis.categories.slice();u.isRangeBar=l.chart.type==="rangeBar"&&u.isBarHorizontal,u.hasGroups=l.xaxis.type==="category"&&l.xaxis.group.groups.length>0,u.hasGroups&&(u.groups=l.xaxis.group.groups);for(var b=function(){for(var C=0;C<d.length;C++)if(typeof d[C]=="string"){if(!p.isValidDate(d[C]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");n.twoDSeriesX.push(p.parseDate(d[C]))}else n.twoDSeriesX.push(d[C])},w=0;w<r.length;w++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],r[w].data===void 0)return void console.error("It is a possibility that you may have not included 'data' property in series.");if(l.chart.type!=="rangeBar"&&l.chart.type!=="rangeArea"&&r[w].type!=="rangeBar"&&r[w].type!=="rangeArea"||(u.isRangeData=!0,this.handleRangeData(r,w)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(r,w):this.isFormatXY()&&this.handleFormatXY(r,w),l.chart.type!=="candlestick"&&r[w].type!=="candlestick"&&l.chart.type!=="boxPlot"&&r[w].type!=="boxPlot"||this.handleCandleStickBoxData(r,w),u.series.push(this.twoDSeries),u.labels.push(this.twoDSeriesX),u.seriesX.push(this.twoDSeriesX),u.seriesGoals=this.seriesGoals,w!==this.activeSeriesIndex||this.fallbackToCategory||(u.isXNumeric=!0);else{l.xaxis.type==="datetime"?(u.isXNumeric=!0,b(),u.seriesX.push(this.twoDSeriesX)):l.xaxis.type==="numeric"&&(u.isXNumeric=!0,d.length>0&&(this.twoDSeriesX=d,u.seriesX.push(this.twoDSeriesX))),u.labels.push(this.twoDSeriesX);var k=r[w].data.map(function(C){return T.parseNumber(C)});u.series.push(k)}u.seriesZ.push(this.threeDSeries),r[w].name!==void 0?u.seriesNames.push(r[w].name):u.seriesNames.push("series-"+parseInt(w+1,10)),r[w].color!==void 0?u.seriesColors.push(r[w].color):u.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(r){var n=this.w.globals,a=this.w.config;n.series=r.slice(),n.seriesNames=a.labels.slice();for(var l=0;l<n.series.length;l++)n.seriesNames[l]===void 0&&n.seriesNames.push("series-"+(l+1));return this.w}},{key:"handleExternalLabelsData",value:function(r){var n=this.w.config,a=this.w.globals;n.xaxis.categories.length>0?a.labels=n.xaxis.categories:n.labels.length>0?a.labels=n.labels.slice():this.fallbackToCategory?(a.labels=a.labels[0],a.seriesRangeBar.length&&(a.seriesRangeBar.map(function(l){l.forEach(function(u){a.labels.indexOf(u.x)<0&&u.x&&a.labels.push(u.x)})}),a.labels=a.labels.filter(function(l,u,p){return p.indexOf(l)===u})),n.xaxis.convertedCatToNumeric&&(new tt(n).convertCatToNumericXaxis(n,this.ctx,a.seriesX[0]),this._generateExternalLabels(r))):this._generateExternalLabels(r)}},{key:"_generateExternalLabels",value:function(r){var n=this.w.globals,a=this.w.config,l=[];if(n.axisCharts){if(n.series.length>0)if(this.isFormatXY())for(var u=a.series.map(function(C,E){return C.data.filter(function(F,H,W){return W.findIndex(function(U){return U.x===F.x})===H})}),p=u.reduce(function(C,E,F,H){return H[C].length>E.length?C:F},0),d=0;d<u[p].length;d++)l.push(d+1);else for(var b=0;b<n.series[n.maxValsInArrayIndex].length;b++)l.push(b+1);n.seriesX=[];for(var w=0;w<r.length;w++)n.seriesX.push(l);n.isXNumeric=!0}if(l.length===0){l=n.axisCharts?[]:n.series.map(function(C,E){return E+1});for(var k=0;k<r.length;k++)n.seriesX.push(l)}n.labels=l,a.xaxis.convertedCatToNumeric&&(n.categoryLabels=l.map(function(C){return a.xaxis.labels.formatter(C)})),n.noLabelsProvided=!0}},{key:"parseData",value:function(r){var n=this.w,a=n.config,l=n.globals;if(this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.ctx.core.resetGlobals(),this.ctx.core.isMultipleY(),l.axisCharts?this.parseDataAxisCharts(r):this.parseDataNonAxisCharts(r),this.coreUtils.getLargestSeries(),a.chart.type==="bar"&&a.chart.stacked){var u=new ot(this.ctx);l.series=u.setNullSeriesToZeroValues(l.series)}this.coreUtils.getSeriesTotals(),l.axisCharts&&this.coreUtils.getStackedSeriesTotals(),this.coreUtils.getPercentSeries(),l.dataFormatXNumeric||l.isXNumeric&&(a.xaxis.type!=="numeric"||a.labels.length!==0||a.xaxis.categories.length!==0)||this.handleExternalLabelsData(r);for(var p=this.coreUtils.getCategoryLabels(l.labels),d=0;d<p.length;d++)if(Array.isArray(p[d])){l.isMultiLineX=!0;break}}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var r=this,n=this.w;n.globals.ignoreYAxisIndexes=n.globals.collapsedSeries.map(function(a,l){if(r.w.globals.isMultipleYAxis&&!n.config.chart.stacked)return a.index})}}]),J}(),at=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.tooltipKeyFormat="dd MMM"}return y(J,[{key:"xLabelFormat",value:function(r,n,a,l){var u=this.w;if(u.config.xaxis.type==="datetime"&&u.config.xaxis.labels.formatter===void 0&&u.config.tooltip.x.formatter===void 0){var p=new ne(this.ctx);return p.formatDate(p.getDate(n),u.config.tooltip.x.format)}return r(n,a,l)}},{key:"defaultGeneralFormatter",value:function(r){return Array.isArray(r)?r.map(function(n){return n}):r}},{key:"defaultYFormatter",value:function(r,n,a){var l=this.w;return T.isNumber(r)&&(r=l.globals.yValueDecimal!==0?r.toFixed(n.decimalsInFloat!==void 0?n.decimalsInFloat:l.globals.yValueDecimal):l.globals.maxYArr[a]-l.globals.minYArr[a]<5?r.toFixed(1):r.toFixed(0)),r}},{key:"setLabelFormatters",value:function(){var r=this,n=this.w;return n.globals.xaxisTooltipFormatter=function(a){return r.defaultGeneralFormatter(a)},n.globals.ttKeyFormatter=function(a){return r.defaultGeneralFormatter(a)},n.globals.ttZFormatter=function(a){return a},n.globals.legendFormatter=function(a){return r.defaultGeneralFormatter(a)},n.config.xaxis.labels.formatter!==void 0?n.globals.xLabelFormatter=n.config.xaxis.labels.formatter:n.globals.xLabelFormatter=function(a){if(T.isNumber(a)){if(!n.config.xaxis.convertedCatToNumeric&&n.config.xaxis.type==="numeric"){if(T.isNumber(n.config.xaxis.decimalsInFloat))return a.toFixed(n.config.xaxis.decimalsInFloat);var l=n.globals.maxX-n.globals.minX;return l>0&&l<100?a.toFixed(1):a.toFixed(0)}return n.globals.isBarHorizontal&&n.globals.maxY-n.globals.minYArr<4?a.toFixed(1):a.toFixed(0)}return a},typeof n.config.tooltip.x.formatter=="function"?n.globals.ttKeyFormatter=n.config.tooltip.x.formatter:n.globals.ttKeyFormatter=n.globals.xLabelFormatter,typeof n.config.xaxis.tooltip.formatter=="function"&&(n.globals.xaxisTooltipFormatter=n.config.xaxis.tooltip.formatter),(Array.isArray(n.config.tooltip.y)||n.config.tooltip.y.formatter!==void 0)&&(n.globals.ttVal=n.config.tooltip.y),n.config.tooltip.z.formatter!==void 0&&(n.globals.ttZFormatter=n.config.tooltip.z.formatter),n.config.legend.formatter!==void 0&&(n.globals.legendFormatter=n.config.legend.formatter),n.config.yaxis.forEach(function(a,l){a.labels.formatter!==void 0?n.globals.yLabelFormatters[l]=a.labels.formatter:n.globals.yLabelFormatters[l]=function(u){return n.globals.xyCharts?Array.isArray(u)?u.map(function(p){return r.defaultYFormatter(p,a,l)}):r.defaultYFormatter(u,a,l):u}}),n.globals}},{key:"heatmapLabelFormatters",value:function(){var r=this.w;if(r.config.chart.type==="heatmap"){r.globals.yAxisScale[0].result=r.globals.seriesNames.slice();var n=r.globals.seriesNames.reduce(function(a,l){return a.length>l.length?a:l},0);r.globals.yAxisScale[0].niceMax=n,r.globals.yAxisScale[0].niceMin=n}}}]),J}(),Ke=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"getLabel",value:function(r,n,a,l){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",d=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],b=this.w,w=r[l]===void 0?"":r[l],k=w,C=b.globals.xLabelFormatter,E=b.config.xaxis.labels.formatter,F=!1,H=new at(this.ctx),W=w;d&&(k=H.xLabelFormat(C,w,W,{i:l,dateFormatter:new ne(this.ctx).formatDate,w:b}),E!==void 0&&(k=E(w,r[l],{i:l,dateFormatter:new ne(this.ctx).formatDate,w:b})));var U=function(_){var D=null;return n.forEach(function(R){R.unit==="month"?D="year":R.unit==="day"?D="month":R.unit==="hour"?D="day":R.unit==="minute"&&(D="hour")}),D===_};n.length>0?(F=U(n[l].unit),a=n[l].position,k=n[l].value):b.config.xaxis.type==="datetime"&&E===void 0&&(k=""),k===void 0&&(k=""),k=Array.isArray(k)?k:k.toString();var Z=new j(this.ctx),ie={};ie=b.globals.rotateXLabels&&d?Z.getTextRects(k,parseInt(p,10),null,"rotate(".concat(b.config.xaxis.labels.rotate," 0 0)"),!1):Z.getTextRects(k,parseInt(p,10));var se=!b.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(k)&&(k.indexOf("NaN")===0||k.toLowerCase().indexOf("invalid")===0||k.toLowerCase().indexOf("infinity")>=0||u.indexOf(k)>=0&&se)&&(k=""),{x:a,text:k,textRect:ie,isBold:F}}},{key:"checkLabelBasedOnTickamount",value:function(r,n,a){var l=this.w,u=l.config.xaxis.tickAmount;return u==="dataPoints"&&(u=Math.round(l.globals.gridWidth/120)),u>a||r%Math.round(a/(u+1))==0||(n.text=""),n}},{key:"checkForOverflowingLabels",value:function(r,n,a,l,u){var p=this.w;if(r===0&&p.globals.skipFirstTimelinelabel&&(n.text=""),r===a-1&&p.globals.skipLastTimelinelabel&&(n.text=""),p.config.xaxis.labels.hideOverlappingLabels&&l.length>0){var d=u[u.length-1];n.x<d.textRect.width/(p.globals.rotateXLabels?Math.abs(p.config.xaxis.labels.rotate)/12:1.01)+d.x&&(n.text="")}return n}},{key:"checkForReversedLabels",value:function(r,n){var a=this.w;return a.config.yaxis[r]&&a.config.yaxis[r].reversed&&n.reverse(),n}},{key:"isYAxisHidden",value:function(r){var n=this.w,a=new oe(this.ctx);return!n.config.yaxis[r].show||!n.config.yaxis[r].showForNullSeries&&a.isSeriesNull(r)&&n.globals.collapsedSeriesIndices.indexOf(r)===-1}},{key:"getYAxisForeColor",value:function(r,n){var a=this.w;return Array.isArray(r)&&a.globals.yAxisScale[n]&&this.ctx.theme.pushExtraColors(r,a.globals.yAxisScale[n].result.length,!1),r}},{key:"drawYAxisTicks",value:function(r,n,a,l,u,p,d){var b=this.w,w=new j(this.ctx),k=b.globals.translateY;if(l.show&&n>0){b.config.yaxis[u].opposite===!0&&(r+=l.width);for(var C=n;C>=0;C--){var E=k+n/10+b.config.yaxis[u].labels.offsetY-1;b.globals.isBarHorizontal&&(E=p*C),b.config.chart.type==="heatmap"&&(E+=p/2);var F=w.drawLine(r+a.offsetX-l.width+l.offsetX,E+l.offsetY,r+a.offsetX+l.offsetX,E+l.offsetY,l.color);d.add(F),k+=p}}}}]),J}(),dt=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"scaleSvgNode",value:function(r,n){var a=parseFloat(r.getAttributeNS(null,"width")),l=parseFloat(r.getAttributeNS(null,"height"));r.setAttributeNS(null,"width",a*n),r.setAttributeNS(null,"height",l*n),r.setAttributeNS(null,"viewBox","0 0 "+a+" "+l)}},{key:"fixSvgStringForIe11",value:function(r){if(!T.isIE11())return r.replace(/&nbsp;/g,"&#160;");var n=0,a=r.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,function(l){return++n===2?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':l});return a=(a=a.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(r){r==null&&(r=1);var n=this.w.globals.dom.Paper.svg();if(r!==1){var a=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(a,r),n=new XMLSerializer().serializeToString(a)}return this.fixSvgStringForIe11(n)}},{key:"cleanup",value:function(){var r=this.w,n=r.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),a=r.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),l=r.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(l,function(u){u.setAttribute("width",0)}),n&&n[0]&&(n[0].setAttribute("x",-500),n[0].setAttribute("x1",-500),n[0].setAttribute("x2",-500)),a&&a[0]&&(a[0].setAttribute("y",-100),a[0].setAttribute("y1",-100),a[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var r=this.getSvgString(),n=new Blob([r],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(n)}},{key:"dataURI",value:function(r){var n=this;return new Promise(function(a){var l=n.w,u=r?r.scale||r.width/l.globals.svgWidth:1;n.cleanup();var p=document.createElement("canvas");p.width=l.globals.svgWidth*u,p.height=parseInt(l.globals.dom.elWrap.style.height,10)*u;var d=l.config.chart.background==="transparent"?"#fff":l.config.chart.background,b=p.getContext("2d");b.fillStyle=d,b.fillRect(0,0,p.width*u,p.height*u);var w=n.getSvgString(u);if(window.canvg&&T.isIE11()){var k=window.canvg.Canvg.fromString(b,w,{ignoreClear:!0,ignoreDimensions:!0});k.start();var C=p.msToBlob();k.stop(),a({blob:C})}else{var E="data:image/svg+xml,"+encodeURIComponent(w),F=new Image;F.crossOrigin="anonymous",F.onload=function(){if(b.drawImage(F,0,0),p.msToBlob){var H=p.msToBlob();a({blob:H})}else{var W=p.toDataURL("image/png");a({imgURI:W})}},F.src=E}})}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),this.w.config.chart.toolbar.export.svg.filename,".svg")}},{key:"exportToPng",value:function(){var r=this;this.dataURI().then(function(n){var a=n.imgURI,l=n.blob;l?navigator.msSaveOrOpenBlob(l,r.w.globals.chartID+".png"):r.triggerDownload(a,r.w.config.chart.toolbar.export.png.filename,".png")})}},{key:"exportToCSV",value:function(r){var n=this,a=r.series,l=r.fileName,u=r.columnDelimiter,p=u===void 0?",":u,d=r.lineDelimiter,b=d===void 0?`
  46. `:d,w=this.w;a||(a=w.config.series);var k=[],C=[],E="",F=new Ge(this.ctx),H=new Ke(this.ctx),W=function(U){var Z="";if(w.globals.axisCharts){if(w.config.xaxis.type==="category"||w.config.xaxis.convertedCatToNumeric)if(w.globals.isBarHorizontal){var ie=w.globals.yLabelFormatters[0],se=new ot(n.ctx).getActiveConfigSeriesIndex();Z=ie(w.globals.labels[U],{seriesIndex:se,dataPointIndex:U,w})}else Z=H.getLabel(w.globals.labels,w.globals.timescaleLabels,0,U).text;w.config.xaxis.type==="datetime"&&(w.config.xaxis.categories.length?Z=w.config.xaxis.categories[U]:w.config.labels.length&&(Z=w.config.labels[U]))}else Z=w.config.labels[U];return Array.isArray(Z)&&(Z=Z.join(" ")),T.isNumber(Z)?Z:Z.split(p).join("")};k.push(w.config.chart.toolbar.export.csv.headerCategory),w.config.chart.type==="boxPlot"?(k.push("minimum"),k.push("q1"),k.push("median"),k.push("q3"),k.push("maximum")):w.config.chart.type==="candlestick"?(k.push("open"),k.push("high"),k.push("low"),k.push("close")):w.config.chart.type==="rangeBar"?(k.push("minimum"),k.push("maximum")):a.map(function(U,Z){var ie=U.name?U.name:"series-".concat(Z);w.globals.axisCharts&&k.push(ie.split(p).join("")?ie.split(p).join(""):"series-".concat(Z))}),w.globals.axisCharts||(k.push(w.config.chart.toolbar.export.csv.headerValue),C.push(k.join(p))),a.map(function(U,Z){w.globals.axisCharts?function(ie,se){if(k.length&&se===0&&C.push(k.join(p)),ie.data&&ie.data.length)for(var _=0;_<ie.data.length;_++){k=[];var D=W(_);if(D||(F.isFormatXY()?D=a[se].data[_].x:F.isFormat2DArray()&&(D=a[se].data[_]?a[se].data[_][0]:"")),se===0){k.push((Q=D,w.config.xaxis.type==="datetime"&&String(Q).length>=10?w.config.chart.toolbar.export.csv.dateFormatter(D):T.isNumber(D)?D:D.split(p).join("")));for(var R=0;R<w.globals.series.length;R++)F.isFormatXY()?k.push(a[R].data[_].y):k.push(w.globals.series[R][_])}(w.config.chart.type==="candlestick"||ie.type&&ie.type==="candlestick")&&(k.pop(),k.push(w.globals.seriesCandleO[se][_]),k.push(w.globals.seriesCandleH[se][_]),k.push(w.globals.seriesCandleL[se][_]),k.push(w.globals.seriesCandleC[se][_])),(w.config.chart.type==="boxPlot"||ie.type&&ie.type==="boxPlot")&&(k.pop(),k.push(w.globals.seriesCandleO[se][_]),k.push(w.globals.seriesCandleH[se][_]),k.push(w.globals.seriesCandleM[se][_]),k.push(w.globals.seriesCandleL[se][_]),k.push(w.globals.seriesCandleC[se][_])),w.config.chart.type==="rangeBar"&&(k.pop(),k.push(w.globals.seriesRangeStart[se][_]),k.push(w.globals.seriesRangeEnd[se][_])),k.length&&C.push(k.join(p))}var Q}(U,Z):((k=[]).push(w.globals.labels[Z].split(p).join("")),k.push(w.globals.series[Z]),C.push(k.join(p)))}),E+=C.join(b),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+E),l||w.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(r,n,a){var l=document.createElement("a");l.href=r,l.download=(n||this.w.globals.chartID)+a,document.body.appendChild(l),l.click(),document.body.removeChild(l)}}]),J}(),ue=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w;var n=this.w;this.axesUtils=new Ke(r),this.xaxisLabels=n.globals.labels.slice(),n.globals.timescaleLabels.length>0&&!n.globals.isBarHorizontal&&(this.xaxisLabels=n.globals.timescaleLabels.slice()),n.config.xaxis.overwriteCategories&&(this.xaxisLabels=n.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],n.config.xaxis.position==="top"?this.offY=0:this.offY=n.globals.gridHeight+1,this.offY=this.offY+n.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=n.config.chart.type==="bar"&&n.config.plotOptions.bar.horizontal,this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xaxisBorderWidth=n.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=n.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=n.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=n.config.xaxis.axisBorder.height,this.yaxis=n.config.yaxis[0]}return y(J,[{key:"drawXaxis",value:function(){var r=this.w,n=new j(this.ctx),a=n.group({class:"apexcharts-xaxis",transform:"translate(".concat(r.config.xaxis.offsetX,", ").concat(r.config.xaxis.offsetY,")")}),l=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(r.globals.translateXAxisX,", ").concat(r.globals.translateXAxisY,")")});a.add(l);for(var u=[],p=0;p<this.xaxisLabels.length;p++)u.push(this.xaxisLabels[p]);if(this.drawXAxisLabelAndGroup(!0,n,l,u,r.globals.isXNumeric,function(H,W){return W}),r.globals.hasGroups){var d=r.globals.groups;u=[];for(var b=0;b<d.length;b++)u.push(d[b].title);var w={};r.config.xaxis.group.style&&(w.xaxisFontSize=r.config.xaxis.group.style.fontSize,w.xaxisFontFamily=r.config.xaxis.group.style.fontFamily,w.xaxisForeColors=r.config.xaxis.group.style.colors,w.fontWeight=r.config.xaxis.group.style.fontWeight,w.cssClass=r.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,n,l,u,!1,function(H,W){return d[H].cols*W},w)}if(r.config.xaxis.title.text!==void 0){var k=n.group({class:"apexcharts-xaxis-title"}),C=n.drawText({x:r.globals.gridWidth/2+r.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+r.globals.xAxisLabelsHeight+r.config.xaxis.title.offsetY,text:r.config.xaxis.title.text,textAnchor:"middle",fontSize:r.config.xaxis.title.style.fontSize,fontFamily:r.config.xaxis.title.style.fontFamily,fontWeight:r.config.xaxis.title.style.fontWeight,foreColor:r.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+r.config.xaxis.title.style.cssClass});k.add(C),a.add(k)}if(r.config.xaxis.axisBorder.show){var E=r.globals.barPadForNumericAxis,F=n.drawLine(r.globals.padHorizontal+r.config.xaxis.axisBorder.offsetX-E,this.offY,this.xaxisBorderWidth+E,this.offY,r.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);a.add(F)}return a}},{key:"drawXAxisLabelAndGroup",value:function(r,n,a,l,u,p){var d,b=this,w=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{},k=[],C=[],E=this.w,F=w.xaxisFontSize||this.xaxisFontSize,H=w.xaxisFontFamily||this.xaxisFontFamily,W=w.xaxisForeColors||this.xaxisForeColors,U=w.fontWeight||E.config.xaxis.labels.style.fontWeight,Z=w.cssClass||E.config.xaxis.labels.style.cssClass,ie=E.globals.padHorizontal,se=l.length,_=E.config.xaxis.type==="category"?E.globals.dataPoints:se;if(u){var D=_>1?_-1:_;d=E.globals.gridWidth/D,ie=ie+p(0,d)/2+E.config.xaxis.labels.offsetX}else d=E.globals.gridWidth/_,ie=ie+p(0,d)+E.config.xaxis.labels.offsetX;for(var R=function(be){var Re=ie-p(be,d)/2+E.config.xaxis.labels.offsetX;be===0&&se===1&&d/2===ie&&_===1&&(Re=E.globals.gridWidth/2);var _e=b.axesUtils.getLabel(l,E.globals.timescaleLabels,Re,be,k,F,r),Qe=28;if(E.globals.rotateXLabels&&r&&(Qe=22),r||(Qe=Qe+parseFloat(F)+(E.globals.xAxisLabelsHeight-E.globals.xAxisGroupLabelsHeight)+(E.globals.rotateXLabels?10:0)),_e=E.config.xaxis.tickAmount!==void 0&&E.config.xaxis.tickAmount!=="dataPoints"&&E.config.xaxis.type!=="datetime"?b.axesUtils.checkLabelBasedOnTickamount(be,_e,se):b.axesUtils.checkForOverflowingLabels(be,_e,se,k,C),r&&_e.text&&E.globals.xaxisLabelsCount++,E.config.xaxis.labels.show){var Ie=n.drawText({x:_e.x,y:b.offY+E.config.xaxis.labels.offsetY+Qe-(E.config.xaxis.position==="top"?E.globals.xAxisHeight+E.config.xaxis.axisTicks.height-2:0),text:_e.text,textAnchor:"middle",fontWeight:_e.isBold?600:U,fontSize:F,fontFamily:H,foreColor:Array.isArray(W)?r&&E.config.xaxis.convertedCatToNumeric?W[E.globals.minX+be-1]:W[be]:W,isPlainText:!1,cssClass:(r?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+Z});if(a.add(Ie),r){var lt=document.createElementNS(E.globals.SVGNS,"title");lt.textContent=Array.isArray(_e.text)?_e.text.join(" "):_e.text,Ie.node.appendChild(lt),_e.text!==""&&(k.push(_e.text),C.push(_e))}}be<se-1&&(ie+=p(be+1,d))},Q=0;Q<=se-1;Q++)R(Q)}},{key:"drawXaxisInversed",value:function(r){var n,a,l=this,u=this.w,p=new j(this.ctx),d=u.config.yaxis[0].opposite?u.globals.translateYAxisX[r]:0,b=p.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:r}),w=p.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+d+", 0)"});b.add(w);var k=[];if(u.config.yaxis[r].show)for(var C=0;C<this.xaxisLabels.length;C++)k.push(this.xaxisLabels[C]);n=u.globals.gridHeight/k.length,a=-n/2.2;var E=u.globals.yLabelFormatters[0],F=u.config.yaxis[0].labels;if(F.show)for(var H=function(D){var R=k[D]===void 0?"":k[D];R=E(R,{seriesIndex:r,dataPointIndex:D,w:u});var Q=l.axesUtils.getYAxisForeColor(F.style.colors,r),be=0;Array.isArray(R)&&(be=R.length/2*parseInt(F.style.fontSize,10));var Re=p.drawText({x:F.offsetX-15,y:a+n+F.offsetY-be,text:R,textAnchor:l.yaxis.opposite?"start":"end",foreColor:Array.isArray(Q)?Q[D]:Q,fontSize:F.style.fontSize,fontFamily:F.style.fontFamily,fontWeight:F.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+F.style.cssClass,maxWidth:F.maxWidth});w.add(Re);var _e=document.createElementNS(u.globals.SVGNS,"title");if(_e.textContent=Array.isArray(R)?R.join(" "):R,Re.node.appendChild(_e),u.config.yaxis[r].labels.rotate!==0){var Qe=p.rotateAroundCenter(Re.node);Re.node.setAttribute("transform","rotate(".concat(u.config.yaxis[r].labels.rotate," 0 ").concat(Qe.y,")"))}a+=n},W=0;W<=k.length-1;W++)H(W);if(u.config.yaxis[0].title.text!==void 0){var U=p.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+d+", 0)"}),Z=p.drawText({x:0,y:u.globals.gridHeight/2,text:u.config.yaxis[0].title.text,textAnchor:"middle",foreColor:u.config.yaxis[0].title.style.color,fontSize:u.config.yaxis[0].title.style.fontSize,fontWeight:u.config.yaxis[0].title.style.fontWeight,fontFamily:u.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+u.config.yaxis[0].title.style.cssClass});U.add(Z),b.add(U)}var ie=0;this.isCategoryBarHorizontal&&u.config.yaxis[0].opposite&&(ie=u.globals.gridWidth);var se=u.config.xaxis.axisBorder;if(se.show){var _=p.drawLine(u.globals.padHorizontal+se.offsetX+ie,1+se.offsetY,u.globals.padHorizontal+se.offsetX+ie,u.globals.gridHeight+se.offsetY,se.color,0);b.add(_)}return u.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(ie,k.length,u.config.yaxis[0].axisBorder,u.config.yaxis[0].axisTicks,0,n,b),b}},{key:"drawXaxisTicks",value:function(r,n,a){var l=this.w,u=r;if(!(r<0||r-2>l.globals.gridWidth)){var p=this.offY+l.config.xaxis.axisTicks.offsetY;if(n=n+p+l.config.xaxis.axisTicks.height,l.config.xaxis.position==="top"&&(n=p-l.config.xaxis.axisTicks.height),l.config.xaxis.axisTicks.show){var d=new j(this.ctx).drawLine(r+l.config.xaxis.axisTicks.offsetX,p+l.config.xaxis.offsetY,u+l.config.xaxis.axisTicks.offsetX,n+l.config.xaxis.offsetY,l.config.xaxis.axisTicks.color);a.add(d),d.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var r=this.w,n=[],a=this.xaxisLabels.length,l=r.globals.padHorizontal;if(r.globals.timescaleLabels.length>0)for(var u=0;u<a;u++)l=this.xaxisLabels[u].position,n.push(l);else for(var p=a,d=0;d<p;d++){var b=p;r.globals.isXNumeric&&r.config.chart.type!=="bar"&&(b-=1),l+=r.globals.gridWidth/b,n.push(l)}return n}},{key:"xAxisLabelCorrections",value:function(){var r=this.w,n=new j(this.ctx),a=r.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),l=r.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),u=r.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),p=r.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(r.globals.rotateXLabels||r.config.xaxis.labels.rotateAlways)for(var d=0;d<l.length;d++){var b=n.rotateAroundCenter(l[d]);b.y=b.y-1,b.x=b.x+1,l[d].setAttribute("transform","rotate(".concat(r.config.xaxis.labels.rotate," ").concat(b.x," ").concat(b.y,")")),l[d].setAttribute("text-anchor","end"),a.setAttribute("transform","translate(0, ".concat(-10,")"));var w=l[d].childNodes;r.config.xaxis.labels.trim&&Array.prototype.forEach.call(w,function(F){n.placeTextWithEllipsis(F,F.textContent,r.globals.xAxisLabelsHeight-(r.config.legend.position==="bottom"?20:10))})}else(function(){for(var F=r.globals.gridWidth/(r.globals.labels.length+1),H=0;H<l.length;H++){var W=l[H].childNodes;r.config.xaxis.labels.trim&&r.config.xaxis.type!=="datetime"&&Array.prototype.forEach.call(W,function(U){n.placeTextWithEllipsis(U,U.textContent,F)})}})();if(u.length>0){var k=u[u.length-1].getBBox(),C=u[0].getBBox();k.x<-20&&u[u.length-1].parentNode.removeChild(u[u.length-1]),C.x+C.width>r.globals.gridWidth&&!r.globals.isBarHorizontal&&u[0].parentNode.removeChild(u[0]);for(var E=0;E<p.length;E++)n.placeTextWithEllipsis(p[E],p[E].textContent,r.config.yaxis[0].labels.maxWidth-(r.config.yaxis[0].title.text?2*parseFloat(r.config.yaxis[0].title.style.fontSize):0)-15)}}}]),J}(),ye=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w;var n=this.w;this.xaxisLabels=n.globals.labels.slice(),this.axesUtils=new Ke(r),this.isRangeBar=n.globals.seriesRangeBar.length,n.globals.timescaleLabels.length>0&&(this.xaxisLabels=n.globals.timescaleLabels.slice())}return y(J,[{key:"drawGridArea",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=this.w,a=new j(this.ctx);r===null&&(r=a.group({class:"apexcharts-grid"}));var l=a.drawLine(n.globals.padHorizontal,1,n.globals.padHorizontal,n.globals.gridHeight,"transparent"),u=a.drawLine(n.globals.padHorizontal,n.globals.gridHeight,n.globals.gridWidth,n.globals.gridHeight,"transparent");return r.add(u),r.add(l),r}},{key:"drawGrid",value:function(){var r=null;return this.w.globals.axisCharts&&(r=this.renderGrid(),this.drawGridArea(r.el)),r}},{key:"createGridMask",value:function(){var r=this.w,n=r.globals,a=new j(this.ctx),l=Array.isArray(r.config.stroke.width)?0:r.config.stroke.width;if(Array.isArray(r.config.stroke.width)){var u=0;r.config.stroke.width.forEach(function(C){u=Math.max(u,C)}),l=u}n.dom.elGridRectMask=document.createElementNS(n.SVGNS,"clipPath"),n.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(n.cuid)),n.dom.elGridRectMarkerMask=document.createElementNS(n.SVGNS,"clipPath"),n.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(n.cuid)),n.dom.elForecastMask=document.createElementNS(n.SVGNS,"clipPath"),n.dom.elForecastMask.setAttribute("id","forecastMask".concat(n.cuid)),n.dom.elNonForecastMask=document.createElementNS(n.SVGNS,"clipPath"),n.dom.elNonForecastMask.setAttribute("id","nonForecastMask".concat(n.cuid));var p=r.config.chart.type,d=0,b=0;(p==="bar"||p==="rangeBar"||p==="candlestick"||p==="boxPlot"||r.globals.comboBarCount>0)&&r.globals.isXNumeric&&!r.globals.isBarHorizontal&&(d=r.config.grid.padding.left,b=r.config.grid.padding.right,n.barPadForNumericAxis>d&&(d=n.barPadForNumericAxis,b=n.barPadForNumericAxis)),n.dom.elGridRect=a.drawRect(-l/2-d-2,-l/2,n.gridWidth+l+b+d+4,n.gridHeight+l,0,"#fff");var w=r.globals.markers.largestSize+1;n.dom.elGridRectMarker=a.drawRect(2*-w,2*-w,n.gridWidth+4*w,n.gridHeight+4*w,0,"#fff"),n.dom.elGridRectMask.appendChild(n.dom.elGridRect.node),n.dom.elGridRectMarkerMask.appendChild(n.dom.elGridRectMarker.node);var k=n.dom.baseEl.querySelector("defs");k.appendChild(n.dom.elGridRectMask),k.appendChild(n.dom.elForecastMask),k.appendChild(n.dom.elNonForecastMask),k.appendChild(n.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(r){var n=r.i,a=r.x1,l=r.y1,u=r.x2,p=r.y2,d=r.xCount,b=r.parent,w=this.w;if(!(n===0&&w.globals.skipFirstTimelinelabel||n===d-1&&w.globals.skipLastTimelinelabel&&!w.config.xaxis.labels.formatter||w.config.chart.type==="radar")){w.config.grid.xaxis.lines.show&&this._drawGridLine({x1:a,y1:l,x2:u,y2:p,parent:b});var k=0;if(w.globals.hasGroups&&w.config.xaxis.tickPlacement==="between"){var C=w.globals.groups;if(C){for(var E=0,F=0;E<n&&F<C.length;F++)E+=C[F].cols;E===n&&(k=.6*w.globals.xAxisLabelsHeight)}}new ue(this.ctx).drawXaxisTicks(a,k,this.elg)}}},{key:"_drawGridLine",value:function(r){var n=r.x1,a=r.y1,l=r.x2,u=r.y2,p=r.parent,d=this.w,b=p.node.classList.contains("apexcharts-gridlines-horizontal"),w=d.config.grid.strokeDashArray,k=d.globals.barPadForNumericAxis,C=new j(this).drawLine(n-(b?k:0),a,l+(b?k:0),u,d.config.grid.borderColor,w);C.node.classList.add("apexcharts-gridline"),p.add(C)}},{key:"_drawGridBandRect",value:function(r){var n=r.c,a=r.x1,l=r.y1,u=r.x2,p=r.y2,d=r.type,b=this.w,w=new j(this.ctx),k=b.globals.barPadForNumericAxis;if(d!=="column"||b.config.xaxis.type!=="datetime"){var C=b.config.grid[d].colors[n],E=w.drawRect(a-(d==="row"?k:0),l,u+(d==="row"?2*k:0),p,0,C,b.config.grid[d].opacity);this.elg.add(E),E.attr("clip-path","url(#gridRectMask".concat(b.globals.cuid,")")),E.node.classList.add("apexcharts-grid-".concat(d))}}},{key:"_drawXYLines",value:function(r){var n=this,a=r.xCount,l=r.tickAmount,u=this.w;if(u.config.grid.xaxis.lines.show||u.config.xaxis.axisTicks.show){var p,d=u.globals.padHorizontal,b=u.globals.gridHeight;u.globals.timescaleLabels.length?function(H){for(var W=H.xC,U=H.x1,Z=H.y1,ie=H.x2,se=H.y2,_=0;_<W;_++)U=n.xaxisLabels[_].position,ie=n.xaxisLabels[_].position,n._drawGridLines({i:_,x1:U,y1:Z,x2:ie,y2:se,xCount:a,parent:n.elgridLinesV})}({xC:a,x1:d,y1:0,x2:p,y2:b}):(u.globals.isXNumeric&&(a=u.globals.xAxisScale.result.length),u.config.xaxis.convertedCatToNumeric&&(a=u.globals.xaxisLabelsCount),function(H){var W=H.xC,U=H.x1,Z=H.y1,ie=H.x2,se=H.y2;if(u.config.xaxis.tickAmount!==void 0&&u.config.xaxis.tickAmount!=="dataPoints"&&u.config.xaxis.tickPlacement==="on")u.globals.dom.baseEl.querySelectorAll(".apexcharts-text.apexcharts-xaxis-label tspan:not(:empty)").forEach(function(D,R){var Q=D.getBBox();n._drawGridLines({i:R,x1:Q.x+Q.width/2,y1:Z,x2:Q.x+Q.width/2,y2:se,xCount:a,parent:n.elgridLinesV})});else for(var _=0;_<W+(u.globals.isXNumeric?0:1);_++)_===0&&W===1&&u.globals.dataPoints===1&&(ie=U=u.globals.gridWidth/2),n._drawGridLines({i:_,x1:U,y1:Z,x2:ie,y2:se,xCount:a,parent:n.elgridLinesV}),ie=U+=u.globals.gridWidth/(u.globals.isXNumeric?W-1:W)}({xC:a,x1:d,y1:0,x2:p,y2:b}))}if(u.config.grid.yaxis.lines.show){var w=0,k=0,C=u.globals.gridWidth,E=l+1;this.isRangeBar&&(E=u.globals.labels.length);for(var F=0;F<E+(this.isRangeBar?1:0);F++)this._drawGridLine({x1:0,y1:w,x2:C,y2:k,parent:this.elgridLinesH}),k=w+=u.globals.gridHeight/(this.isRangeBar?E:l)}}},{key:"_drawInvertedXYLines",value:function(r){var n=r.xCount,a=this.w;if(a.config.grid.xaxis.lines.show||a.config.xaxis.axisTicks.show)for(var l,u=a.globals.padHorizontal,p=a.globals.gridHeight,d=0;d<n+1;d++)a.config.grid.xaxis.lines.show&&this._drawGridLine({x1:u,y1:0,x2:l,y2:p,parent:this.elgridLinesV}),new ue(this.ctx).drawXaxisTicks(u,0,this.elg),l=u=u+a.globals.gridWidth/n+.3;if(a.config.grid.yaxis.lines.show)for(var b=0,w=0,k=a.globals.gridWidth,C=0;C<a.globals.dataPoints+1;C++)this._drawGridLine({x1:0,y1:b,x2:k,y2:w,parent:this.elgridLinesH}),w=b+=a.globals.gridHeight/a.globals.dataPoints}},{key:"renderGrid",value:function(){var r=this.w,n=new j(this.ctx);this.elg=n.group({class:"apexcharts-grid"}),this.elgridLinesH=n.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=n.group({class:"apexcharts-gridlines-vertical"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),r.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide());for(var a,l=r.globals.yAxisScale.length?r.globals.yAxisScale[0].result.length-1:5,u=0;u<r.globals.series.length&&(r.globals.yAxisScale[u]!==void 0&&(l=r.globals.yAxisScale[u].result.length-1),!(l>2));u++);return!r.globals.isBarHorizontal||this.isRangeBar?(a=this.xaxisLabels.length,this.isRangeBar&&(l=r.globals.labels.length,r.config.xaxis.tickAmount&&r.config.xaxis.labels.formatter&&(a=r.config.xaxis.tickAmount)),this._drawXYLines({xCount:a,tickAmount:l})):(a=l,l=r.globals.xTickAmount,this._drawInvertedXYLines({xCount:a,tickAmount:l})),this.drawGridBands(a,l),{el:this.elg,xAxisTickWidth:r.globals.gridWidth/a}}},{key:"drawGridBands",value:function(r,n){var a=this.w;if(a.config.grid.row.colors!==void 0&&a.config.grid.row.colors.length>0)for(var l=0,u=a.globals.gridHeight/n,p=a.globals.gridWidth,d=0,b=0;d<n;d++,b++)b>=a.config.grid.row.colors.length&&(b=0),this._drawGridBandRect({c:b,x1:0,y1:l,x2:p,y2:u,type:"row"}),l+=a.globals.gridHeight/n;if(a.config.grid.column.colors!==void 0&&a.config.grid.column.colors.length>0)for(var w=a.globals.isBarHorizontal||a.config.xaxis.type!=="category"&&!a.config.xaxis.convertedCatToNumeric?r:r-1,k=a.globals.padHorizontal,C=a.globals.padHorizontal+a.globals.gridWidth/w,E=a.globals.gridHeight,F=0,H=0;F<r;F++,H++)H>=a.config.grid.column.colors.length&&(H=0),this._drawGridBandRect({c:H,x1:k,y1:0,x2:C,y2:E,type:"column"}),k+=a.globals.gridWidth/w}}]),J}(),Oe=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"niceScale",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4?arguments[4]:void 0,p=this.w,d=Math.abs(n-r);if((a=this._adjustTicksForSmallRange(a,l,d))==="dataPoints"&&(a=p.globals.dataPoints-1),r===Number.MIN_VALUE&&n===0||!T.isNumber(r)&&!T.isNumber(n)||r===Number.MIN_VALUE&&n===-Number.MAX_VALUE){r=0,n=a;var b=this.linearScale(r,n,a);return b}r>n?(console.warn("axis.min cannot be greater than axis.max"),n=r+.1):r===n&&(r=r===0?0:r-.5,n=n===0?2:n+.5);var w=[];d<1&&u&&(p.config.chart.type==="candlestick"||p.config.series[l].type==="candlestick"||p.config.chart.type==="boxPlot"||p.config.series[l].type==="boxPlot"||p.globals.isRangeData)&&(n*=1.01);var k=a+1;k<2?k=2:k>2&&(k-=2);var C=d/k,E=Math.floor(T.log10(C)),F=Math.pow(10,E),H=Math.round(C/F);H<1&&(H=1);var W=H*F,U=W*Math.floor(r/W),Z=W*Math.ceil(n/W),ie=U;if(u&&d>2){for(;w.push(ie),!((ie+=W)>Z););return{result:w,niceMin:w[0],niceMax:w[w.length-1]}}var se=r;(w=[]).push(se);for(var _=Math.abs(n-r)/a,D=0;D<=a;D++)se+=_,w.push(se);return w[w.length-2]>=n&&w.pop(),{result:w,niceMin:w[0],niceMax:w[w.length-1]}}},{key:"linearScale",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,l=arguments.length>3?arguments[3]:void 0,u=Math.abs(n-r);(a=this._adjustTicksForSmallRange(a,l,u))==="dataPoints"&&(a=this.w.globals.dataPoints-1);var p=u/a;a===Number.MAX_VALUE&&(a=10,p=1);for(var d=[],b=r;a>=0;)d.push(b),b+=p,a-=1;return{result:d,niceMin:d[0],niceMax:d[d.length-1]}}},{key:"logarithmicScaleNice",value:function(r,n,a){n<=0&&(n=Math.max(r,a)),r<=0&&(r=Math.min(n,a));for(var l=[],u=Math.ceil(Math.log(n)/Math.log(a)+1),p=Math.floor(Math.log(r)/Math.log(a));p<u;p++)l.push(Math.pow(a,p));return{result:l,niceMin:l[0],niceMax:l[l.length-1]}}},{key:"logarithmicScale",value:function(r,n,a){n<=0&&(n=Math.max(r,a)),r<=0&&(r=Math.min(n,a));for(var l=[],u=Math.log(n)/Math.log(a),p=Math.log(r)/Math.log(a),d=u-p,b=Math.round(d),w=d/b,k=0,C=p;k<b;k++,C+=w)l.push(Math.pow(a,C));return l.push(Math.pow(a,u)),{result:l,niceMin:r,niceMax:n}}},{key:"_adjustTicksForSmallRange",value:function(r,n,a){var l=r;if(n!==void 0&&this.w.config.yaxis[n].labels.formatter&&this.w.config.yaxis[n].tickAmount===void 0){var u=this.w.config.yaxis[n].labels.formatter(1);T.isNumber(Number(u))&&!T.isFloat(u)&&(l=Math.ceil(a))}return l<r?l:r}},{key:"setYScaleForIndex",value:function(r,n,a){var l=this.w.globals,u=this.w.config,p=l.isBarHorizontal?u.xaxis:u.yaxis[r];l.yAxisScale[r]===void 0&&(l.yAxisScale[r]=[]);var d=Math.abs(a-n);if(p.logarithmic&&d<=5&&(l.invalidLogScale=!0),p.logarithmic&&d>5)l.allSeriesCollapsed=!1,l.yAxisScale[r]=this.logarithmicScale(n,a,p.logBase),l.yAxisScale[r]=p.forceNiceScale?this.logarithmicScaleNice(n,a,p.logBase):this.logarithmicScale(n,a,p.logBase);else if(a!==-Number.MAX_VALUE&&T.isNumber(a))if(l.allSeriesCollapsed=!1,p.min===void 0&&p.max===void 0||p.forceNiceScale){var b=u.yaxis[r].max===void 0&&u.yaxis[r].min===void 0||u.yaxis[r].forceNiceScale;l.yAxisScale[r]=this.niceScale(n,a,p.tickAmount?p.tickAmount:d<5&&d>1?d+1:5,r,b)}else l.yAxisScale[r]=this.linearScale(n,a,p.tickAmount,r);else l.yAxisScale[r]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(r,n){var a=this.w,l=a.globals,u=a.config.xaxis,p=Math.abs(n-r);return n!==-Number.MAX_VALUE&&T.isNumber(n)?l.xAxisScale=this.linearScale(r,n,u.tickAmount?u.tickAmount:p<5&&p>1?p+1:5,0):l.xAxisScale=this.linearScale(0,5,5),l.xAxisScale}},{key:"setMultipleYScales",value:function(){var r=this,n=this.w.globals,a=this.w.config,l=n.minYArr.concat([]),u=n.maxYArr.concat([]),p=[];a.yaxis.forEach(function(d,b){var w=b;a.series.forEach(function(E,F){E.name===d.seriesName&&(w=F,b!==F?p.push({index:F,similarIndex:b,alreadyExists:!0}):p.push({index:F}))});var k=l[w],C=u[w];r.setYScaleForIndex(b,k,C)}),this.sameScaleInMultipleAxes(l,u,p)}},{key:"sameScaleInMultipleAxes",value:function(r,n,a){var l=this,u=this.w.config,p=this.w.globals,d=[];a.forEach(function(W){W.alreadyExists&&(d[W.index]===void 0&&(d[W.index]=[]),d[W.index].push(W.index),d[W.index].push(W.similarIndex))}),p.yAxisSameScaleIndices=d,d.forEach(function(W,U){d.forEach(function(Z,ie){var se,_;U!==ie&&(se=W,_=Z,se.filter(function(D){return _.indexOf(D)!==-1})).length>0&&(d[U]=d[U].concat(d[ie]))})});var b=d.map(function(W){return W.filter(function(U,Z){return W.indexOf(U)===Z})}).map(function(W){return W.sort()});d=d.filter(function(W){return!!W});var w=b.slice(),k=w.map(function(W){return JSON.stringify(W)});w=w.filter(function(W,U){return k.indexOf(JSON.stringify(W))===U});var C=[],E=[];r.forEach(function(W,U){w.forEach(function(Z,ie){Z.indexOf(U)>-1&&(C[ie]===void 0&&(C[ie]=[],E[ie]=[]),C[ie].push({key:U,value:W}),E[ie].push({key:U,value:n[U]}))})});var F=Array.apply(null,Array(w.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),H=Array.apply(null,Array(w.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);C.forEach(function(W,U){W.forEach(function(Z,ie){F[U]=Math.min(Z.value,F[U])})}),E.forEach(function(W,U){W.forEach(function(Z,ie){H[U]=Math.max(Z.value,H[U])})}),r.forEach(function(W,U){E.forEach(function(Z,ie){var se=F[ie],_=H[ie];u.chart.stacked&&(_=0,Z.forEach(function(D,R){D.value!==-Number.MAX_VALUE&&(_+=D.value),se!==Number.MIN_VALUE&&(se+=C[ie][R].value)})),Z.forEach(function(D,R){Z[R].key===U&&(u.yaxis[U].min!==void 0&&(se=typeof u.yaxis[U].min=="function"?u.yaxis[U].min(p.minY):u.yaxis[U].min),u.yaxis[U].max!==void 0&&(_=typeof u.yaxis[U].max=="function"?u.yaxis[U].max(p.maxY):u.yaxis[U].max),l.setYScaleForIndex(U,se,_))})})})}},{key:"autoScaleY",value:function(r,n,a){r||(r=this);var l=r.w;if(l.globals.isMultipleYAxis||l.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),n;var u=l.globals.seriesX[0],p=l.config.chart.stacked;return n.forEach(function(d,b){for(var w=0,k=0;k<u.length;k++)if(u[k]>=a.xaxis.min){w=k;break}var C,E,F=l.globals.minYArr[b],H=l.globals.maxYArr[b],W=l.globals.stackedSeriesTotals;l.globals.series.forEach(function(U,Z){var ie=U[w];p?(ie=W[w],C=E=ie,W.forEach(function(se,_){u[_]<=a.xaxis.max&&u[_]>=a.xaxis.min&&(se>E&&se!==null&&(E=se),U[_]<C&&U[_]!==null&&(C=U[_]))})):(C=E=ie,U.forEach(function(se,_){if(u[_]<=a.xaxis.max&&u[_]>=a.xaxis.min){var D=se,R=se;l.globals.series.forEach(function(Q,be){se!==null&&(D=Math.min(Q[_],D),R=Math.max(Q[_],R))}),R>E&&R!==null&&(E=R),D<C&&D!==null&&(C=D)}})),C===void 0&&E===void 0&&(C=F,E=H),E*=E<0?.9:1.1,(C*=C<0?1.1:.9)===0&&E===0&&(C=-1,E=1),E<0&&E<H&&(E=H),C<0&&C>F&&(C=F),n.length>1?(n[Z].min=d.min===void 0?C:d.min,n[Z].max=d.max===void 0?E:d.max):(n[0].min=d.min===void 0?C:d.min,n[0].max=d.max===void 0?E:d.max)})}),n}}]),J}(),Xe=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.scales=new Oe(r)}return y(J,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,u=this.w.config,p=this.w.globals,d=-Number.MAX_VALUE,b=Number.MIN_VALUE;l===null&&(l=r+1);var w=p.series,k=w,C=w;u.chart.type==="candlestick"?(k=p.seriesCandleL,C=p.seriesCandleH):u.chart.type==="boxPlot"?(k=p.seriesCandleO,C=p.seriesCandleC):p.isRangeData&&(k=p.seriesRangeStart,C=p.seriesRangeEnd);for(var E=r;E<l;E++){p.dataPoints=Math.max(p.dataPoints,w[E].length),p.categoryLabels.length&&(p.dataPoints=p.categoryLabels.filter(function(W){return W!==void 0}).length);for(var F=0;F<p.series[E].length;F++){var H=w[E][F];H!==null&&T.isNumber(H)?(C[E][F]!==void 0&&(d=Math.max(d,C[E][F]),n=Math.min(n,C[E][F])),k[E][F]!==void 0&&(n=Math.min(n,k[E][F]),a=Math.max(a,k[E][F])),this.w.config.chart.type!=="candlestick"&&this.w.config.chart.type!=="boxPlot"||(p.seriesCandleC[E][F]!==void 0&&(d=Math.max(d,p.seriesCandleO[E][F]),d=Math.max(d,p.seriesCandleH[E][F]),d=Math.max(d,p.seriesCandleL[E][F]),d=Math.max(d,p.seriesCandleC[E][F]),this.w.config.chart.type==="boxPlot"&&(d=Math.max(d,p.seriesCandleM[E][F]))),!u.series[E].type||u.series[E].type==="candlestick"&&u.series[E].type==="boxPlot"||(d=Math.max(d,p.series[E][F]),n=Math.min(n,p.series[E][F])),a=d),p.seriesGoals[E]&&p.seriesGoals[E][F]&&Array.isArray(p.seriesGoals[E][F])&&p.seriesGoals[E][F].forEach(function(W){b!==Number.MIN_VALUE&&(b=Math.min(b,W.value),n=b),d=Math.max(d,W.value),a=d}),T.isFloat(H)&&(H=T.noExponents(H),p.yValueDecimal=Math.max(p.yValueDecimal,H.toString().split(".")[1].length)),b>k[E][F]&&k[E][F]<0&&(b=k[E][F])):p.hasNullValues=!0}}return u.chart.type==="rangeBar"&&p.seriesRangeStart.length&&p.isBarHorizontal&&(b=n),u.chart.type==="bar"&&(b<0&&d<0&&(d=0),b===Number.MIN_VALUE&&(b=0)),{minY:b,maxY:d,lowestY:n,highestY:a}}},{key:"setYRange",value:function(){var r=this.w.globals,n=this.w.config;r.maxY=-Number.MAX_VALUE,r.minY=Number.MIN_VALUE;var a=Number.MAX_VALUE;if(r.isMultipleYAxis)for(var l=0;l<r.series.length;l++){var u=this.getMinYMaxY(l,a,null,l+1);r.minYArr.push(u.minY),r.maxYArr.push(u.maxY),a=u.lowestY}var p=this.getMinYMaxY(0,a,null,r.series.length);if(r.minY=p.minY,r.maxY=p.maxY,a=p.lowestY,n.chart.stacked&&this._setStackedMinMax(),(n.chart.type==="line"||n.chart.type==="area"||n.chart.type==="candlestick"||n.chart.type==="boxPlot"||n.chart.type==="rangeBar"&&!r.isBarHorizontal)&&r.minY===Number.MIN_VALUE&&a!==-Number.MAX_VALUE&&a!==r.maxY){var d=r.maxY-a;(a>=0&&a<=10||n.yaxis[0].min!==void 0||n.yaxis[0].max!==void 0)&&(d=0),r.minY=a-5*d/100,a>0&&r.minY<0&&(r.minY=0),r.maxY=r.maxY+5*d/100}return n.yaxis.forEach(function(b,w){b.max!==void 0&&(typeof b.max=="number"?r.maxYArr[w]=b.max:typeof b.max=="function"&&(r.maxYArr[w]=b.max(r.isMultipleYAxis?r.maxYArr[w]:r.maxY)),r.maxY=r.maxYArr[w]),b.min!==void 0&&(typeof b.min=="number"?r.minYArr[w]=b.min:typeof b.min=="function"&&(r.minYArr[w]=b.min(r.isMultipleYAxis?r.minYArr[w]===Number.MIN_VALUE?0:r.minYArr[w]:r.minY)),r.minY=r.minYArr[w])}),r.isBarHorizontal&&["min","max"].forEach(function(b){n.xaxis[b]!==void 0&&typeof n.xaxis[b]=="number"&&(b==="min"?r.minY=n.xaxis[b]:r.maxY=n.xaxis[b])}),r.isMultipleYAxis?(this.scales.setMultipleYScales(),r.minY=a,r.yAxisScale.forEach(function(b,w){r.minYArr[w]=b.niceMin,r.maxYArr[w]=b.niceMax})):(this.scales.setYScaleForIndex(0,r.minY,r.maxY),r.minY=r.yAxisScale[0].niceMin,r.maxY=r.yAxisScale[0].niceMax,r.minYArr[0]=r.yAxisScale[0].niceMin,r.maxYArr[0]=r.yAxisScale[0].niceMax),{minY:r.minY,maxY:r.maxY,minYArr:r.minYArr,maxYArr:r.maxYArr,yAxisScale:r.yAxisScale}}},{key:"setXRange",value:function(){var r=this.w.globals,n=this.w.config,a=n.xaxis.type==="numeric"||n.xaxis.type==="datetime"||n.xaxis.type==="category"&&!r.noLabelsProvided||r.noLabelsProvided||r.isXNumeric;if(r.isXNumeric&&function(){for(var d=0;d<r.series.length;d++)if(r.labels[d])for(var b=0;b<r.labels[d].length;b++)r.labels[d][b]!==null&&T.isNumber(r.labels[d][b])&&(r.maxX=Math.max(r.maxX,r.labels[d][b]),r.initialMaxX=Math.max(r.maxX,r.labels[d][b]),r.minX=Math.min(r.minX,r.labels[d][b]),r.initialMinX=Math.min(r.minX,r.labels[d][b]))}(),r.noLabelsProvided&&n.xaxis.categories.length===0&&(r.maxX=r.labels[r.labels.length-1],r.initialMaxX=r.labels[r.labels.length-1],r.minX=1,r.initialMinX=1),r.isXNumeric||r.noLabelsProvided||r.dataFormatXNumeric){var l;if(n.xaxis.tickAmount===void 0?(l=Math.round(r.svgWidth/150),n.xaxis.type==="numeric"&&r.dataPoints<30&&(l=r.dataPoints-1),l>r.dataPoints&&r.dataPoints!==0&&(l=r.dataPoints-1)):n.xaxis.tickAmount==="dataPoints"?(r.series.length>1&&(l=r.series[r.maxValsInArrayIndex].length-1),r.isXNumeric&&(l=r.maxX-r.minX-1)):l=n.xaxis.tickAmount,r.xTickAmount=l,n.xaxis.max!==void 0&&typeof n.xaxis.max=="number"&&(r.maxX=n.xaxis.max),n.xaxis.min!==void 0&&typeof n.xaxis.min=="number"&&(r.minX=n.xaxis.min),n.xaxis.range!==void 0&&(r.minX=r.maxX-n.xaxis.range),r.minX!==Number.MAX_VALUE&&r.maxX!==-Number.MAX_VALUE)if(n.xaxis.convertedCatToNumeric&&!r.dataFormatXNumeric){for(var u=[],p=r.minX-1;p<r.maxX;p++)u.push(p+1);r.xAxisScale={result:u,niceMin:u[0],niceMax:u[u.length-1]}}else r.xAxisScale=this.scales.setXScale(r.minX,r.maxX);else r.xAxisScale=this.scales.linearScale(1,l,l),r.noLabelsProvided&&r.labels.length>0&&(r.xAxisScale=this.scales.linearScale(1,r.labels.length,l-1),r.seriesX=r.labels.slice());a&&(r.labels=r.xAxisScale.result.slice())}return r.isBarHorizontal&&r.labels.length&&(r.xTickAmount=r.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:r.minX,maxX:r.maxX}}},{key:"setZRange",value:function(){var r=this.w.globals;if(r.isDataXYZ){for(var n=0;n<r.series.length;n++)if(r.seriesZ[n]!==void 0)for(var a=0;a<r.seriesZ[n].length;a++)r.seriesZ[n][a]!==null&&T.isNumber(r.seriesZ[n][a])&&(r.maxZ=Math.max(r.maxZ,r.seriesZ[n][a]),r.minZ=Math.min(r.minZ,r.seriesZ[n][a]))}}},{key:"_handleSingleDataPoint",value:function(){var r=this.w.globals,n=this.w.config;if(r.minX===r.maxX){var a=new ne(this.ctx);if(n.xaxis.type==="datetime"){var l=a.getDate(r.minX);n.xaxis.labels.datetimeUTC?l.setUTCDate(l.getUTCDate()-2):l.setDate(l.getDate()-2),r.minX=new Date(l).getTime();var u=a.getDate(r.maxX);n.xaxis.labels.datetimeUTC?u.setUTCDate(u.getUTCDate()+2):u.setDate(u.getDate()+2),r.maxX=new Date(u).getTime()}else(n.xaxis.type==="numeric"||n.xaxis.type==="category"&&!r.noLabelsProvided)&&(r.minX=r.minX-2,r.initialMinX=r.minX,r.maxX=r.maxX+2,r.initialMaxX=r.maxX)}}},{key:"_getMinXDiff",value:function(){var r=this.w.globals;r.isXNumeric&&r.seriesX.forEach(function(n,a){n.length===1&&n.push(r.seriesX[r.maxValsInArrayIndex][r.seriesX[r.maxValsInArrayIndex].length-1]);var l=n.slice();l.sort(function(u,p){return u-p}),l.forEach(function(u,p){if(p>0){var d=u-l[p-1];d>0&&(r.minXDiff=Math.min(d,r.minXDiff))}}),r.dataPoints!==1&&r.minXDiff!==Number.MAX_VALUE||(r.minXDiff=.5)})}},{key:"_setStackedMinMax",value:function(){var r=this.w.globals,n=[],a=[];if(r.series.length)for(var l=0;l<r.series[r.maxValsInArrayIndex].length;l++)for(var u=0,p=0,d=0;d<r.series.length;d++)r.series[d][l]!==null&&T.isNumber(r.series[d][l])&&(r.series[d][l]>0?u=u+parseFloat(r.series[d][l])+1e-4:p+=parseFloat(r.series[d][l])),d===r.series.length-1&&(n.push(u),a.push(p));for(var b=0;b<n.length;b++)r.maxY=Math.max(r.maxY,n[b]),r.minY=Math.min(r.minY,a[b])}}]),J}(),Ye=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w;var n=this.w;this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.axisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal=n.config.chart.type==="bar"&&n.config.plotOptions.bar.horizontal,this.xAxisoffX=0,n.config.xaxis.position==="bottom"&&(this.xAxisoffX=n.globals.gridHeight),this.drawnLabels=[],this.axesUtils=new Ke(r)}return y(J,[{key:"drawYaxis",value:function(r){var n=this,a=this.w,l=new j(this.ctx),u=a.config.yaxis[r].labels.style,p=u.fontSize,d=u.fontFamily,b=u.fontWeight,w=l.group({class:"apexcharts-yaxis",rel:r,transform:"translate("+a.globals.translateYAxisX[r]+", 0)"});if(this.axesUtils.isYAxisHidden(r))return w;var k=l.group({class:"apexcharts-yaxis-texts-g"});w.add(k);var C=a.globals.yAxisScale[r].result.length-1,E=a.globals.gridHeight/C,F=a.globals.translateY,H=a.globals.yLabelFormatters[r],W=a.globals.yAxisScale[r].result.slice();W=this.axesUtils.checkForReversedLabels(r,W);var U="";if(a.config.yaxis[r].labels.show)for(var Z=function(Re){var _e=W[Re];_e=H(_e,Re,a);var Qe=a.config.yaxis[r].labels.padding;a.config.yaxis[r].opposite&&a.config.yaxis.length!==0&&(Qe*=-1);var Ie=n.axesUtils.getYAxisForeColor(u.colors,r),lt=l.drawText({x:Qe,y:F+C/10+a.config.yaxis[r].labels.offsetY+1,text:_e,textAnchor:a.config.yaxis[r].opposite?"start":"end",fontSize:p,fontFamily:d,fontWeight:b,maxWidth:a.config.yaxis[r].labels.maxWidth,foreColor:Array.isArray(Ie)?Ie[Re]:Ie,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+u.cssClass});Re===C&&(U=lt),k.add(lt);var wt=document.createElementNS(a.globals.SVGNS,"title");if(wt.textContent=Array.isArray(_e)?_e.join(" "):_e,lt.node.appendChild(wt),a.config.yaxis[r].labels.rotate!==0){var Xt=l.rotateAroundCenter(U.node),Et=l.rotateAroundCenter(lt.node);lt.node.setAttribute("transform","rotate(".concat(a.config.yaxis[r].labels.rotate," ").concat(Xt.x," ").concat(Et.y,")"))}F+=E},ie=C;ie>=0;ie--)Z(ie);if(a.config.yaxis[r].title.text!==void 0){var se=l.group({class:"apexcharts-yaxis-title"}),_=0;a.config.yaxis[r].opposite&&(_=a.globals.translateYAxisX[r]);var D=l.drawText({x:_,y:a.globals.gridHeight/2+a.globals.translateY+a.config.yaxis[r].title.offsetY,text:a.config.yaxis[r].title.text,textAnchor:"end",foreColor:a.config.yaxis[r].title.style.color,fontSize:a.config.yaxis[r].title.style.fontSize,fontWeight:a.config.yaxis[r].title.style.fontWeight,fontFamily:a.config.yaxis[r].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+a.config.yaxis[r].title.style.cssClass});se.add(D),w.add(se)}var R=a.config.yaxis[r].axisBorder,Q=31+R.offsetX;if(a.config.yaxis[r].opposite&&(Q=-31-R.offsetX),R.show){var be=l.drawLine(Q,a.globals.translateY+R.offsetY-2,Q,a.globals.gridHeight+a.globals.translateY+R.offsetY+2,R.color,0,R.width);w.add(be)}return a.config.yaxis[r].axisTicks.show&&this.axesUtils.drawYAxisTicks(Q,C,R,a.config.yaxis[r].axisTicks,r,E,w),w}},{key:"drawYaxisInversed",value:function(r){var n=this.w,a=new j(this.ctx),l=a.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),u=a.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(n.globals.translateXAxisX,", ").concat(n.globals.translateXAxisY,")")});l.add(u);var p=n.globals.yAxisScale[r].result.length-1,d=n.globals.gridWidth/p+.1,b=d+n.config.xaxis.labels.offsetX,w=n.globals.xLabelFormatter,k=n.globals.yAxisScale[r].result.slice(),C=n.globals.timescaleLabels;C.length>0&&(this.xaxisLabels=C.slice(),p=(k=C.slice()).length),k=this.axesUtils.checkForReversedLabels(r,k);var E=C.length;if(n.config.xaxis.labels.show)for(var F=E?0:p;E?F<E:F>=0;E?F++:F--){var H=k[F];H=w(H,F,n);var W=n.globals.gridWidth+n.globals.padHorizontal-(b-d+n.config.xaxis.labels.offsetX);if(C.length){var U=this.axesUtils.getLabel(k,C,W,F,this.drawnLabels,this.xaxisFontSize);W=U.x,H=U.text,this.drawnLabels.push(U.text),F===0&&n.globals.skipFirstTimelinelabel&&(H=""),F===k.length-1&&n.globals.skipLastTimelinelabel&&(H="")}var Z=a.drawText({x:W,y:this.xAxisoffX+n.config.xaxis.labels.offsetY+30-(n.config.xaxis.position==="top"?n.globals.xAxisHeight+n.config.xaxis.axisTicks.height-2:0),text:H,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[r]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:n.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+n.config.xaxis.labels.style.cssClass});u.add(Z),Z.tspan(H);var ie=document.createElementNS(n.globals.SVGNS,"title");ie.textContent=H,Z.node.appendChild(ie),b+=d}return this.inversedYAxisTitleText(l),this.inversedYAxisBorder(l),l}},{key:"inversedYAxisBorder",value:function(r){var n=this.w,a=new j(this.ctx),l=n.config.xaxis.axisBorder;if(l.show){var u=0;n.config.chart.type==="bar"&&n.globals.isXNumeric&&(u-=15);var p=a.drawLine(n.globals.padHorizontal+u+l.offsetX,this.xAxisoffX,n.globals.gridWidth,this.xAxisoffX,l.color,0,l.height);r.add(p)}}},{key:"inversedYAxisTitleText",value:function(r){var n=this.w,a=new j(this.ctx);if(n.config.xaxis.title.text!==void 0){var l=a.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),u=a.drawText({x:n.globals.gridWidth/2+n.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(n.config.xaxis.title.style.fontSize)+n.config.xaxis.title.offsetY+20,text:n.config.xaxis.title.text,textAnchor:"middle",fontSize:n.config.xaxis.title.style.fontSize,fontFamily:n.config.xaxis.title.style.fontFamily,fontWeight:n.config.xaxis.title.style.fontWeight,foreColor:n.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+n.config.xaxis.title.style.cssClass});l.add(u),r.add(l)}}},{key:"yAxisTitleRotate",value:function(r,n){var a=this.w,l=new j(this.ctx),u={width:0,height:0},p={width:0,height:0},d=a.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(r,"'] .apexcharts-yaxis-texts-g"));d!==null&&(u=d.getBoundingClientRect());var b=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(r,"'] .apexcharts-yaxis-title text"));if(b!==null&&(p=b.getBoundingClientRect()),b!==null){var w=this.xPaddingForYAxisTitle(r,u,p,n);b.setAttribute("x",w.xPos-(n?10:0))}if(b!==null){var k=l.rotateAroundCenter(b);b.setAttribute("transform","rotate(".concat(n?-1*a.config.yaxis[r].title.rotate:a.config.yaxis[r].title.rotate," ").concat(k.x," ").concat(k.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(r,n,a,l){var u=this.w,p=0,d=0,b=10;return u.config.yaxis[r].title.text===void 0||r<0?{xPos:d,padd:0}:(l?(d=n.width+u.config.yaxis[r].title.offsetX+a.width/2+b/2,(p+=1)===0&&(d-=b/2)):(d=-1*n.width+u.config.yaxis[r].title.offsetX+b/2+a.width/2,u.globals.isBarHorizontal&&(b=25,d=-1*n.width-u.config.yaxis[r].title.offsetX-b)),{xPos:d,padd:b})}},{key:"setYAxisXPosition",value:function(r,n){var a=this.w,l=0,u=0,p=18,d=1;a.config.yaxis.length>1&&(this.multipleYs=!0),a.config.yaxis.map(function(b,w){var k=a.globals.ignoreYAxisIndexes.indexOf(w)>-1||!b.show||b.floating||r[w].width===0,C=r[w].width+n[w].width;b.opposite?a.globals.isBarHorizontal?(u=a.globals.gridWidth+a.globals.translateX-1,a.globals.translateYAxisX[w]=u-b.labels.offsetX):(u=a.globals.gridWidth+a.globals.translateX+d,k||(d=d+C+20),a.globals.translateYAxisX[w]=u-b.labels.offsetX+20):(l=a.globals.translateX-p,k||(p=p+C+20),a.globals.translateYAxisX[w]=l+b.labels.offsetX)})}},{key:"setYAxisTextAlignments",value:function(){var r=this.w,n=r.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(n=T.listToArray(n)).forEach(function(a,l){var u=r.config.yaxis[l];if(u&&u.labels.align!==void 0){var p=r.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(l,"'] .apexcharts-yaxis-texts-g")),d=r.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(l,"'] .apexcharts-yaxis-label"));d=T.listToArray(d);var b=p.getBoundingClientRect();u.labels.align==="left"?(d.forEach(function(w,k){w.setAttribute("text-anchor","start")}),u.opposite||p.setAttribute("transform","translate(-".concat(b.width,", 0)"))):u.labels.align==="center"?(d.forEach(function(w,k){w.setAttribute("text-anchor","middle")}),p.setAttribute("transform","translate(".concat(b.width/2*(u.opposite?1:-1),", 0)"))):u.labels.align==="right"&&(d.forEach(function(w,k){w.setAttribute("text-anchor","end")}),u.opposite&&p.setAttribute("transform","translate(".concat(b.width,", 0)")))}})}}]),J}(),Ze=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.documentEvent=T.bind(this.documentEvent,this)}return y(J,[{key:"addEventListener",value:function(r,n){var a=this.w;a.globals.events.hasOwnProperty(r)?a.globals.events[r].push(n):a.globals.events[r]=[n]}},{key:"removeEventListener",value:function(r,n){var a=this.w;if(a.globals.events.hasOwnProperty(r)){var l=a.globals.events[r].indexOf(n);l!==-1&&a.globals.events[r].splice(l,1)}}},{key:"fireEvent",value:function(r,n){var a=this.w;if(a.globals.events.hasOwnProperty(r)){n&&n.length||(n=[]);for(var l=a.globals.events[r],u=l.length,p=0;p<u;p++)l[p].apply(null,n)}}},{key:"setupEventHandlers",value:function(){var r=this,n=this.w,a=this.ctx,l=n.globals.dom.baseEl.querySelector(n.globals.chartClass);this.ctx.eventList.forEach(function(u){l.addEventListener(u,function(p){var d=Object.assign({},n,{seriesIndex:n.globals.capturedSeriesIndex,dataPointIndex:n.globals.capturedDataPointIndex});p.type==="mousemove"||p.type==="touchmove"?typeof n.config.chart.events.mouseMove=="function"&&n.config.chart.events.mouseMove(p,a,d):p.type==="mouseleave"||p.type==="touchleave"?typeof n.config.chart.events.mouseLeave=="function"&&n.config.chart.events.mouseLeave(p,a,d):(p.type==="mouseup"&&p.which===1||p.type==="touchend")&&(typeof n.config.chart.events.click=="function"&&n.config.chart.events.click(p,a,d),a.ctx.events.fireEvent("click",[p,a,d]))},{capture:!1,passive:!0})}),this.ctx.eventList.forEach(function(u){n.globals.dom.baseEl.addEventListener(u,r.documentEvent,{passive:!0})}),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(r){var n=this.w,a=r.target.className;if(r.type==="click"){var l=n.globals.dom.baseEl.querySelector(".apexcharts-menu");l&&l.classList.contains("apexcharts-menu-open")&&a!=="apexcharts-menu-icon"&&l.classList.remove("apexcharts-menu-open")}n.globals.clientX=r.type==="touchmove"?r.touches[0].clientX:r.clientX,n.globals.clientY=r.type==="touchmove"?r.touches[0].clientY:r.clientY}}]),J}(),Ve=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"setCurrentLocaleValues",value:function(r){var n=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(n=this.w.config.chart.locales.concat(window.Apex.chart.locales));var a=n.filter(function(u){return u.name===r})[0];if(!a)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var l=T.extend(ze,a);this.w.globals.locale=l.options}}]),J}(),xe=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"drawAxis",value:function(r,n){var a,l,u=this.w.globals,p=this.w.config,d=new ue(this.ctx),b=new Ye(this.ctx);u.axisCharts&&r!=="radar"&&(u.isBarHorizontal?(l=b.drawYaxisInversed(0),a=d.drawXaxisInversed(0),u.dom.elGraphical.add(a),u.dom.elGraphical.add(l)):(a=d.drawXaxis(),u.dom.elGraphical.add(a),p.yaxis.map(function(w,k){u.ignoreYAxisIndexes.indexOf(k)===-1&&(l=b.drawYaxis(k),u.dom.Paper.add(l))})))}}]),J}(),me=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"drawXCrosshairs",value:function(){var r=this.w,n=new j(this.ctx),a=new B(this.ctx),l=r.config.xaxis.crosshairs.fill.gradient,u=r.config.xaxis.crosshairs.dropShadow,p=r.config.xaxis.crosshairs.fill.type,d=l.colorFrom,b=l.colorTo,w=l.opacityFrom,k=l.opacityTo,C=l.stops,E=u.enabled,F=u.left,H=u.top,W=u.blur,U=u.color,Z=u.opacity,ie=r.config.xaxis.crosshairs.fill.color;if(r.config.xaxis.crosshairs.show){p==="gradient"&&(ie=n.drawGradient("vertical",d,b,w,k,null,C,null));var se=n.drawRect();r.config.xaxis.crosshairs.width===1&&(se=n.drawLine());var _=r.globals.gridHeight;(!T.isNumber(_)||_<0)&&(_=0);var D=r.config.xaxis.crosshairs.width;(!T.isNumber(D)||D<0)&&(D=0),se.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:_,width:D,height:_,fill:ie,filter:"none","fill-opacity":r.config.xaxis.crosshairs.opacity,stroke:r.config.xaxis.crosshairs.stroke.color,"stroke-width":r.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":r.config.xaxis.crosshairs.stroke.dashArray}),E&&(se=a.dropShadow(se,{left:F,top:H,blur:W,color:U,opacity:Z})),r.globals.dom.elGraphical.add(se)}}},{key:"drawYCrosshairs",value:function(){var r=this.w,n=new j(this.ctx),a=r.config.yaxis[0].crosshairs,l=r.globals.barPadForNumericAxis;if(r.config.yaxis[0].crosshairs.show){var u=n.drawLine(-l,0,r.globals.gridWidth+l,0,a.stroke.color,a.stroke.dashArray,a.stroke.width);u.attr({class:"apexcharts-ycrosshairs"}),r.globals.dom.elGraphical.add(u)}var p=n.drawLine(-l,0,r.globals.gridWidth+l,0,a.stroke.color,0,0);p.attr({class:"apexcharts-ycrosshairs-hidden"}),r.globals.dom.elGraphical.add(p)}}]),J}(),le=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"checkResponsiveConfig",value:function(r){var n=this,a=this.w,l=a.config;if(l.responsive.length!==0){var u=l.responsive.slice();u.sort(function(w,k){return w.breakpoint>k.breakpoint?1:k.breakpoint>w.breakpoint?-1:0}).reverse();var p=new we({}),d=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=u[0].breakpoint,C=window.innerWidth>0?window.innerWidth:screen.width;if(C>k){var E=oe.extendArrayProps(p,a.globals.initialConfig,a);w=T.extend(E,w),w=T.extend(a.config,w),n.overrideResponsiveOptions(w)}else for(var F=0;F<u.length;F++)C<u[F].breakpoint&&(w=oe.extendArrayProps(p,u[F].options,a),w=T.extend(a.config,w),n.overrideResponsiveOptions(w))};if(r){var b=oe.extendArrayProps(p,r,a);b=T.extend(a.config,b),d(b=T.extend(b,r))}else d({})}}},{key:"overrideResponsiveOptions",value:function(r){var n=new we(r).init({responsiveOverride:!0});this.w.config=n}}]),J}(),N=function(){function J(r){g(this,J),this.ctx=r,this.colors=[],this.w=r.w;var n=this.w;this.isColorFn=!1,this.isHeatmapDistributed=n.config.chart.type==="treemap"&&n.config.plotOptions.treemap.distributed||n.config.chart.type==="heatmap"&&n.config.plotOptions.heatmap.distributed,this.isBarDistributed=n.config.plotOptions.bar.distributed&&(n.config.chart.type==="bar"||n.config.chart.type==="rangeBar")}return y(J,[{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var r=this,n=this.w,a=new T;if(n.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(n.config.theme.mode)),n.config.colors===void 0?n.globals.colors=this.predefined():(n.globals.colors=n.config.colors,Array.isArray(n.config.colors)&&n.config.colors.length>0&&typeof n.config.colors[0]=="function"&&(n.globals.colors=n.config.series.map(function(F,H){var W=n.config.colors[H];return W||(W=n.config.colors[0]),typeof W=="function"?(r.isColorFn=!0,W({value:n.globals.axisCharts?n.globals.series[H][0]?n.globals.series[H][0]:0:n.globals.series[H],seriesIndex:H,dataPointIndex:H,w:n})):W}))),n.globals.seriesColors.map(function(F,H){F&&(n.globals.colors[H]=F)}),n.config.theme.monochrome.enabled){var l=[],u=n.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(u=n.globals.series[0].length*n.globals.series.length);for(var p=n.config.theme.monochrome.color,d=1/(u/n.config.theme.monochrome.shadeIntensity),b=n.config.theme.monochrome.shadeTo,w=0,k=0;k<u;k++){var C=void 0;b==="dark"?(C=a.shadeColor(-1*w,p),w+=d):(C=a.shadeColor(w,p),w+=d),l.push(C)}n.globals.colors=l.slice()}var E=n.globals.colors.slice();this.pushExtraColors(n.globals.colors),["fill","stroke"].forEach(function(F){n.config[F].colors===void 0?n.globals[F].colors=r.isColorFn?n.config.colors:E:n.globals[F].colors=n.config[F].colors.slice(),r.pushExtraColors(n.globals[F].colors)}),n.config.dataLabels.style.colors===void 0?n.globals.dataLabels.style.colors=E:n.globals.dataLabels.style.colors=n.config.dataLabels.style.colors.slice(),this.pushExtraColors(n.globals.dataLabels.style.colors,50),n.config.plotOptions.radar.polygons.fill.colors===void 0?n.globals.radarPolygons.fill.colors=[n.config.theme.mode==="dark"?"#424242":"none"]:n.globals.radarPolygons.fill.colors=n.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(n.globals.radarPolygons.fill.colors,20),n.config.markers.colors===void 0?n.globals.markers.colors=E:n.globals.markers.colors=n.config.markers.colors.slice(),this.pushExtraColors(n.globals.markers.colors)}},{key:"pushExtraColors",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=this.w,u=n||l.globals.series.length;if(a===null&&(a=this.isBarDistributed||this.isHeatmapDistributed||l.config.chart.type==="heatmap"&&l.config.plotOptions.heatmap.colorScale.inverse),a&&l.globals.series.length&&(u=l.globals.series[l.globals.maxValsInArrayIndex].length*l.globals.series.length),r.length<u)for(var p=u-r.length,d=0;d<p;d++)r.push(r[d])}},{key:"updateThemeOptions",value:function(r){r.chart=r.chart||{},r.tooltip=r.tooltip||{};var n=r.theme.mode||"light",a=r.theme.palette?r.theme.palette:n==="dark"?"palette4":"palette1",l=r.chart.foreColor?r.chart.foreColor:n==="dark"?"#f6f7f8":"#373d3f";return r.tooltip.theme=n,r.chart.foreColor=l,r.theme.palette=a,r}},{key:"predefined",value:function(){switch(this.w.config.theme.palette){case"palette1":this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"];break;case"palette2":this.colors=["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"];break;case"palette3":this.colors=["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"];break;case"palette4":this.colors=["#4ecdc4","#c7f464","#81D4FA","#fd6a6a","#546E7A"];break;case"palette5":this.colors=["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"];break;case"palette6":this.colors=["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"];break;case"palette7":this.colors=["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"];break;case"palette8":this.colors=["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"];break;case"palette9":this.colors=["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"];break;case"palette10":this.colors=["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"];break;default:this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"]}return this.colors}}]),J}(),$=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(r){var n=this.w,a=r==="title"?n.config.title:n.config.subtitle,l=n.globals.svgWidth/2,u=a.offsetY,p="middle";if(a.align==="left"?(l=10,p="start"):a.align==="right"&&(l=n.globals.svgWidth-10,p="end"),l+=a.offsetX,u=u+parseInt(a.style.fontSize,10)+a.margin/2,a.text!==void 0){var d=new j(this.ctx).drawText({x:l,y:u,text:a.text,textAnchor:p,fontSize:a.style.fontSize,fontFamily:a.style.fontFamily,fontWeight:a.style.fontWeight,foreColor:a.style.color,opacity:1});d.node.setAttribute("class","apexcharts-".concat(r,"-text")),n.globals.dom.Paper.add(d)}}}]),J}(),pe=function(){function J(r){g(this,J),this.w=r.w,this.dCtx=r}return y(J,[{key:"getTitleSubtitleCoords",value:function(r){var n=this.w,a=0,l=0,u=r==="title"?n.config.title.floating:n.config.subtitle.floating,p=n.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-text"));if(p!==null&&!u){var d=p.getBoundingClientRect();a=d.width,l=n.globals.axisCharts?d.height+5:d.height}return{width:a,height:l}}},{key:"getLegendsRect",value:function(){var r=this.w,n=r.globals.dom.baseEl.querySelector(".apexcharts-legend");r.config.legend.height||r.config.legend.position!=="top"&&r.config.legend.position!=="bottom"||(n.style.maxHeight=r.globals.svgHeight/2+"px");var a=Object.assign({},T.getBoundingClientRect(n));return n!==null&&!r.config.legend.floating&&r.config.legend.show?this.dCtx.lgRect={x:a.x,y:a.y,height:a.height,width:a.height===0?0:a.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},r.config.legend.position!=="left"&&r.config.legend.position!=="right"||1.5*this.dCtx.lgRect.width>r.globals.svgWidth&&(this.dCtx.lgRect.width=r.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(r,n){var a=r;if(this.w.globals.isMultiLineX){var l=n.map(function(p,d){return Array.isArray(p)?p.length:1}),u=Math.max.apply(Math,ee(l));a=n[l.indexOf(u)]}return a}}]),J}(),ce=function(){function J(r){g(this,J),this.w=r.w,this.dCtx=r}return y(J,[{key:"getxAxisLabelsCoords",value:function(){var r,n=this.w,a=n.globals.labels.slice();if(n.config.xaxis.convertedCatToNumeric&&a.length===0&&(a=n.globals.categoryLabels),n.globals.timescaleLabels.length>0){var l=this.getxAxisTimeScaleLabelsCoords();r={width:l.width,height:l.height},n.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends=n.config.legend.position!=="left"&&n.config.legend.position!=="right"||n.config.legend.floating?0:this.dCtx.lgRect.width;var u=n.globals.xLabelFormatter,p=T.getLargestStringFromArr(a),d=this.dCtx.dimHelpers.getLargestStringFromMultiArr(p,a);n.globals.isBarHorizontal&&(d=p=n.globals.yAxisScale[0].result.reduce(function(H,W){return H.length>W.length?H:W},0));var b=new at(this.dCtx.ctx),w=p;p=b.xLabelFormat(u,p,w,{i:void 0,dateFormatter:new ne(this.dCtx.ctx).formatDate,w:n}),d=b.xLabelFormat(u,d,w,{i:void 0,dateFormatter:new ne(this.dCtx.ctx).formatDate,w:n}),(n.config.xaxis.convertedCatToNumeric&&p===void 0||String(p).trim()==="")&&(d=p="1");var k=new j(this.dCtx.ctx),C=k.getTextRects(p,n.config.xaxis.labels.style.fontSize),E=C;if(p!==d&&(E=k.getTextRects(d,n.config.xaxis.labels.style.fontSize)),(r={width:C.width>=E.width?C.width:E.width,height:C.height>=E.height?C.height:E.height}).width*a.length>n.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&n.config.xaxis.labels.rotate!==0||n.config.xaxis.labels.rotateAlways){if(!n.globals.isBarHorizontal){n.globals.rotateXLabels=!0;var F=function(H){return k.getTextRects(H,n.config.xaxis.labels.style.fontSize,n.config.xaxis.labels.style.fontFamily,"rotate(".concat(n.config.xaxis.labels.rotate," 0 0)"),!1)};C=F(p),p!==d&&(E=F(d)),r.height=(C.height>E.height?C.height:E.height)/1.5,r.width=C.width>E.width?C.width:E.width}}else n.globals.rotateXLabels=!1}return n.config.xaxis.labels.show||(r={width:0,height:0}),{width:r.width,height:r.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var r,n=this.w;if(!n.globals.hasGroups)return{width:0,height:0};var a,l=((r=n.config.xaxis.group.style)===null||r===void 0?void 0:r.fontSize)||n.config.xaxis.labels.style.fontSize,u=n.globals.groups.map(function(C){return C.title}),p=T.getLargestStringFromArr(u),d=this.dCtx.dimHelpers.getLargestStringFromMultiArr(p,u),b=new j(this.dCtx.ctx),w=b.getTextRects(p,l),k=w;return p!==d&&(k=b.getTextRects(d,l)),a={width:w.width>=k.width?w.width:k.width,height:w.height>=k.height?w.height:k.height},n.config.xaxis.labels.show||(a={width:0,height:0}),{width:a.width,height:a.height}}},{key:"getxAxisTitleCoords",value:function(){var r=this.w,n=0,a=0;if(r.config.xaxis.title.text!==void 0){var l=new j(this.dCtx.ctx).getTextRects(r.config.xaxis.title.text,r.config.xaxis.title.style.fontSize);n=l.width,a=l.height}return{width:n,height:a}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var r,n=this.w;this.dCtx.timescaleLabels=n.globals.timescaleLabels.slice();var a=this.dCtx.timescaleLabels.map(function(u){return u.value}),l=a.reduce(function(u,p){return u===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):u.length>p.length?u:p},0);return 1.05*(r=new j(this.dCtx.ctx).getTextRects(l,n.config.xaxis.labels.style.fontSize)).width*a.length>n.globals.gridWidth&&n.config.xaxis.labels.rotate!==0&&(n.globals.overlappingXLabels=!0),r}},{key:"additionalPaddingXLabels",value:function(r){var n=this,a=this.w,l=a.globals,u=a.config,p=u.xaxis.type,d=r.width;l.skipLastTimelinelabel=!1,l.skipFirstTimelinelabel=!1;var b=a.config.yaxis[0].opposite&&a.globals.isBarHorizontal,w=function(k,C){(function(E){return l.collapsedSeriesIndices.indexOf(E)!==-1})(C)||function(E){if(n.dCtx.timescaleLabels&&n.dCtx.timescaleLabels.length){var F=n.dCtx.timescaleLabels[0],H=n.dCtx.timescaleLabels[n.dCtx.timescaleLabels.length-1].position+d/1.75-n.dCtx.yAxisWidthRight,W=F.position-d/1.75+n.dCtx.yAxisWidthLeft,U=a.config.legend.position==="right"&&n.dCtx.lgRect.width>0?n.dCtx.lgRect.width:0;H>l.svgWidth-l.translateX-U&&(l.skipLastTimelinelabel=!0),W<-(E.show&&!E.floating||u.chart.type!=="bar"&&u.chart.type!=="candlestick"&&u.chart.type!=="rangeBar"&&u.chart.type!=="boxPlot"?10:d/1.75)&&(l.skipFirstTimelinelabel=!0)}else p==="datetime"?n.dCtx.gridPad.right<d&&!l.rotateXLabels&&(l.skipLastTimelinelabel=!0):p!=="datetime"&&n.dCtx.gridPad.right<d/2-n.dCtx.yAxisWidthRight&&!l.rotateXLabels&&!a.config.xaxis.labels.trim&&(a.config.xaxis.tickPlacement!=="between"||a.globals.isBarHorizontal)&&(n.dCtx.xPadRight=d/2+1)}(k)};u.yaxis.forEach(function(k,C){b?(n.dCtx.gridPad.left<d&&(n.dCtx.xPadLeft=d/2+1),n.dCtx.xPadRight=d/2+1):w(k,C)})}}]),J}(),Ae=function(){function J(r){g(this,J),this.w=r.w,this.dCtx=r}return y(J,[{key:"getyAxisLabelsCoords",value:function(){var r=this,n=this.w,a=[],l=10,u=new Ke(this.dCtx.ctx);return n.config.yaxis.map(function(p,d){var b=n.globals.yAxisScale[d],w=0;if(!u.isYAxisHidden(d)&&p.labels.show&&p.labels.minWidth!==void 0&&(w=p.labels.minWidth),!u.isYAxisHidden(d)&&p.labels.show&&b.result.length){var k=n.globals.yLabelFormatters[d],C=b.niceMin===Number.MIN_VALUE?0:b.niceMin,E=String(C).length>String(b.niceMax).length?C:b.niceMax,F=k(E,{seriesIndex:d,dataPointIndex:-1,w:n}),H=F;if(F!==void 0&&F.length!==0||(F=E),n.globals.isBarHorizontal){l=0;var W=n.globals.labels.slice();F=k(F=T.getLargestStringFromArr(W),{seriesIndex:d,dataPointIndex:-1,w:n}),H=r.dCtx.dimHelpers.getLargestStringFromMultiArr(F,W)}var U=new j(r.dCtx.ctx),Z="rotate(".concat(p.labels.rotate," 0 0)"),ie=U.getTextRects(F,p.labels.style.fontSize,p.labels.style.fontFamily,Z,!1),se=ie;F!==H&&(se=U.getTextRects(H,p.labels.style.fontSize,p.labels.style.fontFamily,Z,!1)),a.push({width:(w>se.width||w>ie.width?w:se.width>ie.width?se.width:ie.width)+l,height:se.height>ie.height?se.height:ie.height})}else a.push({width:0,height:0})}),a}},{key:"getyAxisTitleCoords",value:function(){var r=this,n=this.w,a=[];return n.config.yaxis.map(function(l,u){if(l.show&&l.title.text!==void 0){var p=new j(r.dCtx.ctx),d="rotate(".concat(l.title.rotate," 0 0)"),b=p.getTextRects(l.title.text,l.title.style.fontSize,l.title.style.fontFamily,d,!1);a.push({width:b.width,height:b.height})}else a.push({width:0,height:0})}),a}},{key:"getTotalYAxisWidth",value:function(){var r=this.w,n=0,a=0,l=0,u=r.globals.yAxisScale.length>1?10:0,p=new Ke(this.dCtx.ctx),d=function(b,w){var k=r.config.yaxis[w].floating,C=0;b.width>0&&!k?(C=b.width+u,function(E){return r.globals.ignoreYAxisIndexes.indexOf(E)>-1}(w)&&(C=C-b.width-u)):C=k||p.isYAxisHidden(w)?0:5,r.config.yaxis[w].opposite?l+=C:a+=C,n+=C};return r.globals.yLabelsCoords.map(function(b,w){d(b,w)}),r.globals.yTitleCoords.map(function(b,w){d(b,w)}),r.globals.isBarHorizontal&&!r.config.yaxis[0].floating&&(n=r.globals.yLabelsCoords[0].width+r.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=a,this.dCtx.yAxisWidthRight=l,n}}]),J}(),Be=function(){function J(r){g(this,J),this.w=r.w,this.dCtx=r}return y(J,[{key:"gridPadForColumnsInNumericAxis",value:function(r){var n=this.w;if(n.globals.noData||n.globals.allSeriesCollapsed)return 0;var a=function(k){return k==="bar"||k==="rangeBar"||k==="candlestick"||k==="boxPlot"},l=n.config.chart.type,u=0,p=a(l)?n.config.series.length:1;if(n.globals.comboBarCount>0&&(p=n.globals.comboBarCount),n.globals.collapsedSeries.forEach(function(k){a(k.type)&&(p-=1)}),n.config.chart.stacked&&(p=1),(a(l)||n.globals.comboBarCount>0)&&n.globals.isXNumeric&&!n.globals.isBarHorizontal&&p>0){var d,b,w=Math.abs(n.globals.initialMaxX-n.globals.initialMinX);w<=3&&(w=n.globals.dataPoints),d=w/r,n.globals.minXDiff&&n.globals.minXDiff/d>0&&(b=n.globals.minXDiff/d),b>r/2&&(b/=2),(u=b/p*parseInt(n.config.plotOptions.bar.columnWidth,10)/100)<1&&(u=1),u=u/(p>1?1:1.5)+5,n.globals.barPadForNumericAxis=u}return u}},{key:"gridPadFortitleSubtitle",value:function(){var r=this,n=this.w,a=n.globals,l=this.dCtx.isSparkline||!n.globals.axisCharts?0:10;["title","subtitle"].forEach(function(d){n.config[d].text!==void 0?l+=n.config[d].margin:l+=r.dCtx.isSparkline||!n.globals.axisCharts?0:5}),!n.config.legend.show||n.config.legend.position!=="bottom"||n.config.legend.floating||n.globals.axisCharts||(l+=10);var u=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),p=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");a.gridHeight=a.gridHeight-u.height-p.height-l,a.translateY=a.translateY+u.height+p.height+l}},{key:"setGridXPosForDualYAxis",value:function(r,n){var a=this.w,l=new Ke(this.dCtx.ctx);a.config.yaxis.map(function(u,p){a.globals.ignoreYAxisIndexes.indexOf(p)!==-1||u.floating||l.isYAxisHidden(p)||(u.opposite&&(a.globals.translateX=a.globals.translateX-(n[p].width+r[p].width)-parseInt(a.config.yaxis[p].labels.style.fontSize,10)/1.2-12),a.globals.translateX<2&&(a.globals.translateX=2))})}}]),J}(),je=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new pe(this),this.dimYAxis=new Ae(this),this.dimXAxis=new ce(this),this.dimGrid=new Be(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return y(J,[{key:"plotCoords",value:function(){var r=this,n=this.w,a=n.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.isSparkline&&(n.config.markers.discrete.length>0||n.config.markers.size>0)&&Object.entries(this.gridPad).forEach(function(u){var p=V(u,2),d=p[0],b=p[1];r.gridPad[d]=Math.max(b,r.w.globals.markers.largestSize/1.5)}),a.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),a.gridHeight=a.gridHeight-this.gridPad.top-this.gridPad.bottom,a.gridWidth=a.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var l=this.dimGrid.gridPadForColumnsInNumericAxis(a.gridWidth);a.gridWidth=a.gridWidth-2*l,a.translateX=a.translateX+this.gridPad.left+this.xPadLeft+(l>0?l+4:0),a.translateY=a.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var r=this,n=this.w,a=n.globals,l=this.dimYAxis.getyAxisLabelsCoords(),u=this.dimYAxis.getyAxisTitleCoords();n.globals.yLabelsCoords=[],n.globals.yTitleCoords=[],n.config.yaxis.map(function(F,H){n.globals.yLabelsCoords.push({width:l[H].width,index:H}),n.globals.yTitleCoords.push({width:u[H].width,index:H})}),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var p=this.dimXAxis.getxAxisLabelsCoords(),d=this.dimXAxis.getxAxisGroupLabelsCoords(),b=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(p,b,d),a.translateXAxisY=n.globals.rotateXLabels?this.xAxisHeight/8:-4,a.translateXAxisX=n.globals.rotateXLabels&&n.globals.isXNumeric&&n.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,n.globals.isBarHorizontal&&(a.rotateXLabels=!1,a.translateXAxisY=parseInt(n.config.xaxis.labels.style.fontSize,10)/1.5*-1),a.translateXAxisY=a.translateXAxisY+n.config.xaxis.labels.offsetY,a.translateXAxisX=a.translateXAxisX+n.config.xaxis.labels.offsetX;var w=this.yAxisWidth,k=this.xAxisHeight;a.xAxisLabelsHeight=this.xAxisHeight-b.height,a.xAxisGroupLabelsHeight=a.xAxisLabelsHeight-p.height,a.xAxisLabelsWidth=this.xAxisWidth,a.xAxisHeight=this.xAxisHeight;var C=10;(n.config.chart.type==="radar"||this.isSparkline)&&(w=0,k=a.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||n.config.chart.type==="treemap")&&(w=0,k=0,C=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(p);var E=function(){a.translateX=w,a.gridHeight=a.svgHeight-r.lgRect.height-k-(r.isSparkline||n.config.chart.type==="treemap"?0:n.globals.rotateXLabels?10:15),a.gridWidth=a.svgWidth-w};switch(n.config.xaxis.position==="top"&&(C=a.xAxisHeight-n.config.xaxis.axisTicks.height-5),n.config.legend.position){case"bottom":a.translateY=C,E();break;case"top":a.translateY=this.lgRect.height+C,E();break;case"left":a.translateY=C,a.translateX=this.lgRect.width+w,a.gridHeight=a.svgHeight-k-12,a.gridWidth=a.svgWidth-this.lgRect.width-w;break;case"right":a.translateY=C,a.translateX=w,a.gridHeight=a.svgHeight-k-12,a.gridWidth=a.svgWidth-this.lgRect.width-w-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(u,l),new Ye(this.ctx).setYAxisXPosition(l,u)}},{key:"setDimensionsForNonAxisCharts",value:function(){var r=this.w,n=r.globals,a=r.config,l=0;r.config.legend.show&&!r.config.legend.floating&&(l=20);var u=a.chart.type==="pie"||a.chart.type==="polarArea"||a.chart.type==="donut"?"pie":"radialBar",p=a.plotOptions[u].offsetY,d=a.plotOptions[u].offsetX;if(!a.legend.show||a.legend.floating)return n.gridHeight=n.svgHeight-a.grid.padding.left+a.grid.padding.right,n.gridWidth=n.gridHeight,n.translateY=p,void(n.translateX=d+(n.svgWidth-n.gridWidth)/2);switch(a.legend.position){case"bottom":n.gridHeight=n.svgHeight-this.lgRect.height-n.goldenPadding,n.gridWidth=n.svgWidth,n.translateY=p-10,n.translateX=d+(n.svgWidth-n.gridWidth)/2;break;case"top":n.gridHeight=n.svgHeight-this.lgRect.height-n.goldenPadding,n.gridWidth=n.svgWidth,n.translateY=this.lgRect.height+p+10,n.translateX=d+(n.svgWidth-n.gridWidth)/2;break;case"left":n.gridWidth=n.svgWidth-this.lgRect.width-l,n.gridHeight=a.chart.height!=="auto"?n.svgHeight:n.gridWidth,n.translateY=p,n.translateX=d+this.lgRect.width+l;break;case"right":n.gridWidth=n.svgWidth-this.lgRect.width-l-5,n.gridHeight=a.chart.height!=="auto"?n.svgHeight:n.gridWidth,n.translateY=p,n.translateX=d+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(r,n,a){var l=this.w,u=l.globals.hasGroups?2:1,p=a.height+r.height+n.height,d=l.globals.isMultiLineX?1.2:l.globals.LINE_HEIGHT_RATIO,b=l.globals.rotateXLabels?22:10,w=l.globals.rotateXLabels&&l.config.legend.position==="bottom"?10:0;this.xAxisHeight=p*d+u*b+w,this.xAxisWidth=r.width,this.xAxisHeight-n.height>l.config.xaxis.labels.maxHeight&&(this.xAxisHeight=l.config.xaxis.labels.maxHeight),l.config.xaxis.labels.minHeight&&this.xAxisHeight<l.config.xaxis.labels.minHeight&&(this.xAxisHeight=l.config.xaxis.labels.minHeight),l.config.xaxis.floating&&(this.xAxisHeight=0);var k=0,C=0;l.config.yaxis.forEach(function(E){k+=E.labels.minWidth,C+=E.labels.maxWidth}),this.yAxisWidth<k&&(this.yAxisWidth=k),this.yAxisWidth>C&&(this.yAxisWidth=C)}}]),J}(),rt=function(){function J(r){g(this,J),this.w=r.w,this.lgCtx=r}return y(J,[{key:"getLegendStyles",value:function(){var r=document.createElement("style");r.setAttribute("type","text/css");var n=document.createTextNode(`
  47. .apexcharts-legend {
  48. display: flex;
  49. overflow: auto;
  50. padding: 0 10px;
  51. }
  52. .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {
  53. flex-wrap: wrap
  54. }
  55. .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
  56. flex-direction: column;
  57. bottom: 0;
  58. }
  59. .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
  60. justify-content: flex-start;
  61. }
  62. .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
  63. justify-content: center;
  64. }
  65. .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {
  66. justify-content: flex-end;
  67. }
  68. .apexcharts-legend-series {
  69. cursor: pointer;
  70. line-height: normal;
  71. }
  72. .apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{
  73. display: flex;
  74. align-items: center;
  75. }
  76. .apexcharts-legend-text {
  77. position: relative;
  78. font-size: 14px;
  79. }
  80. .apexcharts-legend-text *, .apexcharts-legend-marker * {
  81. pointer-events: none;
  82. }
  83. .apexcharts-legend-marker {
  84. position: relative;
  85. display: inline-block;
  86. cursor: pointer;
  87. margin-right: 3px;
  88. border-style: solid;
  89. }
  90. .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{
  91. display: inline-block;
  92. }
  93. .apexcharts-legend-series.apexcharts-no-click {
  94. cursor: auto;
  95. }
  96. .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {
  97. display: none !important;
  98. }
  99. .apexcharts-inactive-legend {
  100. opacity: 0.45;
  101. }`);return r.appendChild(n),r}},{key:"getLegendBBox",value:function(){var r=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),n=r.width;return{clwh:r.height,clww:n}}},{key:"appendToForeignObject",value:function(){var r=this.w.globals;r.dom.elLegendForeign=document.createElementNS(r.SVGNS,"foreignObject");var n=r.dom.elLegendForeign;n.setAttribute("x",0),n.setAttribute("y",0),n.setAttribute("width",r.svgWidth),n.setAttribute("height",r.svgHeight),r.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),n.appendChild(r.dom.elLegendWrap),n.appendChild(this.getLegendStyles()),r.dom.Paper.node.insertBefore(n,r.dom.elGraphical.node)}},{key:"toggleDataSeries",value:function(r,n){var a=this,l=this.w;if(l.globals.axisCharts||l.config.chart.type==="radialBar"){l.globals.resized=!0;var u=null,p=null;l.globals.risingSeries=[],l.globals.axisCharts?(u=l.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(r,"']")),p=parseInt(u.getAttribute("data:realIndex"),10)):(u=l.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"']")),p=parseInt(u.getAttribute("rel"),10)-1),n?[{cs:l.globals.collapsedSeries,csi:l.globals.collapsedSeriesIndices},{cs:l.globals.ancillaryCollapsedSeries,csi:l.globals.ancillaryCollapsedSeriesIndices}].forEach(function(k){a.riseCollapsedSeries(k.cs,k.csi,p)}):this.hideSeries({seriesEl:u,realIndex:p})}else{var d=l.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(r+1,"'] path")),b=l.config.chart.type;if(b==="pie"||b==="polarArea"||b==="donut"){var w=l.config.plotOptions.pie.donut.labels;new j(this.lgCtx.ctx).pathMouseDown(d.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(d.members[0].node,w)}d.fire("click")}}},{key:"hideSeries",value:function(r){var n=r.seriesEl,a=r.realIndex,l=this.w,u=T.clone(l.config.series);if(l.globals.axisCharts){var p=!1;if(l.config.yaxis[a]&&l.config.yaxis[a].show&&l.config.yaxis[a].showAlways&&(p=!0,l.globals.ancillaryCollapsedSeriesIndices.indexOf(a)<0&&(l.globals.ancillaryCollapsedSeries.push({index:a,data:u[a].data.slice(),type:n.parentNode.className.baseVal.split("-")[1]}),l.globals.ancillaryCollapsedSeriesIndices.push(a))),!p){l.globals.collapsedSeries.push({index:a,data:u[a].data.slice(),type:n.parentNode.className.baseVal.split("-")[1]}),l.globals.collapsedSeriesIndices.push(a);var d=l.globals.risingSeries.indexOf(a);l.globals.risingSeries.splice(d,1)}}else l.globals.collapsedSeries.push({index:a,data:u[a]}),l.globals.collapsedSeriesIndices.push(a);for(var b=n.childNodes,w=0;w<b.length;w++)b[w].classList.contains("apexcharts-series-markers-wrap")&&(b[w].classList.contains("apexcharts-hide")?b[w].classList.remove("apexcharts-hide"):b[w].classList.add("apexcharts-hide"));l.globals.allSeriesCollapsed=l.globals.collapsedSeries.length===l.config.series.length,u=this._getSeriesBasedOnCollapsedState(u),this.lgCtx.ctx.updateHelpers._updateSeries(u,l.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(r,n,a){var l=this.w,u=T.clone(l.config.series);if(r.length>0){for(var p=0;p<r.length;p++)r[p].index===a&&(l.globals.axisCharts?(u[a].data=r[p].data.slice(),r.splice(p,1),n.splice(p,1),l.globals.risingSeries.push(a)):(u[a]=r[p].data,r.splice(p,1),n.splice(p,1),l.globals.risingSeries.push(a)));u=this._getSeriesBasedOnCollapsedState(u),this.lgCtx.ctx.updateHelpers._updateSeries(u,l.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(r){var n=this.w;return n.globals.axisCharts?r.forEach(function(a,l){n.globals.collapsedSeriesIndices.indexOf(l)>-1&&(r[l].data=[])}):r.forEach(function(a,l){n.globals.collapsedSeriesIndices.indexOf(l)>-1&&(r[l]=0)}),r}}]),J}(),pt=function(){function J(r,n){g(this,J),this.ctx=r,this.w=r.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new rt(this)}return y(J,[{key:"init",value:function(){var r=this.w,n=r.globals,a=r.config;if((a.legend.showForSingleSeries&&n.series.length===1||this.isBarsDistributed||n.series.length>1||!n.axisCharts)&&a.legend.show){for(;n.dom.elLegendWrap.firstChild;)n.dom.elLegendWrap.removeChild(n.dom.elLegendWrap.firstChild);this.drawLegends(),T.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),a.legend.position==="bottom"||a.legend.position==="top"?this.legendAlignHorizontal():a.legend.position!=="right"&&a.legend.position!=="left"||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var r=this,n=this.w,a=n.config.legend.fontFamily,l=n.globals.seriesNames,u=n.globals.colors.slice();if(n.config.chart.type==="heatmap"){var p=n.config.plotOptions.heatmap.colorScale.ranges;l=p.map(function(Ie){return Ie.name?Ie.name:Ie.from+" - "+Ie.to}),u=p.map(function(Ie){return Ie.color})}else this.isBarsDistributed&&(l=n.globals.labels.slice());n.config.legend.customLegendItems.length&&(l=n.config.legend.customLegendItems);for(var d=n.globals.legendFormatter,b=n.config.legend.inverseOrder,w=b?l.length-1:0;b?w>=0:w<=l.length-1;b?w--:w++){var k=d(l[w],{seriesIndex:w,w:n}),C=!1,E=!1;if(n.globals.collapsedSeries.length>0)for(var F=0;F<n.globals.collapsedSeries.length;F++)n.globals.collapsedSeries[F].index===w&&(C=!0);if(n.globals.ancillaryCollapsedSeriesIndices.length>0)for(var H=0;H<n.globals.ancillaryCollapsedSeriesIndices.length;H++)n.globals.ancillaryCollapsedSeriesIndices[H]===w&&(E=!0);var W=document.createElement("span");W.classList.add("apexcharts-legend-marker");var U=n.config.legend.markers.offsetX,Z=n.config.legend.markers.offsetY,ie=n.config.legend.markers.height,se=n.config.legend.markers.width,_=n.config.legend.markers.strokeWidth,D=n.config.legend.markers.strokeColor,R=n.config.legend.markers.radius,Q=W.style;Q.background=u[w],Q.color=u[w],Q.setProperty("background",u[w],"important"),n.config.legend.markers.fillColors&&n.config.legend.markers.fillColors[w]&&(Q.background=n.config.legend.markers.fillColors[w]),n.globals.seriesColors[w]!==void 0&&(Q.background=n.globals.seriesColors[w],Q.color=n.globals.seriesColors[w]),Q.height=Array.isArray(ie)?parseFloat(ie[w])+"px":parseFloat(ie)+"px",Q.width=Array.isArray(se)?parseFloat(se[w])+"px":parseFloat(se)+"px",Q.left=(Array.isArray(U)?parseFloat(U[w]):parseFloat(U))+"px",Q.top=(Array.isArray(Z)?parseFloat(Z[w]):parseFloat(Z))+"px",Q.borderWidth=Array.isArray(_)?_[w]:_,Q.borderColor=Array.isArray(D)?D[w]:D,Q.borderRadius=Array.isArray(R)?parseFloat(R[w])+"px":parseFloat(R)+"px",n.config.legend.markers.customHTML&&(Array.isArray(n.config.legend.markers.customHTML)?n.config.legend.markers.customHTML[w]&&(W.innerHTML=n.config.legend.markers.customHTML[w]()):W.innerHTML=n.config.legend.markers.customHTML()),j.setAttrs(W,{rel:w+1,"data:collapsed":C||E}),(C||E)&&W.classList.add("apexcharts-inactive-legend");var be=document.createElement("div"),Re=document.createElement("span");Re.classList.add("apexcharts-legend-text"),Re.innerHTML=Array.isArray(k)?k.join(" "):k;var _e=n.config.legend.labels.useSeriesColors?n.globals.colors[w]:n.config.legend.labels.colors;_e||(_e=n.config.chart.foreColor),Re.style.color=_e,Re.style.fontSize=parseFloat(n.config.legend.fontSize)+"px",Re.style.fontWeight=n.config.legend.fontWeight,Re.style.fontFamily=a||n.config.chart.fontFamily,j.setAttrs(Re,{rel:w+1,i:w,"data:default-text":encodeURIComponent(k),"data:collapsed":C||E}),be.appendChild(W),be.appendChild(Re);var Qe=new oe(this.ctx);n.config.legend.showForZeroSeries||Qe.getSeriesTotalByIndex(w)===0&&Qe.seriesHaveSameValues(w)&&!Qe.isSeriesNull(w)&&n.globals.collapsedSeriesIndices.indexOf(w)===-1&&n.globals.ancillaryCollapsedSeriesIndices.indexOf(w)===-1&&be.classList.add("apexcharts-hidden-zero-series"),n.config.legend.showForNullSeries||Qe.isSeriesNull(w)&&n.globals.collapsedSeriesIndices.indexOf(w)===-1&&n.globals.ancillaryCollapsedSeriesIndices.indexOf(w)===-1&&be.classList.add("apexcharts-hidden-null-series"),n.globals.dom.elLegendWrap.appendChild(be),n.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(n.config.legend.horizontalAlign)),n.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+n.config.legend.position),be.classList.add("apexcharts-legend-series"),be.style.margin="".concat(n.config.legend.itemMargin.vertical,"px ").concat(n.config.legend.itemMargin.horizontal,"px"),n.globals.dom.elLegendWrap.style.width=n.config.legend.width?n.config.legend.width+"px":"",n.globals.dom.elLegendWrap.style.height=n.config.legend.height?n.config.legend.height+"px":"",j.setAttrs(be,{rel:w+1,seriesName:T.escapeString(l[w]),"data:collapsed":C||E}),(C||E)&&be.classList.add("apexcharts-inactive-legend"),n.config.legend.onItemClick.toggleDataSeries||be.classList.add("apexcharts-no-click")}n.globals.dom.elWrap.addEventListener("click",r.onLegendClick,!0),n.config.legend.onItemHover.highlightDataSeries&&n.config.legend.customLegendItems.length===0&&(n.globals.dom.elWrap.addEventListener("mousemove",r.onLegendHovered,!0),n.globals.dom.elWrap.addEventListener("mouseout",r.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(r,n){var a=this.w,l=a.globals.dom.baseEl.querySelector(".apexcharts-legend"),u=l.getBoundingClientRect(),p=0,d=0;if(a.config.legend.position==="bottom")d+=a.globals.svgHeight-u.height/2;else if(a.config.legend.position==="top"){var b=new je(this.ctx),w=b.dimHelpers.getTitleSubtitleCoords("title").height,k=b.dimHelpers.getTitleSubtitleCoords("subtitle").height;d=d+(w>0?w-10:0)+(k>0?k-10:0)}l.style.position="absolute",p=p+r+a.config.legend.offsetX,d=d+n+a.config.legend.offsetY,l.style.left=p+"px",l.style.top=d+"px",a.config.legend.position==="bottom"?(l.style.top="auto",l.style.bottom=5-a.config.legend.offsetY+"px"):a.config.legend.position==="right"&&(l.style.left="auto",l.style.right=25+a.config.legend.offsetX+"px"),["width","height"].forEach(function(C){l.style[C]&&(l.style[C]=parseInt(a.config.legend[C],10)+"px")})}},{key:"legendAlignHorizontal",value:function(){var r=this.w;r.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var n=this.legendHelpers.getLegendBBox(),a=new je(this.ctx),l=a.dimHelpers.getTitleSubtitleCoords("title"),u=a.dimHelpers.getTitleSubtitleCoords("subtitle"),p=0;r.config.legend.position==="bottom"?p=-n.clwh/1.8:r.config.legend.position==="top"&&(p=l.height+u.height+r.config.title.margin+r.config.subtitle.margin-10),this.setLegendWrapXY(20,p)}},{key:"legendAlignVertical",value:function(){var r=this.w,n=this.legendHelpers.getLegendBBox(),a=0;r.config.legend.position==="left"&&(a=20),r.config.legend.position==="right"&&(a=r.globals.svgWidth-n.clww-10),this.setLegendWrapXY(a,20)}},{key:"onLegendHovered",value:function(r){var n=this.w,a=r.target.classList.contains("apexcharts-legend-text")||r.target.classList.contains("apexcharts-legend-marker");if(n.config.chart.type==="heatmap"||this.isBarsDistributed){if(a){var l=parseInt(r.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,l,this.w]),new ot(this.ctx).highlightRangeInSeries(r,r.target)}}else!r.target.classList.contains("apexcharts-inactive-legend")&&a&&new ot(this.ctx).toggleSeriesOnHover(r,r.target)}},{key:"onLegendClick",value:function(r){var n=this.w;if(!n.config.legend.customLegendItems.length&&(r.target.classList.contains("apexcharts-legend-text")||r.target.classList.contains("apexcharts-legend-marker"))){var a=parseInt(r.target.getAttribute("rel"),10)-1,l=r.target.getAttribute("data:collapsed")==="true",u=this.w.config.chart.events.legendClick;typeof u=="function"&&u(this.ctx,a,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,a,this.w]);var p=this.w.config.legend.markers.onClick;typeof p=="function"&&r.target.classList.contains("apexcharts-legend-marker")&&(p(this.ctx,a,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,a,this.w])),n.config.chart.type!=="treemap"&&n.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&n.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(a,l)}}}]),J}(),gt=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w;var n=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=n.globals.minX,this.maxX=n.globals.maxX}return y(J,[{key:"createToolbar",value:function(){var r=this,n=this.w,a=function(){return document.createElement("div")},l=a();if(l.setAttribute("class","apexcharts-toolbar"),l.style.top=n.config.chart.toolbar.offsetY+"px",l.style.right=3-n.config.chart.toolbar.offsetX+"px",n.globals.dom.elWrap.appendChild(l),this.elZoom=a(),this.elZoomIn=a(),this.elZoomOut=a(),this.elPan=a(),this.elSelection=a(),this.elZoomReset=a(),this.elMenuIcon=a(),this.elMenu=a(),this.elCustomIcons=[],this.t=n.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var u=0;u<this.t.customIcons.length;u++)this.elCustomIcons.push(a());var p=[],d=function(C,E,F){var H=C.toLowerCase();r.t[H]&&n.config.chart.zoom.enabled&&p.push({el:E,icon:typeof r.t[H]=="string"?r.t[H]:F,title:r.localeValues[C],class:"apexcharts-".concat(H,"-icon")})};d("zoomIn",this.elZoomIn,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  102. <path d="M0 0h24v24H0z" fill="none"/>
  103. <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
  104. </svg>
  105. `),d("zoomOut",this.elZoomOut,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  106. <path d="M0 0h24v24H0z" fill="none"/>
  107. <path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
  108. </svg>
  109. `);var b=function(C){r.t[C]&&n.config.chart[C].enabled&&p.push({el:C==="zoom"?r.elZoom:r.elSelection,icon:typeof r.t[C]=="string"?r.t[C]:C==="zoom"?`<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
  110. <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
  111. <path d="M0 0h24v24H0V0z" fill="none"/>
  112. <path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>
  113. </svg>`:`<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
  114. <path d="M0 0h24v24H0z" fill="none"/>
  115. <path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>
  116. </svg>`,title:r.localeValues[C==="zoom"?"selectionZoom":"selection"],class:n.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(C,"-icon")})};b("zoom"),b("selection"),this.t.pan&&n.config.chart.zoom.enabled&&p.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
  117. <defs>
  118. <path d="M0 0h24v24H0z" id="a"/>
  119. </defs>
  120. <clipPath id="b">
  121. <use overflow="visible" xlink:href="#a"/>
  122. </clipPath>
  123. <path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>
  124. </svg>`,title:this.localeValues.pan,class:n.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),d("reset",this.elZoomReset,`<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
  125. <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
  126. <path d="M0 0h24v24H0z" fill="none"/>
  127. </svg>`),this.t.download&&p.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var w=0;w<this.elCustomIcons.length;w++)p.push({el:this.elCustomIcons[w],icon:this.t.customIcons[w].icon,title:this.t.customIcons[w].title,index:this.t.customIcons[w].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[w].class});p.forEach(function(C,E){C.index&&T.moveIndexInArray(p,E,C.index)});for(var k=0;k<p.length;k++)j.setAttrs(p[k].el,{class:p[k].class,title:p[k].title}),p[k].el.innerHTML=p[k].icon,l.appendChild(p[k].el);this._createHamburgerMenu(l),n.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):n.globals.panEnabled?this.elPan.classList.add(this.selectedClass):n.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(r){this.elMenuItems=[],r.appendChild(this.elMenu),j.setAttrs(this.elMenu,{class:"apexcharts-menu"});var n=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}];this.w.globals.allSeriesHasEqualX||n.splice(2,1);for(var a=0;a<n.length;a++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[a].innerHTML=n[a].title,j.setAttrs(this.elMenuItems[a],{class:"apexcharts-menu-item ".concat(n[a].name),title:n[a].title}),this.elMenu.appendChild(this.elMenuItems[a])}},{key:"addToolbarEventListeners",value:function(){var r=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(a){a.classList.contains("exportSVG")?a.addEventListener("click",r.handleDownload.bind(r,"svg")):a.classList.contains("exportPNG")?a.addEventListener("click",r.handleDownload.bind(r,"png")):a.classList.contains("exportCSV")&&a.addEventListener("click",r.handleDownload.bind(r,"csv"))});for(var n=0;n<this.t.customIcons.length;n++)this.elCustomIcons[n].addEventListener("click",this.t.customIcons[n].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(r){this.ctx.getSyncedCharts().forEach(function(n){n.ctx.toolbar.toggleOtherControls();var a=r==="selection"?n.ctx.toolbar.elSelection:n.ctx.toolbar.elZoom,l=r==="selection"?"selectionEnabled":"zoomEnabled";n.w.globals[l]=!n.w.globals[l],a.classList.contains(n.ctx.toolbar.selectedClass)?a.classList.remove(n.ctx.toolbar.selectedClass):a.classList.add(n.ctx.toolbar.selectedClass)})}},{key:"getToolbarIconsReference",value:function(){var r=this.w;this.elZoom||(this.elZoom=r.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=r.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=r.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(r){this.toggleOtherControls(),r==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var n=r==="pan"?this.elPan:this.elZoom,a=r==="pan"?this.elZoom:this.elPan;n&&n.classList.add(this.selectedClass),a&&a.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach(function(r){r.ctx.toolbar.toggleOtherControls(),r.w.globals.panEnabled=!r.w.globals.panEnabled,r.ctx.toolbar.elPan.classList.contains(r.ctx.toolbar.selectedClass)?r.ctx.toolbar.elPan.classList.remove(r.ctx.toolbar.selectedClass):r.ctx.toolbar.elPan.classList.add(r.ctx.toolbar.selectedClass)})}},{key:"toggleOtherControls",value:function(){var r=this,n=this.w;n.globals.panEnabled=!1,n.globals.zoomEnabled=!1,n.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach(function(a){a&&a.classList.remove(r.selectedClass)})}},{key:"handleZoomIn",value:function(){var r=this.w;r.globals.isRangeBar&&(this.minX=r.globals.minY,this.maxX=r.globals.maxY);var n=(this.minX+this.maxX)/2,a=(this.minX+n)/2,l=(this.maxX+n)/2,u=this._getNewMinXMaxX(a,l);r.globals.disableZoomIn||this.zoomUpdateOptions(u.minX,u.maxX)}},{key:"handleZoomOut",value:function(){var r=this.w;if(r.globals.isRangeBar&&(this.minX=r.globals.minY,this.maxX=r.globals.maxY),!(r.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var n=(this.minX+this.maxX)/2,a=this.minX-(n-this.minX),l=this.maxX-(n-this.maxX),u=this._getNewMinXMaxX(a,l);r.globals.disableZoomOut||this.zoomUpdateOptions(u.minX,u.maxX)}}},{key:"_getNewMinXMaxX",value:function(r,n){var a=this.w.config.xaxis.convertedCatToNumeric;return{minX:a?Math.floor(r):r,maxX:a?Math.floor(n):n}}},{key:"zoomUpdateOptions",value:function(r,n){var a=this.w;if(r!==void 0||n!==void 0){if(!(a.config.xaxis.convertedCatToNumeric&&(r<1&&(r=1,n=a.globals.dataPoints),n-r<2))){var l={min:r,max:n},u=this.getBeforeZoomRange(l);u&&(l=u.xaxis);var p={xaxis:l},d=T.clone(a.globals.initialConfig.yaxis);a.config.chart.zoom.autoScaleYaxis&&(d=new Oe(this.ctx).autoScaleY(this.ctx,d,{xaxis:l})),a.config.chart.group||(p.yaxis=d),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(p,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(l,d)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(r,n){typeof this.ev.zoomed=="function"&&this.ev.zoomed(this.ctx,{xaxis:r,yaxis:n})}},{key:"getBeforeZoomRange",value:function(r,n){var a=null;return typeof this.ev.beforeZoom=="function"&&(a=this.ev.beforeZoom(this,{xaxis:r,yaxis:n})),a}},{key:"toggleMenu",value:function(){var r=this;window.setTimeout(function(){r.elMenu.classList.contains("apexcharts-menu-open")?r.elMenu.classList.remove("apexcharts-menu-open"):r.elMenu.classList.add("apexcharts-menu-open")},0)}},{key:"handleDownload",value:function(r){var n=this.w,a=new dt(this.ctx);switch(r){case"svg":a.exportToSVG(this.ctx);break;case"png":a.exportToPng(this.ctx);break;case"csv":a.exportToCSV({series:n.config.series,columnDelimiter:n.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(r){this.ctx.getSyncedCharts().forEach(function(n){var a=n.w;if(a.globals.lastXAxis.min=void 0,a.globals.lastXAxis.max=void 0,n.updateHelpers.revertDefaultAxisMinMax(),typeof a.config.chart.events.beforeResetZoom=="function"){var l=a.config.chart.events.beforeResetZoom(n,a);l&&n.updateHelpers.revertDefaultAxisMinMax(l)}typeof a.config.chart.events.zoomed=="function"&&n.ctx.toolbar.zoomCallback({min:a.config.xaxis.min,max:a.config.xaxis.max}),a.globals.zoomed=!1;var u=n.ctx.series.emptyCollapsedSeries(T.clone(a.globals.initialSeries));n.updateHelpers._updateSeries(u,a.config.chart.animations.dynamicAnimation.enabled)})}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),J}(),At=function(J){A(n,gt);var r=Y(n);function n(a){var l;return g(this,n),(l=r.call(this,a)).ctx=a,l.w=a.w,l.dragged=!1,l.graphics=new j(l.ctx),l.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend"],l.clientX=0,l.clientY=0,l.startX=0,l.endX=0,l.dragX=0,l.startY=0,l.endY=0,l.dragY=0,l.moveDirection="none",l}return y(n,[{key:"init",value:function(a){var l=this,u=a.xyRatios,p=this.w,d=this;this.xyRatios=u,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=p.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),p.globals.dom.elGraphical.add(this.zoomRect),p.globals.dom.elGraphical.add(this.selectionRect),p.config.chart.selection.type==="x"?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:p.globals.gridWidth,maxY:p.globals.gridHeight}).on("dragmove",this.selectionDragging.bind(this,"dragging")):p.config.chart.selection.type==="y"?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:p.globals.gridWidth}).on("dragmove",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=p.globals.dom.baseEl.querySelector("".concat(p.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach(function(b){l.hoverArea.addEventListener(b,d.svgMouseEvents.bind(d,u),{capture:!1,passive:!0})})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(a,l){var u=this.w,p=this,d=this.ctx.toolbar,b=u.globals.zoomEnabled?u.config.chart.zoom.type:u.config.chart.selection.type,w=u.config.chart.toolbar.autoSelected;if(l.shiftKey?(this.shiftWasPressed=!0,d.enableZoomPanFromToolbar(w==="pan"?"zoom":"pan")):this.shiftWasPressed&&(d.enableZoomPanFromToolbar(w),this.shiftWasPressed=!1),l.target){var k,C=l.target.classList;if(l.target.parentNode&&l.target.parentNode!==null&&(k=l.target.parentNode.classList),!(C.contains("apexcharts-selection-rect")||C.contains("apexcharts-legend-marker")||C.contains("apexcharts-legend-text")||k&&k.contains("apexcharts-toolbar"))){if(p.clientX=l.type==="touchmove"||l.type==="touchstart"?l.touches[0].clientX:l.type==="touchend"?l.changedTouches[0].clientX:l.clientX,p.clientY=l.type==="touchmove"||l.type==="touchstart"?l.touches[0].clientY:l.type==="touchend"?l.changedTouches[0].clientY:l.clientY,l.type==="mousedown"&&l.which===1){var E=p.gridRect.getBoundingClientRect();p.startX=p.clientX-E.left,p.startY=p.clientY-E.top,p.dragged=!1,p.w.globals.mousedown=!0}if((l.type==="mousemove"&&l.which===1||l.type==="touchmove")&&(p.dragged=!0,u.globals.panEnabled?(u.globals.selection=null,p.w.globals.mousedown&&p.panDragging({context:p,zoomtype:b,xyRatios:a})):(p.w.globals.mousedown&&u.globals.zoomEnabled||p.w.globals.mousedown&&u.globals.selectionEnabled)&&(p.selection=p.selectionDrawing({context:p,zoomtype:b}))),l.type==="mouseup"||l.type==="touchend"||l.type==="mouseleave"){var F=p.gridRect.getBoundingClientRect();p.w.globals.mousedown&&(p.endX=p.clientX-F.left,p.endY=p.clientY-F.top,p.dragX=Math.abs(p.endX-p.startX),p.dragY=Math.abs(p.endY-p.startY),(u.globals.zoomEnabled||u.globals.selectionEnabled)&&p.selectionDrawn({context:p,zoomtype:b}),u.globals.panEnabled&&u.config.xaxis.convertedCatToNumeric&&p.delayedPanScrolled()),u.globals.zoomEnabled&&p.hideSelectionRect(this.selectionRect),p.dragged=!1,p.w.globals.mousedown=!1}this.makeSelectionRectDraggable()}}}},{key:"makeSelectionRectDraggable",value:function(){var a=this.w;if(this.selectionRect){var l=this.selectionRect.node.getBoundingClientRect();l.width>0&&l.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:a.globals.gridWidth,maxY:a.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var a=this.w,l=this.xyRatios;if(!a.globals.zoomEnabled){if(a.globals.selection!==void 0&&a.globals.selection!==null)this.drawSelectionRect(a.globals.selection);else if(a.config.chart.selection.xaxis.min!==void 0&&a.config.chart.selection.xaxis.max!==void 0){var u=(a.config.chart.selection.xaxis.min-a.globals.minX)/l.xRatio,p={x:u,y:0,width:a.globals.gridWidth-(a.globals.maxX-a.config.chart.selection.xaxis.max)/l.xRatio-u,height:a.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(p),this.makeSelectionRectDraggable(),typeof a.config.chart.events.selection=="function"&&a.config.chart.events.selection(this.ctx,{xaxis:{min:a.config.chart.selection.xaxis.min,max:a.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(a){var l=a.x,u=a.y,p=a.width,d=a.height,b=a.translateX,w=b===void 0?0:b,k=a.translateY,C=k===void 0?0:k,E=this.w,F=this.zoomRect,H=this.selectionRect;if(this.dragged||E.globals.selection!==null){var W={transform:"translate("+w+", "+C+")"};E.globals.zoomEnabled&&this.dragged&&(p<0&&(p=1),F.attr({x:l,y:u,width:p,height:d,fill:E.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":E.config.chart.zoom.zoomedArea.fill.opacity,stroke:E.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":E.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":E.config.chart.zoom.zoomedArea.stroke.opacity}),j.setAttrs(F.node,W)),E.globals.selectionEnabled&&(H.attr({x:l,y:u,width:p>0?p:0,height:d>0?d:0,fill:E.config.chart.selection.fill.color,"fill-opacity":E.config.chart.selection.fill.opacity,stroke:E.config.chart.selection.stroke.color,"stroke-width":E.config.chart.selection.stroke.width,"stroke-dasharray":E.config.chart.selection.stroke.dashArray,"stroke-opacity":E.config.chart.selection.stroke.opacity}),j.setAttrs(H.node,W))}}},{key:"hideSelectionRect",value:function(a){a&&a.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(a){var l=a.context,u=a.zoomtype,p=this.w,d=l,b=this.gridRect.getBoundingClientRect(),w=d.startX-1,k=d.startY,C=!1,E=!1,F=d.clientX-b.left-w,H=d.clientY-b.top-k,W={};return Math.abs(F+w)>p.globals.gridWidth?F=p.globals.gridWidth-w:d.clientX-b.left<0&&(F=w),w>d.clientX-b.left&&(C=!0,F=Math.abs(F)),k>d.clientY-b.top&&(E=!0,H=Math.abs(H)),W=u==="x"?{x:C?w-F:w,y:0,width:F,height:p.globals.gridHeight}:u==="y"?{x:0,y:E?k-H:k,width:p.globals.gridWidth,height:H}:{x:C?w-F:w,y:E?k-H:k,width:F,height:H},d.drawSelectionRect(W),d.selectionDragging("resizing"),W}},{key:"selectionDragging",value:function(a,l){var u=this,p=this.w,d=this.xyRatios,b=this.selectionRect,w=0;a==="resizing"&&(w=30);var k=function(E){return parseFloat(b.node.getAttribute(E))},C={x:k("x"),y:k("y"),width:k("width"),height:k("height")};p.globals.selection=C,typeof p.config.chart.events.selection=="function"&&p.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var E=u.gridRect.getBoundingClientRect(),F=b.node.getBoundingClientRect(),H={xaxis:{min:p.globals.xAxisScale.niceMin+(F.left-E.left)*d.xRatio,max:p.globals.xAxisScale.niceMin+(F.right-E.left)*d.xRatio},yaxis:{min:p.globals.yAxisScale[0].niceMin+(E.bottom-F.bottom)*d.yRatio[0],max:p.globals.yAxisScale[0].niceMax-(F.top-E.top)*d.yRatio[0]}};p.config.chart.events.selection(u.ctx,H),p.config.chart.brush.enabled&&p.config.chart.events.brushScrolled!==void 0&&p.config.chart.events.brushScrolled(u.ctx,H)},w))}},{key:"selectionDrawn",value:function(a){var l=a.context,u=a.zoomtype,p=this.w,d=l,b=this.xyRatios,w=this.ctx.toolbar;if(d.startX>d.endX){var k=d.startX;d.startX=d.endX,d.endX=k}if(d.startY>d.endY){var C=d.startY;d.startY=d.endY,d.endY=C}var E=void 0,F=void 0;p.globals.isRangeBar?(E=p.globals.yAxisScale[0].niceMin+d.startX*b.invertedYRatio,F=p.globals.yAxisScale[0].niceMin+d.endX*b.invertedYRatio):(E=p.globals.xAxisScale.niceMin+d.startX*b.xRatio,F=p.globals.xAxisScale.niceMin+d.endX*b.xRatio);var H=[],W=[];if(p.config.yaxis.forEach(function(Q,be){H.push(p.globals.yAxisScale[be].niceMax-b.yRatio[be]*d.startY),W.push(p.globals.yAxisScale[be].niceMax-b.yRatio[be]*d.endY)}),d.dragged&&(d.dragX>10||d.dragY>10)&&E!==F){if(p.globals.zoomEnabled){var U=T.clone(p.globals.initialConfig.yaxis),Z=T.clone(p.globals.initialConfig.xaxis);if(p.globals.zoomed=!0,p.config.xaxis.convertedCatToNumeric&&(E=Math.floor(E),F=Math.floor(F),E<1&&(E=1,F=p.globals.dataPoints),F-E<2&&(F=E+1)),u!=="xy"&&u!=="x"||(Z={min:E,max:F}),u!=="xy"&&u!=="y"||U.forEach(function(Q,be){U[be].min=W[be],U[be].max=H[be]}),p.config.chart.zoom.autoScaleYaxis){var ie=new Oe(d.ctx);U=ie.autoScaleY(d.ctx,U,{xaxis:Z})}if(w){var se=w.getBeforeZoomRange(Z,U);se&&(Z=se.xaxis?se.xaxis:Z,U=se.yaxis?se.yaxis:U)}var _={xaxis:Z};p.config.chart.group||(_.yaxis=U),d.ctx.updateHelpers._updateOptions(_,!1,d.w.config.chart.animations.dynamicAnimation.enabled),typeof p.config.chart.events.zoomed=="function"&&w.zoomCallback(Z,U)}else if(p.globals.selectionEnabled){var D,R=null;D={min:E,max:F},u!=="xy"&&u!=="y"||(R=T.clone(p.config.yaxis)).forEach(function(Q,be){R[be].min=W[be],R[be].max=H[be]}),p.globals.selection=d.selection,typeof p.config.chart.events.selection=="function"&&p.config.chart.events.selection(d.ctx,{xaxis:D,yaxis:R})}}}},{key:"panDragging",value:function(a){var l=a.context,u=this.w,p=l;if(u.globals.lastClientPosition.x!==void 0){var d=u.globals.lastClientPosition.x-p.clientX,b=u.globals.lastClientPosition.y-p.clientY;Math.abs(d)>Math.abs(b)&&d>0?this.moveDirection="left":Math.abs(d)>Math.abs(b)&&d<0?this.moveDirection="right":Math.abs(b)>Math.abs(d)&&b>0?this.moveDirection="up":Math.abs(b)>Math.abs(d)&&b<0&&(this.moveDirection="down")}u.globals.lastClientPosition={x:p.clientX,y:p.clientY};var w=u.globals.isRangeBar?u.globals.minY:u.globals.minX,k=u.globals.isRangeBar?u.globals.maxY:u.globals.maxX;u.config.xaxis.convertedCatToNumeric||p.panScrolled(w,k)}},{key:"delayedPanScrolled",value:function(){var a=this.w,l=a.globals.minX,u=a.globals.maxX,p=(a.globals.maxX-a.globals.minX)/2;this.moveDirection==="left"?(l=a.globals.minX+p,u=a.globals.maxX+p):this.moveDirection==="right"&&(l=a.globals.minX-p,u=a.globals.maxX-p),l=Math.floor(l),u=Math.floor(u),this.updateScrolledChart({xaxis:{min:l,max:u}},l,u)}},{key:"panScrolled",value:function(a,l){var u=this.w,p=this.xyRatios,d=T.clone(u.globals.initialConfig.yaxis),b=p.xRatio,w=u.globals.minX,k=u.globals.maxX;u.globals.isRangeBar&&(b=p.invertedYRatio,w=u.globals.minY,k=u.globals.maxY),this.moveDirection==="left"?(a=w+u.globals.gridWidth/15*b,l=k+u.globals.gridWidth/15*b):this.moveDirection==="right"&&(a=w-u.globals.gridWidth/15*b,l=k-u.globals.gridWidth/15*b),u.globals.isRangeBar||(a<u.globals.initialMinX||l>u.globals.initialMaxX)&&(a=w,l=k);var C={min:a,max:l};u.config.chart.zoom.autoScaleYaxis&&(d=new Oe(this.ctx).autoScaleY(this.ctx,d,{xaxis:C}));var E={xaxis:{min:a,max:l}};u.config.chart.group||(E.yaxis=d),this.updateScrolledChart(E,a,l)}},{key:"updateScrolledChart",value:function(a,l,u){var p=this.w;this.ctx.updateHelpers._updateOptions(a,!1,!1),typeof p.config.chart.events.scrolled=="function"&&p.config.chart.events.scrolled(this.ctx,{xaxis:{min:l,max:u}})}}]),n}(),kt=function(){function J(r){g(this,J),this.w=r.w,this.ttCtx=r,this.ctx=r.ctx}return y(J,[{key:"getNearestValues",value:function(r){var n=r.hoverArea,a=r.elGrid,l=r.clientX,u=r.clientY,p=this.w,d=a.getBoundingClientRect(),b=d.width,w=d.height,k=b/(p.globals.dataPoints-1),C=w/p.globals.dataPoints,E=this.hasBars();!p.globals.comboCharts&&!E||p.config.xaxis.convertedCatToNumeric||(k=b/p.globals.dataPoints);var F=l-d.left-p.globals.barPadForNumericAxis,H=u-d.top;F<0||H<0||F>b||H>w?(n.classList.remove("hovering-zoom"),n.classList.remove("hovering-pan")):p.globals.zoomEnabled?(n.classList.remove("hovering-pan"),n.classList.add("hovering-zoom")):p.globals.panEnabled&&(n.classList.remove("hovering-zoom"),n.classList.add("hovering-pan"));var W=Math.round(F/k),U=Math.floor(H/C);E&&!p.config.xaxis.convertedCatToNumeric&&(W=Math.ceil(F/k),W-=1);var Z=null,ie=null,se=[],_=[];if(p.globals.seriesXvalues.forEach(function(be){se.push([be[0]+1e-6].concat(be))}),p.globals.seriesYvalues.forEach(function(be){_.push([be[0]+1e-6].concat(be))}),se=se.map(function(be){return be.filter(function(Re){return T.isNumber(Re)})}),_=_.map(function(be){return be.filter(function(Re){return T.isNumber(Re)})}),p.globals.isXNumeric){var D=this.ttCtx.getElGrid().getBoundingClientRect(),R=F*(D.width/b),Q=H*(D.height/w);Z=(ie=this.closestInMultiArray(R,Q,se,_)).index,W=ie.j,Z!==null&&(se=p.globals.seriesXvalues[Z],W=(ie=this.closestInArray(R,se)).index)}return p.globals.capturedSeriesIndex=Z===null?-1:Z,(!W||W<1)&&(W=0),p.globals.isBarHorizontal?p.globals.capturedDataPointIndex=U:p.globals.capturedDataPointIndex=W,{capturedSeries:Z,j:p.globals.isBarHorizontal?U:W,hoverX:F,hoverY:H}}},{key:"closestInMultiArray",value:function(r,n,a,l){var u=this.w,p=0,d=null,b=-1;u.globals.series.length>1?p=this.getFirstActiveXArray(a):d=0;var w=a[p][0],k=Math.abs(r-w);if(a.forEach(function(F){F.forEach(function(H,W){var U=Math.abs(r-H);U<k&&(k=U,b=W)})}),b!==-1){var C=l[p][b],E=Math.abs(n-C);d=p,l.forEach(function(F,H){var W=Math.abs(n-F[b]);W<E&&(E=W,d=H)})}return{index:d,j:b}}},{key:"getFirstActiveXArray",value:function(r){for(var n=this.w,a=0,l=r.map(function(p,d){return p.length>0?d:-1}),u=0;u<l.length;u++)if(l[u]!==-1&&n.globals.collapsedSeriesIndices.indexOf(u)===-1&&n.globals.ancillaryCollapsedSeriesIndices.indexOf(u)===-1){a=l[u];break}return a}},{key:"closestInArray",value:function(r,n){for(var a=n[0],l=null,u=Math.abs(r-a),p=0;p<n.length;p++){var d=Math.abs(r-n[p]);d<u&&(u=d,l=p)}return{index:l}}},{key:"isXoverlap",value:function(r){var n=[],a=this.w.globals.seriesX.filter(function(u){return u[0]!==void 0});if(a.length>0)for(var l=0;l<a.length-1;l++)a[l][r]!==void 0&&a[l+1][r]!==void 0&&a[l][r]!==a[l+1][r]&&n.push("unEqual");return n.length===0}},{key:"isInitialSeriesSameLen",value:function(){for(var r=!0,n=this.w.globals.initialSeries,a=0;a<n.length-1;a++)if(n[a].data.length!==n[a+1].data.length){r=!1;break}return r}},{key:"getBarsHeight",value:function(r){return ee(r).reduce(function(n,a){return n+a.getBBox().height},0)}},{key:"getElMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(" .apexcharts-series-markers")}},{key:"getAllMarkers",value:function(){var r=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");(r=ee(r)).sort(function(a,l){var u=Number(a.getAttribute("data:realIndex")),p=Number(l.getAttribute("data:realIndex"));return p<u?1:p>u?-1:0});var n=[];return r.forEach(function(a){n.push(a.querySelector(".apexcharts-marker"))}),n}},{key:"hasMarkers",value:function(){return this.getElMarkers().length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(r){var n=this.w,a=n.config.markers.hover.size;return a===void 0&&(a=n.globals.markers.size[r]+n.config.markers.hover.sizeOffset),a}},{key:"toggleAllTooltipSeriesGroups",value:function(r){var n=this.w,a=this.ttCtx;a.allTooltipSeriesGroups.length===0&&(a.allTooltipSeriesGroups=n.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var l=a.allTooltipSeriesGroups,u=0;u<l.length;u++)r==="enable"?(l[u].classList.add("apexcharts-active"),l[u].style.display=n.config.tooltip.items.display):(l[u].classList.remove("apexcharts-active"),l[u].style.display="none")}}]),J}(),Ee=function(){function J(r){g(this,J),this.w=r.w,this.ctx=r.ctx,this.ttCtx=r,this.tooltipUtil=new kt(r)}return y(J,[{key:"drawSeriesTexts",value:function(r){var n=r.shared,a=n===void 0||n,l=r.ttItems,u=r.i,p=u===void 0?0:u,d=r.j,b=d===void 0?null:d,w=r.y1,k=r.y2,C=r.e,E=this.w;E.config.tooltip.custom!==void 0?this.handleCustomTooltip({i:p,j:b,y1:w,y2:k,w:E}):this.toggleActiveInactiveSeries(a);var F=this.getValuesToPrint({i:p,j:b});this.printLabels({i:p,j:b,values:F,ttItems:l,shared:a,e:C});var H=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=H.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=H.getBoundingClientRect().height}},{key:"printLabels",value:function(r){var n,a=this,l=r.i,u=r.j,p=r.values,d=r.ttItems,b=r.shared,w=r.e,k=this.w,C=[],E=function(D){return k.globals.seriesGoals[D]&&k.globals.seriesGoals[D][u]&&Array.isArray(k.globals.seriesGoals[D][u])},F=p.xVal,H=p.zVal,W=p.xAxisTTVal,U="",Z=k.globals.colors[l];u!==null&&k.config.plotOptions.bar.distributed&&(Z=k.globals.colors[u]);for(var ie=function(D,R){var Q=a.getFormatters(l);U=a.getSeriesName({fn:Q.yLbTitleFormatter,index:l,seriesIndex:l,j:u}),k.config.chart.type==="treemap"&&(U=Q.yLbTitleFormatter(String(k.config.series[l].data[u].x),{series:k.globals.series,seriesIndex:l,dataPointIndex:u,w:k}));var be=k.config.tooltip.inverseOrder?R:D;if(k.globals.axisCharts){var Re=function(Ie){return Q.yLbFormatter(k.globals.series[Ie][u],{series:k.globals.series,seriesIndex:Ie,dataPointIndex:u,w:k})};if(b)Q=a.getFormatters(be),U=a.getSeriesName({fn:Q.yLbTitleFormatter,index:be,seriesIndex:l,j:u}),Z=k.globals.colors[be],n=Re(be),E(be)&&(C=k.globals.seriesGoals[be][u].map(function(Ie){return{attrs:Ie,val:Q.yLbFormatter(Ie.value,{seriesIndex:be,dataPointIndex:u,w:k})}}));else{var _e,Qe=w==null||(_e=w.target)===null||_e===void 0?void 0:_e.getAttribute("fill");Qe&&(Z=Qe.indexOf("url")!==-1?document.querySelector(Qe.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke"):Qe),n=Re(l),E(l)&&Array.isArray(k.globals.seriesGoals[l][u])&&(C=k.globals.seriesGoals[l][u].map(function(Ie){return{attrs:Ie,val:Q.yLbFormatter(Ie.value,{seriesIndex:l,dataPointIndex:u,w:k})}}))}}u===null&&(n=Q.yLbFormatter(k.globals.series[l],c(c({},k),{},{seriesIndex:l,dataPointIndex:l}))),a.DOMHandling({i:l,t:be,j:u,ttItems:d,values:{val:n,goalVals:C,xVal:F,xAxisTTVal:W,zVal:H},seriesName:U,shared:b,pColor:Z})},se=0,_=k.globals.series.length-1;se<k.globals.series.length;se++,_--)ie(se,_)}},{key:"getFormatters",value:function(r){var n,a=this.w,l=a.globals.yLabelFormatters[r];return a.globals.ttVal!==void 0?Array.isArray(a.globals.ttVal)?(l=a.globals.ttVal[r]&&a.globals.ttVal[r].formatter,n=a.globals.ttVal[r]&&a.globals.ttVal[r].title&&a.globals.ttVal[r].title.formatter):(l=a.globals.ttVal.formatter,typeof a.globals.ttVal.title.formatter=="function"&&(n=a.globals.ttVal.title.formatter)):n=a.config.tooltip.y.title.formatter,typeof l!="function"&&(l=a.globals.yLabelFormatters[0]?a.globals.yLabelFormatters[0]:function(u){return u}),typeof n!="function"&&(n=function(u){return u}),{yLbFormatter:l,yLbTitleFormatter:n}}},{key:"getSeriesName",value:function(r){var n=r.fn,a=r.index,l=r.seriesIndex,u=r.j,p=this.w;return n(String(p.globals.seriesNames[a]),{series:p.globals.series,seriesIndex:l,dataPointIndex:u,w:p})}},{key:"DOMHandling",value:function(r){r.i;var n=r.t,a=r.j,l=r.ttItems,u=r.values,p=r.seriesName,d=r.shared,b=r.pColor,w=this.w,k=this.ttCtx,C=u.val,E=u.goalVals,F=u.xVal,H=u.xAxisTTVal,W=u.zVal,U=null;U=l[n].children,w.config.tooltip.fillSeriesColor&&(l[n].style.backgroundColor=b,U[0].style.display="none"),k.showTooltipTitle&&(k.tooltipTitle===null&&(k.tooltipTitle=w.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),k.tooltipTitle.innerHTML=F),k.isXAxisTooltipEnabled&&(k.xaxisTooltipText.innerHTML=H!==""?H:F);var Z=l[n].querySelector(".apexcharts-tooltip-text-y-label");Z&&(Z.innerHTML=p||"");var ie=l[n].querySelector(".apexcharts-tooltip-text-y-value");ie&&(ie.innerHTML=C!==void 0?C:""),U[0]&&U[0].classList.contains("apexcharts-tooltip-marker")&&(w.config.tooltip.marker.fillColors&&Array.isArray(w.config.tooltip.marker.fillColors)&&(b=w.config.tooltip.marker.fillColors[n]),U[0].style.backgroundColor=b),w.config.tooltip.marker.show||(U[0].style.display="none");var se=l[n].querySelector(".apexcharts-tooltip-text-goals-label"),_=l[n].querySelector(".apexcharts-tooltip-text-goals-value");if(E.length&&w.globals.seriesGoals[n]){var D=function(){var R="<div >",Q="<div>";E.forEach(function(be,Re){R+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(be.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(be.attrs.name,"</div>"),Q+="<div>".concat(be.val,"</div>")}),se.innerHTML=R+"</div>",_.innerHTML=Q+"</div>"};d?w.globals.seriesGoals[n][a]&&Array.isArray(w.globals.seriesGoals[n][a])?D():(se.innerHTML="",_.innerHTML=""):D()}else se.innerHTML="",_.innerHTML="";W!==null&&(l[n].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=w.config.tooltip.z.title,l[n].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=W!==void 0?W:""),d&&U[0]&&(C==null||w.globals.ancillaryCollapsedSeriesIndices.indexOf(n)>-1||w.globals.collapsedSeriesIndices.indexOf(n)>-1?U[0].parentNode.style.display="none":U[0].parentNode.style.display=w.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(r){var n=this.w;if(r)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var a=n.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");a&&(a.classList.add("apexcharts-active"),a.style.display=n.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(r){var n=r.i,a=r.j,l=this.w,u=this.ctx.series.filteredSeriesX(),p="",d="",b=null,w=null,k={series:l.globals.series,seriesIndex:n,dataPointIndex:a,w:l},C=l.globals.ttZFormatter;a===null?w=l.globals.series[n]:l.globals.isXNumeric&&l.config.chart.type!=="treemap"?(p=u[n][a],u[n].length===0&&(p=u[this.tooltipUtil.getFirstActiveXArray(u)][a])):p=l.globals.labels[a]!==void 0?l.globals.labels[a]:"";var E=p;return l.globals.isXNumeric&&l.config.xaxis.type==="datetime"?p=new at(this.ctx).xLabelFormat(l.globals.ttKeyFormatter,E,E,{i:void 0,dateFormatter:new ne(this.ctx).formatDate,w:this.w}):p=l.globals.isBarHorizontal?l.globals.yLabelFormatters[0](E,k):l.globals.xLabelFormatter(E,k),l.config.tooltip.x.formatter!==void 0&&(p=l.globals.ttKeyFormatter(E,k)),l.globals.seriesZ.length>0&&l.globals.seriesZ[n].length>0&&(b=C(l.globals.seriesZ[n][a],l)),d=typeof l.config.xaxis.tooltip.formatter=="function"?l.globals.xaxisTooltipFormatter(E,k):p,{val:Array.isArray(w)?w.join(" "):w,xVal:Array.isArray(p)?p.join(" "):p,xAxisTTVal:Array.isArray(d)?d.join(" "):d,zVal:b}}},{key:"handleCustomTooltip",value:function(r){var n=r.i,a=r.j,l=r.y1,u=r.y2,p=r.w,d=this.ttCtx.getElTooltip(),b=p.config.tooltip.custom;Array.isArray(b)&&b[n]&&(b=b[n]),d.innerHTML=b({ctx:this.ctx,series:p.globals.series,seriesIndex:n,dataPointIndex:a,y1:l,y2:u,w:p})}}]),J}(),qe=function(){function J(r){g(this,J),this.ttCtx=r,this.ctx=r.ctx,this.w=r.w}return y(J,[{key:"moveXCrosshairs",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.ttCtx,l=this.w,u=a.getElXCrosshairs(),p=r-a.xcrosshairsWidth/2,d=l.globals.labels.slice().length;if(n!==null&&(p=l.globals.gridWidth/d*n),u===null||l.globals.isBarHorizontal||(u.setAttribute("x",p),u.setAttribute("x1",p),u.setAttribute("x2",p),u.setAttribute("y2",l.globals.gridHeight),u.classList.add("apexcharts-active")),p<0&&(p=0),p>l.globals.gridWidth&&(p=l.globals.gridWidth),a.isXAxisTooltipEnabled){var b=p;l.config.xaxis.crosshairs.width!=="tickWidth"&&l.config.xaxis.crosshairs.width!=="barWidth"||(b=p+a.xcrosshairsWidth/2),this.moveXAxisTooltip(b)}}},{key:"moveYCrosshairs",value:function(r){var n=this.ttCtx;n.ycrosshairs!==null&&j.setAttrs(n.ycrosshairs,{y1:r,y2:r}),n.ycrosshairsHidden!==null&&j.setAttrs(n.ycrosshairsHidden,{y1:r,y2:r})}},{key:"moveXAxisTooltip",value:function(r){var n=this.w,a=this.ttCtx;if(a.xaxisTooltip!==null&&a.xcrosshairsWidth!==0){a.xaxisTooltip.classList.add("apexcharts-active");var l=a.xaxisOffY+n.config.xaxis.tooltip.offsetY+n.globals.translateY+1+n.config.xaxis.offsetY;if(r-=a.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(r)){r+=n.globals.translateX;var u;u=new j(this.ctx).getTextRects(a.xaxisTooltipText.innerHTML),a.xaxisTooltipText.style.minWidth=u.width+"px",a.xaxisTooltip.style.left=r+"px",a.xaxisTooltip.style.top=l+"px"}}}},{key:"moveYAxisTooltip",value:function(r){var n=this.w,a=this.ttCtx;a.yaxisTTEls===null&&(a.yaxisTTEls=n.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var l=parseInt(a.ycrosshairsHidden.getAttribute("y1"),10),u=n.globals.translateY+l,p=a.yaxisTTEls[r].getBoundingClientRect().height,d=n.globals.translateYAxisX[r]-2;n.config.yaxis[r].opposite&&(d-=26),u-=p/2,n.globals.ignoreYAxisIndexes.indexOf(r)===-1?(a.yaxisTTEls[r].classList.add("apexcharts-active"),a.yaxisTTEls[r].style.top=u+"px",a.yaxisTTEls[r].style.left=d+n.config.yaxis[r].tooltip.offsetX+"px"):a.yaxisTTEls[r].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=this.w,u=this.ttCtx,p=u.getElTooltip(),d=u.tooltipRect,b=a!==null?parseFloat(a):1,w=parseFloat(r)+b+5,k=parseFloat(n)+b/2;if(w>l.globals.gridWidth/2&&(w=w-d.ttWidth-b-10),w>l.globals.gridWidth-d.ttWidth-10&&(w=l.globals.gridWidth-d.ttWidth),w<-20&&(w=-20),l.config.tooltip.followCursor){var C=u.getElGrid(),E=C.getBoundingClientRect();k=u.e.clientY+l.globals.translateY-E.top-d.ttHeight/2}else l.globals.isBarHorizontal||(d.ttHeight/2+k>l.globals.gridHeight&&(k=l.globals.gridHeight-d.ttHeight+l.globals.translateY),k<0&&(k=0));isNaN(w)||(w+=l.globals.translateX,p.style.left=w+"px",p.style.top=k+"px")}},{key:"moveMarkers",value:function(r,n){var a=this.w,l=this.ttCtx;if(a.globals.markers.size[r]>0)for(var u=a.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(r,"'] .apexcharts-marker")),p=0;p<u.length;p++)parseInt(u[p].getAttribute("rel"),10)===n&&(l.marker.resetPointsSize(),l.marker.enlargeCurrentPoint(n,u[p]));else l.marker.resetPointsSize(),this.moveDynamicPointOnHover(n,r)}},{key:"moveDynamicPointOnHover",value:function(r,n){var a,l,u=this.w,p=this.ttCtx,d=u.globals.pointsArray,b=p.tooltipUtil.getHoverMarkerSize(n),w=u.config.series[n].type;if(!w||w!=="column"&&w!=="candlestick"&&w!=="boxPlot"){a=d[n][r][0],l=d[n][r][1]?d[n][r][1]:0;var k=u.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(n,"'] .apexcharts-series-markers circle"));k&&l<u.globals.gridHeight&&l>0&&(k.setAttribute("r",b),k.setAttribute("cx",a),k.setAttribute("cy",l)),this.moveXCrosshairs(a),p.fixedTooltip||this.moveTooltip(a,l,b)}}},{key:"moveDynamicPointsOnHover",value:function(r){var n,a=this.ttCtx,l=a.w,u=0,p=0,d=l.globals.pointsArray;n=new ot(this.ctx).getActiveConfigSeriesIndex(!0);var b=a.tooltipUtil.getHoverMarkerSize(n);d[n]&&(u=d[n][r][0],p=d[n][r][1]);var w=a.tooltipUtil.getAllMarkers();if(w!==null)for(var k=0;k<l.globals.series.length;k++){var C=d[k];if(l.globals.comboCharts&&C===void 0&&w.splice(k,0,null),C&&C.length){var E=d[k][r][1];w[k].setAttribute("cx",u),E!==null&&!isNaN(E)&&E<l.globals.gridHeight+b&&E+b>0?(w[k]&&w[k].setAttribute("r",b),w[k]&&w[k].setAttribute("cy",E)):w[k]&&w[k].setAttribute("r",0)}}if(this.moveXCrosshairs(u),!a.fixedTooltip){var F=p||l.globals.gridHeight;this.moveTooltip(u,F,b)}}},{key:"moveStickyTooltipOverBars",value:function(r){var n=this.w,a=this.ttCtx,l=n.globals.columnSeries?n.globals.columnSeries.length:n.globals.series.length,u=l>=2&&l%2==0?Math.floor(l/2):Math.floor(l/2)+1;n.globals.isBarHorizontal&&(u=new ot(this.ctx).getActiveConfigSeriesIndex(!1,"desc")+1);var p=n.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(u,"'] path[j='").concat(r,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(u,"'] path[j='").concat(r,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(u,"'] path[j='").concat(r,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(u,"'] path[j='").concat(r,"']")),d=p?parseFloat(p.getAttribute("cx")):0,b=p?parseFloat(p.getAttribute("cy")):0,w=p?parseFloat(p.getAttribute("barWidth")):0,k=p?parseFloat(p.getAttribute("barHeight")):0,C=a.getElGrid().getBoundingClientRect(),E=p.classList.contains("apexcharts-candlestick-area")||p.classList.contains("apexcharts-boxPlot-area");if(n.globals.isXNumeric?(p&&!E&&(d-=l%2!=0?w/2:0),p&&E&&n.globals.comboCharts&&(d-=w/2)):n.globals.isBarHorizontal||(d=a.xAxisTicksPositions[r-1]+a.dataPointsDividedWidth/2,isNaN(d)&&(d=a.xAxisTicksPositions[r]-a.dataPointsDividedWidth/2)),n.globals.isBarHorizontal?(b>n.globals.gridHeight/2&&(b-=a.tooltipRect.ttHeight),(b=b+n.config.grid.padding.top+k/3)+k>n.globals.gridHeight&&(b=n.globals.gridHeight-k)):n.config.tooltip.followCursor?b=a.e.clientY-C.top-a.tooltipRect.ttHeight/2:b+a.tooltipRect.ttHeight+15>n.globals.gridHeight&&(b=n.globals.gridHeight),b<-10&&(b=-10),n.globals.isBarHorizontal||this.moveXCrosshairs(d),!a.fixedTooltip){var F=b||n.globals.gridHeight;this.moveTooltip(d,F)}}}]),J}(),st=function(){function J(r){g(this,J),this.w=r.w,this.ttCtx=r,this.ctx=r.ctx,this.tooltipPosition=new qe(r)}return y(J,[{key:"drawDynamicPoints",value:function(){var r=this.w,n=new j(this.ctx),a=new he(this.ctx),l=r.globals.dom.baseEl.querySelectorAll(".apexcharts-series");l=ee(l),r.config.chart.stacked&&l.sort(function(C,E){return parseFloat(C.getAttribute("data:realIndex"))-parseFloat(E.getAttribute("data:realIndex"))});for(var u=0;u<l.length;u++){var p=l[u].querySelector(".apexcharts-series-markers-wrap");if(p!==null){var d=void 0,b="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));r.config.chart.type!=="line"&&r.config.chart.type!=="area"||r.globals.comboCharts||r.config.tooltip.intersect||(b+=" no-pointer-events");var w=a.getMarkerConfig({cssClass:b,seriesIndex:Number(p.getAttribute("data:realIndex"))});(d=n.drawMarker(0,0,w)).node.setAttribute("default-marker-size",0);var k=document.createElementNS(r.globals.SVGNS,"g");k.classList.add("apexcharts-series-markers"),k.appendChild(d.node),p.appendChild(k)}}}},{key:"enlargeCurrentPoint",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,u=this.w;u.config.chart.type!=="bubble"&&this.newPointSize(r,n);var p=n.getAttribute("cx"),d=n.getAttribute("cy");if(a!==null&&l!==null&&(p=a,d=l),this.tooltipPosition.moveXCrosshairs(p),!this.fixedTooltip){if(u.config.chart.type==="radar"){var b=this.ttCtx.getElGrid(),w=b.getBoundingClientRect();p=this.ttCtx.e.clientX-w.left}this.tooltipPosition.moveTooltip(p,d,u.config.markers.hover.size)}}},{key:"enlargePoints",value:function(r){for(var n=this.w,a=this,l=this.ttCtx,u=r,p=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),d=n.config.markers.hover.size,b=0;b<p.length;b++){var w=p[b].getAttribute("rel"),k=p[b].getAttribute("index");if(d===void 0&&(d=n.globals.markers.size[k]+n.config.markers.hover.sizeOffset),u===parseInt(w,10)){a.newPointSize(u,p[b]);var C=p[b].getAttribute("cx"),E=p[b].getAttribute("cy");a.tooltipPosition.moveXCrosshairs(C),l.fixedTooltip||a.tooltipPosition.moveTooltip(C,E,d)}else a.oldPointSize(p[b])}}},{key:"newPointSize",value:function(r,n){var a=this.w,l=a.config.markers.hover.size,u=r===0?n.parentNode.firstChild:n.parentNode.lastChild;if(u.getAttribute("default-marker-size")!=="0"){var p=parseInt(u.getAttribute("index"),10);l===void 0&&(l=a.globals.markers.size[p]+a.config.markers.hover.sizeOffset),l<0&&(l=0),u.setAttribute("r",l)}}},{key:"oldPointSize",value:function(r){var n=parseFloat(r.getAttribute("default-marker-size"));r.setAttribute("r",n)}},{key:"resetPointsSize",value:function(){for(var r=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),n=0;n<r.length;n++){var a=parseFloat(r[n].getAttribute("default-marker-size"));T.isNumber(a)&&a>=0?r[n].setAttribute("r",a):r[n].setAttribute("r",0)}}}]),J}(),nt=function(){function J(r){g(this,J),this.w=r.w,this.ttCtx=r}return y(J,[{key:"getAttr",value:function(r,n){return parseFloat(r.target.getAttribute(n))}},{key:"handleHeatTreeTooltip",value:function(r){var n=r.e,a=r.opt,l=r.x,u=r.y,p=r.type,d=this.ttCtx,b=this.w;if(n.target.classList.contains("apexcharts-".concat(p,"-rect"))){var w=this.getAttr(n,"i"),k=this.getAttr(n,"j"),C=this.getAttr(n,"cx"),E=this.getAttr(n,"cy"),F=this.getAttr(n,"width"),H=this.getAttr(n,"height");if(d.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:w,j:k,shared:!1,e:n}),b.globals.capturedSeriesIndex=w,b.globals.capturedDataPointIndex=k,l=C+d.tooltipRect.ttWidth/2+F,u=E+d.tooltipRect.ttHeight/2-H/2,d.tooltipPosition.moveXCrosshairs(C+F/2),l>b.globals.gridWidth/2&&(l=C-d.tooltipRect.ttWidth/2+F),d.w.config.tooltip.followCursor){var W=b.globals.dom.elWrap.getBoundingClientRect();l=b.globals.clientX-W.left-(l>b.globals.gridWidth/2?d.tooltipRect.ttWidth:0),u=b.globals.clientY-W.top-(u>b.globals.gridHeight/2?d.tooltipRect.ttHeight:0)}}return{x:l,y:u}}},{key:"handleMarkerTooltip",value:function(r){var n,a,l=r.e,u=r.opt,p=r.x,d=r.y,b=this.w,w=this.ttCtx;if(l.target.classList.contains("apexcharts-marker")){var k=parseInt(u.paths.getAttribute("cx"),10),C=parseInt(u.paths.getAttribute("cy"),10),E=parseFloat(u.paths.getAttribute("val"));if(a=parseInt(u.paths.getAttribute("rel"),10),n=parseInt(u.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,w.intersect){var F=T.findAncestor(u.paths,"apexcharts-series");F&&(n=parseInt(F.getAttribute("data:realIndex"),10))}if(w.tooltipLabels.drawSeriesTexts({ttItems:u.ttItems,i:n,j:a,shared:!w.showOnIntersect&&b.config.tooltip.shared,e:l}),l.type==="mouseup"&&w.markerClick(l,n,a),b.globals.capturedSeriesIndex=n,b.globals.capturedDataPointIndex=a,p=k,d=C+b.globals.translateY-1.4*w.tooltipRect.ttHeight,w.w.config.tooltip.followCursor){var H=w.getElGrid().getBoundingClientRect();d=w.e.clientY+b.globals.translateY-H.top}E<0&&(d=C),w.marker.enlargeCurrentPoint(a,u.paths,p,d)}return{x:p,y:d}}},{key:"handleBarTooltip",value:function(r){var n,a,l=r.e,u=r.opt,p=this.w,d=this.ttCtx,b=d.getElTooltip(),w=0,k=0,C=0,E=this.getBarTooltipXY({e:l,opt:u});n=E.i;var F=E.barHeight,H=E.j;p.globals.capturedSeriesIndex=n,p.globals.capturedDataPointIndex=H,p.globals.isBarHorizontal&&d.tooltipUtil.hasBars()||!p.config.tooltip.shared?(k=E.x,C=E.y,a=Array.isArray(p.config.stroke.width)?p.config.stroke.width[n]:p.config.stroke.width,w=k):p.globals.comboCharts||p.config.tooltip.shared||(w/=2),isNaN(C)?C=p.globals.svgHeight-d.tooltipRect.ttHeight:C<0&&(C=0);var W=parseInt(u.paths.parentNode.getAttribute("data:realIndex"),10),U=p.globals.isMultipleYAxis?p.config.yaxis[W]&&p.config.yaxis[W].reversed:p.config.yaxis[0].reversed;if(k+d.tooltipRect.ttWidth>p.globals.gridWidth&&!U?k-=d.tooltipRect.ttWidth:k<0&&(k=0),d.w.config.tooltip.followCursor){var Z=d.getElGrid().getBoundingClientRect();C=d.e.clientY-Z.top}d.tooltip===null&&(d.tooltip=p.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),p.config.tooltip.shared||(p.globals.comboBarCount>0?d.tooltipPosition.moveXCrosshairs(w+a/2):d.tooltipPosition.moveXCrosshairs(w)),!d.fixedTooltip&&(!p.config.tooltip.shared||p.globals.isBarHorizontal&&d.tooltipUtil.hasBars())&&(U&&(k-=d.tooltipRect.ttWidth)<0&&(k=0),!U||p.globals.isBarHorizontal&&d.tooltipUtil.hasBars()||(C=C+F-2*(p.globals.series[n][H]<0?F:0)),d.tooltipRect.ttHeight+C>p.globals.gridHeight?C=p.globals.gridHeight-d.tooltipRect.ttHeight+p.globals.translateY:(C=C+p.globals.translateY-d.tooltipRect.ttHeight/2)<0&&(C=0),b.style.left=k+p.globals.translateX+"px",b.style.top=C+"px")}},{key:"getBarTooltipXY",value:function(r){var n=r.e,a=r.opt,l=this.w,u=null,p=this.ttCtx,d=0,b=0,w=0,k=0,C=0,E=n.target.classList;if(E.contains("apexcharts-bar-area")||E.contains("apexcharts-candlestick-area")||E.contains("apexcharts-boxPlot-area")||E.contains("apexcharts-rangebar-area")){var F=n.target,H=F.getBoundingClientRect(),W=a.elGrid.getBoundingClientRect(),U=H.height;C=H.height;var Z=H.width,ie=parseInt(F.getAttribute("cx"),10),se=parseInt(F.getAttribute("cy"),10);k=parseFloat(F.getAttribute("barWidth"));var _=n.type==="touchmove"?n.touches[0].clientX:n.clientX;u=parseInt(F.getAttribute("j"),10),d=parseInt(F.parentNode.getAttribute("rel"),10)-1;var D=F.getAttribute("data-range-y1"),R=F.getAttribute("data-range-y2");l.globals.comboCharts&&(d=parseInt(F.parentNode.getAttribute("data:realIndex"),10)),p.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:d,j:u,y1:D?parseInt(D,10):null,y2:R?parseInt(R,10):null,shared:!p.showOnIntersect&&l.config.tooltip.shared,e:n}),l.config.tooltip.followCursor?l.globals.isBarHorizontal?(b=_-W.left+15,w=se-p.dataPointsDividedHeight+U/2-p.tooltipRect.ttHeight/2):(b=l.globals.isXNumeric?ie-Z/2:ie-p.dataPointsDividedWidth+Z/2,w=n.clientY-W.top-p.tooltipRect.ttHeight/2-15):l.globals.isBarHorizontal?((b=ie)<p.xyRatios.baseLineInvertedY&&(b=ie-p.tooltipRect.ttWidth),w=se-p.dataPointsDividedHeight+U/2-p.tooltipRect.ttHeight/2):(b=l.globals.isXNumeric?ie-Z/2:ie-p.dataPointsDividedWidth+Z/2,w=se)}return{x:b,y:w,barHeight:C,barWidth:k,i:d,j:u}}}]),J}(),xt=function(){function J(r){g(this,J),this.w=r.w,this.ttCtx=r}return y(J,[{key:"drawXaxisTooltip",value:function(){var r=this.w,n=this.ttCtx,a=r.config.xaxis.position==="bottom";n.xaxisOffY=a?r.globals.gridHeight+1:-r.globals.xAxisHeight-r.config.xaxis.axisTicks.height+3;var l=a?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",u=r.globals.dom.elWrap;n.isXAxisTooltipEnabled&&r.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")===null&&(n.xaxisTooltip=document.createElement("div"),n.xaxisTooltip.setAttribute("class",l+" apexcharts-theme-"+r.config.tooltip.theme),u.appendChild(n.xaxisTooltip),n.xaxisTooltipText=document.createElement("div"),n.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),n.xaxisTooltipText.style.fontFamily=r.config.xaxis.tooltip.style.fontFamily||r.config.chart.fontFamily,n.xaxisTooltipText.style.fontSize=r.config.xaxis.tooltip.style.fontSize,n.xaxisTooltip.appendChild(n.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var r=this.w,n=this.ttCtx,a=function(u){var p=r.config.yaxis[u].opposite||r.config.yaxis[u].crosshairs.opposite;n.yaxisOffX=p?r.globals.gridWidth+1:1;var d="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(u,p?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left");r.globals.yAxisSameScaleIndices.map(function(w,k){w.map(function(C,E){E===u&&(d+=r.config.yaxis[E].show?" ":" apexcharts-yaxistooltip-hidden")})});var b=r.globals.dom.elWrap;r.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(u))===null&&(n.yaxisTooltip=document.createElement("div"),n.yaxisTooltip.setAttribute("class",d+" apexcharts-theme-"+r.config.tooltip.theme),b.appendChild(n.yaxisTooltip),u===0&&(n.yaxisTooltipText=[]),n.yaxisTooltipText[u]=document.createElement("div"),n.yaxisTooltipText[u].classList.add("apexcharts-yaxistooltip-text"),n.yaxisTooltip.appendChild(n.yaxisTooltipText[u]))},l=0;l<r.config.yaxis.length;l++)a(l)}},{key:"setXCrosshairWidth",value:function(){var r=this.w,n=this.ttCtx,a=n.getElXCrosshairs();if(n.xcrosshairsWidth=parseInt(r.config.xaxis.crosshairs.width,10),r.globals.comboCharts){var l=r.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(l!==null&&r.config.xaxis.crosshairs.width==="barWidth"){var u=parseFloat(l.getAttribute("barWidth"));n.xcrosshairsWidth=u}else if(r.config.xaxis.crosshairs.width==="tickWidth"){var p=r.globals.labels.length;n.xcrosshairsWidth=r.globals.gridWidth/p}}else if(r.config.xaxis.crosshairs.width==="tickWidth"){var d=r.globals.labels.length;n.xcrosshairsWidth=r.globals.gridWidth/d}else if(r.config.xaxis.crosshairs.width==="barWidth"){var b=r.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(b!==null){var w=parseFloat(b.getAttribute("barWidth"));n.xcrosshairsWidth=w}else n.xcrosshairsWidth=1}r.globals.isBarHorizontal&&(n.xcrosshairsWidth=0),a!==null&&n.xcrosshairsWidth>0&&a.setAttribute("width",n.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var r=this.w,n=this.ttCtx;n.ycrosshairs=r.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),n.ycrosshairsHidden=r.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(r,n,a){var l=this.ttCtx,u=this.w,p=u.globals.yLabelFormatters[r];if(l.yaxisTooltips[r]){var d=l.getElGrid().getBoundingClientRect(),b=(n-d.top)*a.yRatio[r],w=u.globals.maxYArr[r]-u.globals.minYArr[r],k=u.globals.minYArr[r]+(w-b);l.tooltipPosition.moveYCrosshairs(n-d.top),l.yaxisTooltipText[r].innerHTML=p(k),l.tooltipPosition.moveYAxisTooltip(r)}}}]),J}(),Ct=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new kt(this),this.tooltipLabels=new Ee(this),this.tooltipPosition=new qe(this),this.marker=new st(this),this.intersect=new nt(this),this.axesTooltip=new xt(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return y(J,[{key:"getElTooltip",value:function(r){return r||(r=this),r.w.globals.dom.baseEl?r.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(r){var n=this.w;this.xyRatios=r,this.isXAxisTooltipEnabled=n.config.xaxis.tooltip.enabled&&n.globals.axisCharts,this.yaxisTooltips=n.config.yaxis.map(function(p,d){return!!(p.show&&p.tooltip.enabled&&n.globals.axisCharts)}),this.allTooltipSeriesGroups=[],n.globals.axisCharts||(this.showTooltipTitle=!1);var a=document.createElement("div");if(a.classList.add("apexcharts-tooltip"),n.config.tooltip.cssClass&&a.classList.add(n.config.tooltip.cssClass),a.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),n.globals.dom.elWrap.appendChild(a),n.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var l=new ue(this.ctx);this.xAxisTicksPositions=l.getXAxisTicksPositions()}if(!n.globals.comboCharts&&!this.tConfig.intersect&&n.config.chart.type!=="rangeBar"||this.tConfig.shared||(this.showOnIntersect=!0),n.config.markers.size!==0&&n.globals.markers.largestSize!==0||this.marker.drawDynamicPoints(this),n.globals.collapsedSeries.length!==n.globals.series.length){this.dataPointsDividedHeight=n.globals.gridHeight/n.globals.dataPoints,this.dataPointsDividedWidth=n.globals.gridWidth/n.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||n.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,a.appendChild(this.tooltipTitle));var u=n.globals.series.length;(n.globals.xyCharts||n.globals.comboCharts)&&this.tConfig.shared&&(u=this.showOnIntersect?1:n.globals.series.length),this.legendLabels=n.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(u),this.addSVGEvents()}}},{key:"createTTElements",value:function(r){for(var n=this,a=this.w,l=[],u=this.getElTooltip(),p=function(b){var w=document.createElement("div");w.classList.add("apexcharts-tooltip-series-group"),w.style.order=a.config.tooltip.inverseOrder?r-b:b+1,n.tConfig.shared&&n.tConfig.enabledOnSeries&&Array.isArray(n.tConfig.enabledOnSeries)&&n.tConfig.enabledOnSeries.indexOf(b)<0&&w.classList.add("apexcharts-tooltip-series-group-hidden");var k=document.createElement("span");k.classList.add("apexcharts-tooltip-marker"),k.style.backgroundColor=a.globals.colors[b],w.appendChild(k);var C=document.createElement("div");C.classList.add("apexcharts-tooltip-text"),C.style.fontFamily=n.tConfig.style.fontFamily||a.config.chart.fontFamily,C.style.fontSize=n.tConfig.style.fontSize,["y","goals","z"].forEach(function(E){var F=document.createElement("div");F.classList.add("apexcharts-tooltip-".concat(E,"-group"));var H=document.createElement("span");H.classList.add("apexcharts-tooltip-text-".concat(E,"-label")),F.appendChild(H);var W=document.createElement("span");W.classList.add("apexcharts-tooltip-text-".concat(E,"-value")),F.appendChild(W),C.appendChild(F)}),w.appendChild(C),u.appendChild(w),l.push(w)},d=0;d<r;d++)p(d);return l}},{key:"addSVGEvents",value:function(){var r=this.w,n=r.config.chart.type,a=this.getElTooltip(),l=!(n!=="bar"&&n!=="candlestick"&&n!=="boxPlot"&&n!=="rangeBar"),u=n==="area"||n==="line"||n==="scatter"||n==="bubble"||n==="radar",p=r.globals.dom.Paper.node,d=this.getElGrid();d&&(this.seriesBound=d.getBoundingClientRect());var b,w=[],k=[],C={hoverArea:p,elGrid:d,tooltipEl:a,tooltipY:w,tooltipX:k,ttItems:this.ttItems};if(r.globals.axisCharts&&(u?b=r.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):l?b=r.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):n!=="heatmap"&&n!=="treemap"||(b=r.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),b&&b.length))for(var E=0;E<b.length;E++)w.push(b[E].getAttribute("cy")),k.push(b[E].getAttribute("cx"));if(r.globals.xyCharts&&!this.showOnIntersect||r.globals.comboCharts&&!this.showOnIntersect||l&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([p],C);else if(l&&!r.globals.comboCharts||u&&this.showOnIntersect)this.addDatapointEventsListeners(C);else if(!r.globals.axisCharts||n==="heatmap"||n==="treemap"){var F=r.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(F,C)}if(this.showOnIntersect){var H=r.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");H.length>0&&this.addPathsEventListeners(H,C),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(C)}}},{key:"drawFixedTooltipRect",value:function(){var r=this.w,n=this.getElTooltip(),a=n.getBoundingClientRect(),l=a.width+10,u=a.height+10,p=this.tConfig.fixed.offsetX,d=this.tConfig.fixed.offsetY,b=this.tConfig.fixed.position.toLowerCase();return b.indexOf("right")>-1&&(p=p+r.globals.svgWidth-l+10),b.indexOf("bottom")>-1&&(d=d+r.globals.svgHeight-u-10),n.style.left=p+"px",n.style.top=d+"px",{x:p,y:d,ttWidth:l,ttHeight:u}}},{key:"addDatapointEventsListeners",value:function(r){var n=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(n,r)}},{key:"addPathsEventListeners",value:function(r,n){for(var a=this,l=function(p){var d={paths:r[p],tooltipEl:n.tooltipEl,tooltipY:n.tooltipY,tooltipX:n.tooltipX,elGrid:n.elGrid,hoverArea:n.hoverArea,ttItems:n.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map(function(b){return r[p].addEventListener(b,a.onSeriesHover.bind(a,d),{capture:!1,passive:!0})})},u=0;u<r.length;u++)l(u)}},{key:"onSeriesHover",value:function(r,n){var a=this,l=Date.now()-this.lastHoverTime;l>=100?this.seriesHover(r,n):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout(function(){a.seriesHover(r,n)},100-l))}},{key:"seriesHover",value:function(r,n){var a=this;this.lastHoverTime=Date.now();var l=[],u=this.w;u.config.chart.group&&(l=this.ctx.getGroupedCharts()),u.globals.axisCharts&&(u.globals.minX===-1/0&&u.globals.maxX===1/0||u.globals.dataPoints===0)||(l.length?l.forEach(function(p){var d=a.getElTooltip(p),b={paths:r.paths,tooltipEl:d,tooltipY:r.tooltipY,tooltipX:r.tooltipX,elGrid:r.elGrid,hoverArea:r.hoverArea,ttItems:p.w.globals.tooltip.ttItems};p.w.globals.minX===a.w.globals.minX&&p.w.globals.maxX===a.w.globals.maxX&&p.w.globals.tooltip.seriesHoverByContext({chartCtx:p,ttCtx:p.w.globals.tooltip,opt:b,e:n})}):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:r,e:n}))}},{key:"seriesHoverByContext",value:function(r){var n=r.chartCtx,a=r.ttCtx,l=r.opt,u=r.e,p=n.w,d=this.getElTooltip();d&&(a.tooltipRect={x:0,y:0,ttWidth:d.getBoundingClientRect().width,ttHeight:d.getBoundingClientRect().height},a.e=u,a.tooltipUtil.hasBars()&&!p.globals.comboCharts&&!a.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new ot(n).toggleSeriesOnHover(u,u.target.parentNode),a.fixedTooltip&&a.drawFixedTooltipRect(),p.globals.axisCharts?a.axisChartsTooltips({e:u,opt:l,tooltipRect:a.tooltipRect}):a.nonAxisChartsTooltips({e:u,opt:l,tooltipRect:a.tooltipRect}))}},{key:"axisChartsTooltips",value:function(r){var n,a,l=r.e,u=r.opt,p=this.w,d=u.elGrid.getBoundingClientRect(),b=l.type==="touchmove"?l.touches[0].clientX:l.clientX,w=l.type==="touchmove"?l.touches[0].clientY:l.clientY;if(this.clientY=w,this.clientX=b,p.globals.capturedSeriesIndex=-1,p.globals.capturedDataPointIndex=-1,w<d.top||w>d.top+d.height)this.handleMouseOut(u);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!p.config.tooltip.shared){var k=parseInt(u.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(k)<0)return void this.handleMouseOut(u)}var C=this.getElTooltip(),E=this.getElXCrosshairs(),F=p.globals.xyCharts||p.config.chart.type==="bar"&&!p.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||p.globals.comboCharts&&this.tooltipUtil.hasBars();if(l.type==="mousemove"||l.type==="touchmove"||l.type==="mouseup"){if(p.globals.collapsedSeries.length+p.globals.ancillaryCollapsedSeries.length===p.globals.series.length)return;E!==null&&E.classList.add("apexcharts-active");var H=this.yaxisTooltips.filter(function(Z){return Z===!0});if(this.ycrosshairs!==null&&H.length&&this.ycrosshairs.classList.add("apexcharts-active"),F&&!this.showOnIntersect)this.handleStickyTooltip(l,b,w,u);else if(p.config.chart.type==="heatmap"||p.config.chart.type==="treemap"){var W=this.intersect.handleHeatTreeTooltip({e:l,opt:u,x:n,y:a,type:p.config.chart.type});n=W.x,a=W.y,C.style.left=n+"px",C.style.top=a+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:l,opt:u}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:l,opt:u,x:n,y:a});if(this.yaxisTooltips.length)for(var U=0;U<p.config.yaxis.length;U++)this.axesTooltip.drawYaxisTooltipText(U,w,this.xyRatios);u.tooltipEl.classList.add("apexcharts-active")}else l.type!=="mouseout"&&l.type!=="touchend"||this.handleMouseOut(u)}}},{key:"nonAxisChartsTooltips",value:function(r){var n=r.e,a=r.opt,l=r.tooltipRect,u=this.w,p=a.paths.getAttribute("rel"),d=this.getElTooltip(),b=u.globals.dom.elWrap.getBoundingClientRect();if(n.type==="mousemove"||n.type==="touchmove"){d.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:parseInt(p,10)-1,shared:!1});var w=u.globals.clientX-b.left-l.ttWidth/2,k=u.globals.clientY-b.top-l.ttHeight-10;if(d.style.left=w+"px",d.style.top=k+"px",u.config.legend.tooltipHoverFormatter){var C=p-1,E=(0,u.config.legend.tooltipHoverFormatter)(this.legendLabels[C].getAttribute("data:default-text"),{seriesIndex:C,dataPointIndex:C,w:u});this.legendLabels[C].innerHTML=E}}else n.type!=="mouseout"&&n.type!=="touchend"||(d.classList.remove("apexcharts-active"),u.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach(function(F){var H=F.getAttribute("data:default-text");F.innerHTML=decodeURIComponent(H)}))}},{key:"handleStickyTooltip",value:function(r,n,a,l){var u=this.w,p=this.tooltipUtil.getNearestValues({context:this,hoverArea:l.hoverArea,elGrid:l.elGrid,clientX:n,clientY:a}),d=p.j,b=p.capturedSeries,w=l.elGrid.getBoundingClientRect();p.hoverX<0||p.hoverX>w.width?this.handleMouseOut(l):b!==null?this.handleStickyCapturedSeries(r,b,l,d):(this.tooltipUtil.isXoverlap(d)||u.globals.isBarHorizontal)&&this.create(r,this,0,d,l.ttItems)}},{key:"handleStickyCapturedSeries",value:function(r,n,a,l){var u=this.w;if(!this.tConfig.shared&&u.globals.series[n][l]===null)return void this.handleMouseOut(a);u.globals.series[n][l]!==void 0?this.tConfig.shared&&this.tooltipUtil.isXoverlap(l)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(r,this,n,l,a.ttItems):this.create(r,this,n,l,a.ttItems,!1):this.tooltipUtil.isXoverlap(l)&&this.create(r,this,0,l,a.ttItems)}},{key:"deactivateHoverFilter",value:function(){for(var r=this.w,n=new j(this.ctx),a=r.globals.dom.Paper.select(".apexcharts-bar-area"),l=0;l<a.length;l++)n.pathMouseLeave(a[l])}},{key:"handleMouseOut",value:function(r){var n=this.w,a=this.getElXCrosshairs();if(r.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),n.config.chart.type!=="bubble"&&this.marker.resetPointsSize(),a!==null&&a.classList.remove("apexcharts-active"),this.ycrosshairs!==null&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){this.yaxisTTEls===null&&(this.yaxisTTEls=n.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var l=0;l<this.yaxisTTEls.length;l++)this.yaxisTTEls[l].classList.remove("apexcharts-active")}n.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach(function(u){var p=u.getAttribute("data:default-text");u.innerHTML=decodeURIComponent(p)})}},{key:"markerClick",value:function(r,n,a){var l=this.w;typeof l.config.chart.events.markerClick=="function"&&l.config.chart.events.markerClick(r,this.ctx,{seriesIndex:n,dataPointIndex:a,w:l}),this.ctx.events.fireEvent("markerClick",[r,this.ctx,{seriesIndex:n,dataPointIndex:a,w:l}])}},{key:"create",value:function(r,n,a,l,u){var p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,d=this.w,b=n;r.type==="mouseup"&&this.markerClick(r,a,l),p===null&&(p=this.tConfig.shared);var w=this.tooltipUtil.hasMarkers(),k=this.tooltipUtil.getElBars();if(d.config.legend.tooltipHoverFormatter){var C=d.config.legend.tooltipHoverFormatter,E=Array.from(this.legendLabels);E.forEach(function(D){var R=D.getAttribute("data:default-text");D.innerHTML=decodeURIComponent(R)});for(var F=0;F<E.length;F++){var H=E[F],W=parseInt(H.getAttribute("i"),10),U=decodeURIComponent(H.getAttribute("data:default-text")),Z=C(U,{seriesIndex:p?W:a,dataPointIndex:l,w:d});if(p)H.innerHTML=d.globals.collapsedSeriesIndices.indexOf(W)<0?Z:U;else if(H.innerHTML=W===a?Z:U,a===W)break}}if(p){if(b.tooltipLabels.drawSeriesTexts({ttItems:u,i:a,j:l,shared:!this.showOnIntersect&&this.tConfig.shared}),w&&(d.globals.markers.largestSize>0?b.marker.enlargePoints(l):b.tooltipPosition.moveDynamicPointsOnHover(l)),this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(k),this.barSeriesHeight>0)){var ie=new j(this.ctx),se=d.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(l,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(l);for(var _=0;_<se.length;_++)ie.pathMouseEnter(se[_])}}else b.tooltipLabels.drawSeriesTexts({shared:!1,ttItems:u,i:a,j:l}),this.tooltipUtil.hasBars()&&b.tooltipPosition.moveStickyTooltipOverBars(l),w&&b.tooltipPosition.moveMarkers(a,l)}}]),J}(),Dt=function(J){A(n,et);var r=Y(n);function n(){return g(this,n),r.apply(this,arguments)}return y(n,[{key:"draw",value:function(a,l){var u=this,p=this.w;this.graphics=new j(this.ctx),this.bar=new et(this.ctx,this.xyRatios);var d=new oe(this.ctx,p);a=d.getLogSeries(a),this.yRatio=d.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a),p.config.chart.stackType==="100%"&&(a=p.globals.seriesPercent.slice()),this.series=a,this.totalItems=0,this.prevY=[],this.prevX=[],this.prevYF=[],this.prevXF=[],this.prevYVal=[],this.prevXVal=[],this.xArrj=[],this.xArrjF=[],this.xArrjVal=[],this.yArrj=[],this.yArrjF=[],this.yArrjVal=[];for(var b=0;b<a.length;b++)a[b].length>0&&(this.totalItems+=a[b].length);for(var w=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),k=0,C=0,E=function(W,U){var Z=void 0,ie=void 0,se=void 0,_=void 0,D=[],R=[],Q=p.globals.comboCharts?l[W]:W;u.yRatio.length>1&&(u.yaxisIndex=Q),u.isReversed=p.config.yaxis[u.yaxisIndex]&&p.config.yaxis[u.yaxisIndex].reversed;var be=u.graphics.group({class:"apexcharts-series",seriesName:T.escapeString(p.globals.seriesNames[Q]),rel:W+1,"data:realIndex":Q});u.ctx.series.addCollapsedClassToSeries(be,Q);var Re=u.graphics.group({class:"apexcharts-datalabels","data:realIndex":Q}),_e=0,Qe=0,Ie=u.initialPositions(k,C,Z,ie,se,_);C=Ie.y,_e=Ie.barHeight,ie=Ie.yDivision,_=Ie.zeroW,k=Ie.x,Qe=Ie.barWidth,Z=Ie.xDivision,se=Ie.zeroH,u.yArrj=[],u.yArrjF=[],u.yArrjVal=[],u.xArrj=[],u.xArrjF=[],u.xArrjVal=[],u.prevY.length===1&&u.prevY[0].every(function(Dr){return isNaN(Dr)})&&(u.prevY[0]=u.prevY[0].map(function(Dr){return se}),u.prevYF[0]=u.prevYF[0].map(function(Dr){return 0}));for(var lt=0;lt<p.globals.dataPoints;lt++){var wt=u.barHelpers.getStrokeWidth(W,lt,Q),Xt={indexes:{i:W,j:lt,realIndex:Q,bc:U},strokeWidth:wt,x:k,y:C,elSeries:be},Et=null;u.isHorizontal?(Et=u.drawStackedBarPaths(c(c({},Xt),{},{zeroW:_,barHeight:_e,yDivision:ie})),Qe=u.series[W][lt]/u.invertedYRatio):(Et=u.drawStackedColumnPaths(c(c({},Xt),{},{xDivision:Z,barWidth:Qe,zeroH:se})),_e=u.series[W][lt]/u.yRatio[u.yaxisIndex]),C=Et.y,k=Et.x,D.push(k),R.push(C);var mr=u.barHelpers.getPathFillColor(a,W,lt,Q);be=u.renderSeries({realIndex:Q,pathFill:mr,j:lt,i:W,pathFrom:Et.pathFrom,pathTo:Et.pathTo,strokeWidth:wt,elSeries:be,x:k,y:C,series:a,barHeight:_e,barWidth:Qe,elDataLabelsWrap:Re,type:"bar",visibleSeries:0})}p.globals.seriesXvalues[Q]=D,p.globals.seriesYvalues[Q]=R,u.prevY.push(u.yArrj),u.prevYF.push(u.yArrjF),u.prevYVal.push(u.yArrjVal),u.prevX.push(u.xArrj),u.prevXF.push(u.xArrjF),u.prevXVal.push(u.xArrjVal),w.add(be)},F=0,H=0;F<a.length;F++,H++)E(F,H);return w}},{key:"initialPositions",value:function(a,l,u,p,d,b){var w,k,C=this.w;return this.isHorizontal?(w=(w=p=C.globals.gridHeight/C.globals.dataPoints)*parseInt(C.config.plotOptions.bar.barHeight,10)/100,b=this.baseLineInvertedY+C.globals.padHorizontal+(this.isReversed?C.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),l=(p-w)/2):(k=u=C.globals.gridWidth/C.globals.dataPoints,k=C.globals.isXNumeric&&C.globals.dataPoints>1?(u=C.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:k*parseInt(C.config.plotOptions.bar.columnWidth,10)/100,d=this.baseLineY[this.yaxisIndex]+(this.isReversed?C.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),a=C.globals.padHorizontal+(u-k)/2),{x:a,y:l,yDivision:p,xDivision:u,barHeight:w,barWidth:k,zeroH:d,zeroW:b}}},{key:"drawStackedBarPaths",value:function(a){for(var l,u=a.indexes,p=a.barHeight,d=a.strokeWidth,b=a.zeroW,w=a.x,k=a.y,C=a.yDivision,E=a.elSeries,F=this.w,H=k,W=u.i,U=u.j,Z=0,ie=0;ie<this.prevXF.length;ie++)Z+=this.prevXF[ie][U];if(W>0){var se=b;this.prevXVal[W-1][U]<0?se=this.series[W][U]>=0?this.prevX[W-1][U]+Z-2*(this.isReversed?Z:0):this.prevX[W-1][U]:this.prevXVal[W-1][U]>=0&&(se=this.series[W][U]>=0?this.prevX[W-1][U]:this.prevX[W-1][U]-Z+2*(this.isReversed?Z:0)),l=se}else l=b;w=this.series[W][U]===null?l:l+this.series[W][U]/this.invertedYRatio-2*(this.isReversed?this.series[W][U]/this.invertedYRatio:0);var _=this.barHelpers.getBarpaths({barYPosition:H,barHeight:p,x1:l,x2:w,strokeWidth:d,series:this.series,realIndex:u.realIndex,i:W,j:U,w:F});return this.barHelpers.barBackground({j:U,i:W,y1:H,y2:p,elSeries:E}),k+=C,{pathTo:_.pathTo,pathFrom:_.pathFrom,x:w,y:k}}},{key:"drawStackedColumnPaths",value:function(a){var l=a.indexes,u=a.x,p=a.y,d=a.xDivision,b=a.barWidth,w=a.zeroH;a.strokeWidth;var k=a.elSeries,C=this.w,E=l.i,F=l.j,H=l.bc;if(C.globals.isXNumeric){var W=C.globals.seriesX[E][F];W||(W=0),u=(W-C.globals.minX)/this.xRatio-b/2}for(var U,Z=u,ie=0,se=0;se<this.prevYF.length;se++)ie+=isNaN(this.prevYF[se][F])?0:this.prevYF[se][F];if(E>0&&!C.globals.isXNumeric||E>0&&C.globals.isXNumeric&&C.globals.seriesX[E-1][F]===C.globals.seriesX[E][F]){var _,D,R=Math.min(this.yRatio.length+1,E+1);if(this.prevY[E-1]!==void 0){for(var Q=1;Q<R;Q++)if(!isNaN(this.prevY[E-Q][F])){D=this.prevY[E-Q][F];break}}for(var be=1;be<R;be++){if(this.prevYVal[E-be][F]<0){_=this.series[E][F]>=0?D-ie+2*(this.isReversed?ie:0):D;break}if(this.prevYVal[E-be][F]>=0){_=this.series[E][F]>=0?D:D+ie-2*(this.isReversed?ie:0);break}}_===void 0&&(_=C.globals.gridHeight),U=this.prevYF[0].every(function(_e){return _e===0})&&this.prevYF.slice(1,E).every(function(_e){return _e.every(function(Qe){return isNaN(Qe)})})?C.globals.gridHeight-w:_}else U=C.globals.gridHeight-w;p=U-this.series[E][F]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[E][F]/this.yRatio[this.yaxisIndex]:0);var Re=this.barHelpers.getColumnPaths({barXPosition:Z,barWidth:b,y1:U,y2:p,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,realIndex:l.realIndex,i:E,j:F,w:C});return this.barHelpers.barBackground({bc:H,j:F,i:E,x1:Z,x2:b,elSeries:k}),u+=d,{pathTo:Re.pathTo,pathFrom:Re.pathFrom,x:C.globals.isXNumeric?u-d:u,y:p}}}]),n}(),Nt=function(J){A(n,et);var r=Y(n);function n(){return g(this,n),r.apply(this,arguments)}return y(n,[{key:"draw",value:function(a,l){var u=this,p=this.w,d=new j(this.ctx),b=new De(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=p.config.plotOptions.bar.horizontal;var w=new oe(this.ctx,p);a=w.getLogSeries(a),this.series=a,this.yRatio=w.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a);for(var k=d.group({class:"apexcharts-".concat(p.config.chart.type,"-series apexcharts-plot-series")}),C=function(F){u.isBoxPlot=p.config.chart.type==="boxPlot"||p.config.series[F].type==="boxPlot";var H,W,U,Z,ie=void 0,se=void 0,_=[],D=[],R=p.globals.comboCharts?l[F]:F,Q=d.group({class:"apexcharts-series",seriesName:T.escapeString(p.globals.seriesNames[R]),rel:F+1,"data:realIndex":R});u.ctx.series.addCollapsedClassToSeries(Q,R),a[F].length>0&&(u.visibleI=u.visibleI+1);var be,Re;u.yRatio.length>1&&(u.yaxisIndex=R);var _e=u.barHelpers.initialPositions();se=_e.y,be=_e.barHeight,W=_e.yDivision,Z=_e.zeroW,ie=_e.x,Re=_e.barWidth,H=_e.xDivision,U=_e.zeroH,D.push(ie+Re/2);for(var Qe=d.group({class:"apexcharts-datalabels","data:realIndex":R}),Ie=function(wt){var Xt=u.barHelpers.getStrokeWidth(F,wt,R),Et=null,mr={indexes:{i:F,j:wt,realIndex:R},x:ie,y:se,strokeWidth:Xt,elSeries:Q};Et=u.isHorizontal?u.drawHorizontalBoxPaths(c(c({},mr),{},{yDivision:W,barHeight:be,zeroW:Z})):u.drawVerticalBoxPaths(c(c({},mr),{},{xDivision:H,barWidth:Re,zeroH:U})),se=Et.y,ie=Et.x,wt>0&&D.push(ie+Re/2),_.push(se),Et.pathTo.forEach(function(Dr,Er){var wn=!u.isBoxPlot&&u.candlestickOptions.wick.useFillColor?Et.color[Er]:p.globals.stroke.colors[F],Gn=b.fillPath({seriesNumber:R,dataPointIndex:wt,color:Et.color[Er],value:a[F][wt]});u.renderSeries({realIndex:R,pathFill:Gn,lineFill:wn,j:wt,i:F,pathFrom:Et.pathFrom,pathTo:Dr,strokeWidth:Xt,elSeries:Q,x:ie,y:se,series:a,barHeight:be,barWidth:Re,elDataLabelsWrap:Qe,visibleSeries:u.visibleI,type:p.config.chart.type})})},lt=0;lt<p.globals.dataPoints;lt++)Ie(lt);p.globals.seriesXvalues[R]=D,p.globals.seriesYvalues[R]=_,k.add(Q)},E=0;E<a.length;E++)C(E);return k}},{key:"drawVerticalBoxPaths",value:function(a){var l=a.indexes,u=a.x;a.y;var p=a.xDivision,d=a.barWidth,b=a.zeroH,w=a.strokeWidth,k=this.w,C=new j(this.ctx),E=l.i,F=l.j,H=!0,W=k.config.plotOptions.candlestick.colors.upward,U=k.config.plotOptions.candlestick.colors.downward,Z="";this.isBoxPlot&&(Z=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var ie=this.yRatio[this.yaxisIndex],se=l.realIndex,_=this.getOHLCValue(se,F),D=b,R=b;_.o>_.c&&(H=!1);var Q=Math.min(_.o,_.c),be=Math.max(_.o,_.c),Re=_.m;k.globals.isXNumeric&&(u=(k.globals.seriesX[se][F]-k.globals.minX)/this.xRatio-d/2);var _e=u+d*this.visibleI;this.series[E][F]===void 0||this.series[E][F]===null?(Q=b,be=b):(Q=b-Q/ie,be=b-be/ie,D=b-_.h/ie,R=b-_.l/ie,Re=b-_.m/ie);var Qe=C.move(_e,b),Ie=C.move(_e+d/2,Q);return k.globals.previousPaths.length>0&&(Ie=this.getPreviousPath(se,F,!0)),Qe=this.isBoxPlot?[C.move(_e,Q)+C.line(_e+d/2,Q)+C.line(_e+d/2,D)+C.line(_e+d/4,D)+C.line(_e+d-d/4,D)+C.line(_e+d/2,D)+C.line(_e+d/2,Q)+C.line(_e+d,Q)+C.line(_e+d,Re)+C.line(_e,Re)+C.line(_e,Q+w/2),C.move(_e,Re)+C.line(_e+d,Re)+C.line(_e+d,be)+C.line(_e+d/2,be)+C.line(_e+d/2,R)+C.line(_e+d-d/4,R)+C.line(_e+d/4,R)+C.line(_e+d/2,R)+C.line(_e+d/2,be)+C.line(_e,be)+C.line(_e,Re)+"z"]:[C.move(_e,be)+C.line(_e+d/2,be)+C.line(_e+d/2,D)+C.line(_e+d/2,be)+C.line(_e+d,be)+C.line(_e+d,Q)+C.line(_e+d/2,Q)+C.line(_e+d/2,R)+C.line(_e+d/2,Q)+C.line(_e,Q)+C.line(_e,be-w/2)],Ie+=C.move(_e,Q),k.globals.isXNumeric||(u+=p),{pathTo:Qe,pathFrom:Ie,x:u,y:be,barXPosition:_e,color:this.isBoxPlot?Z:H?[W]:[U]}}},{key:"drawHorizontalBoxPaths",value:function(a){var l=a.indexes;a.x;var u=a.y,p=a.yDivision,d=a.barHeight,b=a.zeroW,w=a.strokeWidth,k=this.w,C=new j(this.ctx),E=l.i,F=l.j,H=this.boxOptions.colors.lower;this.isBoxPlot&&(H=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var W=this.invertedYRatio,U=l.realIndex,Z=this.getOHLCValue(U,F),ie=b,se=b,_=Math.min(Z.o,Z.c),D=Math.max(Z.o,Z.c),R=Z.m;k.globals.isXNumeric&&(u=(k.globals.seriesX[U][F]-k.globals.minX)/this.invertedXRatio-d/2);var Q=u+d*this.visibleI;this.series[E][F]===void 0||this.series[E][F]===null?(_=b,D=b):(_=b+_/W,D=b+D/W,ie=b+Z.h/W,se=b+Z.l/W,R=b+Z.m/W);var be=C.move(b,Q),Re=C.move(_,Q+d/2);return k.globals.previousPaths.length>0&&(Re=this.getPreviousPath(U,F,!0)),be=[C.move(_,Q)+C.line(_,Q+d/2)+C.line(ie,Q+d/2)+C.line(ie,Q+d/2-d/4)+C.line(ie,Q+d/2+d/4)+C.line(ie,Q+d/2)+C.line(_,Q+d/2)+C.line(_,Q+d)+C.line(R,Q+d)+C.line(R,Q)+C.line(_+w/2,Q),C.move(R,Q)+C.line(R,Q+d)+C.line(D,Q+d)+C.line(D,Q+d/2)+C.line(se,Q+d/2)+C.line(se,Q+d-d/4)+C.line(se,Q+d/4)+C.line(se,Q+d/2)+C.line(D,Q+d/2)+C.line(D,Q)+C.line(R,Q)+"z"],Re+=C.move(_,Q),k.globals.isXNumeric||(u+=p),{pathTo:be,pathFrom:Re,x:D,y:u,barYPosition:Q,color:H}}},{key:"getOHLCValue",value:function(a,l){var u=this.w;return{o:this.isBoxPlot?u.globals.seriesCandleH[a][l]:u.globals.seriesCandleO[a][l],h:this.isBoxPlot?u.globals.seriesCandleO[a][l]:u.globals.seriesCandleH[a][l],m:u.globals.seriesCandleM[a][l],l:this.isBoxPlot?u.globals.seriesCandleC[a][l]:u.globals.seriesCandleL[a][l],c:this.isBoxPlot?u.globals.seriesCandleL[a][l]:u.globals.seriesCandleC[a][l]}}}]),n}(),Or=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"checkColorRange",value:function(){var r=this.w,n=!1,a=r.config.plotOptions[r.config.chart.type];return a.colorScale.ranges.length>0&&a.colorScale.ranges.map(function(l,u){l.from<=0&&(n=!0)}),n}},{key:"getShadeColor",value:function(r,n,a,l){var u=this.w,p=1,d=u.config.plotOptions[r].shadeIntensity,b=this.determineColor(r,n,a);u.globals.hasNegs||l?p=u.config.plotOptions[r].reverseNegativeShade?b.percent<0?b.percent/100*(1.25*d):(1-b.percent/100)*(1.25*d):b.percent<=0?1-(1+b.percent/100)*d:(1-b.percent/100)*d:(p=1-b.percent/100,r==="treemap"&&(p=(1-b.percent/100)*(1.25*d)));var w=b.color,k=new T;return u.config.plotOptions[r].enableShades&&(w=this.w.config.theme.mode==="dark"?T.hexToRgba(k.shadeColor(-1*p,b.color),u.config.fill.opacity):T.hexToRgba(k.shadeColor(p,b.color),u.config.fill.opacity)),{color:w,colorProps:b}}},{key:"determineColor",value:function(r,n,a){var l=this.w,u=l.globals.series[n][a],p=l.config.plotOptions[r],d=p.colorScale.inverse?a:n;p.distributed&&l.config.chart.type==="treemap"&&(d=a);var b=l.globals.colors[d],w=null,k=Math.min.apply(Math,ee(l.globals.series[n])),C=Math.max.apply(Math,ee(l.globals.series[n]));p.distributed||r!=="heatmap"||(k=l.globals.minY,C=l.globals.maxY),p.colorScale.min!==void 0&&(k=p.colorScale.min<l.globals.minY?p.colorScale.min:l.globals.minY,C=p.colorScale.max>l.globals.maxY?p.colorScale.max:l.globals.maxY);var E=Math.abs(C)+Math.abs(k),F=100*u/(E===0?E-1e-6:E);return p.colorScale.ranges.length>0&&p.colorScale.ranges.map(function(H,W){if(u>=H.from&&u<=H.to){b=H.color,w=H.foreColor?H.foreColor:null,k=H.from,C=H.to;var U=Math.abs(C)+Math.abs(k);F=100*u/(U===0?U-1e-6:U)}}),{color:b,foreColor:w,percent:F}}},{key:"calculateDataLabels",value:function(r){var n=r.text,a=r.x,l=r.y,u=r.i,p=r.j,d=r.colorProps,b=r.fontSize,w=this.w.config.dataLabels,k=new j(this.ctx),C=new Se(this.ctx),E=null;if(w.enabled){E=k.group({class:"apexcharts-data-labels"});var F=w.offsetX,H=w.offsetY,W=a+F,U=l+parseFloat(w.style.fontSize)/3+H;C.plotDataLabelsText({x:W,y:U,text:n,i:u,j:p,color:d.foreColor,parent:E,fontSize:b,dataLabelsConfig:w})}return E}},{key:"addListeners",value:function(r){var n=new j(this.ctx);r.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this,r)),r.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this,r)),r.node.addEventListener("mousedown",n.pathMouseDown.bind(this,r))}}]),J}(),Ut=function(){function J(r,n){g(this,J),this.ctx=r,this.w=r.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Or(r),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return y(J,[{key:"draw",value:function(r){var n=this.w,a=new j(this.ctx),l=a.group({class:"apexcharts-heatmap"});l.attr("clip-path","url(#gridRectMask".concat(n.globals.cuid,")"));var u=n.globals.gridWidth/n.globals.dataPoints,p=n.globals.gridHeight/n.globals.series.length,d=0,b=!1;this.negRange=this.helpers.checkColorRange();var w=r.slice();n.config.yaxis[0].reversed&&(b=!0,w.reverse());for(var k=b?0:w.length-1;b?k<w.length:k>=0;b?k++:k--){var C=a.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:T.escapeString(n.globals.seriesNames[k]),rel:k+1,"data:realIndex":k});if(this.ctx.series.addCollapsedClassToSeries(C,k),n.config.chart.dropShadow.enabled){var E=n.config.chart.dropShadow;new B(this.ctx).dropShadow(C,E,k)}for(var F=0,H=n.config.plotOptions.heatmap.shadeIntensity,W=0;W<w[k].length;W++){var U=this.helpers.getShadeColor(n.config.chart.type,k,W,this.negRange),Z=U.color,ie=U.colorProps;n.config.fill.type==="image"&&(Z=new De(this.ctx).fillPath({seriesNumber:k,dataPointIndex:W,opacity:n.globals.hasNegs?ie.percent<0?1-(1+ie.percent/100):H+ie.percent/100:ie.percent/100,patternID:T.randomId(),width:n.config.fill.image.width?n.config.fill.image.width:u,height:n.config.fill.image.height?n.config.fill.image.height:p}));var se=this.rectRadius,_=a.drawRect(F,d,u,p,se);if(_.attr({cx:F,cy:d}),_.node.classList.add("apexcharts-heatmap-rect"),C.add(_),_.attr({fill:Z,i:k,index:k,j:W,val:w[k][W],"stroke-width":this.strokeWidth,stroke:n.config.plotOptions.heatmap.useFillColorAsStroke?Z:n.globals.stroke.colors[0],color:Z}),this.helpers.addListeners(_),n.config.chart.animations.enabled&&!n.globals.dataChanged){var D=1;n.globals.resized||(D=n.config.chart.animations.speed),this.animateHeatMap(_,F,d,u,p,D)}if(n.globals.dataChanged){var R=1;if(this.dynamicAnim.enabled&&n.globals.shouldAnimate){R=this.dynamicAnim.speed;var Q=n.globals.previousPaths[k]&&n.globals.previousPaths[k][W]&&n.globals.previousPaths[k][W].color;Q||(Q="rgba(255, 255, 255, 0)"),this.animateHeatColor(_,T.isColorHex(Q)?Q:T.rgb2hex(Q),T.isColorHex(Z)?Z:T.rgb2hex(Z),R)}}var be=(0,n.config.dataLabels.formatter)(n.globals.series[k][W],{value:n.globals.series[k][W],seriesIndex:k,dataPointIndex:W,w:n}),Re=this.helpers.calculateDataLabels({text:be,x:F+u/2,y:d+p/2,i:k,j:W,colorProps:ie,series:w});Re!==null&&C.add(Re),F+=u}d+=p,l.add(C)}var _e=n.globals.yAxisScale[0].result.slice();n.config.yaxis[0].reversed?_e.unshift(""):_e.push(""),n.globals.yAxisScale[0].result=_e;var Qe=n.globals.gridHeight/n.globals.series.length;return n.config.yaxis[0].labels.offsetY=-Qe/2,l}},{key:"animateHeatMap",value:function(r,n,a,l,u,p){var d=new re(this.ctx);d.animateRect(r,{x:n+l/2,y:a+u/2,width:0,height:0},{x:n,y:a,width:l,height:u},p,function(){d.animationCompleted(r)})}},{key:"animateHeatColor",value:function(r,n,a,l){r.attr({fill:n}).animate(l).attr({fill:a})}}]),J}(),zr=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"drawYAxisTexts",value:function(r,n,a,l){var u=this.w,p=u.config.yaxis[0],d=u.globals.yLabelFormatters[0];return new j(this.ctx).drawText({x:r+p.labels.offsetX,y:n+p.labels.offsetY,text:d(l,a),textAnchor:"middle",fontSize:p.labels.style.fontSize,fontFamily:p.labels.style.fontFamily,foreColor:Array.isArray(p.labels.style.colors)?p.labels.style.colors[a]:p.labels.style.colors})}}]),J}(),$t=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w;var n=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=n.globals.stroke.colors!==void 0?n.globals.stroke.colors:n.globals.colors,this.defaultSize=Math.min(n.globals.gridWidth,n.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=n.globals.gridWidth/2,n.config.chart.type==="radialBar"?this.fullAngle=360:this.fullAngle=Math.abs(n.config.plotOptions.pie.endAngle-n.config.plotOptions.pie.startAngle),this.initialAngle=n.config.plotOptions.pie.startAngle%this.fullAngle,n.globals.radialSize=this.defaultSize/2.05-n.config.stroke.width-(n.config.chart.sparkline.enabled?0:n.config.chart.dropShadow.blur),this.donutSize=n.globals.radialSize*parseInt(n.config.plotOptions.pie.donut.size,10)/100,this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return y(J,[{key:"draw",value:function(r){var n=this,a=this.w,l=new j(this.ctx);if(this.ret=l.group({class:"apexcharts-pie"}),a.globals.noData)return this.ret;for(var u=0,p=0;p<r.length;p++)u+=T.negToZero(r[p]);var d=[],b=l.group();u===0&&(u=1e-5),r.forEach(function(Q){n.maxY=Math.max(n.maxY,Q)}),a.config.yaxis[0].max&&(this.maxY=a.config.yaxis[0].max),a.config.grid.position==="back"&&this.chartType==="polarArea"&&this.drawPolarElements(this.ret);for(var w=0;w<r.length;w++){var k=this.fullAngle*T.negToZero(r[w])/u;d.push(k),this.chartType==="polarArea"?(d[w]=this.fullAngle/r.length,this.sliceSizes.push(a.globals.radialSize*r[w]/this.maxY)):this.sliceSizes.push(a.globals.radialSize)}if(a.globals.dataChanged){for(var C,E=0,F=0;F<a.globals.previousPaths.length;F++)E+=T.negToZero(a.globals.previousPaths[F]);for(var H=0;H<a.globals.previousPaths.length;H++)C=this.fullAngle*T.negToZero(a.globals.previousPaths[H])/E,this.prevSectorAngleArr.push(C)}this.donutSize<0&&(this.donutSize=0);var W=a.config.plotOptions.pie.customScale,U=a.globals.gridWidth/2,Z=a.globals.gridHeight/2,ie=U-a.globals.gridWidth/2*W,se=Z-a.globals.gridHeight/2*W;if(this.chartType==="donut"){var _=l.drawCircle(this.donutSize);_.attr({cx:this.centerX,cy:this.centerY,fill:a.config.plotOptions.pie.donut.background?a.config.plotOptions.pie.donut.background:"transparent"}),b.add(_)}var D=this.drawArcs(d,r);if(this.sliceLabels.forEach(function(Q){D.add(Q)}),b.attr({transform:"translate(".concat(ie,", ").concat(se,") scale(").concat(W,")")}),b.add(D),this.ret.add(b),this.donutDataLabels.show){var R=this.renderInnerDataLabels(this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show,translateX:ie,translateY:se});this.ret.add(R)}return a.config.grid.position==="front"&&this.chartType==="polarArea"&&this.drawPolarElements(this.ret),this.ret}},{key:"drawArcs",value:function(r,n){var a=this.w,l=new B(this.ctx),u=new j(this.ctx),p=new De(this.ctx),d=u.group({class:"apexcharts-slices"}),b=this.initialAngle,w=this.initialAngle,k=this.initialAngle,C=this.initialAngle;this.strokeWidth=a.config.stroke.show?a.config.stroke.width:0;for(var E=0;E<r.length;E++){var F=u.group({class:"apexcharts-series apexcharts-pie-series",seriesName:T.escapeString(a.globals.seriesNames[E]),rel:E+1,"data:realIndex":E});d.add(F),w=C,k=(b=k)+r[E],C=w+this.prevSectorAngleArr[E];var H=k<b?this.fullAngle+k-b:k-b,W=p.fillPath({seriesNumber:E,size:this.sliceSizes[E],value:n[E]}),U=this.getChangedPath(w,C),Z=u.drawPath({d:U,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[E]:this.lineColorArr,strokeWidth:0,fill:W,fillOpacity:a.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(E)});if(Z.attr({index:0,j:E}),l.setSelectionFilter(Z,0,E),a.config.chart.dropShadow.enabled){var ie=a.config.chart.dropShadow;l.dropShadow(Z,ie,E)}this.addListeners(Z,this.donutDataLabels),j.setAttrs(Z.node,{"data:angle":H,"data:startAngle":b,"data:strokeWidth":this.strokeWidth,"data:value":n[E]});var se={x:0,y:0};this.chartType==="pie"||this.chartType==="polarArea"?se=T.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize/1.25+a.config.plotOptions.pie.dataLabels.offset,(b+H/2)%this.fullAngle):this.chartType==="donut"&&(se=T.polarToCartesian(this.centerX,this.centerY,(a.globals.radialSize+this.donutSize)/2+a.config.plotOptions.pie.dataLabels.offset,(b+H/2)%this.fullAngle)),F.add(Z);var _=0;if(!this.initialAnim||a.globals.resized||a.globals.dataChanged?this.animBeginArr.push(0):((_=H/this.fullAngle*a.config.chart.animations.speed)===0&&(_=1),this.animDur=_+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&a.globals.dataChanged?this.animatePaths(Z,{size:this.sliceSizes[E],endAngle:k,startAngle:b,prevStartAngle:w,prevEndAngle:C,animateStartingPos:!0,i:E,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:a.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(Z,{size:this.sliceSizes[E],endAngle:k,startAngle:b,i:E,totalItems:r.length-1,animBeginArr:this.animBeginArr,dur:_}),a.config.plotOptions.pie.expandOnClick&&this.chartType!=="polarArea"&&Z.click(this.pieClicked.bind(this,E)),a.globals.selectedDataPoints[0]!==void 0&&a.globals.selectedDataPoints[0].indexOf(E)>-1&&this.pieClicked(E),a.config.dataLabels.enabled){var D=se.x,R=se.y,Q=100*H/this.fullAngle+"%";if(H!==0&&a.config.plotOptions.pie.dataLabels.minAngleToShowLabel<r[E]){var be=a.config.dataLabels.formatter;be!==void 0&&(Q=be(a.globals.seriesPercent[E][0],{seriesIndex:E,w:a}));var Re=a.globals.dataLabels.style.colors[E],_e=u.group({class:"apexcharts-datalabels"}),Qe=u.drawText({x:D,y:R,text:Q,textAnchor:"middle",fontSize:a.config.dataLabels.style.fontSize,fontFamily:a.config.dataLabels.style.fontFamily,fontWeight:a.config.dataLabels.style.fontWeight,foreColor:Re});if(_e.add(Qe),a.config.dataLabels.dropShadow.enabled){var Ie=a.config.dataLabels.dropShadow;l.dropShadow(Qe,Ie)}Qe.node.classList.add("apexcharts-pie-label"),a.config.chart.animations.animate&&a.globals.resized===!1&&(Qe.node.classList.add("apexcharts-pie-label-delay"),Qe.node.style.animationDelay=a.config.chart.animations.speed/940+"s"),this.sliceLabels.push(_e)}}}return d}},{key:"addListeners",value:function(r,n){var a=new j(this.ctx);r.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this,r)),r.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this,r)),r.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,r.node,n)),r.node.addEventListener("mousedown",a.pathMouseDown.bind(this,r)),this.donutDataLabels.total.showAlways||(r.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,r.node,n)),r.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,r.node,n)))}},{key:"animatePaths",value:function(r,n){var a=this.w,l=n.endAngle<n.startAngle?this.fullAngle+n.endAngle-n.startAngle:n.endAngle-n.startAngle,u=l,p=n.startAngle,d=n.startAngle;n.prevStartAngle!==void 0&&n.prevEndAngle!==void 0&&(p=n.prevEndAngle,u=n.prevEndAngle<n.prevStartAngle?this.fullAngle+n.prevEndAngle-n.prevStartAngle:n.prevEndAngle-n.prevStartAngle),n.i===a.config.series.length-1&&(l+d>this.fullAngle?n.endAngle=n.endAngle-(l+d):l+d<this.fullAngle&&(n.endAngle=n.endAngle+(this.fullAngle-(l+d)))),l===this.fullAngle&&(l=this.fullAngle-.01),this.animateArc(r,p,d,l,u,n)}},{key:"animateArc",value:function(r,n,a,l,u,p){var d,b=this,w=this.w,k=new re(this.ctx),C=p.size;(isNaN(n)||isNaN(u))&&(n=a,u=l,p.dur=0);var E=l,F=a,H=n<a?this.fullAngle+n-a:n-a;w.globals.dataChanged&&p.shouldSetPrevPaths&&p.prevEndAngle&&(d=b.getPiePath({me:b,startAngle:p.prevStartAngle,angle:p.prevEndAngle<p.prevStartAngle?this.fullAngle+p.prevEndAngle-p.prevStartAngle:p.prevEndAngle-p.prevStartAngle,size:C}),r.attr({d})),p.dur!==0?r.animate(p.dur,w.globals.easing,p.animBeginArr[p.i]).afterAll(function(){b.chartType!=="pie"&&b.chartType!=="donut"&&b.chartType!=="polarArea"||this.animate(w.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":b.strokeWidth}),p.i===w.config.series.length-1&&k.animationCompleted(r)}).during(function(W){E=H+(l-H)*W,p.animateStartingPos&&(E=u+(l-u)*W,F=n-u+(a-(n-u))*W),d=b.getPiePath({me:b,startAngle:F,angle:E,size:C}),r.node.setAttribute("data:pathOrig",d),r.attr({d})}):(d=b.getPiePath({me:b,startAngle:F,angle:l,size:C}),p.isTrack||(w.globals.animationEnded=!0),r.node.setAttribute("data:pathOrig",d),r.attr({d,"stroke-width":b.strokeWidth}))}},{key:"pieClicked",value:function(r){var n,a=this.w,l=this,u=l.sliceSizes[r]+(a.config.plotOptions.pie.expandOnClick?4:0),p=a.globals.dom.Paper.select(".apexcharts-".concat(l.chartType.toLowerCase(),"-slice-").concat(r)).members[0];if(p.attr("data:pieClicked")!=="true"){var d=a.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(d,function(C){C.setAttribute("data:pieClicked","false");var E=C.getAttribute("data:pathOrig");C.setAttribute("d",E)}),p.attr("data:pieClicked","true");var b=parseInt(p.attr("data:startAngle"),10),w=parseInt(p.attr("data:angle"),10);n=l.getPiePath({me:l,startAngle:b,angle:w,size:u}),w!==360&&p.plot(n)}else{p.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(p.node,this.donutDataLabels);var k=p.attr("data:pathOrig");p.attr({d:k})}}},{key:"getChangedPath",value:function(r,n){var a="";return this.dynamicAnim&&this.w.globals.dataChanged&&(a=this.getPiePath({me:this,startAngle:r,angle:n-r,size:this.size})),a}},{key:"getPiePath",value:function(r){var n=r.me,a=r.startAngle,l=r.angle,u=r.size,p=a,d=Math.PI*(p-90)/180,b=l+a;Math.ceil(b)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(b=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(b)>this.fullAngle&&(b-=this.fullAngle);var w=Math.PI*(b-90)/180,k=n.centerX+u*Math.cos(d),C=n.centerY+u*Math.sin(d),E=n.centerX+u*Math.cos(w),F=n.centerY+u*Math.sin(w),H=T.polarToCartesian(n.centerX,n.centerY,n.donutSize,b),W=T.polarToCartesian(n.centerX,n.centerY,n.donutSize,p),U=l>180?1:0,Z=["M",k,C,"A",u,u,0,U,1,E,F];return n.chartType==="donut"?[].concat(Z,["L",H.x,H.y,"A",n.donutSize,n.donutSize,0,U,0,W.x,W.y,"L",k,C,"z"]).join(" "):n.chartType==="pie"||n.chartType==="polarArea"?[].concat(Z,["L",n.centerX,n.centerY,"L",k,C]).join(" "):[].concat(Z).join(" ")}},{key:"drawPolarElements",value:function(r){var n=this.w,a=new Oe(this.ctx),l=new j(this.ctx),u=new zr(this.ctx),p=l.group(),d=l.group(),b=a.niceScale(0,Math.ceil(this.maxY),n.config.yaxis[0].tickAmount,0,!0),w=b.result.reverse(),k=b.result.length;this.maxY=b.niceMax;for(var C=n.globals.radialSize,E=C/(k-1),F=0;F<k-1;F++){var H=l.drawCircle(C);if(H.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":n.config.plotOptions.polarArea.rings.strokeWidth,stroke:n.config.plotOptions.polarArea.rings.strokeColor}),n.config.yaxis[0].show){var W=u.drawYAxisTexts(this.centerX,this.centerY-C+parseInt(n.config.yaxis[0].labels.style.fontSize,10)/2,F,w[F]);d.add(W)}p.add(H),C-=E}this.drawSpokes(r),r.add(p),r.add(d)}},{key:"renderInnerDataLabels",value:function(r,n){var a=this.w,l=new j(this.ctx),u=l.group({class:"apexcharts-datalabels-group",transform:"translate(".concat(n.translateX?n.translateX:0,", ").concat(n.translateY?n.translateY:0,") scale(").concat(a.config.plotOptions.pie.customScale,")")}),p=r.total.show;u.node.style.opacity=n.opacity;var d,b,w=n.centerX,k=n.centerY;d=r.name.color===void 0?a.globals.colors[0]:r.name.color;var C=r.name.fontSize,E=r.name.fontFamily,F=r.name.fontWeight;b=r.value.color===void 0?a.config.chart.foreColor:r.value.color;var H=r.value.formatter,W="",U="";if(p?(d=r.total.color,C=r.total.fontSize,E=r.total.fontFamily,F=r.total.fontWeight,U=r.total.label,W=r.total.formatter(a)):a.globals.series.length===1&&(W=H(a.globals.series[0],a),U=a.globals.seriesNames[0]),U&&(U=r.name.formatter(U,r.total.show,a)),r.name.show){var Z=l.drawText({x:w,y:k+parseFloat(r.name.offsetY),text:U,textAnchor:"middle",foreColor:d,fontSize:C,fontWeight:F,fontFamily:E});Z.node.classList.add("apexcharts-datalabel-label"),u.add(Z)}if(r.value.show){var ie=r.name.show?parseFloat(r.value.offsetY)+16:r.value.offsetY,se=l.drawText({x:w,y:k+ie,text:W,textAnchor:"middle",foreColor:b,fontWeight:r.value.fontWeight,fontSize:r.value.fontSize,fontFamily:r.value.fontFamily});se.node.classList.add("apexcharts-datalabel-value"),u.add(se)}return u}},{key:"printInnerLabels",value:function(r,n,a,l){var u,p=this.w;l?u=r.name.color===void 0?p.globals.colors[parseInt(l.parentNode.getAttribute("rel"),10)-1]:r.name.color:p.globals.series.length>1&&r.total.show&&(u=r.total.color);var d=p.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),b=p.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");a=(0,r.value.formatter)(a,p),l||typeof r.total.formatter!="function"||(a=r.total.formatter(p));var w=n===r.total.label;n=r.name.formatter(n,w,p),d!==null&&(d.textContent=n),b!==null&&(b.textContent=a),d!==null&&(d.style.fill=u)}},{key:"printDataLabelsInner",value:function(r,n){var a=this.w,l=r.getAttribute("data:value"),u=a.globals.seriesNames[parseInt(r.parentNode.getAttribute("rel"),10)-1];a.globals.series.length>1&&this.printInnerLabels(n,u,l,r);var p=a.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");p!==null&&(p.style.opacity=1)}},{key:"drawSpokes",value:function(r){var n=this,a=this.w,l=new j(this.ctx),u=a.config.plotOptions.polarArea.spokes;if(u.strokeWidth!==0){for(var p=[],d=360/a.globals.series.length,b=0;b<a.globals.series.length;b++)p.push(T.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize,a.config.plotOptions.pie.startAngle+d*b));p.forEach(function(w,k){var C=l.drawLine(w.x,w.y,n.centerX,n.centerY,Array.isArray(u.connectorColors)?u.connectorColors[k]:u.connectorColors);r.add(C)})}}},{key:"revertDataLabelsInner",value:function(r,n,a){var l=this,u=this.w,p=u.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group"),d=!1,b=u.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area"),w=function(E){var F=E.makeSliceOut,H=E.printLabel;Array.prototype.forEach.call(b,function(W){W.getAttribute("data:pieClicked")==="true"&&(F&&(d=!0),H&&l.printDataLabelsInner(W,n))})};if(w({makeSliceOut:!0,printLabel:!1}),n.total.show&&u.globals.series.length>1)d&&!n.total.showAlways?w({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(n,n.total.label,n.total.formatter(u));else if(w({makeSliceOut:!1,printLabel:!0}),!d)if(u.globals.selectedDataPoints.length&&u.globals.series.length>1)if(u.globals.selectedDataPoints[0].length>0){var k=u.globals.selectedDataPoints[0],C=u.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(k));this.printDataLabelsInner(C,n)}else p&&u.globals.selectedDataPoints.length&&u.globals.selectedDataPoints[0].length===0&&(p.style.opacity=0);else p&&u.globals.series.length>1&&(p.style.opacity=0)}}]),J}(),sn=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new j(this.ctx),this.lineColorArr=n.globals.stroke.colors!==void 0?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight<n.globals.svgWidth?n.globals.gridHeight+1.5*n.globals.goldenPadding:n.globals.gridWidth,this.isLog=n.config.yaxis[0].logarithmic,this.coreUtils=new oe(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(n.globals.maxY,0):n.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.w.globals.minY,0):n.globals.minY,this.polygons=n.config.plotOptions.radar.polygons,this.strokeWidth=n.config.stroke.show?n.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-n.config.chart.dropShadow.blur,n.config.xaxis.labels.show&&(this.size=this.size-n.globals.xAxisLabelsWidth/1.75),n.config.plotOptions.radar.size!==void 0&&(this.size=n.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return y(J,[{key:"draw",value:function(r){var n=this,a=this.w,l=new De(this.ctx),u=[],p=new Se(this.ctx);r.length&&(this.dataPointsLen=r[a.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var d=a.globals.gridWidth/2,b=a.globals.gridHeight/2,w=d+a.config.plotOptions.radar.offsetX,k=b+a.config.plotOptions.radar.offsetY,C=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(w||0,", ").concat(k||0,")")}),E=[],F=null,H=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),r.forEach(function(U,Z){var ie=U.length===a.globals.dataPoints,se=n.graphics.group().attr({class:"apexcharts-series","data:longestSeries":ie,seriesName:T.escapeString(a.globals.seriesNames[Z]),rel:Z+1,"data:realIndex":Z});n.dataRadiusOfPercent[Z]=[],n.dataRadius[Z]=[],n.angleArr[Z]=[],U.forEach(function(lt,wt){var Xt=Math.abs(n.maxValue-n.minValue);lt+=Math.abs(n.minValue),n.isLog&&(lt=n.coreUtils.getLogVal(lt,0)),n.dataRadiusOfPercent[Z][wt]=lt/Xt,n.dataRadius[Z][wt]=n.dataRadiusOfPercent[Z][wt]*n.size,n.angleArr[Z][wt]=wt*n.disAngle}),E=n.getDataPointsPos(n.dataRadius[Z],n.angleArr[Z]);var _=n.createPaths(E,{x:0,y:0});F=n.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),H=n.graphics.group({class:"apexcharts-datalabels","data:realIndex":Z}),a.globals.delayedElements.push({el:F.node,index:Z});var D={i:Z,realIndex:Z,animationDelay:Z,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:a.globals.stroke.colors[Z],strokeLineCap:a.config.stroke.lineCap},R=null;a.globals.previousPaths.length>0&&(R=n.getPreviousPath(Z));for(var Q=0;Q<_.linePathsTo.length;Q++){var be=n.graphics.renderPaths(c(c({},D),{},{pathFrom:R===null?_.linePathsFrom[Q]:R,pathTo:_.linePathsTo[Q],strokeWidth:Array.isArray(n.strokeWidth)?n.strokeWidth[Z]:n.strokeWidth,fill:"none",drawShadow:!1}));se.add(be);var Re=l.fillPath({seriesNumber:Z}),_e=n.graphics.renderPaths(c(c({},D),{},{pathFrom:R===null?_.areaPathsFrom[Q]:R,pathTo:_.areaPathsTo[Q],strokeWidth:0,fill:Re,drawShadow:!1}));if(a.config.chart.dropShadow.enabled){var Qe=new B(n.ctx),Ie=a.config.chart.dropShadow;Qe.dropShadow(_e,Object.assign({},Ie,{noUserSpaceOnUse:!0}),Z)}se.add(_e)}U.forEach(function(lt,wt){var Xt=new he(n.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:Z,dataPointIndex:wt}),Et=n.graphics.drawMarker(E[wt].x,E[wt].y,Xt);Et.attr("rel",wt),Et.attr("j",wt),Et.attr("index",Z),Et.node.setAttribute("default-marker-size",Xt.pSize);var mr=n.graphics.group({class:"apexcharts-series-markers"});mr&&mr.add(Et),F.add(mr),se.add(F);var Dr=a.config.dataLabels;if(Dr.enabled){var Er=Dr.formatter(a.globals.series[Z][wt],{seriesIndex:Z,dataPointIndex:wt,w:a});p.plotDataLabelsText({x:E[wt].x,y:E[wt].y,text:Er,textAnchor:"middle",i:Z,j:Z,parent:H,offsetCorrection:!1,dataLabelsConfig:c({},Dr)})}se.add(H)}),u.push(se)}),this.drawPolygons({parent:C}),a.config.xaxis.labels.show){var W=this.drawXAxisTexts();C.add(W)}return u.forEach(function(U){C.add(U)}),C.add(this.yaxisLabels),C}},{key:"drawPolygons",value:function(r){for(var n=this,a=this.w,l=r.parent,u=new zr(this.ctx),p=a.globals.yAxisScale[0].result.reverse(),d=p.length,b=[],w=this.size/(d-1),k=0;k<d;k++)b[k]=w*k;b.reverse();var C=[],E=[];b.forEach(function(F,H){var W=T.getPolygonPos(F,n.dataPointsLen),U="";W.forEach(function(Z,ie){if(H===0){var se=n.graphics.drawLine(Z.x,Z.y,0,0,Array.isArray(n.polygons.connectorColors)?n.polygons.connectorColors[ie]:n.polygons.connectorColors);E.push(se)}ie===0&&n.yaxisLabelsTextsPos.push({x:Z.x,y:Z.y}),U+=Z.x+","+Z.y+" "}),C.push(U)}),C.forEach(function(F,H){var W=n.polygons.strokeColors,U=n.polygons.strokeWidth,Z=n.graphics.drawPolygon(F,Array.isArray(W)?W[H]:W,Array.isArray(U)?U[H]:U,a.globals.radarPolygons.fill.colors[H]);l.add(Z)}),E.forEach(function(F){l.add(F)}),a.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach(function(F,H){var W=u.drawYAxisTexts(F.x,F.y,H,p[H]);n.yaxisLabels.add(W)})}},{key:"drawXAxisTexts",value:function(){var r=this,n=this.w,a=n.config.xaxis.labels,l=this.graphics.group({class:"apexcharts-xaxis"}),u=T.getPolygonPos(this.size,this.dataPointsLen);return n.globals.labels.forEach(function(p,d){var b=n.config.xaxis.labels.formatter,w=new Se(r.ctx);if(u[d]){var k=r.getTextPos(u[d],r.size),C=b(p,{seriesIndex:-1,dataPointIndex:d,w:n});w.plotDataLabelsText({x:k.newX,y:k.newY,text:C,textAnchor:k.textAnchor,i:d,j:d,parent:l,color:Array.isArray(a.style.colors)&&a.style.colors[d]?a.style.colors[d]:"#a8a8a8",dataLabelsConfig:c({textAnchor:k.textAnchor,dropShadow:{enabled:!1}},a),offsetCorrection:!1})}}),l}},{key:"createPaths",value:function(r,n){var a=this,l=[],u=[],p=[],d=[];if(r.length){u=[this.graphics.move(n.x,n.y)],d=[this.graphics.move(n.x,n.y)];var b=this.graphics.move(r[0].x,r[0].y),w=this.graphics.move(r[0].x,r[0].y);r.forEach(function(k,C){b+=a.graphics.line(k.x,k.y),w+=a.graphics.line(k.x,k.y),C===r.length-1&&(b+="Z",w+="Z")}),l.push(b),p.push(w)}return{linePathsFrom:u,linePathsTo:l,areaPathsFrom:d,areaPathsTo:p}}},{key:"getTextPos",value:function(r,n){var a="middle",l=r.x,u=r.y;return Math.abs(r.x)>=10?r.x>0?(a="start",l+=10):r.x<0&&(a="end",l-=10):a="middle",Math.abs(r.y)>=n-10&&(r.y<0?u-=10:r.y>0&&(u+=10)),{textAnchor:a,newX:l,newY:u}}},{key:"getPreviousPath",value:function(r){for(var n=this.w,a=null,l=0;l<n.globals.previousPaths.length;l++){var u=n.globals.previousPaths[l];u.paths.length>0&&parseInt(u.realIndex,10)===parseInt(r,10)&&n.globals.previousPaths[l].paths[0]!==void 0&&(a=n.globals.previousPaths[l].paths[0].d)}return a}},{key:"getDataPointsPos",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;r=r||[],n=n||[];for(var l=[],u=0;u<a;u++){var p={};p.x=r[u]*Math.sin(n[u]),p.y=-r[u]*Math.cos(n[u]),l.push(p)}return l}}]),J}(),Mn=function(J){A(n,$t);var r=Y(n);function n(a){var l;g(this,n),(l=r.call(this,a)).ctx=a,l.w=a.w,l.animBeginArr=[0],l.animDur=0;var u=l.w;return l.startAngle=u.config.plotOptions.radialBar.startAngle,l.endAngle=u.config.plotOptions.radialBar.endAngle,l.totalAngle=Math.abs(u.config.plotOptions.radialBar.endAngle-u.config.plotOptions.radialBar.startAngle),l.trackStartAngle=u.config.plotOptions.radialBar.track.startAngle,l.trackEndAngle=u.config.plotOptions.radialBar.track.endAngle,l.donutDataLabels=l.w.config.plotOptions.radialBar.dataLabels,l.radialDataLabels=l.donutDataLabels,l.trackStartAngle||(l.trackStartAngle=l.startAngle),l.trackEndAngle||(l.trackEndAngle=l.endAngle),l.endAngle===360&&(l.endAngle=359.99),l.margin=parseInt(u.config.plotOptions.radialBar.track.margin,10),l}return y(n,[{key:"draw",value:function(a){var l=this.w,u=new j(this.ctx),p=u.group({class:"apexcharts-radialbar"});if(l.globals.noData)return p;var d=u.group(),b=this.defaultSize/2,w=l.globals.gridWidth/2,k=this.defaultSize/2.05;l.config.chart.sparkline.enabled||(k=k-l.config.stroke.width-l.config.chart.dropShadow.blur);var C=l.globals.fill.colors;if(l.config.plotOptions.radialBar.track.show){var E=this.drawTracks({size:k,centerX:w,centerY:b,colorArr:C,series:a});d.add(E)}var F=this.drawArcs({size:k,centerX:w,centerY:b,colorArr:C,series:a}),H=360;l.config.plotOptions.radialBar.startAngle<0&&(H=this.totalAngle);var W=(360-H)/360;if(l.globals.radialSize=k-k*W,this.radialDataLabels.value.show){var U=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);l.globals.radialSize+=U*W}return d.add(F.g),l.config.plotOptions.radialBar.hollow.position==="front"&&(F.g.add(F.elHollow),F.dataLabels&&F.g.add(F.dataLabels)),p.add(d),p}},{key:"drawTracks",value:function(a){var l=this.w,u=new j(this.ctx),p=u.group({class:"apexcharts-tracks"}),d=new B(this.ctx),b=new De(this.ctx),w=this.getStrokeWidth(a);a.size=a.size-w/2;for(var k=0;k<a.series.length;k++){var C=u.group({class:"apexcharts-radialbar-track apexcharts-track"});p.add(C),C.attr({rel:k+1}),a.size=a.size-w-this.margin;var E=l.config.plotOptions.radialBar.track,F=b.fillPath({seriesNumber:0,size:a.size,fillColors:Array.isArray(E.background)?E.background[k]:E.background,solid:!0}),H=this.trackStartAngle,W=this.trackEndAngle;Math.abs(W)+Math.abs(H)>=360&&(W=360-Math.abs(this.startAngle)-.1);var U=u.drawPath({d:"",stroke:F,strokeWidth:w*parseInt(E.strokeWidth,10)/100,fill:"none",strokeOpacity:E.opacity,classes:"apexcharts-radialbar-area"});if(E.dropShadow.enabled){var Z=E.dropShadow;d.dropShadow(U,Z)}C.add(U),U.attr("id","apexcharts-radialbarTrack-"+k),this.animatePaths(U,{centerX:a.centerX,centerY:a.centerY,endAngle:W,startAngle:H,size:a.size,i:k,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:l.globals.easing})}return p}},{key:"drawArcs",value:function(a){var l=this.w,u=new j(this.ctx),p=new De(this.ctx),d=new B(this.ctx),b=u.group(),w=this.getStrokeWidth(a);a.size=a.size-w/2;var k=l.config.plotOptions.radialBar.hollow.background,C=a.size-w*a.series.length-this.margin*a.series.length-w*parseInt(l.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,E=C-l.config.plotOptions.radialBar.hollow.margin;l.config.plotOptions.radialBar.hollow.image!==void 0&&(k=this.drawHollowImage(a,b,C,k));var F=this.drawHollow({size:E,centerX:a.centerX,centerY:a.centerY,fill:k||"transparent"});if(l.config.plotOptions.radialBar.hollow.dropShadow.enabled){var H=l.config.plotOptions.radialBar.hollow.dropShadow;d.dropShadow(F,H)}var W=1;!this.radialDataLabels.total.show&&l.globals.series.length>1&&(W=0);var U=null;this.radialDataLabels.show&&(U=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:C,centerX:a.centerX,centerY:a.centerY,opacity:W})),l.config.plotOptions.radialBar.hollow.position==="back"&&(b.add(F),U&&b.add(U));var Z=!1;l.config.plotOptions.radialBar.inverseOrder&&(Z=!0);for(var ie=Z?a.series.length-1:0;Z?ie>=0:ie<a.series.length;Z?ie--:ie++){var se=u.group({class:"apexcharts-series apexcharts-radial-series",seriesName:T.escapeString(l.globals.seriesNames[ie])});b.add(se),se.attr({rel:ie+1,"data:realIndex":ie}),this.ctx.series.addCollapsedClassToSeries(se,ie),a.size=a.size-w-this.margin;var _=p.fillPath({seriesNumber:ie,size:a.size,value:a.series[ie]}),D=this.startAngle,R=void 0,Q=T.negToZero(a.series[ie]>100?100:a.series[ie])/100,be=Math.round(this.totalAngle*Q)+this.startAngle,Re=void 0;l.globals.dataChanged&&(R=this.startAngle,Re=Math.round(this.totalAngle*T.negToZero(l.globals.previousPaths[ie])/100)+R),Math.abs(be)+Math.abs(D)>=360&&(be-=.01),Math.abs(Re)+Math.abs(R)>=360&&(Re-=.01);var _e=be-D,Qe=Array.isArray(l.config.stroke.dashArray)?l.config.stroke.dashArray[ie]:l.config.stroke.dashArray,Ie=u.drawPath({d:"",stroke:_,strokeWidth:w,fill:"none",fillOpacity:l.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+ie,strokeDashArray:Qe});if(j.setAttrs(Ie.node,{"data:angle":_e,"data:value":a.series[ie]}),l.config.chart.dropShadow.enabled){var lt=l.config.chart.dropShadow;d.dropShadow(Ie,lt,ie)}d.setSelectionFilter(Ie,0,ie),this.addListeners(Ie,this.radialDataLabels),se.add(Ie),Ie.attr({index:0,j:ie});var wt=0;!this.initialAnim||l.globals.resized||l.globals.dataChanged||(wt=l.config.chart.animations.speed),l.globals.dataChanged&&(wt=l.config.chart.animations.dynamicAnimation.speed),this.animDur=wt/(1.2*a.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(Ie,{centerX:a.centerX,centerY:a.centerY,endAngle:be,startAngle:D,prevEndAngle:Re,prevStartAngle:R,size:a.size,i:ie,totalItems:2,animBeginArr:this.animBeginArr,dur:wt,shouldSetPrevPaths:!0,easing:l.globals.easing})}return{g:b,elHollow:F,dataLabels:U}}},{key:"drawHollow",value:function(a){var l=new j(this.ctx).drawCircle(2*a.size);return l.attr({class:"apexcharts-radialbar-hollow",cx:a.centerX,cy:a.centerY,r:a.size,fill:a.fill}),l}},{key:"drawHollowImage",value:function(a,l,u,p){var d=this.w,b=new De(this.ctx),w=T.randomId(),k=d.config.plotOptions.radialBar.hollow.image;if(d.config.plotOptions.radialBar.hollow.imageClipped)b.clippedImgArea({width:u,height:u,image:k,patternID:"pattern".concat(d.globals.cuid).concat(w)}),p="url(#pattern".concat(d.globals.cuid).concat(w,")");else{var C=d.config.plotOptions.radialBar.hollow.imageWidth,E=d.config.plotOptions.radialBar.hollow.imageHeight;if(C===void 0&&E===void 0){var F=d.globals.dom.Paper.image(k).loaded(function(W){this.move(a.centerX-W.width/2+d.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-W.height/2+d.config.plotOptions.radialBar.hollow.imageOffsetY)});l.add(F)}else{var H=d.globals.dom.Paper.image(k).loaded(function(W){this.move(a.centerX-C/2+d.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-E/2+d.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(C,E)});l.add(H)}}return p}},{key:"getStrokeWidth",value:function(a){var l=this.w;return a.size*(100-parseInt(l.config.plotOptions.radialBar.hollow.size,10))/100/(a.series.length+1)-this.margin}}]),n}(),ln=function(){function J(r){g(this,J),this.w=r.w,this.lineCtx=r}return y(J,[{key:"sameValueSeriesFix",value:function(r,n){var a=this.w;if(a.config.chart.type==="line"&&(a.config.fill.type==="gradient"||a.config.fill.type[r]==="gradient")&&new oe(this.lineCtx.ctx,a).seriesHaveSameValues(r)){var l=n[r].slice();l[l.length-1]=l[l.length-1]+1e-6,n[r]=l}return n}},{key:"calculatePoints",value:function(r){var n=r.series,a=r.realIndex,l=r.x,u=r.y,p=r.i,d=r.j,b=r.prevY,w=this.w,k=[],C=[];if(d===0){var E=this.lineCtx.categoryAxisCorrection+w.config.markers.offsetX;w.globals.isXNumeric&&(E=(w.globals.seriesX[a][0]-w.globals.minX)/this.lineCtx.xRatio+w.config.markers.offsetX),k.push(E),C.push(T.isNumber(n[p][0])?b+w.config.markers.offsetY:null),k.push(l+w.config.markers.offsetX),C.push(T.isNumber(n[p][d+1])?u+w.config.markers.offsetY:null)}else k.push(l+w.config.markers.offsetX),C.push(T.isNumber(n[p][d+1])?u+w.config.markers.offsetY:null);return{x:k,y:C}}},{key:"checkPreviousPaths",value:function(r){for(var n=r.pathFromLine,a=r.pathFromArea,l=r.realIndex,u=this.w,p=0;p<u.globals.previousPaths.length;p++){var d=u.globals.previousPaths[p];(d.type==="line"||d.type==="area")&&d.paths.length>0&&parseInt(d.realIndex,10)===parseInt(l,10)&&(d.type==="line"?(this.lineCtx.appendPathFrom=!1,n=u.globals.previousPaths[p].paths[0].d):d.type==="area"&&(this.lineCtx.appendPathFrom=!1,a=u.globals.previousPaths[p].paths[0].d,u.config.stroke.show&&u.globals.previousPaths[p].paths[1]&&(n=u.globals.previousPaths[p].paths[1].d)))}return{pathFromLine:n,pathFromArea:a}}},{key:"determineFirstPrevY",value:function(r){var n=r.i,a=r.series,l=r.prevY,u=r.lineYPosition,p=this.w;if(a[n][0]!==void 0)l=(u=p.config.chart.stacked&&n>0?this.lineCtx.prevSeriesY[n-1][0]:this.lineCtx.zeroY)-a[n][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?a[n][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(p.config.chart.stacked&&n>0&&a[n][0]===void 0){for(var d=n-1;d>=0;d--)if(a[d][0]!==null&&a[d][0]!==void 0){l=u=this.lineCtx.prevSeriesY[d][0];break}}return{prevY:l,lineYPosition:u}}}]),J}(),Xr=function(){function J(r,n,a){g(this,J),this.ctx=r,this.w=r.w,this.xyRatios=n,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||a,this.scatter=new Le(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new ln(this),this.markers=new he(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return y(J,[{key:"draw",value:function(r,n,a){var l=this.w,u=new j(this.ctx),p=l.globals.comboCharts?n:l.config.chart.type,d=u.group({class:"apexcharts-".concat(p,"-series apexcharts-plot-series")}),b=new oe(this.ctx,l);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,r=b.getLogSeries(r),this.yRatio=b.getLogYRatios(this.yRatio);for(var w=[],k=0;k<r.length;k++){r=this.lineHelpers.sameValueSeriesFix(k,r);var C=l.globals.comboCharts?a[k]:k;this._initSerieVariables(r,k,C);var E=[],F=[],H=l.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,C),l.globals.isXNumeric&&l.globals.seriesX.length>0&&(H=(l.globals.seriesX[C][0]-l.globals.minX)/this.xRatio),F.push(H);var W,U=H,Z=U,ie=this.zeroY;ie=this.lineHelpers.determineFirstPrevY({i:k,series:r,prevY:ie,lineYPosition:0}).prevY,E.push(ie),W=ie;var se=this._calculatePathsFrom({series:r,i:k,realIndex:C,prevX:Z,prevY:ie}),_=this._iterateOverDataPoints({series:r,realIndex:C,i:k,x:H,y:1,pX:U,pY:W,pathsFrom:se,linePaths:[],areaPaths:[],seriesIndex:a,lineYPosition:0,xArrj:F,yArrj:E});this._handlePaths({type:p,realIndex:C,i:k,paths:_}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),w.push(this.elSeries)}if(l.config.chart.stacked)for(var D=w.length;D>0;D--)d.add(w[D-1]);else for(var R=0;R<w.length;R++)d.add(w[R]);return d}},{key:"_initSerieVariables",value:function(r,n,a){var l=this.w,u=new j(this.ctx);this.xDivision=l.globals.gridWidth/(l.globals.dataPoints-(l.config.xaxis.tickPlacement==="on"?1:0)),this.strokeWidth=Array.isArray(l.config.stroke.width)?l.config.stroke.width[a]:l.config.stroke.width,this.yRatio.length>1&&(this.yaxisIndex=a),this.isReversed=l.config.yaxis[this.yaxisIndex]&&l.config.yaxis[this.yaxisIndex].reversed,this.zeroY=l.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?l.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>l.globals.gridHeight||l.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=l.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=u.group({class:"apexcharts-series",seriesName:T.escapeString(l.globals.seriesNames[a])}),this.elPointsMain=u.group({class:"apexcharts-series-markers-wrap","data:realIndex":a}),this.elDataLabelsWrap=u.group({class:"apexcharts-datalabels","data:realIndex":a});var p=r[n].length===l.globals.dataPoints;this.elSeries.attr({"data:longestSeries":p,rel:n+1,"data:realIndex":a}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(r){var n,a,l,u,p=r.series,d=r.i,b=r.realIndex,w=r.prevX,k=r.prevY,C=this.w,E=new j(this.ctx);if(p[d][0]===null){for(var F=0;F<p[d].length;F++)if(p[d][F]!==null){w=this.xDivision*F,k=this.zeroY-p[d][F]/this.yRatio[this.yaxisIndex],n=E.move(w,k),a=E.move(w,this.areaBottomY);break}}else n=E.move(w,k),a=E.move(w,this.areaBottomY)+E.line(w,k);if(l=E.move(-1,this.zeroY)+E.line(-1,this.zeroY),u=E.move(-1,this.zeroY)+E.line(-1,this.zeroY),C.globals.previousPaths.length>0){var H=this.lineHelpers.checkPreviousPaths({pathFromLine:l,pathFromArea:u,realIndex:b});l=H.pathFromLine,u=H.pathFromArea}return{prevX:w,prevY:k,linePath:n,areaPath:a,pathFromLine:l,pathFromArea:u}}},{key:"_handlePaths",value:function(r){var n=r.type,a=r.realIndex,l=r.i,u=r.paths,p=this.w,d=new j(this.ctx),b=new De(this.ctx);this.prevSeriesY.push(u.yArrj),p.globals.seriesXvalues[a]=u.xArrj,p.globals.seriesYvalues[a]=u.yArrj;var w=p.config.forecastDataPoints;if(w.count>0){var k=p.globals.seriesXvalues[a][p.globals.seriesXvalues[a].length-w.count-1],C=d.drawRect(k,0,p.globals.gridWidth,p.globals.gridHeight,0);p.globals.dom.elForecastMask.appendChild(C.node);var E=d.drawRect(0,0,k,p.globals.gridHeight,0);p.globals.dom.elNonForecastMask.appendChild(E.node)}this.pointsChart||p.globals.delayedElements.push({el:this.elPointsMain.node,index:a});var F={i:l,realIndex:a,animationDelay:l,initialSpeed:p.config.chart.animations.speed,dataChangeSpeed:p.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(n)};if(n==="area")for(var H=b.fillPath({seriesNumber:a}),W=0;W<u.areaPaths.length;W++){var U=d.renderPaths(c(c({},F),{},{pathFrom:u.pathFromArea,pathTo:u.areaPaths[W],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:H}));this.elSeries.add(U)}if(p.config.stroke.show&&!this.pointsChart){var Z=null;if(n==="line")Z=b.fillPath({seriesNumber:a,i:l});else if(p.config.stroke.fill.type==="solid")Z=p.globals.stroke.colors[a];else{var ie=p.config.fill;p.config.fill=p.config.stroke.fill,Z=b.fillPath({seriesNumber:a,i:l}),p.config.fill=ie}for(var se=0;se<u.linePaths.length;se++){var _=c(c({},F),{},{pathFrom:u.pathFromLine,pathTo:u.linePaths[se],stroke:Z,strokeWidth:this.strokeWidth,strokeLineCap:p.config.stroke.lineCap,fill:"none"}),D=d.renderPaths(_);if(this.elSeries.add(D),w.count>0){var R=d.renderPaths(_);R.node.setAttribute("stroke-dasharray",w.dashArray),w.strokeWidth&&R.node.setAttribute("stroke-width",w.strokeWidth),this.elSeries.add(R),R.attr("clip-path","url(#forecastMask".concat(p.globals.cuid,")")),D.attr("clip-path","url(#nonForecastMask".concat(p.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(r){for(var n=r.series,a=r.realIndex,l=r.i,u=r.x,p=r.y,d=r.pX,b=r.pY,w=r.pathsFrom,k=r.linePaths,C=r.areaPaths,E=r.seriesIndex,F=r.lineYPosition,H=r.xArrj,W=r.yArrj,U=this.w,Z=new j(this.ctx),ie=this.yRatio,se=w.prevY,_=w.linePath,D=w.areaPath,R=w.pathFromLine,Q=w.pathFromArea,be=T.isNumber(U.globals.minYArr[a])?U.globals.minYArr[a]:U.globals.minY,Re=U.globals.dataPoints>1?U.globals.dataPoints-1:U.globals.dataPoints,_e=0;_e<Re;_e++){var Qe=n[l][_e+1]===void 0||n[l][_e+1]===null;if(U.globals.isXNumeric){var Ie=U.globals.seriesX[a][_e+1];U.globals.seriesX[a][_e+1]===void 0&&(Ie=U.globals.seriesX[a][Re-1]),u=(Ie-U.globals.minX)/this.xRatio}else u+=this.xDivision;U.config.chart.stacked?l>0&&U.globals.collapsedSeries.length<U.config.series.length-1?F=this.prevSeriesY[function(Xt){for(var Et=Xt,mr=0;mr<U.globals.series.length;mr++)if(U.globals.collapsedSeriesIndices.indexOf(Xt)>-1){Et--;break}return Et>=0?Et:0}(l-1)][_e+1]:F=this.zeroY:F=this.zeroY,p=Qe?F-be/ie[this.yaxisIndex]+2*(this.isReversed?be/ie[this.yaxisIndex]:0):F-n[l][_e+1]/ie[this.yaxisIndex]+2*(this.isReversed?n[l][_e+1]/ie[this.yaxisIndex]:0),H.push(u),W.push(p);var lt=this.lineHelpers.calculatePoints({series:n,x:u,y:p,realIndex:a,i:l,j:_e,prevY:se}),wt=this._createPaths({series:n,i:l,realIndex:a,j:_e,x:u,y:p,pX:d,pY:b,linePath:_,areaPath:D,linePaths:k,areaPaths:C,seriesIndex:E});C=wt.areaPaths,k=wt.linePaths,d=wt.pX,b=wt.pY,D=wt.areaPath,_=wt.linePath,this.appendPathFrom&&(R+=Z.line(u,this.zeroY),Q+=Z.line(u,this.zeroY)),this.handleNullDataPoints(n,lt,l,_e,a),this._handleMarkersAndLabels({pointsPos:lt,series:n,x:u,y:p,prevY:se,i:l,j:_e,realIndex:a})}return{yArrj:W,xArrj:H,pathFromArea:Q,areaPaths:C,pathFromLine:R,linePaths:k}}},{key:"_handleMarkersAndLabels",value:function(r){var n=r.pointsPos;r.series,r.x,r.y,r.prevY;var a=r.i,l=r.j,u=r.realIndex,p=this.w,d=new Se(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,l,{realIndex:u,pointsPos:n,zRatio:this.zRatio,elParent:this.elPointsMain});else{p.globals.series[a].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var b=this.markers.plotChartMarkers(n,u,l+1);b!==null&&this.elPointsMain.add(b)}var w=d.drawDataLabel(n,u,l+1,null);w!==null&&this.elDataLabelsWrap.add(w)}},{key:"_createPaths",value:function(r){var n=r.series,a=r.i,l=r.realIndex,u=r.j,p=r.x,d=r.y,b=r.pX,w=r.pY,k=r.linePath,C=r.areaPath,E=r.linePaths,F=r.areaPaths,H=r.seriesIndex,W=this.w,U=new j(this.ctx),Z=W.config.stroke.curve,ie=this.areaBottomY;if(Array.isArray(W.config.stroke.curve)&&(Z=Array.isArray(H)?W.config.stroke.curve[H[a]]:W.config.stroke.curve[a]),Z==="smooth"){var se=.35*(p-b);W.globals.hasNullValues?(n[a][u]!==null&&(n[a][u+1]!==null?(k=U.move(b,w)+U.curve(b+se,w,p-se,d,p+1,d),C=U.move(b+1,w)+U.curve(b+se,w,p-se,d,p+1,d)+U.line(p,ie)+U.line(b,ie)+"z"):(k=U.move(b,w),C=U.move(b,w)+"z")),E.push(k),F.push(C)):(k+=U.curve(b+se,w,p-se,d,p,d),C+=U.curve(b+se,w,p-se,d,p,d)),b=p,w=d,u===n[a].length-2&&(C=C+U.curve(b,w,p,d,p,ie)+U.move(p,d)+"z",W.globals.hasNullValues||(E.push(k),F.push(C)))}else{if(n[a][u+1]===null){k+=U.move(p,d);var _=W.globals.isXNumeric?(W.globals.seriesX[l][u]-W.globals.minX)/this.xRatio:p-this.xDivision;C=C+U.line(_,ie)+U.move(p,d)+"z"}n[a][u]===null&&(k+=U.move(p,d),C+=U.move(p,ie)),Z==="stepline"?(k=k+U.line(p,null,"H")+U.line(null,d,"V"),C=C+U.line(p,null,"H")+U.line(null,d,"V")):Z==="straight"&&(k+=U.line(p,d),C+=U.line(p,d)),u===n[a].length-2&&(C=C+U.line(p,ie)+U.move(p,d)+"z",E.push(k),F.push(C))}return{linePaths:E,areaPaths:F,pX:b,pY:w,linePath:k,areaPath:C}}},{key:"handleNullDataPoints",value:function(r,n,a,l,u){var p=this.w;if(r[a][l]===null&&p.config.markers.showNullDataPoints||r[a].length===1){var d=this.markers.plotChartMarkers(n,u,l+1,this.strokeWidth-p.config.markers.strokeWidth/2,!0);d!==null&&this.elPointsMain.add(d)}}}]),J}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function J(d,b,w,k){this.xoffset=d,this.yoffset=b,this.height=k,this.width=w,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(C){var E,F=[],H=this.xoffset,W=this.yoffset,U=u(C)/this.height,Z=u(C)/this.width;if(this.width>=this.height)for(E=0;E<C.length;E++)F.push([H,W,H+U,W+C[E]/U]),W+=C[E]/U;else for(E=0;E<C.length;E++)F.push([H,W,H+C[E]/Z,W+Z]),H+=C[E]/Z;return F},this.cutArea=function(C){var E;if(this.width>=this.height){var F=C/this.height,H=this.width-F;E=new J(this.xoffset+F,this.yoffset,H,this.height)}else{var W=C/this.width,U=this.height-W;E=new J(this.xoffset,this.yoffset+W,this.width,U)}return E}}function r(d,b,w,k,C){return k=k===void 0?0:k,C=C===void 0?0:C,function(E){var F,H,W=[];for(F=0;F<E.length;F++)for(H=0;H<E[F].length;H++)W.push(E[F][H]);return W}(n(function(E,F){var H,W=[],U=F/u(E);for(H=0;H<E.length;H++)W[H]=E[H]*U;return W}(d,b*w),[],new J(k,C,b,w),[]))}function n(d,b,w,k){var C,E,F;if(d.length!==0)return C=w.shortestEdge(),function(H,W,U){var Z;if(H.length===0)return!0;(Z=H.slice()).push(W);var ie=a(H,U),se=a(Z,U);return ie>=se}(b,E=d[0],C)?(b.push(E),n(d.slice(1),b,w,k)):(F=w.cutArea(u(b),k),k.push(w.getCoordinates(b)),n(d,[],F,k)),k;k.push(w.getCoordinates(b))}function a(d,b){var w=Math.min.apply(Math,d),k=Math.max.apply(Math,d),C=u(d);return Math.max(Math.pow(b,2)*k/Math.pow(C,2),Math.pow(C,2)/(Math.pow(b,2)*w))}function l(d){return d&&d.constructor===Array}function u(d){var b,w=0;for(b=0;b<d.length;b++)w+=d[b];return w}function p(d){var b,w=0;if(l(d[0]))for(b=0;b<d.length;b++)w+=p(d[b]);else w=u(d);return w}return function d(b,w,k,C,E){C=C===void 0?0:C,E=E===void 0?0:E;var F,H,W=[],U=[];if(l(b[0])){for(H=0;H<b.length;H++)W[H]=p(b[H]);for(F=r(W,w,k,C,E),H=0;H<b.length;H++)U.push(d(b[H],F[H][2]-F[H][0],F[H][3]-F[H][1],F[H][0],F[H][1]))}else U=r(b,w,k,C,E);return U}}();var yn,vi,zo=function(){function J(r,n){g(this,J),this.ctx=r,this.w=r.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new Or(r),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return y(J,[{key:"draw",value:function(r){var n=this,a=this.w,l=new j(this.ctx),u=new De(this.ctx),p=l.group({class:"apexcharts-treemap"});if(a.globals.noData)return p;var d=[];return r.forEach(function(b){var w=b.map(function(k){return Math.abs(k)});d.push(w)}),this.negRange=this.helpers.checkColorRange(),a.config.series.forEach(function(b,w){b.data.forEach(function(k){Array.isArray(n.labels[w])||(n.labels[w]=[]),n.labels[w].push(k.x)})}),window.TreemapSquared.generate(d,a.globals.gridWidth,a.globals.gridHeight).forEach(function(b,w){var k=l.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:T.escapeString(a.globals.seriesNames[w]),rel:w+1,"data:realIndex":w});if(a.config.chart.dropShadow.enabled){var C=a.config.chart.dropShadow;new B(n.ctx).dropShadow(p,C,w)}var E=l.group({class:"apexcharts-data-labels"});b.forEach(function(F,H){var W=F[0],U=F[1],Z=F[2],ie=F[3],se=l.drawRect(W,U,Z-W,ie-U,0,"#fff",1,n.strokeWidth,a.config.plotOptions.treemap.useFillColorAsStroke?D:a.globals.stroke.colors[w]);se.attr({cx:W,cy:U,index:w,i:w,j:H,width:Z-W,height:ie-U});var _=n.helpers.getShadeColor(a.config.chart.type,w,H,n.negRange),D=_.color;a.config.series[w].data[H]!==void 0&&a.config.series[w].data[H].fillColor&&(D=a.config.series[w].data[H].fillColor);var R=u.fillPath({color:D,seriesNumber:w,dataPointIndex:H});se.node.classList.add("apexcharts-treemap-rect"),se.attr({fill:R}),n.helpers.addListeners(se);var Q={x:W+(Z-W)/2,y:U+(ie-U)/2,width:0,height:0},be={x:W,y:U,width:Z-W,height:ie-U};if(a.config.chart.animations.enabled&&!a.globals.dataChanged){var Re=1;a.globals.resized||(Re=a.config.chart.animations.speed),n.animateTreemap(se,Q,be,Re)}if(a.globals.dataChanged){var _e=1;n.dynamicAnim.enabled&&a.globals.shouldAnimate&&(_e=n.dynamicAnim.speed,a.globals.previousPaths[w]&&a.globals.previousPaths[w][H]&&a.globals.previousPaths[w][H].rect&&(Q=a.globals.previousPaths[w][H].rect),n.animateTreemap(se,Q,be,_e))}var Qe=n.getFontSize(F),Ie=a.config.dataLabels.formatter(n.labels[w][H],{value:a.globals.series[w][H],seriesIndex:w,dataPointIndex:H,w:a}),lt=n.helpers.calculateDataLabels({text:Ie,x:(W+Z)/2,y:(U+ie)/2+n.strokeWidth/2+Qe/3,i:w,j:H,colorProps:_,fontSize:Qe,series:r});a.config.dataLabels.enabled&&lt&&n.rotateToFitLabel(lt,Qe,Ie,W,U,Z,ie),k.add(se),lt!==null&&k.add(lt)}),k.add(E),p.add(k)}),p}},{key:"getFontSize",value:function(r){var n=this.w,a,l,u,p,d=function b(w){var k,C=0;if(Array.isArray(w[0]))for(k=0;k<w.length;k++)C+=b(w[k]);else for(k=0;k<w.length;k++)C+=w[k].length;return C}(this.labels)/function b(w){var k,C=0;if(Array.isArray(w[0]))for(k=0;k<w.length;k++)C+=b(w[k]);else for(k=0;k<w.length;k++)C+=1;return C}(this.labels);return a=r[2]-r[0],l=r[3]-r[1],u=a*l,p=Math.pow(u,.5),Math.min(p/d,parseInt(n.config.dataLabels.style.fontSize,10))}},{key:"rotateToFitLabel",value:function(r,n,a,l,u,p,d){var b=new j(this.ctx),w=b.getTextRects(a,n);if(w.width+this.w.config.stroke.width+5>p-l&&w.width<=d-u){var k=b.rotateAroundCenter(r.node);r.node.setAttribute("transform","rotate(-90 ".concat(k.x," ").concat(k.y,")"))}}},{key:"animateTreemap",value:function(r,n,a,l){var u=new re(this.ctx);u.animateRect(r,{x:n.x,y:n.y,width:n.width,height:n.height},{x:a.x,y:a.y,width:a.width,height:a.height},l,function(){u.animationCompleted(r)})}}]),J}(),vh=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return y(J,[{key:"calculateTimeScaleTicks",value:function(r,n){var a=this,l=this.w;if(l.globals.allSeriesCollapsed)return l.globals.labels=[],l.globals.timescaleLabels=[],[];var u=new ne(this.ctx),p=(n-r)/864e5;this.determineInterval(p),l.globals.disableZoomIn=!1,l.globals.disableZoomOut=!1,p<.00011574074074074075?l.globals.disableZoomIn=!0:p>5e4&&(l.globals.disableZoomOut=!0);var d=u.getTimeUnitsfromTimestamp(r,n,this.utc),b=l.globals.gridWidth/p,w=b/24,k=w/60,C=k/60,E=Math.floor(24*p),F=Math.floor(1440*p),H=Math.floor(86400*p),W=Math.floor(p),U=Math.floor(p/30),Z=Math.floor(p/365),ie={minMillisecond:d.minMillisecond,minSecond:d.minSecond,minMinute:d.minMinute,minHour:d.minHour,minDate:d.minDate,minMonth:d.minMonth,minYear:d.minYear},se={firstVal:ie,currentMillisecond:ie.minMillisecond,currentSecond:ie.minSecond,currentMinute:ie.minMinute,currentHour:ie.minHour,currentMonthDate:ie.minDate,currentDate:ie.minDate,currentMonth:ie.minMonth,currentYear:ie.minYear,daysWidthOnXAxis:b,hoursWidthOnXAxis:w,minutesWidthOnXAxis:k,secondsWidthOnXAxis:C,numberOfSeconds:H,numberOfMinutes:F,numberOfHours:E,numberOfDays:W,numberOfMonths:U,numberOfYears:Z};switch(this.tickInterval){case"years":this.generateYearScale(se);break;case"months":case"half_year":this.generateMonthScale(se);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(se);break;case"hours":this.generateHourScale(se);break;case"minutes_fives":case"minutes":this.generateMinuteScale(se);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(se)}var _=this.timeScaleArray.map(function(D){var R={position:D.position,unit:D.unit,year:D.year,day:D.day?D.day:1,hour:D.hour?D.hour:0,month:D.month+1};return D.unit==="month"?c(c({},R),{},{day:1,value:D.value+1}):D.unit==="day"||D.unit==="hour"?c(c({},R),{},{value:D.value}):D.unit==="minute"?c(c({},R),{},{value:D.value,minute:D.value}):D.unit==="second"?c(c({},R),{},{value:D.value,minute:D.minute,second:D.second}):D});return _.filter(function(D){var R=1,Q=Math.ceil(l.globals.gridWidth/120),be=D.value;l.config.xaxis.tickAmount!==void 0&&(Q=l.config.xaxis.tickAmount),_.length>Q&&(R=Math.floor(_.length/Q));var Re=!1,_e=!1;switch(a.tickInterval){case"years":D.unit==="year"&&(Re=!0);break;case"half_year":R=7,D.unit==="year"&&(Re=!0);break;case"months":R=1,D.unit==="year"&&(Re=!0);break;case"months_fortnight":R=15,D.unit!=="year"&&D.unit!=="month"||(Re=!0),be===30&&(_e=!0);break;case"months_days":R=10,D.unit==="month"&&(Re=!0),be===30&&(_e=!0);break;case"week_days":R=8,D.unit==="month"&&(Re=!0);break;case"days":R=1,D.unit==="month"&&(Re=!0);break;case"hours":D.unit==="day"&&(Re=!0);break;case"minutes_fives":be%5!=0&&(_e=!0);break;case"seconds_tens":be%10!=0&&(_e=!0);break;case"seconds_fives":be%5!=0&&(_e=!0)}if(a.tickInterval==="hours"||a.tickInterval==="minutes_fives"||a.tickInterval==="seconds_tens"||a.tickInterval==="seconds_fives"){if(!_e)return!0}else if((be%R==0||Re)&&!_e)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(r,n){var a=this.w,l=this.formatDates(r),u=this.removeOverlappingTS(l);a.globals.timescaleLabels=u.slice(),new je(this.ctx).plotCoords()}},{key:"determineInterval",value:function(r){var n=24*r,a=60*n;switch(!0){case r/365>5:this.tickInterval="years";break;case r>800:this.tickInterval="half_year";break;case r>180:this.tickInterval="months";break;case r>90:this.tickInterval="months_fortnight";break;case r>60:this.tickInterval="months_days";break;case r>30:this.tickInterval="week_days";break;case r>2:this.tickInterval="days";break;case n>2.4:this.tickInterval="hours";break;case a>15:this.tickInterval="minutes_fives";break;case a>5:this.tickInterval="minutes";break;case a>1:this.tickInterval="seconds_tens";break;case 60*a>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(r){var n=r.firstVal,a=r.currentMonth,l=r.currentYear,u=r.daysWidthOnXAxis,p=r.numberOfYears,d=n.minYear,b=0,w=new ne(this.ctx),k="year";if(n.minDate>1||n.minMonth>0){var C=w.determineRemainingDaysOfYear(n.minYear,n.minMonth,n.minDate);b=(w.determineDaysOfYear(n.minYear)-C+1)*u,d=n.minYear+1,this.timeScaleArray.push({position:b,value:d,unit:k,year:d,month:T.monthMod(a+1)})}else n.minDate===1&&n.minMonth===0&&this.timeScaleArray.push({position:b,value:d,unit:k,year:l,month:T.monthMod(a+1)});for(var E=d,F=b,H=0;H<p;H++)E++,F=w.determineDaysOfYear(E-1)*u+F,this.timeScaleArray.push({position:F,value:E,unit:k,year:E,month:1})}},{key:"generateMonthScale",value:function(r){var n=r.firstVal,a=r.currentMonthDate,l=r.currentMonth,u=r.currentYear,p=r.daysWidthOnXAxis,d=r.numberOfMonths,b=l,w=0,k=new ne(this.ctx),C="month",E=0;if(n.minDate>1){w=(k.determineDaysOfMonths(l+1,n.minYear)-a+1)*p,b=T.monthMod(l+1);var F=u+E,H=T.monthMod(b),W=b;b===0&&(C="year",W=F,H=1,F+=E+=1),this.timeScaleArray.push({position:w,value:W,unit:C,year:F,month:H})}else this.timeScaleArray.push({position:w,value:b,unit:C,year:u,month:T.monthMod(l)});for(var U=b+1,Z=w,ie=0,se=1;ie<d;ie++,se++){(U=T.monthMod(U))===0?(C="year",E+=1):C="month";var _=this._getYear(u,U,E);Z=k.determineDaysOfMonths(U,_)*p+Z;var D=U===0?_:U;this.timeScaleArray.push({position:Z,value:D,unit:C,year:_,month:U===0?1:U}),U++}}},{key:"generateDayScale",value:function(r){var n=r.firstVal,a=r.currentMonth,l=r.currentYear,u=r.hoursWidthOnXAxis,p=r.numberOfDays,d=new ne(this.ctx),b="day",w=n.minDate+1,k=w,C=function(se,_,D){return se>d.determineDaysOfMonths(_+1,D)&&(k=1,b="month",F=_+=1),_},E=(24-n.minHour)*u,F=w,H=C(k,a,l);n.minHour===0&&n.minDate===1?(E=0,F=T.monthMod(n.minMonth),b="month",k=n.minDate,p++):n.minDate!==1&&n.minHour===0&&n.minMinute===0&&(E=0,w=n.minDate,F=w,H=C(k=w,a,l)),this.timeScaleArray.push({position:E,value:F,unit:b,year:this._getYear(l,H,0),month:T.monthMod(H),day:k});for(var W=E,U=0;U<p;U++){b="day",H=C(k+=1,H,this._getYear(l,H,0));var Z=this._getYear(l,H,0);W=24*u+W;var ie=k===1?T.monthMod(H):k;this.timeScaleArray.push({position:W,value:ie,unit:b,year:Z,month:T.monthMod(H),day:ie})}}},{key:"generateHourScale",value:function(r){var n=r.firstVal,a=r.currentDate,l=r.currentMonth,u=r.currentYear,p=r.minutesWidthOnXAxis,d=r.numberOfHours,b=new ne(this.ctx),w="hour",k=function(R,Q){return R>b.determineDaysOfMonths(Q+1,u)&&(U=1,Q+=1),{month:Q,date:U}},C=function(R,Q){return R>b.determineDaysOfMonths(Q+1,u)?Q+=1:Q},E=60-(n.minMinute+n.minSecond/60),F=E*p,H=n.minHour+1,W=H+1;E===60&&(F=0,W=(H=n.minHour)+1);var U=a,Z=C(U,l);this.timeScaleArray.push({position:F,value:H,unit:w,day:U,hour:W,year:u,month:T.monthMod(Z)});for(var ie=F,se=0;se<d;se++){w="hour",W>=24&&(W=0,w="day",Z=k(U+=1,Z).month,Z=C(U,Z));var _=this._getYear(u,Z,0);ie=W===0&&se===0?E*p:60*p+ie;var D=W===0?U:W;this.timeScaleArray.push({position:ie,value:D,unit:w,hour:W,day:U,year:_,month:T.monthMod(Z)}),W++}}},{key:"generateMinuteScale",value:function(r){for(var n=r.currentMillisecond,a=r.currentSecond,l=r.currentMinute,u=r.currentHour,p=r.currentDate,d=r.currentMonth,b=r.currentYear,w=r.minutesWidthOnXAxis,k=r.secondsWidthOnXAxis,C=r.numberOfMinutes,E=l+1,F=p,H=d,W=b,U=u,Z=(60-a-n/1e3)*k,ie=0;ie<C;ie++)E>=60&&(E=0,(U+=1)===24&&(U=0)),this.timeScaleArray.push({position:Z,value:E,unit:"minute",hour:U,minute:E,day:F,year:this._getYear(W,H,0),month:T.monthMod(H)}),Z+=w,E++}},{key:"generateSecondScale",value:function(r){for(var n=r.currentMillisecond,a=r.currentSecond,l=r.currentMinute,u=r.currentHour,p=r.currentDate,d=r.currentMonth,b=r.currentYear,w=r.secondsWidthOnXAxis,k=r.numberOfSeconds,C=a+1,E=l,F=p,H=d,W=b,U=u,Z=(1e3-n)/1e3*w,ie=0;ie<k;ie++)C>=60&&(C=0,++E>=60&&(E=0,++U===24&&(U=0))),this.timeScaleArray.push({position:Z,value:C,unit:"second",hour:U,minute:E,second:C,day:F,year:this._getYear(W,H,0),month:T.monthMod(H)}),Z+=w,C++}},{key:"createRawDateString",value:function(r,n){var a=r.year;return r.month===0&&(r.month=1),a+="-"+("0"+r.month.toString()).slice(-2),r.unit==="day"?a+=r.unit==="day"?"-"+("0"+n).slice(-2):"-01":a+="-"+("0"+(r.day?r.day:"1")).slice(-2),r.unit==="hour"?a+=r.unit==="hour"?"T"+("0"+n).slice(-2):"T00":a+="T"+("0"+(r.hour?r.hour:"0")).slice(-2),r.unit==="minute"?a+=":"+("0"+n).slice(-2):a+=":"+(r.minute?("0"+r.minute).slice(-2):"00"),r.unit==="second"?a+=":"+("0"+n).slice(-2):a+=":00",this.utc&&(a+=".000Z"),a}},{key:"formatDates",value:function(r){var n=this,a=this.w;return r.map(function(l){var u=l.value.toString(),p=new ne(n.ctx),d=n.createRawDateString(l,u),b=p.getDate(p.parseDate(d));if(n.utc||(b=p.getDate(p.parseDateWithTimezone(d))),a.config.xaxis.labels.format===void 0){var w="dd MMM",k=a.config.xaxis.labels.datetimeFormatter;l.unit==="year"&&(w=k.year),l.unit==="month"&&(w=k.month),l.unit==="day"&&(w=k.day),l.unit==="hour"&&(w=k.hour),l.unit==="minute"&&(w=k.minute),l.unit==="second"&&(w=k.second),u=p.formatDate(b,w)}else u=p.formatDate(b,a.config.xaxis.labels.format);return{dateString:d,position:l.position,value:u,unit:l.unit,year:l.year,month:l.month}})}},{key:"removeOverlappingTS",value:function(r){var n,a=this,l=new j(this.ctx),u=!1;r.length>0&&r[0].value&&r.every(function(b){return b.value.length===r[0].value.length})&&(u=!0,n=l.getTextRects(r[0].value).width);var p=0,d=r.map(function(b,w){if(w>0&&a.w.config.xaxis.labels.hideOverlappingLabels){var k=u?n:l.getTextRects(r[p].value).width,C=r[p].position;return b.position>C+k+10?(p=w,b):null}return b});return d=d.filter(function(b){return b!==null})}},{key:"_getYear",value:function(r,n,a){return r+Math.floor(n/12)+a}}]),J}(),hs=function(){function J(r,n){g(this,J),this.ctx=n,this.w=n.w,this.el=r}return y(J,[{key:"setupElements",value:function(){var r=this.w.globals,n=this.w.config,a=n.chart.type;r.axisCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(a)>-1,r.xyCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble"].indexOf(a)>-1,r.isBarHorizontal=(n.chart.type==="bar"||n.chart.type==="rangeBar"||n.chart.type==="boxPlot")&&n.plotOptions.bar.horizontal,r.chartClass=".apexcharts"+r.chartID,r.dom.baseEl=this.el,r.dom.elWrap=document.createElement("div"),j.setAttrs(r.dom.elWrap,{id:r.chartClass.substring(1),class:"apexcharts-canvas "+r.chartClass.substring(1)}),this.el.appendChild(r.dom.elWrap),r.dom.Paper=new window.SVG.Doc(r.dom.elWrap),r.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(n.chart.offsetX,", ").concat(n.chart.offsetY,")")}),r.dom.Paper.node.style.background=n.chart.background,this.setSVGDimensions(),r.dom.elGraphical=r.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),r.dom.elAnnotations=r.dom.Paper.group().attr({class:"apexcharts-annotations"}),r.dom.elDefs=r.dom.Paper.defs(),r.dom.elLegendWrap=document.createElement("div"),r.dom.elLegendWrap.classList.add("apexcharts-legend"),r.dom.elWrap.appendChild(r.dom.elLegendWrap),r.dom.Paper.add(r.dom.elGraphical),r.dom.elGraphical.add(r.dom.elDefs)}},{key:"plotChartType",value:function(r,n){var a=this.w,l=a.config,u=a.globals,p={series:[],i:[]},d={series:[],i:[]},b={series:[],i:[]},w={series:[],i:[]},k={series:[],i:[]},C={series:[],i:[]},E={series:[],i:[]};u.series.map(function(D,R){var Q=0;r[R].type!==void 0?(r[R].type==="column"||r[R].type==="bar"?(u.series.length>1&&l.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),k.series.push(D),k.i.push(R),Q++,a.globals.columnSeries=k.series):r[R].type==="area"?(d.series.push(D),d.i.push(R),Q++):r[R].type==="line"?(p.series.push(D),p.i.push(R),Q++):r[R].type==="scatter"?(b.series.push(D),b.i.push(R)):r[R].type==="bubble"?(w.series.push(D),w.i.push(R),Q++):r[R].type==="candlestick"?(C.series.push(D),C.i.push(R),Q++):r[R].type==="boxPlot"?(E.series.push(D),E.i.push(R),Q++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble"),Q>1&&(u.comboCharts=!0)):(p.series.push(D),p.i.push(R))});var F=new Xr(this.ctx,n),H=new Nt(this.ctx,n);this.ctx.pie=new $t(this.ctx);var W=new Mn(this.ctx);this.ctx.rangeBar=new te(this.ctx,n);var U=new sn(this.ctx),Z=[];if(u.comboCharts){if(d.series.length>0&&Z.push(F.draw(d.series,"area",d.i)),k.series.length>0)if(a.config.chart.stacked){var ie=new Dt(this.ctx,n);Z.push(ie.draw(k.series,k.i))}else this.ctx.bar=new et(this.ctx,n),Z.push(this.ctx.bar.draw(k.series,k.i));if(p.series.length>0&&Z.push(F.draw(p.series,"line",p.i)),C.series.length>0&&Z.push(H.draw(C.series,C.i)),E.series.length>0&&Z.push(H.draw(E.series,E.i)),b.series.length>0){var se=new Xr(this.ctx,n,!0);Z.push(se.draw(b.series,"scatter",b.i))}if(w.series.length>0){var _=new Xr(this.ctx,n,!0);Z.push(_.draw(w.series,"bubble",w.i))}}else switch(l.chart.type){case"line":Z=F.draw(u.series,"line");break;case"area":Z=F.draw(u.series,"area");break;case"bar":l.chart.stacked?Z=new Dt(this.ctx,n).draw(u.series):(this.ctx.bar=new et(this.ctx,n),Z=this.ctx.bar.draw(u.series));break;case"candlestick":Z=new Nt(this.ctx,n).draw(u.series);break;case"boxPlot":Z=new Nt(this.ctx,n).draw(u.series);break;case"rangeBar":Z=this.ctx.rangeBar.draw(u.series);break;case"heatmap":Z=new Ut(this.ctx,n).draw(u.series);break;case"treemap":Z=new zo(this.ctx,n).draw(u.series);break;case"pie":case"donut":case"polarArea":Z=this.ctx.pie.draw(u.series);break;case"radialBar":Z=W.draw(u.series);break;case"radar":Z=U.draw(u.series);break;default:Z=F.draw(u.series)}return Z}},{key:"setSVGDimensions",value:function(){var r=this.w.globals,n=this.w.config;r.svgWidth=n.chart.width,r.svgHeight=n.chart.height;var a=T.getDimensions(this.el),l=n.chart.width.toString().split(/[0-9]+/g).pop();l==="%"?T.isNumber(a[0])&&(a[0].width===0&&(a=T.getDimensions(this.el.parentNode)),r.svgWidth=a[0]*parseInt(n.chart.width,10)/100):l!=="px"&&l!==""||(r.svgWidth=parseInt(n.chart.width,10));var u=n.chart.height.toString().split(/[0-9]+/g).pop();if(r.svgHeight!=="auto"&&r.svgHeight!=="")if(u==="%"){var p=T.getDimensions(this.el.parentNode);r.svgHeight=p[1]*parseInt(n.chart.height,10)/100}else r.svgHeight=parseInt(n.chart.height,10);else r.axisCharts?r.svgHeight=r.svgWidth/1.61:r.svgHeight=r.svgWidth/1.2;if(r.svgWidth<0&&(r.svgWidth=0),r.svgHeight<0&&(r.svgHeight=0),j.setAttrs(r.dom.Paper.node,{width:r.svgWidth,height:r.svgHeight}),u!=="%"){var d=n.chart.sparkline.enabled?0:r.axisCharts?n.chart.parentHeightOffset:0;r.dom.Paper.node.parentNode.parentNode.style.minHeight=r.svgHeight+d+"px"}r.dom.elWrap.style.width=r.svgWidth+"px",r.dom.elWrap.style.height=r.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var r=this.w.globals,n=r.translateY,a={transform:"translate("+r.translateX+", "+n+")"};j.setAttrs(r.dom.elGraphical.node,a)}},{key:"resizeNonAxisCharts",value:function(){var r=this.w,n=r.globals,a=0,l=r.config.chart.sparkline.enabled?1:15;l+=r.config.grid.padding.bottom,r.config.legend.position!=="top"&&r.config.legend.position!=="bottom"||!r.config.legend.show||r.config.legend.floating||(a=new pt(this.ctx).legendHelpers.getLegendBBox().clwh+10);var u=r.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),p=2.05*r.globals.radialSize;if(u&&!r.config.chart.sparkline.enabled&&r.config.plotOptions.radialBar.startAngle!==0){var d=T.getBoundingClientRect(u);p=d.bottom;var b=d.bottom-d.top;p=Math.max(2.05*r.globals.radialSize,b)}var w=p+n.translateY+a+l;n.dom.elLegendForeign&&n.dom.elLegendForeign.setAttribute("height",w),r.config.chart.height&&String(r.config.chart.height).indexOf("%")>0||(n.dom.elWrap.style.height=w+"px",j.setAttrs(n.dom.Paper.node,{height:w}),n.dom.Paper.node.parentNode.parentNode.style.minHeight=w+"px")}},{key:"coreCalculations",value:function(){new Xe(this.ctx).init()}},{key:"resetGlobals",value:function(){var r=this,n=function(){return r.w.config.series.map(function(u){return[]})},a=new Pe,l=this.w.globals;a.initGlobalVars(l),l.seriesXvalues=n(),l.seriesYvalues=n()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var r=null,n=this.w;if(n.globals.axisCharts){if(n.config.xaxis.crosshairs.position==="back"&&new me(this.ctx).drawXCrosshairs(),n.config.yaxis[0].crosshairs.position==="back"&&new me(this.ctx).drawYCrosshairs(),n.config.xaxis.type==="datetime"&&n.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new vh(this.ctx);var a=[];isFinite(n.globals.minX)&&isFinite(n.globals.maxX)&&!n.globals.isBarHorizontal?a=this.ctx.timeScale.calculateTimeScaleTicks(n.globals.minX,n.globals.maxX):n.globals.isBarHorizontal&&(a=this.ctx.timeScale.calculateTimeScaleTicks(n.globals.minY,n.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(a)}r=new oe(this.ctx).getCalculatedRatios()}return r}},{key:"updateSourceChart",value:function(r){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:r.w.globals.minX,max:r.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var r=this,n=this.w;if(n.config.chart.brush.enabled&&typeof n.config.chart.events.selection!="function"){var a=n.config.chart.brush.targets||[n.config.chart.brush.target];a.forEach(function(l){var u=ApexCharts.getChartByID(l);u.w.globals.brushSource=r.ctx,typeof u.w.config.chart.events.zoomed!="function"&&(u.w.config.chart.events.zoomed=function(){r.updateSourceChart(u)}),typeof u.w.config.chart.events.scrolled!="function"&&(u.w.config.chart.events.scrolled=function(){r.updateSourceChart(u)})}),n.config.chart.events.selection=function(l,u){a.forEach(function(p){var d=ApexCharts.getChartByID(p),b=T.clone(n.config.yaxis);if(n.config.chart.brush.autoScaleYaxis&&d.w.globals.series.length===1){var w=new Oe(d);b=w.autoScaleY(d,b,u)}var k=d.w.config.yaxis.reduce(function(C,E,F){return[].concat(ee(C),[c(c({},d.w.config.yaxis[F]),{},{min:b[0].min,max:b[0].max})])},[]);d.ctx.updateHelpers._updateOptions({xaxis:{min:u.xaxis.min,max:u.xaxis.max},yaxis:k},!1,!1,!1,!1)})}}}}]),J}(),xh=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"_updateOptions",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],l=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],u=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],p=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise(function(d){var b=[n.ctx];u&&(b=n.ctx.getSyncedCharts()),n.ctx.w.globals.isExecCalled&&(b=[n.ctx],n.ctx.w.globals.isExecCalled=!1),b.forEach(function(w,k){var C=w.w;if(C.globals.shouldAnimate=l,a||(C.globals.resized=!0,C.globals.dataChanged=!0,l&&w.series.getPreviousPaths()),r&&h(r)==="object"&&(w.config=new we(r),r=oe.extendArrayProps(w.config,r,C),w.w.globals.chartID!==n.ctx.w.globals.chartID&&delete r.series,C.config=T.extend(C.config,r),p&&(C.globals.lastXAxis=r.xaxis?T.clone(r.xaxis):[],C.globals.lastYAxis=r.yaxis?T.clone(r.yaxis):[],C.globals.initialConfig=T.extend({},C.config),C.globals.initialSeries=T.clone(C.config.series),r.series))){for(var E=0;E<C.globals.collapsedSeriesIndices.length;E++){var F=C.config.series[C.globals.collapsedSeriesIndices[E]];C.globals.collapsedSeries[E].data=C.globals.axisCharts?F.data.slice():F}for(var H=0;H<C.globals.ancillaryCollapsedSeriesIndices.length;H++){var W=C.config.series[C.globals.ancillaryCollapsedSeriesIndices[H]];C.globals.ancillaryCollapsedSeries[H].data=C.globals.axisCharts?W.data.slice():W}w.series.emptyCollapsedSeries(C.config.series)}return w.update(r).then(function(){k===b.length-1&&d(w)})})})}},{key:"_updateSeries",value:function(r,n){var a=this,l=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return new Promise(function(u){var p,d=a.w;return d.globals.shouldAnimate=n,d.globals.dataChanged=!0,n&&a.ctx.series.getPreviousPaths(),d.globals.axisCharts?((p=r.map(function(b,w){return a._extendSeries(b,w)})).length===0&&(p=[{data:[]}]),d.config.series=p):d.config.series=r.slice(),l&&(d.globals.initialConfig.series=T.clone(d.config.series),d.globals.initialSeries=T.clone(d.config.series)),a.ctx.update().then(function(){u(a.ctx)})})}},{key:"_extendSeries",value:function(r,n){var a=this.w,l=a.config.series[n];return c(c({},a.config.series[n]),{},{name:r.name?r.name:l&&l.name,color:r.color?r.color:l&&l.color,type:r.type?r.type:l&&l.type,data:r.data?r.data:l&&l.data})}},{key:"toggleDataPointSelection",value:function(r,n){var a=this.w,l=null,u=".apexcharts-series[data\\:realIndex='".concat(r,"']");return a.globals.axisCharts?l=a.globals.dom.Paper.select("".concat(u," path[j='").concat(n,"'], ").concat(u," circle[j='").concat(n,"'], ").concat(u," rect[j='").concat(n,"']")).members[0]:n===void 0&&(l=a.globals.dom.Paper.select("".concat(u," path[j='").concat(r,"']")).members[0],a.config.chart.type!=="pie"&&a.config.chart.type!=="polarArea"&&a.config.chart.type!=="donut"||this.ctx.pie.pieClicked(r)),l?(new j(this.ctx).pathMouseDown(l,null),l.node?l.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(r){var n=this.w;if(["min","max"].forEach(function(l){r.xaxis[l]!==void 0&&(n.config.xaxis[l]=r.xaxis[l],n.globals.lastXAxis[l]=r.xaxis[l])}),r.xaxis.categories&&r.xaxis.categories.length&&(n.config.xaxis.categories=r.xaxis.categories),n.config.xaxis.convertedCatToNumeric){var a=new tt(r);r=a.convertCatToNumericXaxis(r,this.ctx)}return r}},{key:"forceYAxisUpdate",value:function(r){return r.chart&&r.chart.stacked&&r.chart.stackType==="100%"&&(Array.isArray(r.yaxis)?r.yaxis.forEach(function(n,a){r.yaxis[a].min=0,r.yaxis[a].max=100}):(r.yaxis.min=0,r.yaxis.max=100)),r}},{key:"revertDefaultAxisMinMax",value:function(r){var n=this,a=this.w,l=a.globals.lastXAxis,u=a.globals.lastYAxis;r&&r.xaxis&&(l=r.xaxis),r&&r.yaxis&&(u=r.yaxis),a.config.xaxis.min=l.min,a.config.xaxis.max=l.max;var p=function(d){u[d]!==void 0&&(a.config.yaxis[d].min=u[d].min,a.config.yaxis[d].max=u[d].max)};a.config.yaxis.map(function(d,b){a.globals.zoomed||u[b]!==void 0?p(b):n.ctx.opts.yaxis[b]!==void 0&&(d.min=n.ctx.opts.yaxis[b].min,d.max=n.ctx.opts.yaxis[b].max)})}}]),J}();yn=typeof window<"u"?window:void 0,vi=function(J,r){var n=(this!==void 0?this:J).SVG=function(_){if(n.supported)return _=new n.Doc(_),n.parser.draw||n.prepare(),_};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.dev",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(_){return"Svgjs"+k(_)+n.did++},n.create=function(_){var D=r.createElementNS(this.ns,_);return D.setAttribute("id",this.eid(_)),D},n.extend=function(){var _,D;D=(_=[].slice.call(arguments)).pop();for(var R=_.length-1;R>=0;R--)if(_[R])for(var Q in D)_[R].prototype[Q]=D[Q];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(_){var D=typeof _.create=="function"?_.create:function(){this.constructor.call(this,n.create(_.create))};return _.inherit&&(D.prototype=new _.inherit),_.extend&&n.extend(D,_.extend),_.construct&&n.extend(_.parent||n.Container,_.construct),D},n.adopt=function(_){return _?_.instance?_.instance:((D=_.nodeName=="svg"?_.parentNode instanceof J.SVGElement?new n.Nested:new n.Doc:_.nodeName=="linearGradient"?new n.Gradient("linear"):_.nodeName=="radialGradient"?new n.Gradient("radial"):n[k(_.nodeName)]?new n[k(_.nodeName)]:new n.Element(_)).type=_.nodeName,D.node=_,_.instance=D,D instanceof n.Doc&&D.namespace().defs(),D.setData(JSON.parse(_.getAttribute("svgjs:data"))||{}),D):null;var D},n.prepare=function(){var _=r.getElementsByTagName("body")[0],D=(_?new n.Doc(_):n.adopt(r.documentElement).nested()).size(2,0);n.parser={body:_||r.documentElement,draw:D.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:D.polyline().node,path:D.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},r.addEventListener("DOMContentLoaded",function(){n.parser.draw||n.prepare()},!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(_,D){for(var R=_.length,Q=[],be=0;be<R;be++)Q.push(D(_[be]));return Q},filter:function(_,D){for(var R=_.length,Q=[],be=0;be<R;be++)D(_[be])&&Q.push(_[be]);return Q},filterSVGElements:function(_){return this.filter(_,function(D){return D instanceof J.SVGElement})}},n.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},n.Color=function(_){var D,R;this.r=0,this.g=0,this.b=0,_&&(typeof _=="string"?n.regex.isRgb.test(_)?(D=n.regex.rgb.exec(_.replace(n.regex.whitespace,"")),this.r=parseInt(D[1]),this.g=parseInt(D[2]),this.b=parseInt(D[3])):n.regex.isHex.test(_)&&(D=n.regex.hex.exec((R=_).length==4?["#",R.substring(1,2),R.substring(1,2),R.substring(2,3),R.substring(2,3),R.substring(3,4),R.substring(3,4)].join(""):R),this.r=parseInt(D[1],16),this.g=parseInt(D[2],16),this.b=parseInt(D[3],16)):h(_)==="object"&&(this.r=_.r,this.g=_.g,this.b=_.b))},n.extend(n.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+C(this.r)+C(this.g)+C(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(_){return this.destination=new n.Color(_),this},at:function(_){return this.destination?(_=_<0?0:_>1?1:_,new n.Color({r:~~(this.r+(this.destination.r-this.r)*_),g:~~(this.g+(this.destination.g-this.g)*_),b:~~(this.b+(this.destination.b-this.b)*_)})):this}}),n.Color.test=function(_){return _+="",n.regex.isHex.test(_)||n.regex.isRgb.test(_)},n.Color.isRgb=function(_){return _&&typeof _.r=="number"&&typeof _.g=="number"&&typeof _.b=="number"},n.Color.isColor=function(_){return n.Color.isRgb(_)||n.Color.test(_)},n.Array=function(_,D){(_=(_||[]).valueOf()).length==0&&D&&(_=D.valueOf()),this.value=this.parse(_)},n.extend(n.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(_){return _=_.valueOf(),Array.isArray(_)?_:this.split(_)}}),n.PointArray=function(_,D){n.Array.call(this,_,D||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray;for(var a={M:function(_,D,R){return D.x=R.x=_[0],D.y=R.y=_[1],["M",D.x,D.y]},L:function(_,D){return D.x=_[0],D.y=_[1],["L",_[0],_[1]]},H:function(_,D){return D.x=_[0],["H",_[0]]},V:function(_,D){return D.y=_[0],["V",_[0]]},C:function(_,D){return D.x=_[4],D.y=_[5],["C",_[0],_[1],_[2],_[3],_[4],_[5]]},Q:function(_,D){return D.x=_[2],D.y=_[3],["Q",_[0],_[1],_[2],_[3]]},Z:function(_,D,R){return D.x=R.x,D.y=R.y,["Z"]}},l="mlhvqtcsaz".split(""),u=0,p=l.length;u<p;++u)a[l[u]]=function(_){return function(D,R,Q){if(_=="H")D[0]=D[0]+R.x;else if(_=="V")D[0]=D[0]+R.y;else if(_=="A")D[5]=D[5]+R.x,D[6]=D[6]+R.y;else for(var be=0,Re=D.length;be<Re;++be)D[be]=D[be]+(be%2?R.y:R.x);if(a&&typeof a[_]=="function")return a[_](D,R,Q)}}(l[u].toUpperCase());n.PathArray=function(_,D){n.Array.call(this,_,D||[["M",0,0]])},n.PathArray.prototype=new n.Array,n.PathArray.prototype.constructor=n.PathArray,n.extend(n.PathArray,{toString:function(){return function(_){for(var D=0,R=_.length,Q="";D<R;D++)Q+=_[D][0],_[D][1]!=null&&(Q+=_[D][1],_[D][2]!=null&&(Q+=" ",Q+=_[D][2],_[D][3]!=null&&(Q+=" ",Q+=_[D][3],Q+=" ",Q+=_[D][4],_[D][5]!=null&&(Q+=" ",Q+=_[D][5],Q+=" ",Q+=_[D][6],_[D][7]!=null&&(Q+=" ",Q+=_[D][7])))));return Q+" "}(this.value)},move:function(_,D){var R=this.bbox();return R.x,R.y,this},at:function(_){if(!this.destination)return this;for(var D=this.value,R=this.destination.value,Q=[],be=new n.PathArray,Re=0,_e=D.length;Re<_e;Re++){Q[Re]=[D[Re][0]];for(var Qe=1,Ie=D[Re].length;Qe<Ie;Qe++)Q[Re][Qe]=D[Re][Qe]+(R[Re][Qe]-D[Re][Qe])*_;Q[Re][0]==="A"&&(Q[Re][4]=+(Q[Re][4]!=0),Q[Re][5]=+(Q[Re][5]!=0))}return be.value=Q,be},parse:function(_){if(_ instanceof n.PathArray)return _.valueOf();var D,R={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};_=typeof _=="string"?_.replace(n.regex.numbersWithDots,b).replace(n.regex.pathLetters," $& ").replace(n.regex.hyphen,"$1 -").trim().split(n.regex.delimiter):_.reduce(function(Ie,lt){return[].concat.call(Ie,lt)},[]);var Q=[],be=new n.Point,Re=new n.Point,_e=0,Qe=_.length;do n.regex.isPathLetter.test(_[_e])?(D=_[_e],++_e):D=="M"?D="L":D=="m"&&(D="l"),Q.push(a[D].call(null,_.slice(_e,_e+=R[D.toUpperCase()]).map(parseFloat),be,Re));while(Qe>_e);return Q},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(_,D){this.value=0,this.unit=D||"",typeof _=="number"?this.value=isNaN(_)?0:isFinite(_)?_:_<0?-34e37:34e37:typeof _=="string"?(D=_.match(n.regex.numberAndUnit))&&(this.value=parseFloat(D[1]),D[5]=="%"?this.value/=100:D[5]=="s"&&(this.value*=1e3),this.unit=D[5]):_ instanceof n.Number&&(this.value=_.valueOf(),this.unit=_.unit)},extend:{toString:function(){return(this.unit=="%"?~~(1e8*this.value)/1e6:this.unit=="s"?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(_){return _=new n.Number(_),new n.Number(this+_,this.unit||_.unit)},minus:function(_){return _=new n.Number(_),new n.Number(this-_,this.unit||_.unit)},times:function(_){return _=new n.Number(_),new n.Number(this*_,this.unit||_.unit)},divide:function(_){return _=new n.Number(_),new n.Number(this/_,this.unit||_.unit)},to:function(_){var D=new n.Number(this);return typeof _=="string"&&(D.unit=_),D},morph:function(_){return this.destination=new n.Number(_),_.relative&&(this.destination.value+=this.value),this},at:function(_){return this.destination?new n.Number(this.destination).minus(this).times(_).plus(this):this}}}),n.Element=n.invent({create:function(_){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=_)&&(this.type=_.nodeName,this.node.instance=this,this._stroke=_.getAttribute("stroke")||this._stroke)},extend:{x:function(_){return this.attr("x",_)},y:function(_){return this.attr("y",_)},cx:function(_){return _==null?this.x()+this.width()/2:this.x(_-this.width()/2)},cy:function(_){return _==null?this.y()+this.height()/2:this.y(_-this.height()/2)},move:function(_,D){return this.x(_).y(D)},center:function(_,D){return this.cx(_).cy(D)},width:function(_){return this.attr("width",_)},height:function(_){return this.attr("height",_)},size:function(_,D){var R=E(this,_,D);return this.width(new n.Number(R.width)).height(new n.Number(R.height))},clone:function(_){this.writeDataToDom();var D=W(this.node.cloneNode(!0));return _?_.add(D):this.after(D),D},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(_){return this.after(_).remove(),_},addTo:function(_){return _.put(this)},putIn:function(_){return _.add(this)},id:function(_){return this.attr("id",_)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return this.style("display")!="none"},toString:function(){return this.attr("id")},classes:function(){var _=this.attr("class");return _==null?[]:_.trim().split(n.regex.delimiter)},hasClass:function(_){return this.classes().indexOf(_)!=-1},addClass:function(_){if(!this.hasClass(_)){var D=this.classes();D.push(_),this.attr("class",D.join(" "))}return this},removeClass:function(_){return this.hasClass(_)&&this.attr("class",this.classes().filter(function(D){return D!=_}).join(" ")),this},toggleClass:function(_){return this.hasClass(_)?this.removeClass(_):this.addClass(_)},reference:function(_){return n.get(this.attr(_))},parent:function(_){var D=this;if(!D.node.parentNode)return null;if(D=n.adopt(D.node.parentNode),!_)return D;for(;D&&D.node instanceof J.SVGElement;){if(typeof _=="string"?D.matches(_):D instanceof _)return D;if(!D.node.parentNode||D.node.parentNode.nodeName=="#document")return null;D=n.adopt(D.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(_){var D=[],R=this;do{if(!(R=R.parent(_))||!R.node)break;D.push(R)}while(R.parent);return D},matches:function(_){return function(D,R){return(D.matches||D.matchesSelector||D.msMatchesSelector||D.mozMatchesSelector||D.webkitMatchesSelector||D.oMatchesSelector).call(D,R)}(this.node,_)},native:function(){return this.node},svg:function(_){var D=r.createElement("svg");if(!(_&&this instanceof n.Parent))return D.appendChild(_=r.createElement("svg")),this.writeDataToDom(),_.appendChild(this.node.cloneNode(!0)),D.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");D.innerHTML="<svg>"+_.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var R=0,Q=D.firstChild.childNodes.length;R<Q;R++)this.node.appendChild(D.firstChild.firstChild);return this},writeDataToDom:function(){return(this.each||this.lines)&&(this.each?this:this.lines()).each(function(){this.writeDataToDom()}),this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(_){return this.dom=_,this},is:function(_){return function(D,R){return D instanceof R}(this,_)}}}),n.easing={"-":function(_){return _},"<>":function(_){return-Math.cos(_*Math.PI)/2+.5},">":function(_){return Math.sin(_*Math.PI/2)},"<":function(_){return 1-Math.cos(_*Math.PI/2)}},n.morph=function(_){return function(D,R){return new n.MorphObj(D,R).at(_)}},n.Situation=n.invent({create:function(_){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(_.duration).valueOf(),this.delay=new n.Number(_.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=_.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(_){this._target=_,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(_,D,R){h(_)==="object"&&(D=_.ease,R=_.delay,_=_.duration);var Q=new n.Situation({duration:_||1e3,delay:R||0,ease:n.easing[D||"-"]||D});return this.queue(Q),this},target:function(_){return _&&_ instanceof n.Element?(this._target=_,this):this._target},timeToAbsPos:function(_){return(_-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(_){return this.situation.duration/this._speed*_+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=J.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){J.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(_){return(typeof _=="function"||_ instanceof n.Situation)&&this.situations.push(_),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var _,D=this.situation;if(D.init)return this;for(var R in D.animations){_=this.target()[R](),Array.isArray(_)||(_=[_]),Array.isArray(D.animations[R])||(D.animations[R]=[D.animations[R]]);for(var Q=_.length;Q--;)D.animations[R][Q]instanceof n.Number&&(_[Q]=new n.Number(_[Q])),D.animations[R][Q]=_[Q].morph(D.animations[R][Q])}for(var R in D.attrs)D.attrs[R]=new n.MorphObj(this.target().attr(R),D.attrs[R]);for(var R in D.styles)D.styles[R]=new n.MorphObj(this.target().style(R),D.styles[R]);return D.initialTransformation=this.target().matrixify(),D.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(_,D){var R=this.active;return this.active=!1,D&&this.clearQueue(),_&&this.situation&&(!R&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(_){var D=this.last();return this.target().on("finished.fx",function R(Q){Q.detail.situation==D&&(_.call(this,D),this.off("finished.fx",R))}),this._callStart()},during:function(_){var D=this.last(),R=function(Q){Q.detail.situation==D&&_.call(this,Q.detail.pos,n.morph(Q.detail.pos),Q.detail.eased,D)};return this.target().off("during.fx",R).on("during.fx",R),this.after(function(){this.off("during.fx",R)}),this._callStart()},afterAll:function(_){var D=function R(Q){_.call(this),this.off("allfinished.fx",R)};return this.target().off("allfinished.fx",D).on("allfinished.fx",D),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(_,D,R){return this.last()[R||"animations"][_]=D,this._callStart()},step:function(_){var D,R,Q;_||(this.absPos=this.timeToAbsPos(+new Date)),this.situation.loops!==!1?(D=Math.max(this.absPos,0),R=Math.floor(D),this.situation.loops===!0||R<this.situation.loops?(this.pos=D-R,Q=this.situation.loop,this.situation.loop=R):(this.absPos=this.situation.loops,this.pos=1,Q=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-Q)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos),this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var be=this.situation.ease(this.pos);for(var Re in this.situation.once)Re>this.lastPos&&Re<=be&&(this.situation.once[Re].call(this.target(),this.pos,be),delete this.situation.once[Re]);return this.active&&this.target().fire("during",{pos:this.pos,eased:be,fx:this,situation:this.situation}),this.situation?(this.eachAt(),this.pos==1&&!this.situation.reversed||this.situation.reversed&&this.pos==0?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=be,this):this},eachAt:function(){var _,D=this,R=this.target(),Q=this.situation;for(var be in Q.animations)_=[].concat(Q.animations[be]).map(function(Qe){return typeof Qe!="string"&&Qe.at?Qe.at(Q.ease(D.pos),D.pos):Qe}),R[be].apply(R,_);for(var be in Q.attrs)_=[be].concat(Q.attrs[be]).map(function(Ie){return typeof Ie!="string"&&Ie.at?Ie.at(Q.ease(D.pos),D.pos):Ie}),R.attr.apply(R,_);for(var be in Q.styles)_=[be].concat(Q.styles[be]).map(function(Ie){return typeof Ie!="string"&&Ie.at?Ie.at(Q.ease(D.pos),D.pos):Ie}),R.style.apply(R,_);if(Q.transforms.length){_=Q.initialTransformation,be=0;for(var Re=Q.transforms.length;be<Re;be++){var _e=Q.transforms[be];_e instanceof n.Matrix?_=_e.relative?_.multiply(new n.Matrix().morph(_e).at(Q.ease(this.pos))):_.morph(_e).at(Q.ease(this.pos)):(_e.relative||_e.undo(_.extract()),_=_.multiply(_e.at(Q.ease(this.pos))))}R.matrix(_)}return this},once:function(_,D,R){var Q=this.last();return R||(_=Q.ease(_)),Q.once[_]=D,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:n.Element,construct:{animate:function(_,D,R){return(this.fx||(this.fx=new n.FX(this))).animate(_,D,R)},delay:function(_){return(this.fx||(this.fx=new n.FX(this))).delay(_)},stop:function(_,D){return this.fx&&this.fx.stop(_,D),this},finish:function(){return this.fx&&this.fx.finish(),this}}}),n.MorphObj=n.invent({create:function(_,D){return n.Color.isColor(D)?new n.Color(_).morph(D):n.regex.delimiter.test(_)?n.regex.pathLetters.test(_)?new n.PathArray(_).morph(D):new n.Array(_).morph(D):n.regex.numberAndUnit.test(D)?new n.Number(_).morph(D):(this.value=_,void(this.destination=D))},extend:{at:function(_,D){return D<1?this.value:this.destination},valueOf:function(){return this.value}}}),n.extend(n.FX,{attr:function(_,D,R){if(h(_)==="object")for(var Q in _)this.attr(Q,_[Q]);else this.add(_,D,"attrs");return this},plot:function(_,D,R,Q){return arguments.length==4?this.plot([_,D,R,Q]):this.add("plot",new(this.target()).morphArray(_))}}),n.Box=n.invent({create:function(_,D,R,Q){if(!(h(_)!=="object"||_ instanceof n.Element))return n.Box.call(this,_.left!=null?_.left:_.x,_.top!=null?_.top:_.y,_.width,_.height);arguments.length==4&&(this.x=_,this.y=D,this.width=R,this.height=Q),U(this)}}),n.BBox=n.invent({create:function(_){if(n.Box.apply(this,[].slice.call(arguments)),_ instanceof n.Element){var D;try{if(!r.documentElement.contains){for(var R=_.node;R.parentNode;)R=R.parentNode;if(R!=r)throw new Error("Element not in the dom")}D=_.node.getBBox()}catch{if(_ instanceof n.Shape){n.parser.draw||n.prepare();var Q=_.clone(n.parser.draw.instance).show();Q&&Q.node&&typeof Q.node.getBBox=="function"&&(D=Q.node.getBBox()),Q&&typeof Q.remove=="function"&&Q.remove()}else D={x:_.node.clientLeft,y:_.node.clientTop,width:_.node.clientWidth,height:_.node.clientHeight}}n.Box.call(this,D)}},inherit:n.Box,parent:n.Element,construct:{bbox:function(){return new n.BBox(this)}}}),n.BBox.prototype.constructor=n.BBox,n.Matrix=n.invent({create:function(_){var D=H([1,0,0,1,0,0]);_=_===null?D:_ instanceof n.Element?_.matrixify():typeof _=="string"?H(_.split(n.regex.delimiter).map(parseFloat)):arguments.length==6?H([].slice.call(arguments)):Array.isArray(_)?H(_):_&&h(_)==="object"?_:D;for(var R=ie.length-1;R>=0;--R)this[ie[R]]=_[ie[R]]!=null?_[ie[R]]:D[ie[R]]},extend:{extract:function(){var _=F(this,0,1);F(this,1,0);var D=180/Math.PI*Math.atan2(_.y,_.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(D*Math.PI/180)+this.f*Math.sin(D*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(D*Math.PI/180)+this.e*Math.sin(-D*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:D,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(_){return this.destination=new n.Matrix(_),this},multiply:function(_){return new n.Matrix(this.native().multiply(function(D){return D instanceof n.Matrix||(D=new n.Matrix(D)),D}(_).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(_,D){return new n.Matrix(this.native().translate(_||0,D||0))},native:function(){for(var _=n.parser.native.createSVGMatrix(),D=ie.length-1;D>=0;D--)_[ie[D]]=this[ie[D]];return _},toString:function(){return"matrix("+Z(this.a)+","+Z(this.b)+","+Z(this.c)+","+Z(this.d)+","+Z(this.e)+","+Z(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var _=this.rect(1,1),D=_.node.getScreenCTM();return _.remove(),new n.Matrix(D)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(_,D){var R;R=Array.isArray(_)?{x:_[0],y:_[1]}:h(_)==="object"?{x:_.x,y:_.y}:_!=null?{x:_,y:D!=null?D:_}:{x:0,y:0},this.x=R.x,this.y=R.y},extend:{clone:function(){return new n.Point(this)},morph:function(_,D){return this.destination=new n.Point(_,D),this}}}),n.extend(n.Element,{point:function(_,D){return new n.Point(_,D).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(_,D,R){if(_==null){for(_={},R=(D=this.node.attributes).length-1;R>=0;R--)_[D[R].nodeName]=n.regex.isNumber.test(D[R].nodeValue)?parseFloat(D[R].nodeValue):D[R].nodeValue;return _}if(h(_)==="object")for(var Q in _)this.attr(Q,_[Q]);else if(D===null)this.node.removeAttribute(_);else{if(D==null)return(D=this.node.getAttribute(_))==null?n.defaults.attrs[_]:n.regex.isNumber.test(D)?parseFloat(D):D;_=="stroke-width"?this.attr("stroke",parseFloat(D)>0?this._stroke:null):_=="stroke"&&(this._stroke=D),_!="fill"&&_!="stroke"||(n.regex.isImage.test(D)&&(D=this.doc().defs().image(D,0,0)),D instanceof n.Image&&(D=this.doc().defs().pattern(0,0,function(){this.add(D)}))),typeof D=="number"?D=new n.Number(D):n.Color.isColor(D)?D=new n.Color(D):Array.isArray(D)&&(D=new n.Array(D)),_=="leading"?this.leading&&this.leading(D):typeof R=="string"?this.node.setAttributeNS(R,_,D.toString()):this.node.setAttribute(_,D.toString()),!this.rebuild||_!="font-size"&&_!="x"||this.rebuild(_,D)}return this}}),n.extend(n.Element,{transform:function(_,D){var R;return h(_)!=="object"?(R=new n.Matrix(this).extract(),typeof _=="string"?R[_]:R):(R=new n.Matrix(this),D=!!D||!!_.relative,_.a!=null&&(R=D?R.multiply(new n.Matrix(_)):new n.Matrix(_)),this.attr("transform",R))}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map(function(_){var D=_.trim().split("(");return[D[0],D[1].split(n.regex.delimiter).map(function(R){return parseFloat(R)})]}).reduce(function(_,D){return D[0]=="matrix"?_.multiply(H(D[1])):_[D[0]].apply(_,D[1])},new n.Matrix)},toParent:function(_){if(this==_)return this;var D=this.screenCTM(),R=_.screenCTM().inverse();return this.addTo(_).untransform().transform(R.multiply(D)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(_,D){if(arguments.length>1&&typeof D!="boolean")return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(_))for(var R=0,Q=this.arguments.length;R<Q;++R)this[this.arguments[R]]=_[R];else if(_&&h(_)==="object")for(R=0,Q=this.arguments.length;R<Q;++R)this[this.arguments[R]]=_[this.arguments[R]];this.inversed=!1,D===!0&&(this.inversed=!0)}}),n.Translate=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(_,D){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),n.extend(n.Element,{style:function(_,D){if(arguments.length==0)return this.node.style.cssText||"";if(arguments.length<2)if(h(_)==="object")for(var R in _)this.style(R,_[R]);else{if(!n.regex.isCss.test(_))return this.node.style[w(_)];for(_=_.split(/\s*;\s*/).filter(function(Q){return!!Q}).map(function(Q){return Q.split(/\s*:\s*/)});D=_.pop();)this.style(D[0],D[1])}else this.node.style[w(_)]=D===null||n.regex.isBlank.test(D)?"":D;return this}}),n.Parent=n.invent({create:function(_){this.constructor.call(this,_)},inherit:n.Element,extend:{children:function(){return n.utils.map(n.utils.filterSVGElements(this.node.childNodes),function(_){return n.adopt(_)})},add:function(_,D){return D==null?this.node.appendChild(_.node):_.node!=this.node.childNodes[D]&&this.node.insertBefore(_.node,this.node.childNodes[D]),this},put:function(_,D){return this.add(_,D),_},has:function(_){return this.index(_)>=0},index:function(_){return[].slice.call(this.node.childNodes).indexOf(_.node)},get:function(_){return n.adopt(this.node.childNodes[_])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(_,D){for(var R=this.children(),Q=0,be=R.length;Q<be;Q++)R[Q]instanceof n.Element&&_.apply(R[Q],[Q,R]),D&&R[Q]instanceof n.Container&&R[Q].each(_,D);return this},removeElement:function(_){return this.node.removeChild(_.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),n.extend(n.Parent,{ungroup:function(_,D){return D===0||this instanceof n.Defs||this.node==n.parser.draw||(_=_||(this instanceof n.Doc?this:this.parent(n.Parent)),D=D||1/0,this.each(function(){return this instanceof n.Defs?this:this instanceof n.Parent?this.ungroup(_,D-1):this.toParent(_)}),this.node.firstChild||this.remove()),this},flatten:function(_,D){return this.ungroup(_,D)}}),n.Container=n.invent({create:function(_){this.constructor.call(this,_)},inherit:n.Parent}),n.ViewBox=n.invent({parent:n.Container,construct:{}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach(function(_){n.Element.prototype[_]=function(D){return n.on(this.node,_,D),this}}),n.listeners=[],n.handlerMap=[],n.listenerId=0,n.on=function(_,D,R,Q,be){var Re=R.bind(Q||_.instance||_),_e=(n.handlerMap.indexOf(_)+1||n.handlerMap.push(_))-1,Qe=D.split(".")[0],Ie=D.split(".")[1]||"*";n.listeners[_e]=n.listeners[_e]||{},n.listeners[_e][Qe]=n.listeners[_e][Qe]||{},n.listeners[_e][Qe][Ie]=n.listeners[_e][Qe][Ie]||{},R._svgjsListenerId||(R._svgjsListenerId=++n.listenerId),n.listeners[_e][Qe][Ie][R._svgjsListenerId]=Re,_.addEventListener(Qe,Re,be||{passive:!0})},n.off=function(_,D,R){var Q=n.handlerMap.indexOf(_),be=D&&D.split(".")[0],Re=D&&D.split(".")[1],_e="";if(Q!=-1)if(R){if(typeof R=="function"&&(R=R._svgjsListenerId),!R)return;n.listeners[Q][be]&&n.listeners[Q][be][Re||"*"]&&(_.removeEventListener(be,n.listeners[Q][be][Re||"*"][R],!1),delete n.listeners[Q][be][Re||"*"][R])}else if(Re&&be){if(n.listeners[Q][be]&&n.listeners[Q][be][Re]){for(var Qe in n.listeners[Q][be][Re])n.off(_,[be,Re].join("."),Qe);delete n.listeners[Q][be][Re]}}else if(Re)for(var Ie in n.listeners[Q])for(var _e in n.listeners[Q][Ie])Re===_e&&n.off(_,[Ie,Re].join("."));else if(be){if(n.listeners[Q][be]){for(var _e in n.listeners[Q][be])n.off(_,[be,_e].join("."));delete n.listeners[Q][be]}}else{for(var Ie in n.listeners[Q])n.off(_,Ie);delete n.listeners[Q],delete n.handlerMap[Q]}},n.extend(n.Element,{on:function(_,D,R,Q){return n.on(this.node,_,D,R,Q),this},off:function(_,D){return n.off(this.node,_,D),this},fire:function(_,D){return _ instanceof J.Event?this.node.dispatchEvent(_):this.node.dispatchEvent(_=new n.CustomEvent(_,{detail:D,cancelable:!0})),this._event=_,this},event:function(){return this._event}}),n.Defs=n.invent({create:"defs",inherit:n.Container}),n.G=n.invent({create:"g",inherit:n.Container,extend:{x:function(_){return _==null?this.transform("x"):this.transform({x:_-this.x()},!0)}},construct:{group:function(){return this.put(new n.G)}}}),n.Doc=n.invent({create:function(_){_&&((_=typeof _=="string"?r.getElementById(_):_).nodeName=="svg"?this.constructor.call(this,_):(this.constructor.call(this,n.create("svg")),_.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:n.Container,extend:{namespace:function(){return this.attr({xmlns:n.ns,version:"1.1"}).attr("xmlns:xlink",n.xlink,n.xmlns).attr("xmlns:svgjs",n.svgjs,n.xmlns)},defs:function(){var _;return this._defs||((_=this.node.getElementsByTagName("defs")[0])?this._defs=n.adopt(_):this._defs=new n.Defs,this.node.appendChild(this._defs.node)),this._defs},parent:function(){return this.node.parentNode&&this.node.parentNode.nodeName!="#document"?this.node.parentNode:null},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,n.parser.draw&&!n.parser.draw.parentNode&&this.node.appendChild(n.parser.draw),this},clone:function(_){this.writeDataToDom();var D=this.node,R=W(D.cloneNode(!0));return _?(_.node||_).appendChild(R.node):D.parentNode.insertBefore(R.node,D.nextSibling),R}}}),n.extend(n.Element,{}),n.Gradient=n.invent({create:function(_){this.constructor.call(this,n.create(_+"Gradient")),this.type=_},inherit:n.Container,extend:{at:function(_,D,R){return this.put(new n.Stop).update(_,D,R)},update:function(_){return this.clear(),typeof _=="function"&&_.call(this,this),this},fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(_,D,R){return _=="transform"&&(_="gradientTransform"),n.Container.prototype.attr.call(this,_,D,R)}},construct:{gradient:function(_,D){return this.defs().gradient(_,D)}}}),n.extend(n.Gradient,n.FX,{from:function(_,D){return(this._target||this).type=="radial"?this.attr({fx:new n.Number(_),fy:new n.Number(D)}):this.attr({x1:new n.Number(_),y1:new n.Number(D)})},to:function(_,D){return(this._target||this).type=="radial"?this.attr({cx:new n.Number(_),cy:new n.Number(D)}):this.attr({x2:new n.Number(_),y2:new n.Number(D)})}}),n.extend(n.Defs,{gradient:function(_,D){return this.put(new n.Gradient(_)).update(D)}}),n.Stop=n.invent({create:"stop",inherit:n.Element,extend:{update:function(_){return(typeof _=="number"||_ instanceof n.Number)&&(_={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),_.opacity!=null&&this.attr("stop-opacity",_.opacity),_.color!=null&&this.attr("stop-color",_.color),_.offset!=null&&this.attr("offset",new n.Number(_.offset)),this}}}),n.Pattern=n.invent({create:"pattern",inherit:n.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(_){return this.clear(),typeof _=="function"&&_.call(this,this),this},toString:function(){return this.fill()},attr:function(_,D,R){return _=="transform"&&(_="patternTransform"),n.Container.prototype.attr.call(this,_,D,R)}},construct:{pattern:function(_,D,R){return this.defs().pattern(_,D,R)}}}),n.extend(n.Defs,{pattern:function(_,D,R){return this.put(new n.Pattern).update(R).attr({x:0,y:0,width:_,height:D,patternUnits:"userSpaceOnUse"})}}),n.Shape=n.invent({create:function(_){this.constructor.call(this,_)},inherit:n.Element}),n.Symbol=n.invent({create:"symbol",inherit:n.Container,construct:{symbol:function(){return this.put(new n.Symbol)}}}),n.Use=n.invent({create:"use",inherit:n.Shape,extend:{element:function(_,D){return this.attr("href",(D||"")+"#"+_,n.xlink)}},construct:{use:function(_,D){return this.put(new n.Use).element(_,D)}}}),n.Rect=n.invent({create:"rect",inherit:n.Shape,construct:{rect:function(_,D){return this.put(new n.Rect).size(_,D)}}}),n.Circle=n.invent({create:"circle",inherit:n.Shape,construct:{circle:function(_){return this.put(new n.Circle).rx(new n.Number(_).divide(2)).move(0,0)}}}),n.extend(n.Circle,n.FX,{rx:function(_){return this.attr("r",_)},ry:function(_){return this.rx(_)}}),n.Ellipse=n.invent({create:"ellipse",inherit:n.Shape,construct:{ellipse:function(_,D){return this.put(new n.Ellipse).size(_,D).move(0,0)}}}),n.extend(n.Ellipse,n.Rect,n.FX,{rx:function(_){return this.attr("rx",_)},ry:function(_){return this.attr("ry",_)}}),n.extend(n.Circle,n.Ellipse,{x:function(_){return _==null?this.cx()-this.rx():this.cx(_+this.rx())},y:function(_){return _==null?this.cy()-this.ry():this.cy(_+this.ry())},cx:function(_){return _==null?this.attr("cx"):this.attr("cx",_)},cy:function(_){return _==null?this.attr("cy"):this.attr("cy",_)},width:function(_){return _==null?2*this.rx():this.rx(new n.Number(_).divide(2))},height:function(_){return _==null?2*this.ry():this.ry(new n.Number(_).divide(2))},size:function(_,D){var R=E(this,_,D);return this.rx(new n.Number(R.width).divide(2)).ry(new n.Number(R.height).divide(2))}}),n.Line=n.invent({create:"line",inherit:n.Shape,extend:{array:function(){return new n.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(_,D,R,Q){return _==null?this.array():(_=D!==void 0?{x1:_,y1:D,x2:R,y2:Q}:new n.PointArray(_).toLine(),this.attr(_))},move:function(_,D){return this.attr(this.array().move(_,D).toLine())},size:function(_,D){var R=E(this,_,D);return this.attr(this.array().size(R.width,R.height).toLine())}},construct:{line:function(_,D,R,Q){return n.Line.prototype.plot.apply(this.put(new n.Line),_!=null?[_,D,R,Q]:[0,0,0,0])}}}),n.Polyline=n.invent({create:"polyline",inherit:n.Shape,construct:{polyline:function(_){return this.put(new n.Polyline).plot(_||new n.PointArray)}}}),n.Polygon=n.invent({create:"polygon",inherit:n.Shape,construct:{polygon:function(_){return this.put(new n.Polygon).plot(_||new n.PointArray)}}}),n.extend(n.Polyline,n.Polygon,{array:function(){return this._array||(this._array=new n.PointArray(this.attr("points")))},plot:function(_){return _==null?this.array():this.clear().attr("points",typeof _=="string"?_:this._array=new n.PointArray(_))},clear:function(){return delete this._array,this},move:function(_,D){return this.attr("points",this.array().move(_,D))},size:function(_,D){var R=E(this,_,D);return this.attr("points",this.array().size(R.width,R.height))}}),n.extend(n.Line,n.Polyline,n.Polygon,{morphArray:n.PointArray,x:function(_){return _==null?this.bbox().x:this.move(_,this.bbox().y)},y:function(_){return _==null?this.bbox().y:this.move(this.bbox().x,_)},width:function(_){var D=this.bbox();return _==null?D.width:this.size(_,D.height)},height:function(_){var D=this.bbox();return _==null?D.height:this.size(D.width,_)}}),n.Path=n.invent({create:"path",inherit:n.Shape,extend:{morphArray:n.PathArray,array:function(){return this._array||(this._array=new n.PathArray(this.attr("d")))},plot:function(_){return _==null?this.array():this.clear().attr("d",typeof _=="string"?_:this._array=new n.PathArray(_))},clear:function(){return delete this._array,this}},construct:{path:function(_){return this.put(new n.Path).plot(_||new n.PathArray)}}}),n.Image=n.invent({create:"image",inherit:n.Shape,extend:{load:function(_){if(!_)return this;var D=this,R=new J.Image;return n.on(R,"load",function(){n.off(R);var Q=D.parent(n.Pattern);Q!==null&&(D.width()==0&&D.height()==0&&D.size(R.width,R.height),Q&&Q.width()==0&&Q.height()==0&&Q.size(D.width(),D.height()),typeof D._loaded=="function"&&D._loaded.call(D,{width:R.width,height:R.height,ratio:R.width/R.height,url:_}))}),n.on(R,"error",function(Q){n.off(R),typeof D._error=="function"&&D._error.call(D,Q)}),this.attr("href",R.src=this.src=_,n.xlink)},loaded:function(_){return this._loaded=_,this},error:function(_){return this._error=_,this}},construct:{image:function(_,D,R){return this.put(new n.Image).load(_).size(D||0,R||D||0)}}}),n.Text=n.invent({create:function(){this.constructor.call(this,n.create("text")),this.dom.leading=new n.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",n.defaults.attrs["font-family"])},inherit:n.Shape,extend:{x:function(_){return _==null?this.attr("x"):this.attr("x",_)},text:function(_){if(_===void 0){_="";for(var D=this.node.childNodes,R=0,Q=D.length;R<Q;++R)R!=0&&D[R].nodeType!=3&&n.adopt(D[R]).dom.newLined==1&&(_+=`
  128. `),_+=D[R].textContent;return _}if(this.clear().build(!0),typeof _=="function")_.call(this,this);else{R=0;for(var be=(_=_.split(`
  129. `)).length;R<be;R++)this.tspan(_[R]).newLine()}return this.build(!1).rebuild()},size:function(_){return this.attr("font-size",_).rebuild()},leading:function(_){return _==null?this.dom.leading:(this.dom.leading=new n.Number(_),this.rebuild())},lines:function(){var _=(this.textPath&&this.textPath()||this).node,D=n.utils.map(n.utils.filterSVGElements(_.childNodes),function(R){return n.adopt(R)});return new n.Set(D)},rebuild:function(_){if(typeof _=="boolean"&&(this._rebuild=_),this._rebuild){var D=this,R=0,Q=this.dom.leading*new n.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(D.textPath()||this.attr("x",D.attr("x")),this.text()==`
  130. `?R+=Q:(this.attr("dy",Q+R),R=0))}),this.fire("rebuild")}return this},build:function(_){return this._build=!!_,this},setData:function(_){return this.dom=_,this.dom.leading=new n.Number(_.leading||1.3),this}},construct:{text:function(_){return this.put(new n.Text).text(_)},plain:function(_){return this.put(new n.Text).plain(_)}}}),n.Tspan=n.invent({create:"tspan",inherit:n.Shape,extend:{text:function(_){return _==null?this.node.textContent+(this.dom.newLined?`
  131. `:""):(typeof _=="function"?_.call(this,this):this.plain(_),this)},dx:function(_){return this.attr("dx",_)},dy:function(_){return this.attr("dy",_)},newLine:function(){var _=this.parent(n.Text);return this.dom.newLined=!0,this.dy(_.dom.leading*_.attr("font-size")).attr("x",_.x())}}}),n.extend(n.Text,n.Tspan,{plain:function(_){return this._build===!1&&this.clear(),this.node.appendChild(r.createTextNode(_)),this},tspan:function(_){var D=(this.textPath&&this.textPath()||this).node,R=new n.Tspan;return this._build===!1&&this.clear(),D.appendChild(R.node),R.text(_)},clear:function(){for(var _=(this.textPath&&this.textPath()||this).node;_.hasChildNodes();)_.removeChild(_.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),n.TextPath=n.invent({create:"textPath",inherit:n.Parent,parent:n.Text,construct:{morphArray:n.PathArray,array:function(){var _=this.track();return _?_.array():null},plot:function(_){var D=this.track(),R=null;return D&&(R=D.plot(_)),_==null?R:this},track:function(){var _=this.textPath();if(_)return _.reference("href")},textPath:function(){if(this.node.firstChild&&this.node.firstChild.nodeName=="textPath")return n.adopt(this.node.firstChild)}}}),n.Nested=n.invent({create:function(){this.constructor.call(this,n.create("svg")),this.style("overflow","visible")},inherit:n.Container,construct:{nested:function(){return this.put(new n.Nested)}}});var d={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(_,D){return D=="color"?_:_+"-"+D}};function b(_,D,R,Q){return R+Q.replace(n.regex.dots," .")}function w(_){return _.toLowerCase().replace(/-(.)/g,function(D,R){return R.toUpperCase()})}function k(_){return _.charAt(0).toUpperCase()+_.slice(1)}function C(_){var D=_.toString(16);return D.length==1?"0"+D:D}function E(_,D,R){if(D==null||R==null){var Q=_.bbox();D==null?D=Q.width/Q.height*R:R==null&&(R=Q.height/Q.width*D)}return{width:D,height:R}}function F(_,D,R){return{x:D*_.a+R*_.c+0,y:D*_.b+R*_.d+0}}function H(_){return{a:_[0],b:_[1],c:_[2],d:_[3],e:_[4],f:_[5]}}function W(_){for(var D=_.childNodes.length-1;D>=0;D--)_.childNodes[D]instanceof J.SVGElement&&W(_.childNodes[D]);return n.adopt(_).id(n.eid(_.nodeName))}function U(_){return _.x==null&&(_.x=0,_.y=0,_.width=0,_.height=0),_.w=_.width,_.h=_.height,_.x2=_.x+_.width,_.y2=_.y+_.height,_.cx=_.x+_.width/2,_.cy=_.y+_.height/2,_}function Z(_){return Math.abs(_)>1e-37?_:0}["fill","stroke"].forEach(function(_){var D={};D[_]=function(R){if(R===void 0)return this;if(typeof R=="string"||n.Color.isRgb(R)||R&&typeof R.fill=="function")this.attr(_,R);else for(var Q=d[_].length-1;Q>=0;Q--)R[d[_][Q]]!=null&&this.attr(d.prefix(_,d[_][Q]),R[d[_][Q]]);return this},n.extend(n.Element,n.FX,D)}),n.extend(n.Element,n.FX,{translate:function(_,D){return this.transform({x:_,y:D})},matrix:function(_){return this.attr("transform",new n.Matrix(arguments.length==6?[].slice.call(arguments):_))},opacity:function(_){return this.attr("opacity",_)},dx:function(_){return this.x(new n.Number(_).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(_){return this.y(new n.Number(_).plus(this instanceof n.FX?0:this.y()),!0)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(_){return this.node.getPointAtLength(_)}}),n.Set=n.invent({create:function(_){Array.isArray(_)?this.members=_:this.clear()},extend:{add:function(){for(var _=[].slice.call(arguments),D=0,R=_.length;D<R;D++)this.members.push(_[D]);return this},remove:function(_){var D=this.index(_);return D>-1&&this.members.splice(D,1),this},each:function(_){for(var D=0,R=this.members.length;D<R;D++)_.apply(this.members[D],[D,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(_){return this.index(_)>=0},index:function(_){return this.members.indexOf(_)},get:function(_){return this.members[_]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(_){return new n.Set(_)}}}),n.FX.Set=n.invent({create:function(_){this.set=_}}),n.Set.inherit=function(){var _=[];for(var D in n.Shape.prototype)typeof n.Shape.prototype[D]=="function"&&typeof n.Set.prototype[D]!="function"&&_.push(D);for(var D in _.forEach(function(Q){n.Set.prototype[Q]=function(){for(var be=0,Re=this.members.length;be<Re;be++)this.members[be]&&typeof this.members[be][Q]=="function"&&this.members[be][Q].apply(this.members[be],arguments);return Q=="animate"?this.fx||(this.fx=new n.FX.Set(this)):this}}),_=[],n.FX.prototype)typeof n.FX.prototype[D]=="function"&&typeof n.FX.Set.prototype[D]!="function"&&_.push(D);_.forEach(function(R){n.FX.Set.prototype[R]=function(){for(var Q=0,be=this.set.members.length;Q<be;Q++)this.set.members[Q].fx[R].apply(this.set.members[Q].fx,arguments);return this}})},n.extend(n.Element,{}),n.extend(n.Element,{remember:function(_,D){if(h(arguments[0])==="object")for(var R in _)this.remember(R,_[R]);else{if(arguments.length==1)return this.memory()[_];this.memory()[_]=D}return this},forget:function(){if(arguments.length==0)this._memory={};else for(var _=arguments.length-1;_>=0;_--)delete this.memory()[arguments[_]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(_){var D=r.getElementById(function(R){var Q=(R||"").toString().match(n.regex.reference);if(Q)return Q[1]}(_)||_);return n.adopt(D)},n.select=function(_,D){return new n.Set(n.utils.map((D||r).querySelectorAll(_),function(R){return n.adopt(R)}))},n.extend(n.Parent,{select:function(_){return n.select(_,this.node)}});var ie="abcdef".split("");if(typeof J.CustomEvent!="function"){var se=function(_,D){D=D||{bubbles:!1,cancelable:!1,detail:void 0};var R=r.createEvent("CustomEvent");return R.initCustomEvent(_,D.bubbles,D.cancelable,D.detail),R};se.prototype=J.Event.prototype,n.CustomEvent=se}else n.CustomEvent=J.CustomEvent;return n},h(t)==="object"?e.exports=yn.document?vi(yn,yn.document):function(J){return vi(J,J.document)}:yn.SVG=vi(yn,yn.document),function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(d,b){return this.add(d,b),!d.attr("in")&&this.autoSetIn&&d.attr("in",this.source),d.attr("result")||d.attr("result",d),d},blend:function(d,b,w){return this.put(new SVG.BlendEffect(d,b,w))},colorMatrix:function(d,b){return this.put(new SVG.ColorMatrixEffect(d,b))},convolveMatrix:function(d){return this.put(new SVG.ConvolveMatrixEffect(d))},componentTransfer:function(d){return this.put(new SVG.ComponentTransferEffect(d))},composite:function(d,b,w){return this.put(new SVG.CompositeEffect(d,b,w))},flood:function(d,b){return this.put(new SVG.FloodEffect(d,b))},offset:function(d,b){return this.put(new SVG.OffsetEffect(d,b))},image:function(d){return this.put(new SVG.ImageEffect(d))},merge:function(){var d=[void 0];for(var b in arguments)d.push(arguments[b]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,d)))},gaussianBlur:function(d,b){return this.put(new SVG.GaussianBlurEffect(d,b))},morphology:function(d,b){return this.put(new SVG.MorphologyEffect(d,b))},diffuseLighting:function(d,b,w){return this.put(new SVG.DiffuseLightingEffect(d,b,w))},displacementMap:function(d,b,w,k,C){return this.put(new SVG.DisplacementMapEffect(d,b,w,k,C))},specularLighting:function(d,b,w,k){return this.put(new SVG.SpecularLightingEffect(d,b,w,k))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(d,b,w,k,C){return this.put(new SVG.TurbulenceEffect(d,b,w,k,C))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(d){var b=this.put(new SVG.Filter);return typeof d=="function"&&d.call(b,b),b}}),SVG.extend(SVG.Container,{filter:function(d){return this.defs().filter(d)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(d){return this.filterer=d instanceof SVG.Element?d:this.doc().filter(d),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(d){return this.filterer&&d===!0&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(d){return d==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",d)},result:function(d){return d==null?this.attr("result"):this.attr("result",d)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(d){return d==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",d)},result:function(d){return d==null?this.attr("result"):this.attr("result",d)},toString:function(){return this.result()}}});var J={blend:function(d,b){return this.parent()&&this.parent().blend(this,d,b)},colorMatrix:function(d,b){return this.parent()&&this.parent().colorMatrix(d,b).in(this)},convolveMatrix:function(d){return this.parent()&&this.parent().convolveMatrix(d).in(this)},componentTransfer:function(d){return this.parent()&&this.parent().componentTransfer(d).in(this)},composite:function(d,b){return this.parent()&&this.parent().composite(this,d,b)},flood:function(d,b){return this.parent()&&this.parent().flood(d,b)},offset:function(d,b){return this.parent()&&this.parent().offset(d,b).in(this)},image:function(d){return this.parent()&&this.parent().image(d)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(d,b){return this.parent()&&this.parent().gaussianBlur(d,b).in(this)},morphology:function(d,b){return this.parent()&&this.parent().morphology(d,b).in(this)},diffuseLighting:function(d,b,w){return this.parent()&&this.parent().diffuseLighting(d,b,w).in(this)},displacementMap:function(d,b,w,k){return this.parent()&&this.parent().displacementMap(this,d,b,w,k)},specularLighting:function(d,b,w,k){return this.parent()&&this.parent().specularLighting(d,b,w,k).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(d,b,w,k,C){return this.parent()&&this.parent().turbulence(d,b,w,k,C).in(this)}};SVG.extend(SVG.Effect,J),SVG.extend(SVG.ParentEffect,J),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(d){this.attr("in",d)}}});var r={blend:function(d,b,w){this.attr({in:d,in2:b,mode:w||"normal"})},colorMatrix:function(d,b){d=="matrix"&&(b=l(b)),this.attr({type:d,values:b===void 0?null:b})},convolveMatrix:function(d){d=l(d),this.attr({order:Math.sqrt(d.split(" ").length),kernelMatrix:d})},composite:function(d,b,w){this.attr({in:d,in2:b,operator:w})},flood:function(d,b){this.attr("flood-color",d),b!=null&&this.attr("flood-opacity",b)},offset:function(d,b){this.attr({dx:d,dy:b})},image:function(d){this.attr("href",d,SVG.xlink)},displacementMap:function(d,b,w,k,C){this.attr({in:d,in2:b,scale:w,xChannelSelector:k,yChannelSelector:C})},gaussianBlur:function(d,b){d!=null||b!=null?this.attr("stdDeviation",u(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(d,b){this.attr({operator:d,radius:b})},tile:function(){},turbulence:function(d,b,w,k,C){this.attr({numOctaves:b,seed:w,stitchTiles:k,baseFrequency:d,type:C})}},n={merge:function(){var d;if(arguments[0]instanceof SVG.Set){var b=this;arguments[0].each(function(k){this instanceof SVG.MergeNode?b.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&b.put(new SVG.MergeNode(this))})}else{d=Array.isArray(arguments[0])?arguments[0]:arguments;for(var w=0;w<d.length;w++)d[w]instanceof SVG.MergeNode?this.put(d[w]):this.put(new SVG.MergeNode(d[w]))}},componentTransfer:function(d){if(this.rgb=new SVG.Set,["r","g","b","a"].forEach(function(w){this[w]=new SVG["Func"+w.toUpperCase()]("identity"),this.rgb.add(this[w]),this.node.appendChild(this[w].node)}.bind(this)),d)for(var b in d.rgb&&(["r","g","b"].forEach(function(w){this[w].attr(d.rgb)}.bind(this)),delete d.rgb),d)this[b].attr(d[b])},diffuseLighting:function(d,b,w){this.attr({surfaceScale:d,diffuseConstant:b,kernelUnitLength:w})},specularLighting:function(d,b,w,k){this.attr({surfaceScale:d,diffuseConstant:b,specularExponent:w,kernelUnitLength:k})}},a={distantLight:function(d,b){this.attr({azimuth:d,elevation:b})},pointLight:function(d,b,w){this.attr({x:d,y:b,z:w})},spotLight:function(d,b,w,k,C,E){this.attr({x:d,y:b,z:w,pointsAtX:k,pointsAtY:C,pointsAtZ:E})},mergeNode:function(d){this.attr("in",d)}};function l(d){return Array.isArray(d)&&(d=new SVG.Array(d)),d.toString().replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")}function u(d){if(!Array.isArray(d))return d;for(var b=0,w=d.length,k=[];b<w;b++)k.push(d[b]);return k.join(" ")}function p(){var d=function(){};for(var b in typeof arguments[arguments.length-1]=="function"&&(d=arguments[arguments.length-1],Array.prototype.splice.call(arguments,arguments.length-1,1)),arguments)for(var w in arguments[b])d(arguments[b][w],w,arguments[b])}["r","g","b","a"].forEach(function(d){a["Func"+d.toUpperCase()]=function(b){switch(this.attr("type",b),b){case"table":this.attr("tableValues",arguments[1]);break;case"linear":this.attr("slope",arguments[1]),this.attr("intercept",arguments[2]);break;case"gamma":this.attr("amplitude",arguments[1]),this.attr("exponent",arguments[2]),this.attr("offset",arguments[2])}}}),p(r,function(d,b){var w=b.charAt(0).toUpperCase()+b.slice(1);SVG[w+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+w)),d.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.Effect,extend:{}})}),p(n,function(d,b){var w=b.charAt(0).toUpperCase()+b.slice(1);SVG[w+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+w)),d.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.ParentEffect,extend:{}})}),p(a,function(d,b){var w=b.charAt(0).toUpperCase()+b.slice(1);SVG[w]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+w)),d.apply(this,arguments)},inherit:SVG.ChildEffect,extend:{}})}),SVG.extend(SVG.MergeEffect,{in:function(d){return d instanceof SVG.MergeNode?this.add(d,0):this.add(new SVG.MergeNode(d),0),this}}),SVG.extend(SVG.CompositeEffect,SVG.BlendEffect,SVG.DisplacementMapEffect,{in2:function(d){return d==null?this.parent()&&this.parent().select('[result="'+this.attr("in2")+'"]').get(0)||this.attr("in2"):this.attr("in2",d)}}),SVG.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]}}.call(void 0),function(){function J(u,p,d,b,w,k,C){for(var E=u.slice(p,d||C),F=b.slice(w,k||C),H=0,W={pos:[0,0],start:[0,0]},U={pos:[0,0],start:[0,0]};E[H]=r.call(W,E[H]),F[H]=r.call(U,F[H]),E[H][0]!=F[H][0]||E[H][0]=="M"||E[H][0]=="A"&&(E[H][4]!=F[H][4]||E[H][5]!=F[H][5])?(Array.prototype.splice.apply(E,[H,1].concat(a.call(W,E[H]))),Array.prototype.splice.apply(F,[H,1].concat(a.call(U,F[H])))):(E[H]=n.call(W,E[H]),F[H]=n.call(U,F[H])),!(++H==E.length&&H==F.length);)H==E.length&&E.push(["C",W.pos[0],W.pos[1],W.pos[0],W.pos[1],W.pos[0],W.pos[1]]),H==F.length&&F.push(["C",U.pos[0],U.pos[1],U.pos[0],U.pos[1],U.pos[0],U.pos[1]]);return{start:E,dest:F}}function r(u){switch(u[0]){case"z":case"Z":u[0]="L",u[1]=this.start[0],u[2]=this.start[1];break;case"H":u[0]="L",u[2]=this.pos[1];break;case"V":u[0]="L",u[2]=u[1],u[1]=this.pos[0];break;case"T":u[0]="Q",u[3]=u[1],u[4]=u[2],u[1]=this.reflection[1],u[2]=this.reflection[0];break;case"S":u[0]="C",u[6]=u[4],u[5]=u[3],u[4]=u[2],u[3]=u[1],u[2]=this.reflection[1],u[1]=this.reflection[0]}return u}function n(u){var p=u.length;return this.pos=[u[p-2],u[p-1]],"SCQT".indexOf(u[0])!=-1&&(this.reflection=[2*this.pos[0]-u[p-4],2*this.pos[1]-u[p-3]]),u}function a(u){var p=[u];switch(u[0]){case"M":return this.pos=this.start=[u[1],u[2]],p;case"L":u[5]=u[3]=u[1],u[6]=u[4]=u[2],u[1]=this.pos[0],u[2]=this.pos[1];break;case"Q":u[6]=u[4],u[5]=u[3],u[4]=1*u[4]/3+2*u[2]/3,u[3]=1*u[3]/3+2*u[1]/3,u[2]=1*this.pos[1]/3+2*u[2]/3,u[1]=1*this.pos[0]/3+2*u[1]/3;break;case"A":u=(p=function(d,b){var w,k,C,E,F,H,W,U,Z,ie,se,_,D,R,Q,be,Re,_e,Qe,Ie,lt,wt,Xt,Et,mr,Dr,Er=Math.abs(b[1]),wn=Math.abs(b[2]),Gn=b[3]%360,ps=b[4],ua=b[5],ha=b[6],da=b[7],Lr=new SVG.Point(d),kr=new SVG.Point(ha,da),ql=[];if(Er===0||wn===0||Lr.x===kr.x&&Lr.y===kr.y)return[["C",Lr.x,Lr.y,kr.x,kr.y,kr.x,kr.y]];for(w=new SVG.Point((Lr.x-kr.x)/2,(Lr.y-kr.y)/2).transform(new SVG.Matrix().rotate(Gn)),(k=w.x*w.x/(Er*Er)+w.y*w.y/(wn*wn))>1&&(Er*=k=Math.sqrt(k),wn*=k),C=new SVG.Matrix().rotate(Gn).scale(1/Er,1/wn).rotate(-Gn),Lr=Lr.transform(C),kr=kr.transform(C),E=[kr.x-Lr.x,kr.y-Lr.y],H=E[0]*E[0]+E[1]*E[1],F=Math.sqrt(H),E[0]/=F,E[1]/=F,W=H<4?Math.sqrt(1-H/4):0,ps===ua&&(W*=-1),U=new SVG.Point((kr.x+Lr.x)/2+W*-E[1],(kr.y+Lr.y)/2+W*E[0]),Z=new SVG.Point(Lr.x-U.x,Lr.y-U.y),ie=new SVG.Point(kr.x-U.x,kr.y-U.y),se=Math.acos(Z.x/Math.sqrt(Z.x*Z.x+Z.y*Z.y)),Z.y<0&&(se*=-1),_=Math.acos(ie.x/Math.sqrt(ie.x*ie.x+ie.y*ie.y)),ie.y<0&&(_*=-1),ua&&se>_&&(_+=2*Math.PI),!ua&&se<_&&(_-=2*Math.PI),R=Math.ceil(2*Math.abs(se-_)/Math.PI),be=[],Re=se,D=(_-se)/R,Q=4*Math.tan(D/4)/3,lt=0;lt<=R;lt++)Qe=Math.cos(Re),_e=Math.sin(Re),Ie=new SVG.Point(U.x+Qe,U.y+_e),be[lt]=[new SVG.Point(Ie.x+Q*_e,Ie.y-Q*Qe),Ie,new SVG.Point(Ie.x-Q*_e,Ie.y+Q*Qe)],Re+=D;for(be[0][0]=be[0][1].clone(),be[be.length-1][2]=be[be.length-1][1].clone(),C=new SVG.Matrix().rotate(Gn).scale(Er,wn).rotate(-Gn),lt=0,wt=be.length;lt<wt;lt++)be[lt][0]=be[lt][0].transform(C),be[lt][1]=be[lt][1].transform(C),be[lt][2]=be[lt][2].transform(C);for(lt=1,wt=be.length;lt<wt;lt++)Xt=(Ie=be[lt-1][2]).x,Et=Ie.y,mr=(Ie=be[lt][0]).x,Dr=Ie.y,ha=(Ie=be[lt][1]).x,da=Ie.y,ql.push(["C",Xt,Et,mr,Dr,ha,da]);return ql}(this.pos,u))[0]}return u[0]="C",this.pos=[u[5],u[6]],this.reflection=[2*u[5]-u[3],2*u[6]-u[4]],p}function l(u,p){if(p===!1)return!1;for(var d=p,b=u.length;d<b;++d)if(u[d][0]=="M")return d;return!1}SVG.extend(SVG.PathArray,{morph:function(u){for(var p=this.value,d=this.parse(u),b=0,w=0,k=!1,C=!1;b!==!1||w!==!1;){var E;k=l(p,b!==!1&&b+1),C=l(d,w!==!1&&w+1),b===!1&&(b=(E=new SVG.PathArray(F.start).bbox()).height==0||E.width==0?p.push(p[0])-1:p.push(["M",E.x+E.width/2,E.y+E.height/2])-1),w===!1&&(w=(E=new SVG.PathArray(F.dest).bbox()).height==0||E.width==0?d.push(d[0])-1:d.push(["M",E.x+E.width/2,E.y+E.height/2])-1);var F=J(p,b,k,d,w,C);p=p.slice(0,b).concat(F.start,k===!1?[]:p.slice(k)),d=d.slice(0,w).concat(F.dest,C===!1?[]:d.slice(C)),b=k!==!1&&b+F.start.length,w=C!==!1&&w+F.dest.length}return this.value=p,this.destination=new SVG.PathArray,this.destination.value=d,this}})}(),function(){function J(r){r.remember("_draggable",this),this.el=r}J.prototype.init=function(r,n){var a=this;this.constraint=r,this.value=n,this.el.on("mousedown.drag",function(l){a.start(l)}),this.el.on("touchstart.drag",function(l){a.start(l)})},J.prototype.transformPoint=function(r,n){var a=(r=r||window.event).changedTouches&&r.changedTouches[0]||r;return this.p.x=a.clientX-(n||0),this.p.y=a.clientY,this.p.matrixTransform(this.m)},J.prototype.getBBox=function(){var r=this.el.bbox();return this.el instanceof SVG.Nested&&(r=this.el.rbox()),(this.el instanceof SVG.G||this.el instanceof SVG.Use||this.el instanceof SVG.Nested)&&(r.x=this.el.x(),r.y=this.el.y()),r},J.prototype.start=function(r){if(r.type!="click"&&r.type!="mousedown"&&r.type!="mousemove"||(r.which||r.buttons)==1){var n=this;if(this.el.fire("beforedrag",{event:r,handler:this}),!this.el.event().defaultPrevented){r.preventDefault(),r.stopPropagation(),this.parent=this.parent||this.el.parent(SVG.Nested)||this.el.parent(SVG.Doc),this.p=this.parent.node.createSVGPoint(),this.m=this.el.node.getScreenCTM().inverse();var a,l=this.getBBox();if(this.el instanceof SVG.Text)switch(a=this.el.node.getComputedTextLength(),this.el.attr("text-anchor")){case"middle":a/=2;break;case"start":a=0}this.startPoints={point:this.transformPoint(r,a),box:l,transform:this.el.transform()},SVG.on(window,"mousemove.drag",function(u){n.drag(u)}),SVG.on(window,"touchmove.drag",function(u){n.drag(u)}),SVG.on(window,"mouseup.drag",function(u){n.end(u)}),SVG.on(window,"touchend.drag",function(u){n.end(u)}),this.el.fire("dragstart",{event:r,p:this.startPoints.point,m:this.m,handler:this})}}},J.prototype.drag=function(r){var n=this.getBBox(),a=this.transformPoint(r),l=this.startPoints.box.x+a.x-this.startPoints.point.x,u=this.startPoints.box.y+a.y-this.startPoints.point.y,p=this.constraint,d=a.x-this.startPoints.point.x,b=a.y-this.startPoints.point.y;if(this.el.fire("dragmove",{event:r,p:a,m:this.m,handler:this}),this.el.event().defaultPrevented)return a;if(typeof p=="function"){var w=p.call(this.el,l,u,this.m);typeof w=="boolean"&&(w={x:w,y:w}),w.x===!0?this.el.x(l):w.x!==!1&&this.el.x(w.x),w.y===!0?this.el.y(u):w.y!==!1&&this.el.y(w.y)}else typeof p=="object"&&(p.minX!=null&&l<p.minX?d=(l=p.minX)-this.startPoints.box.x:p.maxX!=null&&l>p.maxX-n.width&&(d=(l=p.maxX-n.width)-this.startPoints.box.x),p.minY!=null&&u<p.minY?b=(u=p.minY)-this.startPoints.box.y:p.maxY!=null&&u>p.maxY-n.height&&(b=(u=p.maxY-n.height)-this.startPoints.box.y),p.snapToGrid!=null&&(l-=l%p.snapToGrid,u-=u%p.snapToGrid,d-=d%p.snapToGrid,b-=b%p.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:d,y:b},!0):this.el.move(l,u));return a},J.prototype.end=function(r){var n=this.drag(r);this.el.fire("dragend",{event:r,p:n,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(r,n){typeof r!="function"&&typeof r!="object"||(n=r,r=!0);var a=this.remember("_draggable")||new J(this);return(r=r===void 0||r)?a.init(n||{},r):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function J(r){this.el=r,r.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(n,a,l){var u=typeof n!="string"?n:a[n];return l?u/2:u},this.pointCoords=function(n,a){var l=this.pointsList[n];return{x:this.pointCoord(l[0],a,n==="t"||n==="b"),y:this.pointCoord(l[1],a,n==="r"||n==="l")}}}J.prototype.init=function(r,n){var a=this.el.bbox();this.options={};var l=this.el.selectize.defaults.points;for(var u in this.el.selectize.defaults)this.options[u]=this.el.selectize.defaults[u],n[u]!==void 0&&(this.options[u]=n[u]);var p=["points","pointsExclude"];for(var u in p){var d=this.options[p[u]];typeof d=="string"?d=d.length>0?d.split(/\s*,\s*/i):[]:typeof d=="boolean"&&p[u]==="points"&&(d=d?l:[]),this.options[p[u]]=d}this.options.points=[l,this.options.points].reduce(function(b,w){return b.filter(function(k){return w.indexOf(k)>-1})}),this.options.points=[this.options.points,this.options.pointsExclude].reduce(function(b,w){return b.filter(function(k){return w.indexOf(k)<0})}),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(a.x,a.y)),this.options.deepSelect&&["line","polyline","polygon"].indexOf(this.el.type)!==-1?this.selectPoints(r):this.selectRect(r),this.observe(),this.cleanup()},J.prototype.selectPoints=function(r){return this.pointSelection.isSelected=r,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},J.prototype.getPointArray=function(){var r=this.el.bbox();return this.el.array().valueOf().map(function(n){return[n[0]-r.x,n[1]-r.y]})},J.prototype.drawPoints=function(){for(var r=this,n=this.getPointArray(),a=0,l=n.length;a<l;++a){var u=function(d){return function(b){(b=b||window.event).preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation();var w=b.pageX||b.touches[0].pageX,k=b.pageY||b.touches[0].pageY;r.el.fire("point",{x:w,y:k,i:d,event:b})}}(a),p=this.drawPoint(n[a][0],n[a][1]).addClass(this.options.classPoints).addClass(this.options.classPoints+"_point").on("touchstart",u).on("mousedown",u);this.pointSelection.set.add(p)}},J.prototype.drawPoint=function(r,n){var a=this.options.pointType;switch(a){case"circle":return this.drawCircle(r,n);case"rect":return this.drawRect(r,n);default:if(typeof a=="function")return a.call(this,r,n);throw new Error("Unknown "+a+" point type!")}},J.prototype.drawCircle=function(r,n){return this.nested.circle(this.options.pointSize).center(r,n)},J.prototype.drawRect=function(r,n){return this.nested.rect(this.options.pointSize,this.options.pointSize).center(r,n)},J.prototype.updatePointSelection=function(){var r=this.getPointArray();this.pointSelection.set.each(function(n){this.cx()===r[n][0]&&this.cy()===r[n][1]||this.center(r[n][0],r[n][1])})},J.prototype.updateRectSelection=function(){var r=this,n=this.el.bbox();if(this.rectSelection.set.get(0).attr({width:n.width,height:n.height}),this.options.points.length&&this.options.points.map(function(l,u){var p=r.pointCoords(l,n);r.rectSelection.set.get(u+1).center(p.x,p.y)}),this.options.rotationPoint){var a=this.rectSelection.set.length();this.rectSelection.set.get(a-1).center(n.width/2,20)}},J.prototype.selectRect=function(r){var n=this,a=this.el.bbox();function l(d){return function(b){(b=b||window.event).preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation();var w=b.pageX||b.touches[0].pageX,k=b.pageY||b.touches[0].pageY;n.el.fire(d,{x:w,y:k,event:b})}}if(this.rectSelection.isSelected=r,this.rectSelection.set=this.rectSelection.set||this.parent.set(),this.rectSelection.set.get(0)||this.rectSelection.set.add(this.nested.rect(a.width,a.height).addClass(this.options.classRect)),this.options.points.length&&this.rectSelection.set.length()<2&&(this.options.points.map(function(d,b){var w=n.pointCoords(d,a),k=n.drawPoint(w.x,w.y).attr("class",n.options.classPoints+"_"+d).on("mousedown",l(d)).on("touchstart",l(d));n.rectSelection.set.add(k)}),this.rectSelection.set.each(function(){this.addClass(n.options.classPoints)})),this.options.rotationPoint&&(this.options.points&&!this.rectSelection.set.get(9)||!this.options.points&&!this.rectSelection.set.get(1))){var u=function(d){(d=d||window.event).preventDefault?d.preventDefault():d.returnValue=!1,d.stopPropagation();var b=d.pageX||d.touches[0].pageX,w=d.pageY||d.touches[0].pageY;n.el.fire("rot",{x:b,y:w,event:d})},p=this.drawPoint(a.width/2,20).attr("class",this.options.classPoints+"_rot").on("touchstart",u).on("mousedown",u);this.rectSelection.set.add(p)}},J.prototype.handler=function(){var r=this.el.bbox();this.nested.matrix(new SVG.Matrix(this.el).translate(r.x,r.y)),this.rectSelection.isSelected&&this.updateRectSelection(),this.pointSelection.isSelected&&this.updatePointSelection()},J.prototype.observe=function(){var r=this;if(MutationObserver)if(this.rectSelection.isSelected||this.pointSelection.isSelected)this.observerInst=this.observerInst||new MutationObserver(function(){r.handler()}),this.observerInst.observe(this.el.node,{attributes:!0});else try{this.observerInst.disconnect(),delete this.observerInst}catch{}else this.el.off("DOMAttrModified.select"),(this.rectSelection.isSelected||this.pointSelection.isSelected)&&this.el.on("DOMAttrModified.select",function(){r.handler()})},J.prototype.cleanup=function(){!this.rectSelection.isSelected&&this.rectSelection.set&&(this.rectSelection.set.each(function(){this.remove()}),this.rectSelection.set.clear(),delete this.rectSelection.set),!this.pointSelection.isSelected&&this.pointSelection.set&&(this.pointSelection.set.each(function(){this.remove()}),this.pointSelection.set.clear(),delete this.pointSelection.set),this.pointSelection.isSelected||this.rectSelection.isSelected||(this.nested.remove(),delete this.nested)},SVG.extend(SVG.Element,{selectize:function(r,n){return typeof r=="object"&&(n=r,r=!0),(this.remember("_selectHandler")||new J(this)).init(r===void 0||r,n||{}),this}}),SVG.Element.prototype.selectize.defaults={points:["lt","rt","rb","lb","t","r","b","l"],pointsExclude:[],classRect:"svg_select_boundingRect",classPoints:"svg_select_points",pointSize:7,rotationPoint:!0,deepSelect:!1,pointType:"circle"}}(),function(){(function(){function J(r){r.remember("_resizeHandler",this),this.el=r,this.parameters={},this.lastUpdateCall=null,this.p=r.doc().node.createSVGPoint()}J.prototype.transformPoint=function(r,n,a){return this.p.x=r-(this.offset.x-window.pageXOffset),this.p.y=n-(this.offset.y-window.pageYOffset),this.p.matrixTransform(a||this.m)},J.prototype._extractPosition=function(r){return{x:r.clientX!=null?r.clientX:r.touches[0].clientX,y:r.clientY!=null?r.clientY:r.touches[0].clientY}},J.prototype.init=function(r){var n=this;if(this.stop(),r!=="stop"){for(var a in this.options={},this.el.resize.defaults)this.options[a]=this.el.resize.defaults[a],r[a]!==void 0&&(this.options[a]=r[a]);this.el.on("lt.resize",function(l){n.resize(l||window.event)}),this.el.on("rt.resize",function(l){n.resize(l||window.event)}),this.el.on("rb.resize",function(l){n.resize(l||window.event)}),this.el.on("lb.resize",function(l){n.resize(l||window.event)}),this.el.on("t.resize",function(l){n.resize(l||window.event)}),this.el.on("r.resize",function(l){n.resize(l||window.event)}),this.el.on("b.resize",function(l){n.resize(l||window.event)}),this.el.on("l.resize",function(l){n.resize(l||window.event)}),this.el.on("rot.resize",function(l){n.resize(l||window.event)}),this.el.on("point.resize",function(l){n.resize(l||window.event)}),this.update()}},J.prototype.stop=function(){return this.el.off("lt.resize"),this.el.off("rt.resize"),this.el.off("rb.resize"),this.el.off("lb.resize"),this.el.off("t.resize"),this.el.off("r.resize"),this.el.off("b.resize"),this.el.off("l.resize"),this.el.off("rot.resize"),this.el.off("point.resize"),this},J.prototype.resize=function(r){var n=this;this.m=this.el.node.getScreenCTM().inverse(),this.offset={x:window.pageXOffset,y:window.pageYOffset};var a=this._extractPosition(r.detail.event);if(this.parameters={type:this.el.type,p:this.transformPoint(a.x,a.y),x:r.detail.x,y:r.detail.y,box:this.el.bbox(),rotation:this.el.transform().rotation},this.el.type==="text"&&(this.parameters.fontSize=this.el.attr()["font-size"]),r.detail.i!==void 0){var l=this.el.array().valueOf();this.parameters.i=r.detail.i,this.parameters.pointCoords=[l[r.detail.i][0],l[r.detail.i][1]]}switch(r.type){case"lt":this.calc=function(u,p){var d=this.snapToGrid(u,p);if(this.parameters.box.width-d[0]>0&&this.parameters.box.height-d[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x+d[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-d[0]);d=this.checkAspectRatio(d),this.el.move(this.parameters.box.x+d[0],this.parameters.box.y+d[1]).size(this.parameters.box.width-d[0],this.parameters.box.height-d[1])}};break;case"rt":this.calc=function(u,p){var d=this.snapToGrid(u,p,2);if(this.parameters.box.width+d[0]>0&&this.parameters.box.height-d[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x-d[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+d[0]);d=this.checkAspectRatio(d,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+d[1]).size(this.parameters.box.width+d[0],this.parameters.box.height-d[1])}};break;case"rb":this.calc=function(u,p){var d=this.snapToGrid(u,p,0);if(this.parameters.box.width+d[0]>0&&this.parameters.box.height+d[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x-d[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+d[0]);d=this.checkAspectRatio(d),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+d[0],this.parameters.box.height+d[1])}};break;case"lb":this.calc=function(u,p){var d=this.snapToGrid(u,p,1);if(this.parameters.box.width-d[0]>0&&this.parameters.box.height+d[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x+d[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-d[0]);d=this.checkAspectRatio(d,!0),this.el.move(this.parameters.box.x+d[0],this.parameters.box.y).size(this.parameters.box.width-d[0],this.parameters.box.height+d[1])}};break;case"t":this.calc=function(u,p){var d=this.snapToGrid(u,p,2);if(this.parameters.box.height-d[1]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y+d[1]).height(this.parameters.box.height-d[1])}};break;case"r":this.calc=function(u,p){var d=this.snapToGrid(u,p,0);if(this.parameters.box.width+d[0]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+d[0])}};break;case"b":this.calc=function(u,p){var d=this.snapToGrid(u,p,0);if(this.parameters.box.height+d[1]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+d[1])}};break;case"l":this.calc=function(u,p){var d=this.snapToGrid(u,p,1);if(this.parameters.box.width-d[0]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x+d[0],this.parameters.box.y).width(this.parameters.box.width-d[0])}};break;case"rot":this.calc=function(u,p){var d=u+this.parameters.p.x,b=p+this.parameters.p.y,w=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),k=Math.atan2(b-this.parameters.box.y-this.parameters.box.height/2,d-this.parameters.box.x-this.parameters.box.width/2),C=this.parameters.rotation+180*(k-w)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(C-C%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(u,p){var d=this.snapToGrid(u,p,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),b=this.el.array().valueOf();b[this.parameters.i][0]=this.parameters.pointCoords[0]+d[0],b[this.parameters.i][1]=this.parameters.pointCoords[1]+d[1],this.el.plot(b)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:r}),SVG.on(window,"touchmove.resize",function(u){n.update(u||window.event)}),SVG.on(window,"touchend.resize",function(){n.done()}),SVG.on(window,"mousemove.resize",function(u){n.update(u||window.event)}),SVG.on(window,"mouseup.resize",function(){n.done()})},J.prototype.update=function(r){if(r){var n=this._extractPosition(r),a=this.transformPoint(n.x,n.y),l=a.x-this.parameters.p.x,u=a.y-this.parameters.p.y;this.lastUpdateCall=[l,u],this.calc(l,u),this.el.fire("resizing",{dx:l,dy:u,event:r})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},J.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},J.prototype.snapToGrid=function(r,n,a,l){var u;return l!==void 0?u=[(a+r)%this.options.snapToGrid,(l+n)%this.options.snapToGrid]:(a=a==null?3:a,u=[(this.parameters.box.x+r+(1&a?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+n+(2&a?0:this.parameters.box.height))%this.options.snapToGrid]),r<0&&(u[0]-=this.options.snapToGrid),n<0&&(u[1]-=this.options.snapToGrid),r-=Math.abs(u[0])<this.options.snapToGrid/2?u[0]:u[0]-(r<0?-this.options.snapToGrid:this.options.snapToGrid),n-=Math.abs(u[1])<this.options.snapToGrid/2?u[1]:u[1]-(n<0?-this.options.snapToGrid:this.options.snapToGrid),this.constraintToBox(r,n,a,l)},J.prototype.constraintToBox=function(r,n,a,l){var u,p,d=this.options.constraint||{};return l!==void 0?(u=a,p=l):(u=this.parameters.box.x+(1&a?0:this.parameters.box.width),p=this.parameters.box.y+(2&a?0:this.parameters.box.height)),d.minX!==void 0&&u+r<d.minX&&(r=d.minX-u),d.maxX!==void 0&&u+r>d.maxX&&(r=d.maxX-u),d.minY!==void 0&&p+n<d.minY&&(n=d.minY-p),d.maxY!==void 0&&p+n>d.maxY&&(n=d.maxY-p),[r,n]},J.prototype.checkAspectRatio=function(r,n){if(!this.options.saveAspectRatio)return r;var a=r.slice(),l=this.parameters.box.width/this.parameters.box.height,u=this.parameters.box.width+r[0],p=this.parameters.box.height-r[1],d=u/p;return d<l?(a[1]=u/l-this.parameters.box.height,n&&(a[1]=-a[1])):d>l&&(a[0]=this.parameters.box.width-p*l,n&&(a[0]=-a[0])),a},SVG.extend(SVG.Element,{resize:function(r){return(this.remember("_resizeHandler")||new J(this)).init(r||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),window.Apex===void 0&&(window.Apex={});var ca=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new re(this.ctx),this.ctx.axes=new xe(this.ctx),this.ctx.core=new hs(this.ctx.el,this.ctx),this.ctx.config=new we({}),this.ctx.data=new Ge(this.ctx),this.ctx.grid=new ye(this.ctx),this.ctx.graphics=new j(this.ctx),this.ctx.coreUtils=new oe(this.ctx),this.ctx.crosshairs=new me(this.ctx),this.ctx.events=new Ze(this.ctx),this.ctx.exports=new dt(this.ctx),this.ctx.localization=new Ve(this.ctx),this.ctx.options=new Me,this.ctx.responsive=new le(this.ctx),this.ctx.series=new ot(this.ctx),this.ctx.theme=new N(this.ctx),this.ctx.formatters=new at(this.ctx),this.ctx.titleSubtitle=new $(this.ctx),this.ctx.legend=new pt(this.ctx),this.ctx.toolbar=new gt(this.ctx),this.ctx.dimensions=new je(this.ctx),this.ctx.updateHelpers=new xh(this.ctx),this.ctx.zoomPanSelection=new At(this.ctx),this.ctx.w.globals.tooltip=new Ct(this.ctx)}}]),J}(),Gl=function(){function J(r){g(this,J),this.ctx=r,this.w=r.w}return y(J,[{key:"clear",value:function(r){var n=r.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:n})}},{key:"killSVG",value:function(r){r.each(function(n,a){this.removeClass("*"),this.off(),this.stop()},!0),r.ungroup(),r.clear()}},{key:"clearDomElements",value:function(r){var n=this,a=r.isUpdating,l=this.w.globals.dom.Paper.node;l.parentNode&&l.parentNode.parentNode&&!a&&(l.parentNode.parentNode.style.minHeight="unset");var u=this.w.globals.dom.baseEl;u&&this.ctx.eventList.forEach(function(d){u.removeEventListener(d,n.ctx.events.documentEvent)});var p=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(p.Paper),p.Paper.remove(),p.elWrap=null,p.elGraphical=null,p.elAnnotations=null,p.elLegendWrap=null,p.baseEl=null,p.elGridRect=null,p.elGridRectMask=null,p.elGridRectMarkerMask=null,p.elForecastMask=null,p.elNonForecastMask=null,p.elDefs=null}}]),J}(),ds=new WeakMap,fs=function(){function J(r,n){g(this,J),this.opts=n,this.ctx=this,this.w=new $e(n).init(),this.el=r,this.w.globals.cuid=T.randomId(),this.w.globals.chartID=this.w.config.chart.id?T.escapeString(this.w.config.chart.id):this.w.globals.cuid,new ca(this).initModules(),this.create=T.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return y(J,[{key:"render",value:function(){var r=this;return new Promise(function(n,a){if(r.el!==null){Apex._chartInstances===void 0&&(Apex._chartInstances=[]),r.w.config.chart.id&&Apex._chartInstances.push({id:r.w.globals.chartID,group:r.w.config.chart.group,chart:r}),r.setLocale(r.w.config.chart.defaultLocale);var l=r.w.config.chart.events.beforeMount;if(typeof l=="function"&&l(r,r.w),r.events.fireEvent("beforeMount",[r,r.w]),window.addEventListener("resize",r.windowResizeHandler),function(k,C){var E=!1;if(k.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var F=k.getBoundingClientRect();k.style.display!=="none"&&F.width!==0||(E=!0)}var H=new ResizeObserver(function(W){E&&C.call(k,W),E=!0});k.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(k.children).forEach(function(W){return H.observe(W)}):H.observe(k),ds.set(C,H)}(r.el.parentNode,r.parentResizeHandler),!r.css){var u=r.el.getRootNode&&r.el.getRootNode(),p=T.is("ShadowRoot",u),d=r.el.ownerDocument,b=d.getElementById("apexcharts-css");!p&&b||(r.css=document.createElement("style"),r.css.id="apexcharts-css",r.css.textContent=`.apexcharts-canvas {
  132. position: relative;
  133. user-select: none;
  134. /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */
  135. }
  136. /* scrollbar is not visible by default for legend, hence forcing the visibility */
  137. .apexcharts-canvas ::-webkit-scrollbar {
  138. -webkit-appearance: none;
  139. width: 6px;
  140. }
  141. .apexcharts-canvas ::-webkit-scrollbar-thumb {
  142. border-radius: 4px;
  143. background-color: rgba(0, 0, 0, .5);
  144. box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  145. -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  146. }
  147. .apexcharts-inner {
  148. position: relative;
  149. }
  150. .apexcharts-text tspan {
  151. font-family: inherit;
  152. }
  153. .legend-mouseover-inactive {
  154. transition: 0.15s ease all;
  155. opacity: 0.20;
  156. }
  157. .apexcharts-series-collapsed {
  158. opacity: 0;
  159. }
  160. .apexcharts-tooltip {
  161. border-radius: 5px;
  162. box-shadow: 2px 2px 6px -4px #999;
  163. cursor: default;
  164. font-size: 14px;
  165. left: 62px;
  166. opacity: 0;
  167. pointer-events: none;
  168. position: absolute;
  169. top: 20px;
  170. display: flex;
  171. flex-direction: column;
  172. overflow: hidden;
  173. white-space: nowrap;
  174. z-index: 12;
  175. transition: 0.15s ease all;
  176. }
  177. .apexcharts-tooltip.apexcharts-active {
  178. opacity: 1;
  179. transition: 0.15s ease all;
  180. }
  181. .apexcharts-tooltip.apexcharts-theme-light {
  182. border: 1px solid #e3e3e3;
  183. background: rgba(255, 255, 255, 0.96);
  184. }
  185. .apexcharts-tooltip.apexcharts-theme-dark {
  186. color: #fff;
  187. background: rgba(30, 30, 30, 0.8);
  188. }
  189. .apexcharts-tooltip * {
  190. font-family: inherit;
  191. }
  192. .apexcharts-tooltip-title {
  193. padding: 6px;
  194. font-size: 15px;
  195. margin-bottom: 4px;
  196. }
  197. .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
  198. background: #ECEFF1;
  199. border-bottom: 1px solid #ddd;
  200. }
  201. .apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
  202. background: rgba(0, 0, 0, 0.7);
  203. border-bottom: 1px solid #333;
  204. }
  205. .apexcharts-tooltip-text-y-value,
  206. .apexcharts-tooltip-text-goals-value,
  207. .apexcharts-tooltip-text-z-value {
  208. display: inline-block;
  209. font-weight: 600;
  210. margin-left: 5px;
  211. }
  212. .apexcharts-tooltip-title:empty,
  213. .apexcharts-tooltip-text-y-label:empty,
  214. .apexcharts-tooltip-text-y-value:empty,
  215. .apexcharts-tooltip-text-goals-label:empty,
  216. .apexcharts-tooltip-text-goals-value:empty,
  217. .apexcharts-tooltip-text-z-value:empty {
  218. display: none;
  219. }
  220. .apexcharts-tooltip-text-y-value,
  221. .apexcharts-tooltip-text-goals-value,
  222. .apexcharts-tooltip-text-z-value {
  223. font-weight: 600;
  224. }
  225. .apexcharts-tooltip-text-goals-label,
  226. .apexcharts-tooltip-text-goals-value {
  227. padding: 6px 0 5px;
  228. }
  229. .apexcharts-tooltip-goals-group,
  230. .apexcharts-tooltip-text-goals-label,
  231. .apexcharts-tooltip-text-goals-value {
  232. display: flex;
  233. }
  234. .apexcharts-tooltip-text-goals-label:not(:empty),
  235. .apexcharts-tooltip-text-goals-value:not(:empty) {
  236. margin-top: -6px;
  237. }
  238. .apexcharts-tooltip-marker {
  239. width: 12px;
  240. height: 12px;
  241. position: relative;
  242. top: 0px;
  243. margin-right: 10px;
  244. border-radius: 50%;
  245. }
  246. .apexcharts-tooltip-series-group {
  247. padding: 0 10px;
  248. display: none;
  249. text-align: left;
  250. justify-content: left;
  251. align-items: center;
  252. }
  253. .apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
  254. opacity: 1;
  255. }
  256. .apexcharts-tooltip-series-group.apexcharts-active,
  257. .apexcharts-tooltip-series-group:last-child {
  258. padding-bottom: 4px;
  259. }
  260. .apexcharts-tooltip-series-group-hidden {
  261. opacity: 0;
  262. height: 0;
  263. line-height: 0;
  264. padding: 0 !important;
  265. }
  266. .apexcharts-tooltip-y-group {
  267. padding: 6px 0 5px;
  268. }
  269. .apexcharts-tooltip-box, .apexcharts-custom-tooltip {
  270. padding: 4px 8px;
  271. }
  272. .apexcharts-tooltip-boxPlot {
  273. display: flex;
  274. flex-direction: column-reverse;
  275. }
  276. .apexcharts-tooltip-box>div {
  277. margin: 4px 0;
  278. }
  279. .apexcharts-tooltip-box span.value {
  280. font-weight: bold;
  281. }
  282. .apexcharts-tooltip-rangebar {
  283. padding: 5px 8px;
  284. }
  285. .apexcharts-tooltip-rangebar .category {
  286. font-weight: 600;
  287. color: #777;
  288. }
  289. .apexcharts-tooltip-rangebar .series-name {
  290. font-weight: bold;
  291. display: block;
  292. margin-bottom: 5px;
  293. }
  294. .apexcharts-xaxistooltip {
  295. opacity: 0;
  296. padding: 9px 10px;
  297. pointer-events: none;
  298. color: #373d3f;
  299. font-size: 13px;
  300. text-align: center;
  301. border-radius: 2px;
  302. position: absolute;
  303. z-index: 10;
  304. background: #ECEFF1;
  305. border: 1px solid #90A4AE;
  306. transition: 0.15s ease all;
  307. }
  308. .apexcharts-xaxistooltip.apexcharts-theme-dark {
  309. background: rgba(0, 0, 0, 0.7);
  310. border: 1px solid rgba(0, 0, 0, 0.5);
  311. color: #fff;
  312. }
  313. .apexcharts-xaxistooltip:after,
  314. .apexcharts-xaxistooltip:before {
  315. left: 50%;
  316. border: solid transparent;
  317. content: " ";
  318. height: 0;
  319. width: 0;
  320. position: absolute;
  321. pointer-events: none;
  322. }
  323. .apexcharts-xaxistooltip:after {
  324. border-color: rgba(236, 239, 241, 0);
  325. border-width: 6px;
  326. margin-left: -6px;
  327. }
  328. .apexcharts-xaxistooltip:before {
  329. border-color: rgba(144, 164, 174, 0);
  330. border-width: 7px;
  331. margin-left: -7px;
  332. }
  333. .apexcharts-xaxistooltip-bottom:after,
  334. .apexcharts-xaxistooltip-bottom:before {
  335. bottom: 100%;
  336. }
  337. .apexcharts-xaxistooltip-top:after,
  338. .apexcharts-xaxistooltip-top:before {
  339. top: 100%;
  340. }
  341. .apexcharts-xaxistooltip-bottom:after {
  342. border-bottom-color: #ECEFF1;
  343. }
  344. .apexcharts-xaxistooltip-bottom:before {
  345. border-bottom-color: #90A4AE;
  346. }
  347. .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {
  348. border-bottom-color: rgba(0, 0, 0, 0.5);
  349. }
  350. .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
  351. border-bottom-color: rgba(0, 0, 0, 0.5);
  352. }
  353. .apexcharts-xaxistooltip-top:after {
  354. border-top-color: #ECEFF1
  355. }
  356. .apexcharts-xaxistooltip-top:before {
  357. border-top-color: #90A4AE;
  358. }
  359. .apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {
  360. border-top-color: rgba(0, 0, 0, 0.5);
  361. }
  362. .apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
  363. border-top-color: rgba(0, 0, 0, 0.5);
  364. }
  365. .apexcharts-xaxistooltip.apexcharts-active {
  366. opacity: 1;
  367. transition: 0.15s ease all;
  368. }
  369. .apexcharts-yaxistooltip {
  370. opacity: 0;
  371. padding: 4px 10px;
  372. pointer-events: none;
  373. color: #373d3f;
  374. font-size: 13px;
  375. text-align: center;
  376. border-radius: 2px;
  377. position: absolute;
  378. z-index: 10;
  379. background: #ECEFF1;
  380. border: 1px solid #90A4AE;
  381. }
  382. .apexcharts-yaxistooltip.apexcharts-theme-dark {
  383. background: rgba(0, 0, 0, 0.7);
  384. border: 1px solid rgba(0, 0, 0, 0.5);
  385. color: #fff;
  386. }
  387. .apexcharts-yaxistooltip:after,
  388. .apexcharts-yaxistooltip:before {
  389. top: 50%;
  390. border: solid transparent;
  391. content: " ";
  392. height: 0;
  393. width: 0;
  394. position: absolute;
  395. pointer-events: none;
  396. }
  397. .apexcharts-yaxistooltip:after {
  398. border-color: rgba(236, 239, 241, 0);
  399. border-width: 6px;
  400. margin-top: -6px;
  401. }
  402. .apexcharts-yaxistooltip:before {
  403. border-color: rgba(144, 164, 174, 0);
  404. border-width: 7px;
  405. margin-top: -7px;
  406. }
  407. .apexcharts-yaxistooltip-left:after,
  408. .apexcharts-yaxistooltip-left:before {
  409. left: 100%;
  410. }
  411. .apexcharts-yaxistooltip-right:after,
  412. .apexcharts-yaxistooltip-right:before {
  413. right: 100%;
  414. }
  415. .apexcharts-yaxistooltip-left:after {
  416. border-left-color: #ECEFF1;
  417. }
  418. .apexcharts-yaxistooltip-left:before {
  419. border-left-color: #90A4AE;
  420. }
  421. .apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {
  422. border-left-color: rgba(0, 0, 0, 0.5);
  423. }
  424. .apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
  425. border-left-color: rgba(0, 0, 0, 0.5);
  426. }
  427. .apexcharts-yaxistooltip-right:after {
  428. border-right-color: #ECEFF1;
  429. }
  430. .apexcharts-yaxistooltip-right:before {
  431. border-right-color: #90A4AE;
  432. }
  433. .apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {
  434. border-right-color: rgba(0, 0, 0, 0.5);
  435. }
  436. .apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
  437. border-right-color: rgba(0, 0, 0, 0.5);
  438. }
  439. .apexcharts-yaxistooltip.apexcharts-active {
  440. opacity: 1;
  441. }
  442. .apexcharts-yaxistooltip-hidden {
  443. display: none;
  444. }
  445. .apexcharts-xcrosshairs,
  446. .apexcharts-ycrosshairs {
  447. pointer-events: none;
  448. opacity: 0;
  449. transition: 0.15s ease all;
  450. }
  451. .apexcharts-xcrosshairs.apexcharts-active,
  452. .apexcharts-ycrosshairs.apexcharts-active {
  453. opacity: 1;
  454. transition: 0.15s ease all;
  455. }
  456. .apexcharts-ycrosshairs-hidden {
  457. opacity: 0;
  458. }
  459. .apexcharts-selection-rect {
  460. cursor: move;
  461. }
  462. .svg_select_boundingRect, .svg_select_points_rot {
  463. pointer-events: none;
  464. opacity: 0;
  465. visibility: hidden;
  466. }
  467. .apexcharts-selection-rect + g .svg_select_boundingRect,
  468. .apexcharts-selection-rect + g .svg_select_points_rot {
  469. opacity: 0;
  470. visibility: hidden;
  471. }
  472. .apexcharts-selection-rect + g .svg_select_points_l,
  473. .apexcharts-selection-rect + g .svg_select_points_r {
  474. cursor: ew-resize;
  475. opacity: 1;
  476. visibility: visible;
  477. }
  478. .svg_select_points {
  479. fill: #efefef;
  480. stroke: #333;
  481. rx: 2;
  482. }
  483. .apexcharts-svg.apexcharts-zoomable.hovering-zoom {
  484. cursor: crosshair
  485. }
  486. .apexcharts-svg.apexcharts-zoomable.hovering-pan {
  487. cursor: move
  488. }
  489. .apexcharts-zoom-icon,
  490. .apexcharts-zoomin-icon,
  491. .apexcharts-zoomout-icon,
  492. .apexcharts-reset-icon,
  493. .apexcharts-pan-icon,
  494. .apexcharts-selection-icon,
  495. .apexcharts-menu-icon,
  496. .apexcharts-toolbar-custom-icon {
  497. cursor: pointer;
  498. width: 20px;
  499. height: 20px;
  500. line-height: 24px;
  501. color: #6E8192;
  502. text-align: center;
  503. }
  504. .apexcharts-zoom-icon svg,
  505. .apexcharts-zoomin-icon svg,
  506. .apexcharts-zoomout-icon svg,
  507. .apexcharts-reset-icon svg,
  508. .apexcharts-menu-icon svg {
  509. fill: #6E8192;
  510. }
  511. .apexcharts-selection-icon svg {
  512. fill: #444;
  513. transform: scale(0.76)
  514. }
  515. .apexcharts-theme-dark .apexcharts-zoom-icon svg,
  516. .apexcharts-theme-dark .apexcharts-zoomin-icon svg,
  517. .apexcharts-theme-dark .apexcharts-zoomout-icon svg,
  518. .apexcharts-theme-dark .apexcharts-reset-icon svg,
  519. .apexcharts-theme-dark .apexcharts-pan-icon svg,
  520. .apexcharts-theme-dark .apexcharts-selection-icon svg,
  521. .apexcharts-theme-dark .apexcharts-menu-icon svg,
  522. .apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {
  523. fill: #f3f4f5;
  524. }
  525. .apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,
  526. .apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
  527. .apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {
  528. fill: #008FFB;
  529. }
  530. .apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
  531. .apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,
  532. .apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,
  533. .apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,
  534. .apexcharts-theme-light .apexcharts-reset-icon:hover svg,
  535. .apexcharts-theme-light .apexcharts-menu-icon:hover svg {
  536. fill: #333;
  537. }
  538. .apexcharts-selection-icon,
  539. .apexcharts-menu-icon {
  540. position: relative;
  541. }
  542. .apexcharts-reset-icon {
  543. margin-left: 5px;
  544. }
  545. .apexcharts-zoom-icon,
  546. .apexcharts-reset-icon,
  547. .apexcharts-menu-icon {
  548. transform: scale(0.85);
  549. }
  550. .apexcharts-zoomin-icon,
  551. .apexcharts-zoomout-icon {
  552. transform: scale(0.7)
  553. }
  554. .apexcharts-zoomout-icon {
  555. margin-right: 3px;
  556. }
  557. .apexcharts-pan-icon {
  558. transform: scale(0.62);
  559. position: relative;
  560. left: 1px;
  561. top: 0px;
  562. }
  563. .apexcharts-pan-icon svg {
  564. fill: #fff;
  565. stroke: #6E8192;
  566. stroke-width: 2;
  567. }
  568. .apexcharts-pan-icon.apexcharts-selected svg {
  569. stroke: #008FFB;
  570. }
  571. .apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
  572. stroke: #333;
  573. }
  574. .apexcharts-toolbar {
  575. position: absolute;
  576. z-index: 11;
  577. max-width: 176px;
  578. text-align: right;
  579. border-radius: 3px;
  580. padding: 0px 6px 2px 6px;
  581. display: flex;
  582. justify-content: space-between;
  583. align-items: center;
  584. }
  585. .apexcharts-menu {
  586. background: #fff;
  587. position: absolute;
  588. top: 100%;
  589. border: 1px solid #ddd;
  590. border-radius: 3px;
  591. padding: 3px;
  592. right: 10px;
  593. opacity: 0;
  594. min-width: 110px;
  595. transition: 0.15s ease all;
  596. pointer-events: none;
  597. }
  598. .apexcharts-menu.apexcharts-menu-open {
  599. opacity: 1;
  600. pointer-events: all;
  601. transition: 0.15s ease all;
  602. }
  603. .apexcharts-menu-item {
  604. padding: 6px 7px;
  605. font-size: 12px;
  606. cursor: pointer;
  607. }
  608. .apexcharts-theme-light .apexcharts-menu-item:hover {
  609. background: #eee;
  610. }
  611. .apexcharts-theme-dark .apexcharts-menu {
  612. background: rgba(0, 0, 0, 0.7);
  613. color: #fff;
  614. }
  615. @media screen and (min-width: 768px) {
  616. .apexcharts-canvas:hover .apexcharts-toolbar {
  617. opacity: 1;
  618. }
  619. }
  620. .apexcharts-datalabel.apexcharts-element-hidden {
  621. opacity: 0;
  622. }
  623. .apexcharts-pie-label,
  624. .apexcharts-datalabels,
  625. .apexcharts-datalabel,
  626. .apexcharts-datalabel-label,
  627. .apexcharts-datalabel-value {
  628. cursor: default;
  629. pointer-events: none;
  630. }
  631. .apexcharts-pie-label-delay {
  632. opacity: 0;
  633. animation-name: opaque;
  634. animation-duration: 0.3s;
  635. animation-fill-mode: forwards;
  636. animation-timing-function: ease;
  637. }
  638. .apexcharts-canvas .apexcharts-element-hidden {
  639. opacity: 0;
  640. }
  641. .apexcharts-hide .apexcharts-series-points {
  642. opacity: 0;
  643. }
  644. .apexcharts-gridline,
  645. .apexcharts-annotation-rect,
  646. .apexcharts-xaxis-annotation-label,
  647. .apexcharts-yaxis-annotation-label,
  648. .apexcharts-point-annotation-label,
  649. .apexcharts-tooltip .apexcharts-marker,
  650. .apexcharts-area-series .apexcharts-area,
  651. .apexcharts-line,
  652. .apexcharts-zoom-rect,
  653. .apexcharts-toolbar svg,
  654. .apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
  655. .apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
  656. .apexcharts-radar-series path,
  657. .apexcharts-radar-series polygon {
  658. pointer-events: none;
  659. }
  660. /* markers */
  661. .apexcharts-marker {
  662. transition: 0.15s ease all;
  663. }
  664. @keyframes opaque {
  665. 0% {
  666. opacity: 0;
  667. }
  668. 100% {
  669. opacity: 1;
  670. }
  671. }
  672. /* Resize generated styles */
  673. @keyframes resizeanim {
  674. from {
  675. opacity: 0;
  676. }
  677. to {
  678. opacity: 0;
  679. }
  680. }
  681. .resize-triggers {
  682. animation: 1ms resizeanim;
  683. visibility: hidden;
  684. opacity: 0;
  685. }
  686. .resize-triggers,
  687. .resize-triggers>div,
  688. .contract-trigger:before {
  689. content: " ";
  690. display: block;
  691. position: absolute;
  692. top: 0;
  693. left: 0;
  694. height: 100%;
  695. width: 100%;
  696. overflow: hidden;
  697. }
  698. .resize-triggers>div {
  699. background: #eee;
  700. overflow: auto;
  701. }
  702. .contract-trigger:before {
  703. width: 200%;
  704. height: 200%;
  705. }`,p?u.prepend(r.css):d.head.appendChild(r.css))}var w=r.create(r.w.config.series,{});if(!w)return n(r);r.mount(w).then(function(){typeof r.w.config.chart.events.mounted=="function"&&r.w.config.chart.events.mounted(r,r.w),r.events.fireEvent("mounted",[r,r.w]),n(w)}).catch(function(k){a(k)})}else a(new Error("Element not found"))})}},{key:"create",value:function(r,n){var a=this.w;new ca(this).initModules();var l=this.w.globals;if(l.noData=!1,l.animationEnded=!1,this.responsive.checkResponsiveConfig(n),a.config.xaxis.convertedCatToNumeric&&new tt(a.config).convertCatToNumericXaxis(a.config,this.ctx),this.el===null||(this.core.setupElements(),a.config.chart.type==="treemap"&&(a.config.grid.show=!1,a.config.yaxis[0].show=!1),l.svgWidth===0))return l.animationEnded=!0,null;var u=oe.checkComboSeries(r);l.comboCharts=u.comboCharts,l.comboBarCount=u.comboBarCount;var p=r.every(function(C){return C.data&&C.data.length===0});(r.length===0||p)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(r),this.theme.init(),new he(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),l.noData&&l.collapsedSeries.length!==l.series.length&&!a.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),l.axisCharts&&(this.core.coreCalculations(),a.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=a.globals.minX,this.ctx.toolbar.maxX=a.globals.maxX),this.formatters.heatmapLabelFormatters(),new oe(this).getLargestMarkerSize(),this.dimensions.plotCoords();var d=this.core.xySettings();this.grid.createGridMask();var b=this.core.plotChartType(r,d),w=new Se(this);w.bringForward(),a.config.dataLabels.background.enabled&&w.dataLabelsBackground(),this.core.shiftGraphPosition();var k={plot:{left:a.globals.translateX,top:a.globals.translateY,width:a.globals.gridWidth,height:a.globals.gridHeight}};return{elGraph:b,xyRatios:d,elInner:a.globals.dom.elGraphical,dimensions:k}}},{key:"mount",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this,l=a.w;return new Promise(function(u,p){if(a.el===null)return p(new Error("Not enough data to display or target element not found"));(n===null||l.globals.allSeriesCollapsed)&&a.series.handleNoData(),l.config.chart.type!=="treemap"&&a.axes.drawAxis(l.config.chart.type,n.xyRatios),a.grid=new ye(a);var d=a.grid.drawGrid();a.annotations=new ke(a),a.annotations.drawImageAnnos(),a.annotations.drawTextAnnos(),l.config.grid.position==="back"&&d&&l.globals.dom.elGraphical.add(d.el);var b=new ue(r.ctx),w=new Ye(r.ctx);if(d!==null&&(b.xAxisLabelCorrections(d.xAxisTickWidth),w.setYAxisTextAlignments(),l.config.yaxis.map(function(E,F){l.globals.ignoreYAxisIndexes.indexOf(F)===-1&&w.yAxisTitleRotate(F,E.opposite)})),l.config.annotations.position==="back"&&(l.globals.dom.Paper.add(l.globals.dom.elAnnotations),a.annotations.drawAxesAnnotations()),Array.isArray(n.elGraph))for(var k=0;k<n.elGraph.length;k++)l.globals.dom.elGraphical.add(n.elGraph[k]);else l.globals.dom.elGraphical.add(n.elGraph);if(l.config.grid.position==="front"&&d&&l.globals.dom.elGraphical.add(d.el),l.config.xaxis.crosshairs.position==="front"&&a.crosshairs.drawXCrosshairs(),l.config.yaxis[0].crosshairs.position==="front"&&a.crosshairs.drawYCrosshairs(),l.config.annotations.position==="front"&&(l.globals.dom.Paper.add(l.globals.dom.elAnnotations),a.annotations.drawAxesAnnotations()),!l.globals.noData){if(l.config.tooltip.enabled&&!l.globals.noData&&a.w.globals.tooltip.drawTooltip(n.xyRatios),l.globals.axisCharts&&(l.globals.isXNumeric||l.config.xaxis.convertedCatToNumeric||l.globals.isRangeBar))(l.config.chart.zoom.enabled||l.config.chart.selection&&l.config.chart.selection.enabled||l.config.chart.pan&&l.config.chart.pan.enabled)&&a.zoomPanSelection.init({xyRatios:n.xyRatios});else{var C=l.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach(function(E){C[E]=!1})}l.config.chart.toolbar.show&&!l.globals.allSeriesCollapsed&&a.toolbar.createToolbar()}l.globals.memory.methodsToExec.length>0&&l.globals.memory.methodsToExec.forEach(function(E){E.method(E.params,!1,E.context)}),l.globals.axisCharts||l.globals.noData||a.core.resizeNonAxisCharts(),u(a)})}},{key:"destroy",value:function(){var r,n;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,r=this.parentResizeHandler,(n=ds.get(r))&&(n.disconnect(),ds.delete(r));var a=this.w.config.chart.id;a&&Apex._chartInstances.forEach(function(l,u){l.id===T.escapeString(a)&&Apex._chartInstances.splice(u,1)}),new Gl(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],l=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],u=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],p=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],d=this.w;return d.globals.selection=void 0,r.series&&(this.series.resetSeries(!1,!0,!1),r.series.length&&r.series[0].data&&(r.series=r.series.map(function(b,w){return n.updateHelpers._extendSeries(b,w)})),this.updateHelpers.revertDefaultAxisMinMax()),r.xaxis&&(r=this.updateHelpers.forceXAxisUpdate(r)),r.yaxis&&(r=this.updateHelpers.forceYAxisUpdate(r)),d.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),r.theme&&(r=this.theme.updateThemeOptions(r)),this.updateHelpers._updateOptions(r,a,l,u,p)}},{key:"updateSeries",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(r,n,a)}},{key:"appendSeries",value:function(r){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],l=this.w.config.series.slice();return l.push(r),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(l,n,a)}},{key:"appendData",value:function(r){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=this;a.w.globals.dataChanged=!0,a.series.getPreviousPaths();for(var l=a.w.config.series.slice(),u=0;u<l.length;u++)if(r[u]!==null&&r[u]!==void 0)for(var p=0;p<r[u].data.length;p++)l[u].data.push(r[u].data[p]);return a.w.config.series=l,n&&(a.w.globals.initialSeries=T.clone(a.w.config.series)),this.update()}},{key:"update",value:function(r){var n=this;return new Promise(function(a,l){new Gl(n.ctx).clear({isUpdating:!0});var u=n.create(n.w.config.series,r);if(!u)return a(n);n.mount(u).then(function(){typeof n.w.config.chart.events.updated=="function"&&n.w.config.chart.events.updated(n,n.w),n.events.fireEvent("updated",[n,n.w]),n.w.globals.isDirty=!0,a(n)}).catch(function(p){l(p)})})}},{key:"getSyncedCharts",value:function(){var r=this.getGroupedCharts(),n=[this];return r.length&&(n=[],r.forEach(function(a){n.push(a)})),n}},{key:"getGroupedCharts",value:function(){var r=this;return Apex._chartInstances.filter(function(n){if(n.group)return!0}).map(function(n){return r.w.config.chart.group===n.group?n.chart:r})}},{key:"toggleSeries",value:function(r){return this.series.toggleSeries(r)}},{key:"highlightSeriesOnLegendHover",value:function(r,n){return this.series.toggleSeriesOnHover(r,n)}},{key:"showSeries",value:function(r){this.series.showSeries(r)}},{key:"hideSeries",value:function(r){this.series.hideSeries(r)}},{key:"resetSeries",value:function(){var r=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(r,n)}},{key:"addEventListener",value:function(r,n){this.events.addEventListener(r,n)}},{key:"removeEventListener",value:function(r,n){this.events.removeEventListener(r,n)}},{key:"addXaxisAnnotation",value:function(r){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,l=this;a&&(l=a),l.annotations.addXaxisAnnotationExternal(r,n,l)}},{key:"addYaxisAnnotation",value:function(r){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,l=this;a&&(l=a),l.annotations.addYaxisAnnotationExternal(r,n,l)}},{key:"addPointAnnotation",value:function(r){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,l=this;a&&(l=a),l.annotations.addPointAnnotationExternal(r,n,l)}},{key:"clearAnnotations",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,n=this;r&&(n=r),n.annotations.clearAnnotations(n)}},{key:"removeAnnotation",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,a=this;n&&(a=n),a.annotations.removeAnnotation(a,r)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(r,n){return this.coreUtils.getSeriesTotalsXRange(r,n)}},{key:"getHighestValueInSeries",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=new Xe(this.ctx);return n.getMinYMaxY(r).highestY}},{key:"getLowestValueInSeries",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=new Xe(this.ctx);return n.getMinYMaxY(r).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(r,n){return this.updateHelpers.toggleDataPointSelection(r,n)}},{key:"zoomX",value:function(r,n){this.ctx.toolbar.zoomUpdateOptions(r,n)}},{key:"setLocale",value:function(r){this.localization.setCurrentLocaleValues(r)}},{key:"dataURI",value:function(r){return new dt(this.ctx).dataURI(r)}},{key:"exportToCSV",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=new dt(this.ctx);return n.exportToCSV(r)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var r=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){r.w.globals.resized=!0,r.w.globals.dataChanged=!1,r.ctx.update()},150)}},{key:"_windowResizeHandler",value:function(){var r=this.w.config.chart.redrawOnWindowResize;typeof r=="function"&&(r=r()),r&&this._windowResize()}}],[{key:"getChartByID",value:function(r){var n=T.escapeString(r),a=Apex._chartInstances.filter(function(l){return l.id===n})[0];return a&&a.chart}},{key:"initOnLoad",value:function(){for(var r=document.querySelectorAll("[data-apexcharts]"),n=0;n<r.length;n++)new J(r[n],JSON.parse(r[n].getAttribute("data-options"))).render()}},{key:"exec",value:function(r,n){var a=this.getChartByID(r);if(a){a.w.globals.isExecCalled=!0;var l=null;if(a.publicMethods.indexOf(n)!==-1){for(var u=arguments.length,p=new Array(u>2?u-2:0),d=2;d<u;d++)p[d-2]=arguments[d];l=a[n].apply(a,p)}return l}}},{key:"merge",value:function(r,n){return T.extend(r,n)}}]),J}();e.exports=fs}(Wc,Wc.exports)),Wc.exports}(function(e){e.exports=function(t){var o={};function c(h){if(o[h])return o[h].exports;var g=o[h]={i:h,l:!1,exports:{}};return t[h].call(g.exports,g,g.exports,c),g.l=!0,g.exports}return c.m=t,c.c=o,c.d=function(h,g,x){c.o(h,g)||Object.defineProperty(h,g,{enumerable:!0,get:x})},c.r=function(h){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})},c.t=function(h,g){if(g&1&&(h=c(h)),g&8||g&4&&typeof h=="object"&&h&&h.__esModule)return h;var x=Object.create(null);if(c.r(x),Object.defineProperty(x,"default",{enumerable:!0,value:h}),g&2&&typeof h!="string")for(var y in h)c.d(x,y,function(z){return h[z]}.bind(null,y));return x},c.n=function(h){var g=h&&h.__esModule?function(){return h.default}:function(){return h};return c.d(g,"a",g),g},c.o=function(h,g){return Object.prototype.hasOwnProperty.call(h,g)},c.p="",c(c.s="fb15")}({8875:function(t,o,c){var h,g,x;(function(y,z){g=[],h=z,x=typeof h=="function"?h.apply(o,g):h,x!==void 0&&(t.exports=x)})(typeof self<"u"?self:this,function(){function y(){var z=Object.getOwnPropertyDescriptor(document,"currentScript");if(!z&&"currentScript"in document&&document.currentScript||z&&z.get!==y&&document.currentScript)return document.currentScript;try{throw new Error}catch(B){var A=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,L=/@([^@]*):(\d+):(\d+)\s*$/ig,O=A.exec(B.stack)||L.exec(B.stack),P=O&&O[1]||!1,Y=O&&O[2]||!1,V=document.location.href.replace(document.location.hash,""),ee,ae,K,T=document.getElementsByTagName("script");P===V&&(ee=document.documentElement.outerHTML,ae=new RegExp("(?:[^\\n]+?\\n){0,"+(Y-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),K=ee.replace(ae,"$1").trim());for(var re=0;re<T.length;re++)if(T[re].readyState==="interactive"||T[re].src===P||P===V&&T[re].innerHTML&&T[re].innerHTML.trim()===K)return T[re];return null}}return y})},"8bbf":function(t,o){t.exports=sp},"95e6":function(t,o){t.exports=kL()},fb15:function(t,o,c){if(c.r(o),typeof window<"u"){var h=window.document.currentScript;{var g=c("8875");h=g(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:g})}var x=h&&h.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);x&&(c.p=x[1])}var y=c("8bbf"),z=c("95e6"),A=c.n(z);const L=["animationEnd","beforeMount","mounted","updated","click","mouseMove","legendClick","markerClick","selection","dataPointSelection","dataPointMouseEnter","dataPointMouseLeave","beforeZoom","beforeResetZoom","zoomed","scrolled","scrolled"];var P=Object(y.defineComponent)({name:"apexchart",props:{options:{type:Object},type:{type:String},series:{type:Array,required:!0},width:{default:"100%"},height:{default:"auto"}},emits:L,setup(ee,{emit:ae}){const K=Object(y.ref)(null),T=Object(y.ref)(null),re=we=>we&&typeof we=="object"&&!Array.isArray(we)&&we!=null,B=(we,Pe)=>{typeof Object.assign!="function"&&function(){Object.assign=function(Ge){if(Ge==null)throw new TypeError("Cannot convert undefined or null to object");let at=Object(Ge);for(let Ke=1;Ke<arguments.length;Ke++){let dt=arguments[Ke];if(dt!=null)for(let ue in dt)dt.hasOwnProperty(ue)&&(at[ue]=dt[ue])}return at}}();let $e=Object.assign({},we);return re(we)&&re(Pe)&&Object.keys(Pe).forEach(Ge=>{re(Pe[Ge])?Ge in we?$e[Ge]=B(we[Ge],Pe[Ge]):Object.assign($e,{[Ge]:Pe[Ge]}):Object.assign($e,{[Ge]:Pe[Ge]})}),$e},j=async()=>{await Object(y.nextTick)();const we={chart:{type:ee.type||ee.options.chart.type||"line",height:ee.height,width:ee.width,events:{}},series:ee.series};L.forEach($e=>{let Ge=(...at)=>ae($e,...at);we.chart.events[$e]=Ge});const Pe=B(ee.options,we);return T.value=new A.a(K.value,Pe),T.value.render()},oe=()=>(de(),j()),de=()=>{T.value.destroy()},ge=(we,Pe)=>T.value.updateSeries(we,Pe),Te=(we,Pe,$e,Ge)=>T.value.updateOptions(we,Pe,$e,Ge),Ne=we=>T.value.toggleSeries(we),ze=we=>{T.value.showSeries(we)},Me=we=>{T.value.hideSeries(we)},ke=(we,Pe)=>T.value.appendSeries(we,Pe),De=()=>{T.value.resetSeries()},he=(we,Pe)=>{T.value.toggleDataPointSelection(we,Pe)},Le=we=>T.value.appendData(we),Se=(we,Pe)=>T.value.zoomX(we,Pe),He=()=>T.value.dataURI(),ot=(we,Pe)=>{T.value.addXaxisAnnotation(we,Pe)},vt=(we,Pe)=>{T.value.addYaxisAnnotation(we,Pe)},et=(we,Pe)=>{T.value.addPointAnnotation(we,Pe)},ne=(we,Pe)=>{T.value.removeAnnotation(we,Pe)},te=()=>{T.value.clearAnnotations()};Object(y.onBeforeMount)(()=>{window.ApexCharts=A.a}),Object(y.onMounted)(()=>{K.value=Object(y.getCurrentInstance)().proxy.$el,j()}),Object(y.onBeforeUnmount)(()=>{!T.value||de()});const tt=Object(y.toRefs)(ee);return Object(y.watch)(tt.options,()=>{!T.value&&ee.options?j():T.value.updateOptions(ee.options)}),Object(y.watch)(tt.series,()=>{!T.value&&ee.series?j():T.value.updateSeries(ee.series)},{deep:!0}),Object(y.watch)(tt.type,()=>{oe()}),Object(y.watch)(tt.width,()=>{oe()}),Object(y.watch)(tt.height,()=>{oe()}),{chart:T,init:j,refresh:oe,destroy:de,updateOptions:Te,updateSeries:ge,toggleSeries:Ne,showSeries:ze,hideSeries:Me,resetSeries:De,zoomX:Se,toggleDataPointSelection:he,appendData:Le,appendSeries:ke,addXaxisAnnotation:ot,addYaxisAnnotation:vt,addPointAnnotation:et,removeAnnotation:ne,clearAnnotations:te,dataURI:He}},render(){return Object(y.h)("div",{class:"vue-apexcharts"})}});const Y=ee=>{ee.component(P.name,P)};P.install=Y;var V=P;o.default=V}})})(Ty);const Xc=SS(Ty.exports),CL={},SL={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AL=G("circle",{cx:"5",cy:"12",r:"2",stroke:"currentColor","stroke-width":"1.5"},null,-1),DL=G("circle",{opacity:"0.5",cx:"12",cy:"12",r:"2",stroke:"currentColor","stroke-width":"1.5"},null,-1),EL=G("circle",{cx:"19",cy:"12",r:"2",stroke:"currentColor","stroke-width":"1.5"},null,-1),LL=[AL,DL,EL];function TL(e,t){return Mt(),Bt("svg",SL,LL)}const _d=pr(CL,[["render",TL]]),FL={},ML={width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PL=G("path",{d:"M12 6V18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),OL=G("path",{d:"M15 9.5C15 8.11929 13.6569 7 12 7C10.3431 7 9 8.11929 9 9.5C9 10.8807 10.3431 12 12 12C13.6569 12 15 13.1193 15 14.5C15 15.8807 13.6569 17 12 17C10.3431 17 9 15.8807 9 14.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),IL=[PL,OL];function RL(e,t){return Mt(),Bt("svg",ML,IL)}const BL=pr(FL,[["render",RL]]),NL={},HL={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WL=G("path",{d:"M3.74157 18.5545C4.94119 20 7.17389 20 11.6393 20H12.3605C16.8259 20 19.0586 20 20.2582 18.5545M3.74157 18.5545C2.54194 17.1091 2.9534 14.9146 3.77633 10.5257C4.36155 7.40452 4.65416 5.84393 5.76506 4.92196M3.74157 18.5545C3.74156 18.5545 3.74157 18.5545 3.74157 18.5545ZM20.2582 18.5545C21.4578 17.1091 21.0464 14.9146 20.2235 10.5257C19.6382 7.40452 19.3456 5.84393 18.2347 4.92196M20.2582 18.5545C20.2582 18.5545 20.2582 18.5545 20.2582 18.5545ZM18.2347 4.92196C17.1238 4 15.5361 4 12.3605 4H11.6393C8.46374 4 6.87596 4 5.76506 4.92196M18.2347 4.92196C18.2347 4.92196 18.2347 4.92196 18.2347 4.92196ZM5.76506 4.92196C5.76506 4.92196 5.76506 4.92196 5.76506 4.92196Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),XL=G("path",{opacity:"0.5",d:"M9.1709 8C9.58273 9.16519 10.694 10 12.0002 10C13.3064 10 14.4177 9.16519 14.8295 8",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),YL=[WL,XL];function jL(e,t){return Mt(),Bt("svg",HL,YL)}const $L=pr(NL,[["render",jL]]),VL={},UL={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},GL=G("path",{d:"M4.72848 16.1369C3.18295 14.5914 2.41018 13.8186 2.12264 12.816C1.83509 11.8134 2.08083 10.7485 2.57231 8.61875L2.85574 7.39057C3.26922 5.59881 3.47597 4.70292 4.08944 4.08944C4.70292 3.47597 5.59881 3.26922 7.39057 2.85574L8.61875 2.57231C10.7485 2.08083 11.8134 1.83509 12.816 2.12264C13.8186 2.41018 14.5914 3.18295 16.1369 4.72848L17.9665 6.55812C20.6555 9.24711 22 10.5916 22 12.2623C22 13.933 20.6555 15.2775 17.9665 17.9665C15.2775 20.6555 13.933 22 12.2623 22C10.5916 22 9.24711 20.6555 6.55812 17.9665L4.72848 16.1369Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),qL=G("circle",{opacity:"0.5",cx:"8.60699",cy:"8.87891",r:"2",transform:"rotate(-45 8.60699 8.87891)",stroke:"currentColor","stroke-width":"1.5"},null,-1),KL=G("path",{opacity:"0.5",d:"M11.5417 18.5L18.5208 11.5208",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),ZL=[GL,qL,KL];function JL(e,t){return Mt(),Bt("svg",UL,ZL)}const QL=pr(VL,[["render",JL]]),eT={},tT={width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rT=G("path",{d:"M2 12C2 8.22876 2 6.34315 3.17157 5.17157C4.34315 4 6.22876 4 10 4H14C17.7712 4 19.6569 4 20.8284 5.17157C22 6.34315 22 8.22876 22 12C22 15.7712 22 17.6569 20.8284 18.8284C19.6569 20 17.7712 20 14 20H10C6.22876 20 4.34315 20 3.17157 18.8284C2 17.6569 2 15.7712 2 12Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),nT=G("path",{opacity:"0.5",d:"M10 16H6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),iT=G("path",{opacity:"0.5",d:"M14 16H12.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),oT=G("path",{opacity:"0.5",d:"M2 10L22 10",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),aT=[rT,nT,iT,oT];function sT(e,t){return Mt(),Bt("svg",tT,aT)}const lT=pr(eT,[["render",sT]]),cT={},uT={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hT=Tn('<path d="M2 3L2.26491 3.0883C3.58495 3.52832 4.24497 3.74832 4.62248 4.2721C5 4.79587 5 5.49159 5 6.88304V9.5C5 12.3284 5 13.7426 5.87868 14.6213C6.75736 15.5 8.17157 15.5 11 15.5H19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path opacity="0.5" d="M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z" stroke="currentColor" stroke-width="1.5"></path><path opacity="0.5" d="M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z" stroke="currentColor" stroke-width="1.5"></path><path opacity="0.5" d="M11 9H8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M5 6H16.4504C18.5054 6 19.5328 6 19.9775 6.67426C20.4221 7.34853 20.0173 8.29294 19.2078 10.1818L18.7792 11.1818C18.4013 12.0636 18.2123 12.5045 17.8366 12.7523C17.4609 13 16.9812 13 16.0218 13H5" stroke="currentColor" stroke-width="1.5"></path>',5),dT=[hT];function fT(e,t){return Mt(),Bt("svg",uT,dT)}const pT=pr(cT,[["render",fT]]),mT={},gT={width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vT=G("path",{d:"M4 12H20M20 12L14 6M20 12L14 18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),xT=[vT];function bT(e,t){return Mt(),Bt("svg",gT,xT)}const yT=pr(mT,[["render",bT]]),wT={},_T={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zT=Tn('<path d="M2 10C2 7.17157 2 5.75736 2.87868 4.87868C3.75736 4 5.17157 4 8 4H13C15.8284 4 17.2426 4 18.1213 4.87868C19 5.75736 19 7.17157 19 10C19 12.8284 19 14.2426 18.1213 15.1213C17.2426 16 15.8284 16 13 16H8C5.17157 16 3.75736 16 2.87868 15.1213C2 14.2426 2 12.8284 2 10Z" stroke="currentColor" stroke-width="1.5"></path><path opacity="0.5" d="M19.0003 7.07617C19.9754 7.17208 20.6317 7.38885 21.1216 7.87873C22.0003 8.75741 22.0003 10.1716 22.0003 13.0001C22.0003 15.8285 22.0003 17.2427 21.1216 18.1214C20.2429 19.0001 18.8287 19.0001 16.0003 19.0001H11.0003C8.17187 19.0001 6.75766 19.0001 5.87898 18.1214C5.38909 17.6315 5.17233 16.9751 5.07642 16" stroke="currentColor" stroke-width="1.5"></path><path d="M13 10C13 11.3807 11.8807 12.5 10.5 12.5C9.11929 12.5 8 11.3807 8 10C8 8.61929 9.11929 7.5 10.5 7.5C11.8807 7.5 13 8.61929 13 10Z" stroke="currentColor" stroke-width="1.5"></path><path opacity="0.5" d="M16 12L16 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path opacity="0.5" d="M5 12L5 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path>',5),kT=[zT];function CT(e,t){return Mt(),Bt("svg",_T,kT)}const ST=pr(wT,[["render",CT]]),AT={},DT={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},ET=G("path",{fill:"currentColor",d:"M5.398 0v.006c3.028 8.556 5.37 15.175 8.348 23.596c2.344.058 4.85.398 4.854.398c-2.8-7.924-5.923-16.747-8.487-24zm8.489 0v9.63L18.6 22.951c-.043-7.86-.004-15.913.002-22.95zM5.398 1.05V24c1.873-.225 2.81-.312 4.715-.398v-9.22z"},null,-1),LT=[ET];function TT(e,t){return Mt(),Bt("svg",DT,LT)}const FT=pr(AT,[["render",TT]]),MT={},PT={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},OT=G("path",{d:"M13.926 9.70541C13.5474 9.33386 13.5474 8.74151 13.5474 7.55682V7.24712C13.5474 3.96249 13.5474 2.32018 12.6241 2.03721C11.7007 1.75425 10.711 3.09327 8.73167 5.77133L5.66953 9.91436C4.3848 11.6526 3.74244 12.5217 4.09639 13.205C4.10225 13.2164 4.10829 13.2276 4.1145 13.2387C4.48945 13.9117 5.59888 13.9117 7.81775 13.9117C9.05079 13.9117 9.6673 13.9117 10.054 14.2754",stroke:"currentColor","stroke-width":"1.5"},null,-1),IT=G("path",{opacity:"0.5",d:"M13.9259 9.70557L13.9459 9.72481C14.3326 10.0885 14.9492 10.0885 16.1822 10.0885C18.4011 10.0885 19.5105 10.0885 19.8854 10.7615C19.8917 10.7726 19.8977 10.7838 19.9036 10.7951C20.2575 11.4785 19.6151 12.3476 18.3304 14.0858L15.2682 18.2288C13.2888 20.9069 12.2991 22.2459 11.3758 21.9629C10.4524 21.68 10.4524 20.0376 10.4525 16.753L10.4525 16.4434C10.4525 15.2587 10.4525 14.6663 10.074 14.2948L10.054 14.2755",stroke:"currentColor","stroke-width":"1.5"},null,-1),RT=[OT,IT];function BT(e,t){return Mt(),Bt("svg",PT,RT)}const NT=pr(MT,[["render",BT]]),HT={},WT={width:"20",height:"20",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"1.5",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},XT=G("line",{x1:"12",y1:"5",x2:"12",y2:"19"},null,-1),YT=G("line",{x1:"5",y1:"12",x2:"19",y2:"12"},null,-1),jT=[XT,YT];function $T(e,t){return Mt(),Bt("svg",WT,jT)}const VT=pr(HT,[["render",$T]]),UT={},GT={width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qT=G("path",{d:"M12.6644 5.47875L16.6367 9.00968C18.2053 10.404 18.9896 11.1012 18.9896 11.9993C18.9896 12.8975 18.2053 13.5946 16.6367 14.989L12.6644 18.5199C11.9484 19.1563 11.5903 19.4746 11.2952 19.342C11 19.2095 11 18.7305 11 17.7725V15.4279C7.4 15.4279 3.5 17.1422 2 19.9993C2 10.8565 7.33333 8.57075 11 8.57075V6.22616C11 5.26817 11 4.78917 11.2952 4.65662C11.5903 4.52407 11.9484 4.8423 12.6644 5.47875Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),KT=G("path",{opacity:"0.5",d:"M15.5386 4.5L20.7548 9.34362C21.5489 10.081 22.0001 11.1158 22.0001 12.1994C22.0001 13.3418 21.4989 14.4266 20.629 15.1671L15.5386 19.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),ZT=[qT,KT];function JT(e,t){return Mt(),Bt("svg",GT,ZT)}const Vs=pr(UT,[["render",JT]]),QT=G("ul",{class:"flex space-x-2 rtl:space-x-reverse"},[G("li",null,[G("a",{href:"javascript:;",class:"text-primary hover:underline"},"\u62A5\u8868\u7EDF\u8BA1")]),G("li",{class:"before:content-['/'] ltr:before:mr-2 rtl:before:ml-2"},[G("span",null,"\u9500\u552E\u60C5\u51B5")])],-1),e5={class:"pt-5"},t5={class:"grid xl:grid-cols-3 gap-6 mb-6"},r5={class:"panel h-full xl:col-span-2"},n5={class:"flex items-center justify-between dark:text-white-light mb-5"},i5=G("h5",{class:"font-semibold text-lg"},"Revenue",-1),o5={class:"dropdown ltr:ml-auto rtl:mr-auto"},a5={href:"javascript:;"},s5=["onClick"],l5=G("li",null,[G("a",{href:"javascript:;"},"Weekly")],-1),c5=G("li",null,[G("a",{href:"javascript:;"},"Monthly")],-1),u5=G("li",null,[G("a",{href:"javascript:;"},"Yearly")],-1),h5=[l5,c5,u5],d5=G("p",{class:"text-lg dark:text-white-light/90"},[Ot("Total Profit "),G("span",{class:"text-primary ml-2"},"$10,840")],-1),f5={class:"relative"},p5=G("div",{class:"min-h-[325px] grid place-content-center bg-white-light/30 dark:bg-dark dark:bg-opacity-[0.08]"},[G("span",{class:"animate-spin border-2 border-black dark:border-white !border-l-transparent rounded-full w-5 h-5 inline-flex"})],-1),m5={class:"panel h-full"},g5=G("div",{class:"flex items-center mb-5"},[G("h5",{class:"font-semibold text-lg dark:text-white-light"},"Sales By Category")],-1),v5=G("div",{class:"min-h-[460px] grid place-content-center bg-white-light/30 dark:bg-dark dark:bg-opacity-[0.08]"},[G("span",{class:"animate-spin border-2 border-black dark:border-white !border-l-transparent rounded-full w-5 h-5 inline-flex"})],-1),x5={class:"grid sm:grid-cols-2 xl:grid-cols-3 gap-6 mb-6"},b5={class:"panel h-full sm:col-span-2 xl:col-span-1"},y5={class:"flex items-center mb-5"},w5=G("h5",{class:"font-semibold text-lg dark:text-white-light"},[Ot(" Daily Sales "),G("span",{class:"block text-white-dark text-sm font-normal"},"Go to columns for details.")],-1),_5={class:"ltr:ml-auto rtl:mr-auto relative"},z5={class:"w-11 h-11 text-warning bg-[#ffeccb] dark:bg-warning dark:text-[#ffeccb] grid place-content-center rounded-full"},k5=G("div",{class:"min-h-[175px] grid place-content-center bg-white-light/30 dark:bg-dark dark:bg-opacity-[0.08]"},[G("span",{class:"animate-spin border-2 border-black dark:border-white !border-l-transparent rounded-full w-5 h-5 inline-flex"})],-1),C5={class:"panel h-full"},S5={class:"flex items-center dark:text-white-light mb-5"},A5=G("h5",{class:"font-semibold text-lg"},"Summary",-1),D5={class:"dropdown ltr:ml-auto rtl:mr-auto"},E5={href:"javascript:;"},L5=["onClick"],T5=G("li",null,[G("a",{href:"javascript:;"},"View Report")],-1),F5=G("li",null,[G("a",{href:"javascript:;"},"Edit Report")],-1),M5=G("li",null,[G("a",{href:"javascript:;"},"Mark as Done")],-1),P5=[T5,F5,M5],O5={class:"space-y-9"},I5={class:"flex items-center"},R5={class:"w-9 h-9 ltr:mr-3 rtl:ml-3"},B5={class:"bg-secondary-light dark:bg-secondary text-secondary dark:text-secondary-light rounded-full w-9 h-9 grid place-content-center"},N5=Tn('<div class="flex-1"><div class="flex font-semibold text-white-dark mb-2"><h6>Income</h6><p class="ltr:ml-auto rtl:mr-auto">$92,600</p></div><div class="rounded-full h-2 bg-dark-light dark:bg-[#1b2e4b] shadow"><div class="bg-gradient-to-r from-[#7579ff] to-[#b224ef] w-11/12 h-full rounded-full"></div></div></div>',1),H5={class:"flex items-center"},W5={class:"w-9 h-9 ltr:mr-3 rtl:ml-3"},X5={class:"bg-success-light dark:bg-success text-success dark:text-success-light rounded-full w-9 h-9 grid place-content-center"},Y5=Tn('<div class="flex-1"><div class="flex font-semibold text-white-dark mb-2"><h6>Profit</h6><p class="ltr:ml-auto rtl:mr-auto">$37,515</p></div><div class="w-full rounded-full h-2 bg-dark-light dark:bg-[#1b2e4b] shadow"><div class="bg-gradient-to-r from-[#3cba92] to-[#0ba360] w-full h-full rounded-full" style="width:65%;"></div></div></div>',1),j5={class:"flex items-center"},$5={class:"w-9 h-9 ltr:mr-3 rtl:ml-3"},V5={class:"bg-warning-light dark:bg-warning text-warning dark:text-warning-light rounded-full w-9 h-9 grid place-content-center"},U5=Tn('<div class="flex-1"><div class="flex font-semibold text-white-dark mb-2"><h6>Expenses</h6><p class="ltr:ml-auto rtl:mr-auto">$55,085</p></div><div class="w-full rounded-full h-2 bg-dark-light dark:bg-[#1b2e4b] shadow"><div class="bg-gradient-to-r from-[#f09819] to-[#ff5858] w-full h-full rounded-full" style="width:80%;"></div></div></div>',1),G5={class:"panel h-full p-0"},q5={class:"flex items-center justify-between w-full p-5 absolute"},K5={class:"relative"},Z5={class:"text-success dark:text-success-light bg-success-light dark:bg-success w-11 h-11 rounded-lg flex items-center justify-center"},J5=G("h5",{class:"font-semibold text-2xl ltr:text-right rtl:text-left dark:text-white-light"},[Ot(" 3,192 "),G("span",{class:"block text-sm font-normal"},"Total Orders")],-1),Q5=G("div",{class:"min-h-[290px] grid place-content-center bg-white-light/30 dark:bg-dark dark:bg-opacity-[0.08]"},[G("span",{class:"animate-spin border-2 border-black dark:border-white !border-l-transparent rounded-full w-5 h-5 inline-flex"})],-1),eF={class:"grid sm:grid-cols-2 xl:grid-cols-3 gap-6 mb-6"},tF={class:"panel h-full sm:col-span-2 xl:col-span-1 pb-0"},rF=G("h5",{class:"font-semibold text-lg dark:text-white-light mb-5"},"Recent Activities",-1),nF=G("div",{class:"text-sm cursor-pointer"},[G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-primary w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Updated Server Logs"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"Just Now"),G("span",{class:"badge badge-outline-primary absolute ltr:right-0 rtl:left-0 text-xs bg-primary-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Pending")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-success w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Send Mail to HR and Admin"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"2 min ago"),G("span",{class:"badge badge-outline-success absolute ltr:right-0 rtl:left-0 text-xs bg-success-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Completed")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-danger w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Backup Files EOD"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"14:00"),G("span",{class:"badge badge-outline-danger absolute ltr:right-0 rtl:left-0 text-xs bg-danger-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Pending")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-black w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Collect documents from Sara"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"16:00"),G("span",{class:"badge badge-outline-dark absolute ltr:right-0 rtl:left-0 text-xs bg-dark-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Completed")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-warning w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Conference call with Marketing Manager."),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"17:00"),G("span",{class:"badge badge-outline-warning absolute ltr:right-0 rtl:left-0 text-xs bg-warning-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"In progress")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-info w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Rebooted Server"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"17:00"),G("span",{class:"badge badge-outline-info absolute ltr:right-0 rtl:left-0 text-xs bg-info-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Completed")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-secondary w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Send contract details to Freelancer"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"18:00"),G("span",{class:"badge badge-outline-secondary absolute ltr:right-0 rtl:left-0 text-xs bg-secondary-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Pending")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-primary w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Updated Server Logs"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"Just Now"),G("span",{class:"badge badge-outline-primary absolute ltr:right-0 rtl:left-0 text-xs bg-primary-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Pending")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-success w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Send Mail to HR and Admin"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"2 min ago"),G("span",{class:"badge badge-outline-success absolute ltr:right-0 rtl:left-0 text-xs bg-success-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Completed")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-danger w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Backup Files EOD"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"14:00"),G("span",{class:"badge badge-outline-danger absolute ltr:right-0 rtl:left-0 text-xs bg-danger-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Pending")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-black w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Collect documents from Sara"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"16:00"),G("span",{class:"badge badge-outline-dark absolute ltr:right-0 rtl:left-0 text-xs bg-dark-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Completed")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-warning w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Conference call with Marketing Manager."),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"17:00"),G("span",{class:"badge badge-outline-warning absolute ltr:right-0 rtl:left-0 text-xs bg-warning-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"In progress")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-info w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Rebooted Server"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"17:00"),G("span",{class:"badge badge-outline-info absolute ltr:right-0 rtl:left-0 text-xs bg-info-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Completed")]),G("div",{class:"flex items-center py-1.5 relative group"},[G("div",{class:"bg-secondary w-1.5 h-1.5 rounded-full ltr:mr-1 rtl:ml-1.5"}),G("div",{class:"flex-1"},"Send contract details to Freelancer"),G("div",{class:"ltr:ml-auto rtl:mr-auto text-xs text-white-dark dark:text-gray-500"},"18:00"),G("span",{class:"badge badge-outline-secondary absolute ltr:right-0 rtl:left-0 text-xs bg-secondary-light dark:bg-[#0e1726] opacity-0 group-hover:opacity-100"},"Pending")])],-1),iF={class:"border-t border-white-light dark:border-white/10"},oF={href:"javascript:;",class:"font-semibold group hover:text-primary p-4 flex items-center justify-center group"},aF={class:"panel h-full"},sF={class:"flex items-center justify-between dark:text-white-light mb-5"},lF=G("h5",{class:"font-semibold text-lg"},"Transactions",-1),cF={class:"dropdown ltr:ml-auto rtl:mr-auto"},uF={href:"javascript:;"},hF=["onClick"],dF=G("li",null,[G("a",{href:"javascript:;"},"View Report")],-1),fF=G("li",null,[G("a",{href:"javascript:;"},"Edit Report")],-1),pF=G("li",null,[G("a",{href:"javascript:;"},"Mark as Done")],-1),mF=[dF,fF,pF],gF={class:"space-y-6"},vF=Tn('<div class="flex"><span class="shrink-0 grid place-content-center text-base w-9 h-9 rounded-md bg-success-light dark:bg-success text-success dark:text-success-light">SP</span><div class="px-3 flex-1"><div>Shaun Park</div><div class="text-xs text-white-dark dark:text-gray-500">10 Jan 1:00PM</div></div><span class="text-success text-base px-1 ltr:ml-auto rtl:mr-auto whitespace-pre">+$36.11</span></div>',1),xF={class:"flex"},bF={class:"shrink-0 grid place-content-center w-9 h-9 rounded-md bg-warning-light dark:bg-warning text-warning dark:text-warning-light"},yF=G("div",{class:"px-3 flex-1"},[G("div",null,"Cash withdrawal"),G("div",{class:"text-xs text-white-dark dark:text-gray-500"},"04 Jan 1:00PM")],-1),wF=G("span",{class:"text-danger text-base px-1 ltr:ml-auto rtl:mr-auto whitespace-pre"},"-$16.44",-1),_F={class:"flex"},zF={class:"shrink-0 grid place-content-center w-9 h-9 rounded-md bg-danger-light dark:bg-danger text-danger dark:text-danger-light"},kF=G("div",{class:"px-3 flex-1"},[G("div",null,"Amy Diaz"),G("div",{class:"text-xs text-white-dark dark:text-gray-500"},"10 Jan 1:00PM")],-1),CF=G("span",{class:"text-success text-base px-1 ltr:ml-auto rtl:mr-auto whitespace-pre"},"+$66.44",-1),SF={class:"flex"},AF={class:"shrink-0 grid place-content-center w-9 h-9 rounded-md bg-secondary-light dark:bg-secondary text-secondary dark:text-secondary-light"},DF=G("div",{class:"px-3 flex-1"},[G("div",null,"Netflix"),G("div",{class:"text-xs text-white-dark dark:text-gray-500"},"04 Jan 1:00PM")],-1),EF=G("span",{class:"text-danger text-base px-1 ltr:ml-auto rtl:mr-auto whitespace-pre"},"-$32.00",-1),LF=Tn('<div class="flex"><span class="shrink-0 grid place-content-center text-base w-9 h-9 rounded-md bg-info-light dark:bg-info text-info dark:text-info-light">DA</span><div class="px-3 flex-1"><div>Daisy Anderson</div><div class="text-xs text-white-dark dark:text-gray-500">10 Jan 1:00PM</div></div><span class="text-success text-base px-1 ltr:ml-auto rtl:mr-auto whitespace-pre">+$10.08</span></div>',1),TF={class:"flex"},FF={class:"shrink-0 grid place-content-center w-9 h-9 rounded-md bg-primary-light dark:bg-primary text-primary dark:text-primary-light"},MF=G("div",{class:"px-3 flex-1"},[G("div",null,"Electricity Bill"),G("div",{class:"text-xs text-white-dark dark:text-gray-500"},"04 Jan 1:00PM")],-1),PF=G("span",{class:"text-danger text-base px-1 ltr:ml-auto rtl:mr-auto whitespace-pre"},"-$22.00",-1),OF={class:"panel h-full p-0 border-0 overflow-hidden"},IF={class:"p-6 bg-gradient-to-r from-[#4361ee] to-[#160f6b] min-h-[190px]"},RF={class:"flex justify-between items-center mb-6"},BF=G("div",{class:"bg-black/50 rounded-full p-1 ltr:pr-3 rtl:pl-3 flex items-center text-white font-semibold"},[G("img",{class:"w-8 h-8 rounded-full border-2 border-white/50 block object-cover ltr:mr-1 rtl:ml-1",src:mL,alt:""}),Ot(" Alan Green ")],-1),NF={type:"button",class:"ltr:ml-auto rtl:mr-auto flex items-center justify-between w-9 h-9 bg-black text-white rounded-md hover:opacity-80"},HF=G("div",{class:"text-white flex justify-between items-center"},[G("p",{class:"text-xl"},"Wallet Balance"),G("h5",{class:"ltr:ml-auto rtl:mr-auto text-2xl"},[G("span",{class:"text-white-light"},"$"),Ot("2953")])],-1),WF={class:"-mt-12 px-8 grid grid-cols-2 gap-2"},XF={class:"bg-white rounded-md shadow px-4 py-2.5 dark:bg-[#060818]"},YF={class:"flex justify-between items-center mb-4 dark:text-white"},jF=G("div",{class:"btn w-full py-1 text-base shadow-none border-0 bg-[#ebedf2] dark:bg-black text-[#515365] dark:text-[#bfc9d4]"}," $97.99 ",-1),$F={class:"bg-white rounded-md shadow px-4 py-2.5 dark:bg-[#060818]"},VF={class:"flex justify-between items-center mb-4 dark:text-white"},UF=G("div",{class:"btn w-full py-1 text-base shadow-none border-0 bg-[#ebedf2] dark:bg-black text-[#515365] dark:text-[#bfc9d4]"}," $53.00 ",-1),GF=Tn('<div class="p-5"><div class="mb-5"><span class="bg-[#1b2e4b] text-white text-xs rounded-full px-4 py-1.5 before:bg-white before:w-1.5 before:h-1.5 before:rounded-full ltr:before:mr-2 rtl:before:ml-2 before:inline-block">Pending</span></div><div class="mb-5 space-y-1"><div class="flex items-center justify-between"><p class="text-[#515365] font-semibold">Netflix</p><p class="text-base"><span>$</span> <span class="font-semibold">13.85</span></p></div><div class="flex items-center justify-between"><p class="text-[#515365] font-semibold">BlueHost VPN</p><p class="text-base"><span>$</span> <span class="font-semibold">15.66</span></p></div></div><div class="text-center px-2 flex justify-around"><button type="button" class="btn btn-secondary ltr:mr-2 rtl:ml-2">View Details</button><button type="button" class="btn btn-success">Pay Now $29.51</button></div></div>',1),qF={class:"grid grid-cols-1 lg:grid-cols-2 gap-6"},KF={class:"panel h-full w-full"},ZF=G("div",{class:"flex items-center justify-between mb-5"},[G("h5",{class:"font-semibold text-lg dark:text-white-light"},"Recent Orders")],-1),JF={class:"table-responsive"},QF=G("thead",null,[G("tr",null,[G("th",{class:"ltr:rounded-l-md rtl:rounded-r-md"},"Customer"),G("th",null,"Product"),G("th",null,"Invoice"),G("th",null,"Price"),G("th",{class:"ltr:rounded-r-md rtl:rounded-l-md"},"Status")])],-1),eM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},tM=G("td",{class:"min-w-[150px] text-black dark:text-white"},[G("div",{class:"flex items-center"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:gL,alt:"avatar"}),G("span",{class:"whitespace-nowrap"},"Luke Ivory")])],-1),rM=G("td",{class:"text-primary"},"Headphone",-1),nM=G("td",null,"$56.07",-1),iM=G("td",null,[G("span",{class:"badge bg-success shadow-md dark:group-hover:bg-transparent"},"Paid")],-1),oM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},aM=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex items-center"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:vL,alt:"avatar"}),G("span",{class:"whitespace-nowrap"},"Andy King")])],-1),sM=G("td",{class:"text-info"},"Nike Sport",-1),lM=G("td",null,"$126.04",-1),cM=G("td",null,[G("span",{class:"badge bg-secondary shadow-md dark:group-hover:bg-transparent"},"Shipped")],-1),uM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},hM=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex items-center"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:xL,alt:"avatar"}),G("span",{class:"whitespace-nowrap"},"Laurie Fox")])],-1),dM=G("td",{class:"text-warning"},"Sunglasses",-1),fM=G("td",null,"$56.07",-1),pM=G("td",null,[G("span",{class:"badge bg-success shadow-md dark:group-hover:bg-transparent"},"Paid")],-1),mM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},gM=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex items-center"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:bL,alt:"avatar"}),G("span",{class:"whitespace-nowrap"},"Ryan Collins")])],-1),vM=G("td",{class:"text-danger"},"Sport",-1),xM=G("td",null,"$110.00",-1),bM=G("td",null,[G("span",{class:"badge bg-secondary shadow-md dark:group-hover:bg-transparent"},"Shipped")],-1),yM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},wM=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex items-center"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:yL,alt:"avatar"}),G("span",{class:"whitespace-nowrap"},"Irene Collins")])],-1),_M=G("td",{class:"text-secondary"},"Speakers",-1),zM=G("td",null,"$56.07",-1),kM=G("td",null,[G("span",{class:"badge bg-success shadow-md dark:group-hover:bg-transparent"},"Paid")],-1),CM={class:"panel h-full w-full"},SM=G("div",{class:"flex items-center justify-between mb-5"},[G("h5",{class:"font-semibold text-lg dark:text-white-light"},"Top Selling Product")],-1),AM={class:"table-responsive"},DM=G("thead",null,[G("tr",{class:"border-b-0"},[G("th",{class:"ltr:rounded-l-md rtl:rounded-r-md"},"Product"),G("th",null,"Price"),G("th",null,"Discount"),G("th",null,"Sold"),G("th",{class:"ltr:rounded-r-md rtl:rounded-l-md"},"Source")])],-1),EM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},LM=G("td",{class:"min-w-[150px] text-black dark:text-white"},[G("div",{class:"flex"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:wL,alt:"avatar"}),G("p",{class:"whitespace-nowrap"},[Ot("Headphone "),G("span",{class:"text-primary block text-xs"},"Digital")])])],-1),TM=G("td",null,"$168.09",-1),FM=G("td",null,"$60.09",-1),MM=G("td",null,"170",-1),PM={class:"text-danger flex items-center",href:"javascript:;"},OM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},IM=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:_L,alt:"avatar"}),G("p",{class:"whitespace-nowrap"},[Ot("Shoes "),G("span",{class:"text-warning block text-xs"},"Faishon")])])],-1),RM=G("td",null,"$126.04",-1),BM=G("td",null,"$47.09",-1),NM=G("td",null,"130",-1),HM={class:"text-success flex items-center",href:"javascript:;"},WM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},XM=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:Ly,alt:"avatar"}),G("p",{class:"whitespace-nowrap"},[Ot("Watch "),G("span",{class:"text-danger block text-xs"},"Accessories")])])],-1),YM=G("td",null,"$56.07",-1),jM=G("td",null,"$20.00",-1),$M=G("td",null,"66",-1),VM={class:"text-warning flex items-center",href:"javascript:;"},UM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},GM=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:Ly,alt:"avatar"}),G("p",{class:"whitespace-nowrap"},[Ot("Laptop "),G("span",{class:"text-primary block text-xs"},"Digital")])])],-1),qM=G("td",null,"$110.00",-1),KM=G("td",null,"$33.00",-1),ZM=G("td",null,"35",-1),JM={class:"text-secondary flex items-center",href:"javascript:;"},QM={class:"text-white-dark hover:text-black dark:hover:text-white-light/90 group"},eP=G("td",{class:"text-black dark:text-white"},[G("div",{class:"flex"},[G("img",{class:"w-8 h-8 rounded-md ltr:mr-3 rtl:ml-3 object-cover",src:zL,alt:"avatar"}),G("p",{class:"whitespace-nowrap"},[Ot("Camera "),G("span",{class:"text-primary block text-xs"},"Digital")])])],-1),tP=G("td",null,"$56.07",-1),rP=G("td",null,"$26.04",-1),nP=G("td",null,"30",-1),iP={class:"text-primary flex items-center",href:"javascript:;"},oP=hr({__name:"index",setup(e){const t=ui(),o=It(()=>{const L=!!(t.theme==="dark"||t.isDarkMode),O=t.rtlClass==="rtl";return{chart:{height:325,type:"area",fontFamily:"Nunito, sans-serif",zoom:{enabled:!1},toolbar:{show:!1}},dataLabels:{enabled:!1},stroke:{show:!0,curve:"smooth",width:2,lineCap:"square"},dropShadow:{enabled:!0,opacity:.2,blur:10,left:-7,top:22},colors:L?["#2196f3","#e7515a"]:["#1b55e2","#e7515a"],markers:{discrete:[{seriesIndex:0,dataPointIndex:6,fillColor:"#1b55e2",strokeColor:"transparent",size:7},{seriesIndex:1,dataPointIndex:5,fillColor:"#e7515a",strokeColor:"transparent",size:7}]},labels:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],xaxis:{axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{show:!0},labels:{offsetX:O?2:0,offsetY:5,style:{fontSize:"12px",cssClass:"apexcharts-xaxis-title"}}},yaxis:{tickAmount:7,labels:{formatter:P=>P/1e3+"K",offsetX:O?-30:-10,offsetY:0,style:{fontSize:"12px",cssClass:"apexcharts-yaxis-title"}},opposite:!!O},grid:{borderColor:L?"#191e3a":"#e0e6ed",strokeDashArray:5,xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}},padding:{top:0,right:0,bottom:0,left:0}},legend:{position:"top",horizontalAlign:"right",fontSize:"16px",markers:{width:10,height:10,offsetX:-2},itemMargin:{horizontal:10,vertical:5}},tooltip:{marker:{show:!0},x:{show:!1}},fill:{type:"gradient",gradient:{shadeIntensity:1,inverseColors:!1,opacityFrom:L?.19:.28,opacityTo:.05,stops:L?[100,100]:[45,100]}}}}),c=Ft([{name:"Income",data:[16800,16800,15500,17800,15500,17e3,19e3,16e3,15e3,17e3,14e3,17e3]},{name:"Expenses",data:[16500,17500,16200,17300,16e3,19500,16e3,17e3,16e3,19e3,18e3,19e3]}]),h=It(()=>{const L=!!(t.theme==="dark"||t.isDarkMode);return{chart:{type:"donut",height:460,fontFamily:"Nunito, sans-serif"},dataLabels:{enabled:!1},stroke:{show:!0,width:25,colors:L?"#0e1726":"#fff"},colors:L?["#5c1ac3","#e2a03f","#e7515a","#e2a03f"]:["#e2a03f","#5c1ac3","#e7515a"],legend:{position:"bottom",horizontalAlign:"center",fontSize:"14px",markers:{width:10,height:10,offsetX:-2},height:50,offsetY:20},plotOptions:{pie:{donut:{size:"65%",background:"transparent",labels:{show:!0,name:{show:!0,fontSize:"29px",offsetY:-10},value:{show:!0,fontSize:"26px",color:L?"#bfc9d4":void 0,offsetY:16,formatter:O=>O},total:{show:!0,label:"Total",color:"#888ea8",fontSize:"29px",formatter:O=>O.globals.seriesTotals.reduce(function(P,Y){return P+Y},0)}}}}},labels:["Apparel","Sports","Others"],states:{hover:{filter:{type:"none",value:.15}},active:{filter:{type:"none",value:.15}}}}}),g=Ft([985,737,270]),x=It(()=>(t.theme==="dark"||t.isDarkMode,{chart:{height:160,type:"bar",fontFamily:"Nunito, sans-serif",toolbar:{show:!1},stacked:!0,stackType:"100%"},dataLabels:{enabled:!1},stroke:{show:!0,width:1},colors:["#e2a03f","#e0e6ed"],responsive:[{breakpoint:480,options:{legend:{position:"bottom",offsetX:-10,offsetY:0}}}],xaxis:{labels:{show:!1},categories:["Sun","Mon","Tue","Wed","Thur","Fri","Sat"]},yaxis:{show:!1},fill:{opacity:1},plotOptions:{bar:{horizontal:!1,columnWidth:"25%"}},legend:{show:!1},grid:{show:!1,xaxis:{lines:{show:!1}},padding:{top:10,right:-20,bottom:-20,left:-20}}})),y=Ft([{name:"Sales",data:[44,55,41,67,22,43,21]},{name:"Last Week",data:[13,23,20,8,13,27,33]}]),z=It(()=>{const L=!!(t.theme==="dark"||t.isDarkMode);return{chart:{height:290,type:"area",fontFamily:"Nunito, sans-serif",sparkline:{enabled:!0}},stroke:{curve:"smooth",width:2},colors:L?["#00ab55"]:["#00ab55"],labels:["1","2","3","4","5","6","7","8","9","10"],yaxis:{min:0,show:!1},grid:{padding:{top:125,right:0,bottom:0,left:0}},fill:{opacity:1,type:"gradient",gradient:{type:"vertical",shadeIntensity:1,inverseColors:!1,opacityFrom:.3,opacityTo:.05,stops:[100,100]}},tooltip:{x:{show:!1}}}}),A=Ft([{name:"Sales",data:[28,40,36,52,38,60,38,52,36,40]}]);return(L,O)=>{const P=Xn("Popper"),Y=Xn("perfect-scrollbar"),V=Xn("router-link");return Mt(),Bt("div",null,[QT,G("div",e5,[G("div",t5,[G("div",r5,[G("div",n5,[i5,G("div",o5,[Je(P,{placement:zt(t).rtlClass==="rtl"?"bottom-start":"bottom-end",offsetDistance:"0",class:"align-middle"},{content:Pt(({close:ee})=>[G("ul",{onClick:ae=>ee()},h5,8,s5)]),default:Pt(()=>[G("a",a5,[Je(_d,{class:"text-black/70 dark:text-white/70 hover:!text-primary"})])]),_:1},8,["placement"])])]),d5,G("div",f5,[Je(zt(Xc),{height:"325",options:zt(o),series:c.value,class:"bg-white dark:bg-black rounded-lg overflow-hidden"},{default:Pt(()=>[p5]),_:1},8,["options","series"])])]),G("div",m5,[g5,G("div",null,[Je(zt(Xc),{height:"460",options:zt(h),series:g.value,class:"bg-white dark:bg-black rounded-lg overflow-hidden"},{default:Pt(()=>[v5]),_:1},8,["options","series"])])])]),G("div",x5,[G("div",b5,[G("div",y5,[w5,G("div",_5,[G("div",z5,[Je(BL)])])]),G("div",null,[Je(zt(Xc),{height:"160",options:zt(x),series:y.value,class:"bg-white dark:bg-black rounded-lg overflow-hidden"},{default:Pt(()=>[k5]),_:1},8,["options","series"])])]),G("div",C5,[G("div",S5,[A5,G("div",D5,[Je(P,{placement:zt(t).rtlClass==="rtl"?"bottom-start":"bottom-end",offsetDistance:"0",class:"align-middle"},{content:Pt(({close:ee})=>[G("ul",{onClick:ae=>ee()},P5,8,L5)]),default:Pt(()=>[G("a",E5,[Je(_d,{class:"w-5 h-5 text-black/70 dark:text-white/70 hover:!text-primary"})])]),_:1},8,["placement"])])]),G("div",O5,[G("div",I5,[G("div",R5,[G("div",B5,[Je($L)])]),N5]),G("div",H5,[G("div",W5,[G("div",X5,[Je(QL)])]),Y5]),G("div",j5,[G("div",$5,[G("div",V5,[Je(lT)])]),U5])])]),G("div",G5,[G("div",q5,[G("div",K5,[G("div",Z5,[Je(pT)])]),J5]),Je(zt(Xc),{height:"290",options:zt(z),series:A.value,class:"bg-white dark:bg-black rounded-lg overflow-hidden"},{default:Pt(()=>[Q5]),_:1},8,["options","series"])])]),G("div",eF,[G("div",tF,[rF,Je(Y,{options:{swipeEasing:!0,wheelPropagation:!1},class:"relative mb-4 h-[290px] ltr:pr-3 rtl:pl-3 ltr:-mr-3 rtl:-ml-3"},{default:Pt(()=>[nF]),_:1}),G("div",iF,[G("a",oF,[Ot(" View All "),Je(yT,{class:"rtl:rotate-180 group-hover:translate-x-1 rtl:group-hover:-translate-x-1 transition duration-300 ltr:ml-1 rtl:mr-1"})])])]),G("div",aF,[G("div",sF,[lF,G("div",cF,[Je(P,{placement:zt(t).rtlClass==="rtl"?"bottom-start":"bottom-end",offsetDistance:"0",class:"align-middle"},{content:Pt(({close:ee})=>[G("ul",{onClick:ae=>ee()},mF,8,hF)]),default:Pt(()=>[G("a",uF,[Je(_d,{class:"text-black/70 dark:text-white/70 hover:!text-primary"})])]),_:1},8,["placement"])])]),G("div",null,[G("div",gF,[vF,G("div",xF,[G("span",bF,[Je(ST)]),yF,wF]),G("div",_F,[G("span",zF,[Je(Ay,{class:"w-6 h-6"})]),kF,CF]),G("div",SF,[G("span",AF,[Je(FT)]),DF,EF]),LF,G("div",TF,[G("span",FF,[Je(NT)]),MF,PF])])])]),G("div",OF,[G("div",IF,[G("div",RF,[BF,G("button",NF,[Je(VT,{class:"w-6 h-6 m-auto"})])]),HF]),G("div",WF,[G("div",XF,[G("span",YF,[Ot("Received "),Je(ol,{class:"w-4 h-4 text-success rotate-180"})]),jF]),G("div",$F,[G("span",VF,[Ot("Spent "),Je(ol,{class:"w-4 h-4 text-danger"})]),UF])]),GF])]),G("div",qF,[G("div",KF,[ZF,G("div",JF,[G("table",null,[QF,G("tbody",null,[G("tr",eM,[tM,rM,G("td",null,[Je(V,{to:"/apps/invoice/preview"},{default:Pt(()=>[Ot("#46894")]),_:1})]),nM,iM]),G("tr",oM,[aM,sM,G("td",null,[Je(V,{to:"/apps/invoice/preview"},{default:Pt(()=>[Ot("#76894")]),_:1})]),lM,cM]),G("tr",uM,[hM,dM,G("td",null,[Je(V,{to:"/apps/invoice/preview"},{default:Pt(()=>[Ot("#66894")]),_:1})]),fM,pM]),G("tr",mM,[gM,vM,G("td",null,[Je(V,{to:"/apps/invoice/preview"},{default:Pt(()=>[Ot("#75844")]),_:1})]),xM,bM]),G("tr",yM,[wM,_M,G("td",null,[Je(V,{to:"/apps/invoice/preview"},{default:Pt(()=>[Ot("#46894")]),_:1})]),zM,kM])])])])]),G("div",CM,[SM,G("div",AM,[G("table",null,[DM,G("tbody",null,[G("tr",EM,[LM,TM,FM,MM,G("td",null,[G("a",PM,[Je(Vs,{class:"rtl:rotate-180 ltr:mr-1 rtl:ml-1"}),Ot(" Direct ")])])]),G("tr",OM,[IM,RM,BM,NM,G("td",null,[G("a",HM,[Je(Vs,{class:"rtl:rotate-180 ltr:mr-1 rtl:ml-1"}),Ot(" Google ")])])]),G("tr",WM,[XM,YM,jM,$M,G("td",null,[G("a",VM,[Je(Vs,{class:"rtl:rotate-180 ltr:mr-1 rtl:ml-1"}),Ot(" Ads ")])])]),G("tr",UM,[GM,qM,KM,ZM,G("td",null,[G("a",JM,[Je(Vs,{class:"rtl:rotate-180 ltr:mr-1 rtl:ml-1"}),Ot(" Email ")])])]),G("tr",QM,[eP,tP,rP,nP,G("td",null,[G("a",iP,[Je(Vs,{class:"rtl:rotate-180 ltr:mr-1 rtl:ml-1"}),Ot(" Referral ")])])])])])])])])])])}}}),aP=[{path:"/",name:"home",component:oP},{path:"/apps/scrumboard",name:"scrumboard",component:()=>qt(()=>import("./scrumboard.ec45b4c8.js"),["assets/scrumboard.ec45b4c8.js","assets/carousel1.01799c1e.js","assets/sweetalert2.all.79a6bcd7.js","assets/icon-calendar.287aa693.js","assets/icon-trash-lines.e25f038f.js","assets/icon-x.6c3c1ce6.js","assets/micro-task.27a59902.js"])},{path:"/apps/applist",name:"applist",component:()=>qt(()=>import("./applist.56410d09.js"),["assets/applist.56410d09.js","assets/applist.65224dab.css"])},{path:"/apps/custom",name:"custom",component:()=>qt(()=>import("./custom.3c85971b.js"),["assets/custom.3c85971b.js","assets/vue3-datatable.0fafe285.js"])},{path:"/apps/stock",name:"stock",component:()=>qt(()=>import("./stock.fcffd5fe.js"),["assets/stock.fcffd5fe.js","assets/vue3-datatable.0fafe285.js"])},{path:"/apps/order",name:"order",component:()=>qt(()=>import("./order.3e4785e5.js"),["assets/order.3e4785e5.js","assets/vue3-datatable.0fafe285.js"])},{path:"/apps/goods",name:"goods",component:()=>qt(()=>import("./goods.2dce4d29.js"),["assets/goods.2dce4d29.js","assets/vue3-datatable.0fafe285.js"])},{path:"/users/contacts",name:"contacts",component:()=>qt(()=>import("./contacts.6eca59ea.js"),["assets/contacts.6eca59ea.js","assets/sweetalert2.all.79a6bcd7.js","assets/icon-facebook.927aefe9.js","assets/icon-twitter.vue_vue_type_script_setup_true_lang.bb64ec25.js","assets/icon-x.6c3c1ce6.js","assets/micro-task.27a59902.js"])},{path:"/users/profile",name:"profile",component:()=>qt(()=>import("./profile.a33789bb.js"),["assets/profile.a33789bb.js","assets/icon-calendar.287aa693.js","assets/icon-map-pin.2b0311bd.js","assets/icon-mail.vue_vue_type_script_setup_true_lang.3ed6607d.js","assets/icon-phone.fddd7b2c.js"])},{path:"/users/user-account-settings",name:"user-account-settings",component:()=>qt(()=>import("./user-account-settings.d6850f2c.js"),["assets/user-account-settings.d6850f2c.js","assets/tabs.55ddd10d.js","assets/micro-task.27a59902.js"])},{path:"/components/tabs",name:"tabs",component:()=>qt(()=>import("./tabs.b9e51974.js"),["assets/tabs.b9e51974.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-bell.2e21c889.js","assets/icon-phone.fddd7b2c.js","assets/tabs.55ddd10d.js","assets/micro-task.27a59902.js"])},{path:"/components/accordions",name:"accordions",component:()=>qt(()=>import("./accordions.3a59847e.js"),["assets/accordions.3a59847e.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-bell.2e21c889.js"])},{path:"/components/modals",name:"modals",component:()=>qt(()=>import("./modals.47c37ff3.js"),["assets/modals.47c37ff3.js","assets/profile-16.a5dcf128.js","assets/pagination.min.b7ce10ba.js","assets/pagination.de8adbae.css","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-bell.2e21c889.js","assets/icon-x.6c3c1ce6.js","assets/micro-task.27a59902.js","assets/icon-facebook.927aefe9.js","assets/tabs.55ddd10d.js"])},{path:"/components/cards",name:"cards",component:()=>qt(()=>import("./cards.d97c481a.js"),["assets/cards.d97c481a.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-droplet.72c625da.js"])},{path:"/components/carousel",name:"carousel",component:()=>qt(()=>import("./carousel.deda723a.js"),["assets/carousel.deda723a.js","assets/carousel1.01799c1e.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/pagination.min.b7ce10ba.js","assets/pagination.de8adbae.css","assets/icon-bell.2e21c889.js"])},{path:"/components/countdown",name:"countdown",component:()=>qt(()=>import("./countdown.54e10ada.js"),["assets/countdown.54e10ada.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css"])},{path:"/components/counter",name:"counter",component:()=>qt(()=>import("./counter.66b84e2d.js"),["assets/counter.66b84e2d.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-bell.2e21c889.js"])},{path:"/components/sweetalert",name:"sweetalert",component:()=>qt(()=>import("./sweetalert.ece4bbf1.js"),["assets/sweetalert.ece4bbf1.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/sweetalert2.all.79a6bcd7.js","assets/icon-bell.2e21c889.js"])},{path:"/components/timeline",name:"timeline",component:()=>qt(()=>import("./timeline.3dd489de.js"),["assets/timeline.3dd489de.js","assets/profile-16.a5dcf128.js","assets/carousel1.01799c1e.js","assets/profile-3.c1326cdf.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css"])},{path:"/components/notifications",name:"notifications",component:()=>qt(()=>import("./notifications.09578820.js"),["assets/notifications.09578820.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/sweetalert2.all.79a6bcd7.js","assets/icon-bell.2e21c889.js"])},{path:"/components/media-object",name:"media-object",component:()=>qt(()=>import("./media-object.f3c016f9.js"),["assets/media-object.f3c016f9.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-trash-lines.e25f038f.js","assets/icon-phone.fddd7b2c.js"])},{path:"/components/list-group",name:"list-group",component:()=>qt(()=>import("./list-group.e025074d.js"),["assets/list-group.e025074d.js","assets/profile-3.c1326cdf.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-mail.vue_vue_type_script_setup_true_lang.3ed6607d.js","assets/icon-map-pin.2b0311bd.js","assets/icon-droplet.72c625da.js"])},{path:"/components/pricing-table",name:"pricing-table",component:()=>qt(()=>import("./pricing-table.e514f0f8.js"),["assets/pricing-table.e514f0f8.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css"])},{path:"/components/lightbox",name:"lightbox",component:()=>qt(()=>import("./lightbox.8ddde1c9.js"),["assets/lightbox.8ddde1c9.js","assets/icon-bell.2e21c889.js"])},{path:"/charts",name:"charts",component:()=>qt(()=>import("./charts.8e6a43b1.js"),["assets/charts.8e6a43b1.js","assets/icon-code.6d7a3662.js","assets/icon-code.a07858e3.css","assets/icon-bell.2e21c889.js"])},{path:"/auth/cover-login",name:"cover-login",component:()=>qt(()=>import("./cover-login.87ab6e4d.js"),["assets/cover-login.87ab6e4d.js","assets/coming-soon-object3.dde2b894.js","assets/polygon-object.cabfa7de.js","assets/logo.ba770d78.js","assets/icon-mail.vue_vue_type_script_setup_true_lang.3ed6607d.js","assets/icon-lock-dots.vue_vue_type_script_setup_true_lang.3bc39e61.js","assets/icon-twitter.vue_vue_type_script_setup_true_lang.bb64ec25.js"])},{path:"/auth/boxed-password-reset",name:"boxed-password-reset",component:()=>qt(()=>import("./boxed-password-reset.9671945e.js"),["assets/boxed-password-reset.9671945e.js","assets/coming-soon-object3.dde2b894.js","assets/polygon-object.cabfa7de.js","assets/icon-mail.vue_vue_type_script_setup_true_lang.3ed6607d.js"])},{path:"/auth/boxed-signin",name:"boxed-signin",component:()=>qt(()=>import("./boxed-signin.61942af9.js"),["assets/boxed-signin.61942af9.js","assets/coming-soon-object3.dde2b894.js","assets/icon-mail.vue_vue_type_script_setup_true_lang.3ed6607d.js","assets/icon-lock-dots.vue_vue_type_script_setup_true_lang.3bc39e61.js"])},{path:"/auth/cover-password-reset",name:"cover-password-reset",component:()=>qt(()=>import("./cover-password-reset.c0b405b7.js"),["assets/cover-password-reset.c0b405b7.js","assets/coming-soon-object3.dde2b894.js","assets/polygon-object.cabfa7de.js","assets/logo.ba770d78.js","assets/icon-mail.vue_vue_type_script_setup_true_lang.3ed6607d.js"])}],zl=WD({history:nD(),linkExactActiveClass:"active",routes:aP,scrollBehavior(e,t,o){return o||{left:0,top:0}}});zl.beforeEach((e,t,o)=>{var h;const c=ui();((h=e==null?void 0:e.meta)==null?void 0:h.layout)=="auth"?c.setMainLayout("auth"):c.setMainLayout("app"),o(!0)});zl.afterEach((e,t,o)=>{Yu.changeAnimation()});const sP=G("button",{type:"button",class:"btn btn-dark ltr:rounded-l-none rtl:rounded-r-none"},"Right",-1),lP=hr({__name:"App",setup(e){const t=ui(),o=()=>{zl.push({path:"/apps/applist"})},c=()=>{zl.push({path:"/"})};dL({title:"Sales Admin"});const h=It(()=>t.mainLayout==="auth"?qE:WE);return(g,x)=>(Mt(),Bt("div",{class:Br(["main-section antialiased relative font-nunito text-sm font-normal",[zt(t).sidebar?"toggle-sidebar":"",zt(t).menu,zt(t).layout,zt(t).rtlClass]])},[(Mt(),Nl(Gb(zt(h)))),G("div",{class:"relative inline-flex align-middle fixed-bottom button-group"},[G("button",{type:"button",onClick:o,class:"btn btn-dark ltr:rounded-r-none rtl:rounded-l-none"},"Left"),G("button",{type:"button",onClick:c,class:"btn btn-dark rounded-none"},"Middle"),sP])],2))}});function cP(){}const Fy=Object.assign,My=typeof window<"u",Vu=e=>e!==null&&typeof e=="object",pu=e=>e!=null,mf=e=>typeof e=="function",uP=e=>Vu(e)&&mf(e.then)&&mf(e.catch),Py=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),hP=()=>My?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function cx(e,t){const o=t.split(".");let c=e;return o.forEach(h=>{var g;c=Vu(c)&&(g=c[h])!=null?g:""}),c}const po=[Number,String],gf={type:Boolean,default:!0},dP=e=>({type:po,default:e}),Ua=e=>({type:String,default:e});var fP=typeof window<"u",pP=e=>e===window,ux=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),mP=e=>{const t=zt(e);if(pP(t)){const o=t.innerWidth,c=t.innerHeight;return ux(o,c)}return t!=null&&t.getBoundingClientRect?t.getBoundingClientRect():ux(0,0)};function gP(e){const t=Ar(e,null);if(t){const o=Pr(),{link:c,unlink:h,internalChildren:g}=t;c(o),mo(()=>h(o));const x=It(()=>g.indexOf(o));return{parent:t,index:x}}return{parent:null,index:Ft(-1)}}function vP(e){const t=[],o=c=>{Array.isArray(c)&&c.forEach(h=>{var g;Fi(h)&&(t.push(h),(g=h.component)!=null&&g.subTree&&(t.push(h.component.subTree),o(h.component.subTree.children)),h.children&&o(h.children))})};return o(e),t}var hx=(e,t)=>{const o=e.indexOf(t);return o===-1?e.findIndex(c=>t.key!==void 0&&t.key!==null&&c.type===t.type&&c.key===t.key):o};function xP(e,t,o){const c=vP(e.subTree.children);o.sort((g,x)=>hx(c,g.vnode)-hx(c,x.vnode));const h=o.map(g=>g.proxy);t.sort((g,x)=>{const y=h.indexOf(g),z=h.indexOf(x);return y-z})}function bP(e){const t=An([]),o=An([]),c=Pr();return{children:t,linkChildren:g=>{$o(e,Object.assign({link:z=>{z.proxy&&(o.push(z),t.push(z.proxy),xP(c,t,o))},unlink:z=>{const A=o.indexOf(z);t.splice(A,1),o.splice(A,1)},children:t,internalChildren:o},g))}}}var Yc,zd;function yP(){if(!Yc&&(Yc=Ft(0),zd=Ft(0),fP)){const e=()=>{Yc.value=window.innerWidth,zd.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Yc,height:zd}}hP();const{width:wP,height:_P}=yP();function Bo(e){if(pu(e))return Py(e)?`${e}px`:String(e)}function zP(e){const t={};return e!==void 0&&(t.zIndex=+e),t}const kP=/-(\w)/g,Oy=e=>e.replace(kP,(t,o)=>o.toUpperCase()),CP=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""),{hasOwnProperty:SP}=Object.prototype;function AP(e,t,o){const c=t[o];!pu(c)||(!SP.call(e,o)||!Vu(c)?e[o]=c:e[o]=Iy(Object(e[o]),c))}function Iy(e,t){return Object.keys(t).forEach(o=>{AP(e,t,o)}),e}var DP={name:"\u59D3\u540D",tel:"\u7535\u8BDD",save:"\u4FDD\u5B58",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",confirm:"\u786E\u8BA4",delete:"\u5220\u9664",loading:"\u52A0\u8F7D\u4E2D...",noCoupon:"\u6682\u65E0\u4F18\u60E0\u5238",nameEmpty:"\u8BF7\u586B\u5199\u59D3\u540D",addContact:"\u6DFB\u52A0\u8054\u7CFB\u4EBA",telInvalid:"\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",vanCalendar:{end:"\u7ED3\u675F",start:"\u5F00\u59CB",title:"\u65E5\u671F\u9009\u62E9",weekdays:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],monthTitle:(e,t)=>`${e}\u5E74${t}\u6708`,rangePrompt:e=>`\u6700\u591A\u9009\u62E9 ${e} \u5929`},vanCascader:{select:"\u8BF7\u9009\u62E9"},vanPagination:{prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875"},vanPullRefresh:{pulling:"\u4E0B\u62C9\u5373\u53EF\u5237\u65B0...",loosing:"\u91CA\u653E\u5373\u53EF\u5237\u65B0..."},vanSubmitBar:{label:"\u5408\u8BA1:"},vanCoupon:{unlimited:"\u65E0\u95E8\u69DB",discount:e=>`${e}\u6298`,condition:e=>`\u6EE1${e}\u5143\u53EF\u7528`},vanCouponCell:{title:"\u4F18\u60E0\u5238",count:e=>`${e}\u5F20\u53EF\u7528`},vanCouponList:{exchange:"\u5151\u6362",close:"\u4E0D\u4F7F\u7528",enable:"\u53EF\u7528",disabled:"\u4E0D\u53EF\u7528",placeholder:"\u8F93\u5165\u4F18\u60E0\u7801"},vanAddressEdit:{area:"\u5730\u533A",areaEmpty:"\u8BF7\u9009\u62E9\u5730\u533A",addressEmpty:"\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",addressDetail:"\u8BE6\u7EC6\u5730\u5740",defaultAddress:"\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"},vanAddressList:{add:"\u65B0\u589E\u5730\u5740"}};const dx=Ft("zh-CN"),fx=An({"zh-CN":DP}),EP={messages(){return fx[dx.value]},use(e,t){dx.value=e,this.add({[e]:t})},add(e={}){Iy(fx,e)}};var LP=EP;function TP(e){const t=Oy(e)+".";return(o,...c)=>{const h=LP.messages(),g=cx(h,t+o)||cx(h,o);return mf(g)?g(...c):g}}function vf(e,t){return t?typeof t=="string"?` ${e}--${t}`:Array.isArray(t)?t.reduce((o,c)=>o+vf(e,c),""):Object.keys(t).reduce((o,c)=>o+(t[c]?vf(e,c):""),""):""}function FP(e){return(t,o)=>(t&&typeof t!="string"&&(o=t,t=""),t=t?`${e}__${t}`:e,`${t}${vf(t,o)}`)}function Wl(e){const t=`van-${e}`;return[t,FP(t),TP(t)]}const MP="van-hairline",PP=`${MP}--top-bottom`;function OP(e,{args:t=[],done:o,canceled:c,error:h}){if(e){const g=e.apply(null,t);uP(g)?g.then(x=>{x?o():c&&c()}).catch(h||cP):g?o():c&&c()}else o()}function Uu(e){return e.install=t=>{const{name:o}=e;o&&(t.component(o,e),t.component(Oy(`-${o}`),e))},e}const IP=Symbol();function RP(e){const t=Ar(IP,null);t&&er(t,o=>{o&&e()})}const BP=(e,t)=>{const o=Ft(),c=()=>{o.value=mP(e).height};return Kr(()=>{if(fi(c),t)for(let h=1;h<=3;h++)setTimeout(c,100*h)}),RP(()=>fi(c)),er([wP,_P],c),o};function NP(e,t){const o=BP(e,!0);return c=>Je("div",{class:t("placeholder"),style:{height:o.value?`${o.value}px`:void 0}},[c()])}const HP={to:[String,Object],url:String,replace:Boolean};function WP({to:e,url:t,replace:o,$router:c}){e&&c?c[o?"replace":"push"](e):t&&(o?location.replace(t):location.href=t)}function XP(){const e=Pr().proxy;return()=>WP(e)}const[YP,px]=Wl("badge"),jP={dot:Boolean,max:po,tag:Ua("div"),color:String,offset:Array,content:po,showZero:gf,position:Ua("top-right")};var $P=hr({name:YP,props:jP,setup(e,{slots:t}){const o=()=>{if(t.content)return!0;const{content:y,showZero:z}=e;return pu(y)&&y!==""&&(z||y!==0&&y!=="0")},c=()=>{const{dot:y,max:z,content:A}=e;if(!y&&o())return t.content?t.content():pu(z)&&Py(A)&&+A>+z?`${z}+`:A},h=y=>y.startsWith("-")?y.replace("-",""):`-${y}`,g=It(()=>{const y={background:e.color};if(e.offset){const[z,A]=e.offset,{position:L}=e,[O,P]=L.split("-");t.default?(typeof A=="number"?y[O]=Bo(O==="top"?A:-A):y[O]=O==="top"?Bo(A):h(A),typeof z=="number"?y[P]=Bo(P==="left"?z:-z):y[P]=P==="left"?Bo(z):h(z)):(y.marginTop=Bo(A),y.marginLeft=Bo(z))}return y}),x=()=>{if(o()||e.dot)return Je("div",{class:px([e.position,{dot:e.dot,fixed:!!t.default}]),style:g.value},[c()])};return()=>{if(t.default){const{tag:y}=e;return Je(y,{class:px("wrapper")},{default:()=>[t.default(),x()]})}return x()}}});const Ry=Uu($P),VP=e=>{},[By,UP]=Wl("config-provider"),Ny=Symbol(By),GP={tag:Ua("div"),theme:Ua("light"),zIndex:Number,themeVars:Object,themeVarsDark:Object,themeVarsLight:Object,themeVarsScope:Ua("local"),iconPrefix:String};function qP(e){return e.replace(/([a-zA-Z])(\d)/g,"$1-$2")}function KP(e){const t={};return Object.keys(e).forEach(o=>{const c=qP(CP(o));t[`--van-${c}`]=e[o]}),t}function jc(e={},t={}){Object.keys(e).forEach(o=>{e[o]!==t[o]&&document.documentElement.style.setProperty(o,e[o])}),Object.keys(t).forEach(o=>{e[o]||document.documentElement.style.removeProperty(o)})}hr({name:By,props:GP,setup(e,{slots:t}){const o=It(()=>KP(Fy({},e.themeVars,e.theme==="dark"?e.themeVarsDark:e.themeVarsLight)));if(My){const c=()=>{document.documentElement.classList.add(`van-theme-${e.theme}`)},h=(g=e.theme)=>{document.documentElement.classList.remove(`van-theme-${g}`)};er(()=>e.theme,(g,x)=>{x&&h(x),c()},{immediate:!0}),$f(c),Vf(h),Ri(h),er(o,(g,x)=>{e.themeVarsScope==="global"&&jc(g,x)}),er(()=>e.themeVarsScope,(g,x)=>{x==="global"&&jc({},o.value),g==="global"&&jc(o.value,{})}),e.themeVarsScope==="global"&&jc(o.value,{})}return $o(Ny,e),bl(()=>{e.zIndex!==void 0&&VP(e.zIndex)}),()=>Je(e.tag,{class:UP(),style:e.themeVarsScope==="local"?o.value:void 0},{default:()=>{var c;return[(c=t.default)==null?void 0:c.call(t)]}})}});const[ZP,mx]=Wl("icon"),JP=e=>e==null?void 0:e.includes("/"),QP={dot:Boolean,tag:Ua("i"),name:String,size:po,badge:po,color:String,badgeProps:Object,classPrefix:String};var eO=hr({name:ZP,props:QP,setup(e,{slots:t}){const o=Ar(Ny,null),c=It(()=>e.classPrefix||(o==null?void 0:o.iconPrefix)||mx());return()=>{const{tag:h,dot:g,name:x,size:y,badge:z,color:A}=e,L=JP(x);return Je(Ry,Iu({dot:g,tag:h,class:[c.value,L?"":`${c.value}-${x}`],style:{color:A,fontSize:Bo(y)},content:z},e.badgeProps),{default:()=>{var O;return[(O=t.default)==null?void 0:O.call(t),L&&Je("img",{class:mx("image"),src:x},null)]}})}}});const tO=Uu(eO),[Hy,gx]=Wl("tabbar"),rO={route:Boolean,fixed:gf,border:gf,zIndex:po,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:dP(0),safeAreaInsetBottom:{type:Boolean,default:null}},Wy=Symbol(Hy);var nO=hr({name:Hy,props:rO,emits:["change","update:modelValue"],setup(e,{emit:t,slots:o}){const c=Ft(),{linkChildren:h}=bP(Wy),g=NP(c,gx),x=()=>{var A;return(A=e.safeAreaInsetBottom)!=null?A:e.fixed},y=()=>{var A;const{fixed:L,zIndex:O,border:P}=e;return Je("div",{ref:c,role:"tablist",style:zP(O),class:[gx({fixed:L}),{[PP]:P,"van-safe-area-bottom":x()}]},[(A=o.default)==null?void 0:A.call(o)])};return h({props:e,setActive:(A,L)=>{OP(e.beforeChange,{args:[A],done(){t("update:modelValue",A),t("change",A),L()}})}}),()=>e.fixed&&e.placeholder?g(y):y()}});const iO=Uu(nO),[oO,kd]=Wl("tabbar-item"),aO=Fy({},HP,{dot:Boolean,icon:String,name:po,badge:po,badgeProps:Object,iconPrefix:String});var sO=hr({name:oO,props:aO,emits:["click"],setup(e,{emit:t,slots:o}){const c=XP(),h=Pr().proxy,{parent:g,index:x}=gP(Wy);if(!g)return;const y=It(()=>{var L;const{route:O,modelValue:P}=g.props;if(O&&"$route"in h){const{$route:Y}=h,{to:V}=e,ee=Vu(V)?V:{path:V};return!!Y.matched.find(ae=>{const K="path"in ee&&ee.path===ae.path,T="name"in ee&&ee.name===ae.name;return K||T})}return((L=e.name)!=null?L:x.value)===P}),z=L=>{var O;y.value||g.setActive((O=e.name)!=null?O:x.value,c),t("click",L)},A=()=>{if(o.icon)return o.icon({active:y.value});if(e.icon)return Je(tO,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var L;const{dot:O,badge:P}=e,{activeColor:Y,inactiveColor:V}=g.props,ee=y.value?Y:V;return Je("div",{role:"tab",class:kd({active:y.value}),style:{color:ee},tabindex:0,"aria-selected":y.value,onClick:z},[Je(Ry,Iu({dot:O,class:kd("icon"),content:P},e.badgeProps),{default:A}),Je("div",{class:kd("text")},[(L=o.default)==null?void 0:L.call(o,{active:y.value})])])}}});const lO=Uu(sO);/*!
  706. * perfect-scrollbar v1.5.3
  707. * Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
  708. * Licensed under MIT
  709. */function oi(e){return getComputedStyle(e)}function tn(e,t){for(var o in t){var c=t[o];typeof c=="number"&&(c=c+"px"),e.style[o]=c}return e}function $c(e){var t=document.createElement("div");return t.className=e,t}var vx=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function no(e,t){if(!vx)throw new Error("No element matching method supported");return vx.call(e,t)}function Wa(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function xx(e,t){return Array.prototype.filter.call(e.children,function(o){return no(o,t)})}var fr={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},Xy={x:null,y:null};function Yy(e,t){var o=e.element.classList,c=fr.state.scrolling(t);o.contains(c)?clearTimeout(Xy[t]):o.add(c)}function jy(e,t){Xy[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(fr.state.scrolling(t))},e.settings.scrollingThreshold)}function cO(e,t){Yy(e,t),jy(e,t)}var Xl=function(t){this.element=t,this.handlers={}},$y={isEmpty:{configurable:!0}};Xl.prototype.bind=function(t,o){typeof this.handlers[t]>"u"&&(this.handlers[t]=[]),this.handlers[t].push(o),this.element.addEventListener(t,o,!1)};Xl.prototype.unbind=function(t,o){var c=this;this.handlers[t]=this.handlers[t].filter(function(h){return o&&h!==o?!0:(c.element.removeEventListener(t,h,!1),!1)})};Xl.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)};$y.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return e.handlers[t].length===0})};Object.defineProperties(Xl.prototype,$y);var cs=function(){this.eventElements=[]};cs.prototype.eventElement=function(t){var o=this.eventElements.filter(function(c){return c.element===t})[0];return o||(o=new Xl(t),this.eventElements.push(o)),o};cs.prototype.bind=function(t,o,c){this.eventElement(t).bind(o,c)};cs.prototype.unbind=function(t,o,c){var h=this.eventElement(t);h.unbind(o,c),h.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(h),1)};cs.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]};cs.prototype.once=function(t,o,c){var h=this.eventElement(t),g=function(x){h.unbind(o,g),c(x)};h.bind(o,g)};function Vc(e){if(typeof window.CustomEvent=="function")return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function mu(e,t,o,c,h){c===void 0&&(c=!0),h===void 0&&(h=!1);var g;if(t==="top")g=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(t==="left")g=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");uO(e,o,g,c,h)}function uO(e,t,o,c,h){var g=o[0],x=o[1],y=o[2],z=o[3],A=o[4],L=o[5];c===void 0&&(c=!0),h===void 0&&(h=!1);var O=e.element;e.reach[z]=null,O[y]<1&&(e.reach[z]="start"),O[y]>e[g]-e[x]-1&&(e.reach[z]="end"),t&&(O.dispatchEvent(Vc("ps-scroll-"+z)),t<0?O.dispatchEvent(Vc("ps-scroll-"+A)):t>0&&O.dispatchEvent(Vc("ps-scroll-"+L)),c&&cO(e,z)),e.reach[z]&&(t||h)&&O.dispatchEvent(Vc("ps-"+z+"-reach-"+e.reach[z]))}function or(e){return parseInt(e,10)||0}function hO(e){return no(e,"input,[contenteditable]")||no(e,"select,[contenteditable]")||no(e,"textarea,[contenteditable]")||no(e,"button,[contenteditable]")}function dO(e){var t=oi(e);return or(t.width)+or(t.paddingLeft)+or(t.paddingRight)+or(t.borderLeftWidth)+or(t.borderRightWidth)}var Ba={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function Mi(e){var t=e.element,o=Math.floor(t.scrollTop),c=t.getBoundingClientRect();e.containerWidth=Math.round(c.width),e.containerHeight=Math.round(c.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(xx(t,fr.element.rail("x")).forEach(function(h){return Wa(h)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(xx(t,fr.element.rail("y")).forEach(function(h){return Wa(h)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=bx(e,or(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=or((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=bx(e,or(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=or(o*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),fO(t,e),e.scrollbarXActive?t.classList.add(fr.state.active("x")):(t.classList.remove(fr.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=e.isRtl===!0?e.contentWidth:0),e.scrollbarYActive?t.classList.add(fr.state.active("y")):(t.classList.remove(fr.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function bx(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function fO(e,t){var o={width:t.railXWidth},c=Math.floor(e.scrollTop);t.isRtl?o.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:o.left=e.scrollLeft,t.isScrollbarXUsingBottom?o.bottom=t.scrollbarXBottom-c:o.top=t.scrollbarXTop+c,tn(t.scrollbarXRail,o);var h={top:c,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?h.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:h.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?h.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth*2-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:h.left=t.scrollbarYLeft+e.scrollLeft,tn(t.scrollbarYRail,h),tn(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),tn(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}function pO(e){e.element,e.event.bind(e.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var o=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top,c=o>e.scrollbarYTop?1:-1;e.element.scrollTop+=c*e.containerHeight,Mi(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var o=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left,c=o>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=c*e.containerWidth,Mi(e),t.stopPropagation()})}function mO(e){yx(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),yx(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function yx(e,t){var o=t[0],c=t[1],h=t[2],g=t[3],x=t[4],y=t[5],z=t[6],A=t[7],L=t[8],O=e.element,P=null,Y=null,V=null;function ee(T){T.touches&&T.touches[0]&&(T[h]=T.touches[0].pageY),O[z]=P+V*(T[h]-Y),Yy(e,A),Mi(e),T.stopPropagation(),T.type.startsWith("touch")&&T.changedTouches.length>1&&T.preventDefault()}function ae(){jy(e,A),e[L].classList.remove(fr.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",ee)}function K(T,re){P=O[z],re&&T.touches&&(T[h]=T.touches[0].pageY),Y=T[h],V=(e[c]-e[o])/(e[g]-e[y]),re?e.event.bind(e.ownerDocument,"touchmove",ee):(e.event.bind(e.ownerDocument,"mousemove",ee),e.event.once(e.ownerDocument,"mouseup",ae),T.preventDefault()),e[L].classList.add(fr.state.clicking),T.stopPropagation()}e.event.bind(e[x],"mousedown",function(T){K(T)}),e.event.bind(e[x],"touchstart",function(T){K(T,!0)})}function gO(e){var t=e.element,o=function(){return no(t,":hover")},c=function(){return no(e.scrollbarX,":focus")||no(e.scrollbarY,":focus")};function h(g,x){var y=Math.floor(t.scrollTop);if(g===0){if(!e.scrollbarYActive)return!1;if(y===0&&x>0||y>=e.contentHeight-e.containerHeight&&x<0)return!e.settings.wheelPropagation}var z=t.scrollLeft;if(x===0){if(!e.scrollbarXActive)return!1;if(z===0&&g<0||z>=e.contentWidth-e.containerWidth&&g>0)return!e.settings.wheelPropagation}return!0}e.event.bind(e.ownerDocument,"keydown",function(g){if(!(g.isDefaultPrevented&&g.isDefaultPrevented()||g.defaultPrevented)&&!(!o()&&!c())){var x=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(x){if(x.tagName==="IFRAME")x=x.contentDocument.activeElement;else for(;x.shadowRoot;)x=x.shadowRoot.activeElement;if(hO(x))return}var y=0,z=0;switch(g.which){case 37:g.metaKey?y=-e.contentWidth:g.altKey?y=-e.containerWidth:y=-30;break;case 38:g.metaKey?z=e.contentHeight:g.altKey?z=e.containerHeight:z=30;break;case 39:g.metaKey?y=e.contentWidth:g.altKey?y=e.containerWidth:y=30;break;case 40:g.metaKey?z=-e.contentHeight:g.altKey?z=-e.containerHeight:z=-30;break;case 32:g.shiftKey?z=e.containerHeight:z=-e.containerHeight;break;case 33:z=e.containerHeight;break;case 34:z=-e.containerHeight;break;case 36:z=e.contentHeight;break;case 35:z=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&y!==0||e.settings.suppressScrollY&&z!==0||(t.scrollTop-=z,t.scrollLeft+=y,Mi(e),h(y,z)&&g.preventDefault())}})}function vO(e){var t=e.element;function o(x,y){var z=Math.floor(t.scrollTop),A=t.scrollTop===0,L=z+t.offsetHeight===t.scrollHeight,O=t.scrollLeft===0,P=t.scrollLeft+t.offsetWidth===t.scrollWidth,Y;return Math.abs(y)>Math.abs(x)?Y=A||L:Y=O||P,Y?!e.settings.wheelPropagation:!0}function c(x){var y=x.deltaX,z=-1*x.deltaY;return(typeof y>"u"||typeof z>"u")&&(y=-1*x.wheelDeltaX/6,z=x.wheelDeltaY/6),x.deltaMode&&x.deltaMode===1&&(y*=10,z*=10),y!==y&&z!==z&&(y=0,z=x.wheelDelta),x.shiftKey?[-z,-y]:[y,z]}function h(x,y,z){if(!Ba.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(x))return!1;for(var A=x;A&&A!==t;){if(A.classList.contains(fr.element.consuming))return!0;var L=oi(A);if(z&&L.overflowY.match(/(scroll|auto)/)){var O=A.scrollHeight-A.clientHeight;if(O>0&&(A.scrollTop>0&&z<0||A.scrollTop<O&&z>0))return!0}if(y&&L.overflowX.match(/(scroll|auto)/)){var P=A.scrollWidth-A.clientWidth;if(P>0&&(A.scrollLeft>0&&y<0||A.scrollLeft<P&&y>0))return!0}A=A.parentNode}return!1}function g(x){var y=c(x),z=y[0],A=y[1];if(!h(x.target,z,A)){var L=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(A?t.scrollTop-=A*e.settings.wheelSpeed:t.scrollTop+=z*e.settings.wheelSpeed,L=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(z?t.scrollLeft+=z*e.settings.wheelSpeed:t.scrollLeft-=A*e.settings.wheelSpeed,L=!0):(t.scrollTop-=A*e.settings.wheelSpeed,t.scrollLeft+=z*e.settings.wheelSpeed),Mi(e),L=L||o(z,A),L&&!x.ctrlKey&&(x.stopPropagation(),x.preventDefault())}}typeof window.onwheel<"u"?e.event.bind(t,"wheel",g):typeof window.onmousewheel<"u"&&e.event.bind(t,"mousewheel",g)}function xO(e){if(!Ba.supportsTouch&&!Ba.supportsIePointer)return;var t=e.element;function o(V,ee){var ae=Math.floor(t.scrollTop),K=t.scrollLeft,T=Math.abs(V),re=Math.abs(ee);if(re>T){if(ee<0&&ae===e.contentHeight-e.containerHeight||ee>0&&ae===0)return window.scrollY===0&&ee>0&&Ba.isChrome}else if(T>re&&(V<0&&K===e.contentWidth-e.containerWidth||V>0&&K===0))return!0;return!0}function c(V,ee){t.scrollTop-=ee,t.scrollLeft-=V,Mi(e)}var h={},g=0,x={},y=null;function z(V){return V.targetTouches?V.targetTouches[0]:V}function A(V){return V.pointerType&&V.pointerType==="pen"&&V.buttons===0?!1:!!(V.targetTouches&&V.targetTouches.length===1||V.pointerType&&V.pointerType!=="mouse"&&V.pointerType!==V.MSPOINTER_TYPE_MOUSE)}function L(V){if(!!A(V)){var ee=z(V);h.pageX=ee.pageX,h.pageY=ee.pageY,g=new Date().getTime(),y!==null&&clearInterval(y)}}function O(V,ee,ae){if(!t.contains(V))return!1;for(var K=V;K&&K!==t;){if(K.classList.contains(fr.element.consuming))return!0;var T=oi(K);if(ae&&T.overflowY.match(/(scroll|auto)/)){var re=K.scrollHeight-K.clientHeight;if(re>0&&(K.scrollTop>0&&ae<0||K.scrollTop<re&&ae>0))return!0}if(ee&&T.overflowX.match(/(scroll|auto)/)){var B=K.scrollWidth-K.clientWidth;if(B>0&&(K.scrollLeft>0&&ee<0||K.scrollLeft<B&&ee>0))return!0}K=K.parentNode}return!1}function P(V){if(A(V)){var ee=z(V),ae={pageX:ee.pageX,pageY:ee.pageY},K=ae.pageX-h.pageX,T=ae.pageY-h.pageY;if(O(V.target,K,T))return;c(K,T),h=ae;var re=new Date().getTime(),B=re-g;B>0&&(x.x=K/B,x.y=T/B,g=re),o(K,T)&&V.preventDefault()}}function Y(){e.settings.swipeEasing&&(clearInterval(y),y=setInterval(function(){if(e.isInitialized){clearInterval(y);return}if(!x.x&&!x.y){clearInterval(y);return}if(Math.abs(x.x)<.01&&Math.abs(x.y)<.01){clearInterval(y);return}if(!e.element){clearInterval(y);return}c(x.x*30,x.y*30),x.x*=.8,x.y*=.8},10))}Ba.supportsTouch?(e.event.bind(t,"touchstart",L),e.event.bind(t,"touchmove",P),e.event.bind(t,"touchend",Y)):Ba.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",L),e.event.bind(t,"pointermove",P),e.event.bind(t,"pointerup",Y)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",L),e.event.bind(t,"MSPointerMove",P),e.event.bind(t,"MSPointerUp",Y)))}var bO=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},yO={"click-rail":pO,"drag-thumb":mO,keyboard:gO,wheel:vO,touch:xO},Yl=function(t,o){var c=this;if(o===void 0&&(o={}),typeof t=="string"&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=t,t.classList.add(fr.main),this.settings=bO();for(var h in o)this.settings[h]=o[h];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var g=function(){return t.classList.add(fr.state.focus)},x=function(){return t.classList.remove(fr.state.focus)};this.isRtl=oi(t).direction==="rtl",this.isRtl===!0&&t.classList.add(fr.rtl),this.isNegativeScroll=function(){var A=t.scrollLeft,L=null;return t.scrollLeft=-1,L=t.scrollLeft<0,t.scrollLeft=A,L}(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new cs,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=$c(fr.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=$c(fr.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",g),this.event.bind(this.scrollbarX,"blur",x),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var y=oi(this.scrollbarXRail);this.scrollbarXBottom=parseInt(y.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=or(y.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=or(y.borderLeftWidth)+or(y.borderRightWidth),tn(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=or(y.marginLeft)+or(y.marginRight),tn(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=$c(fr.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=$c(fr.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",g),this.event.bind(this.scrollbarY,"blur",x),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var z=oi(this.scrollbarYRail);this.scrollbarYRight=parseInt(z.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=or(z.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?dO(this.scrollbarY):null,this.railBorderYWidth=or(z.borderTopWidth)+or(z.borderBottomWidth),tn(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=or(z.marginTop)+or(z.marginBottom),tn(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(A){return yO[A](c)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(A){return c.onScroll(A)}),Mi(this)};Yl.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,tn(this.scrollbarXRail,{display:"block"}),tn(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=or(oi(this.scrollbarXRail).marginLeft)+or(oi(this.scrollbarXRail).marginRight),this.railYMarginHeight=or(oi(this.scrollbarYRail).marginTop)+or(oi(this.scrollbarYRail).marginBottom),tn(this.scrollbarXRail,{display:"none"}),tn(this.scrollbarYRail,{display:"none"}),Mi(this),mu(this,"top",0,!1,!0),mu(this,"left",0,!1,!0),tn(this.scrollbarXRail,{display:""}),tn(this.scrollbarYRail,{display:""}))};Yl.prototype.onScroll=function(t){!this.isAlive||(Mi(this),mu(this,"top",this.element.scrollTop-this.lastScrollTop),mu(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)};Yl.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),Wa(this.scrollbarX),Wa(this.scrollbarY),Wa(this.scrollbarXRail),Wa(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)};Yl.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};const wx=["scroll","ps-scroll-y","ps-scroll-x","ps-scroll-up","ps-scroll-down","ps-scroll-left","ps-scroll-right","ps-y-reach-start","ps-y-reach-end","ps-x-reach-start","ps-x-reach-end"];var Pa={name:"PerfectScrollbar",props:{options:{type:Object,required:!1,default:()=>{}},tag:{type:String,required:!1,default:"div"},watchOptions:{type:Boolean,required:!1,default:!1}},emits:wx,data(){return{ps:null}},watch:{watchOptions(e){!e&&this.watcher?this.watcher():this.createWatcher()}},mounted(){this.create(),this.watchOptions&&this.createWatcher()},updated(){this.$nextTick(()=>{this.update()})},beforeUnmount(){this.destroy()},methods:{create(){this.ps&&this.$isServer||(this.ps=new Yl(this.$el,this.options),wx.forEach(e=>{this.ps.element.addEventListener(e,t=>this.$emit(e,t))}))},createWatcher(){this.watcher=this.$watch("options",()=>{this.destroy(),this.create()},{deep:!0})},update(){this.ps&&this.ps.update()},destroy(){this.ps&&(this.ps.destroy(),this.ps=null)}},render(){return Bi(this.tag,{class:"ps"},this.$slots.default&&this.$slots.default())}},wO={install:(e,t)=>{t&&(t.name&&typeof t.name=="string"&&(Pa.name=t.name),t.options&&typeof t.options=="object"&&(Pa.props.options.default=()=>t.options),t.tag&&typeof t.tag=="string"&&(Pa.props.tag.default=t.tag),t.watchOptions&&typeof t.watchOptions=="boolean"&&(Pa.props.watchOptions=t.watchOptions)),e.component(Pa.name,Pa)}},nn="top",En="bottom",Ln="right",on="left",hp="auto",jl=[nn,En,Ln,on],ts="start",kl="end",_O="clippingParents",Vy="viewport",Us="popper",zO="reference",_x=jl.reduce(function(e,t){return e.concat([t+"-"+ts,t+"-"+kl])},[]),Uy=[].concat(jl,[hp]).reduce(function(e,t){return e.concat([t,t+"-"+ts,t+"-"+kl])},[]),kO="beforeRead",CO="read",SO="afterRead",AO="beforeMain",DO="main",EO="afterMain",LO="beforeWrite",TO="write",FO="afterWrite",MO=[kO,CO,SO,AO,DO,EO,LO,TO,FO];function mi(e){return e?(e.nodeName||"").toLowerCase():null}function Fn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ra(e){var t=Fn(e).Element;return e instanceof t||e instanceof Element}function zn(e){var t=Fn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function dp(e){if(typeof ShadowRoot>"u")return!1;var t=Fn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function PO(e){var t=e.state;Object.keys(t.elements).forEach(function(o){var c=t.styles[o]||{},h=t.attributes[o]||{},g=t.elements[o];!zn(g)||!mi(g)||(Object.assign(g.style,c),Object.keys(h).forEach(function(x){var y=h[x];y===!1?g.removeAttribute(x):g.setAttribute(x,y===!0?"":y)}))})}function OO(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(c){var h=t.elements[c],g=t.attributes[c]||{},x=Object.keys(t.styles.hasOwnProperty(c)?t.styles[c]:o[c]),y=x.reduce(function(z,A){return z[A]="",z},{});!zn(h)||!mi(h)||(Object.assign(h.style,y),Object.keys(g).forEach(function(z){h.removeAttribute(z)}))})}}const Gy={name:"applyStyles",enabled:!0,phase:"write",fn:PO,effect:OO,requires:["computeStyles"]};function hi(e){return e.split("-")[0]}var qo=Math.max,gu=Math.min,rs=Math.round;function xf(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qy(){return!/^((?!chrome|android).)*safari/i.test(xf())}function ns(e,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var c=e.getBoundingClientRect(),h=1,g=1;t&&zn(e)&&(h=e.offsetWidth>0&&rs(c.width)/e.offsetWidth||1,g=e.offsetHeight>0&&rs(c.height)/e.offsetHeight||1);var x=ra(e)?Fn(e):window,y=x.visualViewport,z=!qy()&&o,A=(c.left+(z&&y?y.offsetLeft:0))/h,L=(c.top+(z&&y?y.offsetTop:0))/g,O=c.width/h,P=c.height/g;return{width:O,height:P,top:L,right:A+O,bottom:L+P,left:A,x:A,y:L}}function fp(e){var t=ns(e),o=e.offsetWidth,c=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-c)<=1&&(c=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:c}}function Ky(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&dp(o)){var c=t;do{if(c&&e.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function Pi(e){return Fn(e).getComputedStyle(e)}function IO(e){return["table","td","th"].indexOf(mi(e))>=0}function xo(e){return((ra(e)?e.ownerDocument:e.document)||window.document).documentElement}function Gu(e){return mi(e)==="html"?e:e.assignedSlot||e.parentNode||(dp(e)?e.host:null)||xo(e)}function zx(e){return!zn(e)||Pi(e).position==="fixed"?null:e.offsetParent}function RO(e){var t=/firefox/i.test(xf()),o=/Trident/i.test(xf());if(o&&zn(e)){var c=Pi(e);if(c.position==="fixed")return null}var h=Gu(e);for(dp(h)&&(h=h.host);zn(h)&&["html","body"].indexOf(mi(h))<0;){var g=Pi(h);if(g.transform!=="none"||g.perspective!=="none"||g.contain==="paint"||["transform","perspective"].indexOf(g.willChange)!==-1||t&&g.willChange==="filter"||t&&g.filter&&g.filter!=="none")return h;h=h.parentNode}return null}function $l(e){for(var t=Fn(e),o=zx(e);o&&IO(o)&&Pi(o).position==="static";)o=zx(o);return o&&(mi(o)==="html"||mi(o)==="body"&&Pi(o).position==="static")?t:o||RO(e)||t}function pp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ll(e,t,o){return qo(e,gu(t,o))}function BO(e,t,o){var c=ll(e,t,o);return c>o?o:c}function Zy(){return{top:0,right:0,bottom:0,left:0}}function Jy(e){return Object.assign({},Zy(),e)}function Qy(e,t){return t.reduce(function(o,c){return o[c]=e,o},{})}var NO=function(t,o){return t=typeof t=="function"?t(Object.assign({},o.rects,{placement:o.placement})):t,Jy(typeof t!="number"?t:Qy(t,jl))};function HO(e){var t,o=e.state,c=e.name,h=e.options,g=o.elements.arrow,x=o.modifiersData.popperOffsets,y=hi(o.placement),z=pp(y),A=[on,Ln].indexOf(y)>=0,L=A?"height":"width";if(!(!g||!x)){var O=NO(h.padding,o),P=fp(g),Y=z==="y"?nn:on,V=z==="y"?En:Ln,ee=o.rects.reference[L]+o.rects.reference[z]-x[z]-o.rects.popper[L],ae=x[z]-o.rects.reference[z],K=$l(g),T=K?z==="y"?K.clientHeight||0:K.clientWidth||0:0,re=ee/2-ae/2,B=O[Y],j=T-P[L]-O[V],oe=T/2-P[L]/2+re,de=ll(B,oe,j),ge=z;o.modifiersData[c]=(t={},t[ge]=de,t.centerOffset=de-oe,t)}}function WO(e){var t=e.state,o=e.options,c=o.element,h=c===void 0?"[data-popper-arrow]":c;h!=null&&(typeof h=="string"&&(h=t.elements.popper.querySelector(h),!h)||!Ky(t.elements.popper,h)||(t.elements.arrow=h))}const XO={name:"arrow",enabled:!0,phase:"main",fn:HO,effect:WO,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function is(e){return e.split("-")[1]}var YO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jO(e){var t=e.x,o=e.y,c=window,h=c.devicePixelRatio||1;return{x:rs(t*h)/h||0,y:rs(o*h)/h||0}}function kx(e){var t,o=e.popper,c=e.popperRect,h=e.placement,g=e.variation,x=e.offsets,y=e.position,z=e.gpuAcceleration,A=e.adaptive,L=e.roundOffsets,O=e.isFixed,P=x.x,Y=P===void 0?0:P,V=x.y,ee=V===void 0?0:V,ae=typeof L=="function"?L({x:Y,y:ee}):{x:Y,y:ee};Y=ae.x,ee=ae.y;var K=x.hasOwnProperty("x"),T=x.hasOwnProperty("y"),re=on,B=nn,j=window;if(A){var oe=$l(o),de="clientHeight",ge="clientWidth";if(oe===Fn(o)&&(oe=xo(o),Pi(oe).position!=="static"&&y==="absolute"&&(de="scrollHeight",ge="scrollWidth")),oe=oe,h===nn||(h===on||h===Ln)&&g===kl){B=En;var Te=O&&oe===j&&j.visualViewport?j.visualViewport.height:oe[de];ee-=Te-c.height,ee*=z?1:-1}if(h===on||(h===nn||h===En)&&g===kl){re=Ln;var Ne=O&&oe===j&&j.visualViewport?j.visualViewport.width:oe[ge];Y-=Ne-c.width,Y*=z?1:-1}}var ze=Object.assign({position:y},A&&YO),Me=L===!0?jO({x:Y,y:ee}):{x:Y,y:ee};if(Y=Me.x,ee=Me.y,z){var ke;return Object.assign({},ze,(ke={},ke[B]=T?"0":"",ke[re]=K?"0":"",ke.transform=(j.devicePixelRatio||1)<=1?"translate("+Y+"px, "+ee+"px)":"translate3d("+Y+"px, "+ee+"px, 0)",ke))}return Object.assign({},ze,(t={},t[B]=T?ee+"px":"",t[re]=K?Y+"px":"",t.transform="",t))}function $O(e){var t=e.state,o=e.options,c=o.gpuAcceleration,h=c===void 0?!0:c,g=o.adaptive,x=g===void 0?!0:g,y=o.roundOffsets,z=y===void 0?!0:y,A={placement:hi(t.placement),variation:is(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:h,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,kx(Object.assign({},A,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:x,roundOffsets:z})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,kx(Object.assign({},A,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:z})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const VO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$O,data:{}};var Uc={passive:!0};function UO(e){var t=e.state,o=e.instance,c=e.options,h=c.scroll,g=h===void 0?!0:h,x=c.resize,y=x===void 0?!0:x,z=Fn(t.elements.popper),A=[].concat(t.scrollParents.reference,t.scrollParents.popper);return g&&A.forEach(function(L){L.addEventListener("scroll",o.update,Uc)}),y&&z.addEventListener("resize",o.update,Uc),function(){g&&A.forEach(function(L){L.removeEventListener("scroll",o.update,Uc)}),y&&z.removeEventListener("resize",o.update,Uc)}}const GO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:UO,data:{}};var qO={left:"right",right:"left",bottom:"top",top:"bottom"};function eu(e){return e.replace(/left|right|bottom|top/g,function(t){return qO[t]})}var KO={start:"end",end:"start"};function Cx(e){return e.replace(/start|end/g,function(t){return KO[t]})}function mp(e){var t=Fn(e),o=t.pageXOffset,c=t.pageYOffset;return{scrollLeft:o,scrollTop:c}}function gp(e){return ns(xo(e)).left+mp(e).scrollLeft}function ZO(e,t){var o=Fn(e),c=xo(e),h=o.visualViewport,g=c.clientWidth,x=c.clientHeight,y=0,z=0;if(h){g=h.width,x=h.height;var A=qy();(A||!A&&t==="fixed")&&(y=h.offsetLeft,z=h.offsetTop)}return{width:g,height:x,x:y+gp(e),y:z}}function JO(e){var t,o=xo(e),c=mp(e),h=(t=e.ownerDocument)==null?void 0:t.body,g=qo(o.scrollWidth,o.clientWidth,h?h.scrollWidth:0,h?h.clientWidth:0),x=qo(o.scrollHeight,o.clientHeight,h?h.scrollHeight:0,h?h.clientHeight:0),y=-c.scrollLeft+gp(e),z=-c.scrollTop;return Pi(h||o).direction==="rtl"&&(y+=qo(o.clientWidth,h?h.clientWidth:0)-g),{width:g,height:x,x:y,y:z}}function vp(e){var t=Pi(e),o=t.overflow,c=t.overflowX,h=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+h+c)}function e1(e){return["html","body","#document"].indexOf(mi(e))>=0?e.ownerDocument.body:zn(e)&&vp(e)?e:e1(Gu(e))}function cl(e,t){var o;t===void 0&&(t=[]);var c=e1(e),h=c===((o=e.ownerDocument)==null?void 0:o.body),g=Fn(c),x=h?[g].concat(g.visualViewport||[],vp(c)?c:[]):c,y=t.concat(x);return h?y:y.concat(cl(Gu(x)))}function bf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function QO(e,t){var o=ns(e,!1,t==="fixed");return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}function Sx(e,t,o){return t===Vy?bf(ZO(e,o)):ra(t)?QO(t,o):bf(JO(xo(e)))}function e3(e){var t=cl(Gu(e)),o=["absolute","fixed"].indexOf(Pi(e).position)>=0,c=o&&zn(e)?$l(e):e;return ra(c)?t.filter(function(h){return ra(h)&&Ky(h,c)&&mi(h)!=="body"}):[]}function t3(e,t,o,c){var h=t==="clippingParents"?e3(e):[].concat(t),g=[].concat(h,[o]),x=g[0],y=g.reduce(function(z,A){var L=Sx(e,A,c);return z.top=qo(L.top,z.top),z.right=gu(L.right,z.right),z.bottom=gu(L.bottom,z.bottom),z.left=qo(L.left,z.left),z},Sx(e,x,c));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function t1(e){var t=e.reference,o=e.element,c=e.placement,h=c?hi(c):null,g=c?is(c):null,x=t.x+t.width/2-o.width/2,y=t.y+t.height/2-o.height/2,z;switch(h){case nn:z={x,y:t.y-o.height};break;case En:z={x,y:t.y+t.height};break;case Ln:z={x:t.x+t.width,y};break;case on:z={x:t.x-o.width,y};break;default:z={x:t.x,y:t.y}}var A=h?pp(h):null;if(A!=null){var L=A==="y"?"height":"width";switch(g){case ts:z[A]=z[A]-(t[L]/2-o[L]/2);break;case kl:z[A]=z[A]+(t[L]/2-o[L]/2);break}}return z}function Cl(e,t){t===void 0&&(t={});var o=t,c=o.placement,h=c===void 0?e.placement:c,g=o.strategy,x=g===void 0?e.strategy:g,y=o.boundary,z=y===void 0?_O:y,A=o.rootBoundary,L=A===void 0?Vy:A,O=o.elementContext,P=O===void 0?Us:O,Y=o.altBoundary,V=Y===void 0?!1:Y,ee=o.padding,ae=ee===void 0?0:ee,K=Jy(typeof ae!="number"?ae:Qy(ae,jl)),T=P===Us?zO:Us,re=e.rects.popper,B=e.elements[V?T:P],j=t3(ra(B)?B:B.contextElement||xo(e.elements.popper),z,L,x),oe=ns(e.elements.reference),de=t1({reference:oe,element:re,strategy:"absolute",placement:h}),ge=bf(Object.assign({},re,de)),Te=P===Us?ge:oe,Ne={top:j.top-Te.top+K.top,bottom:Te.bottom-j.bottom+K.bottom,left:j.left-Te.left+K.left,right:Te.right-j.right+K.right},ze=e.modifiersData.offset;if(P===Us&&ze){var Me=ze[h];Object.keys(Ne).forEach(function(ke){var De=[Ln,En].indexOf(ke)>=0?1:-1,he=[nn,En].indexOf(ke)>=0?"y":"x";Ne[ke]+=Me[he]*De})}return Ne}function r3(e,t){t===void 0&&(t={});var o=t,c=o.placement,h=o.boundary,g=o.rootBoundary,x=o.padding,y=o.flipVariations,z=o.allowedAutoPlacements,A=z===void 0?Uy:z,L=is(c),O=L?y?_x:_x.filter(function(V){return is(V)===L}):jl,P=O.filter(function(V){return A.indexOf(V)>=0});P.length===0&&(P=O);var Y=P.reduce(function(V,ee){return V[ee]=Cl(e,{placement:ee,boundary:h,rootBoundary:g,padding:x})[hi(ee)],V},{});return Object.keys(Y).sort(function(V,ee){return Y[V]-Y[ee]})}function n3(e){if(hi(e)===hp)return[];var t=eu(e);return[Cx(e),t,Cx(t)]}function i3(e){var t=e.state,o=e.options,c=e.name;if(!t.modifiersData[c]._skip){for(var h=o.mainAxis,g=h===void 0?!0:h,x=o.altAxis,y=x===void 0?!0:x,z=o.fallbackPlacements,A=o.padding,L=o.boundary,O=o.rootBoundary,P=o.altBoundary,Y=o.flipVariations,V=Y===void 0?!0:Y,ee=o.allowedAutoPlacements,ae=t.options.placement,K=hi(ae),T=K===ae,re=z||(T||!V?[eu(ae)]:n3(ae)),B=[ae].concat(re).reduce(function(tt,we){return tt.concat(hi(we)===hp?r3(t,{placement:we,boundary:L,rootBoundary:O,padding:A,flipVariations:V,allowedAutoPlacements:ee}):we)},[]),j=t.rects.reference,oe=t.rects.popper,de=new Map,ge=!0,Te=B[0],Ne=0;Ne<B.length;Ne++){var ze=B[Ne],Me=hi(ze),ke=is(ze)===ts,De=[nn,En].indexOf(Me)>=0,he=De?"width":"height",Le=Cl(t,{placement:ze,boundary:L,rootBoundary:O,altBoundary:P,padding:A}),Se=De?ke?Ln:on:ke?En:nn;j[he]>oe[he]&&(Se=eu(Se));var He=eu(Se),ot=[];if(g&&ot.push(Le[Me]<=0),y&&ot.push(Le[Se]<=0,Le[He]<=0),ot.every(function(tt){return tt})){Te=ze,ge=!1;break}de.set(ze,ot)}if(ge)for(var vt=V?3:1,et=function(we){var Pe=B.find(function($e){var Ge=de.get($e);if(Ge)return Ge.slice(0,we).every(function(at){return at})});if(Pe)return Te=Pe,"break"},ne=vt;ne>0;ne--){var te=et(ne);if(te==="break")break}t.placement!==Te&&(t.modifiersData[c]._skip=!0,t.placement=Te,t.reset=!0)}}const o3={name:"flip",enabled:!0,phase:"main",fn:i3,requiresIfExists:["offset"],data:{_skip:!1}};function Ax(e,t,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Dx(e){return[nn,Ln,En,on].some(function(t){return e[t]>=0})}function a3(e){var t=e.state,o=e.name,c=t.rects.reference,h=t.rects.popper,g=t.modifiersData.preventOverflow,x=Cl(t,{elementContext:"reference"}),y=Cl(t,{altBoundary:!0}),z=Ax(x,c),A=Ax(y,h,g),L=Dx(z),O=Dx(A);t.modifiersData[o]={referenceClippingOffsets:z,popperEscapeOffsets:A,isReferenceHidden:L,hasPopperEscaped:O},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":L,"data-popper-escaped":O})}const s3={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:a3};function l3(e,t,o){var c=hi(e),h=[on,nn].indexOf(c)>=0?-1:1,g=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,x=g[0],y=g[1];return x=x||0,y=(y||0)*h,[on,Ln].indexOf(c)>=0?{x:y,y:x}:{x,y}}function c3(e){var t=e.state,o=e.options,c=e.name,h=o.offset,g=h===void 0?[0,0]:h,x=Uy.reduce(function(L,O){return L[O]=l3(O,t.rects,g),L},{}),y=x[t.placement],z=y.x,A=y.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=z,t.modifiersData.popperOffsets.y+=A),t.modifiersData[c]=x}const u3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:c3};function h3(e){var t=e.state,o=e.name;t.modifiersData[o]=t1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const d3={name:"popperOffsets",enabled:!0,phase:"read",fn:h3,data:{}};function f3(e){return e==="x"?"y":"x"}function p3(e){var t=e.state,o=e.options,c=e.name,h=o.mainAxis,g=h===void 0?!0:h,x=o.altAxis,y=x===void 0?!1:x,z=o.boundary,A=o.rootBoundary,L=o.altBoundary,O=o.padding,P=o.tether,Y=P===void 0?!0:P,V=o.tetherOffset,ee=V===void 0?0:V,ae=Cl(t,{boundary:z,rootBoundary:A,padding:O,altBoundary:L}),K=hi(t.placement),T=is(t.placement),re=!T,B=pp(K),j=f3(B),oe=t.modifiersData.popperOffsets,de=t.rects.reference,ge=t.rects.popper,Te=typeof ee=="function"?ee(Object.assign({},t.rects,{placement:t.placement})):ee,Ne=typeof Te=="number"?{mainAxis:Te,altAxis:Te}:Object.assign({mainAxis:0,altAxis:0},Te),ze=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Me={x:0,y:0};if(!!oe){if(g){var ke,De=B==="y"?nn:on,he=B==="y"?En:Ln,Le=B==="y"?"height":"width",Se=oe[B],He=Se+ae[De],ot=Se-ae[he],vt=Y?-ge[Le]/2:0,et=T===ts?de[Le]:ge[Le],ne=T===ts?-ge[Le]:-de[Le],te=t.elements.arrow,tt=Y&&te?fp(te):{width:0,height:0},we=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zy(),Pe=we[De],$e=we[he],Ge=ll(0,de[Le],tt[Le]),at=re?de[Le]/2-vt-Ge-Pe-Ne.mainAxis:et-Ge-Pe-Ne.mainAxis,Ke=re?-de[Le]/2+vt+Ge+$e+Ne.mainAxis:ne+Ge+$e+Ne.mainAxis,dt=t.elements.arrow&&$l(t.elements.arrow),ue=dt?B==="y"?dt.clientTop||0:dt.clientLeft||0:0,ye=(ke=ze==null?void 0:ze[B])!=null?ke:0,Oe=Se+at-ye-ue,Xe=Se+Ke-ye,Ye=ll(Y?gu(He,Oe):He,Se,Y?qo(ot,Xe):ot);oe[B]=Ye,Me[B]=Ye-Se}if(y){var Ze,Ve=B==="x"?nn:on,xe=B==="x"?En:Ln,me=oe[j],le=j==="y"?"height":"width",N=me+ae[Ve],$=me-ae[xe],pe=[nn,on].indexOf(K)!==-1,ce=(Ze=ze==null?void 0:ze[j])!=null?Ze:0,Ae=pe?N:me-de[le]-ge[le]-ce+Ne.altAxis,Be=pe?me+de[le]+ge[le]-ce-Ne.altAxis:$,je=Y&&pe?BO(Ae,me,Be):ll(Y?Ae:N,me,Y?Be:$);oe[j]=je,Me[j]=je-me}t.modifiersData[c]=Me}}const m3={name:"preventOverflow",enabled:!0,phase:"main",fn:p3,requiresIfExists:["offset"]};function g3(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function v3(e){return e===Fn(e)||!zn(e)?mp(e):g3(e)}function x3(e){var t=e.getBoundingClientRect(),o=rs(t.width)/e.offsetWidth||1,c=rs(t.height)/e.offsetHeight||1;return o!==1||c!==1}function b3(e,t,o){o===void 0&&(o=!1);var c=zn(t),h=zn(t)&&x3(t),g=xo(t),x=ns(e,h,o),y={scrollLeft:0,scrollTop:0},z={x:0,y:0};return(c||!c&&!o)&&((mi(t)!=="body"||vp(g))&&(y=v3(t)),zn(t)?(z=ns(t,!0),z.x+=t.clientLeft,z.y+=t.clientTop):g&&(z.x=gp(g))),{x:x.left+y.scrollLeft-z.x,y:x.top+y.scrollTop-z.y,width:x.width,height:x.height}}function y3(e){var t=new Map,o=new Set,c=[];e.forEach(function(g){t.set(g.name,g)});function h(g){o.add(g.name);var x=[].concat(g.requires||[],g.requiresIfExists||[]);x.forEach(function(y){if(!o.has(y)){var z=t.get(y);z&&h(z)}}),c.push(g)}return e.forEach(function(g){o.has(g.name)||h(g)}),c}function w3(e){var t=y3(e);return MO.reduce(function(o,c){return o.concat(t.filter(function(h){return h.phase===c}))},[])}function _3(e){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(e())})})),t}}function z3(e){var t=e.reduce(function(o,c){var h=o[c.name];return o[c.name]=h?Object.assign({},h,c,{options:Object.assign({},h.options,c.options),data:Object.assign({},h.data,c.data)}):c,o},{});return Object.keys(t).map(function(o){return t[o]})}var Ex={placement:"bottom",modifiers:[],strategy:"absolute"};function Lx(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(c){return!(c&&typeof c.getBoundingClientRect=="function")})}function k3(e){e===void 0&&(e={});var t=e,o=t.defaultModifiers,c=o===void 0?[]:o,h=t.defaultOptions,g=h===void 0?Ex:h;return function(y,z,A){A===void 0&&(A=g);var L={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ex,g),modifiersData:{},elements:{reference:y,popper:z},attributes:{},styles:{}},O=[],P=!1,Y={state:L,setOptions:function(K){var T=typeof K=="function"?K(L.options):K;ee(),L.options=Object.assign({},g,L.options,T),L.scrollParents={reference:ra(y)?cl(y):y.contextElement?cl(y.contextElement):[],popper:cl(z)};var re=w3(z3([].concat(c,L.options.modifiers)));return L.orderedModifiers=re.filter(function(B){return B.enabled}),V(),Y.update()},forceUpdate:function(){if(!P){var K=L.elements,T=K.reference,re=K.popper;if(!!Lx(T,re)){L.rects={reference:b3(T,$l(re),L.options.strategy==="fixed"),popper:fp(re)},L.reset=!1,L.placement=L.options.placement,L.orderedModifiers.forEach(function(Ne){return L.modifiersData[Ne.name]=Object.assign({},Ne.data)});for(var B=0;B<L.orderedModifiers.length;B++){if(L.reset===!0){L.reset=!1,B=-1;continue}var j=L.orderedModifiers[B],oe=j.fn,de=j.options,ge=de===void 0?{}:de,Te=j.name;typeof oe=="function"&&(L=oe({state:L,options:ge,name:Te,instance:Y})||L)}}}},update:_3(function(){return new Promise(function(ae){Y.forceUpdate(),ae(L)})}),destroy:function(){ee(),P=!0}};if(!Lx(y,z))return Y;Y.setOptions(A).then(function(ae){!P&&A.onFirstUpdate&&A.onFirstUpdate(ae)});function V(){L.orderedModifiers.forEach(function(ae){var K=ae.name,T=ae.options,re=T===void 0?{}:T,B=ae.effect;if(typeof B=="function"){var j=B({state:L,name:K,instance:Y,options:re}),oe=function(){};O.push(j||oe)}})}function ee(){O.forEach(function(ae){return ae()}),O=[]}return Y}}var C3=[GO,d3,VO,Gy,u3,o3,m3,XO,s3],S3=k3({defaultModifiers:C3}),A3="tippy-box",r1="tippy-content",D3="tippy-backdrop",n1="tippy-arrow",i1="tippy-svg-arrow",No={passive:!0,capture:!0},o1=function(){return document.body};function Cd(e,t,o){if(Array.isArray(e)){var c=e[t];return c==null?Array.isArray(o)?o[t]:o:c}return e}function xp(e,t){var o={}.toString.call(e);return o.indexOf("[object")===0&&o.indexOf(t+"]")>-1}function a1(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Tx(e,t){if(t===0)return e;var o;return function(c){clearTimeout(o),o=setTimeout(function(){e(c)},t)}}function E3(e,t){var o=Object.assign({},e);return t.forEach(function(c){delete o[c]}),o}function L3(e){return e.split(/\s+/).filter(Boolean)}function Xo(e){return[].concat(e)}function Fx(e,t){e.indexOf(t)===-1&&e.push(t)}function T3(e){return e.filter(function(t,o){return e.indexOf(t)===o})}function F3(e){return e.split("-")[0]}function vu(e){return[].slice.call(e)}function Mx(e){return Object.keys(e).reduce(function(t,o){return e[o]!==void 0&&(t[o]=e[o]),t},{})}function Ga(){return document.createElement("div")}function qu(e){return["Element","Fragment"].some(function(t){return xp(e,t)})}function M3(e){return xp(e,"NodeList")}function P3(e){return xp(e,"MouseEvent")}function O3(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function I3(e){return qu(e)?[e]:M3(e)?vu(e):Array.isArray(e)?e:vu(document.querySelectorAll(e))}function Sd(e,t){e.forEach(function(o){o&&(o.style.transitionDuration=t+"ms")})}function Px(e,t){e.forEach(function(o){o&&o.setAttribute("data-state",t)})}function R3(e){var t,o=Xo(e),c=o[0];return c!=null&&(t=c.ownerDocument)!=null&&t.body?c.ownerDocument:document}function B3(e,t){var o=t.clientX,c=t.clientY;return e.every(function(h){var g=h.popperRect,x=h.popperState,y=h.props,z=y.interactiveBorder,A=F3(x.placement),L=x.modifiersData.offset;if(!L)return!0;var O=A==="bottom"?L.top.y:0,P=A==="top"?L.bottom.y:0,Y=A==="right"?L.left.x:0,V=A==="left"?L.right.x:0,ee=g.top-c+O>z,ae=c-g.bottom-P>z,K=g.left-o+Y>z,T=o-g.right-V>z;return ee||ae||K||T})}function Ad(e,t,o){var c=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(h){e[c](h,o)})}function Ox(e,t){for(var o=t;o;){var c;if(e.contains(o))return!0;o=o.getRootNode==null||(c=o.getRootNode())==null?void 0:c.host}return!1}var ti={isTouch:!1},Ix=0;function N3(){ti.isTouch||(ti.isTouch=!0,window.performance&&document.addEventListener("mousemove",s1))}function s1(){var e=performance.now();e-Ix<20&&(ti.isTouch=!1,document.removeEventListener("mousemove",s1)),Ix=e}function H3(){var e=document.activeElement;if(O3(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function W3(){document.addEventListener("touchstart",N3,No),window.addEventListener("blur",H3)}var X3=typeof window<"u"&&typeof document<"u",Y3=X3?!!window.msCrypto:!1,j3={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},$3={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Hn=Object.assign({appendTo:o1,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},j3,$3),V3=Object.keys(Hn),U3=function(t){var o=Object.keys(t);o.forEach(function(c){Hn[c]=t[c]})};function l1(e){var t=e.plugins||[],o=t.reduce(function(c,h){var g=h.name,x=h.defaultValue;if(g){var y;c[g]=e[g]!==void 0?e[g]:(y=Hn[g])!=null?y:x}return c},{});return Object.assign({},e,o)}function G3(e,t){var o=t?Object.keys(l1(Object.assign({},Hn,{plugins:t}))):V3,c=o.reduce(function(h,g){var x=(e.getAttribute("data-tippy-"+g)||"").trim();if(!x)return h;if(g==="content")h[g]=x;else try{h[g]=JSON.parse(x)}catch{h[g]=x}return h},{});return c}function Rx(e,t){var o=Object.assign({},t,{content:a1(t.content,[e])},t.ignoreAttributes?{}:G3(e,t.plugins));return o.aria=Object.assign({},Hn.aria,o.aria),o.aria={expanded:o.aria.expanded==="auto"?t.interactive:o.aria.expanded,content:o.aria.content==="auto"?t.interactive?null:"describedby":o.aria.content},o}var q3=function(){return"innerHTML"};function yf(e,t){e[q3()]=t}function Bx(e){var t=Ga();return e===!0?t.className=n1:(t.className=i1,qu(e)?t.appendChild(e):yf(t,e)),t}function Nx(e,t){qu(t.content)?(yf(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?yf(e,t.content):e.textContent=t.content)}function wf(e){var t=e.firstElementChild,o=vu(t.children);return{box:t,content:o.find(function(c){return c.classList.contains(r1)}),arrow:o.find(function(c){return c.classList.contains(n1)||c.classList.contains(i1)}),backdrop:o.find(function(c){return c.classList.contains(D3)})}}function c1(e){var t=Ga(),o=Ga();o.className=A3,o.setAttribute("data-state","hidden"),o.setAttribute("tabindex","-1");var c=Ga();c.className=r1,c.setAttribute("data-state","hidden"),Nx(c,e.props),t.appendChild(o),o.appendChild(c),h(e.props,e.props);function h(g,x){var y=wf(t),z=y.box,A=y.content,L=y.arrow;x.theme?z.setAttribute("data-theme",x.theme):z.removeAttribute("data-theme"),typeof x.animation=="string"?z.setAttribute("data-animation",x.animation):z.removeAttribute("data-animation"),x.inertia?z.setAttribute("data-inertia",""):z.removeAttribute("data-inertia"),z.style.maxWidth=typeof x.maxWidth=="number"?x.maxWidth+"px":x.maxWidth,x.role?z.setAttribute("role",x.role):z.removeAttribute("role"),(g.content!==x.content||g.allowHTML!==x.allowHTML)&&Nx(A,e.props),x.arrow?L?g.arrow!==x.arrow&&(z.removeChild(L),z.appendChild(Bx(x.arrow))):z.appendChild(Bx(x.arrow)):L&&z.removeChild(L)}return{popper:t,onUpdate:h}}c1.$$tippy=!0;var K3=1,Gc=[],Dd=[];function Z3(e,t){var o=Rx(e,Object.assign({},Hn,l1(Mx(t)))),c,h,g,x=!1,y=!1,z=!1,A=!1,L,O,P,Y=[],V=Tx(Oe,o.interactiveDebounce),ee,ae=K3++,K=null,T=T3(o.plugins),re={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},B={id:ae,reference:e,popper:Ga(),popperInstance:K,props:o,state:re,plugins:T,clearDelayTimeouts:Ae,setProps:Be,setContent:je,show:rt,hide:pt,hideWithInteractivity:gt,enable:pe,disable:ce,unmount:At,destroy:kt};if(!o.render)return B;var j=o.render(B),oe=j.popper,de=j.onUpdate;oe.setAttribute("data-tippy-root",""),oe.id="tippy-"+B.id,B.popper=oe,e._tippy=B,oe._tippy=B;var ge=T.map(function(Ee){return Ee.fn(B)}),Te=e.hasAttribute("aria-expanded");return dt(),vt(),Se(),He("onCreate",[B]),o.showOnCreate&&N(),oe.addEventListener("mouseenter",function(){B.props.interactive&&B.state.isVisible&&B.clearDelayTimeouts()}),oe.addEventListener("mouseleave",function(){B.props.interactive&&B.props.trigger.indexOf("mouseenter")>=0&&De().addEventListener("mousemove",V)}),B;function Ne(){var Ee=B.props.touch;return Array.isArray(Ee)?Ee:[Ee,0]}function ze(){return Ne()[0]==="hold"}function Me(){var Ee;return!!((Ee=B.props.render)!=null&&Ee.$$tippy)}function ke(){return ee||e}function De(){var Ee=ke().parentNode;return Ee?R3(Ee):document}function he(){return wf(oe)}function Le(Ee){return B.state.isMounted&&!B.state.isVisible||ti.isTouch||L&&L.type==="focus"?0:Cd(B.props.delay,Ee?0:1,Hn.delay)}function Se(Ee){Ee===void 0&&(Ee=!1),oe.style.pointerEvents=B.props.interactive&&!Ee?"":"none",oe.style.zIndex=""+B.props.zIndex}function He(Ee,qe,st){if(st===void 0&&(st=!0),ge.forEach(function(xt){xt[Ee]&&xt[Ee].apply(xt,qe)}),st){var nt;(nt=B.props)[Ee].apply(nt,qe)}}function ot(){var Ee=B.props.aria;if(!!Ee.content){var qe="aria-"+Ee.content,st=oe.id,nt=Xo(B.props.triggerTarget||e);nt.forEach(function(xt){var Ct=xt.getAttribute(qe);if(B.state.isVisible)xt.setAttribute(qe,Ct?Ct+" "+st:st);else{var Dt=Ct&&Ct.replace(st,"").trim();Dt?xt.setAttribute(qe,Dt):xt.removeAttribute(qe)}})}}function vt(){if(!(Te||!B.props.aria.expanded)){var Ee=Xo(B.props.triggerTarget||e);Ee.forEach(function(qe){B.props.interactive?qe.setAttribute("aria-expanded",B.state.isVisible&&qe===ke()?"true":"false"):qe.removeAttribute("aria-expanded")})}}function et(){De().removeEventListener("mousemove",V),Gc=Gc.filter(function(Ee){return Ee!==V})}function ne(Ee){if(!(ti.isTouch&&(z||Ee.type==="mousedown"))){var qe=Ee.composedPath&&Ee.composedPath()[0]||Ee.target;if(!(B.props.interactive&&Ox(oe,qe))){if(Xo(B.props.triggerTarget||e).some(function(st){return Ox(st,qe)})){if(ti.isTouch||B.state.isVisible&&B.props.trigger.indexOf("click")>=0)return}else He("onClickOutside",[B,Ee]);B.props.hideOnClick===!0&&(B.clearDelayTimeouts(),B.hide(),y=!0,setTimeout(function(){y=!1}),B.state.isMounted||Pe())}}}function te(){z=!0}function tt(){z=!1}function we(){var Ee=De();Ee.addEventListener("mousedown",ne,!0),Ee.addEventListener("touchend",ne,No),Ee.addEventListener("touchstart",tt,No),Ee.addEventListener("touchmove",te,No)}function Pe(){var Ee=De();Ee.removeEventListener("mousedown",ne,!0),Ee.removeEventListener("touchend",ne,No),Ee.removeEventListener("touchstart",tt,No),Ee.removeEventListener("touchmove",te,No)}function $e(Ee,qe){at(Ee,function(){!B.state.isVisible&&oe.parentNode&&oe.parentNode.contains(oe)&&qe()})}function Ge(Ee,qe){at(Ee,qe)}function at(Ee,qe){var st=he().box;function nt(xt){xt.target===st&&(Ad(st,"remove",nt),qe())}if(Ee===0)return qe();Ad(st,"remove",O),Ad(st,"add",nt),O=nt}function Ke(Ee,qe,st){st===void 0&&(st=!1);var nt=Xo(B.props.triggerTarget||e);nt.forEach(function(xt){xt.addEventListener(Ee,qe,st),Y.push({node:xt,eventType:Ee,handler:qe,options:st})})}function dt(){ze()&&(Ke("touchstart",ye,{passive:!0}),Ke("touchend",Xe,{passive:!0})),L3(B.props.trigger).forEach(function(Ee){if(Ee!=="manual")switch(Ke(Ee,ye),Ee){case"mouseenter":Ke("mouseleave",Xe);break;case"focus":Ke(Y3?"focusout":"blur",Ye);break;case"focusin":Ke("focusout",Ye);break}})}function ue(){Y.forEach(function(Ee){var qe=Ee.node,st=Ee.eventType,nt=Ee.handler,xt=Ee.options;qe.removeEventListener(st,nt,xt)}),Y=[]}function ye(Ee){var qe,st=!1;if(!(!B.state.isEnabled||Ze(Ee)||y)){var nt=((qe=L)==null?void 0:qe.type)==="focus";L=Ee,ee=Ee.currentTarget,vt(),!B.state.isVisible&&P3(Ee)&&Gc.forEach(function(xt){return xt(Ee)}),Ee.type==="click"&&(B.props.trigger.indexOf("mouseenter")<0||x)&&B.props.hideOnClick!==!1&&B.state.isVisible?st=!0:N(Ee),Ee.type==="click"&&(x=!st),st&&!nt&&$(Ee)}}function Oe(Ee){var qe=Ee.target,st=ke().contains(qe)||oe.contains(qe);if(!(Ee.type==="mousemove"&&st)){var nt=le().concat(oe).map(function(xt){var Ct,Dt=xt._tippy,Nt=(Ct=Dt.popperInstance)==null?void 0:Ct.state;return Nt?{popperRect:xt.getBoundingClientRect(),popperState:Nt,props:o}:null}).filter(Boolean);B3(nt,Ee)&&(et(),$(Ee))}}function Xe(Ee){var qe=Ze(Ee)||B.props.trigger.indexOf("click")>=0&&x;if(!qe){if(B.props.interactive){B.hideWithInteractivity(Ee);return}$(Ee)}}function Ye(Ee){B.props.trigger.indexOf("focusin")<0&&Ee.target!==ke()||B.props.interactive&&Ee.relatedTarget&&oe.contains(Ee.relatedTarget)||$(Ee)}function Ze(Ee){return ti.isTouch?ze()!==Ee.type.indexOf("touch")>=0:!1}function Ve(){xe();var Ee=B.props,qe=Ee.popperOptions,st=Ee.placement,nt=Ee.offset,xt=Ee.getReferenceClientRect,Ct=Ee.moveTransition,Dt=Me()?wf(oe).arrow:null,Nt=xt?{getBoundingClientRect:xt,contextElement:xt.contextElement||ke()}:e,Or={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function($t){var sn=$t.state;if(Me()){var Mn=he(),ln=Mn.box;["placement","reference-hidden","escaped"].forEach(function(Xr){Xr==="placement"?ln.setAttribute("data-placement",sn.placement):sn.attributes.popper["data-popper-"+Xr]?ln.setAttribute("data-"+Xr,""):ln.removeAttribute("data-"+Xr)}),sn.attributes.popper={}}}},Ut=[{name:"offset",options:{offset:nt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ct}},Or];Me()&&Dt&&Ut.push({name:"arrow",options:{element:Dt,padding:3}}),Ut.push.apply(Ut,(qe==null?void 0:qe.modifiers)||[]),B.popperInstance=S3(Nt,oe,Object.assign({},qe,{placement:st,onFirstUpdate:P,modifiers:Ut}))}function xe(){B.popperInstance&&(B.popperInstance.destroy(),B.popperInstance=null)}function me(){var Ee=B.props.appendTo,qe,st=ke();B.props.interactive&&Ee===o1||Ee==="parent"?qe=st.parentNode:qe=a1(Ee,[st]),qe.contains(oe)||qe.appendChild(oe),B.state.isMounted=!0,Ve()}function le(){return vu(oe.querySelectorAll("[data-tippy-root]"))}function N(Ee){B.clearDelayTimeouts(),Ee&&He("onTrigger",[B,Ee]),we();var qe=Le(!0),st=Ne(),nt=st[0],xt=st[1];ti.isTouch&&nt==="hold"&&xt&&(qe=xt),qe?c=setTimeout(function(){B.show()},qe):B.show()}function $(Ee){if(B.clearDelayTimeouts(),He("onUntrigger",[B,Ee]),!B.state.isVisible){Pe();return}if(!(B.props.trigger.indexOf("mouseenter")>=0&&B.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(Ee.type)>=0&&x)){var qe=Le(!1);qe?h=setTimeout(function(){B.state.isVisible&&B.hide()},qe):g=requestAnimationFrame(function(){B.hide()})}}function pe(){B.state.isEnabled=!0}function ce(){B.hide(),B.state.isEnabled=!1}function Ae(){clearTimeout(c),clearTimeout(h),cancelAnimationFrame(g)}function Be(Ee){if(!B.state.isDestroyed){He("onBeforeUpdate",[B,Ee]),ue();var qe=B.props,st=Rx(e,Object.assign({},qe,Mx(Ee),{ignoreAttributes:!0}));B.props=st,dt(),qe.interactiveDebounce!==st.interactiveDebounce&&(et(),V=Tx(Oe,st.interactiveDebounce)),qe.triggerTarget&&!st.triggerTarget?Xo(qe.triggerTarget).forEach(function(nt){nt.removeAttribute("aria-expanded")}):st.triggerTarget&&e.removeAttribute("aria-expanded"),vt(),Se(),de&&de(qe,st),B.popperInstance&&(Ve(),le().forEach(function(nt){requestAnimationFrame(nt._tippy.popperInstance.forceUpdate)})),He("onAfterUpdate",[B,Ee])}}function je(Ee){B.setProps({content:Ee})}function rt(){var Ee=B.state.isVisible,qe=B.state.isDestroyed,st=!B.state.isEnabled,nt=ti.isTouch&&!B.props.touch,xt=Cd(B.props.duration,0,Hn.duration);if(!(Ee||qe||st||nt)&&!ke().hasAttribute("disabled")&&(He("onShow",[B],!1),B.props.onShow(B)!==!1)){if(B.state.isVisible=!0,Me()&&(oe.style.visibility="visible"),Se(),we(),B.state.isMounted||(oe.style.transition="none"),Me()){var Ct=he(),Dt=Ct.box,Nt=Ct.content;Sd([Dt,Nt],0)}P=function(){var Ut;if(!(!B.state.isVisible||A)){if(A=!0,oe.offsetHeight,oe.style.transition=B.props.moveTransition,Me()&&B.props.animation){var zr=he(),$t=zr.box,sn=zr.content;Sd([$t,sn],xt),Px([$t,sn],"visible")}ot(),vt(),Fx(Dd,B),(Ut=B.popperInstance)==null||Ut.forceUpdate(),He("onMount",[B]),B.props.animation&&Me()&&Ge(xt,function(){B.state.isShown=!0,He("onShown",[B])})}},me()}}function pt(){var Ee=!B.state.isVisible,qe=B.state.isDestroyed,st=!B.state.isEnabled,nt=Cd(B.props.duration,1,Hn.duration);if(!(Ee||qe||st)&&(He("onHide",[B],!1),B.props.onHide(B)!==!1)){if(B.state.isVisible=!1,B.state.isShown=!1,A=!1,x=!1,Me()&&(oe.style.visibility="hidden"),et(),Pe(),Se(!0),Me()){var xt=he(),Ct=xt.box,Dt=xt.content;B.props.animation&&(Sd([Ct,Dt],nt),Px([Ct,Dt],"hidden"))}ot(),vt(),B.props.animation?Me()&&$e(nt,B.unmount):B.unmount()}}function gt(Ee){De().addEventListener("mousemove",V),Fx(Gc,V),V(Ee)}function At(){B.state.isVisible&&B.hide(),B.state.isMounted&&(xe(),le().forEach(function(Ee){Ee._tippy.unmount()}),oe.parentNode&&oe.parentNode.removeChild(oe),Dd=Dd.filter(function(Ee){return Ee!==B}),B.state.isMounted=!1,He("onHidden",[B]))}function kt(){B.state.isDestroyed||(B.clearDelayTimeouts(),B.unmount(),ue(),delete e._tippy,B.state.isDestroyed=!0,He("onDestroy",[B]))}}function bo(e,t){t===void 0&&(t={});var o=Hn.plugins.concat(t.plugins||[]);W3();var c=Object.assign({},t,{plugins:o}),h=I3(e),g=h.reduce(function(x,y){var z=y&&Z3(y,c);return z&&x.push(z),x},[]);return qu(e)?g[0]:g}bo.defaultProps=Hn;bo.setDefaultProps=U3;bo.currentInput=ti;var J3=Object.assign({},Gy,{effect:function(t){var o=t.state,c={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(o.elements.popper.style,c.popper),o.styles=c,o.elements.arrow&&Object.assign(o.elements.arrow.style,c.arrow)}}),Q3=function(t,o){var c;o===void 0&&(o={});var h=t,g=[],x=[],y,z=o.overrides,A=[],L=!1;function O(){x=h.map(function(B){return Xo(B.props.triggerTarget||B.reference)}).reduce(function(B,j){return B.concat(j)},[])}function P(){g=h.map(function(B){return B.reference})}function Y(B){h.forEach(function(j){B?j.enable():j.disable()})}function V(B){return h.map(function(j){var oe=j.setProps;return j.setProps=function(de){oe(de),j.reference===y&&B.setProps(de)},function(){j.setProps=oe}})}function ee(B,j){var oe=x.indexOf(j);if(j!==y){y=j;var de=(z||[]).concat("content").reduce(function(ge,Te){return ge[Te]=h[oe].props[Te],ge},{});B.setProps(Object.assign({},de,{getReferenceClientRect:typeof de.getReferenceClientRect=="function"?de.getReferenceClientRect:function(){var ge;return(ge=g[oe])==null?void 0:ge.getBoundingClientRect()}}))}}Y(!1),P(),O();var ae={fn:function(){return{onDestroy:function(){Y(!0)},onHidden:function(){y=null},onClickOutside:function(oe){oe.props.showOnCreate&&!L&&(L=!0,y=null)},onShow:function(oe){oe.props.showOnCreate&&!L&&(L=!0,ee(oe,g[0]))},onTrigger:function(oe,de){ee(oe,de.currentTarget)}}}},K=bo(Ga(),Object.assign({},E3(o,["overrides"]),{plugins:[ae].concat(o.plugins||[]),triggerTarget:x,popperOptions:Object.assign({},o.popperOptions,{modifiers:[].concat(((c=o.popperOptions)==null?void 0:c.modifiers)||[],[J3])})})),T=K.show;K.show=function(B){if(T(),!y&&B==null)return ee(K,g[0]);if(!(y&&B==null)){if(typeof B=="number")return g[B]&&ee(K,g[B]);if(h.indexOf(B)>=0){var j=B.reference;return ee(K,j)}if(g.indexOf(B)>=0)return ee(K,B)}},K.showNext=function(){var B=g[0];if(!y)return K.show(0);var j=g.indexOf(y);K.show(g[j+1]||B)},K.showPrevious=function(){var B=g[g.length-1];if(!y)return K.show(B);var j=g.indexOf(y),oe=g[j-1]||B;K.show(oe)};var re=K.setProps;return K.setProps=function(B){z=B.overrides||z,re(B)},K.setInstances=function(B){Y(!0),A.forEach(function(j){return j()}),h=B,Y(!1),P(),O(),A=V(K),K.setProps({triggerTarget:x})},A=V(K),K};bo.setDefaultProps({render:c1});const qc=Symbol("v-tippy mode"),Ed=Symbol("v-tippy instance");function Hx(e){return typeof e=="string"?{content:e}:typeof e>"u"?{}:e}const e4={mounted(e,t){t.value===void 0?(e[qc]="target",e.dataset.tippyTarget=t.arg||""):(e[qc]="inline",e[Ed]=bo(e,Hx(t.value)))},beforeUnmount(e){if(e[qc]==="inline"){let t=e[Ed];t&&t.destroy()}else delete e.dataset.tippyTarget},updated(e,t){if(e[qc]==="inline"){let o=e[Ed];o&&o.setProps(Hx(t.value))}}},u1={mount:e=>!0,show:e=>!0,shown:e=>!0,hidden:e=>!0,hide:e=>!0,trigger:(e,t)=>!0,untrigger:(e,t)=>!0};function Ku(e,t,o){return{props:{[e]:{type:t||null,required:!1,default:o}},build(c,h){c[e].value!==void 0&&(h[e]=c[e].value)}}}function h1(e,t,o,c,h){const g=o;let x=Il(e);const y=It(()=>{const z={};for(const A of t){let L=A.build;L&&L(x,z)}return z.onShow=Io(A=>g.emit("show",A),h&&h.onShow,z.onShow),z.onShown=Io(A=>g.emit("shown",A),h&&h.onShown,z.onShown),z.onHidden=Io(A=>g.emit("hidden",A),h&&h.onHidden,z.onHidden),z.onHide=Io(A=>g.emit("hide",A),h&&h.onHide,z.onHide),z.onMount=Io(A=>g.emit("mount",A),h&&h.onMount,z.onMount),z.onTrigger=Io((A,L)=>g.emit("trigger",A,L),h&&h.onTrigger,z.onTrigger),z.onUntrigger=Io((A,L)=>g.emit("untrigger",A,L),h&&h.onUntrigger,z.onUntrigger),z});for(const z of t){let A=z.setup;A&&A(x,c)}return er(y,z=>{c.value&&c.value.setProps(z)},{deep:!0}),{tippyOptions:y}}function Io(...e){return(...t)=>{let o;for(let c of e)c&&(o=c(...t));return o}}const d1={props:{extra:{type:Object,required:!1}},build(e,t){Object.assign(t,e.extra.value||{})}},f1={props:{enabled:{type:Boolean,required:!1,default:!0}},setup(e,t){er(e.enabled,o=>{!t.value||(o?t.value.enable():(t.value.hide(),t.value.disable()))})}},p1=Ku("placement",String,"top"),m1=Ku("interactive",Boolean),g1=Ku("hideOnClick",Boolean),v1={props:{onBody:{type:Boolean,required:!1}},build(e,t){e.onBody.value===!0&&(t.appendTo=()=>document.body)}},x1={props:{trigger:{type:String,required:!1}},build(e,t){e.trigger.value&&(t.trigger=e.trigger.value,e.trigger.value==="manual"&&t.hideOnClick===void 0&&(t.hideOnClick=!1))}},t4=/^([0-9]+)$|^([0-9]+|-)\s*,\s*([0-9]+|-)$/;function Wx(e){if(typeof e=="string"){let t=e.match(t4);return t?t[1]?parseFloat(t[1]):[t[2]==="-"?null:parseFloat(t[2]),t[3]==="-"?null:parseFloat(t[3])]:void 0}else return e}const b1={props:{delay:{type:[String,Number,Array],required:!1,validator(e){return Wx(e)!==void 0}}},build(e,t){e.delay.value!==void 0&&(t.delay=Wx(e.delay.value))}},r4={props:{visible:{type:Boolean,required:!1}},setup(e,t){er(e.visible,o=>{!t.value||e.trigger&&e.trigger.value!=="manual"||(o?t.value.show():t.value.hide())})}},n4={props:{overrides:{type:Array,required:!1}},build(e,t){const o=t;o.overrides=(o.overrides||[]).concat(e.overrides.value||[])}},i4=Ku("moveTransition",String),y1=[r4,f1,p1,v1,m1,x1,g1,b1,d1],o4={target:{type:String,required:!1,default:""},deepSearch:{type:Boolean,required:!1,default:!1},singleton:{type:String,required:!1,default:null},eager:{type:Boolean,required:!1,default:!1}};function w1(...e){let t={};for(const o of e)Object.assign(t,o.props);return hr({props:{...o4,...t},emits:{attach:o=>!0,...u1},render(){return Bi("div",{"tippy-missing-target":this.tippyTargetMissing?"":void 0},(this.$props.eager||this.singletonInstance||this.shouldRenderContent)&&this.$slots.default?this.$slots.default():[])},setup(o,c){const h=Ft(),g=Ft(),x=Ft(!1),y=Ft(!1),{tippyOptions:z}=h1(o,e,c,h,{onShow(){y.value=!0},onHidden(){y.value=!1}});return{tip:h,tippyOptions:z,singletonInstance:g,tippyTargetMissing:x,shouldRenderContent:y}},methods:{attach(){if(this.tip){const c=this.tip;this.tip=void 0,this.singletonInstance&&(this.singletonInstance.remove(c),this.singletonInstance=void 0),c.destroy()}let o;if(this.target==="_parent")o=this.$el.parentElement;else if(this.deepSearch)o=this.$el.parentElement.querySelector(`[data-tippy-target="${this.target}"]`);else{const c=this.target;o=Xx(this.$el,{test(h){let g=h;return g&&g.dataset&&g.dataset.tippyTarget===c}})}if(this.tippyTargetMissing=!o,!o)throw new Error(`Unable to find tippy target named '${this.target}'`);if(this.singleton!=null){const c=this.singleton,h=Xx(this.$el,{test(g){let x=g;return x&&x.dataset&&x.dataset.tippySingleton===c},recurse:!0});this.singletonInstance=h?h._tippySingleton:void 0}else this.singletonInstance=void 0;if(this.tip=bo(o,this.tippyOptions),!this.tip)throw new Error("Unable to create tippy instance");this.tip.setContent(this.$el),this.singletonInstance&&this.singletonInstance.add(this.tip),this.enabled===!1&&this.tip.disable(),this.trigger==="manual"&&this.visible===!0&&this.tip.show(),this.$emit("attach",this.tip)}},async mounted(){await fi(),this.attach()},beforeUnmount(){this.tip&&this.tip.destroy()}})}function Xx(e,t){let o=null,c=e;do o=a4(c,t.test,t.selftest===void 0?!1:t.selftest),c=c.parentElement;while(t.recurse&&c&&!o);return o}function a4(e,t,o){if(o&&t(e))return e;for(let c=e.previousElementSibling;c;c=c.previousElementSibling)if(t(c))return c;for(let c=e.nextElementSibling;c;c=c.nextElementSibling)if(t(c))return c;return null}const _1=[n4,i4,f1,p1,v1,m1,x1,g1,b1,d1],s4={name:{type:String,required:!1,default:""}};function z1(...e){let t={};for(const o of e)Object.assign(t,o.props);return hr({props:{...s4,...t},emits:{add:o=>!0,remove:o=>!0,...u1},render(){return Bi("div",{style:"display: none;","data-tippy-singleton":this.name},[])},setup(o,c){const h=Ft(),{tippyOptions:g}=h1(o,e,c,h),x=Ft([]);return{tippyOptions:g,instances:x,singleton:h}},mounted(){this.$el._tippySingleton=this,this.singleton=Q3(this.instances,this.tippyOptions),this.enabled===!1&&this.singleton.disable()},beforeUnmount(){this.singleton&&this.singleton.destroy()},methods:{remove(o){const c=this.instances.indexOf(o);c!==-1&&(this.instances.splice(c,1),this.$emit("remove",o),this.singleton&&this.singleton.setInstances(this.instances))},add(o){this.instances.indexOf(o)===-1&&(this.instances.push(o),this.$emit("add",o),this.singleton&&this.singleton.setInstances(this.instances))}}})}function l4(e,t){t&&t.tippyDefaults&&bo.setDefaultProps(t.tippyDefaults),e.directive("tippy",e4),e.component("tippy",w1(...t&&t.tippyProps||y1)),e.component("tippy-singleton",z1(...t&&t.tippySingletonProps||_1))}const c4={install:l4};w1(...y1);z1(..._1);/*!
  710. * maska v1.5.0
  711. * (c) 2019-2021 Alexander Shabunevich
  712. * Released under the MIT License.
  713. */function u4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h4(e,t){for(var o=0;o<t.length;o++){var c=t[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function d4(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Yx(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(h){return Object.getOwnPropertyDescriptor(e,h).enumerable})),o.push.apply(o,c)}return o}function tu(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Yx(Object(o),!0).forEach(function(c){d4(e,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Yx(Object(o)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(o,c))})}return e}var k1={"#":{pattern:/[0-9]/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,uppercase:!0},a:{pattern:/[a-zA-Z]/,lowercase:!0},"!":{escape:!0},"*":{repeat:!0}};function jx(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:k1,c=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];return C1(t).length>1?f4(t)(e,t,o,c):_f(e,t,o,c)}function C1(e){try{return JSON.parse(e)}catch{return[e]}}function f4(e){var t=C1(e).sort(function(c,h){return c.length-h.length});return function(c,h,g){var x=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],y=t.map(function(L){return _f(c,L,g,!1)}),z=y.pop();for(var A in t)if(o(z,t[A],g))return _f(c,t[A],g,x);return""};function o(c,h,g){for(var x in g)g[x].escape&&(h=h.replace(new RegExp(x+".{1}","g"),""));return h.split("").filter(function(y){return g[y]&&g[y].pattern}).length>=c.length}}function _f(e,t,o){for(var c=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],h=0,g=0,x="",y="";h<t.length&&g<e.length;){var z=t[h],A=e[g],L=o[z];if(L&&L.pattern)L.pattern.test(A)&&(x+=p4(A,L),h++,c&&t[h]&&(o[t[h]]?o[t[h]]&&o[t[h]].escape&&(x+=t[h+1],h+=2):(x+=t[h],h++))),g++;else if(L&&L.repeat){var O=o[t[h-1]];O&&!O.pattern.test(A)?h++:h--}else L&&L.escape&&(z=t[++h]),c&&(x+=z),A===z&&g++,h++}for(;c&&h<t.length;){var P=t[h];if(o[P]){y="";break}y+=P,h++}return x+y}function p4(e,t){return t.transform&&(e=t.transform(e)),t.uppercase?e.toLocaleUpperCase():t.lowercase?e.toLocaleLowerCase():e}function $x(e){return e instanceof HTMLInputElement?e:e.querySelector("input")||e}function zf(e){return Object.prototype.toString.call(e)==="[object String]"}var m4=function(){function e(c){var h=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(u4(this,e),!c)throw new Error("Maska: no element for mask");if(g.preprocessor!=null&&typeof g.preprocessor!="function")throw new Error("Maska: preprocessor must be a function");if(g.tokens)for(var x in g.tokens)g.tokens[x]=tu({},g.tokens[x]),g.tokens[x].pattern&&zf(g.tokens[x].pattern)&&(g.tokens[x].pattern=new RegExp(g.tokens[x].pattern));this._opts={mask:g.mask,tokens:tu(tu({},k1),g.tokens),preprocessor:g.preprocessor},this._el=zf(c)?document.querySelectorAll(c):c.length?c:[c],this.inputEvent=function(y){return h.updateValue(y.target,y)},this.init()}var t,o;return t=e,(o=[{key:"init",value:function(){for(var c=this,h=function(x){var y=$x(c._el[x]);!c._opts.mask||y.dataset.mask&&y.dataset.mask===c._opts.mask||(y.dataset.mask=c._opts.mask),setTimeout(function(){return c.updateValue(y)},0),y.dataset.maskInited||(y.dataset.maskInited=!0,y.addEventListener("input",c.inputEvent),y.addEventListener("beforeinput",c.beforeInput))},g=0;g<this._el.length;g++)h(g)}},{key:"destroy",value:function(){for(var c=0;c<this._el.length;c++){var h=$x(this._el[c]);h.removeEventListener("input",this.inputEvent),h.removeEventListener("beforeinput",this.beforeInput),delete h.dataset.mask,delete h.dataset.maskInited}}},{key:"updateValue",value:function(c,h){if(c&&c.type){var g=c.type.match(/^number$/i)&&c.validity.badInput;if(!c.value&&!g||!c.dataset.mask)return c.dataset.maskRawValue="",void this.dispatch("maska",c,h);var x=c.selectionEnd,y=c.value,z=y[x-1];c.dataset.maskRawValue=jx(c.value,c.dataset.mask,this._opts.tokens,!1);var A=c.value;this._opts.preprocessor&&(A=this._opts.preprocessor(A)),c.value=jx(A,c.dataset.mask,this._opts.tokens),h&&h.inputType==="insertText"&&x===y.length&&(x=c.value.length),function(L,O,P){for(;O&&O<L.value.length&&L.value.charAt(O-1)!==P;)O++;(L.type?L.type.match(/^(text|search|password|tel|url)$/i):!L.type)&&L===document.activeElement&&(L.setSelectionRange(O,O),setTimeout(function(){L.setSelectionRange(O,O)},0))}(c,x,z),this.dispatch("maska",c,h),c.value!==y&&this.dispatch("input",c,h)}}},{key:"beforeInput",value:function(c){c&&c.target&&c.target.type&&c.target.type.match(/^number$/i)&&c.data&&isNaN(c.target.value+c.data)&&c.preventDefault()}},{key:"dispatch",value:function(c,h,g){h.dispatchEvent(function(x){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,z=document.createEvent("Event");return z.initEvent(x,!0,!0),y&&(z.inputType=y),z}(c,g&&g.inputType||null))}}])&&h4(t.prototype,o),e}(),Ld,g4=(Ld=new WeakMap,function(e,t){t.value&&(Ld.has(e)&&!function(o){return!(zf(o.value)&&o.value===o.oldValue||Array.isArray(o.value)&&JSON.stringify(o.value)===JSON.stringify(o.oldValue)||o.value&&o.value.mask&&o.oldValue&&o.oldValue.mask&&o.value.mask===o.oldValue.mask)}(t)||Ld.set(e,new m4(e,function(o){var c={};return o.mask?(c.mask=Array.isArray(o.mask)?JSON.stringify(o.mask):o.mask,c.tokens=o.tokens?tu({},o.tokens):{},c.preprocessor=o.preprocessor):c.mask=Array.isArray(o)?JSON.stringify(o):o,c}(t.value))))});function S1(e){e.directive("maska",g4)}typeof window<"u"&&window.Vue&&window.Vue.use&&window.Vue.use(S1);var an={exports:{}};(function(e,t){(function(o,c){e.exports=c()})(uf,function(){var o=navigator.userAgent,c=navigator.platform,h=/gecko\/\d/i.test(o),g=/MSIE \d/.test(o),x=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(o),y=/Edge\/(\d+)/.exec(o),z=g||x||y,A=z&&(g?document.documentMode||6:+(y||x)[1]),L=!y&&/WebKit\//.test(o),O=L&&/Qt\/\d+\.\d+/.test(o),P=!y&&/Chrome\/(\d+)/.exec(o),Y=P&&+P[1],V=/Opera\//.test(o),ee=/Apple Computer/.test(navigator.vendor),ae=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(o),K=/PhantomJS/.test(o),T=ee&&(/Mobile\/\w+/.test(o)||navigator.maxTouchPoints>2),re=/Android/.test(o),B=T||re||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(o),j=T||/Mac/.test(c),oe=/\bCrOS\b/.test(o),de=/win/i.test(c),ge=V&&o.match(/Version\/(\d*\.\d*)/);ge&&(ge=Number(ge[1])),ge&&ge>=15&&(V=!1,L=!0);var Te=j&&(O||V&&(ge==null||ge<12.11)),Ne=h||z&&A>=9;function ze(i){return new RegExp("(^|\\s)"+i+"(?:$|\\s)\\s*")}var Me=function(i,s){var m=i.className,f=ze(s).exec(m);if(f){var v=m.slice(f.index+f[0].length);i.className=m.slice(0,f.index)+(v?f[1]+v:"")}};function ke(i){for(var s=i.childNodes.length;s>0;--s)i.removeChild(i.firstChild);return i}function De(i,s){return ke(i).appendChild(s)}function he(i,s,m,f){var v=document.createElement(i);if(m&&(v.className=m),f&&(v.style.cssText=f),typeof s=="string")v.appendChild(document.createTextNode(s));else if(s)for(var S=0;S<s.length;++S)v.appendChild(s[S]);return v}function Le(i,s,m,f){var v=he(i,s,m,f);return v.setAttribute("role","presentation"),v}var Se;document.createRange?Se=function(i,s,m,f){var v=document.createRange();return v.setEnd(f||i,m),v.setStart(i,s),v}:Se=function(i,s,m){var f=document.body.createTextRange();try{f.moveToElementText(i.parentNode)}catch{return f}return f.collapse(!0),f.moveEnd("character",m),f.moveStart("character",s),f};function He(i,s){if(s.nodeType==3&&(s=s.parentNode),i.contains)return i.contains(s);do if(s.nodeType==11&&(s=s.host),s==i)return!0;while(s=s.parentNode)}function ot(i){var s;try{s=i.activeElement}catch{s=i.body||null}for(;s&&s.shadowRoot&&s.shadowRoot.activeElement;)s=s.shadowRoot.activeElement;return s}function vt(i,s){var m=i.className;ze(s).test(m)||(i.className+=(m?" ":"")+s)}function et(i,s){for(var m=i.split(" "),f=0;f<m.length;f++)m[f]&&!ze(m[f]).test(s)&&(s+=" "+m[f]);return s}var ne=function(i){i.select()};T?ne=function(i){i.selectionStart=0,i.selectionEnd=i.value.length}:z&&(ne=function(i){try{i.select()}catch{}});function te(i){return i.display.wrapper.ownerDocument}function tt(i){return te(i).defaultView}function we(i){var s=Array.prototype.slice.call(arguments,1);return function(){return i.apply(null,s)}}function Pe(i,s,m){s||(s={});for(var f in i)i.hasOwnProperty(f)&&(m!==!1||!s.hasOwnProperty(f))&&(s[f]=i[f]);return s}function $e(i,s,m,f,v){s==null&&(s=i.search(/[^\s\u00a0]/),s==-1&&(s=i.length));for(var S=f||0,M=v||0;;){var I=i.indexOf(" ",S);if(I<0||I>=s)return M+(s-S);M+=I-S,M+=m-M%m,S=I+1}}var Ge=function(){this.id=null,this.f=null,this.time=0,this.handler=we(this.onTimeout,this)};Ge.prototype.onTimeout=function(i){i.id=0,i.time<=+new Date?i.f():setTimeout(i.handler,i.time-+new Date)},Ge.prototype.set=function(i,s){this.f=s;var m=+new Date+i;(!this.id||m<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,i),this.time=m)};function at(i,s){for(var m=0;m<i.length;++m)if(i[m]==s)return m;return-1}var Ke=50,dt={toString:function(){return"CodeMirror.Pass"}},ue={scroll:!1},ye={origin:"*mouse"},Oe={origin:"+move"};function Xe(i,s,m){for(var f=0,v=0;;){var S=i.indexOf(" ",f);S==-1&&(S=i.length);var M=S-f;if(S==i.length||v+M>=s)return f+Math.min(M,s-v);if(v+=S-f,v+=m-v%m,f=S+1,v>=s)return f}}var Ye=[""];function Ze(i){for(;Ye.length<=i;)Ye.push(Ve(Ye)+" ");return Ye[i]}function Ve(i){return i[i.length-1]}function xe(i,s){for(var m=[],f=0;f<i.length;f++)m[f]=s(i[f],f);return m}function me(i,s,m){for(var f=0,v=m(s);f<i.length&&m(i[f])<=v;)f++;i.splice(f,0,s)}function le(){}function N(i,s){var m;return Object.create?m=Object.create(i):(le.prototype=i,m=new le),s&&Pe(s,m),m}var $=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function pe(i){return/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||$.test(i))}function ce(i,s){return s?s.source.indexOf("\\w")>-1&&pe(i)?!0:s.test(i):pe(i)}function Ae(i){for(var s in i)if(i.hasOwnProperty(s)&&i[s])return!1;return!0}var Be=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function je(i){return i.charCodeAt(0)>=768&&Be.test(i)}function rt(i,s,m){for(;(m<0?s>0:s<i.length)&&je(i.charAt(s));)s+=m;return s}function pt(i,s,m){for(var f=s>m?-1:1;;){if(s==m)return s;var v=(s+m)/2,S=f<0?Math.ceil(v):Math.floor(v);if(S==s)return i(S)?s:m;i(S)?m=S:s=S+f}}function gt(i,s,m,f){if(!i)return f(s,m,"ltr",0);for(var v=!1,S=0;S<i.length;++S){var M=i[S];(M.from<m&&M.to>s||s==m&&M.to==s)&&(f(Math.max(M.from,s),Math.min(M.to,m),M.level==1?"rtl":"ltr",S),v=!0)}v||f(s,m,"ltr")}var At=null;function kt(i,s,m){var f;At=null;for(var v=0;v<i.length;++v){var S=i[v];if(S.from<s&&S.to>s)return v;S.to==s&&(S.from!=S.to&&m=="before"?f=v:At=v),S.from==s&&(S.from!=S.to&&m!="before"?f=v:At=v)}return f!=null?f:At}var Ee=function(){var i="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",s="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function m(q){return q<=247?i.charAt(q):1424<=q&&q<=1524?"R":1536<=q&&q<=1785?s.charAt(q-1536):1774<=q&&q<=2220?"r":8192<=q&&q<=8203?"w":q==8204?"b":"L"}var f=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,v=/[stwN]/,S=/[LRr]/,M=/[Lb1n]/,I=/[1n]/;function X(q,fe,ve){this.level=q,this.from=fe,this.to=ve}return function(q,fe){var ve=fe=="ltr"?"L":"R";if(q.length==0||fe=="ltr"&&!f.test(q))return!1;for(var Fe=q.length,Ce=[],We=0;We<Fe;++We)Ce.push(m(q.charCodeAt(We)));for(var Ue=0,it=ve;Ue<Fe;++Ue){var ct=Ce[Ue];ct=="m"?Ce[Ue]=it:it=ct}for(var ht=0,ut=ve;ht<Fe;++ht){var mt=Ce[ht];mt=="1"&&ut=="r"?Ce[ht]="n":S.test(mt)&&(ut=mt,mt=="r"&&(Ce[ht]="R"))}for(var _t=1,bt=Ce[0];_t<Fe-1;++_t){var Lt=Ce[_t];Lt=="+"&&bt=="1"&&Ce[_t+1]=="1"?Ce[_t]="1":Lt==","&&bt==Ce[_t+1]&&(bt=="1"||bt=="n")&&(Ce[_t]=bt),bt=Lt}for(var Gt=0;Gt<Fe;++Gt){var br=Ce[Gt];if(br==",")Ce[Gt]="N";else if(br=="%"){var tr=void 0;for(tr=Gt+1;tr<Fe&&Ce[tr]=="%";++tr);for(var Jr=Gt&&Ce[Gt-1]=="!"||tr<Fe&&Ce[tr]=="1"?"1":"N",$r=Gt;$r<tr;++$r)Ce[$r]=Jr;Gt=tr-1}}for(var cr=0,Vr=ve;cr<Fe;++cr){var Cr=Ce[cr];Vr=="L"&&Cr=="1"?Ce[cr]="L":S.test(Cr)&&(Vr=Cr)}for(var dr=0;dr<Fe;++dr)if(v.test(Ce[dr])){var ur=void 0;for(ur=dr+1;ur<Fe&&v.test(Ce[ur]);++ur);for(var ir=(dr?Ce[dr-1]:ve)=="L",Ur=(ur<Fe?Ce[ur]:ve)=="L",La=ir==Ur?ir?"L":"R":ve,Ui=dr;Ui<ur;++Ui)Ce[Ui]=La;dr=ur-1}for(var Fr=[],Zn,yr=0;yr<Fe;)if(M.test(Ce[yr])){var sd=yr;for(++yr;yr<Fe&&M.test(Ce[yr]);++yr);Fr.push(new X(0,sd,yr))}else{var zi=yr,Fo=Fr.length,Mo=fe=="rtl"?1:0;for(++yr;yr<Fe&&Ce[yr]!="L";++yr);for(var Rr=zi;Rr<yr;)if(I.test(Ce[Rr])){zi<Rr&&(Fr.splice(Fo,0,new X(1,zi,Rr)),Fo+=Mo);var Ta=Rr;for(++Rr;Rr<yr&&I.test(Ce[Rr]);++Rr);Fr.splice(Fo,0,new X(2,Ta,Rr)),Fo+=Mo,zi=Rr}else++Rr;zi<yr&&Fr.splice(Fo,0,new X(1,zi,yr))}return fe=="ltr"&&(Fr[0].level==1&&(Zn=q.match(/^\s+/))&&(Fr[0].from=Zn[0].length,Fr.unshift(new X(0,0,Zn[0].length))),Ve(Fr).level==1&&(Zn=q.match(/\s+$/))&&(Ve(Fr).to-=Zn[0].length,Fr.push(new X(0,Fe-Zn[0].length,Fe)))),fe=="rtl"?Fr.reverse():Fr}}();function qe(i,s){var m=i.order;return m==null&&(m=i.order=Ee(i.text,s)),m}var st=[],nt=function(i,s,m){if(i.addEventListener)i.addEventListener(s,m,!1);else if(i.attachEvent)i.attachEvent("on"+s,m);else{var f=i._handlers||(i._handlers={});f[s]=(f[s]||st).concat(m)}};function xt(i,s){return i._handlers&&i._handlers[s]||st}function Ct(i,s,m){if(i.removeEventListener)i.removeEventListener(s,m,!1);else if(i.detachEvent)i.detachEvent("on"+s,m);else{var f=i._handlers,v=f&&f[s];if(v){var S=at(v,m);S>-1&&(f[s]=v.slice(0,S).concat(v.slice(S+1)))}}}function Dt(i,s){var m=xt(i,s);if(!!m.length)for(var f=Array.prototype.slice.call(arguments,2),v=0;v<m.length;++v)m[v].apply(null,f)}function Nt(i,s,m){return typeof s=="string"&&(s={type:s,preventDefault:function(){this.defaultPrevented=!0}}),Dt(i,m||s.type,i,s),Mn(s)||s.codemirrorIgnore}function Or(i){var s=i._handlers&&i._handlers.cursorActivity;if(!!s)for(var m=i.curOp.cursorActivityHandlers||(i.curOp.cursorActivityHandlers=[]),f=0;f<s.length;++f)at(m,s[f])==-1&&m.push(s[f])}function Ut(i,s){return xt(i,s).length>0}function zr(i){i.prototype.on=function(s,m){nt(this,s,m)},i.prototype.off=function(s,m){Ct(this,s,m)}}function $t(i){i.preventDefault?i.preventDefault():i.returnValue=!1}function sn(i){i.stopPropagation?i.stopPropagation():i.cancelBubble=!0}function Mn(i){return i.defaultPrevented!=null?i.defaultPrevented:i.returnValue==!1}function ln(i){$t(i),sn(i)}function Xr(i){return i.target||i.srcElement}function yn(i){var s=i.which;return s==null&&(i.button&1?s=1:i.button&2?s=3:i.button&4&&(s=2)),j&&i.ctrlKey&&s==1&&(s=3),s}var vi=function(){if(z&&A<9)return!1;var i=he("div");return"draggable"in i||"dragDrop"in i}(),zo;function vh(i){if(zo==null){var s=he("span","\u200B");De(i,he("span",[s,document.createTextNode("x")])),i.firstChild.offsetHeight!=0&&(zo=s.offsetWidth<=1&&s.offsetHeight>2&&!(z&&A<8))}var m=zo?he("span","\u200B"):he("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return m.setAttribute("cm-text",""),m}var hs;function xh(i){if(hs!=null)return hs;var s=De(i,document.createTextNode("A\u062EA")),m=Se(s,0,1).getBoundingClientRect(),f=Se(s,1,2).getBoundingClientRect();return ke(i),!m||m.left==m.right?!1:hs=f.right-m.right<3}var ca=`
  714. b`.split(/\n/).length!=3?function(i){for(var s=0,m=[],f=i.length;s<=f;){var v=i.indexOf(`
  715. `,s);v==-1&&(v=i.length);var S=i.slice(s,i.charAt(v-1)=="\r"?v-1:v),M=S.indexOf("\r");M!=-1?(m.push(S.slice(0,M)),s+=M+1):(m.push(S),s=v+1)}return m}:function(i){return i.split(/\r\n?|\n/)},Gl=window.getSelection?function(i){try{return i.selectionStart!=i.selectionEnd}catch{return!1}}:function(i){var s;try{s=i.ownerDocument.selection.createRange()}catch{}return!s||s.parentElement()!=i?!1:s.compareEndPoints("StartToEnd",s)!=0},ds=function(){var i=he("div");return"oncopy"in i?!0:(i.setAttribute("oncopy","return;"),typeof i.oncopy=="function")}(),fs=null;function J(i){if(fs!=null)return fs;var s=De(i,he("span","x")),m=s.getBoundingClientRect(),f=Se(s,0,1).getBoundingClientRect();return fs=Math.abs(m.left-f.left)>1}var r={},n={};function a(i,s){arguments.length>2&&(s.dependencies=Array.prototype.slice.call(arguments,2)),r[i]=s}function l(i,s){n[i]=s}function u(i){if(typeof i=="string"&&n.hasOwnProperty(i))i=n[i];else if(i&&typeof i.name=="string"&&n.hasOwnProperty(i.name)){var s=n[i.name];typeof s=="string"&&(s={name:s}),i=N(s,i),i.name=s.name}else{if(typeof i=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(i))return u("application/xml");if(typeof i=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(i))return u("application/json")}return typeof i=="string"?{name:i}:i||{name:"null"}}function p(i,s){s=u(s);var m=r[s.name];if(!m)return p(i,"text/plain");var f=m(i,s);if(d.hasOwnProperty(s.name)){var v=d[s.name];for(var S in v)!v.hasOwnProperty(S)||(f.hasOwnProperty(S)&&(f["_"+S]=f[S]),f[S]=v[S])}if(f.name=s.name,s.helperType&&(f.helperType=s.helperType),s.modeProps)for(var M in s.modeProps)f[M]=s.modeProps[M];return f}var d={};function b(i,s){var m=d.hasOwnProperty(i)?d[i]:d[i]={};Pe(s,m)}function w(i,s){if(s===!0)return s;if(i.copyState)return i.copyState(s);var m={};for(var f in s){var v=s[f];v instanceof Array&&(v=v.concat([])),m[f]=v}return m}function k(i,s){for(var m;i.innerMode&&(m=i.innerMode(s),!(!m||m.mode==i));)s=m.state,i=m.mode;return m||{mode:i,state:s}}function C(i,s,m){return i.startState?i.startState(s,m):!0}var E=function(i,s,m){this.pos=this.start=0,this.string=i,this.tabSize=s||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=m};E.prototype.eol=function(){return this.pos>=this.string.length},E.prototype.sol=function(){return this.pos==this.lineStart},E.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},E.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},E.prototype.eat=function(i){var s=this.string.charAt(this.pos),m;if(typeof i=="string"?m=s==i:m=s&&(i.test?i.test(s):i(s)),m)return++this.pos,s},E.prototype.eatWhile=function(i){for(var s=this.pos;this.eat(i););return this.pos>s},E.prototype.eatSpace=function(){for(var i=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>i},E.prototype.skipToEnd=function(){this.pos=this.string.length},E.prototype.skipTo=function(i){var s=this.string.indexOf(i,this.pos);if(s>-1)return this.pos=s,!0},E.prototype.backUp=function(i){this.pos-=i},E.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=$e(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?$e(this.string,this.lineStart,this.tabSize):0)},E.prototype.indentation=function(){return $e(this.string,null,this.tabSize)-(this.lineStart?$e(this.string,this.lineStart,this.tabSize):0)},E.prototype.match=function(i,s,m){if(typeof i=="string"){var f=function(M){return m?M.toLowerCase():M},v=this.string.substr(this.pos,i.length);if(f(v)==f(i))return s!==!1&&(this.pos+=i.length),!0}else{var S=this.string.slice(this.pos).match(i);return S&&S.index>0?null:(S&&s!==!1&&(this.pos+=S[0].length),S)}},E.prototype.current=function(){return this.string.slice(this.start,this.pos)},E.prototype.hideFirstChars=function(i,s){this.lineStart+=i;try{return s()}finally{this.lineStart-=i}},E.prototype.lookAhead=function(i){var s=this.lineOracle;return s&&s.lookAhead(i)},E.prototype.baseToken=function(){var i=this.lineOracle;return i&&i.baseToken(this.pos)};function F(i,s){if(s-=i.first,s<0||s>=i.size)throw new Error("There is no line "+(s+i.first)+" in the document.");for(var m=i;!m.lines;)for(var f=0;;++f){var v=m.children[f],S=v.chunkSize();if(s<S){m=v;break}s-=S}return m.lines[s]}function H(i,s,m){var f=[],v=s.line;return i.iter(s.line,m.line+1,function(S){var M=S.text;v==m.line&&(M=M.slice(0,m.ch)),v==s.line&&(M=M.slice(s.ch)),f.push(M),++v}),f}function W(i,s,m){var f=[];return i.iter(s,m,function(v){f.push(v.text)}),f}function U(i,s){var m=s-i.height;if(m)for(var f=i;f;f=f.parent)f.height+=m}function Z(i){if(i.parent==null)return null;for(var s=i.parent,m=at(s.lines,i),f=s.parent;f;s=f,f=f.parent)for(var v=0;f.children[v]!=s;++v)m+=f.children[v].chunkSize();return m+s.first}function ie(i,s){var m=i.first;e:do{for(var f=0;f<i.children.length;++f){var v=i.children[f],S=v.height;if(s<S){i=v;continue e}s-=S,m+=v.chunkSize()}return m}while(!i.lines);for(var M=0;M<i.lines.length;++M){var I=i.lines[M],X=I.height;if(s<X)break;s-=X}return m+M}function se(i,s){return s>=i.first&&s<i.first+i.size}function _(i,s){return String(i.lineNumberFormatter(s+i.firstLineNumber))}function D(i,s,m){if(m===void 0&&(m=null),!(this instanceof D))return new D(i,s,m);this.line=i,this.ch=s,this.sticky=m}function R(i,s){return i.line-s.line||i.ch-s.ch}function Q(i,s){return i.sticky==s.sticky&&R(i,s)==0}function be(i){return D(i.line,i.ch)}function Re(i,s){return R(i,s)<0?s:i}function _e(i,s){return R(i,s)<0?i:s}function Qe(i,s){return Math.max(i.first,Math.min(s,i.first+i.size-1))}function Ie(i,s){if(s.line<i.first)return D(i.first,0);var m=i.first+i.size-1;return s.line>m?D(m,F(i,m).text.length):lt(s,F(i,s.line).text.length)}function lt(i,s){var m=i.ch;return m==null||m>s?D(i.line,s):m<0?D(i.line,0):i}function wt(i,s){for(var m=[],f=0;f<s.length;f++)m[f]=Ie(i,s[f]);return m}var Xt=function(i,s){this.state=i,this.lookAhead=s},Et=function(i,s,m,f){this.state=s,this.doc=i,this.line=m,this.maxLookAhead=f||0,this.baseTokens=null,this.baseTokenPos=1};Et.prototype.lookAhead=function(i){var s=this.doc.getLine(this.line+i);return s!=null&&i>this.maxLookAhead&&(this.maxLookAhead=i),s},Et.prototype.baseToken=function(i){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=i;)this.baseTokenPos+=2;var s=this.baseTokens[this.baseTokenPos+1];return{type:s&&s.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-i}},Et.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Et.fromSaved=function(i,s,m){return s instanceof Xt?new Et(i,w(i.mode,s.state),m,s.lookAhead):new Et(i,w(i.mode,s),m)},Et.prototype.save=function(i){var s=i!==!1?w(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Xt(s,this.maxLookAhead):s};function mr(i,s,m,f){var v=[i.state.modeGen],S={};Lr(i,s.text,i.doc.mode,m,function(q,fe){return v.push(q,fe)},S,f);for(var M=m.state,I=function(q){m.baseTokens=v;var fe=i.state.overlays[q],ve=1,Fe=0;m.state=!0,Lr(i,s.text,fe.mode,m,function(Ce,We){for(var Ue=ve;Fe<Ce;){var it=v[ve];it>Ce&&v.splice(ve,1,Ce,v[ve+1],it),ve+=2,Fe=Math.min(Ce,it)}if(!!We)if(fe.opaque)v.splice(Ue,ve-Ue,Ce,"overlay "+We),ve=Ue+2;else for(;Ue<ve;Ue+=2){var ct=v[Ue+1];v[Ue+1]=(ct?ct+" ":"")+"overlay "+We}},S),m.state=M,m.baseTokens=null,m.baseTokenPos=1},X=0;X<i.state.overlays.length;++X)I(X);return{styles:v,classes:S.bgClass||S.textClass?S:null}}function Dr(i,s,m){if(!s.styles||s.styles[0]!=i.state.modeGen){var f=Er(i,Z(s)),v=s.text.length>i.options.maxHighlightLength&&w(i.doc.mode,f.state),S=mr(i,s,f);v&&(f.state=v),s.stateAfter=f.save(!v),s.styles=S.styles,S.classes?s.styleClasses=S.classes:s.styleClasses&&(s.styleClasses=null),m===i.doc.highlightFrontier&&(i.doc.modeFrontier=Math.max(i.doc.modeFrontier,++i.doc.highlightFrontier))}return s.styles}function Er(i,s,m){var f=i.doc,v=i.display;if(!f.mode.startState)return new Et(f,!0,s);var S=kr(i,s,m),M=S>f.first&&F(f,S-1).stateAfter,I=M?Et.fromSaved(f,M,S):new Et(f,C(f.mode),S);return f.iter(S,s,function(X){wn(i,X.text,I);var q=I.line;X.stateAfter=q==s-1||q%5==0||q>=v.viewFrom&&q<v.viewTo?I.save():null,I.nextLine()}),m&&(f.modeFrontier=I.line),I}function wn(i,s,m,f){var v=i.doc.mode,S=new E(s,i.options.tabSize,m);for(S.start=S.pos=f||0,s==""&&Gn(v,m.state);!S.eol();)ps(v,S,m.state),S.start=S.pos}function Gn(i,s){if(i.blankLine)return i.blankLine(s);if(!!i.innerMode){var m=k(i,s);if(m.mode.blankLine)return m.mode.blankLine(m.state)}}function ps(i,s,m,f){for(var v=0;v<10;v++){f&&(f[0]=k(i,m).mode);var S=i.token(s,m);if(s.pos>s.start)return S}throw new Error("Mode "+i.name+" failed to advance stream.")}var ua=function(i,s,m){this.start=i.start,this.end=i.pos,this.string=i.current(),this.type=s||null,this.state=m};function ha(i,s,m,f){var v=i.doc,S=v.mode,M;s=Ie(v,s);var I=F(v,s.line),X=Er(i,s.line,m),q=new E(I.text,i.options.tabSize,X),fe;for(f&&(fe=[]);(f||q.pos<s.ch)&&!q.eol();)q.start=q.pos,M=ps(S,q,X.state),f&&fe.push(new ua(q,M,w(v.mode,X.state)));return f?fe:new ua(q,M,X.state)}function da(i,s){if(i)for(;;){var m=i.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!m)break;i=i.slice(0,m.index)+i.slice(m.index+m[0].length);var f=m[1]?"bgClass":"textClass";s[f]==null?s[f]=m[2]:new RegExp("(?:^|\\s)"+m[2]+"(?:$|\\s)").test(s[f])||(s[f]+=" "+m[2])}return i}function Lr(i,s,m,f,v,S,M){var I=m.flattenSpans;I==null&&(I=i.options.flattenSpans);var X=0,q=null,fe=new E(s,i.options.tabSize,f),ve,Fe=i.options.addModeClass&&[null];for(s==""&&da(Gn(m,f.state),S);!fe.eol();){if(fe.pos>i.options.maxHighlightLength?(I=!1,M&&wn(i,s,f,fe.pos),fe.pos=s.length,ve=null):ve=da(ps(m,fe,f.state,Fe),S),Fe){var Ce=Fe[0].name;Ce&&(ve="m-"+(ve?Ce+" "+ve:Ce))}if(!I||q!=ve){for(;X<fe.start;)X=Math.min(fe.start,X+5e3),v(X,q);q=ve}fe.start=fe.pos}for(;X<fe.pos;){var We=Math.min(fe.pos,X+5e3);v(We,q),X=We}}function kr(i,s,m){for(var f,v,S=i.doc,M=m?-1:s-(i.doc.mode.innerMode?1e3:100),I=s;I>M;--I){if(I<=S.first)return S.first;var X=F(S,I-1),q=X.stateAfter;if(q&&(!m||I+(q instanceof Xt?q.lookAhead:0)<=S.modeFrontier))return I;var fe=$e(X.text,null,i.options.tabSize);(v==null||f>fe)&&(v=I-1,f=fe)}return v}function ql(i,s){if(i.modeFrontier=Math.min(i.modeFrontier,s),!(i.highlightFrontier<s-10)){for(var m=i.first,f=s-1;f>m;f--){var v=F(i,f).stateAfter;if(v&&(!(v instanceof Xt)||f+v.lookAhead<s)){m=f+1;break}}i.highlightFrontier=Math.min(i.highlightFrontier,m)}}var Mp=!1,xi=!1;function G1(){Mp=!0}function q1(){xi=!0}function Kl(i,s,m){this.marker=i,this.from=s,this.to=m}function ms(i,s){if(i)for(var m=0;m<i.length;++m){var f=i[m];if(f.marker==s)return f}}function K1(i,s){for(var m,f=0;f<i.length;++f)i[f]!=s&&(m||(m=[])).push(i[f]);return m}function Z1(i,s,m){var f=m&&window.WeakSet&&(m.markedSpans||(m.markedSpans=new WeakSet));f&&i.markedSpans&&f.has(i.markedSpans)?i.markedSpans.push(s):(i.markedSpans=i.markedSpans?i.markedSpans.concat([s]):[s],f&&f.add(i.markedSpans)),s.marker.attachLine(i)}function J1(i,s,m){var f;if(i)for(var v=0;v<i.length;++v){var S=i[v],M=S.marker,I=S.from==null||(M.inclusiveLeft?S.from<=s:S.from<s);if(I||S.from==s&&M.type=="bookmark"&&(!m||!S.marker.insertLeft)){var X=S.to==null||(M.inclusiveRight?S.to>=s:S.to>s);(f||(f=[])).push(new Kl(M,S.from,X?null:S.to))}}return f}function Q1(i,s,m){var f;if(i)for(var v=0;v<i.length;++v){var S=i[v],M=S.marker,I=S.to==null||(M.inclusiveRight?S.to>=s:S.to>s);if(I||S.from==s&&M.type=="bookmark"&&(!m||S.marker.insertLeft)){var X=S.from==null||(M.inclusiveLeft?S.from<=s:S.from<s);(f||(f=[])).push(new Kl(M,X?null:S.from-s,S.to==null?null:S.to-s))}}return f}function bh(i,s){if(s.full)return null;var m=se(i,s.from.line)&&F(i,s.from.line).markedSpans,f=se(i,s.to.line)&&F(i,s.to.line).markedSpans;if(!m&&!f)return null;var v=s.from.ch,S=s.to.ch,M=R(s.from,s.to)==0,I=J1(m,v,M),X=Q1(f,S,M),q=s.text.length==1,fe=Ve(s.text).length+(q?v:0);if(I)for(var ve=0;ve<I.length;++ve){var Fe=I[ve];if(Fe.to==null){var Ce=ms(X,Fe.marker);Ce?q&&(Fe.to=Ce.to==null?null:Ce.to+fe):Fe.to=v}}if(X)for(var We=0;We<X.length;++We){var Ue=X[We];if(Ue.to!=null&&(Ue.to+=fe),Ue.from==null){var it=ms(I,Ue.marker);it||(Ue.from=fe,q&&(I||(I=[])).push(Ue))}else Ue.from+=fe,q&&(I||(I=[])).push(Ue)}I&&(I=Pp(I)),X&&X!=I&&(X=Pp(X));var ct=[I];if(!q){var ht=s.text.length-2,ut;if(ht>0&&I)for(var mt=0;mt<I.length;++mt)I[mt].to==null&&(ut||(ut=[])).push(new Kl(I[mt].marker,null,null));for(var _t=0;_t<ht;++_t)ct.push(ut);ct.push(X)}return ct}function Pp(i){for(var s=0;s<i.length;++s){var m=i[s];m.from!=null&&m.from==m.to&&m.marker.clearWhenEmpty!==!1&&i.splice(s--,1)}return i.length?i:null}function ew(i,s,m){var f=null;if(i.iter(s.line,m.line+1,function(Ce){if(Ce.markedSpans)for(var We=0;We<Ce.markedSpans.length;++We){var Ue=Ce.markedSpans[We].marker;Ue.readOnly&&(!f||at(f,Ue)==-1)&&(f||(f=[])).push(Ue)}}),!f)return null;for(var v=[{from:s,to:m}],S=0;S<f.length;++S)for(var M=f[S],I=M.find(0),X=0;X<v.length;++X){var q=v[X];if(!(R(q.to,I.from)<0||R(q.from,I.to)>0)){var fe=[X,1],ve=R(q.from,I.from),Fe=R(q.to,I.to);(ve<0||!M.inclusiveLeft&&!ve)&&fe.push({from:q.from,to:I.from}),(Fe>0||!M.inclusiveRight&&!Fe)&&fe.push({from:I.to,to:q.to}),v.splice.apply(v,fe),X+=fe.length-3}}return v}function Op(i){var s=i.markedSpans;if(!!s){for(var m=0;m<s.length;++m)s[m].marker.detachLine(i);i.markedSpans=null}}function Ip(i,s){if(!!s){for(var m=0;m<s.length;++m)s[m].marker.attachLine(i);i.markedSpans=s}}function Zl(i){return i.inclusiveLeft?-1:0}function Jl(i){return i.inclusiveRight?1:0}function yh(i,s){var m=i.lines.length-s.lines.length;if(m!=0)return m;var f=i.find(),v=s.find(),S=R(f.from,v.from)||Zl(i)-Zl(s);if(S)return-S;var M=R(f.to,v.to)||Jl(i)-Jl(s);return M||s.id-i.id}function Rp(i,s){var m=xi&&i.markedSpans,f;if(m)for(var v=void 0,S=0;S<m.length;++S)v=m[S],v.marker.collapsed&&(s?v.from:v.to)==null&&(!f||yh(f,v.marker)<0)&&(f=v.marker);return f}function Bp(i){return Rp(i,!0)}function Ql(i){return Rp(i,!1)}function tw(i,s){var m=xi&&i.markedSpans,f;if(m)for(var v=0;v<m.length;++v){var S=m[v];S.marker.collapsed&&(S.from==null||S.from<s)&&(S.to==null||S.to>s)&&(!f||yh(f,S.marker)<0)&&(f=S.marker)}return f}function Np(i,s,m,f,v){var S=F(i,s),M=xi&&S.markedSpans;if(M)for(var I=0;I<M.length;++I){var X=M[I];if(!!X.marker.collapsed){var q=X.marker.find(0),fe=R(q.from,m)||Zl(X.marker)-Zl(v),ve=R(q.to,f)||Jl(X.marker)-Jl(v);if(!(fe>=0&&ve<=0||fe<=0&&ve>=0)&&(fe<=0&&(X.marker.inclusiveRight&&v.inclusiveLeft?R(q.to,m)>=0:R(q.to,m)>0)||fe>=0&&(X.marker.inclusiveRight&&v.inclusiveLeft?R(q.from,f)<=0:R(q.from,f)<0)))return!0}}}function Pn(i){for(var s;s=Bp(i);)i=s.find(-1,!0).line;return i}function rw(i){for(var s;s=Ql(i);)i=s.find(1,!0).line;return i}function nw(i){for(var s,m;s=Ql(i);)i=s.find(1,!0).line,(m||(m=[])).push(i);return m}function wh(i,s){var m=F(i,s),f=Pn(m);return m==f?s:Z(f)}function Hp(i,s){if(s>i.lastLine())return s;var m=F(i,s),f;if(!Ni(i,m))return s;for(;f=Ql(m);)m=f.find(1,!0).line;return Z(m)+1}function Ni(i,s){var m=xi&&s.markedSpans;if(m){for(var f=void 0,v=0;v<m.length;++v)if(f=m[v],!!f.marker.collapsed){if(f.from==null)return!0;if(!f.marker.widgetNode&&f.from==0&&f.marker.inclusiveLeft&&_h(i,s,f))return!0}}}function _h(i,s,m){if(m.to==null){var f=m.marker.find(1,!0);return _h(i,f.line,ms(f.line.markedSpans,m.marker))}if(m.marker.inclusiveRight&&m.to==s.text.length)return!0;for(var v=void 0,S=0;S<s.markedSpans.length;++S)if(v=s.markedSpans[S],v.marker.collapsed&&!v.marker.widgetNode&&v.from==m.to&&(v.to==null||v.to!=m.from)&&(v.marker.inclusiveLeft||m.marker.inclusiveRight)&&_h(i,s,v))return!0}function bi(i){i=Pn(i);for(var s=0,m=i.parent,f=0;f<m.lines.length;++f){var v=m.lines[f];if(v==i)break;s+=v.height}for(var S=m.parent;S;m=S,S=m.parent)for(var M=0;M<S.children.length;++M){var I=S.children[M];if(I==m)break;s+=I.height}return s}function ec(i){if(i.height==0)return 0;for(var s=i.text.length,m,f=i;m=Bp(f);){var v=m.find(0,!0);f=v.from.line,s+=v.from.ch-v.to.ch}for(f=i;m=Ql(f);){var S=m.find(0,!0);s-=f.text.length-S.from.ch,f=S.to.line,s+=f.text.length-S.to.ch}return s}function zh(i){var s=i.display,m=i.doc;s.maxLine=F(m,m.first),s.maxLineLength=ec(s.maxLine),s.maxLineChanged=!0,m.iter(function(f){var v=ec(f);v>s.maxLineLength&&(s.maxLineLength=v,s.maxLine=f)})}var fa=function(i,s,m){this.text=i,Ip(this,s),this.height=m?m(this):1};fa.prototype.lineNo=function(){return Z(this)},zr(fa);function iw(i,s,m,f){i.text=s,i.stateAfter&&(i.stateAfter=null),i.styles&&(i.styles=null),i.order!=null&&(i.order=null),Op(i),Ip(i,m);var v=f?f(i):1;v!=i.height&&U(i,v)}function ow(i){i.parent=null,Op(i)}var aw={},sw={};function Wp(i,s){if(!i||/^\s*$/.test(i))return null;var m=s.addModeClass?sw:aw;return m[i]||(m[i]=i.replace(/\S+/g,"cm-$&"))}function Xp(i,s){var m=Le("span",null,null,L?"padding-right: .1px":null),f={pre:Le("pre",[m],"CodeMirror-line"),content:m,col:0,pos:0,cm:i,trailingSpace:!1,splitSpaces:i.getOption("lineWrapping")};s.measure={};for(var v=0;v<=(s.rest?s.rest.length:0);v++){var S=v?s.rest[v-1]:s.line,M=void 0;f.pos=0,f.addToken=cw,xh(i.display.measure)&&(M=qe(S,i.doc.direction))&&(f.addToken=hw(f.addToken,M)),f.map=[];var I=s!=i.display.externalMeasured&&Z(S);dw(S,f,Dr(i,S,I)),S.styleClasses&&(S.styleClasses.bgClass&&(f.bgClass=et(S.styleClasses.bgClass,f.bgClass||"")),S.styleClasses.textClass&&(f.textClass=et(S.styleClasses.textClass,f.textClass||""))),f.map.length==0&&f.map.push(0,0,f.content.appendChild(vh(i.display.measure))),v==0?(s.measure.map=f.map,s.measure.cache={}):((s.measure.maps||(s.measure.maps=[])).push(f.map),(s.measure.caches||(s.measure.caches=[])).push({}))}if(L){var X=f.content.lastChild;(/\bcm-tab\b/.test(X.className)||X.querySelector&&X.querySelector(".cm-tab"))&&(f.content.className="cm-tab-wrap-hack")}return Dt(i,"renderLine",i,s.line,f.pre),f.pre.className&&(f.textClass=et(f.pre.className,f.textClass||"")),f}function lw(i){var s=he("span","\u2022","cm-invalidchar");return s.title="\\u"+i.charCodeAt(0).toString(16),s.setAttribute("aria-label",s.title),s}function cw(i,s,m,f,v,S,M){if(!!s){var I=i.splitSpaces?uw(s,i.trailingSpace):s,X=i.cm.state.specialChars,q=!1,fe;if(!X.test(s))i.col+=s.length,fe=document.createTextNode(I),i.map.push(i.pos,i.pos+s.length,fe),z&&A<9&&(q=!0),i.pos+=s.length;else{fe=document.createDocumentFragment();for(var ve=0;;){X.lastIndex=ve;var Fe=X.exec(s),Ce=Fe?Fe.index-ve:s.length-ve;if(Ce){var We=document.createTextNode(I.slice(ve,ve+Ce));z&&A<9?fe.appendChild(he("span",[We])):fe.appendChild(We),i.map.push(i.pos,i.pos+Ce,We),i.col+=Ce,i.pos+=Ce}if(!Fe)break;ve+=Ce+1;var Ue=void 0;if(Fe[0]==" "){var it=i.cm.options.tabSize,ct=it-i.col%it;Ue=fe.appendChild(he("span",Ze(ct),"cm-tab")),Ue.setAttribute("role","presentation"),Ue.setAttribute("cm-text"," "),i.col+=ct}else Fe[0]=="\r"||Fe[0]==`
  716. `?(Ue=fe.appendChild(he("span",Fe[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ue.setAttribute("cm-text",Fe[0]),i.col+=1):(Ue=i.cm.options.specialCharPlaceholder(Fe[0]),Ue.setAttribute("cm-text",Fe[0]),z&&A<9?fe.appendChild(he("span",[Ue])):fe.appendChild(Ue),i.col+=1);i.map.push(i.pos,i.pos+1,Ue),i.pos++}}if(i.trailingSpace=I.charCodeAt(s.length-1)==32,m||f||v||q||S||M){var ht=m||"";f&&(ht+=f),v&&(ht+=v);var ut=he("span",[fe],ht,S);if(M)for(var mt in M)M.hasOwnProperty(mt)&&mt!="style"&&mt!="class"&&ut.setAttribute(mt,M[mt]);return i.content.appendChild(ut)}i.content.appendChild(fe)}}function uw(i,s){if(i.length>1&&!/ /.test(i))return i;for(var m=s,f="",v=0;v<i.length;v++){var S=i.charAt(v);S==" "&&m&&(v==i.length-1||i.charCodeAt(v+1)==32)&&(S="\xA0"),f+=S,m=S==" "}return f}function hw(i,s){return function(m,f,v,S,M,I,X){v=v?v+" cm-force-border":"cm-force-border";for(var q=m.pos,fe=q+f.length;;){for(var ve=void 0,Fe=0;Fe<s.length&&(ve=s[Fe],!(ve.to>q&&ve.from<=q));Fe++);if(ve.to>=fe)return i(m,f,v,S,M,I,X);i(m,f.slice(0,ve.to-q),v,S,null,I,X),S=null,f=f.slice(ve.to-q),q=ve.to}}}function Yp(i,s,m,f){var v=!f&&m.widgetNode;v&&i.map.push(i.pos,i.pos+s,v),!f&&i.cm.display.input.needsContentAttribute&&(v||(v=i.content.appendChild(document.createElement("span"))),v.setAttribute("cm-marker",m.id)),v&&(i.cm.display.input.setUneditable(v),i.content.appendChild(v)),i.pos+=s,i.trailingSpace=!1}function dw(i,s,m){var f=i.markedSpans,v=i.text,S=0;if(!f){for(var M=1;M<m.length;M+=2)s.addToken(s,v.slice(S,S=m[M]),Wp(m[M+1],s.cm.options));return}for(var I=v.length,X=0,q=1,fe="",ve,Fe,Ce=0,We,Ue,it,ct,ht;;){if(Ce==X){We=Ue=it=Fe="",ht=null,ct=null,Ce=1/0;for(var ut=[],mt=void 0,_t=0;_t<f.length;++_t){var bt=f[_t],Lt=bt.marker;if(Lt.type=="bookmark"&&bt.from==X&&Lt.widgetNode)ut.push(Lt);else if(bt.from<=X&&(bt.to==null||bt.to>X||Lt.collapsed&&bt.to==X&&bt.from==X)){if(bt.to!=null&&bt.to!=X&&Ce>bt.to&&(Ce=bt.to,Ue=""),Lt.className&&(We+=" "+Lt.className),Lt.css&&(Fe=(Fe?Fe+";":"")+Lt.css),Lt.startStyle&&bt.from==X&&(it+=" "+Lt.startStyle),Lt.endStyle&&bt.to==Ce&&(mt||(mt=[])).push(Lt.endStyle,bt.to),Lt.title&&((ht||(ht={})).title=Lt.title),Lt.attributes)for(var Gt in Lt.attributes)(ht||(ht={}))[Gt]=Lt.attributes[Gt];Lt.collapsed&&(!ct||yh(ct.marker,Lt)<0)&&(ct=bt)}else bt.from>X&&Ce>bt.from&&(Ce=bt.from)}if(mt)for(var br=0;br<mt.length;br+=2)mt[br+1]==Ce&&(Ue+=" "+mt[br]);if(!ct||ct.from==X)for(var tr=0;tr<ut.length;++tr)Yp(s,0,ut[tr]);if(ct&&(ct.from||0)==X){if(Yp(s,(ct.to==null?I+1:ct.to)-X,ct.marker,ct.from==null),ct.to==null)return;ct.to==X&&(ct=!1)}}if(X>=I)break;for(var Jr=Math.min(I,Ce);;){if(fe){var $r=X+fe.length;if(!ct){var cr=$r>Jr?fe.slice(0,Jr-X):fe;s.addToken(s,cr,ve?ve+We:We,it,X+cr.length==Ce?Ue:"",Fe,ht)}if($r>=Jr){fe=fe.slice(Jr-X),X=Jr;break}X=$r,it=""}fe=v.slice(S,S=m[q++]),ve=Wp(m[q++],s.cm.options)}}}function jp(i,s,m){this.line=s,this.rest=nw(s),this.size=this.rest?Z(Ve(this.rest))-m+1:1,this.node=this.text=null,this.hidden=Ni(i,s)}function tc(i,s,m){for(var f=[],v,S=s;S<m;S=v){var M=new jp(i.doc,F(i.doc,S),S);v=S+M.size,f.push(M)}return f}var pa=null;function fw(i){pa?pa.ops.push(i):i.ownsGroup=pa={ops:[i],delayedCallbacks:[]}}function pw(i){var s=i.delayedCallbacks,m=0;do{for(;m<s.length;m++)s[m].call(null);for(var f=0;f<i.ops.length;f++){var v=i.ops[f];if(v.cursorActivityHandlers)for(;v.cursorActivityCalled<v.cursorActivityHandlers.length;)v.cursorActivityHandlers[v.cursorActivityCalled++].call(null,v.cm)}}while(m<s.length)}function mw(i,s){var m=i.ownsGroup;if(!!m)try{pw(m)}finally{pa=null,s(m)}}var gs=null;function gr(i,s){var m=xt(i,s);if(!!m.length){var f=Array.prototype.slice.call(arguments,2),v;pa?v=pa.delayedCallbacks:gs?v=gs:(v=gs=[],setTimeout(gw,0));for(var S=function(I){v.push(function(){return m[I].apply(null,f)})},M=0;M<m.length;++M)S(M)}}function gw(){var i=gs;gs=null;for(var s=0;s<i.length;++s)i[s]()}function $p(i,s,m,f){for(var v=0;v<s.changes.length;v++){var S=s.changes[v];S=="text"?xw(i,s):S=="gutter"?Up(i,s,m,f):S=="class"?kh(i,s):S=="widget"&&bw(i,s,f)}s.changes=null}function vs(i){return i.node==i.text&&(i.node=he("div",null,null,"position: relative"),i.text.parentNode&&i.text.parentNode.replaceChild(i.node,i.text),i.node.appendChild(i.text),z&&A<8&&(i.node.style.zIndex=2)),i.node}function vw(i,s){var m=s.bgClass?s.bgClass+" "+(s.line.bgClass||""):s.line.bgClass;if(m&&(m+=" CodeMirror-linebackground"),s.background)m?s.background.className=m:(s.background.parentNode.removeChild(s.background),s.background=null);else if(m){var f=vs(s);s.background=f.insertBefore(he("div",null,m),f.firstChild),i.display.input.setUneditable(s.background)}}function Vp(i,s){var m=i.display.externalMeasured;return m&&m.line==s.line?(i.display.externalMeasured=null,s.measure=m.measure,m.built):Xp(i,s)}function xw(i,s){var m=s.text.className,f=Vp(i,s);s.text==s.node&&(s.node=f.pre),s.text.parentNode.replaceChild(f.pre,s.text),s.text=f.pre,f.bgClass!=s.bgClass||f.textClass!=s.textClass?(s.bgClass=f.bgClass,s.textClass=f.textClass,kh(i,s)):m&&(s.text.className=m)}function kh(i,s){vw(i,s),s.line.wrapClass?vs(s).className=s.line.wrapClass:s.node!=s.text&&(s.node.className="");var m=s.textClass?s.textClass+" "+(s.line.textClass||""):s.line.textClass;s.text.className=m||""}function Up(i,s,m,f){if(s.gutter&&(s.node.removeChild(s.gutter),s.gutter=null),s.gutterBackground&&(s.node.removeChild(s.gutterBackground),s.gutterBackground=null),s.line.gutterClass){var v=vs(s);s.gutterBackground=he("div",null,"CodeMirror-gutter-background "+s.line.gutterClass,"left: "+(i.options.fixedGutter?f.fixedPos:-f.gutterTotalWidth)+"px; width: "+f.gutterTotalWidth+"px"),i.display.input.setUneditable(s.gutterBackground),v.insertBefore(s.gutterBackground,s.text)}var S=s.line.gutterMarkers;if(i.options.lineNumbers||S){var M=vs(s),I=s.gutter=he("div",null,"CodeMirror-gutter-wrapper","left: "+(i.options.fixedGutter?f.fixedPos:-f.gutterTotalWidth)+"px");if(I.setAttribute("aria-hidden","true"),i.display.input.setUneditable(I),M.insertBefore(I,s.text),s.line.gutterClass&&(I.className+=" "+s.line.gutterClass),i.options.lineNumbers&&(!S||!S["CodeMirror-linenumbers"])&&(s.lineNumber=I.appendChild(he("div",_(i.options,m),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+f.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+i.display.lineNumInnerWidth+"px"))),S)for(var X=0;X<i.display.gutterSpecs.length;++X){var q=i.display.gutterSpecs[X].className,fe=S.hasOwnProperty(q)&&S[q];fe&&I.appendChild(he("div",[fe],"CodeMirror-gutter-elt","left: "+f.gutterLeft[q]+"px; width: "+f.gutterWidth[q]+"px"))}}}function bw(i,s,m){s.alignable&&(s.alignable=null);for(var f=ze("CodeMirror-linewidget"),v=s.node.firstChild,S=void 0;v;v=S)S=v.nextSibling,f.test(v.className)&&s.node.removeChild(v);Gp(i,s,m)}function yw(i,s,m,f){var v=Vp(i,s);return s.text=s.node=v.pre,v.bgClass&&(s.bgClass=v.bgClass),v.textClass&&(s.textClass=v.textClass),kh(i,s),Up(i,s,m,f),Gp(i,s,f),s.node}function Gp(i,s,m){if(qp(i,s.line,s,m,!0),s.rest)for(var f=0;f<s.rest.length;f++)qp(i,s.rest[f],s,m,!1)}function qp(i,s,m,f,v){if(!!s.widgets)for(var S=vs(m),M=0,I=s.widgets;M<I.length;++M){var X=I[M],q=he("div",[X.node],"CodeMirror-linewidget"+(X.className?" "+X.className:""));X.handleMouseEvents||q.setAttribute("cm-ignore-events","true"),ww(X,q,m,f),i.display.input.setUneditable(q),v&&X.above?S.insertBefore(q,m.gutter||m.text):S.appendChild(q),gr(X,"redraw")}}function ww(i,s,m,f){if(i.noHScroll){(m.alignable||(m.alignable=[])).push(s);var v=f.wrapperWidth;s.style.left=f.fixedPos+"px",i.coverGutter||(v-=f.gutterTotalWidth,s.style.paddingLeft=f.gutterTotalWidth+"px"),s.style.width=v+"px"}i.coverGutter&&(s.style.zIndex=5,s.style.position="relative",i.noHScroll||(s.style.marginLeft=-f.gutterTotalWidth+"px"))}function xs(i){if(i.height!=null)return i.height;var s=i.doc.cm;if(!s)return 0;if(!He(document.body,i.node)){var m="position: relative;";i.coverGutter&&(m+="margin-left: -"+s.display.gutters.offsetWidth+"px;"),i.noHScroll&&(m+="width: "+s.display.wrapper.clientWidth+"px;"),De(s.display.measure,he("div",[i.node],null,m))}return i.height=i.node.parentNode.offsetHeight}function yi(i,s){for(var m=Xr(s);m!=i.wrapper;m=m.parentNode)if(!m||m.nodeType==1&&m.getAttribute("cm-ignore-events")=="true"||m.parentNode==i.sizer&&m!=i.mover)return!0}function rc(i){return i.lineSpace.offsetTop}function Ch(i){return i.mover.offsetHeight-i.lineSpace.offsetHeight}function Kp(i){if(i.cachedPaddingH)return i.cachedPaddingH;var s=De(i.measure,he("pre","x","CodeMirror-line-like")),m=window.getComputedStyle?window.getComputedStyle(s):s.currentStyle,f={left:parseInt(m.paddingLeft),right:parseInt(m.paddingRight)};return!isNaN(f.left)&&!isNaN(f.right)&&(i.cachedPaddingH=f),f}function qn(i){return Ke-i.display.nativeBarWidth}function ko(i){return i.display.scroller.clientWidth-qn(i)-i.display.barWidth}function Sh(i){return i.display.scroller.clientHeight-qn(i)-i.display.barHeight}function _w(i,s,m){var f=i.options.lineWrapping,v=f&&ko(i);if(!s.measure.heights||f&&s.measure.width!=v){var S=s.measure.heights=[];if(f){s.measure.width=v;for(var M=s.text.firstChild.getClientRects(),I=0;I<M.length-1;I++){var X=M[I],q=M[I+1];Math.abs(X.bottom-q.bottom)>2&&S.push((X.bottom+q.top)/2-m.top)}}S.push(m.bottom-m.top)}}function Zp(i,s,m){if(i.line==s)return{map:i.measure.map,cache:i.measure.cache};if(i.rest){for(var f=0;f<i.rest.length;f++)if(i.rest[f]==s)return{map:i.measure.maps[f],cache:i.measure.caches[f]};for(var v=0;v<i.rest.length;v++)if(Z(i.rest[v])>m)return{map:i.measure.maps[v],cache:i.measure.caches[v],before:!0}}}function zw(i,s){s=Pn(s);var m=Z(s),f=i.display.externalMeasured=new jp(i.doc,s,m);f.lineN=m;var v=f.built=Xp(i,f);return f.text=v.pre,De(i.display.lineMeasure,v.pre),f}function Jp(i,s,m,f){return Kn(i,ma(i,s),m,f)}function Ah(i,s){if(s>=i.display.viewFrom&&s<i.display.viewTo)return i.display.view[Ao(i,s)];var m=i.display.externalMeasured;if(m&&s>=m.lineN&&s<m.lineN+m.size)return m}function ma(i,s){var m=Z(s),f=Ah(i,m);f&&!f.text?f=null:f&&f.changes&&($p(i,f,m,Fh(i)),i.curOp.forceUpdate=!0),f||(f=zw(i,s));var v=Zp(f,s,m);return{line:s,view:f,rect:null,map:v.map,cache:v.cache,before:v.before,hasHeights:!1}}function Kn(i,s,m,f,v){s.before&&(m=-1);var S=m+(f||""),M;return s.cache.hasOwnProperty(S)?M=s.cache[S]:(s.rect||(s.rect=s.view.text.getBoundingClientRect()),s.hasHeights||(_w(i,s.view,s.rect),s.hasHeights=!0),M=Cw(i,s,m,f),M.bogus||(s.cache[S]=M)),{left:M.left,right:M.right,top:v?M.rtop:M.top,bottom:v?M.rbottom:M.bottom}}var Qp={left:0,right:0,top:0,bottom:0};function em(i,s,m){for(var f,v,S,M,I,X,q=0;q<i.length;q+=3)if(I=i[q],X=i[q+1],s<I?(v=0,S=1,M="left"):s<X?(v=s-I,S=v+1):(q==i.length-3||s==X&&i[q+3]>s)&&(S=X-I,v=S-1,s>=X&&(M="right")),v!=null){if(f=i[q+2],I==X&&m==(f.insertLeft?"left":"right")&&(M=m),m=="left"&&v==0)for(;q&&i[q-2]==i[q-3]&&i[q-1].insertLeft;)f=i[(q-=3)+2],M="left";if(m=="right"&&v==X-I)for(;q<i.length-3&&i[q+3]==i[q+4]&&!i[q+5].insertLeft;)f=i[(q+=3)+2],M="right";break}return{node:f,start:v,end:S,collapse:M,coverStart:I,coverEnd:X}}function kw(i,s){var m=Qp;if(s=="left")for(var f=0;f<i.length&&(m=i[f]).left==m.right;f++);else for(var v=i.length-1;v>=0&&(m=i[v]).left==m.right;v--);return m}function Cw(i,s,m,f){var v=em(s.map,m,f),S=v.node,M=v.start,I=v.end,X=v.collapse,q;if(S.nodeType==3){for(var fe=0;fe<4;fe++){for(;M&&je(s.line.text.charAt(v.coverStart+M));)--M;for(;v.coverStart+I<v.coverEnd&&je(s.line.text.charAt(v.coverStart+I));)++I;if(z&&A<9&&M==0&&I==v.coverEnd-v.coverStart?q=S.parentNode.getBoundingClientRect():q=kw(Se(S,M,I).getClientRects(),f),q.left||q.right||M==0)break;I=M,M=M-1,X="right"}z&&A<11&&(q=Sw(i.display.measure,q))}else{M>0&&(X=f="right");var ve;i.options.lineWrapping&&(ve=S.getClientRects()).length>1?q=ve[f=="right"?ve.length-1:0]:q=S.getBoundingClientRect()}if(z&&A<9&&!M&&(!q||!q.left&&!q.right)){var Fe=S.parentNode.getClientRects()[0];Fe?q={left:Fe.left,right:Fe.left+va(i.display),top:Fe.top,bottom:Fe.bottom}:q=Qp}for(var Ce=q.top-s.rect.top,We=q.bottom-s.rect.top,Ue=(Ce+We)/2,it=s.view.measure.heights,ct=0;ct<it.length-1&&!(Ue<it[ct]);ct++);var ht=ct?it[ct-1]:0,ut=it[ct],mt={left:(X=="right"?q.right:q.left)-s.rect.left,right:(X=="left"?q.left:q.right)-s.rect.left,top:ht,bottom:ut};return!q.left&&!q.right&&(mt.bogus=!0),i.options.singleCursorHeightPerLine||(mt.rtop=Ce,mt.rbottom=We),mt}function Sw(i,s){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!J(i))return s;var m=screen.logicalXDPI/screen.deviceXDPI,f=screen.logicalYDPI/screen.deviceYDPI;return{left:s.left*m,right:s.right*m,top:s.top*f,bottom:s.bottom*f}}function tm(i){if(i.measure&&(i.measure.cache={},i.measure.heights=null,i.rest))for(var s=0;s<i.rest.length;s++)i.measure.caches[s]={}}function rm(i){i.display.externalMeasure=null,ke(i.display.lineMeasure);for(var s=0;s<i.display.view.length;s++)tm(i.display.view[s])}function bs(i){rm(i),i.display.cachedCharWidth=i.display.cachedTextHeight=i.display.cachedPaddingH=null,i.options.lineWrapping||(i.display.maxLineChanged=!0),i.display.lineNumChars=null}function nm(i){return P&&re?-(i.body.getBoundingClientRect().left-parseInt(getComputedStyle(i.body).marginLeft)):i.defaultView.pageXOffset||(i.documentElement||i.body).scrollLeft}function im(i){return P&&re?-(i.body.getBoundingClientRect().top-parseInt(getComputedStyle(i.body).marginTop)):i.defaultView.pageYOffset||(i.documentElement||i.body).scrollTop}function Dh(i){var s=Pn(i),m=s.widgets,f=0;if(m)for(var v=0;v<m.length;++v)m[v].above&&(f+=xs(m[v]));return f}function nc(i,s,m,f,v){if(!v){var S=Dh(s);m.top+=S,m.bottom+=S}if(f=="line")return m;f||(f="local");var M=bi(s);if(f=="local"?M+=rc(i.display):M-=i.display.viewOffset,f=="page"||f=="window"){var I=i.display.lineSpace.getBoundingClientRect();M+=I.top+(f=="window"?0:im(te(i)));var X=I.left+(f=="window"?0:nm(te(i)));m.left+=X,m.right+=X}return m.top+=M,m.bottom+=M,m}function om(i,s,m){if(m=="div")return s;var f=s.left,v=s.top;if(m=="page")f-=nm(te(i)),v-=im(te(i));else if(m=="local"||!m){var S=i.display.sizer.getBoundingClientRect();f+=S.left,v+=S.top}var M=i.display.lineSpace.getBoundingClientRect();return{left:f-M.left,top:v-M.top}}function ic(i,s,m,f,v){return f||(f=F(i.doc,s.line)),nc(i,f,Jp(i,f,s.ch,v),m)}function On(i,s,m,f,v,S){f=f||F(i.doc,s.line),v||(v=ma(i,f));function M(We,Ue){var it=Kn(i,v,We,Ue?"right":"left",S);return Ue?it.left=it.right:it.right=it.left,nc(i,f,it,m)}var I=qe(f,i.doc.direction),X=s.ch,q=s.sticky;if(X>=f.text.length?(X=f.text.length,q="before"):X<=0&&(X=0,q="after"),!I)return M(q=="before"?X-1:X,q=="before");function fe(We,Ue,it){var ct=I[Ue],ht=ct.level==1;return M(it?We-1:We,ht!=it)}var ve=kt(I,X,q),Fe=At,Ce=fe(X,ve,q=="before");return Fe!=null&&(Ce.other=fe(X,Fe,q!="before")),Ce}function am(i,s){var m=0;s=Ie(i.doc,s),i.options.lineWrapping||(m=va(i.display)*s.ch);var f=F(i.doc,s.line),v=bi(f)+rc(i.display);return{left:m,right:m,top:v,bottom:v+f.height}}function Eh(i,s,m,f,v){var S=D(i,s,m);return S.xRel=v,f&&(S.outside=f),S}function Lh(i,s,m){var f=i.doc;if(m+=i.display.viewOffset,m<0)return Eh(f.first,0,null,-1,-1);var v=ie(f,m),S=f.first+f.size-1;if(v>S)return Eh(f.first+f.size-1,F(f,S).text.length,null,1,1);s<0&&(s=0);for(var M=F(f,v);;){var I=Aw(i,M,v,s,m),X=tw(M,I.ch+(I.xRel>0||I.outside>0?1:0));if(!X)return I;var q=X.find(1);if(q.line==v)return q;M=F(f,v=q.line)}}function sm(i,s,m,f){f-=Dh(s);var v=s.text.length,S=pt(function(M){return Kn(i,m,M-1).bottom<=f},v,0);return v=pt(function(M){return Kn(i,m,M).top>f},S,v),{begin:S,end:v}}function lm(i,s,m,f){m||(m=ma(i,s));var v=nc(i,s,Kn(i,m,f),"line").top;return sm(i,s,m,v)}function Th(i,s,m,f){return i.bottom<=m?!1:i.top>m?!0:(f?i.left:i.right)>s}function Aw(i,s,m,f,v){v-=bi(s);var S=ma(i,s),M=Dh(s),I=0,X=s.text.length,q=!0,fe=qe(s,i.doc.direction);if(fe){var ve=(i.options.lineWrapping?Ew:Dw)(i,s,m,S,fe,f,v);q=ve.level!=1,I=q?ve.from:ve.to-1,X=q?ve.to:ve.from-1}var Fe=null,Ce=null,We=pt(function(_t){var bt=Kn(i,S,_t);return bt.top+=M,bt.bottom+=M,Th(bt,f,v,!1)?(bt.top<=v&&bt.left<=f&&(Fe=_t,Ce=bt),!0):!1},I,X),Ue,it,ct=!1;if(Ce){var ht=f-Ce.left<Ce.right-f,ut=ht==q;We=Fe+(ut?0:1),it=ut?"after":"before",Ue=ht?Ce.left:Ce.right}else{!q&&(We==X||We==I)&&We++,it=We==0?"after":We==s.text.length?"before":Kn(i,S,We-(q?1:0)).bottom+M<=v==q?"after":"before";var mt=On(i,D(m,We,it),"line",s,S);Ue=mt.left,ct=v<mt.top?-1:v>=mt.bottom?1:0}return We=rt(s.text,We,1),Eh(m,We,it,ct,f-Ue)}function Dw(i,s,m,f,v,S,M){var I=pt(function(ve){var Fe=v[ve],Ce=Fe.level!=1;return Th(On(i,D(m,Ce?Fe.to:Fe.from,Ce?"before":"after"),"line",s,f),S,M,!0)},0,v.length-1),X=v[I];if(I>0){var q=X.level!=1,fe=On(i,D(m,q?X.from:X.to,q?"after":"before"),"line",s,f);Th(fe,S,M,!0)&&fe.top>M&&(X=v[I-1])}return X}function Ew(i,s,m,f,v,S,M){var I=sm(i,s,f,M),X=I.begin,q=I.end;/\s/.test(s.text.charAt(q-1))&&q--;for(var fe=null,ve=null,Fe=0;Fe<v.length;Fe++){var Ce=v[Fe];if(!(Ce.from>=q||Ce.to<=X)){var We=Ce.level!=1,Ue=Kn(i,f,We?Math.min(q,Ce.to)-1:Math.max(X,Ce.from)).right,it=Ue<S?S-Ue+1e9:Ue-S;(!fe||ve>it)&&(fe=Ce,ve=it)}}return fe||(fe=v[v.length-1]),fe.from<X&&(fe={from:X,to:fe.to,level:fe.level}),fe.to>q&&(fe={from:fe.from,to:q,level:fe.level}),fe}var Co;function ga(i){if(i.cachedTextHeight!=null)return i.cachedTextHeight;if(Co==null){Co=he("pre",null,"CodeMirror-line-like");for(var s=0;s<49;++s)Co.appendChild(document.createTextNode("x")),Co.appendChild(he("br"));Co.appendChild(document.createTextNode("x"))}De(i.measure,Co);var m=Co.offsetHeight/50;return m>3&&(i.cachedTextHeight=m),ke(i.measure),m||1}function va(i){if(i.cachedCharWidth!=null)return i.cachedCharWidth;var s=he("span","xxxxxxxxxx"),m=he("pre",[s],"CodeMirror-line-like");De(i.measure,m);var f=s.getBoundingClientRect(),v=(f.right-f.left)/10;return v>2&&(i.cachedCharWidth=v),v||10}function Fh(i){for(var s=i.display,m={},f={},v=s.gutters.clientLeft,S=s.gutters.firstChild,M=0;S;S=S.nextSibling,++M){var I=i.display.gutterSpecs[M].className;m[I]=S.offsetLeft+S.clientLeft+v,f[I]=S.clientWidth}return{fixedPos:Mh(s),gutterTotalWidth:s.gutters.offsetWidth,gutterLeft:m,gutterWidth:f,wrapperWidth:s.wrapper.clientWidth}}function Mh(i){return i.scroller.getBoundingClientRect().left-i.sizer.getBoundingClientRect().left}function cm(i){var s=ga(i.display),m=i.options.lineWrapping,f=m&&Math.max(5,i.display.scroller.clientWidth/va(i.display)-3);return function(v){if(Ni(i.doc,v))return 0;var S=0;if(v.widgets)for(var M=0;M<v.widgets.length;M++)v.widgets[M].height&&(S+=v.widgets[M].height);return m?S+(Math.ceil(v.text.length/f)||1)*s:S+s}}function Ph(i){var s=i.doc,m=cm(i);s.iter(function(f){var v=m(f);v!=f.height&&U(f,v)})}function So(i,s,m,f){var v=i.display;if(!m&&Xr(s).getAttribute("cm-not-content")=="true")return null;var S,M,I=v.lineSpace.getBoundingClientRect();try{S=s.clientX-I.left,M=s.clientY-I.top}catch{return null}var X=Lh(i,S,M),q;if(f&&X.xRel>0&&(q=F(i.doc,X.line).text).length==X.ch){var fe=$e(q,q.length,i.options.tabSize)-q.length;X=D(X.line,Math.max(0,Math.round((S-Kp(i.display).left)/va(i.display))-fe))}return X}function Ao(i,s){if(s>=i.display.viewTo||(s-=i.display.viewFrom,s<0))return null;for(var m=i.display.view,f=0;f<m.length;f++)if(s-=m[f].size,s<0)return f}function Yr(i,s,m,f){s==null&&(s=i.doc.first),m==null&&(m=i.doc.first+i.doc.size),f||(f=0);var v=i.display;if(f&&m<v.viewTo&&(v.updateLineNumbers==null||v.updateLineNumbers>s)&&(v.updateLineNumbers=s),i.curOp.viewChanged=!0,s>=v.viewTo)xi&&wh(i.doc,s)<v.viewTo&&Wi(i);else if(m<=v.viewFrom)xi&&Hp(i.doc,m+f)>v.viewFrom?Wi(i):(v.viewFrom+=f,v.viewTo+=f);else if(s<=v.viewFrom&&m>=v.viewTo)Wi(i);else if(s<=v.viewFrom){var S=oc(i,m,m+f,1);S?(v.view=v.view.slice(S.index),v.viewFrom=S.lineN,v.viewTo+=f):Wi(i)}else if(m>=v.viewTo){var M=oc(i,s,s,-1);M?(v.view=v.view.slice(0,M.index),v.viewTo=M.lineN):Wi(i)}else{var I=oc(i,s,s,-1),X=oc(i,m,m+f,1);I&&X?(v.view=v.view.slice(0,I.index).concat(tc(i,I.lineN,X.lineN)).concat(v.view.slice(X.index)),v.viewTo+=f):Wi(i)}var q=v.externalMeasured;q&&(m<q.lineN?q.lineN+=f:s<q.lineN+q.size&&(v.externalMeasured=null))}function Hi(i,s,m){i.curOp.viewChanged=!0;var f=i.display,v=i.display.externalMeasured;if(v&&s>=v.lineN&&s<v.lineN+v.size&&(f.externalMeasured=null),!(s<f.viewFrom||s>=f.viewTo)){var S=f.view[Ao(i,s)];if(S.node!=null){var M=S.changes||(S.changes=[]);at(M,m)==-1&&M.push(m)}}}function Wi(i){i.display.viewFrom=i.display.viewTo=i.doc.first,i.display.view=[],i.display.viewOffset=0}function oc(i,s,m,f){var v=Ao(i,s),S,M=i.display.view;if(!xi||m==i.doc.first+i.doc.size)return{index:v,lineN:m};for(var I=i.display.viewFrom,X=0;X<v;X++)I+=M[X].size;if(I!=s){if(f>0){if(v==M.length-1)return null;S=I+M[v].size-s,v++}else S=I-s;s+=S,m+=S}for(;wh(i.doc,m)!=m;){if(v==(f<0?0:M.length-1))return null;m+=f*M[v-(f<0?1:0)].size,v+=f}return{index:v,lineN:m}}function Lw(i,s,m){var f=i.display,v=f.view;v.length==0||s>=f.viewTo||m<=f.viewFrom?(f.view=tc(i,s,m),f.viewFrom=s):(f.viewFrom>s?f.view=tc(i,s,f.viewFrom).concat(f.view):f.viewFrom<s&&(f.view=f.view.slice(Ao(i,s))),f.viewFrom=s,f.viewTo<m?f.view=f.view.concat(tc(i,f.viewTo,m)):f.viewTo>m&&(f.view=f.view.slice(0,Ao(i,m)))),f.viewTo=m}function um(i){for(var s=i.display.view,m=0,f=0;f<s.length;f++){var v=s[f];!v.hidden&&(!v.node||v.changes)&&++m}return m}function ys(i){i.display.input.showSelection(i.display.input.prepareSelection())}function hm(i,s){s===void 0&&(s=!0);var m=i.doc,f={},v=f.cursors=document.createDocumentFragment(),S=f.selection=document.createDocumentFragment(),M=i.options.$customCursor;M&&(s=!0);for(var I=0;I<m.sel.ranges.length;I++)if(!(!s&&I==m.sel.primIndex)){var X=m.sel.ranges[I];if(!(X.from().line>=i.display.viewTo||X.to().line<i.display.viewFrom)){var q=X.empty();if(M){var fe=M(i,X);fe&&Oh(i,fe,v)}else(q||i.options.showCursorWhenSelecting)&&Oh(i,X.head,v);q||Tw(i,X,S)}}return f}function Oh(i,s,m){var f=On(i,s,"div",null,null,!i.options.singleCursorHeightPerLine),v=m.appendChild(he("div","\xA0","CodeMirror-cursor"));if(v.style.left=f.left+"px",v.style.top=f.top+"px",v.style.height=Math.max(0,f.bottom-f.top)*i.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(i.getWrapperElement().className)){var S=ic(i,s,"div",null,null),M=S.right-S.left;v.style.width=(M>0?M:i.defaultCharWidth())+"px"}if(f.other){var I=m.appendChild(he("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));I.style.display="",I.style.left=f.other.left+"px",I.style.top=f.other.top+"px",I.style.height=(f.other.bottom-f.other.top)*.85+"px"}}function ac(i,s){return i.top-s.top||i.left-s.left}function Tw(i,s,m){var f=i.display,v=i.doc,S=document.createDocumentFragment(),M=Kp(i.display),I=M.left,X=Math.max(f.sizerWidth,ko(i)-f.sizer.offsetLeft)-M.right,q=v.direction=="ltr";function fe(ut,mt,_t,bt){mt<0&&(mt=0),mt=Math.round(mt),bt=Math.round(bt),S.appendChild(he("div",null,"CodeMirror-selected","position: absolute; left: "+ut+`px;
  717. top: `+mt+"px; width: "+(_t==null?X-ut:_t)+`px;
  718. height: `+(bt-mt)+"px"))}function ve(ut,mt,_t){var bt=F(v,ut),Lt=bt.text.length,Gt,br;function tr(cr,Vr){return ic(i,D(ut,cr),"div",bt,Vr)}function Jr(cr,Vr,Cr){var dr=lm(i,bt,null,cr),ur=Vr=="ltr"==(Cr=="after")?"left":"right",ir=Cr=="after"?dr.begin:dr.end-(/\s/.test(bt.text.charAt(dr.end-1))?2:1);return tr(ir,ur)[ur]}var $r=qe(bt,v.direction);return gt($r,mt||0,_t==null?Lt:_t,function(cr,Vr,Cr,dr){var ur=Cr=="ltr",ir=tr(cr,ur?"left":"right"),Ur=tr(Vr-1,ur?"right":"left"),La=mt==null&&cr==0,Ui=_t==null&&Vr==Lt,Fr=dr==0,Zn=!$r||dr==$r.length-1;if(Ur.top-ir.top<=3){var yr=(q?La:Ui)&&Fr,sd=(q?Ui:La)&&Zn,zi=yr?I:(ur?ir:Ur).left,Fo=sd?X:(ur?Ur:ir).right;fe(zi,ir.top,Fo-zi,ir.bottom)}else{var Mo,Rr,Ta,ld;ur?(Mo=q&&La&&Fr?I:ir.left,Rr=q?X:Jr(cr,Cr,"before"),Ta=q?I:Jr(Vr,Cr,"after"),ld=q&&Ui&&Zn?X:Ur.right):(Mo=q?Jr(cr,Cr,"before"):I,Rr=!q&&La&&Fr?X:ir.right,Ta=!q&&Ui&&Zn?I:Ur.left,ld=q?Jr(Vr,Cr,"after"):X),fe(Mo,ir.top,Rr-Mo,ir.bottom),ir.bottom<Ur.top&&fe(I,ir.bottom,null,Ur.top),fe(Ta,Ur.top,ld-Ta,Ur.bottom)}(!Gt||ac(ir,Gt)<0)&&(Gt=ir),ac(Ur,Gt)<0&&(Gt=Ur),(!br||ac(ir,br)<0)&&(br=ir),ac(Ur,br)<0&&(br=Ur)}),{start:Gt,end:br}}var Fe=s.from(),Ce=s.to();if(Fe.line==Ce.line)ve(Fe.line,Fe.ch,Ce.ch);else{var We=F(v,Fe.line),Ue=F(v,Ce.line),it=Pn(We)==Pn(Ue),ct=ve(Fe.line,Fe.ch,it?We.text.length+1:null).end,ht=ve(Ce.line,it?0:null,Ce.ch).start;it&&(ct.top<ht.top-2?(fe(ct.right,ct.top,null,ct.bottom),fe(I,ht.top,ht.left,ht.bottom)):fe(ct.right,ct.top,ht.left-ct.right,ct.bottom)),ct.bottom<ht.top&&fe(I,ct.bottom,null,ht.top)}m.appendChild(S)}function Ih(i){if(!!i.state.focused){var s=i.display;clearInterval(s.blinker);var m=!0;s.cursorDiv.style.visibility="",i.options.cursorBlinkRate>0?s.blinker=setInterval(function(){i.hasFocus()||xa(i),s.cursorDiv.style.visibility=(m=!m)?"":"hidden"},i.options.cursorBlinkRate):i.options.cursorBlinkRate<0&&(s.cursorDiv.style.visibility="hidden")}}function dm(i){i.hasFocus()||(i.display.input.focus(),i.state.focused||Bh(i))}function Rh(i){i.state.delayingBlurEvent=!0,setTimeout(function(){i.state.delayingBlurEvent&&(i.state.delayingBlurEvent=!1,i.state.focused&&xa(i))},100)}function Bh(i,s){i.state.delayingBlurEvent&&!i.state.draggingText&&(i.state.delayingBlurEvent=!1),i.options.readOnly!="nocursor"&&(i.state.focused||(Dt(i,"focus",i,s),i.state.focused=!0,vt(i.display.wrapper,"CodeMirror-focused"),!i.curOp&&i.display.selForContextMenu!=i.doc.sel&&(i.display.input.reset(),L&&setTimeout(function(){return i.display.input.reset(!0)},20)),i.display.input.receivedFocus()),Ih(i))}function xa(i,s){i.state.delayingBlurEvent||(i.state.focused&&(Dt(i,"blur",i,s),i.state.focused=!1,Me(i.display.wrapper,"CodeMirror-focused")),clearInterval(i.display.blinker),setTimeout(function(){i.state.focused||(i.display.shift=!1)},150))}function sc(i){for(var s=i.display,m=s.lineDiv.offsetTop,f=Math.max(0,s.scroller.getBoundingClientRect().top),v=s.lineDiv.getBoundingClientRect().top,S=0,M=0;M<s.view.length;M++){var I=s.view[M],X=i.options.lineWrapping,q=void 0,fe=0;if(!I.hidden){if(v+=I.line.height,z&&A<8){var ve=I.node.offsetTop+I.node.offsetHeight;q=ve-m,m=ve}else{var Fe=I.node.getBoundingClientRect();q=Fe.bottom-Fe.top,!X&&I.text.firstChild&&(fe=I.text.firstChild.getBoundingClientRect().right-Fe.left-1)}var Ce=I.line.height-q;if((Ce>.005||Ce<-.005)&&(v<f&&(S-=Ce),U(I.line,q),fm(I.line),I.rest))for(var We=0;We<I.rest.length;We++)fm(I.rest[We]);if(fe>i.display.sizerWidth){var Ue=Math.ceil(fe/va(i.display));Ue>i.display.maxLineLength&&(i.display.maxLineLength=Ue,i.display.maxLine=I.line,i.display.maxLineChanged=!0)}}}Math.abs(S)>2&&(s.scroller.scrollTop+=S)}function fm(i){if(i.widgets)for(var s=0;s<i.widgets.length;++s){var m=i.widgets[s],f=m.node.parentNode;f&&(m.height=f.offsetHeight)}}function lc(i,s,m){var f=m&&m.top!=null?Math.max(0,m.top):i.scroller.scrollTop;f=Math.floor(f-rc(i));var v=m&&m.bottom!=null?m.bottom:f+i.wrapper.clientHeight,S=ie(s,f),M=ie(s,v);if(m&&m.ensure){var I=m.ensure.from.line,X=m.ensure.to.line;I<S?(S=I,M=ie(s,bi(F(s,I))+i.wrapper.clientHeight)):Math.min(X,s.lastLine())>=M&&(S=ie(s,bi(F(s,X))-i.wrapper.clientHeight),M=X)}return{from:S,to:Math.max(M,S+1)}}function Fw(i,s){if(!Nt(i,"scrollCursorIntoView")){var m=i.display,f=m.sizer.getBoundingClientRect(),v=null,S=m.wrapper.ownerDocument;if(s.top+f.top<0?v=!0:s.bottom+f.top>(S.defaultView.innerHeight||S.documentElement.clientHeight)&&(v=!1),v!=null&&!K){var M=he("div","\u200B",null,`position: absolute;
  719. top: `+(s.top-m.viewOffset-rc(i.display))+`px;
  720. height: `+(s.bottom-s.top+qn(i)+m.barHeight)+`px;
  721. left: `+s.left+"px; width: "+Math.max(2,s.right-s.left)+"px;");i.display.lineSpace.appendChild(M),M.scrollIntoView(v),i.display.lineSpace.removeChild(M)}}}function Mw(i,s,m,f){f==null&&(f=0);var v;!i.options.lineWrapping&&s==m&&(m=s.sticky=="before"?D(s.line,s.ch+1,"before"):s,s=s.ch?D(s.line,s.sticky=="before"?s.ch-1:s.ch,"after"):s);for(var S=0;S<5;S++){var M=!1,I=On(i,s),X=!m||m==s?I:On(i,m);v={left:Math.min(I.left,X.left),top:Math.min(I.top,X.top)-f,right:Math.max(I.left,X.left),bottom:Math.max(I.bottom,X.bottom)+f};var q=Nh(i,v),fe=i.doc.scrollTop,ve=i.doc.scrollLeft;if(q.scrollTop!=null&&(_s(i,q.scrollTop),Math.abs(i.doc.scrollTop-fe)>1&&(M=!0)),q.scrollLeft!=null&&(Do(i,q.scrollLeft),Math.abs(i.doc.scrollLeft-ve)>1&&(M=!0)),!M)break}return v}function Pw(i,s){var m=Nh(i,s);m.scrollTop!=null&&_s(i,m.scrollTop),m.scrollLeft!=null&&Do(i,m.scrollLeft)}function Nh(i,s){var m=i.display,f=ga(i.display);s.top<0&&(s.top=0);var v=i.curOp&&i.curOp.scrollTop!=null?i.curOp.scrollTop:m.scroller.scrollTop,S=Sh(i),M={};s.bottom-s.top>S&&(s.bottom=s.top+S);var I=i.doc.height+Ch(m),X=s.top<f,q=s.bottom>I-f;if(s.top<v)M.scrollTop=X?0:s.top;else if(s.bottom>v+S){var fe=Math.min(s.top,(q?I:s.bottom)-S);fe!=v&&(M.scrollTop=fe)}var ve=i.options.fixedGutter?0:m.gutters.offsetWidth,Fe=i.curOp&&i.curOp.scrollLeft!=null?i.curOp.scrollLeft:m.scroller.scrollLeft-ve,Ce=ko(i)-m.gutters.offsetWidth,We=s.right-s.left>Ce;return We&&(s.right=s.left+Ce),s.left<10?M.scrollLeft=0:s.left<Fe?M.scrollLeft=Math.max(0,s.left+ve-(We?0:10)):s.right>Ce+Fe-3&&(M.scrollLeft=s.right+(We?0:10)-Ce),M}function Hh(i,s){s!=null&&(cc(i),i.curOp.scrollTop=(i.curOp.scrollTop==null?i.doc.scrollTop:i.curOp.scrollTop)+s)}function ba(i){cc(i);var s=i.getCursor();i.curOp.scrollToPos={from:s,to:s,margin:i.options.cursorScrollMargin}}function ws(i,s,m){(s!=null||m!=null)&&cc(i),s!=null&&(i.curOp.scrollLeft=s),m!=null&&(i.curOp.scrollTop=m)}function Ow(i,s){cc(i),i.curOp.scrollToPos=s}function cc(i){var s=i.curOp.scrollToPos;if(s){i.curOp.scrollToPos=null;var m=am(i,s.from),f=am(i,s.to);pm(i,m,f,s.margin)}}function pm(i,s,m,f){var v=Nh(i,{left:Math.min(s.left,m.left),top:Math.min(s.top,m.top)-f,right:Math.max(s.right,m.right),bottom:Math.max(s.bottom,m.bottom)+f});ws(i,v.scrollLeft,v.scrollTop)}function _s(i,s){Math.abs(i.doc.scrollTop-s)<2||(h||Xh(i,{top:s}),mm(i,s,!0),h&&Xh(i),Cs(i,100))}function mm(i,s,m){s=Math.max(0,Math.min(i.display.scroller.scrollHeight-i.display.scroller.clientHeight,s)),!(i.display.scroller.scrollTop==s&&!m)&&(i.doc.scrollTop=s,i.display.scrollbars.setScrollTop(s),i.display.scroller.scrollTop!=s&&(i.display.scroller.scrollTop=s))}function Do(i,s,m,f){s=Math.max(0,Math.min(s,i.display.scroller.scrollWidth-i.display.scroller.clientWidth)),!((m?s==i.doc.scrollLeft:Math.abs(i.doc.scrollLeft-s)<2)&&!f)&&(i.doc.scrollLeft=s,ym(i),i.display.scroller.scrollLeft!=s&&(i.display.scroller.scrollLeft=s),i.display.scrollbars.setScrollLeft(s))}function zs(i){var s=i.display,m=s.gutters.offsetWidth,f=Math.round(i.doc.height+Ch(i.display));return{clientHeight:s.scroller.clientHeight,viewHeight:s.wrapper.clientHeight,scrollWidth:s.scroller.scrollWidth,clientWidth:s.scroller.clientWidth,viewWidth:s.wrapper.clientWidth,barLeft:i.options.fixedGutter?m:0,docHeight:f,scrollHeight:f+qn(i)+s.barHeight,nativeBarWidth:s.nativeBarWidth,gutterWidth:m}}var Eo=function(i,s,m){this.cm=m;var f=this.vert=he("div",[he("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),v=this.horiz=he("div",[he("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");f.tabIndex=v.tabIndex=-1,i(f),i(v),nt(f,"scroll",function(){f.clientHeight&&s(f.scrollTop,"vertical")}),nt(v,"scroll",function(){v.clientWidth&&s(v.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,z&&A<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Eo.prototype.update=function(i){var s=i.scrollWidth>i.clientWidth+1,m=i.scrollHeight>i.clientHeight+1,f=i.nativeBarWidth;if(m){this.vert.style.display="block",this.vert.style.bottom=s?f+"px":"0";var v=i.viewHeight-(s?f:0);this.vert.firstChild.style.height=Math.max(0,i.scrollHeight-i.clientHeight+v)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(s){this.horiz.style.display="block",this.horiz.style.right=m?f+"px":"0",this.horiz.style.left=i.barLeft+"px";var S=i.viewWidth-i.barLeft-(m?f:0);this.horiz.firstChild.style.width=Math.max(0,i.scrollWidth-i.clientWidth+S)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&i.clientHeight>0&&(f==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:m?f:0,bottom:s?f:0}},Eo.prototype.setScrollLeft=function(i){this.horiz.scrollLeft!=i&&(this.horiz.scrollLeft=i),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Eo.prototype.setScrollTop=function(i){this.vert.scrollTop!=i&&(this.vert.scrollTop=i),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Eo.prototype.zeroWidthHack=function(){var i=j&&!ae?"12px":"18px";this.horiz.style.height=this.vert.style.width=i,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new Ge,this.disableVert=new Ge},Eo.prototype.enableZeroWidthBar=function(i,s,m){i.style.visibility="";function f(){var v=i.getBoundingClientRect(),S=m=="vert"?document.elementFromPoint(v.right-1,(v.top+v.bottom)/2):document.elementFromPoint((v.right+v.left)/2,v.bottom-1);S!=i?i.style.visibility="hidden":s.set(1e3,f)}s.set(1e3,f)},Eo.prototype.clear=function(){var i=this.horiz.parentNode;i.removeChild(this.horiz),i.removeChild(this.vert)};var ks=function(){};ks.prototype.update=function(){return{bottom:0,right:0}},ks.prototype.setScrollLeft=function(){},ks.prototype.setScrollTop=function(){},ks.prototype.clear=function(){};function ya(i,s){s||(s=zs(i));var m=i.display.barWidth,f=i.display.barHeight;gm(i,s);for(var v=0;v<4&&m!=i.display.barWidth||f!=i.display.barHeight;v++)m!=i.display.barWidth&&i.options.lineWrapping&&sc(i),gm(i,zs(i)),m=i.display.barWidth,f=i.display.barHeight}function gm(i,s){var m=i.display,f=m.scrollbars.update(s);m.sizer.style.paddingRight=(m.barWidth=f.right)+"px",m.sizer.style.paddingBottom=(m.barHeight=f.bottom)+"px",m.heightForcer.style.borderBottom=f.bottom+"px solid transparent",f.right&&f.bottom?(m.scrollbarFiller.style.display="block",m.scrollbarFiller.style.height=f.bottom+"px",m.scrollbarFiller.style.width=f.right+"px"):m.scrollbarFiller.style.display="",f.bottom&&i.options.coverGutterNextToScrollbar&&i.options.fixedGutter?(m.gutterFiller.style.display="block",m.gutterFiller.style.height=f.bottom+"px",m.gutterFiller.style.width=s.gutterWidth+"px"):m.gutterFiller.style.display=""}var vm={native:Eo,null:ks};function xm(i){i.display.scrollbars&&(i.display.scrollbars.clear(),i.display.scrollbars.addClass&&Me(i.display.wrapper,i.display.scrollbars.addClass)),i.display.scrollbars=new vm[i.options.scrollbarStyle](function(s){i.display.wrapper.insertBefore(s,i.display.scrollbarFiller),nt(s,"mousedown",function(){i.state.focused&&setTimeout(function(){return i.display.input.focus()},0)}),s.setAttribute("cm-not-content","true")},function(s,m){m=="horizontal"?Do(i,s):_s(i,s)},i),i.display.scrollbars.addClass&&vt(i.display.wrapper,i.display.scrollbars.addClass)}var Iw=0;function Lo(i){i.curOp={cm:i,viewChanged:!1,startHeight:i.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Iw,markArrays:null},fw(i.curOp)}function To(i){var s=i.curOp;s&&mw(s,function(m){for(var f=0;f<m.ops.length;f++)m.ops[f].cm.curOp=null;Rw(m)})}function Rw(i){for(var s=i.ops,m=0;m<s.length;m++)Bw(s[m]);for(var f=0;f<s.length;f++)Nw(s[f]);for(var v=0;v<s.length;v++)Hw(s[v]);for(var S=0;S<s.length;S++)Ww(s[S]);for(var M=0;M<s.length;M++)Xw(s[M])}function Bw(i){var s=i.cm,m=s.display;jw(s),i.updateMaxLine&&zh(s),i.mustUpdate=i.viewChanged||i.forceUpdate||i.scrollTop!=null||i.scrollToPos&&(i.scrollToPos.from.line<m.viewFrom||i.scrollToPos.to.line>=m.viewTo)||m.maxLineChanged&&s.options.lineWrapping,i.update=i.mustUpdate&&new uc(s,i.mustUpdate&&{top:i.scrollTop,ensure:i.scrollToPos},i.forceUpdate)}function Nw(i){i.updatedDisplay=i.mustUpdate&&Wh(i.cm,i.update)}function Hw(i){var s=i.cm,m=s.display;i.updatedDisplay&&sc(s),i.barMeasure=zs(s),m.maxLineChanged&&!s.options.lineWrapping&&(i.adjustWidthTo=Jp(s,m.maxLine,m.maxLine.text.length).left+3,s.display.sizerWidth=i.adjustWidthTo,i.barMeasure.scrollWidth=Math.max(m.scroller.clientWidth,m.sizer.offsetLeft+i.adjustWidthTo+qn(s)+s.display.barWidth),i.maxScrollLeft=Math.max(0,m.sizer.offsetLeft+i.adjustWidthTo-ko(s))),(i.updatedDisplay||i.selectionChanged)&&(i.preparedSelection=m.input.prepareSelection())}function Ww(i){var s=i.cm;i.adjustWidthTo!=null&&(s.display.sizer.style.minWidth=i.adjustWidthTo+"px",i.maxScrollLeft<s.doc.scrollLeft&&Do(s,Math.min(s.display.scroller.scrollLeft,i.maxScrollLeft),!0),s.display.maxLineChanged=!1);var m=i.focus&&i.focus==ot(te(s));i.preparedSelection&&s.display.input.showSelection(i.preparedSelection,m),(i.updatedDisplay||i.startHeight!=s.doc.height)&&ya(s,i.barMeasure),i.updatedDisplay&&jh(s,i.barMeasure),i.selectionChanged&&Ih(s),s.state.focused&&i.updateInput&&s.display.input.reset(i.typing),m&&dm(i.cm)}function Xw(i){var s=i.cm,m=s.display,f=s.doc;if(i.updatedDisplay&&bm(s,i.update),m.wheelStartX!=null&&(i.scrollTop!=null||i.scrollLeft!=null||i.scrollToPos)&&(m.wheelStartX=m.wheelStartY=null),i.scrollTop!=null&&mm(s,i.scrollTop,i.forceScroll),i.scrollLeft!=null&&Do(s,i.scrollLeft,!0,!0),i.scrollToPos){var v=Mw(s,Ie(f,i.scrollToPos.from),Ie(f,i.scrollToPos.to),i.scrollToPos.margin);Fw(s,v)}var S=i.maybeHiddenMarkers,M=i.maybeUnhiddenMarkers;if(S)for(var I=0;I<S.length;++I)S[I].lines.length||Dt(S[I],"hide");if(M)for(var X=0;X<M.length;++X)M[X].lines.length&&Dt(M[X],"unhide");m.wrapper.offsetHeight&&(f.scrollTop=s.display.scroller.scrollTop),i.changeObjs&&Dt(s,"changes",s,i.changeObjs),i.update&&i.update.finish()}function Zr(i,s){if(i.curOp)return s();Lo(i);try{return s()}finally{To(i)}}function vr(i,s){return function(){if(i.curOp)return s.apply(i,arguments);Lo(i);try{return s.apply(i,arguments)}finally{To(i)}}}function Ir(i){return function(){if(this.curOp)return i.apply(this,arguments);Lo(this);try{return i.apply(this,arguments)}finally{To(this)}}}function xr(i){return function(){var s=this.cm;if(!s||s.curOp)return i.apply(this,arguments);Lo(s);try{return i.apply(this,arguments)}finally{To(s)}}}function Cs(i,s){i.doc.highlightFrontier<i.display.viewTo&&i.state.highlight.set(s,we(Yw,i))}function Yw(i){var s=i.doc;if(!(s.highlightFrontier>=i.display.viewTo)){var m=+new Date+i.options.workTime,f=Er(i,s.highlightFrontier),v=[];s.iter(f.line,Math.min(s.first+s.size,i.display.viewTo+500),function(S){if(f.line>=i.display.viewFrom){var M=S.styles,I=S.text.length>i.options.maxHighlightLength?w(s.mode,f.state):null,X=mr(i,S,f,!0);I&&(f.state=I),S.styles=X.styles;var q=S.styleClasses,fe=X.classes;fe?S.styleClasses=fe:q&&(S.styleClasses=null);for(var ve=!M||M.length!=S.styles.length||q!=fe&&(!q||!fe||q.bgClass!=fe.bgClass||q.textClass!=fe.textClass),Fe=0;!ve&&Fe<M.length;++Fe)ve=M[Fe]!=S.styles[Fe];ve&&v.push(f.line),S.stateAfter=f.save(),f.nextLine()}else S.text.length<=i.options.maxHighlightLength&&wn(i,S.text,f),S.stateAfter=f.line%5==0?f.save():null,f.nextLine();if(+new Date>m)return Cs(i,i.options.workDelay),!0}),s.highlightFrontier=f.line,s.modeFrontier=Math.max(s.modeFrontier,f.line),v.length&&Zr(i,function(){for(var S=0;S<v.length;S++)Hi(i,v[S],"text")})}}var uc=function(i,s,m){var f=i.display;this.viewport=s,this.visible=lc(f,i.doc,s),this.editorIsHidden=!f.wrapper.offsetWidth,this.wrapperHeight=f.wrapper.clientHeight,this.wrapperWidth=f.wrapper.clientWidth,this.oldDisplayWidth=ko(i),this.force=m,this.dims=Fh(i),this.events=[]};uc.prototype.signal=function(i,s){Ut(i,s)&&this.events.push(arguments)},uc.prototype.finish=function(){for(var i=0;i<this.events.length;i++)Dt.apply(null,this.events[i])};function jw(i){var s=i.display;!s.scrollbarsClipped&&s.scroller.offsetWidth&&(s.nativeBarWidth=s.scroller.offsetWidth-s.scroller.clientWidth,s.heightForcer.style.height=qn(i)+"px",s.sizer.style.marginBottom=-s.nativeBarWidth+"px",s.sizer.style.borderRightWidth=qn(i)+"px",s.scrollbarsClipped=!0)}function $w(i){if(i.hasFocus())return null;var s=ot(te(i));if(!s||!He(i.display.lineDiv,s))return null;var m={activeElt:s};if(window.getSelection){var f=tt(i).getSelection();f.anchorNode&&f.extend&&He(i.display.lineDiv,f.anchorNode)&&(m.anchorNode=f.anchorNode,m.anchorOffset=f.anchorOffset,m.focusNode=f.focusNode,m.focusOffset=f.focusOffset)}return m}function Vw(i){if(!(!i||!i.activeElt||i.activeElt==ot(i.activeElt.ownerDocument))&&(i.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(i.activeElt.nodeName)&&i.anchorNode&&He(document.body,i.anchorNode)&&He(document.body,i.focusNode))){var s=i.activeElt.ownerDocument,m=s.defaultView.getSelection(),f=s.createRange();f.setEnd(i.anchorNode,i.anchorOffset),f.collapse(!1),m.removeAllRanges(),m.addRange(f),m.extend(i.focusNode,i.focusOffset)}}function Wh(i,s){var m=i.display,f=i.doc;if(s.editorIsHidden)return Wi(i),!1;if(!s.force&&s.visible.from>=m.viewFrom&&s.visible.to<=m.viewTo&&(m.updateLineNumbers==null||m.updateLineNumbers>=m.viewTo)&&m.renderedView==m.view&&um(i)==0)return!1;wm(i)&&(Wi(i),s.dims=Fh(i));var v=f.first+f.size,S=Math.max(s.visible.from-i.options.viewportMargin,f.first),M=Math.min(v,s.visible.to+i.options.viewportMargin);m.viewFrom<S&&S-m.viewFrom<20&&(S=Math.max(f.first,m.viewFrom)),m.viewTo>M&&m.viewTo-M<20&&(M=Math.min(v,m.viewTo)),xi&&(S=wh(i.doc,S),M=Hp(i.doc,M));var I=S!=m.viewFrom||M!=m.viewTo||m.lastWrapHeight!=s.wrapperHeight||m.lastWrapWidth!=s.wrapperWidth;Lw(i,S,M),m.viewOffset=bi(F(i.doc,m.viewFrom)),i.display.mover.style.top=m.viewOffset+"px";var X=um(i);if(!I&&X==0&&!s.force&&m.renderedView==m.view&&(m.updateLineNumbers==null||m.updateLineNumbers>=m.viewTo))return!1;var q=$w(i);return X>4&&(m.lineDiv.style.display="none"),Uw(i,m.updateLineNumbers,s.dims),X>4&&(m.lineDiv.style.display=""),m.renderedView=m.view,Vw(q),ke(m.cursorDiv),ke(m.selectionDiv),m.gutters.style.height=m.sizer.style.minHeight=0,I&&(m.lastWrapHeight=s.wrapperHeight,m.lastWrapWidth=s.wrapperWidth,Cs(i,400)),m.updateLineNumbers=null,!0}function bm(i,s){for(var m=s.viewport,f=!0;;f=!1){if(!f||!i.options.lineWrapping||s.oldDisplayWidth==ko(i)){if(m&&m.top!=null&&(m={top:Math.min(i.doc.height+Ch(i.display)-Sh(i),m.top)}),s.visible=lc(i.display,i.doc,m),s.visible.from>=i.display.viewFrom&&s.visible.to<=i.display.viewTo)break}else f&&(s.visible=lc(i.display,i.doc,m));if(!Wh(i,s))break;sc(i);var v=zs(i);ys(i),ya(i,v),jh(i,v),s.force=!1}s.signal(i,"update",i),(i.display.viewFrom!=i.display.reportedViewFrom||i.display.viewTo!=i.display.reportedViewTo)&&(s.signal(i,"viewportChange",i,i.display.viewFrom,i.display.viewTo),i.display.reportedViewFrom=i.display.viewFrom,i.display.reportedViewTo=i.display.viewTo)}function Xh(i,s){var m=new uc(i,s);if(Wh(i,m)){sc(i),bm(i,m);var f=zs(i);ys(i),ya(i,f),jh(i,f),m.finish()}}function Uw(i,s,m){var f=i.display,v=i.options.lineNumbers,S=f.lineDiv,M=S.firstChild;function I(We){var Ue=We.nextSibling;return L&&j&&i.display.currentWheelTarget==We?We.style.display="none":We.parentNode.removeChild(We),Ue}for(var X=f.view,q=f.viewFrom,fe=0;fe<X.length;fe++){var ve=X[fe];if(!ve.hidden)if(!ve.node||ve.node.parentNode!=S){var Fe=yw(i,ve,q,m);S.insertBefore(Fe,M)}else{for(;M!=ve.node;)M=I(M);var Ce=v&&s!=null&&s<=q&&ve.lineNumber;ve.changes&&(at(ve.changes,"gutter")>-1&&(Ce=!1),$p(i,ve,q,m)),Ce&&(ke(ve.lineNumber),ve.lineNumber.appendChild(document.createTextNode(_(i.options,q)))),M=ve.node.nextSibling}q+=ve.size}for(;M;)M=I(M)}function Yh(i){var s=i.gutters.offsetWidth;i.sizer.style.marginLeft=s+"px",gr(i,"gutterChanged",i)}function jh(i,s){i.display.sizer.style.minHeight=s.docHeight+"px",i.display.heightForcer.style.top=s.docHeight+"px",i.display.gutters.style.height=s.docHeight+i.display.barHeight+qn(i)+"px"}function ym(i){var s=i.display,m=s.view;if(!(!s.alignWidgets&&(!s.gutters.firstChild||!i.options.fixedGutter))){for(var f=Mh(s)-s.scroller.scrollLeft+i.doc.scrollLeft,v=s.gutters.offsetWidth,S=f+"px",M=0;M<m.length;M++)if(!m[M].hidden){i.options.fixedGutter&&(m[M].gutter&&(m[M].gutter.style.left=S),m[M].gutterBackground&&(m[M].gutterBackground.style.left=S));var I=m[M].alignable;if(I)for(var X=0;X<I.length;X++)I[X].style.left=S}i.options.fixedGutter&&(s.gutters.style.left=f+v+"px")}}function wm(i){if(!i.options.lineNumbers)return!1;var s=i.doc,m=_(i.options,s.first+s.size-1),f=i.display;if(m.length!=f.lineNumChars){var v=f.measure.appendChild(he("div",[he("div",m)],"CodeMirror-linenumber CodeMirror-gutter-elt")),S=v.firstChild.offsetWidth,M=v.offsetWidth-S;return f.lineGutter.style.width="",f.lineNumInnerWidth=Math.max(S,f.lineGutter.offsetWidth-M)+1,f.lineNumWidth=f.lineNumInnerWidth+M,f.lineNumChars=f.lineNumInnerWidth?m.length:-1,f.lineGutter.style.width=f.lineNumWidth+"px",Yh(i.display),!0}return!1}function $h(i,s){for(var m=[],f=!1,v=0;v<i.length;v++){var S=i[v],M=null;if(typeof S!="string"&&(M=S.style,S=S.className),S=="CodeMirror-linenumbers")if(s)f=!0;else continue;m.push({className:S,style:M})}return s&&!f&&m.push({className:"CodeMirror-linenumbers",style:null}),m}function _m(i){var s=i.gutters,m=i.gutterSpecs;ke(s),i.lineGutter=null;for(var f=0;f<m.length;++f){var v=m[f],S=v.className,M=v.style,I=s.appendChild(he("div",null,"CodeMirror-gutter "+S));M&&(I.style.cssText=M),S=="CodeMirror-linenumbers"&&(i.lineGutter=I,I.style.width=(i.lineNumWidth||1)+"px")}s.style.display=m.length?"":"none",Yh(i)}function Ss(i){_m(i.display),Yr(i),ym(i)}function Gw(i,s,m,f){var v=this;this.input=m,v.scrollbarFiller=he("div",null,"CodeMirror-scrollbar-filler"),v.scrollbarFiller.setAttribute("cm-not-content","true"),v.gutterFiller=he("div",null,"CodeMirror-gutter-filler"),v.gutterFiller.setAttribute("cm-not-content","true"),v.lineDiv=Le("div",null,"CodeMirror-code"),v.selectionDiv=he("div",null,null,"position: relative; z-index: 1"),v.cursorDiv=he("div",null,"CodeMirror-cursors"),v.measure=he("div",null,"CodeMirror-measure"),v.lineMeasure=he("div",null,"CodeMirror-measure"),v.lineSpace=Le("div",[v.measure,v.lineMeasure,v.selectionDiv,v.cursorDiv,v.lineDiv],null,"position: relative; outline: none");var S=Le("div",[v.lineSpace],"CodeMirror-lines");v.mover=he("div",[S],null,"position: relative"),v.sizer=he("div",[v.mover],"CodeMirror-sizer"),v.sizerWidth=null,v.heightForcer=he("div",null,null,"position: absolute; height: "+Ke+"px; width: 1px;"),v.gutters=he("div",null,"CodeMirror-gutters"),v.lineGutter=null,v.scroller=he("div",[v.sizer,v.heightForcer,v.gutters],"CodeMirror-scroll"),v.scroller.setAttribute("tabIndex","-1"),v.wrapper=he("div",[v.scrollbarFiller,v.gutterFiller,v.scroller],"CodeMirror"),P&&Y>=105&&(v.wrapper.style.clipPath="inset(0px)"),v.wrapper.setAttribute("translate","no"),z&&A<8&&(v.gutters.style.zIndex=-1,v.scroller.style.paddingRight=0),!L&&!(h&&B)&&(v.scroller.draggable=!0),i&&(i.appendChild?i.appendChild(v.wrapper):i(v.wrapper)),v.viewFrom=v.viewTo=s.first,v.reportedViewFrom=v.reportedViewTo=s.first,v.view=[],v.renderedView=null,v.externalMeasured=null,v.viewOffset=0,v.lastWrapHeight=v.lastWrapWidth=0,v.updateLineNumbers=null,v.nativeBarWidth=v.barHeight=v.barWidth=0,v.scrollbarsClipped=!1,v.lineNumWidth=v.lineNumInnerWidth=v.lineNumChars=null,v.alignWidgets=!1,v.cachedCharWidth=v.cachedTextHeight=v.cachedPaddingH=null,v.maxLine=null,v.maxLineLength=0,v.maxLineChanged=!1,v.wheelDX=v.wheelDY=v.wheelStartX=v.wheelStartY=null,v.shift=!1,v.selForContextMenu=null,v.activeTouch=null,v.gutterSpecs=$h(f.gutters,f.lineNumbers),_m(v),m.init(v)}var hc=0,wi=null;z?wi=-.53:h?wi=15:P?wi=-.7:ee&&(wi=-1/3);function zm(i){var s=i.wheelDeltaX,m=i.wheelDeltaY;return s==null&&i.detail&&i.axis==i.HORIZONTAL_AXIS&&(s=i.detail),m==null&&i.detail&&i.axis==i.VERTICAL_AXIS?m=i.detail:m==null&&(m=i.wheelDelta),{x:s,y:m}}function qw(i){var s=zm(i);return s.x*=wi,s.y*=wi,s}function km(i,s){P&&Y==102&&(i.display.chromeScrollHack==null?i.display.sizer.style.pointerEvents="none":clearTimeout(i.display.chromeScrollHack),i.display.chromeScrollHack=setTimeout(function(){i.display.chromeScrollHack=null,i.display.sizer.style.pointerEvents=""},100));var m=zm(s),f=m.x,v=m.y,S=wi;s.deltaMode===0&&(f=s.deltaX,v=s.deltaY,S=1);var M=i.display,I=M.scroller,X=I.scrollWidth>I.clientWidth,q=I.scrollHeight>I.clientHeight;if(!!(f&&X||v&&q)){if(v&&j&&L){e:for(var fe=s.target,ve=M.view;fe!=I;fe=fe.parentNode)for(var Fe=0;Fe<ve.length;Fe++)if(ve[Fe].node==fe){i.display.currentWheelTarget=fe;break e}}if(f&&!h&&!V&&S!=null){v&&q&&_s(i,Math.max(0,I.scrollTop+v*S)),Do(i,Math.max(0,I.scrollLeft+f*S)),(!v||v&&q)&&$t(s),M.wheelStartX=null;return}if(v&&S!=null){var Ce=v*S,We=i.doc.scrollTop,Ue=We+M.wrapper.clientHeight;Ce<0?We=Math.max(0,We+Ce-50):Ue=Math.min(i.doc.height,Ue+Ce+50),Xh(i,{top:We,bottom:Ue})}hc<20&&s.deltaMode!==0&&(M.wheelStartX==null?(M.wheelStartX=I.scrollLeft,M.wheelStartY=I.scrollTop,M.wheelDX=f,M.wheelDY=v,setTimeout(function(){if(M.wheelStartX!=null){var it=I.scrollLeft-M.wheelStartX,ct=I.scrollTop-M.wheelStartY,ht=ct&&M.wheelDY&&ct/M.wheelDY||it&&M.wheelDX&&it/M.wheelDX;M.wheelStartX=M.wheelStartY=null,ht&&(wi=(wi*hc+ht)/(hc+1),++hc)}},200)):(M.wheelDX+=f,M.wheelDY+=v))}}var cn=function(i,s){this.ranges=i,this.primIndex=s};cn.prototype.primary=function(){return this.ranges[this.primIndex]},cn.prototype.equals=function(i){if(i==this)return!0;if(i.primIndex!=this.primIndex||i.ranges.length!=this.ranges.length)return!1;for(var s=0;s<this.ranges.length;s++){var m=this.ranges[s],f=i.ranges[s];if(!Q(m.anchor,f.anchor)||!Q(m.head,f.head))return!1}return!0},cn.prototype.deepCopy=function(){for(var i=[],s=0;s<this.ranges.length;s++)i[s]=new Wt(be(this.ranges[s].anchor),be(this.ranges[s].head));return new cn(i,this.primIndex)},cn.prototype.somethingSelected=function(){for(var i=0;i<this.ranges.length;i++)if(!this.ranges[i].empty())return!0;return!1},cn.prototype.contains=function(i,s){s||(s=i);for(var m=0;m<this.ranges.length;m++){var f=this.ranges[m];if(R(s,f.from())>=0&&R(i,f.to())<=0)return m}return-1};var Wt=function(i,s){this.anchor=i,this.head=s};Wt.prototype.from=function(){return _e(this.anchor,this.head)},Wt.prototype.to=function(){return Re(this.anchor,this.head)},Wt.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function In(i,s,m){var f=i&&i.options.selectionsMayTouch,v=s[m];s.sort(function(Fe,Ce){return R(Fe.from(),Ce.from())}),m=at(s,v);for(var S=1;S<s.length;S++){var M=s[S],I=s[S-1],X=R(I.to(),M.from());if(f&&!M.empty()?X>0:X>=0){var q=_e(I.from(),M.from()),fe=Re(I.to(),M.to()),ve=I.empty()?M.from()==M.head:I.from()==I.head;S<=m&&--m,s.splice(--S,2,new Wt(ve?fe:q,ve?q:fe))}}return new cn(s,m)}function Xi(i,s){return new cn([new Wt(i,s||i)],0)}function Yi(i){return i.text?D(i.from.line+i.text.length-1,Ve(i.text).length+(i.text.length==1?i.from.ch:0)):i.to}function Cm(i,s){if(R(i,s.from)<0)return i;if(R(i,s.to)<=0)return Yi(s);var m=i.line+s.text.length-(s.to.line-s.from.line)-1,f=i.ch;return i.line==s.to.line&&(f+=Yi(s).ch-s.to.ch),D(m,f)}function Vh(i,s){for(var m=[],f=0;f<i.sel.ranges.length;f++){var v=i.sel.ranges[f];m.push(new Wt(Cm(v.anchor,s),Cm(v.head,s)))}return In(i.cm,m,i.sel.primIndex)}function Sm(i,s,m){return i.line==s.line?D(m.line,i.ch-s.ch+m.ch):D(m.line+(i.line-s.line),i.ch)}function Kw(i,s,m){for(var f=[],v=D(i.first,0),S=v,M=0;M<s.length;M++){var I=s[M],X=Sm(I.from,v,S),q=Sm(Yi(I),v,S);if(v=I.to,S=q,m=="around"){var fe=i.sel.ranges[M],ve=R(fe.head,fe.anchor)<0;f[M]=new Wt(ve?q:X,ve?X:q)}else f[M]=new Wt(X,X)}return new cn(f,i.sel.primIndex)}function Uh(i){i.doc.mode=p(i.options,i.doc.modeOption),As(i)}function As(i){i.doc.iter(function(s){s.stateAfter&&(s.stateAfter=null),s.styles&&(s.styles=null)}),i.doc.modeFrontier=i.doc.highlightFrontier=i.doc.first,Cs(i,100),i.state.modeGen++,i.curOp&&Yr(i)}function Am(i,s){return s.from.ch==0&&s.to.ch==0&&Ve(s.text)==""&&(!i.cm||i.cm.options.wholeLineUpdateBefore)}function Gh(i,s,m,f){function v(ht){return m?m[ht]:null}function S(ht,ut,mt){iw(ht,ut,mt,f),gr(ht,"change",ht,s)}function M(ht,ut){for(var mt=[],_t=ht;_t<ut;++_t)mt.push(new fa(q[_t],v(_t),f));return mt}var I=s.from,X=s.to,q=s.text,fe=F(i,I.line),ve=F(i,X.line),Fe=Ve(q),Ce=v(q.length-1),We=X.line-I.line;if(s.full)i.insert(0,M(0,q.length)),i.remove(q.length,i.size-q.length);else if(Am(i,s)){var Ue=M(0,q.length-1);S(ve,ve.text,Ce),We&&i.remove(I.line,We),Ue.length&&i.insert(I.line,Ue)}else if(fe==ve)if(q.length==1)S(fe,fe.text.slice(0,I.ch)+Fe+fe.text.slice(X.ch),Ce);else{var it=M(1,q.length-1);it.push(new fa(Fe+fe.text.slice(X.ch),Ce,f)),S(fe,fe.text.slice(0,I.ch)+q[0],v(0)),i.insert(I.line+1,it)}else if(q.length==1)S(fe,fe.text.slice(0,I.ch)+q[0]+ve.text.slice(X.ch),v(0)),i.remove(I.line+1,We);else{S(fe,fe.text.slice(0,I.ch)+q[0],v(0)),S(ve,Fe+ve.text.slice(X.ch),Ce);var ct=M(1,q.length-1);We>1&&i.remove(I.line+1,We-1),i.insert(I.line+1,ct)}gr(i,"change",i,s)}function ji(i,s,m){function f(v,S,M){if(v.linked)for(var I=0;I<v.linked.length;++I){var X=v.linked[I];if(X.doc!=S){var q=M&&X.sharedHist;m&&!q||(s(X.doc,q),f(X.doc,v,q))}}}f(i,null,!0)}function Dm(i,s){if(s.cm)throw new Error("This document is already in use.");i.doc=s,s.cm=i,Ph(i),Uh(i),Em(i),i.options.direction=s.direction,i.options.lineWrapping||zh(i),i.options.mode=s.modeOption,Yr(i)}function Em(i){(i.doc.direction=="rtl"?vt:Me)(i.display.lineDiv,"CodeMirror-rtl")}function Zw(i){Zr(i,function(){Em(i),Yr(i)})}function dc(i){this.done=[],this.undone=[],this.undoDepth=i?i.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=i?i.maxGeneration:1}function qh(i,s){var m={from:be(s.from),to:Yi(s),text:H(i,s.from,s.to)};return Fm(i,m,s.from.line,s.to.line+1),ji(i,function(f){return Fm(f,m,s.from.line,s.to.line+1)},!0),m}function Lm(i){for(;i.length;){var s=Ve(i);if(s.ranges)i.pop();else break}}function Jw(i,s){if(s)return Lm(i.done),Ve(i.done);if(i.done.length&&!Ve(i.done).ranges)return Ve(i.done);if(i.done.length>1&&!i.done[i.done.length-2].ranges)return i.done.pop(),Ve(i.done)}function Tm(i,s,m,f){var v=i.history;v.undone.length=0;var S=+new Date,M,I;if((v.lastOp==f||v.lastOrigin==s.origin&&s.origin&&(s.origin.charAt(0)=="+"&&v.lastModTime>S-(i.cm?i.cm.options.historyEventDelay:500)||s.origin.charAt(0)=="*"))&&(M=Jw(v,v.lastOp==f)))I=Ve(M.changes),R(s.from,s.to)==0&&R(s.from,I.to)==0?I.to=Yi(s):M.changes.push(qh(i,s));else{var X=Ve(v.done);for((!X||!X.ranges)&&fc(i.sel,v.done),M={changes:[qh(i,s)],generation:v.generation},v.done.push(M);v.done.length>v.undoDepth;)v.done.shift(),v.done[0].ranges||v.done.shift()}v.done.push(m),v.generation=++v.maxGeneration,v.lastModTime=v.lastSelTime=S,v.lastOp=v.lastSelOp=f,v.lastOrigin=v.lastSelOrigin=s.origin,I||Dt(i,"historyAdded")}function Qw(i,s,m,f){var v=s.charAt(0);return v=="*"||v=="+"&&m.ranges.length==f.ranges.length&&m.somethingSelected()==f.somethingSelected()&&new Date-i.history.lastSelTime<=(i.cm?i.cm.options.historyEventDelay:500)}function e_(i,s,m,f){var v=i.history,S=f&&f.origin;m==v.lastSelOp||S&&v.lastSelOrigin==S&&(v.lastModTime==v.lastSelTime&&v.lastOrigin==S||Qw(i,S,Ve(v.done),s))?v.done[v.done.length-1]=s:fc(s,v.done),v.lastSelTime=+new Date,v.lastSelOrigin=S,v.lastSelOp=m,f&&f.clearRedo!==!1&&Lm(v.undone)}function fc(i,s){var m=Ve(s);m&&m.ranges&&m.equals(i)||s.push(i)}function Fm(i,s,m,f){var v=s["spans_"+i.id],S=0;i.iter(Math.max(i.first,m),Math.min(i.first+i.size,f),function(M){M.markedSpans&&((v||(v=s["spans_"+i.id]={}))[S]=M.markedSpans),++S})}function t_(i){if(!i)return null;for(var s,m=0;m<i.length;++m)i[m].marker.explicitlyCleared?s||(s=i.slice(0,m)):s&&s.push(i[m]);return s?s.length?s:null:i}function r_(i,s){var m=s["spans_"+i.id];if(!m)return null;for(var f=[],v=0;v<s.text.length;++v)f.push(t_(m[v]));return f}function Mm(i,s){var m=r_(i,s),f=bh(i,s);if(!m)return f;if(!f)return m;for(var v=0;v<m.length;++v){var S=m[v],M=f[v];if(S&&M){e:for(var I=0;I<M.length;++I){for(var X=M[I],q=0;q<S.length;++q)if(S[q].marker==X.marker)continue e;S.push(X)}}else M&&(m[v]=M)}return m}function wa(i,s,m){for(var f=[],v=0;v<i.length;++v){var S=i[v];if(S.ranges){f.push(m?cn.prototype.deepCopy.call(S):S);continue}var M=S.changes,I=[];f.push({changes:I});for(var X=0;X<M.length;++X){var q=M[X],fe=void 0;if(I.push({from:q.from,to:q.to,text:q.text}),s)for(var ve in q)(fe=ve.match(/^spans_(\d+)$/))&&at(s,Number(fe[1]))>-1&&(Ve(I)[ve]=q[ve],delete q[ve])}}return f}function Kh(i,s,m,f){if(f){var v=i.anchor;if(m){var S=R(s,v)<0;S!=R(m,v)<0?(v=s,s=m):S!=R(s,m)<0&&(s=m)}return new Wt(v,s)}else return new Wt(m||s,s)}function pc(i,s,m,f,v){v==null&&(v=i.cm&&(i.cm.display.shift||i.extend)),Tr(i,new cn([Kh(i.sel.primary(),s,m,v)],0),f)}function Pm(i,s,m){for(var f=[],v=i.cm&&(i.cm.display.shift||i.extend),S=0;S<i.sel.ranges.length;S++)f[S]=Kh(i.sel.ranges[S],s[S],null,v);var M=In(i.cm,f,i.sel.primIndex);Tr(i,M,m)}function Zh(i,s,m,f){var v=i.sel.ranges.slice(0);v[s]=m,Tr(i,In(i.cm,v,i.sel.primIndex),f)}function Om(i,s,m,f){Tr(i,Xi(s,m),f)}function n_(i,s,m){var f={ranges:s.ranges,update:function(v){this.ranges=[];for(var S=0;S<v.length;S++)this.ranges[S]=new Wt(Ie(i,v[S].anchor),Ie(i,v[S].head))},origin:m&&m.origin};return Dt(i,"beforeSelectionChange",i,f),i.cm&&Dt(i.cm,"beforeSelectionChange",i.cm,f),f.ranges!=s.ranges?In(i.cm,f.ranges,f.ranges.length-1):s}function Im(i,s,m){var f=i.history.done,v=Ve(f);v&&v.ranges?(f[f.length-1]=s,mc(i,s,m)):Tr(i,s,m)}function Tr(i,s,m){mc(i,s,m),e_(i,i.sel,i.cm?i.cm.curOp.id:NaN,m)}function mc(i,s,m){(Ut(i,"beforeSelectionChange")||i.cm&&Ut(i.cm,"beforeSelectionChange"))&&(s=n_(i,s,m));var f=m&&m.bias||(R(s.primary().head,i.sel.primary().head)<0?-1:1);Rm(i,Nm(i,s,f,!0)),!(m&&m.scroll===!1)&&i.cm&&i.cm.getOption("readOnly")!="nocursor"&&ba(i.cm)}function Rm(i,s){s.equals(i.sel)||(i.sel=s,i.cm&&(i.cm.curOp.updateInput=1,i.cm.curOp.selectionChanged=!0,Or(i.cm)),gr(i,"cursorActivity",i))}function Bm(i){Rm(i,Nm(i,i.sel,null,!1))}function Nm(i,s,m,f){for(var v,S=0;S<s.ranges.length;S++){var M=s.ranges[S],I=s.ranges.length==i.sel.ranges.length&&i.sel.ranges[S],X=gc(i,M.anchor,I&&I.anchor,m,f),q=M.head==M.anchor?X:gc(i,M.head,I&&I.head,m,f);(v||X!=M.anchor||q!=M.head)&&(v||(v=s.ranges.slice(0,S)),v[S]=new Wt(X,q))}return v?In(i.cm,v,s.primIndex):s}function _a(i,s,m,f,v){var S=F(i,s.line);if(S.markedSpans)for(var M=0;M<S.markedSpans.length;++M){var I=S.markedSpans[M],X=I.marker,q="selectLeft"in X?!X.selectLeft:X.inclusiveLeft,fe="selectRight"in X?!X.selectRight:X.inclusiveRight;if((I.from==null||(q?I.from<=s.ch:I.from<s.ch))&&(I.to==null||(fe?I.to>=s.ch:I.to>s.ch))){if(v&&(Dt(X,"beforeCursorEnter"),X.explicitlyCleared))if(S.markedSpans){--M;continue}else break;if(!X.atomic)continue;if(m){var ve=X.find(f<0?1:-1),Fe=void 0;if((f<0?fe:q)&&(ve=Hm(i,ve,-f,ve&&ve.line==s.line?S:null)),ve&&ve.line==s.line&&(Fe=R(ve,m))&&(f<0?Fe<0:Fe>0))return _a(i,ve,s,f,v)}var Ce=X.find(f<0?-1:1);return(f<0?q:fe)&&(Ce=Hm(i,Ce,f,Ce.line==s.line?S:null)),Ce?_a(i,Ce,s,f,v):null}}return s}function gc(i,s,m,f,v){var S=f||1,M=_a(i,s,m,S,v)||!v&&_a(i,s,m,S,!0)||_a(i,s,m,-S,v)||!v&&_a(i,s,m,-S,!0);return M||(i.cantEdit=!0,D(i.first,0))}function Hm(i,s,m,f){return m<0&&s.ch==0?s.line>i.first?Ie(i,D(s.line-1)):null:m>0&&s.ch==(f||F(i,s.line)).text.length?s.line<i.first+i.size-1?D(s.line+1,0):null:new D(s.line,s.ch+m)}function Wm(i){i.setSelection(D(i.firstLine(),0),D(i.lastLine()),ue)}function Xm(i,s,m){var f={canceled:!1,from:s.from,to:s.to,text:s.text,origin:s.origin,cancel:function(){return f.canceled=!0}};return m&&(f.update=function(v,S,M,I){v&&(f.from=Ie(i,v)),S&&(f.to=Ie(i,S)),M&&(f.text=M),I!==void 0&&(f.origin=I)}),Dt(i,"beforeChange",i,f),i.cm&&Dt(i.cm,"beforeChange",i.cm,f),f.canceled?(i.cm&&(i.cm.curOp.updateInput=2),null):{from:f.from,to:f.to,text:f.text,origin:f.origin}}function za(i,s,m){if(i.cm){if(!i.cm.curOp)return vr(i.cm,za)(i,s,m);if(i.cm.state.suppressEdits)return}if(!((Ut(i,"beforeChange")||i.cm&&Ut(i.cm,"beforeChange"))&&(s=Xm(i,s,!0),!s))){var f=Mp&&!m&&ew(i,s.from,s.to);if(f)for(var v=f.length-1;v>=0;--v)Ym(i,{from:f[v].from,to:f[v].to,text:v?[""]:s.text,origin:s.origin});else Ym(i,s)}}function Ym(i,s){if(!(s.text.length==1&&s.text[0]==""&&R(s.from,s.to)==0)){var m=Vh(i,s);Tm(i,s,m,i.cm?i.cm.curOp.id:NaN),Ds(i,s,m,bh(i,s));var f=[];ji(i,function(v,S){!S&&at(f,v.history)==-1&&(Um(v.history,s),f.push(v.history)),Ds(v,s,null,bh(v,s))})}}function vc(i,s,m){var f=i.cm&&i.cm.state.suppressEdits;if(!(f&&!m)){for(var v=i.history,S,M=i.sel,I=s=="undo"?v.done:v.undone,X=s=="undo"?v.undone:v.done,q=0;q<I.length&&(S=I[q],!(m?S.ranges&&!S.equals(i.sel):!S.ranges));q++);if(q!=I.length){for(v.lastOrigin=v.lastSelOrigin=null;;)if(S=I.pop(),S.ranges){if(fc(S,X),m&&!S.equals(i.sel)){Tr(i,S,{clearRedo:!1});return}M=S}else if(f){I.push(S);return}else break;var fe=[];fc(M,X),X.push({changes:fe,generation:v.generation}),v.generation=S.generation||++v.maxGeneration;for(var ve=Ut(i,"beforeChange")||i.cm&&Ut(i.cm,"beforeChange"),Fe=function(Ue){var it=S.changes[Ue];if(it.origin=s,ve&&!Xm(i,it,!1))return I.length=0,{};fe.push(qh(i,it));var ct=Ue?Vh(i,it):Ve(I);Ds(i,it,ct,Mm(i,it)),!Ue&&i.cm&&i.cm.scrollIntoView({from:it.from,to:Yi(it)});var ht=[];ji(i,function(ut,mt){!mt&&at(ht,ut.history)==-1&&(Um(ut.history,it),ht.push(ut.history)),Ds(ut,it,null,Mm(ut,it))})},Ce=S.changes.length-1;Ce>=0;--Ce){var We=Fe(Ce);if(We)return We.v}}}}function jm(i,s){if(s!=0&&(i.first+=s,i.sel=new cn(xe(i.sel.ranges,function(v){return new Wt(D(v.anchor.line+s,v.anchor.ch),D(v.head.line+s,v.head.ch))}),i.sel.primIndex),i.cm)){Yr(i.cm,i.first,i.first-s,s);for(var m=i.cm.display,f=m.viewFrom;f<m.viewTo;f++)Hi(i.cm,f,"gutter")}}function Ds(i,s,m,f){if(i.cm&&!i.cm.curOp)return vr(i.cm,Ds)(i,s,m,f);if(s.to.line<i.first){jm(i,s.text.length-1-(s.to.line-s.from.line));return}if(!(s.from.line>i.lastLine())){if(s.from.line<i.first){var v=s.text.length-1-(i.first-s.from.line);jm(i,v),s={from:D(i.first,0),to:D(s.to.line+v,s.to.ch),text:[Ve(s.text)],origin:s.origin}}var S=i.lastLine();s.to.line>S&&(s={from:s.from,to:D(S,F(i,S).text.length),text:[s.text[0]],origin:s.origin}),s.removed=H(i,s.from,s.to),m||(m=Vh(i,s)),i.cm?i_(i.cm,s,f):Gh(i,s,f),mc(i,m,ue),i.cantEdit&&gc(i,D(i.firstLine(),0))&&(i.cantEdit=!1)}}function i_(i,s,m){var f=i.doc,v=i.display,S=s.from,M=s.to,I=!1,X=S.line;i.options.lineWrapping||(X=Z(Pn(F(f,S.line))),f.iter(X,M.line+1,function(Ce){if(Ce==v.maxLine)return I=!0,!0})),f.sel.contains(s.from,s.to)>-1&&Or(i),Gh(f,s,m,cm(i)),i.options.lineWrapping||(f.iter(X,S.line+s.text.length,function(Ce){var We=ec(Ce);We>v.maxLineLength&&(v.maxLine=Ce,v.maxLineLength=We,v.maxLineChanged=!0,I=!1)}),I&&(i.curOp.updateMaxLine=!0)),ql(f,S.line),Cs(i,400);var q=s.text.length-(M.line-S.line)-1;s.full?Yr(i):S.line==M.line&&s.text.length==1&&!Am(i.doc,s)?Hi(i,S.line,"text"):Yr(i,S.line,M.line+1,q);var fe=Ut(i,"changes"),ve=Ut(i,"change");if(ve||fe){var Fe={from:S,to:M,text:s.text,removed:s.removed,origin:s.origin};ve&&gr(i,"change",i,Fe),fe&&(i.curOp.changeObjs||(i.curOp.changeObjs=[])).push(Fe)}i.display.selForContextMenu=null}function ka(i,s,m,f,v){var S;f||(f=m),R(f,m)<0&&(S=[f,m],m=S[0],f=S[1]),typeof s=="string"&&(s=i.splitLines(s)),za(i,{from:m,to:f,text:s,origin:v})}function $m(i,s,m,f){m<i.line?i.line+=f:s<i.line&&(i.line=s,i.ch=0)}function Vm(i,s,m,f){for(var v=0;v<i.length;++v){var S=i[v],M=!0;if(S.ranges){S.copied||(S=i[v]=S.deepCopy(),S.copied=!0);for(var I=0;I<S.ranges.length;I++)$m(S.ranges[I].anchor,s,m,f),$m(S.ranges[I].head,s,m,f);continue}for(var X=0;X<S.changes.length;++X){var q=S.changes[X];if(m<q.from.line)q.from=D(q.from.line+f,q.from.ch),q.to=D(q.to.line+f,q.to.ch);else if(s<=q.to.line){M=!1;break}}M||(i.splice(0,v+1),v=0)}}function Um(i,s){var m=s.from.line,f=s.to.line,v=s.text.length-(f-m)-1;Vm(i.done,m,f,v),Vm(i.undone,m,f,v)}function Es(i,s,m,f){var v=s,S=s;return typeof s=="number"?S=F(i,Qe(i,s)):v=Z(s),v==null?null:(f(S,v)&&i.cm&&Hi(i.cm,v,m),S)}function Ls(i){this.lines=i,this.parent=null;for(var s=0,m=0;m<i.length;++m)i[m].parent=this,s+=i[m].height;this.height=s}Ls.prototype={chunkSize:function(){return this.lines.length},removeInner:function(i,s){for(var m=i,f=i+s;m<f;++m){var v=this.lines[m];this.height-=v.height,ow(v),gr(v,"delete")}this.lines.splice(i,s)},collapse:function(i){i.push.apply(i,this.lines)},insertInner:function(i,s,m){this.height+=m,this.lines=this.lines.slice(0,i).concat(s).concat(this.lines.slice(i));for(var f=0;f<s.length;++f)s[f].parent=this},iterN:function(i,s,m){for(var f=i+s;i<f;++i)if(m(this.lines[i]))return!0}};function Ts(i){this.children=i;for(var s=0,m=0,f=0;f<i.length;++f){var v=i[f];s+=v.chunkSize(),m+=v.height,v.parent=this}this.size=s,this.height=m,this.parent=null}Ts.prototype={chunkSize:function(){return this.size},removeInner:function(i,s){this.size-=s;for(var m=0;m<this.children.length;++m){var f=this.children[m],v=f.chunkSize();if(i<v){var S=Math.min(s,v-i),M=f.height;if(f.removeInner(i,S),this.height-=M-f.height,v==S&&(this.children.splice(m--,1),f.parent=null),(s-=S)==0)break;i=0}else i-=v}if(this.size-s<25&&(this.children.length>1||!(this.children[0]instanceof Ls))){var I=[];this.collapse(I),this.children=[new Ls(I)],this.children[0].parent=this}},collapse:function(i){for(var s=0;s<this.children.length;++s)this.children[s].collapse(i)},insertInner:function(i,s,m){this.size+=s.length,this.height+=m;for(var f=0;f<this.children.length;++f){var v=this.children[f],S=v.chunkSize();if(i<=S){if(v.insertInner(i,s,m),v.lines&&v.lines.length>50){for(var M=v.lines.length%25+25,I=M;I<v.lines.length;){var X=new Ls(v.lines.slice(I,I+=25));v.height-=X.height,this.children.splice(++f,0,X),X.parent=this}v.lines=v.lines.slice(0,M),this.maybeSpill()}break}i-=S}},maybeSpill:function(){if(!(this.children.length<=10)){var i=this;do{var s=i.children.splice(i.children.length-5,5),m=new Ts(s);if(i.parent){i.size-=m.size,i.height-=m.height;var v=at(i.parent.children,i);i.parent.children.splice(v+1,0,m)}else{var f=new Ts(i.children);f.parent=i,i.children=[f,m],i=f}m.parent=i.parent}while(i.children.length>10);i.parent.maybeSpill()}},iterN:function(i,s,m){for(var f=0;f<this.children.length;++f){var v=this.children[f],S=v.chunkSize();if(i<S){var M=Math.min(s,S-i);if(v.iterN(i,M,m))return!0;if((s-=M)==0)break;i=0}else i-=S}}};var Fs=function(i,s,m){if(m)for(var f in m)m.hasOwnProperty(f)&&(this[f]=m[f]);this.doc=i,this.node=s};Fs.prototype.clear=function(){var i=this.doc.cm,s=this.line.widgets,m=this.line,f=Z(m);if(!(f==null||!s)){for(var v=0;v<s.length;++v)s[v]==this&&s.splice(v--,1);s.length||(m.widgets=null);var S=xs(this);U(m,Math.max(0,m.height-S)),i&&(Zr(i,function(){Gm(i,m,-S),Hi(i,f,"widget")}),gr(i,"lineWidgetCleared",i,this,f))}},Fs.prototype.changed=function(){var i=this,s=this.height,m=this.doc.cm,f=this.line;this.height=null;var v=xs(this)-s;!v||(Ni(this.doc,f)||U(f,f.height+v),m&&Zr(m,function(){m.curOp.forceUpdate=!0,Gm(m,f,v),gr(m,"lineWidgetChanged",m,i,Z(f))}))},zr(Fs);function Gm(i,s,m){bi(s)<(i.curOp&&i.curOp.scrollTop||i.doc.scrollTop)&&Hh(i,m)}function o_(i,s,m,f){var v=new Fs(i,m,f),S=i.cm;return S&&v.noHScroll&&(S.display.alignWidgets=!0),Es(i,s,"widget",function(M){var I=M.widgets||(M.widgets=[]);if(v.insertAt==null?I.push(v):I.splice(Math.min(I.length,Math.max(0,v.insertAt)),0,v),v.line=M,S&&!Ni(i,M)){var X=bi(M)<i.scrollTop;U(M,M.height+xs(v)),X&&Hh(S,v.height),S.curOp.forceUpdate=!0}return!0}),S&&gr(S,"lineWidgetAdded",S,v,typeof s=="number"?s:Z(s)),v}var qm=0,$i=function(i,s){this.lines=[],this.type=s,this.doc=i,this.id=++qm};$i.prototype.clear=function(){if(!this.explicitlyCleared){var i=this.doc.cm,s=i&&!i.curOp;if(s&&Lo(i),Ut(this,"clear")){var m=this.find();m&&gr(this,"clear",m.from,m.to)}for(var f=null,v=null,S=0;S<this.lines.length;++S){var M=this.lines[S],I=ms(M.markedSpans,this);i&&!this.collapsed?Hi(i,Z(M),"text"):i&&(I.to!=null&&(v=Z(M)),I.from!=null&&(f=Z(M))),M.markedSpans=K1(M.markedSpans,I),I.from==null&&this.collapsed&&!Ni(this.doc,M)&&i&&U(M,ga(i.display))}if(i&&this.collapsed&&!i.options.lineWrapping)for(var X=0;X<this.lines.length;++X){var q=Pn(this.lines[X]),fe=ec(q);fe>i.display.maxLineLength&&(i.display.maxLine=q,i.display.maxLineLength=fe,i.display.maxLineChanged=!0)}f!=null&&i&&this.collapsed&&Yr(i,f,v+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,i&&Bm(i.doc)),i&&gr(i,"markerCleared",i,this,f,v),s&&To(i),this.parent&&this.parent.clear()}},$i.prototype.find=function(i,s){i==null&&this.type=="bookmark"&&(i=1);for(var m,f,v=0;v<this.lines.length;++v){var S=this.lines[v],M=ms(S.markedSpans,this);if(M.from!=null&&(m=D(s?S:Z(S),M.from),i==-1))return m;if(M.to!=null&&(f=D(s?S:Z(S),M.to),i==1))return f}return m&&{from:m,to:f}},$i.prototype.changed=function(){var i=this,s=this.find(-1,!0),m=this,f=this.doc.cm;!s||!f||Zr(f,function(){var v=s.line,S=Z(s.line),M=Ah(f,S);if(M&&(tm(M),f.curOp.selectionChanged=f.curOp.forceUpdate=!0),f.curOp.updateMaxLine=!0,!Ni(m.doc,v)&&m.height!=null){var I=m.height;m.height=null;var X=xs(m)-I;X&&U(v,v.height+X)}gr(f,"markerChanged",f,i)})},$i.prototype.attachLine=function(i){if(!this.lines.length&&this.doc.cm){var s=this.doc.cm.curOp;(!s.maybeHiddenMarkers||at(s.maybeHiddenMarkers,this)==-1)&&(s.maybeUnhiddenMarkers||(s.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(i)},$i.prototype.detachLine=function(i){if(this.lines.splice(at(this.lines,i),1),!this.lines.length&&this.doc.cm){var s=this.doc.cm.curOp;(s.maybeHiddenMarkers||(s.maybeHiddenMarkers=[])).push(this)}},zr($i);function Ca(i,s,m,f,v){if(f&&f.shared)return a_(i,s,m,f,v);if(i.cm&&!i.cm.curOp)return vr(i.cm,Ca)(i,s,m,f,v);var S=new $i(i,v),M=R(s,m);if(f&&Pe(f,S,!1),M>0||M==0&&S.clearWhenEmpty!==!1)return S;if(S.replacedWith&&(S.collapsed=!0,S.widgetNode=Le("span",[S.replacedWith],"CodeMirror-widget"),f.handleMouseEvents||S.widgetNode.setAttribute("cm-ignore-events","true"),f.insertLeft&&(S.widgetNode.insertLeft=!0)),S.collapsed){if(Np(i,s.line,s,m,S)||s.line!=m.line&&Np(i,m.line,s,m,S))throw new Error("Inserting collapsed marker partially overlapping an existing one");q1()}S.addToHistory&&Tm(i,{from:s,to:m,origin:"markText"},i.sel,NaN);var I=s.line,X=i.cm,q;if(i.iter(I,m.line+1,function(ve){X&&S.collapsed&&!X.options.lineWrapping&&Pn(ve)==X.display.maxLine&&(q=!0),S.collapsed&&I!=s.line&&U(ve,0),Z1(ve,new Kl(S,I==s.line?s.ch:null,I==m.line?m.ch:null),i.cm&&i.cm.curOp),++I}),S.collapsed&&i.iter(s.line,m.line+1,function(ve){Ni(i,ve)&&U(ve,0)}),S.clearOnEnter&&nt(S,"beforeCursorEnter",function(){return S.clear()}),S.readOnly&&(G1(),(i.history.done.length||i.history.undone.length)&&i.clearHistory()),S.collapsed&&(S.id=++qm,S.atomic=!0),X){if(q&&(X.curOp.updateMaxLine=!0),S.collapsed)Yr(X,s.line,m.line+1);else if(S.className||S.startStyle||S.endStyle||S.css||S.attributes||S.title)for(var fe=s.line;fe<=m.line;fe++)Hi(X,fe,"text");S.atomic&&Bm(X.doc),gr(X,"markerAdded",X,S)}return S}var Ms=function(i,s){this.markers=i,this.primary=s;for(var m=0;m<i.length;++m)i[m].parent=this};Ms.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var i=0;i<this.markers.length;++i)this.markers[i].clear();gr(this,"clear")}},Ms.prototype.find=function(i,s){return this.primary.find(i,s)},zr(Ms);function a_(i,s,m,f,v){f=Pe(f),f.shared=!1;var S=[Ca(i,s,m,f,v)],M=S[0],I=f.widgetNode;return ji(i,function(X){I&&(f.widgetNode=I.cloneNode(!0)),S.push(Ca(X,Ie(X,s),Ie(X,m),f,v));for(var q=0;q<X.linked.length;++q)if(X.linked[q].isParent)return;M=Ve(S)}),new Ms(S,M)}function Km(i){return i.findMarks(D(i.first,0),i.clipPos(D(i.lastLine())),function(s){return s.parent})}function s_(i,s){for(var m=0;m<s.length;m++){var f=s[m],v=f.find(),S=i.clipPos(v.from),M=i.clipPos(v.to);if(R(S,M)){var I=Ca(i,S,M,f.primary,f.primary.type);f.markers.push(I),I.parent=f}}}function l_(i){for(var s=function(f){var v=i[f],S=[v.primary.doc];ji(v.primary.doc,function(X){return S.push(X)});for(var M=0;M<v.markers.length;M++){var I=v.markers[M];at(S,I.doc)==-1&&(I.parent=null,v.markers.splice(M--,1))}},m=0;m<i.length;m++)s(m)}var c_=0,jr=function(i,s,m,f,v){if(!(this instanceof jr))return new jr(i,s,m,f,v);m==null&&(m=0),Ts.call(this,[new Ls([new fa("",null)])]),this.first=m,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=m;var S=D(m,0);this.sel=Xi(S),this.history=new dc(null),this.id=++c_,this.modeOption=s,this.lineSep=f,this.direction=v=="rtl"?"rtl":"ltr",this.extend=!1,typeof i=="string"&&(i=this.splitLines(i)),Gh(this,{from:S,to:S,text:i}),Tr(this,Xi(S),ue)};jr.prototype=N(Ts.prototype,{constructor:jr,iter:function(i,s,m){m?this.iterN(i-this.first,s-i,m):this.iterN(this.first,this.first+this.size,i)},insert:function(i,s){for(var m=0,f=0;f<s.length;++f)m+=s[f].height;this.insertInner(i-this.first,s,m)},remove:function(i,s){this.removeInner(i-this.first,s)},getValue:function(i){var s=W(this,this.first,this.first+this.size);return i===!1?s:s.join(i||this.lineSeparator())},setValue:xr(function(i){var s=D(this.first,0),m=this.first+this.size-1;za(this,{from:s,to:D(m,F(this,m).text.length),text:this.splitLines(i),origin:"setValue",full:!0},!0),this.cm&&ws(this.cm,0,0),Tr(this,Xi(s),ue)}),replaceRange:function(i,s,m,f){s=Ie(this,s),m=m?Ie(this,m):s,ka(this,i,s,m,f)},getRange:function(i,s,m){var f=H(this,Ie(this,i),Ie(this,s));return m===!1?f:m===""?f.join(""):f.join(m||this.lineSeparator())},getLine:function(i){var s=this.getLineHandle(i);return s&&s.text},getLineHandle:function(i){if(se(this,i))return F(this,i)},getLineNumber:function(i){return Z(i)},getLineHandleVisualStart:function(i){return typeof i=="number"&&(i=F(this,i)),Pn(i)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(i){return Ie(this,i)},getCursor:function(i){var s=this.sel.primary(),m;return i==null||i=="head"?m=s.head:i=="anchor"?m=s.anchor:i=="end"||i=="to"||i===!1?m=s.to():m=s.from(),m},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:xr(function(i,s,m){Om(this,Ie(this,typeof i=="number"?D(i,s||0):i),null,m)}),setSelection:xr(function(i,s,m){Om(this,Ie(this,i),Ie(this,s||i),m)}),extendSelection:xr(function(i,s,m){pc(this,Ie(this,i),s&&Ie(this,s),m)}),extendSelections:xr(function(i,s){Pm(this,wt(this,i),s)}),extendSelectionsBy:xr(function(i,s){var m=xe(this.sel.ranges,i);Pm(this,wt(this,m),s)}),setSelections:xr(function(i,s,m){if(!!i.length){for(var f=[],v=0;v<i.length;v++)f[v]=new Wt(Ie(this,i[v].anchor),Ie(this,i[v].head||i[v].anchor));s==null&&(s=Math.min(i.length-1,this.sel.primIndex)),Tr(this,In(this.cm,f,s),m)}}),addSelection:xr(function(i,s,m){var f=this.sel.ranges.slice(0);f.push(new Wt(Ie(this,i),Ie(this,s||i))),Tr(this,In(this.cm,f,f.length-1),m)}),getSelection:function(i){for(var s=this.sel.ranges,m,f=0;f<s.length;f++){var v=H(this,s[f].from(),s[f].to());m=m?m.concat(v):v}return i===!1?m:m.join(i||this.lineSeparator())},getSelections:function(i){for(var s=[],m=this.sel.ranges,f=0;f<m.length;f++){var v=H(this,m[f].from(),m[f].to());i!==!1&&(v=v.join(i||this.lineSeparator())),s[f]=v}return s},replaceSelection:function(i,s,m){for(var f=[],v=0;v<this.sel.ranges.length;v++)f[v]=i;this.replaceSelections(f,s,m||"+input")},replaceSelections:xr(function(i,s,m){for(var f=[],v=this.sel,S=0;S<v.ranges.length;S++){var M=v.ranges[S];f[S]={from:M.from(),to:M.to(),text:this.splitLines(i[S]),origin:m}}for(var I=s&&s!="end"&&Kw(this,f,s),X=f.length-1;X>=0;X--)za(this,f[X]);I?Im(this,I):this.cm&&ba(this.cm)}),undo:xr(function(){vc(this,"undo")}),redo:xr(function(){vc(this,"redo")}),undoSelection:xr(function(){vc(this,"undo",!0)}),redoSelection:xr(function(){vc(this,"redo",!0)}),setExtending:function(i){this.extend=i},getExtending:function(){return this.extend},historySize:function(){for(var i=this.history,s=0,m=0,f=0;f<i.done.length;f++)i.done[f].ranges||++s;for(var v=0;v<i.undone.length;v++)i.undone[v].ranges||++m;return{undo:s,redo:m}},clearHistory:function(){var i=this;this.history=new dc(this.history),ji(this,function(s){return s.history=i.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(i){return i&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(i){return this.history.generation==(i||this.cleanGeneration)},getHistory:function(){return{done:wa(this.history.done),undone:wa(this.history.undone)}},setHistory:function(i){var s=this.history=new dc(this.history);s.done=wa(i.done.slice(0),null,!0),s.undone=wa(i.undone.slice(0),null,!0)},setGutterMarker:xr(function(i,s,m){return Es(this,i,"gutter",function(f){var v=f.gutterMarkers||(f.gutterMarkers={});return v[s]=m,!m&&Ae(v)&&(f.gutterMarkers=null),!0})}),clearGutter:xr(function(i){var s=this;this.iter(function(m){m.gutterMarkers&&m.gutterMarkers[i]&&Es(s,m,"gutter",function(){return m.gutterMarkers[i]=null,Ae(m.gutterMarkers)&&(m.gutterMarkers=null),!0})})}),lineInfo:function(i){var s;if(typeof i=="number"){if(!se(this,i)||(s=i,i=F(this,i),!i))return null}else if(s=Z(i),s==null)return null;return{line:s,handle:i,text:i.text,gutterMarkers:i.gutterMarkers,textClass:i.textClass,bgClass:i.bgClass,wrapClass:i.wrapClass,widgets:i.widgets}},addLineClass:xr(function(i,s,m){return Es(this,i,s=="gutter"?"gutter":"class",function(f){var v=s=="text"?"textClass":s=="background"?"bgClass":s=="gutter"?"gutterClass":"wrapClass";if(!f[v])f[v]=m;else{if(ze(m).test(f[v]))return!1;f[v]+=" "+m}return!0})}),removeLineClass:xr(function(i,s,m){return Es(this,i,s=="gutter"?"gutter":"class",function(f){var v=s=="text"?"textClass":s=="background"?"bgClass":s=="gutter"?"gutterClass":"wrapClass",S=f[v];if(S)if(m==null)f[v]=null;else{var M=S.match(ze(m));if(!M)return!1;var I=M.index+M[0].length;f[v]=S.slice(0,M.index)+(!M.index||I==S.length?"":" ")+S.slice(I)||null}else return!1;return!0})}),addLineWidget:xr(function(i,s,m){return o_(this,i,s,m)}),removeLineWidget:function(i){i.clear()},markText:function(i,s,m){return Ca(this,Ie(this,i),Ie(this,s),m,m&&m.type||"range")},setBookmark:function(i,s){var m={replacedWith:s&&(s.nodeType==null?s.widget:s),insertLeft:s&&s.insertLeft,clearWhenEmpty:!1,shared:s&&s.shared,handleMouseEvents:s&&s.handleMouseEvents};return i=Ie(this,i),Ca(this,i,i,m,"bookmark")},findMarksAt:function(i){i=Ie(this,i);var s=[],m=F(this,i.line).markedSpans;if(m)for(var f=0;f<m.length;++f){var v=m[f];(v.from==null||v.from<=i.ch)&&(v.to==null||v.to>=i.ch)&&s.push(v.marker.parent||v.marker)}return s},findMarks:function(i,s,m){i=Ie(this,i),s=Ie(this,s);var f=[],v=i.line;return this.iter(i.line,s.line+1,function(S){var M=S.markedSpans;if(M)for(var I=0;I<M.length;I++){var X=M[I];!(X.to!=null&&v==i.line&&i.ch>=X.to||X.from==null&&v!=i.line||X.from!=null&&v==s.line&&X.from>=s.ch)&&(!m||m(X.marker))&&f.push(X.marker.parent||X.marker)}++v}),f},getAllMarks:function(){var i=[];return this.iter(function(s){var m=s.markedSpans;if(m)for(var f=0;f<m.length;++f)m[f].from!=null&&i.push(m[f].marker)}),i},posFromIndex:function(i){var s,m=this.first,f=this.lineSeparator().length;return this.iter(function(v){var S=v.text.length+f;if(S>i)return s=i,!0;i-=S,++m}),Ie(this,D(m,s))},indexFromPos:function(i){i=Ie(this,i);var s=i.ch;if(i.line<this.first||i.ch<0)return 0;var m=this.lineSeparator().length;return this.iter(this.first,i.line,function(f){s+=f.text.length+m}),s},copy:function(i){var s=new jr(W(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return s.scrollTop=this.scrollTop,s.scrollLeft=this.scrollLeft,s.sel=this.sel,s.extend=!1,i&&(s.history.undoDepth=this.history.undoDepth,s.setHistory(this.getHistory())),s},linkedDoc:function(i){i||(i={});var s=this.first,m=this.first+this.size;i.from!=null&&i.from>s&&(s=i.from),i.to!=null&&i.to<m&&(m=i.to);var f=new jr(W(this,s,m),i.mode||this.modeOption,s,this.lineSep,this.direction);return i.sharedHist&&(f.history=this.history),(this.linked||(this.linked=[])).push({doc:f,sharedHist:i.sharedHist}),f.linked=[{doc:this,isParent:!0,sharedHist:i.sharedHist}],s_(f,Km(this)),f},unlinkDoc:function(i){if(i instanceof Jt&&(i=i.doc),this.linked)for(var s=0;s<this.linked.length;++s){var m=this.linked[s];if(m.doc==i){this.linked.splice(s,1),i.unlinkDoc(this),l_(Km(this));break}}if(i.history==this.history){var f=[i.id];ji(i,function(v){return f.push(v.id)},!0),i.history=new dc(null),i.history.done=wa(this.history.done,f),i.history.undone=wa(this.history.undone,f)}},iterLinkedDocs:function(i){ji(this,i)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(i){return this.lineSep?i.split(this.lineSep):ca(i)},lineSeparator:function(){return this.lineSep||`
  722. `},setDirection:xr(function(i){i!="rtl"&&(i="ltr"),i!=this.direction&&(this.direction=i,this.iter(function(s){return s.order=null}),this.cm&&Zw(this.cm))})}),jr.prototype.eachLine=jr.prototype.iter;var Zm=0;function u_(i){var s=this;if(Jm(s),!(Nt(s,i)||yi(s.display,i))){$t(i),z&&(Zm=+new Date);var m=So(s,i,!0),f=i.dataTransfer.files;if(!(!m||s.isReadOnly()))if(f&&f.length&&window.FileReader&&window.File)for(var v=f.length,S=Array(v),M=0,I=function(){++M==v&&vr(s,function(){m=Ie(s.doc,m);var Ce={from:m,to:m,text:s.doc.splitLines(S.filter(function(We){return We!=null}).join(s.doc.lineSeparator())),origin:"paste"};za(s.doc,Ce),Im(s.doc,Xi(Ie(s.doc,m),Ie(s.doc,Yi(Ce))))})()},X=function(Ce,We){if(s.options.allowDropFileTypes&&at(s.options.allowDropFileTypes,Ce.type)==-1){I();return}var Ue=new FileReader;Ue.onerror=function(){return I()},Ue.onload=function(){var it=Ue.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(it)){I();return}S[We]=it,I()},Ue.readAsText(Ce)},q=0;q<f.length;q++)X(f[q],q);else{if(s.state.draggingText&&s.doc.sel.contains(m)>-1){s.state.draggingText(i),setTimeout(function(){return s.display.input.focus()},20);return}try{var fe=i.dataTransfer.getData("Text");if(fe){var ve;if(s.state.draggingText&&!s.state.draggingText.copy&&(ve=s.listSelections()),mc(s.doc,Xi(m,m)),ve)for(var Fe=0;Fe<ve.length;++Fe)ka(s.doc,"",ve[Fe].anchor,ve[Fe].head,"drag");s.replaceSelection(fe,"around","paste"),s.display.input.focus()}}catch{}}}}function h_(i,s){if(z&&(!i.state.draggingText||+new Date-Zm<100)){ln(s);return}if(!(Nt(i,s)||yi(i.display,s))&&(s.dataTransfer.setData("Text",i.getSelection()),s.dataTransfer.effectAllowed="copyMove",s.dataTransfer.setDragImage&&!ee)){var m=he("img",null,null,"position: fixed; left: 0; top: 0;");m.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",V&&(m.width=m.height=1,i.display.wrapper.appendChild(m),m._top=m.offsetTop),s.dataTransfer.setDragImage(m,0,0),V&&m.parentNode.removeChild(m)}}function d_(i,s){var m=So(i,s);if(!!m){var f=document.createDocumentFragment();Oh(i,m,f),i.display.dragCursor||(i.display.dragCursor=he("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),i.display.lineSpace.insertBefore(i.display.dragCursor,i.display.cursorDiv)),De(i.display.dragCursor,f)}}function Jm(i){i.display.dragCursor&&(i.display.lineSpace.removeChild(i.display.dragCursor),i.display.dragCursor=null)}function Qm(i){if(!!document.getElementsByClassName){for(var s=document.getElementsByClassName("CodeMirror"),m=[],f=0;f<s.length;f++){var v=s[f].CodeMirror;v&&m.push(v)}m.length&&m[0].operation(function(){for(var S=0;S<m.length;S++)i(m[S])})}}var eg=!1;function f_(){eg||(p_(),eg=!0)}function p_(){var i;nt(window,"resize",function(){i==null&&(i=setTimeout(function(){i=null,Qm(m_)},100))}),nt(window,"blur",function(){return Qm(xa)})}function m_(i){var s=i.display;s.cachedCharWidth=s.cachedTextHeight=s.cachedPaddingH=null,s.scrollbarsClipped=!1,i.setSize()}for(var Vi={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Ps=0;Ps<10;Ps++)Vi[Ps+48]=Vi[Ps+96]=String(Ps);for(var xc=65;xc<=90;xc++)Vi[xc]=String.fromCharCode(xc);for(var Os=1;Os<=12;Os++)Vi[Os+111]=Vi[Os+63235]="F"+Os;var _i={};_i.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},_i.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},_i.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},_i.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},_i.default=j?_i.macDefault:_i.pcDefault;function g_(i){var s=i.split(/-(?!$)/);i=s[s.length-1];for(var m,f,v,S,M=0;M<s.length-1;M++){var I=s[M];if(/^(cmd|meta|m)$/i.test(I))S=!0;else if(/^a(lt)?$/i.test(I))m=!0;else if(/^(c|ctrl|control)$/i.test(I))f=!0;else if(/^s(hift)?$/i.test(I))v=!0;else throw new Error("Unrecognized modifier name: "+I)}return m&&(i="Alt-"+i),f&&(i="Ctrl-"+i),S&&(i="Cmd-"+i),v&&(i="Shift-"+i),i}function v_(i){var s={};for(var m in i)if(i.hasOwnProperty(m)){var f=i[m];if(/^(name|fallthrough|(de|at)tach)$/.test(m))continue;if(f=="..."){delete i[m];continue}for(var v=xe(m.split(" "),g_),S=0;S<v.length;S++){var M=void 0,I=void 0;S==v.length-1?(I=v.join(" "),M=f):(I=v.slice(0,S+1).join(" "),M="...");var X=s[I];if(!X)s[I]=M;else if(X!=M)throw new Error("Inconsistent bindings for "+I)}delete i[m]}for(var q in s)i[q]=s[q];return i}function Sa(i,s,m,f){s=bc(s);var v=s.call?s.call(i,f):s[i];if(v===!1)return"nothing";if(v==="...")return"multi";if(v!=null&&m(v))return"handled";if(s.fallthrough){if(Object.prototype.toString.call(s.fallthrough)!="[object Array]")return Sa(i,s.fallthrough,m,f);for(var S=0;S<s.fallthrough.length;S++){var M=Sa(i,s.fallthrough[S],m,f);if(M)return M}}}function tg(i){var s=typeof i=="string"?i:Vi[i.keyCode];return s=="Ctrl"||s=="Alt"||s=="Shift"||s=="Mod"}function rg(i,s,m){var f=i;return s.altKey&&f!="Alt"&&(i="Alt-"+i),(Te?s.metaKey:s.ctrlKey)&&f!="Ctrl"&&(i="Ctrl-"+i),(Te?s.ctrlKey:s.metaKey)&&f!="Mod"&&(i="Cmd-"+i),!m&&s.shiftKey&&f!="Shift"&&(i="Shift-"+i),i}function ng(i,s){if(V&&i.keyCode==34&&i.char)return!1;var m=Vi[i.keyCode];return m==null||i.altGraphKey?!1:(i.keyCode==3&&i.code&&(m=i.code),rg(m,i,s))}function bc(i){return typeof i=="string"?_i[i]:i}function Aa(i,s){for(var m=i.doc.sel.ranges,f=[],v=0;v<m.length;v++){for(var S=s(m[v]);f.length&&R(S.from,Ve(f).to)<=0;){var M=f.pop();if(R(M.from,S.from)<0){S.from=M.from;break}}f.push(S)}Zr(i,function(){for(var I=f.length-1;I>=0;I--)ka(i.doc,"",f[I].from,f[I].to,"+delete");ba(i)})}function Jh(i,s,m){var f=rt(i.text,s+m,m);return f<0||f>i.text.length?null:f}function Qh(i,s,m){var f=Jh(i,s.ch,m);return f==null?null:new D(s.line,f,m<0?"after":"before")}function ed(i,s,m,f,v){if(i){s.doc.direction=="rtl"&&(v=-v);var S=qe(m,s.doc.direction);if(S){var M=v<0?Ve(S):S[0],I=v<0==(M.level==1),X=I?"after":"before",q;if(M.level>0||s.doc.direction=="rtl"){var fe=ma(s,m);q=v<0?m.text.length-1:0;var ve=Kn(s,fe,q).top;q=pt(function(Fe){return Kn(s,fe,Fe).top==ve},v<0==(M.level==1)?M.from:M.to-1,q),X=="before"&&(q=Jh(m,q,1))}else q=v<0?M.to:M.from;return new D(f,q,X)}}return new D(f,v<0?m.text.length:0,v<0?"before":"after")}function x_(i,s,m,f){var v=qe(s,i.doc.direction);if(!v)return Qh(s,m,f);m.ch>=s.text.length?(m.ch=s.text.length,m.sticky="before"):m.ch<=0&&(m.ch=0,m.sticky="after");var S=kt(v,m.ch,m.sticky),M=v[S];if(i.doc.direction=="ltr"&&M.level%2==0&&(f>0?M.to>m.ch:M.from<m.ch))return Qh(s,m,f);var I=function(ct,ht){return Jh(s,ct instanceof D?ct.ch:ct,ht)},X,q=function(ct){return i.options.lineWrapping?(X=X||ma(i,s),lm(i,s,X,ct)):{begin:0,end:s.text.length}},fe=q(m.sticky=="before"?I(m,-1):m.ch);if(i.doc.direction=="rtl"||M.level==1){var ve=M.level==1==f<0,Fe=I(m,ve?1:-1);if(Fe!=null&&(ve?Fe<=M.to&&Fe<=fe.end:Fe>=M.from&&Fe>=fe.begin)){var Ce=ve?"before":"after";return new D(m.line,Fe,Ce)}}var We=function(ct,ht,ut){for(var mt=function(Gt,br){return br?new D(m.line,I(Gt,1),"before"):new D(m.line,Gt,"after")};ct>=0&&ct<v.length;ct+=ht){var _t=v[ct],bt=ht>0==(_t.level!=1),Lt=bt?ut.begin:I(ut.end,-1);if(_t.from<=Lt&&Lt<_t.to||(Lt=bt?_t.from:I(_t.to,-1),ut.begin<=Lt&&Lt<ut.end))return mt(Lt,bt)}},Ue=We(S+f,f,fe);if(Ue)return Ue;var it=f>0?fe.end:I(fe.begin,-1);return it!=null&&!(f>0&&it==s.text.length)&&(Ue=We(f>0?0:v.length-1,f,q(it)),Ue)?Ue:null}var Is={selectAll:Wm,singleSelection:function(i){return i.setSelection(i.getCursor("anchor"),i.getCursor("head"),ue)},killLine:function(i){return Aa(i,function(s){if(s.empty()){var m=F(i.doc,s.head.line).text.length;return s.head.ch==m&&s.head.line<i.lastLine()?{from:s.head,to:D(s.head.line+1,0)}:{from:s.head,to:D(s.head.line,m)}}else return{from:s.from(),to:s.to()}})},deleteLine:function(i){return Aa(i,function(s){return{from:D(s.from().line,0),to:Ie(i.doc,D(s.to().line+1,0))}})},delLineLeft:function(i){return Aa(i,function(s){return{from:D(s.from().line,0),to:s.from()}})},delWrappedLineLeft:function(i){return Aa(i,function(s){var m=i.charCoords(s.head,"div").top+5,f=i.coordsChar({left:0,top:m},"div");return{from:f,to:s.from()}})},delWrappedLineRight:function(i){return Aa(i,function(s){var m=i.charCoords(s.head,"div").top+5,f=i.coordsChar({left:i.display.lineDiv.offsetWidth+100,top:m},"div");return{from:s.from(),to:f}})},undo:function(i){return i.undo()},redo:function(i){return i.redo()},undoSelection:function(i){return i.undoSelection()},redoSelection:function(i){return i.redoSelection()},goDocStart:function(i){return i.extendSelection(D(i.firstLine(),0))},goDocEnd:function(i){return i.extendSelection(D(i.lastLine()))},goLineStart:function(i){return i.extendSelectionsBy(function(s){return ig(i,s.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(i){return i.extendSelectionsBy(function(s){return og(i,s.head)},{origin:"+move",bias:1})},goLineEnd:function(i){return i.extendSelectionsBy(function(s){return b_(i,s.head.line)},{origin:"+move",bias:-1})},goLineRight:function(i){return i.extendSelectionsBy(function(s){var m=i.cursorCoords(s.head,"div").top+5;return i.coordsChar({left:i.display.lineDiv.offsetWidth+100,top:m},"div")},Oe)},goLineLeft:function(i){return i.extendSelectionsBy(function(s){var m=i.cursorCoords(s.head,"div").top+5;return i.coordsChar({left:0,top:m},"div")},Oe)},goLineLeftSmart:function(i){return i.extendSelectionsBy(function(s){var m=i.cursorCoords(s.head,"div").top+5,f=i.coordsChar({left:0,top:m},"div");return f.ch<i.getLine(f.line).search(/\S/)?og(i,s.head):f},Oe)},goLineUp:function(i){return i.moveV(-1,"line")},goLineDown:function(i){return i.moveV(1,"line")},goPageUp:function(i){return i.moveV(-1,"page")},goPageDown:function(i){return i.moveV(1,"page")},goCharLeft:function(i){return i.moveH(-1,"char")},goCharRight:function(i){return i.moveH(1,"char")},goColumnLeft:function(i){return i.moveH(-1,"column")},goColumnRight:function(i){return i.moveH(1,"column")},goWordLeft:function(i){return i.moveH(-1,"word")},goGroupRight:function(i){return i.moveH(1,"group")},goGroupLeft:function(i){return i.moveH(-1,"group")},goWordRight:function(i){return i.moveH(1,"word")},delCharBefore:function(i){return i.deleteH(-1,"codepoint")},delCharAfter:function(i){return i.deleteH(1,"char")},delWordBefore:function(i){return i.deleteH(-1,"word")},delWordAfter:function(i){return i.deleteH(1,"word")},delGroupBefore:function(i){return i.deleteH(-1,"group")},delGroupAfter:function(i){return i.deleteH(1,"group")},indentAuto:function(i){return i.indentSelection("smart")},indentMore:function(i){return i.indentSelection("add")},indentLess:function(i){return i.indentSelection("subtract")},insertTab:function(i){return i.replaceSelection(" ")},insertSoftTab:function(i){for(var s=[],m=i.listSelections(),f=i.options.tabSize,v=0;v<m.length;v++){var S=m[v].from(),M=$e(i.getLine(S.line),S.ch,f);s.push(Ze(f-M%f))}i.replaceSelections(s)},defaultTab:function(i){i.somethingSelected()?i.indentSelection("add"):i.execCommand("insertTab")},transposeChars:function(i){return Zr(i,function(){for(var s=i.listSelections(),m=[],f=0;f<s.length;f++)if(!!s[f].empty()){var v=s[f].head,S=F(i.doc,v.line).text;if(S){if(v.ch==S.length&&(v=new D(v.line,v.ch-1)),v.ch>0)v=new D(v.line,v.ch+1),i.replaceRange(S.charAt(v.ch-1)+S.charAt(v.ch-2),D(v.line,v.ch-2),v,"+transpose");else if(v.line>i.doc.first){var M=F(i.doc,v.line-1).text;M&&(v=new D(v.line,1),i.replaceRange(S.charAt(0)+i.doc.lineSeparator()+M.charAt(M.length-1),D(v.line-1,M.length-1),v,"+transpose"))}}m.push(new Wt(v,v))}i.setSelections(m)})},newlineAndIndent:function(i){return Zr(i,function(){for(var s=i.listSelections(),m=s.length-1;m>=0;m--)i.replaceRange(i.doc.lineSeparator(),s[m].anchor,s[m].head,"+input");s=i.listSelections();for(var f=0;f<s.length;f++)i.indentLine(s[f].from().line,null,!0);ba(i)})},openLine:function(i){return i.replaceSelection(`
  723. `,"start")},toggleOverwrite:function(i){return i.toggleOverwrite()}};function ig(i,s){var m=F(i.doc,s),f=Pn(m);return f!=m&&(s=Z(f)),ed(!0,i,f,s,1)}function b_(i,s){var m=F(i.doc,s),f=rw(m);return f!=m&&(s=Z(f)),ed(!0,i,m,s,-1)}function og(i,s){var m=ig(i,s.line),f=F(i.doc,m.line),v=qe(f,i.doc.direction);if(!v||v[0].level==0){var S=Math.max(m.ch,f.text.search(/\S/)),M=s.line==m.line&&s.ch<=S&&s.ch;return D(m.line,M?0:S,m.sticky)}return m}function yc(i,s,m){if(typeof s=="string"&&(s=Is[s],!s))return!1;i.display.input.ensurePolled();var f=i.display.shift,v=!1;try{i.isReadOnly()&&(i.state.suppressEdits=!0),m&&(i.display.shift=!1),v=s(i)!=dt}finally{i.display.shift=f,i.state.suppressEdits=!1}return v}function y_(i,s,m){for(var f=0;f<i.state.keyMaps.length;f++){var v=Sa(s,i.state.keyMaps[f],m,i);if(v)return v}return i.options.extraKeys&&Sa(s,i.options.extraKeys,m,i)||Sa(s,i.options.keyMap,m,i)}var w_=new Ge;function Rs(i,s,m,f){var v=i.state.keySeq;if(v){if(tg(s))return"handled";if(/\'$/.test(s)?i.state.keySeq=null:w_.set(50,function(){i.state.keySeq==v&&(i.state.keySeq=null,i.display.input.reset())}),ag(i,v+" "+s,m,f))return!0}return ag(i,s,m,f)}function ag(i,s,m,f){var v=y_(i,s,f);return v=="multi"&&(i.state.keySeq=s),v=="handled"&&gr(i,"keyHandled",i,s,m),(v=="handled"||v=="multi")&&($t(m),Ih(i)),!!v}function sg(i,s){var m=ng(s,!0);return m?s.shiftKey&&!i.state.keySeq?Rs(i,"Shift-"+m,s,function(f){return yc(i,f,!0)})||Rs(i,m,s,function(f){if(typeof f=="string"?/^go[A-Z]/.test(f):f.motion)return yc(i,f)}):Rs(i,m,s,function(f){return yc(i,f)}):!1}function __(i,s,m){return Rs(i,"'"+m+"'",s,function(f){return yc(i,f,!0)})}var td=null;function lg(i){var s=this;if(!(i.target&&i.target!=s.display.input.getField())&&(s.curOp.focus=ot(te(s)),!Nt(s,i))){z&&A<11&&i.keyCode==27&&(i.returnValue=!1);var m=i.keyCode;s.display.shift=m==16||i.shiftKey;var f=sg(s,i);V&&(td=f?m:null,!f&&m==88&&!ds&&(j?i.metaKey:i.ctrlKey)&&s.replaceSelection("",null,"cut")),h&&!j&&!f&&m==46&&i.shiftKey&&!i.ctrlKey&&document.execCommand&&document.execCommand("cut"),m==18&&!/\bCodeMirror-crosshair\b/.test(s.display.lineDiv.className)&&z_(s)}}function z_(i){var s=i.display.lineDiv;vt(s,"CodeMirror-crosshair");function m(f){(f.keyCode==18||!f.altKey)&&(Me(s,"CodeMirror-crosshair"),Ct(document,"keyup",m),Ct(document,"mouseover",m))}nt(document,"keyup",m),nt(document,"mouseover",m)}function cg(i){i.keyCode==16&&(this.doc.sel.shift=!1),Nt(this,i)}function ug(i){var s=this;if(!(i.target&&i.target!=s.display.input.getField())&&!(yi(s.display,i)||Nt(s,i)||i.ctrlKey&&!i.altKey||j&&i.metaKey)){var m=i.keyCode,f=i.charCode;if(V&&m==td){td=null,$t(i);return}if(!(V&&(!i.which||i.which<10)&&sg(s,i))){var v=String.fromCharCode(f==null?m:f);v!="\b"&&(__(s,i,v)||s.display.input.onKeyPress(i))}}}var k_=400,rd=function(i,s,m){this.time=i,this.pos=s,this.button=m};rd.prototype.compare=function(i,s,m){return this.time+k_>i&&R(s,this.pos)==0&&m==this.button};var Bs,Ns;function C_(i,s){var m=+new Date;return Ns&&Ns.compare(m,i,s)?(Bs=Ns=null,"triple"):Bs&&Bs.compare(m,i,s)?(Ns=new rd(m,i,s),Bs=null,"double"):(Bs=new rd(m,i,s),Ns=null,"single")}function hg(i){var s=this,m=s.display;if(!(Nt(s,i)||m.activeTouch&&m.input.supportsTouch())){if(m.input.ensurePolled(),m.shift=i.shiftKey,yi(m,i)){L||(m.scroller.draggable=!1,setTimeout(function(){return m.scroller.draggable=!0},100));return}if(!nd(s,i)){var f=So(s,i),v=yn(i),S=f?C_(f,v):"single";tt(s).focus(),v==1&&s.state.selectingText&&s.state.selectingText(i),!(f&&S_(s,v,f,S,i))&&(v==1?f?D_(s,f,S,i):Xr(i)==m.scroller&&$t(i):v==2?(f&&pc(s.doc,f),setTimeout(function(){return m.input.focus()},20)):v==3&&(Ne?s.display.input.onContextMenu(i):Rh(s)))}}}function S_(i,s,m,f,v){var S="Click";return f=="double"?S="Double"+S:f=="triple"&&(S="Triple"+S),S=(s==1?"Left":s==2?"Middle":"Right")+S,Rs(i,rg(S,v),v,function(M){if(typeof M=="string"&&(M=Is[M]),!M)return!1;var I=!1;try{i.isReadOnly()&&(i.state.suppressEdits=!0),I=M(i,m)!=dt}finally{i.state.suppressEdits=!1}return I})}function A_(i,s,m){var f=i.getOption("configureMouse"),v=f?f(i,s,m):{};if(v.unit==null){var S=oe?m.shiftKey&&m.metaKey:m.altKey;v.unit=S?"rectangle":s=="single"?"char":s=="double"?"word":"line"}return(v.extend==null||i.doc.extend)&&(v.extend=i.doc.extend||m.shiftKey),v.addNew==null&&(v.addNew=j?m.metaKey:m.ctrlKey),v.moveOnDrag==null&&(v.moveOnDrag=!(j?m.altKey:m.ctrlKey)),v}function D_(i,s,m,f){z?setTimeout(we(dm,i),0):i.curOp.focus=ot(te(i));var v=A_(i,m,f),S=i.doc.sel,M;i.options.dragDrop&&vi&&!i.isReadOnly()&&m=="single"&&(M=S.contains(s))>-1&&(R((M=S.ranges[M]).from(),s)<0||s.xRel>0)&&(R(M.to(),s)>0||s.xRel<0)?E_(i,f,s,v):L_(i,f,s,v)}function E_(i,s,m,f){var v=i.display,S=!1,M=vr(i,function(q){L&&(v.scroller.draggable=!1),i.state.draggingText=!1,i.state.delayingBlurEvent&&(i.hasFocus()?i.state.delayingBlurEvent=!1:Rh(i)),Ct(v.wrapper.ownerDocument,"mouseup",M),Ct(v.wrapper.ownerDocument,"mousemove",I),Ct(v.scroller,"dragstart",X),Ct(v.scroller,"drop",M),S||($t(q),f.addNew||pc(i.doc,m,null,null,f.extend),L&&!ee||z&&A==9?setTimeout(function(){v.wrapper.ownerDocument.body.focus({preventScroll:!0}),v.input.focus()},20):v.input.focus())}),I=function(q){S=S||Math.abs(s.clientX-q.clientX)+Math.abs(s.clientY-q.clientY)>=10},X=function(){return S=!0};L&&(v.scroller.draggable=!0),i.state.draggingText=M,M.copy=!f.moveOnDrag,nt(v.wrapper.ownerDocument,"mouseup",M),nt(v.wrapper.ownerDocument,"mousemove",I),nt(v.scroller,"dragstart",X),nt(v.scroller,"drop",M),i.state.delayingBlurEvent=!0,setTimeout(function(){return v.input.focus()},20),v.scroller.dragDrop&&v.scroller.dragDrop()}function dg(i,s,m){if(m=="char")return new Wt(s,s);if(m=="word")return i.findWordAt(s);if(m=="line")return new Wt(D(s.line,0),Ie(i.doc,D(s.line+1,0)));var f=m(i,s);return new Wt(f.from,f.to)}function L_(i,s,m,f){z&&Rh(i);var v=i.display,S=i.doc;$t(s);var M,I,X=S.sel,q=X.ranges;if(f.addNew&&!f.extend?(I=S.sel.contains(m),I>-1?M=q[I]:M=new Wt(m,m)):(M=S.sel.primary(),I=S.sel.primIndex),f.unit=="rectangle")f.addNew||(M=new Wt(m,m)),m=So(i,s,!0,!0),I=-1;else{var fe=dg(i,m,f.unit);f.extend?M=Kh(M,fe.anchor,fe.head,f.extend):M=fe}f.addNew?I==-1?(I=q.length,Tr(S,In(i,q.concat([M]),I),{scroll:!1,origin:"*mouse"})):q.length>1&&q[I].empty()&&f.unit=="char"&&!f.extend?(Tr(S,In(i,q.slice(0,I).concat(q.slice(I+1)),0),{scroll:!1,origin:"*mouse"}),X=S.sel):Zh(S,I,M,ye):(I=0,Tr(S,new cn([M],0),ye),X=S.sel);var ve=m;function Fe(ut){if(R(ve,ut)!=0)if(ve=ut,f.unit=="rectangle"){for(var mt=[],_t=i.options.tabSize,bt=$e(F(S,m.line).text,m.ch,_t),Lt=$e(F(S,ut.line).text,ut.ch,_t),Gt=Math.min(bt,Lt),br=Math.max(bt,Lt),tr=Math.min(m.line,ut.line),Jr=Math.min(i.lastLine(),Math.max(m.line,ut.line));tr<=Jr;tr++){var $r=F(S,tr).text,cr=Xe($r,Gt,_t);Gt==br?mt.push(new Wt(D(tr,cr),D(tr,cr))):$r.length>cr&&mt.push(new Wt(D(tr,cr),D(tr,Xe($r,br,_t))))}mt.length||mt.push(new Wt(m,m)),Tr(S,In(i,X.ranges.slice(0,I).concat(mt),I),{origin:"*mouse",scroll:!1}),i.scrollIntoView(ut)}else{var Vr=M,Cr=dg(i,ut,f.unit),dr=Vr.anchor,ur;R(Cr.anchor,dr)>0?(ur=Cr.head,dr=_e(Vr.from(),Cr.anchor)):(ur=Cr.anchor,dr=Re(Vr.to(),Cr.head));var ir=X.ranges.slice(0);ir[I]=T_(i,new Wt(Ie(S,dr),ur)),Tr(S,In(i,ir,I),ye)}}var Ce=v.wrapper.getBoundingClientRect(),We=0;function Ue(ut){var mt=++We,_t=So(i,ut,!0,f.unit=="rectangle");if(!!_t)if(R(_t,ve)!=0){i.curOp.focus=ot(te(i)),Fe(_t);var bt=lc(v,S);(_t.line>=bt.to||_t.line<bt.from)&&setTimeout(vr(i,function(){We==mt&&Ue(ut)}),150)}else{var Lt=ut.clientY<Ce.top?-20:ut.clientY>Ce.bottom?20:0;Lt&&setTimeout(vr(i,function(){We==mt&&(v.scroller.scrollTop+=Lt,Ue(ut))}),50)}}function it(ut){i.state.selectingText=!1,We=1/0,ut&&($t(ut),v.input.focus()),Ct(v.wrapper.ownerDocument,"mousemove",ct),Ct(v.wrapper.ownerDocument,"mouseup",ht),S.history.lastSelOrigin=null}var ct=vr(i,function(ut){ut.buttons===0||!yn(ut)?it(ut):Ue(ut)}),ht=vr(i,it);i.state.selectingText=ht,nt(v.wrapper.ownerDocument,"mousemove",ct),nt(v.wrapper.ownerDocument,"mouseup",ht)}function T_(i,s){var m=s.anchor,f=s.head,v=F(i.doc,m.line);if(R(m,f)==0&&m.sticky==f.sticky)return s;var S=qe(v);if(!S)return s;var M=kt(S,m.ch,m.sticky),I=S[M];if(I.from!=m.ch&&I.to!=m.ch)return s;var X=M+(I.from==m.ch==(I.level!=1)?0:1);if(X==0||X==S.length)return s;var q;if(f.line!=m.line)q=(f.line-m.line)*(i.doc.direction=="ltr"?1:-1)>0;else{var fe=kt(S,f.ch,f.sticky),ve=fe-M||(f.ch-m.ch)*(I.level==1?-1:1);fe==X-1||fe==X?q=ve<0:q=ve>0}var Fe=S[X+(q?-1:0)],Ce=q==(Fe.level==1),We=Ce?Fe.from:Fe.to,Ue=Ce?"after":"before";return m.ch==We&&m.sticky==Ue?s:new Wt(new D(m.line,We,Ue),f)}function fg(i,s,m,f){var v,S;if(s.touches)v=s.touches[0].clientX,S=s.touches[0].clientY;else try{v=s.clientX,S=s.clientY}catch{return!1}if(v>=Math.floor(i.display.gutters.getBoundingClientRect().right))return!1;f&&$t(s);var M=i.display,I=M.lineDiv.getBoundingClientRect();if(S>I.bottom||!Ut(i,m))return Mn(s);S-=I.top-M.viewOffset;for(var X=0;X<i.display.gutterSpecs.length;++X){var q=M.gutters.childNodes[X];if(q&&q.getBoundingClientRect().right>=v){var fe=ie(i.doc,S),ve=i.display.gutterSpecs[X];return Dt(i,m,i,fe,ve.className,s),Mn(s)}}}function nd(i,s){return fg(i,s,"gutterClick",!0)}function pg(i,s){yi(i.display,s)||F_(i,s)||Nt(i,s,"contextmenu")||Ne||i.display.input.onContextMenu(s)}function F_(i,s){return Ut(i,"gutterContextMenu")?fg(i,s,"gutterContextMenu",!1):!1}function mg(i){i.display.wrapper.className=i.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+i.options.theme.replace(/(^|\s)\s*/g," cm-s-"),bs(i)}var Da={toString:function(){return"CodeMirror.Init"}},gg={},wc={};function M_(i){var s=i.optionHandlers;function m(f,v,S,M){i.defaults[f]=v,S&&(s[f]=M?function(I,X,q){q!=Da&&S(I,X,q)}:S)}i.defineOption=m,i.Init=Da,m("value","",function(f,v){return f.setValue(v)},!0),m("mode",null,function(f,v){f.doc.modeOption=v,Uh(f)},!0),m("indentUnit",2,Uh,!0),m("indentWithTabs",!1),m("smartIndent",!0),m("tabSize",4,function(f){As(f),bs(f),Yr(f)},!0),m("lineSeparator",null,function(f,v){if(f.doc.lineSep=v,!!v){var S=[],M=f.doc.first;f.doc.iter(function(X){for(var q=0;;){var fe=X.text.indexOf(v,q);if(fe==-1)break;q=fe+v.length,S.push(D(M,fe))}M++});for(var I=S.length-1;I>=0;I--)ka(f.doc,v,S[I],D(S[I].line,S[I].ch+v.length))}}),m("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(f,v,S){f.state.specialChars=new RegExp(v.source+(v.test(" ")?"":"| "),"g"),S!=Da&&f.refresh()}),m("specialCharPlaceholder",lw,function(f){return f.refresh()},!0),m("electricChars",!0),m("inputStyle",B?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),m("spellcheck",!1,function(f,v){return f.getInputField().spellcheck=v},!0),m("autocorrect",!1,function(f,v){return f.getInputField().autocorrect=v},!0),m("autocapitalize",!1,function(f,v){return f.getInputField().autocapitalize=v},!0),m("rtlMoveVisually",!de),m("wholeLineUpdateBefore",!0),m("theme","default",function(f){mg(f),Ss(f)},!0),m("keyMap","default",function(f,v,S){var M=bc(v),I=S!=Da&&bc(S);I&&I.detach&&I.detach(f,M),M.attach&&M.attach(f,I||null)}),m("extraKeys",null),m("configureMouse",null),m("lineWrapping",!1,O_,!0),m("gutters",[],function(f,v){f.display.gutterSpecs=$h(v,f.options.lineNumbers),Ss(f)},!0),m("fixedGutter",!0,function(f,v){f.display.gutters.style.left=v?Mh(f.display)+"px":"0",f.refresh()},!0),m("coverGutterNextToScrollbar",!1,function(f){return ya(f)},!0),m("scrollbarStyle","native",function(f){xm(f),ya(f),f.display.scrollbars.setScrollTop(f.doc.scrollTop),f.display.scrollbars.setScrollLeft(f.doc.scrollLeft)},!0),m("lineNumbers",!1,function(f,v){f.display.gutterSpecs=$h(f.options.gutters,v),Ss(f)},!0),m("firstLineNumber",1,Ss,!0),m("lineNumberFormatter",function(f){return f},Ss,!0),m("showCursorWhenSelecting",!1,ys,!0),m("resetSelectionOnContextMenu",!0),m("lineWiseCopyCut",!0),m("pasteLinesPerSelection",!0),m("selectionsMayTouch",!1),m("readOnly",!1,function(f,v){v=="nocursor"&&(xa(f),f.display.input.blur()),f.display.input.readOnlyChanged(v)}),m("screenReaderLabel",null,function(f,v){v=v===""?null:v,f.display.input.screenReaderLabelChanged(v)}),m("disableInput",!1,function(f,v){v||f.display.input.reset()},!0),m("dragDrop",!0,P_),m("allowDropFileTypes",null),m("cursorBlinkRate",530),m("cursorScrollMargin",0),m("cursorHeight",1,ys,!0),m("singleCursorHeightPerLine",!0,ys,!0),m("workTime",100),m("workDelay",100),m("flattenSpans",!0,As,!0),m("addModeClass",!1,As,!0),m("pollInterval",100),m("undoDepth",200,function(f,v){return f.doc.history.undoDepth=v}),m("historyEventDelay",1250),m("viewportMargin",10,function(f){return f.refresh()},!0),m("maxHighlightLength",1e4,As,!0),m("moveInputWithCursor",!0,function(f,v){v||f.display.input.resetPosition()}),m("tabindex",null,function(f,v){return f.display.input.getField().tabIndex=v||""}),m("autofocus",null),m("direction","ltr",function(f,v){return f.doc.setDirection(v)},!0),m("phrases",null)}function P_(i,s,m){var f=m&&m!=Da;if(!s!=!f){var v=i.display.dragFunctions,S=s?nt:Ct;S(i.display.scroller,"dragstart",v.start),S(i.display.scroller,"dragenter",v.enter),S(i.display.scroller,"dragover",v.over),S(i.display.scroller,"dragleave",v.leave),S(i.display.scroller,"drop",v.drop)}}function O_(i){i.options.lineWrapping?(vt(i.display.wrapper,"CodeMirror-wrap"),i.display.sizer.style.minWidth="",i.display.sizerWidth=null):(Me(i.display.wrapper,"CodeMirror-wrap"),zh(i)),Ph(i),Yr(i),bs(i),setTimeout(function(){return ya(i)},100)}function Jt(i,s){var m=this;if(!(this instanceof Jt))return new Jt(i,s);this.options=s=s?Pe(s):{},Pe(gg,s,!1);var f=s.value;typeof f=="string"?f=new jr(f,s.mode,null,s.lineSeparator,s.direction):s.mode&&(f.modeOption=s.mode),this.doc=f;var v=new Jt.inputStyles[s.inputStyle](this),S=this.display=new Gw(i,f,v,s);S.wrapper.CodeMirror=this,mg(this),s.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xm(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Ge,keySeq:null,specialChars:null},s.autofocus&&!B&&S.input.focus(),z&&A<11&&setTimeout(function(){return m.display.input.reset(!0)},20),I_(this),f_(),Lo(this),this.curOp.forceUpdate=!0,Dm(this,f),s.autofocus&&!B||this.hasFocus()?setTimeout(function(){m.hasFocus()&&!m.state.focused&&Bh(m)},20):xa(this);for(var M in wc)wc.hasOwnProperty(M)&&wc[M](this,s[M],Da);wm(this),s.finishInit&&s.finishInit(this);for(var I=0;I<id.length;++I)id[I](this);To(this),L&&s.lineWrapping&&getComputedStyle(S.lineDiv).textRendering=="optimizelegibility"&&(S.lineDiv.style.textRendering="auto")}Jt.defaults=gg,Jt.optionHandlers=wc;function I_(i){var s=i.display;nt(s.scroller,"mousedown",vr(i,hg)),z&&A<11?nt(s.scroller,"dblclick",vr(i,function(X){if(!Nt(i,X)){var q=So(i,X);if(!(!q||nd(i,X)||yi(i.display,X))){$t(X);var fe=i.findWordAt(q);pc(i.doc,fe.anchor,fe.head)}}})):nt(s.scroller,"dblclick",function(X){return Nt(i,X)||$t(X)}),nt(s.scroller,"contextmenu",function(X){return pg(i,X)}),nt(s.input.getField(),"contextmenu",function(X){s.scroller.contains(X.target)||pg(i,X)});var m,f={end:0};function v(){s.activeTouch&&(m=setTimeout(function(){return s.activeTouch=null},1e3),f=s.activeTouch,f.end=+new Date)}function S(X){if(X.touches.length!=1)return!1;var q=X.touches[0];return q.radiusX<=1&&q.radiusY<=1}function M(X,q){if(q.left==null)return!0;var fe=q.left-X.left,ve=q.top-X.top;return fe*fe+ve*ve>20*20}nt(s.scroller,"touchstart",function(X){if(!Nt(i,X)&&!S(X)&&!nd(i,X)){s.input.ensurePolled(),clearTimeout(m);var q=+new Date;s.activeTouch={start:q,moved:!1,prev:q-f.end<=300?f:null},X.touches.length==1&&(s.activeTouch.left=X.touches[0].pageX,s.activeTouch.top=X.touches[0].pageY)}}),nt(s.scroller,"touchmove",function(){s.activeTouch&&(s.activeTouch.moved=!0)}),nt(s.scroller,"touchend",function(X){var q=s.activeTouch;if(q&&!yi(s,X)&&q.left!=null&&!q.moved&&new Date-q.start<300){var fe=i.coordsChar(s.activeTouch,"page"),ve;!q.prev||M(q,q.prev)?ve=new Wt(fe,fe):!q.prev.prev||M(q,q.prev.prev)?ve=i.findWordAt(fe):ve=new Wt(D(fe.line,0),Ie(i.doc,D(fe.line+1,0))),i.setSelection(ve.anchor,ve.head),i.focus(),$t(X)}v()}),nt(s.scroller,"touchcancel",v),nt(s.scroller,"scroll",function(){s.scroller.clientHeight&&(_s(i,s.scroller.scrollTop),Do(i,s.scroller.scrollLeft,!0),Dt(i,"scroll",i))}),nt(s.scroller,"mousewheel",function(X){return km(i,X)}),nt(s.scroller,"DOMMouseScroll",function(X){return km(i,X)}),nt(s.wrapper,"scroll",function(){return s.wrapper.scrollTop=s.wrapper.scrollLeft=0}),s.dragFunctions={enter:function(X){Nt(i,X)||ln(X)},over:function(X){Nt(i,X)||(d_(i,X),ln(X))},start:function(X){return h_(i,X)},drop:vr(i,u_),leave:function(X){Nt(i,X)||Jm(i)}};var I=s.input.getField();nt(I,"keyup",function(X){return cg.call(i,X)}),nt(I,"keydown",vr(i,lg)),nt(I,"keypress",vr(i,ug)),nt(I,"focus",function(X){return Bh(i,X)}),nt(I,"blur",function(X){return xa(i,X)})}var id=[];Jt.defineInitHook=function(i){return id.push(i)};function Hs(i,s,m,f){var v=i.doc,S;m==null&&(m="add"),m=="smart"&&(v.mode.indent?S=Er(i,s).state:m="prev");var M=i.options.tabSize,I=F(v,s),X=$e(I.text,null,M);I.stateAfter&&(I.stateAfter=null);var q=I.text.match(/^\s*/)[0],fe;if(!f&&!/\S/.test(I.text))fe=0,m="not";else if(m=="smart"&&(fe=v.mode.indent(S,I.text.slice(q.length),I.text),fe==dt||fe>150)){if(!f)return;m="prev"}m=="prev"?s>v.first?fe=$e(F(v,s-1).text,null,M):fe=0:m=="add"?fe=X+i.options.indentUnit:m=="subtract"?fe=X-i.options.indentUnit:typeof m=="number"&&(fe=X+m),fe=Math.max(0,fe);var ve="",Fe=0;if(i.options.indentWithTabs)for(var Ce=Math.floor(fe/M);Ce;--Ce)Fe+=M,ve+=" ";if(Fe<fe&&(ve+=Ze(fe-Fe)),ve!=q)return ka(v,ve,D(s,0),D(s,q.length),"+input"),I.stateAfter=null,!0;for(var We=0;We<v.sel.ranges.length;We++){var Ue=v.sel.ranges[We];if(Ue.head.line==s&&Ue.head.ch<q.length){var it=D(s,q.length);Zh(v,We,new Wt(it,it));break}}}var Rn=null;function _c(i){Rn=i}function od(i,s,m,f,v){var S=i.doc;i.display.shift=!1,f||(f=S.sel);var M=+new Date-200,I=v=="paste"||i.state.pasteIncoming>M,X=ca(s),q=null;if(I&&f.ranges.length>1)if(Rn&&Rn.text.join(`
  724. `)==s){if(f.ranges.length%Rn.text.length==0){q=[];for(var fe=0;fe<Rn.text.length;fe++)q.push(S.splitLines(Rn.text[fe]))}}else X.length==f.ranges.length&&i.options.pasteLinesPerSelection&&(q=xe(X,function(ct){return[ct]}));for(var ve=i.curOp.updateInput,Fe=f.ranges.length-1;Fe>=0;Fe--){var Ce=f.ranges[Fe],We=Ce.from(),Ue=Ce.to();Ce.empty()&&(m&&m>0?We=D(We.line,We.ch-m):i.state.overwrite&&!I?Ue=D(Ue.line,Math.min(F(S,Ue.line).text.length,Ue.ch+Ve(X).length)):I&&Rn&&Rn.lineWise&&Rn.text.join(`
  725. `)==X.join(`
  726. `)&&(We=Ue=D(We.line,0)));var it={from:We,to:Ue,text:q?q[Fe%q.length]:X,origin:v||(I?"paste":i.state.cutIncoming>M?"cut":"+input")};za(i.doc,it),gr(i,"inputRead",i,it)}s&&!I&&xg(i,s),ba(i),i.curOp.updateInput<2&&(i.curOp.updateInput=ve),i.curOp.typing=!0,i.state.pasteIncoming=i.state.cutIncoming=-1}function vg(i,s){var m=i.clipboardData&&i.clipboardData.getData("Text");if(m)return i.preventDefault(),!s.isReadOnly()&&!s.options.disableInput&&s.hasFocus()&&Zr(s,function(){return od(s,m,0,null,"paste")}),!0}function xg(i,s){if(!(!i.options.electricChars||!i.options.smartIndent))for(var m=i.doc.sel,f=m.ranges.length-1;f>=0;f--){var v=m.ranges[f];if(!(v.head.ch>100||f&&m.ranges[f-1].head.line==v.head.line)){var S=i.getModeAt(v.head),M=!1;if(S.electricChars){for(var I=0;I<S.electricChars.length;I++)if(s.indexOf(S.electricChars.charAt(I))>-1){M=Hs(i,v.head.line,"smart");break}}else S.electricInput&&S.electricInput.test(F(i.doc,v.head.line).text.slice(0,v.head.ch))&&(M=Hs(i,v.head.line,"smart"));M&&gr(i,"electricInput",i,v.head.line)}}}function bg(i){for(var s=[],m=[],f=0;f<i.doc.sel.ranges.length;f++){var v=i.doc.sel.ranges[f].head.line,S={anchor:D(v,0),head:D(v+1,0)};m.push(S),s.push(i.getRange(S.anchor,S.head))}return{text:s,ranges:m}}function yg(i,s,m,f){i.setAttribute("autocorrect",m?"":"off"),i.setAttribute("autocapitalize",f?"":"off"),i.setAttribute("spellcheck",!!s)}function wg(){var i=he("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),s=he("div",[i],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return L?i.style.width="1000px":i.setAttribute("wrap","off"),T&&(i.style.border="1px solid black"),yg(i),s}function R_(i){var s=i.optionHandlers,m=i.helpers={};i.prototype={constructor:i,focus:function(){tt(this).focus(),this.display.input.focus()},setOption:function(f,v){var S=this.options,M=S[f];S[f]==v&&f!="mode"||(S[f]=v,s.hasOwnProperty(f)&&vr(this,s[f])(this,v,M),Dt(this,"optionChange",this,f))},getOption:function(f){return this.options[f]},getDoc:function(){return this.doc},addKeyMap:function(f,v){this.state.keyMaps[v?"push":"unshift"](bc(f))},removeKeyMap:function(f){for(var v=this.state.keyMaps,S=0;S<v.length;++S)if(v[S]==f||v[S].name==f)return v.splice(S,1),!0},addOverlay:Ir(function(f,v){var S=f.token?f:i.getMode(this.options,f);if(S.startState)throw new Error("Overlays may not be stateful.");me(this.state.overlays,{mode:S,modeSpec:f,opaque:v&&v.opaque,priority:v&&v.priority||0},function(M){return M.priority}),this.state.modeGen++,Yr(this)}),removeOverlay:Ir(function(f){for(var v=this.state.overlays,S=0;S<v.length;++S){var M=v[S].modeSpec;if(M==f||typeof f=="string"&&M.name==f){v.splice(S,1),this.state.modeGen++,Yr(this);return}}}),indentLine:Ir(function(f,v,S){typeof v!="string"&&typeof v!="number"&&(v==null?v=this.options.smartIndent?"smart":"prev":v=v?"add":"subtract"),se(this.doc,f)&&Hs(this,f,v,S)}),indentSelection:Ir(function(f){for(var v=this.doc.sel.ranges,S=-1,M=0;M<v.length;M++){var I=v[M];if(I.empty())I.head.line>S&&(Hs(this,I.head.line,f,!0),S=I.head.line,M==this.doc.sel.primIndex&&ba(this));else{var X=I.from(),q=I.to(),fe=Math.max(S,X.line);S=Math.min(this.lastLine(),q.line-(q.ch?0:1))+1;for(var ve=fe;ve<S;++ve)Hs(this,ve,f);var Fe=this.doc.sel.ranges;X.ch==0&&v.length==Fe.length&&Fe[M].from().ch>0&&Zh(this.doc,M,new Wt(X,Fe[M].to()),ue)}}}),getTokenAt:function(f,v){return ha(this,f,v)},getLineTokens:function(f,v){return ha(this,D(f),v,!0)},getTokenTypeAt:function(f){f=Ie(this.doc,f);var v=Dr(this,F(this.doc,f.line)),S=0,M=(v.length-1)/2,I=f.ch,X;if(I==0)X=v[2];else for(;;){var q=S+M>>1;if((q?v[q*2-1]:0)>=I)M=q;else if(v[q*2+1]<I)S=q+1;else{X=v[q*2+2];break}}var fe=X?X.indexOf("overlay "):-1;return fe<0?X:fe==0?null:X.slice(0,fe-1)},getModeAt:function(f){var v=this.doc.mode;return v.innerMode?i.innerMode(v,this.getTokenAt(f).state).mode:v},getHelper:function(f,v){return this.getHelpers(f,v)[0]},getHelpers:function(f,v){var S=[];if(!m.hasOwnProperty(v))return S;var M=m[v],I=this.getModeAt(f);if(typeof I[v]=="string")M[I[v]]&&S.push(M[I[v]]);else if(I[v])for(var X=0;X<I[v].length;X++){var q=M[I[v][X]];q&&S.push(q)}else I.helperType&&M[I.helperType]?S.push(M[I.helperType]):M[I.name]&&S.push(M[I.name]);for(var fe=0;fe<M._global.length;fe++){var ve=M._global[fe];ve.pred(I,this)&&at(S,ve.val)==-1&&S.push(ve.val)}return S},getStateAfter:function(f,v){var S=this.doc;return f=Qe(S,f==null?S.first+S.size-1:f),Er(this,f+1,v).state},cursorCoords:function(f,v){var S,M=this.doc.sel.primary();return f==null?S=M.head:typeof f=="object"?S=Ie(this.doc,f):S=f?M.from():M.to(),On(this,S,v||"page")},charCoords:function(f,v){return ic(this,Ie(this.doc,f),v||"page")},coordsChar:function(f,v){return f=om(this,f,v||"page"),Lh(this,f.left,f.top)},lineAtHeight:function(f,v){return f=om(this,{top:f,left:0},v||"page").top,ie(this.doc,f+this.display.viewOffset)},heightAtLine:function(f,v,S){var M=!1,I;if(typeof f=="number"){var X=this.doc.first+this.doc.size-1;f<this.doc.first?f=this.doc.first:f>X&&(f=X,M=!0),I=F(this.doc,f)}else I=f;return nc(this,I,{top:0,left:0},v||"page",S||M).top+(M?this.doc.height-bi(I):0)},defaultTextHeight:function(){return ga(this.display)},defaultCharWidth:function(){return va(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(f,v,S,M,I){var X=this.display;f=On(this,Ie(this.doc,f));var q=f.bottom,fe=f.left;if(v.style.position="absolute",v.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(v),X.sizer.appendChild(v),M=="over")q=f.top;else if(M=="above"||M=="near"){var ve=Math.max(X.wrapper.clientHeight,this.doc.height),Fe=Math.max(X.sizer.clientWidth,X.lineSpace.clientWidth);(M=="above"||f.bottom+v.offsetHeight>ve)&&f.top>v.offsetHeight?q=f.top-v.offsetHeight:f.bottom+v.offsetHeight<=ve&&(q=f.bottom),fe+v.offsetWidth>Fe&&(fe=Fe-v.offsetWidth)}v.style.top=q+"px",v.style.left=v.style.right="",I=="right"?(fe=X.sizer.clientWidth-v.offsetWidth,v.style.right="0px"):(I=="left"?fe=0:I=="middle"&&(fe=(X.sizer.clientWidth-v.offsetWidth)/2),v.style.left=fe+"px"),S&&Pw(this,{left:fe,top:q,right:fe+v.offsetWidth,bottom:q+v.offsetHeight})},triggerOnKeyDown:Ir(lg),triggerOnKeyPress:Ir(ug),triggerOnKeyUp:cg,triggerOnMouseDown:Ir(hg),execCommand:function(f){if(Is.hasOwnProperty(f))return Is[f].call(null,this)},triggerElectric:Ir(function(f){xg(this,f)}),findPosH:function(f,v,S,M){var I=1;v<0&&(I=-1,v=-v);for(var X=Ie(this.doc,f),q=0;q<v&&(X=ad(this.doc,X,I,S,M),!X.hitSide);++q);return X},moveH:Ir(function(f,v){var S=this;this.extendSelectionsBy(function(M){return S.display.shift||S.doc.extend||M.empty()?ad(S.doc,M.head,f,v,S.options.rtlMoveVisually):f<0?M.from():M.to()},Oe)}),deleteH:Ir(function(f,v){var S=this.doc.sel,M=this.doc;S.somethingSelected()?M.replaceSelection("",null,"+delete"):Aa(this,function(I){var X=ad(M,I.head,f,v,!1);return f<0?{from:X,to:I.head}:{from:I.head,to:X}})}),findPosV:function(f,v,S,M){var I=1,X=M;v<0&&(I=-1,v=-v);for(var q=Ie(this.doc,f),fe=0;fe<v;++fe){var ve=On(this,q,"div");if(X==null?X=ve.left:ve.left=X,q=_g(this,ve,I,S),q.hitSide)break}return q},moveV:Ir(function(f,v){var S=this,M=this.doc,I=[],X=!this.display.shift&&!M.extend&&M.sel.somethingSelected();if(M.extendSelectionsBy(function(fe){if(X)return f<0?fe.from():fe.to();var ve=On(S,fe.head,"div");fe.goalColumn!=null&&(ve.left=fe.goalColumn),I.push(ve.left);var Fe=_g(S,ve,f,v);return v=="page"&&fe==M.sel.primary()&&Hh(S,ic(S,Fe,"div").top-ve.top),Fe},Oe),I.length)for(var q=0;q<M.sel.ranges.length;q++)M.sel.ranges[q].goalColumn=I[q]}),findWordAt:function(f){var v=this.doc,S=F(v,f.line).text,M=f.ch,I=f.ch;if(S){var X=this.getHelper(f,"wordChars");(f.sticky=="before"||I==S.length)&&M?--M:++I;for(var q=S.charAt(M),fe=ce(q,X)?function(ve){return ce(ve,X)}:/\s/.test(q)?function(ve){return/\s/.test(ve)}:function(ve){return!/\s/.test(ve)&&!ce(ve)};M>0&&fe(S.charAt(M-1));)--M;for(;I<S.length&&fe(S.charAt(I));)++I}return new Wt(D(f.line,M),D(f.line,I))},toggleOverwrite:function(f){f!=null&&f==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?vt(this.display.cursorDiv,"CodeMirror-overwrite"):Me(this.display.cursorDiv,"CodeMirror-overwrite"),Dt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ot(te(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ir(function(f,v){ws(this,f,v)}),getScrollInfo:function(){var f=this.display.scroller;return{left:f.scrollLeft,top:f.scrollTop,height:f.scrollHeight-qn(this)-this.display.barHeight,width:f.scrollWidth-qn(this)-this.display.barWidth,clientHeight:Sh(this),clientWidth:ko(this)}},scrollIntoView:Ir(function(f,v){f==null?(f={from:this.doc.sel.primary().head,to:null},v==null&&(v=this.options.cursorScrollMargin)):typeof f=="number"?f={from:D(f,0),to:null}:f.from==null&&(f={from:f,to:null}),f.to||(f.to=f.from),f.margin=v||0,f.from.line!=null?Ow(this,f):pm(this,f.from,f.to,f.margin)}),setSize:Ir(function(f,v){var S=this,M=function(X){return typeof X=="number"||/^\d+$/.test(String(X))?X+"px":X};f!=null&&(this.display.wrapper.style.width=M(f)),v!=null&&(this.display.wrapper.style.height=M(v)),this.options.lineWrapping&&rm(this);var I=this.display.viewFrom;this.doc.iter(I,this.display.viewTo,function(X){if(X.widgets){for(var q=0;q<X.widgets.length;q++)if(X.widgets[q].noHScroll){Hi(S,I,"widget");break}}++I}),this.curOp.forceUpdate=!0,Dt(this,"refresh",this)}),operation:function(f){return Zr(this,f)},startOperation:function(){return Lo(this)},endOperation:function(){return To(this)},refresh:Ir(function(){var f=this.display.cachedTextHeight;Yr(this),this.curOp.forceUpdate=!0,bs(this),ws(this,this.doc.scrollLeft,this.doc.scrollTop),Yh(this.display),(f==null||Math.abs(f-ga(this.display))>.5||this.options.lineWrapping)&&Ph(this),Dt(this,"refresh",this)}),swapDoc:Ir(function(f){var v=this.doc;return v.cm=null,this.state.selectingText&&this.state.selectingText(),Dm(this,f),bs(this),this.display.input.reset(),ws(this,f.scrollLeft,f.scrollTop),this.curOp.forceScroll=!0,gr(this,"swapDoc",this,v),v}),phrase:function(f){var v=this.options.phrases;return v&&Object.prototype.hasOwnProperty.call(v,f)?v[f]:f},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},zr(i),i.registerHelper=function(f,v,S){m.hasOwnProperty(f)||(m[f]=i[f]={_global:[]}),m[f][v]=S},i.registerGlobalHelper=function(f,v,S,M){i.registerHelper(f,v,M),m[f]._global.push({pred:S,val:M})}}function ad(i,s,m,f,v){var S=s,M=m,I=F(i,s.line),X=v&&i.direction=="rtl"?-m:m;function q(){var ht=s.line+X;return ht<i.first||ht>=i.first+i.size?!1:(s=new D(ht,s.ch,s.sticky),I=F(i,ht))}function fe(ht){var ut;if(f=="codepoint"){var mt=I.text.charCodeAt(s.ch+(m>0?0:-1));if(isNaN(mt))ut=null;else{var _t=m>0?mt>=55296&&mt<56320:mt>=56320&&mt<57343;ut=new D(s.line,Math.max(0,Math.min(I.text.length,s.ch+m*(_t?2:1))),-m)}}else v?ut=x_(i.cm,I,s,m):ut=Qh(I,s,m);if(ut==null)if(!ht&&q())s=ed(v,i.cm,I,s.line,X);else return!1;else s=ut;return!0}if(f=="char"||f=="codepoint")fe();else if(f=="column")fe(!0);else if(f=="word"||f=="group")for(var ve=null,Fe=f=="group",Ce=i.cm&&i.cm.getHelper(s,"wordChars"),We=!0;!(m<0&&!fe(!We));We=!1){var Ue=I.text.charAt(s.ch)||`
  727. `,it=ce(Ue,Ce)?"w":Fe&&Ue==`
  728. `?"n":!Fe||/\s/.test(Ue)?null:"p";if(Fe&&!We&&!it&&(it="s"),ve&&ve!=it){m<0&&(m=1,fe(),s.sticky="after");break}if(it&&(ve=it),m>0&&!fe(!We))break}var ct=gc(i,s,S,M,!0);return Q(S,ct)&&(ct.hitSide=!0),ct}function _g(i,s,m,f){var v=i.doc,S=s.left,M;if(f=="page"){var I=Math.min(i.display.wrapper.clientHeight,tt(i).innerHeight||v(i).documentElement.clientHeight),X=Math.max(I-.5*ga(i.display),3);M=(m>0?s.bottom:s.top)+m*X}else f=="line"&&(M=m>0?s.bottom+3:s.top-3);for(var q;q=Lh(i,S,M),!!q.outside;){if(m<0?M<=0:M>=v.height){q.hitSide=!0;break}M+=m*5}return q}var Yt=function(i){this.cm=i,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ge,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Yt.prototype.init=function(i){var s=this,m=this,f=m.cm,v=m.div=i.lineDiv;v.contentEditable=!0,yg(v,f.options.spellcheck,f.options.autocorrect,f.options.autocapitalize);function S(I){for(var X=I.target;X;X=X.parentNode){if(X==v)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(X.className))break}return!1}nt(v,"paste",function(I){!S(I)||Nt(f,I)||vg(I,f)||A<=11&&setTimeout(vr(f,function(){return s.updateFromDOM()}),20)}),nt(v,"compositionstart",function(I){s.composing={data:I.data,done:!1}}),nt(v,"compositionupdate",function(I){s.composing||(s.composing={data:I.data,done:!1})}),nt(v,"compositionend",function(I){s.composing&&(I.data!=s.composing.data&&s.readFromDOMSoon(),s.composing.done=!0)}),nt(v,"touchstart",function(){return m.forceCompositionEnd()}),nt(v,"input",function(){s.composing||s.readFromDOMSoon()});function M(I){if(!(!S(I)||Nt(f,I))){if(f.somethingSelected())_c({lineWise:!1,text:f.getSelections()}),I.type=="cut"&&f.replaceSelection("",null,"cut");else if(f.options.lineWiseCopyCut){var X=bg(f);_c({lineWise:!0,text:X.text}),I.type=="cut"&&f.operation(function(){f.setSelections(X.ranges,0,ue),f.replaceSelection("",null,"cut")})}else return;if(I.clipboardData){I.clipboardData.clearData();var q=Rn.text.join(`
  729. `);if(I.clipboardData.setData("Text",q),I.clipboardData.getData("Text")==q){I.preventDefault();return}}var fe=wg(),ve=fe.firstChild;f.display.lineSpace.insertBefore(fe,f.display.lineSpace.firstChild),ve.value=Rn.text.join(`
  730. `);var Fe=ot(v.ownerDocument);ne(ve),setTimeout(function(){f.display.lineSpace.removeChild(fe),Fe.focus(),Fe==v&&m.showPrimarySelection()},50)}}nt(v,"copy",M),nt(v,"cut",M)},Yt.prototype.screenReaderLabelChanged=function(i){i?this.div.setAttribute("aria-label",i):this.div.removeAttribute("aria-label")},Yt.prototype.prepareSelection=function(){var i=hm(this.cm,!1);return i.focus=ot(this.div.ownerDocument)==this.div,i},Yt.prototype.showSelection=function(i,s){!i||!this.cm.display.view.length||((i.focus||s)&&this.showPrimarySelection(),this.showMultipleSelections(i))},Yt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Yt.prototype.showPrimarySelection=function(){var i=this.getSelection(),s=this.cm,m=s.doc.sel.primary(),f=m.from(),v=m.to();if(s.display.viewTo==s.display.viewFrom||f.line>=s.display.viewTo||v.line<s.display.viewFrom){i.removeAllRanges();return}var S=zc(s,i.anchorNode,i.anchorOffset),M=zc(s,i.focusNode,i.focusOffset);if(!(S&&!S.bad&&M&&!M.bad&&R(_e(S,M),f)==0&&R(Re(S,M),v)==0)){var I=s.display.view,X=f.line>=s.display.viewFrom&&zg(s,f)||{node:I[0].measure.map[2],offset:0},q=v.line<s.display.viewTo&&zg(s,v);if(!q){var fe=I[I.length-1].measure,ve=fe.maps?fe.maps[fe.maps.length-1]:fe.map;q={node:ve[ve.length-1],offset:ve[ve.length-2]-ve[ve.length-3]}}if(!X||!q){i.removeAllRanges();return}var Fe=i.rangeCount&&i.getRangeAt(0),Ce;try{Ce=Se(X.node,X.offset,q.offset,q.node)}catch{}Ce&&(!h&&s.state.focused?(i.collapse(X.node,X.offset),Ce.collapsed||(i.removeAllRanges(),i.addRange(Ce))):(i.removeAllRanges(),i.addRange(Ce)),Fe&&i.anchorNode==null?i.addRange(Fe):h&&this.startGracePeriod()),this.rememberSelection()}},Yt.prototype.startGracePeriod=function(){var i=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){i.gracePeriod=!1,i.selectionChanged()&&i.cm.operation(function(){return i.cm.curOp.selectionChanged=!0})},20)},Yt.prototype.showMultipleSelections=function(i){De(this.cm.display.cursorDiv,i.cursors),De(this.cm.display.selectionDiv,i.selection)},Yt.prototype.rememberSelection=function(){var i=this.getSelection();this.lastAnchorNode=i.anchorNode,this.lastAnchorOffset=i.anchorOffset,this.lastFocusNode=i.focusNode,this.lastFocusOffset=i.focusOffset},Yt.prototype.selectionInEditor=function(){var i=this.getSelection();if(!i.rangeCount)return!1;var s=i.getRangeAt(0).commonAncestorContainer;return He(this.div,s)},Yt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ot(this.div.ownerDocument)!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Yt.prototype.blur=function(){this.div.blur()},Yt.prototype.getField=function(){return this.div},Yt.prototype.supportsTouch=function(){return!0},Yt.prototype.receivedFocus=function(){var i=this,s=this;this.selectionInEditor()?setTimeout(function(){return i.pollSelection()},20):Zr(this.cm,function(){return s.cm.curOp.selectionChanged=!0});function m(){s.cm.state.focused&&(s.pollSelection(),s.polling.set(s.cm.options.pollInterval,m))}this.polling.set(this.cm.options.pollInterval,m)},Yt.prototype.selectionChanged=function(){var i=this.getSelection();return i.anchorNode!=this.lastAnchorNode||i.anchorOffset!=this.lastAnchorOffset||i.focusNode!=this.lastFocusNode||i.focusOffset!=this.lastFocusOffset},Yt.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var i=this.getSelection(),s=this.cm;if(re&&P&&this.cm.display.gutterSpecs.length&&B_(i.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var m=zc(s,i.anchorNode,i.anchorOffset),f=zc(s,i.focusNode,i.focusOffset);m&&f&&Zr(s,function(){Tr(s.doc,Xi(m,f),ue),(m.bad||f.bad)&&(s.curOp.selectionChanged=!0)})}}},Yt.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var i=this.cm,s=i.display,m=i.doc.sel.primary(),f=m.from(),v=m.to();if(f.ch==0&&f.line>i.firstLine()&&(f=D(f.line-1,F(i.doc,f.line-1).length)),v.ch==F(i.doc,v.line).text.length&&v.line<i.lastLine()&&(v=D(v.line+1,0)),f.line<s.viewFrom||v.line>s.viewTo-1)return!1;var S,M,I;f.line==s.viewFrom||(S=Ao(i,f.line))==0?(M=Z(s.view[0].line),I=s.view[0].node):(M=Z(s.view[S].line),I=s.view[S-1].node.nextSibling);var X=Ao(i,v.line),q,fe;if(X==s.view.length-1?(q=s.viewTo-1,fe=s.lineDiv.lastChild):(q=Z(s.view[X+1].line)-1,fe=s.view[X+1].node.previousSibling),!I)return!1;for(var ve=i.doc.splitLines(N_(i,I,fe,M,q)),Fe=H(i.doc,D(M,0),D(q,F(i.doc,q).text.length));ve.length>1&&Fe.length>1;)if(Ve(ve)==Ve(Fe))ve.pop(),Fe.pop(),q--;else if(ve[0]==Fe[0])ve.shift(),Fe.shift(),M++;else break;for(var Ce=0,We=0,Ue=ve[0],it=Fe[0],ct=Math.min(Ue.length,it.length);Ce<ct&&Ue.charCodeAt(Ce)==it.charCodeAt(Ce);)++Ce;for(var ht=Ve(ve),ut=Ve(Fe),mt=Math.min(ht.length-(ve.length==1?Ce:0),ut.length-(Fe.length==1?Ce:0));We<mt&&ht.charCodeAt(ht.length-We-1)==ut.charCodeAt(ut.length-We-1);)++We;if(ve.length==1&&Fe.length==1&&M==f.line)for(;Ce&&Ce>f.ch&&ht.charCodeAt(ht.length-We-1)==ut.charCodeAt(ut.length-We-1);)Ce--,We++;ve[ve.length-1]=ht.slice(0,ht.length-We).replace(/^\u200b+/,""),ve[0]=ve[0].slice(Ce).replace(/\u200b+$/,"");var _t=D(M,Ce),bt=D(q,Fe.length?Ve(Fe).length-We:0);if(ve.length>1||ve[0]||R(_t,bt))return ka(i.doc,ve,_t,bt,"+input"),!0},Yt.prototype.ensurePolled=function(){this.forceCompositionEnd()},Yt.prototype.reset=function(){this.forceCompositionEnd()},Yt.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Yt.prototype.readFromDOMSoon=function(){var i=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(i.readDOMTimeout=null,i.composing)if(i.composing.done)i.composing=null;else return;i.updateFromDOM()},80))},Yt.prototype.updateFromDOM=function(){var i=this;(this.cm.isReadOnly()||!this.pollContent())&&Zr(this.cm,function(){return Yr(i.cm)})},Yt.prototype.setUneditable=function(i){i.contentEditable="false"},Yt.prototype.onKeyPress=function(i){i.charCode==0||this.composing||(i.preventDefault(),this.cm.isReadOnly()||vr(this.cm,od)(this.cm,String.fromCharCode(i.charCode==null?i.keyCode:i.charCode),0))},Yt.prototype.readOnlyChanged=function(i){this.div.contentEditable=String(i!="nocursor")},Yt.prototype.onContextMenu=function(){},Yt.prototype.resetPosition=function(){},Yt.prototype.needsContentAttribute=!0;function zg(i,s){var m=Ah(i,s.line);if(!m||m.hidden)return null;var f=F(i.doc,s.line),v=Zp(m,f,s.line),S=qe(f,i.doc.direction),M="left";if(S){var I=kt(S,s.ch);M=I%2?"right":"left"}var X=em(v.map,s.ch,M);return X.offset=X.collapse=="right"?X.end:X.start,X}function B_(i){for(var s=i;s;s=s.parentNode)if(/CodeMirror-gutter-wrapper/.test(s.className))return!0;return!1}function Ea(i,s){return s&&(i.bad=!0),i}function N_(i,s,m,f,v){var S="",M=!1,I=i.doc.lineSeparator(),X=!1;function q(Ce){return function(We){return We.id==Ce}}function fe(){M&&(S+=I,X&&(S+=I),M=X=!1)}function ve(Ce){Ce&&(fe(),S+=Ce)}function Fe(Ce){if(Ce.nodeType==1){var We=Ce.getAttribute("cm-text");if(We){ve(We);return}var Ue=Ce.getAttribute("cm-marker"),it;if(Ue){var ct=i.findMarks(D(f,0),D(v+1,0),q(+Ue));ct.length&&(it=ct[0].find(0))&&ve(H(i.doc,it.from,it.to).join(I));return}if(Ce.getAttribute("contenteditable")=="false")return;var ht=/^(pre|div|p|li|table|br)$/i.test(Ce.nodeName);if(!/^br$/i.test(Ce.nodeName)&&Ce.textContent.length==0)return;ht&&fe();for(var ut=0;ut<Ce.childNodes.length;ut++)Fe(Ce.childNodes[ut]);/^(pre|p)$/i.test(Ce.nodeName)&&(X=!0),ht&&(M=!0)}else Ce.nodeType==3&&ve(Ce.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Fe(s),s!=m;)s=s.nextSibling,X=!1;return S}function zc(i,s,m){var f;if(s==i.display.lineDiv){if(f=i.display.lineDiv.childNodes[m],!f)return Ea(i.clipPos(D(i.display.viewTo-1)),!0);s=null,m=0}else for(f=s;;f=f.parentNode){if(!f||f==i.display.lineDiv)return null;if(f.parentNode&&f.parentNode==i.display.lineDiv)break}for(var v=0;v<i.display.view.length;v++){var S=i.display.view[v];if(S.node==f)return H_(S,s,m)}}function H_(i,s,m){var f=i.text.firstChild,v=!1;if(!s||!He(f,s))return Ea(D(Z(i.line),0),!0);if(s==f&&(v=!0,s=f.childNodes[m],m=0,!s)){var S=i.rest?Ve(i.rest):i.line;return Ea(D(Z(S),S.text.length),v)}var M=s.nodeType==3?s:null,I=s;for(!M&&s.childNodes.length==1&&s.firstChild.nodeType==3&&(M=s.firstChild,m&&(m=M.nodeValue.length));I.parentNode!=f;)I=I.parentNode;var X=i.measure,q=X.maps;function fe(it,ct,ht){for(var ut=-1;ut<(q?q.length:0);ut++)for(var mt=ut<0?X.map:q[ut],_t=0;_t<mt.length;_t+=3){var bt=mt[_t+2];if(bt==it||bt==ct){var Lt=Z(ut<0?i.line:i.rest[ut]),Gt=mt[_t]+ht;return(ht<0||bt!=it)&&(Gt=mt[_t+(ht?1:0)]),D(Lt,Gt)}}}var ve=fe(M,I,m);if(ve)return Ea(ve,v);for(var Fe=I.nextSibling,Ce=M?M.nodeValue.length-m:0;Fe;Fe=Fe.nextSibling){if(ve=fe(Fe,Fe.firstChild,0),ve)return Ea(D(ve.line,ve.ch-Ce),v);Ce+=Fe.textContent.length}for(var We=I.previousSibling,Ue=m;We;We=We.previousSibling){if(ve=fe(We,We.firstChild,-1),ve)return Ea(D(ve.line,ve.ch+Ue),v);Ue+=We.textContent.length}}var sr=function(i){this.cm=i,this.prevInput="",this.pollingFast=!1,this.polling=new Ge,this.hasSelection=!1,this.composing=null,this.resetting=!1};sr.prototype.init=function(i){var s=this,m=this,f=this.cm;this.createField(i);var v=this.textarea;i.wrapper.insertBefore(this.wrapper,i.wrapper.firstChild),T&&(v.style.width="0px"),nt(v,"input",function(){z&&A>=9&&s.hasSelection&&(s.hasSelection=null),m.poll()}),nt(v,"paste",function(M){Nt(f,M)||vg(M,f)||(f.state.pasteIncoming=+new Date,m.fastPoll())});function S(M){if(!Nt(f,M)){if(f.somethingSelected())_c({lineWise:!1,text:f.getSelections()});else if(f.options.lineWiseCopyCut){var I=bg(f);_c({lineWise:!0,text:I.text}),M.type=="cut"?f.setSelections(I.ranges,null,ue):(m.prevInput="",v.value=I.text.join(`
  731. `),ne(v))}else return;M.type=="cut"&&(f.state.cutIncoming=+new Date)}}nt(v,"cut",S),nt(v,"copy",S),nt(i.scroller,"paste",function(M){if(!(yi(i,M)||Nt(f,M))){if(!v.dispatchEvent){f.state.pasteIncoming=+new Date,m.focus();return}var I=new Event("paste");I.clipboardData=M.clipboardData,v.dispatchEvent(I)}}),nt(i.lineSpace,"selectstart",function(M){yi(i,M)||$t(M)}),nt(v,"compositionstart",function(){var M=f.getCursor("from");m.composing&&m.composing.range.clear(),m.composing={start:M,range:f.markText(M,f.getCursor("to"),{className:"CodeMirror-composing"})}}),nt(v,"compositionend",function(){m.composing&&(m.poll(),m.composing.range.clear(),m.composing=null)})},sr.prototype.createField=function(i){this.wrapper=wg(),this.textarea=this.wrapper.firstChild},sr.prototype.screenReaderLabelChanged=function(i){i?this.textarea.setAttribute("aria-label",i):this.textarea.removeAttribute("aria-label")},sr.prototype.prepareSelection=function(){var i=this.cm,s=i.display,m=i.doc,f=hm(i);if(i.options.moveInputWithCursor){var v=On(i,m.sel.primary().head,"div"),S=s.wrapper.getBoundingClientRect(),M=s.lineDiv.getBoundingClientRect();f.teTop=Math.max(0,Math.min(s.wrapper.clientHeight-10,v.top+M.top-S.top)),f.teLeft=Math.max(0,Math.min(s.wrapper.clientWidth-10,v.left+M.left-S.left))}return f},sr.prototype.showSelection=function(i){var s=this.cm,m=s.display;De(m.cursorDiv,i.cursors),De(m.selectionDiv,i.selection),i.teTop!=null&&(this.wrapper.style.top=i.teTop+"px",this.wrapper.style.left=i.teLeft+"px")},sr.prototype.reset=function(i){if(!(this.contextMenuPending||this.composing&&i)){var s=this.cm;if(this.resetting=!0,s.somethingSelected()){this.prevInput="";var m=s.getSelection();this.textarea.value=m,s.state.focused&&ne(this.textarea),z&&A>=9&&(this.hasSelection=m)}else i||(this.prevInput=this.textarea.value="",z&&A>=9&&(this.hasSelection=null));this.resetting=!1}},sr.prototype.getField=function(){return this.textarea},sr.prototype.supportsTouch=function(){return!1},sr.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!B||ot(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch{}},sr.prototype.blur=function(){this.textarea.blur()},sr.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},sr.prototype.receivedFocus=function(){this.slowPoll()},sr.prototype.slowPoll=function(){var i=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){i.poll(),i.cm.state.focused&&i.slowPoll()})},sr.prototype.fastPoll=function(){var i=!1,s=this;s.pollingFast=!0;function m(){var f=s.poll();!f&&!i?(i=!0,s.polling.set(60,m)):(s.pollingFast=!1,s.slowPoll())}s.polling.set(20,m)},sr.prototype.poll=function(){var i=this,s=this.cm,m=this.textarea,f=this.prevInput;if(this.contextMenuPending||this.resetting||!s.state.focused||Gl(m)&&!f&&!this.composing||s.isReadOnly()||s.options.disableInput||s.state.keySeq)return!1;var v=m.value;if(v==f&&!s.somethingSelected())return!1;if(z&&A>=9&&this.hasSelection===v||j&&/[\uf700-\uf7ff]/.test(v))return s.display.input.reset(),!1;if(s.doc.sel==s.display.selForContextMenu){var S=v.charCodeAt(0);if(S==8203&&!f&&(f="\u200B"),S==8666)return this.reset(),this.cm.execCommand("undo")}for(var M=0,I=Math.min(f.length,v.length);M<I&&f.charCodeAt(M)==v.charCodeAt(M);)++M;return Zr(s,function(){od(s,v.slice(M),f.length-M,null,i.composing?"*compose":null),v.length>1e3||v.indexOf(`
  732. `)>-1?m.value=i.prevInput="":i.prevInput=v,i.composing&&(i.composing.range.clear(),i.composing.range=s.markText(i.composing.start,s.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},sr.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},sr.prototype.onKeyPress=function(){z&&A>=9&&(this.hasSelection=null),this.fastPoll()},sr.prototype.onContextMenu=function(i){var s=this,m=s.cm,f=m.display,v=s.textarea;s.contextMenuPending&&s.contextMenuPending();var S=So(m,i),M=f.scroller.scrollTop;if(!S||V)return;var I=m.options.resetSelectionOnContextMenu;I&&m.doc.sel.contains(S)==-1&&vr(m,Tr)(m.doc,Xi(S),ue);var X=v.style.cssText,q=s.wrapper.style.cssText,fe=s.wrapper.offsetParent.getBoundingClientRect();s.wrapper.style.cssText="position: static",v.style.cssText=`position: absolute; width: 30px; height: 30px;
  733. top: `+(i.clientY-fe.top-5)+"px; left: "+(i.clientX-fe.left-5)+`px;
  734. z-index: 1000; background: `+(z?"rgba(255, 255, 255, .05)":"transparent")+`;
  735. outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var ve;L&&(ve=v.ownerDocument.defaultView.scrollY),f.input.focus(),L&&v.ownerDocument.defaultView.scrollTo(null,ve),f.input.reset(),m.somethingSelected()||(v.value=s.prevInput=" "),s.contextMenuPending=Ce,f.selForContextMenu=m.doc.sel,clearTimeout(f.detectingSelectAll);function Fe(){if(v.selectionStart!=null){var Ue=m.somethingSelected(),it="\u200B"+(Ue?v.value:"");v.value="\u21DA",v.value=it,s.prevInput=Ue?"":"\u200B",v.selectionStart=1,v.selectionEnd=it.length,f.selForContextMenu=m.doc.sel}}function Ce(){if(s.contextMenuPending==Ce&&(s.contextMenuPending=!1,s.wrapper.style.cssText=q,v.style.cssText=X,z&&A<9&&f.scrollbars.setScrollTop(f.scroller.scrollTop=M),v.selectionStart!=null)){(!z||z&&A<9)&&Fe();var Ue=0,it=function(){f.selForContextMenu==m.doc.sel&&v.selectionStart==0&&v.selectionEnd>0&&s.prevInput=="\u200B"?vr(m,Wm)(m):Ue++<10?f.detectingSelectAll=setTimeout(it,500):(f.selForContextMenu=null,f.input.reset())};f.detectingSelectAll=setTimeout(it,200)}}if(z&&A>=9&&Fe(),Ne){ln(i);var We=function(){Ct(window,"mouseup",We),setTimeout(Ce,20)};nt(window,"mouseup",We)}else setTimeout(Ce,50)},sr.prototype.readOnlyChanged=function(i){i||this.reset(),this.textarea.disabled=i=="nocursor",this.textarea.readOnly=!!i},sr.prototype.setUneditable=function(){},sr.prototype.needsContentAttribute=!1;function W_(i,s){if(s=s?Pe(s):{},s.value=i.value,!s.tabindex&&i.tabIndex&&(s.tabindex=i.tabIndex),!s.placeholder&&i.placeholder&&(s.placeholder=i.placeholder),s.autofocus==null){var m=ot(i.ownerDocument);s.autofocus=m==i||i.getAttribute("autofocus")!=null&&m==document.body}function f(){i.value=I.getValue()}var v;if(i.form&&(nt(i.form,"submit",f),!s.leaveSubmitMethodAlone)){var S=i.form;v=S.submit;try{var M=S.submit=function(){f(),S.submit=v,S.submit(),S.submit=M}}catch{}}s.finishInit=function(X){X.save=f,X.getTextArea=function(){return i},X.toTextArea=function(){X.toTextArea=isNaN,f(),i.parentNode.removeChild(X.getWrapperElement()),i.style.display="",i.form&&(Ct(i.form,"submit",f),!s.leaveSubmitMethodAlone&&typeof i.form.submit=="function"&&(i.form.submit=v))}},i.style.display="none";var I=Jt(function(X){return i.parentNode.insertBefore(X,i.nextSibling)},s);return I}function X_(i){i.off=Ct,i.on=nt,i.wheelEventPixels=qw,i.Doc=jr,i.splitLines=ca,i.countColumn=$e,i.findColumn=Xe,i.isWordChar=pe,i.Pass=dt,i.signal=Dt,i.Line=fa,i.changeEnd=Yi,i.scrollbarModel=vm,i.Pos=D,i.cmpPos=R,i.modes=r,i.mimeModes=n,i.resolveMode=u,i.getMode=p,i.modeExtensions=d,i.extendMode=b,i.copyState=w,i.startState=C,i.innerMode=k,i.commands=Is,i.keyMap=_i,i.keyName=ng,i.isModifierKey=tg,i.lookupKey=Sa,i.normalizeKeyMap=v_,i.StringStream=E,i.SharedTextMarker=Ms,i.TextMarker=$i,i.LineWidget=Fs,i.e_preventDefault=$t,i.e_stopPropagation=sn,i.e_stop=ln,i.addClass=vt,i.contains=He,i.rmClass=Me,i.keyNames=Vi}M_(Jt),R_(Jt);var Y_="iter insert remove copy getEditor constructor".split(" ");for(var kc in jr.prototype)jr.prototype.hasOwnProperty(kc)&&at(Y_,kc)<0&&(Jt.prototype[kc]=function(i){return function(){return i.apply(this.doc,arguments)}}(jr.prototype[kc]));return zr(jr),Jt.inputStyles={textarea:sr,contenteditable:Yt},Jt.defineMode=function(i){!Jt.defaults.mode&&i!="null"&&(Jt.defaults.mode=i),a.apply(this,arguments)},Jt.defineMIME=l,Jt.defineMode("null",function(){return{token:function(i){return i.skipToEnd()}}}),Jt.defineMIME("text/plain","null"),Jt.defineExtension=function(i,s){Jt.prototype[i]=s},Jt.defineDocExtension=function(i,s){jr.prototype[i]=s},Jt.fromTextArea=W_,X_(Jt),Jt.version="5.65.9",Jt})})(an);(function(e,t){(function(o){o(an.exports)})(function(o){var c=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,h=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,g=/[*+-]\s/;o.commands.newlineAndIndentContinueMarkdownList=function(y){if(y.getOption("disableInput"))return o.Pass;for(var z=y.listSelections(),A=[],L=0;L<z.length;L++){var O=z[L].head,P=y.getStateAfter(O.line),Y=o.innerMode(y.getMode(),P);if(Y.mode.name!=="markdown"&&Y.mode.helperType!=="markdown"){y.execCommand("newlineAndIndent");return}else P=Y.state;var V=P.list!==!1,ee=P.quote!==0,ae=y.getLine(O.line),K=c.exec(ae),T=/^\s*$/.test(ae.slice(0,O.ch));if(!z[L].empty()||!V&&!ee||!K||T){y.execCommand("newlineAndIndent");return}if(h.test(ae)){var re=ee&&/>\s*$/.test(ae),B=!/>\s*$/.test(ae);(re||B)&&y.replaceRange("",{line:O.line,ch:0},{line:O.line,ch:O.ch+1}),A[L]=`
  736. `}else{var j=K[1],oe=K[5],de=!(g.test(K[2])||K[2].indexOf(">")>=0),ge=de?parseInt(K[3],10)+1+K[4]:K[2].replace("x"," ");A[L]=`
  737. `+j+ge+oe,de&&x(y,O)}}y.replaceSelections(A)};function x(y,z){var A=z.line,L=0,O=0,P=c.exec(y.getLine(A)),Y=P[1];do{L+=1;var V=A+L,ee=y.getLine(V),ae=c.exec(ee);if(ae){var K=ae[1],T=parseInt(P[3],10)+L-O,re=parseInt(ae[3],10),B=re;if(Y===K&&!isNaN(re))T===re&&(B=re+1),T>re&&(B=T+1),y.replaceRange(ee.replace(c,K+B+ae[4]+ae[5]),{line:V,ch:0},{line:V,ch:ee.length});else{if(Y.length>K.length||Y.length<K.length&&L===1)return;O+=1}}}while(ae)}})})();var A1=an.exports;A1.commands.tabAndIndentMarkdownList=function(e){var t=e.listSelections(),o=t[0].head,c=e.getStateAfter(o.line),h=c.list!==!1;if(h){e.execCommand("indentMore");return}if(e.options.indentWithTabs)e.execCommand("insertTab");else{var g=Array(e.options.tabSize+1).join(" ");e.replaceSelection(g)}};A1.commands.shiftTabAndUnindentMarkdownList=function(e){var t=e.listSelections(),o=t[0].head,c=e.getStateAfter(o.line),h=c.list!==!1;if(h){e.execCommand("indentLess");return}if(e.options.indentWithTabs)e.execCommand("insertTab");else{var g=Array(e.options.tabSize+1).join(" ");e.replaceSelection(g)}};(function(e,t){(function(o){o(an.exports)})(function(o){o.defineOption("fullScreen",!1,function(g,x,y){y==o.Init&&(y=!1),!y!=!x&&(x?c(g):h(g))});function c(g){var x=g.getWrapperElement();g.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:x.style.width,height:x.style.height},x.style.width="",x.style.height="auto",x.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",g.refresh()}function h(g){var x=g.getWrapperElement();x.className=x.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="";var y=g.state.fullScreenRestore;x.style.width=y.width,x.style.height=y.height,window.scrollTo(y.scrollLeft,y.scrollTop),g.refresh()}})})();var v4={exports:{}},x4={exports:{}};(function(e,t){(function(o){o(an.exports)})(function(o){var c={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},h={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};o.defineMode("xml",function(g,x){var y=g.indentUnit,z={},A=x.htmlMode?c:h;for(var L in A)z[L]=A[L];for(var L in x)z[L]=x[L];var O,P;function Y(he,Le){function Se(vt){return Le.tokenize=vt,vt(he,Le)}var He=he.next();if(He=="<")return he.eat("!")?he.eat("[")?he.match("CDATA[")?Se(ae("atom","]]>")):null:he.match("--")?Se(ae("comment","-->")):he.match("DOCTYPE",!0,!0)?(he.eatWhile(/[\w\._\-]/),Se(K(1))):null:he.eat("?")?(he.eatWhile(/[\w\._\-]/),Le.tokenize=ae("meta","?>"),"meta"):(O=he.eat("/")?"closeTag":"openTag",Le.tokenize=V,"tag bracket");if(He=="&"){var ot;return he.eat("#")?he.eat("x")?ot=he.eatWhile(/[a-fA-F\d]/)&&he.eat(";"):ot=he.eatWhile(/[\d]/)&&he.eat(";"):ot=he.eatWhile(/[\w\.\-:]/)&&he.eat(";"),ot?"atom":"error"}else return he.eatWhile(/[^&<]/),null}Y.isInText=!0;function V(he,Le){var Se=he.next();if(Se==">"||Se=="/"&&he.eat(">"))return Le.tokenize=Y,O=Se==">"?"endTag":"selfcloseTag","tag bracket";if(Se=="=")return O="equals",null;if(Se=="<"){Le.tokenize=Y,Le.state=oe,Le.tagName=Le.tagStart=null;var He=Le.tokenize(he,Le);return He?He+" tag error":"tag error"}else return/[\'\"]/.test(Se)?(Le.tokenize=ee(Se),Le.stringStartCol=he.column(),Le.tokenize(he,Le)):(he.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ee(he){var Le=function(Se,He){for(;!Se.eol();)if(Se.next()==he){He.tokenize=V;break}return"string"};return Le.isInAttribute=!0,Le}function ae(he,Le){return function(Se,He){for(;!Se.eol();){if(Se.match(Le)){He.tokenize=Y;break}Se.next()}return he}}function K(he){return function(Le,Se){for(var He;(He=Le.next())!=null;){if(He=="<")return Se.tokenize=K(he+1),Se.tokenize(Le,Se);if(He==">")if(he==1){Se.tokenize=Y;break}else return Se.tokenize=K(he-1),Se.tokenize(Le,Se)}return"meta"}}function T(he){return he&&he.toLowerCase()}function re(he,Le,Se){this.prev=he.context,this.tagName=Le||"",this.indent=he.indented,this.startOfLine=Se,(z.doNotIndent.hasOwnProperty(Le)||he.context&&he.context.noIndent)&&(this.noIndent=!0)}function B(he){he.context&&(he.context=he.context.prev)}function j(he,Le){for(var Se;;){if(!he.context||(Se=he.context.tagName,!z.contextGrabbers.hasOwnProperty(T(Se))||!z.contextGrabbers[T(Se)].hasOwnProperty(T(Le))))return;B(he)}}function oe(he,Le,Se){return he=="openTag"?(Se.tagStart=Le.column(),de):he=="closeTag"?ge:oe}function de(he,Le,Se){return he=="word"?(Se.tagName=Le.current(),P="tag",ze):z.allowMissingTagName&&he=="endTag"?(P="tag bracket",ze(he,Le,Se)):(P="error",de)}function ge(he,Le,Se){if(he=="word"){var He=Le.current();return Se.context&&Se.context.tagName!=He&&z.implicitlyClosed.hasOwnProperty(T(Se.context.tagName))&&B(Se),Se.context&&Se.context.tagName==He||z.matchClosing===!1?(P="tag",Te):(P="tag error",Ne)}else return z.allowMissingTagName&&he=="endTag"?(P="tag bracket",Te(he,Le,Se)):(P="error",Ne)}function Te(he,Le,Se){return he!="endTag"?(P="error",Te):(B(Se),oe)}function Ne(he,Le,Se){return P="error",Te(he,Le,Se)}function ze(he,Le,Se){if(he=="word")return P="attribute",Me;if(he=="endTag"||he=="selfcloseTag"){var He=Se.tagName,ot=Se.tagStart;return Se.tagName=Se.tagStart=null,he=="selfcloseTag"||z.autoSelfClosers.hasOwnProperty(T(He))?j(Se,He):(j(Se,He),Se.context=new re(Se,He,ot==Se.indented)),oe}return P="error",ze}function Me(he,Le,Se){return he=="equals"?ke:(z.allowMissing||(P="error"),ze(he,Le,Se))}function ke(he,Le,Se){return he=="string"?De:he=="word"&&z.allowUnquoted?(P="string",ze):(P="error",ze(he,Le,Se))}function De(he,Le,Se){return he=="string"?De:ze(he,Le,Se)}return{startState:function(he){var Le={tokenize:Y,state:oe,indented:he||0,tagName:null,tagStart:null,context:null};return he!=null&&(Le.baseIndent=he),Le},token:function(he,Le){if(!Le.tagName&&he.sol()&&(Le.indented=he.indentation()),he.eatSpace())return null;O=null;var Se=Le.tokenize(he,Le);return(Se||O)&&Se!="comment"&&(P=null,Le.state=Le.state(O||Se,he,Le),P&&(Se=P=="error"?Se+" error":P)),Se},indent:function(he,Le,Se){var He=he.context;if(he.tokenize.isInAttribute)return he.tagStart==he.indented?he.stringStartCol+1:he.indented+y;if(He&&He.noIndent)return o.Pass;if(he.tokenize!=V&&he.tokenize!=Y)return Se?Se.match(/^(\s*)/)[0].length:0;if(he.tagName)return z.multilineTagIndentPastTag!==!1?he.tagStart+he.tagName.length+2:he.tagStart+y*(z.multilineTagIndentFactor||1);if(z.alignCDATA&&/<!\[CDATA\[/.test(Le))return 0;var ot=Le&&/^<(\/)?([\w_:\.-]*)/.exec(Le);if(ot&&ot[1])for(;He;)if(He.tagName==ot[2]){He=He.prev;break}else if(z.implicitlyClosed.hasOwnProperty(T(He.tagName)))He=He.prev;else break;else if(ot)for(;He;){var vt=z.contextGrabbers[T(He.tagName)];if(vt&&vt.hasOwnProperty(T(ot[2])))He=He.prev;else break}for(;He&&He.prev&&!He.startOfLine;)He=He.prev;return He?He.indent+y:he.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:z.htmlMode?"html":"xml",helperType:z.htmlMode?"html":"xml",skipAttribute:function(he){he.state==ke&&(he.state=ze)},xmlCurrentTag:function(he){return he.tagName?{name:he.tagName,close:he.type=="closeTag"}:null},xmlCurrentContext:function(he){for(var Le=[],Se=he.context;Se;Se=Se.prev)Le.push(Se.tagName);return Le.reverse()}}}),o.defineMIME("text/xml","xml"),o.defineMIME("application/xml","xml"),o.mimeModes.hasOwnProperty("text/html")||o.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();var Vx={exports:{}},Ux;function b4(){return Ux||(Ux=1,function(e,t){(function(o){o(an.exports)})(function(o){o.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var c=0;c<o.modeInfo.length;c++){var h=o.modeInfo[c];h.mimes&&(h.mime=h.mimes[0])}o.findModeByMIME=function(g){g=g.toLowerCase();for(var x=0;x<o.modeInfo.length;x++){var y=o.modeInfo[x];if(y.mime==g)return y;if(y.mimes){for(var z=0;z<y.mimes.length;z++)if(y.mimes[z]==g)return y}}if(/\+xml$/.test(g))return o.findModeByMIME("application/xml");if(/\+json$/.test(g))return o.findModeByMIME("application/json")},o.findModeByExtension=function(g){g=g.toLowerCase();for(var x=0;x<o.modeInfo.length;x++){var y=o.modeInfo[x];if(y.ext){for(var z=0;z<y.ext.length;z++)if(y.ext[z]==g)return y}}},o.findModeByFileName=function(g){for(var x=0;x<o.modeInfo.length;x++){var y=o.modeInfo[x];if(y.file&&y.file.test(g))return y}var z=g.lastIndexOf("."),A=z>-1&&g.substring(z+1,g.length);if(A)return o.findModeByExtension(A)},o.findModeByName=function(g){g=g.toLowerCase();for(var x=0;x<o.modeInfo.length;x++){var y=o.modeInfo[x];if(y.name.toLowerCase()==g)return y;if(y.alias){for(var z=0;z<y.alias.length;z++)if(y.alias[z].toLowerCase()==g)return y}}}})}()),Vx.exports}(function(e,t){(function(o){o(an.exports,x4.exports,b4())})(function(o){o.defineMode("markdown",function(c,h){var g=o.getMode(c,"text/html"),x=g.name=="null";function y(ne){if(o.findModeByName){var te=o.findModeByName(ne);te&&(ne=te.mime||te.mimes[0])}var tt=o.getMode(c,ne);return tt.name=="null"?null:tt}h.highlightFormatting===void 0&&(h.highlightFormatting=!1),h.maxBlockquoteDepth===void 0&&(h.maxBlockquoteDepth=0),h.taskLists===void 0&&(h.taskLists=!1),h.strikethrough===void 0&&(h.strikethrough=!1),h.emoji===void 0&&(h.emoji=!1),h.fencedCodeBlockHighlighting===void 0&&(h.fencedCodeBlockHighlighting=!0),h.fencedCodeBlockDefaultMode===void 0&&(h.fencedCodeBlockDefaultMode="text/plain"),h.xml===void 0&&(h.xml=!0),h.tokenTypeOverrides===void 0&&(h.tokenTypeOverrides={});var z={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var A in z)z.hasOwnProperty(A)&&h.tokenTypeOverrides[A]&&(z[A]=h.tokenTypeOverrides[A]);var L=/^([*\-_])(?:\s*\1){2,}\s*$/,O=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,P=/^\[(x| )\](?=\s)/i,Y=h.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,V=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ee=/^[^#!\[\]*_\\<>` "'(~:]+/,ae=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,K=/^\s*\[[^\]]+?\]:.*$/,T=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,re=" ";function B(ne,te,tt){return te.f=te.inline=tt,tt(ne,te)}function j(ne,te,tt){return te.f=te.block=tt,tt(ne,te)}function oe(ne){return!ne||!/\S/.test(ne.string)}function de(ne){if(ne.linkTitle=!1,ne.linkHref=!1,ne.linkText=!1,ne.em=!1,ne.strong=!1,ne.strikethrough=!1,ne.quote=0,ne.indentedCode=!1,ne.f==Te){var te=x;if(!te){var tt=o.innerMode(g,ne.htmlState);te=tt.mode.name=="xml"&&tt.state.tagStart===null&&!tt.state.context&&tt.state.tokenize.isInText}te&&(ne.f=ke,ne.block=ge,ne.htmlState=null)}return ne.trailingSpace=0,ne.trailingSpaceNewLine=!1,ne.prevLine=ne.thisLine,ne.thisLine={stream:null},null}function ge(ne,te){var tt=ne.column()===te.indentation,we=oe(te.prevLine.stream),Pe=te.indentedCode,$e=te.prevLine.hr,Ge=te.list!==!1,at=(te.listStack[te.listStack.length-1]||0)+3;te.indentedCode=!1;var Ke=te.indentation;if(te.indentationDiff===null&&(te.indentationDiff=te.indentation,Ge)){for(te.list=null;Ke<te.listStack[te.listStack.length-1];)te.listStack.pop(),te.listStack.length?te.indentation=te.listStack[te.listStack.length-1]:te.list=!1;te.list!==!1&&(te.indentationDiff=Ke-te.listStack[te.listStack.length-1])}var dt=!we&&!$e&&!te.prevLine.header&&(!Ge||!Pe)&&!te.prevLine.fencedCodeEnd,ue=(te.list===!1||$e||we)&&te.indentation<=at&&ne.match(L),ye=null;if(te.indentationDiff>=4&&(Pe||te.prevLine.fencedCodeEnd||te.prevLine.header||we))return ne.skipToEnd(),te.indentedCode=!0,z.code;if(ne.eatSpace())return null;if(tt&&te.indentation<=at&&(ye=ne.match(Y))&&ye[1].length<=6)return te.quote=0,te.header=ye[1].length,te.thisLine.header=!0,h.highlightFormatting&&(te.formatting="header"),te.f=te.inline,ze(te);if(te.indentation<=at&&ne.eat(">"))return te.quote=tt?1:te.quote+1,h.highlightFormatting&&(te.formatting="quote"),ne.eatSpace(),ze(te);if(!ue&&!te.setext&&tt&&te.indentation<=at&&(ye=ne.match(O))){var Oe=ye[1]?"ol":"ul";return te.indentation=Ke+ne.current().length,te.list=!0,te.quote=0,te.listStack.push(te.indentation),te.em=!1,te.strong=!1,te.code=!1,te.strikethrough=!1,h.taskLists&&ne.match(P,!1)&&(te.taskList=!0),te.f=te.inline,h.highlightFormatting&&(te.formatting=["list","list-"+Oe]),ze(te)}else{if(tt&&te.indentation<=at&&(ye=ne.match(ae,!0)))return te.quote=0,te.fencedEndRE=new RegExp(ye[1]+"+ *$"),te.localMode=h.fencedCodeBlockHighlighting&&y(ye[2]||h.fencedCodeBlockDefaultMode),te.localMode&&(te.localState=o.startState(te.localMode)),te.f=te.block=Ne,h.highlightFormatting&&(te.formatting="code-block"),te.code=-1,ze(te);if(te.setext||(!dt||!Ge)&&!te.quote&&te.list===!1&&!te.code&&!ue&&!K.test(ne.string)&&(ye=ne.lookAhead(1))&&(ye=ye.match(V)))return te.setext?(te.header=te.setext,te.setext=0,ne.skipToEnd(),h.highlightFormatting&&(te.formatting="header")):(te.header=ye[0].charAt(0)=="="?1:2,te.setext=te.header),te.thisLine.header=!0,te.f=te.inline,ze(te);if(ue)return ne.skipToEnd(),te.hr=!0,te.thisLine.hr=!0,z.hr;if(ne.peek()==="[")return B(ne,te,He)}return B(ne,te,te.inline)}function Te(ne,te){var tt=g.token(ne,te.htmlState);if(!x){var we=o.innerMode(g,te.htmlState);(we.mode.name=="xml"&&we.state.tagStart===null&&!we.state.context&&we.state.tokenize.isInText||te.md_inside&&ne.current().indexOf(">")>-1)&&(te.f=ke,te.block=ge,te.htmlState=null)}return tt}function Ne(ne,te){var tt=te.listStack[te.listStack.length-1]||0,we=te.indentation<tt,Pe=tt+3;if(te.fencedEndRE&&te.indentation<=Pe&&(we||ne.match(te.fencedEndRE))){h.highlightFormatting&&(te.formatting="code-block");var $e;return we||($e=ze(te)),te.localMode=te.localState=null,te.block=ge,te.f=ke,te.fencedEndRE=null,te.code=0,te.thisLine.fencedCodeEnd=!0,we?j(ne,te,te.block):$e}else return te.localMode?te.localMode.token(ne,te.localState):(ne.skipToEnd(),z.code)}function ze(ne){var te=[];if(ne.formatting){te.push(z.formatting),typeof ne.formatting=="string"&&(ne.formatting=[ne.formatting]);for(var tt=0;tt<ne.formatting.length;tt++)te.push(z.formatting+"-"+ne.formatting[tt]),ne.formatting[tt]==="header"&&te.push(z.formatting+"-"+ne.formatting[tt]+"-"+ne.header),ne.formatting[tt]==="quote"&&(!h.maxBlockquoteDepth||h.maxBlockquoteDepth>=ne.quote?te.push(z.formatting+"-"+ne.formatting[tt]+"-"+ne.quote):te.push("error"))}if(ne.taskOpen)return te.push("meta"),te.length?te.join(" "):null;if(ne.taskClosed)return te.push("property"),te.length?te.join(" "):null;if(ne.linkHref?te.push(z.linkHref,"url"):(ne.strong&&te.push(z.strong),ne.em&&te.push(z.em),ne.strikethrough&&te.push(z.strikethrough),ne.emoji&&te.push(z.emoji),ne.linkText&&te.push(z.linkText),ne.code&&te.push(z.code),ne.image&&te.push(z.image),ne.imageAltText&&te.push(z.imageAltText,"link"),ne.imageMarker&&te.push(z.imageMarker)),ne.header&&te.push(z.header,z.header+"-"+ne.header),ne.quote&&(te.push(z.quote),!h.maxBlockquoteDepth||h.maxBlockquoteDepth>=ne.quote?te.push(z.quote+"-"+ne.quote):te.push(z.quote+"-"+h.maxBlockquoteDepth)),ne.list!==!1){var we=(ne.listStack.length-1)%3;we?we===1?te.push(z.list2):te.push(z.list3):te.push(z.list1)}return ne.trailingSpaceNewLine?te.push("trailing-space-new-line"):ne.trailingSpace&&te.push("trailing-space-"+(ne.trailingSpace%2?"a":"b")),te.length?te.join(" "):null}function Me(ne,te){if(ne.match(ee,!0))return ze(te)}function ke(ne,te){var tt=te.text(ne,te);if(typeof tt<"u")return tt;if(te.list)return te.list=null,ze(te);if(te.taskList){var we=ne.match(P,!0)[1]===" ";return we?te.taskOpen=!0:te.taskClosed=!0,h.highlightFormatting&&(te.formatting="task"),te.taskList=!1,ze(te)}if(te.taskOpen=!1,te.taskClosed=!1,te.header&&ne.match(/^#+$/,!0))return h.highlightFormatting&&(te.formatting="header"),ze(te);var Pe=ne.next();if(te.linkTitle){te.linkTitle=!1;var $e=Pe;Pe==="("&&($e=")"),$e=($e+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ge="^\\s*(?:[^"+$e+"\\\\]+|\\\\\\\\|\\\\.)"+$e;if(ne.match(new RegExp(Ge),!0))return z.linkHref}if(Pe==="`"){var at=te.formatting;h.highlightFormatting&&(te.formatting="code"),ne.eatWhile("`");var Ke=ne.current().length;if(te.code==0&&(!te.quote||Ke==1))return te.code=Ke,ze(te);if(Ke==te.code){var dt=ze(te);return te.code=0,dt}else return te.formatting=at,ze(te)}else if(te.code)return ze(te);if(Pe==="\\"&&(ne.next(),h.highlightFormatting)){var ue=ze(te),ye=z.formatting+"-escape";return ue?ue+" "+ye:ye}if(Pe==="!"&&ne.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return te.imageMarker=!0,te.image=!0,h.highlightFormatting&&(te.formatting="image"),ze(te);if(Pe==="["&&te.imageMarker&&ne.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return te.imageMarker=!1,te.imageAltText=!0,h.highlightFormatting&&(te.formatting="image"),ze(te);if(Pe==="]"&&te.imageAltText){h.highlightFormatting&&(te.formatting="image");var ue=ze(te);return te.imageAltText=!1,te.image=!1,te.inline=te.f=he,ue}if(Pe==="["&&!te.image)return te.linkText&&ne.match(/^.*?\]/)||(te.linkText=!0,h.highlightFormatting&&(te.formatting="link")),ze(te);if(Pe==="]"&&te.linkText){h.highlightFormatting&&(te.formatting="link");var ue=ze(te);return te.linkText=!1,te.inline=te.f=ne.match(/\(.*?\)| ?\[.*?\]/,!1)?he:ke,ue}if(Pe==="<"&&ne.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){te.f=te.inline=De,h.highlightFormatting&&(te.formatting="link");var ue=ze(te);return ue?ue+=" ":ue="",ue+z.linkInline}if(Pe==="<"&&ne.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){te.f=te.inline=De,h.highlightFormatting&&(te.formatting="link");var ue=ze(te);return ue?ue+=" ":ue="",ue+z.linkEmail}if(h.xml&&Pe==="<"&&ne.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Oe=ne.string.indexOf(">",ne.pos);if(Oe!=-1){var Xe=ne.string.substring(ne.start,Oe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Xe)&&(te.md_inside=!0)}return ne.backUp(1),te.htmlState=o.startState(g),j(ne,te,Te)}if(h.xml&&Pe==="<"&&ne.match(/^\/\w*?>/))return te.md_inside=!1,"tag";if(Pe==="*"||Pe==="_"){for(var Ye=1,Ze=ne.pos==1?" ":ne.string.charAt(ne.pos-2);Ye<3&&ne.eat(Pe);)Ye++;var Ve=ne.peek()||" ",xe=!/\s/.test(Ve)&&(!T.test(Ve)||/\s/.test(Ze)||T.test(Ze)),me=!/\s/.test(Ze)&&(!T.test(Ze)||/\s/.test(Ve)||T.test(Ve)),le=null,N=null;if(Ye%2&&(!te.em&&xe&&(Pe==="*"||!me||T.test(Ze))?le=!0:te.em==Pe&&me&&(Pe==="*"||!xe||T.test(Ve))&&(le=!1)),Ye>1&&(!te.strong&&xe&&(Pe==="*"||!me||T.test(Ze))?N=!0:te.strong==Pe&&me&&(Pe==="*"||!xe||T.test(Ve))&&(N=!1)),N!=null||le!=null){h.highlightFormatting&&(te.formatting=le==null?"strong":N==null?"em":"strong em"),le===!0&&(te.em=Pe),N===!0&&(te.strong=Pe);var dt=ze(te);return le===!1&&(te.em=!1),N===!1&&(te.strong=!1),dt}}else if(Pe===" "&&(ne.eat("*")||ne.eat("_"))){if(ne.peek()===" ")return ze(te);ne.backUp(1)}if(h.strikethrough){if(Pe==="~"&&ne.eatWhile(Pe)){if(te.strikethrough){h.highlightFormatting&&(te.formatting="strikethrough");var dt=ze(te);return te.strikethrough=!1,dt}else if(ne.match(/^[^\s]/,!1))return te.strikethrough=!0,h.highlightFormatting&&(te.formatting="strikethrough"),ze(te)}else if(Pe===" "&&ne.match("~~",!0)){if(ne.peek()===" ")return ze(te);ne.backUp(2)}}if(h.emoji&&Pe===":"&&ne.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){te.emoji=!0,h.highlightFormatting&&(te.formatting="emoji");var $=ze(te);return te.emoji=!1,$}return Pe===" "&&(ne.match(/^ +$/,!1)?te.trailingSpace++:te.trailingSpace&&(te.trailingSpaceNewLine=!0)),ze(te)}function De(ne,te){var tt=ne.next();if(tt===">"){te.f=te.inline=ke,h.highlightFormatting&&(te.formatting="link");var we=ze(te);return we?we+=" ":we="",we+z.linkInline}return ne.match(/^[^>]+/,!0),z.linkInline}function he(ne,te){if(ne.eatSpace())return null;var tt=ne.next();return tt==="("||tt==="["?(te.f=te.inline=Se(tt==="("?")":"]"),h.highlightFormatting&&(te.formatting="link-string"),te.linkHref=!0,ze(te)):"error"}var Le={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Se(ne){return function(te,tt){var we=te.next();if(we===ne){tt.f=tt.inline=ke,h.highlightFormatting&&(tt.formatting="link-string");var Pe=ze(tt);return tt.linkHref=!1,Pe}return te.match(Le[ne]),tt.linkHref=!0,ze(tt)}}function He(ne,te){return ne.match(/^([^\]\\]|\\.)*\]:/,!1)?(te.f=ot,ne.next(),h.highlightFormatting&&(te.formatting="link"),te.linkText=!0,ze(te)):B(ne,te,ke)}function ot(ne,te){if(ne.match("]:",!0)){te.f=te.inline=vt,h.highlightFormatting&&(te.formatting="link");var tt=ze(te);return te.linkText=!1,tt}return ne.match(/^([^\]\\]|\\.)+/,!0),z.linkText}function vt(ne,te){return ne.eatSpace()?null:(ne.match(/^[^\s]+/,!0),ne.peek()===void 0?te.linkTitle=!0:ne.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),te.f=te.inline=ke,z.linkHref+" url")}var et={startState:function(){return{f:ge,prevLine:{stream:null},thisLine:{stream:null},block:ge,htmlState:null,indentation:0,inline:ke,text:Me,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(ne){return{f:ne.f,prevLine:ne.prevLine,thisLine:ne.thisLine,block:ne.block,htmlState:ne.htmlState&&o.copyState(g,ne.htmlState),indentation:ne.indentation,localMode:ne.localMode,localState:ne.localMode?o.copyState(ne.localMode,ne.localState):null,inline:ne.inline,text:ne.text,formatting:!1,linkText:ne.linkText,linkTitle:ne.linkTitle,linkHref:ne.linkHref,code:ne.code,em:ne.em,strong:ne.strong,strikethrough:ne.strikethrough,emoji:ne.emoji,header:ne.header,setext:ne.setext,hr:ne.hr,taskList:ne.taskList,list:ne.list,listStack:ne.listStack.slice(0),quote:ne.quote,indentedCode:ne.indentedCode,trailingSpace:ne.trailingSpace,trailingSpaceNewLine:ne.trailingSpaceNewLine,md_inside:ne.md_inside,fencedEndRE:ne.fencedEndRE}},token:function(ne,te){if(te.formatting=!1,ne!=te.thisLine.stream){if(te.header=0,te.hr=!1,ne.match(/^\s*$/,!0))return de(te),null;if(te.prevLine=te.thisLine,te.thisLine={stream:ne},te.taskList=!1,te.trailingSpace=0,te.trailingSpaceNewLine=!1,!te.localState&&(te.f=te.block,te.f!=Te)){var tt=ne.match(/^\s*/,!0)[0].replace(/\t/g,re).length;if(te.indentation=tt,te.indentationDiff=null,tt>0)return null}}return te.f(ne,te)},innerMode:function(ne){return ne.block==Te?{state:ne.htmlState,mode:g}:ne.localState?{state:ne.localState,mode:ne.localMode}:{state:ne,mode:et}},indent:function(ne,te,tt){return ne.block==Te&&g.indent?g.indent(ne.htmlState,te,tt):ne.localState&&ne.localMode.indent?ne.localMode.indent(ne.localState,te,tt):o.Pass},blankLine:de,getType:ze,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return et},"xml"),o.defineMIME("text/markdown","markdown"),o.defineMIME("text/x-markdown","markdown")})})();var y4={exports:{}};(function(e,t){(function(o){o(an.exports)})(function(o){o.overlayMode=function(c,h,g){return{startState:function(){return{base:o.startState(c),overlay:o.startState(h),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(x){return{base:o.copyState(c,x.base),overlay:o.copyState(h,x.overlay),basePos:x.basePos,baseCur:null,overlayPos:x.overlayPos,overlayCur:null}},token:function(x,y){return(x!=y.streamSeen||Math.min(y.basePos,y.overlayPos)<x.start)&&(y.streamSeen=x,y.basePos=y.overlayPos=x.start),x.start==y.basePos&&(y.baseCur=c.token(x,y.base),y.basePos=x.pos),x.start==y.overlayPos&&(x.pos=x.start,y.overlayCur=h.token(x,y.overlay),y.overlayPos=x.pos),x.pos=Math.min(y.basePos,y.overlayPos),y.overlayCur==null?y.baseCur:y.baseCur!=null&&y.overlay.combineTokens||g&&y.overlay.combineTokens==null?y.baseCur+" "+y.overlayCur:y.overlayCur},indent:c.indent&&function(x,y,z){return c.indent(x.base,y,z)},electricChars:c.electricChars,innerMode:function(x){return{state:x.base,mode:c}},blankLine:function(x){var y,z;return c.blankLine&&(y=c.blankLine(x.base)),h.blankLine&&(z=h.blankLine(x.overlay)),z==null?y:g&&y!=null?y+" "+z:z}}}})})();(function(e,t){(function(o){o(an.exports)})(function(o){o.defineOption("placeholder","",function(A,L,O){var P=O&&O!=o.Init;if(L&&!P)A.on("blur",x),A.on("change",y),A.on("swapDoc",y),o.on(A.getInputField(),"compositionupdate",A.state.placeholderCompose=function(){g(A)}),y(A);else if(!L&&P){A.off("blur",x),A.off("change",y),A.off("swapDoc",y),o.off(A.getInputField(),"compositionupdate",A.state.placeholderCompose),c(A);var Y=A.getWrapperElement();Y.className=Y.className.replace(" CodeMirror-empty","")}L&&!A.hasFocus()&&x(A)});function c(A){A.state.placeholder&&(A.state.placeholder.parentNode.removeChild(A.state.placeholder),A.state.placeholder=null)}function h(A){c(A);var L=A.state.placeholder=document.createElement("pre");L.style.cssText="height: 0; overflow: visible",L.style.direction=A.getOption("direction"),L.className="CodeMirror-placeholder CodeMirror-line-like";var O=A.getOption("placeholder");typeof O=="string"&&(O=document.createTextNode(O)),L.appendChild(O),A.display.lineSpace.insertBefore(L,A.display.lineSpace.firstChild)}function g(A){setTimeout(function(){var L=!1;if(A.lineCount()==1){var O=A.getInputField();L=O.nodeName=="TEXTAREA"?!A.getLine(0).length:!/[^\u200b]/.test(O.querySelector(".CodeMirror-line").textContent)}L?h(A):c(A)},20)}function x(A){z(A)&&h(A)}function y(A){var L=A.getWrapperElement(),O=z(A);L.className=L.className.replace(" CodeMirror-empty","")+(O?" CodeMirror-empty":""),O?h(A):c(A)}function z(A){return A.lineCount()===1&&A.getLine(0)===""}})})();(function(e,t){(function(o){o(an.exports)})(function(o){o.defineOption("autoRefresh",!1,function(g,x){g.state.autoRefresh&&(h(g,g.state.autoRefresh),g.state.autoRefresh=null),x&&g.display.wrapper.offsetHeight==0&&c(g,g.state.autoRefresh={delay:x.delay||250})});function c(g,x){function y(){g.display.wrapper.offsetHeight?(h(g,x),g.display.lastWrapHeight!=g.display.wrapper.clientHeight&&g.refresh()):x.timeout=setTimeout(y,x.delay)}x.timeout=setTimeout(y,x.delay),x.hurry=function(){clearTimeout(x.timeout),x.timeout=setTimeout(y,50)},o.on(window,"mouseup",x.hurry),o.on(window,"keyup",x.hurry)}function h(g,x){clearTimeout(x.timeout),o.off(window,"mouseup",x.hurry),o.off(window,"keyup",x.hurry)}})})();(function(e,t){(function(o){o(an.exports)})(function(o){o.defineOption("styleSelectedText",!1,function(P,Y,V){var ee=V&&V!=o.Init;Y&&!ee?(P.state.markedSelection=[],P.state.markedSelectionStyle=typeof Y=="string"?Y:"CodeMirror-selectedtext",L(P),P.on("cursorActivity",c),P.on("change",h)):!Y&&ee&&(P.off("cursorActivity",c),P.off("change",h),A(P),P.state.markedSelection=P.state.markedSelectionStyle=null)});function c(P){P.state.markedSelection&&P.operation(function(){O(P)})}function h(P){P.state.markedSelection&&P.state.markedSelection.length&&P.operation(function(){A(P)})}var g=8,x=o.Pos,y=o.cmpPos;function z(P,Y,V,ee){if(y(Y,V)!=0)for(var ae=P.state.markedSelection,K=P.state.markedSelectionStyle,T=Y.line;;){var re=T==Y.line?Y:x(T,0),B=T+g,j=B>=V.line,oe=j?V:x(B,0),de=P.markText(re,oe,{className:K});if(ee==null?ae.push(de):ae.splice(ee++,0,de),j)break;T=B}}function A(P){for(var Y=P.state.markedSelection,V=0;V<Y.length;++V)Y[V].clear();Y.length=0}function L(P){A(P);for(var Y=P.listSelections(),V=0;V<Y.length;V++)z(P,Y[V].from(),Y[V].to())}function O(P){if(!P.somethingSelected())return A(P);if(P.listSelections().length>1)return L(P);var Y=P.getCursor("start"),V=P.getCursor("end"),ee=P.state.markedSelection;if(!ee.length)return z(P,Y,V);var ae=ee[0].find(),K=ee[ee.length-1].find();if(!ae||!K||V.line-Y.line<=g||y(Y,K.to)>=0||y(V,ae.from)<=0)return L(P);for(;y(Y,ae.from)>0;)ee.shift().clear(),ae=ee[0].find();for(y(Y,ae.from)<0&&(ae.to.line-Y.line<g?(ee.shift().clear(),z(P,Y,ae.to,0)):z(P,Y,ae.from,0));y(V,K.to)<0;)ee.pop().clear(),K=ee[ee.length-1].find();y(V,K.to)>0&&(V.line-K.from.line<g?(ee.pop().clear(),z(P,K.from,V)):z(P,K.to,V))}})})();(function(e,t){(function(o){o(an.exports)})(function(o){var c=o.Pos;function h(T){var re=T.flags;return re!=null?re:(T.ignoreCase?"i":"")+(T.global?"g":"")+(T.multiline?"m":"")}function g(T,re){for(var B=h(T),j=B,oe=0;oe<re.length;oe++)j.indexOf(re.charAt(oe))==-1&&(j+=re.charAt(oe));return B==j?T:new RegExp(T.source,j)}function x(T){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(T.source)}function y(T,re,B){re=g(re,"g");for(var j=B.line,oe=B.ch,de=T.lastLine();j<=de;j++,oe=0){re.lastIndex=oe;var ge=T.getLine(j),Te=re.exec(ge);if(Te)return{from:c(j,Te.index),to:c(j,Te.index+Te[0].length),match:Te}}}function z(T,re,B){if(!x(re))return y(T,re,B);re=g(re,"gm");for(var j,oe=1,de=B.line,ge=T.lastLine();de<=ge;){for(var Te=0;Te<oe&&!(de>ge);Te++){var Ne=T.getLine(de++);j=j==null?Ne:j+`
  738. `+Ne}oe=oe*2,re.lastIndex=B.ch;var ze=re.exec(j);if(ze){var Me=j.slice(0,ze.index).split(`
  739. `),ke=ze[0].split(`
  740. `),De=B.line+Me.length-1,he=Me[Me.length-1].length;return{from:c(De,he),to:c(De+ke.length-1,ke.length==1?he+ke[0].length:ke[ke.length-1].length),match:ze}}}}function A(T,re,B){for(var j,oe=0;oe<=T.length;){re.lastIndex=oe;var de=re.exec(T);if(!de)break;var ge=de.index+de[0].length;if(ge>T.length-B)break;(!j||ge>j.index+j[0].length)&&(j=de),oe=de.index+1}return j}function L(T,re,B){re=g(re,"g");for(var j=B.line,oe=B.ch,de=T.firstLine();j>=de;j--,oe=-1){var ge=T.getLine(j),Te=A(ge,re,oe<0?0:ge.length-oe);if(Te)return{from:c(j,Te.index),to:c(j,Te.index+Te[0].length),match:Te}}}function O(T,re,B){if(!x(re))return L(T,re,B);re=g(re,"gm");for(var j,oe=1,de=T.getLine(B.line).length-B.ch,ge=B.line,Te=T.firstLine();ge>=Te;){for(var Ne=0;Ne<oe&&ge>=Te;Ne++){var ze=T.getLine(ge--);j=j==null?ze:ze+`
  741. `+j}oe*=2;var Me=A(j,re,de);if(Me){var ke=j.slice(0,Me.index).split(`
  742. `),De=Me[0].split(`
  743. `),he=ge+ke.length,Le=ke[ke.length-1].length;return{from:c(he,Le),to:c(he+De.length-1,De.length==1?Le+De[0].length:De[De.length-1].length),match:Me}}}}var P,Y;String.prototype.normalize?(P=function(T){return T.normalize("NFD").toLowerCase()},Y=function(T){return T.normalize("NFD")}):(P=function(T){return T.toLowerCase()},Y=function(T){return T});function V(T,re,B,j){if(T.length==re.length)return B;for(var oe=0,de=B+Math.max(0,T.length-re.length);;){if(oe==de)return oe;var ge=oe+de>>1,Te=j(T.slice(0,ge)).length;if(Te==B)return ge;Te>B?de=ge:oe=ge+1}}function ee(T,re,B,j){if(!re.length)return null;var oe=j?P:Y,de=oe(re).split(/\r|\n\r?/);e:for(var ge=B.line,Te=B.ch,Ne=T.lastLine()+1-de.length;ge<=Ne;ge++,Te=0){var ze=T.getLine(ge).slice(Te),Me=oe(ze);if(de.length==1){var ke=Me.indexOf(de[0]);if(ke==-1)continue e;var B=V(ze,Me,ke,oe)+Te;return{from:c(ge,V(ze,Me,ke,oe)+Te),to:c(ge,V(ze,Me,ke+de[0].length,oe)+Te)}}else{var De=Me.length-de[0].length;if(Me.slice(De)!=de[0])continue e;for(var he=1;he<de.length-1;he++)if(oe(T.getLine(ge+he))!=de[he])continue e;var Le=T.getLine(ge+de.length-1),Se=oe(Le),He=de[de.length-1];if(Se.slice(0,He.length)!=He)continue e;return{from:c(ge,V(ze,Me,De,oe)+Te),to:c(ge+de.length-1,V(Le,Se,He.length,oe))}}}}function ae(T,re,B,j){if(!re.length)return null;var oe=j?P:Y,de=oe(re).split(/\r|\n\r?/);e:for(var ge=B.line,Te=B.ch,Ne=T.firstLine()-1+de.length;ge>=Ne;ge--,Te=-1){var ze=T.getLine(ge);Te>-1&&(ze=ze.slice(0,Te));var Me=oe(ze);if(de.length==1){var ke=Me.lastIndexOf(de[0]);if(ke==-1)continue e;return{from:c(ge,V(ze,Me,ke,oe)),to:c(ge,V(ze,Me,ke+de[0].length,oe))}}else{var De=de[de.length-1];if(Me.slice(0,De.length)!=De)continue e;for(var he=1,B=ge-de.length+1;he<de.length-1;he++)if(oe(T.getLine(B+he))!=de[he])continue e;var Le=T.getLine(ge+1-de.length),Se=oe(Le);if(Se.slice(Se.length-de[0].length)!=de[0])continue e;return{from:c(ge+1-de.length,V(Le,Se,Le.length-de[0].length,oe)),to:c(ge,V(ze,Me,De.length,oe))}}}}function K(T,re,B,j){this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=T,B=B?T.clipPos(B):c(0,0),this.pos={from:B,to:B};var oe;typeof j=="object"?oe=j.caseFold:(oe=j,j=null),typeof re=="string"?(oe==null&&(oe=!1),this.matches=function(de,ge){return(de?ae:ee)(T,re,ge,oe)}):(re=g(re,"gm"),!j||j.multiline!==!1?this.matches=function(de,ge){return(de?O:z)(T,re,ge)}:this.matches=function(de,ge){return(de?L:y)(T,re,ge)})}K.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(T){var re=this.doc.clipPos(T?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(re=c(re.line,re.ch),T?(re.ch--,re.ch<0&&(re.line--,re.ch=(this.doc.getLine(re.line)||"").length)):(re.ch++,re.ch>(this.doc.getLine(re.line)||"").length&&(re.ch=0,re.line++)),o.cmpPos(re,this.doc.clipPos(re))!=0))return this.atOccurrence=!1;var B=this.matches(T,re);if(this.afterEmptyMatch=B&&o.cmpPos(B.from,B.to)==0,B)return this.pos=B,this.atOccurrence=!0,this.pos.match||!0;var j=c(T?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:j,to:j},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(T,re){if(!!this.atOccurrence){var B=o.splitLines(T);this.doc.replaceRange(B,this.pos.from,this.pos.to,re),this.pos.to=c(this.pos.from.line+B.length-1,B[B.length-1].length+(B.length==1?this.pos.from.ch:0))}}},o.defineExtension("getSearchCursor",function(T,re,B){return new K(this.doc,T,re,B)}),o.defineDocExtension("getSearchCursor",function(T,re,B){return new K(this,T,re,B)}),o.defineExtension("selectMatches",function(T,re){for(var B=[],j=this.getSearchCursor(T,this.getCursor("from"),re);j.findNext()&&!(o.cmpPos(j.to(),this.getCursor("to"))>0);)B.push({anchor:j.from(),head:j.to()});B.length&&this.setSelections(B,0)})})})();(function(e,t){(function(o){o(an.exports,v4.exports,y4.exports)})(function(o){var c=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;o.defineMode("gfm",function(h,g){var x=0;function y(O){return O.code=!1,null}var z={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(O){return{code:O.code,codeBlock:O.codeBlock,ateSpace:O.ateSpace}},token:function(O,P){if(P.combineTokens=null,P.codeBlock)return O.match(/^```+/)?(P.codeBlock=!1,null):(O.skipToEnd(),null);if(O.sol()&&(P.code=!1),O.sol()&&O.match(/^```+/))return O.skipToEnd(),P.codeBlock=!0,null;if(O.peek()==="`"){O.next();var Y=O.pos;O.eatWhile("`");var V=1+O.pos-Y;return P.code?V===x&&(P.code=!1):(x=V,P.code=!0),null}else if(P.code)return O.next(),null;if(O.eatSpace())return P.ateSpace=!0,null;if((O.sol()||P.ateSpace)&&(P.ateSpace=!1,g.gitHubSpice!==!1)){if(O.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return P.combineTokens=!0,"link";if(O.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return P.combineTokens=!0,"link"}return O.match(c)&&O.string.slice(O.start-2,O.start)!="]("&&(O.start==0||/\W/.test(O.string.charAt(O.start-1)))?(P.combineTokens=!0,"link"):(O.next(),null)},blankLine:y},A={taskLists:!0,strikethrough:!0,emoji:!0};for(var L in g)A[L]=g[L];return A.name="markdown",o.overlayMode(o.getMode(h,A),z)},"markdown"),o.defineMIME("text/x-gfm","gfm")})})();function w4(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var D1={exports:{}};const _4={},z4=Object.freeze(Object.defineProperty({__proto__:null,default:_4},Symbol.toStringTag,{value:"Module"})),k4=py(z4);(function(e){var t;(function(){t=function(o,c,h,g){g=g||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=g.flags||{},this.memoized={},this.loaded=!1;var x=this,y,z,A,L,O;o&&(x.dictionary=o,c&&h?ee():typeof window<"u"&&"chrome"in window&&"extension"in window.chrome&&"getURL"in window.chrome.extension?(g.dictionaryPath?y=g.dictionaryPath:y="typo/dictionaries",c||P(chrome.extension.getURL(y+"/"+o+"/"+o+".aff"),Y),h||P(chrome.extension.getURL(y+"/"+o+"/"+o+".dic"),V)):(g.dictionaryPath?y=g.dictionaryPath:typeof __dirname<"u"?y=__dirname+"/dictionaries":y="./dictionaries",c||P(y+"/"+o+"/"+o+".aff",Y),h||P(y+"/"+o+"/"+o+".dic",V)));function P(ae,K){var T=x._readFile(ae,null,g.asyncLoad);g.asyncLoad?T.then(function(re){K(re)}):K(T)}function Y(ae){c=ae,h&&ee()}function V(ae){h=ae,c&&ee()}function ee(){for(x.rules=x._parseAFF(c),x.compoundRuleCodes={},z=0,L=x.compoundRules.length;z<L;z++){var ae=x.compoundRules[z];for(A=0,O=ae.length;A<O;A++)x.compoundRuleCodes[ae[A]]=[]}"ONLYINCOMPOUND"in x.flags&&(x.compoundRuleCodes[x.flags.ONLYINCOMPOUND]=[]),x.dictionaryTable=x._parseDIC(h);for(z in x.compoundRuleCodes)x.compoundRuleCodes[z].length===0&&delete x.compoundRuleCodes[z];for(z=0,L=x.compoundRules.length;z<L;z++){var K=x.compoundRules[z],T="";for(A=0,O=K.length;A<O;A++){var re=K[A];re in x.compoundRuleCodes?T+="("+x.compoundRuleCodes[re].join("|")+")":T+=re}x.compoundRules[z]=new RegExp(T,"i")}x.loaded=!0,g.asyncLoad&&g.loadedCallback&&g.loadedCallback(x)}return this},t.prototype={load:function(o){for(var c in o)o.hasOwnProperty(c)&&(this[c]=o[c]);return this},_readFile:function(o,c,h){if(c=c||"utf8",typeof XMLHttpRequest<"u"){var g,x=new XMLHttpRequest;return x.open("GET",o,h),h&&(g=new Promise(function(z,A){x.onload=function(){x.status===200?z(x.responseText):A(x.statusText)},x.onerror=function(){A(x.statusText)}})),x.overrideMimeType&&x.overrideMimeType("text/plain; charset="+c),x.send(null),h?g:x.responseText}else if(typeof w4<"u"){var y=k4;try{if(y.existsSync(o))return y.readFileSync(o,c);console.log("Path "+o+" does not exist.")}catch(z){return console.log(z),""}}},_parseAFF:function(o){var c={},h,g,x,y,z,A,L,O,P=o.split(/\r?\n/);for(z=0,L=P.length;z<L;z++)if(h=this._removeAffixComments(P[z]),h=h.trim(),!!h){var Y=h.split(/\s+/),V=Y[0];if(V=="PFX"||V=="SFX"){var ee=Y[1],ae=Y[2];x=parseInt(Y[3],10);var K=[];for(A=z+1,O=z+1+x;A<O;A++){g=P[A],y=g.split(/\s+/);var T=y[2],re=y[3].split("/"),B=re[0];B==="0"&&(B="");var j=this.parseRuleCodes(re[1]),oe=y[4],de={};de.add=B,j.length>0&&(de.continuationClasses=j),oe!=="."&&(V==="SFX"?de.match=new RegExp(oe+"$"):de.match=new RegExp("^"+oe)),T!="0"&&(V==="SFX"?de.remove=new RegExp(T+"$"):de.remove=T),K.push(de)}c[ee]={type:V,combineable:ae=="Y",entries:K},z+=x}else if(V==="COMPOUNDRULE"){for(x=parseInt(Y[1],10),A=z+1,O=z+1+x;A<O;A++)h=P[A],y=h.split(/\s+/),this.compoundRules.push(y[1]);z+=x}else V==="REP"?(y=h.split(/\s+/),y.length===3&&this.replacementTable.push([y[1],y[2]])):this.flags[V]=Y[1]}return c},_removeAffixComments:function(o){return o.match(/^\s*#/,"")?"":o},_parseDIC:function(o){o=this._removeDicComments(o);var c=o.split(/\r?\n/),h={};function g(ze,Me){h.hasOwnProperty(ze)||(h[ze]=null),Me.length>0&&(h[ze]===null&&(h[ze]=[]),h[ze].push(Me))}for(var x=1,y=c.length;x<y;x++){var z=c[x];if(!!z){var A=z.split("/",2),L=A[0];if(A.length>1){var O=this.parseRuleCodes(A[1]);(!("NEEDAFFIX"in this.flags)||O.indexOf(this.flags.NEEDAFFIX)==-1)&&g(L,O);for(var P=0,Y=O.length;P<Y;P++){var V=O[P],ee=this.rules[V];if(ee)for(var ae=this._applyRule(L,ee),K=0,T=ae.length;K<T;K++){var re=ae[K];if(g(re,[]),ee.combineable)for(var B=P+1;B<Y;B++){var j=O[B],oe=this.rules[j];if(oe&&oe.combineable&&ee.type!=oe.type)for(var de=this._applyRule(re,oe),ge=0,Te=de.length;ge<Te;ge++){var Ne=de[ge];g(Ne,[])}}}V in this.compoundRuleCodes&&this.compoundRuleCodes[V].push(L)}}else g(L.trim(),[])}}return h},_removeDicComments:function(o){return o=o.replace(/^\t.*$/mg,""),o},parseRuleCodes:function(o){if(o)if("FLAG"in this.flags)if(this.flags.FLAG==="long"){for(var c=[],h=0,g=o.length;h<g;h+=2)c.push(o.substr(h,2));return c}else return this.flags.FLAG==="num"?o.split(","):this.flags.FLAG==="UTF-8"?Array.from(o):o.split("");else return o.split("");else return[]},_applyRule:function(o,c){for(var h=c.entries,g=[],x=0,y=h.length;x<y;x++){var z=h[x];if(!z.match||o.match(z.match)){var A=o;if(z.remove&&(A=A.replace(z.remove,"")),c.type==="SFX"?A=A+z.add:A=z.add+A,g.push(A),"continuationClasses"in z)for(var L=0,O=z.continuationClasses.length;L<O;L++){var P=this.rules[z.continuationClasses[L]];P&&(g=g.concat(this._applyRule(A,P)))}}}return g},check:function(o){if(!this.loaded)throw"Dictionary not loaded.";var c=o.replace(/^\s\s*/,"").replace(/\s\s*$/,"");if(this.checkExact(c))return!0;if(c.toUpperCase()===c){var h=c[0]+c.substring(1).toLowerCase();if(this.hasFlag(h,"KEEPCASE"))return!1;if(this.checkExact(h)||this.checkExact(c.toLowerCase()))return!0}var g=c[0].toLowerCase()+c.substring(1);if(g!==c){if(this.hasFlag(g,"KEEPCASE"))return!1;if(this.checkExact(g))return!0}return!1},checkExact:function(o){if(!this.loaded)throw"Dictionary not loaded.";var c=this.dictionaryTable[o],h,g;if(typeof c>"u"){if("COMPOUNDMIN"in this.flags&&o.length>=this.flags.COMPOUNDMIN){for(h=0,g=this.compoundRules.length;h<g;h++)if(o.match(this.compoundRules[h]))return!0}}else{if(c===null)return!0;if(typeof c=="object"){for(h=0,g=c.length;h<g;h++)if(!this.hasFlag(o,"ONLYINCOMPOUND",c[h]))return!0}}return!1},hasFlag:function(o,c,h){if(!this.loaded)throw"Dictionary not loaded.";return!!(c in this.flags&&(typeof h>"u"&&(h=Array.prototype.concat.apply([],this.dictionaryTable[o])),h&&h.indexOf(this.flags[c])!==-1))},alphabet:"",suggest:function(o,c){if(!this.loaded)throw"Dictionary not loaded.";if(c=c||5,this.memoized.hasOwnProperty(o)){var h=this.memoized[o].limit;if(c<=h||this.memoized[o].suggestions.length<h)return this.memoized[o].suggestions.slice(0,c)}if(this.check(o))return[];for(var g=0,x=this.replacementTable.length;g<x;g++){var y=this.replacementTable[g];if(o.indexOf(y[0])!==-1){var z=o.replace(y[0],y[1]);if(this.check(z))return[z]}}var A=this;A.alphabet="abcdefghijklmnopqrstuvwxyz";function L(P,Y){var V={},ee,ae,K,T,re=A.alphabet.length;if(typeof P=="string"){var B=P;P={},P[B]=!0}for(var B in P)for(ee=0,K=B.length+1;ee<K;ee++){var j=[B.substring(0,ee),B.substring(ee)];if(j[1]&&(T=j[0]+j[1].substring(1),(!Y||A.check(T))&&(T in V?V[T]+=1:V[T]=1)),j[1].length>1&&j[1][1]!==j[1][0]&&(T=j[0]+j[1][1]+j[1][0]+j[1].substring(2),(!Y||A.check(T))&&(T in V?V[T]+=1:V[T]=1)),j[1]){var oe=j[1].substring(0,1).toUpperCase()===j[1].substring(0,1)?"uppercase":"lowercase";for(ae=0;ae<re;ae++){var de=A.alphabet[ae];oe==="uppercase"&&(de=de.toUpperCase()),de!=j[1].substring(0,1)&&(T=j[0]+de+j[1].substring(1),(!Y||A.check(T))&&(T in V?V[T]+=1:V[T]=1))}}if(j[1])for(ae=0;ae<re;ae++){var oe=j[0].substring(-1).toUpperCase()===j[0].substring(-1)&&j[1].substring(0,1).toUpperCase()===j[1].substring(0,1)?"uppercase":"lowercase",de=A.alphabet[ae];oe==="uppercase"&&(de=de.toUpperCase()),T=j[0]+de+j[1],(!Y||A.check(T))&&(T in V?V[T]+=1:V[T]=1)}}return V}function O(P){var Y=L(P),V=L(Y,!0),ee=V;for(var ae in Y)!A.check(ae)||(ae in ee?ee[ae]+=Y[ae]:ee[ae]=Y[ae]);var K,T=[];for(K in ee)ee.hasOwnProperty(K)&&T.push([K,ee[K]]);function re(de,ge){var Te=de[1],Ne=ge[1];return Te<Ne?-1:Te>Ne?1:ge[0].localeCompare(de[0])}T.sort(re).reverse();var B=[],j="lowercase";P.toUpperCase()===P?j="uppercase":P.substr(0,1).toUpperCase()+P.substr(1).toLowerCase()===P&&(j="capitalized");var oe=c;for(K=0;K<Math.min(oe,T.length);K++)j==="uppercase"?T[K][0]=T[K][0].toUpperCase():j==="capitalized"&&(T[K][0]=T[K][0].substr(0,1).toUpperCase()+T[K][0].substr(1)),!A.hasFlag(T[K][0],"NOSUGGEST")&&B.indexOf(T[K][0])==-1?B.push(T[K][0]):oe++;return B}return this.memoized[o]={suggestions:O(o),limit:c},this.memoized[o].suggestions}}})(),e.exports=t})(D1);var Gx=D1.exports;function rr(e){if(e=e||{},typeof e.codeMirrorInstance!="function"||typeof e.codeMirrorInstance.defineMode!="function"){console.log("CodeMirror Spell Checker: You must provide an instance of CodeMirror via the option `codeMirrorInstance`");return}String.prototype.includes||(String.prototype.includes=function(){return String.prototype.indexOf.apply(this,arguments)!==-1}),e.codeMirrorInstance.defineMode("spell-checker",function(t){if(!rr.aff_loading){rr.aff_loading=!0;var o=new XMLHttpRequest;o.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff",!0),o.onload=function(){o.readyState===4&&o.status===200&&(rr.aff_data=o.responseText,rr.num_loaded++,rr.num_loaded==2&&(rr.typo=new Gx("en_US",rr.aff_data,rr.dic_data,{platform:"any"})))},o.send(null)}if(!rr.dic_loading){rr.dic_loading=!0;var c=new XMLHttpRequest;c.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.dic",!0),c.onload=function(){c.readyState===4&&c.status===200&&(rr.dic_data=c.responseText,rr.num_loaded++,rr.num_loaded==2&&(rr.typo=new Gx("en_US",rr.aff_data,rr.dic_data,{platform:"any"})))},c.send(null)}var h='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~ ',g={token:function(y){var z=y.peek(),A="";if(h.includes(z))return y.next(),null;for(;(z=y.peek())!=null&&!h.includes(z);)A+=z,y.next();return rr.typo&&!rr.typo.check(A)?"spell-error":null}},x=e.codeMirrorInstance.getMode(t,t.backdrop||"text/plain");return e.codeMirrorInstance.overlayMode(x,g,!0)})}rr.num_loaded=0;rr.aff_loading=!1;rr.dic_loading=!1;rr.aff_data="";rr.dic_data="";var C4=rr,E1={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(xe,me){for(var le=0;le<me.length;le++){var N=me[le];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(xe,N.key,N)}}function o(xe,me,le){return me&&t(xe.prototype,me),le&&t(xe,le),Object.defineProperty(xe,"prototype",{writable:!1}),xe}function c(xe,me){if(!!xe){if(typeof xe=="string")return h(xe,me);var le=Object.prototype.toString.call(xe).slice(8,-1);if(le==="Object"&&xe.constructor&&(le=xe.constructor.name),le==="Map"||le==="Set")return Array.from(xe);if(le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(le))return h(xe,me)}}function h(xe,me){(me==null||me>xe.length)&&(me=xe.length);for(var le=0,N=new Array(me);le<me;le++)N[le]=xe[le];return N}function g(xe,me){var le=typeof Symbol<"u"&&xe[Symbol.iterator]||xe["@@iterator"];if(le)return(le=le.call(xe)).next.bind(le);if(Array.isArray(xe)||(le=c(xe))||me&&xe&&typeof xe.length=="number"){le&&(xe=le);var N=0;return function(){return N>=xe.length?{done:!0}:{done:!1,value:xe[N++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  744. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=x();function y(xe){e.defaults=xe}var z=/[&<>"']/,A=/[&<>"']/g,L=/[<>"']|&(?!#?\w+;)/,O=/[<>"']|&(?!#?\w+;)/g,P={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Y=function(me){return P[me]};function V(xe,me){if(me){if(z.test(xe))return xe.replace(A,Y)}else if(L.test(xe))return xe.replace(O,Y);return xe}var ee=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ae(xe){return xe.replace(ee,function(me,le){return le=le.toLowerCase(),le==="colon"?":":le.charAt(0)==="#"?le.charAt(1)==="x"?String.fromCharCode(parseInt(le.substring(2),16)):String.fromCharCode(+le.substring(1)):""})}var K=/(^|[^\[])\^/g;function T(xe,me){xe=typeof xe=="string"?xe:xe.source,me=me||"";var le={replace:function($,pe){return pe=pe.source||pe,pe=pe.replace(K,"$1"),xe=xe.replace($,pe),le},getRegex:function(){return new RegExp(xe,me)}};return le}var re=/[^\w:]/g,B=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function j(xe,me,le){if(xe){var N;try{N=decodeURIComponent(ae(le)).replace(re,"").toLowerCase()}catch{return null}if(N.indexOf("javascript:")===0||N.indexOf("vbscript:")===0||N.indexOf("data:")===0)return null}me&&!B.test(le)&&(le=Ne(me,le));try{le=encodeURI(le).replace(/%25/g,"%")}catch{return null}return le}var oe={},de=/^[^:]+:\/*[^/]*$/,ge=/^([^:]+:)[\s\S]*$/,Te=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ne(xe,me){oe[" "+xe]||(de.test(xe)?oe[" "+xe]=xe+"/":oe[" "+xe]=De(xe,"/",!0)),xe=oe[" "+xe];var le=xe.indexOf(":")===-1;return me.substring(0,2)==="//"?le?me:xe.replace(ge,"$1")+me:me.charAt(0)==="/"?le?me:xe.replace(Te,"$1")+me:xe+me}var ze={exec:function(){}};function Me(xe){for(var me=1,le,N;me<arguments.length;me++){le=arguments[me];for(N in le)Object.prototype.hasOwnProperty.call(le,N)&&(xe[N]=le[N])}return xe}function ke(xe,me){var le=xe.replace(/\|/g,function(pe,ce,Ae){for(var Be=!1,je=ce;--je>=0&&Ae[je]==="\\";)Be=!Be;return Be?"|":" |"}),N=le.split(/ \|/),$=0;if(N[0].trim()||N.shift(),N.length>0&&!N[N.length-1].trim()&&N.pop(),N.length>me)N.splice(me);else for(;N.length<me;)N.push("");for(;$<N.length;$++)N[$]=N[$].trim().replace(/\\\|/g,"|");return N}function De(xe,me,le){var N=xe.length;if(N===0)return"";for(var $=0;$<N;){var pe=xe.charAt(N-$-1);if(pe===me&&!le)$++;else if(pe!==me&&le)$++;else break}return xe.slice(0,N-$)}function he(xe,me){if(xe.indexOf(me[1])===-1)return-1;for(var le=xe.length,N=0,$=0;$<le;$++)if(xe[$]==="\\")$++;else if(xe[$]===me[0])N++;else if(xe[$]===me[1]&&(N--,N<0))return $;return-1}function Le(xe){xe&&xe.sanitize&&!xe.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Se(xe,me){if(me<1)return"";for(var le="";me>1;)me&1&&(le+=xe),me>>=1,xe+=xe;return le+xe}function He(xe,me,le,N){var $=me.href,pe=me.title?V(me.title):null,ce=xe[1].replace(/\\([\[\]])/g,"$1");if(xe[0].charAt(0)!=="!"){N.state.inLink=!0;var Ae={type:"link",raw:le,href:$,title:pe,text:ce,tokens:N.inlineTokens(ce)};return N.state.inLink=!1,Ae}return{type:"image",raw:le,href:$,title:pe,text:V(ce)}}function ot(xe,me){var le=xe.match(/^(\s+)(?:```)/);if(le===null)return me;var N=le[1];return me.split(`
  745. `).map(function($){var pe=$.match(/^\s+/);if(pe===null)return $;var ce=pe[0];return ce.length>=N.length?$.slice(N.length):$}).join(`
  746. `)}var vt=function(){function xe(le){this.options=le||e.defaults}var me=xe.prototype;return me.space=function(N){var $=this.rules.block.newline.exec(N);if($&&$[0].length>0)return{type:"space",raw:$[0]}},me.code=function(N){var $=this.rules.block.code.exec(N);if($){var pe=$[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:$[0],codeBlockStyle:"indented",text:this.options.pedantic?pe:De(pe,`
  747. `)}}},me.fences=function(N){var $=this.rules.block.fences.exec(N);if($){var pe=$[0],ce=ot(pe,$[3]||"");return{type:"code",raw:pe,lang:$[2]?$[2].trim().replace(this.rules.inline._escapes,"$1"):$[2],text:ce}}},me.heading=function(N){var $=this.rules.block.heading.exec(N);if($){var pe=$[2].trim();if(/#$/.test(pe)){var ce=De(pe,"#");(this.options.pedantic||!ce||/ $/.test(ce))&&(pe=ce.trim())}return{type:"heading",raw:$[0],depth:$[1].length,text:pe,tokens:this.lexer.inline(pe)}}},me.hr=function(N){var $=this.rules.block.hr.exec(N);if($)return{type:"hr",raw:$[0]}},me.blockquote=function(N){var $=this.rules.block.blockquote.exec(N);if($){var pe=$[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:$[0],tokens:this.lexer.blockTokens(pe,[]),text:pe}}},me.list=function(N){var $=this.rules.block.list.exec(N);if($){var pe,ce,Ae,Be,je,rt,pt,gt,At,kt,Ee,qe,st=$[1].trim(),nt=st.length>1,xt={type:"list",raw:"",ordered:nt,start:nt?+st.slice(0,-1):"",loose:!1,items:[]};st=nt?"\\d{1,9}\\"+st.slice(-1):"\\"+st,this.options.pedantic&&(st=nt?st:"[*+-]");for(var Ct=new RegExp("^( {0,3}"+st+")((?:[ ][^\\n]*)?(?:\\n|$))");N&&(qe=!1,!(!($=Ct.exec(N))||this.rules.block.hr.test(N)));){if(pe=$[0],N=N.substring(pe.length),gt=$[2].split(`
  748. `,1)[0],At=N.split(`
  749. `,1)[0],this.options.pedantic?(Be=2,Ee=gt.trimLeft()):(Be=$[2].search(/[^ ]/),Be=Be>4?1:Be,Ee=gt.slice(Be),Be+=$[1].length),rt=!1,!gt&&/^ *$/.test(At)&&(pe+=At+`
  750. `,N=N.substring(At.length+1),qe=!0),!qe)for(var Dt=new RegExp("^ {0,"+Math.min(3,Be-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),Nt=new RegExp("^ {0,"+Math.min(3,Be-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),Or=new RegExp("^ {0,"+Math.min(3,Be-1)+"}(?:```|~~~)"),Ut=new RegExp("^ {0,"+Math.min(3,Be-1)+"}#");N&&(kt=N.split(`
  751. `,1)[0],gt=kt,this.options.pedantic&&(gt=gt.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Or.test(gt)||Ut.test(gt)||Dt.test(gt)||Nt.test(N)));){if(gt.search(/[^ ]/)>=Be||!gt.trim())Ee+=`
  752. `+gt.slice(Be);else if(!rt)Ee+=`
  753. `+gt;else break;!rt&&!gt.trim()&&(rt=!0),pe+=kt+`
  754. `,N=N.substring(kt.length+1)}xt.loose||(pt?xt.loose=!0:/\n *\n *$/.test(pe)&&(pt=!0)),this.options.gfm&&(ce=/^\[[ xX]\] /.exec(Ee),ce&&(Ae=ce[0]!=="[ ] ",Ee=Ee.replace(/^\[[ xX]\] +/,""))),xt.items.push({type:"list_item",raw:pe,task:!!ce,checked:Ae,loose:!1,text:Ee}),xt.raw+=pe}xt.items[xt.items.length-1].raw=pe.trimRight(),xt.items[xt.items.length-1].text=Ee.trimRight(),xt.raw=xt.raw.trimRight();var zr=xt.items.length;for(je=0;je<zr;je++){this.lexer.state.top=!1,xt.items[je].tokens=this.lexer.blockTokens(xt.items[je].text,[]);var $t=xt.items[je].tokens.filter(function(Mn){return Mn.type==="space"}),sn=$t.every(function(Mn){for(var ln=Mn.raw.split(""),Xr=0,yn=g(ln),vi;!(vi=yn()).done;){var zo=vi.value;if(zo===`
  755. `&&(Xr+=1),Xr>1)return!0}return!1});!xt.loose&&$t.length&&sn&&(xt.loose=!0,xt.items[je].loose=!0)}return xt}},me.html=function(N){var $=this.rules.block.html.exec(N);if($){var pe={type:"html",raw:$[0],pre:!this.options.sanitizer&&($[1]==="pre"||$[1]==="script"||$[1]==="style"),text:$[0]};if(this.options.sanitize){var ce=this.options.sanitizer?this.options.sanitizer($[0]):V($[0]);pe.type="paragraph",pe.text=ce,pe.tokens=this.lexer.inline(ce)}return pe}},me.def=function(N){var $=this.rules.block.def.exec(N);if($){$[3]&&($[3]=$[3].substring(1,$[3].length-1));var pe=$[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:pe,raw:$[0],href:$[2]?$[2].replace(this.rules.inline._escapes,"$1"):$[2],title:$[3]?$[3].replace(this.rules.inline._escapes,"$1"):$[3]}}},me.table=function(N){var $=this.rules.block.table.exec(N);if($){var pe={type:"table",header:ke($[1]).map(function(pt){return{text:pt}}),align:$[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:$[3]&&$[3].trim()?$[3].replace(/\n[ \t]*$/,"").split(`
  756. `):[]};if(pe.header.length===pe.align.length){pe.raw=$[0];var ce=pe.align.length,Ae,Be,je,rt;for(Ae=0;Ae<ce;Ae++)/^ *-+: *$/.test(pe.align[Ae])?pe.align[Ae]="right":/^ *:-+: *$/.test(pe.align[Ae])?pe.align[Ae]="center":/^ *:-+ *$/.test(pe.align[Ae])?pe.align[Ae]="left":pe.align[Ae]=null;for(ce=pe.rows.length,Ae=0;Ae<ce;Ae++)pe.rows[Ae]=ke(pe.rows[Ae],pe.header.length).map(function(pt){return{text:pt}});for(ce=pe.header.length,Be=0;Be<ce;Be++)pe.header[Be].tokens=this.lexer.inline(pe.header[Be].text);for(ce=pe.rows.length,Be=0;Be<ce;Be++)for(rt=pe.rows[Be],je=0;je<rt.length;je++)rt[je].tokens=this.lexer.inline(rt[je].text);return pe}}},me.lheading=function(N){var $=this.rules.block.lheading.exec(N);if($)return{type:"heading",raw:$[0],depth:$[2].charAt(0)==="="?1:2,text:$[1],tokens:this.lexer.inline($[1])}},me.paragraph=function(N){var $=this.rules.block.paragraph.exec(N);if($){var pe=$[1].charAt($[1].length-1)===`
  757. `?$[1].slice(0,-1):$[1];return{type:"paragraph",raw:$[0],text:pe,tokens:this.lexer.inline(pe)}}},me.text=function(N){var $=this.rules.block.text.exec(N);if($)return{type:"text",raw:$[0],text:$[0],tokens:this.lexer.inline($[0])}},me.escape=function(N){var $=this.rules.inline.escape.exec(N);if($)return{type:"escape",raw:$[0],text:V($[1])}},me.tag=function(N){var $=this.rules.inline.tag.exec(N);if($)return!this.lexer.state.inLink&&/^<a /i.test($[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test($[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test($[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test($[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:$[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer($[0]):V($[0]):$[0]}},me.link=function(N){var $=this.rules.inline.link.exec(N);if($){var pe=$[2].trim();if(!this.options.pedantic&&/^</.test(pe)){if(!/>$/.test(pe))return;var ce=De(pe.slice(0,-1),"\\");if((pe.length-ce.length)%2===0)return}else{var Ae=he($[2],"()");if(Ae>-1){var Be=$[0].indexOf("!")===0?5:4,je=Be+$[1].length+Ae;$[2]=$[2].substring(0,Ae),$[0]=$[0].substring(0,je).trim(),$[3]=""}}var rt=$[2],pt="";if(this.options.pedantic){var gt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(rt);gt&&(rt=gt[1],pt=gt[3])}else pt=$[3]?$[3].slice(1,-1):"";return rt=rt.trim(),/^</.test(rt)&&(this.options.pedantic&&!/>$/.test(pe)?rt=rt.slice(1):rt=rt.slice(1,-1)),He($,{href:rt&&rt.replace(this.rules.inline._escapes,"$1"),title:pt&&pt.replace(this.rules.inline._escapes,"$1")},$[0],this.lexer)}},me.reflink=function(N,$){var pe;if((pe=this.rules.inline.reflink.exec(N))||(pe=this.rules.inline.nolink.exec(N))){var ce=(pe[2]||pe[1]).replace(/\s+/g," ");if(ce=$[ce.toLowerCase()],!ce||!ce.href){var Ae=pe[0].charAt(0);return{type:"text",raw:Ae,text:Ae}}return He(pe,ce,pe[0],this.lexer)}},me.emStrong=function(N,$,pe){pe===void 0&&(pe="");var ce=this.rules.inline.emStrong.lDelim.exec(N);if(!!ce&&!(ce[3]&&pe.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Ae=ce[1]||ce[2]||"";if(!Ae||Ae&&(pe===""||this.rules.inline.punctuation.exec(pe))){var Be=ce[0].length-1,je,rt,pt=Be,gt=0,At=ce[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(At.lastIndex=0,$=$.slice(-1*N.length+Be);(ce=At.exec($))!=null;)if(je=ce[1]||ce[2]||ce[3]||ce[4]||ce[5]||ce[6],!!je){if(rt=je.length,ce[3]||ce[4]){pt+=rt;continue}else if((ce[5]||ce[6])&&Be%3&&!((Be+rt)%3)){gt+=rt;continue}if(pt-=rt,!(pt>0)){rt=Math.min(rt,rt+pt+gt);var kt=N.slice(0,Be+ce.index+(ce[0].length-je.length)+rt);if(Math.min(Be,rt)%2){var Ee=kt.slice(1,-1);return{type:"em",raw:kt,text:Ee,tokens:this.lexer.inlineTokens(Ee)}}var qe=kt.slice(2,-2);return{type:"strong",raw:kt,text:qe,tokens:this.lexer.inlineTokens(qe)}}}}}},me.codespan=function(N){var $=this.rules.inline.code.exec(N);if($){var pe=$[2].replace(/\n/g," "),ce=/[^ ]/.test(pe),Ae=/^ /.test(pe)&&/ $/.test(pe);return ce&&Ae&&(pe=pe.substring(1,pe.length-1)),pe=V(pe,!0),{type:"codespan",raw:$[0],text:pe}}},me.br=function(N){var $=this.rules.inline.br.exec(N);if($)return{type:"br",raw:$[0]}},me.del=function(N){var $=this.rules.inline.del.exec(N);if($)return{type:"del",raw:$[0],text:$[2],tokens:this.lexer.inlineTokens($[2])}},me.autolink=function(N,$){var pe=this.rules.inline.autolink.exec(N);if(pe){var ce,Ae;return pe[2]==="@"?(ce=V(this.options.mangle?$(pe[1]):pe[1]),Ae="mailto:"+ce):(ce=V(pe[1]),Ae=ce),{type:"link",raw:pe[0],text:ce,href:Ae,tokens:[{type:"text",raw:ce,text:ce}]}}},me.url=function(N,$){var pe;if(pe=this.rules.inline.url.exec(N)){var ce,Ae;if(pe[2]==="@")ce=V(this.options.mangle?$(pe[0]):pe[0]),Ae="mailto:"+ce;else{var Be;do Be=pe[0],pe[0]=this.rules.inline._backpedal.exec(pe[0])[0];while(Be!==pe[0]);ce=V(pe[0]),pe[1]==="www."?Ae="http://"+ce:Ae=ce}return{type:"link",raw:pe[0],text:ce,href:Ae,tokens:[{type:"text",raw:ce,text:ce}]}}},me.inlineText=function(N,$){var pe=this.rules.inline.text.exec(N);if(pe){var ce;return this.lexer.state.inRawBlock?ce=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(pe[0]):V(pe[0]):pe[0]:ce=V(this.options.smartypants?$(pe[0]):pe[0]),{type:"text",raw:pe[0],text:ce}}},xe}(),et={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ze,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};et._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,et._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,et.def=T(et.def).replace("label",et._label).replace("title",et._title).getRegex(),et.bullet=/(?:[*+-]|\d{1,9}[.)])/,et.listItemStart=T(/^( *)(bull) */).replace("bull",et.bullet).getRegex(),et.list=T(et.list).replace(/bull/g,et.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+et.def.source+")").getRegex(),et._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",et._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,et.html=T(et.html,"i").replace("comment",et._comment).replace("tag",et._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),et.paragraph=T(et._paragraph).replace("hr",et.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",et._tag).getRegex(),et.blockquote=T(et.blockquote).replace("paragraph",et.paragraph).getRegex(),et.normal=Me({},et),et.gfm=Me({},et.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),et.gfm.table=T(et.gfm.table).replace("hr",et.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",et._tag).getRegex(),et.gfm.paragraph=T(et._paragraph).replace("hr",et.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",et.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",et._tag).getRegex(),et.pedantic=Me({},et.normal,{html:T(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",et._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ze,paragraph:T(et.normal._paragraph).replace("hr",et.hr).replace("heading",` *#{1,6} *[^
  758. ]`).replace("lheading",et.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ne={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ze,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ze,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};ne._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",ne.punctuation=T(ne.punctuation).replace(/punctuation/g,ne._punctuation).getRegex(),ne.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,ne.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,ne._comment=T(et._comment).replace("(?:-->|$)","-->").getRegex(),ne.emStrong.lDelim=T(ne.emStrong.lDelim).replace(/punct/g,ne._punctuation).getRegex(),ne.emStrong.rDelimAst=T(ne.emStrong.rDelimAst,"g").replace(/punct/g,ne._punctuation).getRegex(),ne.emStrong.rDelimUnd=T(ne.emStrong.rDelimUnd,"g").replace(/punct/g,ne._punctuation).getRegex(),ne._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ne._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ne._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ne.autolink=T(ne.autolink).replace("scheme",ne._scheme).replace("email",ne._email).getRegex(),ne._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ne.tag=T(ne.tag).replace("comment",ne._comment).replace("attribute",ne._attribute).getRegex(),ne._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ne._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,ne._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ne.link=T(ne.link).replace("label",ne._label).replace("href",ne._href).replace("title",ne._title).getRegex(),ne.reflink=T(ne.reflink).replace("label",ne._label).replace("ref",et._label).getRegex(),ne.nolink=T(ne.nolink).replace("ref",et._label).getRegex(),ne.reflinkSearch=T(ne.reflinkSearch,"g").replace("reflink",ne.reflink).replace("nolink",ne.nolink).getRegex(),ne.normal=Me({},ne),ne.pedantic=Me({},ne.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:T(/^!?\[(label)\]\((.*?)\)/).replace("label",ne._label).getRegex(),reflink:T(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ne._label).getRegex()}),ne.gfm=Me({},ne.normal,{escape:T(ne.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ne.gfm.url=T(ne.gfm.url,"i").replace("email",ne.gfm._extended_email).getRegex(),ne.breaks=Me({},ne.gfm,{br:T(ne.br).replace("{2,}","*").getRegex(),text:T(ne.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function te(xe){return xe.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function tt(xe){var me="",le,N,$=xe.length;for(le=0;le<$;le++)N=xe.charCodeAt(le),Math.random()>.5&&(N="x"+N.toString(16)),me+="&#"+N+";";return me}var we=function(){function xe(le){this.tokens=[],this.tokens.links=Object.create(null),this.options=le||e.defaults,this.options.tokenizer=this.options.tokenizer||new vt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var N={block:et.normal,inline:ne.normal};this.options.pedantic?(N.block=et.pedantic,N.inline=ne.pedantic):this.options.gfm&&(N.block=et.gfm,this.options.breaks?N.inline=ne.breaks:N.inline=ne.gfm),this.tokenizer.rules=N}xe.lex=function(N,$){var pe=new xe($);return pe.lex(N)},xe.lexInline=function(N,$){var pe=new xe($);return pe.inlineTokens(N)};var me=xe.prototype;return me.lex=function(N){N=N.replace(/\r\n|\r/g,`
  759. `),this.blockTokens(N,this.tokens);for(var $;$=this.inlineQueue.shift();)this.inlineTokens($.src,$.tokens);return this.tokens},me.blockTokens=function(N,$){var pe=this;$===void 0&&($=[]),this.options.pedantic?N=N.replace(/\t/g," ").replace(/^ +$/gm,""):N=N.replace(/^( *)(\t+)/gm,function(pt,gt,At){return gt+" ".repeat(At.length)});for(var ce,Ae,Be,je;N;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(pt){return(ce=pt.call({lexer:pe},N,$))?(N=N.substring(ce.raw.length),$.push(ce),!0):!1}))){if(ce=this.tokenizer.space(N)){N=N.substring(ce.raw.length),ce.raw.length===1&&$.length>0?$[$.length-1].raw+=`
  760. `:$.push(ce);continue}if(ce=this.tokenizer.code(N)){N=N.substring(ce.raw.length),Ae=$[$.length-1],Ae&&(Ae.type==="paragraph"||Ae.type==="text")?(Ae.raw+=`
  761. `+ce.raw,Ae.text+=`
  762. `+ce.text,this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):$.push(ce);continue}if(ce=this.tokenizer.fences(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.heading(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.hr(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.blockquote(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.list(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.html(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.def(N)){N=N.substring(ce.raw.length),Ae=$[$.length-1],Ae&&(Ae.type==="paragraph"||Ae.type==="text")?(Ae.raw+=`
  763. `+ce.raw,Ae.text+=`
  764. `+ce.raw,this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):this.tokens.links[ce.tag]||(this.tokens.links[ce.tag]={href:ce.href,title:ce.title});continue}if(ce=this.tokenizer.table(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.lheading(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(Be=N,this.options.extensions&&this.options.extensions.startBlock&&function(){var pt=1/0,gt=N.slice(1),At=void 0;pe.options.extensions.startBlock.forEach(function(kt){At=kt.call({lexer:this},gt),typeof At=="number"&&At>=0&&(pt=Math.min(pt,At))}),pt<1/0&&pt>=0&&(Be=N.substring(0,pt+1))}(),this.state.top&&(ce=this.tokenizer.paragraph(Be))){Ae=$[$.length-1],je&&Ae.type==="paragraph"?(Ae.raw+=`
  765. `+ce.raw,Ae.text+=`
  766. `+ce.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):$.push(ce),je=Be.length!==N.length,N=N.substring(ce.raw.length);continue}if(ce=this.tokenizer.text(N)){N=N.substring(ce.raw.length),Ae=$[$.length-1],Ae&&Ae.type==="text"?(Ae.raw+=`
  767. `+ce.raw,Ae.text+=`
  768. `+ce.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):$.push(ce);continue}if(N){var rt="Infinite loop on byte: "+N.charCodeAt(0);if(this.options.silent){console.error(rt);break}else throw new Error(rt)}}return this.state.top=!0,$},me.inline=function(N,$){return $===void 0&&($=[]),this.inlineQueue.push({src:N,tokens:$}),$},me.inlineTokens=function(N,$){var pe=this;$===void 0&&($=[]);var ce,Ae,Be,je=N,rt,pt,gt;if(this.tokens.links){var At=Object.keys(this.tokens.links);if(At.length>0)for(;(rt=this.tokenizer.rules.inline.reflinkSearch.exec(je))!=null;)At.includes(rt[0].slice(rt[0].lastIndexOf("[")+1,-1))&&(je=je.slice(0,rt.index)+"["+Se("a",rt[0].length-2)+"]"+je.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(rt=this.tokenizer.rules.inline.blockSkip.exec(je))!=null;)je=je.slice(0,rt.index)+"["+Se("a",rt[0].length-2)+"]"+je.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(rt=this.tokenizer.rules.inline.escapedEmSt.exec(je))!=null;)je=je.slice(0,rt.index+rt[0].length-2)+"++"+je.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;N;)if(pt||(gt=""),pt=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(Ee){return(ce=Ee.call({lexer:pe},N,$))?(N=N.substring(ce.raw.length),$.push(ce),!0):!1}))){if(ce=this.tokenizer.escape(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.tag(N)){N=N.substring(ce.raw.length),Ae=$[$.length-1],Ae&&ce.type==="text"&&Ae.type==="text"?(Ae.raw+=ce.raw,Ae.text+=ce.text):$.push(ce);continue}if(ce=this.tokenizer.link(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.reflink(N,this.tokens.links)){N=N.substring(ce.raw.length),Ae=$[$.length-1],Ae&&ce.type==="text"&&Ae.type==="text"?(Ae.raw+=ce.raw,Ae.text+=ce.text):$.push(ce);continue}if(ce=this.tokenizer.emStrong(N,je,gt)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.codespan(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.br(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.del(N)){N=N.substring(ce.raw.length),$.push(ce);continue}if(ce=this.tokenizer.autolink(N,tt)){N=N.substring(ce.raw.length),$.push(ce);continue}if(!this.state.inLink&&(ce=this.tokenizer.url(N,tt))){N=N.substring(ce.raw.length),$.push(ce);continue}if(Be=N,this.options.extensions&&this.options.extensions.startInline&&function(){var Ee=1/0,qe=N.slice(1),st=void 0;pe.options.extensions.startInline.forEach(function(nt){st=nt.call({lexer:this},qe),typeof st=="number"&&st>=0&&(Ee=Math.min(Ee,st))}),Ee<1/0&&Ee>=0&&(Be=N.substring(0,Ee+1))}(),ce=this.tokenizer.inlineText(Be,te)){N=N.substring(ce.raw.length),ce.raw.slice(-1)!=="_"&&(gt=ce.raw.slice(-1)),pt=!0,Ae=$[$.length-1],Ae&&Ae.type==="text"?(Ae.raw+=ce.raw,Ae.text+=ce.text):$.push(ce);continue}if(N){var kt="Infinite loop on byte: "+N.charCodeAt(0);if(this.options.silent){console.error(kt);break}else throw new Error(kt)}}return $},o(xe,null,[{key:"rules",get:function(){return{block:et,inline:ne}}}]),xe}(),Pe=function(){function xe(le){this.options=le||e.defaults}var me=xe.prototype;return me.code=function(N,$,pe){var ce=($||"").match(/\S*/)[0];if(this.options.highlight){var Ae=this.options.highlight(N,ce);Ae!=null&&Ae!==N&&(pe=!0,N=Ae)}return N=N.replace(/\n$/,"")+`
  769. `,ce?'<pre><code class="'+this.options.langPrefix+V(ce,!0)+'">'+(pe?N:V(N,!0))+`</code></pre>
  770. `:"<pre><code>"+(pe?N:V(N,!0))+`</code></pre>
  771. `},me.blockquote=function(N){return`<blockquote>
  772. `+N+`</blockquote>
  773. `},me.html=function(N){return N},me.heading=function(N,$,pe,ce){if(this.options.headerIds){var Ae=this.options.headerPrefix+ce.slug(pe);return"<h"+$+' id="'+Ae+'">'+N+"</h"+$+`>
  774. `}return"<h"+$+">"+N+"</h"+$+`>
  775. `},me.hr=function(){return this.options.xhtml?`<hr/>
  776. `:`<hr>
  777. `},me.list=function(N,$,pe){var ce=$?"ol":"ul",Ae=$&&pe!==1?' start="'+pe+'"':"";return"<"+ce+Ae+`>
  778. `+N+"</"+ce+`>
  779. `},me.listitem=function(N){return"<li>"+N+`</li>
  780. `},me.checkbox=function(N){return"<input "+(N?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},me.paragraph=function(N){return"<p>"+N+`</p>
  781. `},me.table=function(N,$){return $&&($="<tbody>"+$+"</tbody>"),`<table>
  782. <thead>
  783. `+N+`</thead>
  784. `+$+`</table>
  785. `},me.tablerow=function(N){return`<tr>
  786. `+N+`</tr>
  787. `},me.tablecell=function(N,$){var pe=$.header?"th":"td",ce=$.align?"<"+pe+' align="'+$.align+'">':"<"+pe+">";return ce+N+("</"+pe+`>
  788. `)},me.strong=function(N){return"<strong>"+N+"</strong>"},me.em=function(N){return"<em>"+N+"</em>"},me.codespan=function(N){return"<code>"+N+"</code>"},me.br=function(){return this.options.xhtml?"<br/>":"<br>"},me.del=function(N){return"<del>"+N+"</del>"},me.link=function(N,$,pe){if(N=j(this.options.sanitize,this.options.baseUrl,N),N===null)return pe;var ce='<a href="'+V(N)+'"';return $&&(ce+=' title="'+$+'"'),ce+=">"+pe+"</a>",ce},me.image=function(N,$,pe){if(N=j(this.options.sanitize,this.options.baseUrl,N),N===null)return pe;var ce='<img src="'+N+'" alt="'+pe+'"';return $&&(ce+=' title="'+$+'"'),ce+=this.options.xhtml?"/>":">",ce},me.text=function(N){return N},xe}(),$e=function(){function xe(){}var me=xe.prototype;return me.strong=function(N){return N},me.em=function(N){return N},me.codespan=function(N){return N},me.del=function(N){return N},me.html=function(N){return N},me.text=function(N){return N},me.link=function(N,$,pe){return""+pe},me.image=function(N,$,pe){return""+pe},me.br=function(){return""},xe}(),Ge=function(){function xe(){this.seen={}}var me=xe.prototype;return me.serialize=function(N){return N.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},me.getNextSafeSlug=function(N,$){var pe=N,ce=0;if(this.seen.hasOwnProperty(pe)){ce=this.seen[N];do ce++,pe=N+"-"+ce;while(this.seen.hasOwnProperty(pe))}return $||(this.seen[N]=ce,this.seen[pe]=0),pe},me.slug=function(N,$){$===void 0&&($={});var pe=this.serialize(N);return this.getNextSafeSlug(pe,$.dryrun)},xe}(),at=function(){function xe(le){this.options=le||e.defaults,this.options.renderer=this.options.renderer||new Pe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new $e,this.slugger=new Ge}xe.parse=function(N,$){var pe=new xe($);return pe.parse(N)},xe.parseInline=function(N,$){var pe=new xe($);return pe.parseInline(N)};var me=xe.prototype;return me.parse=function(N,$){$===void 0&&($=!0);var pe="",ce,Ae,Be,je,rt,pt,gt,At,kt,Ee,qe,st,nt,xt,Ct,Dt,Nt,Or,Ut,zr=N.length;for(ce=0;ce<zr;ce++){if(Ee=N[ce],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[Ee.type]&&(Ut=this.options.extensions.renderers[Ee.type].call({parser:this},Ee),Ut!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(Ee.type))){pe+=Ut||"";continue}switch(Ee.type){case"space":continue;case"hr":{pe+=this.renderer.hr();continue}case"heading":{pe+=this.renderer.heading(this.parseInline(Ee.tokens),Ee.depth,ae(this.parseInline(Ee.tokens,this.textRenderer)),this.slugger);continue}case"code":{pe+=this.renderer.code(Ee.text,Ee.lang,Ee.escaped);continue}case"table":{for(At="",gt="",je=Ee.header.length,Ae=0;Ae<je;Ae++)gt+=this.renderer.tablecell(this.parseInline(Ee.header[Ae].tokens),{header:!0,align:Ee.align[Ae]});for(At+=this.renderer.tablerow(gt),kt="",je=Ee.rows.length,Ae=0;Ae<je;Ae++){for(pt=Ee.rows[Ae],gt="",rt=pt.length,Be=0;Be<rt;Be++)gt+=this.renderer.tablecell(this.parseInline(pt[Be].tokens),{header:!1,align:Ee.align[Be]});kt+=this.renderer.tablerow(gt)}pe+=this.renderer.table(At,kt);continue}case"blockquote":{kt=this.parse(Ee.tokens),pe+=this.renderer.blockquote(kt);continue}case"list":{for(qe=Ee.ordered,st=Ee.start,nt=Ee.loose,je=Ee.items.length,kt="",Ae=0;Ae<je;Ae++)Ct=Ee.items[Ae],Dt=Ct.checked,Nt=Ct.task,xt="",Ct.task&&(Or=this.renderer.checkbox(Dt),nt?Ct.tokens.length>0&&Ct.tokens[0].type==="paragraph"?(Ct.tokens[0].text=Or+" "+Ct.tokens[0].text,Ct.tokens[0].tokens&&Ct.tokens[0].tokens.length>0&&Ct.tokens[0].tokens[0].type==="text"&&(Ct.tokens[0].tokens[0].text=Or+" "+Ct.tokens[0].tokens[0].text)):Ct.tokens.unshift({type:"text",text:Or}):xt+=Or),xt+=this.parse(Ct.tokens,nt),kt+=this.renderer.listitem(xt,Nt,Dt);pe+=this.renderer.list(kt,qe,st);continue}case"html":{pe+=this.renderer.html(Ee.text);continue}case"paragraph":{pe+=this.renderer.paragraph(this.parseInline(Ee.tokens));continue}case"text":{for(kt=Ee.tokens?this.parseInline(Ee.tokens):Ee.text;ce+1<zr&&N[ce+1].type==="text";)Ee=N[++ce],kt+=`
  789. `+(Ee.tokens?this.parseInline(Ee.tokens):Ee.text);pe+=$?this.renderer.paragraph(kt):kt;continue}default:{var $t='Token with "'+Ee.type+'" type was not found.';if(this.options.silent){console.error($t);return}else throw new Error($t)}}}return pe},me.parseInline=function(N,$){$=$||this.renderer;var pe="",ce,Ae,Be,je=N.length;for(ce=0;ce<je;ce++){if(Ae=N[ce],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[Ae.type]&&(Be=this.options.extensions.renderers[Ae.type].call({parser:this},Ae),Be!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(Ae.type))){pe+=Be||"";continue}switch(Ae.type){case"escape":{pe+=$.text(Ae.text);break}case"html":{pe+=$.html(Ae.text);break}case"link":{pe+=$.link(Ae.href,Ae.title,this.parseInline(Ae.tokens,$));break}case"image":{pe+=$.image(Ae.href,Ae.title,Ae.text);break}case"strong":{pe+=$.strong(this.parseInline(Ae.tokens,$));break}case"em":{pe+=$.em(this.parseInline(Ae.tokens,$));break}case"codespan":{pe+=$.codespan(Ae.text);break}case"br":{pe+=$.br();break}case"del":{pe+=$.del(this.parseInline(Ae.tokens,$));break}case"text":{pe+=$.text(Ae.text);break}default:{var rt='Token with "'+Ae.type+'" type was not found.';if(this.options.silent){console.error(rt);return}else throw new Error(rt)}}}return pe},xe}();function Ke(xe,me,le){if(typeof xe>"u"||xe===null)throw new Error("marked(): input parameter is undefined or null");if(typeof xe!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(xe)+", string expected");if(typeof me=="function"&&(le=me,me=null),me=Me({},Ke.defaults,me||{}),Le(me),le){var N=me.highlight,$;try{$=we.lex(xe,me)}catch(je){return le(je)}var pe=function(rt){var pt;if(!rt)try{me.walkTokens&&Ke.walkTokens($,me.walkTokens),pt=at.parse($,me)}catch(gt){rt=gt}return me.highlight=N,rt?le(rt):le(null,pt)};if(!N||N.length<3||(delete me.highlight,!$.length))return pe();var ce=0;Ke.walkTokens($,function(je){je.type==="code"&&(ce++,setTimeout(function(){N(je.text,je.lang,function(rt,pt){if(rt)return pe(rt);pt!=null&&pt!==je.text&&(je.text=pt,je.escaped=!0),ce--,ce===0&&pe()})},0))}),ce===0&&pe();return}function Ae(je){if(je.message+=`
  790. Please report this to https://github.com/markedjs/marked.`,me.silent)return"<p>An error occurred:</p><pre>"+V(je.message+"",!0)+"</pre>";throw je}try{var Be=we.lex(xe,me);if(me.walkTokens){if(me.async)return Promise.all(Ke.walkTokens(Be,me.walkTokens)).then(function(){return at.parse(Be,me)}).catch(Ae);Ke.walkTokens(Be,me.walkTokens)}return at.parse(Be,me)}catch(je){Ae(je)}}Ke.options=Ke.setOptions=function(xe){return Me(Ke.defaults,xe),y(Ke.defaults),Ke},Ke.getDefaults=x,Ke.defaults=e.defaults,Ke.use=function(){for(var xe=arguments.length,me=new Array(xe),le=0;le<xe;le++)me[le]=arguments[le];var N=Me.apply(void 0,[{}].concat(me)),$=Ke.defaults.extensions||{renderers:{},childTokens:{}},pe;me.forEach(function(ce){if(ce.extensions&&(pe=!0,ce.extensions.forEach(function(Be){if(!Be.name)throw new Error("extension name required");if(Be.renderer){var je=$.renderers?$.renderers[Be.name]:null;je?$.renderers[Be.name]=function(){for(var rt=arguments.length,pt=new Array(rt),gt=0;gt<rt;gt++)pt[gt]=arguments[gt];var At=Be.renderer.apply(this,pt);return At===!1&&(At=je.apply(this,pt)),At}:$.renderers[Be.name]=Be.renderer}if(Be.tokenizer){if(!Be.level||Be.level!=="block"&&Be.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");$[Be.level]?$[Be.level].unshift(Be.tokenizer):$[Be.level]=[Be.tokenizer],Be.start&&(Be.level==="block"?$.startBlock?$.startBlock.push(Be.start):$.startBlock=[Be.start]:Be.level==="inline"&&($.startInline?$.startInline.push(Be.start):$.startInline=[Be.start]))}Be.childTokens&&($.childTokens[Be.name]=Be.childTokens)})),ce.renderer&&function(){var Be=Ke.defaults.renderer||new Pe,je=function(gt){var At=Be[gt];Be[gt]=function(){for(var kt=arguments.length,Ee=new Array(kt),qe=0;qe<kt;qe++)Ee[qe]=arguments[qe];var st=ce.renderer[gt].apply(Be,Ee);return st===!1&&(st=At.apply(Be,Ee)),st}};for(var rt in ce.renderer)je(rt);N.renderer=Be}(),ce.tokenizer&&function(){var Be=Ke.defaults.tokenizer||new vt,je=function(gt){var At=Be[gt];Be[gt]=function(){for(var kt=arguments.length,Ee=new Array(kt),qe=0;qe<kt;qe++)Ee[qe]=arguments[qe];var st=ce.tokenizer[gt].apply(Be,Ee);return st===!1&&(st=At.apply(Be,Ee)),st}};for(var rt in ce.tokenizer)je(rt);N.tokenizer=Be}(),ce.walkTokens){var Ae=Ke.defaults.walkTokens;N.walkTokens=function(Be){var je=[];return je.push(ce.walkTokens.call(this,Be)),Ae&&(je=je.concat(Ae.call(this,Be))),je}}pe&&(N.extensions=$),Ke.setOptions(N)})},Ke.walkTokens=function(xe,me){for(var le=[],N=function(){var Ae=pe.value;switch(le=le.concat(me.call(Ke,Ae)),Ae.type){case"table":{for(var Be=g(Ae.header),je;!(je=Be()).done;){var rt=je.value;le=le.concat(Ke.walkTokens(rt.tokens,me))}for(var pt=g(Ae.rows),gt;!(gt=pt()).done;)for(var At=gt.value,kt=g(At),Ee;!(Ee=kt()).done;){var qe=Ee.value;le=le.concat(Ke.walkTokens(qe.tokens,me))}break}case"list":{le=le.concat(Ke.walkTokens(Ae.items,me));break}default:Ke.defaults.extensions&&Ke.defaults.extensions.childTokens&&Ke.defaults.extensions.childTokens[Ae.type]?Ke.defaults.extensions.childTokens[Ae.type].forEach(function(st){le=le.concat(Ke.walkTokens(Ae[st],me))}):Ae.tokens&&(le=le.concat(Ke.walkTokens(Ae.tokens,me)))}},$=g(xe),pe;!(pe=$()).done;)N();return le},Ke.parseInline=function(xe,me){if(typeof xe>"u"||xe===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof xe!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(xe)+", string expected");me=Me({},Ke.defaults,me||{}),Le(me);try{var le=we.lexInline(xe,me);return me.walkTokens&&Ke.walkTokens(le,me.walkTokens),at.parseInline(le,me)}catch(N){if(N.message+=`
  791. Please report this to https://github.com/markedjs/marked.`,me.silent)return"<p>An error occurred:</p><pre>"+V(N.message+"",!0)+"</pre>";throw N}},Ke.Parser=at,Ke.parser=at.parse,Ke.Renderer=Pe,Ke.TextRenderer=$e,Ke.Lexer=we,Ke.lexer=we.lex,Ke.Tokenizer=vt,Ke.Slugger=Ge,Ke.parse=Ke;var dt=Ke.options,ue=Ke.setOptions,ye=Ke.use,Oe=Ke.walkTokens,Xe=Ke.parseInline,Ye=Ke,Ze=at.parse,Ve=we.lex;e.Lexer=we,e.Parser=at,e.Renderer=Pe,e.Slugger=Ge,e.TextRenderer=$e,e.Tokenizer=vt,e.getDefaults=x,e.lexer=Ve,e.marked=Ke,e.options=dt,e.parse=Ye,e.parseInline=Xe,e.parser=Ze,e.setOptions=ue,e.use=ye,e.walkTokens=Oe})(E1);var Oa=an.exports,S4=C4,Td=E1.marked,L1=/Mac/.test(navigator.platform),A4=new RegExp(/(<a.*?https?:\/\/.*?[^a]>)+?/g),Sl={toggleBold:Zu,toggleItalic:Ju,drawLink:ch,toggleHeadingSmaller:Al,toggleHeadingBigger:rh,drawImage:uh,toggleBlockquote:th,toggleOrderedList:sh,toggleUnorderedList:ah,toggleCodeBlock:eh,togglePreview:mh,toggleStrikethrough:Qu,toggleHeading1:nh,toggleHeading2:ih,toggleHeading3:oh,toggleHeading4:bp,toggleHeading5:yp,toggleHeading6:wp,cleanBlock:lh,drawTable:hh,drawHorizontalRule:dh,undo:fh,redo:ph,toggleSideBySide:us,toggleFullScreen:na},D4={toggleBold:"Cmd-B",toggleItalic:"Cmd-I",drawLink:"Cmd-K",toggleHeadingSmaller:"Cmd-H",toggleHeadingBigger:"Shift-Cmd-H",toggleHeading1:"Ctrl+Alt+1",toggleHeading2:"Ctrl+Alt+2",toggleHeading3:"Ctrl+Alt+3",toggleHeading4:"Ctrl+Alt+4",toggleHeading5:"Ctrl+Alt+5",toggleHeading6:"Ctrl+Alt+6",cleanBlock:"Cmd-E",drawImage:"Cmd-Alt-I",toggleBlockquote:"Cmd-'",toggleOrderedList:"Cmd-Alt-L",toggleUnorderedList:"Cmd-L",toggleCodeBlock:"Cmd-Alt-C",togglePreview:"Cmd-P",toggleSideBySide:"F9",toggleFullScreen:"F11"},E4=function(e){for(var t in Sl)if(Sl[t]===e)return t;return null},kf=function(){var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e};function L4(e){for(var t;(t=A4.exec(e))!==null;){var o=t[0];if(o.indexOf("target=")===-1){var c=o.replace(/>$/,' target="_blank">');e=e.replace(o,c)}}return e}function T4(e){for(var t=new DOMParser,o=t.parseFromString(e,"text/html"),c=o.getElementsByTagName("li"),h=0;h<c.length;h++)for(var g=c[h],x=0;x<g.children.length;x++){var y=g.children[x];y instanceof HTMLInputElement&&y.type==="checkbox"&&(g.style.marginLeft="-1.5em",g.style.listStyleType="none")}return o.documentElement.innerHTML}function T1(e){return L1?e=e.replace("Ctrl","Cmd"):e=e.replace("Cmd","Ctrl"),e}function F4(e,t,o,c){var h=ru(e,!1,t,o,"button",c);h.classList.add("easymde-dropdown"),h.onclick=function(){h.focus()};var g=document.createElement("div");g.className="easymde-dropdown-content";for(var x=0;x<e.children.length;x++){var y=e.children[x],z;typeof y=="string"&&y in Ko?z=ru(Ko[y],!0,t,o,"button",c):z=ru(y,!0,t,o,"button",c),z.addEventListener("click",function(A){A.stopPropagation()},!1),g.appendChild(z)}return h.appendChild(g),h}function ru(e,t,o,c,h,g){e=e||{};var x=document.createElement(h);if(e.attributes)for(var y in e.attributes)Object.prototype.hasOwnProperty.call(e.attributes,y)&&x.setAttribute(y,e.attributes[y]);var z=g.options.toolbarButtonClassPrefix?g.options.toolbarButtonClassPrefix+"-":"";x.className=z+e.name,x.setAttribute("type",h),o=o==null?!0:o,e.text&&(x.innerText=e.text),e.name&&e.name in c&&(Sl[e.name]=e.action),e.title&&o&&(x.title=P4(e.title,e.action,c),L1&&(x.title=x.title.replace("Ctrl","\u2318"),x.title=x.title.replace("Alt","\u2325"))),e.title&&x.setAttribute("aria-label",e.title),e.noDisable&&x.classList.add("no-disable"),e.noMobile&&x.classList.add("no-mobile");var A=[];typeof e.className<"u"&&(A=e.className.split(" "));for(var L=[],O=0;O<A.length;O++){var P=A[O];P.match(/^fa([srlb]|(-[\w-]*)|$)/)?L.push(P):x.classList.add(P)}if(x.tabIndex=-1,L.length>0){for(var Y=document.createElement("i"),V=0;V<L.length;V++){var ee=L[V];Y.classList.add(ee)}x.appendChild(Y)}return typeof e.icon<"u"&&(x.innerHTML=e.icon),e.action&&t&&(typeof e.action=="function"?x.onclick=function(ae){ae.preventDefault(),e.action(g)}:typeof e.action=="string"&&(x.onclick=function(ae){ae.preventDefault(),window.open(e.action,"_blank")})),x}function M4(){var e=document.createElement("i");return e.className="separator",e.innerHTML="|",e}function P4(e,t,o){var c,h=e;return t&&(c=E4(t),o[c]&&(h+=" ("+T1(o[c])+")")),h}function yo(e,t){t=t||e.getCursor("start");var o=e.getTokenAt(t);if(!o.type)return{};for(var c=o.type.split(" "),h={},g,x,y=0;y<c.length;y++)g=c[y],g==="strong"?h.bold=!0:g==="variable-2"?(x=e.getLine(t.line),/^\s*\d+\.\s/.test(x)?h["ordered-list"]=!0:h["unordered-list"]=!0):g==="atom"?h.quote=!0:g==="em"?h.italic=!0:g==="quote"?h.quote=!0:g==="strikethrough"?h.strikethrough=!0:g==="comment"?h.code=!0:g==="link"&&!h.image?h.link=!0:g==="image"?h.image=!0:g.match(/^header(-[1-6])?$/)&&(h[g.replace("header","heading")]=!0);return h}var qx="";function na(e){var t=e.codemirror;t.setOption("fullScreen",!t.getOption("fullScreen")),t.getOption("fullScreen")?(qx=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=qx;var o=t.getWrapperElement(),c=o.nextSibling;if(c.classList.contains("editor-preview-active-side"))if(e.options.sideBySideFullscreen===!1){var h=o.parentNode;t.getOption("fullScreen")?h.classList.remove("sided--no-fullscreen"):h.classList.add("sided--no-fullscreen")}else us(e);if(e.options.onToggleFullScreen&&e.options.onToggleFullScreen(t.getOption("fullScreen")||!1),typeof e.options.maxHeight<"u"&&(t.getOption("fullScreen")?(t.getScrollerElement().style.removeProperty("height"),c.style.removeProperty("height")):(t.getScrollerElement().style.height=e.options.maxHeight,e.setPreviewMaxHeight())),e.toolbar_div.classList.toggle("fullscreen"),e.toolbarElements&&e.toolbarElements.fullscreen){var g=e.toolbarElements.fullscreen;g.classList.toggle("active")}}function Zu(e){kp(e,"bold",e.options.blockStyles.bold)}function Ju(e){kp(e,"italic",e.options.blockStyles.italic)}function Qu(e){kp(e,"strikethrough","~~")}function eh(e){var t=e.options.blockStyles.code;function o(De){if(typeof De!="object")throw"fencing_line() takes a 'line' object (not a line number, or line text). Got: "+typeof De+": "+De;return De.styles&&De.styles[2]&&De.styles[2].indexOf("formatting-code-block")!==-1}function c(De){return De.state.base.base||De.state.base}function h(De,he,Le,Se,He){Le=Le||De.getLineHandle(he),Se=Se||De.getTokenAt({line:he,ch:1}),He=He||!!Le.text&&De.getTokenAt({line:he,ch:Le.text.length-1});var ot=Se.type?Se.type.split(" "):[];return He&&c(He).indentedCode?"indented":ot.indexOf("comment")===-1?!1:c(Se).fencedChars||c(He).fencedChars||o(Le)?"fenced":"single"}function g(De,he,Le,Se){var He=he.line+1,ot=Le.line+1,vt=he.line!==Le.line,et=Se+`
  792. `,ne=`
  793. `+Se;vt&&ot++,vt&&Le.ch===0&&(ne=Se+`
  794. `,ot--),ia(De,!1,[et,ne]),De.setSelection({line:He,ch:0},{line:ot,ch:0})}var x=e.codemirror,y=x.getCursor("start"),z=x.getCursor("end"),A=x.getTokenAt({line:y.line,ch:y.ch||1}),L=x.getLineHandle(y.line),O=h(x,y.line,L,A),P,Y,V;if(O==="single"){var ee=L.text.slice(0,y.ch).replace("`",""),ae=L.text.slice(y.ch).replace("`","");x.replaceRange(ee+ae,{line:y.line,ch:0},{line:y.line,ch:99999999999999}),y.ch--,y!==z&&z.ch--,x.setSelection(y,z),x.focus()}else if(O==="fenced")if(y.line!==z.line||y.ch!==z.ch){for(P=y.line;P>=0&&(L=x.getLineHandle(P),!o(L));P--);var K=x.getTokenAt({line:P,ch:1}),T=c(K).fencedChars,re,B,j,oe;o(x.getLineHandle(y.line))?(re="",B=y.line):o(x.getLineHandle(y.line-1))?(re="",B=y.line-1):(re=T+`
  795. `,B=y.line),o(x.getLineHandle(z.line))?(j="",oe=z.line,z.ch===0&&(oe+=1)):z.ch!==0&&o(x.getLineHandle(z.line+1))?(j="",oe=z.line+1):(j=T+`
  796. `,oe=z.line+1),z.ch===0&&(oe-=1),x.operation(function(){x.replaceRange(j,{line:oe,ch:0},{line:oe+(j?0:1),ch:0}),x.replaceRange(re,{line:B,ch:0},{line:B+(re?0:1),ch:0})}),x.setSelection({line:B+(re?1:0),ch:0},{line:oe+(re?1:-1),ch:0}),x.focus()}else{var de=y.line;if(o(x.getLineHandle(y.line))&&(h(x,y.line+1)==="fenced"?(P=y.line,de=y.line+1):(Y=y.line,de=y.line-1)),P===void 0)for(P=de;P>=0&&(L=x.getLineHandle(P),!o(L));P--);if(Y===void 0)for(V=x.lineCount(),Y=de;Y<V&&(L=x.getLineHandle(Y),!o(L));Y++);x.operation(function(){x.replaceRange("",{line:P,ch:0},{line:P+1,ch:0}),x.replaceRange("",{line:Y-1,ch:0},{line:Y,ch:0})}),x.focus()}else if(O==="indented"){if(y.line!==z.line||y.ch!==z.ch)P=y.line,Y=z.line,z.ch===0&&Y--;else{for(P=y.line;P>=0;P--)if(L=x.getLineHandle(P),!L.text.match(/^\s*$/)&&h(x,P,L)!=="indented"){P+=1;break}for(V=x.lineCount(),Y=y.line;Y<V;Y++)if(L=x.getLineHandle(Y),!L.text.match(/^\s*$/)&&h(x,Y,L)!=="indented"){Y-=1;break}}var ge=x.getLineHandle(Y+1),Te=ge&&x.getTokenAt({line:Y+1,ch:ge.text.length-1}),Ne=Te&&c(Te).indentedCode;Ne&&x.replaceRange(`
  797. `,{line:Y+1,ch:0});for(var ze=P;ze<=Y;ze++)x.indentLine(ze,"subtract");x.focus()}else{var Me=y.line===z.line&&y.ch===z.ch&&y.ch===0,ke=y.line!==z.line;Me||ke?g(x,y,z,t):ia(x,!1,["`","`"])}}function th(e){zp(e.codemirror,"quote")}function Al(e){wo(e.codemirror,"smaller")}function rh(e){wo(e.codemirror,"bigger")}function nh(e){wo(e.codemirror,void 0,1)}function ih(e){wo(e.codemirror,void 0,2)}function oh(e){wo(e.codemirror,void 0,3)}function bp(e){wo(e.codemirror,void 0,4)}function yp(e){wo(e.codemirror,void 0,5)}function wp(e){wo(e.codemirror,void 0,6)}function ah(e){var t=e.codemirror,o="*";["-","+","*"].includes(e.options.unorderedListStyle)&&(o=e.options.unorderedListStyle),zp(t,"unordered-list",o)}function sh(e){zp(e.codemirror,"ordered-list")}function lh(e){O4(e.codemirror)}function ch(e){var t=e.options,o="https://";if(t.promptURLs){var c=prompt(t.promptTexts.link,o);if(!c)return!1;o=F1(c)}P1(e,"link",t.insertTexts.link,o)}function uh(e){var t=e.options,o="https://";if(t.promptURLs){var c=prompt(t.promptTexts.image,o);if(!c)return!1;o=F1(c)}P1(e,"image",t.insertTexts.image,o)}function F1(e){return encodeURI(e).replace(/([\\()])/g,"\\$1")}function _p(e){e.openBrowseFileWindow()}function M1(e,t){var o=e.codemirror,c=yo(o),h=e.options,g=t.substr(t.lastIndexOf("/")+1),x=g.substring(g.lastIndexOf(".")+1).replace(/\?.*$/,"").toLowerCase();if(["png","jpg","jpeg","gif","svg","apng","avif","webp"].includes(x))ia(o,c.image,h.insertTexts.uploadedImage,t);else{var y=h.insertTexts.link;y[0]="["+g,ia(o,c.link,y,t)}e.updateStatusBar("upload-image",e.options.imageTexts.sbOnUploaded.replace("#image_name#",g)),setTimeout(function(){e.updateStatusBar("upload-image",e.options.imageTexts.sbInit)},1e3)}function hh(e){var t=e.codemirror,o=yo(t),c=e.options;ia(t,o.table,c.insertTexts.table)}function dh(e){var t=e.codemirror,o=yo(t),c=e.options;ia(t,o.image,c.insertTexts.horizontalRule)}function fh(e){var t=e.codemirror;t.undo(),t.focus()}function ph(e){var t=e.codemirror;t.redo(),t.focus()}function us(e){var t=e.codemirror,o=t.getWrapperElement(),c=o.nextSibling,h=e.toolbarElements&&e.toolbarElements["side-by-side"],g=!1,x=o.parentNode;c.classList.contains("editor-preview-active-side")?(e.options.sideBySideFullscreen===!1&&x.classList.remove("sided--no-fullscreen"),c.classList.remove("editor-preview-active-side"),h&&h.classList.remove("active"),o.classList.remove("CodeMirror-sided")):(setTimeout(function(){t.getOption("fullScreen")||(e.options.sideBySideFullscreen===!1?x.classList.add("sided--no-fullscreen"):na(e)),c.classList.add("editor-preview-active-side")},1),h&&h.classList.add("active"),o.classList.add("CodeMirror-sided"),g=!0);var y=o.lastChild;if(y.classList.contains("editor-preview-active")){y.classList.remove("editor-preview-active");var z=e.toolbarElements.preview,A=e.toolbar_div;z.classList.remove("active"),A.classList.remove("disabled-for-preview")}var L=function(){var P=e.options.previewRender(e.value(),c);P!=null&&(c.innerHTML=P)};if(t.sideBySideRenderingFunction||(t.sideBySideRenderingFunction=L),g){var O=e.options.previewRender(e.value(),c);O!=null&&(c.innerHTML=O),t.on("update",t.sideBySideRenderingFunction)}else t.off("update",t.sideBySideRenderingFunction);t.refresh()}function mh(e){var t=e.codemirror,o=t.getWrapperElement(),c=e.toolbar_div,h=e.options.toolbar?e.toolbarElements.preview:!1,g=o.lastChild,x=t.getWrapperElement().nextSibling;if(x.classList.contains("editor-preview-active-side")&&us(e),!g||!g.classList.contains("editor-preview-full")){if(g=document.createElement("div"),g.className="editor-preview-full",e.options.previewClass)if(Array.isArray(e.options.previewClass))for(var y=0;y<e.options.previewClass.length;y++)g.classList.add(e.options.previewClass[y]);else typeof e.options.previewClass=="string"&&g.classList.add(e.options.previewClass);o.appendChild(g)}g.classList.contains("editor-preview-active")?(g.classList.remove("editor-preview-active"),h&&(h.classList.remove("active"),c.classList.remove("disabled-for-preview"))):(setTimeout(function(){g.classList.add("editor-preview-active")},1),h&&(h.classList.add("active"),c.classList.add("disabled-for-preview")));var z=e.options.previewRender(e.value(),g);z!==null&&(g.innerHTML=z)}function ia(e,t,o,c){if(!e.getWrapperElement().lastChild.classList.contains("editor-preview-active")){var h,g=o[0],x=o[1],y={},z={};Object.assign(y,e.getCursor("start")),Object.assign(z,e.getCursor("end")),c&&(g=g.replace("#url#",c),x=x.replace("#url#",c)),t?(h=e.getLine(y.line),g=h.slice(0,y.ch),x=h.slice(y.ch),e.replaceRange(g+x,{line:y.line,ch:0})):(h=e.getSelection(),e.replaceSelection(g+h+x),y.ch+=g.length,y!==z&&(z.ch+=g.length)),e.setSelection(y,z),e.focus()}}function wo(e,t,o){if(!e.getWrapperElement().lastChild.classList.contains("editor-preview-active")){for(var c=e.getCursor("start"),h=e.getCursor("end"),g=c.line;g<=h.line;g++)(function(x){var y=e.getLine(x),z=y.search(/[^#]/);t!==void 0?z<=0?t=="bigger"?y="###### "+y:y="# "+y:z==6&&t=="smaller"?y=y.substr(7):z==1&&t=="bigger"?y=y.substr(2):t=="bigger"?y=y.substr(1):y="#"+y:z<=0?y="#".repeat(o)+" "+y:z==o?y=y.substr(z+1):y="#".repeat(o)+" "+y.substr(z+1),e.replaceRange(y,{line:x,ch:0},{line:x,ch:99999999999999})})(g);e.focus()}}function zp(e,t,o){if(!e.getWrapperElement().lastChild.classList.contains("editor-preview-active")){for(var c=/^(\s*)(\*|-|\+|\d*\.)(\s+)/,h=/^\s*/,g=yo(e),x=e.getCursor("start"),y=e.getCursor("end"),z={quote:/^(\s*)>\s+/,"unordered-list":c,"ordered-list":c},A=function(V,ee){var ae={quote:">","unordered-list":o,"ordered-list":"%%i."};return ae[V].replace("%%i",ee)},L=function(V,ee){var ae={quote:">","unordered-list":"\\"+o,"ordered-list":"\\d+."},K=new RegExp(ae[V]);return ee&&K.test(ee)},O=function(V,ee,ae){var K=c.exec(ee),T=A(V,P);return K!==null?(L(V,K[2])&&(T=""),ee=K[1]+T+K[3]+ee.replace(h,"").replace(z[V],"$1")):ae==!1&&(ee=T+" "+ee),ee},P=1,Y=x.line;Y<=y.line;Y++)(function(V){var ee=e.getLine(V);g[t]?ee=ee.replace(z[t],"$1"):(t=="unordered-list"&&(ee=O("ordered-list",ee,!0)),ee=O(t,ee,!1),P+=1),e.replaceRange(ee,{line:V,ch:0},{line:V,ch:99999999999999})})(Y);e.focus()}}function P1(e,t,o,c){if(!(!e.codemirror||e.isPreviewActive())){var h=e.codemirror,g=yo(h),x=g[t];if(!x){ia(h,x,o,c);return}var y=h.getCursor("start"),z=h.getCursor("end"),A=h.getLine(y.line),L=A.slice(0,y.ch),O=A.slice(y.ch);t=="link"?L=L.replace(/(.*)[^!]\[/,"$1"):t=="image"&&(L=L.replace(/(.*)!\[$/,"$1")),O=O.replace(/]\(.*?\)/,""),h.replaceRange(L+O,{line:y.line,ch:0},{line:y.line,ch:99999999999999}),y.ch-=o[0].length,y!==z&&(z.ch-=o[0].length),h.setSelection(y,z),h.focus()}}function kp(e,t,o,c){if(!(!e.codemirror||e.isPreviewActive())){c=typeof c>"u"?o:c;var h=e.codemirror,g=yo(h),x,y=o,z=c,A=h.getCursor("start"),L=h.getCursor("end");g[t]?(x=h.getLine(A.line),y=x.slice(0,A.ch),z=x.slice(A.ch),t=="bold"?(y=y.replace(/(\*\*|__)(?![\s\S]*(\*\*|__))/,""),z=z.replace(/(\*\*|__)/,"")):t=="italic"?(y=y.replace(/(\*|_)(?![\s\S]*(\*|_))/,""),z=z.replace(/(\*|_)/,"")):t=="strikethrough"&&(y=y.replace(/(\*\*|~~)(?![\s\S]*(\*\*|~~))/,""),z=z.replace(/(\*\*|~~)/,"")),h.replaceRange(y+z,{line:A.line,ch:0},{line:A.line,ch:99999999999999}),t=="bold"||t=="strikethrough"?(A.ch-=2,A!==L&&(L.ch-=2)):t=="italic"&&(A.ch-=1,A!==L&&(L.ch-=1))):(x=h.getSelection(),t=="bold"?(x=x.split("**").join(""),x=x.split("__").join("")):t=="italic"?(x=x.split("*").join(""),x=x.split("_").join("")):t=="strikethrough"&&(x=x.split("~~").join("")),h.replaceSelection(y+x+z),A.ch+=o.length,L.ch=A.ch+x.length),h.setSelection(A,L),h.focus()}}function O4(e){if(!e.getWrapperElement().lastChild.classList.contains("editor-preview-active"))for(var t=e.getCursor("start"),o=e.getCursor("end"),c,h=t.line;h<=o.line;h++)c=e.getLine(h),c=c.replace(/^[ ]*([# ]+|\*|-|[> ]+|[0-9]+(.|\)))[ ]*/,""),e.replaceRange(c,{line:h,ch:0},{line:h,ch:99999999999999})}function xu(e,t){if(Math.abs(e)<1024)return""+e+t[0];var o=0;do e/=1024,++o;while(Math.abs(e)>=1024&&o<t.length);return""+e.toFixed(1)+t[o]}function O1(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(t[o]instanceof Array?e[o]=t[o].concat(e[o]instanceof Array?e[o]:[]):t[o]!==null&&typeof t[o]=="object"&&t[o].constructor===Object?e[o]=O1(e[o]||{},t[o]):e[o]=t[o]);return e}function Ci(e){for(var t=1;t<arguments.length;t++)e=O1(e,arguments[t]);return e}function Kx(e){var t=/[a-zA-Z0-9_\u00A0-\u02AF\u0392-\u03c9\u0410-\u04F9]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g,o=e.match(t),c=0;if(o===null)return c;for(var h=0;h<o.length;h++)o[h].charCodeAt(0)>=19968?c+=o[h].length:c+=1;return c}var Zt={bold:"fa fa-bold",italic:"fa fa-italic",strikethrough:"fa fa-strikethrough",heading:"fa fa-header fa-heading","heading-smaller":"fa fa-header fa-heading header-smaller","heading-bigger":"fa fa-header fa-heading header-bigger","heading-1":"fa fa-header fa-heading header-1","heading-2":"fa fa-header fa-heading header-2","heading-3":"fa fa-header fa-heading header-3",code:"fa fa-code",quote:"fa fa-quote-left","ordered-list":"fa fa-list-ol","unordered-list":"fa fa-list-ul","clean-block":"fa fa-eraser",link:"fa fa-link",image:"fa fa-image","upload-image":"fa fa-image",table:"fa fa-table","horizontal-rule":"fa fa-minus",preview:"fa fa-eye","side-by-side":"fa fa-columns",fullscreen:"fa fa-arrows-alt",guide:"fa fa-question-circle",undo:"fa fa-undo",redo:"fa fa-repeat fa-redo"},Ko={bold:{name:"bold",action:Zu,className:Zt.bold,title:"Bold",default:!0},italic:{name:"italic",action:Ju,className:Zt.italic,title:"Italic",default:!0},strikethrough:{name:"strikethrough",action:Qu,className:Zt.strikethrough,title:"Strikethrough"},heading:{name:"heading",action:Al,className:Zt.heading,title:"Heading",default:!0},"heading-smaller":{name:"heading-smaller",action:Al,className:Zt["heading-smaller"],title:"Smaller Heading"},"heading-bigger":{name:"heading-bigger",action:rh,className:Zt["heading-bigger"],title:"Bigger Heading"},"heading-1":{name:"heading-1",action:nh,className:Zt["heading-1"],title:"Big Heading"},"heading-2":{name:"heading-2",action:ih,className:Zt["heading-2"],title:"Medium Heading"},"heading-3":{name:"heading-3",action:oh,className:Zt["heading-3"],title:"Small Heading"},"separator-1":{name:"separator-1"},code:{name:"code",action:eh,className:Zt.code,title:"Code"},quote:{name:"quote",action:th,className:Zt.quote,title:"Quote",default:!0},"unordered-list":{name:"unordered-list",action:ah,className:Zt["unordered-list"],title:"Generic List",default:!0},"ordered-list":{name:"ordered-list",action:sh,className:Zt["ordered-list"],title:"Numbered List",default:!0},"clean-block":{name:"clean-block",action:lh,className:Zt["clean-block"],title:"Clean block"},"separator-2":{name:"separator-2"},link:{name:"link",action:ch,className:Zt.link,title:"Create Link",default:!0},image:{name:"image",action:uh,className:Zt.image,title:"Insert Image",default:!0},"upload-image":{name:"upload-image",action:_p,className:Zt["upload-image"],title:"Import an image"},table:{name:"table",action:hh,className:Zt.table,title:"Insert Table"},"horizontal-rule":{name:"horizontal-rule",action:dh,className:Zt["horizontal-rule"],title:"Insert Horizontal Line"},"separator-3":{name:"separator-3"},preview:{name:"preview",action:mh,className:Zt.preview,noDisable:!0,title:"Toggle Preview",default:!0},"side-by-side":{name:"side-by-side",action:us,className:Zt["side-by-side"],noDisable:!0,noMobile:!0,title:"Toggle Side by Side",default:!0},fullscreen:{name:"fullscreen",action:na,className:Zt.fullscreen,noDisable:!0,noMobile:!0,title:"Toggle Fullscreen",default:!0},"separator-4":{name:"separator-4"},guide:{name:"guide",action:"https://www.markdownguide.org/basic-syntax/",className:Zt.guide,noDisable:!0,title:"Markdown Guide",default:!0},"separator-5":{name:"separator-5"},undo:{name:"undo",action:fh,className:Zt.undo,noDisable:!0,title:"Undo"},redo:{name:"redo",action:ph,className:Zt.redo,noDisable:!0,title:"Redo"}},I4={link:["[","](#url#)"],image:["![","](#url#)"],uploadedImage:["![](#url#)",""],table:["",`
  798. | Column 1 | Column 2 | Column 3 |
  799. | -------- | -------- | -------- |
  800. | Text | Text | Text |
  801. `],horizontalRule:["",`
  802. -----
  803. `]},R4={link:"URL for the link:",image:"URL of the image:"},B4={locale:"en-US",format:{hour:"2-digit",minute:"2-digit"}},N4={bold:"**",code:"```",italic:"*"},H4={sbInit:"Attach files by drag and dropping or pasting from clipboard.",sbOnDragEnter:"Drop image to upload it.",sbOnDrop:"Uploading image #images_names#...",sbProgress:"Uploading #file_name#: #progress#%",sbOnUploaded:"Uploaded #image_name#",sizeUnits:" B, KB, MB"},W4={noFileGiven:"You must select a file.",typeNotAllowed:"This image type is not allowed.",fileTooLarge:`Image #image_name# is too big (#image_size#).
  804. Maximum file size is #image_max_size#.`,importError:"Something went wrong when uploading the image #image_name#."};function ft(e){e=e||{},e.parent=this;var t=!0;if(e.autoDownloadFontAwesome===!1&&(t=!1),e.autoDownloadFontAwesome!==!0)for(var o=document.styleSheets,c=0;c<o.length;c++)!o[c].href||o[c].href.indexOf("//maxcdn.bootstrapcdn.com/font-awesome/")>-1&&(t=!1);if(t){var h=document.createElement("link");h.rel="stylesheet",h.href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css",document.getElementsByTagName("head")[0].appendChild(h)}if(e.element)this.element=e.element;else if(e.element===null){console.log("EasyMDE: Error. No element was found.");return}if(e.toolbar===void 0){e.toolbar=[];for(var g in Ko)Object.prototype.hasOwnProperty.call(Ko,g)&&(g.indexOf("separator-")!=-1&&e.toolbar.push("|"),(Ko[g].default===!0||e.showIcons&&e.showIcons.constructor===Array&&e.showIcons.indexOf(g)!=-1)&&e.toolbar.push(g))}if(Object.prototype.hasOwnProperty.call(e,"previewClass")||(e.previewClass="editor-preview"),Object.prototype.hasOwnProperty.call(e,"status")||(e.status=["autosave","lines","words","cursor"],e.uploadImage&&e.status.unshift("upload-image")),e.previewRender||(e.previewRender=function(y){return this.parent.markdown(y)}),e.parsingConfig=Ci({highlightFormatting:!0},e.parsingConfig||{}),e.insertTexts=Ci({},I4,e.insertTexts||{}),e.promptTexts=Ci({},R4,e.promptTexts||{}),e.blockStyles=Ci({},N4,e.blockStyles||{}),e.autosave!=null&&(e.autosave.timeFormat=Ci({},B4,e.autosave.timeFormat||{})),e.iconClassMap=Ci({},Zt,e.iconClassMap||{}),e.shortcuts=Ci({},D4,e.shortcuts||{}),e.maxHeight=e.maxHeight||void 0,e.direction=e.direction||"ltr",typeof e.maxHeight<"u"?e.minHeight=e.maxHeight:e.minHeight=e.minHeight||"300px",e.errorCallback=e.errorCallback||function(y){alert(y)},e.uploadImage=e.uploadImage||!1,e.imageMaxSize=e.imageMaxSize||2097152,e.imageAccept=e.imageAccept||"image/png, image/jpeg, image/gif, image/avif",e.imageTexts=Ci({},H4,e.imageTexts||{}),e.errorMessages=Ci({},W4,e.errorMessages||{}),e.imagePathAbsolute=e.imagePathAbsolute||!1,e.imageCSRFName=e.imageCSRFName||"csrfmiddlewaretoken",e.imageCSRFHeader=e.imageCSRFHeader||!1,e.autosave!=null&&e.autosave.unique_id!=null&&e.autosave.unique_id!=""&&(e.autosave.uniqueId=e.autosave.unique_id),e.overlayMode&&e.overlayMode.combine===void 0&&(e.overlayMode.combine=!0),this.options=e,this.render(),e.initialValue&&(!this.options.autosave||this.options.autosave.foundSavedValue!==!0)&&this.value(e.initialValue),e.uploadImage){var x=this;this.codemirror.on("dragenter",function(y,z){x.updateStatusBar("upload-image",x.options.imageTexts.sbOnDragEnter),z.stopPropagation(),z.preventDefault()}),this.codemirror.on("dragend",function(y,z){x.updateStatusBar("upload-image",x.options.imageTexts.sbInit),z.stopPropagation(),z.preventDefault()}),this.codemirror.on("dragleave",function(y,z){x.updateStatusBar("upload-image",x.options.imageTexts.sbInit),z.stopPropagation(),z.preventDefault()}),this.codemirror.on("dragover",function(y,z){x.updateStatusBar("upload-image",x.options.imageTexts.sbOnDragEnter),z.stopPropagation(),z.preventDefault()}),this.codemirror.on("drop",function(y,z){z.stopPropagation(),z.preventDefault(),e.imageUploadFunction?x.uploadImagesUsingCustomFunction(e.imageUploadFunction,z.dataTransfer.files):x.uploadImages(z.dataTransfer.files)}),this.codemirror.on("paste",function(y,z){e.imageUploadFunction?x.uploadImagesUsingCustomFunction(e.imageUploadFunction,z.clipboardData.files):x.uploadImages(z.clipboardData.files)})}}ft.prototype.uploadImages=function(e,t,o){if(e.length!==0){for(var c=[],h=0;h<e.length;h++)c.push(e[h].name),this.uploadImage(e[h],t,o);this.updateStatusBar("upload-image",this.options.imageTexts.sbOnDrop.replace("#images_names#",c.join(", ")))}};ft.prototype.uploadImagesUsingCustomFunction=function(e,t){if(t.length!==0){for(var o=[],c=0;c<t.length;c++)o.push(t[c].name),this.uploadImageUsingCustomFunction(e,t[c]);this.updateStatusBar("upload-image",this.options.imageTexts.sbOnDrop.replace("#images_names#",o.join(", ")))}};ft.prototype.updateStatusBar=function(e,t){if(!!this.gui.statusbar){var o=this.gui.statusbar.getElementsByClassName(e);o.length===1?this.gui.statusbar.getElementsByClassName(e)[0].textContent=t:o.length===0?console.log("EasyMDE: status bar item "+e+" was not found."):console.log("EasyMDE: Several status bar items named "+e+" was found.")}};ft.prototype.markdown=function(e){if(Td){var t;if(this.options&&this.options.renderingConfig&&this.options.renderingConfig.markedOptions?t=this.options.renderingConfig.markedOptions:t={},this.options&&this.options.renderingConfig&&this.options.renderingConfig.singleLineBreaks===!1?t.breaks=!1:t.breaks=!0,this.options&&this.options.renderingConfig&&this.options.renderingConfig.codeSyntaxHighlighting===!0){var o=this.options.renderingConfig.hljs||window.hljs;o&&(t.highlight=function(h,g){return g&&o.getLanguage(g)?o.highlight(g,h).value:o.highlightAuto(h).value})}Td.setOptions(t);var c=Td.parse(e);return this.options.renderingConfig&&typeof this.options.renderingConfig.sanitizerFunction=="function"&&(c=this.options.renderingConfig.sanitizerFunction.call(this,c)),c=L4(c),c=T4(c),c}};ft.prototype.render=function(e){if(e||(e=this.element||document.getElementsByTagName("textarea")[0]),this._rendered&&this._rendered===e)return;this.element=e;var t=this.options,o=this,c={};for(var h in t.shortcuts)t.shortcuts[h]!==null&&Sl[h]!==null&&function(ae){c[T1(t.shortcuts[ae])]=function(){var K=Sl[ae];typeof K=="function"?K(o):typeof K=="string"&&window.open(K,"_blank")}}(h);c.Enter="newlineAndIndentContinueMarkdownList",c.Tab="tabAndIndentMarkdownList",c["Shift-Tab"]="shiftTabAndUnindentMarkdownList",c.Esc=function(ae){ae.getOption("fullScreen")&&na(o)},this.documentOnKeyDown=function(ae){ae=ae||window.event,ae.keyCode==27&&o.codemirror.getOption("fullScreen")&&na(o)},document.addEventListener("keydown",this.documentOnKeyDown,!1);var g,x;t.overlayMode?(Oa.defineMode("overlay-mode",function(ae){return Oa.overlayMode(Oa.getMode(ae,t.spellChecker!==!1?"spell-checker":"gfm"),t.overlayMode.mode,t.overlayMode.combine)}),g="overlay-mode",x=t.parsingConfig,x.gitHubSpice=!1):(g=t.parsingConfig,g.name="gfm",g.gitHubSpice=!1),t.spellChecker!==!1&&(g="spell-checker",x=t.parsingConfig,x.name="gfm",x.gitHubSpice=!1,typeof t.spellChecker=="function"?t.spellChecker({codeMirrorInstance:Oa}):S4({codeMirrorInstance:Oa}));function y(ae,K,T){return{addNew:!1}}if(this.codemirror=Oa.fromTextArea(e,{mode:g,backdrop:x,theme:t.theme!=null?t.theme:"easymde",tabSize:t.tabSize!=null?t.tabSize:2,indentUnit:t.tabSize!=null?t.tabSize:2,indentWithTabs:t.indentWithTabs!==!1,lineNumbers:t.lineNumbers===!0,autofocus:t.autofocus===!0,extraKeys:c,direction:t.direction,lineWrapping:t.lineWrapping!==!1,allowDropFileTypes:["text/plain"],placeholder:t.placeholder||e.getAttribute("placeholder")||"",styleSelectedText:t.styleSelectedText!=null?t.styleSelectedText:!kf(),scrollbarStyle:t.scrollbarStyle!=null?t.scrollbarStyle:"native",configureMouse:y,inputStyle:t.inputStyle!=null?t.inputStyle:kf()?"contenteditable":"textarea",spellcheck:t.nativeSpellcheck!=null?t.nativeSpellcheck:!0,autoRefresh:t.autoRefresh!=null?t.autoRefresh:!1}),this.codemirror.getScrollerElement().style.minHeight=t.minHeight,typeof t.maxHeight<"u"&&(this.codemirror.getScrollerElement().style.height=t.maxHeight),t.forceSync===!0){var z=this.codemirror;z.on("change",function(){z.save()})}this.gui={};var A=document.createElement("div");A.classList.add("EasyMDEContainer"),A.setAttribute("role","application");var L=this.codemirror.getWrapperElement();L.parentNode.insertBefore(A,L),A.appendChild(L),t.toolbar!==!1&&(this.gui.toolbar=this.createToolbar()),t.status!==!1&&(this.gui.statusbar=this.createStatusbar()),t.autosave!=null&&t.autosave.enabled===!0&&(this.autosave(),this.codemirror.on("change",function(){clearTimeout(o._autosave_timeout),o._autosave_timeout=setTimeout(function(){o.autosave()},o.options.autosave.submit_delay||o.options.autosave.delay||1e3)}));function O(ae,K){var T,re=window.getComputedStyle(document.querySelector(".CodeMirror-sizer")).width.replace("px","");return ae<re?T=K+"px":T=K/ae*100+"%",T}var P=this;function Y(ae,K){ae.setAttribute("data-img-src",K.url),ae.setAttribute("style","--bg-image:url("+K.url+");--width:"+K.naturalWidth+"px;--height:"+O(K.naturalWidth,K.naturalHeight)),P.codemirror.setSize()}function V(){!t.previewImagesInEditor||A.querySelectorAll(".cm-image-marker").forEach(function(ae){var K=ae.parentElement;if(!!K.innerText.match(/^!\[.*?\]\(.*\)/g)&&!K.hasAttribute("data-img-src")){var T=K.innerText.match("\\((.*)\\)");if(window.EMDEimagesCache||(window.EMDEimagesCache={}),T&&T.length>=2){var re=T[1];if(t.imagesPreviewHandler){var B=t.imagesPreviewHandler(T[1]);typeof B=="string"&&(re=B)}if(window.EMDEimagesCache[re])Y(K,window.EMDEimagesCache[re]);else{var j=document.createElement("img");j.onload=function(){window.EMDEimagesCache[re]={naturalWidth:j.naturalWidth,naturalHeight:j.naturalHeight,url:re},Y(K,window.EMDEimagesCache[re])},j.src=re}}}})}this.codemirror.on("update",function(){V()}),this.gui.sideBySide=this.createSideBySide(),this._rendered=this.element,(t.autofocus===!0||e.autofocus)&&this.codemirror.focus();var ee=this.codemirror;setTimeout(function(){ee.refresh()}.bind(ee),0)};ft.prototype.cleanup=function(){document.removeEventListener("keydown",this.documentOnKeyDown)};function I1(){if(typeof localStorage=="object")try{localStorage.setItem("smde_localStorage",1),localStorage.removeItem("smde_localStorage")}catch{return!1}else return!1;return!0}ft.prototype.autosave=function(){if(I1()){var e=this;if(this.options.autosave.uniqueId==null||this.options.autosave.uniqueId==""){console.log("EasyMDE: You must set a uniqueId to use the autosave feature");return}this.options.autosave.binded!==!0&&(e.element.form!=null&&e.element.form!=null&&e.element.form.addEventListener("submit",function(){clearTimeout(e.autosaveTimeoutId),e.autosaveTimeoutId=void 0,localStorage.removeItem("smde_"+e.options.autosave.uniqueId)}),this.options.autosave.binded=!0),this.options.autosave.loaded!==!0&&(typeof localStorage.getItem("smde_"+this.options.autosave.uniqueId)=="string"&&localStorage.getItem("smde_"+this.options.autosave.uniqueId)!=""&&(this.codemirror.setValue(localStorage.getItem("smde_"+this.options.autosave.uniqueId)),this.options.autosave.foundSavedValue=!0),this.options.autosave.loaded=!0);var t=e.value();t!==""?localStorage.setItem("smde_"+this.options.autosave.uniqueId,t):localStorage.removeItem("smde_"+this.options.autosave.uniqueId);var o=document.getElementById("autosaved");if(o!=null&&o!=null&&o!=""){var c=new Date,h=new Intl.DateTimeFormat([this.options.autosave.timeFormat.locale,"en-US"],this.options.autosave.timeFormat.format).format(c),g=this.options.autosave.text==null?"Autosaved: ":this.options.autosave.text;o.innerHTML=g+h}}else console.log("EasyMDE: localStorage not available, cannot autosave")};ft.prototype.clearAutosavedValue=function(){if(I1()){if(this.options.autosave==null||this.options.autosave.uniqueId==null||this.options.autosave.uniqueId==""){console.log("EasyMDE: You must set a uniqueId to clear the autosave value");return}localStorage.removeItem("smde_"+this.options.autosave.uniqueId)}else console.log("EasyMDE: localStorage not available, cannot autosave")};ft.prototype.openBrowseFileWindow=function(e,t){var o=this,c=this.gui.toolbar.getElementsByClassName("imageInput")[0];c.click();function h(g){o.options.imageUploadFunction?o.uploadImagesUsingCustomFunction(o.options.imageUploadFunction,g.target.files):o.uploadImages(g.target.files,e,t),c.removeEventListener("change",h)}c.addEventListener("change",h)};ft.prototype.uploadImage=function(e,t,o){var c=this;t=t||function(A){M1(c,A)};function h(z){c.updateStatusBar("upload-image",z),setTimeout(function(){c.updateStatusBar("upload-image",c.options.imageTexts.sbInit)},1e4),o&&typeof o=="function"&&o(z),c.options.errorCallback(z)}function g(z){var A=c.options.imageTexts.sizeUnits.split(",");return z.replace("#image_name#",e.name).replace("#image_size#",xu(e.size,A)).replace("#image_max_size#",xu(c.options.imageMaxSize,A))}if(e.size>this.options.imageMaxSize){h(g(this.options.errorMessages.fileTooLarge));return}var x=new FormData;x.append("image",e),c.options.imageCSRFToken&&!c.options.imageCSRFHeader&&x.append(c.options.imageCSRFName,c.options.imageCSRFToken);var y=new XMLHttpRequest;y.upload.onprogress=function(z){if(z.lengthComputable){var A=""+Math.round(z.loaded*100/z.total);c.updateStatusBar("upload-image",c.options.imageTexts.sbProgress.replace("#file_name#",e.name).replace("#progress#",A))}},y.open("POST",this.options.imageUploadEndpoint),c.options.imageCSRFToken&&c.options.imageCSRFHeader&&y.setRequestHeader(c.options.imageCSRFName,c.options.imageCSRFToken),y.onload=function(){try{var z=JSON.parse(this.responseText)}catch{console.error("EasyMDE: The server did not return a valid json."),h(g(c.options.errorMessages.importError));return}this.status===200&&z&&!z.error&&z.data&&z.data.filePath?t((c.options.imagePathAbsolute?"":window.location.origin+"/")+z.data.filePath):z.error&&z.error in c.options.errorMessages?h(g(c.options.errorMessages[z.error])):z.error?h(g(z.error)):(console.error("EasyMDE: Received an unexpected response after uploading the image."+this.status+" ("+this.statusText+")"),h(g(c.options.errorMessages.importError)))},y.onerror=function(z){console.error("EasyMDE: An unexpected error occurred when trying to upload the image."+z.target.status+" ("+z.target.statusText+")"),h(c.options.errorMessages.importError)},y.send(x)};ft.prototype.uploadImageUsingCustomFunction=function(e,t){var o=this;function c(x){M1(o,x)}function h(x){var y=g(x);o.updateStatusBar("upload-image",y),setTimeout(function(){o.updateStatusBar("upload-image",o.options.imageTexts.sbInit)},1e4),o.options.errorCallback(y)}function g(x){var y=o.options.imageTexts.sizeUnits.split(",");return x.replace("#image_name#",t.name).replace("#image_size#",xu(t.size,y)).replace("#image_max_size#",xu(o.options.imageMaxSize,y))}e.apply(this,[t,c,h])};ft.prototype.setPreviewMaxHeight=function(){var e=this.codemirror,t=e.getWrapperElement(),o=t.nextSibling,c=parseInt(window.getComputedStyle(t).paddingTop),h=parseInt(window.getComputedStyle(t).borderTopWidth),g=parseInt(this.options.maxHeight),x=g+c*2+h*2,y=x.toString()+"px";o.style.height=y};ft.prototype.createSideBySide=function(){var e=this.codemirror,t=e.getWrapperElement(),o=t.nextSibling;if(!o||!o.classList.contains("editor-preview-side")){if(o=document.createElement("div"),o.className="editor-preview-side",this.options.previewClass)if(Array.isArray(this.options.previewClass))for(var c=0;c<this.options.previewClass.length;c++)o.classList.add(this.options.previewClass[c]);else typeof this.options.previewClass=="string"&&o.classList.add(this.options.previewClass);t.parentNode.insertBefore(o,t.nextSibling)}if(typeof this.options.maxHeight<"u"&&this.setPreviewMaxHeight(),this.options.syncSideBySidePreviewScroll===!1)return o;var h=!1,g=!1;return e.on("scroll",function(x){if(h){h=!1;return}g=!0;var y=x.getScrollInfo().height-x.getScrollInfo().clientHeight,z=parseFloat(x.getScrollInfo().top)/y,A=(o.scrollHeight-o.clientHeight)*z;o.scrollTop=A}),o.onscroll=function(){if(g){g=!1;return}h=!0;var x=o.scrollHeight-o.clientHeight,y=parseFloat(o.scrollTop)/x,z=(e.getScrollInfo().height-e.getScrollInfo().clientHeight)*y;e.scrollTo(0,z)},o};ft.prototype.createToolbar=function(e){if(e=e||this.options.toolbar,!(!e||e.length===0)){var t;for(t=0;t<e.length;t++)Ko[e[t]]!=null&&(e[t]=Ko[e[t]]);var o=document.createElement("div");o.className="editor-toolbar",o.setAttribute("role","toolbar");var c=this,h={};for(c.toolbar=e,t=0;t<e.length;t++)if(!(e[t].name=="guide"&&c.options.toolbarGuideIcon===!1)&&!(c.options.hideIcons&&c.options.hideIcons.indexOf(e[t].name)!=-1)&&!((e[t].name=="fullscreen"||e[t].name=="side-by-side")&&kf())){if(e[t]==="|"){for(var g=!1,x=t+1;x<e.length;x++)e[x]!=="|"&&(!c.options.hideIcons||c.options.hideIcons.indexOf(e[x].name)==-1)&&(g=!0);if(!g)continue}(function(A){var L;if(A==="|"?L=M4():A.children?L=F4(A,c.options.toolbarTips,c.options.shortcuts,c):L=ru(A,!0,c.options.toolbarTips,c.options.shortcuts,"button",c),h[A.name||A]=L,o.appendChild(L),A.name==="upload-image"){var O=document.createElement("input");O.className="imageInput",O.type="file",O.multiple=!0,O.name="image",O.accept=c.options.imageAccept,O.style.display="none",O.style.opacity=0,o.appendChild(O)}})(e[t])}c.toolbar_div=o,c.toolbarElements=h;var y=this.codemirror;y.on("cursorActivity",function(){var A=yo(y);for(var L in h)(function(O){var P=h[O];A[O]?P.classList.add("active"):O!="fullscreen"&&O!="side-by-side"&&P.classList.remove("active")})(L)});var z=y.getWrapperElement();return z.parentNode.insertBefore(o,z),o}};ft.prototype.createStatusbar=function(e){e=e||this.options.status;var t=this.options,o=this.codemirror;if(!(!e||e.length===0)){var c=[],h,g,x,y;for(h=0;h<e.length;h++)if(g=void 0,x=void 0,y=void 0,typeof e[h]=="object")c.push({className:e[h].className,defaultValue:e[h].defaultValue,onUpdate:e[h].onUpdate,onActivity:e[h].onActivity});else{var z=e[h];z==="words"?(y=function(Y){Y.innerHTML=Kx(o.getValue())},g=function(Y){Y.innerHTML=Kx(o.getValue())}):z==="lines"?(y=function(Y){Y.innerHTML=o.lineCount()},g=function(Y){Y.innerHTML=o.lineCount()}):z==="cursor"?(y=function(Y){Y.innerHTML="1:1"},x=function(Y){var V=o.getCursor(),ee=V.line+1,ae=V.ch+1;Y.innerHTML=ee+":"+ae}):z==="autosave"?y=function(Y){t.autosave!=null&&t.autosave.enabled===!0&&Y.setAttribute("id","autosaved")}:z==="upload-image"&&(y=function(Y){Y.innerHTML=t.imageTexts.sbInit}),c.push({className:z,defaultValue:y,onUpdate:g,onActivity:x})}var A=document.createElement("div");for(A.className="editor-statusbar",h=0;h<c.length;h++){var L=c[h],O=document.createElement("span");O.className=L.className,typeof L.defaultValue=="function"&&L.defaultValue(O),typeof L.onUpdate=="function"&&this.codemirror.on("update",function(Y,V){return function(){V.onUpdate(Y)}}(O,L)),typeof L.onActivity=="function"&&this.codemirror.on("cursorActivity",function(Y,V){return function(){V.onActivity(Y)}}(O,L)),A.appendChild(O)}var P=this.codemirror.getWrapperElement();return P.parentNode.insertBefore(A,P.nextSibling),A}};ft.prototype.value=function(e){var t=this.codemirror;if(e===void 0)return t.getValue();if(t.getDoc().setValue(e),this.isPreviewActive()){var o=t.getWrapperElement(),c=o.lastChild,h=this.options.previewRender(e,c);h!==null&&(c.innerHTML=h)}return this};ft.toggleBold=Zu;ft.toggleItalic=Ju;ft.toggleStrikethrough=Qu;ft.toggleBlockquote=th;ft.toggleHeadingSmaller=Al;ft.toggleHeadingBigger=rh;ft.toggleHeading1=nh;ft.toggleHeading2=ih;ft.toggleHeading3=oh;ft.toggleHeading4=bp;ft.toggleHeading5=yp;ft.toggleHeading6=wp;ft.toggleCodeBlock=eh;ft.toggleUnorderedList=ah;ft.toggleOrderedList=sh;ft.cleanBlock=lh;ft.drawLink=ch;ft.drawImage=uh;ft.drawUploadedImage=_p;ft.drawTable=hh;ft.drawHorizontalRule=dh;ft.undo=fh;ft.redo=ph;ft.togglePreview=mh;ft.toggleSideBySide=us;ft.toggleFullScreen=na;ft.prototype.toggleBold=function(){Zu(this)};ft.prototype.toggleItalic=function(){Ju(this)};ft.prototype.toggleStrikethrough=function(){Qu(this)};ft.prototype.toggleBlockquote=function(){th(this)};ft.prototype.toggleHeadingSmaller=function(){Al(this)};ft.prototype.toggleHeadingBigger=function(){rh(this)};ft.prototype.toggleHeading1=function(){nh(this)};ft.prototype.toggleHeading2=function(){ih(this)};ft.prototype.toggleHeading3=function(){oh(this)};ft.prototype.toggleHeading4=function(){bp(this)};ft.prototype.toggleHeading5=function(){yp(this)};ft.prototype.toggleHeading6=function(){wp(this)};ft.prototype.toggleCodeBlock=function(){eh(this)};ft.prototype.toggleUnorderedList=function(){ah(this)};ft.prototype.toggleOrderedList=function(){sh(this)};ft.prototype.cleanBlock=function(){lh(this)};ft.prototype.drawLink=function(){ch(this)};ft.prototype.drawImage=function(){uh(this)};ft.prototype.drawUploadedImage=function(){_p(this)};ft.prototype.drawTable=function(){hh(this)};ft.prototype.drawHorizontalRule=function(){dh(this)};ft.prototype.undo=function(){fh(this)};ft.prototype.redo=function(){ph(this)};ft.prototype.togglePreview=function(){mh(this)};ft.prototype.toggleSideBySide=function(){us(this)};ft.prototype.toggleFullScreen=function(){na(this)};ft.prototype.isPreviewActive=function(){var e=this.codemirror,t=e.getWrapperElement(),o=t.lastChild;return o.classList.contains("editor-preview-active")};ft.prototype.isSideBySideActive=function(){var e=this.codemirror,t=e.getWrapperElement(),o=t.nextSibling;return o.classList.contains("editor-preview-active-side")};ft.prototype.isFullscreenActive=function(){var e=this.codemirror;return e.getOption("fullScreen")};ft.prototype.getState=function(){var e=this.codemirror;return yo(e)};ft.prototype.toTextArea=function(){var e=this.codemirror,t=e.getWrapperElement(),o=t.parentNode;o&&(this.gui.toolbar&&o.removeChild(this.gui.toolbar),this.gui.statusbar&&o.removeChild(this.gui.statusbar),this.gui.sideBySide&&o.removeChild(this.gui.sideBySide)),o.parentNode.insertBefore(t,o),o.remove(),e.toTextArea(),this.autosaveTimeoutId&&(clearTimeout(this.autosaveTimeoutId),this.autosaveTimeoutId=void 0,this.clearAutosavedValue())};var X4=ft,Y4=Object.defineProperty,j4=Object.defineProperties,$4=Object.getOwnPropertyDescriptors,Zx=Object.getOwnPropertySymbols,V4=Object.prototype.hasOwnProperty,U4=Object.prototype.propertyIsEnumerable,Jx=(e,t,o)=>t in e?Y4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,G4=(e,t)=>{for(var o in t||(t={}))V4.call(t,o)&&Jx(e,o,t[o]);if(Zx)for(var o of Zx(t))U4.call(t,o)&&Jx(e,o,t[o]);return e},q4=(e,t)=>j4(e,$4(t));const K4={class:"vue-easymde-editor"},Z4=hr({props:{modelValue:null,options:null},emits:["update:modelValue","change","blur"],setup(e,{expose:t,emit:o}){const c=e,h=Ft();let g=null;const x=Ft(c.modelValue||"");return Kr(()=>{if(h.value){const A=q4(G4({},c.options||{}),{element:h.value,initialValue:c.modelValue||""});g=new X4(A),g.codemirror.on("change",()=>{if(g){const L=g.value();x.value=L,o("update:modelValue",L),o("change",L)}}),g.codemirror.on("blur",()=>{g&&o("blur")})}}),er(()=>c.modelValue,A=>{g&&A!==x.value&&g.value(A||"")}),t({clear:()=>{g&&g.value("")},getMDEInstance:()=>g}),mo(()=>{g&&g.cleanup(),g=null}),(A,L)=>(Mt(),Bt("div",K4,[G("textarea",{ref_key:"textArea",ref:h},`
  805. `,512)]))}}),J4=e=>{e.component("VueEasymde",Z4)};var Q4={install:J4};function Cf(e,t,o){var c,h,g,x,y;t==null&&(t=100);function z(){var L=Date.now()-x;L<t&&L>=0?c=setTimeout(z,t-L):(c=null,o||(y=e.apply(g,h),g=h=null))}var A=function(){g=this,h=arguments,x=Date.now();var L=o&&!c;return c||(c=setTimeout(z,t)),L&&(y=e.apply(g,h),g=h=null),y};return A.clear=function(){c&&(clearTimeout(c),c=null)},A.flush=function(){c&&(y=e.apply(g,h),g=h=null,clearTimeout(c),c=null)},A}Cf.debounce=Cf;var Fd=Cf;function eI(e,t,o){Qt(e)?er(e,(c,h)=>{h==null||h.removeEventListener(t,o),c==null||c.addEventListener(t,o)}):Kr(()=>{e.addEventListener(t,o)}),Ri(()=>{var c;(c=zt(e))===null||c===void 0||c.removeEventListener(t,o)})}function tI(e,t){const o="pointerdown";return typeof window>"u"||!window?void 0:eI(window,o,h=>{const g=zt(e);!g||g===h.target||h.composedPath().includes(g)||t(h)})}function rI(e,t,o){let c=null;const h=Ft(!1);Kr(()=>{(e.content!==void 0||o.value)&&(h.value=!0),c=new MutationObserver(g),c.observe(t.value,{childList:!0,subtree:!0})}),Ri(()=>c.disconnect()),er(o,x=>{x?h.value=!0:h.value=!1});const g=()=>{e.content?h.value=!0:h.value=!1};return{hasContent:h}}function os(e,t){var o=e.getBoundingClientRect(),c=1,h=1;return{width:o.width/c,height:o.height/h,top:o.top/h,right:o.right/c,bottom:o.bottom/h,left:o.left/c,x:o.left/c,y:o.top/h}}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 Cp(e){var t=Un(e),o=t.pageXOffset,c=t.pageYOffset;return{scrollLeft:o,scrollTop:c}}function Dl(e){var t=Un(e).Element;return e instanceof t||e instanceof Element}function kn(e){var t=Un(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function R1(e){if(typeof ShadowRoot>"u")return!1;var t=Un(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function nI(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function iI(e){return e===Un(e)||!kn(e)?Cp(e):nI(e)}function gi(e){return e?(e.nodeName||"").toLowerCase():null}function _o(e){return((Dl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sp(e){return os(_o(e)).left+Cp(e).scrollLeft}function Oi(e){return Un(e).getComputedStyle(e)}function Ap(e){var t=Oi(e),o=t.overflow,c=t.overflowX,h=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+h+c)}function oI(e){var t=e.getBoundingClientRect(),o=t.width/e.offsetWidth||1,c=t.height/e.offsetHeight||1;return o!==1||c!==1}function aI(e,t,o){o===void 0&&(o=!1);var c=kn(t);kn(t)&&oI(t);var h=_o(t),g=os(e),x={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(c||!c&&!o)&&((gi(t)!=="body"||Ap(h))&&(x=iI(t)),kn(t)?(y=os(t),y.x+=t.clientLeft,y.y+=t.clientTop):h&&(y.x=Sp(h))),{x:g.left+x.scrollLeft-y.x,y:g.top+x.scrollTop-y.y,width:g.width,height:g.height}}function Dp(e){var t=os(e),o=e.offsetWidth,c=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-c)<=1&&(c=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:c}}function gh(e){return gi(e)==="html"?e:e.assignedSlot||e.parentNode||(R1(e)?e.host:null)||_o(e)}function B1(e){return["html","body","#document"].indexOf(gi(e))>=0?e.ownerDocument.body:kn(e)&&Ap(e)?e:B1(gh(e))}function ul(e,t){var o;t===void 0&&(t=[]);var c=B1(e),h=c===((o=e.ownerDocument)==null?void 0:o.body),g=Un(c),x=h?[g].concat(g.visualViewport||[],Ap(c)?c:[]):c,y=t.concat(x);return h?y:y.concat(ul(gh(x)))}function sI(e){return["table","td","th"].indexOf(gi(e))>=0}function Qx(e){return!kn(e)||Oi(e).position==="fixed"?null:e.offsetParent}function lI(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,o=navigator.userAgent.indexOf("Trident")!==-1;if(o&&kn(e)){var c=Oi(e);if(c.position==="fixed")return null}for(var h=gh(e);kn(h)&&["html","body"].indexOf(gi(h))<0;){var g=Oi(h);if(g.transform!=="none"||g.perspective!=="none"||g.contain==="paint"||["transform","perspective"].indexOf(g.willChange)!==-1||t&&g.willChange==="filter"||t&&g.filter&&g.filter!=="none")return h;h=h.parentNode}return null}function Vl(e){for(var t=Un(e),o=Qx(e);o&&sI(o)&&Oi(o).position==="static";)o=Qx(o);return o&&(gi(o)==="html"||gi(o)==="body"&&Oi(o).position==="static")?t:o||lI(e)||t}var Cn="top",$n="bottom",Vn="right",Sn="left",Ep="auto",Ul=[Cn,$n,Vn,Sn],as="start",El="end",cI="clippingParents",N1="viewport",Gs="popper",uI="reference",eb=Ul.reduce(function(e,t){return e.concat([t+"-"+as,t+"-"+El])},[]),H1=[].concat(Ul,[Ep]).reduce(function(e,t){return e.concat([t,t+"-"+as,t+"-"+El])},[]),hI="beforeRead",dI="read",fI="afterRead",pI="beforeMain",mI="main",gI="afterMain",vI="beforeWrite",xI="write",bI="afterWrite",yI=[hI,dI,fI,pI,mI,gI,vI,xI,bI];function wI(e){var t=new Map,o=new Set,c=[];e.forEach(function(g){t.set(g.name,g)});function h(g){o.add(g.name);var x=[].concat(g.requires||[],g.requiresIfExists||[]);x.forEach(function(y){if(!o.has(y)){var z=t.get(y);z&&h(z)}}),c.push(g)}return e.forEach(function(g){o.has(g.name)||h(g)}),c}function _I(e){var t=wI(e);return yI.reduce(function(o,c){return o.concat(t.filter(function(h){return h.phase===c}))},[])}function zI(e){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(e())})})),t}}function di(e){return e.split("-")[0]}function kI(e){var t=e.reduce(function(o,c){var h=o[c.name];return o[c.name]=h?Object.assign({},h,c,{options:Object.assign({},h.options,c.options),data:Object.assign({},h.data,c.data)}):c,o},{});return Object.keys(t).map(function(o){return t[o]})}function CI(e){var t=Un(e),o=_o(e),c=t.visualViewport,h=o.clientWidth,g=o.clientHeight,x=0,y=0;return c&&(h=c.width,g=c.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=c.offsetLeft,y=c.offsetTop)),{width:h,height:g,x:x+Sp(e),y}}var so=Math.max,Ll=Math.min,Kc=Math.round;function SI(e){var t,o=_o(e),c=Cp(e),h=(t=e.ownerDocument)==null?void 0:t.body,g=so(o.scrollWidth,o.clientWidth,h?h.scrollWidth:0,h?h.clientWidth:0),x=so(o.scrollHeight,o.clientHeight,h?h.scrollHeight:0,h?h.clientHeight:0),y=-c.scrollLeft+Sp(e),z=-c.scrollTop;return Oi(h||o).direction==="rtl"&&(y+=so(o.clientWidth,h?h.clientWidth:0)-g),{width:g,height:x,x:y,y:z}}function W1(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&R1(o)){var c=t;do{if(c&&e.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function Sf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function AI(e){var t=os(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function tb(e,t){return t===N1?Sf(CI(e)):kn(t)?AI(t):Sf(SI(_o(e)))}function DI(e){var t=ul(gh(e)),o=["absolute","fixed"].indexOf(Oi(e).position)>=0,c=o&&kn(e)?Vl(e):e;return Dl(c)?t.filter(function(h){return Dl(h)&&W1(h,c)&&gi(h)!=="body"}):[]}function EI(e,t,o){var c=t==="clippingParents"?DI(e):[].concat(t),h=[].concat(c,[o]),g=h[0],x=h.reduce(function(y,z){var A=tb(e,z);return y.top=so(A.top,y.top),y.right=Ll(A.right,y.right),y.bottom=Ll(A.bottom,y.bottom),y.left=so(A.left,y.left),y},tb(e,g));return x.width=x.right-x.left,x.height=x.bottom-x.top,x.x=x.left,x.y=x.top,x}function ss(e){return e.split("-")[1]}function Lp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X1(e){var t=e.reference,o=e.element,c=e.placement,h=c?di(c):null,g=c?ss(c):null,x=t.x+t.width/2-o.width/2,y=t.y+t.height/2-o.height/2,z;switch(h){case Cn:z={x,y:t.y-o.height};break;case $n:z={x,y:t.y+t.height};break;case Vn:z={x:t.x+t.width,y};break;case Sn:z={x:t.x-o.width,y};break;default:z={x:t.x,y:t.y}}var A=h?Lp(h):null;if(A!=null){var L=A==="y"?"height":"width";switch(g){case as:z[A]=z[A]-(t[L]/2-o[L]/2);break;case El:z[A]=z[A]+(t[L]/2-o[L]/2);break}}return z}function Y1(){return{top:0,right:0,bottom:0,left:0}}function j1(e){return Object.assign({},Y1(),e)}function $1(e,t){return t.reduce(function(o,c){return o[c]=e,o},{})}function Tp(e,t){t===void 0&&(t={});var o=t,c=o.placement,h=c===void 0?e.placement:c,g=o.boundary,x=g===void 0?cI:g,y=o.rootBoundary,z=y===void 0?N1:y,A=o.elementContext,L=A===void 0?Gs:A,O=o.altBoundary,P=O===void 0?!1:O,Y=o.padding,V=Y===void 0?0:Y,ee=j1(typeof V!="number"?V:$1(V,Ul)),ae=L===Gs?uI:Gs,K=e.rects.popper,T=e.elements[P?ae:L],re=EI(Dl(T)?T:T.contextElement||_o(e.elements.popper),x,z),B=os(e.elements.reference),j=X1({reference:B,element:K,strategy:"absolute",placement:h}),oe=Sf(Object.assign({},K,j)),de=L===Gs?oe:B,ge={top:re.top-de.top+ee.top,bottom:de.bottom-re.bottom+ee.bottom,left:re.left-de.left+ee.left,right:de.right-re.right+ee.right},Te=e.modifiersData.offset;if(L===Gs&&Te){var Ne=Te[h];Object.keys(ge).forEach(function(ze){var Me=[Vn,$n].indexOf(ze)>=0?1:-1,ke=[Cn,$n].indexOf(ze)>=0?"y":"x";ge[ze]+=Ne[ke]*Me})}return ge}var rb={placement:"bottom",modifiers:[],strategy:"absolute"};function nb(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(c){return!(c&&typeof c.getBoundingClientRect=="function")})}function LI(e){e===void 0&&(e={});var t=e,o=t.defaultModifiers,c=o===void 0?[]:o,h=t.defaultOptions,g=h===void 0?rb:h;return function(y,z,A){A===void 0&&(A=g);var L={placement:"bottom",orderedModifiers:[],options:Object.assign({},rb,g),modifiersData:{},elements:{reference:y,popper:z},attributes:{},styles:{}},O=[],P=!1,Y={state:L,setOptions:function(K){var T=typeof K=="function"?K(L.options):K;ee(),L.options=Object.assign({},g,L.options,T),L.scrollParents={reference:Dl(y)?ul(y):y.contextElement?ul(y.contextElement):[],popper:ul(z)};var re=_I(kI([].concat(c,L.options.modifiers)));return L.orderedModifiers=re.filter(function(B){return B.enabled}),V(),Y.update()},forceUpdate:function(){if(!P){var K=L.elements,T=K.reference,re=K.popper;if(!!nb(T,re)){L.rects={reference:aI(T,Vl(re),L.options.strategy==="fixed"),popper:Dp(re)},L.reset=!1,L.placement=L.options.placement,L.orderedModifiers.forEach(function(Ne){return L.modifiersData[Ne.name]=Object.assign({},Ne.data)});for(var B=0;B<L.orderedModifiers.length;B++){if(L.reset===!0){L.reset=!1,B=-1;continue}var j=L.orderedModifiers[B],oe=j.fn,de=j.options,ge=de===void 0?{}:de,Te=j.name;typeof oe=="function"&&(L=oe({state:L,options:ge,name:Te,instance:Y})||L)}}}},update:zI(function(){return new Promise(function(ae){Y.forceUpdate(),ae(L)})}),destroy:function(){ee(),P=!0}};if(!nb(y,z))return Y;Y.setOptions(A).then(function(ae){!P&&A.onFirstUpdate&&A.onFirstUpdate(ae)});function V(){L.orderedModifiers.forEach(function(ae){var K=ae.name,T=ae.options,re=T===void 0?{}:T,B=ae.effect;if(typeof B=="function"){var j=B({state:L,name:K,instance:Y,options:re}),oe=function(){};O.push(j||oe)}})}function ee(){O.forEach(function(ae){return ae()}),O=[]}return Y}}var Zc={passive:!0};function TI(e){var t=e.state,o=e.instance,c=e.options,h=c.scroll,g=h===void 0?!0:h,x=c.resize,y=x===void 0?!0:x,z=Un(t.elements.popper),A=[].concat(t.scrollParents.reference,t.scrollParents.popper);return g&&A.forEach(function(L){L.addEventListener("scroll",o.update,Zc)}),y&&z.addEventListener("resize",o.update,Zc),function(){g&&A.forEach(function(L){L.removeEventListener("scroll",o.update,Zc)}),y&&z.removeEventListener("resize",o.update,Zc)}}var FI={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:TI,data:{}};function MI(e){var t=e.state,o=e.name;t.modifiersData[o]=X1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var PI={name:"popperOffsets",enabled:!0,phase:"read",fn:MI,data:{}},OI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function II(e){var t=e.x,o=e.y,c=window,h=c.devicePixelRatio||1;return{x:Kc(Kc(t*h)/h)||0,y:Kc(Kc(o*h)/h)||0}}function ib(e){var t,o=e.popper,c=e.popperRect,h=e.placement,g=e.variation,x=e.offsets,y=e.position,z=e.gpuAcceleration,A=e.adaptive,L=e.roundOffsets,O=L===!0?II(x):typeof L=="function"?L(x):x,P=O.x,Y=P===void 0?0:P,V=O.y,ee=V===void 0?0:V,ae=x.hasOwnProperty("x"),K=x.hasOwnProperty("y"),T=Sn,re=Cn,B=window;if(A){var j=Vl(o),oe="clientHeight",de="clientWidth";j===Un(o)&&(j=_o(o),Oi(j).position!=="static"&&y==="absolute"&&(oe="scrollHeight",de="scrollWidth")),j=j,(h===Cn||(h===Sn||h===Vn)&&g===El)&&(re=$n,ee-=j[oe]-c.height,ee*=z?1:-1),(h===Sn||(h===Cn||h===$n)&&g===El)&&(T=Vn,Y-=j[de]-c.width,Y*=z?1:-1)}var ge=Object.assign({position:y},A&&OI);if(z){var Te;return Object.assign({},ge,(Te={},Te[re]=K?"0":"",Te[T]=ae?"0":"",Te.transform=(B.devicePixelRatio||1)<=1?"translate("+Y+"px, "+ee+"px)":"translate3d("+Y+"px, "+ee+"px, 0)",Te))}return Object.assign({},ge,(t={},t[re]=K?ee+"px":"",t[T]=ae?Y+"px":"",t.transform="",t))}function RI(e){var t=e.state,o=e.options,c=o.gpuAcceleration,h=c===void 0?!0:c,g=o.adaptive,x=g===void 0?!0:g,y=o.roundOffsets,z=y===void 0?!0:y,A={placement:di(t.placement),variation:ss(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:h};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ib(Object.assign({},A,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:x,roundOffsets:z})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ib(Object.assign({},A,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:z})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var BI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:RI,data:{}};function NI(e){var t=e.state;Object.keys(t.elements).forEach(function(o){var c=t.styles[o]||{},h=t.attributes[o]||{},g=t.elements[o];!kn(g)||!gi(g)||(Object.assign(g.style,c),Object.keys(h).forEach(function(x){var y=h[x];y===!1?g.removeAttribute(x):g.setAttribute(x,y===!0?"":y)}))})}function HI(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(c){var h=t.elements[c],g=t.attributes[c]||{},x=Object.keys(t.styles.hasOwnProperty(c)?t.styles[c]:o[c]),y=x.reduce(function(z,A){return z[A]="",z},{});!kn(h)||!gi(h)||(Object.assign(h.style,y),Object.keys(g).forEach(function(z){h.removeAttribute(z)}))})}}var WI={name:"applyStyles",enabled:!0,phase:"write",fn:NI,effect:HI,requires:["computeStyles"]},XI=[FI,PI,BI,WI],YI=LI({defaultModifiers:XI});function jI(e){return e==="x"?"y":"x"}function nu(e,t,o){return so(e,Ll(t,o))}function $I(e){var t=e.state,o=e.options,c=e.name,h=o.mainAxis,g=h===void 0?!0:h,x=o.altAxis,y=x===void 0?!1:x,z=o.boundary,A=o.rootBoundary,L=o.altBoundary,O=o.padding,P=o.tether,Y=P===void 0?!0:P,V=o.tetherOffset,ee=V===void 0?0:V,ae=Tp(t,{boundary:z,rootBoundary:A,padding:O,altBoundary:L}),K=di(t.placement),T=ss(t.placement),re=!T,B=Lp(K),j=jI(B),oe=t.modifiersData.popperOffsets,de=t.rects.reference,ge=t.rects.popper,Te=typeof ee=="function"?ee(Object.assign({},t.rects,{placement:t.placement})):ee,Ne={x:0,y:0};if(!!oe){if(g||y){var ze=B==="y"?Cn:Sn,Me=B==="y"?$n:Vn,ke=B==="y"?"height":"width",De=oe[B],he=oe[B]+ae[ze],Le=oe[B]-ae[Me],Se=Y?-ge[ke]/2:0,He=T===as?de[ke]:ge[ke],ot=T===as?-ge[ke]:-de[ke],vt=t.elements.arrow,et=Y&&vt?Dp(vt):{width:0,height:0},ne=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Y1(),te=ne[ze],tt=ne[Me],we=nu(0,de[ke],et[ke]),Pe=re?de[ke]/2-Se-we-te-Te:He-we-te-Te,$e=re?-de[ke]/2+Se+we+tt+Te:ot+we+tt+Te,Ge=t.elements.arrow&&Vl(t.elements.arrow),at=Ge?B==="y"?Ge.clientTop||0:Ge.clientLeft||0:0,Ke=t.modifiersData.offset?t.modifiersData.offset[t.placement][B]:0,dt=oe[B]+Pe-Ke-at,ue=oe[B]+$e-Ke;if(g){var ye=nu(Y?Ll(he,dt):he,De,Y?so(Le,ue):Le);oe[B]=ye,Ne[B]=ye-De}if(y){var Oe=B==="x"?Cn:Sn,Xe=B==="x"?$n:Vn,Ye=oe[j],Ze=Ye+ae[Oe],Ve=Ye-ae[Xe],xe=nu(Y?Ll(Ze,dt):Ze,Ye,Y?so(Ve,ue):Ve);oe[j]=xe,Ne[j]=xe-Ye}}t.modifiersData[c]=Ne}}var VI={name:"preventOverflow",enabled:!0,phase:"main",fn:$I,requiresIfExists:["offset"]},UI={left:"right",right:"left",bottom:"top",top:"bottom"};function iu(e){return e.replace(/left|right|bottom|top/g,function(t){return UI[t]})}var GI={start:"end",end:"start"};function ob(e){return e.replace(/start|end/g,function(t){return GI[t]})}function qI(e,t){t===void 0&&(t={});var o=t,c=o.placement,h=o.boundary,g=o.rootBoundary,x=o.padding,y=o.flipVariations,z=o.allowedAutoPlacements,A=z===void 0?H1:z,L=ss(c),O=L?y?eb:eb.filter(function(V){return ss(V)===L}):Ul,P=O.filter(function(V){return A.indexOf(V)>=0});P.length===0&&(P=O);var Y=P.reduce(function(V,ee){return V[ee]=Tp(e,{placement:ee,boundary:h,rootBoundary:g,padding:x})[di(ee)],V},{});return Object.keys(Y).sort(function(V,ee){return Y[V]-Y[ee]})}function KI(e){if(di(e)===Ep)return[];var t=iu(e);return[ob(e),t,ob(t)]}function ZI(e){var t=e.state,o=e.options,c=e.name;if(!t.modifiersData[c]._skip){for(var h=o.mainAxis,g=h===void 0?!0:h,x=o.altAxis,y=x===void 0?!0:x,z=o.fallbackPlacements,A=o.padding,L=o.boundary,O=o.rootBoundary,P=o.altBoundary,Y=o.flipVariations,V=Y===void 0?!0:Y,ee=o.allowedAutoPlacements,ae=t.options.placement,K=di(ae),T=K===ae,re=z||(T||!V?[iu(ae)]:KI(ae)),B=[ae].concat(re).reduce(function(tt,we){return tt.concat(di(we)===Ep?qI(t,{placement:we,boundary:L,rootBoundary:O,padding:A,flipVariations:V,allowedAutoPlacements:ee}):we)},[]),j=t.rects.reference,oe=t.rects.popper,de=new Map,ge=!0,Te=B[0],Ne=0;Ne<B.length;Ne++){var ze=B[Ne],Me=di(ze),ke=ss(ze)===as,De=[Cn,$n].indexOf(Me)>=0,he=De?"width":"height",Le=Tp(t,{placement:ze,boundary:L,rootBoundary:O,altBoundary:P,padding:A}),Se=De?ke?Vn:Sn:ke?$n:Cn;j[he]>oe[he]&&(Se=iu(Se));var He=iu(Se),ot=[];if(g&&ot.push(Le[Me]<=0),y&&ot.push(Le[Se]<=0,Le[He]<=0),ot.every(function(tt){return tt})){Te=ze,ge=!1;break}de.set(ze,ot)}if(ge)for(var vt=V?3:1,et=function(we){var Pe=B.find(function($e){var Ge=de.get($e);if(Ge)return Ge.slice(0,we).every(function(at){return at})});if(Pe)return Te=Pe,"break"},ne=vt;ne>0;ne--){var te=et(ne);if(te==="break")break}t.placement!==Te&&(t.modifiersData[c]._skip=!0,t.placement=Te,t.reset=!0)}}var JI={name:"flip",enabled:!0,phase:"main",fn:ZI,requiresIfExists:["offset"],data:{_skip:!1}};function QI(e,t,o){var c=di(e),h=[Sn,Cn].indexOf(c)>=0?-1:1,g=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,x=g[0],y=g[1];return x=x||0,y=(y||0)*h,[Sn,Vn].indexOf(c)>=0?{x:y,y:x}:{x,y}}function e6(e){var t=e.state,o=e.options,c=e.name,h=o.offset,g=h===void 0?[0,0]:h,x=H1.reduce(function(L,O){return L[O]=QI(O,t.rects,g),L},{}),y=x[t.placement],z=y.x,A=y.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=z,t.modifiersData.popperOffsets.y+=A),t.modifiersData[c]=x}var t6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:e6},r6=function(t,o){return t=typeof t=="function"?t(Object.assign({},o.rects,{placement:o.placement})):t,j1(typeof t!="number"?t:$1(t,Ul))};function n6(e){var t,o=e.state,c=e.name,h=e.options,g=o.elements.arrow,x=o.modifiersData.popperOffsets,y=di(o.placement),z=Lp(y),A=[Sn,Vn].indexOf(y)>=0,L=A?"height":"width";if(!(!g||!x)){var O=r6(h.padding,o),P=Dp(g),Y=z==="y"?Cn:Sn,V=z==="y"?$n:Vn,ee=o.rects.reference[L]+o.rects.reference[z]-x[z]-o.rects.popper[L],ae=x[z]-o.rects.reference[z],K=Vl(g),T=K?z==="y"?K.clientHeight||0:K.clientWidth||0:0,re=ee/2-ae/2,B=O[Y],j=T-P[L]-O[V],oe=T/2-P[L]/2+re,de=nu(B,oe,j),ge=z;o.modifiersData[c]=(t={},t[ge]=de,t.centerOffset=de-oe,t)}}function i6(e){var t=e.state,o=e.options,c=o.element,h=c===void 0?"[data-popper-arrow]":c;h!=null&&(typeof h=="string"&&(h=t.elements.popper.querySelector(h),!h)||!W1(t.elements.popper,h)||(t.elements.arrow=h))}var o6={name:"arrow",enabled:!0,phase:"main",fn:n6,effect:i6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};const Md=e=>parseInt(e,10);function a6({arrowPadding:e,emit:t,locked:o,offsetDistance:c,offsetSkid:h,placement:g,popperNode:x,triggerNode:y}){const z=An({isOpen:!1,popperInstance:null}),A=ee=>{var ae;(ae=z.popperInstance)===null||ae===void 0||ae.setOptions(K=>({...K,modifiers:[...K.modifiers,{name:"eventListeners",enabled:ee}]}))},L=()=>A(!0),O=()=>A(!1),P=()=>{!z.isOpen||(z.isOpen=!1,t("close:popper"))},Y=()=>{z.isOpen||(z.isOpen=!0,t("open:popper"))};er([()=>z.isOpen,g],async([ee])=>{ee?(await V(),L()):O()});const V=async()=>{await fi(),z.popperInstance=YI(y.value,x.value,{placement:g.value,modifiers:[VI,JI,{name:"flip",enabled:!o.value},o6,{name:"arrow",options:{padding:Md(e.value)}},t6,{name:"offset",options:{offset:[Md(h.value),Md(c.value)]}}]}),z.popperInstance.update()};return Ri(()=>{var ee;(ee=z.popperInstance)===null||ee===void 0||ee.destroy()}),{...Il(z),open:Y,close:P}}const s6={id:"arrow","data-popper-arrow":""};function l6(e,t){return Mt(),Bt("div",s6)}function V1(e,t){t===void 0&&(t={});var o=t.insertAt;if(!(!e||typeof document>"u")){var c=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.type="text/css",o==="top"&&c.firstChild?c.insertBefore(h,c.firstChild):c.appendChild(h),h.styleSheet?h.styleSheet.cssText=e:h.appendChild(document.createTextNode(e))}}var c6=`
  806. #arrow[data-v-20b7fd4a],
  807. #arrow[data-v-20b7fd4a]::before {
  808. transition: background 250ms ease-in-out;
  809. position: absolute;
  810. width: calc(10px - var(--popper-theme-border-width, 0px));
  811. height: calc(10px - var(--popper-theme-border-width, 0px));
  812. box-sizing: border-box;
  813. background: var(--popper-theme-background-color);
  814. }
  815. #arrow[data-v-20b7fd4a] {
  816. visibility: hidden;
  817. }
  818. #arrow[data-v-20b7fd4a]::before {
  819. visibility: visible;
  820. content: "";
  821. transform: rotate(45deg);
  822. }
  823. /* Top arrow */
  824. .popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a] {
  825. bottom: -5px;
  826. }
  827. .popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a]::before {
  828. border-right: var(--popper-theme-border-width)
  829. var(--popper-theme-border-style) var(--popper-theme-border-color);
  830. border-bottom: var(--popper-theme-border-width)
  831. var(--popper-theme-border-style) var(--popper-theme-border-color);
  832. }
  833. /* Bottom arrow */
  834. .popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a] {
  835. top: -5px;
  836. }
  837. .popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a]::before {
  838. border-left: var(--popper-theme-border-width)
  839. var(--popper-theme-border-style) var(--popper-theme-border-color);
  840. border-top: var(--popper-theme-border-width)
  841. var(--popper-theme-border-style) var(--popper-theme-border-color);
  842. }
  843. /* Left arrow */
  844. .popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a] {
  845. right: -5px;
  846. }
  847. .popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a]::before {
  848. border-right: var(--popper-theme-border-width)
  849. var(--popper-theme-border-style) var(--popper-theme-border-color);
  850. border-top: var(--popper-theme-border-width)
  851. var(--popper-theme-border-style) var(--popper-theme-border-color);
  852. }
  853. /* Right arrow */
  854. .popper[data-popper-placement^="right"] > #arrow[data-v-20b7fd4a] {
  855. left: -5px;
  856. }
  857. `;V1(c6);const Fp={};Fp.render=l6;Fp.__scopeId="data-v-20b7fd4a";var u6=Fp;const h6=["onKeyup"];var U1={props:{placement:{type:String,default:"bottom",validator:function(e){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(e)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},emits:["open:popper","close:popper"],setup(e,{emit:t}){const o=e;z0(He=>({c81fc0a4:e.zIndex}));const c=g0(),h=Ft(null),g=Ft(null),x=Ft(null),y=Ft(!1);Kr(()=>{const He=c.default();if(He&&He.length>1)return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${He.length} child nodes.`)});const{arrowPadding:z,closeDelay:A,content:L,disableClickAway:O,disabled:P,interactive:Y,locked:V,offsetDistance:ee,offsetSkid:ae,openDelay:K,placement:T,show:re}=Il(o),{isOpen:B,open:j,close:oe}=a6({arrowPadding:z,emit:t,locked:V,offsetDistance:ee,offsetSkid:ae,placement:T,popperNode:g,triggerNode:x}),{hasContent:de}=rI(c,g,L),ge=It(()=>re.value!==null),Te=It(()=>P.value||!de.value),Ne=It(()=>B.value&&!Te.value),ze=It(()=>!O.value&&!ge.value),Me=It(()=>Y.value?`border: ${ee.value}px solid transparent; margin: -${ee.value}px;`:null),ke=Fd.debounce(j,K.value),De=Fd.debounce(oe,A.value),he=async()=>{Te.value||ge.value||(De.clear(),ke())},Le=async()=>{ge.value||(ke.clear(),De())},Se=()=>{B.value?Le():he()};return er([de,P],([He,ot])=>{B.value&&(!He||ot)&&oe()}),er(B,He=>{He?y.value=!0:Fd.debounce(()=>{y.value=!1},200)}),bl(()=>{ge.value&&(re.value?ke():De())}),bl(()=>{ze.value&&tI(h,Le)}),(He,ot)=>(Mt(),Bt("div",{class:"inline-block",style:ls(zt(Me)),onMouseleave:ot[2]||(ot[2]=vt=>e.hover&&Le()),ref:(vt,et)=>{et.popperContainerNode=vt,h.value=vt}},[G("div",{ref:(vt,et)=>{et.triggerNode=vt,x.value=vt},onMouseover:ot[0]||(ot[0]=vt=>e.hover&&he()),onClick:Se,onFocus:he,onKeyup:P0(Le,["esc"])},[Nd(He.$slots,"default")],40,h6),Je(Nu,{name:"fade"},{default:Pt(()=>[Uo(G("div",{onClick:ot[1]||(ot[1]=vt=>!zt(Y)&&Le()),class:"popper",ref:(vt,et)=>{et.popperNode=vt,g.value=vt}},[Nd(He.$slots,"content",{close:zt(oe),isOpen:y.value},()=>[Ot(hl(zt(L)),1)]),e.arrow?(Mt(),Nl(u6,{key:0})):Ou("",!0)],512),[[ao,zt(Ne)]])]),_:3})],36))}},d6=`
  858. .inline-block[data-v-5784ed69] {
  859. display: inline-block;
  860. }
  861. .popper[data-v-5784ed69] {
  862. transition: background 250ms ease-in-out;
  863. background: var(--popper-theme-background-color);
  864. padding: var(--popper-theme-padding);
  865. color: var(--popper-theme-text-color);
  866. border-radius: var(--popper-theme-border-radius);
  867. border-width: var(--popper-theme-border-width);
  868. border-style: var(--popper-theme-border-style);
  869. border-color: var(--popper-theme-border-color);
  870. box-shadow: var(--popper-theme-box-shadow);
  871. z-index: var(--c81fc0a4);
  872. }
  873. .popper[data-v-5784ed69]:hover,
  874. .popper:hover > #arrow[data-v-5784ed69]::before {
  875. background: var(--popper-theme-background-color-hover);
  876. }
  877. .inline-block[data-v-5784ed69] {
  878. display: inline-block;
  879. }
  880. .fade-enter-active[data-v-5784ed69],
  881. .fade-leave-active[data-v-5784ed69] {
  882. transition: opacity 0.2s ease;
  883. }
  884. .fade-enter-from[data-v-5784ed69],
  885. .fade-leave-to[data-v-5784ed69] {
  886. opacity: 0;
  887. }
  888. `;V1(d6);U1.__scopeId="data-v-5784ed69";var f6=(()=>{const e=U1;return e.install=t=>{t.component("Popper",e)},e})(),Bn=sp,p6=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof uf<"u"?uf:typeof self<"u"?self:{};function m6(e,t){return t={exports:{}},e(t,t.exports),t.exports}var g6=m6(function(e,t){(function(o,c){e.exports=c()})(p6,function(){return function o(c,h,g){var x=window,y="application/octet-stream",z=g||y,A=c,L=!h&&!g&&A,O=document.createElement("a"),P=function(de){return String(de)},Y=x.Blob||x.MozBlob||x.WebKitBlob||P,V=h||"download",ee,ae;if(Y=Y.call?Y.bind(x):Blob,String(this)==="true"&&(A=[A,z],z=A[0],A=A[1]),L&&L.length<2048&&(V=L.split("/").pop().split("?")[0],O.href=L,O.href.indexOf(L)!==-1)){var K=new XMLHttpRequest;return K.open("GET",L,!0),K.responseType="blob",K.onload=function(de){o(de.target.response,V,y)},setTimeout(function(){K.send()},0),K}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(A))if(A.length>1024*1024*1.999&&Y!==P)A=j(A),z=A.type||y;else return navigator.msSaveBlob?navigator.msSaveBlob(j(A),V):oe(A);else if(/([\x80-\xff])/.test(A)){var T=0,re=new Uint8Array(A.length),B=re.length;for(T;T<B;++T)re[T]=A.charCodeAt(T);A=new Y([re],{type:z})}ee=A instanceof Y?A:new Y([A],{type:z});function j(de){var ge=de.split(/[:;,]/),Te=ge[1],Ne=ge[2]=="base64"?atob:decodeURIComponent,ze=Ne(ge.pop()),Me=ze.length,ke=0,De=new Uint8Array(Me);for(ke;ke<Me;++ke)De[ke]=ze.charCodeAt(ke);return new Y([De],{type:Te})}function oe(de,ge){if("download"in O)return O.href=de,O.setAttribute("download",V),O.className="download-js-link",O.innerHTML="downloading...",O.style.display="none",document.body.appendChild(O),setTimeout(function(){O.click(),document.body.removeChild(O),ge===!0&&setTimeout(function(){x.URL.revokeObjectURL(O.href)},250)},66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(de)&&(de="data:"+de.replace(/^data:([\w\/\-\+]+)/,y)),window.open(de)||confirm(`Displaying New Document
  889. Use Save As... to download, then click back to return to this page.`)&&(location.href=de),!0;var Te=document.createElement("iframe");document.body.appendChild(Te),!ge&&/^data:/.test(de)&&(de="data:"+de.replace(/^data:([\w\/\-\+]+)/,y)),Te.src=de,setTimeout(function(){document.body.removeChild(Te)},333)}if(navigator.msSaveBlob)return navigator.msSaveBlob(ee,V);if(x.URL)oe(x.URL.createObjectURL(ee),!0);else{if(typeof ee=="string"||ee.constructor===P)try{return oe("data:"+z+";base64,"+x.btoa(ee))}catch{return oe("data:"+z+","+encodeURIComponent(ee))}ae=new FileReader,ae.onload=function(de){oe(this.result)},ae.readAsDataURL(ee)}return!0}})}),Tl={name:"vue3-json-excel",props:{type:{type:String,default:"xls"},jsonData:{type:Array,required:!1,default:null},fields:{type:Object,default:()=>null},exportFields:{type:Object,default:()=>null},defaultValue:{type:String,required:!1,default:""},header:{default:""},footer:{default:""},name:{type:String,default:"jsonData.xls"},fetch:{type:Function},meta:{type:Array,default:()=>[]},worksheet:{type:String,default:"\u88681"},beforeGenerate:{type:Function},beforeFinish:{type:Function},escapeCsv:{type:Boolean,default:!0},stringifyLongNum:{type:Boolean,default:!1}},setup(e){const{type:t,fields:o,exportFields:c,beforeFinish:h,header:g,footer:x,stringifyLongNum:y,beforeGenerate:z,jsonData:A,fetch:L,defaultValue:O,name:P,worksheet:Y}=Bn.toRefs(e),V=Bn.computed(()=>{var ke=new Date().getTime();return"export_"+ke}),ee=Bn.computed(()=>{if(o)return Bn.toRaw(o.value);if(c)return c.value()}),ae=async(ke,De,he)=>{let Le=K(ke,he);typeof h=="function"&&await h(),g6(Le,De,he)},K=(ke,De)=>{let he=window.btoa(window.unescape(encodeURIComponent(ke))),Le=atob(he),Se=Le.length,He=new Uint8ClampedArray(Se);for(;Se--;)He[Se]=Le.charCodeAt(Se);return new Blob([He],{type:De})},T=ke=>{let De='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=ProgId content=Excel.Sheet> <meta name=Generator content="Microsoft Excel 11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>${worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><style>br {mso-data-placement: same-cell;}</style></head><body><table>${table}</table></body></html>',he="<thead>";const Le=Object.keys(ke[0]).length;g.value&&(he+=re(g.value,'<tr><th colspan="'+Le+'">${data}</th></tr>')),he+="<tr>";for(let Se in ke[0])he+="<th>"+Se+"</th>";return he+="</tr>",he+="</thead>",he+="<tbody>",ke.map(function(Se,He){he+="<tr>";for(let ot in Se)he+="<td>"+B(j(Se[ot]))+"</td>";he+="</tr>"}),he+="</tbody>",x.value&&(he+="<tfoot>",he+=re(x.value,'<tr><td colspan="'+Le+'">${data}</td></tr>'),he+="</tfoot>"),De.replace("${table}",he).replace("${worksheet}",Y.value)},re=(ke,De)=>{let he="";if(Array.isArray(ke))for(var Le=0;Le<ke.length;Le++)ke[Le]&&(he+=De.replace("${data}",ke[Le]));else he+=De.replace("${data}",ke);return he},B=ke=>{if(y.value){if(String(ke).startsWith("0x"))return ke;if(!isNaN(ke)&&ke!=""&&(ke>99999999999||ke<1e-13))return'="'+ke+'"'}return ke},j=ke=>typeof ke=="string"?ke.replace(/\n/gi,"<br/>"):ke,oe=(ke,De)=>{if(De)return De;let he={};for(let Le in ke[0])he[Le]=Le;return he},de=ke=>ke||ke===0||typeof ke=="boolean"?ke:O.value,ge=(ke,De)=>{let he=ke;for(let Le of De)he&&(he=he[Le]);return de(he)},Te=(ke,De)=>{if(typeof De!="function")return O.value;const he=De(ke);return de(he)},Ne=(ke,De)=>{const he=typeof ke!="object"?ke:ke.field;let Le=typeof he!="string"?[]:he.split("."),Se=O.value;return he?Le.length>1?Se=ge(De,Le):Se=de(De[he]):Se=De,ke.hasOwnProperty("callback")&&(Se=Te(Se,ke.callback)),Se},ze=(ke,De)=>{let he=oe(ke,De).value,Le=[];return ke.map(function(Se,He){let ot={};for(let vt in he){let et=he[vt];ot[vt]=Ne(et,Se)}Le.push(ot)}),Le};return{idName:V,generate:async()=>{z&&typeof z.value=="function"&&await z.value();let ke=A&&Bn.toRaw(A.value);if((L&&typeof L.value=="function"||!A)&&(ke=await L.value()),ke.length===0){console.warn("\u65E0\u5BFC\u51FA\u6570\u636E");return}const De=Bn.toRaw(ke);let he=ze(De,ee);return t.value==="html"?ae(T(he),P.value.replace(".xls",".html"),"text/html"):ae(T(he),P.value,"application/vnd.ms-excel")},name:P}}};const v6=["id"];function x6(e,t,o,c,h,g){return Bn.openBlock(),Bn.createElementBlock("span",{id:c.idName,onClick:t[0]||(t[0]=(...x)=>c.generate&&c.generate(...x))},[Bn.renderSlot(e.$slots,"default",{},()=>[Bn.createTextVNode(" Download "+Bn.toDisplayString(c.name),1)])],8,v6)}Tl.render=x6;Tl.__file="src/components/json-excel.vue";var b6="1.0.10-alpha";const y6=b6;console.log("version:"+y6);const w6=e=>{e.component(Tl.name,Tl)};var _6={Vue3JsonExcel:Tl,install:w6},z6=_6;const bn=N0(lP);bn.use(iO);bn.use(lO);const k6=o2();bn.use(k6);bn.use(zl);bn.use(wO);const C6=lL();bn.use(C6);Yu.init();bn.use(fy);bn.use(c4);bn.use(S1);bn.use(Q4);bn.component("Popper",f6);bn.use(z6);bn.mount("#app");export{vL as $,It as A,Kr as B,er as C,mo as D,An as E,Sr as F,fi as G,pi as H,VT as I,zl as J,ol as K,Br as L,g0 as M,Qf as N,Nd as O,ls as P,L0 as Q,ao as R,Ri as S,Yk as T,Ay as U,mL as V,Nl as W,Hc as X,Mu as Y,Xb as Z,pr as _,G as a,yT as a0,Nu as a1,Fi as a2,ep as a3,Xc as a4,S6 as a5,Xu as a6,Yu as a7,ui as b,Bt as c,hr as d,Ft as e,Je as f,Ot as g,Bi as h,_k as i,zt as j,_d as k,Ou as l,QL as m,KC as n,Mt as o,Uo as p,uf as q,Xn as r,Tn as s,hl as t,dL as u,du as v,Pt as w,Ar as x,$o as y,bl as z};